diff -ruN oac/404.html oac-new/404.html
--- oac/404.html	2017-05-06 16:57:16.000000000 +0530
+++ oac-new/404.html	2017-05-24 14:49:59.000000000 +0530
@@ -1,4 +1,4 @@
-<!doctype html><html class="no-js" lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><title>Open Assessments</title><meta name="description" content="Open Assessments"><meta name="viewport" content="width=device-width,initial-scale=1"><script type="text/javascript">function getCookie(e){for(var s=e+"=",n=document.cookie.split(";"),t=0;t<n.length;t++){for(var a=n[t];" "==a.charAt(0);)a=a.substring(1);if(0==a.indexOf(s))return a.substring(s.length,a.length)}return""}window.DEFAULT_SETTINGS={user_id:0,max_attempts:1,eid:getCookie("user_id"),api_url:"https://103.36.84.159:8080/api/v1",bank:"assessment.Bank%3A577fcf7cc89cd90cbd5616fa%40ODL.MIT.EDU",assessment_offered_id:"assessment.AssessmentOffered%3A58824256c89cd9741bab8942%40ODL.MIT.EDU",lambda_url:"https://103.36.84.159:8080/api/v1/assessment/hierarchies/nodes/assessment.Bank%3A57e26c90b3fcec4c84a63f25%40ODL.MIT.EDU/children?descendants=6&display_names",assessment_kind:"SUMMATIVE",qBankHost:"https://103.36.84.159:8080/api/v1",assessmentPlayerUrl:"https://103.36.84.159/oac/",editableBankId:"assessment.Bank%3A588f924191d0d930f5a56c2a%40ODL.MIT.EDU",publishedBankId:"assessment.Bank%3A588f923591d0d930f5a56c29%40ODL.MIT.ED",baseEmbedUrl:"https://103.36.84.159/oac/?unlock_next=ON_CORRECT&api_url=https://103.36.84.159:8080/api/v1",one_item_per_page:"assessment-offered-genus-type%3Asingle-item%40ODL.MIT.EDU",single_page:"assessment-offered-genus-type%3Asingle-page%40ODL.MIT.EDU",questions_per_section:1,questions_per_page:1,unlock_next:"ON_CORRECT",locale:"en",audio_recorder_timeout:100},window.DEFAULT_JWT=null</script><script type="text/x-mathjax-config">MathJax.Hub.Config({
+<!doctype html><html class="no-js" lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><title>Open Assessments</title><meta name="description" content="Open Assessments"><meta name="viewport" content="width=device-width,initial-scale=1"><script type="text/javascript">function getCookie(e){for(var s=e+"=",n=document.cookie.split(";"),t=0;t<n.length;t++){for(var a=n[t];" "==a.charAt(0);)a=a.substring(1);if(0==a.indexOf(s))return a.substring(s.length,a.length)}return""}window.DEFAULT_SETTINGS={user_id:0,max_attempts:1,eid:getCookie("user_id"),api_url:"https://clixserver:8080/api/v1",bank:"assessment.Bank%3A577fcf7cc89cd90cbd5616fa%40ODL.MIT.EDU",assessment_offered_id:"assessment.AssessmentOffered%3A58824256c89cd9741bab8942%40ODL.MIT.EDU",lambda_url:"https://clixserver:8080/api/v1/assessment/hierarchies/nodes/assessment.Bank%3A57e26c90b3fcec4c84a63f25%40ODL.MIT.EDU/children?descendants=6&display_names",assessment_kind:"SUMMATIVE",qBankHost:"https://clixserver:8080/api/v1",assessmentPlayerUrl:"https://clixserver/oac/",editableBankId:"assessment.Bank%3A588f924191d0d930f5a56c2a%40ODL.MIT.EDU",publishedBankId:"assessment.Bank%3A588f923591d0d930f5a56c29%40ODL.MIT.ED",baseEmbedUrl:"https://clixserver/oac/?unlock_next=ON_CORRECT&api_url=https://clixserver:8080/api/v1",one_item_per_page:"assessment-offered-genus-type%3Asingle-item%40ODL.MIT.EDU",single_page:"assessment-offered-genus-type%3Asingle-page%40ODL.MIT.EDU",questions_per_section:1,questions_per_page:1,unlock_next:"ON_CORRECT",unlock_prev:"ALWAYS",locale:"en",audio_recorder_timeout:100},window.DEFAULT_JWT=null</script><script type="text/x-mathjax-config">MathJax.Hub.Config({
     extensions: ["tex2jax.js"],
     jax: ["input/TeX", "output/HTML-CSS"],
     tex2jax: {
@@ -7,4 +7,4 @@
       processEscapes: true
     },
     "HTML-CSS": { availableFonts: ["TeX"] }
-  });</script><script src="MathJax/MathJax.js?config=TeX-MML-AM_HTMLorMML.js"></script><link rel="stylesheet" href="/oac/player_styles-23e9c9ebe33b83e235e3.css"></head><body><p></p><h1>Page Not Found</h1><p></p><p>Sorry, but the page you were trying to view does not exist.</p><script>!function(e,t,a,n,c,o){e.GoogleAnalyticsObject=n,e[n]||(e[n]=function(){(e[n].q=e[n].q||[]).push(arguments)}),e[n].l=+new Date,c=t.createElement(a),o=t.getElementsByTagName(a)[0],c.src="//www.google-analytics.com/analytics.js",o.parentNode.insertBefore(c,o)}(window,document,"script","ga"),ga("create","UA-XXXXX-X"),ga("send","pageview")</script></body></html>
\ No newline at end of file
+  });</script><script src="MathJax/MathJax.js?config=TeX-MML-AM_HTMLorMML.js"></script><link rel="stylesheet" href="/oac/player_styles-4193a41496e51c7e5815.css"></head><body><p></p><h1>Page Not Found</h1><p></p><p>Sorry, but the page you were trying to view does not exist.</p><script>!function(e,t,a,n,c,o){e.GoogleAnalyticsObject=n,e[n]||(e[n]=function(){(e[n].q=e[n].q||[]).push(arguments)}),e[n].l=+new Date,c=t.createElement(a),o=t.getElementsByTagName(a)[0],c.src="//www.google-analytics.com/analytics.js",o.parentNode.insertBefore(c,o)}(window,document,"script","ga"),ga("create","UA-XXXXX-X"),ga("send","pageview")</script></body></html>
\ No newline at end of file
diff -ruN oac/about-us/index.html oac-new/about-us/index.html
--- oac/about-us/index.html	2017-05-06 16:57:16.000000000 +0530
+++ oac-new/about-us/index.html	2017-05-24 14:49:59.000000000 +0530
@@ -1,4 +1,4 @@
-<!doctype html><html class="no-js" lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><title>Open Assessments</title><meta name="description" content="Open Assessments"><meta name="viewport" content="width=device-width,initial-scale=1"><script type="text/javascript">function getCookie(e){for(var s=e+"=",n=document.cookie.split(";"),t=0;t<n.length;t++){for(var a=n[t];" "==a.charAt(0);)a=a.substring(1);if(0==a.indexOf(s))return a.substring(s.length,a.length)}return""}window.DEFAULT_SETTINGS={user_id:0,max_attempts:1,eid:getCookie("user_id"),api_url:"https://103.36.84.159:8080/api/v1",bank:"assessment.Bank%3A577fcf7cc89cd90cbd5616fa%40ODL.MIT.EDU",assessment_offered_id:"assessment.AssessmentOffered%3A58824256c89cd9741bab8942%40ODL.MIT.EDU",lambda_url:"https://103.36.84.159:8080/api/v1/assessment/hierarchies/nodes/assessment.Bank%3A57e26c90b3fcec4c84a63f25%40ODL.MIT.EDU/children?descendants=6&display_names",assessment_kind:"SUMMATIVE",qBankHost:"https://103.36.84.159:8080/api/v1",assessmentPlayerUrl:"https://103.36.84.159/oac/",editableBankId:"assessment.Bank%3A588f924191d0d930f5a56c2a%40ODL.MIT.EDU",publishedBankId:"assessment.Bank%3A588f923591d0d930f5a56c29%40ODL.MIT.ED",baseEmbedUrl:"https://103.36.84.159/oac/?unlock_next=ON_CORRECT&api_url=https://103.36.84.159:8080/api/v1",one_item_per_page:"assessment-offered-genus-type%3Asingle-item%40ODL.MIT.EDU",single_page:"assessment-offered-genus-type%3Asingle-page%40ODL.MIT.EDU",questions_per_section:1,questions_per_page:1,unlock_next:"ON_CORRECT",locale:"en",audio_recorder_timeout:100},window.DEFAULT_JWT=null</script><script type="text/x-mathjax-config">MathJax.Hub.Config({
+<!doctype html><html class="no-js" lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><title>Open Assessments</title><meta name="description" content="Open Assessments"><meta name="viewport" content="width=device-width,initial-scale=1"><script type="text/javascript">function getCookie(e){for(var s=e+"=",n=document.cookie.split(";"),t=0;t<n.length;t++){for(var a=n[t];" "==a.charAt(0);)a=a.substring(1);if(0==a.indexOf(s))return a.substring(s.length,a.length)}return""}window.DEFAULT_SETTINGS={user_id:0,max_attempts:1,eid:getCookie("user_id"),api_url:"https://clixserver:8080/api/v1",bank:"assessment.Bank%3A577fcf7cc89cd90cbd5616fa%40ODL.MIT.EDU",assessment_offered_id:"assessment.AssessmentOffered%3A58824256c89cd9741bab8942%40ODL.MIT.EDU",lambda_url:"https://clixserver:8080/api/v1/assessment/hierarchies/nodes/assessment.Bank%3A57e26c90b3fcec4c84a63f25%40ODL.MIT.EDU/children?descendants=6&display_names",assessment_kind:"SUMMATIVE",qBankHost:"https://clixserver:8080/api/v1",assessmentPlayerUrl:"https://clixserver/oac/",editableBankId:"assessment.Bank%3A588f924191d0d930f5a56c2a%40ODL.MIT.EDU",publishedBankId:"assessment.Bank%3A588f923591d0d930f5a56c29%40ODL.MIT.ED",baseEmbedUrl:"https://clixserver/oac/?unlock_next=ON_CORRECT&api_url=https://clixserver:8080/api/v1",one_item_per_page:"assessment-offered-genus-type%3Asingle-item%40ODL.MIT.EDU",single_page:"assessment-offered-genus-type%3Asingle-page%40ODL.MIT.EDU",questions_per_section:1,questions_per_page:1,unlock_next:"ON_CORRECT",unlock_prev:"ALWAYS",locale:"en",audio_recorder_timeout:100},window.DEFAULT_JWT=null</script><script type="text/x-mathjax-config">MathJax.Hub.Config({
     extensions: ["tex2jax.js"],
     jax: ["input/TeX", "output/HTML-CSS"],
     tex2jax: {
@@ -7,4 +7,4 @@
       processEscapes: true
     },
     "HTML-CSS": { availableFonts: ["TeX"] }
-  });</script><script src="MathJax/MathJax.js?config=TeX-MML-AM_HTMLorMML.js"></script><link rel="stylesheet" href="/oac/player_styles-23e9c9ebe33b83e235e3.css"></head><body><h2 id="about-us">About Us</h2><p>&lt;%= tags %&gt;</p><script>!function(e,t,a,n,c,o){e.GoogleAnalyticsObject=n,e[n]||(e[n]=function(){(e[n].q=e[n].q||[]).push(arguments)}),e[n].l=+new Date,c=t.createElement(a),o=t.getElementsByTagName(a)[0],c.src="//www.google-analytics.com/analytics.js",o.parentNode.insertBefore(c,o)}(window,document,"script","ga"),ga("create","UA-XXXXX-X"),ga("send","pageview")</script></body></html>
\ No newline at end of file
+  });</script><script src="MathJax/MathJax.js?config=TeX-MML-AM_HTMLorMML.js"></script><link rel="stylesheet" href="/oac/player_styles-4193a41496e51c7e5815.css"></head><body><h2 id="about-us">About Us</h2><p>&lt;%= tags %&gt;</p><script>!function(e,t,a,n,c,o){e.GoogleAnalyticsObject=n,e[n]||(e[n]=function(){(e[n].q=e[n].q||[]).push(arguments)}),e[n].l=+new Date,c=t.createElement(a),o=t.getElementsByTagName(a)[0],c.src="//www.google-analytics.com/analytics.js",o.parentNode.insertBefore(c,o)}(window,document,"script","ga"),ga("create","UA-XXXXX-X"),ga("send","pageview")</script></body></html>
\ No newline at end of file
diff -ruN oac/author-2d22c53dc7d3f353a9da_bundle.js oac-new/author-2d22c53dc7d3f353a9da_bundle.js
--- oac/author-2d22c53dc7d3f353a9da_bundle.js	1970-01-01 05:30:00.000000000 +0530
+++ oac-new/author-2d22c53dc7d3f353a9da_bundle.js	2017-05-24 14:49:58.000000000 +0530
@@ -0,0 +1,123 @@
+!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/oac/",t(0)}(function(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))switch(typeof e[t]){case"function":break;case"object":e[t]=function(t){var n=t.slice(1),r=e[t[0]];return function(e,t,o){r.apply(this,[e,t,o].concat(n))}}(e[t]);break;default:e[t]=e[e[t]]}return e}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),l=r(u),c=n(7),d=r(c),f=n(6),p=r(f);n(541);var h=n(833),m=r(h),g=n(1),v=r(g),y=n(106),b=r(y),_=n(36),w=n(1107),C=r(w),x=n(1352),E=r(x),T=n(335),k=r(T),S=n(1382),O=r(S),M=n(538),A=r(M),N=n(1233);m.default.polyfill(),(0,C.default)();var I=(v.default.createElement(k.default,null),function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e=null,t=this.props.store;return v.default.createElement(_.Provider,{store:t},v.default.createElement("div",null,E.default,e))}}]),t}(v.default.PureComponent)),P=(0,N.getInitialSettings)(window.DEFAULT_SETTINGS),D=(0,O.default)({settings:P,jwt:window.DEFAULT_JWT});window.DEFAULT_JWT&&(0,A.default)(D.dispatch,P.userId),b.default.render(v.default.createElement(I,{store:D}),document.getElementById("main-app"))},function(e,t,n){"use strict";e.exports=n(127)},function(e,t,n){var r=n(14),o=n(70),i=n(42),a=n(43),s=n(71),u="prototype",l=function(e,t,n){var c,d,f,p,h=e&l.F,m=e&l.G,g=e&l.S,v=e&l.P,y=e&l.B,b=m?r:g?r[t]||(r[t]={}):(r[t]||{})[u],_=m?o:o[t]||(o[t]={}),w=_[u]||(_[u]={});m&&(n=t);for(c in n)d=!h&&b&&void 0!==b[c],f=(d?b:n)[c],p=y&&d?s(f,r):v&&"function"==typeof f?s(Function.call,f):f,b&&a(b,c,f,e&l.U),_[c]!=f&&i(_,c,p),v&&w[c]!=f&&(w[c]=f)};r.core=o,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,n){var r;(function(e,o){(function(){function i(e,t){return e.set(t[0],t[1]),e}function a(e,t){return e.add(t),e}function s(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function u(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}function l(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}function c(e,t){for(var n=null==e?0:e.length;n--&&t(e[n],n,e)!==!1;);return e}function d(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function f(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function p(e,t){var n=null==e?0:e.length;return!!n&&E(e,t,0)>-1}function h(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function m(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function g(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function v(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function y(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function b(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function _(e){return e.split("")}function w(e){return e.match(qt)||[]}function C(e,t,n){var r;return n(e,function(e,n,o){if(t(e,n,o))return r=n,!1}),r}function x(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function E(e,t,n){return t===t?Q(e,t,n):x(e,k,n)}function T(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function k(e){return e!==e}function S(e,t){var n=null==e?0:e.length;return n?I(e,t)/n:Le}function O(e){return function(t){return null==t?oe:t[e]}}function M(e){return function(t){return null==e?oe:e[t]}}function A(e,t,n,r,o){return o(e,function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)}),n}function N(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}function I(e,t){for(var n,r=-1,o=e.length;++r<o;){var i=t(e[r]);i!==oe&&(n=n===oe?i:n+i)}return n}function P(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function D(e,t){return m(t,function(t){return[t,e[t]]})}function R(e){return function(t){return e(t)}}function j(e,t){return m(t,function(t){return e[t]})}function L(e,t){return e.has(t)}function B(e,t){for(var n=-1,r=e.length;++n<r&&E(t,e[n],0)>-1;);return n}function F(e,t){for(var n=e.length;n--&&E(t,e[n],0)>-1;);return n}function U(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}function H(e){return"\\"+nr[e]}function z(e,t){return null==e?oe:e[t]}function q(e){return Yn.test(e)}function W(e){return Kn.test(e)}function V(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function G(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function Y(e,t){return function(n){return e(t(n))}}function K(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n];a!==t&&a!==de||(e[n]=de,i[o++]=n)}return i}function $(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function X(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=[e,e]}),n}function Q(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}function J(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}function Z(e){return q(e)?te(e):br(e)}function ee(e){return q(e)?ne(e):_(e)}function te(e){for(var t=Vn.lastIndex=0;Vn.test(e);)++t;return t}function ne(e){return e.match(Vn)||[]}function re(e){return e.match(Gn)||[]}var oe,ie="4.17.4",ae=200,se="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",ue="Expected a function",le="__lodash_hash_undefined__",ce=500,de="__lodash_placeholder__",fe=1,pe=2,he=4,me=1,ge=2,ve=1,ye=2,be=4,_e=8,we=16,Ce=32,xe=64,Ee=128,Te=256,ke=512,Se=30,Oe="...",Me=800,Ae=16,Ne=1,Ie=2,Pe=3,De=1/0,Re=9007199254740991,je=1.7976931348623157e308,Le=NaN,Be=4294967295,Fe=Be-1,Ue=Be>>>1,He=[["ary",Ee],["bind",ve],["bindKey",ye],["curry",_e],["curryRight",we],["flip",ke],["partial",Ce],["partialRight",xe],["rearg",Te]],ze="[object Arguments]",qe="[object Array]",We="[object AsyncFunction]",Ve="[object Boolean]",Ge="[object Date]",Ye="[object DOMException]",Ke="[object Error]",$e="[object Function]",Xe="[object GeneratorFunction]",Qe="[object Map]",Je="[object Number]",Ze="[object Null]",et="[object Object]",tt="[object Promise]",nt="[object Proxy]",rt="[object RegExp]",ot="[object Set]",it="[object String]",at="[object Symbol]",st="[object Undefined]",ut="[object WeakMap]",lt="[object WeakSet]",ct="[object ArrayBuffer]",dt="[object DataView]",ft="[object Float32Array]",pt="[object Float64Array]",ht="[object Int8Array]",mt="[object Int16Array]",gt="[object Int32Array]",vt="[object Uint8Array]",yt="[object Uint8ClampedArray]",bt="[object Uint16Array]",_t="[object Uint32Array]",wt=/\b__p \+= '';/g,Ct=/\b(__p \+=) '' \+/g,xt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Et=/&(?:amp|lt|gt|quot|#39);/g,Tt=/[&<>"']/g,kt=RegExp(Et.source),St=RegExp(Tt.source),Ot=/<%-([\s\S]+?)%>/g,Mt=/<%([\s\S]+?)%>/g,At=/<%=([\s\S]+?)%>/g,Nt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,It=/^\w*$/,Pt=/^\./,Dt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Rt=/[\\^$.*+?()[\]{}|]/g,jt=RegExp(Rt.source),Lt=/^\s+|\s+$/g,Bt=/^\s+/,Ft=/\s+$/,Ut=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ht=/\{\n\/\* \[wrapped with (.+)\] \*/,zt=/,? & /,qt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Wt=/\\(\\)?/g,Vt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Gt=/\w*$/,Yt=/^[-+]0x[0-9a-f]+$/i,Kt=/^0b[01]+$/i,$t=/^\[object .+?Constructor\]$/,Xt=/^0o[0-7]+$/i,Qt=/^(?:0|[1-9]\d*)$/,Jt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Zt=/($^)/,en=/['\n\r\u2028\u2029\\]/g,tn="\\ud800-\\udfff",nn="\\u0300-\\u036f",rn="\\ufe20-\\ufe2f",on="\\u20d0-\\u20ff",an=nn+rn+on,sn="\\u2700-\\u27bf",un="a-z\\xdf-\\xf6\\xf8-\\xff",ln="\\xac\\xb1\\xd7\\xf7",cn="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",dn="\\u2000-\\u206f",fn=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",pn="A-Z\\xc0-\\xd6\\xd8-\\xde",hn="\\ufe0e\\ufe0f",mn=ln+cn+dn+fn,gn="['’]",vn="["+tn+"]",yn="["+mn+"]",bn="["+an+"]",_n="\\d+",wn="["+sn+"]",Cn="["+un+"]",xn="[^"+tn+mn+_n+sn+un+pn+"]",En="\\ud83c[\\udffb-\\udfff]",Tn="(?:"+bn+"|"+En+")",kn="[^"+tn+"]",Sn="(?:\\ud83c[\\udde6-\\uddff]){2}",On="[\\ud800-\\udbff][\\udc00-\\udfff]",Mn="["+pn+"]",An="\\u200d",Nn="(?:"+Cn+"|"+xn+")",In="(?:"+Mn+"|"+xn+")",Pn="(?:"+gn+"(?:d|ll|m|re|s|t|ve))?",Dn="(?:"+gn+"(?:D|LL|M|RE|S|T|VE))?",Rn=Tn+"?",jn="["+hn+"]?",Ln="(?:"+An+"(?:"+[kn,Sn,On].join("|")+")"+jn+Rn+")*",Bn="\\d*(?:(?:1st|2nd|3rd|(?![123])\\dth)\\b)",Fn="\\d*(?:(?:1ST|2ND|3RD|(?![123])\\dTH)\\b)",Un=jn+Rn+Ln,Hn="(?:"+[wn,Sn,On].join("|")+")"+Un,zn="(?:"+[kn+bn+"?",bn,Sn,On,vn].join("|")+")",qn=RegExp(gn,"g"),Wn=RegExp(bn,"g"),Vn=RegExp(En+"(?="+En+")|"+zn+Un,"g"),Gn=RegExp([Mn+"?"+Cn+"+"+Pn+"(?="+[yn,Mn,"$"].join("|")+")",In+"+"+Dn+"(?="+[yn,Mn+Nn,"$"].join("|")+")",Mn+"?"+Nn+"+"+Pn,Mn+"+"+Dn,Fn,Bn,_n,Hn].join("|"),"g"),Yn=RegExp("["+An+tn+an+hn+"]"),Kn=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,$n=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Xn=-1,Qn={};Qn[ft]=Qn[pt]=Qn[ht]=Qn[mt]=Qn[gt]=Qn[vt]=Qn[yt]=Qn[bt]=Qn[_t]=!0,Qn[ze]=Qn[qe]=Qn[ct]=Qn[Ve]=Qn[dt]=Qn[Ge]=Qn[Ke]=Qn[$e]=Qn[Qe]=Qn[Je]=Qn[et]=Qn[rt]=Qn[ot]=Qn[it]=Qn[ut]=!1;var Jn={};Jn[ze]=Jn[qe]=Jn[ct]=Jn[dt]=Jn[Ve]=Jn[Ge]=Jn[ft]=Jn[pt]=Jn[ht]=Jn[mt]=Jn[gt]=Jn[Qe]=Jn[Je]=Jn[et]=Jn[rt]=Jn[ot]=Jn[it]=Jn[at]=Jn[vt]=Jn[yt]=Jn[bt]=Jn[_t]=!0,Jn[Ke]=Jn[$e]=Jn[ut]=!1;var Zn={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","Ĳ":"IJ","ĳ":"ij","Œ":"Oe","œ":"oe","ŉ":"'n","ſ":"s"},er={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},tr={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},nr={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},rr=parseFloat,or=parseInt,ir="object"==typeof e&&e&&e.Object===Object&&e,ar="object"==typeof self&&self&&self.Object===Object&&self,sr=ir||ar||Function("return this")(),ur="object"==typeof t&&t&&!t.nodeType&&t,lr=ur&&"object"==typeof o&&o&&!o.nodeType&&o,cr=lr&&lr.exports===ur,dr=cr&&ir.process,fr=function(){try{return dr&&dr.binding&&dr.binding("util")}catch(e){}}(),pr=fr&&fr.isArrayBuffer,hr=fr&&fr.isDate,mr=fr&&fr.isMap,gr=fr&&fr.isRegExp,vr=fr&&fr.isSet,yr=fr&&fr.isTypedArray,br=O("length"),_r=M(Zn),wr=M(er),Cr=M(tr),xr=function e(t){function n(e){if(lu(e)&&!wf(e)&&!(e instanceof _)){if(e instanceof o)return e;if(_c.call(e,"__wrapped__"))return aa(e)}return new o(e)}function r(){}function o(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=oe}function _(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Be,this.__views__=[]}function M(){var e=new _(this.__wrapped__);return e.__actions__=Ho(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Ho(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Ho(this.__views__),e}function Q(){if(this.__filtered__){var e=new _(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function te(){var e=this.__wrapped__.value(),t=this.__dir__,n=wf(e),r=t<0,o=n?e.length:0,i=Ai(0,o,this.__views__),a=i.start,s=i.end,u=s-a,l=r?s:a-1,c=this.__iteratees__,d=c.length,f=0,p=Xc(u,this.__takeCount__);if(!n||!r&&o==u&&p==u)return Co(e,this.__actions__);var h=[];e:for(;u--&&f<p;){l+=t;for(var m=-1,g=e[l];++m<d;){var v=c[m],y=v.iteratee,b=v.type,_=y(g);if(b==Ie)g=_;else if(!_){if(b==Ne)continue e;break e}}h[f++]=g}return h}function ne(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function qt(){this.__data__=ad?ad(null):{},this.size=0}function tn(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function nn(e){var t=this.__data__;if(ad){var n=t[e];return n===le?oe:n}return _c.call(t,e)?t[e]:oe}function rn(e){var t=this.__data__;return ad?t[e]!==oe:_c.call(t,e)}function on(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=ad&&t===oe?le:t,this}function an(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function sn(){this.__data__=[],this.size=0}function un(e){var t=this.__data__,n=Pn(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Dc.call(t,n,1),--this.size,!0}function ln(e){var t=this.__data__,n=Pn(t,e);return n<0?oe:t[n][1]}function cn(e){return Pn(this.__data__,e)>-1}function dn(e,t){var n=this.__data__,r=Pn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function fn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function pn(){this.size=0,this.__data__={hash:new ne,map:new(nd||an),string:new ne}}function hn(e){var t=ki(this,e).delete(e);return this.size-=t?1:0,t}function mn(e){return ki(this,e).get(e)}function gn(e){return ki(this,e).has(e)}function vn(e,t){var n=ki(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function yn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new fn;++t<n;)this.add(e[t])}function bn(e){return this.__data__.set(e,le),this}function _n(e){return this.__data__.has(e)}function wn(e){var t=this.__data__=new an(e);this.size=t.size}function Cn(){this.__data__=new an,this.size=0}function xn(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function En(e){return this.__data__.get(e)}function Tn(e){return this.__data__.has(e)}function kn(e,t){var n=this.__data__;if(n instanceof an){var r=n.__data__;if(!nd||r.length<ae-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new fn(r)}return n.set(e,t),this.size=n.size,this}function Sn(e,t){var n=wf(e),r=!n&&_f(e),o=!n&&!r&&xf(e),i=!n&&!r&&!o&&Of(e),a=n||r||o||i,s=a?P(e.length,pc):[],u=s.length;for(var l in e)!t&&!_c.call(e,l)||a&&("length"==l||o&&("offset"==l||"parent"==l)||i&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||Bi(l,u))||s.push(l);return s}function On(e){var t=e.length;return t?e[no(0,t-1)]:oe}function Mn(e,t){return na(Ho(e),Fn(t,0,e.length))}function An(e){return na(Ho(e))}function Nn(e,t,n){(n===oe||$s(e[t],n))&&(n!==oe||t in e)||Ln(e,t,n)}function In(e,t,n){var r=e[t];_c.call(e,t)&&$s(r,n)&&(n!==oe||t in e)||Ln(e,t,n)}function Pn(e,t){for(var n=e.length;n--;)if($s(e[n][0],t))return n;return-1}function Dn(e,t,n,r){return yd(e,function(e,o,i){t(r,e,n(e),i)}),r}function Rn(e,t){return e&&zo(t,Wu(t),e)}function jn(e,t){return e&&zo(t,Vu(t),e)}function Ln(e,t,n){"__proto__"==t&&Bc?Bc(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Bn(e,t){for(var n=-1,r=t.length,o=ac(r),i=null==e;++n<r;)o[n]=i?oe:Hu(e,t[n]);return o}function Fn(e,t,n){return e===e&&(n!==oe&&(e=e<=n?e:n),t!==oe&&(e=e>=t?e:t)),e}function Un(e,t,n,r,o,i){var a,s=t&fe,u=t&pe,c=t&he;if(n&&(a=o?n(e,r,o,i):n(e)),a!==oe)return a;if(!uu(e))return e;var d=wf(e);if(d){if(a=Pi(e),!s)return Ho(e,a)}else{var f=Ad(e),p=f==$e||f==Xe;if(xf(e))return Mo(e,s);if(f==et||f==ze||p&&!o){if(a=u||p?{}:Di(e),!s)return u?Wo(e,jn(a,e)):qo(e,Rn(a,e))}else{if(!Jn[f])return o?e:{};a=Ri(e,f,Un,s)}}i||(i=new wn);var h=i.get(e);if(h)return h;i.set(e,a);var m=c?u?Ci:wi:u?Vu:Wu,g=d?oe:m(e);return l(g||e,function(r,o){g&&(o=r,r=e[o]),In(a,o,Un(r,t,n,o,e,i))}),a}function Hn(e){var t=Wu(e);return function(n){return zn(n,e,t)}}function zn(e,t,n){var r=n.length;if(null==e)return!r;for(e=dc(e);r--;){var o=n[r],i=t[o],a=e[o];if(a===oe&&!(o in e)||!i(a))return!1}return!0}function Vn(e,t,n){if("function"!=typeof e)throw new hc(ue);return Pd(function(){e.apply(oe,n)},t)}function Gn(e,t,n,r){var o=-1,i=p,a=!0,s=e.length,u=[],l=t.length;if(!s)return u;n&&(t=m(t,R(n))),r?(i=h,a=!1):t.length>=ae&&(i=L,a=!1,t=new yn(t));e:for(;++o<s;){var c=e[o],d=null==n?c:n(c);if(c=r||0!==c?c:0,a&&d===d){for(var f=l;f--;)if(t[f]===d)continue e;u.push(c)}else i(t,d,r)||u.push(c)}return u}function Yn(e,t){var n=!0;return yd(e,function(e,r,o){return n=!!t(e,r,o)}),n}function Kn(e,t,n){for(var r=-1,o=e.length;++r<o;){var i=e[r],a=t(i);if(null!=a&&(s===oe?a===a&&!_u(a):n(a,s)))var s=a,u=i}return u}function Zn(e,t,n,r){var o=e.length;for(n=ku(n),n<0&&(n=-n>o?0:o+n),r=r===oe||r>o?o:ku(r),r<0&&(r+=o),r=n>r?0:Su(r);n<r;)e[n++]=t;return e}function er(e,t){var n=[];return yd(e,function(e,r,o){t(e,r,o)&&n.push(e)}),n}function tr(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=Li),o||(o=[]);++i<a;){var s=e[i];t>0&&n(s)?t>1?tr(s,t-1,n,r,o):g(o,s):r||(o[o.length]=s)}return o}function nr(e,t){return e&&_d(e,t,Wu)}function ir(e,t){return e&&wd(e,t,Wu)}function ar(e,t){return f(t,function(t){return iu(e[t])})}function ur(e,t){t=So(t,e);for(var n=0,r=t.length;null!=e&&n<r;)e=e[ra(t[n++])];return n&&n==r?e:oe}function lr(e,t,n){var r=t(e);return wf(e)?r:g(r,n(e))}function dr(e){return null==e?e===oe?st:Ze:Lc&&Lc in dc(e)?Mi(e):Xi(e)}function fr(e,t){return e>t}function br(e,t){return null!=e&&_c.call(e,t)}function xr(e,t){return null!=e&&t in dc(e)}function Tr(e,t,n){return e>=Xc(t,n)&&e<$c(t,n)}function kr(e,t,n){for(var r=n?h:p,o=e[0].length,i=e.length,a=i,s=ac(i),u=1/0,l=[];a--;){var c=e[a];a&&t&&(c=m(c,R(t))),u=Xc(c.length,u),s[a]=!n&&(t||o>=120&&c.length>=120)?new yn(a&&c):oe}c=e[0];var d=-1,f=s[0];e:for(;++d<o&&l.length<u;){var g=c[d],v=t?t(g):g;if(g=n||0!==g?g:0,!(f?L(f,v):r(l,v,n))){for(a=i;--a;){var y=s[a];if(!(y?L(y,v):r(e[a],v,n)))continue e}f&&f.push(v),l.push(g)}}return l}function Sr(e,t,n,r){return nr(e,function(e,o,i){t(r,n(e),o,i)}),r}function Or(e,t,n){t=So(t,e),e=Ji(e,t);var r=null==e?e:e[ra(Ta(t))];return null==r?oe:s(r,e,n)}function Mr(e){return lu(e)&&dr(e)==ze}function Ar(e){return lu(e)&&dr(e)==ct}function Nr(e){return lu(e)&&dr(e)==Ge}function Ir(e,t,n,r,o){return e===t||(null==e||null==t||!lu(e)&&!lu(t)?e!==e&&t!==t:Pr(e,t,n,r,Ir,o))}function Pr(e,t,n,r,o,i){var a=wf(e),s=wf(t),u=a?qe:Ad(e),l=s?qe:Ad(t);u=u==ze?et:u,l=l==ze?et:l;var c=u==et,d=l==et,f=u==l;if(f&&xf(e)){if(!xf(t))return!1;a=!0,c=!1}if(f&&!c)return i||(i=new wn),a||Of(e)?vi(e,t,n,r,o,i):yi(e,t,u,n,r,o,i);if(!(n&me)){var p=c&&_c.call(e,"__wrapped__"),h=d&&_c.call(t,"__wrapped__");if(p||h){var m=p?e.value():e,g=h?t.value():t;return i||(i=new wn),o(m,g,n,r,i)}}return!!f&&(i||(i=new wn),bi(e,t,n,r,o,i))}function Dr(e){return lu(e)&&Ad(e)==Qe}function Rr(e,t,n,r){var o=n.length,i=o,a=!r;if(null==e)return!i;for(e=dc(e);o--;){var s=n[o];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o<i;){s=n[o];var u=s[0],l=e[u],c=s[1];if(a&&s[2]){if(l===oe&&!(u in e))return!1}else{var d=new wn;if(r)var f=r(l,c,u,e,t,d);if(!(f===oe?Ir(c,l,me|ge,r,d):f))return!1}}return!0}function jr(e){if(!uu(e)||qi(e))return!1;var t=iu(e)?kc:$t;return t.test(oa(e))}function Lr(e){return lu(e)&&dr(e)==rt}function Br(e){return lu(e)&&Ad(e)==ot}function Fr(e){return lu(e)&&su(e.length)&&!!Qn[dr(e)]}function Ur(e){return"function"==typeof e?e:null==e?Dl:"object"==typeof e?wf(e)?Gr(e[0],e[1]):Vr(e):zl(e)}function Hr(e){if(!Wi(e))return Kc(e);var t=[];for(var n in dc(e))_c.call(e,n)&&"constructor"!=n&&t.push(n);return t}function zr(e){if(!uu(e))return $i(e);var t=Wi(e),n=[];for(var r in e)("constructor"!=r||!t&&_c.call(e,r))&&n.push(r);return n}function qr(e,t){return e<t}function Wr(e,t){var n=-1,r=Xs(e)?ac(e.length):[];return yd(e,function(e,o,i){r[++n]=t(e,o,i)}),r}function Vr(e){var t=Si(e);return 1==t.length&&t[0][2]?Gi(t[0][0],t[0][1]):function(n){return n===e||Rr(n,e,t)}}function Gr(e,t){return Ui(e)&&Vi(t)?Gi(ra(e),t):function(n){var r=Hu(n,e);return r===oe&&r===t?qu(n,e):Ir(t,r,me|ge)}}function Yr(e,t,n,r,o){e!==t&&_d(t,function(i,a){if(uu(i))o||(o=new wn),Kr(e,t,a,n,Yr,r,o);else{var s=r?r(e[a],i,a+"",e,t,o):oe;s===oe&&(s=i),Nn(e,a,s)}},Vu)}function Kr(e,t,n,r,o,i,a){var s=e[n],u=t[n],l=a.get(u);if(l)return void Nn(e,n,l);var c=i?i(s,u,n+"",e,t,a):oe,d=c===oe;if(d){var f=wf(u),p=!f&&xf(u),h=!f&&!p&&Of(u);c=u,f||p||h?wf(s)?c=s:Qs(s)?c=Ho(s):p?(d=!1,c=Mo(u,!0)):h?(d=!1,c=jo(u,!0)):c=[]:vu(u)||_f(u)?(c=s,_f(s)?c=Mu(s):(!uu(s)||r&&iu(s))&&(c=Di(u))):d=!1}d&&(a.set(u,c),o(c,u,r,i,a),a.delete(u)),Nn(e,n,c)}function $r(e,t){var n=e.length;if(n)return t+=t<0?n:0,Bi(t,n)?e[t]:oe}function Xr(e,t,n){var r=-1;t=m(t.length?t:[Dl],R(Ti()));var o=Wr(e,function(e,n,o){var i=m(t,function(t){return t(e)});return{criteria:i,index:++r,value:e}});return N(o,function(e,t){return Bo(e,t,n)})}function Qr(e,t){return Jr(e,t,function(t,n){return qu(e,n)})}function Jr(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],s=ur(e,a);n(s,a)&&uo(i,So(a,e),s)}return i}function Zr(e){return function(t){return ur(t,e)}}function eo(e,t,n,r){var o=r?T:E,i=-1,a=t.length,s=e;for(e===t&&(t=Ho(t)),n&&(s=m(e,R(n)));++i<a;)for(var u=0,l=t[i],c=n?n(l):l;(u=o(s,c,u,r))>-1;)s!==e&&Dc.call(s,u,1),Dc.call(e,u,1);return e}function to(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;Bi(o)?Dc.call(e,o,1):bo(e,o)}}return e}function no(e,t){return e+qc(Zc()*(t-e+1))}function ro(e,t,n,r){for(var o=-1,i=$c(zc((t-e)/(n||1)),0),a=ac(i);i--;)a[r?i:++o]=e,e+=n;return a}function oo(e,t){var n="";if(!e||t<1||t>Re)return n;do t%2&&(n+=e),t=qc(t/2),t&&(e+=e);while(t);return n}function io(e,t){return Dd(Qi(e,t,Dl),e+"")}function ao(e){return On(rl(e))}function so(e,t){var n=rl(e);return na(n,Fn(t,0,n.length))}function uo(e,t,n,r){if(!uu(e))return e;t=So(t,e);for(var o=-1,i=t.length,a=i-1,s=e;null!=s&&++o<i;){var u=ra(t[o]),l=n;if(o!=a){var c=s[u];l=r?r(c,u,s):oe,l===oe&&(l=uu(c)?c:Bi(t[o+1])?[]:{})}In(s,u,l),s=s[u]}return e}function lo(e){return na(rl(e))}function co(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=ac(o);++r<o;)i[r]=e[r+t];return i}function fo(e,t){var n;return yd(e,function(e,r,o){return n=t(e,r,o),!n}),!!n}function po(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t===t&&o<=Ue){for(;r<o;){var i=r+o>>>1,a=e[i];null!==a&&!_u(a)&&(n?a<=t:a<t)?r=i+1:o=i}return o}return ho(e,t,Dl,n)}function ho(e,t,n,r){t=n(t);for(var o=0,i=null==e?0:e.length,a=t!==t,s=null===t,u=_u(t),l=t===oe;o<i;){var c=qc((o+i)/2),d=n(e[c]),f=d!==oe,p=null===d,h=d===d,m=_u(d);if(a)var g=r||h;else g=l?h&&(r||f):s?h&&f&&(r||!p):u?h&&f&&!p&&(r||!m):!p&&!m&&(r?d<=t:d<t);g?o=c+1:i=c}return Xc(i,Fe)}function mo(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n],s=t?t(a):a;if(!n||!$s(s,u)){var u=s;i[o++]=0===a?0:a}}return i}function go(e){return"number"==typeof e?e:_u(e)?Le:+e}function vo(e){if("string"==typeof e)return e;if(wf(e))return m(e,vo)+"";if(_u(e))return gd?gd.call(e):"";var t=e+"";return"0"==t&&1/e==-De?"-0":t}function yo(e,t,n){var r=-1,o=p,i=e.length,a=!0,s=[],u=s;if(n)a=!1,o=h;else if(i>=ae){var l=t?null:kd(e);if(l)return $(l);a=!1,o=L,u=new yn}else u=t?[]:s;e:for(;++r<i;){var c=e[r],d=t?t(c):c;if(c=n||0!==c?c:0,a&&d===d){for(var f=u.length;f--;)if(u[f]===d)continue e;t&&u.push(d),s.push(c)}else o(u,d,n)||(u!==s&&u.push(d),s.push(c))}return s}function bo(e,t){return t=So(t,e),e=Ji(e,t),null==e||delete e[ra(Ta(t))]}function _o(e,t,n,r){return uo(e,t,n(ur(e,t)),r)}function wo(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?co(e,r?0:i,r?i+1:o):co(e,r?i+1:0,r?o:i)}function Co(e,t){var n=e;return n instanceof _&&(n=n.value()),v(t,function(e,t){return t.func.apply(t.thisArg,g([e],t.args))},n)}function xo(e,t,n){var r=e.length;if(r<2)return r?yo(e[0]):[];for(var o=-1,i=ac(r);++o<r;)for(var a=e[o],s=-1;++s<r;)s!=o&&(i[o]=Gn(i[o]||a,e[s],t,n));return yo(tr(i,1),t,n)}function Eo(e,t,n){for(var r=-1,o=e.length,i=t.length,a={};++r<o;){var s=r<i?t[r]:oe;n(a,e[r],s)}return a}function To(e){return Qs(e)?e:[]}function ko(e){return"function"==typeof e?e:Dl}function So(e,t){return wf(e)?e:Ui(e,t)?[e]:Rd(Nu(e))}function Oo(e,t,n){var r=e.length;return n=n===oe?r:n,!t&&n>=r?e:co(e,t,n)}function Mo(e,t){if(t)return e.slice();var n=e.length,r=Ac?Ac(n):new e.constructor(n);return e.copy(r),r}function Ao(e){var t=new e.constructor(e.byteLength);return new Mc(t).set(new Mc(e)),t}function No(e,t){var n=t?Ao(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function Io(e,t,n){var r=t?n(G(e),fe):G(e);return v(r,i,new e.constructor)}function Po(e){var t=new e.constructor(e.source,Gt.exec(e));return t.lastIndex=e.lastIndex,t}function Do(e,t,n){var r=t?n($(e),fe):$(e);return v(r,a,new e.constructor)}function Ro(e){return md?dc(md.call(e)):{}}function jo(e,t){var n=t?Ao(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Lo(e,t){if(e!==t){var n=e!==oe,r=null===e,o=e===e,i=_u(e),a=t!==oe,s=null===t,u=t===t,l=_u(t);if(!s&&!l&&!i&&e>t||i&&a&&u&&!s&&!l||r&&a&&u||!n&&u||!o)return 1;if(!r&&!i&&!l&&e<t||l&&n&&o&&!r&&!i||s&&n&&o||!a&&o||!u)return-1}return 0}function Bo(e,t,n){for(var r=-1,o=e.criteria,i=t.criteria,a=o.length,s=n.length;++r<a;){var u=Lo(o[r],i[r]);if(u){if(r>=s)return u;var l=n[r];return u*("desc"==l?-1:1)}}return e.index-t.index}function Fo(e,t,n,r){for(var o=-1,i=e.length,a=n.length,s=-1,u=t.length,l=$c(i-a,0),c=ac(u+l),d=!r;++s<u;)c[s]=t[s];for(;++o<a;)(d||o<i)&&(c[n[o]]=e[o]);for(;l--;)c[s++]=e[o++];return c}function Uo(e,t,n,r){for(var o=-1,i=e.length,a=-1,s=n.length,u=-1,l=t.length,c=$c(i-s,0),d=ac(c+l),f=!r;++o<c;)d[o]=e[o];for(var p=o;++u<l;)d[p+u]=t[u];for(;++a<s;)(f||o<i)&&(d[p+n[a]]=e[o++]);return d}function Ho(e,t){var n=-1,r=e.length;for(t||(t=ac(r));++n<r;)t[n]=e[n];return t}function zo(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var s=t[i],u=r?r(n[s],e[s],s,n,e):oe;u===oe&&(u=e[s]),o?Ln(n,s,u):In(n,s,u)}return n}function qo(e,t){return zo(e,Od(e),t)}function Wo(e,t){return zo(e,Md(e),t)}function Vo(e,t){return function(n,r){var o=wf(n)?u:Dn,i=t?t():{};return o(n,e,Ti(r,2),i)}}function Go(e){return io(function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:oe,a=o>2?n[2]:oe;for(i=e.length>3&&"function"==typeof i?(o--,i):oe,a&&Fi(n[0],n[1],a)&&(i=o<3?oe:i,o=1),t=dc(t);++r<o;){var s=n[r];s&&e(t,s,r,i)}return t})}function Yo(e,t){return function(n,r){if(null==n)return n;if(!Xs(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=dc(n);(t?i--:++i<o)&&r(a[i],i,a)!==!1;);return n}}function Ko(e){return function(t,n,r){for(var o=-1,i=dc(t),a=r(t),s=a.length;s--;){var u=a[e?s:++o];if(n(i[u],u,i)===!1)break}return t}}function $o(e,t,n){function r(){var t=this&&this!==sr&&this instanceof r?i:e;return t.apply(o?n:this,arguments)}var o=t&ve,i=Jo(e);return r}function Xo(e){return function(t){t=Nu(t);var n=q(t)?ee(t):oe,r=n?n[0]:t.charAt(0),o=n?Oo(n,1).join(""):t.slice(1);return r[e]()+o}}function Qo(e){return function(t){return v(Ml(ll(t).replace(qn,"")),e,"")}}function Jo(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=vd(e.prototype),r=e.apply(n,t);return uu(r)?r:n}}function Zo(e,t,n){function r(){for(var i=arguments.length,a=ac(i),u=i,l=Ei(r);u--;)a[u]=arguments[u];var c=i<3&&a[0]!==l&&a[i-1]!==l?[]:K(a,l);if(i-=c.length,i<n)return ci(e,t,ni,r.placeholder,oe,a,c,oe,oe,n-i);var d=this&&this!==sr&&this instanceof r?o:e;return s(d,this,a)}var o=Jo(e);return r}function ei(e){return function(t,n,r){var o=dc(t);if(!Xs(t)){var i=Ti(n,3);t=Wu(t),n=function(e){return i(o[e],e,o)}}var a=e(t,n,r);return a>-1?o[i?t[a]:a]:oe}}function ti(e){return _i(function(t){var n=t.length,r=n,i=o.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new hc(ue);if(i&&!s&&"wrapper"==xi(a))var s=new o([],!0)}for(r=s?r:n;++r<n;){a=t[r];var u=xi(a),l="wrapper"==u?Sd(a):oe;s=l&&zi(l[0])&&l[1]==(Ee|_e|Ce|Te)&&!l[4].length&&1==l[9]?s[xi(l[0])].apply(s,l[3]):1==a.length&&zi(a)?s[u]():s.thru(a)}return function(){var e=arguments,r=e[0];if(s&&1==e.length&&wf(r))return s.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++o<n;)i=t[o].call(this,i);return i}})}function ni(e,t,n,r,o,i,a,s,u,l){function c(){for(var v=arguments.length,y=ac(v),b=v;b--;)y[b]=arguments[b];if(h)var _=Ei(c),w=U(y,_);if(r&&(y=Fo(y,r,o,h)),i&&(y=Uo(y,i,a,h)),v-=w,h&&v<l){var C=K(y,_);return ci(e,t,ni,c.placeholder,n,y,C,s,u,l-v)}var x=f?n:this,E=p?x[e]:e;return v=y.length,s?y=Zi(y,s):m&&v>1&&y.reverse(),d&&u<v&&(y.length=u),this&&this!==sr&&this instanceof c&&(E=g||Jo(E)),E.apply(x,y)}var d=t&Ee,f=t&ve,p=t&ye,h=t&(_e|we),m=t&ke,g=p?oe:Jo(e);return c}function ri(e,t){return function(n,r){return Sr(n,e,t(r),{})}}function oi(e,t){return function(n,r){var o;if(n===oe&&r===oe)return t;if(n!==oe&&(o=n),r!==oe){if(o===oe)return r;"string"==typeof n||"string"==typeof r?(n=vo(n),r=vo(r)):(n=go(n),r=go(r)),o=e(n,r)}return o}}function ii(e){return _i(function(t){return t=m(t,R(Ti())),io(function(n){var r=this;return e(t,function(e){return s(e,r,n)})})})}function ai(e,t){t=t===oe?" ":vo(t);var n=t.length;if(n<2)return n?oo(t,e):t;var r=oo(t,zc(e/Z(t)));return q(t)?Oo(ee(r),0,e).join(""):r.slice(0,e)}function si(e,t,n,r){function o(){for(var t=-1,u=arguments.length,l=-1,c=r.length,d=ac(c+u),f=this&&this!==sr&&this instanceof o?a:e;++l<c;)d[l]=r[l];for(;u--;)d[l++]=arguments[++t];return s(f,i?n:this,d)}var i=t&ve,a=Jo(e);return o}function ui(e){return function(t,n,r){return r&&"number"!=typeof r&&Fi(t,n,r)&&(n=r=oe),t=Tu(t),n===oe?(n=t,t=0):n=Tu(n),r=r===oe?t<n?1:-1:Tu(r),ro(t,n,r,e)}}function li(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=Ou(t),n=Ou(n)),e(t,n)}}function ci(e,t,n,r,o,i,a,s,u,l){var c=t&_e,d=c?a:oe,f=c?oe:a,p=c?i:oe,h=c?oe:i;t|=c?Ce:xe,t&=~(c?xe:Ce),t&be||(t&=~(ve|ye));var m=[e,t,o,p,d,h,f,s,u,l],g=n.apply(oe,m);return zi(e)&&Id(g,m),g.placeholder=r,ea(g,e,t)}function di(e){var t=cc[e];return function(e,n){if(e=Ou(e),n=null==n?0:Xc(ku(n),292)){var r=(Nu(e)+"e").split("e"),o=t(r[0]+"e"+(+r[1]+n));return r=(Nu(o)+"e").split("e"),+(r[0]+"e"+(+r[1]-n))}return t(e)}}function fi(e){return function(t){var n=Ad(t);return n==Qe?G(t):n==ot?X(t):D(t,e(t))}}function pi(e,t,n,r,o,i,a,s){var u=t&ye;if(!u&&"function"!=typeof e)throw new hc(ue);var l=r?r.length:0;
+if(l||(t&=~(Ce|xe),r=o=oe),a=a===oe?a:$c(ku(a),0),s=s===oe?s:ku(s),l-=o?o.length:0,t&xe){var c=r,d=o;r=o=oe}var f=u?oe:Sd(e),p=[e,t,n,r,o,c,d,i,a,s];if(f&&Ki(p,f),e=p[0],t=p[1],n=p[2],r=p[3],o=p[4],s=p[9]=p[9]===oe?u?0:e.length:$c(p[9]-l,0),!s&&t&(_e|we)&&(t&=~(_e|we)),t&&t!=ve)h=t==_e||t==we?Zo(e,t,s):t!=Ce&&t!=(ve|Ce)||o.length?ni.apply(oe,p):si(e,t,n,r);else var h=$o(e,t,n);var m=f?Cd:Id;return ea(m(h,p),e,t)}function hi(e,t,n,r){return e===oe||$s(e,vc[n])&&!_c.call(r,n)?t:e}function mi(e,t,n,r,o,i){return uu(e)&&uu(t)&&(i.set(t,e),Yr(e,t,oe,mi,i),i.delete(t)),e}function gi(e){return vu(e)?oe:e}function vi(e,t,n,r,o,i){var a=n&me,s=e.length,u=t.length;if(s!=u&&!(a&&u>s))return!1;var l=i.get(e);if(l&&i.get(t))return l==t;var c=-1,d=!0,f=n&ge?new yn:oe;for(i.set(e,t),i.set(t,e);++c<s;){var p=e[c],h=t[c];if(r)var m=a?r(h,p,c,t,e,i):r(p,h,c,e,t,i);if(m!==oe){if(m)continue;d=!1;break}if(f){if(!b(t,function(e,t){if(!L(f,t)&&(p===e||o(p,e,n,r,i)))return f.push(t)})){d=!1;break}}else if(p!==h&&!o(p,h,n,r,i)){d=!1;break}}return i.delete(e),i.delete(t),d}function yi(e,t,n,r,o,i,a){switch(n){case dt:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case ct:return!(e.byteLength!=t.byteLength||!i(new Mc(e),new Mc(t)));case Ve:case Ge:case Je:return $s(+e,+t);case Ke:return e.name==t.name&&e.message==t.message;case rt:case it:return e==t+"";case Qe:var s=G;case ot:var u=r&me;if(s||(s=$),e.size!=t.size&&!u)return!1;var l=a.get(e);if(l)return l==t;r|=ge,a.set(e,t);var c=vi(s(e),s(t),r,o,i,a);return a.delete(e),c;case at:if(md)return md.call(e)==md.call(t)}return!1}function bi(e,t,n,r,o,i){var a=n&me,s=wi(e),u=s.length,l=wi(t),c=l.length;if(u!=c&&!a)return!1;for(var d=u;d--;){var f=s[d];if(!(a?f in t:_c.call(t,f)))return!1}var p=i.get(e);if(p&&i.get(t))return p==t;var h=!0;i.set(e,t),i.set(t,e);for(var m=a;++d<u;){f=s[d];var g=e[f],v=t[f];if(r)var y=a?r(v,g,f,t,e,i):r(g,v,f,e,t,i);if(!(y===oe?g===v||o(g,v,n,r,i):y)){h=!1;break}m||(m="constructor"==f)}if(h&&!m){var b=e.constructor,_=t.constructor;b!=_&&"constructor"in e&&"constructor"in t&&!("function"==typeof b&&b instanceof b&&"function"==typeof _&&_ instanceof _)&&(h=!1)}return i.delete(e),i.delete(t),h}function _i(e){return Dd(Qi(e,oe,va),e+"")}function wi(e){return lr(e,Wu,Od)}function Ci(e){return lr(e,Vu,Md)}function xi(e){for(var t=e.name+"",n=ud[t],r=_c.call(ud,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function Ei(e){var t=_c.call(n,"placeholder")?n:e;return t.placeholder}function Ti(){var e=n.iteratee||Rl;return e=e===Rl?Ur:e,arguments.length?e(arguments[0],arguments[1]):e}function ki(e,t){var n=e.__data__;return Hi(t)?n["string"==typeof t?"string":"hash"]:n.map}function Si(e){for(var t=Wu(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Vi(o)]}return t}function Oi(e,t){var n=z(e,t);return jr(n)?n:oe}function Mi(e){var t=_c.call(e,Lc),n=e[Lc];try{e[Lc]=oe;var r=!0}catch(e){}var o=xc.call(e);return r&&(t?e[Lc]=n:delete e[Lc]),o}function Ai(e,t,n){for(var r=-1,o=n.length;++r<o;){var i=n[r],a=i.size;switch(i.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=Xc(t,e+a);break;case"takeRight":e=$c(e,t-a)}}return{start:e,end:t}}function Ni(e){var t=e.match(Ht);return t?t[1].split(zt):[]}function Ii(e,t,n){t=So(t,e);for(var r=-1,o=t.length,i=!1;++r<o;){var a=ra(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:(o=null==e?0:e.length,!!o&&su(o)&&Bi(a,o)&&(wf(e)||_f(e)))}function Pi(e){var t=e.length,n=e.constructor(t);return t&&"string"==typeof e[0]&&_c.call(e,"index")&&(n.index=e.index,n.input=e.input),n}function Di(e){return"function"!=typeof e.constructor||Wi(e)?{}:vd(Nc(e))}function Ri(e,t,n,r){var o=e.constructor;switch(t){case ct:return Ao(e);case Ve:case Ge:return new o(+e);case dt:return No(e,r);case ft:case pt:case ht:case mt:case gt:case vt:case yt:case bt:case _t:return jo(e,r);case Qe:return Io(e,r,n);case Je:case it:return new o(e);case rt:return Po(e);case ot:return Do(e,r,n);case at:return Ro(e)}}function ji(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(Ut,"{\n/* [wrapped with "+t+"] */\n")}function Li(e){return wf(e)||_f(e)||!!(Rc&&e&&e[Rc])}function Bi(e,t){return t=null==t?Re:t,!!t&&("number"==typeof e||Qt.test(e))&&e>-1&&e%1==0&&e<t}function Fi(e,t,n){if(!uu(n))return!1;var r=typeof t;return!!("number"==r?Xs(n)&&Bi(t,n.length):"string"==r&&t in n)&&$s(n[t],e)}function Ui(e,t){if(wf(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!_u(e))||(It.test(e)||!Nt.test(e)||null!=t&&e in dc(t))}function Hi(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function zi(e){var t=xi(e),r=n[t];if("function"!=typeof r||!(t in _.prototype))return!1;if(e===r)return!0;var o=Sd(r);return!!o&&e===o[0]}function qi(e){return!!Cc&&Cc in e}function Wi(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||vc;return e===n}function Vi(e){return e===e&&!uu(e)}function Gi(e,t){return function(n){return null!=n&&(n[e]===t&&(t!==oe||e in dc(n)))}}function Yi(e){var t=Rs(e,function(e){return n.size===ce&&n.clear(),e}),n=t.cache;return t}function Ki(e,t){var n=e[1],r=t[1],o=n|r,i=o<(ve|ye|Ee),a=r==Ee&&n==_e||r==Ee&&n==Te&&e[7].length<=t[8]||r==(Ee|Te)&&t[7].length<=t[8]&&n==_e;if(!i&&!a)return e;r&ve&&(e[2]=t[2],o|=n&ve?0:be);var s=t[3];if(s){var u=e[3];e[3]=u?Fo(u,s,t[4]):s,e[4]=u?K(e[3],de):t[4]}return s=t[5],s&&(u=e[5],e[5]=u?Uo(u,s,t[6]):s,e[6]=u?K(e[5],de):t[6]),s=t[7],s&&(e[7]=s),r&Ee&&(e[8]=null==e[8]?t[8]:Xc(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=o,e}function $i(e){var t=[];if(null!=e)for(var n in dc(e))t.push(n);return t}function Xi(e){return xc.call(e)}function Qi(e,t,n){return t=$c(t===oe?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=$c(r.length-t,0),a=ac(i);++o<i;)a[o]=r[t+o];o=-1;for(var u=ac(t+1);++o<t;)u[o]=r[o];return u[t]=n(a),s(e,this,u)}}function Ji(e,t){return t.length<2?e:ur(e,co(t,0,-1))}function Zi(e,t){for(var n=e.length,r=Xc(t.length,n),o=Ho(e);r--;){var i=t[r];e[r]=Bi(i,n)?o[i]:oe}return e}function ea(e,t,n){var r=t+"";return Dd(e,ji(r,ia(Ni(r),n)))}function ta(e){var t=0,n=0;return function(){var r=Qc(),o=Ae-(r-n);if(n=r,o>0){if(++t>=Me)return arguments[0]}else t=0;return e.apply(oe,arguments)}}function na(e,t){var n=-1,r=e.length,o=r-1;for(t=t===oe?r:t;++n<t;){var i=no(n,o),a=e[i];e[i]=e[n],e[n]=a}return e.length=t,e}function ra(e){if("string"==typeof e||_u(e))return e;var t=e+"";return"0"==t&&1/e==-De?"-0":t}function oa(e){if(null!=e){try{return bc.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function ia(e,t){return l(He,function(n){var r="_."+n[0];t&n[1]&&!p(e,r)&&e.push(r)}),e.sort()}function aa(e){if(e instanceof _)return e.clone();var t=new o(e.__wrapped__,e.__chain__);return t.__actions__=Ho(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function sa(e,t,n){t=(n?Fi(e,t,n):t===oe)?1:$c(ku(t),0);var r=null==e?0:e.length;if(!r||t<1)return[];for(var o=0,i=0,a=ac(zc(r/t));o<r;)a[i++]=co(e,o,o+=t);return a}function ua(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o}function la(){var e=arguments.length;if(!e)return[];for(var t=ac(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return g(wf(n)?Ho(n):[n],tr(t,1))}function ca(e,t,n){var r=null==e?0:e.length;return r?(t=n||t===oe?1:ku(t),co(e,t<0?0:t,r)):[]}function da(e,t,n){var r=null==e?0:e.length;return r?(t=n||t===oe?1:ku(t),t=r-t,co(e,0,t<0?0:t)):[]}function fa(e,t){return e&&e.length?wo(e,Ti(t,3),!0,!0):[]}function pa(e,t){return e&&e.length?wo(e,Ti(t,3),!0):[]}function ha(e,t,n,r){var o=null==e?0:e.length;return o?(n&&"number"!=typeof n&&Fi(e,t,n)&&(n=0,r=o),Zn(e,t,n,r)):[]}function ma(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:ku(n);return o<0&&(o=$c(r+o,0)),x(e,Ti(t,3),o)}function ga(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r-1;return n!==oe&&(o=ku(n),o=n<0?$c(r+o,0):Xc(o,r-1)),x(e,Ti(t,3),o,!0)}function va(e){var t=null==e?0:e.length;return t?tr(e,1):[]}function ya(e){var t=null==e?0:e.length;return t?tr(e,De):[]}function ba(e,t){var n=null==e?0:e.length;return n?(t=t===oe?1:ku(t),tr(e,t)):[]}function _a(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r}function wa(e){return e&&e.length?e[0]:oe}function Ca(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:ku(n);return o<0&&(o=$c(r+o,0)),E(e,t,o)}function xa(e){var t=null==e?0:e.length;return t?co(e,0,-1):[]}function Ea(e,t){return null==e?"":Yc.call(e,t)}function Ta(e){var t=null==e?0:e.length;return t?e[t-1]:oe}function ka(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r;return n!==oe&&(o=ku(n),o=o<0?$c(r+o,0):Xc(o,r-1)),t===t?J(e,t,o):x(e,k,o,!0)}function Sa(e,t){return e&&e.length?$r(e,ku(t)):oe}function Oa(e,t){return e&&e.length&&t&&t.length?eo(e,t):e}function Ma(e,t,n){return e&&e.length&&t&&t.length?eo(e,t,Ti(n,2)):e}function Aa(e,t,n){return e&&e.length&&t&&t.length?eo(e,t,oe,n):e}function Na(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=Ti(t,3);++r<i;){var a=e[r];t(a,r,e)&&(n.push(a),o.push(r))}return to(e,o),n}function Ia(e){return null==e?e:ed.call(e)}function Pa(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&Fi(e,t,n)?(t=0,n=r):(t=null==t?0:ku(t),n=n===oe?r:ku(n)),co(e,t,n)):[]}function Da(e,t){return po(e,t)}function Ra(e,t,n){return ho(e,t,Ti(n,2))}function ja(e,t){var n=null==e?0:e.length;if(n){var r=po(e,t);if(r<n&&$s(e[r],t))return r}return-1}function La(e,t){return po(e,t,!0)}function Ba(e,t,n){return ho(e,t,Ti(n,2),!0)}function Fa(e,t){var n=null==e?0:e.length;if(n){var r=po(e,t,!0)-1;if($s(e[r],t))return r}return-1}function Ua(e){return e&&e.length?mo(e):[]}function Ha(e,t){return e&&e.length?mo(e,Ti(t,2)):[]}function za(e){var t=null==e?0:e.length;return t?co(e,1,t):[]}function qa(e,t,n){return e&&e.length?(t=n||t===oe?1:ku(t),co(e,0,t<0?0:t)):[]}function Wa(e,t,n){var r=null==e?0:e.length;return r?(t=n||t===oe?1:ku(t),t=r-t,co(e,t<0?0:t,r)):[]}function Va(e,t){return e&&e.length?wo(e,Ti(t,3),!1,!0):[]}function Ga(e,t){return e&&e.length?wo(e,Ti(t,3)):[]}function Ya(e){return e&&e.length?yo(e):[]}function Ka(e,t){return e&&e.length?yo(e,Ti(t,2)):[]}function $a(e,t){return t="function"==typeof t?t:oe,e&&e.length?yo(e,oe,t):[]}function Xa(e){if(!e||!e.length)return[];var t=0;return e=f(e,function(e){if(Qs(e))return t=$c(e.length,t),!0}),P(t,function(t){return m(e,O(t))})}function Qa(e,t){if(!e||!e.length)return[];var n=Xa(e);return null==t?n:m(n,function(e){return s(t,oe,e)})}function Ja(e,t){return Eo(e||[],t||[],In)}function Za(e,t){return Eo(e||[],t||[],uo)}function es(e){var t=n(e);return t.__chain__=!0,t}function ts(e,t){return t(e),e}function ns(e,t){return t(e)}function rs(){return es(this)}function os(){return new o(this.value(),this.__chain__)}function is(){this.__values__===oe&&(this.__values__=Eu(this.value()));var e=this.__index__>=this.__values__.length,t=e?oe:this.__values__[this.__index__++];return{done:e,value:t}}function as(){return this}function ss(e){for(var t,n=this;n instanceof r;){var o=aa(n);o.__index__=0,o.__values__=oe,t?i.__wrapped__=o:t=o;var i=o;n=n.__wrapped__}return i.__wrapped__=e,t}function us(){var e=this.__wrapped__;if(e instanceof _){var t=e;return this.__actions__.length&&(t=new _(this)),t=t.reverse(),t.__actions__.push({func:ns,args:[Ia],thisArg:oe}),new o(t,this.__chain__)}return this.thru(Ia)}function ls(){return Co(this.__wrapped__,this.__actions__)}function cs(e,t,n){var r=wf(e)?d:Yn;return n&&Fi(e,t,n)&&(t=oe),r(e,Ti(t,3))}function ds(e,t){var n=wf(e)?f:er;return n(e,Ti(t,3))}function fs(e,t){return tr(ys(e,t),1)}function ps(e,t){return tr(ys(e,t),De)}function hs(e,t,n){return n=n===oe?1:ku(n),tr(ys(e,t),n)}function ms(e,t){var n=wf(e)?l:yd;return n(e,Ti(t,3))}function gs(e,t){var n=wf(e)?c:bd;return n(e,Ti(t,3))}function vs(e,t,n,r){e=Xs(e)?e:rl(e),n=n&&!r?ku(n):0;var o=e.length;return n<0&&(n=$c(o+n,0)),bu(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&E(e,t,n)>-1}function ys(e,t){var n=wf(e)?m:Wr;return n(e,Ti(t,3))}function bs(e,t,n,r){return null==e?[]:(wf(t)||(t=null==t?[]:[t]),n=r?oe:n,wf(n)||(n=null==n?[]:[n]),Xr(e,t,n))}function _s(e,t,n){var r=wf(e)?v:A,o=arguments.length<3;return r(e,Ti(t,4),n,o,yd)}function ws(e,t,n){var r=wf(e)?y:A,o=arguments.length<3;return r(e,Ti(t,4),n,o,bd)}function Cs(e,t){var n=wf(e)?f:er;return n(e,js(Ti(t,3)))}function xs(e){var t=wf(e)?On:ao;return t(e)}function Es(e,t,n){t=(n?Fi(e,t,n):t===oe)?1:ku(t);var r=wf(e)?Mn:so;return r(e,t)}function Ts(e){var t=wf(e)?An:lo;return t(e)}function ks(e){if(null==e)return 0;if(Xs(e))return bu(e)?Z(e):e.length;var t=Ad(e);return t==Qe||t==ot?e.size:Hr(e).length}function Ss(e,t,n){var r=wf(e)?b:fo;return n&&Fi(e,t,n)&&(t=oe),r(e,Ti(t,3))}function Os(e,t){if("function"!=typeof t)throw new hc(ue);return e=ku(e),function(){if(--e<1)return t.apply(this,arguments)}}function Ms(e,t,n){return t=n?oe:t,t=e&&null==t?e.length:t,pi(e,Ee,oe,oe,oe,oe,t)}function As(e,t){var n;if("function"!=typeof t)throw new hc(ue);return e=ku(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=oe),n}}function Ns(e,t,n){t=n?oe:t;var r=pi(e,_e,oe,oe,oe,oe,oe,t);return r.placeholder=Ns.placeholder,r}function Is(e,t,n){t=n?oe:t;var r=pi(e,we,oe,oe,oe,oe,oe,t);return r.placeholder=Is.placeholder,r}function Ps(e,t,n){function r(t){var n=f,r=p;return f=p=oe,y=t,m=e.apply(r,n)}function o(e){return y=e,g=Pd(s,t),b?r(e):m}function i(e){var n=e-v,r=e-y,o=t-n;return _?Xc(o,h-r):o}function a(e){var n=e-v,r=e-y;return v===oe||n>=t||n<0||_&&r>=h}function s(){var e=lf();return a(e)?u(e):void(g=Pd(s,i(e)))}function u(e){return g=oe,w&&f?r(e):(f=p=oe,m)}function l(){g!==oe&&Td(g),y=0,f=v=p=g=oe}function c(){return g===oe?m:u(lf())}function d(){var e=lf(),n=a(e);if(f=arguments,p=this,v=e,n){if(g===oe)return o(v);if(_)return g=Pd(s,t),r(v)}return g===oe&&(g=Pd(s,t)),m}var f,p,h,m,g,v,y=0,b=!1,_=!1,w=!0;if("function"!=typeof e)throw new hc(ue);return t=Ou(t)||0,uu(n)&&(b=!!n.leading,_="maxWait"in n,h=_?$c(Ou(n.maxWait)||0,t):h,w="trailing"in n?!!n.trailing:w),d.cancel=l,d.flush=c,d}function Ds(e){return pi(e,ke)}function Rs(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new hc(ue);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(Rs.Cache||fn),n}function js(e){if("function"!=typeof e)throw new hc(ue);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function Ls(e){return As(2,e)}function Bs(e,t){if("function"!=typeof e)throw new hc(ue);return t=t===oe?t:ku(t),io(e,t)}function Fs(e,t){if("function"!=typeof e)throw new hc(ue);return t=null==t?0:$c(ku(t),0),io(function(n){var r=n[t],o=Oo(n,0,t);return r&&g(o,r),s(e,this,o)})}function Us(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new hc(ue);return uu(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Ps(e,t,{leading:r,maxWait:t,trailing:o})}function Hs(e){return Ms(e,1)}function zs(e,t){return mf(ko(t),e)}function qs(){if(!arguments.length)return[];var e=arguments[0];return wf(e)?e:[e]}function Ws(e){return Un(e,he)}function Vs(e,t){return t="function"==typeof t?t:oe,Un(e,he,t)}function Gs(e){return Un(e,fe|he)}function Ys(e,t){return t="function"==typeof t?t:oe,Un(e,fe|he,t)}function Ks(e,t){return null==t||zn(e,t,Wu(t))}function $s(e,t){return e===t||e!==e&&t!==t}function Xs(e){return null!=e&&su(e.length)&&!iu(e)}function Qs(e){return lu(e)&&Xs(e)}function Js(e){return e===!0||e===!1||lu(e)&&dr(e)==Ve}function Zs(e){return lu(e)&&1===e.nodeType&&!vu(e)}function eu(e){if(null==e)return!0;if(Xs(e)&&(wf(e)||"string"==typeof e||"function"==typeof e.splice||xf(e)||Of(e)||_f(e)))return!e.length;var t=Ad(e);if(t==Qe||t==ot)return!e.size;if(Wi(e))return!Hr(e).length;for(var n in e)if(_c.call(e,n))return!1;return!0}function tu(e,t){return Ir(e,t)}function nu(e,t,n){n="function"==typeof n?n:oe;var r=n?n(e,t):oe;return r===oe?Ir(e,t,oe,n):!!r}function ru(e){if(!lu(e))return!1;var t=dr(e);return t==Ke||t==Ye||"string"==typeof e.message&&"string"==typeof e.name&&!vu(e)}function ou(e){return"number"==typeof e&&Gc(e)}function iu(e){if(!uu(e))return!1;var t=dr(e);return t==$e||t==Xe||t==We||t==nt}function au(e){return"number"==typeof e&&e==ku(e)}function su(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=Re}function uu(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function lu(e){return null!=e&&"object"==typeof e}function cu(e,t){return e===t||Rr(e,t,Si(t))}function du(e,t,n){return n="function"==typeof n?n:oe,Rr(e,t,Si(t),n)}function fu(e){return gu(e)&&e!=+e}function pu(e){if(Nd(e))throw new uc(se);return jr(e)}function hu(e){return null===e}function mu(e){return null==e}function gu(e){return"number"==typeof e||lu(e)&&dr(e)==Je}function vu(e){if(!lu(e)||dr(e)!=et)return!1;var t=Nc(e);if(null===t)return!0;var n=_c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&bc.call(n)==Ec}function yu(e){return au(e)&&e>=-Re&&e<=Re}function bu(e){return"string"==typeof e||!wf(e)&&lu(e)&&dr(e)==it}function _u(e){return"symbol"==typeof e||lu(e)&&dr(e)==at}function wu(e){return e===oe}function Cu(e){return lu(e)&&Ad(e)==ut}function xu(e){return lu(e)&&dr(e)==lt}function Eu(e){if(!e)return[];if(Xs(e))return bu(e)?ee(e):Ho(e);if(jc&&e[jc])return V(e[jc]());var t=Ad(e),n=t==Qe?G:t==ot?$:rl;return n(e)}function Tu(e){if(!e)return 0===e?e:0;if(e=Ou(e),e===De||e===-De){var t=e<0?-1:1;return t*je}return e===e?e:0}function ku(e){var t=Tu(e),n=t%1;return t===t?n?t-n:t:0}function Su(e){return e?Fn(ku(e),0,Be):0}function Ou(e){if("number"==typeof e)return e;if(_u(e))return Le;if(uu(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=uu(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(Lt,"");var n=Kt.test(e);return n||Xt.test(e)?or(e.slice(2),n?2:8):Yt.test(e)?Le:+e}function Mu(e){return zo(e,Vu(e))}function Au(e){return e?Fn(ku(e),-Re,Re):0===e?e:0}function Nu(e){return null==e?"":vo(e)}function Iu(e,t){var n=vd(e);return null==t?n:Rn(n,t)}function Pu(e,t){return C(e,Ti(t,3),nr)}function Du(e,t){return C(e,Ti(t,3),ir)}function Ru(e,t){return null==e?e:_d(e,Ti(t,3),Vu)}function ju(e,t){return null==e?e:wd(e,Ti(t,3),Vu)}function Lu(e,t){return e&&nr(e,Ti(t,3))}function Bu(e,t){return e&&ir(e,Ti(t,3))}function Fu(e){return null==e?[]:ar(e,Wu(e))}function Uu(e){return null==e?[]:ar(e,Vu(e))}function Hu(e,t,n){var r=null==e?oe:ur(e,t);return r===oe?n:r}function zu(e,t){return null!=e&&Ii(e,t,br)}function qu(e,t){return null!=e&&Ii(e,t,xr)}function Wu(e){return Xs(e)?Sn(e):Hr(e)}function Vu(e){return Xs(e)?Sn(e,!0):zr(e)}function Gu(e,t){var n={};return t=Ti(t,3),nr(e,function(e,r,o){Ln(n,t(e,r,o),e)}),n}function Yu(e,t){var n={};return t=Ti(t,3),nr(e,function(e,r,o){Ln(n,r,t(e,r,o))}),n}function Ku(e,t){return $u(e,js(Ti(t)))}function $u(e,t){if(null==e)return{};var n=m(Ci(e),function(e){return[e]});return t=Ti(t),Jr(e,n,function(e,n){return t(e,n[0])})}function Xu(e,t,n){t=So(t,e);var r=-1,o=t.length;for(o||(o=1,e=oe);++r<o;){var i=null==e?oe:e[ra(t[r])];i===oe&&(r=o,i=n),e=iu(i)?i.call(e):i}return e}function Qu(e,t,n){return null==e?e:uo(e,t,n)}function Ju(e,t,n,r){return r="function"==typeof r?r:oe,null==e?e:uo(e,t,n,r)}function Zu(e,t,n){var r=wf(e),o=r||xf(e)||Of(e);if(t=Ti(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:uu(e)&&iu(i)?vd(Nc(e)):{}}return(o?l:nr)(e,function(e,r,o){return t(n,e,r,o)}),n}function el(e,t){return null==e||bo(e,t)}function tl(e,t,n){return null==e?e:_o(e,t,ko(n))}function nl(e,t,n,r){return r="function"==typeof r?r:oe,null==e?e:_o(e,t,ko(n),r)}function rl(e){return null==e?[]:j(e,Wu(e))}function ol(e){return null==e?[]:j(e,Vu(e))}function il(e,t,n){return n===oe&&(n=t,t=oe),n!==oe&&(n=Ou(n),n=n===n?n:0),t!==oe&&(t=Ou(t),t=t===t?t:0),Fn(Ou(e),t,n)}function al(e,t,n){return t=Tu(t),n===oe?(n=t,t=0):n=Tu(n),e=Ou(e),Tr(e,t,n)}function sl(e,t,n){if(n&&"boolean"!=typeof n&&Fi(e,t,n)&&(t=n=oe),n===oe&&("boolean"==typeof t?(n=t,t=oe):"boolean"==typeof e&&(n=e,e=oe)),e===oe&&t===oe?(e=0,t=1):(e=Tu(e),t===oe?(t=e,e=0):t=Tu(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var o=Zc();return Xc(e+o*(t-e+rr("1e-"+((o+"").length-1))),t)}return no(e,t)}function ul(e){return ep(Nu(e).toLowerCase())}function ll(e){return e=Nu(e),e&&e.replace(Jt,_r).replace(Wn,"")}function cl(e,t,n){e=Nu(e),t=vo(t);var r=e.length;n=n===oe?r:Fn(ku(n),0,r);var o=n;return n-=t.length,n>=0&&e.slice(n,o)==t}function dl(e){return e=Nu(e),e&&St.test(e)?e.replace(Tt,wr):e}function fl(e){return e=Nu(e),e&&jt.test(e)?e.replace(Rt,"\\$&"):e}function pl(e,t,n){e=Nu(e),t=ku(t);var r=t?Z(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return ai(qc(o),n)+e+ai(zc(o),n)}function hl(e,t,n){e=Nu(e),t=ku(t);var r=t?Z(e):0;return t&&r<t?e+ai(t-r,n):e}function ml(e,t,n){e=Nu(e),t=ku(t);var r=t?Z(e):0;return t&&r<t?ai(t-r,n)+e:e}function gl(e,t,n){return n||null==t?t=0:t&&(t=+t),Jc(Nu(e).replace(Bt,""),t||0)}function vl(e,t,n){return t=(n?Fi(e,t,n):t===oe)?1:ku(t),oo(Nu(e),t)}function yl(){var e=arguments,t=Nu(e[0]);return e.length<3?t:t.replace(e[1],e[2])}function bl(e,t,n){return n&&"number"!=typeof n&&Fi(e,t,n)&&(t=n=oe),(n=n===oe?Be:n>>>0)?(e=Nu(e),e&&("string"==typeof t||null!=t&&!kf(t))&&(t=vo(t),!t&&q(e))?Oo(ee(e),0,n):e.split(t,n)):[]}function _l(e,t,n){return e=Nu(e),n=null==n?0:Fn(ku(n),0,e.length),t=vo(t),e.slice(n,n+t.length)==t}function wl(e,t,r){var o=n.templateSettings;r&&Fi(e,t,r)&&(t=oe),e=Nu(e),t=Pf({},t,o,hi);var i,a,s=Pf({},t.imports,o.imports,hi),u=Wu(s),l=j(s,u),c=0,d=t.interpolate||Zt,f="__p += '",p=fc((t.escape||Zt).source+"|"+d.source+"|"+(d===At?Vt:Zt).source+"|"+(t.evaluate||Zt).source+"|$","g"),h="//# sourceURL="+("sourceURL"in t?t.sourceURL:"lodash.templateSources["+ ++Xn+"]")+"\n";e.replace(p,function(t,n,r,o,s,u){return r||(r=o),f+=e.slice(c,u).replace(en,H),n&&(i=!0,f+="' +\n__e("+n+") +\n'"),s&&(a=!0,f+="';\n"+s+";\n__p += '"),r&&(f+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=u+t.length,t}),f+="';\n";var m=t.variable;m||(f="with (obj) {\n"+f+"\n}\n"),f=(a?f.replace(wt,""):f).replace(Ct,"$1").replace(xt,"$1;"),f="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var g=tp(function(){return lc(u,h+"return "+f).apply(oe,l)});if(g.source=f,ru(g))throw g;return g}function Cl(e){return Nu(e).toLowerCase()}function xl(e){return Nu(e).toUpperCase()}function El(e,t,n){if(e=Nu(e),e&&(n||t===oe))return e.replace(Lt,"");if(!e||!(t=vo(t)))return e;var r=ee(e),o=ee(t),i=B(r,o),a=F(r,o)+1;return Oo(r,i,a).join("")}function Tl(e,t,n){if(e=Nu(e),e&&(n||t===oe))return e.replace(Ft,"");if(!e||!(t=vo(t)))return e;var r=ee(e),o=F(r,ee(t))+1;return Oo(r,0,o).join("")}function kl(e,t,n){if(e=Nu(e),e&&(n||t===oe))return e.replace(Bt,"");if(!e||!(t=vo(t)))return e;var r=ee(e),o=B(r,ee(t));return Oo(r,o).join("")}function Sl(e,t){var n=Se,r=Oe;if(uu(t)){var o="separator"in t?t.separator:o;n="length"in t?ku(t.length):n,r="omission"in t?vo(t.omission):r}e=Nu(e);var i=e.length;if(q(e)){var a=ee(e);i=a.length}if(n>=i)return e;var s=n-Z(r);if(s<1)return r;var u=a?Oo(a,0,s).join(""):e.slice(0,s);if(o===oe)return u+r;if(a&&(s+=u.length-s),kf(o)){if(e.slice(s).search(o)){var l,c=u;for(o.global||(o=fc(o.source,Nu(Gt.exec(o))+"g")),o.lastIndex=0;l=o.exec(c);)var d=l.index;u=u.slice(0,d===oe?s:d)}}else if(e.indexOf(vo(o),s)!=s){var f=u.lastIndexOf(o);f>-1&&(u=u.slice(0,f))}return u+r}function Ol(e){return e=Nu(e),e&&kt.test(e)?e.replace(Et,Cr):e}function Ml(e,t,n){return e=Nu(e),t=n?oe:t,t===oe?W(e)?re(e):w(e):e.match(t)||[]}function Al(e){var t=null==e?0:e.length,n=Ti();return e=t?m(e,function(e){if("function"!=typeof e[1])throw new hc(ue);return[n(e[0]),e[1]]}):[],io(function(n){for(var r=-1;++r<t;){var o=e[r];if(s(o[0],this,n))return s(o[1],this,n)}})}function Nl(e){return Hn(Un(e,fe))}function Il(e){return function(){return e}}function Pl(e,t){return null==e||e!==e?t:e}function Dl(e){return e}function Rl(e){return Ur("function"==typeof e?e:Un(e,fe))}function jl(e){return Vr(Un(e,fe))}function Ll(e,t){return Gr(e,Un(t,fe))}function Bl(e,t,n){var r=Wu(t),o=ar(t,r);null!=n||uu(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=ar(t,Wu(t)));var i=!(uu(n)&&"chain"in n&&!n.chain),a=iu(e);return l(o,function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),o=n.__actions__=Ho(this.__actions__);return o.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,g([this.value()],arguments))})}),e}function Fl(){return sr._===this&&(sr._=Tc),this}function Ul(){}function Hl(e){return e=ku(e),io(function(t){return $r(t,e)})}function zl(e){return Ui(e)?O(ra(e)):Zr(e)}function ql(e){return function(t){return null==e?oe:ur(e,t)}}function Wl(){return[]}function Vl(){return!1}function Gl(){return{}}function Yl(){return""}function Kl(){return!0}function $l(e,t){if(e=ku(e),e<1||e>Re)return[];var n=Be,r=Xc(e,Be);t=Ti(t),e-=Be;for(var o=P(r,t);++n<e;)t(n);return o}function Xl(e){return wf(e)?m(e,ra):_u(e)?[e]:Ho(Rd(Nu(e)))}function Ql(e){var t=++wc;return Nu(e)+t}function Jl(e){return e&&e.length?Kn(e,Dl,fr):oe}function Zl(e,t){return e&&e.length?Kn(e,Ti(t,2),fr):oe}function ec(e){return S(e,Dl)}function tc(e,t){return S(e,Ti(t,2))}function nc(e){return e&&e.length?Kn(e,Dl,qr):oe}function rc(e,t){return e&&e.length?Kn(e,Ti(t,2),qr):oe}function oc(e){return e&&e.length?I(e,Dl):0}function ic(e,t){return e&&e.length?I(e,Ti(t,2)):0}t=null==t?sr:Er.defaults(sr.Object(),t,Er.pick(sr,$n));var ac=t.Array,sc=t.Date,uc=t.Error,lc=t.Function,cc=t.Math,dc=t.Object,fc=t.RegExp,pc=t.String,hc=t.TypeError,mc=ac.prototype,gc=lc.prototype,vc=dc.prototype,yc=t["__core-js_shared__"],bc=gc.toString,_c=vc.hasOwnProperty,wc=0,Cc=function(){var e=/[^.]+$/.exec(yc&&yc.keys&&yc.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),xc=vc.toString,Ec=bc.call(dc),Tc=sr._,kc=fc("^"+bc.call(_c).replace(Rt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Sc=cr?t.Buffer:oe,Oc=t.Symbol,Mc=t.Uint8Array,Ac=Sc?Sc.allocUnsafe:oe,Nc=Y(dc.getPrototypeOf,dc),Ic=dc.create,Pc=vc.propertyIsEnumerable,Dc=mc.splice,Rc=Oc?Oc.isConcatSpreadable:oe,jc=Oc?Oc.iterator:oe,Lc=Oc?Oc.toStringTag:oe,Bc=function(){try{var e=Oi(dc,"defineProperty");return e({},"",{}),e}catch(e){}}(),Fc=t.clearTimeout!==sr.clearTimeout&&t.clearTimeout,Uc=sc&&sc.now!==sr.Date.now&&sc.now,Hc=t.setTimeout!==sr.setTimeout&&t.setTimeout,zc=cc.ceil,qc=cc.floor,Wc=dc.getOwnPropertySymbols,Vc=Sc?Sc.isBuffer:oe,Gc=t.isFinite,Yc=mc.join,Kc=Y(dc.keys,dc),$c=cc.max,Xc=cc.min,Qc=sc.now,Jc=t.parseInt,Zc=cc.random,ed=mc.reverse,td=Oi(t,"DataView"),nd=Oi(t,"Map"),rd=Oi(t,"Promise"),od=Oi(t,"Set"),id=Oi(t,"WeakMap"),ad=Oi(dc,"create"),sd=id&&new id,ud={},ld=oa(td),cd=oa(nd),dd=oa(rd),fd=oa(od),pd=oa(id),hd=Oc?Oc.prototype:oe,md=hd?hd.valueOf:oe,gd=hd?hd.toString:oe,vd=function(){function e(){}return function(t){if(!uu(t))return{};if(Ic)return Ic(t);e.prototype=t;var n=new e;return e.prototype=oe,n}}();n.templateSettings={escape:Ot,evaluate:Mt,interpolate:At,variable:"",imports:{_:n}},n.prototype=r.prototype,n.prototype.constructor=n,o.prototype=vd(r.prototype),o.prototype.constructor=o,_.prototype=vd(r.prototype),_.prototype.constructor=_,ne.prototype.clear=qt,ne.prototype.delete=tn,ne.prototype.get=nn,ne.prototype.has=rn,ne.prototype.set=on,an.prototype.clear=sn,an.prototype.delete=un,an.prototype.get=ln,an.prototype.has=cn,an.prototype.set=dn,fn.prototype.clear=pn,fn.prototype.delete=hn,fn.prototype.get=mn,fn.prototype.has=gn,fn.prototype.set=vn,yn.prototype.add=yn.prototype.push=bn,yn.prototype.has=_n,wn.prototype.clear=Cn,wn.prototype.delete=xn,wn.prototype.get=En,wn.prototype.has=Tn,wn.prototype.set=kn;var yd=Yo(nr),bd=Yo(ir,!0),_d=Ko(),wd=Ko(!0),Cd=sd?function(e,t){return sd.set(e,t),e}:Dl,xd=Bc?function(e,t){return Bc(e,"toString",{configurable:!0,enumerable:!1,value:Il(t),writable:!0})}:Dl,Ed=io,Td=Fc||function(e){return sr.clearTimeout(e)},kd=od&&1/$(new od([,-0]))[1]==De?function(e){return new od(e)}:Ul,Sd=sd?function(e){return sd.get(e)}:Ul,Od=Wc?function(e){return null==e?[]:(e=dc(e),f(Wc(e),function(t){return Pc.call(e,t)}))}:Wl,Md=Wc?function(e){for(var t=[];e;)g(t,Od(e)),e=Nc(e);return t}:Wl,Ad=dr;(td&&Ad(new td(new ArrayBuffer(1)))!=dt||nd&&Ad(new nd)!=Qe||rd&&Ad(rd.resolve())!=tt||od&&Ad(new od)!=ot||id&&Ad(new id)!=ut)&&(Ad=function(e){var t=dr(e),n=t==et?e.constructor:oe,r=n?oa(n):"";if(r)switch(r){case ld:return dt;case cd:return Qe;case dd:return tt;case fd:return ot;case pd:return ut}return t});var Nd=yc?iu:Vl,Id=ta(Cd),Pd=Hc||function(e,t){return sr.setTimeout(e,t)},Dd=ta(xd),Rd=Yi(function(e){var t=[];return Pt.test(e)&&t.push(""),e.replace(Dt,function(e,n,r,o){t.push(r?o.replace(Wt,"$1"):n||e)}),t}),jd=io(function(e,t){return Qs(e)?Gn(e,tr(t,1,Qs,!0)):[]}),Ld=io(function(e,t){var n=Ta(t);return Qs(n)&&(n=oe),Qs(e)?Gn(e,tr(t,1,Qs,!0),Ti(n,2)):[]}),Bd=io(function(e,t){var n=Ta(t);return Qs(n)&&(n=oe),Qs(e)?Gn(e,tr(t,1,Qs,!0),oe,n):[]}),Fd=io(function(e){var t=m(e,To);return t.length&&t[0]===e[0]?kr(t):[]}),Ud=io(function(e){var t=Ta(e),n=m(e,To);return t===Ta(n)?t=oe:n.pop(),n.length&&n[0]===e[0]?kr(n,Ti(t,2)):[]}),Hd=io(function(e){var t=Ta(e),n=m(e,To);return t="function"==typeof t?t:oe,t&&n.pop(),n.length&&n[0]===e[0]?kr(n,oe,t):[]}),zd=io(Oa),qd=_i(function(e,t){var n=null==e?0:e.length,r=Bn(e,t);return to(e,m(t,function(e){return Bi(e,n)?+e:e}).sort(Lo)),r}),Wd=io(function(e){return yo(tr(e,1,Qs,!0))}),Vd=io(function(e){var t=Ta(e);return Qs(t)&&(t=oe),yo(tr(e,1,Qs,!0),Ti(t,2))}),Gd=io(function(e){var t=Ta(e);return t="function"==typeof t?t:oe,yo(tr(e,1,Qs,!0),oe,t)}),Yd=io(function(e,t){return Qs(e)?Gn(e,t):[]}),Kd=io(function(e){return xo(f(e,Qs))}),$d=io(function(e){var t=Ta(e);return Qs(t)&&(t=oe),xo(f(e,Qs),Ti(t,2))}),Xd=io(function(e){var t=Ta(e);return t="function"==typeof t?t:oe,xo(f(e,Qs),oe,t)}),Qd=io(Xa),Jd=io(function(e){var t=e.length,n=t>1?e[t-1]:oe;return n="function"==typeof n?(e.pop(),n):oe,Qa(e,n)}),Zd=_i(function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return Bn(t,e)};return!(t>1||this.__actions__.length)&&r instanceof _&&Bi(n)?(r=r.slice(n,+n+(t?1:0)),r.__actions__.push({func:ns,args:[i],thisArg:oe}),new o(r,this.__chain__).thru(function(e){return t&&!e.length&&e.push(oe),e})):this.thru(i)}),ef=Vo(function(e,t,n){_c.call(e,n)?++e[n]:Ln(e,n,1)}),tf=ei(ma),nf=ei(ga),rf=Vo(function(e,t,n){_c.call(e,n)?e[n].push(t):Ln(e,n,[t])}),of=io(function(e,t,n){var r=-1,o="function"==typeof t,i=Xs(e)?ac(e.length):[];return yd(e,function(e){i[++r]=o?s(t,e,n):Or(e,t,n)}),i}),af=Vo(function(e,t,n){Ln(e,n,t)}),sf=Vo(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),uf=io(function(e,t){if(null==e)return[];var n=t.length;return n>1&&Fi(e,t[0],t[1])?t=[]:n>2&&Fi(t[0],t[1],t[2])&&(t=[t[0]]),Xr(e,tr(t,1),[])}),lf=Uc||function(){return sr.Date.now()},cf=io(function(e,t,n){var r=ve;if(n.length){var o=K(n,Ei(cf));r|=Ce}return pi(e,r,t,n,o)}),df=io(function(e,t,n){var r=ve|ye;if(n.length){var o=K(n,Ei(df));r|=Ce}return pi(t,r,e,n,o)}),ff=io(function(e,t){return Vn(e,1,t)}),pf=io(function(e,t,n){return Vn(e,Ou(t)||0,n)});Rs.Cache=fn;var hf=Ed(function(e,t){t=1==t.length&&wf(t[0])?m(t[0],R(Ti())):m(tr(t,1),R(Ti()));var n=t.length;return io(function(r){for(var o=-1,i=Xc(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return s(e,this,r)})}),mf=io(function(e,t){var n=K(t,Ei(mf));return pi(e,Ce,oe,t,n)}),gf=io(function(e,t){var n=K(t,Ei(gf));return pi(e,xe,oe,t,n)}),vf=_i(function(e,t){return pi(e,Te,oe,oe,oe,t)}),yf=li(fr),bf=li(function(e,t){return e>=t}),_f=Mr(function(){return arguments}())?Mr:function(e){return lu(e)&&_c.call(e,"callee")&&!Pc.call(e,"callee");
+},wf=ac.isArray,Cf=pr?R(pr):Ar,xf=Vc||Vl,Ef=hr?R(hr):Nr,Tf=mr?R(mr):Dr,kf=gr?R(gr):Lr,Sf=vr?R(vr):Br,Of=yr?R(yr):Fr,Mf=li(qr),Af=li(function(e,t){return e<=t}),Nf=Go(function(e,t){if(Wi(t)||Xs(t))return void zo(t,Wu(t),e);for(var n in t)_c.call(t,n)&&In(e,n,t[n])}),If=Go(function(e,t){zo(t,Vu(t),e)}),Pf=Go(function(e,t,n,r){zo(t,Vu(t),e,r)}),Df=Go(function(e,t,n,r){zo(t,Wu(t),e,r)}),Rf=_i(Bn),jf=io(function(e){return e.push(oe,hi),s(Pf,oe,e)}),Lf=io(function(e){return e.push(oe,mi),s(zf,oe,e)}),Bf=ri(function(e,t,n){e[t]=n},Il(Dl)),Ff=ri(function(e,t,n){_c.call(e,t)?e[t].push(n):e[t]=[n]},Ti),Uf=io(Or),Hf=Go(function(e,t,n){Yr(e,t,n)}),zf=Go(function(e,t,n,r){Yr(e,t,n,r)}),qf=_i(function(e,t){var n={};if(null==e)return n;var r=!1;t=m(t,function(t){return t=So(t,e),r||(r=t.length>1),t}),zo(e,Ci(e),n),r&&(n=Un(n,fe|pe|he,gi));for(var o=t.length;o--;)bo(n,t[o]);return n}),Wf=_i(function(e,t){return null==e?{}:Qr(e,t)}),Vf=fi(Wu),Gf=fi(Vu),Yf=Qo(function(e,t,n){return t=t.toLowerCase(),e+(n?ul(t):t)}),Kf=Qo(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),$f=Qo(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),Xf=Xo("toLowerCase"),Qf=Qo(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}),Jf=Qo(function(e,t,n){return e+(n?" ":"")+ep(t)}),Zf=Qo(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),ep=Xo("toUpperCase"),tp=io(function(e,t){try{return s(e,oe,t)}catch(e){return ru(e)?e:new uc(e)}}),np=_i(function(e,t){return l(t,function(t){t=ra(t),Ln(e,t,cf(e[t],e))}),e}),rp=ti(),op=ti(!0),ip=io(function(e,t){return function(n){return Or(n,e,t)}}),ap=io(function(e,t){return function(n){return Or(e,n,t)}}),sp=ii(m),up=ii(d),lp=ii(b),cp=ui(),dp=ui(!0),fp=oi(function(e,t){return e+t},0),pp=di("ceil"),hp=oi(function(e,t){return e/t},1),mp=di("floor"),gp=oi(function(e,t){return e*t},1),vp=di("round"),yp=oi(function(e,t){return e-t},0);return n.after=Os,n.ary=Ms,n.assign=Nf,n.assignIn=If,n.assignInWith=Pf,n.assignWith=Df,n.at=Rf,n.before=As,n.bind=cf,n.bindAll=np,n.bindKey=df,n.castArray=qs,n.chain=es,n.chunk=sa,n.compact=ua,n.concat=la,n.cond=Al,n.conforms=Nl,n.constant=Il,n.countBy=ef,n.create=Iu,n.curry=Ns,n.curryRight=Is,n.debounce=Ps,n.defaults=jf,n.defaultsDeep=Lf,n.defer=ff,n.delay=pf,n.difference=jd,n.differenceBy=Ld,n.differenceWith=Bd,n.drop=ca,n.dropRight=da,n.dropRightWhile=fa,n.dropWhile=pa,n.fill=ha,n.filter=ds,n.flatMap=fs,n.flatMapDeep=ps,n.flatMapDepth=hs,n.flatten=va,n.flattenDeep=ya,n.flattenDepth=ba,n.flip=Ds,n.flow=rp,n.flowRight=op,n.fromPairs=_a,n.functions=Fu,n.functionsIn=Uu,n.groupBy=rf,n.initial=xa,n.intersection=Fd,n.intersectionBy=Ud,n.intersectionWith=Hd,n.invert=Bf,n.invertBy=Ff,n.invokeMap=of,n.iteratee=Rl,n.keyBy=af,n.keys=Wu,n.keysIn=Vu,n.map=ys,n.mapKeys=Gu,n.mapValues=Yu,n.matches=jl,n.matchesProperty=Ll,n.memoize=Rs,n.merge=Hf,n.mergeWith=zf,n.method=ip,n.methodOf=ap,n.mixin=Bl,n.negate=js,n.nthArg=Hl,n.omit=qf,n.omitBy=Ku,n.once=Ls,n.orderBy=bs,n.over=sp,n.overArgs=hf,n.overEvery=up,n.overSome=lp,n.partial=mf,n.partialRight=gf,n.partition=sf,n.pick=Wf,n.pickBy=$u,n.property=zl,n.propertyOf=ql,n.pull=zd,n.pullAll=Oa,n.pullAllBy=Ma,n.pullAllWith=Aa,n.pullAt=qd,n.range=cp,n.rangeRight=dp,n.rearg=vf,n.reject=Cs,n.remove=Na,n.rest=Bs,n.reverse=Ia,n.sampleSize=Es,n.set=Qu,n.setWith=Ju,n.shuffle=Ts,n.slice=Pa,n.sortBy=uf,n.sortedUniq=Ua,n.sortedUniqBy=Ha,n.split=bl,n.spread=Fs,n.tail=za,n.take=qa,n.takeRight=Wa,n.takeRightWhile=Va,n.takeWhile=Ga,n.tap=ts,n.throttle=Us,n.thru=ns,n.toArray=Eu,n.toPairs=Vf,n.toPairsIn=Gf,n.toPath=Xl,n.toPlainObject=Mu,n.transform=Zu,n.unary=Hs,n.union=Wd,n.unionBy=Vd,n.unionWith=Gd,n.uniq=Ya,n.uniqBy=Ka,n.uniqWith=$a,n.unset=el,n.unzip=Xa,n.unzipWith=Qa,n.update=tl,n.updateWith=nl,n.values=rl,n.valuesIn=ol,n.without=Yd,n.words=Ml,n.wrap=zs,n.xor=Kd,n.xorBy=$d,n.xorWith=Xd,n.zip=Qd,n.zipObject=Ja,n.zipObjectDeep=Za,n.zipWith=Jd,n.entries=Vf,n.entriesIn=Gf,n.extend=If,n.extendWith=Pf,Bl(n,n),n.add=fp,n.attempt=tp,n.camelCase=Yf,n.capitalize=ul,n.ceil=pp,n.clamp=il,n.clone=Ws,n.cloneDeep=Gs,n.cloneDeepWith=Ys,n.cloneWith=Vs,n.conformsTo=Ks,n.deburr=ll,n.defaultTo=Pl,n.divide=hp,n.endsWith=cl,n.eq=$s,n.escape=dl,n.escapeRegExp=fl,n.every=cs,n.find=tf,n.findIndex=ma,n.findKey=Pu,n.findLast=nf,n.findLastIndex=ga,n.findLastKey=Du,n.floor=mp,n.forEach=ms,n.forEachRight=gs,n.forIn=Ru,n.forInRight=ju,n.forOwn=Lu,n.forOwnRight=Bu,n.get=Hu,n.gt=yf,n.gte=bf,n.has=zu,n.hasIn=qu,n.head=wa,n.identity=Dl,n.includes=vs,n.indexOf=Ca,n.inRange=al,n.invoke=Uf,n.isArguments=_f,n.isArray=wf,n.isArrayBuffer=Cf,n.isArrayLike=Xs,n.isArrayLikeObject=Qs,n.isBoolean=Js,n.isBuffer=xf,n.isDate=Ef,n.isElement=Zs,n.isEmpty=eu,n.isEqual=tu,n.isEqualWith=nu,n.isError=ru,n.isFinite=ou,n.isFunction=iu,n.isInteger=au,n.isLength=su,n.isMap=Tf,n.isMatch=cu,n.isMatchWith=du,n.isNaN=fu,n.isNative=pu,n.isNil=mu,n.isNull=hu,n.isNumber=gu,n.isObject=uu,n.isObjectLike=lu,n.isPlainObject=vu,n.isRegExp=kf,n.isSafeInteger=yu,n.isSet=Sf,n.isString=bu,n.isSymbol=_u,n.isTypedArray=Of,n.isUndefined=wu,n.isWeakMap=Cu,n.isWeakSet=xu,n.join=Ea,n.kebabCase=Kf,n.last=Ta,n.lastIndexOf=ka,n.lowerCase=$f,n.lowerFirst=Xf,n.lt=Mf,n.lte=Af,n.max=Jl,n.maxBy=Zl,n.mean=ec,n.meanBy=tc,n.min=nc,n.minBy=rc,n.stubArray=Wl,n.stubFalse=Vl,n.stubObject=Gl,n.stubString=Yl,n.stubTrue=Kl,n.multiply=gp,n.nth=Sa,n.noConflict=Fl,n.noop=Ul,n.now=lf,n.pad=pl,n.padEnd=hl,n.padStart=ml,n.parseInt=gl,n.random=sl,n.reduce=_s,n.reduceRight=ws,n.repeat=vl,n.replace=yl,n.result=Xu,n.round=vp,n.runInContext=e,n.sample=xs,n.size=ks,n.snakeCase=Qf,n.some=Ss,n.sortedIndex=Da,n.sortedIndexBy=Ra,n.sortedIndexOf=ja,n.sortedLastIndex=La,n.sortedLastIndexBy=Ba,n.sortedLastIndexOf=Fa,n.startCase=Jf,n.startsWith=_l,n.subtract=yp,n.sum=oc,n.sumBy=ic,n.template=wl,n.times=$l,n.toFinite=Tu,n.toInteger=ku,n.toLength=Su,n.toLower=Cl,n.toNumber=Ou,n.toSafeInteger=Au,n.toString=Nu,n.toUpper=xl,n.trim=El,n.trimEnd=Tl,n.trimStart=kl,n.truncate=Sl,n.unescape=Ol,n.uniqueId=Ql,n.upperCase=Zf,n.upperFirst=ep,n.each=ms,n.eachRight=gs,n.first=wa,Bl(n,function(){var e={};return nr(n,function(t,r){_c.call(n.prototype,r)||(e[r]=t)}),e}(),{chain:!1}),n.VERSION=ie,l(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){n[e].placeholder=n}),l(["drop","take"],function(e,t){_.prototype[e]=function(n){n=n===oe?1:$c(ku(n),0);var r=this.__filtered__&&!t?new _(this):this.clone();return r.__filtered__?r.__takeCount__=Xc(n,r.__takeCount__):r.__views__.push({size:Xc(n,Be),type:e+(r.__dir__<0?"Right":"")}),r},_.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),l(["filter","map","takeWhile"],function(e,t){var n=t+1,r=n==Ne||n==Pe;_.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Ti(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),l(["head","last"],function(e,t){var n="take"+(t?"Right":"");_.prototype[e]=function(){return this[n](1).value()[0]}}),l(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");_.prototype[e]=function(){return this.__filtered__?new _(this):this[n](1)}}),_.prototype.compact=function(){return this.filter(Dl)},_.prototype.find=function(e){return this.filter(e).head()},_.prototype.findLast=function(e){return this.reverse().find(e)},_.prototype.invokeMap=io(function(e,t){return"function"==typeof e?new _(this):this.map(function(n){return Or(n,e,t)})}),_.prototype.reject=function(e){return this.filter(js(Ti(e)))},_.prototype.slice=function(e,t){e=ku(e);var n=this;return n.__filtered__&&(e>0||t<0)?new _(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==oe&&(t=ku(t),n=t<0?n.dropRight(-t):n.take(t-e)),n)},_.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},_.prototype.toArray=function(){return this.take(Be)},nr(_.prototype,function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),a=n[i?"take"+("last"==t?"Right":""):t],s=i||/^find/.test(t);a&&(n.prototype[t]=function(){var t=this.__wrapped__,u=i?[1]:arguments,l=t instanceof _,c=u[0],d=l||wf(t),f=function(e){var t=a.apply(n,g([e],u));return i&&p?t[0]:t};d&&r&&"function"==typeof c&&1!=c.length&&(l=d=!1);var p=this.__chain__,h=!!this.__actions__.length,m=s&&!p,v=l&&!h;if(!s&&d){t=v?t:new _(this);var y=e.apply(t,u);return y.__actions__.push({func:ns,args:[f],thisArg:oe}),new o(y,p)}return m&&v?e.apply(this,u):(y=this.thru(f),m?i?y.value()[0]:y.value():y)})}),l(["pop","push","shift","sort","splice","unshift"],function(e){var t=mc[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",o=/^(?:pop|shift)$/.test(e);n.prototype[e]=function(){var e=arguments;if(o&&!this.__chain__){var n=this.value();return t.apply(wf(n)?n:[],e)}return this[r](function(n){return t.apply(wf(n)?n:[],e)})}}),nr(_.prototype,function(e,t){var r=n[t];if(r){var o=r.name+"",i=ud[o]||(ud[o]=[]);i.push({name:t,func:r})}}),ud[ni(oe,ye).name]=[{name:"wrapper",func:oe}],_.prototype.clone=M,_.prototype.reverse=Q,_.prototype.value=te,n.prototype.at=Zd,n.prototype.chain=rs,n.prototype.commit=os,n.prototype.next=is,n.prototype.plant=ss,n.prototype.reverse=us,n.prototype.toJSON=n.prototype.valueOf=n.prototype.value=ls,n.prototype.first=n.prototype.head,jc&&(n.prototype[jc]=as),n},Er=xr();sr._=Er,r=function(){return Er}.call(t,n,t,o),!(r!==oe&&(o.exports=r))}).call(this)}).call(t,function(){return this}(),n(206)(e))},function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(341),i=r(o);t.default=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,i.default)(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(546),i=r(o),a=n(545),s=r(a),u=n(225),l=r(u);t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+("undefined"==typeof t?"undefined":(0,l.default)(t)));e.prototype=(0,s.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(i.default?(0,i.default)(e,t):e.__proto__=t)}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(225),i=r(o);t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==("undefined"==typeof t?"undefined":(0,i.default)(t))&&"function"!=typeof t?e:t}},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var a=n(30),s=o(a),u=n(23),l=r(u),c=n(19),d=r(c),f=n(130),p=r(f),h=n(83),m=r(h),g=n(46),v=o(g),y=n(131),b=o(y),_=n(77),w=o(_),C=function(){function e(t,n,r){if(i(this,e),!t&&this.play?this.player_=t=this:this.player_=t,this.options_=(0,w.default)({},this.options_),n=this.options_=(0,w.default)(this.options_,n),this.id_=n.id||n.el&&n.el.id,!this.id_){var o=t&&t.id&&t.id()||"no_player";this.id_=o+"_component_"+p.newGUID()}this.name_=n.name||null,n.el?this.el_=n.el:n.createEl!==!1&&(this.el_=this.createEl()),this.children_=[],this.childIndex_={},this.childNameIndex_={},n.initChildren!==!1&&this.initChildren(),this.ready(r),n.reportTouchActivity!==!1&&this.enableTouchActivity()}return e.prototype.dispose=function(){if(this.trigger({type:"dispose",bubbles:!1}),this.children_)for(var e=this.children_.length-1;e>=0;e--)this.children_[e].dispose&&this.children_[e].dispose();this.children_=null,this.childIndex_=null,this.childNameIndex_=null,this.off(),this.el_.parentNode&&this.el_.parentNode.removeChild(this.el_),l.removeElData(this.el_),this.el_=null},e.prototype.player=function(){return this.player_},e.prototype.options=function(e){return v.default.warn("this.options() has been deprecated and will be moved to the constructor in 6.0"),e?(this.options_=(0,w.default)(this.options_,e),this.options_):this.options_},e.prototype.el=function(){return this.el_},e.prototype.createEl=function(e,t,n){return l.createEl(e,t,n)},e.prototype.localize=function(e){var t=this.player_.language&&this.player_.language(),n=this.player_.languages&&this.player_.languages();if(!t||!n)return e;var r=n[t];if(r&&r[e])return r[e];var o=t.split("-")[0],i=n[o];return i&&i[e]?i[e]:e},e.prototype.contentEl=function(){return this.contentEl_||this.el_},e.prototype.id=function(){return this.id_},e.prototype.name=function(){return this.name_},e.prototype.children=function(){return this.children_},e.prototype.getChildById=function(e){return this.childIndex_[e]},e.prototype.getChild=function(e){if(e)return e=(0,b.default)(e),this.childNameIndex_[e]},e.prototype.addChild=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.children_.length,o=void 0,i=void 0;if("string"==typeof t){i=(0,b.default)(t),n||(n={}),n===!0&&(v.default.warn("Initializing a child component with `true` is deprecated.Children should be defined in an array when possible, but if necessary use an object instead of `true`."),n={});var a=n.componentClass||i;n.name=i;var s=e.getComponent(a);if(!s)throw new Error("Component "+a+" does not exist");if("function"!=typeof s)return null;o=new s(this.player_||this,n)}else o=t;if(this.children_.splice(r,0,o),"function"==typeof o.id&&(this.childIndex_[o.id()]=o),i=i||o.name&&(0,b.default)(o.name()),i&&(this.childNameIndex_[i]=o),"function"==typeof o.el&&o.el()){var u=this.contentEl().children,l=u[r]||null;this.contentEl().insertBefore(o.el(),l)}return o},e.prototype.removeChild=function(e){if("string"==typeof e&&(e=this.getChild(e)),e&&this.children_){for(var t=!1,n=this.children_.length-1;n>=0;n--)if(this.children_[n]===e){t=!0,this.children_.splice(n,1);break}if(t){this.childIndex_[e.id()]=null,this.childNameIndex_[e.name()]=null;var r=e.el();r&&r.parentNode===this.contentEl()&&this.contentEl().removeChild(e.el())}}},e.prototype.initChildren=function(){var t=this,n=this.options_.children;if(n){var r=this.options_,o=function(e){var n=e.name,o=e.opts;if(void 0!==r[n]&&(o=r[n]),o!==!1){o===!0&&(o={}),o.playerOptions=t.options_.playerOptions;var i=t.addChild(n,o);i&&(t[n]=i)}},i=void 0,a=e.getComponent("Tech");i=Array.isArray(n)?n:Object.keys(n),i.concat(Object.keys(this.options_).filter(function(e){return!i.some(function(t){return"string"==typeof t?e===t:e===t.name})})).map(function(e){var r=void 0,o=void 0;return"string"==typeof e?(r=e,o=n[r]||t.options_[r]||{}):(r=e.name,o=e),{name:r,opts:o}}).filter(function(t){var n=e.getComponent(t.opts.componentClass||(0,b.default)(t.name));return n&&!a.isTech(n)}).forEach(o)}},e.prototype.buildCSSClass=function(){return""},e.prototype.on=function(e,t,n){var r=this;if("string"==typeof e||Array.isArray(e))m.on(this.el_,e,d.bind(this,t));else{var o=e,i=t,a=d.bind(this,n),s=function(){return r.off(o,i,a)};s.guid=a.guid,this.on("dispose",s);var u=function(){return r.off("dispose",s)};u.guid=a.guid,e.nodeName?(m.on(o,i,a),m.on(o,"dispose",u)):"function"==typeof e.on&&(o.on(i,a),o.on("dispose",u))}return this},e.prototype.off=function(e,t,n){if(!e||"string"==typeof e||Array.isArray(e))m.off(this.el_,e,t);else{var r=e,o=t,i=d.bind(this,n);this.off("dispose",i),e.nodeName?(m.off(r,o,i),m.off(r,"dispose",i)):(r.off(o,i),r.off("dispose",i))}return this},e.prototype.one=function(e,t,n){var r=this,o=arguments;if("string"==typeof e||Array.isArray(e))m.one(this.el_,e,d.bind(this,t));else{var i=e,a=t,s=d.bind(this,n),u=function e(){r.off(i,a,e),s.apply(null,o)};u.guid=s.guid,this.on(i,a,u)}return this},e.prototype.trigger=function(e,t){return m.trigger(this.el_,e,t),this},e.prototype.ready=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(this.isReady_?t?e.call(this):this.setTimeout(e,1):(this.readyQueue_=this.readyQueue_||[],this.readyQueue_.push(e))),this},e.prototype.triggerReady=function(){this.isReady_=!0,this.setTimeout(function(){var e=this.readyQueue_;this.readyQueue_=[],e&&e.length>0&&e.forEach(function(e){e.call(this)},this),this.trigger("ready")},1)},e.prototype.$=function(e,t){return l.$(e,t||this.contentEl())},e.prototype.$$=function(e,t){return l.$$(e,t||this.contentEl())},e.prototype.hasClass=function(e){return l.hasElClass(this.el_,e)},e.prototype.addClass=function(e){return l.addElClass(this.el_,e),this},e.prototype.removeClass=function(e){return l.removeElClass(this.el_,e),this},e.prototype.toggleClass=function(e,t){return l.toggleElClass(this.el_,e,t),this},e.prototype.show=function(){return this.removeClass("vjs-hidden"),this},e.prototype.hide=function(){return this.addClass("vjs-hidden"),this},e.prototype.lockShowing=function(){return this.addClass("vjs-lock-showing"),this},e.prototype.unlockShowing=function(){return this.removeClass("vjs-lock-showing"),this},e.prototype.getAttribute=function(e){return l.getAttribute(this.el_,e)},e.prototype.setAttribute=function(e,t){return l.setAttribute(this.el_,e,t),this},e.prototype.removeAttribute=function(e){return l.removeAttribute(this.el_,e),this},e.prototype.width=function(e,t){return this.dimension("width",e,t)},e.prototype.height=function(e,t){return this.dimension("height",e,t)},e.prototype.dimensions=function(e,t){return this.width(e,!0).height(t)},e.prototype.dimension=function(e,t,n){if(void 0!==t)return null!==t&&t===t||(t=0),(""+t).indexOf("%")!==-1||(""+t).indexOf("px")!==-1?this.el_.style[e]=t:"auto"===t?this.el_.style[e]="":this.el_.style[e]=t+"px",n||this.trigger("resize"),this;if(!this.el_)return 0;var r=this.el_.style[e],o=r.indexOf("px");return o!==-1?parseInt(r.slice(0,o),10):parseInt(this.el_["offset"+(0,b.default)(e)],10)},e.prototype.currentDimension=function(e){var t=0;if("width"!==e&&"height"!==e)throw new Error("currentDimension only accepts width or height value");if("function"==typeof s.default.getComputedStyle){var n=s.default.getComputedStyle(this.el_);t=n.getPropertyValue(e)||n[e]}if(t=parseFloat(t),0===t){var r="offset"+(0,b.default)(e);t=this.el_[r]}return t},e.prototype.currentDimensions=function(){return{width:this.currentDimension("width"),height:this.currentDimension("height")}},e.prototype.currentWidth=function(){return this.currentDimension("width")},e.prototype.currentHeight=function(){return this.currentDimension("height")},e.prototype.focus=function(){this.el_.focus()},e.prototype.blur=function(){this.el_.blur()},e.prototype.emitTapEvents=function(){var e=0,t=null,n=10,r=200,o=void 0;this.on("touchstart",function(n){1===n.touches.length&&(t={pageX:n.touches[0].pageX,pageY:n.touches[0].pageY},e=(new Date).getTime(),o=!0)}),this.on("touchmove",function(e){if(e.touches.length>1)o=!1;else if(t){var r=e.touches[0].pageX-t.pageX,i=e.touches[0].pageY-t.pageY,a=Math.sqrt(r*r+i*i);a>n&&(o=!1)}});var i=function(){o=!1};this.on("touchleave",i),this.on("touchcancel",i),this.on("touchend",function(n){if(t=null,o===!0){var i=(new Date).getTime()-e;i<r&&(n.preventDefault(),this.trigger("tap"))}})},e.prototype.enableTouchActivity=function(){if(this.player()&&this.player().reportUserActivity){var e=d.bind(this.player(),this.player().reportUserActivity),t=void 0;this.on("touchstart",function(){e(),this.clearInterval(t),t=this.setInterval(e,250)});var n=function(n){e(),this.clearInterval(t)};this.on("touchmove",e),this.on("touchend",n),this.on("touchcancel",n)}},e.prototype.setTimeout=function(e,t){e=d.bind(this,e);var n=s.default.setTimeout(e,t),r=function(){this.clearTimeout(n)};return r.guid="vjs-timeout-"+n,this.on("dispose",r),n},e.prototype.clearTimeout=function(e){s.default.clearTimeout(e);var t=function(){};return t.guid="vjs-timeout-"+e,this.off("dispose",t),e},e.prototype.setInterval=function(e,t){e=d.bind(this,e);var n=s.default.setInterval(e,t),r=function(){this.clearInterval(n)};return r.guid="vjs-interval-"+n,this.on("dispose",r),n},e.prototype.clearInterval=function(e){s.default.clearInterval(e);var t=function(){};return t.guid="vjs-interval-"+e,this.off("dispose",t),e},e.registerComponent=function(t,n){if(t){if(t=(0,b.default)(t),e.components_||(e.components_={}),"Player"===t&&e.components_[t]){var r=e.components_[t];if(r.players&&Object.keys(r.players).length>0&&Object.keys(r.players).map(function(e){return r.players[e]}).every(Boolean))throw new Error("Can not register Player component after player has been created")}return e.components_[t]=n,n}},e.getComponent=function(t){if(t)return t=(0,b.default)(t),e.components_&&e.components_[t]?e.components_[t]:s.default&&s.default.videojs&&s.default.videojs[t]?(v.default.warn("The "+t+" component was added to the videojs object when it should be registered using videojs.registerComponent(name, component)"),s.default.videojs[t]):void 0},e.extend=function(t){t=t||{},v.default.warn("Component.extend({}) has been deprecated,  use videojs.extend(Component, {}) instead");var n=t.init||t.init||this.prototype.init||this.prototype.init||function(){},r=function(){n.apply(this,arguments)};r.prototype=Object.create(this.prototype),r.prototype.constructor=r,r.extend=e.extend;for(var o in t)t.hasOwnProperty(o)&&(r.prototype[o]=t[o]);return r},e}();C.registerComponent("Component",C),t.default=C},function(e,t,n){e.exports={default:n(598),__esModule:!0}},function(e,t,n){"use strict";function r(e,t,n,r,i,a,s,u){if(o(t),!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,i,a,s,u],d=0;l=new Error(t.replace(/%s/g,function(){return c[d++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}}var o=function(e){};e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(340),i=r(o);t.default=i.default||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},[1492,18],function(e,t,n){"use strict";var r=n(40),o=r;e.exports=o},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){"use strict";function n(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);n+=" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";var o=new Error(n);throw o.name="Invariant Violation",o.framesToPop=1,o}e.exports=n},function(e,t,n){"use strict";var r=function(e,t,n,r,o,i,a,s){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,o,i,a,s],c=0;u=new Error(t.replace(/%s/g,function(){return l[c++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}};e.exports=r},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){"use strict";t.__esModule=!0,t.throttle=t.bind=void 0;var r=n(130);t.bind=function(e,t,n){t.guid||(t.guid=(0,r.newGUID)());var o=function(){return t.apply(e,arguments)};return o.guid=n?n+"_"+t.guid:t.guid,o},t.throttle=function(e,t){var n=Date.now(),r=function(){var r=Date.now();r-n>=t&&(e.apply(void 0,arguments),n=r)};return r}},[1594,177,98,14],function(e,t){/*
+	object-assign
+	(c) Sindre Sorhus
+	@license MIT
+	*/
+"use strict";function n(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function r(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if("0123456789"!==r.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(e){o[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}var o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=r()?Object.assign:function(e,t){for(var r,s,u=n(e),l=1;l<arguments.length;l++){r=Object(arguments[l]);for(var c in r)i.call(r,c)&&(u[c]=r[c]);if(o){s=o(r);for(var d=0;d<s.length;d++)a.call(r,s[d])&&(u[s[d]]=r[s[d]])}}return u}},function(e,t,n){e.exports=n(966)()},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return e.raw=t,e}function a(e){return"string"==typeof e&&/\S/.test(e)}function s(e){if(/\s/.test(e))throw new Error("class has illegal whitespace characters")}function u(e){return new RegExp("(^|\\s)"+e+"($|\\s)")}function l(){return F.default===H.default.document&&"undefined"!=typeof F.default.createElement}function c(e){return(0,K.isObject)(e)&&1===e.nodeType}function d(e){return function(t,n){if(!a(t))return F.default[e](null);a(n)&&(n=F.default.querySelector(n));var r=c(n)?n:F.default;return r[e]&&r[e](t)}}function f(e){return 0===e.indexOf("#")&&(e=e.slice(1)),F.default.getElementById(e)}function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"div",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments[3],o=F.default.createElement(e);return Object.getOwnPropertyNames(t).forEach(function(e){var n=t[e];e.indexOf("aria-")!==-1||"role"===e||"type"===e?(V.default.warn((0,Y.default)(L,e,n)),o.setAttribute(e,n)):"textContent"===e?h(o,n):o[e]=n}),Object.getOwnPropertyNames(n).forEach(function(e){o.setAttribute(e,n[e])}),r&&R(o,r),o}function h(e,t){return"undefined"==typeof e.textContent?e.innerText=t:e.textContent=t,e}function m(e,t){t.firstChild?t.insertBefore(e,t.firstChild):t.appendChild(e)}function g(e){var t=e[X];return t||(t=e[X]=q.newGUID()),$[t]||($[t]={}),$[t]}function v(e){var t=e[X];return!!t&&!!Object.getOwnPropertyNames($[t]).length}function y(e){var t=e[X];if(t){delete $[t];try{delete e[X]}catch(t){e.removeAttribute?e.removeAttribute(X):e[X]=null}}}function b(e,t){return s(t),e.classList?e.classList.contains(t):u(t).test(e.className)}function _(e,t){return e.classList?e.classList.add(t):b(e,t)||(e.className=(e.className+" "+t).trim()),e}function w(e,t){return e.classList?e.classList.remove(t):(s(t),e.className=e.className.split(/\s+/).filter(function(e){return e!==t}).join(" ")),e}function C(e,t,n){var r=b(e,t);if("function"==typeof n&&(n=n(e,t)),"boolean"!=typeof n&&(n=!r),n!==r)return n?_(e,t):w(e,t),e}function x(e,t){Object.getOwnPropertyNames(t).forEach(function(n){var r=t[n];null===r||"undefined"==typeof r||r===!1?e.removeAttribute(n):e.setAttribute(n,r===!0?"":r)})}function E(e){var t={},n=",autoplay,controls,loop,muted,default,";if(e&&e.attributes&&e.attributes.length>0)for(var r=e.attributes,o=r.length-1;o>=0;o--){var i=r[o].name,a=r[o].value;"boolean"!=typeof e[i]&&n.indexOf(","+i+",")===-1||(a=null!==a),t[i]=a}return t}function T(e,t){return e.getAttribute(t)}function k(e,t,n){e.setAttribute(t,n)}function S(e,t){e.removeAttribute(t)}function O(){F.default.body.focus(),F.default.onselectstart=function(){return!1}}function M(){F.default.onselectstart=function(){return!0}}function A(e){var t=void 0;if(e.getBoundingClientRect&&e.parentNode&&(t=e.getBoundingClientRect()),!t)return{left:0,top:0};var n=F.default.documentElement,r=F.default.body,o=n.clientLeft||r.clientLeft||0,i=H.default.pageXOffset||r.scrollLeft,a=t.left+i-o,s=n.clientTop||r.clientTop||0,u=H.default.pageYOffset||r.scrollTop,l=t.top+u-s;return{left:Math.round(a),top:Math.round(l)}}function N(e,t){var n={},r=A(e),o=e.offsetWidth,i=e.offsetHeight,a=r.top,s=r.left,u=t.pageY,l=t.pageX;return t.changedTouches&&(l=t.changedTouches[0].pageX,u=t.changedTouches[0].pageY),n.y=Math.max(0,Math.min(1,(a-u+i)/i)),n.x=Math.max(0,Math.min(1,(l-s)/o)),n}function I(e){return(0,K.isObject)(e)&&3===e.nodeType}function P(e){for(;e.firstChild;)e.removeChild(e.firstChild);return e}function D(e){return"function"==typeof e&&(e=e()),(Array.isArray(e)?e:[e]).map(function(e){return"function"==typeof e&&(e=e()),c(e)||I(e)?e:"string"==typeof e&&/\S/.test(e)?F.default.createTextNode(e):void 0}).filter(function(e){return e})}function R(e,t){return D(t).forEach(function(t){return e.appendChild(t)}),e}function j(e,t){return R(P(e),t)}t.__esModule=!0,t.$$=t.$=void 0;var L=i(["Setting attributes in the second argument of createEl()\n                has been deprecated. Use the third argument instead.\n                createEl(type, properties, attributes). Attempting to set "," to ","."],["Setting attributes in the second argument of createEl()\n                has been deprecated. Use the third argument instead.\n                createEl(type, properties, attributes). Attempting to set "," to ","."]);t.isReal=l,t.isEl=c,t.getEl=f,t.createEl=p,t.textContent=h,t.insertElFirst=m,t.getElData=g,t.hasElData=v,t.removeElData=y,t.hasElClass=b,t.addElClass=_,t.removeElClass=w,t.toggleElClass=C,t.setElAttributes=x,t.getElAttributes=E,t.getAttribute=T,t.setAttribute=k,t.removeAttribute=S,t.blockTextSelection=O,t.unblockTextSelection=M,t.findElPosition=A,t.getPointerPosition=N,t.isTextNode=I,t.emptyEl=P,t.normalizeContent=D,t.appendContent=R,t.insertContent=j;var B=n(28),F=o(B),U=n(30),H=o(U),z=n(130),q=r(z),W=n(46),V=o(W),G=n(481),Y=o(G),K=n(34),$={},X="vdata"+(new Date).getTime();t.$=d("querySelector"),t.$$=d("querySelectorAll")},function(e,t){var n=e.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},[1509,15],[1549,12,367,62,25],function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){function t(t){return r?c.default[t||u.default.camelCase(e.name)]||{}:c.default}function n(n){return e((0,a.default)({localizeStrings:t},n))}var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.prototype.render?(e.defaultProps=(0,a.default)({localizeStrings:t},e.defaultProps),e):(Object.defineProperty(n,"name",{value:e.name}),n)}Object.defineProperty(t,"__esModule",{value:!0});var i=n(11),a=r(i);t.default=o;var s=n(3),u=r(s),l=n(1367),c=r(l)},function(e,t,n){(function(t){var r="undefined"!=typeof t?t:"undefined"!=typeof window?window:{},o=n(1214);if("undefined"!=typeof document)e.exports=document;else{var i=r["__GLOBAL_DOCUMENT_CACHE@4"];i||(i=r["__GLOBAL_DOCUMENT_CACHE@4"]=o),e.exports=i}}).call(t,function(){return this}())},function(e,t,n){"use strict";function r(e,t){return 1===e.nodeType&&e.getAttribute(h)===String(t)||8===e.nodeType&&e.nodeValue===" react-text: "+t+" "||8===e.nodeType&&e.nodeValue===" react-empty: "+t+" "}function o(e){for(var t;t=e._renderedComponent;)e=t;return e}function i(e,t){var n=o(e);n._hostNode=t,t[g]=n}function a(e){var t=e._hostNode;t&&(delete t[g],e._hostNode=null)}function s(e,t){if(!(e._flags&m.hasCachedChildNodes)){var n=e._renderedChildren,a=t.firstChild;e:for(var s in n)if(n.hasOwnProperty(s)){var u=n[s],l=o(u)._domID;if(0!==l){for(;null!==a;a=a.nextSibling)if(r(a,l)){i(u,a);continue e}d("32",l)}}e._flags|=m.hasCachedChildNodes}}function u(e){if(e[g])return e[g];for(var t=[];!e[g];){if(t.push(e),!e.parentNode)return null;e=e.parentNode}for(var n,r;e&&(r=e[g]);e=t.pop())n=r,t.length&&s(r,e);return n}function l(e){var t=u(e);return null!=t&&t._hostNode===e?t:null}function c(e){if(void 0===e._hostNode?d("33"):void 0,e._hostNode)return e._hostNode;for(var t=[];!e._hostNode;)t.push(e),e._hostParent?void 0:d("34"),e=e._hostParent;for(;t.length;e=t.pop())s(e,e._hostNode);return e._hostNode}var d=n(16),f=n(120),p=n(437),h=(n(10),f.ID_ATTRIBUTE_NAME),m=p,g="__reactInternalInstance$"+Math.random().toString(36).slice(2),v={getClosestInstanceFromNode:u,getInstanceFromNode:l,getNodeFromInstance:c,precacheChildNodes:s,precacheNode:i,uncacheNode:a};e.exports=v},function(e,t){(function(t){"undefined"!=typeof window?e.exports=window:"undefined"!=typeof t?e.exports=t:"undefined"!=typeof self?e.exports=self:e.exports={}}).call(t,function(){return this}())},[1584,80],[1586,53],function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.__esModule=!0,t.BACKGROUND_SIZE_SUPPORTED=t.TOUCH_ENABLED=t.IS_ANY_SAFARI=t.IS_SAFARI=t.IE_VERSION=t.IS_IE8=t.IS_CHROME=t.IS_EDGE=t.IS_FIREFOX=t.IS_NATIVE_ANDROID=t.IS_OLD_ANDROID=t.ANDROID_VERSION=t.IS_ANDROID=t.IOS_VERSION=t.IS_IOS=t.IS_IPOD=t.IS_IPHONE=t.IS_IPAD=void 0;var i=n(23),a=o(i),s=n(30),u=r(s),l=u.default.navigator&&u.default.navigator.userAgent||"",c=/AppleWebKit\/([\d.]+)/i.exec(l),d=c?parseFloat(c.pop()):null,f=t.IS_IPAD=/iPad/i.test(l),p=t.IS_IPHONE=/iPhone/i.test(l)&&!f,h=t.IS_IPOD=/iPod/i.test(l),m=t.IS_IOS=p||f||h,g=(t.IOS_VERSION=function(){var e=l.match(/OS (\d+)_/i);return e&&e[1]?e[1]:null}(),t.IS_ANDROID=/Android/i.test(l)),v=t.ANDROID_VERSION=function(){var e=l.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i);if(!e)return null;var t=e[1]&&parseFloat(e[1]),n=e[2]&&parseFloat(e[2]);return t&&n?parseFloat(e[1]+"."+e[2]):t?t:null}(),y=(t.IS_OLD_ANDROID=g&&/webkit/i.test(l)&&v<2.3,t.IS_NATIVE_ANDROID=g&&v<5&&d<537,t.IS_FIREFOX=/Firefox/i.test(l),t.IS_EDGE=/Edge/i.test(l)),b=t.IS_CHROME=!y&&/Chrome/i.test(l),_=(t.IS_IE8=/MSIE\s8\.0/.test(l),t.IE_VERSION=function(){var e=/MSIE\s(\d+)\.\d/.exec(l),t=e&&parseFloat(e[1]);return!t&&/Trident\/7.0/i.test(l)&&/rv:11.0/.test(l)&&(t=11),t}(),t.IS_SAFARI=/Safari/i.test(l)&&!b&&!g&&!y);t.IS_ANY_SAFARI=_||m,t.TOUCH_ENABLED=a.isReal()&&("ontouchstart"in u.default||u.default.DocumentTouch&&u.default.document instanceof u.default.DocumentTouch),t.BACKGROUND_SIZE_SUPPORTED=a.isReal()&&"backgroundSize"in u.default.document.createElement("video").style},function(e,t){"use strict";function n(e,t){l(e).forEach(function(n){return t(e[n],n)})}function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return l(e).reduce(function(n,r){return t(n,e[r],r)},n)}function o(e){for(var t=arguments.length,r=Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];return Object.assign?Object.assign.apply(Object,[e].concat(r)):(r.forEach(function(t){t&&n(t,function(t,n){e[n]=t})}),e)}function i(e){return!!e&&"object"===("undefined"==typeof e?"undefined":s(e))}function a(e){return i(e)&&"[object Object]"===u.call(e)&&e.constructor===Object}t.__esModule=!0;var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.each=n,t.reduce=r,t.assign=o,t.isObject=i,t.isPlain=a;var u=Object.prototype.toString,l=function(e){return i(e)?Object.keys(e):[]}},[1594,232,167,47],function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.connect=t.connectAdvanced=t.Provider=void 0;var o=n(1079),i=r(o),a=n(456),s=r(a),u=n(1080),l=r(u);t.Provider=i.default,t.connectAdvanced=s.default,t.connect=l.default},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){"use strict";var n=!("undefined"==typeof window||!window.document||!window.document.createElement),r={canUseDOM:n,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:n&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:n&&!!window.screen,isInWorker:!n};e.exports=r},function(e,t){var n=Array.isArray;e.exports=n},function(e,t){"use strict";function n(e){return function(){return e}}var r=function(){};r.thatReturns=n,r.thatReturnsFalse=n(!1),r.thatReturnsTrue=n(!0),r.thatReturnsNull=n(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},[1516,26,79,25],function(e,t,n){var r=n(14),o=n(42),i=n(37),a=n(98)("src"),s="toString",u=Function[s],l=(""+u).split(s);n(70).inspectSource=function(e){return u.call(e)},(e.exports=function(e,t,n,s){var u="function"==typeof n;u&&(i(n,"name")||o(n,"name",t)),e[t]!==n&&(u&&(i(n,a)||o(n,a,e[t]?""+e[t]:l.join(String(t)))),e===r?e[t]=n:s?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,s,function(){return"function"==typeof this&&this[a]||u.call(this)})},function(e,t,n){var r=n(2),o=n(15),i=n(53),a=/"/g,s=function(e,t,n,r){var o=String(i(e)),s="<"+t;return""!==n&&(s+=" "+n+'="'+String(r).replace(a,"&quot;")+'"'),s+">"+o+"</"+t+">"};e.exports=function(e,t){var n={};n[e]=t(s),r(r.P+r.F*o(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}),"String",n)}},[1582,143,53],function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.logByType=void 0;var o=n(30),i=r(o),a=n(33),s=n(34),u=void 0,l=t.logByType=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:!!a.IE_VERSION&&a.IE_VERSION<11;"log"!==e&&t.unshift(e.toUpperCase()+":"),u.history.push(t),t.unshift("VIDEOJS:");var r=i.default.console&&i.default.console[e];r&&(n&&(t=t.map(function(e){if((0,s.isObject)(e)||Array.isArray(e))try{return JSON.stringify(e)}catch(t){return String(e)}return String(e)}).join(" ")),r.apply?r[Array.isArray(t)?"apply":"call"](i.default.console,t):r(t))};u=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];l("log",t)},u.history=[],u.error=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return l("error",t)},u.warn=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return l("warn",t)},t.default=u},14,[1553,144,79,45,62,37,367,25],[1558,37,32,253],function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return C.default.isPlainObject(e)?C.default.omitBy(e,function(e,n){return C.default.isNil(e)&&!C.default.includes(t,n)||C.default.isObject(e)&&C.default.isEmpty(e)&&!C.default.includes(t,n)}):C.default.reject(e,function(e){return C.default.isNil(e)||C.default.isObject(e)&&C.default.isEmpty(e)})}function i(e,t){return C.default.isNil(e)?null:{text:e,languageTypeId:t,formatTypeId:S.languages.formatTypeId,scriptTypeId:S.languages.scriptTypeId[(0,S.getLanguage)(t)]}}function a(e,t,n){var r={genusTypeId:k.default.answer.rightAnswer,feedback:i(t.correctFeedback.text,n),fileIds:t.correctFeedback.fileIds};return C.default.get(e,"question.correctFeedback")&&(r.id=e.question.correctFeedback.answerId),r}function s(e){return{text:C.default.get(e,"answers[0].feedback.text"),texts:C.default.get(e,"answers[0].feedbacks"),answerId:C.default.get(e,"answers[0].id"),fileIds:C.default.get(e,"answers[0].fileIds")}}function u(e,t){return"<p "+(t?'class="'+t+'"':"")+">"+e+"</p>"}function l(e){var t=E.default.parseHTML(e);return(0,E.default)(t).text()}function c(e){return C.default.reduce(e,function(e,t){return e[t.languageTypeId]=t.text,e},{})}function d(e){var t=E.default.parseHTML(e);return(0,E.default)(t).attr("class")}function f(e){var t={};C.default.each(e.texts,function(e){t[e.languageTypeId]={text:l(e.text),wordType:d(e.text)}});var n=S.languages.languageTypeId.english;return{id:e.id,text:C.default.get(t,"["+n+"].text",""),wordType:C.default.get(t,"["+n+"].wordType",""),texts:t}}function p(e){var t={};return C.default.each(e,function(e){t[e.id]=f(e)}),t}function h(e){var t=E.default.parseHTML(e),n=(0,E.default)(t).find("img"),r=(0,E.default)(t).attr("src");return n&&!r?(0,E.default)(n).attr("src"):r}function m(e){return C.default.reduce(e,function(e,t){var n=t.id,r=C.default.map(t.texts,function(e,r){return(0,_.default)({order:t.order},e,{id:n,language:r})});return e.concat(r)},[])}function g(e,t){return C.default.map(e,function(e){if(!C.default.isEmpty(e.texts[t]))return e;var n=e.id,r=e.wordType||C.default.find(e.texts,function(e){return e.wordType});return C.default.merge({},e,{texts:(0,y.default)({},t,{id:n,language:t,wordType:r,text:""})})})}Object.defineProperty(t,"__esModule",{value:!0});var v=n(66),y=r(v),b=n(11),_=r(b);t.scrub=o,t.languageText=i,t.getSingleCorrectAnswer=a,t.createSingleCorrectFeedback=s,t.buildChoiceText=u,t.parseChoiceText=l,t.deserializeChoiceTexts=c,t.parseChoiceWordType=d,t.deserializeMultiLanguageChoice=f,t.deserializeMultiLanguageChoices=p,t.getImageUrl=h,t.extractAllLanguageChoices=m,t.addNewChoices=g;var w=n(3),C=r(w),x=n(134),E=r(x),T=n(65),k=r(T),S=n(104)},function(e,t,n){var r=n(47),o=n(24),i=n(87),a=n(86),s="prototype",u=function(e,t,n){var l,c,d,f=e&u.F,p=e&u.G,h=e&u.S,m=e&u.P,g=e&u.B,v=e&u.W,y=p?o:o[t]||(o[t]={}),b=y[s],_=p?r:h?r[t]:(r[t]||{})[s];p&&(n=t);for(l in n)c=!f&&_&&void 0!==_[l],c&&l in y||(d=c?_[l]:n[l],y[l]=p&&"function"!=typeof _[l]?n[l]:g&&c?i(d,r):v&&_[l]==d?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t[s]=e[s],t}(d):m&&"function"==typeof d?i(Function.call,d):d,m&&((y.virtual||(y.virtual={}))[l]=d,e&u.R&&b&&!b[l]&&a(b,l,d)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on  "+e);return e}},function(e,t,n){var r=n(15);e.exports=function(e,t){return!!e&&r(function(){t?e.call(null,function(){},1):e.call(null)})}},function(e,t,n){"use strict";var r=null;e.exports={debugTool:r}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.DONE=void 0;var o=n(66),i=r(o),a=n(11),s=r(a);t.default=function(e,t){var n=l.default.reduce(e,function(e,t){return(0,s.default)({},e,(0,i.default)({},t,t))},{});return n=l.default.reduce(t,function(e,t){var n;return(0,s.default)({},e,(n={},(0,i.default)(n,t,t),(0,i.default)(n,""+t+c,""+t+c),n))},n),n.DONE=c,n};var u=n(3),l=r(u),c=t.DONE="_DONE"},function(e,t,n){"use strict";var r=n(1),o=n(816),i=(new r.Component).updater;e.exports=o(r.Component,r.isValidElement,i)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.assessmentViewed=t.assessmentPostLtiOutcome=t.assessmentPostAnalytics=t.loadAssessment=t.Constants=void 0;var o=n(56),i=r(o),a=[],s=["LOAD_ASSESSMENT","ASSESSMENT_POST_ANALYTICS","ASSESSMENT_POST_LTI_OUTCOME","ASSESSMENT_VIEWED"],u=t.Constants=(0,i.default)(a,s);t.loadAssessment=function(){return{type:u.LOAD_ASSESSMENT,apiCall:!0}},t.assessmentPostAnalytics=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return{type:u.ASSESSMENT_POST_ANALYTICS,resultsId:e,userId:t,contextId:n}},t.assessmentPostLtiOutcome=function(e){return{type:u.ASSESSMENT_POST_LTI_OUTCOME,resultsId:e}},t.assessmentViewed=function(){return{type:u.ASSESSMENT_VIEWED}}},[1549,67,347,234,68],function(e,t,n){var r=n(71),o=n(143),i=n(32),a=n(31),s=n(637);e.exports=function(e,t){var n=1==e,u=2==e,l=3==e,c=4==e,d=6==e,f=5==e||d,p=t||s;return function(t,s,h){for(var m,g,v=i(t),y=o(v),b=r(s,h,3),_=a(y.length),w=0,C=n?p(t,_):u?p(t,0):void 0;_>w;w++)if((f||w in y)&&(m=y[w],g=b(m,w,v),e))if(n)C[w]=g;else if(g)switch(e){case 3:return!0;case 5:return m;case 6:return w;case 2:C.push(m)}else if(c)return!1;return d?-1:l||c?c:C}}},[1565,2,70,15],[1589,18],function(e,t,n){function r(e){if(!a(e)||o(e)!=s)return!1;var t=i(e);if(null===t)return!0;var n=d.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==f}var o=n(117),i=n(904),a=n(101),s="[object Object]",u=Function.prototype,l=Object.prototype,c=u.toString,d=l.hasOwnProperty,f=c.call(Object);e.exports=r},function(e,t,n){"use strict";function r(){S.ReactReconcileTransaction&&w?void 0:c("123")}function o(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=f.getPooled(),this.reconcileTransaction=S.ReactReconcileTransaction.getPooled(!0)}function i(e,t,n,o,i,a){return r(),w.batchedUpdates(e,t,n,o,i,a)}function a(e,t){return e._mountOrder-t._mountOrder}function s(e){var t=e.dirtyComponentsLength;t!==v.length?c("124",t,v.length):void 0,v.sort(a),y++;for(var n=0;n<t;n++){var r=v[n],o=r._pendingCallbacks;r._pendingCallbacks=null;var i;if(h.logTopLevelRenders){var s=r;r._currentElement.type.isReactTopLevelWrapper&&(s=r._renderedComponent),i="React update: "+s.getName(),console.time(i)}if(m.performUpdateIfNecessary(r,e.reconcileTransaction,y),i&&console.timeEnd(i),o)for(var u=0;u<o.length;u++)e.callbackQueue.enqueue(o[u],r.getPublicInstance())}}function u(e){return r(),w.isBatchingUpdates?(v.push(e),void(null==e._updateBatchNumber&&(e._updateBatchNumber=y+1))):void w.batchedUpdates(u,e)}function l(e,t){w.isBatchingUpdates?void 0:c("125"),b.enqueue(e,t),_=!0}var c=n(16),d=n(21),f=n(435),p=n(103),h=n(440),m=n(123),g=n(198),v=(n(10),[]),y=0,b=f.getPooled(),_=!1,w=null,C={initialize:function(){this.dirtyComponentsLength=v.length},close:function(){this.dirtyComponentsLength!==v.length?(v.splice(0,this.dirtyComponentsLength),T()):v.length=0}},x={initialize:function(){this.callbackQueue.reset()},close:function(){this.callbackQueue.notifyAll()}},E=[C,x];d(o.prototype,g,{getTransactionWrappers:function(){return E},destructor:function(){this.dirtyComponentsLength=null,f.release(this.callbackQueue),this.callbackQueue=null,S.ReactReconcileTransaction.release(this.reconcileTransaction),this.reconcileTransaction=null},perform:function(e,t,n){return g.perform.call(this,this.reconcileTransaction.perform,this.reconcileTransaction,e,t,n)}}),p.addPoolingTo(o);var T=function(){for(;v.length||_;){if(v.length){var e=o.getPooled();e.perform(s,null,e),o.release(e)}if(_){_=!1;var t=b;b=f.getPooled(),t.notifyAll(),f.release(t)}}},k={injectReconcileTransaction:function(e){e?void 0:c("126"),S.ReactReconcileTransaction=e},injectBatchingStrategy:function(e){e?void 0:c("127"),"function"!=typeof e.batchedUpdates?c("128"):void 0,"boolean"!=typeof e.isBatchingUpdates?c("129"):void 0,w=e}},S={ReactReconcileTransaction:null,batchedUpdates:i,enqueueUpdate:u,flushBatchedUpdates:T,injection:k,asap:l};e.exports=S},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return s.default.findKey(u.item,function(t){return e===t})||s.default.findKey(u.question,function(t){return e===t})||s.default.findKey(u.answer,function(t){return e===t})||s.default.findKey(u.target,function(t){return e===t})||s.default.findKey(u.zone,function(t){return e===t})||null}function i(e){return s.default.findKey(u.assets,function(t){return s.default.findKey(t,function(t){return e===t})||null})||null}Object.defineProperty(t,"__esModule",{value:!0}),t.types=void 0,t.getQbankType=o,t.getQbankMediaType=i;var a=n(3),s=r(a),u=t.types={item:{audioUpload:"item-genus-type%3Aqti-upload-interaction-audio%40ODL.MIT.EDU",dragAndDrop:"item-genus-type%3Adrag-and-drop%40ODL.MIT.EDU",fileUpload:"item-genus-type%3Aqti-upload-interaction-generic%40ODL.MIT.EDU",imageSequence:"item-genus-type%3Aqti-order-interaction-object-manipulation%40ODL.MIT.EDU",movableFillBlank:"item-genus-type%3Aqti-inline-choice-interaction-mw-fill-in-the-blank%40ODL.MIT.EDU",movableWordSandbox:"item-genus-type%3Aqti-order-interaction-mw-sandbox%40ODL.MIT.EDU",movableWordSentence:"item-genus-type%3Aqti-order-interaction-mw-sentence%40ODL.MIT.EDU",multipleAnswer:"item-genus-type%3Aqti-choice-interaction-multi-select%40ODL.MIT.EDU",multipleChoice:"item-genus-type%3Aqti-choice-interaction%40ODL.MIT.EDU",multipleReflection:"item-genus-type%3Aqti-choice-interaction-multi-select-survey%40ODL.MIT.EDU",reflection:"item-genus-type%3Aqti-choice-interaction-survey%40ODL.MIT.EDU",shortAnswer:"item-genus-type%3Aqti-extended-text-interaction%40ODL.MIT.EDU"},question:{audioUpload:"question-type%3Aqti-upload-interaction-audio%40ODL.MIT.EDU",dragAndDrop:"question-type%3Adrag-and-drop%40ODL.MIT.EDU",fileUpload:"question-type%3Aqti-upload-interaction-generic%40ODL.MIT.EDU",imageSequence:"question-type%3Aqti-order-interaction-object-manipulation%40ODL.MIT.EDU",movableFillBlank:"question-type%3Aqti-inline-choice-interaction-mw-fill-in-the-blank%40ODL.MIT.EDU",movableWordSandbox:"question-type%3Aqti-order-interaction-mw-sandbox%40ODL.MIT.EDU",movableWordSentence:"question-type%3Aqti-order-interaction-mw-sentence%40ODL.MIT.EDU",multipleAnswer:"question-type%3Aqti-choice-interaction-multi-select%40ODL.MIT.EDU",multipleChoice:"question-type%3Aqti-choice-interaction%40ODL.MIT.EDU",multipleReflection:"question-type%3Aqti-choice-interaction-multi-select-survey%40ODL.MIT.EDU",reflection:"question-type%3Aqti-choice-interaction-survey%40ODL.MIT.EDU",shortAnswer:"question-type%3Aqti-extended-text-interaction%40ODL.MIT.EDU"},answer:{file:"answer-record-type%3Afiles-submission%40ODL.MIT.EDU",fillInTheBlank:"answer-record-type%3Ainline-choice-answer%40ODL.MIT.EDU",multipleAnswer:"answer-record-type%3Amulti-choice-answer%40ODL.MIT.EDU",multipleChoice:"answer-record-type%3Amulti-choice-answer%40ODL.MIT.EDU",rightAnswer:"answer-type%3Aright-answer%40ODL.MIT.EDU",shortAnswer:"answer-record-type%3Ashort-text-answer%40ODL.MIT.EDU",wrongAnswer:"answer-type%3Awrong-answer%40ODL.MIT.EDU"},assets:{image:{png:"asset-content-genus-type%3Apng%40iana.org",jpg:"asset-content-genus-type%3Ajpg%40iana.org",JPG:"asset-content-genus-type%3AJPG%40ODL.MIT.EDU",svg:"asset-content-genus-type%3Asvg%40iana.org"},audio:{mp3:"asset-content-genus-type%3Amp3%40iana.org"},video:{m4a:"asset-content-genus-type%3Am4a%40ODL.MIT.EDU",wav:"asset-content-genus-type%3Awav%40ODL.MIT.EDU",mp4:"asset-content-genus-type%3Amp4%40ODL.MIT.EDU"},altText:{altText:"asset-content-genus-type%3Aalt-text%40ODL.MIT.EDU"},description:{description:"asset-content-genus-type%3Amedia-description%40ODL.MIT.EDU",oldDesc:"asset-content-genus-type%3AmediaDescription%40ODL.MIT.EDU"},license:{license:"someJunkyId"},copyright:{copyright:"anotherJunkyId"},vtt:{vtt:"asset-content-genus-type%3Avtt%40ODL.MIT.EDU"},transcript:{transcript:"asset-content-genus-type%3Atranscript%40ODL.MIT.EDU"}},target:{drop:"drop.behavior%3Adrop%40ODL.MIT.EDU",reject:"drop.behavior%3Areject%40ODL.MIT.EDU"},zone:{drop:"drop.behavior%3Adrop%40ODL.MIT.EDU",snap:"drop.behavior%3Asnap%40ODL.MIT.EDU",rectangle:"osid.mapping.SpatialUnit%3Arectangle%40ODL.MIT.EDU"},default:"GenusType%3ADEFAULT%40DLKIT.MIT.EDU"};t.default=u},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(341),i=r(o);t.default=function(e,t,n){return t in e?(0,i.default)(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},[1492,69],[1509,105],18,24,[1507,41],function(e,t,n){var r=n(383),o=n(2),i=n(177)("metadata"),a=i.store||(i.store=new(n(386))),s=function(e,t,n){var o=a.get(e);if(!o){if(!n)return;a.set(e,o=new r)}var i=o.get(t);if(!i){if(!n)return;o.set(t,i=new r)}return i},u=function(e,t,n){var r=s(t,n,!1);return void 0!==r&&r.has(e)},l=function(e,t,n){var r=s(t,n,!1);return void 0===r?void 0:r.get(e)},c=function(e,t,n,r){s(n,r,!0).set(e,t)},d=function(e,t){var n=s(e,t,!1),r=[];return n&&n.forEach(function(e,t){r.push(t)}),r},f=function(e){return void 0===e||"symbol"==typeof e?e:String(e)},p=function(e){o(o.S,"Reflect",e)};e.exports={store:a,map:s,has:u,get:l,set:c,keys:d,key:f,exp:p}},function(e,t,n){"use strict";if(n(25)){var r=n(91),o=n(14),i=n(15),a=n(2),s=n(178),u=n(260),l=n(71),c=n(90),d=n(79),f=n(42),p=n(95),h=n(80),m=n(31),g=n(97),v=n(62),y=n(37),b=n(380),_=n(142),w=n(18),C=n(32),x=n(245),E=n(92),T=n(49),k=n(93).f,S=n(262),O=n(98),M=n(20),A=n(60),N=n(168),I=n(254),P=n(263),D=n(112),R=n(174),j=n(96),L=n(238),B=n(360),F=n(26),U=n(48),H=F.f,z=U.f,q=o.RangeError,W=o.TypeError,V=o.Uint8Array,G="ArrayBuffer",Y="Shared"+G,K="BYTES_PER_ELEMENT",$="prototype",X=Array[$],Q=u.ArrayBuffer,J=u.DataView,Z=A(0),ee=A(2),te=A(3),ne=A(4),re=A(5),oe=A(6),ie=N(!0),ae=N(!1),se=P.values,ue=P.keys,le=P.entries,ce=X.lastIndexOf,de=X.reduce,fe=X.reduceRight,pe=X.join,he=X.sort,me=X.slice,ge=X.toString,ve=X.toLocaleString,ye=M("iterator"),be=M("toStringTag"),_e=O("typed_constructor"),we=O("def_constructor"),Ce=s.CONSTR,xe=s.TYPED,Ee=s.VIEW,Te="Wrong length!",ke=A(1,function(e,t){return Ie(I(e,e[we]),t)}),Se=i(function(){return 1===new V(new Uint16Array([1]).buffer)[0]}),Oe=!!V&&!!V[$].set&&i(function(){new V(1).set({})}),Me=function(e,t){if(void 0===e)throw W(Te);var n=+e,r=m(e);if(t&&!b(n,r))throw q(Te);return r},Ae=function(e,t){var n=h(e);if(n<0||n%t)throw q("Wrong offset!");return n},Ne=function(e){if(w(e)&&xe in e)return e;throw W(e+" is not a typed array!")},Ie=function(e,t){if(!(w(e)&&_e in e))throw W("It is not a typed array constructor!");return new e(t)},Pe=function(e,t){return De(I(e,e[we]),t)},De=function(e,t){for(var n=0,r=t.length,o=Ie(e,r);r>n;)o[n]=t[n++];return o},Re=function(e,t,n){H(e,t,{get:function(){return this._d[n]}})},je=function(e){var t,n,r,o,i,a,s=C(e),u=arguments.length,c=u>1?arguments[1]:void 0,d=void 0!==c,f=S(s);if(void 0!=f&&!x(f)){for(a=f.call(s),r=[],t=0;!(i=a.next()).done;t++)r.push(i.value);s=r}for(d&&u>2&&(c=l(c,arguments[2],2)),t=0,n=m(s.length),o=Ie(this,n);n>t;t++)o[t]=d?c(s[t],t):s[t];return o},Le=function(){for(var e=0,t=arguments.length,n=Ie(this,t);t>e;)n[e]=arguments[e++];return n},Be=!!V&&i(function(){ve.call(new V(1))}),Fe=function(){return ve.apply(Be?me.call(Ne(this)):Ne(this),arguments)},Ue={copyWithin:function(e,t){return B.call(Ne(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function(e){return ne(Ne(this),e,arguments.length>1?arguments[1]:void 0)},fill:function(e){return L.apply(Ne(this),arguments)},filter:function(e){return Pe(this,ee(Ne(this),e,arguments.length>1?arguments[1]:void 0))},find:function(e){return re(Ne(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function(e){return oe(Ne(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function(e){Z(Ne(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function(e){return ae(Ne(this),e,arguments.length>1?arguments[1]:void 0)},includes:function(e){return ie(Ne(this),e,arguments.length>1?arguments[1]:void 0)},join:function(e){return pe.apply(Ne(this),arguments)},lastIndexOf:function(e){return ce.apply(Ne(this),arguments)},map:function(e){return ke(Ne(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function(e){return de.apply(Ne(this),arguments)},reduceRight:function(e){return fe.apply(Ne(this),arguments)},reverse:function(){for(var e,t=this,n=Ne(t).length,r=Math.floor(n/2),o=0;o<r;)e=t[o],t[o++]=t[--n],t[n]=e;return t},some:function(e){return te(Ne(this),e,arguments.length>1?arguments[1]:void 0)},sort:function(e){return he.call(Ne(this),e)},subarray:function(e,t){var n=Ne(this),r=n.length,o=g(e,r);return new(I(n,n[we]))(n.buffer,n.byteOffset+o*n.BYTES_PER_ELEMENT,m((void 0===t?r:g(t,r))-o))}},He=function(e,t){return Pe(this,me.call(Ne(this),e,t))},ze=function(e){Ne(this);var t=Ae(arguments[1],1),n=this.length,r=C(e),o=m(r.length),i=0;if(o+t>n)throw q(Te);for(;i<o;)this[t+i]=r[i++]},qe={entries:function(){return le.call(Ne(this))},keys:function(){return ue.call(Ne(this))},values:function(){return se.call(Ne(this))}},We=function(e,t){return w(e)&&e[xe]&&"symbol"!=typeof t&&t in e&&String(+t)==String(t);
+},Ve=function(e,t){return We(e,t=v(t,!0))?d(2,e[t]):z(e,t)},Ge=function(e,t,n){return!(We(e,t=v(t,!0))&&w(n)&&y(n,"value"))||y(n,"get")||y(n,"set")||n.configurable||y(n,"writable")&&!n.writable||y(n,"enumerable")&&!n.enumerable?H(e,t,n):(e[t]=n.value,e)};Ce||(U.f=Ve,F.f=Ge),a(a.S+a.F*!Ce,"Object",{getOwnPropertyDescriptor:Ve,defineProperty:Ge}),i(function(){ge.call({})})&&(ge=ve=function(){return pe.call(this)});var Ye=p({},Ue);p(Ye,qe),f(Ye,ye,qe.values),p(Ye,{slice:He,set:ze,constructor:function(){},toString:ge,toLocaleString:Fe}),Re(Ye,"buffer","b"),Re(Ye,"byteOffset","o"),Re(Ye,"byteLength","l"),Re(Ye,"length","e"),H(Ye,be,{get:function(){return this[xe]}}),e.exports=function(e,t,n,u){u=!!u;var l=e+(u?"Clamped":"")+"Array",d="Uint8Array"!=l,p="get"+e,h="set"+e,g=o[l],v=g||{},y=g&&T(g),b=!g||!s.ABV,C={},x=g&&g[$],S=function(e,n){var r=e._d;return r.v[p](n*t+r.o,Se)},O=function(e,n,r){var o=e._d;u&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),o.v[h](n*t+o.o,r,Se)},M=function(e,t){H(e,t,{get:function(){return S(this,t)},set:function(e){return O(this,t,e)},enumerable:!0})};b?(g=n(function(e,n,r,o){c(e,g,l,"_d");var i,a,s,u,d=0,p=0;if(w(n)){if(!(n instanceof Q||(u=_(n))==G||u==Y))return xe in n?De(g,n):je.call(g,n);i=n,p=Ae(r,t);var h=n.byteLength;if(void 0===o){if(h%t)throw q(Te);if(a=h-p,a<0)throw q(Te)}else if(a=m(o)*t,a+p>h)throw q(Te);s=a/t}else s=Me(n,!0),a=s*t,i=new Q(a);for(f(e,"_d",{b:i,o:p,l:a,e:s,v:new J(i)});d<s;)M(e,d++)}),x=g[$]=E(Ye),f(x,"constructor",g)):R(function(e){new g(null),new g(e)},!0)||(g=n(function(e,n,r,o){c(e,g,l);var i;return w(n)?n instanceof Q||(i=_(n))==G||i==Y?void 0!==o?new v(n,Ae(r,t),o):void 0!==r?new v(n,Ae(r,t)):new v(n):xe in n?De(g,n):je.call(g,n):new v(Me(n,d))}),Z(y!==Function.prototype?k(v).concat(k(y)):k(v),function(e){e in g||f(g,e,v[e])}),g[$]=x,r||(x.constructor=g));var A=x[ye],N=!!A&&("values"==A.name||void 0==A.name),I=qe.values;f(g,_e,!0),f(x,xe,l),f(x,Ee,!0),f(x,we,g),(u?new g(1)[be]==l:be in x)||H(x,be,{get:function(){return l}}),C[l]=g,a(a.G+a.W+a.F*(g!=v),C),a(a.S,l,{BYTES_PER_ELEMENT:t,from:je,of:Le}),K in x||f(x,K,t),a(a.P,l,Ue),j(l),a(a.P+a.F*Oe,l,{set:ze}),a(a.P+a.F*!N,l,qe),a(a.P+a.F*(x.toString!=ge),l,{toString:ge}),a(a.P+a.F*i(function(){new g(1).slice()}),l,{slice:He}),a(a.P+a.F*(i(function(){return[1,2].toLocaleString()!=new g([1,2]).toLocaleString()})||!i(function(){x.toLocaleString.call([1,2])})),l,{toLocaleString:Fe}),D[l]=N?A:I,r||N||f(x,ye,I)}}else e.exports=function(){}},function(e,t,n){var r=n(410),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t,n){"use strict";function r(e,t,n,r){this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n;var o=this.constructor.Interface;for(var i in o)if(o.hasOwnProperty(i)){var s=o[i];s?this[i]=s(n):"target"===i?this.target=r:this[i]=n[i]}var u=null!=n.defaultPrevented?n.defaultPrevented:n.returnValue===!1;return u?this.isDefaultPrevented=a.thatReturnsTrue:this.isDefaultPrevented=a.thatReturnsFalse,this.isPropagationStopped=a.thatReturnsFalse,this}var o=n(21),i=n(103),a=n(40),s=(n(13),"function"==typeof Proxy,["dispatchConfig","_targetInst","nativeEvent","isDefaultPrevented","isPropagationStopped","_dispatchListeners","_dispatchInstances"]),u={type:null,target:null,currentTarget:a.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};o(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=a.thatReturnsTrue)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=a.thatReturnsTrue)},persist:function(){this.isPersistent=a.thatReturnsTrue},isPersistent:a.thatReturnsFalse,destructor:function(){var e=this.constructor.Interface;for(var t in e)this[t]=null;for(var n=0;n<s.length;n++)this[s[n]]=null}}),r.Interface=u,r.augmentClass=function(e,t){var n=this,r=function(){};r.prototype=n.prototype;var a=new r;o(a,e.prototype),e.prototype=a,e.prototype.constructor=e,e.Interface=o({},n.Interface,t),e.augmentClass=n.augmentClass,i.addPoolingTo(e,i.fourArgumentPooler)},i.addPoolingTo(r,i.fourArgumentPooler),e.exports=r},function(e,t){"use strict";var n={current:null};e.exports=n},function(e,t,n){"use strict";function r(){for(var e={},t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];return n.forEach(function(t){t&&(0,o.each)(t,function(t,n){return(0,o.isPlain)(t)?((0,o.isPlain)(e[n])||(e[n]={}),void(e[n]=r(e[n],t))):void(e[n]=t)})}),e}t.__esModule=!0,t.default=r;var o=n(34)},[1541,98,18,37,26,15],function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.createPath=t.parsePath=t.getQueryStringValueFromPath=t.stripQueryStringValueFromPath=t.addQueryStringValueToPath=void 0;var o=n(85),i=(r(o),t.addQueryStringValueToPath=function(e,t,n){var r=a(e),o=r.pathname,i=r.search,u=r.hash;return s({pathname:o,search:i+(i.indexOf("?")===-1?"?":"&")+t+"="+n,hash:u})},t.stripQueryStringValueFromPath=function(e,t){var n=a(e),r=n.pathname,o=n.search,i=n.hash;return s({pathname:r,search:o.replace(new RegExp("([?&])"+t+"=[a-zA-Z0-9]+(&?)"),function(e,t,n){return"?"===t?t:n}),hash:i})},t.getQueryStringValueFromPath=function(e,t){var n=a(e),r=n.search,o=r.match(new RegExp("[?&]"+t+"=([a-zA-Z0-9]+)"));return o&&o[1]},function(e){var t=e.match(/^(https?:)?\/\/[^\/]*/);return null==t?e:e.substring(t[0].length)}),a=t.parsePath=function(e){var t=i(e),n="",r="",o=t.indexOf("#");o!==-1&&(r=t.substring(o),t=t.substring(0,o));var a=t.indexOf("?");return a!==-1&&(n=t.substring(a),t=t.substring(0,a)),""===t&&(t="/"),{pathname:t,search:n,hash:r}},s=t.createPath=function(e){if(null==e||"string"==typeof e)return e;var t=e.basename,n=e.pathname,r=e.search,o=e.hash,i=(t||"")+n;return r&&"?"!==r&&(i+=r),o&&(i+=o),i}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return null==e||f.default.isValidElement(e)}function i(e){return o(e)||Array.isArray(e)&&e.every(o)}function a(e,t){return c({},e,t)}function s(e){var t=e.type,n=a(t.defaultProps,e.props);if(n.children){var r=u(n.children,n);r.length&&(n.childRoutes=r),delete n.children}return n}function u(e,t){var n=[];return f.default.Children.forEach(e,function(e){if(f.default.isValidElement(e))if(e.type.createRouteFromReactElement){var r=e.type.createRouteFromReactElement(e,t);r&&n.push(r)}else n.push(s(e))}),n}function l(e){return i(e)?e=u(e):e&&!Array.isArray(e)&&(e=[e]),e}t.__esModule=!0;var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.isReactChildren=i,t.createRouteFromReactElement=s,t.createRoutesFromReactChildren=u,t.createRoutes=l;var d=n(1),f=r(d)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e,t){var n=p.getElData(e);0===n.handlers[t].length&&(delete n.handlers[t],e.removeEventListener?e.removeEventListener(t,n.dispatcher,!1):e.detachEvent&&e.detachEvent("on"+t,n.dispatcher)),Object.getOwnPropertyNames(n.handlers).length<=0&&(delete n.handlers,delete n.dispatcher,delete n.disabled),0===Object.getOwnPropertyNames(n).length&&p.removeElData(e)}function a(e,t,n,r){n.forEach(function(n){e(t,n,r)})}function s(e){function t(){return!0}function n(){return!1}if(!e||!e.isPropagationStopped){var r=e||b.default.event;e={};for(var o in r)"layerX"!==o&&"layerY"!==o&&"keyLocation"!==o&&"webkitMovementX"!==o&&"webkitMovementY"!==o&&("returnValue"===o&&r.preventDefault||(e[o]=r[o]));if(e.target||(e.target=e.srcElement||w.default),e.relatedTarget||(e.relatedTarget=e.fromElement===e.target?e.toElement:e.fromElement),e.preventDefault=function(){r.preventDefault&&r.preventDefault(),e.returnValue=!1,r.returnValue=!1,e.defaultPrevented=!0},e.defaultPrevented=!1,e.stopPropagation=function(){r.stopPropagation&&r.stopPropagation(),e.cancelBubble=!0,r.cancelBubble=!0,e.isPropagationStopped=t},e.isPropagationStopped=n,e.stopImmediatePropagation=function(){r.stopImmediatePropagation&&r.stopImmediatePropagation(),e.isImmediatePropagationStopped=t,e.stopPropagation()},e.isImmediatePropagationStopped=n,null!==e.clientX&&void 0!==e.clientX){var i=w.default.documentElement,a=w.default.body;e.pageX=e.clientX+(i&&i.scrollLeft||a&&a.scrollLeft||0)-(i&&i.clientLeft||a&&a.clientLeft||0),e.pageY=e.clientY+(i&&i.scrollTop||a&&a.scrollTop||0)-(i&&i.clientTop||a&&a.clientTop||0)}e.which=e.charCode||e.keyCode,null!==e.button&&void 0!==e.button&&(e.button=1&e.button?0:4&e.button?1:2&e.button?2:0)}return e}function u(e,t,n){if(Array.isArray(t))return a(u,e,t,n);var r=p.getElData(e);r.handlers||(r.handlers={}),r.handlers[t]||(r.handlers[t]=[]),n.guid||(n.guid=m.newGUID()),r.handlers[t].push(n),r.dispatcher||(r.disabled=!1,r.dispatcher=function(t,n){if(!r.disabled){t=s(t);var o=r.handlers[t.type];if(o)for(var i=o.slice(0),a=0,u=i.length;a<u&&!t.isImmediatePropagationStopped();a++)try{i[a].call(e,t,n)}catch(e){v.default.error(e)}}}),1===r.handlers[t].length&&(e.addEventListener?e.addEventListener(t,r.dispatcher,!1):e.attachEvent&&e.attachEvent("on"+t,r.dispatcher))}function l(e,t,n){if(p.hasElData(e)){var r=p.getElData(e);if(r.handlers){if(Array.isArray(t))return a(l,e,t,n);var o=function(t){r.handlers[t]=[],i(e,t)};if(t){var s=r.handlers[t];if(s){if(!n)return void o(t);if(n.guid)for(var u=0;u<s.length;u++)s[u].guid===n.guid&&s.splice(u--,1);i(e,t)}}else for(var c in r.handlers)o(c)}}}function c(e,t,n){var r=p.hasElData(e)?p.getElData(e):{},o=e.parentNode||e.ownerDocument;if("string"==typeof t&&(t={type:t,target:e}),t=s(t),r.dispatcher&&r.dispatcher.call(e,t,n),o&&!t.isPropagationStopped()&&t.bubbles===!0)c.call(null,o,t,n);else if(!o&&!t.defaultPrevented){var i=p.getElData(t.target);t.target[t.type]&&(i.disabled=!0,"function"==typeof t.target[t.type]&&t.target[t.type](),i.disabled=!1)}return!t.defaultPrevented}function d(e,t,n){if(Array.isArray(t))return a(d,e,t,n);var r=function r(){l(e,t,r),n.apply(this,arguments)};r.guid=n.guid=n.guid||m.newGUID(),u(e,t,r)}t.__esModule=!0,t.fixEvent=s,t.on=u,t.off=l,t.trigger=c,t.one=d;var f=n(23),p=o(f),h=n(130),m=o(h),g=n(46),v=r(g),y=n(30),b=r(y),_=n(28),w=r(_)},function(e,t){"use strict";function n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;e=e<0?0:e;var n=Math.floor(e%60),r=Math.floor(e/60%60),o=Math.floor(e/3600),i=Math.floor(t/60%60),a=Math.floor(t/3600);return(isNaN(e)||e===1/0)&&(o=r=n="-"),o=o>0||a>0?o+":":"",r=((o||i>=10)&&r<10?"0"+r:r)+":",n=n<10?"0"+n:n,o+r+n}t.__esModule=!0,t.default=n},function(e,t,n){"use strict";var r=function(){};e.exports=r},[1516,59,141,68],[1507,226],37,[1582,327,213],function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t){e.exports=!1},[1547,12,373,241,253,240,243],[1557,375,241],[1562,375,241],function(e,t,n){var r=n(43);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},function(e,t,n){"use strict";var r=n(14),o=n(26),i=n(25),a=n(20)("species");e.exports=function(e){var t=r[e];i&&t&&!t[a]&&o.f(t,a,{configurable:!0,get:function(){return this}})}},[1581,80],function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){function r(e,t){return a(i(e,t,o),e+"")}var o=n(191),i=n(935),a=n(938);e.exports=r},function(e,t,n){function r(e,t){var n=i(e,t);return o(n)?n:void 0}var o=n(880),i=n(908);e.exports=r},function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(428);Object.defineProperty(t,"DragDropContext",{enumerable:!0,get:function(){return r(o).default}});var i=n(987);Object.defineProperty(t,"DragDropContextProvider",{enumerable:!0,get:function(){return r(i).default}});var a=n(988);Object.defineProperty(t,"DragLayer",{enumerable:!0,get:function(){return r(a).default}});var s=n(989);Object.defineProperty(t,"DragSource",{enumerable:!0,get:function(){return r(s).default}});var u=n(990);Object.defineProperty(t,"DropTarget",{enumerable:!0,get:function(){return r(u).default}})},[1634,16],function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return u.default.findKey(l.languageTypeId,function(t){return e===t})||null}function i(e){return u.default.findKey(l.scriptTypeId,function(t){return e===t})||null}function a(e){switch(e){case"en":return"english";case"hi":return"hindi";case"te":return"telugu";default:throw new Error("Locale not recognized")}}Object.defineProperty(t,"__esModule",{value:!0}),t.languages=void 0,t.getLanguage=o,t.getScriptTypeId=i,t.languageFromLocale=a;var s=n(3),u=r(s),l=t.languages={languageTypeId:{english:"639-2%3AENG%40ISO",hindi:"639-2%3AHIN%40ISO",telugu:"639-2%3ATEL%40ISO"},formatTypeId:"TextFormats%3APLAIN%40okapia.net",scriptTypeId:{english:"15924%3ALATN%40ISO",hindi:"15924%3ADEVA%40ISO",telugu:"15924%3ATELU%40ISO"}};t.default=l},15,function(e,t,n){"use strict";e.exports=n(1018)},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={WORD:"WORD",WORD_GROUP:"WORD_GROUP",FILL_BLANK_WORD:"FILL_BLANK_WORD",CLIX_DROPPABLE:"CLIX_DROPPABLE"}},function(e,t){e.exports={}},[1562,355,228],function(e,t,n){var r=n(20)("unscopables"),o=Array.prototype;void 0==o[r]&&n(42)(o,r,{}),e.exports=function(e){o[r][e]=!0}},[1515,71,369,245,12,31,262],108,[1568,26,37,20],function(e,t,n){var r=n(2),o=n(53),i=n(15),a=n(258),s="["+a+"]",u="​",l=RegExp("^"+s+s+"*"),c=RegExp(s+s+"*$"),d=function(e,t,n){var o={},s=i(function(){return!!a[e]()||u[e]()!=u}),l=o[e]=s?t(f):a[e];n&&(o[n]=l),r(r.P+r.F*s,"String",o)},f=d.trim=function(e,t){return e=String(o(e)),1&t&&(e=e.replace(l,"")),2&t&&(e=e.replace(c,"")),e};e.exports=d},function(e,t,n){"use strict";var r={};e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.locationsAreEqual=t.statesAreEqual=t.createLocation=t.createQuery=void 0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(17),s=r(a),u=n(85),l=(r(u),n(81)),c=n(181),d=(t.createQuery=function(e){return i(Object.create(null),e)},t.createLocation=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.POP,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r="string"==typeof e?(0,l.parsePath)(e):e,o=r.pathname||"/",i=r.search||"",a=r.hash||"",s=r.state;return{pathname:o,search:i,hash:a,state:s,action:t,key:n}},function(e){return"[object Date]"===Object.prototype.toString.call(e)}),f=t.statesAreEqual=function e(t,n){if(t===n)return!0;var r="undefined"==typeof t?"undefined":o(t),i="undefined"==typeof n?"undefined":o(n);if(r!==i)return!1;if("function"===r?(0,s.default)(!1):void 0,"object"===r){if(d(t)&&d(n)?(0,s.default)(!1):void 0,!Array.isArray(t)){var a=Object.keys(t),u=Object.keys(n);return a.length===u.length&&a.every(function(r){return e(t[r],n[r])})}return Array.isArray(n)&&t.length===n.length&&t.every(function(t,r){return e(t,n[r])})}return!1};t.locationsAreEqual=function(e,t){return e.key===t.key&&e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&f(e.state,t.state)}},function(e,t,n){function r(e){return null==e?void 0===e?u:s:l&&l in Object(e)?i(e):a(e)}var o=n(146),i=n(905),a=n(934),s="[object Null]",u="[object Undefined]",l=o?o.toStringTag:void 0;e.exports=r},function(e,t){function n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=n},function(e,t,n){"use strict";function r(e){if(g){var t=e.node,n=e.children;if(n.length)for(var r=0;r<n.length;r++)v(t,n[r],null);else null!=e.html?d(t,e.html):null!=e.text&&p(t,e.text)}}function o(e,t){e.parentNode.replaceChild(t.node,e),r(t)}function i(e,t){g?e.children.push(t):e.node.appendChild(t.node)}function a(e,t){g?e.html=t:d(e.node,t)}function s(e,t){g?e.text=t:p(e.node,t)}function u(){return this.node.nodeName}function l(e){return{node:e,children:[],html:null,text:null,toString:u}}var c=n(289),d=n(200),f=n(297),p=n(451),h=1,m=11,g="undefined"!=typeof document&&"number"==typeof document.documentMode||"undefined"!=typeof navigator&&"string"==typeof navigator.userAgent&&/\bEdge\/\d/.test(navigator.userAgent),v=f(function(e,t,n){t.node.nodeType===m||t.node.nodeType===h&&"object"===t.node.nodeName.toLowerCase()&&(null==t.node.namespaceURI||t.node.namespaceURI===c.html)?(r(t),e.insertBefore(t.node,n)):(e.insertBefore(t.node,n),r(t))});l.insertTreeBefore=v,l.replaceChildWithTree=o,l.queueChild=i,l.queueHTML=a,l.queueText=s,e.exports=l},function(e,t,n){"use strict";function r(e,t){return(e&t)===t}var o=n(16),i=(n(10),{MUST_USE_PROPERTY:1,HAS_BOOLEAN_VALUE:4,HAS_NUMERIC_VALUE:8,HAS_POSITIVE_NUMERIC_VALUE:24,HAS_OVERLOADED_BOOLEAN_VALUE:32,injectDOMPropertyConfig:function(e){var t=i,n=e.Properties||{},a=e.DOMAttributeNamespaces||{},u=e.DOMAttributeNames||{},l=e.DOMPropertyNames||{},c=e.DOMMutationMethods||{};e.isCustomAttribute&&s._isCustomAttributeFunctions.push(e.isCustomAttribute);for(var d in n){s.properties.hasOwnProperty(d)?o("48",d):void 0;var f=d.toLowerCase(),p=n[d],h={attributeName:f,attributeNamespace:null,propertyName:d,mutationMethod:null,mustUseProperty:r(p,t.MUST_USE_PROPERTY),hasBooleanValue:r(p,t.HAS_BOOLEAN_VALUE),hasNumericValue:r(p,t.HAS_NUMERIC_VALUE),hasPositiveNumericValue:r(p,t.HAS_POSITIVE_NUMERIC_VALUE),hasOverloadedBooleanValue:r(p,t.HAS_OVERLOADED_BOOLEAN_VALUE)};if(h.hasBooleanValue+h.hasNumericValue+h.hasOverloadedBooleanValue<=1?void 0:o("50",d),u.hasOwnProperty(d)){var m=u[d];h.attributeName=m}a.hasOwnProperty(d)&&(h.attributeNamespace=a[d]),l.hasOwnProperty(d)&&(h.propertyName=l[d]),c.hasOwnProperty(d)&&(h.mutationMethod=c[d]),s.properties[d]=h}}}),a=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",s={ID_ATTRIBUTE_NAME:"data-reactid",ROOT_ATTRIBUTE_NAME:"data-reactroot",ATTRIBUTE_NAME_START_CHAR:a,ATTRIBUTE_NAME_CHAR:a+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",properties:{},getPossibleStandardName:null,_isCustomAttributeFunctions:[],isCustomAttribute:function(e){for(var t=0;t<s._isCustomAttributeFunctions.length;t++){var n=s._isCustomAttributeFunctions[t];if(n(e))return!0}return!1},injection:i};e.exports=s},function(e,t,n){"use strict";function r(e){return"button"===e||"input"===e||"select"===e||"textarea"===e}function o(e,t,n){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":return!(!n.disabled||!r(t));default:return!1}}var i=n(16),a=n(290),s=n(195),u=n(294),l=n(445),c=n(446),d=(n(10),{}),f=null,p=function(e,t){e&&(s.executeDispatchesInOrder(e,t),e.isPersistent()||e.constructor.release(e))},h=function(e){return p(e,!0)},m=function(e){return p(e,!1)},g=function(e){return"."+e._rootNodeID},v={injection:{injectEventPluginOrder:a.injectEventPluginOrder,injectEventPluginsByName:a.injectEventPluginsByName},putListener:function(e,t,n){"function"!=typeof n?i("94",t,typeof n):void 0;var r=g(e),o=d[t]||(d[t]={});o[r]=n;var s=a.registrationNameModules[t];s&&s.didPutListener&&s.didPutListener(e,t,n)},getListener:function(e,t){var n=d[t];if(o(t,e._currentElement.type,e._currentElement.props))return null;var r=g(e);return n&&n[r]},deleteListener:function(e,t){var n=a.registrationNameModules[t];n&&n.willDeleteListener&&n.willDeleteListener(e,t);var r=d[t];if(r){var o=g(e);delete r[o]}},deleteAllListeners:function(e){var t=g(e);for(var n in d)if(d.hasOwnProperty(n)&&d[n][t]){var r=a.registrationNameModules[n];r&&r.willDeleteListener&&r.willDeleteListener(e,n),delete d[n][t]}},extractEvents:function(e,t,n,r){for(var o,i=a.plugins,s=0;s<i.length;s++){var u=i[s];if(u){var c=u.extractEvents(e,t,n,r);c&&(o=l(o,c))}}return o},enqueueEvents:function(e){e&&(f=l(f,e))},processEventQueue:function(e){var t=f;f=null,e?c(t,h):c(t,m),f?i("95"):void 0,u.rethrowCaughtError()},__purge:function(){d={}},__getListenerBank:function(){return d}};e.exports=v},function(e,t,n){"use strict";function r(e,t,n){var r=t.dispatchConfig.phasedRegistrationNames[n];return v(e,r)}function o(e,t,n){var o=r(e,n,t);o&&(n._dispatchListeners=m(n._dispatchListeners,o),n._dispatchInstances=m(n._dispatchInstances,e))}function i(e){e&&e.dispatchConfig.phasedRegistrationNames&&h.traverseTwoPhase(e._targetInst,o,e)}function a(e){if(e&&e.dispatchConfig.phasedRegistrationNames){var t=e._targetInst,n=t?h.getParentInstance(t):null;h.traverseTwoPhase(n,o,e)}}function s(e,t,n){if(n&&n.dispatchConfig.registrationName){var r=n.dispatchConfig.registrationName,o=v(e,r);o&&(n._dispatchListeners=m(n._dispatchListeners,o),n._dispatchInstances=m(n._dispatchInstances,e))}}function u(e){e&&e.dispatchConfig.registrationName&&s(e._targetInst,null,e)}function l(e){g(e,i)}function c(e){g(e,a)}function d(e,t,n,r){h.traverseEnterLeave(n,r,s,e,t)}function f(e){g(e,u)}var p=n(121),h=n(195),m=n(445),g=n(446),v=(n(13),p.getListener),y={accumulateTwoPhaseDispatches:l,accumulateTwoPhaseDispatchesSkipTarget:c,accumulateDirectDispatches:f,accumulateEnterLeaveDispatches:d};e.exports=y},function(e,t,n){"use strict";function r(){o.attachRefs(this,this._currentElement)}var o=n(1041),i=(n(55),n(13),{mountComponent:function(e,t,n,o,i,a){var s=e.mountComponent(t,n,o,i,a);return e._currentElement&&null!=e._currentElement.ref&&t.getReactMountReady().enqueue(r,e),s},getHostNode:function(e){return e.getHostNode()},unmountComponent:function(e,t){o.detachRefs(e,e._currentElement),e.unmountComponent(t)},receiveComponent:function(e,t,n,i){var a=e._currentElement;if(t!==a||i!==e._context){var s=o.shouldUpdateRefs(a,t);s&&o.detachRefs(e,a),e.receiveComponent(t,n,i),s&&e._currentElement&&null!=e._currentElement.ref&&n.getReactMountReady().enqueue(r,e)}},performUpdateIfNecessary:function(e,t,n){e._updateBatchNumber===n&&e.performUpdateIfNecessary(t)}});e.exports=i},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(75),i=n(300),a={view:function(e){if(e.view)return e.view;var t=i(e);if(t.window===t)return t;var n=t.ownerDocument;return n?n.defaultView||n.parentWindow:window},detail:function(e){return e.detail||0}};o.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function i(e){for(var t="",n=[],r=[],i=void 0,a=0,s=/:([a-zA-Z_$][a-zA-Z0-9_$]*)|\*\*|\*|\(|\)|\\\(|\\\)/g;i=s.exec(e);)i.index!==a&&(r.push(e.slice(a,i.index)),t+=o(e.slice(a,i.index))),i[1]?(t+="([^/]+)",n.push(i[1])):"**"===i[0]?(t+="(.*)",n.push("splat")):"*"===i[0]?(t+="(.*?)",n.push("splat")):"("===i[0]?t+="(?:":")"===i[0]?t+=")?":"\\("===i[0]?t+="\\(":"\\)"===i[0]&&(t+="\\)"),r.push(i[0]),a=s.lastIndex;return a!==e.length&&(r.push(e.slice(a,e.length)),t+=o(e.slice(a,e.length))),{pattern:e,regexpSource:t,paramNames:n,tokens:r}}function a(e){return p[e]||(p[e]=i(e)),p[e]}function s(e,t){"/"!==e.charAt(0)&&(e="/"+e);var n=a(e),r=n.regexpSource,o=n.paramNames,i=n.tokens;"/"!==e.charAt(e.length-1)&&(r+="/?"),"*"===i[i.length-1]&&(r+="$");var s=t.match(new RegExp("^"+r,"i"));if(null==s)return null;var u=s[0],l=t.substr(u.length);if(l){if("/"!==u.charAt(u.length-1))return null;l="/"+l}return{remainingPathname:l,paramNames:o,paramValues:s.slice(1).map(function(e){return e&&decodeURIComponent(e)})}}function u(e){return a(e).paramNames}function l(e,t){var n=s(e,t);if(!n)return null;var r=n.paramNames,o=n.paramValues,i={};return r.forEach(function(e,t){i[e]=o[t]}),i}function c(e,t){t=t||{};for(var n=a(e),r=n.tokens,o=0,i="",s=0,u=[],l=void 0,c=void 0,d=void 0,p=0,h=r.length;p<h;++p)if(l=r[p],"*"===l||"**"===l)d=Array.isArray(t.splat)?t.splat[s++]:t.splat,null!=d||o>0?void 0:(0,f.default)(!1),null!=d&&(i+=encodeURI(d));else if("("===l)u[o]="",o+=1;else if(")"===l){var m=u.pop();o-=1,o?u[o-1]+=m:i+=m}else if("\\("===l)i+="(";else if("\\)"===l)i+=")";else if(":"===l.charAt(0))if(c=l.substring(1),d=t[c],null!=d||o>0?void 0:(0,f.default)(!1),null==d){if(o){u[o-1]="";for(var g=r.indexOf(l),v=r.slice(g,r.length),y=-1,b=0;b<v.length;b++)if(")"==v[b]){y=b;break}y>0?void 0:(0,f.default)(!1),p=g+y-1}}else o?u[o-1]+=encodeURIComponent(d):i+=encodeURIComponent(d);else o?u[o-1]+=l:i+=l;return o<=0?void 0:(0,f.default)(!1),i.replace(/\/+/g,"/")}t.__esModule=!0,t.compilePattern=a,t.matchPattern=s,t.getParamNames=u,t.getParams=l,t.formatPattern=c;var d=n(17),f=r(d),p=Object.create(null)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(t.indexOf("deprecated")!==-1){if(u[t])return;u[t]=!0}t="[react-router] "+t;for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];s.default.apply(void 0,[e,t].concat(r))}function i(){u={}}t.__esModule=!0,t.default=o,t._resetWarned=i;var a=n(85),s=r(a),u={}},function(e,t,n){"use strict";var r=n(21),o=n(1110),i=n(310),a=n(1115),s=n(1111),u=n(1112),l=n(128),c=n(1113),d=n(1116),f=n(1118),p=(n(13),l.createElement),h=l.createFactory,m=l.cloneElement,g=r,v={Children:{map:o.map,forEach:o.forEach,count:o.count,toArray:o.toArray,only:f},Component:i,PureComponent:a,createElement:p,cloneElement:m,isValidElement:l.isValidElement,PropTypes:c,createClass:s.createClass,createFactory:h,createMixin:function(e){return e},DOM:u,version:d,__spread:g};e.exports=v},function(e,t,n){"use strict";function r(e){return void 0!==e.ref}function o(e){return void 0!==e.key}var i=n(21),a=n(76),s=(n(13),n(472),Object.prototype.hasOwnProperty),u=n(470),l={key:!0,ref:!0,__self:!0,__source:!0},c=function(e,t,n,r,o,i,a){var s={$$typeof:u,type:e,key:t,ref:n,props:a,_owner:i};return s};c.createElement=function(e,t,n){var i,u={},d=null,f=null,p=null,h=null;if(null!=t){r(t)&&(f=t.ref),o(t)&&(d=""+t.key),p=void 0===t.__self?null:t.__self,h=void 0===t.__source?null:t.__source;for(i in t)s.call(t,i)&&!l.hasOwnProperty(i)&&(u[i]=t[i])}var m=arguments.length-2;if(1===m)u.children=n;else if(m>1){for(var g=Array(m),v=0;v<m;v++)g[v]=arguments[v+2];u.children=g}if(e&&e.defaultProps){var y=e.defaultProps;for(i in y)void 0===u[i]&&(u[i]=y[i])}return c(e,d,f,p,h,a.current,u)},c.createFactory=function(e){var t=c.createElement.bind(null,e);return t.type=e,t},c.cloneAndReplaceKey=function(e,t){var n=c(e.type,t,e.ref,e._self,e._source,e._owner,e.props);return n},c.cloneElement=function(e,t,n){var u,d=i({},e.props),f=e.key,p=e.ref,h=e._self,m=e._source,g=e._owner;if(null!=t){r(t)&&(p=t.ref,g=a.current),o(t)&&(f=""+t.key);var v;e.type&&e.type.defaultProps&&(v=e.type.defaultProps);for(u in t)s.call(t,u)&&!l.hasOwnProperty(u)&&(void 0===t[u]&&void 0!==v?d[u]=v[u]:d[u]=t[u])}var y=arguments.length-2;if(1===y)d.children=n;else if(y>1){for(var b=Array(y),_=0;_<y;_++)b[_]=arguments[_+2];d.children=b}return c(e.type,f,p,h,m,g,d)},c.isValidElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===u},e.exports=c},16,function(e,t){"use strict";function n(){return r++}t.__esModule=!0,t.newGUID=n;var r=1},function(e,t){"use strict";function n(e){return"string"!=typeof e?e:e.charAt(0).toUpperCase()+e.slice(1)}t.__esModule=!0,t.default=n},[1586,213],[1623,617,328],function(e,t,n){var r,o;/*!
+	 * jQuery JavaScript Library v2.2.4
+	 * http://jquery.com/
+	 *
+	 * Includes Sizzle.js
+	 * http://sizzlejs.com/
+	 *
+	 * Copyright jQuery Foundation and other contributors
+	 * Released under the MIT license
+	 * http://jquery.org/license
+	 *
+	 * Date: 2016-05-20T17:23Z
+	 */
+!function(t,n){"object"==typeof e&&"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,function(n,i){function a(e){var t=!!e&&"length"in e&&e.length,n=le.type(e);return"function"!==n&&!le.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function s(e,t,n){if(le.isFunction(t))return le.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return le.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(be.test(t))return le.filter(t,e,n);t=le.filter(t,e)}return le.grep(e,function(e){return re.call(t,e)>-1!==n})}function u(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function l(e){var t={};return le.each(e.match(Te)||[],function(e,n){t[n]=!0}),t}function c(){Z.removeEventListener("DOMContentLoaded",c),n.removeEventListener("load",c),le.ready()}function d(){this.expando=le.expando+d.uid++}function f(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(Ie,"-$&").toLowerCase(),n=e.getAttribute(r),"string"==typeof n){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:Ne.test(n)?le.parseJSON(n):n)}catch(e){}Ae.set(e,t,n)}else n=void 0;return n}function p(e,t,n,r){var o,i=1,a=20,s=r?function(){return r.cur()}:function(){return le.css(e,t,"")},u=s(),l=n&&n[3]||(le.cssNumber[t]?"":"px"),c=(le.cssNumber[t]||"px"!==l&&+u)&&De.exec(le.css(e,t));if(c&&c[3]!==l){l=l||c[3],n=n||[],c=+u||1;do i=i||".5",c/=i,le.style(e,t,c+l);while(i!==(i=s()/u)&&1!==i&&--a)}return n&&(c=+c||+u||0,o=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=o)),o}function h(e,t){var n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&le.nodeName(e,t)?le.merge([e],n):n}function m(e,t){for(var n=0,r=e.length;n<r;n++)Me.set(e[n],"globalEval",!t||Me.get(t[n],"globalEval"))}function g(e,t,n,r,o){for(var i,a,s,u,l,c,d=t.createDocumentFragment(),f=[],p=0,g=e.length;p<g;p++)if(i=e[p],i||0===i)if("object"===le.type(i))le.merge(f,i.nodeType?[i]:i);else if(He.test(i)){for(a=a||d.appendChild(t.createElement("div")),s=(Be.exec(i)||["",""])[1].toLowerCase(),u=Ue[s]||Ue._default,a.innerHTML=u[1]+le.htmlPrefilter(i)+u[2],c=u[0];c--;)a=a.lastChild;le.merge(f,a.childNodes),a=d.firstChild,a.textContent=""}else f.push(t.createTextNode(i));for(d.textContent="",p=0;i=f[p++];)if(r&&le.inArray(i,r)>-1)o&&o.push(i);else if(l=le.contains(i.ownerDocument,i),a=h(d.appendChild(i),"script"),l&&m(a),n)for(c=0;i=a[c++];)Fe.test(i.type||"")&&n.push(i);return d}function v(){return!0}function y(){return!1}function b(){try{return Z.activeElement}catch(e){}}function _(e,t,n,r,o,i){var a,s;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(s in t)_(e,s,n,r,t[s],i);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),o===!1)o=y;else if(!o)return e;return 1===i&&(a=o,o=function(e){return le().off(e),a.apply(this,arguments)},o.guid=a.guid||(a.guid=le.guid++)),e.each(function(){le.event.add(this,t,o,r,n)})}function w(e,t){return le.nodeName(e,"table")&&le.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function C(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function x(e){var t=Ke.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function E(e,t){var n,r,o,i,a,s,u,l;if(1===t.nodeType){if(Me.hasData(e)&&(i=Me.access(e),a=Me.set(t,i),l=i.events)){delete a.handle,a.events={};for(o in l)for(n=0,r=l[o].length;n<r;n++)le.event.add(t,o,l[o][n])}Ae.hasData(e)&&(s=Ae.access(e),u=le.extend({},s),Ae.set(t,u))}}function T(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Le.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function k(e,t,n,r){t=te.apply([],t);var o,i,a,s,u,l,c=0,d=e.length,f=d-1,p=t[0],m=le.isFunction(p);if(m||d>1&&"string"==typeof p&&!se.checkClone&&Ye.test(p))return e.each(function(o){var i=e.eq(o);m&&(t[0]=p.call(this,o,i.html())),k(i,t,n,r)});if(d&&(o=g(t,e[0].ownerDocument,!1,e,r),i=o.firstChild,1===o.childNodes.length&&(o=i),i||r)){for(a=le.map(h(o,"script"),C),s=a.length;c<d;c++)u=o,c!==f&&(u=le.clone(u,!0,!0),s&&le.merge(a,h(u,"script"))),n.call(e[c],u,c);if(s)for(l=a[a.length-1].ownerDocument,le.map(a,x),c=0;c<s;c++)u=a[c],Fe.test(u.type||"")&&!Me.access(u,"globalEval")&&le.contains(l,u)&&(u.src?le._evalUrl&&le._evalUrl(u.src):le.globalEval(u.textContent.replace($e,"")))}return e}function S(e,t,n){for(var r,o=t?le.filter(t,e):e,i=0;null!=(r=o[i]);i++)n||1!==r.nodeType||le.cleanData(h(r)),r.parentNode&&(n&&le.contains(r.ownerDocument,r)&&m(h(r,"script")),r.parentNode.removeChild(r));return e}function O(e,t){var n=le(t.createElement(e)).appendTo(t.body),r=le.css(n[0],"display");return n.detach(),r}function M(e){var t=Z,n=Qe[e];return n||(n=O(e,t),"none"!==n&&n||(Xe=(Xe||le("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement),t=Xe[0].contentDocument,t.write(),t.close(),n=O(e,t),Xe.detach()),Qe[e]=n),n}function A(e,t,n){var r,o,i,a,s=e.style;return n=n||et(e),a=n?n.getPropertyValue(t)||n[t]:void 0,""!==a&&void 0!==a||le.contains(e.ownerDocument,e)||(a=le.style(e,t)),n&&!se.pixelMarginRight()&&Ze.test(a)&&Je.test(t)&&(r=s.width,o=s.minWidth,i=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=o,s.maxWidth=i),void 0!==a?a+"":a}function N(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function I(e){if(e in st)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=at.length;n--;)if(e=at[n]+t,e in st)return e}function P(e,t,n){var r=De.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function D(e,t,n,r,o){for(var i=n===(r?"border":"content")?4:"width"===t?1:0,a=0;i<4;i+=2)"margin"===n&&(a+=le.css(e,n+Re[i],!0,o)),r?("content"===n&&(a-=le.css(e,"padding"+Re[i],!0,o)),"margin"!==n&&(a-=le.css(e,"border"+Re[i]+"Width",!0,o))):(a+=le.css(e,"padding"+Re[i],!0,o),"padding"!==n&&(a+=le.css(e,"border"+Re[i]+"Width",!0,o)));return a}function R(e,t,n){var r=!0,o="width"===t?e.offsetWidth:e.offsetHeight,i=et(e),a="border-box"===le.css(e,"boxSizing",!1,i);if(o<=0||null==o){if(o=A(e,t,i),(o<0||null==o)&&(o=e.style[t]),Ze.test(o))return o;r=a&&(se.boxSizingReliable()||o===e.style[t]),o=parseFloat(o)||0}return o+D(e,t,n||(a?"border":"content"),r,i)+"px"}function j(e,t){for(var n,r,o,i=[],a=0,s=e.length;a<s;a++)r=e[a],r.style&&(i[a]=Me.get(r,"olddisplay"),n=r.style.display,t?(i[a]||"none"!==n||(r.style.display=""),""===r.style.display&&je(r)&&(i[a]=Me.access(r,"olddisplay",M(r.nodeName)))):(o=je(r),"none"===n&&o||Me.set(r,"olddisplay",o?n:le.css(r,"display"))));for(a=0;a<s;a++)r=e[a],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?i[a]||"":"none"));return e}function L(e,t,n,r,o){return new L.prototype.init(e,t,n,r,o)}function B(){return n.setTimeout(function(){ut=void 0}),ut=le.now()}function F(e,t){var n,r=0,o={height:e};for(t=t?1:0;r<4;r+=2-t)n=Re[r],o["margin"+n]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function U(e,t,n){for(var r,o=(q.tweeners[t]||[]).concat(q.tweeners["*"]),i=0,a=o.length;i<a;i++)if(r=o[i].call(n,t,e))return r}function H(e,t,n){var r,o,i,a,s,u,l,c,d=this,f={},p=e.style,h=e.nodeType&&je(e),m=Me.get(e,"fxshow");n.queue||(s=le._queueHooks(e,"fx"),null==s.unqueued&&(s.unqueued=0,u=s.empty.fire,s.empty.fire=function(){s.unqueued||u()}),s.unqueued++,d.always(function(){d.always(function(){s.unqueued--,le.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],l=le.css(e,"display"),c="none"===l?Me.get(e,"olddisplay")||M(e.nodeName):l,"inline"===c&&"none"===le.css(e,"float")&&(p.display="inline-block")),n.overflow&&(p.overflow="hidden",d.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}));for(r in t)if(o=t[r],ct.exec(o)){if(delete t[r],i=i||"toggle"===o,o===(h?"hide":"show")){if("show"!==o||!m||void 0===m[r])continue;h=!0}f[r]=m&&m[r]||le.style(e,r)}else l=void 0;if(le.isEmptyObject(f))"inline"===("none"===l?M(e.nodeName):l)&&(p.display=l);else{m?"hidden"in m&&(h=m.hidden):m=Me.access(e,"fxshow",{}),i&&(m.hidden=!h),h?le(e).show():d.done(function(){le(e).hide()}),d.done(function(){var t;Me.remove(e,"fxshow");for(t in f)le.style(e,t,f[t])});for(r in f)a=U(h?m[r]:0,r,d),r in m||(m[r]=a.start,h&&(a.end=a.start,a.start="width"===r||"height"===r?1:0))}}function z(e,t){var n,r,o,i,a;for(n in e)if(r=le.camelCase(n),o=t[r],i=e[n],le.isArray(i)&&(o=i[1],i=e[n]=i[0]),n!==r&&(e[r]=i,delete e[n]),a=le.cssHooks[r],a&&"expand"in a){i=a.expand(i),delete e[r];for(n in i)n in e||(e[n]=i[n],t[n]=o)}else t[r]=o}function q(e,t,n){var r,o,i=0,a=q.prefilters.length,s=le.Deferred().always(function(){delete u.elem}),u=function(){if(o)return!1;for(var t=ut||B(),n=Math.max(0,l.startTime+l.duration-t),r=n/l.duration||0,i=1-r,a=0,u=l.tweens.length;a<u;a++)l.tweens[a].run(i);return s.notifyWith(e,[l,i,n]),i<1&&u?n:(s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:le.extend({},t),opts:le.extend(!0,{specialEasing:{},easing:le.easing._default},n),originalProperties:t,originalOptions:n,startTime:ut||B(),duration:n.duration,tweens:[],createTween:function(t,n){var r=le.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(o)return this;for(o=!0;n<r;n++)l.tweens[n].run(1);return t?(s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l,t])):s.rejectWith(e,[l,t]),this}}),c=l.props;for(z(c,l.opts.specialEasing);i<a;i++)if(r=q.prefilters[i].call(l,e,c,l.opts))return le.isFunction(r.stop)&&(le._queueHooks(l.elem,l.opts.queue).stop=le.proxy(r.stop,r)),r;return le.map(c,U,l),le.isFunction(l.opts.start)&&l.opts.start.call(e,l),le.fx.timer(le.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}function W(e){return e.getAttribute&&e.getAttribute("class")||""}function V(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,o=0,i=t.toLowerCase().match(Te)||[];if(le.isFunction(n))for(;r=i[o++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function G(e,t,n,r){function o(s){var u;return i[s]=!0,le.each(e[s]||[],function(e,s){var l=s(t,n,r);return"string"!=typeof l||a||i[l]?a?!(u=l):void 0:(t.dataTypes.unshift(l),o(l),!1)}),u}var i={},a=e===At;return o(t.dataTypes[0])||!i["*"]&&o("*")}function Y(e,t){var n,r,o=le.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:r||(r={}))[n]=t[n]);return r&&le.extend(!0,e,r),e}function K(e,t,n){for(var r,o,i,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(o in s)if(s[o]&&s[o].test(r)){u.unshift(o);break}if(u[0]in n)i=u[0];else{for(o in n){if(!u[0]||e.converters[o+" "+u[0]]){i=o;break}a||(a=o)}i=i||a}if(i)return i!==u[0]&&u.unshift(i),n[i]}function $(e,t,n,r){var o,i,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];for(i=c.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=i,i=c.shift())if("*"===i)i=u;else if("*"!==u&&u!==i){if(a=l[u+" "+i]||l["* "+i],!a)for(o in l)if(s=o.split(" "),s[1]===i&&(a=l[u+" "+s[0]]||l["* "+s[0]])){a===!0?a=l[o]:l[o]!==!0&&(i=s[0],c.unshift(s[1]));break}if(a!==!0)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+i}}}return{state:"success",data:t}}function X(e,t,n,r){var o;if(le.isArray(t))le.each(t,function(t,o){n||Dt.test(e)?r(e,o):X(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,r)});else if(n||"object"!==le.type(t))r(e,t);else for(o in t)X(e+"["+o+"]",t[o],n,r)}function Q(e){return le.isWindow(e)?e:9===e.nodeType&&e.defaultView}var J=[],Z=n.document,ee=J.slice,te=J.concat,ne=J.push,re=J.indexOf,oe={},ie=oe.toString,ae=oe.hasOwnProperty,se={},ue="2.2.4",le=function(e,t){return new le.fn.init(e,t)},ce=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,de=/^-ms-/,fe=/-([\da-z])/gi,pe=function(e,t){return t.toUpperCase()};le.fn=le.prototype={jquery:ue,constructor:le,selector:"",length:0,toArray:function(){return ee.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:ee.call(this)},pushStack:function(e){var t=le.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e){return le.each(this,e)},map:function(e){return this.pushStack(le.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(ee.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:ne,sort:J.sort,splice:J.splice},le.extend=le.fn.extend=function(){var e,t,n,r,o,i,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||le.isFunction(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)n=a[t],r=e[t],a!==r&&(l&&r&&(le.isPlainObject(r)||(o=le.isArray(r)))?(o?(o=!1,i=n&&le.isArray(n)?n:[]):i=n&&le.isPlainObject(n)?n:{},a[t]=le.extend(l,i,r)):void 0!==r&&(a[t]=r));return a},le.extend({expando:"jQuery"+(ue+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===le.type(e)},isArray:Array.isArray,isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){var t=e&&e.toString();return!le.isArray(e)&&t-parseFloat(t)+1>=0},isPlainObject:function(e){var t;if("object"!==le.type(e)||e.nodeType||le.isWindow(e))return!1;if(e.constructor&&!ae.call(e,"constructor")&&!ae.call(e.constructor.prototype||{},"isPrototypeOf"))return!1;for(t in e);return void 0===t||ae.call(e,t)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?oe[ie.call(e)]||"object":typeof e},globalEval:function(e){var t,n=eval;e=le.trim(e),e&&(1===e.indexOf("use strict")?(t=Z.createElement("script"),t.text=e,Z.head.appendChild(t).parentNode.removeChild(t)):n(e))},camelCase:function(e){return e.replace(de,"ms-").replace(fe,pe)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var n,r=0;if(a(e))for(n=e.length;r<n&&t.call(e[r],r,e[r])!==!1;r++);else for(r in e)if(t.call(e[r],r,e[r])===!1)break;return e},trim:function(e){return null==e?"":(e+"").replace(ce,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(a(Object(e))?le.merge(n,"string"==typeof e?[e]:e):ne.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:re.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,o=e.length;r<n;r++)e[o++]=t[r];return e.length=o,e},grep:function(e,t,n){for(var r,o=[],i=0,a=e.length,s=!n;i<a;i++)r=!t(e[i],i),r!==s&&o.push(e[i]);return o},map:function(e,t,n){var r,o,i=0,s=[];if(a(e))for(r=e.length;i<r;i++)o=t(e[i],i,n),null!=o&&s.push(o);else for(i in e)o=t(e[i],i,n),null!=o&&s.push(o);return te.apply([],s)},guid:1,proxy:function(e,t){var n,r,o;if("string"==typeof t&&(n=e[t],t=e,e=n),le.isFunction(e))return r=ee.call(arguments,2),o=function(){return e.apply(t||this,r.concat(ee.call(arguments)))},o.guid=e.guid=e.guid||le.guid++,o},now:Date.now,support:se}),"function"==typeof Symbol&&(le.fn[Symbol.iterator]=J[Symbol.iterator]),le.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){oe["[object "+t+"]"]=t.toLowerCase()});var he=/*!
+	 * Sizzle CSS Selector Engine v2.2.1
+	 * http://sizzlejs.com/
+	 *
+	 * Copyright jQuery Foundation and other contributors
+	 * Released under the MIT license
+	 * http://jquery.org/license
+	 *
+	 * Date: 2015-10-17
+	 */
+function(e){function t(e,t,n,r){var o,i,a,s,u,l,d,p,h=t&&t.ownerDocument,m=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==m&&9!==m&&11!==m)return n;if(!r&&((t?t.ownerDocument||t:U)!==I&&N(t),t=t||I,D)){if(11!==m&&(l=ve.exec(e)))if(o=l[1]){if(9===m){if(!(a=t.getElementById(o)))return n;if(a.id===o)return n.push(a),n}else if(h&&(a=h.getElementById(o))&&B(t,a)&&a.id===o)return n.push(a),n}else{if(l[2])return J.apply(n,t.getElementsByTagName(e)),n;if((o=l[3])&&w.getElementsByClassName&&t.getElementsByClassName)return J.apply(n,t.getElementsByClassName(o)),n}if(w.qsa&&!V[e+" "]&&(!R||!R.test(e))){if(1!==m)h=t,p=e;else if("object"!==t.nodeName.toLowerCase()){for((s=t.getAttribute("id"))?s=s.replace(be,"\\$&"):t.setAttribute("id",s=F),d=T(e),i=d.length,u=fe.test(s)?"#"+s:"[id='"+s+"']";i--;)d[i]=u+" "+f(d[i]);p=d.join(","),h=ye.test(e)&&c(t.parentNode)||t}if(p)try{return J.apply(n,h.querySelectorAll(p)),n}catch(e){}finally{s===F&&t.removeAttribute("id")}}}return S(e.replace(se,"$1"),t,n,r)}function n(){function e(n,r){return t.push(n+" ")>C.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[F]=!0,e}function o(e){var t=I.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function i(e,t){for(var n=e.split("|"),r=n.length;r--;)C.attrHandle[n[r]]=t}function a(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||Y)-(~e.sourceIndex||Y);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function u(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function l(e){return r(function(t){return t=+t,r(function(n,r){for(var o,i=e([],n.length,t),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))})})}function c(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function d(){}function f(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function p(e,t,n){var r=t.dir,o=n&&"parentNode"===r,i=z++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||o)return e(t,n,i)}:function(t,n,a){var s,u,l,c=[H,i];if(a){for(;t=t[r];)if((1===t.nodeType||o)&&e(t,n,a))return!0}else for(;t=t[r];)if(1===t.nodeType||o){if(l=t[F]||(t[F]={}),u=l[t.uniqueID]||(l[t.uniqueID]={}),(s=u[r])&&s[0]===H&&s[1]===i)return c[2]=s[2];if(u[r]=c,c[2]=e(t,n,a))return!0}}}function h(e){return e.length>1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function m(e,n,r){for(var o=0,i=n.length;o<i;o++)t(e,n[o],r);return r}function g(e,t,n,r,o){for(var i,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(i=e[s])&&(n&&!n(i,r,o)||(a.push(i),l&&t.push(s)));return a}function v(e,t,n,o,i,a){return o&&!o[F]&&(o=v(o)),i&&!i[F]&&(i=v(i,a)),r(function(r,a,s,u){var l,c,d,f=[],p=[],h=a.length,v=r||m(t||"*",s.nodeType?[s]:s,[]),y=!e||!r&&t?v:g(v,f,e,s,u),b=n?i||(r?e:h||o)?[]:a:y;if(n&&n(y,b,s,u),o)for(l=g(b,p),o(l,[],s,u),c=l.length;c--;)(d=l[c])&&(b[p[c]]=!(y[p[c]]=d));if(r){if(i||e){if(i){for(l=[],c=b.length;c--;)(d=b[c])&&l.push(y[c]=d);i(null,b=[],l,u)}for(c=b.length;c--;)(d=b[c])&&(l=i?ee(r,d):f[c])>-1&&(r[l]=!(a[l]=d))}}else b=g(b===a?b.splice(h,b.length):b),i?i(null,a,b,u):J.apply(a,b)})}function y(e){for(var t,n,r,o=e.length,i=C.relative[e[0].type],a=i||C.relative[" "],s=i?1:0,u=p(function(e){return e===t},a,!0),l=p(function(e){return ee(t,e)>-1},a,!0),c=[function(e,n,r){var o=!i&&(r||n!==O)||((t=n).nodeType?u(e,n,r):l(e,n,r));return t=null,o}];s<o;s++)if(n=C.relative[e[s].type])c=[p(h(c),n)];else{if(n=C.filter[e[s].type].apply(null,e[s].matches),n[F]){for(r=++s;r<o&&!C.relative[e[r].type];r++);return v(s>1&&h(c),s>1&&f(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(se,"$1"),n,s<r&&y(e.slice(s,r)),r<o&&y(e=e.slice(r)),r<o&&f(e))}c.push(n)}return h(c)}function b(e,n){var o=n.length>0,i=e.length>0,a=function(r,a,s,u,l){var c,d,f,p=0,h="0",m=r&&[],v=[],y=O,b=r||i&&C.find.TAG("*",l),_=H+=null==y?1:Math.random()||.1,w=b.length;for(l&&(O=a===I||a||l);h!==w&&null!=(c=b[h]);h++){if(i&&c){for(d=0,a||c.ownerDocument===I||(N(c),s=!D);f=e[d++];)if(f(c,a||I,s)){u.push(c);break}l&&(H=_)}o&&((c=!f&&c)&&p--,r&&m.push(c))}if(p+=h,o&&h!==p){for(d=0;f=n[d++];)f(m,v,a,s);if(r){if(p>0)for(;h--;)m[h]||v[h]||(v[h]=X.call(u));v=g(v)}J.apply(u,v),l&&!r&&v.length>0&&p+n.length>1&&t.uniqueSort(u)}return l&&(H=_,O=y),m};return o?r(a):a}var _,w,C,x,E,T,k,S,O,M,A,N,I,P,D,R,j,L,B,F="sizzle"+1*new Date,U=e.document,H=0,z=0,q=n(),W=n(),V=n(),G=function(e,t){return e===t&&(A=!0),0},Y=1<<31,K={}.hasOwnProperty,$=[],X=$.pop,Q=$.push,J=$.push,Z=$.slice,ee=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},te="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ne="[\\x20\\t\\r\\n\\f]",re="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",oe="\\["+ne+"*("+re+")(?:"+ne+"*([*^$|!~]?=)"+ne+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+re+"))|)"+ne+"*\\]",ie=":("+re+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+oe+")*)|.*)\\)|)",ae=new RegExp(ne+"+","g"),se=new RegExp("^"+ne+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ne+"+$","g"),ue=new RegExp("^"+ne+"*,"+ne+"*"),le=new RegExp("^"+ne+"*([>+~]|"+ne+")"+ne+"*"),ce=new RegExp("="+ne+"*([^\\]'\"]*?)"+ne+"*\\]","g"),de=new RegExp(ie),fe=new RegExp("^"+re+"$"),pe={ID:new RegExp("^#("+re+")"),CLASS:new RegExp("^\\.("+re+")"),TAG:new RegExp("^("+re+"|[*])"),ATTR:new RegExp("^"+oe),PSEUDO:new RegExp("^"+ie),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ne+"*(even|odd|(([+-]|)(\\d*)n|)"+ne+"*(?:([+-]|)"+ne+"*(\\d+)|))"+ne+"*\\)|)","i"),bool:new RegExp("^(?:"+te+")$","i"),needsContext:new RegExp("^"+ne+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ne+"*((?:-\\d)?\\d*)"+ne+"*\\)|)(?=[^-]|$)","i")},he=/^(?:input|select|textarea|button)$/i,me=/^h\d$/i,ge=/^[^{]+\{\s*\[native \w/,ve=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ye=/[+~]/,be=/'|\\/g,_e=new RegExp("\\\\([\\da-f]{1,6}"+ne+"?|("+ne+")|.)","ig"),we=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},Ce=function(){N()};try{J.apply($=Z.call(U.childNodes),U.childNodes),$[U.childNodes.length].nodeType}catch(e){J={apply:$.length?function(e,t){Q.apply(e,Z.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}w=t.support={},E=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},N=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:U;return r!==I&&9===r.nodeType&&r.documentElement?(I=r,P=I.documentElement,D=!E(I),(n=I.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",Ce,!1):n.attachEvent&&n.attachEvent("onunload",Ce)),w.attributes=o(function(e){return e.className="i",!e.getAttribute("className")}),w.getElementsByTagName=o(function(e){return e.appendChild(I.createComment("")),!e.getElementsByTagName("*").length}),w.getElementsByClassName=ge.test(I.getElementsByClassName),w.getById=o(function(e){return P.appendChild(e).id=F,!I.getElementsByName||!I.getElementsByName(F).length}),w.getById?(C.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&D){var n=t.getElementById(e);return n?[n]:[]}},C.filter.ID=function(e){var t=e.replace(_e,we);return function(e){return e.getAttribute("id")===t}}):(delete C.find.ID,C.filter.ID=function(e){var t=e.replace(_e,we);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}}),C.find.TAG=w.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):w.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],o=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[o++];)1===n.nodeType&&r.push(n);return r}return i},C.find.CLASS=w.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&D)return t.getElementsByClassName(e)},j=[],R=[],(w.qsa=ge.test(I.querySelectorAll))&&(o(function(e){P.appendChild(e).innerHTML="<a id='"+F+"'></a><select id='"+F+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&R.push("[*^$]="+ne+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||R.push("\\["+ne+"*(?:value|"+te+")"),e.querySelectorAll("[id~="+F+"-]").length||R.push("~="),e.querySelectorAll(":checked").length||R.push(":checked"),e.querySelectorAll("a#"+F+"+*").length||R.push(".#.+[+~]")}),o(function(e){var t=I.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&R.push("name"+ne+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||R.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),R.push(",.*:")})),(w.matchesSelector=ge.test(L=P.matches||P.webkitMatchesSelector||P.mozMatchesSelector||P.oMatchesSelector||P.msMatchesSelector))&&o(function(e){w.disconnectedMatch=L.call(e,"div"),L.call(e,"[s!='']:x"),j.push("!=",ie)}),R=R.length&&new RegExp(R.join("|")),j=j.length&&new RegExp(j.join("|")),t=ge.test(P.compareDocumentPosition),B=t||ge.test(P.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},G=t?function(e,t){if(e===t)return A=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n?n:(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!w.sortDetached&&t.compareDocumentPosition(e)===n?e===I||e.ownerDocument===U&&B(U,e)?-1:t===I||t.ownerDocument===U&&B(U,t)?1:M?ee(M,e)-ee(M,t):0:4&n?-1:1)}:function(e,t){if(e===t)return A=!0,0;var n,r=0,o=e.parentNode,i=t.parentNode,s=[e],u=[t];if(!o||!i)return e===I?-1:t===I?1:o?-1:i?1:M?ee(M,e)-ee(M,t):0;if(o===i)return a(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)u.unshift(n);for(;s[r]===u[r];)r++;return r?a(s[r],u[r]):s[r]===U?-1:u[r]===U?1:0},I):I},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==I&&N(e),n=n.replace(ce,"='$1']"),w.matchesSelector&&D&&!V[n+" "]&&(!j||!j.test(n))&&(!R||!R.test(n)))try{var r=L.call(e,n);if(r||w.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return t(n,I,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==I&&N(e),B(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==I&&N(e);var n=C.attrHandle[t.toLowerCase()],r=n&&K.call(C.attrHandle,t.toLowerCase())?n(e,t,!D):void 0;return void 0!==r?r:w.attributes||!D?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,o=0;if(A=!w.detectDuplicates,M=!w.sortStable&&e.slice(0),e.sort(G),A){for(;t=e[o++];)t===e[o]&&(r=n.push(o));for(;r--;)e.splice(n[r],1)}return M=null,e},x=t.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=x(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=x(t);return n},C=t.selectors={cacheLength:50,createPseudo:r,match:pe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(_e,we),e[3]=(e[3]||e[4]||e[5]||"").replace(_e,we),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return pe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&de.test(n)&&(t=T(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(_e,we).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=q[e+" "];return t||(t=new RegExp("(^|"+ne+")"+e+"("+ne+"|$)"))&&q(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(o){var i=t.attr(o,e);return null==i?"!="===n:!n||(i+="","="===n?i===r:"!="===n?i!==r:"^="===n?r&&0===i.indexOf(r):"*="===n?r&&i.indexOf(r)>-1:"$="===n?r&&i.slice(-r.length)===r:"~="===n?(" "+i.replace(ae," ")+" ").indexOf(r)>-1:"|="===n&&(i===r||i.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,n,r,o){var i="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,u){var l,c,d,f,p,h,m=i!==a?"nextSibling":"previousSibling",g=t.parentNode,v=s&&t.nodeName.toLowerCase(),y=!u&&!s,b=!1;if(g){if(i){for(;m;){for(f=t;f=f[m];)if(s?f.nodeName.toLowerCase()===v:1===f.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?g.firstChild:g.lastChild],a&&y){for(f=g,d=f[F]||(f[F]={}),c=d[f.uniqueID]||(d[f.uniqueID]={}),l=c[e]||[],p=l[0]===H&&l[1],b=p&&l[2],f=p&&g.childNodes[p];f=++p&&f&&f[m]||(b=p=0)||h.pop();)if(1===f.nodeType&&++b&&f===t){c[e]=[H,p,b];break}}else if(y&&(f=t,d=f[F]||(f[F]={}),c=d[f.uniqueID]||(d[f.uniqueID]={}),l=c[e]||[],p=l[0]===H&&l[1],b=p),b===!1)for(;(f=++p&&f&&f[m]||(b=p=0)||h.pop())&&((s?f.nodeName.toLowerCase()!==v:1!==f.nodeType)||!++b||(y&&(d=f[F]||(f[F]={}),c=d[f.uniqueID]||(d[f.uniqueID]={}),c[e]=[H,b]),f!==t)););return b-=o,b===r||b%r===0&&b/r>=0}}},PSEUDO:function(e,n){var o,i=C.pseudos[e]||C.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return i[F]?i(n):i.length>1?(o=[e,e,"",n],C.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,o=i(e,n),a=o.length;a--;)r=ee(e,o[a]),e[r]=!(t[r]=o[a])}):function(e){return i(e,0,o)}):i}},pseudos:{not:r(function(e){var t=[],n=[],o=k(e.replace(se,"$1"));return o[F]?r(function(e,t,n,r){for(var i,a=o(e,null,r,[]),s=e.length;s--;)(i=a[s])&&(e[s]=!(t[s]=i))}):function(e,r,i){return t[0]=e,o(t,null,i,n),t[0]=null,!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return e=e.replace(_e,we),function(t){return(t.textContent||t.innerText||x(t)).indexOf(e)>-1}}),lang:r(function(e){return fe.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(_e,we).toLowerCase(),function(t){var n;do if(n=D?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===P},focus:function(e){return e===I.activeElement&&(!I.hasFocus||I.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!C.pseudos.empty(e)},header:function(e){return me.test(e.nodeName)},input:function(e){return he.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:l(function(){return[0]}),last:l(function(e,t){return[t-1]}),eq:l(function(e,t,n){return[n<0?n+t:n]}),even:l(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:l(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:l(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:l(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}},C.pseudos.nth=C.pseudos.eq;for(_ in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})C.pseudos[_]=s(_);for(_ in{submit:!0,reset:!0})C.pseudos[_]=u(_);return d.prototype=C.filters=C.pseudos,C.setFilters=new d,T=t.tokenize=function(e,n){var r,o,i,a,s,u,l,c=W[e+" "];if(c)return n?0:c.slice(0);for(s=e,u=[],l=C.preFilter;s;){r&&!(o=ue.exec(s))||(o&&(s=s.slice(o[0].length)||s),u.push(i=[])),r=!1,(o=le.exec(s))&&(r=o.shift(),i.push({value:r,type:o[0].replace(se," ")}),s=s.slice(r.length));for(a in C.filter)!(o=pe[a].exec(s))||l[a]&&!(o=l[a](o))||(r=o.shift(),i.push({value:r,type:a,matches:o}),s=s.slice(r.length));if(!r)break}return n?s.length:s?t.error(e):W(e,u).slice(0)},k=t.compile=function(e,t){var n,r=[],o=[],i=V[e+" "];if(!i){for(t||(t=T(e)),n=t.length;n--;)i=y(t[n]),i[F]?r.push(i):o.push(i);i=V(e,b(o,r)),i.selector=e}return i},S=t.select=function(e,t,n,r){var o,i,a,s,u,l="function"==typeof e&&e,d=!r&&T(e=l.selector||e);if(n=n||[],1===d.length){if(i=d[0]=d[0].slice(0),i.length>2&&"ID"===(a=i[0]).type&&w.getById&&9===t.nodeType&&D&&C.relative[i[1].type]){if(t=(C.find.ID(a.matches[0].replace(_e,we),t)||[])[0],!t)return n;l&&(t=t.parentNode),e=e.slice(i.shift().value.length)}for(o=pe.needsContext.test(e)?0:i.length;o--&&(a=i[o],!C.relative[s=a.type]);)if((u=C.find[s])&&(r=u(a.matches[0].replace(_e,we),ye.test(i[0].type)&&c(t.parentNode)||t))){if(i.splice(o,1),e=r.length&&f(i),!e)return J.apply(n,r),n;break}}return(l||k(e,d))(r,t,!D,n,!t||ye.test(e)&&c(t.parentNode)||t),n},w.sortStable=F.split("").sort(G).join("")===F,w.detectDuplicates=!!A,N(),w.sortDetached=o(function(e){return 1&e.compareDocumentPosition(I.createElement("div"))}),o(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||i("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),w.attributes&&o(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||i("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),o(function(e){return null==e.getAttribute("disabled")})||i(te,function(e,t,n){var r;if(!n)return e[t]===!0?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(n);le.find=he,le.expr=he.selectors,le.expr[":"]=le.expr.pseudos,le.uniqueSort=le.unique=he.uniqueSort,le.text=he.getText,le.isXMLDoc=he.isXML,le.contains=he.contains;var me=function(e,t,n){for(var r=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&le(e).is(n))break;r.push(e)}return r},ge=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},ve=le.expr.match.needsContext,ye=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,be=/^.[^:#\[\.,]*$/;le.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?le.find.matchesSelector(r,e)?[r]:[]:le.find.matches(e,le.grep(t,function(e){return 1===e.nodeType}))},le.fn.extend({find:function(e){var t,n=this.length,r=[],o=this;if("string"!=typeof e)return this.pushStack(le(e).filter(function(){for(t=0;t<n;t++)if(le.contains(o[t],this))return!0}));for(t=0;t<n;t++)le.find(e,o[t],r);return r=this.pushStack(n>1?le.unique(r):r),r.selector=this.selector?this.selector+" "+e:e,r},filter:function(e){return this.pushStack(s(this,e||[],!1))},not:function(e){return this.pushStack(s(this,e||[],!0))},is:function(e){return!!s(this,"string"==typeof e&&ve.test(e)?le(e):e||[],!1).length}});var _e,we=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,Ce=le.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||_e,"string"==typeof e){if(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:we.exec(e),!r||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof le?t[0]:t,le.merge(this,le.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:Z,!0)),ye.test(r[1])&&le.isPlainObject(t))for(r in t)le.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return o=Z.getElementById(r[2]),o&&o.parentNode&&(this.length=1,this[0]=o),this.context=Z,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):le.isFunction(e)?void 0!==n.ready?n.ready(e):e(le):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),le.makeArray(e,this))};Ce.prototype=le.fn,_e=le(Z);var xe=/^(?:parents|prev(?:Until|All))/,Ee={children:!0,contents:!0,next:!0,prev:!0};le.fn.extend({has:function(e){var t=le(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(le.contains(this,t[e]))return!0})},closest:function(e,t){for(var n,r=0,o=this.length,i=[],a=ve.test(e)||"string"!=typeof e?le(e,t||this.context):0;r<o;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&le.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?le.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?re.call(le(e),this[0]):re.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(le.uniqueSort(le.merge(this.get(),le(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),le.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return me(e,"parentNode")},parentsUntil:function(e,t,n){return me(e,"parentNode",n)},next:function(e){return u(e,"nextSibling")},prev:function(e){return u(e,"previousSibling")},nextAll:function(e){return me(e,"nextSibling")},prevAll:function(e){return me(e,"previousSibling")},nextUntil:function(e,t,n){return me(e,"nextSibling",n)},prevUntil:function(e,t,n){return me(e,"previousSibling",n)},siblings:function(e){return ge((e.parentNode||{}).firstChild,e)},children:function(e){return ge(e.firstChild)},contents:function(e){return e.contentDocument||le.merge([],e.childNodes)}},function(e,t){le.fn[e]=function(n,r){var o=le.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=le.filter(r,o)),this.length>1&&(Ee[e]||le.uniqueSort(o),xe.test(e)&&o.reverse()),this.pushStack(o)}});var Te=/\S+/g;le.Callbacks=function(e){e="string"==typeof e?l(e):le.extend({},e);var t,n,r,o,i=[],a=[],s=-1,u=function(){for(o=e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<i.length;)i[s].apply(n[0],n[1])===!1&&e.stopOnFalse&&(s=i.length,n=!1);e.memory||(n=!1),t=!1,o&&(i=n?[]:"")},c={add:function(){return i&&(n&&!t&&(s=i.length-1,a.push(n)),function t(n){le.each(n,function(n,r){le.isFunction(r)?e.unique&&c.has(r)||i.push(r):r&&r.length&&"string"!==le.type(r)&&t(r)})}(arguments),n&&!t&&u()),this},remove:function(){return le.each(arguments,function(e,t){for(var n;(n=le.inArray(t,i,n))>-1;)i.splice(n,1),n<=s&&s--}),this},has:function(e){return e?le.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=a=[],i=n="",this},disabled:function(){return!i},lock:function(){return o=a=[],n||(i=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=n||[],n=[e,n.slice?n.slice():n],a.push(n),t||u()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},le.extend({Deferred:function(e){var t=[["resolve","done",le.Callbacks("once memory"),"resolved"],["reject","fail",le.Callbacks("once memory"),"rejected"],["notify","progress",le.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},then:function(){var e=arguments;return le.Deferred(function(n){le.each(t,function(t,i){var a=le.isFunction(e[t])&&e[t];o[i[1]](function(){var e=a&&a.apply(this,arguments);e&&le.isFunction(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[i[0]+"With"](this===r?n.promise():this,a?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?le.extend(e,r):r}},o={};return r.pipe=r.then,le.each(t,function(e,i){var a=i[2],s=i[3];r[i[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),o[i[0]]=function(){return o[i[0]+"With"](this===o?r:this,arguments),this},o[i[0]+"With"]=a.fireWith}),r.promise(o),e&&e.call(o,o),o},when:function(e){var t,n,r,o=0,i=ee.call(arguments),a=i.length,s=1!==a||e&&le.isFunction(e.promise)?a:0,u=1===s?e:le.Deferred(),l=function(e,n,r){return function(o){n[e]=this,r[e]=arguments.length>1?ee.call(arguments):o,r===t?u.notifyWith(n,r):--s||u.resolveWith(n,r)}};if(a>1)for(t=new Array(a),n=new Array(a),r=new Array(a);o<a;o++)i[o]&&le.isFunction(i[o].promise)?i[o].promise().progress(l(o,n,t)).done(l(o,r,i)).fail(u.reject):--s;return s||u.resolveWith(r,i),u.promise()}});var ke;le.fn.ready=function(e){return le.ready.promise().done(e),this},le.extend({isReady:!1,readyWait:1,holdReady:function(e){e?le.readyWait++:le.ready(!0)},ready:function(e){(e===!0?--le.readyWait:le.isReady)||(le.isReady=!0,e!==!0&&--le.readyWait>0||(ke.resolveWith(Z,[le]),le.fn.triggerHandler&&(le(Z).triggerHandler("ready"),le(Z).off("ready"))))}}),le.ready.promise=function(e){return ke||(ke=le.Deferred(),"complete"===Z.readyState||"loading"!==Z.readyState&&!Z.documentElement.doScroll?n.setTimeout(le.ready):(Z.addEventListener("DOMContentLoaded",c),n.addEventListener("load",c))),ke.promise(e)},le.ready.promise();var Se=function(e,t,n,r,o,i,a){var s=0,u=e.length,l=null==n;if("object"===le.type(n)){o=!0;for(s in n)Se(e,t,s,n[s],!0,i,a)}else if(void 0!==r&&(o=!0,le.isFunction(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(le(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return o?e:l?t.call(e):u?t(e[0],n):i},Oe=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};d.uid=1,d.prototype={register:function(e,t){var n=t||{};return e.nodeType?e[this.expando]=n:Object.defineProperty(e,this.expando,{value:n,writable:!0,configurable:!0}),e[this.expando]},cache:function(e){if(!Oe(e))return{};var t=e[this.expando];return t||(t={},Oe(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,o=this.cache(e);if("string"==typeof t)o[t]=n;else for(r in t)o[r]=t[r];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][t]},access:function(e,t,n){var r;return void 0===t||t&&"string"==typeof t&&void 0===n?(r=this.get(e,t),void 0!==r?r:this.get(e,le.camelCase(t))):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r,o,i=e[this.expando];if(void 0!==i){if(void 0===t)this.register(e);else{le.isArray(t)?r=t.concat(t.map(le.camelCase)):(o=le.camelCase(t),t in i?r=[t,o]:(r=o,r=r in i?[r]:r.match(Te)||[])),n=r.length;for(;n--;)delete i[r[n]]}(void 0===t||le.isEmptyObject(i))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!le.isEmptyObject(t)}};var Me=new d,Ae=new d,Ne=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ie=/[A-Z]/g;le.extend({hasData:function(e){return Ae.hasData(e)||Me.hasData(e)},data:function(e,t,n){return Ae.access(e,t,n)},removeData:function(e,t){Ae.remove(e,t)},_data:function(e,t,n){return Me.access(e,t,n)},_removeData:function(e,t){Me.remove(e,t)}}),le.fn.extend({data:function(e,t){var n,r,o,i=this[0],a=i&&i.attributes;if(void 0===e){if(this.length&&(o=Ae.get(i),1===i.nodeType&&!Me.get(i,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&(r=a[n].name,0===r.indexOf("data-")&&(r=le.camelCase(r.slice(5)),f(i,r,o[r])));Me.set(i,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each(function(){Ae.set(this,e)}):Se(this,function(t){var n,r;if(i&&void 0===t){if(n=Ae.get(i,e)||Ae.get(i,e.replace(Ie,"-$&").toLowerCase()),void 0!==n)return n;if(r=le.camelCase(e),n=Ae.get(i,r),void 0!==n)return n;if(n=f(i,r,void 0),void 0!==n)return n}else r=le.camelCase(e),this.each(function(){var n=Ae.get(this,r);Ae.set(this,r,t),e.indexOf("-")>-1&&void 0!==n&&Ae.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){Ae.remove(this,e)})}}),le.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Me.get(e,t),n&&(!r||le.isArray(n)?r=Me.access(e,t,le.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=le.queue(e,t),r=n.length,o=n.shift(),i=le._queueHooks(e,t),a=function(){le.dequeue(e,t)};"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete i.stop,o.call(e,a,i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Me.get(e,n)||Me.access(e,n,{empty:le.Callbacks("once memory").add(function(){Me.remove(e,[t+"queue",n])})})}}),le.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?le.queue(this[0],e):void 0===t?this:this.each(function(){var n=le.queue(this,e,t);le._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&le.dequeue(this,e)})},dequeue:function(e){return this.each(function(){le.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,o=le.Deferred(),i=this,a=this.length,s=function(){--r||o.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)n=Me.get(i[a],e+"queueHooks"),n&&n.empty&&(r++,n.empty.add(s));return s(),o.promise(t)}});var Pe=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,De=new RegExp("^(?:([+-])=|)("+Pe+")([a-z%]*)$","i"),Re=["Top","Right","Bottom","Left"],je=function(e,t){return e=t||e,"none"===le.css(e,"display")||!le.contains(e.ownerDocument,e)},Le=/^(?:checkbox|radio)$/i,Be=/<([\w:-]+)/,Fe=/^$|\/(?:java|ecma)script/i,Ue={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Ue.optgroup=Ue.option,Ue.tbody=Ue.tfoot=Ue.colgroup=Ue.caption=Ue.thead,Ue.th=Ue.td;var He=/<|&#?\w+;/;!function(){var e=Z.createDocumentFragment(),t=e.appendChild(Z.createElement("div")),n=Z.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),se.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",se.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue}();var ze=/^key/,qe=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,We=/^([^.]*)(?:\.(.+)|)/;le.event={global:{},add:function(e,t,n,r,o){var i,a,s,u,l,c,d,f,p,h,m,g=Me.get(e);if(g)for(n.handler&&(i=n,n=i.handler,o=i.selector),n.guid||(n.guid=le.guid++),(u=g.events)||(u=g.events={}),(a=g.handle)||(a=g.handle=function(t){return"undefined"!=typeof le&&le.event.triggered!==t.type?le.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(Te)||[""],l=t.length;l--;)s=We.exec(t[l])||[],p=m=s[1],h=(s[2]||"").split(".").sort(),p&&(d=le.event.special[p]||{},p=(o?d.delegateType:d.bindType)||p,d=le.event.special[p]||{},c=le.extend({type:p,origType:m,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&le.expr.match.needsContext.test(o),namespace:h.join(".")},i),(f=u[p])||(f=u[p]=[],f.delegateCount=0,d.setup&&d.setup.call(e,r,h,a)!==!1||e.addEventListener&&e.addEventListener(p,a)),d.add&&(d.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),o?f.splice(f.delegateCount++,0,c):f.push(c),le.event.global[p]=!0)},remove:function(e,t,n,r,o){var i,a,s,u,l,c,d,f,p,h,m,g=Me.hasData(e)&&Me.get(e);if(g&&(u=g.events)){for(t=(t||"").match(Te)||[""],l=t.length;l--;)if(s=We.exec(t[l])||[],p=m=s[1],h=(s[2]||"").split(".").sort(),p){for(d=le.event.special[p]||{},p=(r?d.delegateType:d.bindType)||p,f=u[p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=f.length;i--;)c=f[i],!o&&m!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(f.splice(i,1),
+c.selector&&f.delegateCount--,d.remove&&d.remove.call(e,c));a&&!f.length&&(d.teardown&&d.teardown.call(e,h,g.handle)!==!1||le.removeEvent(e,p,g.handle),delete u[p])}else for(p in u)le.event.remove(e,p+t[l],n,r,!0);le.isEmptyObject(u)&&Me.remove(e,"handle events")}},dispatch:function(e){e=le.event.fix(e);var t,n,r,o,i,a=[],s=ee.call(arguments),u=(Me.get(this,"events")||{})[e.type]||[],l=le.event.special[e.type]||{};if(s[0]=e,e.delegateTarget=this,!l.preDispatch||l.preDispatch.call(this,e)!==!1){for(a=le.event.handlers.call(this,e,u),t=0;(o=a[t++])&&!e.isPropagationStopped();)for(e.currentTarget=o.elem,n=0;(i=o.handlers[n++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(i.namespace)||(e.handleObj=i,e.data=i.data,r=((le.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,s),void 0!==r&&(e.result=r)===!1&&(e.preventDefault(),e.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,o,i,a=[],s=t.delegateCount,u=e.target;if(s&&u.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&(u.disabled!==!0||"click"!==e.type)){for(r=[],n=0;n<s;n++)i=t[n],o=i.selector+" ",void 0===r[o]&&(r[o]=i.needsContext?le(o,this).index(u)>-1:le.find(o,this,null,[u]).length),r[o]&&r.push(i);r.length&&a.push({elem:u,handlers:r})}return s<t.length&&a.push({elem:this,handlers:t.slice(s)}),a},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,r,o,i=t.button;return null==e.pageX&&null!=t.clientX&&(n=e.target.ownerDocument||Z,r=n.documentElement,o=n.body,e.pageX=t.clientX+(r&&r.scrollLeft||o&&o.scrollLeft||0)-(r&&r.clientLeft||o&&o.clientLeft||0),e.pageY=t.clientY+(r&&r.scrollTop||o&&o.scrollTop||0)-(r&&r.clientTop||o&&o.clientTop||0)),e.which||void 0===i||(e.which=1&i?1:2&i?3:4&i?2:0),e}},fix:function(e){if(e[le.expando])return e;var t,n,r,o=e.type,i=e,a=this.fixHooks[o];for(a||(this.fixHooks[o]=a=qe.test(o)?this.mouseHooks:ze.test(o)?this.keyHooks:{}),r=a.props?this.props.concat(a.props):this.props,e=new le.Event(i),t=r.length;t--;)n=r[t],e[n]=i[n];return e.target||(e.target=Z),3===e.target.nodeType&&(e.target=e.target.parentNode),a.filter?a.filter(e,i):e},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==b()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===b()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&le.nodeName(this,"input"))return this.click(),!1},_default:function(e){return le.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},le.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},le.Event=function(e,t){return this instanceof le.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&e.returnValue===!1?v:y):this.type=e,t&&le.extend(this,t),this.timeStamp=e&&e.timeStamp||le.now(),void(this[le.expando]=!0)):new le.Event(e,t)},le.Event.prototype={constructor:le.Event,isDefaultPrevented:y,isPropagationStopped:y,isImmediatePropagationStopped:y,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=v,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=v,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=v,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},le.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){le.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,o=e.relatedTarget,i=e.handleObj;return o&&(o===r||le.contains(r,o))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}}),le.fn.extend({on:function(e,t,n,r){return _(this,e,t,n,r)},one:function(e,t,n,r){return _(this,e,t,n,r,1)},off:function(e,t,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,le(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return t!==!1&&"function"!=typeof t||(n=t,t=void 0),n===!1&&(n=y),this.each(function(){le.event.remove(this,e,n,t)})}});var Ve=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,Ge=/<script|<style|<link/i,Ye=/checked\s*(?:[^=]|=\s*.checked.)/i,Ke=/^true\/(.*)/,$e=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;le.extend({htmlPrefilter:function(e){return e.replace(Ve,"<$1></$2>")},clone:function(e,t,n){var r,o,i,a,s=e.cloneNode(!0),u=le.contains(e.ownerDocument,e);if(!(se.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||le.isXMLDoc(e)))for(a=h(s),i=h(e),r=0,o=i.length;r<o;r++)T(i[r],a[r]);if(t)if(n)for(i=i||h(e),a=a||h(s),r=0,o=i.length;r<o;r++)E(i[r],a[r]);else E(e,s);return a=h(s,"script"),a.length>0&&m(a,!u&&h(e,"script")),s},cleanData:function(e){for(var t,n,r,o=le.event.special,i=0;void 0!==(n=e[i]);i++)if(Oe(n)){if(t=n[Me.expando]){if(t.events)for(r in t.events)o[r]?le.event.remove(n,r):le.removeEvent(n,r,t.handle);n[Me.expando]=void 0}n[Ae.expando]&&(n[Ae.expando]=void 0)}}}),le.fn.extend({domManip:k,detach:function(e){return S(this,e,!0)},remove:function(e){return S(this,e)},text:function(e){return Se(this,function(e){return void 0===e?le.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return k(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=w(this,e);t.appendChild(e)}})},prepend:function(){return k(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=w(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return k(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return k(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(le.cleanData(h(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return le.clone(this,e,t)})},html:function(e){return Se(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ge.test(e)&&!Ue[(Be.exec(e)||["",""])[1].toLowerCase()]){e=le.htmlPrefilter(e);try{for(;n<r;n++)t=this[n]||{},1===t.nodeType&&(le.cleanData(h(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return k(this,arguments,function(t){var n=this.parentNode;le.inArray(this,e)<0&&(le.cleanData(h(this)),n&&n.replaceChild(t,this))},e)}}),le.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){le.fn[e]=function(e){for(var n,r=[],o=le(e),i=o.length-1,a=0;a<=i;a++)n=a===i?this:this.clone(!0),le(o[a])[t](n),ne.apply(r,n.get());return this.pushStack(r)}});var Xe,Qe={HTML:"block",BODY:"block"},Je=/^margin/,Ze=new RegExp("^("+Pe+")(?!px)[a-z%]+$","i"),et=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},tt=function(e,t,n,r){var o,i,a={};for(i in t)a[i]=e.style[i],e.style[i]=t[i];o=n.apply(e,r||[]);for(i in t)e.style[i]=a[i];return o},nt=Z.documentElement;!function(){function e(){s.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",s.innerHTML="",nt.appendChild(a);var e=n.getComputedStyle(s);t="1%"!==e.top,i="2px"===e.marginLeft,r="4px"===e.width,s.style.marginRight="50%",o="4px"===e.marginRight,nt.removeChild(a)}var t,r,o,i,a=Z.createElement("div"),s=Z.createElement("div");s.style&&(s.style.backgroundClip="content-box",s.cloneNode(!0).style.backgroundClip="",se.clearCloneStyle="content-box"===s.style.backgroundClip,a.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",a.appendChild(s),le.extend(se,{pixelPosition:function(){return e(),t},boxSizingReliable:function(){return null==r&&e(),r},pixelMarginRight:function(){return null==r&&e(),o},reliableMarginLeft:function(){return null==r&&e(),i},reliableMarginRight:function(){var e,t=s.appendChild(Z.createElement("div"));return t.style.cssText=s.style.cssText="-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",t.style.marginRight=t.style.width="0",s.style.width="1px",nt.appendChild(a),e=!parseFloat(n.getComputedStyle(t).marginRight),nt.removeChild(a),s.removeChild(t),e}}))}();var rt=/^(none|table(?!-c[ea]).+)/,ot={position:"absolute",visibility:"hidden",display:"block"},it={letterSpacing:"0",fontWeight:"400"},at=["Webkit","O","Moz","ms"],st=Z.createElement("div").style;le.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=A(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,i,a,s=le.camelCase(t),u=e.style;return t=le.cssProps[s]||(le.cssProps[s]=I(s)||s),a=le.cssHooks[t]||le.cssHooks[s],void 0===n?a&&"get"in a&&void 0!==(o=a.get(e,!1,r))?o:u[t]:(i=typeof n,"string"===i&&(o=De.exec(n))&&o[1]&&(n=p(e,t,o),i="number"),null!=n&&n===n&&("number"===i&&(n+=o&&o[3]||(le.cssNumber[s]?"":"px")),se.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u[t]=n)),void 0)}},css:function(e,t,n,r){var o,i,a,s=le.camelCase(t);return t=le.cssProps[s]||(le.cssProps[s]=I(s)||s),a=le.cssHooks[t]||le.cssHooks[s],a&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=A(e,t,r)),"normal"===o&&t in it&&(o=it[t]),""===n||n?(i=parseFloat(o),n===!0||isFinite(i)?i||0:o):o}}),le.each(["height","width"],function(e,t){le.cssHooks[t]={get:function(e,n,r){if(n)return rt.test(le.css(e,"display"))&&0===e.offsetWidth?tt(e,ot,function(){return R(e,t,r)}):R(e,t,r)},set:function(e,n,r){var o,i=r&&et(e),a=r&&D(e,t,r,"border-box"===le.css(e,"boxSizing",!1,i),i);return a&&(o=De.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=le.css(e,t)),P(e,n,a)}}}),le.cssHooks.marginLeft=N(se.reliableMarginLeft,function(e,t){if(t)return(parseFloat(A(e,"marginLeft"))||e.getBoundingClientRect().left-tt(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),le.cssHooks.marginRight=N(se.reliableMarginRight,function(e,t){if(t)return tt(e,{display:"inline-block"},A,[e,"marginRight"])}),le.each({margin:"",padding:"",border:"Width"},function(e,t){le.cssHooks[e+t]={expand:function(n){for(var r=0,o={},i="string"==typeof n?n.split(" "):[n];r<4;r++)o[e+Re[r]+t]=i[r]||i[r-2]||i[0];return o}},Je.test(e)||(le.cssHooks[e+t].set=P)}),le.fn.extend({css:function(e,t){return Se(this,function(e,t,n){var r,o,i={},a=0;if(le.isArray(t)){for(r=et(e),o=t.length;a<o;a++)i[t[a]]=le.css(e,t[a],!1,r);return i}return void 0!==n?le.style(e,t,n):le.css(e,t)},e,t,arguments.length>1)},show:function(){return j(this,!0)},hide:function(){return j(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){je(this)?le(this).show():le(this).hide()})}}),le.Tween=L,L.prototype={constructor:L,init:function(e,t,n,r,o,i){this.elem=e,this.prop=n,this.easing=o||le.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(le.cssNumber[n]?"":"px")},cur:function(){var e=L.propHooks[this.prop];return e&&e.get?e.get(this):L.propHooks._default.get(this)},run:function(e){var t,n=L.propHooks[this.prop];return this.options.duration?this.pos=t=le.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):L.propHooks._default.set(this),this}},L.prototype.init.prototype=L.prototype,L.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=le.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){le.fx.step[e.prop]?le.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[le.cssProps[e.prop]]&&!le.cssHooks[e.prop]?e.elem[e.prop]=e.now:le.style(e.elem,e.prop,e.now+e.unit)}}},L.propHooks.scrollTop=L.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},le.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},le.fx=L.prototype.init,le.fx.step={};var ut,lt,ct=/^(?:toggle|show|hide)$/,dt=/queueHooks$/;le.Animation=le.extend(q,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return p(n.elem,e,De.exec(t),n),n}]},tweener:function(e,t){le.isFunction(e)?(t=e,e=["*"]):e=e.match(Te);for(var n,r=0,o=e.length;r<o;r++)n=e[r],q.tweeners[n]=q.tweeners[n]||[],q.tweeners[n].unshift(t)},prefilters:[H],prefilter:function(e,t){t?q.prefilters.unshift(e):q.prefilters.push(e)}}),le.speed=function(e,t,n){var r=e&&"object"==typeof e?le.extend({},e):{complete:n||!n&&t||le.isFunction(e)&&e,duration:e,easing:n&&t||t&&!le.isFunction(t)&&t};return r.duration=le.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in le.fx.speeds?le.fx.speeds[r.duration]:le.fx.speeds._default,null!=r.queue&&r.queue!==!0||(r.queue="fx"),r.old=r.complete,r.complete=function(){le.isFunction(r.old)&&r.old.call(this),r.queue&&le.dequeue(this,r.queue)},r},le.fn.extend({fadeTo:function(e,t,n,r){return this.filter(je).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var o=le.isEmptyObject(e),i=le.speed(t,n,r),a=function(){var t=q(this,le.extend({},e),i);(o||Me.get(this,"finish"))&&t.stop(!0)};return a.finish=a,o||i.queue===!1?this.each(a):this.queue(i.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,o=null!=e&&e+"queueHooks",i=le.timers,a=Me.get(this);if(o)a[o]&&a[o].stop&&r(a[o]);else for(o in a)a[o]&&a[o].stop&&dt.test(o)&&r(a[o]);for(o=i.length;o--;)i[o].elem!==this||null!=e&&i[o].queue!==e||(i[o].anim.stop(n),t=!1,i.splice(o,1));!t&&n||le.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=Me.get(this),r=n[e+"queue"],o=n[e+"queueHooks"],i=le.timers,a=r?r.length:0;for(n.finish=!0,le.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=i.length;t--;)i[t].elem===this&&i[t].queue===e&&(i[t].anim.stop(!0),i.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),le.each(["toggle","show","hide"],function(e,t){var n=le.fn[t];le.fn[t]=function(e,r,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(F(t,!0),e,r,o)}}),le.each({slideDown:F("show"),slideUp:F("hide"),slideToggle:F("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){le.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),le.timers=[],le.fx.tick=function(){var e,t=0,n=le.timers;for(ut=le.now();t<n.length;t++)e=n[t],e()||n[t]!==e||n.splice(t--,1);n.length||le.fx.stop(),ut=void 0},le.fx.timer=function(e){le.timers.push(e),e()?le.fx.start():le.timers.pop()},le.fx.interval=13,le.fx.start=function(){lt||(lt=n.setInterval(le.fx.tick,le.fx.interval))},le.fx.stop=function(){n.clearInterval(lt),lt=null},le.fx.speeds={slow:600,fast:200,_default:400},le.fn.delay=function(e,t){return e=le.fx?le.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,r){var o=n.setTimeout(t,e);r.stop=function(){n.clearTimeout(o)}})},function(){var e=Z.createElement("input"),t=Z.createElement("select"),n=t.appendChild(Z.createElement("option"));e.type="checkbox",se.checkOn=""!==e.value,se.optSelected=n.selected,t.disabled=!0,se.optDisabled=!n.disabled,e=Z.createElement("input"),e.value="t",e.type="radio",se.radioValue="t"===e.value}();var ft,pt=le.expr.attrHandle;le.fn.extend({attr:function(e,t){return Se(this,le.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){le.removeAttr(this,e)})}}),le.extend({attr:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return"undefined"==typeof e.getAttribute?le.prop(e,t,n):(1===i&&le.isXMLDoc(e)||(t=t.toLowerCase(),o=le.attrHooks[t]||(le.expr.match.bool.test(t)?ft:void 0)),void 0!==n?null===n?void le.removeAttr(e,t):o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(r=o.get(e,t))?r:(r=le.find.attr(e,t),null==r?void 0:r))},attrHooks:{type:{set:function(e,t){if(!se.radioValue&&"radio"===t&&le.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r,o=0,i=t&&t.match(Te);if(i&&1===e.nodeType)for(;n=i[o++];)r=le.propFix[n]||n,le.expr.match.bool.test(n)&&(e[r]=!1),e.removeAttribute(n)}}),ft={set:function(e,t,n){return t===!1?le.removeAttr(e,n):e.setAttribute(n,n),n}},le.each(le.expr.match.bool.source.match(/\w+/g),function(e,t){var n=pt[t]||le.find.attr;pt[t]=function(e,t,r){var o,i;return r||(i=pt[t],pt[t]=o,o=null!=n(e,t,r)?t.toLowerCase():null,pt[t]=i),o}});var ht=/^(?:input|select|textarea|button)$/i,mt=/^(?:a|area)$/i;le.fn.extend({prop:function(e,t){return Se(this,le.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[le.propFix[e]||e]})}}),le.extend({prop:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&le.isXMLDoc(e)||(t=le.propFix[t]||t,o=le.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:e[t]=n:o&&"get"in o&&null!==(r=o.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=le.find.attr(e,"tabindex");return t?parseInt(t,10):ht.test(e.nodeName)||mt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),se.optSelected||(le.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),le.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){le.propFix[this.toLowerCase()]=this});var gt=/[\t\r\n\f]/g;le.fn.extend({addClass:function(e){var t,n,r,o,i,a,s,u=0;if(le.isFunction(e))return this.each(function(t){le(this).addClass(e.call(this,t,W(this)))});if("string"==typeof e&&e)for(t=e.match(Te)||[];n=this[u++];)if(o=W(n),r=1===n.nodeType&&(" "+o+" ").replace(gt," ")){for(a=0;i=t[a++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");s=le.trim(r),o!==s&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,o,i,a,s,u=0;if(le.isFunction(e))return this.each(function(t){le(this).removeClass(e.call(this,t,W(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(Te)||[];n=this[u++];)if(o=W(n),r=1===n.nodeType&&(" "+o+" ").replace(gt," ")){for(a=0;i=t[a++];)for(;r.indexOf(" "+i+" ")>-1;)r=r.replace(" "+i+" "," ");s=le.trim(r),o!==s&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):le.isFunction(e)?this.each(function(n){le(this).toggleClass(e.call(this,n,W(this),t),t)}):this.each(function(){var t,r,o,i;if("string"===n)for(r=0,o=le(this),i=e.match(Te)||[];t=i[r++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||(t=W(this),t&&Me.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||e===!1?"":Me.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+W(n)+" ").replace(gt," ").indexOf(t)>-1)return!0;return!1}});var vt=/\r/g,yt=/[\x20\t\r\n\f]+/g;le.fn.extend({val:function(e){var t,n,r,o=this[0];{if(arguments.length)return r=le.isFunction(e),this.each(function(n){var o;1===this.nodeType&&(o=r?e.call(this,n,le(this).val()):e,null==o?o="":"number"==typeof o?o+="":le.isArray(o)&&(o=le.map(o,function(e){return null==e?"":e+""})),t=le.valHooks[this.type]||le.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))});if(o)return t=le.valHooks[o.type]||le.valHooks[o.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:(n=o.value,"string"==typeof n?n.replace(vt,""):null==n?"":n)}}}),le.extend({valHooks:{option:{get:function(e){var t=le.find.attr(e,"value");return null!=t?t:le.trim(le.text(e)).replace(yt," ")}},select:{get:function(e){for(var t,n,r=e.options,o=e.selectedIndex,i="select-one"===e.type||o<0,a=i?null:[],s=i?o+1:r.length,u=o<0?s:i?o:0;u<s;u++)if(n=r[u],(n.selected||u===o)&&(se.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!le.nodeName(n.parentNode,"optgroup"))){if(t=le(n).val(),i)return t;a.push(t)}return a},set:function(e,t){for(var n,r,o=e.options,i=le.makeArray(t),a=o.length;a--;)r=o[a],(r.selected=le.inArray(le.valHooks.option.get(r),i)>-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),le.each(["radio","checkbox"],function(){le.valHooks[this]={set:function(e,t){if(le.isArray(t))return e.checked=le.inArray(le(e).val(),t)>-1}},se.checkOn||(le.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var bt=/^(?:focusinfocus|focusoutblur)$/;le.extend(le.event,{trigger:function(e,t,r,o){var i,a,s,u,l,c,d,f=[r||Z],p=ae.call(e,"type")?e.type:e,h=ae.call(e,"namespace")?e.namespace.split("."):[];if(a=s=r=r||Z,3!==r.nodeType&&8!==r.nodeType&&!bt.test(p+le.event.triggered)&&(p.indexOf(".")>-1&&(h=p.split("."),p=h.shift(),h.sort()),l=p.indexOf(":")<0&&"on"+p,e=e[le.expando]?e:new le.Event(p,"object"==typeof e&&e),e.isTrigger=o?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:le.makeArray(t,[e]),d=le.event.special[p]||{},o||!d.trigger||d.trigger.apply(r,t)!==!1)){if(!o&&!d.noBubble&&!le.isWindow(r)){for(u=d.delegateType||p,bt.test(u+p)||(a=a.parentNode);a;a=a.parentNode)f.push(a),s=a;s===(r.ownerDocument||Z)&&f.push(s.defaultView||s.parentWindow||n)}for(i=0;(a=f[i++])&&!e.isPropagationStopped();)e.type=i>1?u:d.bindType||p,c=(Me.get(a,"events")||{})[e.type]&&Me.get(a,"handle"),c&&c.apply(a,t),c=l&&a[l],c&&c.apply&&Oe(a)&&(e.result=c.apply(a,t),e.result===!1&&e.preventDefault());return e.type=p,o||e.isDefaultPrevented()||d._default&&d._default.apply(f.pop(),t)!==!1||!Oe(r)||l&&le.isFunction(r[p])&&!le.isWindow(r)&&(s=r[l],s&&(r[l]=null),le.event.triggered=p,r[p](),le.event.triggered=void 0,s&&(r[l]=s)),e.result}},simulate:function(e,t,n){var r=le.extend(new le.Event,n,{type:e,isSimulated:!0});le.event.trigger(r,null,t)}}),le.fn.extend({trigger:function(e,t){return this.each(function(){le.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return le.event.trigger(e,t,n,!0)}}),le.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){le.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),le.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),se.focusin="onfocusin"in n,se.focusin||le.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){le.event.simulate(t,e.target,le.event.fix(e))};le.event.special[t]={setup:function(){var r=this.ownerDocument||this,o=Me.access(r,t);o||r.addEventListener(e,n,!0),Me.access(r,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this,o=Me.access(r,t)-1;o?Me.access(r,t,o):(r.removeEventListener(e,n,!0),Me.remove(r,t))}}});var _t=n.location,wt=le.now(),Ct=/\?/;le.parseJSON=function(e){return JSON.parse(e+"")},le.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||le.error("Invalid XML: "+e),t};var xt=/#.*$/,Et=/([?&])_=[^&]*/,Tt=/^(.*?):[ \t]*([^\r\n]*)$/gm,kt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,St=/^(?:GET|HEAD)$/,Ot=/^\/\//,Mt={},At={},Nt="*/".concat("*"),It=Z.createElement("a");It.href=_t.href,le.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:_t.href,type:"GET",isLocal:kt.test(_t.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Nt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":le.parseJSON,"text xml":le.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Y(Y(e,le.ajaxSettings),t):Y(le.ajaxSettings,e)},ajaxPrefilter:V(Mt),ajaxTransport:V(At),ajax:function(e,t){function r(e,t,r,s){var l,d,y,b,w,x=t;2!==_&&(_=2,u&&n.clearTimeout(u),o=void 0,a=s||"",C.readyState=e>0?4:0,l=e>=200&&e<300||304===e,r&&(b=K(f,C,r)),b=$(f,b,C,l),l?(f.ifModified&&(w=C.getResponseHeader("Last-Modified"),w&&(le.lastModified[i]=w),w=C.getResponseHeader("etag"),w&&(le.etag[i]=w)),204===e||"HEAD"===f.type?x="nocontent":304===e?x="notmodified":(x=b.state,d=b.data,y=b.error,l=!y)):(y=x,!e&&x||(x="error",e<0&&(e=0))),C.status=e,C.statusText=(t||x)+"",l?m.resolveWith(p,[d,x,C]):m.rejectWith(p,[C,x,y]),C.statusCode(v),v=void 0,c&&h.trigger(l?"ajaxSuccess":"ajaxError",[C,f,l?d:y]),g.fireWith(p,[C,x]),c&&(h.trigger("ajaxComplete",[C,f]),--le.active||le.event.trigger("ajaxStop")))}"object"==typeof e&&(t=e,e=void 0),t=t||{};var o,i,a,s,u,l,c,d,f=le.ajaxSetup({},t),p=f.context||f,h=f.context&&(p.nodeType||p.jquery)?le(p):le.event,m=le.Deferred(),g=le.Callbacks("once memory"),v=f.statusCode||{},y={},b={},_=0,w="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(2===_){if(!s)for(s={};t=Tt.exec(a);)s[t[1].toLowerCase()]=t[2];t=s[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===_?a:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return _||(e=b[n]=b[n]||e,y[e]=t),this},overrideMimeType:function(e){return _||(f.mimeType=e),this},statusCode:function(e){var t;if(e)if(_<2)for(t in e)v[t]=[v[t],e[t]];else C.always(e[C.status]);return this},abort:function(e){var t=e||w;return o&&o.abort(t),r(0,t),this}};if(m.promise(C).complete=g.add,C.success=C.done,C.error=C.fail,f.url=((e||f.url||_t.href)+"").replace(xt,"").replace(Ot,_t.protocol+"//"),f.type=t.method||t.type||f.method||f.type,f.dataTypes=le.trim(f.dataType||"*").toLowerCase().match(Te)||[""],null==f.crossDomain){l=Z.createElement("a");try{l.href=f.url,l.href=l.href,f.crossDomain=It.protocol+"//"+It.host!=l.protocol+"//"+l.host}catch(e){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=le.param(f.data,f.traditional)),G(Mt,f,t,C),2===_)return C;c=le.event&&f.global,c&&0===le.active++&&le.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!St.test(f.type),i=f.url,f.hasContent||(f.data&&(i=f.url+=(Ct.test(i)?"&":"?")+f.data,delete f.data),f.cache===!1&&(f.url=Et.test(i)?i.replace(Et,"$1_="+wt++):i+(Ct.test(i)?"&":"?")+"_="+wt++)),f.ifModified&&(le.lastModified[i]&&C.setRequestHeader("If-Modified-Since",le.lastModified[i]),le.etag[i]&&C.setRequestHeader("If-None-Match",le.etag[i])),(f.data&&f.hasContent&&f.contentType!==!1||t.contentType)&&C.setRequestHeader("Content-Type",f.contentType),C.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Nt+"; q=0.01":""):f.accepts["*"]);for(d in f.headers)C.setRequestHeader(d,f.headers[d]);if(f.beforeSend&&(f.beforeSend.call(p,C,f)===!1||2===_))return C.abort();w="abort";for(d in{success:1,error:1,complete:1})C[d](f[d]);if(o=G(At,f,t,C)){if(C.readyState=1,c&&h.trigger("ajaxSend",[C,f]),2===_)return C;f.async&&f.timeout>0&&(u=n.setTimeout(function(){C.abort("timeout")},f.timeout));try{_=1,o.send(y,r)}catch(e){if(!(_<2))throw e;r(-1,e)}}else r(-1,"No Transport");return C},getJSON:function(e,t,n){return le.get(e,t,n,"json")},getScript:function(e,t){return le.get(e,void 0,t,"script")}}),le.each(["get","post"],function(e,t){le[t]=function(e,n,r,o){return le.isFunction(n)&&(o=o||r,r=n,n=void 0),le.ajax(le.extend({url:e,type:t,dataType:o,data:n,success:r},le.isPlainObject(e)&&e))}}),le._evalUrl=function(e){return le.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},le.fn.extend({wrapAll:function(e){var t;return le.isFunction(e)?this.each(function(t){le(this).wrapAll(e.call(this,t))}):(this[0]&&(t=le(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this)},wrapInner:function(e){return le.isFunction(e)?this.each(function(t){le(this).wrapInner(e.call(this,t))}):this.each(function(){var t=le(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=le.isFunction(e);return this.each(function(n){le(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){le.nodeName(this,"body")||le(this).replaceWith(this.childNodes)}).end()}}),le.expr.filters.hidden=function(e){return!le.expr.filters.visible(e)},le.expr.filters.visible=function(e){return e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0};var Pt=/%20/g,Dt=/\[\]$/,Rt=/\r?\n/g,jt=/^(?:submit|button|image|reset|file)$/i,Lt=/^(?:input|select|textarea|keygen)/i;le.param=function(e,t){var n,r=[],o=function(e,t){t=le.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=le.ajaxSettings&&le.ajaxSettings.traditional),le.isArray(e)||e.jquery&&!le.isPlainObject(e))le.each(e,function(){o(this.name,this.value)});else for(n in e)X(n,e[n],t,o);return r.join("&").replace(Pt,"+")},le.fn.extend({serialize:function(){return le.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=le.prop(this,"elements");return e?le.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!le(this).is(":disabled")&&Lt.test(this.nodeName)&&!jt.test(e)&&(this.checked||!Le.test(e))}).map(function(e,t){var n=le(this).val();return null==n?null:le.isArray(n)?le.map(n,function(e){return{name:t.name,value:e.replace(Rt,"\r\n")}}):{name:t.name,value:n.replace(Rt,"\r\n")}}).get()}}),le.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Bt={0:200,1223:204},Ft=le.ajaxSettings.xhr();se.cors=!!Ft&&"withCredentials"in Ft,se.ajax=Ft=!!Ft,le.ajaxTransport(function(e){var t,r;if(se.cors||Ft&&!e.crossDomain)return{send:function(o,i){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest");
+for(a in o)s.setRequestHeader(a,o[a]);t=function(e){return function(){t&&(t=r=s.onload=s.onerror=s.onabort=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?i(0,"error"):i(s.status,s.statusText):i(Bt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),r=s.onerror=t("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout(function(){t&&r()})},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),le.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return le.globalEval(e),e}}}),le.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),le.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(r,o){t=le("<script>").prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),Z.head.appendChild(t[0])},abort:function(){n&&n()}}}});var Ut=[],Ht=/(=)\?(?=&|$)|\?\?/;le.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Ut.pop()||le.expando+"_"+wt++;return this[e]=!0,e}}),le.ajaxPrefilter("json jsonp",function(e,t,r){var o,i,a,s=e.jsonp!==!1&&(Ht.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ht.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=le.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Ht,"$1"+o):e.jsonp!==!1&&(e.url+=(Ct.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return a||le.error(o+" was not called"),a[0]},e.dataTypes[0]="json",i=n[o],n[o]=function(){a=arguments},r.always(function(){void 0===i?le(n).removeProp(o):n[o]=i,e[o]&&(e.jsonpCallback=t.jsonpCallback,Ut.push(o)),a&&le.isFunction(i)&&i(a[0]),a=i=void 0}),"script"}),le.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||Z;var r=ye.exec(e),o=!n&&[];return r?[t.createElement(r[1])]:(r=g([e],t,o),o&&o.length&&le(o).remove(),le.merge([],r.childNodes))};var zt=le.fn.load;le.fn.load=function(e,t,n){if("string"!=typeof e&&zt)return zt.apply(this,arguments);var r,o,i,a=this,s=e.indexOf(" ");return s>-1&&(r=le.trim(e.slice(s)),e=e.slice(0,s)),le.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),a.length>0&&le.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done(function(e){i=arguments,a.html(r?le("<div>").append(le.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,i||[e.responseText,t,e])})}),this},le.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){le.fn[t]=function(e){return this.on(t,e)}}),le.expr.filters.animated=function(e){return le.grep(le.timers,function(t){return e===t.elem}).length},le.offset={setOffset:function(e,t,n){var r,o,i,a,s,u,l,c=le.css(e,"position"),d=le(e),f={};"static"===c&&(e.style.position="relative"),s=d.offset(),i=le.css(e,"top"),u=le.css(e,"left"),l=("absolute"===c||"fixed"===c)&&(i+u).indexOf("auto")>-1,l?(r=d.position(),a=r.top,o=r.left):(a=parseFloat(i)||0,o=parseFloat(u)||0),le.isFunction(t)&&(t=t.call(e,n,le.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+o),"using"in t?t.using.call(e,f):d.css(f)}},le.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){le.offset.setOffset(this,e,t)});var t,n,r=this[0],o={top:0,left:0},i=r&&r.ownerDocument;if(i)return t=i.documentElement,le.contains(t,r)?(o=r.getBoundingClientRect(),n=Q(i),{top:o.top+n.pageYOffset-t.clientTop,left:o.left+n.pageXOffset-t.clientLeft}):o},position:function(){if(this[0]){var e,t,n=this[0],r={top:0,left:0};return"fixed"===le.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),le.nodeName(e[0],"html")||(r=e.offset()),r.top+=le.css(e[0],"borderTopWidth",!0),r.left+=le.css(e[0],"borderLeftWidth",!0)),{top:t.top-r.top-le.css(n,"marginTop",!0),left:t.left-r.left-le.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===le.css(e,"position");)e=e.offsetParent;return e||nt})}}),le.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;le.fn[e]=function(r){return Se(this,function(e,r,o){var i=Q(e);return void 0===o?i?i[t]:e[r]:void(i?i.scrollTo(n?i.pageXOffset:o,n?o:i.pageYOffset):e[r]=o)},e,r,arguments.length)}}),le.each(["top","left"],function(e,t){le.cssHooks[t]=N(se.pixelPosition,function(e,n){if(n)return n=A(e,t),Ze.test(n)?le(e).position()[t]+"px":n})}),le.each({Height:"height",Width:"width"},function(e,t){le.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){le.fn[r]=function(r,o){var i=arguments.length&&(n||"boolean"!=typeof r),a=n||(r===!0||o===!0?"margin":"border");return Se(this,function(t,n,r){var o;return le.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===r?le.css(t,n,a):le.style(t,n,r,a)},t,i?r:void 0,i,null)}})}),le.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},size:function(){return this.length}}),le.fn.andSelf=le.fn.addBack,r=[],o=function(){return le}.apply(t,r),!(void 0!==o&&(e.exports=o));var qt=n.jQuery,Wt=n.$;return le.noConflict=function(e){return n.$===le&&(n.$=Wt),e&&n.jQuery===le&&(n.jQuery=qt),le},i||(n.jQuery=n.$=le),le})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return{connectDropTarget:e.dropTarget(),isOver:t.isOver()}}Object.defineProperty(t,"__esModule",{value:!0}),t.FillTheBlankWordDropZone=t.GroupDropZone=t.WordDropZone=t.Dropzone=void 0;var i=n(9),a=r(i),s=n(4),u=r(s),l=n(5),c=r(l),d=n(7),f=r(d),p=n(6),h=r(p),m=n(1),g=r(m),v=n(102),y=n(3),b=r(y),_=n(107),w=r(_),C={drop:function(e,t){if(!t.didDrop()){var n=[];switch(t.getItemType()){case w.default.WORD:n=[t.getItem().itemId];break;case w.default.WORD_GROUP:n=b.default.map(t.getItem().words,"id")}return e.dropItem(n,t.getSourceClientOffset()),{items:n}}return null}},x={drop:function(e,t){return e.dropItem(t.getItem().itemId),t.getItem()}},E=t.Dropzone=function(e){function t(){return(0,u.default)(this,t),(0,f.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,h.default)(t,e),(0,c.default)(t,[{key:"render",value:function(){var e=this.props,t=e.connectDropTarget,n=e.isOver,r=e.overClassName,o=e.className,i=o+(n&&r?" "+r:"");return t(g.default.createElement("div",{className:i,style:this.props.style},this.props.children))}}]),t}(g.default.Component);t.WordDropZone=(0,v.DropTarget)(w.default.WORD,x,o)(E),t.GroupDropZone=(0,v.DropTarget)([w.default.WORD_GROUP,w.default.WORD],C,o)(E),t.FillTheBlankWordDropZone=(0,v.DropTarget)(w.default.FILL_BLANK_WORD,x,o)(E)},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={audioUpload:"audioUpload",fileUpload:"fileUpload",movableWordSandbox:"movableWordSandbox",movableWordSentence:"movableWordSentence",movableFillBlank:"movableFillBlank",shortAnswer:"shortAnswer",imageSequence:"imageSequence",multipleChoice:"multipleChoice",reflection:"reflection",multipleAnswer:"multipleAnswer",multipleReflection:"multipleReflection",dragAndDrop:"dragAndDrop"};t.audioLimit=240},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return{id:e.id,originalItem:e,type:(0,s.getQbankType)(e.genusTypeId),bankId:e.bankId,assessmentId:null,name:a.default.get(e,"displayName.text"),language:(0,u.getLanguage)(a.default.get(e,"question.text.languageTypeId")),question:{id:a.default.get(e,"question.id"),type:(0,s.getQbankType)(a.default.get(e,"question.genusTypeId")),text:a.default.get(e,"question.text.text"),fileIds:a.default.get(e,"question.fileIds"),choices:null,texts:a.default.get(e,"question.texts"),correctFeedback:{text:null,answerId:null},incorrectFeedback:{text:null,answerId:null}}}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(3),a=r(i),s=n(65),u=n(104)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=(0,p.getLanguage)(t.language),r=l.default.get(t,"question.text");return!n||l.default.isUndefined(r)?null:{text:r,languageTypeId:t.language,formatTypeId:p.languages.formatTypeId,scriptTypeId:p.languages.scriptTypeId[n]}}function i(e,t,n){return{id:l.default.get(e,"question.id"),genusTypeId:d.default.question[l.default.get(t,"type")||e.type],questionString:o(e,n),fileIds:t.fileIds}}function a(e,t){var n={id:e.id,genusTypeId:d.default.item[l.default.get(t,"type")||e.type],name:l.default.get(t,"name",e.name),question:(0,f.scrub)(i(e,l.default.get(t,"question",{}),t)),answers:null};return n}function s(e,t){return(0,f.scrub)(a(e,t))}Object.defineProperty(t,"__esModule",{value:!0}),t.baseSerializeQuestion=i,t.baseSerializeItem=a,t.baseItem=s;var u=n(3),l=r(u),c=n(65),d=r(c),f=n(50),p=n(104);t.default=a},function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},52,79,[1500,52,20],[1523,52],function(e,t){t.f={}.propertyIsEnumerable},function(e,t){"use strict";var n={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,arguments:!0,arity:!0},o="function"==typeof Object.getOwnPropertySymbols;e.exports=function(e,t,i){if("string"!=typeof t){var a=Object.getOwnPropertyNames(t);o&&(a=a.concat(Object.getOwnPropertySymbols(t)));for(var s=0;s<a.length;++s)if(!(n[a[s]]||r[a[s]]||i&&i[a[s]]))try{e[a[s]]=t[a[s]]}catch(e){}}return e}},function(e,t,n){var r=n(74),o=r.Symbol;e.exports=o},function(e,t){function n(e,t){return e===t||e!==e&&t!==t}e.exports=n},function(e,t,n){function r(e){return i(e)&&o(e)}var o=n(192),i=n(101);e.exports=r},function(e,t){"use strict";var n={remove:function(e){e._reactInternalInstance=void 0},get:function(e){return e._reactInternalInstance},has:function(e){return void 0!==e._reactInternalInstance},set:function(e,t){e._reactInternalInstance=t}};e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return!(0,a.default)(this.props,e)||!(0,a.default)(this.state,t)}t.__esModule=!0,t.default=o;var i=n(1078),a=r(i);e.exports=t.default},function(e,t,n){"use strict";function r(e,t,n){if(e[t])return new Error("<"+n+'> should not have a "'+t+'" prop')}t.__esModule=!0,t.routes=t.route=t.components=t.component=t.history=void 0,t.falsy=r;var o=n(22),i=(t.history=(0,o.shape)({listen:o.func.isRequired,push:o.func.isRequired,replace:o.func.isRequired,go:o.func.isRequired,goBack:o.func.isRequired,goForward:o.func.isRequired}),t.component=(0,o.oneOfType)([o.func,o.string])),a=(t.components=(0,o.oneOfType)([i,o.object]),t.route=(0,o.oneOfType)([o.object,o.element]));t.routes=(0,o.oneOfType)([a,(0,o.arrayOf)(a)])},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(153),u=r(s),l=n(8),c=r(l),d=n(46),f=r(d),p=n(34),h=function(e){function t(){return o(this,t),i(this,e.apply(this,arguments))}return a(t,e),t.prototype.createEl=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"button",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};t=(0,p.assign)({className:this.buildCSSClass()},t),"button"!==e&&(f.default.warn("Creating a Button with an HTML element of "+e+" is deprecated; use ClickableComponent instead."),t=(0,p.assign)({tabIndex:0},t),n=(0,p.assign)({role:"button"},n)),n=(0,p.assign)({type:"button","aria-live":"polite"},n);var r=c.default.prototype.createEl.call(this,e,t,n);return this.createControlTextEl(r),r},t.prototype.addChild=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.constructor.name;return f.default.warn("Adding an actionable (user controllable) child to a Button ("+n+") is not supported; use a ClickableComponent instead."),c.default.prototype.addChild.call(this,e,t)},t.prototype.enable=function(){e.prototype.enable.call(this),this.el_.removeAttribute("disabled")},t.prototype.disable=function(){e.prototype.disable.call(this),this.el_.setAttribute("disabled","disabled")},t.prototype.handleKeyPress=function(t){32!==t.which&&13!==t.which&&e.prototype.handleKeyPress.call(this,t)},t}(u.default);c.default.registerComponent("Button",h),t.default=h},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(8),l=o(u),c=n(23),d=r(c),f=n(83),p=r(f),h=n(19),m=r(h),g=n(46),v=o(g),y=n(28),b=o(y),_=n(34),w=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.emitTapEvents(),o.enable(),o}return s(t,e),t.prototype.createEl=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"div",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};n=(0,_.assign)({className:this.buildCSSClass(),tabIndex:0},n),"button"===t&&v.default.error("Creating a ClickableComponent with an HTML element of "+t+" is not supported; use a Button instead."),r=(0,_.assign)({role:"button","aria-live":"polite"},r),this.tabIndex_=n.tabIndex;var o=e.prototype.createEl.call(this,t,n,r);return this.createControlTextEl(o),o},t.prototype.createControlTextEl=function(e){return this.controlTextEl_=d.createEl("span",{className:"vjs-control-text"}),e&&e.appendChild(this.controlTextEl_),this.controlText(this.controlText_,e),this.controlTextEl_},t.prototype.controlText=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.el();if(!e)return this.controlText_||"Need Text";var n=this.localize(e);return this.controlText_=e,this.controlTextEl_.innerHTML=n,this.nonIconControl||t.setAttribute("title",n),this},t.prototype.buildCSSClass=function(){return"vjs-control vjs-button "+e.prototype.buildCSSClass.call(this)},t.prototype.enable=function(){return this.removeClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","false"),"undefined"!=typeof this.tabIndex_&&this.el_.setAttribute("tabIndex",this.tabIndex_),this.on("tap",this.handleClick),this.on("click",this.handleClick),this.on("focus",this.handleFocus),this.on("blur",this.handleBlur),this},t.prototype.disable=function(){return this.addClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","true"),"undefined"!=typeof this.tabIndex_&&this.el_.removeAttribute("tabIndex"),this.off("tap",this.handleClick),this.off("click",this.handleClick),this.off("focus",this.handleFocus),this.off("blur",this.handleBlur),this},t.prototype.handleClick=function(e){},t.prototype.handleFocus=function(e){p.on(b.default,"keydown",m.bind(this,this.handleKeyPress))},t.prototype.handleKeyPress=function(t){32===t.which||13===t.which?(t.preventDefault(),this.handleClick(t)):e.prototype.handleKeyPress&&e.prototype.handleKeyPress.call(this,t)},t.prototype.handleBlur=function(e){p.off(b.default,"keydown",m.bind(this,this.handleKeyPress))},t}(l.default);l.default.registerComponent("ClickableComponent",w),t.default=w},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function u(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},i=e.textTracks();o.kind=t,n&&(o.label=n),r&&(o.language=r),o.tech=e;var a=new y.default(o);return i.addTrack_(a),a}t.__esModule=!0;var l=n(8),c=o(l),d=n(1199),f=o(d),p=n(1198),h=o(p),m=n(77),g=o(m),v=n(317),y=o(v),b=n(1203),_=o(b),w=n(492),C=o(w),x=n(491),E=o(x),T=n(19),k=r(T),S=n(46),O=o(S),M=n(155),A=n(493),N=n(485),I=o(N),P=n(30),D=o(P),R=n(28),j=o(R),L=n(34),B=function(e){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};i(this,t),n.reportTouchActivity=!1;var o=a(this,e.call(this,null,n,r));return o.hasStarted_=!1,o.on("playing",function(){this.hasStarted_=!0}),o.on("loadstart",function(){this.hasStarted_=!1}),o.textTracks_=n.textTracks,o.videoTracks_=n.videoTracks,o.audioTracks_=n.audioTracks,o.featuresProgressEvents||o.manualProgressOn(),o.featuresTimeupdateEvents||o.manualTimeUpdatesOn(),["Text","Audio","Video"].forEach(function(e){n["native"+e+"Tracks"]===!1&&(o["featuresNative"+e+"Tracks"]=!1)}),n.nativeCaptions===!1&&(o.featuresNativeTextTracks=!1),o.featuresNativeTextTracks||o.emulateTextTracks(),o.autoRemoteTextTracks_=new _.default,o.initTextTrackListeners(),o.initTrackListeners(),n.nativeControlsForTouch||o.emitTapEvents(),o.constructor&&(o.name_=o.constructor.name||"Unknown Tech"),o}return s(t,e),t.prototype.manualProgressOn=function(){this.on("durationchange",this.onDurationChange),this.manualProgress=!0,this.one("ready",this.trackProgress)},t.prototype.manualProgressOff=function(){this.manualProgress=!1,this.stopTrackingProgress(),this.off("durationchange",this.onDurationChange)},t.prototype.trackProgress=function(e){this.stopTrackingProgress(),this.progressInterval=this.setInterval(k.bind(this,function(){var e=this.bufferedPercent();this.bufferedPercent_!==e&&this.trigger("progress"),this.bufferedPercent_=e,1===e&&this.stopTrackingProgress()}),500)},t.prototype.onDurationChange=function(e){this.duration_=this.duration()},t.prototype.buffered=function(){return(0,M.createTimeRange)(0,0)},t.prototype.bufferedPercent=function(){return(0,A.bufferedPercent)(this.buffered(),this.duration_)},t.prototype.stopTrackingProgress=function(){this.clearInterval(this.progressInterval)},t.prototype.manualTimeUpdatesOn=function(){this.manualTimeUpdates=!0,this.on("play",this.trackCurrentTime),this.on("pause",this.stopTrackingCurrentTime)},t.prototype.manualTimeUpdatesOff=function(){this.manualTimeUpdates=!1,this.stopTrackingCurrentTime(),this.off("play",this.trackCurrentTime),this.off("pause",this.stopTrackingCurrentTime)},t.prototype.trackCurrentTime=function(){this.currentTimeInterval&&this.stopTrackingCurrentTime(),this.currentTimeInterval=this.setInterval(function(){this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},250)},t.prototype.stopTrackingCurrentTime=function(){this.clearInterval(this.currentTimeInterval),this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},t.prototype.dispose=function(){this.clearTracks(["audio","video","text"]),this.manualProgress&&this.manualProgressOff(),this.manualTimeUpdates&&this.manualTimeUpdatesOff(),e.prototype.dispose.call(this)},t.prototype.clearTracks=function(e){var t=this;e=[].concat(e),e.forEach(function(e){for(var n=t[e+"Tracks"]()||[],r=n.length;r--;){var o=n[r];"text"===e&&t.removeRemoteTextTrack(o),n.removeTrack_(o)}})},t.prototype.cleanupAutoTextTracks=function(){for(var e=this.autoRemoteTextTracks_||[],t=e.length;t--;){var n=e[t];this.removeRemoteTextTrack(n)}},t.prototype.reset=function(){},t.prototype.error=function(e){return void 0!==e&&(this.error_=new I.default(e),this.trigger("error")),this.error_},t.prototype.played=function(){return this.hasStarted_?(0,M.createTimeRange)(0,0):(0,M.createTimeRange)()},t.prototype.setCurrentTime=function(){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},t.prototype.initTextTrackListeners=function(){var e=k.bind(this,function(){this.trigger("texttrackchange")}),t=this.textTracks();t&&(t.addEventListener("removetrack",e),t.addEventListener("addtrack",e),this.on("dispose",k.bind(this,function(){t.removeEventListener("removetrack",e),t.removeEventListener("addtrack",e)})))},t.prototype.initTrackListeners=function(){var e=this,t=["video","audio"];t.forEach(function(t){var n=function(){e.trigger(t+"trackchange")},r=e[t+"Tracks"]();r.addEventListener("removetrack",n),r.addEventListener("addtrack",n),e.on("dispose",function(){r.removeEventListener("removetrack",n),r.removeEventListener("addtrack",n)})})},t.prototype.addWebVttScript_=function(){var e=this;if(!D.default.WebVTT)if(j.default.body.contains(this.el())){var t=n(1206);if(!this.options_["vtt.js"]&&(0,L.isPlain)(t)&&Object.keys(t).length>0)return void this.trigger("vttjsloaded");var r=j.default.createElement("script");r.src=this.options_["vtt.js"]||"https://vjs.zencdn.net/vttjs/0.12.3/vtt.min.js",r.onload=function(){e.trigger("vttjsloaded")},r.onerror=function(){e.trigger("vttjserror")},this.on("dispose",function(){r.onload=null,r.onerror=null}),D.default.WebVTT=!0,this.el().parentNode.appendChild(r)}else this.ready(this.addWebVttScript_)},t.prototype.emulateTextTracks=function(){var e=this,t=this.textTracks();if(t){var n=this.remoteTextTracks(),r=function(e){return t.addTrack_(e.track)},o=function(e){return t.removeTrack_(e.track)};n.on("addtrack",r),n.on("removetrack",o),this.addWebVttScript_();var i=function(){return e.trigger("texttrackchange")},a=function(){i();for(var e=0;e<t.length;e++){var n=t[e];n.removeEventListener("cuechange",i),"showing"===n.mode&&n.addEventListener("cuechange",i)}};a(),t.addEventListener("change",a),t.addEventListener("addtrack",a),t.addEventListener("removetrack",a),this.on("dispose",function(){n.off("addtrack",r),n.off("removetrack",o),t.removeEventListener("change",a),t.removeEventListener("addtrack",a),t.removeEventListener("removetrack",a);for(var e=0;e<t.length;e++){var s=t[e];s.removeEventListener("cuechange",i)}})}},t.prototype.videoTracks=function(){return this.videoTracks_=this.videoTracks_||new C.default,this.videoTracks_},t.prototype.audioTracks=function(){return this.audioTracks_=this.audioTracks_||new E.default,this.audioTracks_},t.prototype.textTracks=function(){return this.textTracks_=this.textTracks_||new _.default,this.textTracks_},t.prototype.remoteTextTracks=function(){return this.remoteTextTracks_=this.remoteTextTracks_||new _.default,this.remoteTextTracks_},t.prototype.remoteTextTrackEls=function(){return this.remoteTextTrackEls_=this.remoteTextTrackEls_||new h.default,this.remoteTextTrackEls_},t.prototype.addTextTrack=function(e,t,n){if(!e)throw new Error("TextTrack kind is required but was not provided");return u(this,e,t,n)},t.prototype.createRemoteTextTrack=function(e){var t=(0,g.default)(e,{tech:this});return new f.default(t)},t.prototype.addRemoteTextTrack=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1],n=this.createRemoteTextTrack(e);return t!==!0&&t!==!1&&(O.default.warn('Calling addRemoteTextTrack without explicitly setting the "manualCleanup" parameter to `true` is deprecated and default to `false` in future version of video.js'),t=!0),this.remoteTextTrackEls().addTrackElement_(n),this.remoteTextTracks().addTrack_(n.track),t!==!0&&this.autoRemoteTextTracks_.addTrack_(n.track),n},t.prototype.removeRemoteTextTrack=function(e){var t=this.remoteTextTrackEls().getTrackElementByTrack_(e);this.remoteTextTrackEls().removeTrackElement_(t),this.remoteTextTracks().removeTrack_(e),this.autoRemoteTextTracks_.removeTrack_(e)},t.prototype.setPoster=function(){},t.prototype.canPlayType=function(){return""},t.isTech=function(e){return e.prototype instanceof t||e instanceof t||e===t},t.registerTech=function(e,n){if(t.techs_||(t.techs_={}),!t.isTech(n))throw new Error("Tech "+e+" must be a Tech");return t.techs_[e]=n,n},t.getTech=function(e){return t.techs_&&t.techs_[e]?t.techs_[e]:D.default&&D.default.videojs&&D.default.videojs[e]?(O.default.warn("The "+e+" tech was added to the videojs object when it should be registered using videojs.registerTech(name, tech)"),D.default.videojs[e]):void 0},t}(c.default);B.prototype.textTracks_,B.prototype.audioTracks_,B.prototype.videoTracks_,B.prototype.featuresVolumeControl=!0,B.prototype.featuresFullscreenResize=!1,B.prototype.featuresPlaybackRate=!1,B.prototype.featuresProgressEvents=!1,B.prototype.featuresTimeupdateEvents=!1,B.prototype.featuresNativeTextTracks=!1,B.withSourceHandlers=function(e){e.registerSourceHandler=function(t,n){var r=e.sourceHandlers;r||(r=e.sourceHandlers=[]),void 0===n&&(n=r.length),r.splice(n,0,t)},e.canPlayType=function(t){for(var n=e.sourceHandlers||[],r=void 0,o=0;o<n.length;o++)if(r=n[o].canPlayType(t))return r;return""},e.selectSourceHandler=function(t,n){for(var r=e.sourceHandlers||[],o=void 0,i=0;i<r.length;i++)if(o=r[i].canHandleSource(t,n))return r[i];return null},e.canPlaySource=function(t,n){var r=e.selectSourceHandler(t,n);return r?r.canHandleSource(t,n):""};var t=["seekable","duration"];t.forEach(function(e){var t=this[e];"function"==typeof t&&(this[e]=function(){return this.sourceHandler_&&this.sourceHandler_[e]?this.sourceHandler_[e].apply(this.sourceHandler_,arguments):t.apply(this,arguments)})},e.prototype),e.prototype.setSource=function(t){var n=e.selectSourceHandler(t,this.options_);return n||(e.nativeSourceHandler?n=e.nativeSourceHandler:O.default.error("No source hander found for the current source.")),this.disposeSourceHandler(),this.off("dispose",this.disposeSourceHandler),n!==e.nativeSourceHandler&&(this.currentSource_=t,this.off(this.el_,"loadstart",e.prototype.firstLoadStartListener_),this.off(this.el_,"loadstart",e.prototype.successiveLoadStartListener_),this.one(this.el_,"loadstart",e.prototype.firstLoadStartListener_)),this.sourceHandler_=n.handleSource(t,this,this.options_),this.on("dispose",this.disposeSourceHandler),this},e.prototype.firstLoadStartListener_=function(){this.one(this.el_,"loadstart",e.prototype.successiveLoadStartListener_)},e.prototype.successiveLoadStartListener_=function(){this.disposeSourceHandler(),this.one(this.el_,"loadstart",e.prototype.successiveLoadStartListener_)},e.prototype.disposeSourceHandler=function(){this.currentSource_&&(this.clearTracks(["audio","video"]),this.currentSource_=null),this.cleanupAutoTextTracks(),this.sourceHandler_&&(this.off(this.el_,"loadstart",e.prototype.firstLoadStartListener_),this.off(this.el_,"loadstart",e.prototype.successiveLoadStartListener_),this.sourceHandler_.dispose&&this.sourceHandler_.dispose(),this.sourceHandler_=null)}},c.default.registerComponent("Tech",B),c.default.registerComponent("MediaTechController",B),B.registerTech("Tech",B),t.default=B},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){if(t<0||t>n)throw new Error("Failed to execute '"+e+"' on 'TimeRanges': The index provided ("+t+") is greater than or equal to the maximum bound ("+n+").")}function i(e,t,n,r){return void 0===r&&(l.default.warn("DEPRECATED: Function '"+e+"' on 'TimeRanges' called without an index argument."),r=0),o(e,r,n.length-1),n[r][t]}function a(e){return void 0===e||0===e.length?{length:0,start:function(){throw new Error("This TimeRanges object is empty")},end:function(){throw new Error("This TimeRanges object is empty")}}:{length:e.length,start:i.bind(null,"start",0,e),end:i.bind(null,"end",1,e)}}function s(e,t){return Array.isArray(e)?a(e):void 0===e||void 0===t?a():a([[e,t]])}t.__esModule=!0,t.createTimeRange=void 0,t.createTimeRanges=s;var u=n(46),l=r(u);t.createTimeRange=s},,function(e,t){"use strict";function n(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return""+e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n},[1568,59,88,35],function(e,t,n){n(622);for(var r=n(47),o=n(86),i=n(108),a=n(35)("toStringTag"),s=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],u=0;u<5;u++){var l=s[u],c=r[l],d=c&&c.prototype;d&&!d[a]&&o(d,a,l),i[l]=i.Array}},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(c===setTimeout)return setTimeout(e,0);if((c===n||!c)&&setTimeout)return c=setTimeout,setTimeout(e,0);try{return c(e,0)}catch(t){try{return c.call(null,e,0)}catch(t){return c.call(this,e,0)}}}function i(e){if(d===clearTimeout)return clearTimeout(e);if((d===r||!d)&&clearTimeout)return d=clearTimeout,clearTimeout(e);try{return d(e)}catch(t){try{return d.call(null,e)}catch(t){return d.call(this,e)}}}function a(){m&&p&&(m=!1,p.length?h=p.concat(h):g=-1,h.length&&s())}function s(){if(!m){var e=o(a);m=!0;for(var t=h.length;t;){for(p=h,h=[];++g<t;)p&&p[g].run();g=-1,t=h.length}p=null,m=!1,i(e)}}function u(e,t){this.fun=e,this.array=t}function l(){}var c,d,f=e.exports={};!function(){try{c="function"==typeof setTimeout?setTimeout:n}catch(e){c=n}try{d="function"==typeof clearTimeout?clearTimeout:r}catch(e){d=r}}();var p,h=[],m=!1,g=-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 u(e,t)),1!==h.length||m||o(s)},u.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=l,f.addListener=l,f.once=l,f.off=l,f.removeListener=l,f.removeAllListeners=l,f.emit=l,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){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(66),i=r(o),a=n(9),s=r(a),u=n(4),l=r(u),c=n(5),d=r(c),f=n(7),p=r(f),h=n(6),m=r(h),g=n(1),v=r(g),y=n(3),b=r(y),_=n(498),w=r(_),C=n(211),x=n(104),E=function(e){function t(){return(0,l.default)(this,t),(0,p.default)(this,(t.__proto__||(0,
+s.default)(t)).apply(this,arguments))}return(0,m.default)(t,e),(0,d.default)(t,[{key:"updateItem",value:function(e,t){this.props.updateItem({question:(0,i.default)({},this.props.feedbackType,{text:e,fileIds:t})})}},{key:"render",value:function(){var e=this,t=b.default.get(this.props.feedback,"texts"),n=(0,C.languageText)(t,this.props.language);return v.default.createElement("div",{className:"au-c-input au-c-input-label--left au-c-feedback"},v.default.createElement("label",{htmlFor:"feedbackCorrect"},this.props.labelText),v.default.createElement(w.default,{editorKey:(0,x.getLanguage)(this.props.language),textSize:"smaller",fileIds:b.default.get(this.props.feedback,"fileIds"),text:n,bankId:this.props.bankId,onBlur:function(t,n){return e.updateItem(t,n)}}))}}]),t}(v.default.Component);t.default=E},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),l=r(u),c=n(7),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),g=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e=this.props.hide?this.props.className+" u-hide":this.props.className;return m.default.createElement("div",{className:e,dangerouslySetInnerHTML:{__html:this.props.material}})}}]),t}(m.default.Component);t.default=g},function(e,t,n){e.exports={default:n(599),__esModule:!0}},function(e,t){e.exports=!0},144,[1565,51,24,105],98,[1496,45,31,97],function(e,t,n){"use strict";var r=n(14),o=n(2),i=n(43),a=n(95),s=n(78),u=n(111),l=n(90),c=n(18),d=n(15),f=n(174),p=n(113),h=n(244);e.exports=function(e,t,n,m,g,v){var y=r[e],b=y,_=g?"set":"add",w=b&&b.prototype,C={},x=function(e){var t=w[e];i(w,e,"delete"==e?function(e){return!(v&&!c(e))&&t.call(this,0===e?0:e)}:"has"==e?function(e){return!(v&&!c(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return v&&!c(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,n){return t.call(this,0===e?0:e,n),this})};if("function"==typeof b&&(v||w.forEach&&!d(function(){(new b).entries().next()}))){var E=new b,T=E[_](v?{}:-0,1)!=E,k=d(function(){E.has(1)}),S=f(function(e){new b(e)}),O=!v&&d(function(){for(var e=new b,t=5;t--;)e[_](t,t);return!e.has(-0)});S||(b=t(function(t,n){l(t,b,e);var r=h(new y,t,b);return void 0!=n&&u(n,g,r[_],r),r}),b.prototype=w,w.constructor=b),(k||O)&&(x("delete"),x("has"),g&&x("get")),(O||T)&&x(_),v&&w.clear&&delete w.clear}else b=m.getConstructor(t,e,g,_),a(b.prototype,n),s.NEED=!0;return p(b,e),C[e]=b,o(o.G+o.W+o.F*(b!=y),C),v||m.setStrong(b,e,g),b}},function(e,t,n){"use strict";var r=n(42),o=n(43),i=n(15),a=n(53),s=n(20);e.exports=function(e,t,n){var u=s(e),l=n(a,u,""[e]),c=l[0],d=l[1];i(function(){var t={};return t[u]=function(){return 7},7!=""[e](t)})&&(o(String.prototype,e,c),r(RegExp.prototype,u,2==t?function(e,t){return d.call(e,this,t)}:function(e){return d.call(e,this)}))}},function(e,t,n){"use strict";var r=n(12);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(18),o=n(52),i=n(20)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},[1537,20],function(e,t,n){e.exports=n(91)||!n(15)(function(){var e=Math.random();__defineSetter__.call(null,e,function(){}),delete n(14)[e]})},function(e,t){t.f=Object.getOwnPropertySymbols},[1572,14],function(e,t,n){for(var r,o=n(14),i=n(42),a=n(98),s=a("typed_array"),u=a("view"),l=!(!o.ArrayBuffer||!o.DataView),c=l,d=0,f=9,p="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");d<f;)(r=o[p[d++]])?(i(r.prototype,s,!0),i(r.prototype,u,!0)):c=!1;e.exports={ABV:l,CONSTR:c,TYPED:s,VIEW:u}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{publishSource:!0,clientOffset:null},n=t.publishSource,r=t.clientOffset,o=t.getSourceClientOffset;(0,d.default)((0,p.default)(e),"Expected sourceIds to be an array.");var i=this.getMonitor(),a=this.getRegistry();(0,d.default)(!i.isDragging(),"Cannot call beginDrag while dragging.");for(var s=0;s<e.length;s++)(0,d.default)(a.getSource(e[s]),"Expected sourceIds to be registered.");for(var u=null,l=e.length-1;l>=0;l--)if(i.canDragSource(e[l])){u=e[l];break}if(null!==u){var c=null;r&&((0,d.default)("function"==typeof o,"When clientOffset is provided, getSourceClientOffset must be a function."),c=o(u));var f=a.getSource(u),h=f.beginDrag(i,u);(0,d.default)((0,m.default)(h),"Item must be an object."),a.pinSource(u);var g=a.getSourceType(u);return{type:y,itemType:g,item:h,sourceId:u,clientOffset:r,sourceClientOffset:c,isSourcePublic:n}}}function i(){var e=this.getMonitor();if(e.isDragging())return{type:b}}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.clientOffset,r=void 0===n?null:n;(0,d.default)((0,p.default)(e),"Expected targetIds to be an array.");var o=e.slice(0),i=this.getMonitor(),a=this.getRegistry();(0,d.default)(i.isDragging(),"Cannot call hover while not dragging."),(0,d.default)(!i.didDrop(),"Cannot call hover after drop.");for(var s=0;s<o.length;s++){var u=o[s];(0,d.default)(o.lastIndexOf(u)===s,"Expected targetIds to be unique in the passed array.");var l=a.getTarget(u);(0,d.default)(l,"Expected targetIds to be registered.")}for(var c=i.getItemType(),f=o.length-1;f>=0;f--){var h=o[f],m=a.getTargetType(h);(0,v.default)(m,c)||o.splice(f,1)}for(var g=0;g<o.length;g++){var y=o[g],b=a.getTarget(y);b.hover(i,y)}return{type:_,targetIds:o,clientOffset:r}}function s(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this.getMonitor(),r=this.getRegistry();(0,d.default)(n.isDragging(),"Cannot call drop while not dragging."),(0,d.default)(!n.didDrop(),"Cannot call drop twice during one drag operation.");var o=n.getTargetIds().filter(n.canDropOnTarget,n);o.reverse(),o.forEach(function(o,i){var a=r.getTarget(o),s=a.drop(n,o);(0,d.default)("undefined"==typeof s||(0,m.default)(s),"Drop result must either be an object or undefined."),"undefined"==typeof s&&(s=0===i?{}:n.getDropResult()),e.store.dispatch({type:w,dropResult:l({},t,s)})})}function u(){var e=this.getMonitor(),t=this.getRegistry();(0,d.default)(e.isDragging(),"Cannot call endDrag while not dragging.");var n=e.getSourceId(),r=t.getSource(n,!0);return r.endDrag(e,n),t.unpinSource(),{type:C}}Object.defineProperty(t,"__esModule",{value:!0}),t.END_DRAG=t.DROP=t.HOVER=t.PUBLISH_DRAG_SOURCE=t.BEGIN_DRAG=void 0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.beginDrag=o,t.publishDragSource=i,t.hover=a,t.drop=s,t.endDrag=u;var c=n(17),d=r(c),f=n(39),p=r(f),h=n(118),m=r(h),g=n(389),v=r(g),y=t.BEGIN_DRAG="dnd-core/BEGIN_DRAG",b=t.PUBLISH_DRAG_SOURCE="dnd-core/PUBLISH_DRAG_SOURCE",_=t.HOVER="dnd-core/HOVER",w=t.DROP="dnd-core/DROP",C=t.END_DRAG="dnd-core/END_DRAG"},function(e,t){"use strict";function n(e){return{type:a,sourceId:e}}function r(e){return{type:s,targetId:e}}function o(e){return{type:u,sourceId:e}}function i(e){return{type:l,targetId:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.addSource=n,t.addTarget=r,t.removeSource=o,t.removeTarget=i;var a=t.ADD_SOURCE="dnd-core/ADD_SOURCE",s=t.ADD_TARGET="dnd-core/ADD_TARGET",u=t.REMOVE_SOURCE="dnd-core/REMOVE_SOURCE",l=t.REMOVE_TARGET="dnd-core/REMOVE_TARGET"},function(e,t){"use strict";t.__esModule=!0;t.PUSH="PUSH",t.REPLACE="REPLACE",t.POP="POP"},function(e,t){"use strict";t.__esModule=!0;t.addEventListener=function(e,t,n){return e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)},t.removeEventListener=function(e,t,n){return e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent("on"+t,n)},t.supportsHistory=function(){var e=window.navigator.userAgent;return(e.indexOf("Android 2.")===-1&&e.indexOf("Android 4.0")===-1||e.indexOf("Mobile Safari")===-1||e.indexOf("Chrome")!==-1||e.indexOf("Windows Phone")!==-1)&&(window.history&&"pushState"in window.history)},t.supportsGoWithoutReloadUsingHash=function(){return window.navigator.userAgent.indexOf("Firefox")===-1},t.supportsPopstateOnHashchange=function(){return window.navigator.userAgent.indexOf("Trident")===-1},t.isExtraneousPopstateEvent=function(e){return void 0===e.state&&navigator.userAgent.indexOf("CriOS")===-1}},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var o=n(919),i=n(920),a=n(921),s=n(922),u=n(923);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=s,r.prototype.set=u,e.exports=r},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new o;++t<n;)this.add(e[t])}var o=n(271),i=n(936),a=n(937);r.prototype.add=r.prototype.push=i,r.prototype.has=a,e.exports=r},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}e.exports=n},function(e,t,n){function r(e,t){for(var n=e.length;n--;)if(o(e[n][0],t))return n;return-1}var o=n(147);e.exports=r},function(e,t){function n(e,t){return e.has(t)}e.exports=n},function(e,t,n){function r(e,t){var n=e.__data__;return o(t)?n["string"==typeof t?"string":"hash"]:n.map}var o=n(917);e.exports=r},function(e,t,n){var r=n(100),o=r(Object,"create");e.exports=o},function(e,t,n){function r(e){if("string"==typeof e||o(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}var o=n(283),i=1/0;e.exports=r},function(e,t){function n(e){return e}e.exports=n},function(e,t,n){function r(e){return null!=e&&i(e.length)&&!o(e)}var o=n(417),i=n(282);e.exports=r},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e){return new s.default(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.getEmptyImage=t.NativeTypes=void 0,t.default=i;var a=n(981),s=o(a),u=n(985),l=o(u),c=n(286),d=r(c);t.NativeTypes=d,t.getEmptyImage=l.default},function(e,t,n){"use strict";function r(e,t){}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";function r(e){return"topMouseUp"===e||"topTouchEnd"===e||"topTouchCancel"===e}function o(e){return"topMouseMove"===e||"topTouchMove"===e}function i(e){return"topMouseDown"===e||"topTouchStart"===e}function a(e,t,n,r){var o=e.type||"unknown-event";e.currentTarget=v.getNodeFromInstance(r),t?m.invokeGuardedCallbackWithCatch(o,n,e):m.invokeGuardedCallback(o,n,e),e.currentTarget=null}function s(e,t){var n=e._dispatchListeners,r=e._dispatchInstances;if(Array.isArray(n))for(var o=0;o<n.length&&!e.isPropagationStopped();o++)a(e,t,n[o],r[o]);else n&&a(e,t,n,r);e._dispatchListeners=null,e._dispatchInstances=null}function u(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t)){for(var r=0;r<t.length&&!e.isPropagationStopped();r++)if(t[r](e,n[r]))return n[r]}else if(t&&t(e,n))return n;return null}function l(e){var t=u(e);return e._dispatchInstances=null,e._dispatchListeners=null,t}function c(e){var t=e._dispatchListeners,n=e._dispatchInstances;Array.isArray(t)?h("103"):void 0,e.currentTarget=t?v.getNodeFromInstance(n):null;var r=t?t(e):null;return e.currentTarget=null,e._dispatchListeners=null,e._dispatchInstances=null,r}function d(e){return!!e._dispatchListeners}var f,p,h=n(16),m=n(294),g=(n(10),n(13),{injectComponentTree:function(e){f=e},injectTreeTraversal:function(e){p=e}}),v={isEndish:r,isMoveish:o,isStartish:i,executeDirectDispatch:c,executeDispatchesInOrder:s,executeDispatchesInOrderStopAtTrue:l,hasDispatches:d,getInstanceFromNode:function(e){return f.getInstanceFromNode(e)},getNodeFromInstance:function(e){return f.getNodeFromInstance(e)},isAncestor:function(e,t){return p.isAncestor(e,t)},getLowestCommonAncestor:function(e,t){return p.getLowestCommonAncestor(e,t)},getParentInstance:function(e){return p.getParentInstance(e)},traverseTwoPhase:function(e,t,n){return p.traverseTwoPhase(e,t,n)},traverseEnterLeave:function(e,t,n,r,o){return p.traverseEnterLeave(e,t,n,r,o)},injection:g};e.exports=v},function(e,t,n){"use strict";function r(e){return Object.prototype.hasOwnProperty.call(e,m)||(e[m]=p++,d[e[m]]={}),d[e[m]]}var o,i=n(21),a=n(290),s=n(1033),u=n(296),l=n(1065),c=n(301),d={},f=!1,p=0,h={topAbort:"abort",topAnimationEnd:l("animationend")||"animationend",topAnimationIteration:l("animationiteration")||"animationiteration",topAnimationStart:l("animationstart")||"animationstart",topBlur:"blur",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topChange:"change",topClick:"click",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topScroll:"scroll",topSeeked:"seeked",topSeeking:"seeking",topSelectionChange:"selectionchange",topStalled:"stalled",topSuspend:"suspend",topTextInput:"textInput",topTimeUpdate:"timeupdate",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topTransitionEnd:l("transitionend")||"transitionend",topVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"},m="_reactListenersID"+String(Math.random()).slice(2),g=i({},s,{ReactEventListener:null,injection:{injectReactEventListener:function(e){e.setHandleTopLevel(g.handleTopLevel),g.ReactEventListener=e}},setEnabled:function(e){g.ReactEventListener&&g.ReactEventListener.setEnabled(e)},isEnabled:function(){return!(!g.ReactEventListener||!g.ReactEventListener.isEnabled())},listenTo:function(e,t){for(var n=t,o=r(n),i=a.registrationNameDependencies[e],s=0;s<i.length;s++){var u=i[s];o.hasOwnProperty(u)&&o[u]||("topWheel"===u?c("wheel")?g.ReactEventListener.trapBubbledEvent("topWheel","wheel",n):c("mousewheel")?g.ReactEventListener.trapBubbledEvent("topWheel","mousewheel",n):g.ReactEventListener.trapBubbledEvent("topWheel","DOMMouseScroll",n):"topScroll"===u?c("scroll",!0)?g.ReactEventListener.trapCapturedEvent("topScroll","scroll",n):g.ReactEventListener.trapBubbledEvent("topScroll","scroll",g.ReactEventListener.WINDOW_HANDLE):"topFocus"===u||"topBlur"===u?(c("focus",!0)?(g.ReactEventListener.trapCapturedEvent("topFocus","focus",n),g.ReactEventListener.trapCapturedEvent("topBlur","blur",n)):c("focusin")&&(g.ReactEventListener.trapBubbledEvent("topFocus","focusin",n),g.ReactEventListener.trapBubbledEvent("topBlur","focusout",n)),o.topBlur=!0,o.topFocus=!0):h.hasOwnProperty(u)&&g.ReactEventListener.trapBubbledEvent(u,h[u],n),o[u]=!0)}},trapBubbledEvent:function(e,t,n){return g.ReactEventListener.trapBubbledEvent(e,t,n)},trapCapturedEvent:function(e,t,n){return g.ReactEventListener.trapCapturedEvent(e,t,n)},supportsEventPageXY:function(){if(!document.createEvent)return!1;var e=document.createEvent("MouseEvent");return null!=e&&"pageX"in e},ensureScrollValueMonitoring:function(){if(void 0===o&&(o=g.supportsEventPageXY()),!o&&!f){var e=u.refreshScrollValues;g.ReactEventListener.monitorScrollValue(e),f=!0}}});e.exports=g},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(124),i=n(296),a=n(299),s={screenX:null,screenY:null,clientX:null,clientY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:a,button:function(e){var t=e.button;return"which"in e?t:2===t?2:4===t?1:0},buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},pageX:function(e){return"pageX"in e?e.pageX:e.clientX+i.currentScrollLeft},pageY:function(e){return"pageY"in e?e.pageY:e.clientY+i.currentScrollTop}};o.augmentClass(r,s),e.exports=r},function(e,t,n){"use strict";var r=n(16),o=(n(10),{}),i={reinitializeTransaction:function(){this.transactionWrappers=this.getTransactionWrappers(),this.wrapperInitData?this.wrapperInitData.length=0:this.wrapperInitData=[],this._isInTransaction=!1},_isInTransaction:!1,getTransactionWrappers:null,isInTransaction:function(){return!!this._isInTransaction},perform:function(e,t,n,o,i,a,s,u){this.isInTransaction()?r("27"):void 0;var l,c;try{this._isInTransaction=!0,l=!0,this.initializeAll(0),c=e.call(t,n,o,i,a,s,u),l=!1}finally{try{if(l)try{this.closeAll(0)}catch(e){}else this.closeAll(0)}finally{this._isInTransaction=!1}}return c},initializeAll:function(e){for(var t=this.transactionWrappers,n=e;n<t.length;n++){var r=t[n];try{this.wrapperInitData[n]=o,this.wrapperInitData[n]=r.initialize?r.initialize.call(this):null}finally{if(this.wrapperInitData[n]===o)try{this.initializeAll(n+1)}catch(e){}}}},closeAll:function(e){this.isInTransaction()?void 0:r("28");for(var t=this.transactionWrappers,n=e;n<t.length;n++){var i,a=t[n],s=this.wrapperInitData[n];try{i=!0,s!==o&&a.close&&a.close.call(this,s),i=!1}finally{if(i)try{this.closeAll(n+1)}catch(e){}}}this.wrapperInitData.length=0}};e.exports=i},function(e,t){"use strict";function n(e){var t=""+e,n=o.exec(t);if(!n)return t;var r,i="",a=0,s=0;for(a=n.index;a<t.length;a++){switch(t.charCodeAt(a)){case 34:r="&quot;";break;case 38:r="&amp;";break;case 39:r="&#x27;";break;case 60:r="&lt;";break;case 62:r="&gt;";break;default:continue}s!==a&&(i+=t.substring(s,a)),s=a+1,i+=r}return s!==a?i+t.substring(s,a):i}function r(e){return"boolean"==typeof e||"number"==typeof e?""+e:n(e)}var o=/["'&<>]/;e.exports=r},function(e,t,n){"use strict";var r,o=n(38),i=n(289),a=/^[ \r\n\t\f]/,s=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,u=n(297),l=u(function(e,t){if(e.namespaceURI!==i.svg||"innerHTML"in e)e.innerHTML=t;else{r=r||document.createElement("div"),r.innerHTML="<svg>"+t+"</svg>";for(var n=r.firstChild;n.firstChild;)e.appendChild(n.firstChild)}});if(o.canUseDOM){var c=document.createElement("div");c.innerHTML=" ",""===c.innerHTML&&(l=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),a.test(t)||"<"===t[0]&&s.test(t)){e.innerHTML=String.fromCharCode(65279)+t;var n=e.firstChild;1===n.data.length?e.removeChild(n):n.deleteData(0,1)}else e.innerHTML=t}),c=null}e.exports=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(476);Object.defineProperty(t,"instrument",{enumerable:!0,get:function(){return r(o).default}}),Object.defineProperty(t,"ActionCreators",{enumerable:!0,get:function(){return o.ActionCreators}}),Object.defineProperty(t,"ActionTypes",{enumerable:!0,get:function(){return o.ActionTypes}});var i=n(1137);Object.defineProperty(t,"persistState",{enumerable:!0,get:function(){return r(i).default}});var a=n(1136);Object.defineProperty(t,"createDevTools",{enumerable:!0,get:function(){return r(a).default}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(483),u=r(s),l=n(8),c=r(l),d=n(316),f=r(d),p=n(1175),h=r(p),m=function(e){function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o(this,t),r.tracks=n.textTracks(),i(this,e.call(this,n,r))}return a(t,e),t.prototype.createItems=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];e.push(new h.default(this.player_,{kind:this.kind_})),this.hideThreshold_+=1;var t=this.player_.textTracks();if(!t)return e;for(var n=0;n<t.length;n++){var r=t[n];r.kind===this.kind_&&e.push(new f.default(this.player_,{track:r,selectable:!0}))}return e},t}(u.default);c.default.registerComponent("TextTrackButton",m),t.default=m},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.__esModule=!0;var o=n(83),i=r(o),a=function(){};a.prototype.allowedEvents_={},a.prototype.on=function(e,t){var n=this.addEventListener;this.addEventListener=function(){},i.on(this,e,t),this.addEventListener=n},a.prototype.addEventListener=a.prototype.on,a.prototype.off=function(e,t){i.off(this,e,t)},a.prototype.removeEventListener=a.prototype.off,a.prototype.one=function(e,t){var n=this.addEventListener;this.addEventListener=function(){},i.one(this,e,t),this.addEventListener=n},a.prototype.trigger=function(e){var t=e.type||e;"string"==typeof e&&(e={type:t}),e=i.fixEvent(e),this.allowedEvents_[t]&&this["on"+t]&&this["on"+t](e),i.trigger(this,e)},a.prototype.dispatchEvent=a.prototype.trigger,t.default=a},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(153),u=r(s),l=n(8),c=r(l),d=n(34),f=function(e){function t(n,r){o(this,t);var a=i(this,e.call(this,n,r));return a.selectable=r.selectable,a.selected(r.selected),a.selectable?a.el_.setAttribute("role","menuitemcheckbox"):a.el_.setAttribute("role","menuitem"),a}return a(t,e),t.prototype.createEl=function(t,n,r){return this.nonIconControl=!0,e.prototype.createEl.call(this,"li",(0,d.assign)({className:"vjs-menu-item",innerHTML:this.localize(this.options_.label),tabIndex:-1},n),r)},t.prototype.handleClick=function(e){this.selected(!0)},t.prototype.selected=function(e){this.selectable&&(e?(this.addClass("vjs-selected"),this.el_.setAttribute("aria-checked","true"),this.controlText(", selected")):(this.removeClass("vjs-selected"),this.el_.setAttribute("aria-checked","false"),this.controlText(" ")))},t}(u.default);c.default.registerComponent("MenuItem",f),t.default=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.isCrossOrigin=t.getFileExtension=t.getAbsoluteURL=t.parseUrl=void 0;var o=n(28),i=r(o),a=n(30),s=r(a),u=t.parseUrl=function(e){var t=["protocol","hostname","port","pathname","search","hash","host"],n=i.default.createElement("a");n.href=e;var r=""===n.host&&"file:"!==n.protocol,o=void 0;r&&(o=i.default.createElement("div"),o.innerHTML='<a href="'+e+'"></a>',n=o.firstChild,o.setAttribute("style","display:none; position:absolute;"),i.default.body.appendChild(o));for(var a={},s=0;s<t.length;s++)a[t[s]]=n[t[s]];return"http:"===a.protocol&&(a.host=a.host.replace(/:80$/,"")),"https:"===a.protocol&&(a.host=a.host.replace(/:443$/,"")),r&&i.default.body.removeChild(o),a};t.getAbsoluteURL=function(e){if(!e.match(/^https?:\/\//)){var t=i.default.createElement("div");t.innerHTML='<a href="'+e+'">x</a>',e=t.firstChild.href}return e},t.getFileExtension=function(e){if("string"==typeof e){var t=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/i,n=t.exec(e);if(n)return n.pop().toLowerCase()}return""},t.isCrossOrigin=function(e){var t=s.default.location,n=u(e),r=":"===n.protocol?t.protocol:n.protocol,o=r+n.host!==t.protocol+t.host;return o}},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children=[],e.webpackPolyfill=1),e}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return a.default.createElement("div",{className:"loader"},e.children)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(467);t.default=r.hashHistory},,function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={GET:"get",POST:"post",PUT:"put",DEL:"delete",TIMEOUT:2e4}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.languageText=t.getLocation=t.htmlDecodeWithRoot=t.htmlDecode=t.makeId=t.currentTime=void 0;var o=n(3),i=r(o),a=(t.currentTime=function(){return(new Date).getTime()},t.makeId=function(){var e,t,n;for(e="",n=0;n<32;n++)8!=n&&12!=n&&16!=n&&20!=n||(e+="-"),t=Math.floor(16*Math.random()).toString(16).toUpperCase(),e+=t;return e},t.htmlDecode=function(e){var t=document.createElement("div");return t.innerHTML=e,0===t.childNodes.length?"":t.childNodes[0].nodeValue});t.htmlDecodeWithRoot=function(e){var t=a(e);return t&&t.length>0?"<root>"+a(e)+"</root>":null},t.getLocation=function(e){var t=document.createElement("a");return t.href=e,t},t.languageText=function(e,t){var n=i.default.find(e,{languageTypeId:t});return i.default.get(n,"text","")}},[1500,140,35],53,[1547,67,614,228,231,227,346],[1584,233],function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.initialOffset,n=e.currentOffset,r=e.currentClientOffset;if(!t||!n)return{display:"none"};var o=void 0,i=void 0;e.itemType===C.default.CLIX_DROPPABLE?(o=r.x-e.item.width/2,i=r.y-e.item.height/2):(o=n.x,i=n.y);var a="translate("+o+"px, "+i+"px)";return{transform:a,WebkitTransform:a}}function i(e){return{item:e.getItem(),itemType:e.getItemType(),initialOffset:e.getInitialSourceClientOffset(),currentOffset:e.getSourceClientOffset(),currentClientOffset:e.getClientOffset(),isDragging:e.isDragging()}}Object.defineProperty(t,"__esModule",{value:!0}),t.CustomDragLayer=void 0;var a=n(9),s=r(a),u=n(4),l=r(u),c=n(5),d=r(c),f=n(7),p=r(f),h=n(6),m=r(h),g=n(1),v=r(g),y=n(102),b=n(3),_=r(b),w=n(107),C=r(w),x=n(162),E=r(x),T=n(333),k=r(T),S={position:"fixed",pointerEvents:"none",zIndex:100,left:0,top:0,width:"100%",height:"100%"},O=v.default.createElement("div",null),M=t.CustomDragLayer=function(e){function t(){return(0,l.default)(this,t),(0,p.default)(this,(t.__proto__||(0,s.default)(t)).apply(this,arguments))}return(0,m.default)(t,e),(0,d.default)(t,[{key:"renderItem",value:function(e,t){switch(e){case C.default.WORD_GROUP:return _.default.map(t.words,function(e){return v.default.createElement(E.default,{key:e.id,material:e.material,className:t.wordClassName})});case C.default.FILL_BLANK_WORD:case C.default.WORD:return v.default.createElement(E.default,{key:t.itemId,material:t.material,className:t.wordClassName});case C.default.CLIX_DROPPABLE:return v.default.createElement(k.default,{key:t.droppableId,className:"c-droppable-item",text:t.droppableText,droppableId:t.droppableId});default:return O}}},{key:"render",value:function(){var e=this.props,t=e.item,n=e.itemType,r=e.isDragging;return r?v.default.createElement("div",{style:S},v.default.createElement("div",{style:o(this.props)},this.renderItem(n,t))):null}}]),t}(v.default.Component);t.default=(0,y.DragLayer)(i)(M)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(9),a=o(i),s=n(4),u=o(s),l=n(5),c=o(l),d=n(7),f=o(d),p=n(6),h=o(p),m=n(1),g=o(m),v=n(106),y=(o(v),n(58)),b=(r(y),function(e){function t(){return(0,u.default)(this,t),(0,f.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,h.default)(t,e),(0,c.default)(t,[{key:"allowDrop",value:function(e){e.preventDefault()}},{key:"drop",value:function(e){e.preventDefault();var t=e.dataTransfer.getData("text");document.getElementById(t).removeAttribute("style"),e.target.appendChild(document.getElementById(t))}},{key:"drag",value:function(e){e.dataTransfer.setData("text",e.target.id);var t=e.target.getBoundingClientRect();e.currentTarget.setAttribute("offsetX",(event.clientX-t.left).toString()),e.currentTarget.setAttribute("offsetY",(event.clientY-t.top).toString())}},{key:"render",value:function(){var e=this,t={float:"left",margin:"10px",padding:"10px",border:"1px solid #aaaaaa",display:"inline",zIndex:"2"},n="zone"+this.props.item.id;return g.default.createElement("div",{className:"dropZone",id:n,onDrop:function(t){e.drop(t)},onDragOver:function(t){document.getElementById(n).hasChildNodes()?t.stopPropagation():e.allowDrop(t)},style:t},g.default.createElement("div",{className:"draggable",draggable:"true",onDragOver:function(e){e.stopPropagation()},onDrop:function(e){e.stopPropagation()},onDragStart:function(t){e.drag(t)},id:this.props.item.id+this._reactInternalInstance._rootNodeID,width:"88",height:"31"},this.props.item.label))}}]),t}(g.default.Component));t.default=b},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return{connectDragSource:e.dragSource(),isDragging:t.isDragging(),connectDragPreview:e.dragPreview()}}Object.defineProperty(t,"__esModule",{value:!0}),t.FillTheBlankDraggableWord=t.DraggableWord=void 0;var i=n(9),a=r(i),s=n(4),u=r(s),l=n(5),c=r(l),d=n(7),f=r(d),p=n(6),h=r(p),m=n(1),g=r(m),v=n(102),y=n(193),b=n(162),_=r(b),w=n(107),C=r(w),x={beginDrag:function(e){return{itemId:e.id,material:e.material,wordClassName:e.wordClassName}}},E=t.DraggableWord=function(e){function t(){return(0,u.default)(this,t),(0,f.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,h.default)(t,e),(0,c.default)(t,[{key:"componentDidMount",value:function(){this.props.connectDragPreview((0,y.getEmptyImage)())}},{key:"render",value:function(){var e=this.props,t=e.connectDragSource,n=e.isDragging;return t(g.default.createElement("div",{style:{display:"inline-block"}},g.default.createElement(_.default,{hide:this.props.hide||n,material:this.props.material,className:this.props.wordClassName})))}}]),t}(g.default.Component);t.default=(0,v.DragSource)(C.default.WORD,x,o)(E);t.FillTheBlankDraggableWord=(0,v.DragSource)(C.default.FILL_BLANK_WORD,x,o)(E)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(102),i=n(193),a=r(i);t.default=(0,o.DragDropContext)(a.default)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return{
+type:d.REFRESH_JWT,method:u.default.GET,url:"api/jwts/"+e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Constants=void 0,t.refreshJwt=o;var i=n(56),a=r(i),s=n(210),u=r(s),l=[],c=["REFRESH_JWT"],d=t.Constants=(0,a.default)(l,c)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return{assessment:e,type:E.TOGGLE_PUBLISH_ASSESSMENT,apiCall:!0}}function i(e,t){return{bankId:e,assessmentId:t,apiCall:!0,type:E.GET_ASSESSMENT_PREVIEW}}function a(e){return{bankId:e,apiCall:!0,type:E.GET_ASSESSMENTS}}function s(e,t){return{bankId:e,apiCall:!0,type:E.CREATE_ASSESSMENT,body:t}}function u(e,t,n){return{bankId:e,assessment:t,item:n,apiCall:!0,type:E.CREATE_ASSESSMENT_WITH_ITEM}}function l(e,t){return{bankId:e,apiCall:!0,type:E.UPDATE_ASSESSMENT,body:t}}function c(e,t,n){return{bankId:e,assessmentId:t,apiCall:!0,type:E.UPDATE_ASSESSMENT_ITEMS,body:{itemIds:n}}}function d(e,t,n,r){return{bankId:e,assessmentId:t,itemIds:n,apiCall:!0,type:E.CREATE_ITEM_IN_ASSESSMENT,body:r}}function f(e,t){return{bankId:e,assessmentId:t,body:{dummyId:"123"},apiCall:!0,type:E.CREATE_ASSESSMENT_OFFERED}}function p(e,t){return{bankId:e,assessmentId:t,apiCall:!0,type:E.GET_ASSESSMENT_ITEMS}}function h(e,t){return{bankId:e,assessmentId:t,apiCall:!0,type:E.GET_ASSESSMENT_OFFERED}}function m(e,t){return{bankId:e,assessmentId:t,apiCall:!0,type:E.DELETE_ASSESSMENT}}function g(e,t,n){return{bankId:e,assessmentId:t,itemId:n,apiCall:!0,type:E.DELETE_ASSESSMENT_ITEM}}function v(e,t){return{bankId:e.bankId,assessmentId:e.id,assignedId:t,apiCall:!0,type:E.DELETE_ASSIGNED_ASSESSMENT}}function y(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return{bankId:e.bankId,assessmentId:e.id,isToggling:n,apiCall:!0,type:E.EDIT_OR_PUBLISH_ASSESSMENT,body:{assignedBankIds:[t]}}}function b(e,t){return{bankId:e.bankId,assessmentsOfferedId:e.id,apiCall:!0,type:E.UPDATE_SINGLE_ITEM_OR_PAGE,body:{genusTypeId:t}}}Object.defineProperty(t,"__esModule",{value:!0}),t.Constants=void 0,t.togglePublishAssessment=o,t.getAssessmentPreview=i,t.getAssessments=a,t.createAssessment=s,t.createAssessmentWithItem=u,t.updateAssessment=l,t.updateAssessmentItems=c,t.createItemInAssessment=d,t.createAssessmentOffered=f,t.getAssessmentItems=p,t.getAssessmentOffered=h,t.deleteAssessment=m,t.deleteAssessmentItem=g,t.deleteAssignedAssessment=v,t.editOrPublishAssessment=y,t.updateSingleItemOrPage=b;var _=n(56),w=r(_),C=[],x=["GET_ASSESSMENTS","UPDATE_ASSESSMENT","UPDATE_ASSESSMENT_ITEMS","CREATE_ITEM_IN_ASSESSMENT","CREATE_ASSESSMENT","CREATE_ASSESSMENT_WITH_ITEM","CREATE_ASSESSMENT_OFFERED","GET_ASSESSMENT_OFFERED","GET_ASSESSMENT_ITEMS","DELETE_ASSESSMENT","DELETE_ASSESSMENT_ITEM","EDIT_OR_PUBLISH_ASSESSMENT","DELETE_ASSIGNED_ASSESSMENT","GET_ASSESSMENT_PREVIEW","UPDATE_SINGLE_ITEM_OR_PAGE","TOGGLE_PUBLISH_ASSESSMENT"],E=t.Constants=(0,w.default)(C,x)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return{bankId:n,file:e,fileGuids:t,metaData:r,apiCall:!0,type:c.UPLOAD_MEDIA,body:e,timeout:2e6}}function i(e,t,n,r,o,i,a){return{bankId:t,file:e,itemId:n,where:r,metaData:o,newMedia:i,apiCall:!0,type:c.ADD_MEDIA_TO_QUESTION,body:e,timeout:2e6,language:a}}Object.defineProperty(t,"__esModule",{value:!0}),t.Constants=void 0,t.uploadMedia=o,t.addMediaToQuestion=i;var a=n(56),s=r(a),u=[],l=["UPLOAD_MEDIA","ADD_MEDIA_TO_QUESTION"],c=t.Constants=(0,s.default)(u,l)},function(e,t,n){e.exports={default:n(589),__esModule:!0}},function(e,t,n){e.exports={default:n(601),__esModule:!0}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(343),i=r(o),a=n(547),s=r(a),u="function"==typeof s.default&&"symbol"==typeof i.default?function(e){return typeof e}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":typeof e};t.default="function"==typeof s.default&&"symbol"===u(i.default)?function(e){return"undefined"==typeof e?"undefined":u(e)}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":"undefined"==typeof e?"undefined":u(e)}},41,[1511,69,47],function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},[1541,167,69,88,59,105],176,[1570,232,167],[1572,47],80,[1589,69],[1591,47,24,164,236,59],[1593,35],[1596,212,35,108,24],function(e,t,n){"use strict";var r=n(32),o=n(97),i=n(31);e.exports=function(e){for(var t=r(this),n=i(t.length),a=arguments.length,s=o(a>1?arguments[1]:void 0,n),u=a>2?arguments[2]:void 0,l=void 0===u?n:o(u,n);l>s;)t[s++]=e;return t}},[1504,26,79],[1511,18,14],228,function(e,t,n){var r=n(20)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(e){}}return!0}},[1518,14],function(e,t,n){var r=n(18),o=n(252).set;e.exports=function(e,t,n){var i,a=t.constructor;return a!==n&&"function"==typeof a&&(i=a.prototype)!==n.prototype&&r(i)&&o&&o(e,i),e}},[1524,112,20],[1527,52],[1533,92,79,113,42,20],[1535,91,2,43,42,37,112,247,113,49,20],function(e,t){var n=Math.expm1;e.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||n(-2e-17)!=-2e-17?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:n},function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},[1543,14,259,52],[1567,18,12,71,48],[1570,177,98],[1574,12,41,20],[1576,80,53],function(e,t,n){var r=n(173),o=n(53);e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(e))}},function(e,t,n){"use strict";var r=n(80),o=n(53);e.exports=function(e){var t=String(o(this)),n="",i=r(e);if(i<0||i==1/0)throw RangeError("Count can't be negative");for(;i>0;(i>>>=1)&&(t+=t))1&i&&(n+=t);return n}},function(e,t){e.exports="\t\n\v\f\r   ᠎             　\u2028\u2029\ufeff"},[1579,71,172,243,240,14,52],function(e,t,n){"use strict";var r=n(14),o=n(25),i=n(91),a=n(178),s=n(42),u=n(95),l=n(15),c=n(90),d=n(80),f=n(31),p=n(93).f,h=n(26).f,m=n(238),g=n(113),v="ArrayBuffer",y="DataView",b="prototype",_="Wrong length!",w="Wrong index!",C=r[v],x=r[y],E=r.Math,T=r.RangeError,k=r.Infinity,S=C,O=E.abs,M=E.pow,A=E.floor,N=E.log,I=E.LN2,P="buffer",D="byteLength",R="byteOffset",j=o?"_b":P,L=o?"_l":D,B=o?"_o":R,F=function(e,t,n){var r,o,i,a=Array(n),s=8*n-t-1,u=(1<<s)-1,l=u>>1,c=23===t?M(2,-24)-M(2,-77):0,d=0,f=e<0||0===e&&1/e<0?1:0;for(e=O(e),e!=e||e===k?(o=e!=e?1:0,r=u):(r=A(N(e)/I),e*(i=M(2,-r))<1&&(r--,i*=2),e+=r+l>=1?c/i:c*M(2,1-l),e*i>=2&&(r++,i/=2),r+l>=u?(o=0,r=u):r+l>=1?(o=(e*i-1)*M(2,t),r+=l):(o=e*M(2,l-1)*M(2,t),r=0));t>=8;a[d++]=255&o,o/=256,t-=8);for(r=r<<t|o,s+=t;s>0;a[d++]=255&r,r/=256,s-=8);return a[--d]|=128*f,a},U=function(e,t,n){var r,o=8*n-t-1,i=(1<<o)-1,a=i>>1,s=o-7,u=n-1,l=e[u--],c=127&l;for(l>>=7;s>0;c=256*c+e[u],u--,s-=8);for(r=c&(1<<-s)-1,c>>=-s,s+=t;s>0;r=256*r+e[u],u--,s-=8);if(0===c)c=1-a;else{if(c===i)return r?NaN:l?-k:k;r+=M(2,t),c-=a}return(l?-1:1)*r*M(2,c-t)},H=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},z=function(e){return[255&e]},q=function(e){return[255&e,e>>8&255]},W=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},V=function(e){return F(e,52,8)},G=function(e){return F(e,23,4)},Y=function(e,t,n){h(e[b],t,{get:function(){return this[n]}})},K=function(e,t,n,r){var o=+n,i=d(o);if(o!=i||i<0||i+t>e[L])throw T(w);var a=e[j]._b,s=i+e[B],u=a.slice(s,s+t);return r?u:u.reverse()},$=function(e,t,n,r,o,i){var a=+n,s=d(a);if(a!=s||s<0||s+t>e[L])throw T(w);for(var u=e[j]._b,l=s+e[B],c=r(+o),f=0;f<t;f++)u[l+f]=c[i?f:t-f-1]},X=function(e,t){c(e,C,v);var n=+t,r=f(n);if(n!=r)throw T(_);return r};if(a.ABV){if(!l(function(){new C})||!l(function(){new C(.5)})){C=function(e){return new S(X(this,e))};for(var Q,J=C[b]=S[b],Z=p(S),ee=0;Z.length>ee;)(Q=Z[ee++])in C||s(C,Q,S[Q]);i||(J.constructor=C)}var te=new x(new C(2)),ne=x[b].setInt8;te.setInt8(0,2147483648),te.setInt8(1,2147483649),!te.getInt8(0)&&te.getInt8(1)||u(x[b],{setInt8:function(e,t){ne.call(this,e,t<<24>>24)},setUint8:function(e,t){ne.call(this,e,t<<24>>24)}},!0)}else C=function(e){var t=X(this,e);this._b=m.call(Array(t),0),this[L]=t},x=function(e,t,n){c(this,x,y),c(e,C,y);var r=e[L],o=d(t);if(o<0||o>r)throw T("Wrong offset!");if(n=void 0===n?r-o:f(n),o+n>r)throw T(_);this[j]=e,this[B]=o,this[L]=n},o&&(Y(C,D,"_l"),Y(x,P,"_b"),Y(x,D,"_l"),Y(x,R,"_o")),u(x[b],{getInt8:function(e){return K(this,1,e)[0]<<24>>24},getUint8:function(e){return K(this,1,e)[0]},getInt16:function(e){var t=K(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=K(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return H(K(this,4,e,arguments[1]))},getUint32:function(e){return H(K(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return U(K(this,4,e,arguments[1]),23,4)},getFloat64:function(e){return U(K(this,8,e,arguments[1]),52,8)},setInt8:function(e,t){$(this,1,e,z,t)},setUint8:function(e,t){$(this,1,e,z,t)},setInt16:function(e,t){$(this,2,e,q,t,arguments[2])},setUint16:function(e,t){$(this,2,e,q,t,arguments[2])},setInt32:function(e,t){$(this,4,e,W,t,arguments[2])},setUint32:function(e,t){$(this,4,e,W,t,arguments[2])},setFloat32:function(e,t){$(this,4,e,G,t,arguments[2])},setFloat64:function(e,t){$(this,8,e,V,t,arguments[2])}});g(C,v),g(x,y),s(x[b],a.VIEW,!0),t[v]=C,t[y]=x},[1591,14,70,91,382,26],[1596,142,20,112,70],[1600,110,370,112,45,248],function(e,t){"use strict";function n(e){return Boolean(e&&"function"==typeof e.dispose)}t.__esModule=!0,t.default=n,e.exports=t.default},function(e,t){"use strict";function n(e,t){return e===t?0!==e||0!==t||1/e===1/t:e!==e&&t!==t}function r(e,t){if(n(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),i=Object.keys(t);if(r.length!==i.length)return!1;for(var a=0;a<r.length;a++)if(!o.call(t,r[a])||!n(e[r[a]],t[r[a]]))return!1;return!0}var o=Object.prototype.hasOwnProperty;e.exports=r},function(e,t,n){"use strict";t.__esModule=!0,t.go=t.replaceLocation=t.pushLocation=t.startListener=t.getUserConfirmation=t.getCurrentLocation=void 0;var r=n(116),o=n(182),i=n(393),a=n(81),s=n(267),u="popstate",l="hashchange",c=s.canUseDOM&&!(0,o.supportsPopstateOnHashchange)(),d=function(e){var t=e&&e.key;return(0,r.createLocation)({pathname:window.location.pathname,search:window.location.search,hash:window.location.hash,state:t?(0,i.readState)(t):void 0},void 0,t)},f=t.getCurrentLocation=function(){var e=void 0;try{e=window.history.state||{}}catch(t){e={}}return d(e)},p=(t.getUserConfirmation=function(e,t){return t(window.confirm(e))},t.startListener=function(e){var t=function(t){(0,o.isExtraneousPopstateEvent)(t)||e(d(t.state))};(0,o.addEventListener)(window,u,t);var n=function(){return e(f())};return c&&(0,o.addEventListener)(window,l,n),function(){(0,o.removeEventListener)(window,u,t),c&&(0,o.removeEventListener)(window,l,n)}},function(e,t){var n=e.state,r=e.key;void 0!==n&&(0,i.saveState)(r,n),t({key:r},(0,a.createPath)(e))});t.pushLocation=function(e){return p(e,function(e,t){return window.history.pushState(e,null,t)})},t.replaceLocation=function(e){return p(e,function(e,t){return window.history.replaceState(e,null,t)})},t.go=function(e){e&&window.history.go(e)}},function(e,t){"use strict";t.__esModule=!0;t.canUseDOM=!("undefined"==typeof window||!window.document||!window.document.createElement)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(850),i=n(81),a=n(269),s=r(a),u=n(181),l=n(116),c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.getCurrentLocation,n=e.getUserConfirmation,r=e.pushLocation,a=e.replaceLocation,c=e.go,d=e.keyLength,f=void 0,p=void 0,h=[],m=[],g=[],v=function(){return p&&p.action===u.POP?g.indexOf(p.key):f?g.indexOf(f.key):-1},y=function(e){var t=v();f=e,f.action===u.PUSH?g=[].concat(g.slice(0,t+1),[f.key]):f.action===u.REPLACE&&(g[t]=f.key),m.forEach(function(e){return e(f)})},b=function(e){return h.push(e),function(){return h=h.filter(function(t){return t!==e})}},_=function(e){return m.push(e),function(){return m=m.filter(function(t){return t!==e})}},w=function(e,t){(0,o.loopAsync)(h.length,function(t,n,r){(0,s.default)(h[t],e,function(e){return null!=e?r(e):n()})},function(e){n&&"string"==typeof e?n(e,function(e){return t(e!==!1)}):t(e!==!1)})},C=function(e){f&&(0,l.locationsAreEqual)(f,e)||p&&(0,l.locationsAreEqual)(p,e)||(p=e,w(e,function(t){if(p===e)if(p=null,t){if(e.action===u.PUSH){var n=(0,i.createPath)(f),o=(0,i.createPath)(e);o===n&&(0,l.statesAreEqual)(f.state,e.state)&&(e.action=u.REPLACE)}e.action===u.POP?y(e):e.action===u.PUSH?r(e)!==!1&&y(e):e.action===u.REPLACE&&a(e)!==!1&&y(e)}else if(f&&e.action===u.POP){var s=g.indexOf(f.key),d=g.indexOf(e.key);s!==-1&&d!==-1&&c(s-d)}}))},x=function(e){return C(M(e,u.PUSH))},E=function(e){return C(M(e,u.REPLACE))},T=function(){return c(-1)},k=function(){return c(1)},S=function(){return Math.random().toString(36).substr(2,d||6)},O=function(e){return(0,i.createPath)(e)},M=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:S();return(0,l.createLocation)(e,t,n)};return{getCurrentLocation:t,listenBefore:b,listen:_,transitionTo:C,push:x,replace:E,go:c,goBack:T,goForward:k,createKey:S,createPath:i.createPath,createHref:O,createLocation:M}};t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(85),i=(r(o),function(e,t,n){var r=e(t,n);e.length<2&&n(r)});t.default=i},function(e,t,n){var r=n(100),o=n(74),i=r(o,"Map");e.exports=i},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var o=n(924),i=n(925),a=n(926),s=n(927),u=n(928);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=s,r.prototype.set=u,e.exports=r},function(e,t,n){function r(e,t){var n=null==e?0:e.length;return!!n&&o(e,t,0)>-1}var o=n(874);e.exports=r},function(e,t){function n(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}e.exports=n},function(e,t,n){function r(e,t,n){"__proto__"==t&&o?o(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var o=n(408);e.exports=r},function(e,t,n){function r(e,t,n,r){var d=-1,f=i,p=!0,h=e.length,m=[],g=t.length;if(!h)return m;n&&(t=s(t,u(n))),r?(f=a,p=!1):t.length>=c&&(f=l,p=!1,t=new o(t));e:for(;++d<h;){var v=e[d],y=null==n?v:n(v);if(v=r||0!==v?v:0,p&&y===y){for(var b=g;b--;)if(t[b]===y)continue e;m.push(v)}else f(t,y,r)||m.push(v)}return m}var o=n(184),i=n(272),a=n(273),s=n(185),u=n(277),l=n(187),c=200;e.exports=r},function(e,t,n){function r(e,t,n,a,s){var u=-1,l=e.length;for(n||(n=i),s||(s=[]);++u<l;){var c=e[u];t>0&&n(c)?t>1?r(c,t-1,n,a,s):o(s,c):a||(s[s.length]=c)}return s}var o=n(403),i=n(915);e.exports=r},function(e,t){function n(e){return function(t){return e(t)}}e.exports=n},function(e,t){function n(e,t){return t=null==t?r:t,!!t&&("number"==typeof e||o.test(e))&&e>-1&&e%1==0&&e<t}var r=9007199254740991,o=/^(?:0|[1-9]\d*)$/;e.exports=n},function(e,t,n){function r(e,t){if(o(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!i(e))||(s.test(e)||!a.test(e)||null!=t&&e in Object(t))}var o=n(39),i=n(283),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;e.exports=r},function(e,t){function n(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}e.exports=n},function(e,t,n){var r=n(876),o=n(101),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=u},function(e,t){function n(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},function(e,t,n){function r(e){return"symbol"==typeof e||i(e)&&o(e)==a}var o=n(117),i=n(101),a="[object Symbol]";e.exports=r},function(e,t,n){function r(e){return a(e)?o(e):i(e)}var o=n(402),i=n(883),a=n(192);e.exports=r},function(e,t){function n(e,t,n){return Math.min(Math.max(e,t),n)}e.exports=n},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.FILE="__NATIVE_FILE__",t.URL="__NATIVE_URL__",t.TEXT="__NATIVE_TEXT__"},function(e,t){"use strict";function n(e,t){if(e===t)return!0;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=Object.prototype.hasOwnProperty,i=0;i<n.length;i+=1){if(!o.call(t,n[i])||e[n[i]]!==t[n[i]])return!1;var a=e[n[i]],s=t[n[i]];if(a!==s)return!1}return!0}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n},function(e,t,n){"use strict";function r(e,t){return Array.isArray(t)&&(t=t[1]),t?t.nextSibling:e.firstChild}function o(e,t,n){c.insertTreeBefore(e,t,n)}function i(e,t,n){Array.isArray(t)?s(e,t[0],t[1],n):m(e,t,n)}function a(e,t){if(Array.isArray(t)){var n=t[1];t=t[0],u(e,t,n),e.removeChild(n)}e.removeChild(t)}function s(e,t,n,r){for(var o=t;;){var i=o.nextSibling;if(m(e,o,r),o===n)break;o=i}}function u(e,t,n){for(;;){var r=t.nextSibling;if(r===n)break;e.removeChild(r)}}function l(e,t,n){var r=e.parentNode,o=e.nextSibling;o===t?n&&m(r,document.createTextNode(n),o):n?(h(o,n),u(r,o,t)):u(r,e,t)}var c=n(119),d=n(1009),f=(n(29),n(55),n(297)),p=n(200),h=n(451),m=f(function(e,t,n){e.insertBefore(t,n)}),g=d.dangerouslyReplaceNodeWithMarkup,v={dangerouslyReplaceNodeWithMarkup:g,replaceDelimitedText:l,processUpdates:function(e,t){for(var n=0;n<t.length;n++){var s=t[n];switch(s.type){case"INSERT_MARKUP":o(e,s.content,r(e,s.afterNode));break;case"MOVE_EXISTING":i(e,s.fromNode,r(e,s.afterNode));break;case"SET_MARKUP":p(e,s.content);break;case"TEXT_CONTENT":h(e,s.content);break;case"REMOVE_NODE":a(e,s.fromNode)}}}};e.exports=v},function(e,t){"use strict";var n={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};e.exports=n},function(e,t,n){"use strict";function r(){if(s)for(var e in u){var t=u[e],n=s.indexOf(e);if(n>-1?void 0:a("96",e),!l.plugins[n]){t.extractEvents?void 0:a("97",e),l.plugins[n]=t;var r=t.eventTypes;for(var i in r)o(r[i],t,i)?void 0:a("98",i,e)}}}function o(e,t,n){l.eventNameDispatchConfigs.hasOwnProperty(n)?a("99",n):void 0,l.eventNameDispatchConfigs[n]=e;var r=e.phasedRegistrationNames;if(r){for(var o in r)if(r.hasOwnProperty(o)){var s=r[o];i(s,t,n)}return!0}return!!e.registrationName&&(i(e.registrationName,t,n),!0)}function i(e,t,n){l.registrationNameModules[e]?a("100",e):void 0,l.registrationNameModules[e]=t,l.registrationNameDependencies[e]=t.eventTypes[n].dependencies}var a=n(16),s=(n(10),null),u={},l={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},possibleRegistrationNames:null,injectEventPluginOrder:function(e){s?a("101"):void 0,s=Array.prototype.slice.call(e),r()},injectEventPluginsByName:function(e){var t=!1;for(var n in e)if(e.hasOwnProperty(n)){var o=e[n];u.hasOwnProperty(n)&&u[n]===o||(u[n]?a("102",n):void 0,u[n]=o,t=!0)}t&&r()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return l.registrationNameModules[t.registrationName]||null;if(void 0!==t.phasedRegistrationNames){var n=t.phasedRegistrationNames;for(var r in n)if(n.hasOwnProperty(r)){var o=l.registrationNameModules[n[r]];if(o)return o}}return null},_resetEventPlugins:function(){s=null;for(var e in u)u.hasOwnProperty(e)&&delete u[e];l.plugins.length=0;var t=l.eventNameDispatchConfigs;for(var n in t)t.hasOwnProperty(n)&&delete t[n];var r=l.registrationNameModules;for(var o in r)r.hasOwnProperty(o)&&delete r[o]}};e.exports=l},function(e,t){"use strict";function n(e){var t=/[=:]/g,n={"=":"=0",":":"=2"},r=(""+e).replace(t,function(e){return n[e]});return"$"+r}function r(e){var t=/(=0|=2)/g,n={"=0":"=","=2":":"},r="."===e[0]&&"$"===e[1]?e.substring(2):e.substring(1);return(""+r).replace(t,function(e){return n[e]})}var o={escape:n,unescape:r};e.exports=o},function(e,t,n){"use strict";function r(e){null!=e.checkedLink&&null!=e.valueLink?s("87"):void 0}function o(e){r(e),null!=e.value||null!=e.onChange?s("88"):void 0}function i(e){r(e),null!=e.checked||null!=e.onChange?s("89"):void 0}function a(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""}var s=n(16),u=n(1039),l=n(965),c=n(127),d=l(c.isValidElement),f=(n(10),n(13),{button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0}),p={value:function(e,t,n){return!e[t]||f[e.type]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")},checked:function(e,t,n){return!e[t]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")},onChange:d.func},h={},m={checkPropTypes:function(e,t,n){for(var r in p){if(p.hasOwnProperty(r))var o=p[r](t,r,e,"prop",null,u);if(o instanceof Error&&!(o.message in h)){h[o.message]=!0;a(n)}}},getValue:function(e){return e.valueLink?(o(e),e.valueLink.value):e.value},getChecked:function(e){return e.checkedLink?(i(e),e.checkedLink.value):e.checked},executeOnChange:function(e,t){return e.valueLink?(o(e),e.valueLink.requestChange(t.target.value)):e.checkedLink?(i(e),e.checkedLink.requestChange(t.target.checked)):e.onChange?e.onChange.call(void 0,t):void 0}};e.exports=m},function(e,t,n){"use strict";var r=n(16),o=(n(10),!1),i={replaceNodeWithMarkup:null,processChildrenUpdates:null,injection:{injectEnvironment:function(e){o?r("104"):void 0,i.replaceNodeWithMarkup=e.replaceNodeWithMarkup,i.processChildrenUpdates=e.processChildrenUpdates,o=!0}}};e.exports=i},function(e,t,n){"use strict";function r(e,t,n){try{t(n)}catch(e){null===o&&(o=e)}}var o=null,i={invokeGuardedCallback:r,invokeGuardedCallbackWithCatch:r,rethrowCaughtError:function(){if(o){var e=o;throw o=null,e}}};e.exports=i},function(e,t,n){"use strict";function r(e){u.enqueueUpdate(e)}function o(e){var t=typeof e;if("object"!==t)return t;var n=e.constructor&&e.constructor.name||t,r=Object.keys(e);return r.length>0&&r.length<20?n+" (keys: "+r.join(", ")+")":n}function i(e,t){var n=s.get(e);if(!n){return null}return n}var a=n(16),s=(n(76),n(149)),u=(n(55),n(64)),l=(n(10),n(13),{isMounted:function(e){var t=s.get(e);return!!t&&!!t._renderedComponent},enqueueCallback:function(e,t,n){l.validateCallback(t,n);var o=i(e);return o?(o._pendingCallbacks?o._pendingCallbacks.push(t):o._pendingCallbacks=[t],void r(o)):null},enqueueCallbackInternal:function(e,t){e._pendingCallbacks?e._pendingCallbacks.push(t):e._pendingCallbacks=[t],r(e)},enqueueForceUpdate:function(e){var t=i(e,"forceUpdate");t&&(t._pendingForceUpdate=!0,r(t))},enqueueReplaceState:function(e,t,n){var o=i(e,"replaceState");o&&(o._pendingStateQueue=[t],o._pendingReplaceState=!0,void 0!==n&&null!==n&&(l.validateCallback(n,"replaceState"),o._pendingCallbacks?o._pendingCallbacks.push(n):o._pendingCallbacks=[n]),r(o))},enqueueSetState:function(e,t){var n=i(e,"setState");if(n){var o=n._pendingStateQueue||(n._pendingStateQueue=[]);o.push(t),r(n)}},enqueueElementInternal:function(e,t,n){e._pendingElement=t,e._context=n,r(e)},validateCallback:function(e,t){e&&"function"!=typeof e?a("122",t,o(e)):void 0}});e.exports=l},function(e,t){"use strict";var n={currentScrollLeft:0,currentScrollTop:0,refreshScrollValues:function(e){n.currentScrollLeft=e.x,n.currentScrollTop=e.y}};e.exports=n},function(e,t){"use strict";var n=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e};e.exports=n},function(e,t){"use strict";function n(e){var t,n=e.keyCode;return"charCode"in e?(t=e.charCode,0===t&&13===n&&(t=13)):t=n,t>=32||13===t?t:0}e.exports=n},function(e,t){"use strict";function n(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var r=o[e];return!!r&&!!n[r]}function r(e){return n}var o={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};e.exports=r},function(e,t){"use strict";function n(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),3===t.nodeType?t.parentNode:t}e.exports=n},function(e,t,n){"use strict";/**
+	 * Checks if an event is supported in the current execution environment.
+	 *
+	 * NOTE: This will not work correctly for non-generic events such as `change`,
+	 * `reset`, `load`, `error`, and `select`.
+	 *
+	 * Borrows from Modernizr.
+	 *
+	 * @param {string} eventNameSuffix Event name, e.g. "click".
+	 * @param {?boolean} capture Check if the capture phase is supported.
+	 * @return {boolean} True if the event is supported.
+	 * @internal
+	 * @license Modernizr 3.0.0pre (Custom Build) | MIT
+	 */
+function r(e,t){if(!i.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var a=document.createElement("div");a.setAttribute(n,"return;"),r="function"==typeof a[n]}return!r&&o&&"wheel"===e&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var o,i=n(38);i.canUseDOM&&(o=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0),e.exports=r},function(e,t){"use strict";function n(e,t){var n=null===e||e===!1,r=null===t||t===!1;if(n||r)return n===r;var o=typeof e,i=typeof t;return"string"===o||"number"===o?"string"===i||"number"===i:"object"===i&&e.type===t.type&&e.key===t.key}e.exports=n},function(e,t,n){"use strict";var r=(n(21),n(40)),o=(n(13),r);e.exports=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r=e.nodeType,i=e.data,a=e.collectionLimit,s=e.circularCache,u=e.keyPath,l=e.postprocessValue,c=e.sortObjectKeys,d=[];return(0,T.default)(r,i,c,a,t,n).forEach(function(t){if(t.to)d.push(b.default.createElement(M.default,(0,v.default)({},e,{key:"ItemRange--"+t.from+"-"+t.to,from:t.from,to:t.to,renderChildNodes:o})));else{var n=t.key,r=t.value,i=s.indexOf(r)!==-1,c=b.default.createElement(S.default,(0,v.default)({},e,{postprocessValue:l,collectionLimit:a},{key:"Node--"+n,keyPath:[n].concat(u),value:l(r),circularCache:[].concat(s,[r]),isCircular:i,hideRoot:!1}));c!==!1&&d.push(c)}}),d}function i(e){var t=!(!e.shouldExpandNode||e.isCircular)&&e.shouldExpandNode(e.keyPath,e.data,e.level);return{expanded:t}}t.__esModule=!0,t.default=void 0;var a,s,u=n(163),l=r(u),c=n(4),d=r(c),f=n(7),p=r(f),h=n(6),m=r(h),g=n(11),v=r(g),y=n(1),b=r(y),_=n(22),w=r(_),C=n(453),x=r(C),E=n(1074),T=r(E),k=n(454),S=r(k),O=n(1068),M=r(O),A=(s=a=function(e){function t(n){(0,d.default)(this,t);var r=(0,p.default)(this,e.call(this,n));return r.handleClick=function(){return r.setState({expanded:!r.state.expanded})},r.state=i(n),r}return(0,m.default)(t,e),t.prototype.componentWillReceiveProps=function(e){var t=i(e);i(this.props).expanded!==t.expanded&&this.setState(t)},t.prototype.shouldComponentUpdate=function(e,t){var n=this;return!!(0,l.default)(e).find(function(t){return"circularCache"!==t&&("keyPath"===t?e[t].join("/")!==n.props[t].join("/"):e[t]!==n.props[t])})||t.expanded!==this.state.expanded},t.prototype.render=function(){var e=this.props,t=e.getItemString,n=e.nodeTypeIndicator,r=e.nodeType,i=e.data,a=e.hideRoot,s=e.createItemString,u=e.styling,l=e.collectionLimit,c=e.keyPath,d=e.labelRenderer,f=e.expandable,p=this.state.expanded,h=p||a&&0===this.props.level?o((0,v.default)({},this.props,{level:this.props.level+1})):null,m=b.default.createElement("span",u("nestedNodeItemType",p),n),g=t(r,i,m,s(i,l)),y=[c,r,p,f];return a?b.default.createElement("li",u.apply(void 0,["rootNode"].concat(y)),b.default.createElement("ul",u.apply(void 0,["rootNodeChildren"].concat(y)),h)):b.default.createElement("li",u.apply(void 0,["nestedNode"].concat(y)),f&&b.default.createElement(x.default,{styling:u,nodeType:r,expanded:p,onClick:this.handleClick}),b.default.createElement("label",(0,v.default)({},u.apply(void 0,[["label","nestedNodeLabel"]].concat(y)),{onClick:f&&this.handleClick}),d.apply(void 0,y)),b.default.createElement("span",(0,v.default)({},u.apply(void 0,["nestedNodeItemString"].concat(y)),{onClick:f&&this.handleClick}),g),b.default.createElement("ul",u.apply(void 0,["nestedNodeChildren"].concat(y)),h))},t}(b.default.Component),a.propTypes={getItemString:w.default.func.isRequired,nodeTypeIndicator:w.default.any,nodeType:w.default.string.isRequired,data:w.default.any,hideRoot:w.default.bool.isRequired,createItemString:w.default.func.isRequired,styling:w.default.func.isRequired,collectionLimit:w.default.number,keyPath:w.default.arrayOf(w.default.oneOfType([w.default.string,w.default.number])).isRequired,labelRenderer:w.default.func.isRequired,shouldExpandNode:w.default.func,level:w.default.number.isRequired,sortObjectKeys:w.default.oneOfType([w.default.func,w.default.bool]),isCircular:w.default.bool,expandable:w.default.bool},a.defaultProps={data:[],circularCache:[],level:0,expandable:!0},s);t.default=A},function(e,t){"use strict";function n(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e);try{throw new Error(e)}catch(e){}}t.__esModule=!0,t.default=n},function(e,t){"use strict";function n(e,t,n){function r(){return a=!0,s?void(l=[].concat(Array.prototype.slice.call(arguments))):void n.apply(this,arguments)}function o(){if(!a&&(u=!0,!s)){for(s=!0;!a&&i<e&&u;)u=!1,t.call(this,i++,o,r);return s=!1,a?void n.apply(this,l):void(i>=e&&u&&(a=!0,n()))}}var i=0,a=!1,s=!1,u=!1,l=void 0;o()}function r(e,t,n){function r(e,t,r){a||(t?(a=!0,n(t)):(i[e]=r,a=++s===o,a&&n(null,i)))}var o=e.length,i=[];if(0===o)return n(null,i);var a=!1,s=0;e.forEach(function(e,n){t(e,n,function(e,t){r(n,e,t)})})}t.__esModule=!0,t.loopAsync=n,t.mapAsync=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return"@@contextSubscriber/"+e}function i(e){var t,n,r=o(e),i=r+"/listeners",a=r+"/eventIndex",s=r+"/subscribe";return n={childContextTypes:(t={},t[r]=l.isRequired,t),getChildContext:function(){var e;return e={},e[r]={eventIndex:this[a],subscribe:this[s]},e},componentWillMount:function(){this[i]=[],this[a]=0},componentWillReceiveProps:function(){this[a]++},componentDidUpdate:function(){var e=this;this[i].forEach(function(t){return t(e[a])})}},n[s]=function(e){var t=this;return this[i].push(e),function(){t[i]=t[i].filter(function(t){return t!==e})}},n}function a(e){var t,n,r=o(e),i=r+"/lastRenderedEventIndex",a=r+"/handleContextUpdate",s=r+"/unsubscribe";return n={contextTypes:(t={},t[r]=l,t),getInitialState:function(){var e;return this.context[r]?(e={},e[i]=this.context[r].eventIndex,e):{}},componentDidMount:function(){this.context[r]&&(this[s]=this.context[r].subscribe(this[a]))},componentWillReceiveProps:function(){var e;this.context[r]&&this.setState((e={},e[i]=this.context[r].eventIndex,e))},componentWillUnmount:function(){this[s]&&(this[s](),this[s]=null)}},n[a]=function(e){if(e!==this.state[i]){var t;this.setState((t={},t[i]=e,t))}},n}t.__esModule=!0,t.ContextProvider=i,t.ContextSubscriber=a;var s=n(22),u=r(s),l=u.default.shape({subscribe:u.default.func.isRequired,eventIndex:u.default.number.isRequired})},function(e,t,n){"use strict";t.__esModule=!0,t.locationShape=t.routerShape=void 0;var r=n(22);t.routerShape=(0,r.shape)({push:r.func.isRequired,replace:r.func.isRequired,go:r.func.isRequired,goBack:r.func.isRequired,goForward:r.func.isRequired,setRouteLeaveHook:r.func.isRequired,isActive:r.func.isRequired}),t.locationShape=(0,r.shape)({pathname:r.string.isRequired,search:r.string.isRequired,state:r.object,action:r.string.isRequired,key:r.string})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=n(17),s=r(a),u=n(1),l=r(u),c=n(57),d=r(c),f=n(22),p=n(1098),h=r(p),m=n(307),g=n(82),v=(0,d.default)({displayName:"RouterContext",mixins:[(0,m.ContextProvider)("router")],propTypes:{router:f.object.isRequired,location:f.object.isRequired,routes:f.array.isRequired,params:f.object.isRequired,components:f.array.isRequired,createElement:f.func.isRequired},getDefaultProps:function(){return{createElement:l.default.createElement}},childContextTypes:{router:f.object.isRequired},getChildContext:function(){return{router:this.props.router}},createElement:function(e,t){return null==e?null:this.props.createElement(e,t)},render:function(){var e=this,t=this.props,n=t.location,r=t.routes,a=t.params,u=t.components,c=t.router,d=null;return u&&(d=u.reduceRight(function(t,s,u){if(null==s)return t;var l=r[u],d=(0,h.default)(l,a),f={location:n,params:a,route:l,router:c,routeParams:d,routes:r};if((0,g.isReactChildren)(t))f.children=t;else if(t)for(var p in t)Object.prototype.hasOwnProperty.call(t,p)&&(f[p]=t[p]);if("object"===("undefined"==typeof s?"undefined":i(s))){var m={};for(var v in s)Object.prototype.hasOwnProperty.call(s,v)&&(m[v]=e.createElement(s[v],o({key:v},f)));return m}return e.createElement(s,f)},d)),null===d||d===!1||l.default.isValidElement(d)?void 0:(0,s.default)(!1),d}});t.default=v,e.exports=t.default},function(e,t,n){"use strict";function r(e,t,n){this.props=e,this.context=t,this.refs=a,this.updater=n||i}var o=n(129),i=n(311),a=(n(472),n(115));n(10),n(13);r.prototype.isReactComponent={},r.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e?o("85"):void 0,this.updater.enqueueSetState(this,e),t&&this.updater.enqueueCallback(this,t,"setState")},r.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this),e&&this.updater.enqueueCallback(this,e,"forceUpdate")};e.exports=r},function(e,t,n){"use strict";function r(e,t){}var o=(n(13),{isMounted:function(e){return!1},enqueueCallback:function(e,t){},enqueueForceUpdate:function(e){r(e,"forceUpdate")},enqueueReplaceState:function(e,t){r(e,"replaceState")},enqueueSetState:function(e,t){r(e,"setState")}});e.exports=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){function r(){v===g&&(v=g.slice())}function i(){return m}function s(e){if("function"!=typeof e)throw new Error("Expected listener to be a function.");var t=!0;return r(),v.push(e),function(){if(t){t=!1,r();var n=v.indexOf(e);v.splice(n,1)}}}function c(e){if(!(0,a.default)(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if("undefined"==typeof e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(y)throw new Error("Reducers may not dispatch actions.");try{y=!0,m=h(m,e)}finally{y=!1}for(var t=g=v,n=0;n<t.length;n++)t[n]();return e}function d(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");h=e,c({type:l.INIT})}function f(){var e,t=s;return e={subscribe:function(e){function n(){e.next&&e.next(i())}if("object"!=typeof e)throw new TypeError("Expected the observer to be an object.");n();var r=t(n);return{unsubscribe:r}}},e[u.default]=function(){return this},e}var p;if("function"==typeof t&&"undefined"==typeof n&&(n=t,t=void 0),"undefined"!=typeof n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(o)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var h=e,m=t,g=[],v=g,y=!1;return c({type:l.INIT}),p={dispatch:c,subscribe:s,getState:i,replaceReducer:d},p[u.default]=f,p}t.__esModule=!0,t.ActionTypes=void 0,t.default=o;var i=n(63),a=r(i),s=n(480),u=r(s),l=t.ActionTypes={INIT:"@@redux/INIT"}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.compose=t.applyMiddleware=t.bindActionCreators=t.combineReducers=t.createStore=void 0;var o=n(312),i=r(o),a=n(1140),s=r(a),u=n(1139),l=r(u),c=n(1138),d=r(c),f=n(478),p=r(f),h=n(479);r(h);t.createStore=i.default,t.combineReducers=s.default,t.bindActionCreators=l.default,t.applyMiddleware=d.default,t.compose=p.default},function(e,t){"use strict";function n(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){return e===t}function o(e){var t=arguments.length<=1||void 0===arguments[1]?r:arguments[1],n=null,o=null;return function(){for(var r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=arguments[a];return null!==n&&n.length===i.length&&i.every(function(e,r){return t(e,n[r])})||(o=e.apply(void 0,i)),n=i,o}}function i(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every(function(e){return"function"==typeof e})){var n=t.map(function(e){return typeof e}).join(", ");throw new Error("Selector creators expect all input-selectors to be functions, "+("instead received the following types: ["+n+"]"))}return t}function a(e){for(var t=arguments.length,r=Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];return function(){for(var t=arguments.length,o=Array(t),a=0;a<t;a++)o[a]=arguments[a];var s=0,u=o.pop(),l=i(o),c=e.apply(void 0,[function(){return s++,u.apply(void 0,arguments)}].concat(r)),d=function(e,t){for(var r=arguments.length,o=Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];var a=l.map(function(n){return n.apply(void 0,[e,t].concat(o))});return c.apply(void 0,n(a))};return d.resultFunc=u,d.recomputations=function(){return s},d.resetRecomputations=function(){return s=0},d}}function s(e){var t=arguments.length<=1||void 0===arguments[1]?u:arguments[1];if("object"!=typeof e)throw new Error("createStructuredSelector expects first argument to be an object where each property is a selector, instead received a "+typeof e);var n=Object.keys(e);return t(n.map(function(t){return e[t]}),function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce(function(e,t,r){return e[n[r]]=t,e},{})})}t.__esModule=!0,t.defaultMemoize=o,t.createSelectorCreator=a,t.createStructuredSelector=s;var u=t.createSelector=a(o)},function(e,t){function n(e){return null!==e&&"object"==typeof e}e.exports=n},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l=n(204),c=o(l),d=n(8),f=o(d),p=n(19),h=r(p),m=n(30),g=o(m),v=n(28),y=o(v),b=function(e){function t(n,r){i(this,t);var o=r.track,s=n.textTracks();r.label=o.label||o.language||"Unknown",r.selected=o.default||"showing"===o.mode;var l=a(this,e.call(this,n,r));if(l.track=o,s){var c=h.bind(l,l.handleTracksChange);n.on(["loadstart","texttrackchange"],c),s.addEventListener("change",c),l.on("dispose",function(){s.removeEventListener("change",c)})}if(s&&void 0===s.onchange){var d=void 0;l.on(["tap","click"],function(){if("object"!==u(g.default.Event))try{d=new g.default.Event("change")}catch(e){}d||(d=y.default.createEvent("Event"),d.initEvent("change",!0,!0)),s.dispatchEvent(d)})}return l}return s(t,e),t.prototype.handleClick=function(t){var n=this.track.kind,r=this.player_.textTracks();if(e.prototype.handleClick.call(this,t),r)for(var o=0;o<r.length;o++){var i=r[o];i.kind===n&&(i===this.track?i.mode="showing":i.mode="disabled")}},t.prototype.handleTracksChange=function(e){this.selected("showing"===this.track.mode)},t}(c.default);f.default.registerComponent("TextTrackMenuItem",b),t.default=b},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(1200),l=o(u),c=n(19),d=r(c),f=n(318),p=n(46),h=o(p),m=n(30),g=o(m),v=n(320),y=o(v),b=n(205),_=n(495),w=o(_),C=n(77),x=o(C),E=n(33),T=r(E),k=function(e,t){var n=new g.default.WebVTT.Parser(g.default,g.default.vttjs,g.default.WebVTT.StringDecoder()),r=[];n.oncue=function(e){t.addCue(e)},n.onparsingerror=function(e){r.push(e)},n.onflush=function(){t.trigger({type:"loadeddata",target:t})},n.parse(e),r.length>0&&(g.default.console&&g.default.console.groupCollapsed&&g.default.console.groupCollapsed("Text Track parsing errors for "+t.src),r.forEach(function(e){return h.default.error(e)}),g.default.console&&g.default.console.groupEnd&&g.default.console.groupEnd()),n.flush()},S=function(e,t){var n={uri:e},r=(0,b.isCrossOrigin)(e);r&&(n.cors=r),(0,w.default)(n,d.bind(this,function(e,n,r){if(e)return h.default.error(e,n);if(t.loaded_=!0,"function"!=typeof g.default.WebVTT){if(t.tech_){var o=function(){return k(r,t)};t.tech_.on("vttjsloaded",o),t.tech_.on("vttjserror",function(){h.default.error("vttjs failed to load, stopping trying to process "+t.src),t.tech_.off("vttjsloaded",o)})}}else k(r,t)}))},O=function(e){function t(){var n,r,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(i(this,t),!o.tech)throw new Error("A tech was not provided.");var s=(0,x.default)(o,{kind:f.TextTrackKind[o.kind]||"subtitles",language:o.language||o.srclang||""}),u=f.TextTrackMode[s.mode]||"disabled",c=s.default;"metadata"!==s.kind&&"chapters"!==s.kind||(u="hidden");var p=n=a(this,e.call(this,s));if(p.tech_=s.tech,T.IS_IE8)for(var h in t.prototype)"constructor"!==h&&(p[h]=t.prototype[h]);p.cues_=[],p.activeCues_=[];var m=new l.default(p.cues_),g=new l.default(p.activeCues_),v=!1,y=d.bind(p,function(){this.activeCues,v&&(this.trigger("cuechange"),v=!1)});return"disabled"!==u&&p.tech_.ready(function(){p.tech_.on("timeupdate",y)},!0),Object.defineProperty(p,"default",{get:function(){return c},set:function(){}}),Object.defineProperty(p,"mode",{get:function(){return u},set:function(e){var t=this;f.TextTrackMode[e]&&(u=e,"showing"===u&&this.tech_.ready(function(){t.tech_.on("timeupdate",y)},!0),this.trigger("modechange"))}}),Object.defineProperty(p,"cues",{get:function(){return this.loaded_?m:null},set:function(){}}),Object.defineProperty(p,"activeCues",{get:function(){if(!this.loaded_)return null;if(0===this.cues.length)return g;for(var e=this.tech_.currentTime(),t=[],n=0,r=this.cues.length;n<r;n++){var o=this.cues[n];o.startTime<=e&&o.endTime>=e?t.push(o):o.startTime===o.endTime&&o.startTime<=e&&o.startTime+.5>=e&&t.push(o)}if(v=!1,t.length!==this.activeCues_.length)v=!0;else for(var i=0;i<t.length;i++)this.activeCues_.indexOf(t[i])===-1&&(v=!0);return this.activeCues_=t,g.setCues_(this.activeCues_),g},set:function(){}}),s.src?(p.src=s.src,S(s.src,p)):p.loaded_=!0,r=p,a(n,r)}return s(t,e),t.prototype.addCue=function(e){var t=e;if(g.default.vttjs&&!(e instanceof g.default.vttjs.VTTCue)){t=new g.default.vttjs.VTTCue(e.startTime,e.endTime,e.text);for(var n in e)n in t||(t[n]=e[n]);t.id=e.id,t.originalCue_=e}var r=this.tech_.textTracks();if(r)for(var o=0;o<r.length;o++)r[o]!==this&&r[o].removeCue(t);this.cues_.push(t),this.cues.setCues_(this.cues_)},t.prototype.removeCue=function(e){for(var t=this.cues_.length;t--;){var n=this.cues_[t];if(n===e||n.originalCue_&&n.originalCue_===e){this.cues_.splice(t,1),this.cues.setCues_(this.cues_);break}}},t}(y.default);O.prototype.allowedEvents_={cuechange:"cuechange"},t.default=O},function(e,t){"use strict";t.__esModule=!0;t.VideoTrackKind={alternative:"alternative",captions:"captions",main:"main",sign:"sign",subtitles:"subtitles",commentary:"commentary"},t.AudioTrackKind={alternative:"alternative",descriptions:"descriptions",main:"main","main-desc":"main-desc",translation:"translation",commentary:"commentary"},t.TextTrackKind={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"},t.TextTrackMode={disabled:"disabled",hidden:"hidden",showing:"showing"}},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(203),l=o(u),c=n(33),d=r(c),f=n(28),p=o(f),h=function(e){function t(){var n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;i(this,t);var s=a(this,e.call(this));if(!o&&(o=s,d.IS_IE8)){o=p.default.createElement("custom");for(var u in t.prototype)"constructor"!==u&&(o[u]=t.prototype[u])}o.tracks_=[],Object.defineProperty(o,"length",{get:function(){return this.tracks_.length}});for(var l=0;l<r.length;l++)o.addTrack_(r[l]);return n=o,a(s,n)}return s(t,e),t.prototype.addTrack_=function(e){var t=this.tracks_.length;""+t in this||Object.defineProperty(this,t,{get:function(){return this.tracks_[t]}}),this.tracks_.indexOf(e)===-1&&(this.tracks_.push(e),this.trigger({track:e,type:"addtrack"}))},t.prototype.removeTrack_=function(e){for(var t=void 0,n=0,r=this.length;n<r;n++)if(this[n]===e){t=this[n],t.off&&t.off(),this.tracks_.splice(n,1);break}t&&this.trigger({track:t,type:"removetrack"})},t.prototype.getTrackById=function(e){for(var t=null,n=0,r=this.length;n<r;n++){var o=this[n];if(o.id===e){t=o;break}}return t},t}(l.default);h.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack"};for(var m in h.prototype.allowedEvents_)h.prototype["on"+m]=null;t.default=h},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(33),l=o(u),c=n(28),d=r(c),f=n(130),p=o(f),h=n(203),m=r(h),g=function(e){function t(){var n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i(this,t);var o=a(this,e.call(this)),s=o;if(l.IS_IE8){s=d.default.createElement("custom");for(var u in t.prototype)"constructor"!==u&&(s[u]=t.prototype[u])}var c={id:r.id||"vjs_track_"+p.newGUID(),kind:r.kind||"",label:r.label||"",language:r.language||""},f=function(e){Object.defineProperty(s,e,{get:function(){return c[e]},set:function(){}})};for(var h in c)f(h);return n=s,a(o,n)}return s(t,e),t}(m.default);t.default=g},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!e||!t)return"";if("function"==typeof a.default.getComputedStyle){var n=a.default.getComputedStyle(e);return n?n[t]:""}return e.currentStyle[t]||""}t.__esModule=!0,t.default=o;var i=n(30),a=r(i)},function(e,t){function n(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.EditorUploadModal=void 0;var o=n(11),i=r(o),a=n(9),s=r(a),u=n(4),l=r(u),c=n(7),d=r(c),f=n(5),p=r(f),h=n(6),m=r(h),g=n(1),v=r(g),y=n(1465),b=r(y),_=n(3),w=r(_),C=n(207),x=r(C),E=n(104),T=n(1348),k=r(T),S=n(1229),O=r(S),M=n(1345),A=r(M),N=n(27),I=r(N),P={audio:"Audio",img:"Image",video:"Video"},D={"639-2%3AENG%40ISO":"en","639-2%3AHIN%40ISO":"hi","639-2%3ATEL%40ISO":"te"},R=v.default.createElement(x.default,null),j=v.default.createElement("i",{className:"material-icons"},"close"),L=v.default.createElement("div",{className:"au-c-wysiwyg-media__upload"},v.default.createElement("i",{className:"material-icons"},"find_in_page")),B=t.EditorUploadModal=function(e){function t(e){(0,l.default)(this,t);var n=(0,d.default)(this,(t.__proto__||(0,s.default)(t)).call(this));return n.state={languageMediaData:t.initLanguageMediaData(),activeItem:null,mediaAutoPlay:!1,uploadedMedia:null,selectedMedia:null,language:e.language||E.languages.languageTypeId.english},n}return(0,m.default)(t,e),(0,p.default)(t,null,[{key:"initLanguageMediaData",value:function(){return w.default.reduce(E.languages.languageTypeId,function(e,t){return e[t]={locale:D[t]},e},{})}}]),(0,p.default)(t,[{key:"componentWillReceiveProps",value:function(e){this.setState({language:e.language})}},{key:"componentDidUpdate",value:function(){!this.props.isOpen&&this.state.uploadedMedia&&this.resetModal()}},{key:"setters",value:function(e,t){var n=this.state.languageMediaData;n[this.state.language][e]=t,this.setState({languageMediaData:n})}},{key:"mediaPrompt",value:function(){var e=this.props.localizeStrings("editorUploadModal");return{audio:e.audioFile,img:e.imgFile,video:e.videoFile}}},{key:"addMedia",value:function(){var e=(0,i.default)({},this.state.languageMediaData,{mediaType:this.props.mediaType});this.state.uploadedMedia?this.props.insertMedia(this.state.uploadedMedia,e,!0,this.state.language):this.state.selectedMedia&&this.props.insertMedia(this.state.selectedMedia,null,!1,this.state.language)}},{key:"selectMedia",value:function(e){var t=e.description,n=e.altText,r=e.license,o=e.copyright;this.setState({selectedMedia:e,description:t,altText:n,license:r,copyright:o})}},{key:"metadataFileTypes",value:function(){var e=this.props.mediaType;return"video"===e?["vttFile","transcript"]:"audio"===e?["transcript"]:[]}},{key:"metadataTypes",value:function(){var e=this.props.mediaType;return"audio"===e||"video"===e?["citation","copyright","license"]:["altText","citation","copyright","license"]}},{key:"resetModal",value:function(){this.setState({uploadedMedia:null,languageMediaData:t.initLanguageMediaData(),language:E.languages.languageTypeId.english})}},{key:"closeModal",value:function(){this.props.closeModal(),this.resetModal()}},{key:"render",value:function(){var e=this,n=this.props.localizeStrings("editorUploadModal"),r=w.default.get(this,"state.uploadedMedia.name");return this.props.inProgress&&(r=R),this.props.error&&(r=v.default.createElement("div",{className:"au-c-error-text"},n.error,": ",this.props.error)),v.default.createElement(b.default,{overlayClassName:"au-c-wysiwyg-modal-background",className:"au-c-wysiwyg-modal",isOpen:this.props.isOpen,onRequestClose:function(){return e.closeModal()},contentLabel:"Insert "+P[this.props.mediaType]+" Modal"},v.default.createElement("div",{className:"au-c-wysiwyg-modal__header"},v.default.createElement("h3",{className:"au-c-wysiwyg-modal__title"},n.insert," ",P[this.props.mediaType]),v.default.createElement(O.default,{updateItem:function(t){return e.setState(t)},language:(0,E.getLanguage)(this.state.language)}),v.default.createElement("button",{onClick:function(){return e.closeModal()},className:"au-c-wysiwyg-modal__close"},j)),v.default.createElement("div",{className:"au-c-wysiwyg-modal__main"},v.default.createElement("div",{style:{display:this.state.uploadedMedia||this.props.uploadOnly?"none":"block"}},v.default.createElement("div",{className:"au-c-drop-zone__answers__label"},t[this.props.mediaType]),v.default.createElement(k.default,{media:this.props.media,selectMedia:function(t){return e.selectMedia(t)},selectedMediaId:w.default.get(this.state.selectedMedia,"id"),loading:this.props.loading})),v.default.createElement("div",{className:"au-u-mb-md au-u-mt-md"},v.default.createElement("label",{htmlFor:"fileid",className:"au-c-input--file au-o-flex-center"},v.default.createElement("span",{className:"au-c-wysiwyg-media__label"},"Upload ",P[this.props.mediaType]),v.default.createElement("div",{className:"au-c-wysiwyg-media__source-text",tabIndex:"0"},r),v.default.createElement("input",{onChange:function(t){return e.setState({uploadedMedia:t.target.files[0]})},id:"fileid",type:"file"}),L)),this.state.uploadedMedia?v.default.createElement(A.default,{mediaType:this.props.mediaType,metadataTypes:this.metadataTypes(),metadataFileTypes:this.metadataFileTypes(),selectedLanguage:this.state.language,updateMetadata:function(t,n){return e.setters(t,n)},mediaItem:this.state.selectedMedia,metaData:this.state.languageMediaData[this.state.language]}):null),v.default.createElement("div",{className:"au-c-wysiwyg-modal__footer"},v.default.createElement("button",{onClick:function(){return e.closeModal()},className:"au-u-right  au-c-btn au-c-btn--sm au-c-btn--gray"},n.cancel),v.default.createElement("button",{onClick:function(){return e.addMedia()},className:"au-c-btn au-c-btn--sm au-c-btn--maroon au-u-ml-sm"},n.ok)))}}]),t}(v.default.Component);t.default=(0,I.default)(B)},,function(e,t,n){e.exports={default:n(588),__esModule:!0}},[1515,87,349,348,67,215,237],[1523,140],[1535,164,51,357,86,88,108,610,158,354,35],function(e,t){},function(e,t){function n(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},function(e,t){function n(e){return!!e&&"object"==typeof e}e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),l=r(u),c=n(7),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),g=n(3),v=r(g),y=n(529),b=r(y),_=n(530),w=r(_),C=function(e){function t(){(0,s.default)(this,t);var e=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this));return e.state={recorder:y.RecorderCommands.stop,audioURL:"",timeoutId:null},e}return(0,p.default)(t,e),(0,l.default)(t,[{key:"componentWillUnmount",value:function(){this.state.timeoutId&&window.clearTimeout(this.state.timeoutId)}},{key:"onStop",value:function(e,t){var n=window.URL.createObjectURL(e);this.setState({audioURL:n}),v.default.isFunction(this.props.selectAnswer)&&this.props.selectAnswer(e),this.props.audioRecordStop(t)}},{key:"toggle",value:function(){var e=this;if(this.state.recorder===y.RecorderCommands.stop){var t=window.setTimeout(function(){e.setState({recorder:y.RecorderCommands.stop,timeoutId:null})},1e3*this.props.timeout);this.props.audioRecordStart(),this.setState({recorder:y.RecorderCommands.start,timeoutId:t})}else this.state.recorder===y.RecorderCommands.start&&(window.clearTimeout(this.state.timeoutId),this.setState({recorder:y.RecorderCommands.stop,timeoutId:null}))}},{key:"render",value:function(){var e=this,t=void 0,n=void 0,r=void 0,o=void 0;return this.state.recorder===y.RecorderCommands.start?(r="c-btn--stop",n=this.props.localizedStrings.stop,t=m.default.createElement(w.default,{localizedStrings:this.props.localizedStrings,timeout:this.props.timeout})):(n=this.props.localizedStrings.record,t=m.default.createElement("audio",{src:this.props.savedResponse||this.state.audioURL,type:"audio/wav",controls:!0})),this.props.isDisabled&&(o="c-btn--subdue"),
+m.default.createElement("div",{className:"c-record"},m.default.createElement("button",{onClick:function(){e.toggle()},className:"c-btn  c-btn--record "+(r||"")+" "+(o||""),disabled:this.props.isDisabled},m.default.createElement("span",null,n)),m.default.createElement("span",{className:"c-audio-holder"},t),m.default.createElement(b.default,{command:this.state.recorder,onStop:function(t,n){return e.onStop(t,n)}}))}}]),t}(m.default.Component);t.default=C},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return{connectDragSource:e.dragSource(),isDragging:t.isDragging(),connectDragPreview:e.dragPreview()}}Object.defineProperty(t,"__esModule",{value:!0}),t.Droppable=void 0;var i=n(9),a=r(i),s=n(4),u=r(s),l=n(5),c=r(l),d=n(7),f=r(d),p=n(6),h=r(p),m=n(1),g=r(m),v=n(102),y=n(193),b=n(107),_=r(b),w={beginDrag:function(e,t,n){var r=n.node.getBoundingClientRect(),o=document.getElementsByTagName("body")[0];return o.className="dragging",{height:r.height,width:r.width,droppableId:e.droppableId,droppableText:e.text,previousZoneIndex:e.zoneIndex}}},C=t.Droppable=function(e){function t(){return(0,u.default)(this,t),(0,f.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,h.default)(t,e),(0,c.default)(t,[{key:"componentDidMount",value:function(){this.props.connectDragPreview((0,y.getEmptyImage)())}},{key:"render",value:function(){var e=this,t=this.props,n=t.connectDragSource,r=t.isDragging,o=t.showWhileDragging,i=t.text,a=this.props.hide||r&&!o?"is-hidden":"";return n(g.default.createElement("div",{ref:function(t){return e.node=t},className:(this.props.className||"")+" "+a,style:this.props.style,dangerouslySetInnerHTML:{__html:i}}))}}]),t}(g.default.Component);t.default=(0,v.DragSource)(_.default.CLIX_DROPPABLE,w,o)(C)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.MovableWords=void 0;var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),l=r(u),c=n(7),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),g=n(106),v=(r(g),n(3)),y=r(v),b=n(219),_=r(b),w=n(218),C=r(w),x=n(135),E=n(522),T=r(E),k=n(216),S=r(k),O=m.default.createElement(S.default,null),M=t.MovableWords=function(e){function t(){(0,s.default)(this,t);var e=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this));return e.state={answerPositions:{}},e}return(0,p.default)(t,e),(0,l.default)(t,[{key:"dropWordsInCloud",value:function(e,t){var n=this;y.default.each(e,function(e){y.default.includes(n.props.wordChain,e)&&n.props.selectAnswer(e)})}},{key:"linkWord",value:function(e){this.props.selectAnswer(e)}},{key:"render",value:function(){var e=this,t={};y.default.each(this.props.answers,function(e){t[e.id]=e});var n=y.default.map(t,function(t){return m.default.createElement(C.default,{key:t.id,id:t.id,material:t.material,hide:y.default.includes(e.props.wordChain,t.id),wordClassName:e.props.itemClassName})});return m.default.createElement("div",{dir:"ltr"},m.default.createElement("div",{className:"c-word-box"},m.default.createElement(x.GroupDropZone,{ref:function(t){return e.groupDropZone=t},dropItem:function(t,n){e.dropWordsInCloud(t,n)},className:"c-word-box__contain"},n)),m.default.createElement(T.default,{linkWord:function(t){e.linkWord(t)},answersById:t,wordChain:this.props.wordChain,itemClassName:this.props.itemClassName,answerBoxClassName:this.props.answerBoxClassName,noStartBlock:this.props.noStartBlock}),O)}}]),t}(m.default.Component);t.default=(0,_.default)(M)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=r(o),a=n(201),s=n(1132),u=r(s),l=n(1123),c=r(l);t.default=(0,a.createDevTools)(i.default.createElement(c.default,{toggleVisibilityKey:"H",changePositionKey:"Q",defaultIsVisible:!1},i.default.createElement(u.default,null)))},,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){return{apiCall:!0,type:c.GET_BANKS_HIERARCHY}}function i(e,t,n){return{id:e,bank:t,back:n,type:c.UPDATE_PATH}}Object.defineProperty(t,"__esModule",{value:!0}),t.Constants=void 0,t.getBanks=o,t.updatePath=i;var a=n(56),s=r(a),u=["UPDATE_PATH"],l=["GET_BANKS_HIERARCHY","GET_MEDIA"],c=t.Constants=(0,s.default)(u,l)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return{bankId:e,itemId:t.id,apiCall:!0,type:p.UPDATE_ITEM,body:t}}function i(e,t,n,r,o,i){var a=(0,s.default)({id:t,language:i,question:(0,s.default)({fileIds:r},o||"choices",{new:{id:"new",language:i}})},"language",i);return{bankId:e,itemId:t,apiCall:!0,type:p.UPDATE_ITEM,body:(0,c.scrub)(a)}}Object.defineProperty(t,"__esModule",{value:!0}),t.Constants=void 0;var a=n(66),s=r(a);t.updateItem=o,t.createChoice=i;var u=n(56),l=r(u),c=n(50),d=[],f=["CREATE_ITEM","UPDATE_ITEM"],p=t.Constants=(0,l.default)(d,f)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(224),i=r(o),a=n(4),s=r(a),u=n(5),l=r(u),c=n(3),d=r(c),f=n(507),p=r(f),h=n(210),m=r(h),g={},v=function(){function e(){(0,s.default)(this,e)}return(0,l.default)(e,null,[{key:"get",value:function(t,n,r,o,i,a){var s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:m.default.TIMEOUT;return e.execRequest(m.default.GET,t,n,r,o,i,null,a,s)}},{key:"post",value:function(t,n,r,o,i,a,s){var u=arguments.length>7&&void 0!==arguments[7]?arguments[7]:m.default.TIMEOUT;return e.execRequest(m.default.POST,t,n,r,o,i,a,s,u)}},{key:"put",value:function(t,n,r,o,i,a,s){var u=arguments.length>7&&void 0!==arguments[7]?arguments[7]:m.default.TIMEOUT;return e.execRequest(m.default.PUT,t,n,r,o,i,a,s,u)}},{key:"del",value:function(t,n,r,o,i,a){var s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:m.default.TIMEOUT;return e.execRequest(m.default.DEL,t,n,r,o,i,null,a,s)}},{key:"execRequest",value:function(t,n,r,o,i,a,s,u){var l=arguments.length>8&&void 0!==arguments[8]?arguments[8]:m.default.TIMEOUT;return e.doRequest(e.makeUrl(""+n+e.queryStringFrom(a),r),function(e){var n=void 0;switch(t){case m.default.GET:n=p.default.get(e);break;case m.default.POST:n=p.default.post(e).send(s);break;case m.default.PUT:n=p.default.put(e).send(s);break;case m.default.DEL:n=p.default.del(e)}return n.set("Accept","application/json"),n.timeout(l),d.default.isNil(o)||n.set("Authorization","Bearer "+o),d.default.isNil(i)||n.set("X-CSRF-Token",i),d.default.isNil(u)||d.default.each(u,function(e,t){n.set(t,e)}),n},t)}},{key:"makeUrl",value:function(e,t){if(e.indexOf("http")>=0)return e;var n="/"===d.default.last(t.split(""))?"":"/",r=e;return"/"===e[0]&&(r=e.slice(1)),t+n+r}},{key:"doRequest",value:function(t,n,r){var o=e.wrapRequest(t,n,r);return o.promise?o.promise:(o.promise=e.promisify(o.request,t),o.promise.then(function(){e.disposeRequest(t)},function(){e.disposeRequest(t)}),o.promise)}},{key:"wrapRequest",value:function(e,t,n){return n===m.default.GET?(g[e]||(g[e]={request:t(e)}),g[e]):{request:t(e)}}},{key:"disposeRequest",value:function(e){delete g[e]}},{key:"promisify",value:function(e){return new i.default(function(t,n){e.end(function(e,r){e?n(e):t(r)})})}},{key:"queryStringFrom",value:function(e){var t=d.default.chain(e).map(function(e,t){return e?d.default.isArray(e)?d.default.map(e,function(e){return t+"[]="+e}).join("&"):t+"="+e:""}).compact().value();return t.length>0?"?"+t.join("&"):""}}]),e}();t.default=v},function(e,t,n){e.exports={default:n(593),__esModule:!0}},function(e,t,n){e.exports={default:n(595),__esModule:!0}},function(e,t,n){e.exports={default:n(597),__esModule:!0}},function(e,t,n){e.exports={default:n(603),__esModule:!0}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e.default:e}t.__esModule=!0;var o=n(582);t.threezerotwofour=r(o);var i=n(549);t.apathy=r(i);var a=n(550);t.ashes=r(a);var s=n(551);t.atelierDune=r(s);var u=n(552);t.atelierForest=r(u);var l=n(553);t.atelierHeath=r(l);var c=n(554);t.atelierLakeside=r(c);var d=n(555);t.atelierSeaside=r(d);var f=n(556);t.bespin=r(f);var p=n(557);t.brewer=r(p);var h=n(558);t.bright=r(h);var m=n(559);t.chalk=r(m);var g=n(560);t.codeschool=r(g);var v=n(561);t.colors=r(v);var y=n(562);t.default=r(y);var b=n(563);t.eighties=r(b);var _=n(564);t.embers=r(_);var w=n(565);t.flat=r(w);var C=n(566);t.google=r(C);var x=n(567);t.grayscale=r(x);var E=n(568);t.greenscreen=r(E);var T=n(569);t.harmonic=r(T);var k=n(570);t.hopscotch=r(k);var S=n(571);t.isotope=r(S);var O=n(572);t.marrakesh=r(O);var M=n(573);t.mocha=r(M);var A=n(574);t.monokai=r(A);var N=n(575);t.ocean=r(N);var I=n(576);t.paraiso=r(I);var P=n(577);t.pop=r(P);var D=n(578);t.railscasts=r(D);var R=n(579);t.shapeshifter=r(R);var j=n(580);t.solarized=r(j);var L=n(581);t.summerfruit=r(L);var B=n(583);t.tomorrow=r(B);var F=n(584);t.tube=r(F);var U=n(585);t.twilight=r(U)},90,[1518,47],[1521,68,105,227],[1524,108,35],[1531,67],[1537,35],[1553,165,141,89,234,88,347,68],[1554,89,353],[1557,355,228],[1558,88,132,231],[1560,88,89,605,231],function(e,t,n){var r=n(86);e.exports=function(e,t,n){for(var o in t)n&&e[o]?e[o]=t[o]:r(e,o,t[o]);return e}},function(e,t,n){e.exports=n(86)},[1579,87,608,346,227,47,140],function(e,t,n){var r=n(52);e.exports=function(e,t){if("number"!=typeof e&&"Number"!=r(e))throw TypeError(t);return+e}},function(e,t,n){"use strict";var r=n(32),o=n(97),i=n(31);e.exports=[].copyWithin||function(e,t){var n=r(this),a=i(n.length),s=o(e,a),u=o(t,a),l=arguments.length>2?arguments[2]:void 0,c=Math.min((void 0===l?a:o(l,a))-u,a-s),d=1;for(u<s&&s<u+c&&(d=-1,u+=c-1,s+=c-1);c-- >0;)u in n?n[s]=n[u]:delete n[s],s+=d,u+=d;return n}},function(e,t,n){var r=n(111);e.exports=function(e,t){var n=[];return r(e,!1,n.push,n,t),n}},function(e,t,n){var r=n(41),o=n(32),i=n(143),a=n(31);e.exports=function(e,t,n,s,u){r(t);var l=o(e),c=i(l),d=a(l.length),f=u?d-1:0,p=u?-1:1;if(n<2)for(;;){if(f in c){s=c[f],f+=p;break}if(f+=p,u?f<0:d<=f)throw TypeError("Reduce of empty array with no initial value")}for(;u?f>=0:d>f;f+=p)f in c&&(s=t(s,c[f],f,l));return s}},function(e,t,n){"use strict";var r=n(41),o=n(18),i=n(172),a=[].slice,s={},u=function(e,t,n){if(!(t in s)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";s[t]=Function("F,a","return new F("+r.join(",")+")")}return s[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=a.call(arguments,1),s=function(){var r=n.concat(a.call(arguments));return this instanceof s?u(t,r.length,r):i(t,r,e)};return o(t.prototype)&&(s.prototype=t.prototype),s}},function(e,t,n){"use strict";var r=n(26).f,o=n(92),i=n(95),a=n(71),s=n(90),u=n(53),l=n(111),c=n(248),d=n(370),f=n(96),p=n(25),h=n(78).fastKey,m=p?"_s":"size",g=function(e,t){var n,r=h(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,c){var d=e(function(e,r){s(e,d,t,"_i"),e._i=o(null),e._f=void 0,e._l=void 0,e[m]=0,void 0!=r&&l(r,n,e[c],e)});return i(d.prototype,{clear:function(){for(var e=this,t=e._i,n=e._f;n;n=n.n)n.r=!0,n.p&&(n.p=n.p.n=void 0),delete t[n.i];e._f=e._l=void 0,e[m]=0},delete:function(e){var t=this,n=g(t,e);if(n){var r=n.n,o=n.p;delete t._i[n.i],n.r=!0,o&&(o.n=r),r&&(r.p=o),t._f==n&&(t._f=r),t._l==n&&(t._l=o),t[m]--}return!!n},forEach:function(e){s(this,d,"forEach");for(var t,n=a(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.n:this._f;)for(n(t.v,t.k,this);t&&t.r;)t=t.p},has:function(e){return!!g(this,e)}}),p&&r(d.prototype,"size",{get:function(){return u(this[m])}}),d},def:function(e,t,n){var r,o,i=g(e,t);return i?i.v=n:(e._l=i={i:o=h(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=i),r&&(r.n=i),e[m]++,"F"!==o&&(e._i[o]=i)),e},getEntry:g,setStrong:function(e,t,n){c(e,t,function(e,t){this._t=e,this._k=t,this._l=void 0},function(){for(var e=this,t=e._k,n=e._l;n&&n.r;)n=n.p;return e._t&&(e._l=n=n?n.n:e._t._f)?"keys"==t?d(0,n.k):"values"==t?d(0,n.v):d(0,[n.k,n.v]):(e._t=void 0,d(1))},n?"entries":"values",!n,!0),f(t)}}},function(e,t,n){var r=n(142),o=n(361);e.exports=function(e){return function(){if(r(this)!=e)throw TypeError(e+"#toJSON isn't generic");return o(this)}}},function(e,t,n){"use strict";var r=n(95),o=n(78).getWeak,i=n(12),a=n(18),s=n(90),u=n(111),l=n(60),c=n(37),d=l(5),f=l(6),p=0,h=function(e){return e._l||(e._l=new m)},m=function(){this.a=[]},g=function(e,t){return d(e.a,function(e){return e[0]===t})};m.prototype={get:function(e){var t=g(this,e);if(t)return t[1]},has:function(e){return!!g(this,e)},set:function(e,t){var n=g(this,e);n?n[1]=t:this.a.push([e,t])},delete:function(e){var t=f(this.a,function(t){return t[0]===e});return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,i){var l=e(function(e,r){s(e,l,t,"_i"),e._i=p++,e._l=void 0,void 0!=r&&u(r,n,e[i],e)});return r(l.prototype,{delete:function(e){if(!a(e))return!1;var t=o(e);return t===!0?h(this).delete(e):t&&c(t,this._i)&&delete t[this._i]},has:function(e){if(!a(e))return!1;var t=o(e);return t===!0?h(this).has(e):t&&c(t,this._i)}}),l},def:function(e,t,n){var r=o(i(t),!0);return r===!0?h(e).set(t,n):r[e._i]=n,e},ufstore:h}},[1521,25,15,240],[1528,18],[1531,12],function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t){e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},[1544,94,176,144,32,143,15],[1551,26,12,94,25],[1554,45,93],[1560,37,45,168,253],function(e,t,n){var r=n(94),o=n(45),i=n(144).f;e.exports=function(e){return function(t){for(var n,a=o(t),s=r(a),u=s.length,l=0,c=[];u>l;)i.call(a,n=s[l++])&&c.push(e?[n,a[n]]:a[n]);return c}}},function(e,t,n){var r=n(93),o=n(176),i=n(12),a=n(14).Reflect;e.exports=a&&a.ownKeys||function(e){var t=r.f(i(e)),n=o.f;return n?t.concat(n(e)):t}},function(e,t,n){var r=n(14).parseFloat,o=n(114).trim;e.exports=1/r(n(258)+"-0")!==-(1/0)?function(e){var t=o(String(e),3),n=r(t);return 0===n&&"-"==t.charAt(0)?-0:n}:r},function(e,t,n){var r=n(14).parseInt,o=n(114).trim,i=n(258),a=/^[\-+]?0[xX]/;e.exports=8!==r(i+"08")||22!==r(i+"0x16")?function(e,t){var n=o(String(e),3);return r(n,t>>>0||(a.test(n)?16:10))}:r},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},function(e,t,n){var r=n(31),o=n(257),i=n(53);e.exports=function(e,t,n,a){var s=String(i(e)),u=s.length,l=void 0===n?" ":String(n),c=r(t);if(c<=u||""==l)return s;var d=c-u,f=o.call(l,Math.ceil(d/l.length));return f.length>d&&(f=f.slice(0,d)),a?f+s:s+f}},[1593,20],function(e,t,n){"use strict";var r=n(364);e.exports=n(169)("Map",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{get:function(e){var t=r.getEntry(this,e);return t&&t.v},set:function(e,t){return r.def(this,0===e?0:e,t)}},r,!0)},function(e,t,n){n(25)&&"g"!=/./g.flags&&n(26).f(RegExp.prototype,"flags",{configurable:!0,get:n(171)})},function(e,t,n){"use strict";var r=n(364);e.exports=n(169)("Set",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return r.def(this,e=0===e?0:e,e)}},r)},function(e,t,n){"use strict";var r,o=n(60)(0),i=n(43),a=n(78),s=n(372),u=n(366),l=n(18),c=a.getWeak,d=Object.isExtensible,f=u.ufstore,p={},h=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},m={get:function(e){if(l(e)){var t=c(e);return t===!0?f(this).get(e):t?t[this._i]:void 0}},set:function(e,t){return u.def(this,e,t)}},g=e.exports=n(169)("WeakMap",h,m,u,!0,!0);7!=(new g).set((Object.freeze||Object)(p),7).get(p)&&(r=u.getConstructor(h),s(r.prototype,m),a.NEED=!0,o(["delete","has","get","set"],function(e){var t=g.prototype,n=t[e];i(t,e,function(t,o){if(l(t)&&!d(t)){this._f||(this._f=new r);var i=this._f[e](t,o);return"set"==e?this:i}return n.call(this,t,o)})}))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:f,arguments[1]),t=arguments[2];switch(e.type){case c.HOVER:break;case d.ADD_SOURCE:case d.ADD_TARGET:case d.REMOVE_TARGET:case d.REMOVE_SOURCE:return f;case c.BEGIN_DRAG:case c.PUBLISH_DRAG_SOURCE:case c.END_DRAG:case c.DROP:default:return p}var n=e.targetIds,r=t.targetIds,o=(0,s.default)(n,r),i=!1;if(0===o.length){for(var a=0;a<n.length;a++)if(n[a]!==r[a]){i=!0;break}}else i=!0;if(!i)return f;var u=r[r.length-1],l=n[n.length-1];return u!==l&&(u&&o.push(u),l&&o.push(l)),o}function i(e,t){return e!==f&&(e===p||"undefined"==typeof t||(0,l.default)(t,e).length>0)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o,t.areDirty=i;var a=n(960),s=r(a),u=n(953),l=r(u),c=n(179),d=n(180),f=[],p=[]},function(e,t,n){"use strict";function r(e,t){return e===t||e&&t&&e.x===t.x&&e.y===t.y}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l,t=arguments[1];switch(t.type){case u.BEGIN_DRAG:return{initialSourceClientOffset:t.sourceClientOffset,initialClientOffset:t.clientOffset,clientOffset:t.clientOffset};case u.HOVER:return r(e.clientOffset,t.clientOffset)?e:s({},e,{clientOffset:t.clientOffset});case u.END_DRAG:case u.DROP:return l;default:return e}}function i(e){var t=e.clientOffset,n=e.initialClientOffset,r=e.initialSourceClientOffset;return t&&n&&r?{x:t.x+r.x-n.x,y:t.y+r.y-n.y}:null}function a(e){var t=e.clientOffset,n=e.initialClientOffset;return t&&n?{x:t.x-n.x,y:t.y-n.y}:null}Object.defineProperty(t,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=o,t.getSourceClientOffset=i,t.getDifferenceFromInitialOffset=a;var u=n(179),l={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return(0,a.default)(e)?e.some(function(e){return e===t}):e===t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(39),a=r(i)},function(e,t,n){"use strict";var r=n(40),o={listen:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!1),{remove:function(){e.removeEventListener(t,n,!1)}}):e.attachEvent?(e.attachEvent("on"+t,n),{remove:function(){e.detachEvent("on"+t,n)}}):void 0},capture:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!0),{remove:function(){e.removeEventListener(t,n,!0)}}):{remove:r}},registerDefault:function(){}};e.exports=o},function(e,t){"use strict";function n(e){try{e.focus()}catch(e){}}e.exports=n},function(e,t){"use strict";function n(e){if(e=e||("undefined"!=typeof document?document:void 0),"undefined"==typeof e)return null;try{return e.activeElement||e.body}catch(t){return e.body}}e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.readState=t.saveState=void 0;var o=n(85),i=(r(o),{QuotaExceededError:!0,QUOTA_EXCEEDED_ERR:!0}),a={SecurityError:!0},s="@@History/",u=function(e){return s+e};t.saveState=function(e,t){if(window.sessionStorage)try{null==t?window.sessionStorage.removeItem(u(e)):window.sessionStorage.setItem(u(e),JSON.stringify(t))}catch(e){if(a[e.name])return;if(i[e.name]&&0===window.sessionStorage.length)return;throw e}},t.readState=function(e){var t=void 0;try{t=window.sessionStorage.getItem(u(e))}catch(e){if(a[e.name])return}if(t)try{return JSON.parse(t)}catch(e){}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(269),a=r(i),s=n(81),u=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e(t),r=t.basename,i=function(e){return e?(r&&null==e.basename&&(0===e.pathname.toLowerCase().indexOf(r.toLowerCase())?(e.pathname=e.pathname.substring(r.length),e.basename=r,""===e.pathname&&(e.pathname="/")):e.basename=""),e):e},u=function(e){if(!r)return e;var t="string"==typeof e?(0,s.parsePath)(e):e,n=t.pathname,i="/"===r.slice(-1)?r:r+"/",a="/"===n.charAt(0)?n.slice(1):n,u=i+a;return o({},t,{pathname:u})},l=function(){return i(n.getCurrentLocation())},c=function(e){return n.listenBefore(function(t,n){return(0,a.default)(e,i(t),n)})},d=function(e){return n.listen(function(t){return e(i(t))})},f=function(e){return n.push(u(e))},p=function(e){return n.replace(u(e))},h=function(e){return n.createPath(u(e))},m=function(e){return n.createHref(u(e))},g=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];return i(n.createLocation.apply(n,[u(e)].concat(r)))};return o({},n,{getCurrentLocation:l,listenBefore:c,listen:d,push:f,replace:p,createPath:h,createHref:m,createLocation:g})}};t.default=u},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(975),a=n(269),s=r(a),u=n(116),l=n(81),c=function(e){return(0,i.stringify)(e).replace(/%20/g,"+")},d=i.parse,f=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e(t),r=t.stringifyQuery,i=t.parseQueryString;"function"!=typeof r&&(r=c),"function"!=typeof i&&(i=d);var a=function(e){return e?(null==e.query&&(e.query=i(e.search.substring(1))),e):e},f=function(e,t){if(null==t)return e;var n="string"==typeof e?(0,l.parsePath)(e):e,i=r(t),a=i?"?"+i:"";return o({},n,{search:a})},p=function(){return a(n.getCurrentLocation())},h=function(e){return n.listenBefore(function(t,n){return(0,s.default)(e,a(t),n)})},m=function(e){return n.listen(function(t){return e(a(t))})},g=function(e){return n.push(f(e,e.query))},v=function(e){return n.replace(f(e,e.query))},y=function(e){return n.createPath(f(e,e.query))},b=function(e){return n.createHref(f(e,e.query))},_=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];var i=n.createLocation.apply(n,[f(e,e.query)].concat(r));return e.query&&(i.query=(0,u.createQuery)(e.query)),a(i)};return o({},n,{getCurrentLocation:p,listenBefore:h,listen:m,push:g,replace:v,createPath:y,createHref:b,createLocation:_})}};t.default=f},,function(e,t){function n(e){var t=r.call(e);return"[object Function]"===t||"function"==typeof e&&"[object RegExp]"!==t||"undefined"!=typeof window&&(e===window.setTimeout||e===window.alert||e===window.confirm||e===window.prompt)}e.exports=n;var r=Object.prototype.toString},function(e,t,n){var r=n(100),o=n(74),i=r(o,"Set");e.exports=i},function(e,t,n){function r(e){var t=this.__data__=new o(e);this.size=t.size}var o=n(183),i=n(940),a=n(941),s=n(942),u=n(943),l=n(944);r.prototype.clear=i,r.prototype.delete=a,r.prototype.get=s,r.prototype.has=u,r.prototype.set=l,e.exports=r},function(e,t){function n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}e.exports=n},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}e.exports=n},function(e,t,n){function r(e,t){var n=a(e),r=!n&&i(e),c=!n&&!r&&s(e),f=!n&&!r&&!c&&l(e),p=n||r||c||f,h=p?o(e.length,String):[],m=h.length;for(var g in e)!t&&!d.call(e,g)||p&&("length"==g||c&&("offset"==g||"parent"==g)||f&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||u(g,m))||h.push(g);return h}var o=n(890),i=n(281),a=n(39),s=n(416),u=n(278),l=n(418),c=Object.prototype,d=c.hasOwnProperty;e.exports=r},function(e,t){function n(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}e.exports=n},function(e,t,n){function r(e,t){t=o(t,e);for(var n=0,r=t.length;null!=e&&n<r;)e=e[i(t[n++])];return n&&n==r?e:void 0}var o=n(407),i=n(190);e.exports=r},function(e,t,n){function r(e,t,n,a,s){return e===t||(null==e||null==t||!i(e)&&!i(t)?e!==e&&t!==t:o(e,t,n,a,r,s))}var o=n(877),i=n(101);e.exports=r},function(e,t,n){function r(e,t,n){var r=-1,d=i,f=e.length,p=!0,h=[],m=h;if(n)p=!1,d=a;else if(f>=c){var g=t?null:u(e);if(g)return l(g);p=!1,d=s,m=new o}else m=t?[]:h;e:for(;++r<f;){var v=e[r],y=t?t(v):v;if(v=n||0!==v?v:0,p&&y===y){for(var b=m.length;b--;)if(m[b]===y)continue e;t&&m.push(y),h.push(v)}else d(m,y,n)||(m!==h&&m.push(y),h.push(v))}return h}var o=n(184),i=n(272),a=n(273),s=n(187),u=n(898),l=n(280),c=200;e.exports=r},function(e,t,n){function r(e,t){return o(e)?e:i(e,t)?[e]:a(s(e))}var o=n(39),i=n(279),a=n(946),s=n(959);e.exports=r},function(e,t,n){var r=n(100),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},function(e,t,n){function r(e,t,n,r,l,c){var d=n&s,f=e.length,p=t.length;if(f!=p&&!(d&&p>f))return!1;var h=c.get(e);if(h&&c.get(t))return h==t;var m=-1,g=!0,v=n&u?new o:void 0;for(c.set(e,t),c.set(t,e);++m<f;){var y=e[m],b=t[m];if(r)var _=d?r(b,y,m,t,e,c):r(y,b,m,e,t,c);if(void 0!==_){if(_)continue;g=!1;break}if(v){if(!i(t,function(e,t){if(!a(v,t)&&(y===e||l(y,e,n,r,c)))return v.push(t)})){g=!1;break}}else if(y!==b&&!l(y,b,n,r,c)){g=!1;break}}return c.delete(e),c.delete(t),g}var o=n(184),i=n(867),a=n(187),s=1,u=2;e.exports=r},function(e,t){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(t,function(){return this}())},function(e,t){function n(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||r;return e===n}var r=Object.prototype;e.exports=n},function(e,t,n){function r(e){return e===e&&!o(e)}var o=n(118);e.exports=r},function(e,t){function n(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}e.exports=n},function(e,t){function n(e,t){return function(n){return e(t(n))}}e.exports=n},function(e,t){function n(e){if(null!=e){try{return o.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var r=Function.prototype,o=r.toString;e.exports=n},function(e,t,n){(function(e){var r=n(74),o=n(958),i="object"==typeof t&&t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===i,u=s?r.Buffer:void 0,l=u?u.isBuffer:void 0,c=l||o;e.exports=c}).call(t,n(206)(e))},function(e,t,n){function r(e){if(!i(e))return!1;var t=o(e);return t==s||t==u||t==a||t==l}var o=n(117),i=n(118),a="[object AsyncFunction]",s="[object Function]",u="[object GeneratorFunction]",l="[object Proxy]";e.exports=r},function(e,t,n){var r=n(881),o=n(277),i=n(933),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},function(e,t,n){function r(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(i);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(r.Cache||o),n}var o=n(271),i="Expected a function";r.Cache=o,e.exports=r},function(e,t){function n(){}e.exports=n},function(e,t,n){var r=n(276),o=n(99),i=n(406),a=n(148),s=o(function(e){return i(r(e,1,a,!0))});e.exports=s},function(e,t,n){var r=n(275),o=n(99),i=n(148),a=o(function(e,t){return i(e)?r(e,t):[]});e.exports=a},function(e,t){function n(e){return e.match(r)}var r=/-?\d+(\.\d+)?%?/g;e.exports=n},function(e,t){"use strict";function n(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r<n.length;r++){var o=n[r],i=Object.getOwnPropertyDescriptor(t,o);i&&i.configurable&&void 0===e[o]&&Object.defineProperty(e,o,i)}return e}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):n(e,t))}Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){return function(e){function t(){return r(this,t),o(this,e.apply(this,arguments))}return i(t,e),t.prototype.componentDidUpdate=function(){var e=Date.now();this.path.style.transitionDuration="0.3s, 0.3s",this.prevTimeStamp&&e-this.prevTimeStamp<100&&(this.path.style.transitionDuration="0s, 0s"),this.prevTimeStamp=Date.now()},t.prototype.render=function(){return e.prototype.render.call(this)},t}(e)};t.default=a,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.propTypes=t.defaultProps=void 0;var o=n(22),i=r(o);t.defaultProps={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1},t.propTypes={className:i.default.string,percent:i.default.oneOfType([i.default.number,i.default.string]),prefixCls:i.default.string,strokeColor:i.default.string,strokeLinecap:i.default.oneOf(["round","square"]),strokeWidth:i.default.oneOfType([i.default.number,i.default.string]),style:i.default.object,trailColor:i.default.string,trailWidth:i.default.oneOfType([i.default.number,i.default.string])}},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.getBase16Theme=t.createStyling=t.invertTheme=void 0;var i=n(225),a=o(i),s=n(11),u=o(s),l=n(548),c=o(l),d=n(163),f=o(d),p=n(859),h=o(p),m=n(344),g=r(m),v=n(970),y=o(v),b=n(973),_=o(b),w=n(861),C=o(w),x=n(979),E=g.default,T=(0,f.default)(E),k=function(e){return e<.25?1:e<.5?.9-e:1.1-e},S=(0,C.default)(_.default,x.rgb2yuv,function(e){var t=(0,c.default)(e,3),n=t[0],r=t[1],o=t[2];return[k(n),r,o]},x.yuv2rgb,y.default),O=function(e){return function(t){return{className:[t.className,e.className].filter(Boolean).join(" "),style:(0,u.default)({},t.style||{},e.style||{})}}},M=function(e,t){if(void 0===e)return t;if(void 0===t)return e;var n="undefined"==typeof e?"undefined":(0,a.default)(e),r="undefined"==typeof t?"undefined":(0,a.default)(t);switch(n){case"string":switch(r){case"string":return[t,e].filter(Boolean).join(" ");case"object":return O({className:e,style:t});case"function":return function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return O({className:e})(t.apply(void 0,[n].concat(o)))}}case"object":switch(r){case"string":return O({className:t,style:e});case"object":return(0,u.default)({},t,e);case"function":return function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return O({style:e})(t.apply(void 0,[n].concat(o)))}}case"function":switch(r){case"string":return function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return e.apply(void 0,[O(n)({className:t})].concat(o))};case"object":return function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return e.apply(void 0,[O(n)({style:t})].concat(o))};case"function":return function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return e.apply(void 0,[t.apply(void 0,[n].concat(o))].concat(o))}}}},A=function(e,t){var n=(0,f.default)(t);for(var r in e)n.indexOf(r)===-1&&n.push(r);return n.reduce(function(n,r){return n[r]=M(e[r],t[r]),n},{})},N=function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];if(null===t)return e;Array.isArray(t)||(t=[t]);var i=t.map(function(t){return e[t]}).filter(Boolean),s=i.reduce(function(e,t){return"string"==typeof t?e.className=[e.className,t].filter(Boolean).join(" "):"object"===("undefined"==typeof t?"undefined":(0,a.default)(t))?e.style=(0,u.default)({},e.style,t):"function"==typeof t&&(e=(0,u.default)({},e,t.apply(void 0,[e].concat(r)))),e},{className:"",style:{}});return s.className||delete s.className,0===(0,f.default)(s.style).length&&delete s.style,s},I=t.invertTheme=function(e){return(0,
+f.default)(e).reduce(function(t,n){return t[n]=/^base/.test(n)?S(e[n]):"scheme"===n?e[n]+":inverted":e[n],t},{})},P=(t.createStyling=(0,h.default)(function(e){for(var t=arguments.length,n=Array(t>3?t-3:0),r=3;r<t;r++)n[r-3]=arguments[r];var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=o.defaultBase16,s=void 0===a?E:a,l=o.base16Themes,c=void 0===l?null:l,d=P(i,c);d&&(i=(0,u.default)({},d,i));var p=T.reduce(function(e,t){return e[t]=i[t]||s[t],e},{}),m=(0,f.default)(i).reduce(function(e,t){return T.indexOf(t)===-1?(e[t]=i[t],e):e},{}),g=e(p),v=A(m,g);return(0,h.default)(N,2).apply(void 0,[v].concat(n))},3),t.getBase16Theme=function(e,t){if(e&&e.extend&&(e=e.extend),"string"==typeof e){var n=e.split(":"),r=(0,c.default)(n,2),o=r[0],i=r[1];e=(t||{})[o]||g[o],"inverted"===i&&(e=I(e))}return e&&e.hasOwnProperty("base00")?e:void 0})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.isSafari=t.isFirefox=void 0;var o=n(419),i=r(o);t.isFirefox=(0,i.default)(function(){return/firefox/i.test(navigator.userAgent)}),t.isSafari=(0,i.default)(function(){return Boolean(window.safari)})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){b.default.apply(void 0,["DragDropContext","backend"].concat(Array.prototype.slice.call(arguments)));var t=C(e),n=w(t);return function(e){var t,r,s=e.displayName||e.name||"Component",c=(r=t=function(t){function r(){return o(this,r),i(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return a(r,t),l(r,[{key:"getDecoratedComponentInstance",value:function(){return(0,m.default)(this.child,"In order to access an instance of the decorated component it can not be a stateless component."),this.child}},{key:"getManager",value:function(){return n.dragDropManager}},{key:"getChildContext",value:function(){return n}},{key:"render",value:function(){var t=this;return f.default.createElement(e,u({},this.props,{ref:function(e){return t.child=e}}))}}]),r}(d.Component),t.DecoratedComponent=e,t.displayName="DragDropContext("+s+")",t.childContextTypes=_,r);return(0,v.default)(c,e)}}Object.defineProperty(t,"__esModule",{value:!0}),t.unpackBackendForEs5Users=t.createChildContext=t.CHILD_CONTEXT_TYPES=void 0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=s;var d=n(1),f=r(d),p=n(827),h=n(17),m=r(h),g=n(145),v=r(g),y=n(194),b=r(y),_=t.CHILD_CONTEXT_TYPES={dragDropManager:d.PropTypes.object.isRequired},w=t.createChildContext=function(e,t){return{dragDropManager:new p.DragDropManager(e,t)}},C=t.unpackBackendForEs5Users=function(e){var t=e;return"object"===("undefined"==typeof t?"undefined":c(t))&&"function"==typeof t.default&&(t=t.default),(0,m.default)("function"==typeof t,"Expected the backend to be a function or an ES6 module exporting a default function. Read more: http://react-dnd.github.io/react-dnd/docs-drag-drop-context.html"),t}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return t===e||null!==t&&null!==e&&(0,a.default)(t,e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(287),a=r(i)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t,n,r=e.DecoratedComponent,s=e.createHandler,h=e.createMonitor,m=e.createConnector,v=e.registerHandler,b=e.containerDisplayName,w=e.getType,x=e.collect,E=e.options,T=E.arePropsEqual,k=void 0===T?C.default:T,S=r.displayName||r.name||"Component",O=(n=t=function(e){function t(e,n){o(this,t);var r=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.handleChange=r.handleChange.bind(r),r.handleChildRef=r.handleChildRef.bind(r),(0,g.default)("object"===l(r.context.dragDropManager),"Could not find the drag and drop manager in the context of %s. Make sure to wrap the top-level component of your app with DragDropContext. Read more: http://react-dnd.github.io/react-dnd/docs-troubleshooting.html#could-not-find-the-drag-and-drop-manager-in-the-context",S,S),r.manager=r.context.dragDropManager,r.handlerMonitor=h(r.manager),r.handlerConnector=m(r.manager.getBackend()),r.handler=s(r.handlerMonitor),r.disposable=new p.SerialDisposable,r.receiveProps(e),r.state=r.getCurrentState(),r.dispose(),r}return a(t,e),c(t,[{key:"getHandlerId",value:function(){return this.handlerId}},{key:"getDecoratedComponentInstance",value:function(){return this.decoratedComponentInstance}},{key:"shouldComponentUpdate",value:function(e,t){return!k(e,this.props)||!(0,_.default)(t,this.state)}}]),c(t,[{key:"componentDidMount",value:function(){this.isCurrentlyMounted=!0,this.disposable=new p.SerialDisposable,this.currentType=null,this.receiveProps(this.props),this.handleChange()}},{key:"componentWillReceiveProps",value:function(e){k(e,this.props)||(this.receiveProps(e),this.handleChange())}},{key:"componentWillUnmount",value:function(){this.dispose(),this.isCurrentlyMounted=!1}},{key:"receiveProps",value:function(e){this.handler.receiveProps(e),this.receiveType(w(e))}},{key:"receiveType",value:function(e){if(e!==this.currentType){this.currentType=e;var t=v(e,this.handler,this.manager),n=t.handlerId,r=t.unregister;this.handlerId=n,this.handlerMonitor.receiveHandlerId(n),this.handlerConnector.receiveHandlerId(n);var o=this.manager.getMonitor(),i=o.subscribeToStateChange(this.handleChange,{handlerIds:[n]});this.disposable.setDisposable(new p.CompositeDisposable(new p.Disposable(i),new p.Disposable(r)))}}},{key:"handleChange",value:function(){if(this.isCurrentlyMounted){var e=this.getCurrentState();(0,_.default)(e,this.state)||this.setState(e)}}},{key:"dispose",value:function(){this.disposable.dispose(),this.handlerConnector.receiveHandlerId(null)}},{key:"handleChildRef",value:function(e){this.decoratedComponentInstance=e,this.handler.receiveComponent(e)}},{key:"getCurrentState",value:function(){var e=x(this.handlerConnector.hooks,this.handlerMonitor);return e}},{key:"render",value:function(){return f.default.createElement(r,u({},this.props,this.state,{ref:this.handleChildRef}))}}]),t}(d.Component),t.DecoratedComponent=r,t.displayName=b+"("+S+")",t.contextTypes={dragDropManager:d.PropTypes.object.isRequired},n);return(0,y.default)(O,r)}Object.defineProperty(t,"__esModule",{value:!0});var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=s;var d=n(1),f=r(d),p=n(820),h=n(63),m=(r(h),n(17)),g=r(m),v=n(145),y=r(v),b=n(287),_=r(b),w=n(432),C=r(w)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return"string"==typeof e||"symbol"===("undefined"==typeof e?"undefined":i(e))||t&&(0,s.default)(e)&&e.every(function(e){return o(e,!1)})}Object.defineProperty(t,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=o;var a=n(39),s=r(a)},function(e,t){"use strict";function n(e,t){if(e===t)return!0;if("object"!==("undefined"==typeof e?"undefined":r(e))||null===e||"object"!==("undefined"==typeof t?"undefined":r(t))||null===t)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(var i=Object.prototype.hasOwnProperty,a=0;a<n.length;a+=1){if(!i.call(t,n[a]))return!1;var s=e[n[a]],u=t[n[a]];if(s!==u||"object"===("undefined"==typeof s?"undefined":r(s))||"object"===("undefined"==typeof u?"undefined":r(u)))return!1}return!0}Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if("string"!=typeof e.type){var t=e.type.displayName||e.type.name||"the component";throw new Error("Only native element nodes can now be passed to React DnD connectors."+("You can either wrap "+t+" into a <div>, or turn it into a ")+"drag source or a drop target itself.")}}function i(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!(0,s.isValidElement)(t)){var r=t;return void e(r,n)}var i=t;o(i);var a=n?function(t){return e(t,n)}:e;return(0,l.default)(i,a)}}function a(e){var t={};return Object.keys(e).forEach(function(n){var r=e[n],o=i(r);t[n]=function(){return o}}),t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var s=n(1),u=n(999),l=r(u)},function(e,t){"use strict";function n(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var r={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},o=["Webkit","ms","Moz","O"];Object.keys(r).forEach(function(e){o.forEach(function(t){r[n(t,e)]=r[e]})});var i={background:{backgroundAttachment:!0,backgroundColor:!0,backgroundImage:!0,backgroundPositionX:!0,backgroundPositionY:!0,backgroundRepeat:!0},backgroundPosition:{backgroundPositionX:!0,backgroundPositionY:!0},border:{borderWidth:!0,borderStyle:!0,borderColor:!0},borderBottom:{borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0},borderLeft:{borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0},borderRight:{borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0},borderTop:{borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0},font:{fontStyle:!0,fontVariant:!0,fontWeight:!0,fontSize:!0,lineHeight:!0,fontFamily:!0},outline:{outlineWidth:!0,outlineStyle:!0,outlineColor:!0}},a={isUnitlessNumber:r,shorthandPropertyExpansions:i};e.exports=a},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=n(16),i=n(103),a=(n(10),function(){function e(t){r(this,e),this._callbacks=null,this._contexts=null,this._arg=t}return e.prototype.enqueue=function(e,t){this._callbacks=this._callbacks||[],this._callbacks.push(e),this._contexts=this._contexts||[],this._contexts.push(t)},e.prototype.notifyAll=function(){var e=this._callbacks,t=this._contexts,n=this._arg;if(e&&t){e.length!==t.length?o("24"):void 0,this._callbacks=null,this._contexts=null;for(var r=0;r<e.length;r++)e[r].call(t[r],n);e.length=0,t.length=0}},e.prototype.checkpoint=function(){return this._callbacks?this._callbacks.length:0},e.prototype.rollback=function(e){this._callbacks&&this._contexts&&(this._callbacks.length=e,this._contexts.length=e)},e.prototype.reset=function(){this._callbacks=null,this._contexts=null},e.prototype.destructor=function(){this.reset()},e}());e.exports=i.addPoolingTo(a)},function(e,t,n){"use strict";function r(e){return!!l.hasOwnProperty(e)||!u.hasOwnProperty(e)&&(s.test(e)?(l[e]=!0,!0):(u[e]=!0,!1))}function o(e,t){return null==t||e.hasBooleanValue&&!t||e.hasNumericValue&&isNaN(t)||e.hasPositiveNumericValue&&t<1||e.hasOverloadedBooleanValue&&t===!1}var i=n(120),a=(n(29),n(55),n(1066)),s=(n(13),new RegExp("^["+i.ATTRIBUTE_NAME_START_CHAR+"]["+i.ATTRIBUTE_NAME_CHAR+"]*$")),u={},l={},c={createMarkupForID:function(e){return i.ID_ATTRIBUTE_NAME+"="+a(e)},setAttributeForID:function(e,t){e.setAttribute(i.ID_ATTRIBUTE_NAME,t)},createMarkupForRoot:function(){return i.ROOT_ATTRIBUTE_NAME+'=""'},setAttributeForRoot:function(e){e.setAttribute(i.ROOT_ATTRIBUTE_NAME,"")},createMarkupForProperty:function(e,t){var n=i.properties.hasOwnProperty(e)?i.properties[e]:null;if(n){if(o(n,t))return"";var r=n.attributeName;return n.hasBooleanValue||n.hasOverloadedBooleanValue&&t===!0?r+'=""':r+"="+a(t)}return i.isCustomAttribute(e)?null==t?"":e+"="+a(t):null},createMarkupForCustomAttribute:function(e,t){return r(e)&&null!=t?e+"="+a(t):""},setValueForProperty:function(e,t,n){var r=i.properties.hasOwnProperty(t)?i.properties[t]:null;if(r){var a=r.mutationMethod;if(a)a(e,n);else{if(o(r,n))return void this.deleteValueForProperty(e,t);if(r.mustUseProperty)e[r.propertyName]=n;else{var s=r.attributeName,u=r.attributeNamespace;u?e.setAttributeNS(u,s,""+n):r.hasBooleanValue||r.hasOverloadedBooleanValue&&n===!0?e.setAttribute(s,""):e.setAttribute(s,""+n)}}}else if(i.isCustomAttribute(t))return void c.setValueForAttribute(e,t,n)},setValueForAttribute:function(e,t,n){if(r(t)){null==n?e.removeAttribute(t):e.setAttribute(t,""+n)}},deleteValueForAttribute:function(e,t){e.removeAttribute(t)},deleteValueForProperty:function(e,t){var n=i.properties.hasOwnProperty(t)?i.properties[t]:null;if(n){var r=n.mutationMethod;if(r)r(e,void 0);else if(n.mustUseProperty){var o=n.propertyName;n.hasBooleanValue?e[o]=!1:e[o]=""}else e.removeAttribute(n.attributeName)}else i.isCustomAttribute(t)&&e.removeAttribute(t)}};e.exports=c},function(e,t){"use strict";var n={hasCachedChildNodes:1};e.exports=n},function(e,t,n){"use strict";function r(){if(this._rootNodeID&&this._wrapperState.pendingUpdate){this._wrapperState.pendingUpdate=!1;var e=this._currentElement.props,t=s.getValue(e);null!=t&&o(this,Boolean(e.multiple),t)}}function o(e,t,n){var r,o,i=u.getNodeFromInstance(e).options;if(t){for(r={},o=0;o<n.length;o++)r[""+n[o]]=!0;for(o=0;o<i.length;o++){var a=r.hasOwnProperty(i[o].value);i[o].selected!==a&&(i[o].selected=a)}}else{for(r=""+n,o=0;o<i.length;o++)if(i[o].value===r)return void(i[o].selected=!0);i.length&&(i[0].selected=!0)}}function i(e){var t=this._currentElement.props,n=s.executeOnChange(t,e);return this._rootNodeID&&(this._wrapperState.pendingUpdate=!0),l.asap(r,this),n}var a=n(21),s=n(292),u=n(29),l=n(64),c=(n(13),!1),d={getHostProps:function(e,t){return a({},t,{onChange:e._wrapperState.onChange,value:void 0})},mountWrapper:function(e,t){var n=s.getValue(t);e._wrapperState={pendingUpdate:!1,initialValue:null!=n?n:t.defaultValue,listeners:null,onChange:i.bind(e),wasMultiple:Boolean(t.multiple)},void 0===t.value||void 0===t.defaultValue||c||(c=!0)},getSelectValueContext:function(e){return e._wrapperState.initialValue},postUpdateWrapper:function(e){var t=e._currentElement.props;e._wrapperState.initialValue=void 0;var n=e._wrapperState.wasMultiple;e._wrapperState.wasMultiple=Boolean(t.multiple);var r=s.getValue(t);null!=r?(e._wrapperState.pendingUpdate=!1,o(e,Boolean(t.multiple),r)):n!==Boolean(t.multiple)&&(null!=t.defaultValue?o(e,Boolean(t.multiple),t.defaultValue):o(e,Boolean(t.multiple),t.multiple?[]:""))}};e.exports=d},function(e,t){"use strict";var n,r={injectEmptyComponentFactory:function(e){n=e}},o={create:function(e){return n(e)}};o.injection=r,e.exports=o},function(e,t){"use strict";var n={logTopLevelRenders:!1};e.exports=n},function(e,t,n){"use strict";function r(e){return s?void 0:a("111",e.type),new s(e)}function o(e){return new u(e)}function i(e){return e instanceof u}var a=n(16),s=(n(10),null),u=null,l={injectGenericComponentClass:function(e){s=e},injectTextComponentClass:function(e){u=e}},c={createInternalComponent:r,createInstanceForText:o,isTextComponent:i,injection:l};e.exports=c},function(e,t,n){"use strict";function r(e){return i(document.documentElement,e)}var o=n(1026),i=n(838),a=n(391),s=n(392),u={hasSelectionCapabilities:function(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&"text"===e.type||"textarea"===t||"true"===e.contentEditable)},getSelectionInformation:function(){var e=s();return{focusedElem:e,selectionRange:u.hasSelectionCapabilities(e)?u.getSelection(e):null}},restoreSelection:function(e){var t=s(),n=e.focusedElem,o=e.selectionRange;t!==n&&r(n)&&(u.hasSelectionCapabilities(n)&&u.setSelection(n,o),a(n))},getSelection:function(e){var t;if("selectionStart"in e)t={start:e.selectionStart,end:e.selectionEnd};else if(document.selection&&e.nodeName&&"input"===e.nodeName.toLowerCase()){var n=document.selection.createRange();n.parentElement()===e&&(t={start:-n.moveStart("character",-e.value.length),end:-n.moveEnd("character",-e.value.length)})}else t=o.getOffsets(e);return t||{start:0,end:0}},setSelection:function(e,t){var n=t.start,r=t.end;if(void 0===r&&(r=n),"selectionStart"in e)e.selectionStart=n,e.selectionEnd=Math.min(r,e.value.length);else if(document.selection&&e.nodeName&&"input"===e.nodeName.toLowerCase()){var i=e.createTextRange();i.collapse(!0),i.moveStart("character",n),i.moveEnd("character",r-n),i.select()}else o.setOffsets(e,t)}};e.exports=u},function(e,t,n){"use strict";function r(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r++)if(e.charAt(r)!==t.charAt(r))return r;return e.length===t.length?-1:n}function o(e){return e?e.nodeType===D?e.documentElement:e.firstChild:null}function i(e){return e.getAttribute&&e.getAttribute(N)||""}function a(e,t,n,r,o){var i;if(w.logTopLevelRenders){var a=e._currentElement.props.child,s=a.type;i="React mount: "+("string"==typeof s?s:s.displayName||s.name),console.time(i)}var u=E.mountComponent(e,n,null,b(e,t),o,0);i&&console.timeEnd(i),e._renderedComponent._topLevelWrapper=e,F._mountImageIntoNode(u,t,e,r,n)}function s(e,t,n,r){var o=k.ReactReconcileTransaction.getPooled(!n&&_.useCreateElement);o.perform(a,null,e,t,o,n,r),k.ReactReconcileTransaction.release(o)}function u(e,t,n){for(E.unmountComponent(e,n),t.nodeType===D&&(t=t.documentElement);t.lastChild;)t.removeChild(t.lastChild)}function l(e){var t=o(e);if(t){var n=y.getInstanceFromNode(t);return!(!n||!n._hostParent)}}function c(e){return!(!e||e.nodeType!==P&&e.nodeType!==D&&e.nodeType!==R)}function d(e){var t=o(e),n=t&&y.getInstanceFromNode(t);return n&&!n._hostParent?n:null}function f(e){var t=d(e);return t?t._hostContainerInfo._topLevelWrapper:null}var p=n(16),h=n(119),m=n(120),g=n(127),v=n(196),y=(n(76),n(29)),b=n(1020),_=n(1022),w=n(440),C=n(149),x=(n(55),n(1036)),E=n(123),T=n(295),k=n(64),S=n(115),O=n(449),M=(n(10),n(200)),A=n(302),N=(n(13),m.ID_ATTRIBUTE_NAME),I=m.ROOT_ATTRIBUTE_NAME,P=1,D=9,R=11,j={},L=1,B=function(){this.rootID=L++};B.prototype.isReactComponent={},B.prototype.render=function(){return this.props.child},B.isReactTopLevelWrapper=!0;var F={TopLevelWrapper:B,_instancesByReactRootID:j,scrollMonitor:function(e,t){t()},_updateRootComponent:function(e,t,n,r,o){return F.scrollMonitor(r,function(){T.enqueueElementInternal(e,t,n),o&&T.enqueueCallbackInternal(e,o)}),e},_renderNewRootComponent:function(e,t,n,r){c(t)?void 0:p("37"),v.ensureScrollValueMonitoring();var o=O(e,!1);k.batchedUpdates(s,o,t,n,r);var i=o._instance.rootID;return j[i]=o,o},renderSubtreeIntoContainer:function(e,t,n,r){return null!=e&&C.has(e)?void 0:p("38"),F._renderSubtreeIntoContainer(e,t,n,r)},_renderSubtreeIntoContainer:function(e,t,n,r){T.validateCallback(r,"ReactDOM.render"),g.isValidElement(t)?void 0:p("39","string"==typeof t?" Instead of passing a string like 'div', pass React.createElement('div') or <div />.":"function"==typeof t?" Instead of passing a class like Foo, pass React.createElement(Foo) or <Foo />.":null!=t&&void 0!==t.props?" This may be caused by unintentionally loading two independent copies of React.":"");var a,s=g.createElement(B,{child:t});if(e){var u=C.get(e);a=u._processChildContext(u._context)}else a=S;var c=f(n);if(c){var d=c._currentElement,h=d.props.child;if(A(h,t)){var m=c._renderedComponent.getPublicInstance(),v=r&&function(){r.call(m)};return F._updateRootComponent(c,s,a,n,v),m}F.unmountComponentAtNode(n)}var y=o(n),b=y&&!!i(y),_=l(n),w=b&&!c&&!_,x=F._renderNewRootComponent(s,n,w,a)._renderedComponent.getPublicInstance();return r&&r.call(x),x},render:function(e,t,n){return F._renderSubtreeIntoContainer(null,e,t,n)},unmountComponentAtNode:function(e){c(e)?void 0:p("40");var t=f(e);if(!t){l(e),1===e.nodeType&&e.hasAttribute(I);return!1}return delete j[t._instance.rootID],k.batchedUpdates(u,t,e,!1),!0},_mountImageIntoNode:function(e,t,n,i,a){if(c(t)?void 0:p("41"),i){var s=o(t);if(x.canReuseMarkup(e,s))return void y.precacheNode(n,s);var u=s.getAttribute(x.CHECKSUM_ATTR_NAME);s.removeAttribute(x.CHECKSUM_ATTR_NAME);var l=s.outerHTML;s.setAttribute(x.CHECKSUM_ATTR_NAME,u);var d=e,f=r(d,l),m=" (client) "+d.substring(f-20,f+20)+"\n (server) "+l.substring(f-20,f+20);t.nodeType===D?p("42",m):void 0}if(t.nodeType===D?p("43"):void 0,a.useCreateElement){for(;t.lastChild;)t.removeChild(t.lastChild);h.insertTreeBefore(t,e,null)}else M(t,e),y.precacheNode(n,t.firstChild)}};e.exports=F},function(e,t,n){"use strict";var r=n(16),o=n(127),i=(n(10),{HOST:0,COMPOSITE:1,EMPTY:2,getType:function(e){return null===e||e===!1?i.EMPTY:o.isValidElement(e)?"function"==typeof e.type?i.COMPOSITE:i.HOST:void r("26",e)}});e.exports=i},function(e,t,n){"use strict";function r(e,t){return null==t?o("30"):void 0,null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}var o=n(16);n(10);e.exports=r},function(e,t){"use strict";function n(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}e.exports=n},function(e,t,n){"use strict";function r(e){for(var t;(t=e._renderedNodeType)===o.COMPOSITE;)e=e._renderedComponent;return t===o.HOST?e._renderedComponent:t===o.EMPTY?null:void 0}var o=n(444);e.exports=r},function(e,t,n){"use strict";function r(){return!i&&o.canUseDOM&&(i="textContent"in document.documentElement?"textContent":"innerText"),i}var o=n(38),i=null;e.exports=r},function(e,t,n){"use strict";function r(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""}function o(e){return"function"==typeof e&&"undefined"!=typeof e.prototype&&"function"==typeof e.prototype.mountComponent&&"function"==typeof e.prototype.receiveComponent}function i(e,t){var n;if(null===e||e===!1)n=l.create(i);else if("object"==typeof e){var s=e,u=s.type;if("function"!=typeof u&&"string"!=typeof u){var f="";f+=r(s._owner),a("130",null==u?u:typeof u,f)}"string"==typeof s.type?n=c.createInternalComponent(s):o(s.type)?(n=new s.type(s),n.getHostNode||(n.getHostNode=n.getNativeNode)):n=new d(s)}else"string"==typeof e||"number"==typeof e?n=c.createInstanceForText(e):a("131",typeof e);return n._mountIndex=0,n._mountImage=null,n}var a=n(16),s=n(21),u=n(1017),l=n(439),c=n(441),d=(n(1117),n(10),n(13),function(e){this.construct(e)});s(d.prototype,u,{_instantiateReactComponent:i}),e.exports=i},function(e,t){"use strict";function n(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!r[e.type]:"textarea"===t}var r={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};e.exports=n},function(e,t,n){"use strict";var r=n(38),o=n(199),i=n(200),a=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t};r.canUseDOM&&("textContent"in document.documentElement||(a=function(e,t){return 3===e.nodeType?void(e.nodeValue=t):void i(e,o(t))})),e.exports=a},function(e,t,n){"use strict";function r(e,t){return e&&"object"==typeof e&&null!=e.key?l.escape(e.key):t.toString(36)}function o(e,t,n,i){var f=typeof e;if("undefined"!==f&&"boolean"!==f||(e=null),null===e||"string"===f||"number"===f||"object"===f&&e.$$typeof===s)return n(i,e,""===t?c+r(e,0):t),1;var p,h,m=0,g=""===t?c:t+d;if(Array.isArray(e))for(var v=0;v<e.length;v++)p=e[v],h=g+r(p,v),m+=o(p,h,n,i);else{var y=u(e);if(y){var b,_=y.call(e);if(y!==e.entries)for(var w=0;!(b=_.next()).done;)p=b.value,h=g+r(p,w++),m+=o(p,h,n,i);else for(;!(b=_.next()).done;){var C=b.value;C&&(p=C[1],h=g+l.escape(C[0])+d+r(p,0),m+=o(p,h,n,i))}}else if("object"===f){var x="",E=String(e);a("31","[object Object]"===E?"object with keys {"+Object.keys(e).join(", ")+"}":E,x)}}return m}function i(e,t,n){return null==e?0:o(e,"",t,n)}var a=n(16),s=(n(76),n(1032)),u=n(1063),l=(n(10),n(291)),c=(n(13),"."),d=":";e.exports=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(11),i=r(o),a=n(1),s=r(a),u=n(22),l=r(u),c=function(e){var t=e.styling,n=e.arrowStyle,r=e.expanded,o=e.nodeType,a=e.onClick;return s.default.createElement("div",(0,i.default)({},t("arrowContainer",n),{onClick:a}),s.default.createElement("div",t(["arrow","arrowSign"],o,r,n),"▶","double"===n&&s.default.createElement("div",t(["arrowSign","arrowSignInner"]),"▶")))};c.propTypes={styling:l.default.func.isRequired,arrowStyle:l.default.oneOf(["single","double"]),expanded:l.default.bool.isRequired,nodeType:l.default.string.isRequired,onClick:l.default.func.isRequired},c.defaultProps={arrowStyle:"single"},t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(11),i=r(o),a=n(139),s=r(a),u=n(1),l=r(u),c=n(22),d=r(c),f=n(1075),p=r(f),h=n(1071),m=r(h),g=n(1069),v=r(g),y=n(1070),b=r(y),_=n(1072),w=r(_),C=function(e){var t=e.getItemString,n=e.keyPath,r=e.labelRenderer,o=e.styling,a=e.value,u=e.valueRenderer,c=e.isCustomNode,d=(0,s.default)(e,["getItemString","keyPath","labelRenderer","styling","value","valueRenderer","isCustomNode"]),f=c(a)?"Custom":(0,p.default)(a),h={getItemString:t,key:n[0],keyPath:n,labelRenderer:r,nodeType:f,styling:o,value:a,valueRenderer:u},g=(0,i.default)({},d,h,{data:a,isCustomNode:c});switch(f){case"Object":case"Error":case"WeakMap":case"WeakSet":return l.default.createElement(m.default,g);case"Array":return l.default.createElement(v.default,g);case"Iterable":case"Map":case"Set":return l.default.createElement(b.default,g);case"String":return l.default.createElement(w.default,(0,i.default)({},h,{valueGetter:function(e){return'"'+e+'"'}}));case"Number":return l.default.createElement(w.default,h);case"Boolean":return l.default.createElement(w.default,(0,i.default)({},h,{valueGetter:function(e){return e?"true":"false"}}));case"Date":return l.default.createElement(w.default,(0,i.default)({},h,{valueGetter:function(e){return e.toISOString()}}));case"Null":return l.default.createElement(w.default,(0,i.default)({},h,{valueGetter:function(){return"null"}}));case"Undefined":return l.default.createElement(w.default,(0,i.default)({},h,{valueGetter:function(){return"undefined"}}));case"Function":case"Symbol":return l.default.createElement(w.default,(0,i.default)({},h,{valueGetter:function(e){return e.toString()}}));case"Custom":return l.default.createElement(w.default,h);default:return null}};C.propTypes={getItemString:d.default.func.isRequired,keyPath:d.default.arrayOf(d.default.oneOfType([d.default.string,d.default.number])).isRequired,labelRenderer:d.default.func.isRequired,styling:d.default.func.isRequired,value:d.default.any,valueRenderer:d.default.func.isRequired,isCustomNode:d.default.func.isRequired},t.default=C},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={getArrowStyle:"arrow",getListStyle:"nestedNodeChildren",getItemStringStyle:"nestedNodeItemString",getLabelStyle:"label",getValueStyle:"valueText"},r=(0,b.default)(n).filter(function(e){return t[e]});return r.length>0&&(e="string"==typeof e?{extend:e}:(0,v.default)({},e),r.forEach(function(r){console.error('Styling method "'+r+'" is deprecated, use "theme" property instead'),e[n[r]]=function(e){for(var n=arguments.length,o=Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];var a=e.style;return{style:(0,v.default)({},a,t[r].apply(t,o))}}})),e}function i(e){var t=o(e.theme,e);return e.invertTheme&&("string"==typeof t?t+=":inverted":t&&t.extend?t="string"==typeof t?(0,v.default)({},t,{extend:t.extend+":inverted"}):(0,v.default)({},t,{extend:(0,O.invertTheme)(t.extend)}):t&&(t=(0,O.invertTheme)(t))),{styling:(0,S.default)(t)}}t.__esModule=!0,t.default=void 0;var a,s,u=n(139),l=r(u),c=n(4),d=r(c),f=n(7),p=r(f),h=n(6),m=r(h),g=n(11),v=r(g),y=n(163),b=r(y),_=n(1),w=r(_),C=n(22),x=r(C),E=n(454),T=r(E),k=n(1073),S=r(k),O=n(426),M=function(e){return e},A=function(e,t,n){return 0===n},N=function(e,t,n,r){return w.default.createElement("span",null,n," ",r)},I=function(e){var t=e[0];return w.default.createElement("span",null,t,":")},P=function(){return!1},D=(s=a=function(e){function t(n){(0,d.default)(this,t);var r=(0,p.default)(this,e.call(this,n));return r.state=i(n),r}return(0,m.default)(t,e),t.prototype.componentWillReceiveProps=function(e){var t=this;["theme","invertTheme"].find(function(n){return e[n]!==t.props[n]})&&this.setState(i(e))},t.prototype.shouldComponentUpdate=function(e){var t=this;return!!(0,b.default)(e).find(function(n){return"keyPath"===n?e[n].join("/")!==t.props[n].join("/"):e[n]!==t.props[n]})},t.prototype.render=function(){var e=this.props,t=e.data,n=e.keyPath,r=e.postprocessValue,o=e.hideRoot,i=(e.theme,e.invertTheme,(0,l.default)(e,["data","keyPath","postprocessValue","hideRoot","theme","invertTheme"])),a=this.state.styling;return w.default.createElement("ul",a("tree"),w.default.createElement(T.default,(0,v.default)({},(0,v.default)({postprocessValue:r,hideRoot:o,styling:a},i),{keyPath:o?[]:n,value:r(t)})))},t}(w.default.Component),a.propTypes={data:x.default.oneOfType([x.default.array,x.default.object]).isRequired,hideRoot:x.default.bool,theme:x.default.oneOfType([x.default.object,x.default.string]),invertTheme:x.default.bool,keyPath:x.default.arrayOf(x.default.oneOfType([x.default.string,x.default.number])),postprocessValue:x.default.func,sortObjectKeys:x.default.oneOfType([x.default.func,x.default.bool])},a.defaultProps={shouldExpandNode:A,hideRoot:!1,keyPath:["root"],getItemString:N,labelRenderer:I,valueRenderer:M,postprocessValue:M,isCustomNode:P,collectionLimit:50,
+invertTheme:!0},s);t.default=D},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function u(){}function l(e,t){var n={run:function(r){try{var o=e(t.getState(),r);(o!==n.props||n.error)&&(n.shouldComponentUpdate=!0,n.props=o,n.error=null)}catch(e){n.shouldComponentUpdate=!0,n.error=e}}};return n}function c(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=r.getDisplayName,f=void 0===c?function(e){return"ConnectAdvanced("+e+")"}:c,h=r.methodName,v=void 0===h?"connectAdvanced":h,C=r.renderCountProp,x=void 0===C?void 0:C,E=r.shouldHandleStateChanges,T=void 0===E||E,k=r.storeKey,S=void 0===k?"store":k,O=r.withRef,M=void 0!==O&&O,A=s(r,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef"]),N=S+"Subscription",I=_++,P=(t={},t[S]=b.storeShape,t[N]=b.subscriptionShape,t),D=(n={},n[N]=b.subscriptionShape,n);return function(t){(0,m.default)("function"==typeof t,"You must pass a component to the function returned by connect. Instead received "+JSON.stringify(t));var n=t.displayName||t.name||"Component",r=f(n),s=d({},A,{getDisplayName:f,methodName:v,renderCountProp:x,shouldHandleStateChanges:T,storeKey:S,withRef:M,displayName:r,wrappedComponentName:n,WrappedComponent:t}),c=function(n){function c(e,t){o(this,c);var a=i(this,n.call(this,e,t));return a.version=I,a.state={},a.renderCount=0,a.store=e[S]||t[S],a.propsMode=Boolean(e[S]),a.setWrappedInstance=a.setWrappedInstance.bind(a),(0,m.default)(a.store,'Could not find "'+S+'" in either the context or props of '+('"'+r+'". Either wrap the root component in a <Provider>, ')+('or explicitly pass "'+S+'" as a prop to "'+r+'".')),a.initSelector(),a.initSubscription(),a}return a(c,n),c.prototype.getChildContext=function(){var e,t=this.propsMode?null:this.subscription;return e={},e[N]=t||this.context[N],e},c.prototype.componentDidMount=function(){T&&(this.subscription.trySubscribe(),this.selector.run(this.props),this.selector.shouldComponentUpdate&&this.forceUpdate())},c.prototype.componentWillReceiveProps=function(e){this.selector.run(e)},c.prototype.shouldComponentUpdate=function(){return this.selector.shouldComponentUpdate},c.prototype.componentWillUnmount=function(){this.subscription&&this.subscription.tryUnsubscribe(),this.subscription=null,this.notifyNestedSubs=u,this.store=null,this.selector.run=u,this.selector.shouldComponentUpdate=!1},c.prototype.getWrappedInstance=function(){return(0,m.default)(M,"To access the wrapped instance, you need to specify "+("{ withRef: true } in the options argument of the "+v+"() call.")),this.wrappedInstance},c.prototype.setWrappedInstance=function(e){this.wrappedInstance=e},c.prototype.initSelector=function(){var t=e(this.store.dispatch,s);this.selector=l(t,this.store),this.selector.run(this.props)},c.prototype.initSubscription=function(){if(T){var e=(this.propsMode?this.props:this.context)[N];this.subscription=new y.default(this.store,e,this.onStateChange.bind(this)),this.notifyNestedSubs=this.subscription.notifyNestedSubs.bind(this.subscription)}},c.prototype.onStateChange=function(){this.selector.run(this.props),this.selector.shouldComponentUpdate?(this.componentDidUpdate=this.notifyNestedSubsOnComponentDidUpdate,this.setState(w)):this.notifyNestedSubs()},c.prototype.notifyNestedSubsOnComponentDidUpdate=function(){this.componentDidUpdate=void 0,this.notifyNestedSubs()},c.prototype.isSubscribed=function(){return Boolean(this.subscription)&&this.subscription.isSubscribed()},c.prototype.addExtraProps=function(e){if(!(M||x||this.propsMode&&this.subscription))return e;var t=d({},e);return M&&(t.ref=this.setWrappedInstance),x&&(t[x]=this.renderCount++),this.propsMode&&this.subscription&&(t[N]=this.subscription),t},c.prototype.render=function(){var e=this.selector;if(e.shouldComponentUpdate=!1,e.error)throw e.error;return(0,g.createElement)(t,this.addExtraProps(e.props))},c}(g.Component);return c.WrappedComponent=t,c.displayName=r,c.childContextTypes=D,c.contextTypes=P,c.propTypes=P,(0,p.default)(c,t)}}t.__esModule=!0;var d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=c;var f=n(145),p=r(f),h=n(17),m=r(h),g=n(1),v=n(1086),y=r(v),b=n(458),_=0,w={}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return function(t,n){function r(){return o}var o=e(t,n);return r.dependsOnOwnProps=!1,r}}function i(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function a(e,t){return function(t,n){var r=(n.displayName,function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)});return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=i(e);var o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=i(o),o=r(t,n)),o},r}}t.__esModule=!0,t.wrapMapToPropsConstant=o,t.getDependsOnOwnProps=i,t.wrapMapToPropsFunc=a;var s=n(459);r(s)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.storeShape=t.subscriptionShape=void 0;var o=n(22),i=r(o);t.subscriptionShape=i.default.shape({trySubscribe:i.default.func.isRequired,tryUnsubscribe:i.default.func.isRequired,notifyNestedSubs:i.default.func.isRequired,isSubscribed:i.default.func.isRequired}),t.storeShape=i.default.shape({subscribe:i.default.func.isRequired,dispatch:i.default.func.isRequired,getState:i.default.func.isRequired})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){(0,a.default)(e)||(0,u.default)(n+"() in "+t+" must return a plain object. Instead received "+e+".")}t.__esModule=!0,t.default=o;var i=n(63),a=r(i),s=n(305),u=r(s)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e){return 0===e.button}function a(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function s(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0}function u(e,t){return"function"==typeof e?e(t.location):e}t.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=n(1),d=r(c),f=n(57),p=r(f),h=n(22),m=n(17),g=r(m),v=n(308),y=n(307),b=(0,p.default)({displayName:"Link",mixins:[(0,y.ContextSubscriber)("router")],contextTypes:{router:v.routerShape},propTypes:{to:(0,h.oneOfType)([h.string,h.object,h.func]),activeStyle:h.object,activeClassName:h.string,onlyActiveOnIndex:h.bool.isRequired,onClick:h.func,target:h.string},getDefaultProps:function(){return{onlyActiveOnIndex:!1,style:{}}},handleClick:function(e){if(this.props.onClick&&this.props.onClick(e),!e.defaultPrevented){var t=this.context.router;t?void 0:(0,g.default)(!1),!a(e)&&i(e)&&(this.props.target||(e.preventDefault(),t.push(u(this.props.to,t))))}},render:function(){var e=this.props,t=e.to,n=e.activeClassName,r=e.activeStyle,i=e.onlyActiveOnIndex,a=o(e,["to","activeClassName","activeStyle","onlyActiveOnIndex"]),c=this.context.router;if(c){if(!t)return d.default.createElement("a",a);var f=u(t,c);a.href=c.createHref(f),(n||null!=r&&!s(r))&&c.isActive(f,i)&&(n&&(a.className?a.className+=" "+n:a.className=n),r&&(a.style=l({},a.style,r)))}return d.default.createElement("a",l({},a,{onClick:this.handleClick}))}});t.default=b,e.exports=t.default},function(e,t){"use strict";function n(e){return e&&"function"==typeof e.then}t.__esModule=!0,t.isPromise=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(57),i=r(o),a=n(22),s=n(17),u=r(s),l=n(82),c=n(125),d=n(151),f=(0,i.default)({displayName:"Redirect",statics:{createRouteFromReactElement:function(e){var t=(0,l.createRouteFromReactElement)(e);return t.from&&(t.path=t.from),t.onEnter=function(e,n){var r=e.location,o=e.params,i=void 0;if("/"===t.to.charAt(0))i=(0,c.formatPattern)(t.to,o);else if(t.to){var a=e.routes.indexOf(t),s=f.getRoutePattern(e.routes,a-1),u=s.replace(/\/*$/,"/")+t.to;i=(0,c.formatPattern)(u,o)}else i=r.pathname;n({pathname:i,query:t.query||r.query,state:t.state||r.state})},t},getRoutePattern:function(e,t){for(var n="",r=t;r>=0;r--){var o=e[r],i=o.path||"";if(n=i.replace(/\/*$/,"/")+n,0===i.indexOf("/"))break}return"/"+n}},propTypes:{path:a.string,from:a.string,to:a.string.isRequired,query:a.object,state:a.object,onEnter:d.falsy,children:d.falsy},render:function(){(0,u.default)(!1)}});t.default=f,e.exports=t.default},function(e,t){"use strict";function n(e,t,n){var i=o({},e,{setRouteLeaveHook:t.listenBeforeLeavingRoute,isActive:t.isActive});return r(i,n)}function r(e,t){var n=t.location,r=t.params,o=t.routes;return e.location=n,e.params=r,e.routes=o,e}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.createRouterObject=n,t.assignRouterState=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=(0,c.default)(e),n=function(){return t},r=(0,a.default)((0,u.default)(n))(e);return r}t.__esModule=!0,t.default=o;var i=n(395),a=r(i),s=n(394),u=r(s),l=n(855),c=r(l);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=void 0;return s&&(t=(0,a.default)(e)()),t}t.__esModule=!0,t.default=o;var i=n(468),a=r(i),s=!("undefined"==typeof window||!window.document||!window.document.createElement);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!0;return!1}function i(e,t){function n(t,n){return t=e.createLocation(t),(0,p.default)(t,n,b.location,b.routes,b.params)}function r(e,n){E&&E.location===e?i(E,n):(0,v.default)(t,e,function(t,r){t?n(t):r?i(a({},r,{location:e}),n):n()})}function i(e,t){function n(n,o){return n||o?r(n,o):void(0,m.default)(e,function(n,r){n?t(n):t(null,null,b=a({},e,{components:r}))})}function r(e,n){e?t(e):t(null,n)}var o=(0,l.default)(b,e),i=o.leaveRoutes,s=o.changeRoutes,u=o.enterRoutes;x(i,b),i.filter(function(e){return u.indexOf(e)===-1}).forEach(h),C(s,b,e,function(t,o){return t||o?r(t,o):void w(u,e,n)})}function s(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.__id__||t&&(e.__id__=T++)}function u(e){return e.map(function(e){return k[s(e)]}).filter(function(e){return e})}function c(e,n){(0,v.default)(t,e,function(t,r){if(null==r)return void n();E=a({},r,{location:e});for(var o=u((0,l.default)(b,E).leaveRoutes),i=void 0,s=0,c=o.length;null==i&&s<c;++s)i=o[s](e);n(i)})}function f(){if(b.routes){for(var e=u(b.routes),t=void 0,n=0,r=e.length;"string"!=typeof t&&n<r;++n)t=e[n]();return t}}function h(e){var t=s(e);t&&(delete k[t],o(k)||(S&&(S(),S=null),O&&(O(),O=null)))}function g(t,n){var r=!o(k),i=s(t,!0);return k[i]=n,r&&(S=e.listenBefore(c),e.listenBeforeUnload&&(O=e.listenBeforeUnload(f))),function(){h(t)}}function y(t){function n(n){b.location===n?t(null,b):r(n,function(n,r,o){n?t(n):r?e.replace(r):o&&t(null,o)})}var o=e.listen(n);return b.location?t(null,b):n(e.getCurrentLocation()),o}var b={},_=(0,d.default)(),w=_.runEnterHooks,C=_.runChangeHooks,x=_.runLeaveHooks,E=void 0,T=1,k=Object.create(null),S=void 0,O=void 0;return{isActive:n,match:r,listenBeforeLeavingRoute:g,listen:y}}t.__esModule=!0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=i;var s=n(126),u=(r(s),n(1096)),l=r(u),c=n(1093),d=r(c),f=n(1100),p=r(f),h=n(1097),m=r(h),g=n(1102),v=r(g);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.createMemoryHistory=t.hashHistory=t.browserHistory=t.applyRouterMiddleware=t.formatPattern=t.useRouterHistory=t.match=t.routerShape=t.locationShape=t.RouterContext=t.createRoutes=t.Route=t.Redirect=t.IndexRoute=t.IndexRedirect=t.withRouter=t.IndexLink=t.Link=t.Router=void 0;var o=n(82);Object.defineProperty(t,"createRoutes",{enumerable:!0,get:function(){return o.createRoutes}});var i=n(308);Object.defineProperty(t,"locationShape",{enumerable:!0,get:function(){return i.locationShape}}),Object.defineProperty(t,"routerShape",{enumerable:!0,get:function(){return i.routerShape}});var a=n(125);Object.defineProperty(t,"formatPattern",{enumerable:!0,get:function(){return a.formatPattern}});var s=n(1092),u=r(s),l=n(460),c=r(l),d=n(1088),f=r(d),p=n(1103),h=r(p),m=n(1089),g=r(m),v=n(1090),y=r(v),b=n(462),_=r(b),w=n(1091),C=r(w),x=n(309),E=r(x),T=n(1101),k=r(T),S=n(468),O=r(S),M=n(1094),A=r(M),N=n(1095),I=r(N),P=n(1099),D=r(P),R=n(464),j=r(R);t.Router=u.default,t.Link=c.default,t.IndexLink=f.default,t.withRouter=h.default,t.IndexRedirect=g.default,t.IndexRoute=y.default,t.Redirect=_.default,t.Route=C.default,t.RouterContext=E.default,t.match=k.default,t.useRouterHistory=O.default,t.applyRouterMiddleware=A.default,t.browserHistory=I.default,t.hashHistory=D.default,t.createMemoryHistory=j.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return function(t){var n=(0,a.default)((0,u.default)(e))(t);return n}}t.__esModule=!0,t.default=o;var i=n(395),a=r(i),s=n(394),u=r(s);e.exports=t.default},function(e,t,n){"use strict";function r(e){var t=Function.prototype.toString,n=Object.prototype.hasOwnProperty,r=RegExp("^"+t.call(n).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");try{var o=t.call(e);return r.test(o)}catch(e){return!1}}function o(e){var t=l(e);if(t){var n=t.childIDs;c(e),n.forEach(o)}}function i(e,t,n){return"\n    in "+(e||"Unknown")+(t?" (at "+t.fileName.replace(/^.*[\\\/]/,"")+":"+t.lineNumber+")":n?" (created by "+n+")":"")}function a(e){return null==e?"#empty":"string"==typeof e||"number"==typeof e?"#text":"string"==typeof e.type?e.type:e.type.displayName||e.type.name||"Unknown"}function s(e){var t,n=T.getDisplayName(e),r=T.getElement(e),o=T.getOwnerID(e);return o&&(t=T.getDisplayName(o)),i(n,r&&r._source,t)}var u,l,c,d,f,p,h,m=n(129),g=n(76),v=(n(10),n(13),"function"==typeof Array.from&&"function"==typeof Map&&r(Map)&&null!=Map.prototype&&"function"==typeof Map.prototype.keys&&r(Map.prototype.keys)&&"function"==typeof Set&&r(Set)&&null!=Set.prototype&&"function"==typeof Set.prototype.keys&&r(Set.prototype.keys));if(v){var y=new Map,b=new Set;u=function(e,t){y.set(e,t)},l=function(e){return y.get(e)},c=function(e){y.delete(e)},d=function(){return Array.from(y.keys())},f=function(e){b.add(e)},p=function(e){b.delete(e)},h=function(){return Array.from(b.keys())}}else{var _={},w={},C=function(e){return"."+e},x=function(e){return parseInt(e.substr(1),10)};u=function(e,t){var n=C(e);_[n]=t},l=function(e){var t=C(e);return _[t]},c=function(e){var t=C(e);delete _[t]},d=function(){return Object.keys(_).map(x)},f=function(e){var t=C(e);w[t]=!0},p=function(e){var t=C(e);delete w[t]},h=function(){return Object.keys(w).map(x)}}var E=[],T={onSetChildren:function(e,t){var n=l(e);n?void 0:m("144"),n.childIDs=t;for(var r=0;r<t.length;r++){var o=t[r],i=l(o);i?void 0:m("140"),null==i.childIDs&&"object"==typeof i.element&&null!=i.element?m("141"):void 0,i.isMounted?void 0:m("71"),null==i.parentID&&(i.parentID=e),i.parentID!==e?m("142",o,i.parentID,e):void 0}},onBeforeMountComponent:function(e,t,n){var r={element:t,parentID:n,text:null,childIDs:[],isMounted:!1,updateCount:0};u(e,r)},onBeforeUpdateComponent:function(e,t){var n=l(e);n&&n.isMounted&&(n.element=t)},onMountComponent:function(e){var t=l(e);t?void 0:m("144"),t.isMounted=!0;var n=0===t.parentID;n&&f(e)},onUpdateComponent:function(e){var t=l(e);t&&t.isMounted&&t.updateCount++},onUnmountComponent:function(e){var t=l(e);if(t){t.isMounted=!1;var n=0===t.parentID;n&&p(e)}E.push(e)},purgeUnmountedComponents:function(){if(!T._preventPurging){for(var e=0;e<E.length;e++){var t=E[e];o(t)}E.length=0}},isMounted:function(e){var t=l(e);return!!t&&t.isMounted},getCurrentStackAddendum:function(e){var t="";if(e){var n=a(e),r=e._owner;t+=i(n,e._source,r&&r.getName())}var o=g.current,s=o&&o._debugID;return t+=T.getStackAddendumByID(s)},getStackAddendumByID:function(e){for(var t="";e;)t+=s(e),e=T.getParentID(e);return t},getChildIDs:function(e){var t=l(e);return t?t.childIDs:[]},getDisplayName:function(e){var t=T.getElement(e);return t?a(t):null},getElement:function(e){var t=l(e);return t?t.element:null},getOwnerID:function(e){var t=T.getElement(e);return t&&t._owner?t._owner._debugID:null},getParentID:function(e){var t=l(e);return t?t.parentID:null},getSource:function(e){var t=l(e),n=t?t.element:null,r=null!=n?n._source:null;return r},getText:function(e){var t=T.getElement(e);return"string"==typeof t?t:"number"==typeof t?""+t:null},getUpdateCount:function(e){var t=l(e);return t?t.updateCount:0},getRootIDs:h,getRegisteredIDs:d};e.exports=T},function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;e.exports=n},function(e,t,n){"use strict";var r={};e.exports=r},function(e,t,n){"use strict";var r=!1;e.exports=r},function(e,t){"use strict";function n(e){var t=e&&(r&&e[r]||e[o]);if("function"==typeof t)return t}var r="function"==typeof Symbol&&Symbol.iterator,o="@@iterator";e.exports=n},function(e,t){"use strict";function n(){return{type:a}}function r(){return{type:s}}function o(e){return{type:u,size:e}}function i(){return{type:l}}t.__esModule=!0,t.toggleVisibility=n,t.changePosition=r,t.changeSize=o,t.changeMonitor=i;var a=t.TOGGLE_VISIBILITY="@@redux-devtools-log-monitor/TOGGLE_VISIBILITY",s=t.CHANGE_POSITION="@@redux-devtools-log-monitor/CHANGE_POSITION",u=t.CHANGE_SIZE="@@redux-devtools-log-monitor/CHANGE_SIZE",l=t.CHANGE_MONITOR="@@redux-devtools-log-monitor/CHANGE_MONITOR"},function(e,t){"use strict";t.__esModule=!0;t.POSITIONS=["left","top","right","bottom"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r=n,o=void 0;try{r=e(n,t)}catch(e){o=e.toString(),"object"===("undefined"==typeof window?"undefined":p(window))&&("undefined"!=typeof window.chrome||"undefined"!=typeof window.process&&"renderer"===window.process.type)?setTimeout(function(){throw e}):console.error(e)}return{state:r,error:o}}function i(e,t,n,r){return r?o(e,t,n):{state:e(n,t)}}function a(e,t,n,r,o,a,s,u){if(!e||t===-1||t>=e.length&&e.length===a.length)return e;for(var l=e.slice(0,t),c=t;c<a.length;c++){var d=a[c],f=o[d].action,p=l[c-1],h=p?p.state:r,m=s.indexOf(d)>-1,g=void 0;g=m?p:u&&p&&p.error?{state:h,error:"Interrupted by an error up the chain"}:i(n,f,h,u),l.push(g)}return l}function s(e){return x.performAction(e)}function u(e,t,n,r){var o={monitorState:n(void 0,{}),nextActionId:1,actionsById:{0:s(E)},stagedActionIds:[0],skippedActionIds:[],committedState:t,currentStateIndex:0,computedStates:[],isLocked:r.shouldStartLocked===!0,isPaused:r.shouldRecordChanges===!1};return function(u,l){function c(e){for(var t=e,n=b.slice(1,t+1),r=0;r<n.length;r++){if(T[r+1].error){t=r,n=b.slice(1,t+1);break}delete g[n[r]]}_=_.filter(function(e){return n.indexOf(e)===-1}),b=[0].concat(b.slice(t+1)),w=T[t].state,T=T.slice(t),x=x>t?x-t:0}function d(t){var o,a=void 0;return t?(a=T[x],h=n(h,l)):a=i(e,l.action,T[x].state,!1),r.pauseActionType&&1!==y?(t&&(x===b.length-1&&x++,b=[].concat(b,[y]),y++),{monitorState:h,actionsById:f({},g,(o={},o[y-1]=s({type:r.pauseActionType}),o)),nextActionId:y,stagedActionIds:b,skippedActionIds:_,committedState:w,currentStateIndex:x,computedStates:[].concat(T.slice(0,b.length-1),[a]),isLocked:k,isPaused:!0}):{monitorState:h,actionsById:{0:s(E)},nextActionId:1,stagedActionIds:[0],skippedActionIds:[],committedState:a.state,currentStateIndex:0,computedStates:[a],isLocked:k,isPaused:!0}}var p=u||o,h=p.monitorState,g=p.actionsById,y=p.nextActionId,b=p.stagedActionIds,_=p.skippedActionIds,w=p.committedState,x=p.currentStateIndex,T=p.computedStates,k=p.isLocked,S=p.isPaused;u||(g=f({},g));var O=0;switch(l.type){case C.PERFORM_ACTION:if(k)return u||o;if(S)return d();r.maxAge&&b.length===r.maxAge&&c(1),x===b.length-1&&x++;var M=y++;g[M]=l,b=[].concat(b,[M]),O=b.length-1;break;case C.RESET:g={0:s(E)},y=1,b=[0],_=[],w=t,x=0,T=[];break;case C.COMMIT:g={0:s(E)},y=1,b=[0],_=[],w=T[x].state,x=0,T=[];break;case C.ROLLBACK:g={0:s(E)},y=1,b=[0],_=[],x=0,T=[];break;case C.TOGGLE_ACTION:var A=function(){var e=l.id,t=_.indexOf(e);return _=t===-1?[e].concat(_):_.filter(function(t){return t!==e}),O=b.indexOf(e),"break"}();if("break"===A)break;case C.SET_ACTIONS_ACTIVE:for(var N=l.start,I=l.end,P=l.active,D=[],R=N;R<I;R++)D.push(R);_=P?(0,m.default)(_,D):(0,v.default)(_,D),O=b.indexOf(N);break;case C.JUMP_TO_STATE:x=l.index,O=1/0;break;case C.JUMP_TO_ACTION:var j=b.indexOf(l.actionId);j!==-1&&(x=j),O=1/0;break;case C.SWEEP:b=(0,m.default)(b,_),_=[],x=Math.min(x,b.length-1);break;case C.REORDER_ACTION:var L=l.actionId,B=b.indexOf(L);if(B<1)break;var F=l.beforeActionId,U=b.indexOf(F);if(U<1){var H=b.length;U=F>b[H-1]?H:1}var z=B-U;z>0?(b=[].concat(b.slice(0,U),[L],b.slice(U,B),b.slice(B+1)),O=U):z<0&&(b=[].concat(b.slice(0,B),b.slice(B+1,U),[L],b.slice(U)),O=B);break;case C.IMPORT_STATE:if(Array.isArray(l.nextLiftedState))g={0:s(E)},y=1,b=[0],_=[],x=l.nextLiftedState.length,T=[],w=l.preloadedState,O=0,l.nextLiftedState.forEach(function(e){g[y]=s(e),b.push(y),y++});else{var q=l.nextLiftedState;h=q.monitorState,g=q.actionsById,y=q.nextActionId,b=q.stagedActionIds,_=q.skippedActionIds,w=q.committedState,x=q.currentStateIndex,T=q.computedStates,l.noRecompute&&(O=1/0)}break;case C.LOCK_CHANGES:k=l.status,O=1/0;break;case C.PAUSE_RECORDING:if(S=l.status)return d(!0);g={0:s(E)},y=1,b=[0],_=[],w=T[x].state,x=0,T=[];break;case"@@redux/INIT":if(r.shouldHotReload===!1&&u)return u;O=0,r.maxAge&&b.length>r.maxAge&&(T=a(T,O,e,w,g,b,_,r.shouldCatchErrors),c(b.length-r.maxAge),O=1/0);break;default:O=1/0}return T=a(T,O,e,w,g,b,_,r.shouldCatchErrors),h=n(h,l),{monitorState:h,actionsById:g,nextActionId:y,stagedActionIds:b,skippedActionIds:_,committedState:w,currentStateIndex:x,computedStates:T,isLocked:k,isPaused:S}}}function l(e){var t=e.computedStates,n=e.currentStateIndex,r=t[n].state;return r}function c(e,t){function n(){var t=l(e.getState());return void 0!==t&&(o=t),o}var r,o=void 0;return f({},e,(r={liftedStore:e,dispatch:function(t){return e.dispatch(s(t)),t},getState:n,replaceReducer:function(n){e.replaceReducer(t(n))}},r[w.default]=function(){return f({},e[w.default](),{subscribe:function(t){function r(){t.next&&t.next(n())}if("object"!==("undefined"==typeof t?"undefined":p(t)))throw new TypeError("Expected the observer to be an object.");r();var o=e.subscribe(r);return{unsubscribe:o}}})},r))}function d(){var e=arguments.length<=0||void 0===arguments[0]?function(){return null}:arguments[0],t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];if(null!=t.maxAge&&t.maxAge<2)throw new Error("DevTools.instrument({ maxAge }) option, if specified, may not be less than 2.");return function(n){return function(r,o,i){function a(n){if("function"!=typeof n){if(n&&"function"==typeof n.default)throw new Error('Expected the reducer to be a function. Instead got an object with a "default" field. Did you pass a module instead of the default export? Try passing require(...).default instead.');throw new Error("Expected the reducer to be a function.")}return u(n,o,e,t)}var s=n(a(r),i);if(s.liftedStore)throw new Error("DevTools instrumentation should not be applied more than once. Check your store configuration.");return c(s,a)}}}t.__esModule=!0,t.INIT_ACTION=t.ActionCreators=t.ActionTypes=void 0;var f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};t.liftAction=s,t.liftReducerWith=u,t.unliftState=l,t.unliftStore=c,t.default=d;var h=n(950),m=r(h),g=n(421),v=r(g),y=n(63),b=r(y),_=n(480),w=r(_),C=t.ActionTypes={PERFORM_ACTION:"PERFORM_ACTION",RESET:"RESET",ROLLBACK:"ROLLBACK",COMMIT:"COMMIT",SWEEP:"SWEEP",TOGGLE_ACTION:"TOGGLE_ACTION",SET_ACTIONS_ACTIVE:"SET_ACTIONS_ACTIVE",JUMP_TO_STATE:"JUMP_TO_STATE",JUMP_TO_ACTION:"JUMP_TO_ACTION",REORDER_ACTION:"REORDER_ACTION",IMPORT_STATE:"IMPORT_STATE",LOCK_CHANGES:"LOCK_CHANGES",PAUSE_RECORDING:"PAUSE_RECORDING"},x=t.ActionCreators={performAction:function(e){if(!(0,b.default)(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if("undefined"==typeof e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');return{type:C.PERFORM_ACTION,action:e,timestamp:Date.now()}},reset:function(){return{type:C.RESET,timestamp:Date.now()}},rollback:function(){return{type:C.ROLLBACK,timestamp:Date.now()}},commit:function(){return{type:C.COMMIT,timestamp:Date.now()}},sweep:function(){return{type:C.SWEEP}},toggleAction:function(e){return{type:C.TOGGLE_ACTION,id:e}},setActionsActive:function(e,t){var n=arguments.length<=2||void 0===arguments[2]||arguments[2];return{type:C.SET_ACTIONS_ACTIVE,start:e,end:t,active:n}},reorderAction:function(e,t){return{type:C.REORDER_ACTION,actionId:e,beforeActionId:t}},jumpToState:function(e){return{type:C.JUMP_TO_STATE,index:e}},jumpToAction:function(e){return{type:C.JUMP_TO_ACTION,actionId:e}},importState:function(e,t){return{type:C.IMPORT_STATE,nextLiftedState:e,noRecompute:t}},lockChanges:function(e){return{type:C.LOCK_CHANGES,status:e}},pauseRecording:function(e){return{type:C.PAUSE_RECORDING,status:e}}},E=t.INIT_ACTION={type:"@@INIT"}},function(e,t){"use strict";function n(e){return{type:o,scrollTop:e}}function r(e){return{type:i,id:e}}t.__esModule=!0,t.updateScrollTop=n,t.startConsecutiveToggle=r;var o=t.UPDATE_SCROLL_TOP="@@redux-devtools-log-monitor/UPDATE_SCROLL_TOP",i=t.START_CONSECUTIVE_TOGGLE="@@redux-devtools-log-monitor/START_CONSECUTIVE_TOGGLE"},function(e,t){"use strict";function n(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(0===t.length)return function(e){return e};if(1===t.length)return t[0];var r=t[t.length-1],o=t.slice(0,-1);return function(){return o.reduceRight(function(e,t){return t(e)},r.apply(void 0,arguments))}}t.__esModule=!0,t.default=n},function(e,t){"use strict";function n(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e);try{throw new Error(e)}catch(e){}}t.__esModule=!0,t.default=n},function(e,t,n){e.exports=n(1149)},function(e,t){function n(e){return e.replace(/\n\r?\s*/g,"")}e.exports=function(e){for(var t="",r=0;r<arguments.length;r++)t+=n(e[r])+(arguments[r+1]||"");return t}},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(152),l=o(u),c=n(8),d=o(c),f=n(23),p=r(f),h=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.on(n,"volumechange",o.update),n.tech_&&n.tech_.featuresVolumeControl===!1&&o.addClass("vjs-hidden"),o.on(n,"loadstart",function(){this.update(),n.tech_.featuresVolumeControl===!1?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")}),o}return s(t,e),t.prototype.buildCSSClass=function(){return"vjs-mute-control "+e.prototype.buildCSSClass.call(this)},t.prototype.handleClick=function(e){this.player_.muted(!this.player_.muted())},t.prototype.update=function(e){var t=this.player_.volume(),n=3;0===t||this.player_.muted()?n=0:t<.33?n=1:t<.67&&(n=2);var r=this.player_.muted()?"Unmute":"Mute";this.controlText()!==r&&this.controlText(r);for(var o=0;o<4;o++)p.removeElClass(this.el_,"vjs-vol-"+o);p.addElClass(this.el_,"vjs-vol-"+n)},t}(l.default);h.prototype.controlText_="Mute",d.default.registerComponent("MuteToggle",h),t.default=h},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(486),l=o(u),c=n(8),d=o(c),f=n(19),p=r(f),h=function(e){function t(n,r){i(this,t);var o=r.tracks,s=a(this,e.call(this,n,r));if(s.items.length<=1&&s.hide(),!o)return a(s);var u=p.bind(s,s.update);return o.addEventListener("removetrack",u),o.addEventListener("addtrack",u),s.player_.on("dispose",function(){o.removeEventListener("removetrack",u),o.removeEventListener("addtrack",u)}),s}return s(t,e),t}(l.default);d.default.registerComponent("TrackButton",h),t.default=h},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(490),l=o(u),c=n(8),d=o(c),f=n(19),p=r(f);n(1182);var h=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.on(n,"volumechange",o.updateARIAAttributes),n.ready(p.bind(o,o.updateARIAAttributes)),o}return s(t,e),t.prototype.createEl=function(){
+return e.prototype.createEl.call(this,"div",{className:"vjs-volume-bar vjs-slider-bar"},{"aria-label":"volume level"})},t.prototype.handleMouseMove=function(e){this.checkMuted(),this.player_.volume(this.calculateDistance(e))},t.prototype.checkMuted=function(){this.player_.muted()&&this.player_.muted(!1)},t.prototype.getPercent=function(){return this.player_.muted()?0:this.player_.volume()},t.prototype.stepForward=function(){this.checkMuted(),this.player_.volume(this.player_.volume()+.1)},t.prototype.stepBack=function(){this.checkMuted(),this.player_.volume(this.player_.volume()-.1)},t.prototype.updateARIAAttributes=function(e){var t=(100*this.player_.volume()).toFixed(2);this.el_.setAttribute("aria-valuenow",t),this.el_.setAttribute("aria-valuetext",t+"%")},t}(l.default);h.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"},h.prototype.playerEvent="volumechange",d.default.registerComponent("VolumeBar",h),t.default=h},function(e,t,n){"use strict";function r(e){return e instanceof r?e:("number"==typeof e?this.code=e:"string"==typeof e?this.message=e:(0,o.isObject)(e)&&("number"==typeof e.code&&(this.code=e.code),(0,o.assign)(this,e)),void(this.message||(this.message=r.defaultMessages[this.code]||"")))}t.__esModule=!0;var o=n(34);r.prototype.code=0,r.prototype.message="",r.prototype.status=null,r.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"],r.defaultMessages={1:"You aborted the media playback",2:"A network error caused the media download to fail part-way.",3:"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.",4:"The media could not be loaded, either because the server or network failed or because the format is not supported.",5:"The media is encrypted and we do not have the keys to decrypt it."};for(var i=0;i<r.errorTypes.length;i++)r[r.errorTypes[i]]=i,r.prototype[r.errorTypes[i]]=i;t.default=r},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(153),l=o(u),c=n(8),d=o(c),f=n(487),p=o(f),h=n(23),m=r(h),g=n(19),v=r(g),y=n(131),b=o(y),_=function(e){function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};i(this,t);var o=a(this,e.call(this,n,r));return o.update(),o.enabled_=!0,o.el_.setAttribute("aria-haspopup","true"),o.el_.setAttribute("role","menuitem"),o.on("keydown",o.handleSubmenuKeyPress),o}return s(t,e),t.prototype.update=function(){var e=this.createMenu();this.menu&&this.removeChild(this.menu),this.menu=e,this.addChild(e),this.buttonPressed_=!1,this.el_.setAttribute("aria-expanded","false"),this.items&&this.items.length<=this.hideThreshold_?this.hide():this.show()},t.prototype.createMenu=function(){var e=new p.default(this.player_);if(this.hideThreshold_=0,this.options_.title){var t=m.createEl("li",{className:"vjs-menu-title",innerHTML:(0,b.default)(this.options_.title),tabIndex:-1});this.hideThreshold_+=1,e.children_.unshift(t),m.insertElFirst(t,e.contentEl())}if(this.items=this.createItems(),this.items)for(var n=0;n<this.items.length;n++)e.addItem(this.items[n]);return e},t.prototype.createItems=function(){},t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},t.prototype.buildCSSClass=function(){var t="vjs-menu-button";return t+=this.options_.inline===!0?"-inline":"-popup","vjs-menu-button "+t+" "+e.prototype.buildCSSClass.call(this)},t.prototype.handleClick=function(e){this.one(this.menu.contentEl(),"mouseleave",v.bind(this,function(e){this.unpressButton(),this.el_.blur()})),this.buttonPressed_?this.unpressButton():this.pressButton()},t.prototype.handleKeyPress=function(t){27===t.which||9===t.which?(this.buttonPressed_&&this.unpressButton(),9!==t.which&&t.preventDefault()):38===t.which||40===t.which?this.buttonPressed_||(this.pressButton(),t.preventDefault()):e.prototype.handleKeyPress.call(this,t)},t.prototype.handleSubmenuKeyPress=function(e){27!==e.which&&9!==e.which||(this.buttonPressed_&&this.unpressButton(),9!==e.which&&e.preventDefault())},t.prototype.pressButton=function(){this.enabled_&&(this.buttonPressed_=!0,this.menu.lockShowing(),this.el_.setAttribute("aria-expanded","true"),this.menu.focus())},t.prototype.unpressButton=function(){this.enabled_&&(this.buttonPressed_=!1,this.menu.unlockShowing(),this.el_.setAttribute("aria-expanded","false"),this.el_.focus())},t.prototype.disable=function(){return this.buttonPressed_=!1,this.menu.unlockShowing(),this.el_.setAttribute("aria-expanded","false"),this.enabled_=!1,e.prototype.disable.call(this)},t.prototype.enable=function(){return this.enabled_=!0,e.prototype.enable.call(this)},t}(l.default);d.default.registerComponent("MenuButton",_),t.default=_},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(8),l=o(u),c=n(23),d=r(c),f=n(19),p=r(f),h=n(83),m=r(h),g=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.focusedChild_=-1,o.on("keydown",o.handleKeyPress),o}return s(t,e),t.prototype.addItem=function(e){this.addChild(e),e.on("click",p.bind(this,function(e){this.unlockShowing()}))},t.prototype.createEl=function(){var t=this.options_.contentElType||"ul";this.contentEl_=d.createEl(t,{className:"vjs-menu-content"}),this.contentEl_.setAttribute("role","menu");var n=e.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"});return n.setAttribute("role","presentation"),n.appendChild(this.contentEl_),m.on(n,"click",function(e){e.preventDefault(),e.stopImmediatePropagation()}),n},t.prototype.handleKeyPress=function(e){37===e.which||40===e.which?(e.preventDefault(),this.stepForward()):38!==e.which&&39!==e.which||(e.preventDefault(),this.stepBack())},t.prototype.stepForward=function(){var e=0;void 0!==this.focusedChild_&&(e=this.focusedChild_+1),this.focus(e)},t.prototype.stepBack=function(){var e=0;void 0!==this.focusedChild_&&(e=this.focusedChild_-1),this.focus(e)},t.prototype.focus=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=this.children().slice(),n=t.length&&t[0].className&&/vjs-menu-title/.test(t[0].className);n&&t.shift(),t.length>0&&(e<0?e=0:e>=t.length&&(e=t.length-1),this.focusedChild_=e,t[e].el_.focus())},t}(l.default);l.default.registerComponent("Menu",g),t.default=g},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(23),l=o(u),c=n(19),d=o(c),f=n(8),p=r(f),h="vjs-modal-dialog",m=27,g=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.opened_=o.hasBeenOpened_=o.hasBeenFilled_=!1,o.closeable(!o.options_.uncloseable),o.content(o.options_.content),o.contentEl_=l.createEl("div",{className:h+"-content"},{role:"document"}),o.descEl_=l.createEl("p",{className:h+"-description vjs-offscreen",id:o.el().getAttribute("aria-describedby")}),l.textContent(o.descEl_,o.description()),o.el_.appendChild(o.descEl_),o.el_.appendChild(o.contentEl_),o}return s(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:this.buildCSSClass(),tabIndex:-1},{"aria-describedby":this.id()+"_description","aria-hidden":"true","aria-label":this.label(),role:"dialog"})},t.prototype.buildCSSClass=function(){return h+" vjs-hidden "+e.prototype.buildCSSClass.call(this)},t.prototype.handleKeyPress=function(e){e.which===m&&this.closeable()&&this.close()},t.prototype.label=function(){return this.options_.label||this.localize("Modal Window")},t.prototype.description=function(){var e=this.options_.description||this.localize("This is a modal window.");return this.closeable()&&(e+=" "+this.localize("This modal can be closed by pressing the Escape key or activating the close button.")),e},t.prototype.open=function(){if(!this.opened_){var e=this.player();this.trigger("beforemodalopen"),this.opened_=!0,(this.options_.fillAlways||!this.hasBeenOpened_&&!this.hasBeenFilled_)&&this.fill(),this.wasPlaying_=!e.paused(),this.options_.pauseOnOpen&&this.wasPlaying_&&e.pause(),this.closeable()&&this.on(this.el_.ownerDocument,"keydown",d.bind(this,this.handleKeyPress)),e.controls(!1),this.show(),this.el().setAttribute("aria-hidden","false"),this.trigger("modalopen"),this.hasBeenOpened_=!0}return this},t.prototype.opened=function(e){return"boolean"==typeof e&&this[e?"open":"close"](),this.opened_},t.prototype.close=function(){if(this.opened_){var e=this.player();this.trigger("beforemodalclose"),this.opened_=!1,this.wasPlaying_&&this.options_.pauseOnOpen&&e.play(),this.closeable()&&this.off(this.el_.ownerDocument,"keydown",d.bind(this,this.handleKeyPress)),e.controls(!0),this.hide(),this.el().setAttribute("aria-hidden","true"),this.trigger("modalclose"),this.options_.temporary&&this.dispose()}return this},t.prototype.closeable=function e(t){if("boolean"==typeof t){var e=this.closeable_=!!t,n=this.getChild("closeButton");if(e&&!n){var r=this.contentEl_;this.contentEl_=this.el_,n=this.addChild("closeButton",{controlText:"Close Modal Dialog"}),this.contentEl_=r,this.on(n,"close",this.close)}!e&&n&&(this.off(n,"close",this.close),this.removeChild(n),n.dispose())}return this.closeable_},t.prototype.fill=function(){return this.fillWith(this.content())},t.prototype.fillWith=function(e){var t=this.contentEl(),n=t.parentNode,r=t.nextSibling;return this.trigger("beforemodalfill"),this.hasBeenFilled_=!0,n.removeChild(t),this.empty(),l.insertContent(t,e),this.trigger("modalfill"),r?n.insertBefore(t,r):n.appendChild(t),this},t.prototype.empty=function(){return this.trigger("beforemodalempty"),l.emptyEl(this.contentEl()),this.trigger("modalempty"),this},t.prototype.content=function(e){return"undefined"!=typeof e&&(this.content_=e),this.content_},t}(p.default);g.prototype.options_={pauseOnOpen:!0,temporary:!0},p.default.registerComponent("ModalDialog",g),t.default=g},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(8),l=o(u),c=n(28),d=o(c),f=n(30),p=o(f),h=n(83),m=r(h),g=n(23),v=r(g),y=n(19),b=r(y),_=n(130),w=r(_),C=n(33),x=r(C),E=n(46),T=o(E),k=n(131),S=o(k),O=n(155),M=n(493),A=n(494),N=r(A),I=n(1186),P=o(I),D=n(485),R=o(D),j=n(1142),L=o(j),B=n(34),F=n(77),U=o(F),H=n(1202),z=o(H),q=n(488),W=o(q),V=n(154),G=o(V),Y=n(491),K=o(Y),$=n(492),X=o($);n(1196),n(1194),n(1191),n(1201),n(1187),n(1152),n(1153),n(1156),n(1184),n(1204),n(1195);var Q=["progress","abort","suspend","emptied","stalled","loadedmetadata","loadeddata","timeupdate","ratechange","volumechange","texttrackchange"],J=function(e){function t(n,r,o){if(i(this,t),n.id=n.id||"vjs_video_"+w.newGUID(),r=(0,B.assign)(t.getTagSettings(n),r),r.initChildren=!1,r.createEl=!1,r.reportTouchActivity=!1,!r.language)if("function"==typeof n.closest){var s=n.closest("[lang]");s&&(r.language=s.getAttribute("lang"))}else for(var u=n;u&&1===u.nodeType;){if(v.getElAttributes(u).hasOwnProperty("lang")){r.language=u.getAttribute("lang");break}u=u.parentNode}var l=a(this,e.call(this,null,r,o));if(!l.options_||!l.options_.techOrder||!l.options_.techOrder.length)throw new Error("No techOrder specified. Did you overwrite videojs.options instead of just changing the properties you want to override?");if(l.tag=n,l.tagAttributes=n&&v.getElAttributes(n),l.language(l.options_.language),r.languages){var c={};Object.getOwnPropertyNames(r.languages).forEach(function(e){c[e.toLowerCase()]=r.languages[e]}),l.languages_=c}else l.languages_=t.prototype.options_.languages;l.cache_={},l.poster_=r.poster||"",l.controls_=!!r.controls,n.controls=!1,l.scrubbing_=!1,l.el_=l.createEl();var d=(0,U.default)(l.options_);if(r.plugins){var f=r.plugins;Object.getOwnPropertyNames(f).forEach(function(e){"function"==typeof this[e]?this[e](f[e]):T.default.error("Unable to find plugin:",e)},l)}return l.options_.playerOptions=d,l.initChildren(),l.isAudio("audio"===n.nodeName.toLowerCase()),l.controls()?l.addClass("vjs-controls-enabled"):l.addClass("vjs-controls-disabled"),l.el_.setAttribute("role","region"),l.isAudio()?l.el_.setAttribute("aria-label","audio player"):l.el_.setAttribute("aria-label","video player"),l.isAudio()&&l.addClass("vjs-audio"),l.flexNotSupported_()&&l.addClass("vjs-no-flex"),x.IS_IOS||l.addClass("vjs-workinghover"),t.players[l.id_]=l,l.userActive(!0),l.reportUserActivity(),l.listenForUserActivity_(),l.on("fullscreenchange",l.handleFullscreenChange_),l.on("stageclick",l.handleStageClick_),l}return s(t,e),t.prototype.dispose=function(){this.trigger("dispose"),this.off("dispose"),this.styleEl_&&this.styleEl_.parentNode&&this.styleEl_.parentNode.removeChild(this.styleEl_),t.players[this.id_]=null,this.tag&&this.tag.player&&(this.tag.player=null),this.el_&&this.el_.player&&(this.el_.player=null),this.tech_&&this.tech_.dispose(),e.prototype.dispose.call(this)},t.prototype.createEl=function(){var t=this.tag,n=void 0,r=this.playerElIngest_=t.parentNode&&t.parentNode.hasAttribute&&t.parentNode.hasAttribute("data-vjs-player");n=r?this.el_=t.parentNode:this.el_=e.prototype.createEl.call(this,"div"),t.setAttribute("tabindex","-1"),t.removeAttribute("width"),t.removeAttribute("height");var o=v.getElAttributes(t);if(Object.getOwnPropertyNames(o).forEach(function(e){"class"===e?n.className+=" "+o[e]:n.setAttribute(e,o[e])}),t.playerId=t.id,t.id+="_html5_api",t.className="vjs-tech",t.player=n.player=this,this.addClass("vjs-paused"),p.default.VIDEOJS_NO_DYNAMIC_STYLE!==!0){this.styleEl_=N.createStyleElement("vjs-styles-dimensions");var i=v.$(".vjs-styles-defaults"),a=v.$("head");a.insertBefore(this.styleEl_,i?i.nextSibling:a.firstChild)}this.width(this.options_.width),this.height(this.options_.height),this.fluid(this.options_.fluid),this.aspectRatio(this.options_.aspectRatio);for(var s=t.getElementsByTagName("a"),u=0;u<s.length;u++){var l=s.item(u);v.addElClass(l,"vjs-hidden"),l.setAttribute("hidden","hidden")}return t.initNetworkState_=t.networkState,t.parentNode&&!r&&t.parentNode.insertBefore(n,t),v.insertElFirst(t,n),this.children_.unshift(t),this.el_=n,n},t.prototype.width=function(e){return this.dimension("width",e)},t.prototype.height=function(e){return this.dimension("height",e)},t.prototype.dimension=function(e,t){var n=e+"_";if(void 0===t)return this[n]||0;if(""===t)this[n]=void 0;else{var r=parseFloat(t);if(isNaN(r))return T.default.error('Improper value "'+t+'" supplied for for '+e),this;this[n]=r}return this.updateStyleEl_(),this},t.prototype.fluid=function(e){return void 0===e?!!this.fluid_:(this.fluid_=!!e,e?this.addClass("vjs-fluid"):this.removeClass("vjs-fluid"),void this.updateStyleEl_())},t.prototype.aspectRatio=function(e){if(void 0===e)return this.aspectRatio_;if(!/^\d+\:\d+$/.test(e))throw new Error("Improper value supplied for aspect ratio. The format should be width:height, for example 16:9.");this.aspectRatio_=e,this.fluid(!0),this.updateStyleEl_()},t.prototype.updateStyleEl_=function(){if(p.default.VIDEOJS_NO_DYNAMIC_STYLE===!0){var e="number"==typeof this.width_?this.width_:this.options_.width,t="number"==typeof this.height_?this.height_:this.options_.height,n=this.tech_&&this.tech_.el();return void(n&&(e>=0&&(n.width=e),t>=0&&(n.height=t)))}var r=void 0,o=void 0,i=void 0,a=void 0;i=void 0!==this.aspectRatio_&&"auto"!==this.aspectRatio_?this.aspectRatio_:this.videoWidth()>0?this.videoWidth()+":"+this.videoHeight():"16:9";var s=i.split(":"),u=s[1]/s[0];r=void 0!==this.width_?this.width_:void 0!==this.height_?this.height_/u:this.videoWidth()||300,o=void 0!==this.height_?this.height_:r*u,a=/^[^a-zA-Z]/.test(this.id())?"dimensions-"+this.id():this.id()+"-dimensions",this.addClass(a),N.setTextContent(this.styleEl_,"\n      ."+a+" {\n        width: "+r+"px;\n        height: "+o+"px;\n      }\n\n      ."+a+".vjs-fluid {\n        padding-top: "+100*u+"%;\n      }\n    ")},t.prototype.loadTech_=function(e,t){var n=this;this.tech_&&this.unloadTech_(),"Html5"!==e&&this.tag&&(G.default.getTech("Html5").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null),this.techName_=e,this.isReady_=!1;var r=(0,B.assign)({source:t,nativeControlsForTouch:this.options_.nativeControlsForTouch,playerId:this.id(),techId:this.id()+"_"+e+"_api",videoTracks:this.videoTracks_,textTracks:this.textTracks_,audioTracks:this.audioTracks_,autoplay:this.options_.autoplay,preload:this.options_.preload,loop:this.options_.loop,muted:this.options_.muted,poster:this.poster(),language:this.language(),playerElIngest:this.playerElIngest_||!1,"vtt.js":this.options_["vtt.js"]},this.options_[e.toLowerCase()]);this.tag&&(r.tag=this.tag),t&&(this.currentType_=t.type,t.src===this.cache_.src&&this.cache_.currentTime>0&&(r.startTime=this.cache_.currentTime),this.cache_.sources=null,this.cache_.source=t,this.cache_.src=t.src);var o=G.default.getTech(e);o||(o=l.default.getComponent(e)),this.tech_=new o(r),this.tech_.ready(b.bind(this,this.handleTechReady_),!0),z.default.jsonToTextTracks(this.textTracksJson_||[],this.tech_),Q.forEach(function(e){n.on(n.tech_,e,n["handleTech"+(0,S.default)(e)+"_"])}),this.on(this.tech_,"loadstart",this.handleTechLoadStart_),this.on(this.tech_,"waiting",this.handleTechWaiting_),this.on(this.tech_,"canplay",this.handleTechCanPlay_),this.on(this.tech_,"canplaythrough",this.handleTechCanPlayThrough_),this.on(this.tech_,"playing",this.handleTechPlaying_),this.on(this.tech_,"ended",this.handleTechEnded_),this.on(this.tech_,"seeking",this.handleTechSeeking_),this.on(this.tech_,"seeked",this.handleTechSeeked_),this.on(this.tech_,"play",this.handleTechPlay_),this.on(this.tech_,"firstplay",this.handleTechFirstPlay_),this.on(this.tech_,"pause",this.handleTechPause_),this.on(this.tech_,"durationchange",this.handleTechDurationChange_),this.on(this.tech_,"fullscreenchange",this.handleTechFullscreenChange_),this.on(this.tech_,"error",this.handleTechError_),this.on(this.tech_,"loadedmetadata",this.updateStyleEl_),this.on(this.tech_,"posterchange",this.handleTechPosterChange_),this.on(this.tech_,"textdata",this.handleTechTextData_),this.usingNativeControls(this.techGet_("controls")),this.controls()&&!this.usingNativeControls()&&this.addTechControlsListeners_(),this.tech_.el().parentNode===this.el()||"Html5"===e&&this.tag||v.insertElFirst(this.tech_.el(),this.el()),this.tag&&(this.tag.player=null,this.tag=null)},t.prototype.unloadTech_=function(){this.videoTracks_=this.videoTracks(),this.textTracks_=this.textTracks(),this.audioTracks_=this.audioTracks(),this.textTracksJson_=z.default.textTracksToJson(this.tech_),this.isReady_=!1,this.tech_.dispose(),this.tech_=!1},t.prototype.tech=function(e){if(e&&e.IWillNotUseThisInPlugins)return this.tech_;var t="\n      Please make sure that you are not using this inside of a plugin.\n      To disable this alert and error, please pass in an object with\n      `IWillNotUseThisInPlugins` to the `tech` method. See\n      https://github.com/videojs/video.js/issues/2617 for more info.\n    ";throw p.default.alert(t),new Error(t)},t.prototype.addTechControlsListeners_=function(){this.removeTechControlsListeners_(),this.on(this.tech_,"mousedown",this.handleTechClick_),this.on(this.tech_,"touchstart",this.handleTechTouchStart_),this.on(this.tech_,"touchmove",this.handleTechTouchMove_),this.on(this.tech_,"touchend",this.handleTechTouchEnd_),this.on(this.tech_,"tap",this.handleTechTap_)},t.prototype.removeTechControlsListeners_=function(){this.off(this.tech_,"tap",this.handleTechTap_),this.off(this.tech_,"touchstart",this.handleTechTouchStart_),this.off(this.tech_,"touchmove",this.handleTechTouchMove_),this.off(this.tech_,"touchend",this.handleTechTouchEnd_),this.off(this.tech_,"mousedown",this.handleTechClick_)},t.prototype.handleTechReady_=function(){if(this.triggerReady(),this.cache_.volume&&this.techCall_("setVolume",this.cache_.volume),this.handleTechPosterChange_(),this.handleTechDurationChange_(),(this.src()||this.currentSrc())&&this.tag&&this.options_.autoplay&&this.paused()){try{delete this.tag.poster}catch(e){(0,T.default)("deleting tag.poster throws in some browsers",e)}this.play()}},t.prototype.handleTechLoadStart_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-seeking"),this.error(null),this.paused()?(this.hasStarted(!1),this.trigger("loadstart")):(this.trigger("loadstart"),this.trigger("firstplay"))},t.prototype.hasStarted=function(e){return void 0!==e?(this.hasStarted_!==e&&(this.hasStarted_=e,e?(this.addClass("vjs-has-started"),this.trigger("firstplay")):this.removeClass("vjs-has-started")),this):!!this.hasStarted_},t.prototype.handleTechPlay_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.hasStarted(!0),this.trigger("play")},t.prototype.handleTechWaiting_=function(){var e=this;this.addClass("vjs-waiting"),this.trigger("waiting"),this.one("timeupdate",function(){return e.removeClass("vjs-waiting")})},t.prototype.handleTechCanPlay_=function(){this.removeClass("vjs-waiting"),this.trigger("canplay")},t.prototype.handleTechCanPlayThrough_=function(){this.removeClass("vjs-waiting"),this.trigger("canplaythrough")},t.prototype.handleTechPlaying_=function(){this.removeClass("vjs-waiting"),this.trigger("playing")},t.prototype.handleTechSeeking_=function(){this.addClass("vjs-seeking"),this.trigger("seeking")},t.prototype.handleTechSeeked_=function(){this.removeClass("vjs-seeking"),this.trigger("seeked")},t.prototype.handleTechFirstPlay_=function(){this.options_.starttime&&(T.default.warn("Passing the `starttime` option to the player will be deprecated in 6.0"),this.currentTime(this.options_.starttime)),this.addClass("vjs-has-started"),this.trigger("firstplay")},t.prototype.handleTechPause_=function(){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.trigger("pause")},t.prototype.handleTechEnded_=function(){this.addClass("vjs-ended"),this.options_.loop?(this.currentTime(0),this.play()):this.paused()||this.pause(),this.trigger("ended")},t.prototype.handleTechDurationChange_=function(){this.duration(this.techGet_("duration"))},t.prototype.handleTechClick_=function(e){0===e.button&&this.controls()&&(this.paused()?this.play():this.pause())},t.prototype.handleTechTap_=function(){this.userActive(!this.userActive())},t.prototype.handleTechTouchStart_=function(){this.userWasActive=this.userActive()},t.prototype.handleTechTouchMove_=function(){this.userWasActive&&this.reportUserActivity()},t.prototype.handleTechTouchEnd_=function(e){e.preventDefault()},t.prototype.handleFullscreenChange_=function(){this.isFullscreen()?this.addClass("vjs-fullscreen"):this.removeClass("vjs-fullscreen")},t.prototype.handleStageClick_=function(){this.reportUserActivity()},t.prototype.handleTechFullscreenChange_=function(e,t){t&&this.isFullscreen(t.isFullscreen),this.trigger("fullscreenchange")},t.prototype.handleTechError_=function(){var e=this.tech_.error();this.error(e)},t.prototype.handleTechTextData_=function(){var e=null;arguments.length>1&&(e=arguments[1]),this.trigger("textdata",e)},t.prototype.getCache=function(){return this.cache_},t.prototype.techCall_=function(e,t){if(this.tech_&&!this.tech_.isReady_)this.tech_.ready(function(){this[e](t)},!0);else try{this.tech_&&this.tech_[e](t)}catch(e){throw(0,T.default)(e),e}},t.prototype.techGet_=function(e){if(this.tech_&&this.tech_.isReady_)try{return this.tech_[e]()}catch(t){throw void 0===this.tech_[e]?(0,T.default)("Video.js: "+e+" method not defined for "+this.techName_+" playback technology.",t):"TypeError"===t.name?((0,T.default)("Video.js: "+e+" unavailable on "+this.techName_+" playback technology element.",t),this.tech_.isReady_=!1):(0,T.default)(t),t}},t.prototype.play=function(){return this.src()||this.currentSrc()?this.techCall_("play"):this.tech_.one("loadstart",function(){this.play()}),this},t.prototype.pause=function(){return this.techCall_("pause"),this},t.prototype.paused=function(){return this.techGet_("paused")!==!1},t.prototype.scrubbing=function(e){return void 0!==e?(this.scrubbing_=!!e,e?this.addClass("vjs-scrubbing"):this.removeClass("vjs-scrubbing"),this):this.scrubbing_},t.prototype.currentTime=function(e){return void 0!==e?(this.techCall_("setCurrentTime",e),this):(this.cache_.currentTime=this.techGet_("currentTime")||0,this.cache_.currentTime)},t.prototype.duration=function(e){return void 0===e?this.cache_.duration||0:(e=parseFloat(e)||0,e<0&&(e=1/0),e!==this.cache_.duration&&(this.cache_.duration=e,e===1/0?this.addClass("vjs-live"):this.removeClass("vjs-live"),this.trigger("durationchange")),this)},t.prototype.remainingTime=function(){return this.duration()-this.currentTime()},t.prototype.buffered=function e(){var e=this.techGet_("buffered");return e&&e.length||(e=(0,O.createTimeRange)(0,0)),e},t.prototype.bufferedPercent=function(){return(0,M.bufferedPercent)(this.buffered(),this.duration())},t.prototype.bufferedEnd=function(){var e=this.buffered(),t=this.duration(),n=e.end(e.length-1);return n>t&&(n=t),n},t.prototype.volume=function(e){var t=void 0;return void 0!==e?(t=Math.max(0,Math.min(1,parseFloat(e))),this.cache_.volume=t,this.techCall_("setVolume",t),this):(t=parseFloat(this.techGet_("volume")),isNaN(t)?1:t)},t.prototype.muted=function(e){return void 0!==e?(this.techCall_("setMuted",e),this):this.techGet_("muted")||!1},t.prototype.supportsFullScreen=function(){return this.techGet_("supportsFullScreen")||!1},t.prototype.isFullscreen=function(e){return void 0!==e?(this.isFullscreen_=!!e,this):!!this.isFullscreen_},t.prototype.requestFullscreen=function(){var e=P.default;return this.isFullscreen(!0),e.requestFullscreen?(m.on(d.default,e.fullscreenchange,b.bind(this,function t(n){this.isFullscreen(d.default[e.fullscreenElement]),this.isFullscreen()===!1&&m.off(d.default,e.fullscreenchange,t),this.trigger("fullscreenchange")})),this.el_[e.requestFullscreen]()):this.tech_.supportsFullScreen()?this.techCall_("enterFullScreen"):(this.enterFullWindow(),this.trigger("fullscreenchange")),this},t.prototype.exitFullscreen=function(){var e=P.default;return this.isFullscreen(!1),e.requestFullscreen?d.default[e.exitFullscreen]():this.tech_.supportsFullScreen()?this.techCall_("exitFullScreen"):(this.exitFullWindow(),this.trigger("fullscreenchange")),this},t.prototype.enterFullWindow=function(){this.isFullWindow=!0,this.docOrigOverflow=d.default.documentElement.style.overflow,m.on(d.default,"keydown",b.bind(this,this.fullWindowOnEscKey)),d.default.documentElement.style.overflow="hidden",v.addElClass(d.default.body,"vjs-full-window"),this.trigger("enterFullWindow")},t.prototype.fullWindowOnEscKey=function(e){27===e.keyCode&&(this.isFullscreen()===!0?this.exitFullscreen():this.exitFullWindow())},t.prototype.exitFullWindow=function(){this.isFullWindow=!1,m.off(d.default,"keydown",this.fullWindowOnEscKey),d.default.documentElement.style.overflow=this.docOrigOverflow,v.removeElClass(d.default.body,"vjs-full-window"),this.trigger("exitFullWindow")},t.prototype.canPlayType=function(e){for(var t=void 0,n=0,r=this.options_.techOrder;n<r.length;n++){var o=(0,S.default)(r[n]),i=G.default.getTech(o);if(i||(i=l.default.getComponent(o)),i){if(i.isSupported()&&(t=i.canPlayType(e)))return t}else T.default.error('The "'+o+'" tech is undefined. Skipped browser support check for that tech.')}return""},t.prototype.selectSource=function(e){var t=this,n=this.options_.techOrder.map(S.default).map(function(e){return[e,G.default.getTech(e)||l.default.getComponent(e)]}).filter(function(e){var t=e[0],n=e[1];return n?n.isSupported():(T.default.error('The "'+t+'" tech is undefined. Skipped browser support check for that tech.'),!1)}),r=function(e,t,n){var r=void 0;return e.some(function(e){return t.some(function(t){if(r=n(e,t))return!0})}),r},o=void 0,i=function(e){return function(t,n){return e(n,t)}},a=function(e,n){var r=e[0],o=e[1];if(o.canPlaySource(n,t.options_[r.toLowerCase()]))return{source:n,tech:r}};return o=this.options_.sourceOrder?r(e,n,i(a)):r(n,e,a),o||!1},t.prototype.src=function(e){if(void 0===e)return this.techGet_("src");var t=G.default.getTech(this.techName_);return t||(t=l.default.getComponent(this.techName_)),Array.isArray(e)?this.sourceList_(e):"string"==typeof e?this.src({src:e}):e instanceof Object&&(e.type&&!t.canPlaySource(e,this.options_[this.techName_.toLowerCase()])?this.sourceList_([e]):(this.cache_.sources=null,this.cache_.source=e,this.cache_.src=e.src,this.currentType_=e.type||"",this.ready(function(){t.prototype.hasOwnProperty("setSource")?this.techCall_("setSource",e):this.techCall_("src",e.src),"auto"===this.options_.preload&&this.load(),this.options_.autoplay&&this.play()},!0))),this},t.prototype.sourceList_=function(e){var t=this.selectSource(e);t?(t.tech===this.techName_?this.src(t.source):this.loadTech_(t.tech,t.source),this.cache_.sources=e):(this.setTimeout(function(){this.error({code:4,message:this.localize(this.options_.notSupportedMessage)})},0),this.triggerReady())},t.prototype.load=function(){return this.techCall_("load"),this},t.prototype.reset=function(){return this.loadTech_((0,S.default)(this.options_.techOrder[0]),null),this.techCall_("reset"),this},t.prototype.currentSources=function(){var e=this.currentSource(),t=[];return 0!==Object.keys(e).length&&t.push(e),
+this.cache_.sources||t},t.prototype.currentSource=function(){var e={},t=this.currentSrc();return t&&(e.src=t),this.cache_.source||e},t.prototype.currentSrc=function(){return this.techGet_("currentSrc")||this.cache_.src||""},t.prototype.currentType=function(){return this.currentType_||""},t.prototype.preload=function(e){return void 0!==e?(this.techCall_("setPreload",e),this.options_.preload=e,this):this.techGet_("preload")},t.prototype.autoplay=function(e){return void 0!==e?(this.techCall_("setAutoplay",e),this.options_.autoplay=e,this):this.techGet_("autoplay",e)},t.prototype.loop=function(e){return void 0!==e?(this.techCall_("setLoop",e),this.options_.loop=e,this):this.techGet_("loop")},t.prototype.poster=function(e){return void 0===e?this.poster_:(e||(e=""),this.poster_=e,this.techCall_("setPoster",e),this.trigger("posterchange"),this)},t.prototype.handleTechPosterChange_=function(){!this.poster_&&this.tech_&&this.tech_.poster&&(this.poster_=this.tech_.poster()||"",this.trigger("posterchange"))},t.prototype.controls=function(e){return void 0!==e?(e=!!e,this.controls_!==e&&(this.controls_=e,this.usingNativeControls()&&this.techCall_("setControls",e),e?(this.removeClass("vjs-controls-disabled"),this.addClass("vjs-controls-enabled"),this.trigger("controlsenabled"),this.usingNativeControls()||this.addTechControlsListeners_()):(this.removeClass("vjs-controls-enabled"),this.addClass("vjs-controls-disabled"),this.trigger("controlsdisabled"),this.usingNativeControls()||this.removeTechControlsListeners_())),this):!!this.controls_},t.prototype.usingNativeControls=function(e){return void 0!==e?(e=!!e,this.usingNativeControls_!==e&&(this.usingNativeControls_=e,e?(this.addClass("vjs-using-native-controls"),this.trigger("usingnativecontrols")):(this.removeClass("vjs-using-native-controls"),this.trigger("usingcustomcontrols"))),this):!!this.usingNativeControls_},t.prototype.error=function(e){return void 0===e?this.error_||null:null===e?(this.error_=e,this.removeClass("vjs-error"),this.errorDisplay&&this.errorDisplay.close(),this):(this.error_=new R.default(e),this.addClass("vjs-error"),T.default.error("(CODE:"+this.error_.code+" "+R.default.errorTypes[this.error_.code]+")",this.error_.message,this.error_),this.trigger("error"),this)},t.prototype.reportUserActivity=function(e){this.userActivity_=!0},t.prototype.userActive=function(e){return void 0!==e?(e=!!e,e!==this.userActive_&&(this.userActive_=e,e?(this.userActivity_=!0,this.removeClass("vjs-user-inactive"),this.addClass("vjs-user-active"),this.trigger("useractive")):(this.userActivity_=!1,this.tech_&&this.tech_.one("mousemove",function(e){e.stopPropagation(),e.preventDefault()}),this.removeClass("vjs-user-active"),this.addClass("vjs-user-inactive"),this.trigger("userinactive"))),this):this.userActive_},t.prototype.listenForUserActivity_=function(){var e=void 0,t=void 0,n=void 0,r=b.bind(this,this.reportUserActivity),o=function(e){e.screenX===t&&e.screenY===n||(t=e.screenX,n=e.screenY,r())},i=function(){r(),this.clearInterval(e),e=this.setInterval(r,250)},a=function(t){r(),this.clearInterval(e)};this.on("mousedown",i),this.on("mousemove",o),this.on("mouseup",a),this.on("keydown",r),this.on("keyup",r);var s=void 0;this.setInterval(function(){if(this.userActivity_){this.userActivity_=!1,this.userActive(!0),this.clearTimeout(s);var e=this.options_.inactivityTimeout;e>0&&(s=this.setTimeout(function(){this.userActivity_||this.userActive(!1)},e))}},250)},t.prototype.playbackRate=function(e){return void 0!==e?(this.techCall_("setPlaybackRate",e),this):this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_("playbackRate"):1},t.prototype.isAudio=function(e){return void 0!==e?(this.isAudio_=!!e,this):!!this.isAudio_},t.prototype.videoTracks=function(){return this.tech_?this.tech_.videoTracks():(this.videoTracks_=this.videoTracks_||new X.default,this.videoTracks_)},t.prototype.audioTracks=function(){return this.tech_?this.tech_.audioTracks():(this.audioTracks_=this.audioTracks_||new K.default,this.audioTracks_)},t.prototype.textTracks=function(){if(this.tech_)return this.tech_.textTracks()},t.prototype.remoteTextTracks=function(){if(this.tech_)return this.tech_.remoteTextTracks()},t.prototype.remoteTextTrackEls=function(){if(this.tech_)return this.tech_.remoteTextTrackEls()},t.prototype.addTextTrack=function(e,t,n){if(this.tech_)return this.tech_.addTextTrack(e,t,n)},t.prototype.addRemoteTextTrack=function(e,t){if(this.tech_)return this.tech_.addRemoteTextTrack(e,t)},t.prototype.removeRemoteTextTrack=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.track,n=void 0===t?arguments[0]:t;if(this.tech_)return this.tech_.removeRemoteTextTrack(n)},t.prototype.videoWidth=function(){return this.tech_&&this.tech_.videoWidth&&this.tech_.videoWidth()||0},t.prototype.videoHeight=function(){return this.tech_&&this.tech_.videoHeight&&this.tech_.videoHeight()||0},t.prototype.language=function(e){return void 0===e?this.language_:(this.language_=String(e).toLowerCase(),this)},t.prototype.languages=function(){return(0,U.default)(t.prototype.options_.languages,this.languages_)},t.prototype.toJSON=function(){var e=(0,U.default)(this.options_),t=e.tracks;e.tracks=[];for(var n=0;n<t.length;n++){var r=t[n];r=(0,U.default)(r),r.player=void 0,e.tracks[n]=r}return e},t.prototype.createModal=function(e,t){var n=this;t=t||{},t.content=e||"";var r=new W.default(this,t);return this.addChild(r),r.on("dispose",function(){n.removeChild(r)}),r.open()},t.getTagSettings=function(e){var t={sources:[],tracks:[]},n=v.getElAttributes(e),r=n["data-setup"];if(v.hasElClass(e,"vjs-fluid")&&(n.fluid=!0),null!==r){var o=(0,L.default)(r||"{}"),i=o[0],a=o[1];i&&T.default.error(i),(0,B.assign)(n,a)}if((0,B.assign)(t,n),e.hasChildNodes())for(var s=e.childNodes,u=0,l=s.length;u<l;u++){var c=s[u],d=c.nodeName.toLowerCase();"source"===d?t.sources.push(v.getElAttributes(c)):"track"===d&&t.tracks.push(v.getElAttributes(c))}return t},t.prototype.flexNotSupported_=function(){var e=d.default.createElement("i");return!("flexBasis"in e.style||"webkitFlexBasis"in e.style||"mozFlexBasis"in e.style||"msFlexBasis"in e.style||"msFlexOrder"in e.style)},t}(l.default);J.players={};var Z=p.default.navigator;J.prototype.options_={techOrder:["html5","flash"],html5:{},flash:{},defaultVolume:0,inactivityTimeout:2e3,playbackRates:[],children:["mediaLoader","posterImage","textTrackDisplay","loadingSpinner","bigPlayButton","controlBar","errorDisplay","textTrackSettings"],language:Z&&(Z.languages&&Z.languages[0]||Z.userLanguage||Z.language)||"en",languages:{},notSupportedMessage:"No compatible source was found for this media."},["ended","seeking","seekable","networkState","readyState"].forEach(function(e){J.prototype[e]=function(){return this.techGet_(e)}}),Q.forEach(function(e){J.prototype["handleTech"+(0,S.default)(e)+"_"]=function(){return this.trigger(e)}}),l.default.registerComponent("Player",J),t.default=J},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(8),l=o(u),c=n(23),d=r(c),f=n(34),p=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.bar=o.getChild(o.options_.barName),o.vertical(!!o.options_.vertical),o.on("mousedown",o.handleMouseDown),o.on("touchstart",o.handleMouseDown),o.on("focus",o.handleFocus),o.on("blur",o.handleBlur),o.on("click",o.handleClick),o.on(n,"controlsvisible",o.update),o.on(n,o.playerEvent,o.update),o}return s(t,e),t.prototype.createEl=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.className=n.className+" vjs-slider",n=(0,f.assign)({tabIndex:0},n),r=(0,f.assign)({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},r),e.prototype.createEl.call(this,t,n,r)},t.prototype.handleMouseDown=function(e){var t=this.bar.el_.ownerDocument;e.preventDefault(),d.blockTextSelection(),this.addClass("vjs-sliding"),this.trigger("slideractive"),this.on(t,"mousemove",this.handleMouseMove),this.on(t,"mouseup",this.handleMouseUp),this.on(t,"touchmove",this.handleMouseMove),this.on(t,"touchend",this.handleMouseUp),this.handleMouseMove(e)},t.prototype.handleMouseMove=function(e){},t.prototype.handleMouseUp=function(){var e=this.bar.el_.ownerDocument;d.unblockTextSelection(),this.removeClass("vjs-sliding"),this.trigger("sliderinactive"),this.off(e,"mousemove",this.handleMouseMove),this.off(e,"mouseup",this.handleMouseUp),this.off(e,"touchmove",this.handleMouseMove),this.off(e,"touchend",this.handleMouseUp),this.update()},t.prototype.update=function(){if(this.el_){var e=this.getPercent(),t=this.bar;if(t){("number"!=typeof e||e!==e||e<0||e===1/0)&&(e=0);var n=(100*e).toFixed(2)+"%";this.vertical()?t.el().style.height=n:t.el().style.width=n}}},t.prototype.calculateDistance=function(e){var t=d.getPointerPosition(this.el_,e);return this.vertical()?t.y:t.x},t.prototype.handleFocus=function(){this.on(this.bar.el_.ownerDocument,"keydown",this.handleKeyPress)},t.prototype.handleKeyPress=function(e){37===e.which||40===e.which?(e.preventDefault(),this.stepBack()):38!==e.which&&39!==e.which||(e.preventDefault(),this.stepForward())},t.prototype.handleBlur=function(){this.off(this.bar.el_.ownerDocument,"keydown",this.handleKeyPress)},t.prototype.handleClick=function(e){e.stopImmediatePropagation(),e.preventDefault()},t.prototype.vertical=function(e){return void 0===e?this.vertical_||!1:(this.vertical_=!!e,this.vertical_?this.addClass("vjs-slider-vertical"):this.addClass("vjs-slider-horizontal"),this)},t}(l.default);l.default.registerComponent("Slider",p),t.default=p},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(319),l=o(u),c=n(33),d=r(c),f=n(28),p=o(f),h=function(e,t){for(var n=0;n<e.length;n++)t.id!==e[n].id&&(e[n].enabled=!1)},m=function(e){function t(){var n,r,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];i(this,t);for(var s=void 0,u=o.length-1;u>=0;u--)if(o[u].enabled){h(o,o[u]);break}if(d.IS_IE8){s=p.default.createElement("custom");for(var c in l.default.prototype)"constructor"!==c&&(s[c]=l.default.prototype[c]);for(var f in t.prototype)"constructor"!==f&&(s[f]=t.prototype[f])}return s=n=a(this,e.call(this,o,s)),s.changing_=!1,r=s,a(n,r)}return s(t,e),t.prototype.addTrack_=function(t){var n=this;t.enabled&&h(this,t),e.prototype.addTrack_.call(this,t),t.addEventListener&&t.addEventListener("enabledchange",function(){n.changing_||(n.changing_=!0,h(n,t),n.changing_=!1,n.trigger("change"))})},t.prototype.addTrack=function(e){this.addTrack_(e)},t.prototype.removeTrack=function(t){e.prototype.removeTrack_.call(this,t)},t}(l.default);t.default=m},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(319),l=o(u),c=n(33),d=r(c),f=n(28),p=o(f),h=function(e,t){for(var n=0;n<e.length;n++)t.id!==e[n].id&&(e[n].selected=!1)},m=function(e){function t(){var n,r,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];i(this,t);for(var s=void 0,u=o.length-1;u>=0;u--)if(o[u].selected){h(o,o[u]);break}if(d.IS_IE8){s=p.default.createElement("custom");for(var c in l.default.prototype)"constructor"!==c&&(s[c]=l.default.prototype[c]);for(var f in t.prototype)"constructor"!==f&&(s[f]=t.prototype[f])}return s=n=a(this,e.call(this,o,s)),s.changing_=!1,Object.defineProperty(s,"selectedIndex",{get:function(){for(var e=0;e<this.length;e++)if(this[e].selected)return e;return-1},set:function(){}}),r=s,a(n,r)}return s(t,e),t.prototype.addTrack_=function(t){var n=this;t.selected&&h(this,t),e.prototype.addTrack_.call(this,t),t.addEventListener&&t.addEventListener("selectedchange",function(){n.changing_||(n.changing_=!0,h(n,t),n.changing_=!1,n.trigger("change"))})},t.prototype.addTrack=function(e){this.addTrack_(e)},t.prototype.removeTrack=function(t){e.prototype.removeTrack_.call(this,t)},t}(l.default);t.default=m},function(e,t,n){"use strict";function r(e,t){var n=0,r=void 0,i=void 0;if(!t)return 0;e&&e.length||(e=(0,o.createTimeRange)(0,0));for(var a=0;a<e.length;a++)r=e.start(a),i=e.end(a),i>t&&(i=t),n+=i-r;return n/t}t.__esModule=!0,t.bufferedPercent=r;var o=n(155)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.setTextContent=t.createStyleElement=void 0;var o=n(28),i=r(o);t.createStyleElement=function(e){var t=i.default.createElement("style");return t.className=e,t},t.setTextContent=function(e,t){e.styleSheet?e.styleSheet.cssText=t:e.textContent=t}},function(e,t,n){"use strict";function r(e,t){for(var n=0;n<e.length;n++)t(e[n])}function o(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}function i(e,t,n){var r=e;return d(t)?(n=t,"string"==typeof e&&(r={uri:e})):r=p(t,{uri:e}),r.callback=n,r}function a(e,t,n){return t=i(e,t,n),s(t)}function s(e){function t(){4===d.readyState&&i()}function n(){var e=void 0;if(e=d.response?d.response:d.responseText||u(d),w)try{e=JSON.parse(e)}catch(e){}return e}function r(e){return clearTimeout(m),e instanceof Error||(e=new Error(""+(e||"Unknown XMLHttpRequest Error"))),e.statusCode=0,l(e,c)}function i(){if(!h){var t;clearTimeout(m),t=e.useXDR&&void 0===d.status?200:1223===d.status?204:d.status;var r=c,o=null;return 0!==t?(r={body:n(),statusCode:t,method:v,headers:{},url:g,rawRequest:d},d.getAllResponseHeaders&&(r.headers=f(d.getAllResponseHeaders()))):o=new Error("Internal XMLHttpRequest Error"),l(o,r,r.body)}}if("undefined"==typeof e.callback)throw new Error("callback argument missing");var s=!1,l=function(t,n,r){s||(s=!0,e.callback(t,n,r))},c={body:void 0,headers:{},statusCode:0,method:v,url:g,rawRequest:d},d=e.xhr||null;d||(d=e.cors||e.useXDR?new a.XDomainRequest:new a.XMLHttpRequest);var p,h,m,g=d.url=e.uri||e.url,v=d.method=e.method||"GET",y=e.body||e.data||null,b=d.headers=e.headers||{},_=!!e.sync,w=!1;if("json"in e&&(w=!0,b.accept||b.Accept||(b.Accept="application/json"),"GET"!==v&&"HEAD"!==v&&(b["content-type"]||b["Content-Type"]||(b["Content-Type"]="application/json"),y=JSON.stringify(e.json))),d.onreadystatechange=t,d.onload=i,d.onerror=r,d.onprogress=function(){},d.ontimeout=r,d.open(v,g,!_,e.username,e.password),_||(d.withCredentials=!!e.withCredentials),!_&&e.timeout>0&&(m=setTimeout(function(){h=!0,d.abort("timeout");var e=new Error("XMLHttpRequest timeout");e.code="ETIMEDOUT",r(e)},e.timeout)),d.setRequestHeader)for(p in b)b.hasOwnProperty(p)&&d.setRequestHeader(p,b[p]);else if(e.headers&&!o(e.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in e&&(d.responseType=e.responseType),"beforeSend"in e&&"function"==typeof e.beforeSend&&e.beforeSend(d),d.send(y),d}function u(e){if("document"===e.responseType)return e.responseXML;var t=204===e.status&&e.responseXML&&"parsererror"===e.responseXML.documentElement.nodeName;return""!==e.responseType||t?null:e.responseXML}function l(){}var c=n(30),d=n(397),f=n(961),p=n(1212);e.exports=a,a.XMLHttpRequest=c.XMLHttpRequest||l,a.XDomainRequest="withCredentials"in new a.XMLHttpRequest?a.XMLHttpRequest:c.XDomainRequest,r(["get","put","post","patch","head","delete"],function(e){a["delete"===e?"del":e]=function(t,n,r){return n=i(t,n,r),n.method=e.toUpperCase(),s(n)}})},function(e,t,n){var r=n(1216),o=n(330),i=n(331),a="[object Array]",s=Object.prototype,u=s.toString,l=r(Array,"isArray"),c=l||function(e){return i(e)&&o(e.length)&&u.call(e)==a};e.exports=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=(0,u.default)("./_author/images/CLIx-logo.png"),n=function(){switch(e.view){case"banks":return a.default.createElement(c.default,e);case"assessments":return a.default.createElement(f.default,e);default:return e.children}};return a.default.createElement("header",{className:"au-c-header"},a.default.createElement("div",{className:"au-c-header-top"},a.default.createElement("img",{src:t,alt:"CLI Logo",className:"au-c-logo"})),n())}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i),s=n(537),u=r(s),l=n(1340),c=r(l),d=n(1285),f=r(d)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e){return{mediaTypes:e.media,img:e.media.image,video:e.media.video,audio:e.media.audio,loadingMedia:e.media.loading,uploadedAssets:e.uploadedAssets}}Object.defineProperty(t,"__esModule",{value:!0}),t.OeaEditor=void 0;var a,s,u=n(11),l=o(u),c=n(9),d=o(c),f=n(4),p=o(f),h=n(5),m=o(h),g=n(7),v=o(g),y=n(6),b=o(y),_=n(3),w=o(_),C=n(134),x=o(C),E=n(1),T=o(E),k=n(36),S=n(323),O=o(S),M=n(1343),A=o(M),N=n(157),I=o(N),P=n(222),D=r(P),R=n(65),j=t.OeaEditor=(s=a=function(e){function t(e){(0,p.default)(this,t);var n=(0,v.default)(this,(t.__proto__||(0,d.default)(t)).call(this,e));return n.state={fileGuids:{},focused:!1,editor:null,modalOpen:!1,mediaType:null,mediaGuid:null,newText:n.props.text},n}return(0,b.default)(t,e),(0,m.default)(t,[{key:"componentWillReceiveProps",value:function(e){if(!w.default.get(this.props.uploadedAssets,this.state.mediaGuid)&&w.default.get(e.uploadedAssets,this.state.mediaGuid)){var t=e.uploadedAssets[this.state.mediaGuid],n=this.getEditorContent(t);this.state.editor.insertContent(n),this.closeModal()}e.text!==this.state.newText&&this.setState({newText:e.text})}},{key:"onBlur",value:function(e,t){var n=this;if(this.setState({focused:!1,newText:e}),t){var r=e,o={};r=r.replace(/autoplay/g,"autoplay-placeholder"),r=r.replace(/src="/g,'src-placeholder="');var i=(0,x.default)("<div>"+r+"</div>");(0,x.default)("img, source, track",i).each(function(e,t){var r=(0,x.default)(t),o=/.*\/(.*)\/stream$/.exec(r.attr("src-placeholder"));if(o){var i=o[1],a=n.findMediaGuid(i);a&&r.attr("src-placeholder","AssetContent:"+a)}}),(0,x.default)("source",i).each(function(e,t){var r=(0,x.default)(t),o=r.attr("src-placeholder");if(o){var i=o.match("AssetContent:(.+)");if(i){var a=i[1],s=R.types.assets.transcript.transcript,u=n.findMetaGuids(a).filter(function(e){return e.assetContentTypeId===s||e.genusTypeId===s});w.default.isEmpty(u)||r.parent().after('<transcript src="AssetContent:'+u[0].guid+'" />')}}}),w.default.each(this.state.fileGuids,function(e,t){var r=n.props.uploadedAssets[t]||n.state.fileGuids[t];if(r&&!r.error){var i=r.type&&r.extension?R.types.assets[r.type][r.extension]:r.genusTypeId;o[t]={assetId:r.id,assetContentId:r.assetContentId,assetContentTypeId:i}}});var a=new window.XMLSerializer;r=a.serializeToString(i[0]),r=r.replace(/^<div xmlns="http:\/\/www.w3.org\/1999\/xhtml">/,""),r=r.replace(/<\/div>$/,""),r=r.replace(/src-placeholder/g,"src"),r=r.replace(/autoplay-placeholder/g,"autoplay"),this.props.onBlur(r,o),this.setState({fileGuids:{}})}}},{key:"getEditorContent",value:function(e){if(!w.default.isUndefined(e.error))return"";var n='<video><source src="'+e.url+'" /></video>',r=w.default.isEmpty(e.altText)?"":e.altText.text,o=e.autoPlay?"autoplay":"";switch(this.state.mediaType){case"img":n='<img src="'+e.url+'" alt="'+r+'">';break;case"audio":n='<audio class="span_12_of_12" '+o+' name="media" controls>'+('<source src="'+e.url+'" type="'+this.state.mediaType+"/"+e.extension+'">')+"</audio>";break;case"video":var i=w.default.isEmpty(e.vtt)?"":'<track src="'+w.default.get(e,"vtt.url")+'" srclang="en">';n='<video class="'+t.VIDEO_CLASSES+'" '+o+' name="media" controls>'+('<source src="'+e.url+'" type="'+this.state.mediaType+"/"+e.extension+'">')+(i+"</video>")}return n}},{key:"findMetaGuids",value:function(e){var t=this.props,n=t.fileIds,r=t.uploadedAssets,o=this.state.fileGuids,i=(0,l.default)({},o,n,r),a=i[e],s=a.id||a.assetId;return w.default.isEmpty(a)?[]:w.default.toPairs(i).map(function(e){return(0,l.default)({guid:e[0]},e[1])}).filter(function(e){return e.assetId===s})}},{key:"findMediaGuid",value:function(e){return w.default.findKey(this.props.fileIds,function(t){return t.assetContentId===e})||w.default.findKey(this.props.uploadedAssets,function(t){return t.assetContentId===e})||w.default.findKey(this.state.fileGuids,function(t){return t.assetContentId===e})}},{key:"openModal",value:function(e,t){this.setState({editor:e,modalOpen:!0,mediaType:t})}},{key:"closeModal",value:function(){this.setState({editor:null,modalOpen:!1,mediaType:null,mediaGuid:null})}},{key:"insertMedia",value:function(e,t,n){if(!e)return void this.closeModal();var r=(0,I.default)(),o=w.default.cloneDeep(this.state.fileGuids);if(n){var i={mediaGuid:r,vttGuids:[],transcriptGuids:[]};w.default.each(t,function(e){if(e.vttFile){var t=(0,I.default)();i.vttGuids.push(t),o[t]={}}if(e.transcript){var n=(0,I.default)();i.transcriptGuids.push(n),o[n]={}}}),o[r]={},this.props.uploadMedia(e,i,this.props.bankId,t),this.setState({mediaGuid:r})}else{var a=this.getEditorContent(e);this.state.editor.insertContent(a),o[r]=e,o[(0,I.default)()]=e.vtt,o[(0,I.default)()]=e.transcript,this.closeModal()}this.setState({fileGuids:o})}},{key:"cleanText",value:function(){var e=this.props.text;if(!e)return e;e=e.replace(/autoplay/g,"autoplay-placeholder"),e=e.replace(/src="/g,'src-placeholder="');var t=(0,x.default)("<div>"+e+"</div>");(0,x.default)(".transcriptWrapper",t).remove();var n=t.html();return n=n.replace(/src-placeholder/g,"src"),n.replace(/autoplay-placeholder/g,"autoplay")}},{key:"render",value:function(){var e=this,t=this.state.focused||this.state.modalOpen,n=t?"is-focused":"no-border",r=this.state.newText&&this.state.newText.length||t?"is-hidden":"",o=this.props.textSize,i=w.default.get(this.props,"uploadedAssets['"+this.state.mediaGuid+"'].assetContents[0]");return T.default.createElement("div",{className:"au-c-input__contain"},T.default.createElement("div",{className:"au-c-text-input au-c-text-input--"+o+" au-c-wysiwyg "+n},T.default.createElement("div",{className:"au-c-placeholder "+r},this.props.placeholder),T.default.createElement(A.default,{bankId:this.props.bankId,editorKey:this.props.editorKey,text:this.cleanText(),onBlur:function(t,n){return e.onBlur(t,n)},onChange:function(t){return e.setState({newText:t})},onFocus:function(){return e.setState({focused:!0})},openModal:function(t,n){return e.openModal(t,n)}})),T.default.createElement("div",{className:"au-c-input__bottom "+n}),T.default.createElement(O.default,{isOpen:this.state.modalOpen,insertMedia:function(t,n,r){return e.insertMedia(t,n,r)},inProgress:this.state.mediaGuid&&!w.default.get(i,"displayName.text"),error:this.props.error,closeModal:function(){return e.closeModal()},mediaType:this.state.mediaType,media:this.props[this.state.mediaType],loading:this.props.loadingMedia}))}}]),t}(T.default.Component),a.VIDEO_CLASSES="video-js vjs-skin-colors-clix vjs-big-play-centered",s);t.default=(0,k.connect)(i,D)(j)},,,,function(e,t,n){e.exports={default:n(596),__esModule:!0}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(325),i=r(o);t.default=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return(0,i.default)(e)}},[1527,140],370,function(e,t,n){"use strict";var r=n(47),o=n(24),i=n(59),a=n(68),s=n(35)("species");e.exports=function(e){var t="function"==typeof o[e]?o[e]:r[e];a&&t&&!t[s]&&i.f(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){function r(){}function o(e){if(!m(e))return e;var t=[];for(var n in e)i(t,n,e[n]);return t.join("&")}function i(e,t,n){if(null!=n)if(Array.isArray(n))n.forEach(function(n){i(e,t,n)});else if(m(n))for(var r in n)i(e,t+"["+r+"]",n[r]);else e.push(encodeURIComponent(t)+"="+encodeURIComponent(n));else null===n&&e.push(encodeURIComponent(t))}function a(e){for(var t,n,r={},o=e.split("&"),i=0,a=o.length;i<a;++i)t=o[i],n=t.indexOf("="),n==-1?r[decodeURIComponent(t)]="":r[decodeURIComponent(t.slice(0,n))]=decodeURIComponent(t.slice(n+1));return r}function s(e){var t,n,r,o,i=e.split(/\r?\n/),a={};i.pop();for(var s=0,u=i.length;s<u;++s)n=i[s],t=n.indexOf(":"),r=n.slice(0,t).toLowerCase(),o=_(n.slice(t+1)),a[r]=o;return a}function u(e){return/[\/+]json\b/.test(e)}function l(e){this.req=e,this.xhr=this.req.xhr,this.text="HEAD"!=this.req.method&&(""===this.xhr.responseType||"text"===this.xhr.responseType)||"undefined"==typeof this.xhr.responseType?this.xhr.responseText:null,this.statusText=this.req.xhr.statusText;var t=this.xhr.status;1223===t&&(t=204),this._setStatusProperties(t),this.header=this.headers=s(this.xhr.getAllResponseHeaders()),this.header["content-type"]=this.xhr.getResponseHeader("content-type"),this._setHeaderProperties(this.header),null===this.text&&e._responseType?this.body=this.xhr.response:this.body="HEAD"!=this.req.method?this._parseBody(this.text?this.text:this.xhr.response):null}function c(e,t){var n=this;this._query=this._query||[],this.method=e,this.url=t,this.header={},this._header={},this.on("end",function(){var e=null,t=null;try{t=new l(n)}catch(t){return e=new Error("Parser is unable to parse the response"),e.parse=!0,e.original=t,n.xhr?(e.rawResponse="undefined"==typeof n.xhr.responseType?n.xhr.responseText:n.xhr.response,e.status=n.xhr.status?n.xhr.status:null,e.statusCode=e.status):(e.rawResponse=null,e.status=null),n.callback(e)}n.emit("response",t);var r;try{n._isResponseOK(t)||(r=new Error(t.statusText||"Unsuccessful HTTP response"),r.original=e,r.response=t,r.status=t.status)}catch(e){r=e}r?n.callback(r,t):n.callback(null,t)})}function d(e,t,n){var r=b("DELETE",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}var f;"undefined"!=typeof window?f=window:"undefined"!=typeof self?f=self:(console.warn("Using browser-only version of superagent in non-browser environment"),f=this);var p=n(586),h=n(1145),m=n(315),g=n(1144),v=n(1146),y=n(1147),b=t=e.exports=function(e,n){return"function"==typeof n?new t.Request("GET",e).end(n):1==arguments.length?new t.Request("GET",e):new t.Request(e,n)};t.Request=c,b.getXHR=function(){if(!(!f.XMLHttpRequest||f.location&&"file:"==f.location.protocol&&f.ActiveXObject))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(e){}throw Error("Browser-only verison of superagent could not find XHR")};var _="".trim?function(e){return e.trim()}:function(e){return e.replace(/(^\s*|\s*$)/g,"")};b.serializeObject=o,b.parseString=a,b.types={html:"text/html",json:"application/json",xml:"application/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},b.serialize={"application/x-www-form-urlencoded":o,"application/json":JSON.stringify},b.parse={"application/x-www-form-urlencoded":a,"application/json":JSON.parse},v(l.prototype),l.prototype._parseBody=function(e){var t=b.parse[this.type];return this.req._parser?this.req._parser(this,e):(!t&&u(this.type)&&(t=b.parse["application/json"]),t&&e&&(e.length||e instanceof Object)?t(e):null)},l.prototype.toError=function(){var e=this.req,t=e.method,n=e.url,r="cannot "+t+" "+n+" ("+this.status+")",o=new Error(r);return o.status=this.status,o.method=t,o.url=n,o},b.Response=l,p(c.prototype),h(c.prototype),c.prototype.type=function(e){return this.set("Content-Type",b.types[e]||e),this},c.prototype.accept=function(e){return this.set("Accept",b.types[e]||e),this},c.prototype.auth=function(e,t,n){switch(n||(n={type:"function"==typeof btoa?"basic":"auto"}),n.type){case"basic":this.set("Authorization","Basic "+btoa(e+":"+t));break;case"auto":this.username=e,this.password=t}return this},c.prototype.query=function(e){return"string"!=typeof e&&(e=o(e)),e&&this._query.push(e),this},c.prototype.attach=function(e,t,n){if(this._data)throw Error("superagent can't mix .send() and .attach()");return this._getFormData().append(e,t,n||t.name),this},c.prototype._getFormData=function(){return this._formData||(this._formData=new f.FormData),this._formData},c.prototype.callback=function(e,t){if(this._maxRetries&&this._retries++<this._maxRetries&&y(e,t))return this._retry();var n=this._callback;this.clearTimeout(),e&&(this._maxRetries&&(e.retries=this._retries-1),this.emit("error",e)),n(e,t)},c.prototype.crossDomainError=function(){var e=new Error("Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.");e.crossDomain=!0,e.status=this.status,e.method=this.method,e.url=this.url,this.callback(e)},c.prototype.buffer=c.prototype.ca=c.prototype.agent=function(){return console.warn("This is not supported in browser version of superagent"),this},c.prototype.pipe=c.prototype.write=function(){throw Error("Streaming is not supported in browser version of superagent")},c.prototype._appendQueryString=function(){var e=this._query.join("&");if(e&&(this.url+=(this.url.indexOf("?")>=0?"&":"?")+e),this._sort){var t=this.url.indexOf("?");if(t>=0){var n=this.url.substring(t+1).split("&");g(this._sort)?n.sort(this._sort):n.sort(),this.url=this.url.substring(0,t)+"?"+n.join("&")}}},c.prototype._isHost=function(e){return e&&"object"==typeof e&&!Array.isArray(e)&&"[object Object]"!==Object.prototype.toString.call(e)},c.prototype.end=function(e){return this._endCalled&&console.warn("Warning: .end() was called twice. This is not supported in superagent"),this._endCalled=!0,this._callback=e||r,this._appendQueryString(),this._end()},c.prototype._end=function(){var e=this,t=this.xhr=b.getXHR(),n=this._formData||this._data;this._setTimeouts(),t.onreadystatechange=function(){var n=t.readyState;if(n>=2&&e._responseTimeoutTimer&&clearTimeout(e._responseTimeoutTimer),4==n){var r;try{r=t.status}catch(e){r=0}if(!r){if(e.timedout||e._aborted)return;
+return e.crossDomainError()}e.emit("end")}};var r=function(t,n){n.total>0&&(n.percent=n.loaded/n.total*100),n.direction=t,e.emit("progress",n)};if(this.hasListeners("progress"))try{t.onprogress=r.bind(null,"download"),t.upload&&(t.upload.onprogress=r.bind(null,"upload"))}catch(e){}try{this.username&&this.password?t.open(this.method,this.url,!0,this.username,this.password):t.open(this.method,this.url,!0)}catch(e){return this.callback(e)}if(this._withCredentials&&(t.withCredentials=!0),!this._formData&&"GET"!=this.method&&"HEAD"!=this.method&&"string"!=typeof n&&!this._isHost(n)){var o=this._header["content-type"],i=this._serializer||b.serialize[o?o.split(";")[0]:""];!i&&u(o)&&(i=b.serialize["application/json"]),i&&(n=i(n))}for(var a in this.header)null!=this.header[a]&&t.setRequestHeader(a,this.header[a]);return this._responseType&&(t.responseType=this._responseType),this.emit("request",this),t.send("undefined"!=typeof n?n:null),this},b.get=function(e,t,n){var r=b("GET",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},b.head=function(e,t,n){var r=b("HEAD",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},b.options=function(e,t,n){var r=b("OPTIONS",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},b.del=d,b.delete=d,b.patch=function(e,t,n){var r=b("PATCH",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},b.post=function(e,t,n){var r=b("POST",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},b.put=function(e,t,n){var r=b("PUT",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}},function(e,t,n){function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t,n){var r=void 0;if("string"==typeof e){if(0===e.indexOf("#")&&(e=e.slice(1)),i.getPlayers()[e])return t&&U.default.warn('Player "'+e+'" is already initialised. Options will not be applied.'),n&&i.getPlayers()[e].ready(n),i.getPlayers()[e];r=z.getEl(e)}else r=e;if(!r||!r.nodeName)throw new TypeError("The element or ID supplied is not valid. (videojs)");if(r.player||x.default.players[r.playerId])return r.player||x.default.players[r.playerId];t=t||{},i.hooks("beforesetup").forEach(function(e){var n=e(r,(0,S.default)(t));return!(0,Y.isObject)(n)||Array.isArray(n)?void U.default.error("please return an object in beforesetup hooks"):void(t=(0,S.default)(t,n))});var o=v.default.getComponent("Player"),a=new o(r,t,n);return i.hooks("setup").forEach(function(e){return e(a)}),a}var a,s;t.__esModule=!0;var u=("function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(30)),l=o(u),c=n(28),d=o(c),f=n(1192),p=r(f),h=n(494),m=r(h),g=n(8),v=o(g),y=n(203),b=o(y),_=n(83),w=r(_),C=n(489),x=o(C),E=n(1188),T=o(E),k=n(77),S=o(k),O=n(19),M=r(O),A=n(317),N=o(A),I=n(1197),P=o(I),D=n(1205),R=o(D),j=n(155),L=n(84),B=o(L),F=n(46),U=o(F),H=n(23),z=r(H),q=n(33),W=r(q),V=n(205),G=r(V),Y=n(34),K=n(321),$=o(K),X=n(1185),Q=o(X),J=n(495),Z=o(J),ee=n(154),te=o(ee);if("undefined"==typeof HTMLVideoElement&&z.isReal()&&(d.default.createElement("video"),d.default.createElement("audio"),d.default.createElement("track")),i.hooks_={},i.hooks=function(e,t){return i.hooks_[e]=i.hooks_[e]||[],t&&(i.hooks_[e]=i.hooks_[e].concat(t)),i.hooks_[e]},i.hook=function(e,t){i.hooks(e,t)},i.removeHook=function(e,t){var n=i.hooks(e).indexOf(t);return!(n<=-1)&&(i.hooks_[e]=i.hooks_[e].slice(),i.hooks_[e].splice(n,1),!0)},l.default.VIDEOJS_NO_DYNAMIC_STYLE!==!0&&z.isReal()){var ne=z.$(".vjs-styles-defaults");if(!ne){ne=m.createStyleElement("vjs-styles-defaults");var re=z.$("head");re&&re.insertBefore(ne,re.firstChild),m.setTextContent(ne,"\n      .video-js {\n        width: 300px;\n        height: 150px;\n      }\n\n      .vjs-fluid {\n        padding-top: 56.25%\n      }\n    ")}}p.autoSetupTimeout(1,i),i.VERSION="5.19.2",i.options=x.default.prototype.options_,i.getPlayers=function(){return x.default.players},i.players=x.default.players,i.getComponent=v.default.getComponent,i.registerComponent=function(e,t){te.default.isTech(t)&&U.default.warn("The "+e+" tech was registered as a component. It should instead be registered using videojs.registerTech(name, tech)"),v.default.registerComponent.call(v.default,e,t)},i.getTech=te.default.getTech,i.registerTech=te.default.registerTech,i.browser=W,i.TOUCH_ENABLED=W.TOUCH_ENABLED,i.extend=Q.default,i.mergeOptions=S.default,i.bind=M.bind,i.plugin=T.default,i.addLanguage=function(e,t){var n;return e=(""+e).toLowerCase(),i.options.languages=(0,S.default)(i.options.languages,(n={},n[e]=t,n)),i.options.languages[e]},i.log=U.default,i.createTimeRange=i.createTimeRanges=j.createTimeRanges,i.formatTime=B.default,i.parseUrl=G.parseUrl,i.isCrossOrigin=G.isCrossOrigin,i.EventTarget=b.default,i.on=w.on,i.one=w.one,i.off=w.off,i.trigger=w.trigger,i.xhr=Z.default,i.TextTrack=N.default,i.AudioTrack=P.default,i.VideoTrack=R.default,i.isEl=z.isEl,i.isTextNode=z.isTextNode,i.createEl=z.createEl,i.hasClass=z.hasElClass,i.addClass=z.addElClass,i.removeClass=z.removeElClass,i.toggleClass=z.toggleElClass,i.setAttributes=z.setElAttributes,i.getAttributes=z.getElAttributes,i.emptyEl=z.emptyEl,i.appendContent=z.appendContent,i.insertContent=z.insertContent,i.computedStyle=$.default,a=[],s=function(){return i}.apply(t,a),!(void 0!==s&&(e.exports=s)),t.default=i},function(e,t,n){"use strict";function r(){if(u.length)throw u.shift()}function o(e){var t;t=s.length?s.pop():new i,t.task=e,a(t)}function i(){this.task=null}var a=n(510),s=[],u=[],l=a.makeRequestCallFromTimer(r);e.exports=o,i.prototype.call=function(){try{this.task.call()}catch(e){o.onerror?o.onerror(e):(u.push(e),l())}finally{this.task=null,s[s.length]=this}}},function(e,t){(function(t){"use strict";function n(e){s.length||(a(),u=!0),s[s.length]=e}function r(){for(;l<s.length;){var e=l;if(l+=1,s[e].call(),l>c){for(var t=0,n=s.length-l;t<n;t++)s[t]=s[t+l];s.length-=l,l=0}}s.length=0,l=0,u=!1}function o(e){var t=1,n=new f(e),r=document.createTextNode("");return n.observe(r,{characterData:!0}),function(){t=-t,r.data=t}}function i(e){return function(){function t(){clearTimeout(n),clearInterval(r),e()}var n=setTimeout(t,0),r=setInterval(t,50)}}e.exports=n;var a,s=[],u=!1,l=0,c=1024,d="undefined"!=typeof t?t:self,f=d.MutationObserver||d.WebKitMutationObserver;a="function"==typeof f?o(r):i(r),n.requestFlush=a,n.makeRequestCallFromTimer=i}).call(t,function(){return this}())},function(e,t,n){var r=n(1216),o=n(1217),i=n(322),a=n(1272),s=r(Object,"keys"),u=s?function(e){var t=null==e?void 0:e.constructor;return"function"==typeof t&&t.prototype===e||"function"!=typeof e&&o(e)?a(e):i(e)?s(e):[]}:a;e.exports=u},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(325),a=o(i),s=n(9),u=o(s),l=n(4),c=o(l),d=n(5),f=o(d),p=n(7),h=o(p),m=n(6),g=o(m),v=n(1),y=o(v),b=n(3),_=o(b),w=n(508),C=o(w),x=n(58),E=(r(x),n(513)),T=o(E),k=y.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48"},y.default.createElement("path",{d:"M24 4C12.95 4 4 12.95 4 24c0 11.04 8.95 20 20 20 11.04 0 20-8.96 20-20 0-11.05-8.96-20-20-20zm-4 30L10 24l2.83-2.83L20 28.34l15.17-15.17L38 16 20 34z"})),S=y.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48"},y.default.createElement("path",{d:"M24 4c-11.05 0-20 8.95-20 20s8.95 20 20 20 20-8.95 20-20-8.95-20-20-20zm10 27.17l-2.83 2.83-7.17-7.17-7.17 7.17-2.83-2.83 7.17-7.17-7.17-7.17 2.83-2.83 7.17 7.17 7.17-7.17 2.83 2.83-7.17 7.17 7.17 7.17z"})),O=function(e){function t(){return(0,c.default)(this,t),(0,h.default)(this,(t.__proto__||(0,u.default)(t)).apply(this,arguments))}return(0,g.default)(t,e),(0,f.default)(t,[{key:"componentDidMount",value:function(){var e=this;if("undefined"!=typeof MathJax&&MathJax.Hub.Queue(new Array("Typeset",MathJax.Hub)),_.default.isFunction(C.default)){var t=document.querySelectorAll("video.video-js");_.default.each(t,function(e){return(0,C.default)(e)});var n=document.getElementsByClassName("c-question")[0];if(void 0!==n){var r=(0,a.default)(n.querySelectorAll("img, object"));r.forEach(function(t){t.addEventListener("load",function(){return e.props.sendSize()})});var o=(0,a.default)(n.querySelectorAll("video, audio"));o.forEach(function(t){t.addEventListener("loadstart",function(){return e.props.sendSize()}),t.addEventListener("loadedmetadata",function(){return e.props.sendSize()})})}var i=document.querySelectorAll("video");_.default.each(i,function(t){t.addEventListener("play",function(t){e.props.videoPlay(t.target.id||t.target.src,t.target.currentTime)},!1),t.addEventListener("pause",function(t){e.props.videoPause(t.target.id||t.target.src,t.target.currentTime)},!1)});var s=document.querySelectorAll("audio");_.default.each(s,function(t){t.addEventListener("play",function(t){e.props.audioPlay(t.target.id||t.target.src,t.target.currentTime)},!1),t.addEventListener("pause",function(t){e.props.audioPause(t.target.id||t.target.src,t.target.currentTime)},!1)})}}},{key:"getFeedback",value:function(){var e=this.props.questionResult,t=this.props.question.question_type,n=void 0;if(e)if(e.correct===!0)switch(t){case"survey_question":n=y.default.createElement("div",{className:"c-question-feedback  c-feedback--correct"},y.default.createElement("div",{dangerouslySetInnerHTML:{__html:e.feedback}}));break;default:n=y.default.createElement("div",{className:"c-question-feedback  c-feedback--correct"},k,y.default.createElement("div",{dangerouslySetInnerHTML:{__html:e.feedback}}))}else e.correct!==!1&&null!==e.correct||(n=y.default.createElement("div",{className:"c-question-feedback  c-feedback--incorrect"},S,y.default.createElement("div",{dangerouslySetInnerHTML:{__html:e.feedback}})));return y.default.createElement("div",null,n)}},{key:"disabledCheck",value:function(){var e=this.props.questionResult;return e.correct===!0}},{key:"render",value:function(){return y.default.createElement("div",{className:"c-question"},y.default.createElement("div",{className:"c-question-prompt"},y.default.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.question.material}})),y.default.createElement("div",{className:"c-answers"},y.default.createElement(T.default,{settings:this.props.settings,item:this.props.question,isResult:this.disabledCheck(),selectAnswer:this.props.selectAnswer,response:this.props.response,questionResult:this.props.questionResult,localizedStrings:this.props.localizedStrings,audioRecordStart:this.props.audioRecordStart,audioRecordStop:this.props.audioRecordStop})),this.getFeedback())}}]),t}(y.default.Component);t.default=O},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.UNGRADED=t.INCORRECT=t.CORRECT=void 0;var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),l=r(u),c=n(7),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),g=n(3),v=r(g),y=n(332),b=r(y),_=n(514),w=r(_),C=n(517),x=r(C),E=n(519),T=r(E),k=n(515),S=r(k),O=n(520),M=r(O),A=n(523),N=r(A),I=n(524),P=r(I),D=n(334),R=r(D),j=n(527),L=r(j),B=n(528),F=r(B),U=n(531),H=r(U),z=n(532),q=r(z),W=(t.CORRECT="CORRECT",t.INCORRECT="INCORRECT",t.UNGRADED="UNGRADED",function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,l.default)(t,[{key:"wasSelected",value:function(e){return this.props.response?this.props.response.indexOf(e)>-1:null}},{key:"render",value:function(){var e=this,t=this.props,n=t.item,r=void 0,o=void 0,i=void 0,a=void 0,s=void 0,u=void 0,l=void 0,c=void 0,d=this.props.questionResult,f=this.props.item.question_type,p="",h=null,g=null;if(d&&d.correct===!0)switch(f){case"file_upload_question":g=d.answerIds[0].name,p="c-disable-pointer-n-keys";break;case"audio_upload_question":window&&window.URL&&window.URL.createObjectURL&&(h=window.URL.createObjectURL(d.answerIds[0]),g=h);break;case"movable_words_sandbox":window&&window.URL&&window.URL.createObjectURL&&(l=d.answerIds.filter(function(e){return"string"!=typeof e})[0],h=window.URL.createObjectURL(l),g=h);break;case"movable_object_chain":case"movable_words_sentence":case"fill_the_blank_question":p="c-disable-pointer-n-keys";break;default:g=d.answerIds,p="empty"}switch(n.question_type){case"edx_multiple_choice":case"multiple_choice_question":case"true_false_question":case"survey_question":o=function(r){var o=v.default.partialRight(t.selectAnswer,!0),i=n.id+"_"+r.id;return m.default.createElement(F.default,{isDisabled:t.isResult,key:i,id:i,item:r,isHtml:n.isHtml,name:"answer-radio",checked:e.wasSelected(r.id),selectAnswer:o})},r=v.default.chunk(n.answers,2).map(function(e){return m.default.createElement("ul",{key:n.id+"_row_"+e[0].id,className:"o-grid"},e.map(o))});break;case"edx_dropdown":r=n.answers.map(function(e){return m.default.createElement(L.default,{isDisabled:t.isResult,key:n.id+"_"+e.id,item:e,name:"answer-option"})});break;case"matching_question":r=m.default.createElement(P.default,{isDisabled:t.isResult,item:n,name:"answer-option"});break;case"edx_numerical_input":case"edx_text_input":r=n.answers.map(function(e){return m.default.createElement(q.default,{isDisabled:t.isResult,key:n.id+"_"+e.id,item:e,name:"answer-text"})});break;case"text_input_question":case"text_only_question":case"short_answer_question":r=m.default.createElement("div",{className:"c-text-answer"},m.default.createElement("textarea",{placeholder:"Enter answer here...",onBlur:function(e){return t.selectAnswer(e.target.value,!0)},rows:parseInt(t.item.question_meta.expectedLines,10)||1,disabled:t.isResult,value:g||void 0}));break;case"numerical_input_question":r=m.default.createElement("div",{className:"c-text-answer"},m.default.createElement("textarea",{placeholder:"Enter answer here...",onBlur:function(e){return t.selectAnswer(e.target.value,!0)},rows:parseInt(t.item.question_meta.expectedLines,10)||1,disabled:t.isResult,value:g||void 0}));break;case"multiple_answers_question":c=function(r){var o=v.default.partialRight(t.selectAnswer,!1),i=n.id+"_"+r.id;return m.default.createElement(w.default,{isDisabled:t.isResult,key:i,id:i,item:r,isHtml:n.isHtml,checked:e.wasSelected(r.id),selectAnswer:o})},r=v.default.chunk(n.answers,2).map(function(e){return m.default.createElement("ul",{key:n.id+"_row_"+e[0].id,className:"o-grid"},e.map(c))});break;case"edx_image_mapped_input":r=n.answers.map(function(e){return m.default.createElement(N.default,{key:n.id+"_"+e.id,item:e})});break;case"edx_drag_and_drop":r=n.answers.map(function(e){return m.default.createElement(x.default,{key:n.id+"_"+e.id,item:e})});break;case"file_upload_question":i=v.default.partialRight(t.selectAnswer,!0),r=m.default.createElement(T.default,{localizedStrings:this.props.localizedStrings.fileUpload,selectAnswer:i,isDisabled:t.isResult,savedResponse:g||void 0});break;case"audio_upload_question":a=v.default.partialRight(t.selectAnswer,!0),r=m.default.createElement(b.default,{localizedStrings:this.props.localizedStrings.audioUpload,selectAnswer:a,timeout:this.props.settings.audio_recorder_timeout,audioRecordStart:this.props.audioRecordStart,audioRecordStop:this.props.audioRecordStop,isDisabled:t.isResult,savedResponse:g||void 0});break;case"movable_object_chain":s=v.default.partialRight(t.selectAnswer,!1),r=m.default.createElement(R.default,{answers:n.answers,selectAnswer:s,wordChain:t.response,itemClassName:"c-object",answerBoxClassName:"c-object-answers",noStartBlock:!0});break;case"movable_words_sentence":s=v.default.partialRight(t.selectAnswer,!1),r=m.default.createElement(R.default,{answers:n.answers,selectAnswer:s,wordChain:t.response,itemClassName:"c-word",answerBoxClassName:"c-word-answers"});break;case"movable_words_sandbox":s=v.default.partialRight(t.selectAnswer,!1),u=t.response.filter(function(e){return"string"==typeof e}),r=m.default.createElement(H.default,{answers:n.answers,selectAnswer:s,wordChain:u,localizedStrings:this.props.localizedStrings.audioUpload,timeout:this.props.settings.audio_recorder_timeout,itemClassName:"c-word",answerBoxClassName:"c-word-answers",audioRecordStart:this.props.audioRecordStart,audioRecordStop:this.props.audioRecordStop,savedResponse:g||void 0});break;case"fill_the_blank_question":s=v.default.partialRight(t.selectAnswer,!1),r=m.default.createElement(M.default,{answers:n.answers,sentenceWithBlank:n.question_meta.fillTheBlankSentence,selectAnswer:s,selectedAnswer:t.response,isDisabled:t.isResult});break;case"clix_drag_and_drop":s=v.default.partialRight(t.selectAnswer,!1),r=m.default.createElement(S.default,{answers:n.answers,zones:n.question_meta.zones,targets:n.question_meta.targets,selectAnswer:s,selectedAnswers:t.response});break;default:r=void 0}return m.default.createElement("div",{className:p},r)}}]),t}(m.default.Component));t.default=W},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),l=r(u),c=n(7),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),g=m.default.createElement("div",{className:"c-checkbox__border"},m.default.createElement("span",null)),v=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,l.default)(t,[{key:"selectAnswer",value:function(){this.props.selectAnswer(this.props.item.id)}},{key:"renderMaterial",value:function(e,t){return t?m.default.createElement("div",{className:"c-answer-container__content",dangerouslySetInnerHTML:{__html:e}}):m.default.createElement("div",{className:"c-answer-container__content"},m.default.createElement("p",null,e))}},{key:"render",value:function(){var e=this,t="";return this.props.checked===!0&&(t="is-clicked"),m.default.createElement("li",{className:"c-answer-container "+t},m.default.createElement("label",{htmlFor:this.props.id},m.default.createElement("div",{className:"c-answer-container__radio"},m.default.createElement("div",{className:"c-checkbox"},m.default.createElement("input",{type:"checkbox",checked:this.props.checked,disabled:this.props.isDisabled,name:"answer-checkbox",onChange:function(){e.selectAnswer()},id:this.props.id}),g)),m.default.createElement("div",{className:"c-answer-container__content"},this.renderMaterial(this.props.item.material,this.props.isHtml))))}}]),t}(m.default.Component);t.default=v},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return e.dropBehaviorType.indexOf("%3Adrop%40")>-1}function i(e){var t=["c-drag-zone"];return o(e)||t.push("c-drag-zone--snap"),e.visible&&t.push("show-border"),t.join(" ")}Object.defineProperty(t,"__esModule",{value:!0}),t.ClixDragAndDrop=void 0;var a=n(11),s=r(a),u=n(9),l=r(u),c=n(4),d=r(c),f=n(5),p=r(f),h=n(7),m=r(h),g=n(6),v=r(g),y=n(1),b=r(y),_=n(3),w=r(_),C=n(219),x=r(C),E=n(516),T=r(E),k=n(333),S=r(k),O=n(216),M=r(O),A=b.default.createElement(M.default,null),N=t.ClixDragAndDrop=function(e){function t(){return(0,d.default)(this,t),(0,m.default)(this,(t.__proto__||(0,l.default)(t)).apply(this,arguments))}return(0,v.default)(t,e),(0,p.default)(t,[{key:"selectAnswer",value:function(e,t,n,r){var i=this.props.targets[n],a=this.props.zones[e],u=[];if(o(a)){var l=this["target_"+n].getBoundingClientRect();u.push(r.x-l.left),u.push(r.y-l.top)}else u.push(a.spatialUnit.coordinateValues[0]+a.spatialUnit.width/2),u.push(a.spatialUnit.coordinateValues[1]+a.spatialUnit.height/2);var c=(0,s.default)({id:{id:t.droppableId,zoneIndex:e}},t,{zoneIndex:e,containerId:i.id,coordinateValues:u});this.props.selectAnswer(c),e!==t.previousZoneIndex&&t.previousZoneIndex>-1?this.props.selectAnswer({id:{id:t.droppableId,zoneIndex:t.previousZoneIndex}}):o(a)&&e===t.previousZoneIndex&&this.props.selectAnswer(c)}},{key:"deselectAnswer",value:function(e){e.previousZoneIndex>-1&&this.props.selectAnswer({id:{id:e.droppableId,zoneIndex:e.previousZoneIndex}})}},{key:"renderZones",value:function(e){var t=this;return w.default.map(this.props.zones,function(n,r){var a=!w.default.find(t.props.selectedAnswers,{zoneIndex:r})||o(n);return b.default.createElement(T.default,{key:r,className:i(n),canDrop:a,dropItem:function(n,o){return t.selectAnswer(r,n,e,o)},style:{left:n.spatialUnit.coordinateValues[0],top:n.spatialUnit.coordinateValues[1],height:n.spatialUnit.height,width:n.spatialUnit.width}},n.name?b.default.createElement("div",{className:"c-drag-zone__name"},n.name):null)})}},{key:"renderSelectedAnswers",value:function(){return w.default.map(this.props.selectedAnswers,function(e){return b.default.createElement(S.default,{key:e.droppableId,style:{position:"absolute",left:e.coordinateValues[0]-e.width/2,top:e.coordinateValues[1]-e.height/2},className:"c-droppable-item",text:e.droppableText,zoneIndex:e.zoneIndex,droppableId:e.droppableId})})}},{key:"renderAvailableAnswers",value:function(){var e=this;return w.default.map(this.props.answers,function(t){var n=w.default.filter(e.props.selectedAnswers,{droppableId:t.id}).length;return b.default.createElement(S.default,{key:t.id,className:"c-droppable-item",hide:n>=parseInt(t.reuse,10),showWhileDragging:n<t.reuse-1,droppableId:t.id,text:t.text,zoneIndex:-1})})}},{key:"renderTargets",value:function(){var e=this;return w.default.map(this.props.targets,function(t,n){return b.default.createElement("div",{key:n,className:"c-drag-target",style:{position:"relative"}},b.default.createElement("div",{className:"c-drag-target__background",ref:function(t){return e["target_"+n]=t},dangerouslySetInnerHTML:{__html:t.text}}),e.renderZones(n),e.renderSelectedAnswers())})}},{key:"render",value:function(){var e=this;return b.default.createElement("div",{className:"c-clix-drag-and-drop"},this.renderTargets(),b.default.createElement(T.default,{canDrop:!0,className:"c-droppable-container",dropItem:function(t){return e.deselectAnswer(t)}},this.renderAvailableAnswers()),A)}}]),t}(b.default.Component);t.default=(0,x.default)(N)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return{connectDropTarget:e.dropTarget(),isOver:t.isOver()}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(102),a=n(135),s=n(107),u=r(s),l={drop:function(e,t){var n=document.getElementsByTagName("body")[0];return n.className="",e.dropItem(t.getItem(),t.getClientOffset()),t.getItem()},canDrop:function(e){return e.canDrop}};t.default=(0,i.DropTarget)(u.default.CLIX_DROPPABLE,l,o)(a.Dropzone)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),l=r(u),c=n(7),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),g=n(526),v=r(g),y=n(217),b=r(y),_=n(518),w=r(_),C=m.default.createElement("p",null,"Error: Type undefined"),x=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e="dragDrop"+this.props.item.id,t={position:"relative",display:"block",clear:"both"},n=this.props.item.draggables.map(function(e,t){return m.default.createElement(b.default,{key:"Bank"+t,item:e})});if("key"==this.props.item.type){var r=this.props.item.targets.map(function(e,t){return m.default.createElement(v.default,{key:"dropZone"+t,item:e})});return m.default.createElement("div",null,m.default.createElement("div",{id:e,style:t},m.default.createElement("img",{src:this.props.item.img,alt:"Drag and Drop image"}),r),m.default.createElement("div",null,n))}return"index"==this.props.item.type?m.default.createElement("div",{style:t},m.default.createElement(w.default,{item:this.props.item}),n):C}}]),t}(m.default.Component);t.default=x},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(9),a=o(i),s=n(4),u=o(s),l=n(5),c=o(l),d=n(7),f=o(d),p=n(6),h=o(p),m=n(1),g=o(m),v=n(58),y=(r(v),n(217)),b=(o(y),function(e){function t(){(0,u.default)(this,t);var e=(0,f.default)(this,(t.__proto__||(0,a.default)(t)).call(this));return e.x=0,e.y=0,e}return(0,h.default)(t,e),(0,c.default)(t,[{key:"allowDrop",value:function(e){e.preventDefault(),this.x=event.clientX,this.y=event.clientY}},{key:"drop",value:function(e){e.preventDefault();var t=e.target.getBoundingClientRect(),n=e.dataTransfer.getData("text"),r=document.getElementById(n);e.currentTarget.appendChild(r),document.getElementById(n).setAttribute("style","position:absolute; top:"+(this.y-t.top-Number(r.getAttribute("offsetY")))+"px; left:"+(this.x-t.left-Number(r.getAttribute("offsetX")))+"px; ")}},{key:"render",value:function(){var e=this,t={border:"1px solid #aaaaaa",position:"relative"},n={zIndex:"-1"},r="zone"+this.props.item.id;return g.default.createElement("div",{id:r,onDrop:function(t){e.drop(t)},onDragOver:function(t){e.allowDrop(t)},style:t},g.default.createElement("img",{src:this.props.item.img,alt:"Drag and Drop image",style:n}))}}]),t}(g.default.Component));t.default=b},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),l=r(u),c=n(7),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),g=n(3),v=r(g),y=function(e){function t(){(0,s.default)(this,t);var e=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this));return e.state={uplFile:""},e}return(0,p.default)(t,e),(0,l.default)(t,[{key:"handleChange",value:function(e){v.default.isFunction(this.props.selectAnswer)&&this.props.selectAnswer(e.target.files[0]),void 0!==e.target.files[0]?this.setState({uplFile:e.target.files[0].name}):this.setState({uplFile:""})}},{key:"handleFileNmDisplay",value:function(){return this.props.savedResponse?this.props.savedResponse:this.state.uplFile?this.state.uplFile:this.props.localizedStrings.noFile}},{key:"render",value:function(){var e=this;return m.default.createElement("label",{htmlFor:"file-upload",className:"c-file-upload"},m.default.createElement("span",null,this.props.localizedStrings.chooseFile),m.default.createElement("input",{id:"file-upload",ref:function(t){e.inputField=t},onChange:function(t){return e.handleChange(t)},type:"file",className:"c-file-upload-input",disabled:this.props.isDisabled}),m.default.createElement("input",{type:"text",value:this.handleFileNmDisplay(),readOnly:!0}))}}]),t}(m.default.Component);t.default=y},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.FillTheBlank=void 0;var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),l=r(u),c=n(7),d=r(c),f=n(6),p=r(f),h=n(3),m=r(h),g=n(1),v=r(g),y=n(106),b=(r(y),n(219)),_=r(b),w=n(218),C=n(135),x=n(216),E=r(x),T=n(521),k=r(T),S=v.default.createElement(E.default,null),O=t.FillTheBlank=function(e){function t(){(0,s.default)(this,t);var e=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this));return e.state={answerPositions:{}},e}return(0,p.default)(t,e),(0,l.default)(t,[{key:"dropWordInCloud",value:function(e,t){m.default.includes(this.props.selectedAnswer,e)&&this.props.selectAnswer(e)}},{key:"linkWord",value:function(e){this.props.selectAnswer(e)}},{key:"render",value:function(){var e=this,t={};m.default.each(this.props.answers,function(e){t[e.id]=e});var n=m.default.map(t,function(t){return v.default.createElement(w.FillTheBlankDraggableWord,{key:t.id,id:t.id,material:t.material,hide:m.default.includes(e.props.selectedAnswer,t.id),wordClassName:"c-word c-word--blank"})});return v.default.createElement("div",{dir:"ltr"},v.default.createElement("div",{className:"c-word-box"},v.default.createElement(C.FillTheBlankWordDropZone,{ref:function(t){return e.FillTheBlankWordDropZone=t},dropItem:function(t,n){e.dropWordInCloud(t,n)},className:"c-word-box__contain"},n)),v.default.createElement("div",null,v.default.createElement(k.default,{sentenceWords:this.props.sentenceWithBlank,selectedAnswer:t[m.default.first(this.props.selectedAnswer)],linkWord:function(t){e.linkWord(t)}})),S)}}]),t}(v.default.Component);t.default=(0,_.default)(O)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),l=r(u),c=n(7),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),g=n(3),v=r(g),y=n(218),b=n(135),_=n(162),w=r(_),C=m.default.createElement("div",{className:"c-blank"}),x=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,l.default)(t,[{key:"getWords",value:function(e){var t=this;return e.map(function(e,n){return e.indexOf("interaction-placeholder")>=0?v.default.isEmpty(t.props.selectedAnswer)?m.default.createElement(b.FillTheBlankWordDropZone,{className:"c-blank-drop-zone",key:n,dropItem:function(e){t.props.linkWord(e)}},C):m.default.createElement("div",{className:"c-blank-drop-zone",key:t.props.selectedAnswer.id+"-"+n},m.default.createElement(y.FillTheBlankDraggableWord,{id:t.props.selectedAnswer.id,material:t.props.selectedAnswer.material,wordClassName:"c-word c-word--blank"})):m.default.createElement(w.default,{className:"c-word c-word--fill",key:n,material:e})})}},{key:"render",value:function(){return m.default.createElement("div",{className:"c-blank-answers"},this.getWords(this.props.sentenceWords))}}]),t}(m.default.Component);t.default=x},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),l=r(u),c=n(7),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),g=n(106),v=r(g),y=n(3),b=r(y),_=n(135),w=n(525),C=r(w),x=n(536),E=m.default.createElement("div",null),T=m.default.createElement("div",null),k=m.default.createElement("div",null),S=function(e){function t(){(0,s.default)(this,t);var e=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this));return e.state={draggingIndex:null,wrapIndexes:[0]},e}return(0,p.default)(t,e),(0,l.default)(t,[{key:"componentWillReceiveProps",value:function(e){var t=this;if(!b.default.isEqual(e.wordChain,this.props.wordChain))if(e.wordChain.length>this.props.wordChain.length){var n=v.default.findDOMNode(this.WordDropZone),r=n.getBoundingClientRect();if(r.right-r.left<100){var o=this.props.wordChain.length;this.setState({wrapIndexes:this.state.wrapIndexes.concat(o)})}}else if(e.wordChain.length<this.props.wordChain.length){var i=b.default.dropRightWhile(this.state.wrapIndexes,function(e){return e>=t.state.draggingIndex&&e>0});this.setState({wrapIndexes:i})}}},{key:"componentDidUpdate",value:function(){var e=v.default.findDOMNode(this.WordDropZone),t=e.getBoundingClientRect();if(t.right-t.left<10){var n=this.props.wordChain.length;this.setState({wrapIndexes:this.state.wrapIndexes.concat(n)})}}},{key:"beginDragging",value:function(e){this.setState({dragging:!0,draggingIndex:e})}},{key:"endDragging",value:function(){this.setState({dragging:!1,draggingIndex:null})}},{key:"getLines",value:function(){var e=this;return b.default.map(this.state.wrapIndexes,function(t,n){var r=e.props.wordChain.length;e.state.wrapIndexes[n+1]&&(r=e.state.wrapIndexes[n+1]);var o=b.default.slice(e.props.wordChain,t,r);o=o.map(function(n,r){var o=e.props.answersById[n],i=b.default.at(e.props.answersById,e.props.wordChain.slice(r+t));
+return m.default.createElement(C.default,{wordClassName:e.props.itemClassName,id:n,key:n,isGroupDragging:e.state.dragging&&r+t>=e.state.draggingIndex,draggableWords:i,beginDragging:function(){e.beginDragging(r+t)},endDragging:function(){e.endDragging()},material:o.material})});var i=e.props.answerBoxClassName,a="c-word c-word--starter",s=E,u=m.default.createElement(_.WordDropZone,{className:"c-drop-zone",ref:function(t){e.WordDropZone=t},dropItem:function(t){e.props.linkWord(t)},overClassName:"c-over-drop-zone"});e.state.wrapIndexes.length>1&&(0===n?(s=x.beginWrap,i+=" c-word-answers--split-top",u=T):(s=x.endWrap,a+=" u-hide",i+=" c-word-answers--split-bottom"));var l=m.default.createElement("div",{className:a});return e.props.noStartBlock&&(l=k),m.default.createElement("div",{key:t,className:i},s,l,o,u)})}},{key:"render",value:function(){var e=this.getLines();return m.default.createElement("div",null,e)}}]),t}(m.default.Component);t.default=S},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(9),a=o(i),s=n(4),u=o(s),l=n(5),c=o(l),d=n(7),f=o(d),p=n(6),h=o(p),m=n(1),g=o(m),v=n(58),y=(r(v),function(e){function t(){return(0,u.default)(this,t),(0,f.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,h.default)(t,e),(0,c.default)(t,[{key:"render",value:function(){var e="mappedImg"+this.props.item.id,t="#"+e,n=this.props.item.coordinates.toString();return g.default.createElement("div",null,g.default.createElement("img",{src:this.props.item.material,width:this.props.item.width,height:this.props.item.height,alt:e,useMap:t}),g.default.createElement("map",{name:e},g.default.createElement("area",{shape:"rect",coords:n,onClick:function(){}})))}}]),t}(g.default.Component));t.default=y},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Matching=void 0;var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),l=r(u),c=n(7),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),g=n(36),v=n(3),y=r(v),b=n(58),_=(n(211),m.default.createElement("option",{selected:null,id:"0000"},"[Select Answer]")),w=m.default.createElement("option",{selected:null,id:"0000"}),C=m.default.createElement("option",{selected:null,id:"0000"},"--------------------------------------"),x=t.Matching=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,l.default)(t,[{key:"answerSelected",value:function(e,t){var n=e.target.parentNode.firstChild.textContent,r=e.currentTarget.value,o=e.currentTarget.name,i=e.currentTarget.children[e.currentTarget.selectedIndex].id,a={id:n,selectedAnswer:r,answerNumber:o,item:this.props.item,answerId:i};this.props.answerSelected(a)}},{key:"getResponses",value:function(e){for(var t=[],n=0;n<e.correct.length;n++){for(var r={id:e.correct[n].id,material:"",answers:[]},o=0;o<e.answers.length/e.correct.length;o++)r.material=e.answers[o].matchMaterial,r.answers.push(e.answers[o]);t.push(r)}return t}},{key:"getMaterialNames",value:function(){return y.default.chain(this.props.item.answers).map(function(e,t){return e.matchMaterial}).uniq().value()}},{key:"render",value:function(){var e=this,t=this.getResponses(this.props.item),n=this.getMaterialNames(),r=t.map(function(t,r){var o,i="answer-"+r,a="response-"+t.id,s=e.props.studentAnswers?e.props.studentAnswers[r]:{selectedAnswer:""},u=t.answers.map(function(e,t){return s&&s.selectedAnswer.trim()==e.material.trim()&&(o=s.selectedAnswer.trim()),m.default.createElement("option",{key:"answer-"+e.id,value:e.material.trim(),id:e.id},e.material.trim())}),l=e.props.isDisabled?m.default.createElement("select",{disabled:"true",name:i,onChange:function(t,n){e.answerSelected(t,n)}},w,C):m.default.createElement("select",{name:i,value:o,onChange:function(t,n){e.answerSelected(t,n)}},_,u);return m.default.createElement("div",{key:a},n[r],l)});return m.default.createElement("div",null,r)}}]),t}(m.default.Component);t.default=(0,g.connect)(null,{answerSelected:b.answerSelected},null,{withRefs:!0})(x)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return{connectDragSource:e.dragSource(),isDragging:t.isDragging(),connectDragPreview:e.dragPreview()}}Object.defineProperty(t,"__esModule",{value:!0}),t.DraggableGroupWord=void 0;var i=n(9),a=r(i),s=n(4),u=r(s),l=n(5),c=r(l),d=n(7),f=r(d),p=n(6),h=r(p),m=n(1),g=r(m),v=n(102),y=n(193),b=n(162),_=r(b),w=n(107),C=r(w),x={beginDrag:function(e){return e.beginDragging(),{itemId:e.id,words:e.draggableWords,wordClassName:e.wordClassName}},endDrag:function(e,t){e.endDragging()}},E=t.DraggableGroupWord=function(e){function t(){return(0,u.default)(this,t),(0,f.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,h.default)(t,e),(0,c.default)(t,[{key:"componentDidMount",value:function(){this.props.connectDragPreview((0,y.getEmptyImage)())}},{key:"render",value:function(){var e=this.props,t=e.connectDragSource,n=e.isGroupDragging,r=e.material;return t(g.default.createElement("div",{className:"draggable-group-word",style:{display:"inline-block",opacity:n?0:1,cursor:"move"}},g.default.createElement(_.default,{material:r,className:this.props.wordClassName})))}}]),t}(g.default.Component);t.default=(0,v.DragSource)(C.default.WORD_GROUP,x,o)(E)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(9),a=o(i),s=n(4),u=o(s),l=n(5),c=o(l),d=n(7),f=o(d),p=n(6),h=o(p),m=n(1),g=o(m),v=n(58),y=(r(v),n(217)),b=(o(y),function(e){function t(){return(0,u.default)(this,t),(0,f.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,h.default)(t,e),(0,c.default)(t,[{key:"allowDrop",value:function(e){e.preventDefault()}},{key:"drop",value:function(e){e.preventDefault();var t=e.dataTransfer.getData("text");e.target.appendChild(document.getElementById(t))}},{key:"render",value:function(){var e=this,t={position:"absolute",width:this.props.item.width.toString()+"px",height:this.props.item.height.toString()+"px",top:this.props.item.yPos.toString()+"px",left:this.props.item.xPos.toString()+"px",border:"1px solid #aaaaaa"},n="zone"+this.props.item.id;return g.default.createElement("div",{className:"dropZone",id:n,onDrop:function(t){e.props.item.onePerTarget&&document.getElementById(n).hasChildNodes()||e.drop(t)},onDragOver:function(t){e.props.item.onePerTarget&&document.getElementById(n).hasChildNodes()||e.allowDrop(t)},style:t})}}]),t}(g.default.Component));t.default=b},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(9),a=o(i),s=n(4),u=o(s),l=n(5),c=o(l),d=n(7),f=o(d),p=n(6),h=o(p),m=n(1),g=o(m),v=n(58),y=(r(v),function(e){function t(){return(0,u.default)(this,t),(0,f.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,h.default)(t,e),(0,c.default)(t,[{key:"answerSelected",value:function(){}},{key:"render",value:function(){var e=this,t=this.props.item.material.map(function(t){return g.default.createElement("option",{key:t,value:t,name:e.props.name},t)});return g.default.createElement("div",null,g.default.createElement("select",{onChange:function(){e.answerSelected()}},t))}}]),t}(g.default.Component));t.default=y},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),l=r(u),c=n(7),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),g=m.default.createElement("div",{className:"c-radio-button__border"},m.default.createElement("span",null)),v=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,l.default)(t,[{key:"selectAnswer",value:function(){this.props.selectAnswer(this.props.item.id)}},{key:"checkedStatus",value:function(){var e=null;return this.props.checked===!0?e=!0:this.props.checked===!1?e=!1:!this.props.isDisabled,e}},{key:"renderMaterial",value:function(e,t){return t?m.default.createElement("div",{className:"c-answer-container__content",dangerouslySetInnerHTML:{__html:e}}):m.default.createElement("div",{className:"c-answer-container__content"},m.default.createElement("p",null,e))}},{key:"render",value:function(){var e=this,t=this.props,n="";return this.props.checked===!0&&(n="is-clicked"),m.default.createElement("li",{className:"c-answer-container "+n},m.default.createElement("label",{htmlFor:t.id},m.default.createElement("div",{className:"c-answer-container__radio"},m.default.createElement("div",{className:"c-radio-button"},m.default.createElement("input",{type:"radio",checked:this.checkedStatus(),disabled:t.isDisabled,name:"radio",id:t.id,onChange:function(){e.selectAnswer()}}),g)),m.default.createElement("div",{className:"c-answer-container__content"},this.renderMaterial(t.item.material,t.isHtml))))}}]),t}(m.default.Component);t.default=v},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.RecorderCommands=void 0;var o=n(224),i=r(o),a=n(9),s=r(a),u=n(4),l=r(u),c=n(5),d=r(c),f=n(7),p=r(f),h=n(6),m=r(h),g=n(1),v=r(g),y=n(1120),b=r(y),_=(t.RecorderCommands={start:"start",stop:"stop"},function(e){function t(){(0,l.default)(this,t);var e=(0,p.default)(this,(t.__proto__||(0,s.default)(t)).call(this));return e.state={},e}return(0,m.default)(t,e),(0,d.default)(t,[{key:"gUMPolyfill",value:function(e){var t=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia;return t?new i.default(function(n,r){t.call(navigator,e,n,r)}):i.default.reject(new Error("getUserMedia is not implemented in this browser"))}},{key:"startRecorder",value:function(){var e=this;this.state.recorder||(void 0===navigator.mediaDevices&&(navigator.mediaDevices={}),void 0===navigator.mediaDevices.getUserMedia&&(navigator.mediaDevices.getUserMedia=this.gUMPolyfill),navigator.mediaDevices.getUserMedia({audio:!0}).then(function(t){return e.handleStream(t)}).catch(function(e){console.error(e)}))}},{key:"handleStream",value:function(e){window.AudioContext=window.AudioContext||window.webkitAudioContext;var t=new AudioContext,n=t.createMediaStreamSource(e),r=new b.default(n);this.setState({audioContext:t,recorder:r,stream:e}),r.record()}},{key:"cleanupAudioResources",value:function(){this.state.recorder.clear(),this.state.audioContext.close&&this.state.audioContext.close(),this.state.stream.stop?this.state.stream.stop():this.state.stream.getAudioTracks().forEach(function(e){return e.stop()})}},{key:"stopRecorder",value:function(){var e=this;this.state.recorder&&this.state.recorder.recording&&(this.state.recorder.stop(),this.state.recorder.exportWAV(function(t){e.props.onStop(t,e.state.audioContext.currentTime),e.cleanupAudioResources(),e.setState({recorder:null,audioContext:null,stream:null})}))}},{key:"componentWillUnmount",value:function(){this.state.recorder&&this.state.recorder.recording&&(this.state.recorder.stop(),this.cleanupAudioResources())}},{key:"render",value:function(){return"start"==this.props.command?this.startRecorder():"stop"==this.props.command&&this.stopRecorder(),null}}]),t}(v.default.Component));t.default=_},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),l=r(u),c=n(7),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),g=n(978),v=function(e){function t(){(0,s.default)(this,t);var e=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this));return e.state={minsCt:0,secsCt:0,secsStringCt:"00",prcntCt:0},e}return(0,p.default)(t,e),(0,l.default)(t,[{key:"componentDidMount",value:function(){this.handleTimerCount()}},{key:"componentWillUnmount",value:function(){this.clearTimerCount()}},{key:"tick",value:function(){var e=this;this.setState(function(t){return{prcntCt:Math.round((t.prcntCt+1)/e.props.timeout*100)}}),this.state.secsCt<9?this.setState(function(e){return{secsCt:e.secsCt+1,secsStringCt:"0"+(e.secsCt+1)}}):59===this.state.secsCt?this.setState(function(e){return{minsCt:e.minsCt+1,secsCt:0,secsStringCt:"00"}}):this.setState(function(e){return{secsCt:e.secsCt+1,secsStringCt:e.secsCt+1}})}},{key:"handleTimerCount",value:function(){var e=this;this.interval=setInterval(function(){return e.tick()},1e3)}},{key:"clearTimerCount",value:function(){clearInterval(this.interval),this.setState({minsCt:0,secsCt:0,secsStringCt:"00",prcntCt:0})}},{key:"render",value:function(){return m.default.createElement("div",null,m.default.createElement("div",{className:"c-audio-timer"},m.default.createElement("small",null,this.props.localizedStrings.recordTime)," ",this.state.minsCt,":",this.state.secsStringCt),m.default.createElement(g.Line,{percent:this.state.prcntCt,strokeWidth:"1",strokeColor:"#D0021B"}))}}]),t}(m.default.Component);t.default=v},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),l=r(u),c=n(7),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),g=n(334),v=r(g),y=n(332),b=r(y),_=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){return m.default.createElement("div",null,m.default.createElement(v.default,this.props),m.default.createElement(b.default,{timeout:this.props.timeout,localizedStrings:this.props.localizedStrings,selectAnswer:this.props.selectAnswer,audioRecordStart:this.props.audioRecordStart,audioRecordStop:this.props.audioRecordStop,isDisabled:this.props.isDisabled,savedResponse:this.props.savedResponse}))}}]),t}(m.default.Component);t.default=_},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),l=r(u),c=n(7),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),g=m.default.createElement("input",{type:"text",className:"form-control"}),v=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){return m.default.createElement("div",null,this.props.item.material,g)}}]),t}(m.default.Component);t.default=v},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments[2];if(!e)return{};var r=(0,a.default)({},e,{name:u.default.get(e,"displayName.text",""),items:t,isPublished:n});return r}Object.defineProperty(t,"__esModule",{value:!0}),t.isPublished=t.assessment=t.rawAssessment=t._assessment=t.items=t.assessmentItemIds=t.bankAssessments=t.banks=t.settings=t.assessmentItems=t.allItems=t.id=t.bankId=void 0;var i=n(11),a=r(i);t.transformAssessment=o;var s=n(3),u=r(s),l=n(314),c=t.bankId=function(e,t){return encodeURIComponent(t.params.bankId)},d=t.id=function(e,t){return encodeURIComponent(t.params.id)},f=t.allItems=function(e){return e.items},p=t.assessmentItems=function(e){return e.assessmentItems},h=t.settings=function(e){return e.settings},m=(t.banks=function(e){return e.banks},t.bankAssessments=(0,l.createSelector)(c,function(e){return e.assessments},function(e,t){return t[e]})),g=t.assessmentItemIds=(0,l.createSelector)(p,d,function(e,t){return e[t]}),v=t.items=(0,l.createSelector)(f,c,g,function(e,t,n){return u.default.compact(u.default.at(e[t],n))}),y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return u.default.includes(e.assignedBankIds,t.publishedBankId)},b=t._assessment=function(e,t,n){var r=y(e,n);return o(e,t,r)},_=t.rawAssessment=(0,l.createSelector)(m,d,function(e,t){return u.default.isUndefined(e)?{}:e[t]}),w=t.assessment=(0,l.createSelector)(_,v,h,function(e,t,n){return b(e,t,n)});t.isPublished=(0,l.createSelector)(w,h,y)},,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.endWrap=t.beginWrap=void 0;var o=n(1),i=r(o);t.beginWrap=i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48"},i.default.createElement("path",{d:"M14.83 16.42l9.17 9.17 9.17-9.17 2.83 2.83-12 12-12-12z"})),t.endWrap=i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48"},i.default.createElement("path",{d:"M14.83 16.42l9.17 9.17 9.17-9.17 2.83 2.83-12 12-12-12z"}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=n(1247)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=12e5;setInterval(function(){e((0,r.refreshJwt)(t))},n)};var r=n(220)},,,function(e,t,n){(function(e){"use strict";function t(e,t,n){e[t]||Object[r](e,t,{writable:!0,configurable:!0,value:n})}if(n(815),n(1141),n(587),e._babelPolyfill)throw new Error("only one instance of babel-polyfill is allowed");e._babelPolyfill=!0;var r="defineProperty";t(String.prototype,"padLeft","".padStart),t(String.prototype,"padRight","".padEnd),"pop,reverse,shift,keys,values,entries,indexOf,every,some,forEach,map,filter,find,findIndex,includes,join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill".split(",").forEach(function(e){[][e]&&t(Array,e,Function.call.bind([][e]))})}).call(t,function(){return this}())},function(e,t,n){e.exports={default:n(590),__esModule:!0}},function(e,t,n){e.exports={default:n(591),__esModule:!0}},function(e,t,n){e.exports={default:n(592),__esModule:!0}},function(e,t,n){e.exports={default:n(594),__esModule:!0}},function(e,t,n){e.exports={default:n(600),__esModule:!0}},function(e,t,n){e.exports={default:n(602),__esModule:!0}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(542),i=r(o),a=n(223),s=r(a);t.default=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=(0,s.default)(e);!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&u.return&&u.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if((0,i.default)(Object(t)))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"apathy",author:"jannik siebert (https://github.com/janniks)",base00:"#031A16",base01:"#0B342D",base02:"#184E45",base03:"#2B685E",base04:"#5F9C92",base05:"#81B5AC",base06:"#A7CEC8",base07:"#D2E7E4",base08:"#3E9688",base09:"#3E7996",base0A:"#3E4C96",base0B:"#883E96",base0C:"#963E4C",base0D:"#96883E",base0E:"#4C963E",base0F:"#3E965B"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"ashes",author:"jannik siebert (https://github.com/janniks)",base00:"#1C2023",base01:"#393F45",base02:"#565E65",base03:"#747C84",base04:"#ADB3BA",base05:"#C7CCD1",base06:"#DFE2E5",base07:"#F3F4F5",base08:"#C7AE95",base09:"#C7C795",base0A:"#AEC795",base0B:"#95C7AE",base0C:"#95AEC7",base0D:"#AE95C7",base0E:"#C795AE",base0F:"#C79595"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"atelier dune",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/dune)",base00:"#20201d",base01:"#292824",base02:"#6e6b5e",base03:"#7d7a68",base04:"#999580",base05:"#a6a28c",base06:"#e8e4cf",base07:"#fefbec",base08:"#d73737",base09:"#b65611",base0A:"#cfb017",base0B:"#60ac39",base0C:"#1fad83",base0D:"#6684e1",base0E:"#b854d4",base0F:"#d43552"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"atelier forest",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/forest)",base00:"#1b1918",base01:"#2c2421",base02:"#68615e",base03:"#766e6b",base04:"#9c9491",base05:"#a8a19f",base06:"#e6e2e0",base07:"#f1efee",base08:"#f22c40",base09:"#df5320",base0A:"#d5911a",base0B:"#5ab738",base0C:"#00ad9c",base0D:"#407ee7",base0E:"#6666ea",base0F:"#c33ff3"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"atelier heath",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/heath)",base00:"#1b181b",base01:"#292329",base02:"#695d69",base03:"#776977",base04:"#9e8f9e",base05:"#ab9bab",base06:"#d8cad8",base07:"#f7f3f7",base08:"#ca402b",base09:"#a65926",base0A:"#bb8a35",base0B:"#379a37",base0C:"#159393",base0D:"#516aec",base0E:"#7b59c0",base0F:"#cc33cc"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"atelier lakeside",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/lakeside/)",base00:"#161b1d",base01:"#1f292e",base02:"#516d7b",base03:"#5a7b8c",base04:"#7195a8",base05:"#7ea2b4",base06:"#c1e4f6",base07:"#ebf8ff",base08:"#d22d72",base09:"#935c25",base0A:"#8a8a0f",base0B:"#568c3b",base0C:"#2d8f6f",base0D:"#257fad",base0E:"#5d5db1",base0F:"#b72dd2"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"atelier seaside",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/seaside/)",base00:"#131513",base01:"#242924",base02:"#5e6e5e",base03:"#687d68",base04:"#809980",base05:"#8ca68c",base06:"#cfe8cf",base07:"#f0fff0",base08:"#e6193c",base09:"#87711d",base0A:"#c3c322",base0B:"#29a329",base0C:"#1999b3",base0D:"#3d62f5",base0E:"#ad2bee",base0F:"#e619c3"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"bespin",author:"jan t. sott",base00:"#28211c",base01:"#36312e",base02:"#5e5d5c",base03:"#666666",base04:"#797977",base05:"#8a8986",base06:"#9d9b97",base07:"#baae9e",base08:"#cf6a4c",base09:"#cf7d34",base0A:"#f9ee98",base0B:"#54be0d",base0C:"#afc4db",base0D:"#5ea6ea",base0E:"#9b859d",base0F:"#937121"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"brewer",author:"timothée poisot (http://github.com/tpoisot)",base00:"#0c0d0e",base01:"#2e2f30",base02:"#515253",base03:"#737475",base04:"#959697",base05:"#b7b8b9",base06:"#dadbdc",base07:"#fcfdfe",base08:"#e31a1c",base09:"#e6550d",base0A:"#dca060",base0B:"#31a354",base0C:"#80b1d3",base0D:"#3182bd",base0E:"#756bb1",base0F:"#b15928"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"bright",author:"chris kempson (http://chriskempson.com)",base00:"#000000",base01:"#303030",base02:"#505050",base03:"#b0b0b0",base04:"#d0d0d0",base05:"#e0e0e0",base06:"#f5f5f5",base07:"#ffffff",base08:"#fb0120",base09:"#fc6d24",base0A:"#fda331",base0B:"#a1c659",base0C:"#76c7b7",base0D:"#6fb3d2",base0E:"#d381c3",base0F:"#be643c"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"chalk",author:"chris kempson (http://chriskempson.com)",base00:"#151515",base01:"#202020",base02:"#303030",base03:"#505050",base04:"#b0b0b0",base05:"#d0d0d0",base06:"#e0e0e0",base07:"#f5f5f5",base08:"#fb9fb1",base09:"#eda987",base0A:"#ddb26f",base0B:"#acc267",base0C:"#12cfc0",base0D:"#6fc2ef",base0E:"#e1a3ee",base0F:"#deaf8f"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"codeschool",author:"brettof86",base00:"#232c31",base01:"#1c3657",base02:"#2a343a",base03:"#3f4944",base04:"#84898c",base05:"#9ea7a6",base06:"#a7cfa3",base07:"#b5d8f6",base08:"#2a5491",base09:"#43820d",base0A:"#a03b1e",base0B:"#237986",base0C:"#b02f30",base0D:"#484d79",base0E:"#c59820",base0F:"#c98344"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"colors",author:"mrmrs (http://clrs.cc)",base00:"#111111",base01:"#333333",base02:"#555555",base03:"#777777",base04:"#999999",base05:"#bbbbbb",base06:"#dddddd",base07:"#ffffff",base08:"#ff4136",base09:"#ff851b",base0A:"#ffdc00",base0B:"#2ecc40",base0C:"#7fdbff",base0D:"#0074d9",base0E:"#b10dc9",base0F:"#85144b"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"default",author:"chris kempson (http://chriskempson.com)",base00:"#181818",base01:"#282828",base02:"#383838",base03:"#585858",base04:"#b8b8b8",base05:"#d8d8d8",base06:"#e8e8e8",base07:"#f8f8f8",base08:"#ab4642",base09:"#dc9656",base0A:"#f7ca88",base0B:"#a1b56c",base0C:"#86c1b9",base0D:"#7cafc2",base0E:"#ba8baf",base0F:"#a16946"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"eighties",author:"chris kempson (http://chriskempson.com)",base00:"#2d2d2d",base01:"#393939",base02:"#515151",base03:"#747369",base04:"#a09f93",base05:"#d3d0c8",base06:"#e8e6df",base07:"#f2f0ec",base08:"#f2777a",base09:"#f99157",base0A:"#ffcc66",base0B:"#99cc99",base0C:"#66cccc",base0D:"#6699cc",base0E:"#cc99cc",base0F:"#d27b53"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"embers",author:"jannik siebert (https://github.com/janniks)",base00:"#16130F",base01:"#2C2620",base02:"#433B32",base03:"#5A5047",base04:"#8A8075",base05:"#A39A90",base06:"#BEB6AE",base07:"#DBD6D1",base08:"#826D57",base09:"#828257",base0A:"#6D8257",base0B:"#57826D",base0C:"#576D82",base0D:"#6D5782",base0E:"#82576D",base0F:"#825757"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"flat",author:"chris kempson (http://chriskempson.com)",base00:"#2C3E50",base01:"#34495E",base02:"#7F8C8D",base03:"#95A5A6",base04:"#BDC3C7",base05:"#e0e0e0",base06:"#f5f5f5",base07:"#ECF0F1",base08:"#E74C3C",base09:"#E67E22",base0A:"#F1C40F",base0B:"#2ECC71",base0C:"#1ABC9C",base0D:"#3498DB",base0E:"#9B59B6",base0F:"#be643c"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"google",author:"seth wright (http://sethawright.com)",base00:"#1d1f21",base01:"#282a2e",base02:"#373b41",base03:"#969896",base04:"#b4b7b4",base05:"#c5c8c6",base06:"#e0e0e0",base07:"#ffffff",base08:"#CC342B",base09:"#F96A38",base0A:"#FBA922",base0B:"#198844",base0C:"#3971ED",base0D:"#3971ED",base0E:"#A36AC7",base0F:"#3971ED"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"grayscale",author:"alexandre gavioli (https://github.com/alexx2/)",base00:"#101010",base01:"#252525",base02:"#464646",base03:"#525252",base04:"#ababab",base05:"#b9b9b9",base06:"#e3e3e3",base07:"#f7f7f7",base08:"#7c7c7c",base09:"#999999",base0A:"#a0a0a0",base0B:"#8e8e8e",base0C:"#868686",base0D:"#686868",base0E:"#747474",base0F:"#5e5e5e"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"green screen",author:"chris kempson (http://chriskempson.com)",base00:"#001100",base01:"#003300",base02:"#005500",base03:"#007700",base04:"#009900",base05:"#00bb00",base06:"#00dd00",base07:"#00ff00",base08:"#007700",base09:"#009900",base0A:"#007700",base0B:"#00bb00",base0C:"#005500",base0D:"#009900",base0E:"#00bb00",base0F:"#005500"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"harmonic16",author:"jannik siebert (https://github.com/janniks)",base00:"#0b1c2c",base01:"#223b54",base02:"#405c79",base03:"#627e99",base04:"#aabcce",base05:"#cbd6e2",base06:"#e5ebf1",base07:"#f7f9fb",base08:"#bf8b56",base09:"#bfbf56",base0A:"#8bbf56",base0B:"#56bf8b",base0C:"#568bbf",base0D:"#8b56bf",base0E:"#bf568b",base0F:"#bf5656"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"hopscotch",author:"jan t. sott",base00:"#322931",base01:"#433b42",base02:"#5c545b",base03:"#797379",base04:"#989498",base05:"#b9b5b8",base06:"#d5d3d5",base07:"#ffffff",base08:"#dd464c",base09:"#fd8b19",base0A:"#fdcc59",base0B:"#8fc13e",base0C:"#149b93",base0D:"#1290bf",base0E:"#c85e7c",base0F:"#b33508"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"isotope",author:"jan t. sott",base00:"#000000",base01:"#404040",base02:"#606060",base03:"#808080",base04:"#c0c0c0",base05:"#d0d0d0",base06:"#e0e0e0",base07:"#ffffff",base08:"#ff0000",base09:"#ff9900",base0A:"#ff0099",base0B:"#33ff00",base0C:"#00ffff",base0D:"#0066ff",base0E:"#cc00ff",base0F:"#3300ff"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"marrakesh",author:"alexandre gavioli (http://github.com/alexx2/)",base00:"#201602",base01:"#302e00",base02:"#5f5b17",base03:"#6c6823",base04:"#86813b",base05:"#948e48",base06:"#ccc37a",base07:"#faf0a5",base08:"#c35359",base09:"#b36144",base0A:"#a88339",base0B:"#18974e",base0C:"#75a738",base0D:"#477ca1",base0E:"#8868b3",base0F:"#b3588e"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"mocha",author:"chris kempson (http://chriskempson.com)",base00:"#3B3228",base01:"#534636",base02:"#645240",base03:"#7e705a",base04:"#b8afad",base05:"#d0c8c6",base06:"#e9e1dd",base07:"#f5eeeb",base08:"#cb6077",base09:"#d28b71",base0A:"#f4bc87",base0B:"#beb55b",base0C:"#7bbda4",base0D:"#8ab3b5",base0E:"#a89bb9",base0F:"#bb9584"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"monokai",author:"wimer hazenberg (http://www.monokai.nl)",base00:"#272822",base01:"#383830",base02:"#49483e",base03:"#75715e",base04:"#a59f85",base05:"#f8f8f2",base06:"#f5f4f1",base07:"#f9f8f5",base08:"#f92672",base09:"#fd971f",base0A:"#f4bf75",base0B:"#a6e22e",base0C:"#a1efe4",base0D:"#66d9ef",base0E:"#ae81ff",base0F:"#cc6633"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"ocean",author:"chris kempson (http://chriskempson.com)",base00:"#2b303b",base01:"#343d46",base02:"#4f5b66",base03:"#65737e",base04:"#a7adba",base05:"#c0c5ce",base06:"#dfe1e8",base07:"#eff1f5",base08:"#bf616a",base09:"#d08770",base0A:"#ebcb8b",base0B:"#a3be8c",base0C:"#96b5b4",base0D:"#8fa1b3",base0E:"#b48ead",base0F:"#ab7967"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"paraiso",author:"jan t. sott",base00:"#2f1e2e",base01:"#41323f",base02:"#4f424c",base03:"#776e71",base04:"#8d8687",base05:"#a39e9b",base06:"#b9b6b0",base07:"#e7e9db",base08:"#ef6155",base09:"#f99b15",base0A:"#fec418",base0B:"#48b685",base0C:"#5bc4bf",base0D:"#06b6ef",base0E:"#815ba4",base0F:"#e96ba8"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"pop",author:"chris kempson (http://chriskempson.com)",base00:"#000000",base01:"#202020",base02:"#303030",base03:"#505050",base04:"#b0b0b0",base05:"#d0d0d0",base06:"#e0e0e0",base07:"#ffffff",base08:"#eb008a",base09:"#f29333",base0A:"#f8ca12",base0B:"#37b349",base0C:"#00aabb",base0D:"#0e5a94",base0E:"#b31e8d",base0F:"#7a2d00"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"railscasts",author:"ryan bates (http://railscasts.com)",base00:"#2b2b2b",base01:"#272935",base02:"#3a4055",base03:"#5a647e",base04:"#d4cfc9",base05:"#e6e1dc",base06:"#f4f1ed",base07:"#f9f7f3",base08:"#da4939",base09:"#cc7833",base0A:"#ffc66d",base0B:"#a5c261",base0C:"#519f50",base0D:"#6d9cbe",base0E:"#b6b3eb",base0F:"#bc9458"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"shapeshifter",author:"tyler benziger (http://tybenz.com)",base00:"#000000",base01:"#040404",base02:"#102015",base03:"#343434",base04:"#555555",base05:"#ababab",base06:"#e0e0e0",base07:"#f9f9f9",base08:"#e92f2f",
+base09:"#e09448",base0A:"#dddd13",base0B:"#0ed839",base0C:"#23edda",base0D:"#3b48e3",base0E:"#f996e2",base0F:"#69542d"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"solarized",author:"ethan schoonover (http://ethanschoonover.com/solarized)",base00:"#002b36",base01:"#073642",base02:"#586e75",base03:"#657b83",base04:"#839496",base05:"#93a1a1",base06:"#eee8d5",base07:"#fdf6e3",base08:"#dc322f",base09:"#cb4b16",base0A:"#b58900",base0B:"#859900",base0C:"#2aa198",base0D:"#268bd2",base0E:"#6c71c4",base0F:"#d33682"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"summerfruit",author:"christopher corley (http://cscorley.github.io/)",base00:"#151515",base01:"#202020",base02:"#303030",base03:"#505050",base04:"#B0B0B0",base05:"#D0D0D0",base06:"#E0E0E0",base07:"#FFFFFF",base08:"#FF0086",base09:"#FD8900",base0A:"#ABA800",base0B:"#00C918",base0C:"#1faaaa",base0D:"#3777E6",base0E:"#AD00A1",base0F:"#cc6633"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"threezerotwofour",author:"jan t. sott (http://github.com/idleberg)",base00:"#090300",base01:"#3a3432",base02:"#4a4543",base03:"#5c5855",base04:"#807d7c",base05:"#a5a2a2",base06:"#d6d5d4",base07:"#f7f7f7",base08:"#db2d20",base09:"#e8bbd0",base0A:"#fded02",base0B:"#01a252",base0C:"#b5e4f4",base0D:"#01a0e4",base0E:"#a16a94",base0F:"#cdab53"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"tomorrow",author:"chris kempson (http://chriskempson.com)",base00:"#1d1f21",base01:"#282a2e",base02:"#373b41",base03:"#969896",base04:"#b4b7b4",base05:"#c5c8c6",base06:"#e0e0e0",base07:"#ffffff",base08:"#cc6666",base09:"#de935f",base0A:"#f0c674",base0B:"#b5bd68",base0C:"#8abeb7",base0D:"#81a2be",base0E:"#b294bb",base0F:"#a3685a"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"london tube",author:"jan t. sott",base00:"#231f20",base01:"#1c3f95",base02:"#5a5758",base03:"#737171",base04:"#959ca1",base05:"#d9d8d8",base06:"#e7e7e8",base07:"#ffffff",base08:"#ee2e24",base09:"#f386a1",base0A:"#ffd204",base0B:"#00853e",base0C:"#85cebc",base0D:"#009ddc",base0E:"#98005d",base0F:"#b06110"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"twilight",author:"david hart (http://hart-dev.com)",base00:"#1e1e1e",base01:"#323537",base02:"#464b50",base03:"#5f5a60",base04:"#838184",base05:"#a7a7a7",base06:"#c3c3c3",base07:"#ffffff",base08:"#cf6a4c",base09:"#cda869",base0A:"#f9ee98",base0B:"#8f9d6a",base0C:"#afc4db",base0D:"#7587a6",base0E:"#9b859d",base0F:"#9b703f"},e.exports=t.default},function(e,t,n){function r(e){if(e)return o(e)}function o(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}e.exports=r,r.prototype.on=r.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},r.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=r.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n=this._callbacks["$"+e];if(!n)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var r,o=0;o<n.length;o++)if(r=n[o],r===t||r.fn===t){n.splice(o,1);break}return this},r.prototype.emit=function(e){this._callbacks=this._callbacks||{};var t=[].slice.call(arguments,1),n=this._callbacks["$"+e];if(n){n=n.slice(0);for(var r=0,o=n.length;r<o;++r)n[r].apply(this,t)}return this},r.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},r.prototype.hasListeners=function(e){return!!this.listeners(e).length}},function(e,t,n){n(644),e.exports=n(70).RegExp.escape},function(e,t,n){n(133),n(621),e.exports=n(24).Array.from},function(e,t,n){n(159),n(133),e.exports=n(619)},function(e,t,n){n(159),n(133),e.exports=n(620)},function(e,t,n){var r=n(24),o=r.JSON||(r.JSON={stringify:JSON.stringify});e.exports=function(e){return o.stringify.apply(o,arguments)}},function(e,t,n){n(623),e.exports=n(24).Number.isSafeInteger},function(e,t,n){n(624),e.exports=n(24).Object.assign},function(e,t,n){n(625);var r=n(24).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){n(626);var r=n(24).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){n(627),e.exports=n(24).Object.freeze},function(e,t,n){n(628);var r=n(24).Object;e.exports=function(e){return r.getOwnPropertyNames(e)}},function(e,t,n){n(629),e.exports=n(24).Object.getPrototypeOf},function(e,t,n){n(630),e.exports=n(24).Object.keys},function(e,t,n){n(631),e.exports=n(24).Object.setPrototypeOf},function(e,t,n){n(329),n(133),n(159),n(632),e.exports=n(24).Promise},function(e,t,n){n(633),n(329),n(634),n(635),e.exports=n(24).Symbol},function(e,t,n){n(133),n(159),e.exports=n(236).f("iterator")},function(e,t){e.exports=function(){}},[1496,89,215,618],[1504,59,141],[1512,109,230,165],172,[1528,69],[1533,214,141,158,86,35],[1538,109,89],[1543,47,358,140],[1544,109,230,165,132,327,105],[1551,59,67,109,68],[1567,69,67,87,351],[1574,67,226,35],[1576,233,213],[1581,233],function(e,t,n){var r=n(67),o=n(237);e.exports=n(24).getIterator=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return r(t.call(e))}},function(e,t,n){var r=n(212),o=n(35)("iterator"),i=n(108);e.exports=n(24).isIterable=function(e){var t=Object(e);return void 0!==t[o]||"@@iterator"in t||i.hasOwnProperty(r(t))}},[1598,87,51,132,349,348,215,606,237,350],[1600,604,505,108,89,328],[1602,51,609],[1604,51,613],[1606,51,214],[1608,51,68,59],[1610,69,229,166],[1612,166,352],[1614,132,354,166],[1616,132,109,166],[1619,51,615],[1621,164,47,87,212,51,69,226,345,326,616,358,612,35,356,158,506,24,350],[1626,47,88,68,51,357,229,105,232,158,167,35,236,235,611,607,504,67,89,234,141,214,352,351,59,109,353,165,230,164,86],[1629,235],[1631,235],function(e,t,n){var r=n(18),o=n(246),i=n(20)("species");e.exports=function(e){var t;return o(e)&&(t=e.constructor,"function"!=typeof t||t!==Array&&!o(t.prototype)||(t=void 0),r(t)&&(t=t[i],null===t&&(t=void 0))),void 0===t?Array:t}},function(e,t,n){var r=n(636);e.exports=function(e,t){return new(r(e))(t)}},function(e,t,n){"use strict";var r=n(12),o=n(62),i="number";e.exports=function(e){if("string"!==e&&e!==i&&"default"!==e)throw TypeError("Incorrect hint");return o(r(this),e!=i)}},[1512,94,176,144],[1538,94,45],function(e,t,n){"use strict";var r=n(642),o=n(172),i=n(41);e.exports=function(){for(var e=i(this),t=arguments.length,n=Array(t),a=0,s=r._,u=!1;t>a;)(n[a]=arguments[a++])===s&&(u=!0);return function(){var r,i=this,a=arguments.length,l=0,c=0;if(!u&&!a)return o(e,n,i);if(r=n.slice(),u)for(;t>l;l++)r[l]===s&&(r[l]=arguments[c++]);for(;a>c;)r.push(arguments[c++]);return o(e,r,i)}}},function(e,t,n){e.exports=n(14)},function(e,t){e.exports=function(e,t){var n=t===Object(t)?function(e){return t[e]}:t;return function(t){return String(t).replace(e,n)}}},function(e,t,n){var r=n(2),o=n(643)(/[\\^$*+?.()|[\]{}]/g,"\\$&");r(r.S,"RegExp",{escape:function(e){return o(e)}})},function(e,t,n){var r=n(2);r(r.P,"Array",{copyWithin:n(360)}),n(110)("copyWithin")},function(e,t,n){"use strict";var r=n(2),o=n(60)(4);r(r.P+r.F*!n(54)([].every,!0),"Array",{every:function(e){return o(this,e,arguments[1])}})},function(e,t,n){var r=n(2);r(r.P,"Array",{fill:n(238)}),n(110)("fill")},function(e,t,n){"use strict";var r=n(2),o=n(60)(2);r(r.P+r.F*!n(54)([].filter,!0),"Array",{filter:function(e){return o(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(2),o=n(60)(6),i="findIndex",a=!0;i in[]&&Array(1)[i](function(){a=!1}),r(r.P+r.F*a,"Array",{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(110)(i)},function(e,t,n){"use strict";var r=n(2),o=n(60)(5),i="find",a=!0;i in[]&&Array(1)[i](function(){a=!1}),r(r.P+r.F*a,"Array",{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(110)(i)},function(e,t,n){"use strict";var r=n(2),o=n(60)(0),i=n(54)([].forEach,!0);r(r.P+r.F*!i,"Array",{forEach:function(e){return o(this,e,arguments[1])}})},[1598,71,2,32,369,245,31,239,262,174],function(e,t,n){"use strict";var r=n(2),o=n(168)(!1),i=[].indexOf,a=!!i&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!n(54)(i)),"Array",{indexOf:function(e){return a?i.apply(this,arguments)||0:o(this,e,arguments[1])}})},function(e,t,n){var r=n(2);r(r.S,"Array",{isArray:n(246)})},function(e,t,n){"use strict";var r=n(2),o=n(45),i=[].join;r(r.P+r.F*(n(143)!=Object||!n(54)(i)),"Array",{join:function(e){return i.call(o(this),void 0===e?",":e)}})},function(e,t,n){"use strict";var r=n(2),o=n(45),i=n(80),a=n(31),s=[].lastIndexOf,u=!!s&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(u||!n(54)(s)),"Array",{lastIndexOf:function(e){if(u)return s.apply(this,arguments)||0;var t=o(this),n=a(t.length),r=n-1;for(arguments.length>1&&(r=Math.min(r,i(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in t&&t[r]===e)return r||0;return-1}})},function(e,t,n){"use strict";var r=n(2),o=n(60)(1);r(r.P+r.F*!n(54)([].map,!0),"Array",{map:function(e){return o(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(2),o=n(239);r(r.S+r.F*n(15)(function(){function e(){}return!(Array.of.call(e)instanceof e)}),"Array",{of:function(){for(var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);t>e;)o(n,e,arguments[e++]);return n.length=t,n}})},function(e,t,n){"use strict";var r=n(2),o=n(362);r(r.P+r.F*!n(54)([].reduceRight,!0),"Array",{reduceRight:function(e){return o(this,e,arguments.length,arguments[1],!0)}})},function(e,t,n){"use strict";var r=n(2),o=n(362);r(r.P+r.F*!n(54)([].reduce,!0),"Array",{reduce:function(e){return o(this,e,arguments.length,arguments[1],!1)}})},function(e,t,n){"use strict";var r=n(2),o=n(243),i=n(52),a=n(97),s=n(31),u=[].slice;r(r.P+r.F*n(15)(function(){o&&u.call(o)}),"Array",{slice:function(e,t){var n=s(this.length),r=i(this);if(t=void 0===t?n:t,"Array"==r)return u.call(this,e,t);for(var o=a(e,n),l=a(t,n),c=s(l-o),d=Array(c),f=0;f<c;f++)d[f]="String"==r?this.charAt(o+f):this[o+f];return d}})},function(e,t,n){"use strict";var r=n(2),o=n(60)(3);r(r.P+r.F*!n(54)([].some,!0),"Array",{some:function(e){return o(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(2),o=n(41),i=n(32),a=n(15),s=[].sort,u=[1,2,3];r(r.P+r.F*(a(function(){u.sort(void 0)})||!a(function(){u.sort(null)})||!n(54)(s)),"Array",{sort:function(e){return void 0===e?s.call(i(this)):s.call(i(this),o(e))}})},function(e,t,n){n(96)("Array")},function(e,t,n){var r=n(2);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},function(e,t,n){"use strict";var r=n(2),o=n(15),i=Date.prototype.getTime,a=function(e){return e>9?e:"0"+e};r(r.P+r.F*(o(function(){return"0385-07-25T07:06:39.999Z"!=new Date(-5e13-1).toISOString()})||!o(function(){new Date(NaN).toISOString()})),"Date",{toISOString:function(){if(!isFinite(i.call(this)))throw RangeError("Invalid time value");var e=this,t=e.getUTCFullYear(),n=e.getUTCMilliseconds(),r=t<0?"-":t>9999?"+":"";return r+("00000"+Math.abs(t)).slice(r?-6:-4)+"-"+a(e.getUTCMonth()+1)+"-"+a(e.getUTCDate())+"T"+a(e.getUTCHours())+":"+a(e.getUTCMinutes())+":"+a(e.getUTCSeconds())+"."+(n>99?n:"0"+a(n))+"Z"}})},function(e,t,n){"use strict";var r=n(2),o=n(32),i=n(62);r(r.P+r.F*n(15)(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(e){var t=o(this),n=i(t);return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},function(e,t,n){var r=n(20)("toPrimitive"),o=Date.prototype;r in o||n(42)(o,r,n(638))},function(e,t,n){var r=Date.prototype,o="Invalid Date",i="toString",a=r[i],s=r.getTime;new Date(NaN)+""!=o&&n(43)(r,i,function(){var e=s.call(this);return e===e?a.call(this):o})},function(e,t,n){var r=n(2);r(r.P,"Function",{bind:n(363)})},function(e,t,n){"use strict";var r=n(18),o=n(49),i=n(20)("hasInstance"),a=Function.prototype;i in a||n(26).f(a,i,{value:function(e){if("function"!=typeof this||!r(e))return!1;if(!r(this.prototype))return e instanceof this;for(;e=o(e);)if(this.prototype===e)return!0;return!1}})},function(e,t,n){var r=n(26).f,o=n(79),i=n(37),a=Function.prototype,s=/^\s*function ([^ (]*)/,u="name",l=Object.isExtensible||function(){return!0};u in a||n(25)&&r(a,u,{configurable:!0,get:function(){try{var e=this,t=(""+e).match(s)[1];return i(e,u)||!l(e)||r(e,u,o(5,t)),t}catch(e){return""}}})},function(e,t,n){var r=n(2),o=n(371),i=Math.sqrt,a=Math.acosh;r(r.S+r.F*!(a&&710==Math.floor(a(Number.MAX_VALUE))&&a(1/0)==1/0),"Math",{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?Math.log(e)+Math.LN2:o(e-1+i(e-1)*i(e+1))}})},function(e,t,n){function r(e){return isFinite(e=+e)&&0!=e?e<0?-r(-e):Math.log(e+Math.sqrt(e*e+1)):e}var o=n(2),i=Math.asinh;o(o.S+o.F*!(i&&1/i(0)>0),"Math",{asinh:r})},function(e,t,n){var r=n(2),o=Math.atanh;r(r.S+r.F*!(o&&1/o(-0)<0),"Math",{atanh:function(e){return 0==(e=+e)?e:Math.log((1+e)/(1-e))/2}})},function(e,t,n){var r=n(2),o=n(250);r(r.S,"Math",{cbrt:function(e){return o(e=+e)*Math.pow(Math.abs(e),1/3)}})},function(e,t,n){var r=n(2);r(r.S,"Math",{clz32:function(e){return(e>>>=0)?31-Math.floor(Math.log(e+.5)*Math.LOG2E):32}})},function(e,t,n){var r=n(2),o=Math.exp;r(r.S,"Math",{cosh:function(e){return(o(e=+e)+o(-e))/2}})},function(e,t,n){var r=n(2),o=n(249);r(r.S+r.F*(o!=Math.expm1),"Math",{expm1:o})},function(e,t,n){var r=n(2),o=n(250),i=Math.pow,a=i(2,-52),s=i(2,-23),u=i(2,127)*(2-s),l=i(2,-126),c=function(e){return e+1/a-1/a};r(r.S,"Math",{fround:function(e){var t,n,r=Math.abs(e),i=o(e);return r<l?i*c(r/l/s)*l*s:(t=(1+s/a)*r,n=t-(t-r),n>u||n!=n?i*(1/0):i*n)}})},function(e,t,n){var r=n(2),o=Math.abs;r(r.S,"Math",{hypot:function(e,t){for(var n,r,i=0,a=0,s=arguments.length,u=0;a<s;)n=o(arguments[a++]),u<n?(r=u/n,i=i*r*r+1,u=n):n>0?(r=n/u,i+=r*r):i+=n;return u===1/0?1/0:u*Math.sqrt(i)}})},function(e,t,n){var r=n(2),o=Math.imul;r(r.S+r.F*n(15)(function(){return o(4294967295,5)!=-5||2!=o.length}),"Math",{imul:function(e,t){var n=65535,r=+e,o=+t,i=n&r,a=n&o;return 0|i*a+((n&r>>>16)*a+i*(n&o>>>16)<<16>>>0)}})},function(e,t,n){var r=n(2);r(r.S,"Math",{log10:function(e){return Math.log(e)/Math.LN10}})},function(e,t,n){var r=n(2);r(r.S,"Math",{log1p:n(371)})},function(e,t,n){var r=n(2);r(r.S,"Math",{log2:function(e){return Math.log(e)/Math.LN2}})},function(e,t,n){var r=n(2);r(r.S,"Math",{sign:n(250)})},function(e,t,n){var r=n(2),o=n(249),i=Math.exp;r(r.S+r.F*n(15)(function(){return!Math.sinh(-2e-17)!=-2e-17}),"Math",{sinh:function(e){return Math.abs(e=+e)<1?(o(e)-o(-e))/2:(i(e-1)-i(-e-1))*(Math.E/2)}})},function(e,t,n){var r=n(2),o=n(249),i=Math.exp;r(r.S,"Math",{tanh:function(e){var t=o(e=+e),n=o(-e);return t==1/0?1:n==1/0?-1:(t-n)/(i(e)+i(-e))}})},function(e,t,n){var r=n(2);r(r.S,"Math",{trunc:function(e){return(e>0?Math.floor:Math.ceil)(e)}})},function(e,t,n){"use strict";var r=n(14),o=n(37),i=n(52),a=n(244),s=n(62),u=n(15),l=n(93).f,c=n(48).f,d=n(26).f,f=n(114).trim,p="Number",h=r[p],m=h,g=h.prototype,v=i(n(92)(g))==p,y="trim"in String.prototype,b=function(e){var t=s(e,!1);if("string"==typeof t&&t.length>2){t=y?t.trim():f(t,3);var n,r,o,i=t.charCodeAt(0);if(43===i||45===i){if(n=t.charCodeAt(2),88===n||120===n)return NaN}else if(48===i){switch(t.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+t}for(var a,u=t.slice(2),l=0,c=u.length;l<c;l++)if(a=u.charCodeAt(l),a<48||a>o)return NaN;return parseInt(u,r)}}return+t};if(!h(" 0o1")||!h("0b1")||h("+0x1")){h=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof h&&(v?u(function(){g.valueOf.call(n)}):i(n)!=p)?a(new m(b(t)),n,h):b(t)};for(var _,w=n(25)?l(m):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),C=0;w.length>C;C++)o(m,_=w[C])&&!o(h,_)&&d(h,_,c(m,_));h.prototype=g,g.constructor=h,n(43)(r,p,h)}},function(e,t,n){var r=n(2);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(e,t,n){var r=n(2),o=n(14).isFinite;r(r.S,"Number",{isFinite:function(e){return"number"==typeof e&&o(e)}})},function(e,t,n){var r=n(2);r(r.S,"Number",{isInteger:n(368)})},function(e,t,n){var r=n(2);r(r.S,"Number",{isNaN:function(e){return e!=e}})},[1602,2,368],function(e,t,n){var r=n(2);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(e,t,n){var r=n(2);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(e,t,n){var r=n(2),o=n(378);r(r.S+r.F*(Number.parseFloat!=o),"Number",{parseFloat:o})},function(e,t,n){var r=n(2),o=n(379);r(r.S+r.F*(Number.parseInt!=o),"Number",{parseInt:o})},function(e,t,n){"use strict";var r=n(2),o=n(80),i=n(359),a=n(257),s=1..toFixed,u=Math.floor,l=[0,0,0,0,0,0],c="Number.toFixed: incorrect invocation!",d="0",f=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*l[n],l[n]=r%1e7,r=u(r/1e7)},p=function(e){for(var t=6,n=0;--t>=0;)n+=l[t],l[t]=u(n/e),n=n%e*1e7},h=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==l[e]){var n=String(l[e]);t=""===t?n:t+a.call(d,7-n.length)+n}return t},m=function(e,t,n){return 0===t?n:t%2===1?m(e,t-1,n*e):m(e*e,t/2,n)},g=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t};r(r.P+r.F*(!!s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(15)(function(){s.call({})})),"Number",{toFixed:function(e){var t,n,r,s,u=i(this,c),l=o(e),v="",y=d;if(l<0||l>20)throw RangeError(c);if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(v="-",u=-u),u>1e-21)if(t=g(u*m(2,69,1))-69,n=t<0?u*m(2,-t,1):u/m(2,t,1),n*=4503599627370496,t=52-t,t>0){for(f(0,n),r=l;r>=7;)f(1e7,0),r-=7;for(f(m(10,r,1),0),r=t-1;r>=23;)p(1<<23),r-=23;p(1<<r),f(1,1),p(2),y=h()}else f(0,n),f(1<<-t,0),y=h()+a.call(d,l);return l>0?(s=y.length,y=v+(s<=l?"0."+a.call(d,l-s)+y:y.slice(0,s-l)+"."+y.slice(s-l))):y=v+y,y}})},function(e,t,n){"use strict";var r=n(2),o=n(15),i=n(359),a=1..toPrecision;r(r.P+r.F*(o(function(){return"1"!==a.call(1,void 0)})||!o(function(){a.call({})})),"Number",{toPrecision:function(e){var t=i(this,"Number#toPrecision: incorrect invocation!");return void 0===e?a.call(t):a.call(t,e)}})},[1604,2,372],[1606,2,92],function(e,t,n){var r=n(2);r(r.S+r.F*!n(25),"Object",{defineProperties:n(373)})},[1608,2,25,26],[1610,18,78,61],function(e,t,n){var r=n(45),o=n(48).f;n(61)("getOwnPropertyDescriptor",function(){return function(e,t){return o(r(e),t)}})},[1612,61,374],[1614,32,49,61],function(e,t,n){var r=n(18);n(61)("isExtensible",function(e){return function(t){return!!r(t)&&(!e||e(t))}})},function(e,t,n){var r=n(18);n(61)("isFrozen",function(e){return function(t){return!r(t)||!!e&&e(t)}})},function(e,t,n){var r=n(18);n(61)("isSealed",function(e){return function(t){return!r(t)||!!e&&e(t)}})},function(e,t,n){var r=n(2);r(r.S,"Object",{is:n(380)})},[1616,32,94,61],function(e,t,n){var r=n(18),o=n(78).onFreeze;n(61)("preventExtensions",function(e){return function(t){return e&&r(t)?e(o(t)):t}})},function(e,t,n){var r=n(18),o=n(78).onFreeze;n(61)("seal",function(e){return function(t){return e&&r(t)?e(o(t)):t}})},[1619,2,252],function(e,t,n){"use strict";var r=n(142),o={};o[n(20)("toStringTag")]="z",o+""!="[object z]"&&n(43)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(e,t,n){var r=n(2),o=n(378);r(r.G+r.F*(parseFloat!=o),{parseFloat:o})},function(e,t,n){var r=n(2),o=n(379);r(r.G+r.F*(parseInt!=o),{parseInt:o})},[1621,91,14,71,142,2,18,41,90,111,254,259,251,20,95,113,96,70,174],function(e,t,n){var r=n(2),o=n(41),i=n(12),a=(n(14).Reflect||{}).apply,s=Function.apply;r(r.S+r.F*!n(15)(function(){a(function(){})}),"Reflect",{apply:function(e,t,n){var r=o(e),u=i(n);return a?a(r,t,u):s.call(r,t,u)}})},function(e,t,n){var r=n(2),o=n(92),i=n(41),a=n(12),s=n(18),u=n(15),l=n(363),c=(n(14).Reflect||{}).construct,d=u(function(){function e(){}return!(c(function(){},[],e)instanceof e)}),f=!u(function(){c(function(){})});r(r.S+r.F*(d||f),"Reflect",{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(f&&!d)return c(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(l.apply(e,r))}var u=n.prototype,p=o(s(u)?u:Object.prototype),h=Function.apply.call(e,p,t);return s(h)?h:p}})},function(e,t,n){var r=n(26),o=n(2),i=n(12),a=n(62);o(o.S+o.F*n(15)(function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(e,t,n){i(e),t=a(t,!0),i(n);try{return r.f(e,t,n),!0}catch(e){return!1}}})},function(e,t,n){var r=n(2),o=n(48).f,i=n(12);r(r.S,"Reflect",{deleteProperty:function(e,t){var n=o(i(e),t);return!(n&&!n.configurable)&&delete e[t]}})},function(e,t,n){"use strict";var r=n(2),o=n(12),i=function(e){this._t=o(e),this._i=0;var t,n=this._k=[];for(t in e)n.push(t)};n(247)(i,"Object",function(){var e,t=this,n=t._k;do if(t._i>=n.length)return{value:void 0,done:!0};while(!((e=n[t._i++])in t._t));return{value:e,done:!1}}),r(r.S,"Reflect",{enumerate:function(e){return new i(e)}})},function(e,t,n){var r=n(48),o=n(2),i=n(12);o(o.S,"Reflect",{getOwnPropertyDescriptor:function(e,t){return r.f(i(e),t)}})},function(e,t,n){var r=n(2),o=n(49),i=n(12);r(r.S,"Reflect",{getPrototypeOf:function(e){return o(i(e))}})},function(e,t,n){function r(e,t){var n,s,c=arguments.length<3?e:arguments[2];return l(e)===c?e[t]:(n=o.f(e,t))?a(n,"value")?n.value:void 0!==n.get?n.get.call(c):void 0:u(s=i(e))?r(s,t,c):void 0}var o=n(48),i=n(49),a=n(37),s=n(2),u=n(18),l=n(12);s(s.S,"Reflect",{get:r})},function(e,t,n){var r=n(2);r(r.S,"Reflect",{has:function(e,t){return t in e}})},function(e,t,n){var r=n(2),o=n(12),i=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(e){return o(e),!i||i(e)}})},function(e,t,n){var r=n(2);r(r.S,"Reflect",{ownKeys:n(377)})},function(e,t,n){var r=n(2),o=n(12),i=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(e){o(e);try{return i&&i(e),!0}catch(e){return!1}}})},function(e,t,n){var r=n(2),o=n(252);o&&r(r.S,"Reflect",{setPrototypeOf:function(e,t){o.check(e,t);try{return o.set(e,t),!0}catch(e){return!1}}})},function(e,t,n){function r(e,t,n){var u,f,p=arguments.length<4?e:arguments[3],h=i.f(c(e),t);if(!h){if(d(f=a(e)))return r(f,t,n,p);h=l(0)}return s(h,"value")?!(h.writable===!1||!d(p))&&(u=i.f(p,t)||l(0),u.value=n,o.f(p,t,u),!0):void 0!==h.set&&(h.set.call(p,n),!0)}var o=n(26),i=n(48),a=n(49),s=n(37),u=n(2),l=n(79),c=n(12),d=n(18);u(u.S,"Reflect",{set:r})},function(e,t,n){var r=n(14),o=n(244),i=n(26).f,a=n(93).f,s=n(173),u=n(171),l=r.RegExp,c=l,d=l.prototype,f=/a/g,p=/a/g,h=new l(f)!==f;if(n(25)&&(!h||n(15)(function(){return p[n(20)("match")]=!1,l(f)!=f||l(p)==p||"/a/i"!=l(f,"i")}))){l=function(e,t){var n=this instanceof l,r=s(e),i=void 0===t;return!n&&r&&e.constructor===l&&i?e:o(h?new c(r&&!i?e.source:e,t):c((r=e instanceof l)?e.source:e,r&&i?u.call(e):t),n?this:d,l)};for(var m=(function(e){e in l||i(l,e,{configurable:!0,get:function(){return c[e]},set:function(t){c[e]=t}})}),g=a(c),v=0;g.length>v;)m(g[v++]);d.constructor=l,l.prototype=d,n(43)(r,"RegExp",l)}n(96)("RegExp")},function(e,t,n){n(170)("match",1,function(e,t,n){return[function(n){"use strict";var r=e(this),o=void 0==n?void 0:n[t];return void 0!==o?o.call(n,r):new RegExp(n)[t](String(r))},n]})},function(e,t,n){n(170)("replace",2,function(e,t,n){return[function(r,o){"use strict";var i=e(this),a=void 0==r?void 0:r[t];return void 0!==a?a.call(r,i,o):n.call(String(i),r,o)},n]})},function(e,t,n){n(170)("search",1,function(e,t,n){return[function(n){"use strict";var r=e(this),o=void 0==n?void 0:n[t];return void 0!==o?o.call(n,r):new RegExp(n)[t](String(r))},n]})},function(e,t,n){n(170)("split",2,function(e,t,r){"use strict";var o=n(173),i=r,a=[].push,s="split",u="length",l="lastIndex";if("c"=="abbc"[s](/(b)*/)[1]||4!="test"[s](/(?:)/,-1)[u]||2!="ab"[s](/(?:ab)*/)[u]||4!="."[s](/(.?)(.?)/)[u]||"."[s](/()()/)[u]>1||""[s](/.?/)[u]){var c=void 0===/()??/.exec("")[1];r=function(e,t){var n=String(this);if(void 0===e&&0===t)return[];if(!o(e))return i.call(n,e,t);var r,s,d,f,p,h=[],m=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),g=0,v=void 0===t?4294967295:t>>>0,y=new RegExp(e.source,m+"g");for(c||(r=new RegExp("^"+y.source+"$(?!\\s)",m));(s=y.exec(n))&&(d=s.index+s[0][u],!(d>g&&(h.push(n.slice(g,s.index)),!c&&s[u]>1&&s[0].replace(r,function(){for(p=1;p<arguments[u]-2;p++)void 0===arguments[p]&&(s[p]=void 0)}),s[u]>1&&s.index<n[u]&&a.apply(h,s.slice(1)),f=s[0][u],g=d,h[u]>=v)));)y[l]===s.index&&y[l]++;return g===n[u]?!f&&y.test("")||h.push(""):h.push(n.slice(g)),h[u]>v?h.slice(0,v):h}}else"0"[s](void 0,0)[u]&&(r=function(e,t){return void 0===e&&0===t?[]:i.call(this,e,t)});return[function(n,o){var i=e(this),a=void 0==n?void 0:n[t];return void 0!==a?a.call(n,i,o):r.call(String(i),n,o)},r]})},function(e,t,n){"use strict";n(384);var r=n(12),o=n(171),i=n(25),a="toString",s=/./[a],u=function(e){n(43)(RegExp.prototype,a,e,!0)};n(15)(function(){return"/a/b"!=s.call({source:"a",flags:"b"})})?u(function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!i&&e instanceof RegExp?o.call(e):void 0)}):s.name!=a&&u(function(){return s.call(this)})},function(e,t,n){"use strict";n(44)("anchor",function(e){return function(t){return e(this,"a","name",t)}})},function(e,t,n){"use strict";n(44)("big",function(e){return function(){return e(this,"big","","")}})},function(e,t,n){"use strict";n(44)("blink",function(e){return function(){return e(this,"blink","","")}})},function(e,t,n){"use strict";n(44)("bold",function(e){return function(){return e(this,"b","","")}})},function(e,t,n){"use strict";var r=n(2),o=n(255)(!1);r(r.P,"String",{codePointAt:function(e){return o(this,e)}})},function(e,t,n){"use strict";var r=n(2),o=n(31),i=n(256),a="endsWith",s=""[a];r(r.P+r.F*n(242)(a),"String",{endsWith:function(e){var t=i(this,e,a),n=arguments.length>1?arguments[1]:void 0,r=o(t.length),u=void 0===n?r:Math.min(o(n),r),l=String(e);return s?s.call(t,l,u):t.slice(u-l.length,u)===l}})},function(e,t,n){"use strict";n(44)("fixed",function(e){return function(){return e(this,"tt","","")}})},function(e,t,n){"use strict";n(44)("fontcolor",function(e){return function(t){return e(this,"font","color",t)}})},function(e,t,n){"use strict";n(44)("fontsize",function(e){return function(t){return e(this,"font","size",t)}})},function(e,t,n){var r=n(2),o=n(97),i=String.fromCharCode,a=String.fromCodePoint;r(r.S+r.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(e){for(var t,n=[],r=arguments.length,a=0;r>a;){if(t=+arguments[a++],o(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?i(t):i(((t-=65536)>>10)+55296,t%1024+56320))}return n.join("")}})},function(e,t,n){"use strict";var r=n(2),o=n(256),i="includes";r(r.P+r.F*n(242)(i),"String",{includes:function(e){return!!~o(this,e,i).indexOf(e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";n(44)("italics",function(e){return function(){return e(this,"i","","")}})},[1623,255,248],function(e,t,n){"use strict";n(44)("link",function(e){return function(t){return e(this,"a","href",t)}})},function(e,t,n){var r=n(2),o=n(45),i=n(31);r(r.S,"String",{raw:function(e){for(var t=o(e.raw),n=i(t.length),r=arguments.length,a=[],s=0;n>s;)a.push(String(t[s++])),s<r&&a.push(String(arguments[s]));return a.join("")}})},function(e,t,n){var r=n(2);r(r.P,"String",{repeat:n(257)})},function(e,t,n){"use strict";n(44)("small",function(e){return function(){return e(this,"small","","")}})},function(e,t,n){"use strict";var r=n(2),o=n(31),i=n(256),a="startsWith",s=""[a];r(r.P+r.F*n(242)(a),"String",{startsWith:function(e){var t=i(this,e,a),n=o(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return s?s.call(t,r,n):t.slice(n,n+r.length)===r}})},function(e,t,n){"use strict";n(44)("strike",function(e){return function(){return e(this,"strike","","")}})},function(e,t,n){"use strict";n(44)("sub",function(e){return function(){return e(this,"sub","","")}})},function(e,t,n){"use strict";n(44)("sup",function(e){return function(){return e(this,"sup","","")}})},function(e,t,n){"use strict";n(114)("trim",function(e){return function(){return e(this,3)}})},[1626,14,37,25,2,43,78,15,177,113,98,20,382,261,640,639,246,12,45,62,79,92,374,48,26,94,93,144,176,91,42],function(e,t,n){"use strict";var r=n(2),o=n(178),i=n(260),a=n(12),s=n(97),u=n(31),l=n(18),c=n(14).ArrayBuffer,d=n(254),f=i.ArrayBuffer,p=i.DataView,h=o.ABV&&c.isView,m=f.prototype.slice,g=o.VIEW,v="ArrayBuffer";r(r.G+r.W+r.F*(c!==f),{ArrayBuffer:f}),r(r.S+r.F*!o.CONSTR,v,{isView:function(e){return h&&h(e)||l(e)&&g in e}}),r(r.P+r.U+r.F*n(15)(function(){return!new f(2).slice(1,void 0).byteLength}),v,{slice:function(e,t){if(void 0!==m&&void 0===t)return m.call(a(this),e);for(var n=a(this).byteLength,r=s(e,n),o=s(void 0===t?n:t,n),i=new(d(this,f))(u(o-r)),l=new p(this),c=new p(i),h=0;r<o;)c.setUint8(h++,l.getUint8(r++));return i}}),n(96)(v)},function(e,t,n){var r=n(2);r(r.G+r.W+r.F*!n(178).ABV,{DataView:n(260).DataView})},function(e,t,n){n(73)("Float32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(73)("Float64",8,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(73)("Int16",2,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(73)("Int32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(73)("Int8",1,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(73)("Uint16",2,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(73)("Uint32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(73)("Uint8",1,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(73)("Uint8",1,function(e){return function(t,n,r){return e(this,t,n,r)}},!0)},function(e,t,n){"use strict";var r=n(366);n(169)("WeakSet",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return r.def(this,e,!0)}},r,!1,!0)},function(e,t,n){"use strict";var r=n(2),o=n(168)(!0);r(r.P,"Array",{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(110)("includes")},function(e,t,n){var r=n(2),o=n(251)(),i=n(14).process,a="process"==n(52)(i);r(r.G,{asap:function(e){var t=a&&i.domain;o(t?t.bind(e):e)}})},function(e,t,n){var r=n(2),o=n(52);r(r.S,"Error",{isError:function(e){return"Error"===o(e)}})},function(e,t,n){var r=n(2);r(r.P+r.R,"Map",{toJSON:n(365)("Map")})},function(e,t,n){var r=n(2);r(r.S,"Math",{iaddh:function(e,t,n,r){var o=e>>>0,i=t>>>0,a=n>>>0;return i+(r>>>0)+((o&a|(o|a)&~(o+a>>>0))>>>31)|0}})},function(e,t,n){var r=n(2);r(r.S,"Math",{imulh:function(e,t){var n=65535,r=+e,o=+t,i=r&n,a=o&n,s=r>>16,u=o>>16,l=(s*a>>>0)+(i*a>>>16);return s*u+(l>>16)+((i*u>>>0)+(l&n)>>16)}})},function(e,t,n){var r=n(2);r(r.S,"Math",{isubh:function(e,t,n,r){var o=e>>>0,i=t>>>0,a=n>>>0;return i-(r>>>0)-((~o&a|~(o^a)&o-a>>>0)>>>31)|0}})},function(e,t,n){var r=n(2);r(r.S,"Math",{umulh:function(e,t){var n=65535,r=+e,o=+t,i=r&n,a=o&n,s=r>>>16,u=o>>>16,l=(s*a>>>0)+(i*a>>>16);return s*u+(l>>>16)+((i*u>>>0)+(l&n)>>>16)}})},function(e,t,n){"use strict";var r=n(2),o=n(32),i=n(41),a=n(26);n(25)&&r(r.P+n(175),"Object",{__defineGetter__:function(e,t){a.f(o(this),e,{get:i(t),enumerable:!0,configurable:!0})}})},function(e,t,n){"use strict";var r=n(2),o=n(32),i=n(41),a=n(26);n(25)&&r(r.P+n(175),"Object",{__defineSetter__:function(e,t){a.f(o(this),e,{set:i(t),enumerable:!0,configurable:!0})}})},function(e,t,n){var r=n(2),o=n(376)(!0);r(r.S,"Object",{entries:function(e){return o(e)}})},function(e,t,n){var r=n(2),o=n(377),i=n(45),a=n(48),s=n(239);r(r.S,"Object",{
+getOwnPropertyDescriptors:function(e){for(var t,n=i(e),r=a.f,u=o(n),l={},c=0;u.length>c;)s(l,t=u[c++],r(n,t));return l}})},function(e,t,n){"use strict";var r=n(2),o=n(32),i=n(62),a=n(49),s=n(48).f;n(25)&&r(r.P+n(175),"Object",{__lookupGetter__:function(e){var t,n=o(this),r=i(e,!0);do if(t=s(n,r))return t.get;while(n=a(n))}})},function(e,t,n){"use strict";var r=n(2),o=n(32),i=n(62),a=n(49),s=n(48).f;n(25)&&r(r.P+n(175),"Object",{__lookupSetter__:function(e){var t,n=o(this),r=i(e,!0);do if(t=s(n,r))return t.set;while(n=a(n))}})},function(e,t,n){var r=n(2),o=n(376)(!1);r(r.S,"Object",{values:function(e){return o(e)}})},function(e,t,n){"use strict";var r=n(2),o=n(14),i=n(70),a=n(251)(),s=n(20)("observable"),u=n(41),l=n(12),c=n(90),d=n(95),f=n(42),p=n(111),h=p.RETURN,m=function(e){return null==e?void 0:u(e)},g=function(e){var t=e._c;t&&(e._c=void 0,t())},v=function(e){return void 0===e._o},y=function(e){v(e)||(e._o=void 0,g(e))},b=function(e,t){l(e),this._c=void 0,this._o=e,e=new _(this);try{var n=t(e),r=n;null!=n&&("function"==typeof n.unsubscribe?n=function(){r.unsubscribe()}:u(n),this._c=n)}catch(t){return void e.error(t)}v(this)&&g(this)};b.prototype=d({},{unsubscribe:function(){y(this)}});var _=function(e){this._s=e};_.prototype=d({},{next:function(e){var t=this._s;if(!v(t)){var n=t._o;try{var r=m(n.next);if(r)return r.call(n,e)}catch(e){try{y(t)}finally{throw e}}}},error:function(e){var t=this._s;if(v(t))throw e;var n=t._o;t._o=void 0;try{var r=m(n.error);if(!r)throw e;e=r.call(n,e)}catch(e){try{g(t)}finally{throw e}}return g(t),e},complete:function(e){var t=this._s;if(!v(t)){var n=t._o;t._o=void 0;try{var r=m(n.complete);e=r?r.call(n,e):void 0}catch(e){try{g(t)}finally{throw e}}return g(t),e}}});var w=function(e){c(this,w,"Observable","_f")._f=u(e)};d(w.prototype,{subscribe:function(e){return new b(e,this._f)},forEach:function(e){var t=this;return new(i.Promise||o.Promise)(function(n,r){u(e);var o=t.subscribe({next:function(t){try{return e(t)}catch(e){r(e),o.unsubscribe()}},error:r,complete:n})})}}),d(w,{from:function(e){var t="function"==typeof this?this:w,n=m(l(e)[s]);if(n){var r=l(n.call(e));return r.constructor===t?r:new t(function(e){return r.subscribe(e)})}return new t(function(t){var n=!1;return a(function(){if(!n){try{if(p(e,!1,function(e){if(t.next(e),n)return h})===h)return}catch(e){if(n)throw e;return void t.error(e)}t.complete()}}),function(){n=!0}})},of:function(){for(var e=0,t=arguments.length,n=Array(t);e<t;)n[e]=arguments[e++];return new("function"==typeof this?this:w)(function(e){var t=!1;return a(function(){if(!t){for(var r=0;r<n.length;++r)if(e.next(n[r]),t)return;e.complete()}}),function(){t=!0}})}}),f(w.prototype,s,function(){return this}),r(r.G,{Observable:w}),n(96)("Observable")},function(e,t,n){var r=n(72),o=n(12),i=r.key,a=r.set;r.exp({defineMetadata:function(e,t,n,r){a(e,t,o(n),i(r))}})},function(e,t,n){var r=n(72),o=n(12),i=r.key,a=r.map,s=r.store;r.exp({deleteMetadata:function(e,t){var n=arguments.length<3?void 0:i(arguments[2]),r=a(o(t),n,!1);if(void 0===r||!r.delete(e))return!1;if(r.size)return!0;var u=s.get(t);return u.delete(n),!!u.size||s.delete(t)}})},function(e,t,n){var r=n(385),o=n(361),i=n(72),a=n(12),s=n(49),u=i.keys,l=i.key,c=function(e,t){var n=u(e,t),i=s(e);if(null===i)return n;var a=c(i,t);return a.length?n.length?o(new r(n.concat(a))):a:n};i.exp({getMetadataKeys:function(e){return c(a(e),arguments.length<2?void 0:l(arguments[1]))}})},function(e,t,n){var r=n(72),o=n(12),i=n(49),a=r.has,s=r.get,u=r.key,l=function(e,t,n){var r=a(e,t,n);if(r)return s(e,t,n);var o=i(t);return null!==o?l(e,o,n):void 0};r.exp({getMetadata:function(e,t){return l(e,o(t),arguments.length<3?void 0:u(arguments[2]))}})},function(e,t,n){var r=n(72),o=n(12),i=r.keys,a=r.key;r.exp({getOwnMetadataKeys:function(e){return i(o(e),arguments.length<2?void 0:a(arguments[1]))}})},function(e,t,n){var r=n(72),o=n(12),i=r.get,a=r.key;r.exp({getOwnMetadata:function(e,t){return i(e,o(t),arguments.length<3?void 0:a(arguments[2]))}})},function(e,t,n){var r=n(72),o=n(12),i=n(49),a=r.has,s=r.key,u=function(e,t,n){var r=a(e,t,n);if(r)return!0;var o=i(t);return null!==o&&u(e,o,n)};r.exp({hasMetadata:function(e,t){return u(e,o(t),arguments.length<3?void 0:s(arguments[2]))}})},function(e,t,n){var r=n(72),o=n(12),i=r.has,a=r.key;r.exp({hasOwnMetadata:function(e,t){return i(e,o(t),arguments.length<3?void 0:a(arguments[2]))}})},function(e,t,n){var r=n(72),o=n(12),i=n(41),a=r.key,s=r.set;r.exp({metadata:function(e,t){return function(n,r){s(e,t,(void 0!==r?o:i)(n),a(r))}}})},function(e,t,n){var r=n(2);r(r.P+r.R,"Set",{toJSON:n(365)("Set")})},function(e,t,n){"use strict";var r=n(2),o=n(255)(!0);r(r.P,"String",{at:function(e){return o(this,e)}})},function(e,t,n){"use strict";var r=n(2),o=n(53),i=n(31),a=n(173),s=n(171),u=RegExp.prototype,l=function(e,t){this._r=e,this._s=t};n(247)(l,"RegExp String",function(){var e=this._r.exec(this._s);return{value:e,done:null===e}}),r(r.P,"String",{matchAll:function(e){if(o(this),!a(e))throw TypeError(e+" is not a regexp!");var t=String(this),n="flags"in u?String(e.flags):s.call(e),r=new RegExp(e.source,~n.indexOf("g")?n:"g"+n);return r.lastIndex=i(e.lastIndex),new l(r,t)}})},function(e,t,n){"use strict";var r=n(2),o=n(381);r(r.P,"String",{padEnd:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0,!1)}})},function(e,t,n){"use strict";var r=n(2),o=n(381);r(r.P,"String",{padStart:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0,!0)}})},function(e,t,n){"use strict";n(114)("trimLeft",function(e){return function(){return e(this,1)}},"trimStart")},function(e,t,n){"use strict";n(114)("trimRight",function(e){return function(){return e(this,2)}},"trimEnd")},[1629,261],[1631,261],function(e,t,n){var r=n(2);r(r.S,"System",{global:n(14)})},function(e,t,n){for(var r=n(263),o=n(43),i=n(14),a=n(42),s=n(112),u=n(20),l=u("iterator"),c=u("toStringTag"),d=s.Array,f=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],p=0;p<5;p++){var h,m=f[p],g=i[m],v=g&&g.prototype;if(v){v[l]||a(v,l,d),v[c]||a(v,c,m),s[m]=d;for(h in r)v[h]||o(v,h,r[h],!0)}}},function(e,t,n){var r=n(2),o=n(259);r(r.G+r.B,{setImmediate:o.set,clearImmediate:o.clear})},function(e,t,n){var r=n(14),o=n(2),i=n(172),a=n(641),s=r.navigator,u=!!s&&/MSIE .\./.test(s.userAgent),l=function(e){return u?function(t,n){return e(i(a,[].slice.call(arguments,2),"function"==typeof t?t:Function(t)),n)}:e};o(o.G+o.B+o.F*u,{setTimeout:l(r.setTimeout),setInterval:l(r.setInterval)})},function(e,t,n){n(764),n(703),n(705),n(704),n(707),n(709),n(714),n(708),n(706),n(716),n(715),n(711),n(712),n(710),n(702),n(713),n(717),n(718),n(670),n(672),n(671),n(720),n(719),n(690),n(700),n(701),n(691),n(692),n(693),n(694),n(695),n(696),n(697),n(698),n(699),n(673),n(674),n(675),n(676),n(677),n(678),n(679),n(680),n(681),n(682),n(683),n(684),n(685),n(686),n(687),n(688),n(689),n(751),n(756),n(763),n(754),n(746),n(747),n(752),n(757),n(759),n(742),n(743),n(744),n(745),n(748),n(749),n(750),n(753),n(755),n(758),n(760),n(761),n(762),n(665),n(667),n(666),n(669),n(668),n(654),n(652),n(658),n(655),n(661),n(663),n(651),n(657),n(648),n(662),n(646),n(660),n(659),n(653),n(656),n(645),n(647),n(650),n(649),n(664),n(263),n(736),n(741),n(384),n(737),n(738),n(739),n(740),n(721),n(383),n(385),n(386),n(776),n(765),n(766),n(771),n(774),n(775),n(769),n(772),n(770),n(773),n(767),n(768),n(722),n(723),n(724),n(725),n(726),n(729),n(727),n(728),n(730),n(731),n(732),n(733),n(735),n(734),n(777),n(803),n(806),n(805),n(807),n(808),n(804),n(809),n(810),n(788),n(791),n(787),n(785),n(786),n(789),n(790),n(780),n(802),n(811),n(779),n(781),n(783),n(782),n(784),n(793),n(794),n(796),n(795),n(798),n(797),n(799),n(800),n(801),n(778),n(792),n(814),n(813),n(812),e.exports=n(70)},function(e,t,n){"use strict";function r(e){return e}function o(e,t,n){function o(e,t){var n=y.hasOwnProperty(t)?y[t]:null;w.hasOwnProperty(t)&&u("OVERRIDE_BASE"===n,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",t),e&&u("DEFINE_MANY"===n||"DEFINE_MANY_MERGED"===n,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",t)}function i(e,n){if(n){u("function"!=typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),u(!t(n),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var r=e.prototype,i=r.__reactAutoBindPairs;n.hasOwnProperty(l)&&b.mixins(e,n.mixins);for(var a in n)if(n.hasOwnProperty(a)&&a!==l){var s=n[a],c=r.hasOwnProperty(a);if(o(c,a),b.hasOwnProperty(a))b[a](e,s);else{var d=y.hasOwnProperty(a),h="function"==typeof s,m=h&&!d&&!c&&n.autobind!==!1;if(m)i.push(a,s),r[a]=s;else if(c){var g=y[a];u(d&&("DEFINE_MANY_MERGED"===g||"DEFINE_MANY"===g),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",g,a),"DEFINE_MANY_MERGED"===g?r[a]=f(r[a],s):"DEFINE_MANY"===g&&(r[a]=p(r[a],s))}else r[a]=s}}}else;}function c(e,t){if(t)for(var n in t){var r=t[n];if(t.hasOwnProperty(n)){var o=n in b;u(!o,'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',n);var i=n in e;u(!i,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n),e[n]=r}}}function d(e,t){u(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.");for(var n in t)t.hasOwnProperty(n)&&(u(void 0===e[n],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",n),e[n]=t[n]);return e}function f(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);if(null==n)return r;if(null==r)return n;var o={};return d(o,n),d(o,r),o}}function p(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function h(e,t){var n=t.bind(e);return n}function m(e){for(var t=e.__reactAutoBindPairs,n=0;n<t.length;n+=2){var r=t[n],o=t[n+1];e[r]=h(e,o)}}function g(e){var t=r(function(e,r,o){this.__reactAutoBindPairs.length&&m(this),this.props=e,this.context=r,this.refs=s,this.updater=o||n,this.state=null;var i=this.getInitialState?this.getInitialState():null;u("object"==typeof i&&!Array.isArray(i),"%s.getInitialState(): must return an object or null",t.displayName||"ReactCompositeComponent"),this.state=i});t.prototype=new C,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],v.forEach(i.bind(null,t)),i(t,_),i(t,e),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),u(t.prototype.render,"createClass(...): Class specification must implement a `render` method.");for(var o in y)t.prototype[o]||(t.prototype[o]=null);return t}var v=[],y={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},b={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)i(e,t[n])},childContextTypes:function(e,t){e.childContextTypes=a({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=a({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=f(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){e.propTypes=a({},e.propTypes,t)},statics:function(e,t){c(e,t)},autobind:function(){}},_={componentDidMount:function(){this.__isMounted=!0},componentWillUnmount:function(){this.__isMounted=!1}},w={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e,t)},isMounted:function(){return!!this.__isMounted}},C=function(){};return a(C.prototype,e.prototype,w),g}var i,a=n(21),s=n(115),u=n(10),l="mixins";i={},e.exports=o},function(e,t,n){"use strict";var r=function(e){return e&&e.__esModule?e:{default:e}},o=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")};t.__esModule=!0;var i=n(264),a=r(i),s=function(){function e(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];o(this,e),Array.isArray(n[0])&&1===n.length&&(n=n[0]);for(var i=0;i<n.length;i++)if(!a.default(n[i]))throw new Error("Expected a disposable");this.disposables=n,this.isDisposed=!1}return e.prototype.add=function(e){this.isDisposed?e.dispose():this.disposables.push(e)},e.prototype.remove=function(e){if(this.isDisposed)return!1;var t=this.disposables.indexOf(e);return t!==-1&&(this.disposables.splice(t,1),e.dispose(),!0)},e.prototype.dispose=function(){if(!this.isDisposed){for(var e=this.disposables.length,t=new Array(e),n=0;n<e;n++)t[n]=this.disposables[n];this.isDisposed=!0,this.disposables=[],this.length=0;for(var n=0;n<e;n++)t[n].dispose()}},e}();t.default=s,e.exports=t.default},function(e,t){"use strict";var n=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.__esModule=!0;var o=function(){},i=function(){function e(t){n(this,e),this.isDisposed=!1,this.action=t||o}return e.prototype.dispose=function(){this.isDisposed||(this.action.call(null),this.isDisposed=!0)},r(e,null,[{key:"empty",enumerable:!0,value:{dispose:o}}]),e}();t.default=i,e.exports=t.default},function(e,t,n){"use strict";var r=function(e){return e&&e.__esModule?e:{default:e}},o=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")};t.__esModule=!0;var i=n(264),a=r(i),s=function(){function e(){o(this,e),this.isDisposed=!1,this.current=null}return e.prototype.getDisposable=function(){return this.current},e.prototype.setDisposable=function(){var e=void 0===arguments[0]?null:arguments[0];if(null!=e&&!a.default(e))throw new Error("Expected either an empty value or a valid disposable");var t=this.isDisposed,n=void 0;t||(n=this.current,this.current=e),n&&n.dispose(),t&&e&&e.dispose()},e.prototype.dispose=function(){if(!this.isDisposed){this.isDisposed=!0;var e=this.current;this.current=null,e&&e.dispose()}},e}();t.default=s,e.exports=t.default},function(e,t,n){"use strict";var r=function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0;var o=n(264),i=r(o);t.isDisposable=i.default;var a=n(818),s=r(a);t.Disposable=s.default;var u=n(817),l=r(u);t.CompositeDisposable=l.default;var c=n(819),d=r(c);t.SerialDisposable=d.default},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(312),u=o(s),l=n(829),c=o(l),d=n(179),f=r(d),p=n(822),h=o(p),m=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};i(this,e);var r=(0,u.default)(c.default);this.context=n,this.store=r,this.monitor=new h.default(r),this.registry=this.monitor.registry,this.backend=t(this),r.subscribe(this.handleRefCountChange.bind(this))}return a(e,[{key:"handleRefCountChange",value:function(){var e=this.store.getState().refCount>0;e&&!this.isSetUp?(this.backend.setup(),this.isSetUp=!0):!e&&this.isSetUp&&(this.backend.teardown(),this.isSetUp=!1)}},{key:"getContext",value:function(){return this.context}},{key:"getMonitor",value:function(){return this.monitor}},{key:"getBackend",value:function(){return this.backend}},{key:"getRegistry",value:function(){return this.registry}},{key:"getActions",value:function(){function e(e){return function(){for(var r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];var a=e.apply(t,o);"undefined"!=typeof a&&n(a)}}var t=this,n=this.store.dispatch;return Object.keys(f).filter(function(e){return"function"==typeof f[e]}).reduce(function(t,n){var r=f[n];return t[n]=e(r),t},{})}}]),e}();t.default=m},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(17),s=r(a),u=n(39),l=r(u),c=n(389),d=r(c),f=n(825),p=r(f),h=n(388),m=n(387),g=function(){function e(t){o(this,e),this.store=t,this.registry=new p.default(t)}return i(e,[{key:"subscribeToStateChange",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.handlerIds;(0,s.default)("function"==typeof e,"listener must be a function."),(0,s.default)("undefined"==typeof r||(0,l.default)(r),"handlerIds, when specified, must be an array of strings.");var o=this.store.getState().stateId,i=function(){var n=t.store.getState(),i=n.stateId;try{var a=i===o||i===o+1&&!(0,m.areDirty)(n.dirtyHandlerIds,r);a||e()}finally{o=i}};return this.store.subscribe(i)}},{key:"subscribeToOffsetChange",value:function(e){var t=this;(0,s.default)("function"==typeof e,"listener must be a function.");var n=this.store.getState().dragOffset,r=function(){var r=t.store.getState().dragOffset;r!==n&&(n=r,e())};return this.store.subscribe(r)}},{key:"canDragSource",value:function(e){var t=this.registry.getSource(e);return(0,s.default)(t,"Expected to find a valid source."),!this.isDragging()&&t.canDrag(this,e)}},{key:"canDropOnTarget",value:function(e){var t=this.registry.getTarget(e);if((0,s.default)(t,"Expected to find a valid target."),!this.isDragging()||this.didDrop())return!1;var n=this.registry.getTargetType(e),r=this.getItemType();return(0,d.default)(n,r)&&t.canDrop(this,e)}},{key:"isDragging",value:function(){return Boolean(this.getItemType())}},{key:"isDraggingSource",value:function(e){var t=this.registry.getSource(e,!0);if((0,s.default)(t,"Expected to find a valid source."),!this.isDragging()||!this.isSourcePublic())return!1;var n=this.registry.getSourceType(e),r=this.getItemType();return n===r&&t.isDragging(this,e)}},{key:"isOverTarget",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{shallow:!1},n=t.shallow;if(!this.isDragging())return!1;var r=this.registry.getTargetType(e),o=this.getItemType();if(!(0,d.default)(r,o))return!1;var i=this.getTargetIds();if(!i.length)return!1;var a=i.indexOf(e);return n?a===i.length-1:a>-1}},{key:"getItemType",value:function(){return this.store.getState().dragOperation.itemType}},{key:"getItem",value:function(){return this.store.getState().dragOperation.item}},{key:"getSourceId",value:function(){return this.store.getState().dragOperation.sourceId}},{key:"getTargetIds",value:function(){return this.store.getState().dragOperation.targetIds}},{key:"getDropResult",value:function(){return this.store.getState().dragOperation.dropResult}},{key:"didDrop",value:function(){return this.store.getState().dragOperation.didDrop}},{key:"isSourcePublic",value:function(){return this.store.getState().dragOperation.isSourcePublic}},{key:"getInitialClientOffset",value:function(){return this.store.getState().dragOffset.initialClientOffset}},{key:"getInitialSourceClientOffset",value:function(){return this.store.getState().dragOffset.initialSourceClientOffset}},{key:"getClientOffset",value:function(){return this.store.getState().dragOffset.clientOffset}},{key:"getSourceClientOffset",value:function(){return(0,h.getSourceClientOffset)(this.store.getState().dragOffset)}},{key:"getDifferenceFromInitialOffset",value:function(){return(0,h.getDifferenceFromInitialOffset)(this.store.getState().dragOffset)}}]),e}();t.default=g},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(){n(this,e)}return r(e,[{key:"canDrag",value:function(){return!0}},{key:"isDragging",value:function(e,t){return t===e.getSourceId()}},{key:"endDrag",value:function(){}}]),e}();t.default=o},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(){n(this,e)}return r(e,[{key:"canDrop",value:function(){return!0}},{key:"hover",value:function(){}},{key:"drop",value:function(){}}]),e}();t.default=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e){(0,p.default)("function"==typeof e.canDrag,"Expected canDrag to be a function."),(0,p.default)("function"==typeof e.beginDrag,"Expected beginDrag to be a function."),(0,p.default)("function"==typeof e.endDrag,"Expected endDrag to be a function.")}function a(e){(0,p.default)("function"==typeof e.canDrop,"Expected canDrop to be a function."),(0,p.default)("function"==typeof e.hover,"Expected hover to be a function."),(0,p.default)("function"==typeof e.drop,"Expected beginDrag to be a function.")}function s(e,t){return t&&(0,m.default)(e)?void e.forEach(function(e){return s(e,!1)}):void(0,p.default)("string"==typeof e||"symbol"===("undefined"==typeof e?"undefined":d(e)),t?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}function u(e){var t=(0,_.default)().toString();switch(e){case w.SOURCE:return"S"+t;case w.TARGET:return"T"+t;default:(0,p.default)(!1,"Unknown role: "+e)}}function l(e){switch(e[0]){case"S":return w.SOURCE;case"T":return w.TARGET;default:(0,p.default)(!1,"Cannot parse handler ID: "+e)}}Object.defineProperty(t,"__esModule",{value:!0});var c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f=n(17),p=r(f),h=n(39),m=r(h),g=n(509),v=r(g),y=n(180),b=n(832),_=r(b),w={SOURCE:"SOURCE",TARGET:"TARGET"},C=function(){function e(t){o(this,e),this.store=t,this.types={},this.handlers={},this.pinnedSourceId=null,this.pinnedSource=null}return c(e,[{key:"addSource",value:function(e,t){s(e),i(t);var n=this.addHandler(w.SOURCE,e,t);return this.store.dispatch((0,y.addSource)(n)),n}},{key:"addTarget",value:function(e,t){s(e,!0),a(t);var n=this.addHandler(w.TARGET,e,t);return this.store.dispatch((0,y.addTarget)(n)),n}},{key:"addHandler",value:function(e,t,n){var r=u(e);return this.types[r]=t,this.handlers[r]=n,r}},{key:"containsHandler",value:function(e){var t=this;return Object.keys(this.handlers).some(function(n){return t.handlers[n]===e})}},{key:"getSource",value:function(e,t){(0,p.default)(this.isSourceId(e),"Expected a valid source ID.");var n=t&&e===this.pinnedSourceId,r=n?this.pinnedSource:this.handlers[e];return r}},{key:"getTarget",value:function(e){return(0,p.default)(this.isTargetId(e),"Expected a valid target ID."),this.handlers[e]}},{key:"getSourceType",value:function(e){return(0,p.default)(this.isSourceId(e),"Expected a valid source ID."),this.types[e]}},{key:"getTargetType",value:function(e){return(0,p.default)(this.isTargetId(e),"Expected a valid target ID."),this.types[e]}},{key:"isSourceId",value:function(e){var t=l(e);return t===w.SOURCE}},{key:"isTargetId",value:function(e){var t=l(e);return t===w.TARGET}},{key:"removeSource",value:function(e){var t=this;(0,p.default)(this.getSource(e),"Expected an existing source."),this.store.dispatch((0,y.removeSource)(e)),(0,v.default)(function(){delete t.handlers[e],delete t.types[e]})}},{key:"removeTarget",value:function(e){var t=this;(0,p.default)(this.getTarget(e),"Expected an existing target."),this.store.dispatch((0,y.removeTarget)(e)),(0,v.default)(function(){delete t.handlers[e],delete t.types[e]})}},{key:"pinSource",value:function(e){var t=this.getSource(e);(0,p.default)(t,"Expected an existing source."),this.pinnedSourceId=e,this.pinnedSource=t}},{key:"unpinSource",value:function(){(0,p.default)(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}}]),e}();t.default=C},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e){return new l(e)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=i;var s=n(420),u=r(s),l=function(){function e(t){o(this,e),this.actions=t.getActions()}return a(e,[{key:"setup",value:function(){this.didCallSetup=!0}},{key:"teardown",value:function(){this.didCallTeardown=!0}},{key:"connectDragSource",value:function(){return u.default}},{key:"connectDragPreview",value:function(){return u.default}},{key:"connectDropTarget",value:function(){return u.default}},{key:"simulateBeginDrag",value:function(e,t){this.actions.beginDrag(e,t)}},{key:"simulatePublishDragSource",value:function(){this.actions.publishDragSource()}},{key:"simulateHover",value:function(e,t){this.actions.hover(e,t)}},{key:"simulateDrop",value:function(){this.actions.drop()}},{key:"simulateEndDrag",value:function(){this.actions.endDrag()}}]),e}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(821);Object.defineProperty(t,"DragDropManager",{enumerable:!0,get:function(){return r(o).default}});var i=n(823);Object.defineProperty(t,"DragSource",{enumerable:!0,get:function(){return r(i).default}});var a=n(824);Object.defineProperty(t,"DropTarget",{enumerable:!0,get:function(){return r(a).default}});var s=n(826);Object.defineProperty(t,"createTestBackend",{enumerable:!0,get:function(){return r(s).default}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments[1];switch(t.type){case u.BEGIN_DRAG:return i({},e,{itemType:t.itemType,item:t.item,sourceId:t.sourceId,isSourcePublic:t.isSourcePublic,dropResult:null,didDrop:!1});case u.PUBLISH_DRAG_SOURCE:return i({},e,{isSourcePublic:!0});case u.HOVER:return i({},e,{targetIds:t.targetIds});case l.REMOVE_TARGET:return e.targetIds.indexOf(t.targetId)===-1?e:i({},e,{targetIds:(0,s.default)(e.targetIds,t.targetId)});case u.DROP:return i({},e,{dropResult:t.dropResult,didDrop:!0,targetIds:[]});case u.END_DRAG:return i({},e,{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=o;var a=n(422),s=r(a),u=n(179),l=n(180),c={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];return{dirtyHandlerIds:(0,f.default)(e.dirtyHandlerIds,t,e.dragOperation),dragOffset:(0,a.default)(e.dragOffset,t),refCount:(0,c.default)(e.refCount,t),dragOperation:(0,u.default)(e.dragOperation,t),stateId:(0,h.default)(e.stateId)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(388),a=r(i),s=n(828),u=r(s),l=n(830),c=r(l),d=n(387),f=r(d),p=n(831),h=r(p)},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments[1];switch(t.type){case o.ADD_SOURCE:case o.ADD_TARGET:return e+1;case o.REMOVE_SOURCE:case o.REMOVE_TARGET:return e-1;default:return e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=n(180)},function(e,t){"use strict";function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return e+1}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n},function(e,t){"use strict";function n(){return r++}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;var r=0},function(e,t,n){(function(t,r){/*!
+	 * @overview es6-promise - a tiny implementation of Promises/A+.
+	 * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
+	 * @license   Licensed under MIT license
+	 *            See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
+	 * @version   4.1.0
+	 */
+!function(t,n){e.exports=n()}(this,function(){"use strict";function e(e){return"function"==typeof e||"object"==typeof e&&null!==e}function o(e){return"function"==typeof e}function i(e){$=e}function a(e){X=e}function s(){return function(){return t.nextTick(f)}}function u(){return"undefined"!=typeof K?function(){K(f)}:d()}function l(){var e=0,t=new Z(f),n=document.createTextNode("");return t.observe(n,{characterData:!0}),function(){n.data=e=++e%2}}function c(){var e=new MessageChannel;return e.port1.onmessage=f,function(){return e.port2.postMessage(0)}}function d(){var e=setTimeout;return function(){return e(f,1)}}function f(){for(var e=0;e<Y;e+=2){var t=ne[e],n=ne[e+1];t(n),ne[e]=void 0,ne[e+1]=void 0}Y=0}function p(){try{var e=n(1213);return K=e.runOnLoop||e.runOnContext,u()}catch(e){return d()}}function h(e,t){var n=arguments,r=this,o=new this.constructor(g);void 0===o[oe]&&R(o);var i=r._state;return i?!function(){var e=n[i-1];X(function(){return I(i,o,e,r._result)})}():O(r,o,e,t),o}function m(e){var t=this;if(e&&"object"==typeof e&&e.constructor===t)return e;var n=new t(g);return E(n,e),n}function g(){}function v(){return new TypeError("You cannot resolve a promise with itself")}function y(){return new TypeError("A promises callback cannot return that same promise.")}function b(e){try{return e.then}catch(e){return ue.error=e,ue}}function _(e,t,n,r){try{e.call(t,n,r)}catch(e){return e}}function w(e,t,n){X(function(e){var r=!1,o=_(n,t,function(n){r||(r=!0,t!==n?E(e,n):k(e,n))},function(t){r||(r=!0,S(e,t))},"Settle: "+(e._label||" unknown promise"));!r&&o&&(r=!0,S(e,o))},e)}function C(e,t){t._state===ae?k(e,t._result):t._state===se?S(e,t._result):O(t,void 0,function(t){return E(e,t)},function(t){return S(e,t)})}function x(e,t,n){t.constructor===e.constructor&&n===h&&t.constructor.resolve===m?C(e,t):n===ue?(S(e,ue.error),ue.error=null):void 0===n?k(e,t):o(n)?w(e,t,n):k(e,t)}function E(t,n){t===n?S(t,v()):e(n)?x(t,n,b(n)):k(t,n)}function T(e){e._onerror&&e._onerror(e._result),M(e)}function k(e,t){e._state===ie&&(e._result=t,e._state=ae,0!==e._subscribers.length&&X(M,e))}function S(e,t){e._state===ie&&(e._state=se,e._result=t,X(T,e))}function O(e,t,n,r){var o=e._subscribers,i=o.length;e._onerror=null,o[i]=t,o[i+ae]=n,o[i+se]=r,0===i&&e._state&&X(M,e)}function M(e){var t=e._subscribers,n=e._state;if(0!==t.length){for(var r=void 0,o=void 0,i=e._result,a=0;a<t.length;a+=3)r=t[a],o=t[a+n],r?I(n,r,o,i):o(i);e._subscribers.length=0}}function A(){this.error=null}function N(e,t){try{return e(t)}catch(e){return le.error=e,le}}function I(e,t,n,r){var i=o(n),a=void 0,s=void 0,u=void 0,l=void 0;if(i){if(a=N(n,r),a===le?(l=!0,s=a.error,a.error=null):u=!0,t===a)return void S(t,y())}else a=r,u=!0;t._state!==ie||(i&&u?E(t,a):l?S(t,s):e===ae?k(t,a):e===se&&S(t,a))}function P(e,t){try{t(function(t){E(e,t)},function(t){S(e,t)})}catch(t){S(e,t)}}function D(){return ce++}function R(e){e[oe]=ce++,e._state=void 0,e._result=void 0,e._subscribers=[]}function j(e,t){this._instanceConstructor=e,this.promise=new e(g),this.promise[oe]||R(this.promise),G(t)?(this._input=t,this.length=t.length,this._remaining=t.length,this._result=new Array(this.length),0===this.length?k(this.promise,this._result):(this.length=this.length||0,this._enumerate(),0===this._remaining&&k(this.promise,this._result))):S(this.promise,L())}function L(){return new Error("Array Methods must be provided an Array")}function B(e){return new j(this,e).promise}function F(e){var t=this;return new t(G(e)?function(n,r){for(var o=e.length,i=0;i<o;i++)t.resolve(e[i]).then(n,r)}:function(e,t){return t(new TypeError("You must pass an array to race."))})}function U(e){var t=this,n=new t(g);return S(n,e),n}function H(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function z(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function q(e){this[oe]=D(),this._result=this._state=void 0,this._subscribers=[],g!==e&&("function"!=typeof e&&H(),this instanceof q?P(this,e):z())}function W(){var e=void 0;if("undefined"!=typeof r)e=r;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;if(t){var n=null;try{n=Object.prototype.toString.call(t.resolve())}catch(e){}if("[object Promise]"===n&&!t.cast)return}e.Promise=q}var V=void 0;V=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)};var G=V,Y=0,K=void 0,$=void 0,X=function(e,t){ne[Y]=e,ne[Y+1]=t,Y+=2,2===Y&&($?$(f):re())},Q="undefined"!=typeof window?window:void 0,J=Q||{},Z=J.MutationObserver||J.WebKitMutationObserver,ee="undefined"==typeof self&&"undefined"!=typeof t&&"[object process]"==={}.toString.call(t),te="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,ne=new Array(1e3),re=void 0;re=ee?s():Z?l():te?c():void 0===Q?p():d();var oe=Math.random().toString(36).substring(16),ie=void 0,ae=1,se=2,ue=new A,le=new A,ce=0;return j.prototype._enumerate=function(){for(var e=this.length,t=this._input,n=0;this._state===ie&&n<e;n++)this._eachEntry(t[n],n)},j.prototype._eachEntry=function(e,t){var n=this._instanceConstructor,r=n.resolve;if(r===m){var o=b(e);if(o===h&&e._state!==ie)this._settledAt(e._state,t,e._result);else if("function"!=typeof o)this._remaining--,this._result[t]=e;else if(n===q){var i=new n(g);x(i,e,o),this._willSettleAt(i,t)}else this._willSettleAt(new n(function(t){return t(e)}),t)}else this._willSettleAt(r(e),t)},j.prototype._settledAt=function(e,t,n){var r=this.promise;r._state===ie&&(this._remaining--,e===se?S(r,n):this._result[t]=n),0===this._remaining&&k(r,this._result)},j.prototype._willSettleAt=function(e,t){var n=this;O(e,void 0,function(e){return n._settledAt(ae,t,e)},function(e){return n._settledAt(se,t,e)})},q.all=B,q.race=F,q.resolve=m,q.reject=U,q._setScheduler=i,q._setAsap=a,q._asap=X,q.prototype={constructor:q,then:h,catch:function(e){return this.then(null,e)}},q.polyfill=W,q.Promise=q,q})}).call(t,n(160),function(){return this}())},,,function(e,t){"use strict";function n(e){return e.replace(r,function(e,t){return t.toUpperCase()})}var r=/-(.)/g;e.exports=n},function(e,t,n){"use strict";function r(e){return o(e.replace(i,"ms-"))}var o=n(836),i=/^-ms-/;e.exports=r},function(e,t,n){"use strict";function r(e,t){return!(!e||!t)&&(e===t||!o(e)&&(o(t)?r(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}var o=n(846);e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.length;if(Array.isArray(e)||"object"!=typeof e&&"function"!=typeof e?a(!1):void 0,"number"!=typeof t?a(!1):void 0,0===t||t-1 in e?void 0:a(!1),"function"==typeof e.callee?a(!1):void 0,e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var n=Array(t),r=0;r<t;r++)n[r]=e[r];return n}function o(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"length"in e&&!("setInterval"in e)&&"number"!=typeof e.nodeType&&(Array.isArray(e)||"callee"in e||"item"in e)}function i(e){return o(e)?Array.isArray(e)?e.slice():r(e):[e]}var a=n(10);e.exports=i},function(e,t,n){"use strict";function r(e){var t=e.match(c);return t&&t[1].toLowerCase()}function o(e,t){var n=l;l?void 0:u(!1);var o=r(e),i=o&&s(o);if(i){n.innerHTML=i[1]+e+i[2];for(var c=i[0];c--;)n=n.lastChild}else n.innerHTML=e;var d=n.getElementsByTagName("script");d.length&&(t?void 0:u(!1),a(d).forEach(t));for(var f=Array.from(n.childNodes);n.lastChild;)n.removeChild(n.lastChild);return f}var i=n(38),a=n(839),s=n(841),u=n(10),l=i.canUseDOM?document.createElement("div"):null,c=/^\s*<(\w+)/;e.exports=o},function(e,t,n){"use strict";function r(e){return a?void 0:i(!1),f.hasOwnProperty(e)||(e="*"),s.hasOwnProperty(e)||("*"===e?a.innerHTML="<link />":a.innerHTML="<"+e+"></"+e+">",s[e]=!a.firstChild),s[e]?f[e]:null}var o=n(38),i=n(10),a=o.canUseDOM?document.createElement("div"):null,s={},u=[1,'<select multiple="true">',"</select>"],l=[1,"<table>","</table>"],c=[3,"<table><tbody><tr>","</tr></tbody></table>"],d=[1,'<svg xmlns="http://www.w3.org/2000/svg">',"</svg>"],f={"*":[1,"?<div>","</div>"],area:[1,"<map>","</map>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],legend:[1,"<fieldset>","</fieldset>"],param:[1,"<object>","</object>"],tr:[2,"<table><tbody>","</tbody></table>"],optgroup:u,option:u,caption:l,colgroup:l,tbody:l,tfoot:l,thead:l,td:c,th:c},p=["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"];p.forEach(function(e){f[e]=d,s[e]=!0}),e.exports=r},function(e,t){"use strict";function n(e){return e.Window&&e instanceof e.Window?{x:e.pageXOffset||e.document.documentElement.scrollLeft,y:e.pageYOffset||e.document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}}e.exports=n},function(e,t){"use strict";function n(e){return e.replace(r,"-$1").toLowerCase()}var r=/([A-Z])/g;e.exports=n},function(e,t,n){"use strict";function r(e){return o(e).replace(i,"-ms-")}var o=n(843),i=/^ms-/;e.exports=r},function(e,t){"use strict";function n(e){var t=e?e.ownerDocument||e:document,n=t.defaultView||window;return!(!e||!("function"==typeof n.Node?e instanceof n.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}e.exports=n},function(e,t,n){"use strict";function r(e){return o(e)&&3==e.nodeType}var o=n(845);e.exports=r},function(e,t){"use strict";var n=function(e){var t;for(t in e)if(e.hasOwnProperty(t))return t;return null};e.exports=n},function(e,t){"use strict";function n(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}}e.exports=n},function(e,t,n){function r(e,t,n){if(!s(t))throw new TypeError("iterator must be a function");arguments.length<3&&(n=this),"[object Array]"===u.call(e)?o(e,t,n):"string"==typeof e?i(e,t,n):a(e,t,n)}function o(e,t,n){for(var r=0,o=e.length;r<o;r++)l.call(e,r)&&t.call(n,e[r],r,e)}function i(e,t,n){for(var r=0,o=e.length;r<o;r++)t.call(n,e.charAt(r),r,e)}function a(e,t,n){for(var r in e)l.call(e,r)&&t.call(n,e[r],r,e)}var s=n(397);e.exports=r;var u=Object.prototype.toString,l=Object.prototype.hasOwnProperty},function(e,t){"use strict";t.__esModule=!0;t.loopAsync=function(e,t,n){var r=0,o=!1,i=!1,a=!1,s=void 0,u=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return o=!0,i?void(s=t):void n.apply(void 0,t)},l=function l(){if(!o&&(a=!0,!i)){for(i=!0;!o&&r<e&&a;)a=!1,t(r++,l,u);return i=!1,o?void n.apply(void 0,s):void(r>=e&&a&&(o=!0,n()))}};l()}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.replaceLocation=t.pushLocation=t.startListener=t.getCurrentLocation=t.go=t.getUserConfirmation=void 0;var o=n(266);Object.defineProperty(t,"getUserConfirmation",{enumerable:!0,get:function(){return o.getUserConfirmation}}),Object.defineProperty(t,"go",{enumerable:!0,get:function(){return o.go}});var i=n(85),a=(r(i),n(116)),s=n(182),u=n(393),l=n(81),c="hashchange",d=function(){var e=window.location.href,t=e.indexOf("#");return t===-1?"":e.substring(t+1)},f=function(e){return window.location.hash=e},p=function(e){var t=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,t>=0?t:0)+"#"+e)},h=t.getCurrentLocation=function(e,t){var n=e.decodePath(d()),r=(0,l.getQueryStringValueFromPath)(n,t),o=void 0;r&&(n=(0,l.stripQueryStringValueFromPath)(n,t),o=(0,u.readState)(r));var i=(0,l.parsePath)(n);return i.state=o,(0,a.createLocation)(i,void 0,r)},m=void 0,g=(t.startListener=function(e,t,n){var r=function(){var r=d(),o=t.encodePath(r);if(r!==o)p(o);else{var i=h(t,n);if(m&&i.key&&m.key===i.key)return;m=i,e(i)}},o=d(),i=t.encodePath(o);return o!==i&&p(i),(0,s.addEventListener)(window,c,r),function(){return(0,s.removeEventListener)(window,c,r)}},function(e,t,n,r){var o=e.state,i=e.key,a=t.encodePath((0,l.createPath)(e));void 0!==o&&(a=(0,l.addQueryStringValueToPath)(a,n,i),(0,u.saveState)(i,o)),m=e,r(a)});t.pushLocation=function(e,t,n){return g(e,t,n,function(e){d()!==e&&f(e)})},t.replaceLocation=function(e,t,n){return g(e,t,n,function(e){d()!==e&&p(e)})}},function(e,t,n){"use strict";t.__esModule=!0,t.replaceLocation=t.pushLocation=t.getCurrentLocation=t.go=t.getUserConfirmation=void 0;var r=n(266);Object.defineProperty(t,"getUserConfirmation",{enumerable:!0,get:function(){return r.getUserConfirmation}}),Object.defineProperty(t,"go",{enumerable:!0,get:function(){return r.go}});var o=n(116),i=n(81);t.getCurrentLocation=function(){return(0,o.createLocation)(window.location)},t.pushLocation=function(e){return window.location.href=(0,i.createPath)(e),!1},t.replaceLocation=function(e){return window.location.replace((0,i.createPath)(e)),!1}},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(17),s=o(a),u=n(267),l=n(266),c=r(l),d=n(852),f=r(d),p=n(182),h=n(268),m=o(h),g=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};u.canUseDOM?void 0:(0,s.default)(!1);var t=e.forceRefresh||!(0,p.supportsHistory)(),n=t?f:c,r=n.getUserConfirmation,o=n.getCurrentLocation,a=n.pushLocation,l=n.replaceLocation,d=n.go,h=(0,m.default)(i({getUserConfirmation:r},e,{getCurrentLocation:o,pushLocation:a,replaceLocation:l,go:d})),g=0,v=void 0,y=function(e,t){1===++g&&(v=c.startListener(h.transitionTo));var n=t?h.listenBefore(e):h.listen(e);return function(){n(),0===--g&&v()}},b=function(e){return y(e,!0)},_=function(e){return y(e,!1)};return i({},h,{listenBefore:b,listen:_})};t.default=g},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(85),s=(o(a),n(17)),u=o(s),l=n(267),c=n(182),d=n(851),f=r(d),p=n(268),h=o(p),m="_k",g=function(e){return"/"===e.charAt(0)?e:"/"+e},v={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!"+e},decodePath:function(e){return"!"===e.charAt(0)?e.substring(1):e}},noslash:{encodePath:function(e){return"/"===e.charAt(0)?e.substring(1):e},decodePath:g},slash:{encodePath:g,decodePath:g}},y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};l.canUseDOM?void 0:(0,u.default)(!1);var t=e.queryKey,n=e.hashType;"string"!=typeof t&&(t=m),null==n&&(n="slash"),n in v||(n="slash");var r=v[n],o=f.getUserConfirmation,a=function(){return f.getCurrentLocation(r,t)},s=function(e){return f.pushLocation(e,r,t)},d=function(e){return f.replaceLocation(e,r,t)},p=(0,h.default)(i({getUserConfirmation:o},e,{getCurrentLocation:a,pushLocation:s,replaceLocation:d,go:f.go})),g=0,y=void 0,b=function(e,n){1===++g&&(y=f.startListener(p.transitionTo,r,t));var o=n?p.listenBefore(e):p.listen(e);return function(){o(),0===--g&&y()}},_=function(e){return b(e,!0)},w=function(e){return b(e,!1)},C=((0,c.supportsGoWithoutReloadUsingHash)(),function(e){p.go(e)}),x=function(e){return"#"+r.encodePath(p.createHref(e))};return i({},p,{listenBefore:_,listen:w,go:C,createHref:x})};t.default=y},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(85),a=(r(i),n(17)),s=r(a),u=n(116),l=n(81),c=n(268),d=r(c),f=n(181),p=function(e){return e.filter(function(e){return e.state}).reduce(function(e,t){return e[t.key]=t.state,e},{})},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Array.isArray(e)?e={entries:e}:"string"==typeof e&&(e={entries:[e]});var t=function(){var e=m[g],t=(0,l.createPath)(e),n=void 0,r=void 0;e.key&&(n=e.key,r=b(n));var i=(0,l.parsePath)(t);return(0,u.createLocation)(o({},i,{state:r}),void 0,n)},n=function(e){var t=g+e;return t>=0&&t<m.length},r=function(e){if(e&&n(e)){g+=e;var r=t();c.transitionTo(o({},r,{action:f.POP}))}},i=function(e){g+=1,g<m.length&&m.splice(g),m.push(e),y(e.key,e.state)},a=function(e){m[g]=e,y(e.key,e.state)},c=(0,d.default)(o({},e,{getCurrentLocation:t,pushLocation:i,replaceLocation:a,go:r})),h=e,m=h.entries,g=h.current;"string"==typeof m?m=[m]:Array.isArray(m)||(m=["/"]),m=m.map(function(e){return(0,u.createLocation)(e)}),null==g?g=m.length-1:g>=0&&g<m.length?void 0:(0,s.default)(!1);var v=p(m),y=function(e,t){return v[e]=t},b=function(e){return v[e]};return o({},c,{canGo:n})};t.default=h},function(e,t,n){"use strict";e.exports=n(857)},function(e,t){(function(t){"use strict";var n=function(){function e(e,t){for(var n in t){var r=t[n];r.configurable=!0,r.value&&(r.writable=!0)}Object.defineProperties(e,t)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},o=!!(t===t.window&&t.URL&&t.Blob&&t.Worker),i=function(){function e(n,i){var a=this;if(r(this,e),o){var s=n.toString().trim().match(/^function\s*\w*\s*\([\w\s,]*\)\s*{([\w\W]*?)}$/)[1],u=t.URL.createObjectURL(new t.Blob([s],{type:"text/javascript"}));return new t.Worker(u)}this.self=i,this.self.postMessage=function(e){setTimeout(function(){a.onmessage({data:e})},0)},setTimeout(function(){n.call(i)},0)}return n(e,{postMessage:{value:function(e){var t=this;setTimeout(function(){t.self.onmessage({data:e})},0)}}}),e}();e.exports=i}).call(t,function(){return this}())},function(e,t){function n(e){return!!e&&"object"==typeof e}function r(e,t){var n=null==e?void 0:e[t];return a(n)?n:void 0}function o(e){return i(e)&&f.call(e)==s}function i(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function a(e){return null!=e&&(o(e)?p.test(c.call(e)):n(e)&&u.test(e))}var s="[object Function]",u=/^\[object .+?Constructor\]$/,l=Object.prototype,c=Function.prototype.toString,d=l.hasOwnProperty,f=l.toString,p=RegExp("^"+c.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=r},function(e,t){(function(t){function n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function r(e,t){for(var n=-1,r=e?e.length:0;++n<r&&t(e[n],n,e)!==!1;);return e}function o(e,t){var n=e?e.length:0;return!!n&&a(e,t,0)>-1}function i(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function a(e,t,n){if(t!==t)return i(e,s,n);for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}function s(e){return e!==e}function u(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&r++;return r}function l(e,t){return null==e?void 0:e[t]}function c(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function d(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n];a!==t&&a!==W||(e[n]=W,i[o++]=n)}return i}function f(e){return R(e)?Ne(e):{}}function p(e){if(!R(e)||M(e))return!1;var t=D(e)||c(e)?Ae:ge;return t.test(N(e))}function h(e,t,n,r){for(var o=-1,i=e.length,a=n.length,s=-1,u=t.length,l=Ie(i-a,0),c=Array(u+l),d=!r;++s<u;)c[s]=t[s];for(;++o<a;)(d||o<i)&&(c[n[o]]=e[o]);for(;l--;)c[s++]=e[o++];return c}function m(e,t,n,r){for(var o=-1,i=e.length,a=-1,s=n.length,u=-1,l=t.length,c=Ie(i-s,0),d=Array(c+l),f=!r;++o<c;)d[o]=e[o];for(var p=o;++u<l;)d[p+u]=t[u];for(;++a<s;)(f||o<i)&&(d[p+n[a]]=e[o++]);return d}function g(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}function v(e,t,n){function r(){var t=this&&this!==Ce&&this instanceof r?i:e;return t.apply(o?n:this,arguments)}var o=t&V,i=y(e);return r}function y(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=f(e.prototype),r=e.apply(n,t);return R(r)?r:n}}function b(e,t,r){function o(){for(var a=arguments.length,s=Array(a),u=a,l=E(o);u--;)s[u]=arguments[u];var c=a<3&&s[0]!==l&&s[a-1]!==l?[]:d(s,l);if(a-=c.length,a<r)return C(e,t,_,o.placeholder,void 0,s,c,void 0,void 0,r-a);var f=this&&this!==Ce&&this instanceof o?i:e;return n(f,this,s)}var i=y(e);return o}function _(e,t,n,r,o,i,a,s,l,c){function f(){for(var T=arguments.length,k=Array(T),S=T;S--;)k[S]=arguments[S];if(b)var O=E(f),M=u(k,O);if(r&&(k=h(k,r,o,b)),i&&(k=m(k,i,a,b)),T-=M,b&&T<c){var N=d(k,O);return C(e,t,_,f.placeholder,n,k,N,s,l,c-T)}var I=g?n:this,P=v?I[e]:e;return T=k.length,s?k=A(k,s):w&&T>1&&k.reverse(),p&&l<T&&(k.length=l),this&&this!==Ce&&this instanceof f&&(P=x||y(P)),P.apply(I,k)}var p=t&J,g=t&V,v=t&G,b=t&(K|$),w=t&ee,x=v?void 0:y(e);return f}function w(e,t,r,o){function i(){for(var t=-1,u=arguments.length,l=-1,c=o.length,d=Array(c+u),f=this&&this!==Ce&&this instanceof i?s:e;++l<c;)d[l]=o[l];for(;u--;)d[l++]=arguments[++t];return n(f,a?r:this,d)}var a=t&V,s=y(e);return i}function C(e,t,n,r,o,i,a,s,u,l){var c=t&K,d=c?a:void 0,f=c?void 0:a,p=c?i:void 0,h=c?void 0:i;t|=c?X:Q,t&=~(c?Q:X),t&Y||(t&=~(V|G));var m=n(e,t,o,p,d,h,f,s,u,l);return m.placeholder=r,Re(m,e,t)}function x(e,t,n,r,o,i,a,s){var u=t&G;if(!u&&"function"!=typeof e)throw new TypeError(q);var l=r?r.length:0;if(l||(t&=~(X|Q),r=o=void 0),a=void 0===a?a:Ie(F(a),0),s=void 0===s?s:F(s),l-=o?o.length:0,t&Q){var c=r,d=o;r=o=void 0}var f=[e,t,n,r,o,c,d,i,a,s];if(e=f[0],t=f[1],n=f[2],r=f[3],o=f[4],s=f[9]=null==f[9]?u?0:e.length:Ie(f[9]-l,0),!s&&t&(K|$)&&(t&=~(K|$)),t&&t!=V)p=t==K||t==$?b(e,t,s):t!=X&&t!=(V|X)||o.length?_.apply(void 0,f):w(e,t,n,r);else var p=v(e,t,n);return Re(p,e,t)}function E(e){var t=e;return t.placeholder}function T(e,t){var n=l(e,t);return p(n)?n:void 0}function k(e){var t=e.match(fe);return t?t[1].split(pe):[]}function S(e,t){var n=t.length,r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(de,"{\n/* [wrapped with "+t+"] */\n")}function O(e,t){return t=null==t?ne:t,!!t&&("number"==typeof e||ye.test(e))&&e>-1&&e%1==0&&e<t}function M(e){return!!ke&&ke in e}function A(e,t){for(var n=e.length,r=Pe(t.length,n),o=g(e);r--;){var i=t[r];e[r]=O(i,n)?o[i]:void 0}return e}function N(e){if(null!=e){try{return Se.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function I(e,t){return r(ie,function(n){var r="_."+n[0];t&n[1]&&!o(e,r)&&e.push(r)}),e.sort()}function P(e,t,n){t=n?void 0:t;var r=x(e,K,void 0,void 0,void 0,void 0,void 0,t);return r.placeholder=P.placeholder,r}function D(e){var t=R(e)?Me.call(e):"";return t==ae||t==se}function R(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function j(e){return!!e&&"object"==typeof e}function L(e){return"symbol"==typeof e||j(e)&&Me.call(e)==ue}function B(e){if(!e)return 0===e?e:0;if(e=U(e),e===te||e===-te){var t=e<0?-1:1;return t*re}return e===e?e:0}function F(e){var t=B(e),n=t%1;return t===t?n?t-n:t:0}function U(e){if("number"==typeof e)return e;if(L(e))return oe;if(R(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=R(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(ce,"");var n=me.test(e);return n||ve.test(e)?be(e.slice(2),n?2:8):he.test(e)?oe:+e}function H(e){return function(){return e}}function z(e){return e}var q="Expected a function",W="__lodash_placeholder__",V=1,G=2,Y=4,K=8,$=16,X=32,Q=64,J=128,Z=256,ee=512,te=1/0,ne=9007199254740991,re=1.7976931348623157e308,oe=NaN,ie=[["ary",J],["bind",V],["bindKey",G],["curry",K],["curryRight",$],["flip",ee],["partial",X],["partialRight",Q],["rearg",Z]],ae="[object Function]",se="[object GeneratorFunction]",ue="[object Symbol]",le=/[\\^$.*+?()[\]{}|]/g,ce=/^\s+|\s+$/g,de=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,fe=/\{\n\/\* \[wrapped with (.+)\] \*/,pe=/,? & /,he=/^[-+]0x[0-9a-f]+$/i,me=/^0b[01]+$/i,ge=/^\[object .+?Constructor\]$/,ve=/^0o[0-7]+$/i,ye=/^(?:0|[1-9]\d*)$/,be=parseInt,_e="object"==typeof t&&t&&t.Object===Object&&t,we="object"==typeof self&&self&&self.Object===Object&&self,Ce=_e||we||Function("return this")(),xe=Function.prototype,Ee=Object.prototype,Te=Ce["__core-js_shared__"],ke=function(){var e=/[^.]+$/.exec(Te&&Te.keys&&Te.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Se=xe.toString,Oe=Ee.hasOwnProperty,Me=Ee.toString,Ae=RegExp("^"+Se.call(Oe).replace(le,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ne=Object.create,Ie=Math.max,Pe=Math.min,De=function(){var e=T(Object,"defineProperty"),t=T.name;return t&&t.length>2?e:void 0}(),Re=De?function(e,t,n){var r=t+"";return De(e,"toString",{configurable:!0,enumerable:!1,value:H(S(r,I(k(r),n)))})}:z;P.placeholder={},e.exports=P}).call(t,function(){return this}())},function(e,t){(function(t){function n(e,t,n){function o(t){var n=m,r=g;return m=g=void 0,E=t,y=e.apply(r,n)}function i(e){return E=e,b=setTimeout(c,t),T?o(e):y}function u(e){var n=e-x,r=e-E,o=t-n;return k?w(o,v-r):o}function l(e){var n=e-x,r=e-E;return void 0===x||n>=t||n<0||k&&r>=v}function c(){var e=C();return l(e)?d(e):void(b=setTimeout(c,u(e)))}function d(e){return b=void 0,S&&m?o(e):(m=g=void 0,y)}function f(){void 0!==b&&clearTimeout(b),E=0,m=x=g=b=void 0}function p(){return void 0===b?y:d(C())}function h(){var e=C(),n=l(e);if(m=arguments,g=this,x=e,n){if(void 0===b)return i(x);if(k)return b=setTimeout(c,t),o(x)}return void 0===b&&(b=setTimeout(c,t)),y}var m,g,v,y,b,x,E=0,T=!1,k=!1,S=!0;if("function"!=typeof e)throw new TypeError(s);return t=a(t)||0,r(n)&&(T=!!n.leading,k="maxWait"in n,v=k?_(a(n.maxWait)||0,t):v,S="trailing"in n?!!n.trailing:S),h.cancel=f,h.flush=p,h}function r(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function o(e){return!!e&&"object"==typeof e}function i(e){return"symbol"==typeof e||o(e)&&b.call(e)==l}function a(e){if("number"==typeof e)return e;if(i(e))return u;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(c,"");var n=f.test(e);return n||p.test(e)?h(e.slice(2),n?2:8):d.test(e)?u:+e}var s="Expected a function",u=NaN,l="[object Symbol]",c=/^\s+|\s+$/g,d=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,p=/^0o[0-7]+$/i,h=parseInt,m="object"==typeof t&&t&&t.Object===Object&&t,g="object"==typeof self&&self&&self.Object===Object&&self,v=m||g||Function("return this")(),y=Object.prototype,b=y.toString,_=Math.max,w=Math.min,C=function(){return v.Date.now()};e.exports=n}).call(t,function(){return this}())},function(e,t){(function(t){function n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function r(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function o(e,t,n,i,a){var u=-1,l=e.length;for(n||(n=s),a||(a=[]);++u<l;){var c=e[u];t>0&&n(c)?t>1?o(c,t-1,n,i,a):r(a,c):i||(a[a.length]=c)}return a}function i(e,t){return t=M(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=M(r.length-t,0),a=Array(i);++o<i;)a[o]=r[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=r[o];return s[t]=a,n(e,this,s)}}function a(e){return i(function(t){t=o(t,1);var n=t.length,r=n;for(e&&t.reverse();r--;)if("function"!=typeof t[r])throw new TypeError(m);return function(){for(var e=0,r=n?t[e].apply(this,arguments):arguments[0];++e<n;)r=t[e].call(this,r);return r}})}function s(e){return A(e)||u(e)||!!(O&&e&&e[O])}function u(e){return c(e)&&E.call(e,"callee")&&(!S.call(e,"callee")||T.call(e)==v)}function l(e){return null!=e&&f(e.length)&&!d(e)}function c(e){return h(e)&&l(e)}function d(e){var t=p(e)?T.call(e):"";return t==y||t==b}function f(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=g}function p(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function h(e){return!!e&&"object"==typeof e}var m="Expected a function",g=9007199254740991,v="[object Arguments]",y="[object Function]",b="[object GeneratorFunction]",_="object"==typeof t&&t&&t.Object===Object&&t,w="object"==typeof self&&self&&self.Object===Object&&self,C=_||w||Function("return this")(),x=Object.prototype,E=x.hasOwnProperty,T=x.toString,k=C.Symbol,S=x.propertyIsEnumerable,O=k?k.isConcatSpreadable:void 0,M=Math.max,A=Array.isArray,N=a();e.exports=N}).call(t,function(){return this}())},function(e,t,n){var r=n(100),o=n(74),i=r(o,"DataView");e.exports=i},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var o=n(910),i=n(911),a=n(912),s=n(913),u=n(914);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=s,r.prototype.set=u,e.exports=r},function(e,t,n){var r=n(100),o=n(74),i=r(o,"Promise");e.exports=i},function(e,t,n){var r=n(74),o=r.Uint8Array;e.exports=o},function(e,t,n){var r=n(100),o=n(74),i=r(o,"WeakMap");e.exports=i},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}e.exports=n},function(e,t,n){function r(e,t,n){var r=e[t];s.call(e,t)&&i(r,n)&&(void 0!==n||t in e)||o(e,t,n)}var o=n(274),i=n(147),a=Object.prototype,s=a.hasOwnProperty;e.exports=r},function(e,t){function n(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}e.exports=n},function(e,t,n){var r=n(897),o=r();e.exports=o},function(e,t,n){function r(e,t){return e&&o(e,t,i)}var o=n(870),i=n(284);e.exports=r},function(e,t,n){function r(e,t,n){var r=t(e);return i(e)?r:o(r,n(e))}var o=n(403),i=n(39);e.exports=r},function(e,t){function n(e,t){return null!=e&&t in Object(e)}e.exports=n},function(e,t,n){function r(e,t,n){return t===t?a(e,t,n):o(e,i,n)}var o=n(869),i=n(879),a=n(945);e.exports=r},function(e,t,n){function r(e,t,n){for(var r=n?a:i,d=e[0].length,f=e.length,p=f,h=Array(f),m=1/0,g=[];p--;){var v=e[p];p&&t&&(v=s(v,u(t))),m=c(v.length,m),h[p]=!n&&(t||d>=120&&v.length>=120)?new o(p&&v):void 0}v=e[0];var y=-1,b=h[0];e:for(;++y<d&&g.length<m;){var _=v[y],w=t?t(_):_;if(_=n||0!==_?_:0,!(b?l(b,w):r(g,w,n))){for(p=f;--p;){var C=h[p];if(!(C?l(C,w):r(e[p],w,n)))continue e}b&&b.push(w),g.push(_)}}return g}var o=n(184),i=n(272),a=n(273),s=n(185),u=n(277),l=n(187),c=Math.min;e.exports=r},function(e,t,n){function r(e){return i(e)&&o(e)==a}var o=n(117),i=n(101),a="[object Arguments]";e.exports=r},function(e,t,n){function r(e,t,n,r,g,y){var b=l(e),_=l(t),w=b?h:u(e),C=_?h:u(t);w=w==p?m:w,C=C==p?m:C;var x=w==m,E=C==m,T=w==C;if(T&&c(e)){if(!c(t))return!1;b=!0,x=!1}if(T&&!x)return y||(y=new o),b||d(e)?i(e,t,n,r,g,y):a(e,t,w,n,r,g,y);if(!(n&f)){var k=x&&v.call(e,"__wrapped__"),S=E&&v.call(t,"__wrapped__");if(k||S){var O=k?e.value():e,M=S?t.value():t;return y||(y=new o),g(O,M,n,r,y)}}return!!T&&(y||(y=new o),s(e,t,n,r,g,y))}var o=n(399),i=n(409),a=n(900),s=n(901),u=n(907),l=n(39),c=n(416),d=n(418),f=1,p="[object Arguments]",h="[object Array]",m="[object Object]",g=Object.prototype,v=g.hasOwnProperty;e.exports=r},function(e,t,n){function r(e,t,n,r){var u=n.length,l=u,c=!r;if(null==e)return!l;for(e=Object(e);u--;){var d=n[u];if(c&&d[2]?d[1]!==e[d[0]]:!(d[0]in e))return!1}for(;++u<l;){d=n[u];var f=d[0],p=e[f],h=d[1];if(c&&d[2]){if(void 0===p&&!(f in e))return!1}else{var m=new o;if(r)var g=r(p,h,f,e,t,m);if(!(void 0===g?i(h,p,a|s,r,m):g))return!1}}return!0}var o=n(399),i=n(405),a=1,s=2;e.exports=r},function(e,t){function n(e){return e!==e;
+}e.exports=n},function(e,t,n){function r(e){if(!a(e)||i(e))return!1;var t=o(e)?h:l;return t.test(s(e))}var o=n(417),i=n(918),a=n(118),s=n(415),u=/[\\^$.*+?()[\]{}|]/g,l=/^\[object .+?Constructor\]$/,c=Function.prototype,d=Object.prototype,f=c.toString,p=d.hasOwnProperty,h=RegExp("^"+f.call(p).replace(u,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=r},function(e,t,n){function r(e){return a(e)&&i(e.length)&&!!N[o(e)]}var o=n(117),i=n(282),a=n(101),s="[object Arguments]",u="[object Array]",l="[object Boolean]",c="[object Date]",d="[object Error]",f="[object Function]",p="[object Map]",h="[object Number]",m="[object Object]",g="[object RegExp]",v="[object Set]",y="[object String]",b="[object WeakMap]",_="[object ArrayBuffer]",w="[object DataView]",C="[object Float32Array]",x="[object Float64Array]",E="[object Int8Array]",T="[object Int16Array]",k="[object Int32Array]",S="[object Uint8Array]",O="[object Uint8ClampedArray]",M="[object Uint16Array]",A="[object Uint32Array]",N={};N[C]=N[x]=N[E]=N[T]=N[k]=N[S]=N[O]=N[M]=N[A]=!0,N[s]=N[u]=N[_]=N[l]=N[w]=N[c]=N[d]=N[f]=N[p]=N[h]=N[m]=N[g]=N[v]=N[y]=N[b]=!1,e.exports=r},function(e,t,n){function r(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?s(e)?i(e[0],e[1]):o(e):u(e)}var o=n(885),i=n(886),a=n(191),s=n(39),u=n(956);e.exports=r},function(e,t,n){function r(e){if(!o(e))return i(e);var t=[];for(var n in Object(e))s.call(e,n)&&"constructor"!=n&&t.push(n);return t}var o=n(411),i=n(931),a=Object.prototype,s=a.hasOwnProperty;e.exports=r},function(e,t,n){function r(e){if(!o(e))return a(e);var t=i(e),n=[];for(var r in e)("constructor"!=r||!t&&u.call(e,r))&&n.push(r);return n}var o=n(118),i=n(411),a=n(932),s=Object.prototype,u=s.hasOwnProperty;e.exports=r},function(e,t,n){function r(e){var t=i(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(n){return n===e||o(n,e,t)}}var o=n(878),i=n(903),a=n(413);e.exports=r},function(e,t,n){function r(e,t){return s(e)&&u(t)?l(c(e),t):function(n){var r=i(n,e);return void 0===r&&r===t?a(n,e):o(t,r,d|f)}}var o=n(405),i=n(951),a=n(952),s=n(279),u=n(412),l=n(413),c=n(190),d=1,f=2;e.exports=r},function(e,t){function n(e){return function(t){return null==t?void 0:t[e]}}e.exports=n},function(e,t,n){function r(e){return function(t){return o(t,e)}}var o=n(404);e.exports=r},function(e,t,n){var r=n(948),o=n(408),i=n(191),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},function(e,t){function n(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}e.exports=n},function(e,t,n){function r(e){if("string"==typeof e)return e;if(a(e))return i(e,r)+"";if(s(e))return c?c.call(e):"";var t=e+"";return"0"==t&&1/e==-u?"-0":t}var o=n(146),i=n(185),a=n(39),s=n(283),u=1/0,l=o?o.prototype:void 0,c=l?l.toString:void 0;e.exports=r},function(e,t,n){function r(e,t,n){var r=e.length;if(r<2)return r?a(e[0]):[];for(var s=-1,u=Array(r);++s<r;)for(var l=e[s],c=-1;++c<r;)c!=s&&(u[s]=o(u[s]||l,e[c],t,n));return a(i(u,1),t,n)}var o=n(275),i=n(276),a=n(406);e.exports=r},function(e,t,n){function r(e){return o(e)?e:[]}var o=n(148);e.exports=r},function(e,t,n){function r(e,t,n,r){var a=!n;n||(n={});for(var s=-1,u=t.length;++s<u;){var l=t[s],c=r?r(n[l],e[l],l,n,e):void 0;void 0===c&&(c=e[l]),a?i(n,l,c):o(n,l,c)}return n}var o=n(868),i=n(274);e.exports=r},function(e,t,n){var r=n(74),o=r["__core-js_shared__"];e.exports=o},function(e,t,n){function r(e){return o(function(t,n){var r=-1,o=n.length,a=o>1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(n[0],n[1],s)&&(a=o<3?void 0:a,o=1),t=Object(t);++r<o;){var u=n[r];u&&e(t,u,r,a)}return t})}var o=n(99),i=n(916);e.exports=r},function(e,t){function n(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),s=a.length;s--;){var u=a[e?s:++o];if(n(i[u],u,i)===!1)break}return t}}e.exports=n},function(e,t,n){var r=n(398),o=n(420),i=n(280),a=1/0,s=r&&1/i(new r([,-0]))[1]==a?function(e){return new r(e)}:o;e.exports=s},function(e,t,n){function r(e,t,n,r){return void 0===e||o(e,i[n])&&!a.call(r,n)?t:e}var o=n(147),i=Object.prototype,a=i.hasOwnProperty;e.exports=r},function(e,t,n){function r(e,t,n,r,o,x,T){switch(n){case C:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case w:return!(e.byteLength!=t.byteLength||!x(new i(e),new i(t)));case f:case p:case g:return a(+e,+t);case h:return e.name==t.name&&e.message==t.message;case v:case b:return e==t+"";case m:var k=u;case y:var S=r&c;if(k||(k=l),e.size!=t.size&&!S)return!1;var O=T.get(e);if(O)return O==t;r|=d,T.set(e,t);var M=s(k(e),k(t),r,o,x,T);return T.delete(e),M;case _:if(E)return E.call(e)==E.call(t)}return!1}var o=n(146),i=n(865),a=n(147),s=n(409),u=n(929),l=n(280),c=1,d=2,f="[object Boolean]",p="[object Date]",h="[object Error]",m="[object Map]",g="[object Number]",v="[object RegExp]",y="[object Set]",b="[object String]",_="[object Symbol]",w="[object ArrayBuffer]",C="[object DataView]",x=o?o.prototype:void 0,E=x?x.valueOf:void 0;e.exports=r},function(e,t,n){function r(e,t,n,r,a,u){var l=n&i,c=o(e),d=c.length,f=o(t),p=f.length;if(d!=p&&!l)return!1;for(var h=d;h--;){var m=c[h];if(!(l?m in t:s.call(t,m)))return!1}var g=u.get(e);if(g&&u.get(t))return g==t;var v=!0;u.set(e,t),u.set(t,e);for(var y=l;++h<d;){m=c[h];var b=e[m],_=t[m];if(r)var w=l?r(_,b,m,t,e,u):r(b,_,m,e,t,u);if(!(void 0===w?b===_||a(b,_,n,r,u):w)){v=!1;break}y||(y="constructor"==m)}if(v&&!y){var C=e.constructor,x=t.constructor;C!=x&&"constructor"in e&&"constructor"in t&&!("function"==typeof C&&C instanceof C&&"function"==typeof x&&x instanceof x)&&(v=!1)}return u.delete(e),u.delete(t),v}var o=n(902),i=1,a=Object.prototype,s=a.hasOwnProperty;e.exports=r},function(e,t,n){function r(e){return o(e,a,i)}var o=n(872),i=n(906),a=n(284);e.exports=r},function(e,t,n){function r(e){for(var t=i(e),n=t.length;n--;){var r=t[n],a=e[r];t[n]=[r,a,o(a)]}return t}var o=n(412),i=n(284);e.exports=r},function(e,t,n){var r=n(414),o=r(Object.getPrototypeOf,Object);e.exports=o},function(e,t,n){function r(e){var t=a.call(e,u),n=e[u];try{e[u]=void 0;var r=!0}catch(e){}var o=s.call(e);return r&&(t?e[u]=n:delete e[u]),o}var o=n(146),i=Object.prototype,a=i.hasOwnProperty,s=i.toString,u=o?o.toStringTag:void 0;e.exports=r},function(e,t,n){var r=n(401),o=n(957),i=Object.prototype,a=i.propertyIsEnumerable,s=Object.getOwnPropertySymbols,u=s?function(e){return null==e?[]:(e=Object(e),r(s(e),function(t){return a.call(e,t)}))}:o;e.exports=u},function(e,t,n){var r=n(862),o=n(270),i=n(864),a=n(398),s=n(866),u=n(117),l=n(415),c="[object Map]",d="[object Object]",f="[object Promise]",p="[object Set]",h="[object WeakMap]",m="[object DataView]",g=l(r),v=l(o),y=l(i),b=l(a),_=l(s),w=u;(r&&w(new r(new ArrayBuffer(1)))!=m||o&&w(new o)!=c||i&&w(i.resolve())!=f||a&&w(new a)!=p||s&&w(new s)!=h)&&(w=function(e){var t=u(e),n=t==d?e.constructor:void 0,r=n?l(n):"";if(r)switch(r){case g:return m;case v:return c;case y:return f;case b:return p;case _:return h}return t}),e.exports=w},function(e,t){function n(e,t){return null==e?void 0:e[t]}e.exports=n},function(e,t,n){function r(e,t,n){t=o(t,e);for(var r=-1,c=t.length,d=!1;++r<c;){var f=l(t[r]);if(!(d=null!=e&&n(e,f)))break;e=e[f]}return d||++r!=c?d:(c=null==e?0:e.length,!!c&&u(c)&&s(f,c)&&(a(e)||i(e)))}var o=n(407),i=n(281),a=n(39),s=n(278),u=n(282),l=n(190);e.exports=r},function(e,t,n){function r(){this.__data__=o?o(null):{},this.size=0}var o=n(189);e.exports=r},function(e,t){function n(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}e.exports=n},function(e,t,n){function r(e){var t=this.__data__;if(o){var n=t[e];return n===i?void 0:n}return s.call(t,e)?t[e]:void 0}var o=n(189),i="__lodash_hash_undefined__",a=Object.prototype,s=a.hasOwnProperty;e.exports=r},function(e,t,n){function r(e){var t=this.__data__;return o?void 0!==t[e]:a.call(t,e)}var o=n(189),i=Object.prototype,a=i.hasOwnProperty;e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=o&&void 0===t?i:t,this}var o=n(189),i="__lodash_hash_undefined__";e.exports=r},function(e,t,n){function r(e){return a(e)||i(e)||!!(s&&e&&e[s])}var o=n(146),i=n(281),a=n(39),s=o?o.isConcatSpreadable:void 0;e.exports=r},function(e,t,n){function r(e,t,n){if(!s(n))return!1;var r=typeof t;return!!("number"==r?i(n)&&a(t,n.length):"string"==r&&t in n)&&o(n[t],e)}var o=n(147),i=n(192),a=n(278),s=n(118);e.exports=r},function(e,t){function n(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=n},function(e,t,n){function r(e){return!!i&&i in e}var o=n(895),i=function(){var e=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=r},function(e,t){function n(){this.__data__=[],this.size=0}e.exports=n},function(e,t,n){function r(e){var t=this.__data__,n=o(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():a.call(t,n,1),--this.size,!0}var o=n(186),i=Array.prototype,a=i.splice;e.exports=r},function(e,t,n){function r(e){var t=this.__data__,n=o(t,e);return n<0?void 0:t[n][1]}var o=n(186);e.exports=r},function(e,t,n){function r(e){return o(this.__data__,e)>-1}var o=n(186);e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var o=n(186);e.exports=r},function(e,t,n){function r(){this.size=0,this.__data__={hash:new o,map:new(a||i),string:new o}}var o=n(863),i=n(183),a=n(270);e.exports=r},function(e,t,n){function r(e){var t=o(this,e).delete(e);return this.size-=t?1:0,t}var o=n(188);e.exports=r},function(e,t,n){function r(e){return o(this,e).get(e)}var o=n(188);e.exports=r},function(e,t,n){function r(e){return o(this,e).has(e)}var o=n(188);e.exports=r},function(e,t,n){function r(e,t){var n=o(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var o=n(188);e.exports=r},function(e,t){function n(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}e.exports=n},function(e,t,n){function r(e){var t=o(e,function(e){return n.size===i&&n.clear(),e}),n=t.cache;return t}var o=n(419),i=500;e.exports=r},function(e,t,n){var r=n(414),o=r(Object.keys,Object);e.exports=o},function(e,t){function n(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}e.exports=n},function(e,t,n){(function(e){var r=n(410),o="object"==typeof t&&t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o,s=a&&r.process,u=function(){try{return s&&s.binding&&s.binding("util")}catch(e){}}();e.exports=u}).call(t,n(206)(e))},function(e,t){function n(e){return o.call(e)}var r=Object.prototype,o=r.toString;e.exports=n},function(e,t,n){function r(e,t,n){return t=i(void 0===t?e.length-1:t,0),function(){for(var r=arguments,a=-1,s=i(r.length-t,0),u=Array(s);++a<s;)u[a]=r[t+a];a=-1;for(var l=Array(t+1);++a<t;)l[a]=r[a];return l[t]=n(u),o(e,this,l)}}var o=n(400),i=Math.max;e.exports=r},function(e,t){function n(e){return this.__data__.set(e,r),this}var r="__lodash_hash_undefined__";e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t,n){var r=n(889),o=n(939),i=o(r);e.exports=i},function(e,t){function n(e){var t=0,n=0;return function(){var a=i(),s=o-(a-n);if(n=a,s>0){if(++t>=r)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var r=800,o=16,i=Date.now;e.exports=n},function(e,t,n){function r(){this.__data__=new o,this.size=0}var o=n(183);e.exports=r},function(e,t){function n(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}e.exports=n},function(e,t){function n(e){return this.__data__.get(e)}e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t,n){function r(e,t){var n=this.__data__;if(n instanceof o){var r=n.__data__;if(!i||r.length<s-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new a(r)}return n.set(e,t),this.size=n.size,this}var o=n(183),i=n(270),a=n(271),s=200;e.exports=r},function(e,t){function n(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}e.exports=n},function(e,t,n){var r=n(930),o=/^\./,i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,s=r(function(e){var t=[];return o.test(e)&&t.push(""),e.replace(i,function(e,n,r,o){t.push(r?o.replace(a,"$1"):n||e)}),t});e.exports=s},function(e,t,n){var r=n(894),o=n(896),i=n(954),a=o(function(e,t,n,o){r(t,i(t),e,o)});e.exports=a},function(e,t){function n(e){return function(){return e}}e.exports=n},function(e,t,n){var r=n(400),o=n(947),i=n(99),a=n(899),s=i(function(e){return e.push(void 0,a),r(o,void 0,e)});e.exports=s},function(e,t,n){var r=n(275),o=n(276),i=n(99),a=n(148),s=i(function(e,t){return a(e)?r(e,o(t,1,a,!0)):[]});e.exports=s},function(e,t,n){function r(e,t,n){var r=null==e?void 0:o(e,t);return void 0===r?n:r}var o=n(404);e.exports=r},function(e,t,n){function r(e,t){return null!=e&&i(e,t,o)}var o=n(873),i=n(909);e.exports=r},function(e,t,n){var r=n(185),o=n(875),i=n(99),a=n(893),s=i(function(e){var t=r(e,a);return t.length&&t[0]===e[0]?o(t):[]});e.exports=s},function(e,t,n){function r(e){return a(e)?o(e,!0):i(e)}var o=n(402),i=n(884),a=n(192);e.exports=r},function(e,t,n){function r(e,t){var n={};return t=a(t,3),i(e,function(e,r,i){o(n,r,t(e,r,i))}),n}var o=n(274),i=n(871),a=n(882);e.exports=r},function(e,t,n){function r(e){return a(e)?o(s(e)):i(e)}var o=n(887),i=n(888),a=n(279),s=n(190);e.exports=r},function(e,t){function n(){return[]}e.exports=n},function(e,t){function n(){return!1}e.exports=n},function(e,t,n){function r(e){return null==e?"":o(e)}var o=n(891);e.exports=r},function(e,t,n){var r=n(401),o=n(99),i=n(892),a=n(148),s=o(function(e){return i(r(e,a))});e.exports=s},function(e,t,n){var r=n(1151),o=n(849),i=function(e){return"[object Array]"===Object.prototype.toString.call(e)};e.exports=function(e){if(!e)return{};var t={};return o(r(e).split("\n"),function(e){var n=e.indexOf(":"),o=r(e.slice(0,n)).toLowerCase(),a=r(e.slice(n+1));"undefined"==typeof t[o]?t[o]=a:i(t[o])?t[o].push(a):t[o]=[t[o],a]}),t}},function(e,t){e.exports={nomod:{escape:"",space:" "},ctrl:{" ":"\0",a:"",b:"",c:"",d:"",e:"",f:"",g:"",h:"\b",i:"\t",j:"\n",k:"\v",m:"\f",n:"\r",l:"",o:"",p:"",q:"",r:"",s:"",t:"",u:"",v:"",w:"",x:"",y:"",z:"","[":"","\\":"","]":"","^":"",_:"",space:"\0"}}},function(e,t,n){"use strict";function r(e){if(!/^(ctrl-|shift-|alt-|meta-){0,4}\w+$/.test(e))throw new Error('The string to parse needs to be of the format "c", "ctrl-c", "shift-ctrl-c".')}var o=n(962);e.exports=function(e){var t=e.trim().toLowerCase();r(t);var n,i={name:void 0,ctrl:!1,meta:!1,shift:!1,alt:!1,sequence:void 0},a=t.split("-");for(i.name=a.pop();n=a.pop();)i[n]=!0;return i.sequence=i.ctrl?o.ctrl[i.name]||i.name:o.nomod[i.name]||i.name,i.shift&&i.sequence&&1===i.sequence.length&&(i.sequence=i.sequence.toUpperCase()),i}},function(e,t,n){"use strict";function r(e,t,n,r,o){}e.exports=r},function(e,t,n){"use strict";var r=n(967);e.exports=function(e){var t=!1;return r(e,t)}},function(e,t,n){"use strict";var r=n(40),o=n(10);e.exports=function(){function e(){o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";var r=n(40),o=n(10),i=(n(13),n(968)),a=n(964);e.exports=function(e,t){function n(e){var t=e&&(T&&e[T]||e[k]);if("function"==typeof t)return t}function s(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}function u(e){this.message=e,this.stack=""}function l(e){function n(n,r,a,s,l,c,d){if(s=s||S,c=c||a,d!==i)if(t)o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");else;return null==r[a]?n?new u(null===r[a]?"The "+l+" `"+c+"` is marked as required "+("in `"+s+"`, but its value is `null`."):"The "+l+" `"+c+"` is marked as required in "+("`"+s+"`, but its value is `undefined`.")):null:e(r,a,s,l,c)}var r=n.bind(null,!1);return r.isRequired=n.bind(null,!0),r}function c(e){function t(t,n,r,o,i,a){var s=t[n],l=C(s);if(l!==e){var c=x(s);return new u("Invalid "+o+" `"+i+"` of type "+("`"+c+"` supplied to `"+r+"`, expected ")+("`"+e+"`."))}return null}return l(t)}function d(){return l(r.thatReturnsNull)}function f(e){function t(t,n,r,o,a){if("function"!=typeof e)return new u("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s)){var l=C(s);return new u("Invalid "+o+" `"+a+"` of type "+("`"+l+"` supplied to `"+r+"`, expected an array."))}for(var c=0;c<s.length;c++){var d=e(s,c,r,o,a+"["+c+"]",i);if(d instanceof Error)return d}return null}return l(t)}function p(){function t(t,n,r,o,i){var a=t[n];if(!e(a)){var s=C(a);return new u("Invalid "+o+" `"+i+"` of type "+("`"+s+"` supplied to `"+r+"`, expected a single ReactElement."))}return null}return l(t)}function h(e){function t(t,n,r,o,i){if(!(t[n]instanceof e)){var a=e.name||S,s=E(t[n]);return new u("Invalid "+o+" `"+i+"` of type "+("`"+s+"` supplied to `"+r+"`, expected ")+("instance of `"+a+"`."))}return null}return l(t)}function m(e){function t(t,n,r,o,i){for(var a=t[n],l=0;l<e.length;l++)if(s(a,e[l]))return null;var c=JSON.stringify(e);return new u("Invalid "+o+" `"+i+"` of value `"+a+"` "+("supplied to `"+r+"`, expected one of "+c+"."))}return Array.isArray(e)?l(t):r.thatReturnsNull}function g(e){function t(t,n,r,o,a){if("function"!=typeof e)return new u("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var s=t[n],l=C(s);if("object"!==l)return new u("Invalid "+o+" `"+a+"` of type "+("`"+l+"` supplied to `"+r+"`, expected an object."));for(var c in s)if(s.hasOwnProperty(c)){var d=e(s,c,r,o,a+"."+c,i);if(d instanceof Error)return d}return null}return l(t)}function v(e){function t(t,n,r,o,a){for(var s=0;s<e.length;s++){var l=e[s];if(null==l(t,n,r,o,a,i))return null}return new u("Invalid "+o+" `"+a+"` supplied to "+("`"+r+"`."))}return Array.isArray(e)?l(t):r.thatReturnsNull}function y(){function e(e,t,n,r,o){return _(e[t])?null:new u("Invalid "+r+" `"+o+"` supplied to "+("`"+n+"`, expected a ReactNode."))}return l(e)}function b(e){function t(t,n,r,o,a){var s=t[n],l=C(s);if("object"!==l)return new u("Invalid "+o+" `"+a+"` of type `"+l+"` "+("supplied to `"+r+"`, expected `object`."));for(var c in e){var d=e[c];if(d){var f=d(s,c,r,o,a+"."+c,i);if(f)return f}}return null}return l(t)}function _(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(_);if(null===t||e(t))return!0;var r=n(t);if(!r)return!1;var o,i=r.call(t);if(r!==t.entries){for(;!(o=i.next()).done;)if(!_(o.value))return!1}else for(;!(o=i.next()).done;){var a=o.value;if(a&&!_(a[1]))return!1}return!0;default:return!1}}function w(e,t){return"symbol"===e||("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}function C(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":w(t,e)?"symbol":t}function x(e){var t=C(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function E(e){return e.constructor&&e.constructor.name?e.constructor.name:S}var T="function"==typeof Symbol&&Symbol.iterator,k="@@iterator",S="<<anonymous>>",O={array:c("array"),bool:c("boolean"),func:c("function"),number:c("number"),object:c("object"),string:c("string"),symbol:c("symbol"),any:d(),arrayOf:f,element:p(),instanceOf:h,node:y(),objectOf:g,oneOf:m,oneOfType:v,shape:b};return u.prototype=Error.prototype,O.checkPropTypes=a,O.PropTypes=O,O}},function(e,t){"use strict";var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=n},function(e,t){function n(e){var t,n,r,o,i,a=e[0]/360,s=e[1]/100,u=e[2]/100;if(0==s)return i=255*u,[i,i,i];n=u<.5?u*(1+s):u+s-u*s,t=2*u-n,o=[0,0,0];for(var l=0;l<3;l++)r=a+1/3*-(l-1),r<0&&r++,r>1&&r--,i=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,o[l]=255*i;return o}e.exports=n},function(e,t,n){function r(e){var t=Math.round(i(e,0,255)),n=t.toString(16);return 1==n.length?"0"+n:n}function o(e){return"#"+r(e[0])+r(e[1])+r(e[2])}var i=n(285);e.exports=o},function(e,t){function n(e){return 4===e.length&&(e="#"+e.charAt(1)+e.charAt(1)+e.charAt(2)+e.charAt(2)+e.charAt(3)+e.charAt(3)),[parseInt(e.substring(1,3),16),parseInt(e.substring(3,5),16),parseInt(e.substring(5,7),16)]}e.exports=n},function(e,t,n){function r(e,t){switch(e=parseFloat(e),t){case 0:return a(e,0,360);case 1:case 2:return a(e,0,100);case 3:return a(e,0,1)}}function o(e){return i(e).map(r)}var i=n(423),a=n(285);e.exports=o},function(e,t,n){function r(e){var t=i(e),n=u(t);return 4===t.length&&n.push(t[3]),n}function o(e){for(var t in l)if(0===e.indexOf(t))return l[t](e)}var i=n(972),a=n(971),s=n(974),u=n(969),l={"#":a,hsl:r,rgb:s};o.rgb=s,o.hsl=i,o.hex=a,e.exports=o},function(e,t,n){function r(e,t){return t<3?e.indexOf("%")!=-1?Math.round(255*a(parseInt(e,10),0,100)/100):a(parseInt(e,10),0,255):a(parseFloat(e),0,1)}function o(e){return i(e).map(r)}var i=n(423),a=n(285);e.exports=o},function(e,t,n){"use strict";function r(e){switch(e.arrayFormat){case"index":return function(t,n,r){return null===n?[i(t,e),"[",r,"]"].join(""):[i(t,e),"[",i(r,e),"]=",i(n,e)].join("")};case"bracket":return function(t,n){return null===n?i(t,e):[i(t,e),"[]=",i(n,e)].join("")};default:return function(t,n){return null===n?i(t,e):[i(t,e),"=",i(n,e)].join("")}}}function o(e){var t;switch(e.arrayFormat){case"index":return function(e,n,r){return t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),void(r[e][t[1]]=n)):void(r[e]=n)};case"bracket":return function(e,n,r){return t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0===r[e]?void(r[e]=[n]):void(r[e]=[].concat(r[e],n)):void(r[e]=n)};default:return function(e,t,n){return void 0===n[e]?void(n[e]=t):void(n[e]=[].concat(n[e],t))}}}function i(e,t){return t.encode?t.strict?s(e):encodeURIComponent(e):e}function a(e){return Array.isArray(e)?e.sort():"object"==typeof e?a(Object.keys(e)).sort(function(e,t){return Number(e)-Number(t)}).map(function(t){return e[t]}):e}var s=n(1143),u=n(21);t.extract=function(e){return e.split("?")[1]||""},t.parse=function(e,t){t=u({arrayFormat:"none"},t);var n=o(t),r=Object.create(null);return"string"!=typeof e?r:(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach(function(e){var t=e.replace(/\+/g," ").split("="),o=t.shift(),i=t.length>0?t.join("="):void 0;i=void 0===i?null:decodeURIComponent(i),n(decodeURIComponent(o),i,r)}),Object.keys(r).sort().reduce(function(e,t){var n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=a(n):e[t]=n,e},Object.create(null))):r},t.stringify=function(e,t){var n={encode:!0,strict:!0,arrayFormat:"none"};t=u(n,t);var o=r(t);return e?Object.keys(e).sort().map(function(n){var r=e[n];if(void 0===r)return"";if(null===r)return i(n,t);if(Array.isArray(r)){var a=[];return r.slice().forEach(function(e){void 0!==e&&a.push(o(n,e,a.length))}),a.join("&")}return i(n,t)+"="+i(r,t)}).filter(function(e){return e.length>0}).join("&"):""}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r<n.length;r++){var o=n[r],i=Object.getOwnPropertyDescriptor(t,o);i&&i.configurable&&void 0===e[o]&&Object.defineProperty(e,o,i)}return e}function i(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):o(e,t))}Object.defineProperty(t,"__esModule",{value:!0});var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=n(1),d=r(c),f=n(22),p=r(f),h=n(424),m=r(h),g=n(425),v=function(e){function t(){return a(this,t),s(this,e.apply(this,arguments))}return u(t,e),t.prototype.getPathStyles=function(){var e=this.props,t=e.percent,n=e.strokeWidth,r=e.gapDegree,o=void 0===r?0:r,i=e.gapPosition,a=50-n/2,s=0,u=-a,l=0,c=-2*a;switch(i){case"left":s=-a,u=0,l=2*a,c=0;break;case"right":s=a,u=0,l=-2*a,c=0;break;case"bottom":u=a,c=2*a}var d="M 50,50 m "+s+","+u+"\n     a "+a+","+a+" 0 1 1 "+l+","+-c+"\n     a "+a+","+a+" 0 1 1 "+-l+","+c,f=2*Math.PI*a,p={strokeDasharray:f-o+"px "+f+"px",strokeDashoffset:"-"+o/2+"px",transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s"},h={strokeDasharray:t/100*(f-o)+"px "+f+"px",strokeDashoffset:"-"+o/2+"px",transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s"};return{pathString:d,trailPathStyle:p,strokePathStyle:h}},t.prototype.render=function(){var e=this,t=this.props,n=t.prefixCls,r=t.strokeWidth,o=t.trailWidth,a=t.strokeColor,s=t.trailColor,u=t.strokeLinecap,c=t.style,f=t.className,p=i(t,["prefixCls","strokeWidth","trailWidth","strokeColor","trailColor","strokeLinecap","style","className"]),h=this.getPathStyles(),m=h.pathString,g=h.trailPathStyle,v=h.strokePathStyle;return delete p.percent,delete p.gapDegree,delete p.gapPosition,d.default.createElement("svg",l({className:n+"-circle "+f,viewBox:"0 0 100 100",style:c},p),d.default.createElement("path",{className:n+"-circle-trail",d:m,stroke:s,strokeWidth:o||r,fillOpacity:"0",style:g}),d.default.createElement("path",{className:n+"-circle-path",d:m,strokeLinecap:u,stroke:a,strokeWidth:r,fillOpacity:"0",ref:function(t){e.path=t},style:v}))},t}(c.Component);v.propTypes=l({},g.propTypes,{gapPosition:p.default.oneOf(["top","bottom","left","right"])}),v.defaultProps=l({},g.defaultProps,{gapPosition:"top"}),t.default=(0,m.default)(v),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r<n.length;r++){var o=n[r],i=Object.getOwnPropertyDescriptor(t,o);i&&i.configurable&&void 0===e[o]&&Object.defineProperty(e,o,i)}return e}function i(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):o(e,t))}Object.defineProperty(t,"__esModule",{value:!0});var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=n(1),d=r(c),f=n(424),p=r(f),h=n(425),m=function(e){function t(){return a(this,t),s(this,e.apply(this,arguments))}return u(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.className,r=t.percent,o=t.prefixCls,a=t.strokeColor,s=t.strokeLinecap,u=t.strokeWidth,c=t.style,f=t.trailColor,p=t.trailWidth,h=i(t,["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth"]);delete h.gapPosition;var m={strokeDasharray:"100px, 100px",strokeDashoffset:100-r+"px",transition:"stroke-dashoffset 0.3s ease 0s, stroke 0.3s linear"},g=u/2,v=100-u/2,y="M "+("round"===s?g:0)+","+g+"\n           L "+("round"===s?v:100)+","+g,b="0 0 100 "+u;return d.default.createElement("svg",l({className:o+"-line "+n,viewBox:b,preserveAspectRatio:"none",style:c},h),d.default.createElement("path",{className:o+"-line-trail",d:y,strokeLinecap:s,stroke:f,strokeWidth:p||u,fillOpacity:"0"}),d.default.createElement("path",{className:o+"-line-path",d:y,strokeLinecap:s,stroke:a,strokeWidth:u,fillOpacity:"0",ref:function(t){e.path=t},style:m}))},t}(c.Component);m.propTypes=h.propTypes,m.defaultProps=h.defaultProps,t.default=(0,p.default)(m),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(977),i=r(o),a=n(976),s=r(a);t.default={Line:i.default,Circle:s.default},e.exports=t.default},function(e,t){"use strict";function n(e){var t,n,r,o=e[0],i=e[1],a=e[2];return t=1*o+0*i+1.13983*a,n=1*o+i*-.39465+a*-.5806,r=1*o+2.02311*i+0*a,t=Math.min(Math.max(0,t),1),n=Math.min(Math.max(0,n),1),r=Math.min(Math.max(0,r),1),[255*t,255*n,255*r]}function r(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255,o=.299*t+.587*n+.114*r,i=t*-.14713+n*-.28886+.436*r,a=.615*t+n*-.51499+r*-.10001;return[o,i,a]}Object.defineProperty(t,"__esModule",{value:!0}),t.yuv2rgb=n,t.rgb2yuv=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(421),s=r(a),u=n(422),l=r(u),c=function(){function e(){o(this,e),this.entered=[]}return i(e,[{key:"enter",value:function(e){var t=this.entered.length,n=function(t){return document.documentElement.contains(t)&&(!t.contains||t.contains(e))};return this.entered=(0,s.default)(this.entered.filter(n),[e]),0===t&&this.entered.length>0}},{key:"leave",value:function(e){var t=this.entered.length;return this.entered=(0,l.default)(this.entered.filter(function(e){return document.documentElement.contains(e)}),e),t>0&&0===this.entered.length}},{key:"reset",value:function(){this.entered=[]}}]),e}();t.default=c},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(949),u=o(s),l=n(986),c=o(l),d=n(980),f=o(d),p=n(427),h=n(984),m=n(983),g=n(286),v=r(g),y=function(){function e(t){i(this,e),this.actions=t.getActions(),this.monitor=t.getMonitor(),this.registry=t.getRegistry(),this.context=t.getContext(),this.sourcePreviewNodes={},this.sourcePreviewNodeOptions={},this.sourceNodes={},this.sourceNodeOptions={},this.enterLeaveCounter=new f.default,this.dragStartSourceIds=[],this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.currentDragSourceNodeOffset=null,this.currentDragSourceNodeOffsetChanged=!1,this.altKeyPressed=!1,this.getSourceClientOffset=this.getSourceClientOffset.bind(this),
+this.handleTopDragStart=this.handleTopDragStart.bind(this),this.handleTopDragStartCapture=this.handleTopDragStartCapture.bind(this),this.handleTopDragEndCapture=this.handleTopDragEndCapture.bind(this),this.handleTopDragEnter=this.handleTopDragEnter.bind(this),this.handleTopDragEnterCapture=this.handleTopDragEnterCapture.bind(this),this.handleTopDragLeaveCapture=this.handleTopDragLeaveCapture.bind(this),this.handleTopDragOver=this.handleTopDragOver.bind(this),this.handleTopDragOverCapture=this.handleTopDragOverCapture.bind(this),this.handleTopDrop=this.handleTopDrop.bind(this),this.handleTopDropCapture=this.handleTopDropCapture.bind(this),this.handleSelectStart=this.handleSelectStart.bind(this),this.endDragIfSourceWasRemovedFromDOM=this.endDragIfSourceWasRemovedFromDOM.bind(this),this.endDragNativeItem=this.endDragNativeItem.bind(this)}return a(e,[{key:"setup",value:function(){if(void 0!==this.window){if(this.window.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");this.window.__isReactDndBackendSetUp=!0,this.addEventListeners(this.window)}}},{key:"teardown",value:function(){void 0!==this.window&&(this.window.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.window),this.clearCurrentDragSourceNode())}},{key:"addEventListeners",value:function(e){e.addEventListener("dragstart",this.handleTopDragStart),e.addEventListener("dragstart",this.handleTopDragStartCapture,!0),e.addEventListener("dragend",this.handleTopDragEndCapture,!0),e.addEventListener("dragenter",this.handleTopDragEnter),e.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.addEventListener("dragover",this.handleTopDragOver),e.addEventListener("dragover",this.handleTopDragOverCapture,!0),e.addEventListener("drop",this.handleTopDrop),e.addEventListener("drop",this.handleTopDropCapture,!0)}},{key:"removeEventListeners",value:function(e){e.removeEventListener("dragstart",this.handleTopDragStart),e.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),e.removeEventListener("dragend",this.handleTopDragEndCapture,!0),e.removeEventListener("dragenter",this.handleTopDragEnter),e.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.removeEventListener("dragover",this.handleTopDragOver),e.removeEventListener("dragover",this.handleTopDragOverCapture,!0),e.removeEventListener("drop",this.handleTopDrop),e.removeEventListener("drop",this.handleTopDropCapture,!0)}},{key:"connectDragPreview",value:function(e,t,n){var r=this;return this.sourcePreviewNodeOptions[e]=n,this.sourcePreviewNodes[e]=t,function(){delete r.sourcePreviewNodes[e],delete r.sourcePreviewNodeOptions[e]}}},{key:"connectDragSource",value:function(e,t,n){var r=this;this.sourceNodes[e]=t,this.sourceNodeOptions[e]=n;var o=function(t){return r.handleDragStart(t,e)},i=function(t){return r.handleSelectStart(t,e)};return t.setAttribute("draggable",!0),t.addEventListener("dragstart",o),t.addEventListener("selectstart",i),function(){delete r.sourceNodes[e],delete r.sourceNodeOptions[e],t.removeEventListener("dragstart",o),t.removeEventListener("selectstart",i),t.setAttribute("draggable",!1)}}},{key:"connectDropTarget",value:function(e,t){var n=this,r=function(t){return n.handleDragEnter(t,e)},o=function(t){return n.handleDragOver(t,e)},i=function(t){return n.handleDrop(t,e)};return t.addEventListener("dragenter",r),t.addEventListener("dragover",o),t.addEventListener("drop",i),function(){t.removeEventListener("dragenter",r),t.removeEventListener("dragover",o),t.removeEventListener("drop",i)}}},{key:"getCurrentSourceNodeOptions",value:function(){var e=this.monitor.getSourceId(),t=this.sourceNodeOptions[e];return(0,u.default)(t||{},{dropEffect:this.altKeyPressed?"copy":"move"})}},{key:"getCurrentDropEffect",value:function(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}},{key:"getCurrentSourcePreviewNodeOptions",value:function(){var e=this.monitor.getSourceId(),t=this.sourcePreviewNodeOptions[e];return(0,u.default)(t||{},{anchorX:.5,anchorY:.5,captureDraggingState:!1})}},{key:"getSourceClientOffset",value:function(e){return(0,h.getNodeClientOffset)(this.sourceNodes[e])}},{key:"isDraggingNativeItem",value:function(){var e=this.monitor.getItemType();return Object.keys(v).some(function(t){return v[t]===e})}},{key:"beginDragNativeItem",value:function(e){this.clearCurrentDragSourceNode();var t=(0,m.createNativeDragSource)(e);this.currentNativeSource=new t,this.currentNativeHandle=this.registry.addSource(e,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle]),(0,p.isFirefox)()&&this.window.addEventListener("mousemove",this.endDragNativeItem,!0)}},{key:"endDragNativeItem",value:function(){this.isDraggingNativeItem()&&((0,p.isFirefox)()&&this.window.removeEventListener("mousemove",this.endDragNativeItem,!0),this.actions.endDrag(),this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)}},{key:"endDragIfSourceWasRemovedFromDOM",value:function(){var e=this.currentDragSourceNode;document.body.contains(e)||this.clearCurrentDragSourceNode()&&this.actions.endDrag()}},{key:"setCurrentDragSourceNode",value:function(e){this.clearCurrentDragSourceNode(),this.currentDragSourceNode=e,this.currentDragSourceNodeOffset=(0,h.getNodeClientOffset)(e),this.currentDragSourceNodeOffsetChanged=!1,this.window.addEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)}},{key:"clearCurrentDragSourceNode",value:function(){return!!this.currentDragSourceNode&&(this.currentDragSourceNode=null,this.currentDragSourceNodeOffset=null,this.currentDragSourceNodeOffsetChanged=!1,this.window.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0),!0)}},{key:"checkIfCurrentDragSourceRectChanged",value:function(){var e=this.currentDragSourceNode;return!!e&&(!!this.currentDragSourceNodeOffsetChanged||(this.currentDragSourceNodeOffsetChanged=!(0,c.default)((0,h.getNodeClientOffset)(e),this.currentDragSourceNodeOffset),this.currentDragSourceNodeOffsetChanged))}},{key:"handleTopDragStartCapture",value:function(){this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]}},{key:"handleDragStart",value:function(e,t){this.dragStartSourceIds.unshift(t)}},{key:"handleTopDragStart",value:function(e){var t=this,n=this.dragStartSourceIds;this.dragStartSourceIds=null;var r=(0,h.getEventClientOffset)(e);this.actions.beginDrag(n,{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:r});var o=e.dataTransfer,i=(0,m.matchNativeItemType)(o);if(this.monitor.isDragging()){if("function"==typeof o.setDragImage){var a=this.monitor.getSourceId(),s=this.sourceNodes[a],u=this.sourcePreviewNodes[a]||s,l=this.getCurrentSourcePreviewNodeOptions(),c=l.anchorX,d=l.anchorY,f={anchorX:c,anchorY:d},p=(0,h.getDragPreviewOffset)(s,u,r,f);o.setDragImage(u,p.x,p.y)}try{o.setData("application/json",{})}catch(e){}this.setCurrentDragSourceNode(e.target);var g=this.getCurrentSourcePreviewNodeOptions(),v=g.captureDraggingState;v?this.actions.publishDragSource():setTimeout(function(){return t.actions.publishDragSource()})}else if(i)this.beginDragNativeItem(i);else{if(!(o.types||e.target.hasAttribute&&e.target.hasAttribute("draggable")))return;e.preventDefault()}}},{key:"handleTopDragEndCapture",value:function(){this.clearCurrentDragSourceNode()&&this.actions.endDrag()}},{key:"handleTopDragEnterCapture",value:function(e){this.dragEnterTargetIds=[];var t=this.enterLeaveCounter.enter(e.target);if(t&&!this.monitor.isDragging()){var n=e.dataTransfer,r=(0,m.matchNativeItemType)(n);r&&this.beginDragNativeItem(r)}}},{key:"handleDragEnter",value:function(e,t){this.dragEnterTargetIds.unshift(t)}},{key:"handleTopDragEnter",value:function(e){var t=this,n=this.dragEnterTargetIds;if(this.dragEnterTargetIds=[],this.monitor.isDragging()){this.altKeyPressed=e.altKey,(0,p.isFirefox)()||this.actions.hover(n,{clientOffset:(0,h.getEventClientOffset)(e)});var r=n.some(function(e){return t.monitor.canDropOnTarget(e)});r&&(e.preventDefault(),e.dataTransfer.dropEffect=this.getCurrentDropEffect())}}},{key:"handleTopDragOverCapture",value:function(){this.dragOverTargetIds=[]}},{key:"handleDragOver",value:function(e,t){this.dragOverTargetIds.unshift(t)}},{key:"handleTopDragOver",value:function(e){var t=this,n=this.dragOverTargetIds;if(this.dragOverTargetIds=[],!this.monitor.isDragging())return e.preventDefault(),void(e.dataTransfer.dropEffect="none");this.altKeyPressed=e.altKey,this.actions.hover(n,{clientOffset:(0,h.getEventClientOffset)(e)});var r=n.some(function(e){return t.monitor.canDropOnTarget(e)});r?(e.preventDefault(),e.dataTransfer.dropEffect=this.getCurrentDropEffect()):this.isDraggingNativeItem()?(e.preventDefault(),e.dataTransfer.dropEffect="none"):this.checkIfCurrentDragSourceRectChanged()&&(e.preventDefault(),e.dataTransfer.dropEffect="move")}},{key:"handleTopDragLeaveCapture",value:function(e){this.isDraggingNativeItem()&&e.preventDefault();var t=this.enterLeaveCounter.leave(e.target);t&&this.isDraggingNativeItem()&&this.endDragNativeItem()}},{key:"handleTopDropCapture",value:function(e){this.dropTargetIds=[],e.preventDefault(),this.isDraggingNativeItem()&&this.currentNativeSource.mutateItemByReadingDataTransfer(e.dataTransfer),this.enterLeaveCounter.reset()}},{key:"handleDrop",value:function(e,t){this.dropTargetIds.unshift(t)}},{key:"handleTopDrop",value:function(e){var t=this.dropTargetIds;this.dropTargetIds=[],this.actions.hover(t,{clientOffset:(0,h.getEventClientOffset)(e)}),this.actions.drop({dropEffect:this.getCurrentDropEffect()}),this.isDraggingNativeItem()?this.endDragNativeItem():this.endDragIfSourceWasRemovedFromDOM()}},{key:"handleSelectStart",value:function(e){var t=e.target;"function"==typeof t.dragDrop&&("INPUT"===t.tagName||"SELECT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable||(e.preventDefault(),t.dragDrop()))}},{key:"window",get:function(){return this.context&&this.context.window?this.context.window:"undefined"!=typeof window?window:void 0}}]),e}();t.default=y},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(t,r){n(this,e);for(var o=t.length,i=[],a=0;a<o;a++)i.push(a);i.sort(function(e,n){return t[e]<t[n]?-1:1});for(var s=[],u=[],l=[],c=void 0,d=void 0,f=0;f<o-1;f++)c=t[f+1]-t[f],d=r[f+1]-r[f],u.push(c),s.push(d),l.push(d/c);for(var p=[l[0]],h=0;h<u.length-1;h++){var m=l[h],g=l[h+1];if(m*g<=0)p.push(0);else{c=u[h];var v=u[h+1],y=c+v;p.push(3*y/((y+v)/m+(y+c)/g))}}p.push(l[l.length-1]);for(var b=[],_=[],w=void 0,C=0;C<p.length-1;C++){w=l[C];var x=p[C],E=1/u[C],T=x+p[C+1]-w-w;b.push((w-x-T)*E),_.push(T*E*E)}this.xs=t,this.ys=r,this.c1s=p,this.c2s=b,this.c3s=_}return r(e,[{key:"interpolate",value:function(e){var t=this.xs,n=this.ys,r=this.c1s,o=this.c2s,i=this.c3s,a=t.length-1;if(e===t[a])return n[a];for(var s=0,u=i.length-1,l=void 0;s<=u;){l=Math.floor(.5*(s+u));var c=t[l];if(c<e)s=l+1;else{if(!(c>e))return n[l];u=l-1}}a=Math.max(0,u);var d=e-t[a],f=d*d;return n[a]+r[a]*d+o[a]*f+i[a]*d*f}}]),e}();t.default=o},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e,t){for(var n in t){var r=t[n];r.configurable=r.enumerable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,n,r)}return e}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t,n){var r=t.reduce(function(t,n){return t||e.getData(n)},null);return null!=r?r:n}function u(e){var t=h[e],n=t.exposeProperty,r=t.matchesTypes,a=t.getData;return function(){function e(){var t,r;i(this,e),this.item=(t={},r={},r[n]=r[n]||{},r[n].get=function(){return console.warn("Browser doesn't allow reading \""+n+'" until the drop event.'),null},o(t,r),t)}return d(e,[{key:"mutateItemByReadingDataTransfer",value:function(e){delete this.item[n],this.item[n]=a(e,r)}},{key:"canDrag",value:function(){return!0}},{key:"beginDrag",value:function(){return this.item}},{key:"isDragging",value:function(e,t){return t===e.getSourceId()}},{key:"endDrag",value:function(){}}]),e}()}function l(e){var t=Array.prototype.slice.call(e.types||[]);return Object.keys(h).filter(function(e){var n=h[e].matchesTypes;return n.some(function(e){return t.indexOf(e)>-1})})[0]||null}Object.defineProperty(t,"__esModule",{value:!0});var c,d=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.createNativeDragSource=u,t.matchNativeItemType=l;var f=n(286),p=r(f),h=(c={},a(c,p.FILE,{exposeProperty:"files",matchesTypes:["Files"],getData:function(e){return Array.prototype.slice.call(e.files)}}),a(c,p.URL,{exposeProperty:"urls",matchesTypes:["Url","text/uri-list"],getData:function(e,t){return s(e,t,"").split("\n")}}),a(c,p.TEXT,{exposeProperty:"text",matchesTypes:["Text","text/plain"],getData:function(e,t){return s(e,t,"")}}),c)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.nodeType===c?e:e.parentElement;if(!t)return null;var n=t.getBoundingClientRect(),r=n.top,o=n.left;return{x:o,y:r}}function i(e){return{x:e.clientX,y:e.clientY}}function a(e,t,n,r){var i="IMG"===t.nodeName&&((0,s.isFirefox)()||!document.documentElement.contains(t)),a=i?e:t,u=o(a),c={x:n.x-u.x,y:n.y-u.y},d=e.offsetWidth,f=e.offsetHeight,p=r.anchorX,h=r.anchorY,m=i?t.width:d,g=i?t.height:f;(0,s.isSafari)()&&i?(g/=window.devicePixelRatio,m/=window.devicePixelRatio):(0,s.isFirefox)()&&!i&&(g*=window.devicePixelRatio,m*=window.devicePixelRatio);var v=new l.default([0,.5,1],[c.x,c.x/d*m,c.x+m-d]),y=new l.default([0,.5,1],[c.y,c.y/f*g,c.y+g-f]),b=v.interpolate(p),_=y.interpolate(h);return(0,s.isSafari)()&&i&&(_+=(window.devicePixelRatio-1)*g),{x:b,y:_}}Object.defineProperty(t,"__esModule",{value:!0}),t.getNodeClientOffset=o,t.getEventClientOffset=i,t.getDragPreviewOffset=a;var s=n(427),u=n(982),l=r(u),c=1},function(e,t){"use strict";function n(){return r||(r=new Image,r.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),r}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;var r=void 0},287,function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,s,u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(1),c=n(428),d=(s=a=function(e){function t(e,n){r(this,t);var i=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return i.backend=(0,c.unpackBackendForEs5Users)(e.backend),i}return i(t,e),u(t,[{key:"getChildContext",value:function(){var e=this,t=function(){return e.props&&e.props.window?e.props.window:e.context&&e.context.window?e.context.window:"undefined"!=typeof window?window:void 0};return(0,c.createChildContext)(this.backend,{window:t()})}},{key:"render",value:function(){return l.Children.only(this.props.children)}}]),t}(l.Component),a.propTypes={backend:l.PropTypes.oneOfType([l.PropTypes.func,l.PropTypes.object]).isRequired,children:l.PropTypes.element.isRequired,window:l.PropTypes.object},a.defaultProps={window:void 0},a.childContextTypes=c.CHILD_CONTEXT_TYPES,a.displayName="DragDropContextProvider",a.contextTypes={window:l.PropTypes.object},s);t.default=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return E.default.apply(void 0,["DragLayer","collect[, options]"].concat(Array.prototype.slice.call(arguments))),(0,y.default)("function"==typeof e,'Expected "collect" provided as the first argument to DragLayer to be a function that collects props to inject into the component. ',"Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-layer.html",e),(0,y.default)((0,g.default)(t),'Expected "options" provided as the second argument to DragLayer to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-layer.html',t),function(n){var r,s,p=t.arePropsEqual,m=void 0===p?C.default:p,g=n.displayName||n.name||"Component",v=(s=r=function(t){function r(e,t){o(this,r);var n=i(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e));return n.handleChange=n.handleChange.bind(n),n.manager=t.dragDropManager,(0,y.default)("object"===l(n.manager),"Could not find the drag and drop manager in the context of %s. Make sure to wrap the top-level component of your app with DragDropContext. Read more: http://react-dnd.github.io/react-dnd/docs-troubleshooting.html#could-not-find-the-drag-and-drop-manager-in-the-context",g,g),n.state=n.getCurrentState(),n}return a(r,t),c(r,[{key:"getDecoratedComponentInstance",value:function(){return(0,y.default)(this.child,"In order to access an instance of the decorated component it can not be a stateless component."),this.child}},{key:"shouldComponentUpdate",value:function(e,t){return!m(e,this.props)||!(0,_.default)(t,this.state)}}]),c(r,[{key:"componentDidMount",value:function(){this.isCurrentlyMounted=!0;var e=this.manager.getMonitor();this.unsubscribeFromOffsetChange=e.subscribeToOffsetChange(this.handleChange),this.unsubscribeFromStateChange=e.subscribeToStateChange(this.handleChange),this.handleChange()}},{key:"componentWillUnmount",value:function(){this.isCurrentlyMounted=!1,this.unsubscribeFromOffsetChange(),this.unsubscribeFromStateChange()}},{key:"handleChange",value:function(){if(this.isCurrentlyMounted){var e=this.getCurrentState();(0,_.default)(e,this.state)||this.setState(e)}}},{key:"getCurrentState",value:function(){var t=this.manager.getMonitor();return e(t)}},{key:"render",value:function(){var e=this;return f.default.createElement(n,u({},this.props,this.state,{ref:function(t){return e.child=t}}))}}]),r}(d.Component),r.DecoratedComponent=n,r.displayName="DragLayer("+g+")",r.contextTypes={dragDropManager:d.PropTypes.object.isRequired},s);return(0,h.default)(v,n)}}Object.defineProperty(t,"__esModule",{value:!0});var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=s;var d=n(1),f=r(d),p=n(145),h=r(p),m=n(63),g=r(m),v=n(17),y=r(v),b=n(287),_=r(b),w=n(432),C=r(w),x=n(194),E=r(x)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};c.default.apply(void 0,["DragSource","type, spec, collect[, options]"].concat(Array.prototype.slice.call(arguments)));var o=e;"function"!=typeof e&&((0,a.default)((0,C.default)(e),'Expected "type" provided as the first argument to DragSource to be a string, or a function that returns a string given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',e),o=function(){return e}),(0,a.default)((0,u.default)(t),'Expected "spec" provided as the second argument to DragSource to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',t);var i=(0,g.default)(t);return(0,a.default)("function"==typeof n,'Expected "collect" provided as the third argument to DragSource to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',n),(0,a.default)((0,u.default)(r),'Expected "options" provided as the fourth argument to DragSource to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',n),function(e){return(0,f.default)({connectBackend:function(e,t){return e.connectDragSource(t)},containerDisplayName:"DragSource",createHandler:i,registerHandler:h.default,createMonitor:y.default,createConnector:_.default,DecoratedComponent:e,getType:o,collect:n,options:r})}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(17),a=r(i),s=n(63),u=r(s),l=n(194),c=r(l),d=n(430),f=r(d),p=n(997),h=r(p),m=n(992),g=r(m),v=n(993),y=r(v),b=n(991),_=r(b),w=n(431),C=r(w)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};c.default.apply(void 0,["DropTarget","type, spec, collect[, options]"].concat(Array.prototype.slice.call(arguments)));var o=e;"function"!=typeof e&&((0,a.default)((0,C.default)(e,!0),'Expected "type" provided as the first argument to DropTarget to be a string, an array of strings, or a function that returns either given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',e),o=function(){return e}),(0,a.default)((0,u.default)(t),'Expected "spec" provided as the second argument to DropTarget to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',t);var i=(0,g.default)(t);return(0,a.default)("function"==typeof n,'Expected "collect" provided as the third argument to DropTarget to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',n),(0,a.default)((0,u.default)(r),'Expected "options" provided as the fourth argument to DropTarget to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',n),function(e){return(0,f.default)({connectBackend:function(e,t){return e.connectDropTarget(t)},containerDisplayName:"DropTarget",createHandler:i,registerHandler:h.default,createMonitor:y.default,createConnector:_.default,DecoratedComponent:e,getType:o,collect:n,options:r})}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(17),a=r(i),s=n(63),u=r(s),l=n(194),c=r(l),d=n(430),f=r(d),p=n(998),h=r(p),m=n(995),g=r(m),v=n(996),y=r(v),b=n(994),_=r(b),w=n(431),C=r(w)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){function t(){l&&(l(),l=null),o&&i&&(l=e.connectDragSource(o,i,s))}function n(){f&&(f(),f=null),o&&c&&(f=e.connectDragPreview(o,c,d))}function r(e){e!==o&&(o=e,t(),n())}var o=void 0,i=void 0,s=void 0,l=void 0,c=void 0,d=void 0,f=void 0,p=(0,a.default)({dragSource:function(e,n){e===i&&(0,u.default)(n,s)||(i=e,s=n,t())},dragPreview:function(e,t){e===c&&(0,u.default)(t,d)||(c=e,d=t,n())}});return{receiveHandlerId:r,hooks:p}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(433),a=r(i),s=n(429),u=r(s)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e){Object.keys(e).forEach(function(t){(0,u.default)(c.indexOf(t)>-1,'Expected the drag source specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',c.join(", "),t),(0,u.default)("function"==typeof e[t],"Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html",t,t,e[t])}),d.forEach(function(t){(0,u.default)("function"==typeof e[t],"Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html",t,t,e[t])});var t=function(){function t(e){o(this,t),this.monitor=e,this.props=null,this.component=null}return a(t,[{key:"receiveProps",value:function(e){this.props=e}},{key:"receiveComponent",value:function(e){this.component=e}},{key:"canDrag",value:function(){return!e.canDrag||e.canDrag(this.props,this.monitor)}},{key:"isDragging",value:function(t,n){return e.isDragging?e.isDragging(this.props,this.monitor):n===t.getSourceId()}},{key:"beginDrag",value:function(){var t=e.beginDrag(this.props,this.monitor,this.component);return t}},{key:"endDrag",value:function(){e.endDrag&&e.endDrag(this.props,this.monitor,this.component)}}]),t}();return function(e){return new t(e)}}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=i;var s=n(17),u=r(s),l=n(63),c=(r(l),["canDrag","beginDrag","isDragging","endDrag"]),d=["beginDrag"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e){return new d(e)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=i;var s=n(17),u=r(s),l=!1,c=!1,d=function(){function e(t){o(this,e),this.internalMonitor=t.getMonitor()}return a(e,[{key:"receiveHandlerId",value:function(e){this.sourceId=e}},{key:"canDrag",value:function(){(0,u.default)(!l,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source-monitor.html");try{return l=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{l=!1}}},{key:"isDragging",value:function(){(0,u.default)(!c,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source-monitor.html");try{return c=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{c=!1}}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}]),e}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){function t(){s&&(s(),s=null),r&&o&&(s=e.connectDropTarget(r,o,i))}function n(e){e!==r&&(r=e,t())}var r=void 0,o=void 0,i=void 0,s=void 0,l=(0,a.default)({dropTarget:function(e,n){e===o&&(0,u.default)(n,i)||(o=e,i=n,t())}});return{receiveHandlerId:n,hooks:l}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(433),a=r(i),s=n(429),u=r(s)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e){Object.keys(e).forEach(function(t){(0,u.default)(c.indexOf(t)>-1,'Expected the drop target specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',c.join(", "),t),(0,u.default)("function"==typeof e[t],"Expected %s in the drop target specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html",t,t,e[t])});var t=function(){function t(e){o(this,t),this.monitor=e,this.props=null,this.component=null}return a(t,[{key:"receiveProps",value:function(e){this.props=e}},{key:"receiveMonitor",value:function(e){this.monitor=e}},{key:"receiveComponent",value:function(e){this.component=e}},{key:"canDrop",value:function(){return!e.canDrop||e.canDrop(this.props,this.monitor)}},{key:"hover",value:function(){e.hover&&e.hover(this.props,this.monitor,this.component)}},{key:"drop",value:function(){if(e.drop){var t=e.drop(this.props,this.monitor,this.component);return t}}}]),t}();return function(e){return new t(e)}}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=i;var s=n(17),u=r(s),l=n(63),c=(r(l),["canDrop","hover","drop"])},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e){return new c(e)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=i;var s=n(17),u=r(s),l=!1,c=function(){function e(t){o(this,e),this.internalMonitor=t.getMonitor()}return a(e,[{key:"receiveHandlerId",value:function(e){
+this.targetId=e}},{key:"canDrop",value:function(){(0,u.default)(!l,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target-monitor.html");try{return l=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{l=!1}}},{key:"isOver",value:function(e){return this.internalMonitor.isOverTarget(this.targetId,e)}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}]),e}()},function(e,t){"use strict";function n(e,t,n){function r(){o.removeSource(i)}var o=n.getRegistry(),i=o.addSource(e,t);return{handlerId:i,unregister:r}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n},function(e,t){"use strict";function n(e,t,n){function r(){o.removeTarget(i)}var o=n.getRegistry(),i=o.addTarget(e,t);return{handlerId:i,unregister:r}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=e.ref;return(0,a.default)("string"!=typeof n,"Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://facebook.github.io/react/docs/more-about-refs.html#the-ref-callback-attribute"),n?(0,s.cloneElement)(e,{ref:function(e){t(e),n&&n(e)}}):(0,s.cloneElement)(e,{ref:t})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(17),a=r(i),s=n(1)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function u(e){return Object.keys(e).reduce(function(t,n){return t[n]=(0,T.default)(e[n]),t},{})}function l(e){return["left","top","width","height"].map(function(t){return t+" "+e/1e3+"s ease-out"})}function c(e,t){function n(e){return r?100-100*d+"%":e-d+"px"}var r=e.fluid,o=e.dockStyle,i=e.dockHiddenStyle,a=e.duration,u=e.position,c=e.isVisible,d=t.size,f=t.isResizing,p=t.fullWidth,h=t.fullHeight,m=void 0,g=r?100*d+"%":d+"px";switch(u){case"left":m={width:g,left:c?0:"-"+g};break;case"right":m={left:c?n(p):p,width:g};break;case"top":m={top:c?0:"-"+g,height:g};break;case"bottom":m={top:c?n(h):h,height:g}}var v=l(a);return[k.dock,(0,T.default)({transition:[].concat(s(v),[!c&&"opacity 0.01s linear "+a/1e3+"s"]).filter(function(e){return e}).join(",")}),o,(0,T.default)(m),f&&k.dockResizing,!c&&k.dockHidden,!c&&i]}function d(e,t){var n=e.dimMode,r=e.dimStyle,o=e.duration,i=e.isVisible,a=t.isTransitionStarted;return[k.dim,(0,T.default)({transition:"opacity "+o/1e3+"s ease-out"}),r,"transparent"===n&&k.dimTransparent,!i&&k.dimHidden,a&&i&&k.dimAppear,a&&!i&&k.dimDisappear]}function f(e){var t=void 0,n=10;switch(e){case"left":t={right:-n/2,width:n,top:0,height:"100%",cursor:"col-resize"};break;case"right":t={left:-n/2,width:n,top:0,height:"100%",cursor:"col-resize"};break;case"top":t={bottom:-n/2,height:n,left:0,width:"100%",cursor:"row-resize"};break;case"bottom":t={top:-n/2,height:n,left:0,width:"100%",cursor:"row-resize"}}return[k.resizer,(0,T.default)(t)]}function p(e,t,n){return"left"===e||"right"===e?t:n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var h,m,g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},v=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),y=n(1),b=r(y),_=n(22),w=r(_),C=n(1003),x=r(C),E=n(1001),T=r(E),k=u({wrapper:{position:"fixed",width:0,height:0,top:0,left:0},dim:{position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:0,background:"rgba(0, 0, 0, 0.2)",opacity:1},dimAppear:{opacity:0},dimTransparent:{pointerEvents:"none"},dimHidden:{opacity:0},dock:{position:"fixed",zIndex:1,boxShadow:"0 0 4px rgba(0, 0, 0, 0.3)",background:"white",left:0,top:0,width:"100%",height:"100%"},dockHidden:{opacity:0},dockResizing:{transition:"none"},dockContent:{width:"100%",height:"100%",overflow:"auto"},resizer:{position:"absolute",zIndex:2,opacity:0}}),S=(m=h=function(e){function t(e){o(this,t);var n=i(this,Object.getPrototypeOf(t).call(this,e));return n.transitionEnd=function(){n.setState({isTransitionStarted:!1})},n.hideDim=function(){n.props.isVisible||n.setState({isDimHidden:!0})},n.handleDimClick=function(){"opaque"===n.props.dimMode&&n.props.onVisibleChange&&n.props.onVisibleChange(!1)},n.handleResize=function(){window.requestAnimationFrame?window.requestAnimationFrame(n.updateWindowSize.bind(n,!0)):n.updateWindowSize(!0)},n.updateWindowSize=function(e){var t={fullWidth:window.innerWidth,fullHeight:window.innerHeight};e?(n.setState(g({},t,{isResizing:!0,isWindowResizing:e})),n.debouncedUpdateWindowSizeEnd()):n.setState(t)},n.updateWindowSizeEnd=function(){n.setState({isResizing:!1,isWindowResizing:!1})},n.debouncedUpdateWindowSizeEnd=(0,x.default)(n.updateWindowSizeEnd,30),n.handleWrapperLeave=function(){n.setState({isResizing:!1})},n.handleMouseDown=function(){n.setState({isResizing:!0})},n.handleMouseUp=function(){n.setState({isResizing:!1})},n.handleMouseMove=function(e){if(n.state.isResizing&&!n.state.isWindowResizing){e.preventDefault();var t=n.props,r=t.position,o=t.fluid,i=n.state,a=i.fullWidth,s=i.fullHeight,u=i.isControlled,l=e.clientX,c=e.clientY,d=void 0;switch(r){case"left":d=o?l/a:l;break;case"right":d=o?(a-l)/a:a-l;break;case"top":d=o?c/s:c;break;case"bottom":d=o?(s-c)/s:s-c}n.props.onSizeChange&&n.props.onSizeChange(d),u||n.setState({size:d})}},n.state={isControlled:"undefined"!=typeof e.size,size:e.size||e.defaultSize,isDimHidden:!e.isVisible,fullWidth:"undefined"!=typeof window&&window.innerWidth,fullHeight:"undefined"!=typeof window&&window.innerHeight,isTransitionStarted:!1,isWindowResizing:!1},n}return a(t,e),v(t,[{key:"componentDidMount",value:function(){window.addEventListener("mouseup",this.handleMouseUp),window.addEventListener("mousemove",this.handleMouseMove),window.addEventListener("resize",this.handleResize),window.fullWidth||this.updateWindowSize()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("mouseup",this.handleMouseUp),window.removeEventListener("mousemove",this.handleMouseMove),window.removeEventListener("resize",this.handleResize)}},{key:"componentWillReceiveProps",value:function(e){var t="undefined"!=typeof e.size;this.setState({isControlled:t}),t&&this.props.size!==e.size?this.setState({size:e.size}):this.props.fluid!==e.fluid&&this.updateSize(e),this.props.isVisible!==e.isVisible&&this.setState({isTransitionStarted:!0})}},{key:"updateSize",value:function(e){var t=this.state,n=t.fullWidth,r=t.fullHeight;this.setState({size:e.fluid?this.state.size/p(e.position,n,r):p(e.position,n,r)*this.state.size})}},{key:"componentDidUpdate",value:function(e){var t=this;this.props.isVisible!==e.isVisible&&(this.props.isVisible?this.setState({isDimHidden:!1}):window.setTimeout(function(){return t.hideDim()},this.props.duration),window.setTimeout(function(){return t.setState({isTransitionStarted:!1})},0))}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.zIndex,r=e.dimMode,o=e.position,i=e.isVisible,a=this.state,u=a.isResizing,l=a.size,p=a.isDimHidden,h=Object.assign.apply(Object,[{}].concat(s(d(this.props,this.state)))),m=Object.assign.apply(Object,[{}].concat(s(c(this.props,this.state)))),g=Object.assign.apply(Object,[{}].concat(s(f(o))));return b.default.createElement("div",{style:Object.assign({},k.wrapper,{zIndex:n})},"none"!==r&&!p&&b.default.createElement("div",{style:h,onClick:this.handleDimClick}),b.default.createElement("div",{style:m},b.default.createElement("div",{style:g,onMouseDown:this.handleMouseDown}),b.default.createElement("div",{style:k.dockContent},"function"==typeof t?t({position:o,isResizing:u,size:l,isVisible:i}):t)))}}]),t}(y.Component),h.propTypes={position:w.default.oneOf(["left","right","top","bottom"]),zIndex:w.default.number,fluid:w.default.bool,size:w.default.number,defaultSize:w.default.number,dimMode:w.default.oneOf(["none","transparent","opaque"]),isVisible:w.default.bool,onVisibleChange:w.default.func,onSizeChange:w.default.func,dimStyle:w.default.object,dockStyle:w.default.object,duration:w.default.number},h.defaultProps={position:"left",zIndex:99999999,fluid:!0,defaultSize:.3,dimMode:"opaque",duration:200},m);t.default=S},function(e,t){"use strict";function n(e,t){return a.reduce(function(n,r){return n[r+e[0].toUpperCase()+e.substr(1)]=t,n},{})}function r(e){return Object.keys(e).reduce(function(t,r){return i.indexOf(r)!==-1?o({},t,n(r,e[r])):t},e)}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=r;var i=["animation","animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction","appearance","backfaceVisibility","backgroundClip","borderImage","borderImageSlice","boxSizing","boxShadow","contentColumns","transform","transformOrigin","transformStyle","transition","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction","perspective","perspectiveOrigin","userSelect"],a=["Moz","Webkit","ms","O"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(1e3),i=r(o);t.default=i.default},function(e,t,n){function r(e,t,n){function r(){v&&clearTimeout(v),p&&clearTimeout(p),b=0,p=v=y=void 0}function i(t,n){n&&clearTimeout(n),p=v=y=void 0,t&&(b=l(),h=e.apply(g,f),v||p||(f=g=void 0))}function u(){var e=t-(l()-m);e<=0||e>t?i(y,p):v=setTimeout(u,e)}function c(){i(w,v)}function d(){if(f=arguments,m=l(),g=this,y=w&&(v||!C),_===!1)var n=C&&!v;else{p||C||(b=m);var r=_-(m-b),o=r<=0||r>_;o?(p&&(p=clearTimeout(p)),b=m,h=e.apply(g,f)):p||(p=setTimeout(c,r))}return o&&v?v=clearTimeout(v):v||t===_||(v=setTimeout(u,t)),n&&(o=!0,h=e.apply(g,f)),!o||v||p||(f=g=void 0),h}var f,p,h,m,g,v,y,b=0,_=!1,w=!0;if("function"!=typeof e)throw new TypeError(a);if(t=t<0?0:+t||0,n===!0){var C=!0;w=!1}else o(n)&&(C=!!n.leading,_="maxWait"in n&&s(+n.maxWait||0,t),w="trailing"in n?!!n.trailing:w);return d.cancel=r,d}function o(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}var i=n(858),a="Expected a function",s=Math.max,u=i(Date,"now"),l=u||function(){return(new Date).getTime()};e.exports=r},function(e,t){"use strict";var n={Properties:{"aria-current":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},DOMAttributeNames:{},DOMPropertyNames:{}};e.exports=n},function(e,t,n){"use strict";var r=n(29),o=n(391),i={focusDOMComponent:function(){o(r.getNodeFromInstance(this))}};e.exports=i},function(e,t,n){"use strict";function r(){var e=window.opera;return"object"==typeof e&&"function"==typeof e.version&&parseInt(e.version(),10)<=12}function o(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function i(e){switch(e){case"topCompositionStart":return k.compositionStart;case"topCompositionEnd":return k.compositionEnd;case"topCompositionUpdate":return k.compositionUpdate}}function a(e,t){return"topKeyDown"===e&&t.keyCode===b}function s(e,t){switch(e){case"topKeyUp":return y.indexOf(t.keyCode)!==-1;case"topKeyDown":return t.keyCode!==b;case"topKeyPress":case"topMouseDown":case"topBlur":return!0;default:return!1}}function u(e){var t=e.detail;return"object"==typeof t&&"data"in t?t.data:null}function l(e,t,n,r){var o,l;if(_?o=i(e):O?s(e,n)&&(o=k.compositionEnd):a(e,n)&&(o=k.compositionStart),!o)return null;x&&(O||o!==k.compositionStart?o===k.compositionEnd&&O&&(l=O.getData()):O=m.getPooled(r));var c=g.getPooled(o,t,n,r);if(l)c.data=l;else{var d=u(n);null!==d&&(c.data=d)}return p.accumulateTwoPhaseDispatches(c),c}function c(e,t){switch(e){case"topCompositionEnd":return u(t);case"topKeyPress":var n=t.which;return n!==E?null:(S=!0,T);case"topTextInput":var r=t.data;return r===T&&S?null:r;default:return null}}function d(e,t){if(O){if("topCompositionEnd"===e||!_&&s(e,t)){var n=O.getData();return m.release(O),O=null,n}return null}switch(e){case"topPaste":return null;case"topKeyPress":return t.which&&!o(t)?String.fromCharCode(t.which):null;case"topCompositionEnd":return x?null:t.data;default:return null}}function f(e,t,n,r){var o;if(o=C?c(e,n):d(e,n),!o)return null;var i=v.getPooled(k.beforeInput,t,n,r);return i.data=o,p.accumulateTwoPhaseDispatches(i),i}var p=n(122),h=n(38),m=n(1013),g=n(1050),v=n(1053),y=[9,13,27,32],b=229,_=h.canUseDOM&&"CompositionEvent"in window,w=null;h.canUseDOM&&"documentMode"in document&&(w=document.documentMode);var C=h.canUseDOM&&"TextEvent"in window&&!w&&!r(),x=h.canUseDOM&&(!_||w&&w>8&&w<=11),E=32,T=String.fromCharCode(E),k={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["topCompositionEnd","topKeyPress","topTextInput","topPaste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:["topBlur","topCompositionEnd","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:["topBlur","topCompositionStart","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:["topBlur","topCompositionUpdate","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]}},S=!1,O=null,M={eventTypes:k,extractEvents:function(e,t,n,r){return[l(e,t,n,r),f(e,t,n,r)]}};e.exports=M},function(e,t,n){"use strict";var r=n(434),o=n(38),i=(n(55),n(837),n(1059)),a=n(844),s=n(848),u=(n(13),s(function(e){return a(e)})),l=!1,c="cssFloat";if(o.canUseDOM){var d=document.createElement("div").style;try{d.font=""}catch(e){l=!0}void 0===document.documentElement.style.cssFloat&&(c="styleFloat")}var f={createMarkupForStyles:function(e,t){var n="";for(var r in e)if(e.hasOwnProperty(r)){var o=e[r];null!=o&&(n+=u(r)+":",n+=i(r,o,t)+";")}return n||null},setValueForStyles:function(e,t,n){var o=e.style;for(var a in t)if(t.hasOwnProperty(a)){var s=i(a,t[a],n);if("float"!==a&&"cssFloat"!==a||(a=c),s)o[a]=s;else{var u=l&&r.shorthandPropertyExpansions[a];if(u)for(var d in u)o[d]="";else o[a]=""}}}};e.exports=f},function(e,t,n){"use strict";function r(e){var t=e.nodeName&&e.nodeName.toLowerCase();return"select"===t||"input"===t&&"file"===e.type}function o(e){var t=E.getPooled(O.change,A,e,T(e));_.accumulateTwoPhaseDispatches(t),x.batchedUpdates(i,t)}function i(e){b.enqueueEvents(e),b.processEventQueue(!1)}function a(e,t){M=e,A=t,M.attachEvent("onchange",o)}function s(){M&&(M.detachEvent("onchange",o),M=null,A=null)}function u(e,t){if("topChange"===e)return t}function l(e,t,n){"topFocus"===e?(s(),a(t,n)):"topBlur"===e&&s()}function c(e,t){M=e,A=t,N=e.value,I=Object.getOwnPropertyDescriptor(e.constructor.prototype,"value"),Object.defineProperty(M,"value",R),M.attachEvent?M.attachEvent("onpropertychange",f):M.addEventListener("propertychange",f,!1)}function d(){M&&(delete M.value,M.detachEvent?M.detachEvent("onpropertychange",f):M.removeEventListener("propertychange",f,!1),M=null,A=null,N=null,I=null)}function f(e){if("value"===e.propertyName){var t=e.srcElement.value;t!==N&&(N=t,o(e))}}function p(e,t){if("topInput"===e)return t}function h(e,t,n){"topFocus"===e?(d(),c(t,n)):"topBlur"===e&&d()}function m(e,t){if(("topSelectionChange"===e||"topKeyUp"===e||"topKeyDown"===e)&&M&&M.value!==N)return N=M.value,A}function g(e){return e.nodeName&&"input"===e.nodeName.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)}function v(e,t){if("topClick"===e)return t}function y(e,t){if(null!=e){var n=e._wrapperState||t._wrapperState;if(n&&n.controlled&&"number"===t.type){var r=""+t.value;t.getAttribute("value")!==r&&t.setAttribute("value",r)}}}var b=n(121),_=n(122),w=n(38),C=n(29),x=n(64),E=n(75),T=n(300),k=n(301),S=n(450),O={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:["topBlur","topChange","topClick","topFocus","topInput","topKeyDown","topKeyUp","topSelectionChange"]}},M=null,A=null,N=null,I=null,P=!1;w.canUseDOM&&(P=k("change")&&(!document.documentMode||document.documentMode>8));var D=!1;w.canUseDOM&&(D=k("input")&&(!document.documentMode||document.documentMode>11));var R={get:function(){return I.get.call(this)},set:function(e){N=""+e,I.set.call(this,e)}},j={eventTypes:O,extractEvents:function(e,t,n,o){var i,a,s=t?C.getNodeFromInstance(t):window;if(r(s)?P?i=u:a=l:S(s)?D?i=p:(i=m,a=h):g(s)&&(i=v),i){var c=i(e,t);if(c){var d=E.getPooled(O.change,c,n,o);return d.type="change",_.accumulateTwoPhaseDispatches(d),d}}a&&a(e,s,t),"topBlur"===e&&y(t,s)}};e.exports=j},function(e,t,n){"use strict";var r=n(16),o=n(119),i=n(38),a=n(840),s=n(40),u=(n(10),{dangerouslyReplaceNodeWithMarkup:function(e,t){if(i.canUseDOM?void 0:r("56"),t?void 0:r("57"),"HTML"===e.nodeName?r("58"):void 0,"string"==typeof t){var n=a(t,s)[0];e.parentNode.replaceChild(n,e)}else o.replaceChildWithTree(e,t)}});e.exports=u},function(e,t){"use strict";var n=["ResponderEventPlugin","SimpleEventPlugin","TapEventPlugin","EnterLeaveEventPlugin","ChangeEventPlugin","SelectEventPlugin","BeforeInputEventPlugin"];e.exports=n},function(e,t,n){"use strict";var r=n(122),o=n(29),i=n(197),a={mouseEnter:{registrationName:"onMouseEnter",dependencies:["topMouseOut","topMouseOver"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["topMouseOut","topMouseOver"]}},s={eventTypes:a,extractEvents:function(e,t,n,s){if("topMouseOver"===e&&(n.relatedTarget||n.fromElement))return null;if("topMouseOut"!==e&&"topMouseOver"!==e)return null;var u;if(s.window===s)u=s;else{var l=s.ownerDocument;u=l?l.defaultView||l.parentWindow:window}var c,d;if("topMouseOut"===e){c=t;var f=n.relatedTarget||n.toElement;d=f?o.getClosestInstanceFromNode(f):null}else c=null,d=t;if(c===d)return null;var p=null==c?u:o.getNodeFromInstance(c),h=null==d?u:o.getNodeFromInstance(d),m=i.getPooled(a.mouseLeave,c,n,s);m.type="mouseleave",m.target=p,m.relatedTarget=h;var g=i.getPooled(a.mouseEnter,d,n,s);return g.type="mouseenter",g.target=h,g.relatedTarget=p,r.accumulateEnterLeaveDispatches(m,g,c,d),[m,g]}};e.exports=s},function(e,t){"use strict";var n={topAbort:null,topAnimationEnd:null,topAnimationIteration:null,topAnimationStart:null,topBlur:null,topCanPlay:null,topCanPlayThrough:null,topChange:null,topClick:null,topCompositionEnd:null,topCompositionStart:null,topCompositionUpdate:null,topContextMenu:null,topCopy:null,topCut:null,topDoubleClick:null,topDrag:null,topDragEnd:null,topDragEnter:null,topDragExit:null,topDragLeave:null,topDragOver:null,topDragStart:null,topDrop:null,topDurationChange:null,topEmptied:null,topEncrypted:null,topEnded:null,topError:null,topFocus:null,topInput:null,topInvalid:null,topKeyDown:null,topKeyPress:null,topKeyUp:null,topLoad:null,topLoadedData:null,topLoadedMetadata:null,topLoadStart:null,topMouseDown:null,topMouseMove:null,topMouseOut:null,topMouseOver:null,topMouseUp:null,topPaste:null,topPause:null,topPlay:null,topPlaying:null,topProgress:null,topRateChange:null,topReset:null,topScroll:null,topSeeked:null,topSeeking:null,topSelectionChange:null,topStalled:null,topSubmit:null,topSuspend:null,topTextInput:null,topTimeUpdate:null,topTouchCancel:null,topTouchEnd:null,topTouchMove:null,topTouchStart:null,topTransitionEnd:null,topVolumeChange:null,topWaiting:null,topWheel:null},r={topLevelTypes:n};e.exports=r},function(e,t,n){"use strict";function r(e){this._root=e,this._startText=this.getText(),this._fallbackText=null}var o=n(21),i=n(103),a=n(448);o(r.prototype,{destructor:function(){this._root=null,this._startText=null,this._fallbackText=null},getText:function(){return"value"in this._root?this._root.value:this._root[a()]},getData:function(){if(this._fallbackText)return this._fallbackText;var e,t,n=this._startText,r=n.length,o=this.getText(),i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);var s=t>1?1-t:void 0;return this._fallbackText=o.slice(e,s),this._fallbackText}}),i.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";var r=n(120),o=r.injection.MUST_USE_PROPERTY,i=r.injection.HAS_BOOLEAN_VALUE,a=r.injection.HAS_NUMERIC_VALUE,s=r.injection.HAS_POSITIVE_NUMERIC_VALUE,u=r.injection.HAS_OVERLOADED_BOOLEAN_VALUE,l={isCustomAttribute:RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+r.ATTRIBUTE_NAME_CHAR+"]*$")),Properties:{accept:0,acceptCharset:0,accessKey:0,action:0,allowFullScreen:i,allowTransparency:0,alt:0,as:0,async:i,autoComplete:0,autoPlay:i,capture:i,cellPadding:0,cellSpacing:0,charSet:0,challenge:0,checked:o|i,cite:0,classID:0,className:0,cols:s,colSpan:0,content:0,contentEditable:0,contextMenu:0,controls:i,coords:0,crossOrigin:0,data:0,dateTime:0,default:i,defer:i,dir:0,disabled:i,download:u,draggable:0,encType:0,form:0,formAction:0,formEncType:0,formMethod:0,formNoValidate:i,formTarget:0,frameBorder:0,headers:0,height:0,hidden:i,high:0,href:0,hrefLang:0,htmlFor:0,httpEquiv:0,icon:0,id:0,inputMode:0,integrity:0,is:0,keyParams:0,keyType:0,kind:0,label:0,lang:0,list:0,loop:i,low:0,manifest:0,marginHeight:0,marginWidth:0,max:0,maxLength:0,media:0,mediaGroup:0,method:0,min:0,minLength:0,multiple:o|i,muted:o|i,name:0,nonce:0,noValidate:i,open:i,optimum:0,pattern:0,placeholder:0,playsInline:i,poster:0,preload:0,profile:0,radioGroup:0,readOnly:i,referrerPolicy:0,rel:0,required:i,reversed:i,role:0,rows:s,rowSpan:a,sandbox:0,scope:0,scoped:i,scrolling:0,seamless:i,selected:o|i,shape:0,size:s,sizes:0,span:s,spellCheck:0,src:0,srcDoc:0,srcLang:0,srcSet:0,start:a,step:0,style:0,summary:0,tabIndex:0,target:0,title:0,type:0,useMap:0,value:0,width:0,wmode:0,wrap:0,about:0,datatype:0,inlist:0,prefix:0,property:0,resource:0,typeof:0,vocab:0,autoCapitalize:0,autoCorrect:0,autoSave:0,color:0,itemProp:0,itemScope:i,itemType:0,itemID:0,itemRef:0,results:0,security:0,unselectable:0},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{},DOMMutationMethods:{value:function(e,t){return null==t?e.removeAttribute("value"):void("number"!==e.type||e.hasAttribute("value")===!1?e.setAttribute("value",""+t):e.validity&&!e.validity.badInput&&e.ownerDocument.activeElement!==e&&e.setAttribute("value",""+t))}}};e.exports=l},function(e,t,n){(function(t){"use strict";function r(e,t,n,r){var o=void 0===e[n];null!=t&&o&&(e[n]=i(t,!0))}var o=n(123),i=n(449),a=(n(291),n(302)),s=n(452);n(13);"undefined"!=typeof t&&t.env,1;var u={instantiateChildren:function(e,t,n,o){if(null==e)return null;var i={};return s(e,r,i),i},updateChildren:function(e,t,n,r,s,u,l,c,d){if(t||e){var f,p;for(f in t)if(t.hasOwnProperty(f)){p=e&&e[f];var h=p&&p._currentElement,m=t[f];if(null!=p&&a(h,m))o.receiveComponent(p,m,s,c),t[f]=p;else{p&&(r[f]=o.getHostNode(p),o.unmountComponent(p,!1));var g=i(m,!0);t[f]=g;var v=o.mountComponent(g,s,u,l,c,d);n.push(v)}}for(f in e)!e.hasOwnProperty(f)||t&&t.hasOwnProperty(f)||(p=e[f],r[f]=o.getHostNode(p),o.unmountComponent(p,!1))}},unmountChildren:function(e,t){for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];o.unmountComponent(r,t)}}};e.exports=u}).call(t,n(160))},function(e,t,n){"use strict";var r=n(288),o=n(1023),i={processChildrenUpdates:o.dangerouslyProcessChildrenUpdates,replaceNodeWithMarkup:r.dangerouslyReplaceNodeWithMarkup};e.exports=i},function(e,t,n){"use strict";function r(e){}function o(e,t){}function i(e){return!(!e.prototype||!e.prototype.isReactComponent)}function a(e){return!(!e.prototype||!e.prototype.isPureReactComponent)}var s=n(16),u=n(21),l=n(127),c=n(293),d=n(76),f=n(294),p=n(149),h=(n(55),n(444)),m=n(123),g=n(115),v=(n(10),n(265)),y=n(302),b=(n(13),{ImpureClass:0,PureClass:1,StatelessFunctional:2});r.prototype.render=function(){var e=p.get(this)._currentElement.type,t=e(this.props,this.context,this.updater);return o(e,t),t};var _=1,w={construct:function(e){this._currentElement=e,this._rootNodeID=0,this._compositeType=null,this._instance=null,this._hostParent=null,this._hostContainerInfo=null,this._updateBatchNumber=null,this._pendingElement=null,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._renderedNodeType=null,this._renderedComponent=null,this._context=null,this._mountOrder=0,this._topLevelWrapper=null,this._pendingCallbacks=null,this._calledComponentWillUnmount=!1},mountComponent:function(e,t,n,u){this._context=u,this._mountOrder=_++,this._hostParent=t,this._hostContainerInfo=n;var c,d=this._currentElement.props,f=this._processContext(u),h=this._currentElement.type,m=e.getUpdateQueue(),v=i(h),y=this._constructComponent(v,d,f,m);v||null!=y&&null!=y.render?a(h)?this._compositeType=b.PureClass:this._compositeType=b.ImpureClass:(c=y,o(h,c),null===y||y===!1||l.isValidElement(y)?void 0:s("105",h.displayName||h.name||"Component"),y=new r(h),this._compositeType=b.StatelessFunctional);y.props=d,y.context=f,y.refs=g,y.updater=m,this._instance=y,p.set(y,this);var w=y.state;void 0===w&&(y.state=w=null),"object"!=typeof w||Array.isArray(w)?s("106",this.getName()||"ReactCompositeComponent"):void 0,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1;var C;return C=y.unstable_handleError?this.performInitialMountWithErrorHandling(c,t,n,e,u):this.performInitialMount(c,t,n,e,u),y.componentDidMount&&e.getReactMountReady().enqueue(y.componentDidMount,y),C},_constructComponent:function(e,t,n,r){return this._constructComponentWithoutOwner(e,t,n,r)},_constructComponentWithoutOwner:function(e,t,n,r){var o=this._currentElement.type;return e?new o(t,n,r):o(t,n,r)},performInitialMountWithErrorHandling:function(e,t,n,r,o){var i,a=r.checkpoint();try{i=this.performInitialMount(e,t,n,r,o)}catch(s){r.rollback(a),this._instance.unstable_handleError(s),this._pendingStateQueue&&(this._instance.state=this._processPendingState(this._instance.props,this._instance.context)),a=r.checkpoint(),this._renderedComponent.unmountComponent(!0),r.rollback(a),i=this.performInitialMount(e,t,n,r,o)}return i},performInitialMount:function(e,t,n,r,o){var i=this._instance,a=0;i.componentWillMount&&(i.componentWillMount(),this._pendingStateQueue&&(i.state=this._processPendingState(i.props,i.context))),void 0===e&&(e=this._renderValidatedComponent());var s=h.getType(e);this._renderedNodeType=s;var u=this._instantiateReactComponent(e,s!==h.EMPTY);this._renderedComponent=u;var l=m.mountComponent(u,r,t,n,this._processChildContext(o),a);return l},getHostNode:function(){return m.getHostNode(this._renderedComponent)},unmountComponent:function(e){if(this._renderedComponent){var t=this._instance;if(t.componentWillUnmount&&!t._calledComponentWillUnmount)if(t._calledComponentWillUnmount=!0,e){var n=this.getName()+".componentWillUnmount()";f.invokeGuardedCallback(n,t.componentWillUnmount.bind(t))}else t.componentWillUnmount();this._renderedComponent&&(m.unmountComponent(this._renderedComponent,e),this._renderedNodeType=null,this._renderedComponent=null,this._instance=null),this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._pendingCallbacks=null,this._pendingElement=null,this._context=null,this._rootNodeID=0,this._topLevelWrapper=null,p.remove(t)}},_maskContext:function(e){var t=this._currentElement.type,n=t.contextTypes;if(!n)return g;var r={};for(var o in n)r[o]=e[o];return r},_processContext:function(e){var t=this._maskContext(e);return t},_processChildContext:function(e){var t,n=this._currentElement.type,r=this._instance;if(r.getChildContext&&(t=r.getChildContext()),t){"object"!=typeof n.childContextTypes?s("107",this.getName()||"ReactCompositeComponent"):void 0;for(var o in t)o in n.childContextTypes?void 0:s("108",this.getName()||"ReactCompositeComponent",o);return u({},e,t)}return e},_checkContextTypes:function(e,t,n){},receiveComponent:function(e,t,n){var r=this._currentElement,o=this._context;this._pendingElement=null,this.updateComponent(t,r,e,o,n)},performUpdateIfNecessary:function(e){null!=this._pendingElement?m.receiveComponent(this,this._pendingElement,e,this._context):null!==this._pendingStateQueue||this._pendingForceUpdate?this.updateComponent(e,this._currentElement,this._currentElement,this._context,this._context):this._updateBatchNumber=null},updateComponent:function(e,t,n,r,o){var i=this._instance;null==i?s("136",this.getName()||"ReactCompositeComponent"):void 0;var a,u=!1;this._context===o?a=i.context:(a=this._processContext(o),u=!0);var l=t.props,c=n.props;t!==n&&(u=!0),u&&i.componentWillReceiveProps&&i.componentWillReceiveProps(c,a);var d=this._processPendingState(c,a),f=!0;this._pendingForceUpdate||(i.shouldComponentUpdate?f=i.shouldComponentUpdate(c,d,a):this._compositeType===b.PureClass&&(f=!v(l,c)||!v(i.state,d))),this._updateBatchNumber=null,f?(this._pendingForceUpdate=!1,this._performComponentUpdate(n,c,d,a,e,o)):(this._currentElement=n,this._context=o,i.props=c,i.state=d,i.context=a)},_processPendingState:function(e,t){var n=this._instance,r=this._pendingStateQueue,o=this._pendingReplaceState;if(this._pendingReplaceState=!1,this._pendingStateQueue=null,!r)return n.state;if(o&&1===r.length)return r[0];for(var i=u({},o?r[0]:n.state),a=o?1:0;a<r.length;a++){var s=r[a];u(i,"function"==typeof s?s.call(n,i,e,t):s)}return i},_performComponentUpdate:function(e,t,n,r,o,i){var a,s,u,l=this._instance,c=Boolean(l.componentDidUpdate);c&&(a=l.props,s=l.state,u=l.context),l.componentWillUpdate&&l.componentWillUpdate(t,n,r),this._currentElement=e,this._context=i,l.props=t,
+l.state=n,l.context=r,this._updateRenderedComponent(o,i),c&&o.getReactMountReady().enqueue(l.componentDidUpdate.bind(l,a,s,u),l)},_updateRenderedComponent:function(e,t){var n=this._renderedComponent,r=n._currentElement,o=this._renderValidatedComponent(),i=0;if(y(r,o))m.receiveComponent(n,o,e,this._processChildContext(t));else{var a=m.getHostNode(n);m.unmountComponent(n,!1);var s=h.getType(o);this._renderedNodeType=s;var u=this._instantiateReactComponent(o,s!==h.EMPTY);this._renderedComponent=u;var l=m.mountComponent(u,e,this._hostParent,this._hostContainerInfo,this._processChildContext(t),i);this._replaceNodeWithMarkup(a,l,n)}},_replaceNodeWithMarkup:function(e,t,n){c.replaceNodeWithMarkup(e,t,n)},_renderValidatedComponentWithoutOwnerOrContext:function(){var e,t=this._instance;return e=t.render()},_renderValidatedComponent:function(){var e;if(this._compositeType!==b.StatelessFunctional){d.current=this;try{e=this._renderValidatedComponentWithoutOwnerOrContext()}finally{d.current=null}}else e=this._renderValidatedComponentWithoutOwnerOrContext();return null===e||e===!1||l.isValidElement(e)?void 0:s("109",this.getName()||"ReactCompositeComponent"),e},attachRef:function(e,t){var n=this.getPublicInstance();null==n?s("110"):void 0;var r=t.getPublicInstance(),o=n.refs===g?n.refs={}:n.refs;o[e]=r},detachRef:function(e){var t=this.getPublicInstance().refs;delete t[e]},getName:function(){var e=this._currentElement.type,t=this._instance&&this._instance.constructor;return e.displayName||t&&t.displayName||e.name||t&&t.name||null},getPublicInstance:function(){var e=this._instance;return this._compositeType===b.StatelessFunctional?null:e},_instantiateReactComponent:null};e.exports=w},function(e,t,n){"use strict";var r=n(29),o=n(1031),i=n(443),a=n(123),s=n(64),u=n(1044),l=n(1060),c=n(447),d=n(1067);n(13);o.inject();var f={findDOMNode:l,render:i.render,unmountComponentAtNode:i.unmountComponentAtNode,version:u,unstable_batchedUpdates:s.batchedUpdates,unstable_renderSubtreeIntoContainer:d};"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject&&__REACT_DEVTOOLS_GLOBAL_HOOK__.inject({ComponentTree:{getClosestInstanceFromNode:r.getClosestInstanceFromNode,getNodeFromInstance:function(e){return e._renderedComponent&&(e=c(e)),e?r.getNodeFromInstance(e):null}},Mount:i,Reconciler:a});e.exports=f},function(e,t,n){"use strict";function r(e){if(e){var t=e._currentElement._owner||null;if(t){var n=t.getName();if(n)return" This DOM node was rendered by `"+n+"`."}}return""}function o(e,t){t&&(K[e._tag]&&(null!=t.children||null!=t.dangerouslySetInnerHTML?m("137",e._tag,e._currentElement._owner?" Check the render method of "+e._currentElement._owner.getName()+".":""):void 0),null!=t.dangerouslySetInnerHTML&&(null!=t.children?m("60"):void 0,"object"==typeof t.dangerouslySetInnerHTML&&z in t.dangerouslySetInnerHTML?void 0:m("61")),null!=t.style&&"object"!=typeof t.style?m("62",r(e)):void 0)}function i(e,t,n,r){if(!(r instanceof P)){var o=e._hostContainerInfo,i=o._node&&o._node.nodeType===W,s=i?o._node:o._ownerDocument;B(t,s),r.getReactMountReady().enqueue(a,{inst:e,registrationName:t,listener:n})}}function a(){var e=this;x.putListener(e.inst,e.registrationName,e.listener)}function s(){var e=this;O.postMountWrapper(e)}function u(){var e=this;N.postMountWrapper(e)}function l(){var e=this;M.postMountWrapper(e)}function c(){var e=this;e._rootNodeID?void 0:m("63");var t=L(e);switch(t?void 0:m("64"),e._tag){case"iframe":case"object":e._wrapperState.listeners=[T.trapBubbledEvent("topLoad","load",t)];break;case"video":case"audio":e._wrapperState.listeners=[];for(var n in V)V.hasOwnProperty(n)&&e._wrapperState.listeners.push(T.trapBubbledEvent(n,V[n],t));break;case"source":e._wrapperState.listeners=[T.trapBubbledEvent("topError","error",t)];break;case"img":e._wrapperState.listeners=[T.trapBubbledEvent("topError","error",t),T.trapBubbledEvent("topLoad","load",t)];break;case"form":e._wrapperState.listeners=[T.trapBubbledEvent("topReset","reset",t),T.trapBubbledEvent("topSubmit","submit",t)];break;case"input":case"select":case"textarea":e._wrapperState.listeners=[T.trapBubbledEvent("topInvalid","invalid",t)]}}function d(){A.postUpdateWrapper(this)}function f(e){Q.call(X,e)||($.test(e)?void 0:m("65",e),X[e]=!0)}function p(e,t){return e.indexOf("-")>=0||null!=t.is}function h(e){var t=e.type;f(t),this._currentElement=e,this._tag=t.toLowerCase(),this._namespaceURI=null,this._renderedChildren=null,this._previousStyle=null,this._previousStyleCopy=null,this._hostNode=null,this._hostParent=null,this._rootNodeID=0,this._domID=0,this._hostContainerInfo=null,this._wrapperState=null,this._topLevelWrapper=null,this._flags=0}var m=n(16),g=n(21),v=n(1005),y=n(1007),b=n(119),_=n(289),w=n(120),C=n(436),x=n(121),E=n(290),T=n(196),k=n(437),S=n(29),O=n(1024),M=n(1025),A=n(438),N=n(1028),I=(n(55),n(1037)),P=n(1042),D=(n(40),n(199)),R=(n(10),n(301),n(265),n(303),n(13),k),j=x.deleteListener,L=S.getNodeFromInstance,B=T.listenTo,F=E.registrationNameModules,U={string:!0,number:!0},H="style",z="__html",q={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null},W=11,V={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"},G={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},Y={listing:!0,pre:!0,textarea:!0},K=g({menuitem:!0},G),$=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,X={},Q={}.hasOwnProperty,J=1;h.displayName="ReactDOMComponent",h.Mixin={mountComponent:function(e,t,n,r){this._rootNodeID=J++,this._domID=n._idCounter++,this._hostParent=t,this._hostContainerInfo=n;var i=this._currentElement.props;switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":this._wrapperState={listeners:null},e.getReactMountReady().enqueue(c,this);break;case"input":O.mountWrapper(this,i,t),i=O.getHostProps(this,i),e.getReactMountReady().enqueue(c,this);break;case"option":M.mountWrapper(this,i,t),i=M.getHostProps(this,i);break;case"select":A.mountWrapper(this,i,t),i=A.getHostProps(this,i),e.getReactMountReady().enqueue(c,this);break;case"textarea":N.mountWrapper(this,i,t),i=N.getHostProps(this,i),e.getReactMountReady().enqueue(c,this)}o(this,i);var a,d;null!=t?(a=t._namespaceURI,d=t._tag):n._tag&&(a=n._namespaceURI,d=n._tag),(null==a||a===_.svg&&"foreignobject"===d)&&(a=_.html),a===_.html&&("svg"===this._tag?a=_.svg:"math"===this._tag&&(a=_.mathml)),this._namespaceURI=a;var f;if(e.useCreateElement){var p,h=n._ownerDocument;if(a===_.html)if("script"===this._tag){var m=h.createElement("div"),g=this._currentElement.type;m.innerHTML="<"+g+"></"+g+">",p=m.removeChild(m.firstChild)}else p=i.is?h.createElement(this._currentElement.type,i.is):h.createElement(this._currentElement.type);else p=h.createElementNS(a,this._currentElement.type);S.precacheNode(this,p),this._flags|=R.hasCachedChildNodes,this._hostParent||C.setAttributeForRoot(p),this._updateDOMProperties(null,i,e);var y=b(p);this._createInitialChildren(e,i,r,y),f=y}else{var w=this._createOpenTagMarkupAndPutListeners(e,i),x=this._createContentMarkup(e,i,r);f=!x&&G[this._tag]?w+"/>":w+">"+x+"</"+this._currentElement.type+">"}switch(this._tag){case"input":e.getReactMountReady().enqueue(s,this),i.autoFocus&&e.getReactMountReady().enqueue(v.focusDOMComponent,this);break;case"textarea":e.getReactMountReady().enqueue(u,this),i.autoFocus&&e.getReactMountReady().enqueue(v.focusDOMComponent,this);break;case"select":i.autoFocus&&e.getReactMountReady().enqueue(v.focusDOMComponent,this);break;case"button":i.autoFocus&&e.getReactMountReady().enqueue(v.focusDOMComponent,this);break;case"option":e.getReactMountReady().enqueue(l,this)}return f},_createOpenTagMarkupAndPutListeners:function(e,t){var n="<"+this._currentElement.type;for(var r in t)if(t.hasOwnProperty(r)){var o=t[r];if(null!=o)if(F.hasOwnProperty(r))o&&i(this,r,o,e);else{r===H&&(o&&(o=this._previousStyleCopy=g({},t.style)),o=y.createMarkupForStyles(o,this));var a=null;null!=this._tag&&p(this._tag,t)?q.hasOwnProperty(r)||(a=C.createMarkupForCustomAttribute(r,o)):a=C.createMarkupForProperty(r,o),a&&(n+=" "+a)}}return e.renderToStaticMarkup?n:(this._hostParent||(n+=" "+C.createMarkupForRoot()),n+=" "+C.createMarkupForID(this._domID))},_createContentMarkup:function(e,t,n){var r="",o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&(r=o.__html);else{var i=U[typeof t.children]?t.children:null,a=null!=i?null:t.children;if(null!=i)r=D(i);else if(null!=a){var s=this.mountChildren(a,e,n);r=s.join("")}}return Y[this._tag]&&"\n"===r.charAt(0)?"\n"+r:r},_createInitialChildren:function(e,t,n,r){var o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&b.queueHTML(r,o.__html);else{var i=U[typeof t.children]?t.children:null,a=null!=i?null:t.children;if(null!=i)""!==i&&b.queueText(r,i);else if(null!=a)for(var s=this.mountChildren(a,e,n),u=0;u<s.length;u++)b.queueChild(r,s[u])}},receiveComponent:function(e,t,n){var r=this._currentElement;this._currentElement=e,this.updateComponent(t,r,e,n)},updateComponent:function(e,t,n,r){var i=t.props,a=this._currentElement.props;switch(this._tag){case"input":i=O.getHostProps(this,i),a=O.getHostProps(this,a);break;case"option":i=M.getHostProps(this,i),a=M.getHostProps(this,a);break;case"select":i=A.getHostProps(this,i),a=A.getHostProps(this,a);break;case"textarea":i=N.getHostProps(this,i),a=N.getHostProps(this,a)}switch(o(this,a),this._updateDOMProperties(i,a,e),this._updateDOMChildren(i,a,e,r),this._tag){case"input":O.updateWrapper(this);break;case"textarea":N.updateWrapper(this);break;case"select":e.getReactMountReady().enqueue(d,this)}},_updateDOMProperties:function(e,t,n){var r,o,a;for(r in e)if(!t.hasOwnProperty(r)&&e.hasOwnProperty(r)&&null!=e[r])if(r===H){var s=this._previousStyleCopy;for(o in s)s.hasOwnProperty(o)&&(a=a||{},a[o]="");this._previousStyleCopy=null}else F.hasOwnProperty(r)?e[r]&&j(this,r):p(this._tag,e)?q.hasOwnProperty(r)||C.deleteValueForAttribute(L(this),r):(w.properties[r]||w.isCustomAttribute(r))&&C.deleteValueForProperty(L(this),r);for(r in t){var u=t[r],l=r===H?this._previousStyleCopy:null!=e?e[r]:void 0;if(t.hasOwnProperty(r)&&u!==l&&(null!=u||null!=l))if(r===H)if(u?u=this._previousStyleCopy=g({},u):this._previousStyleCopy=null,l){for(o in l)!l.hasOwnProperty(o)||u&&u.hasOwnProperty(o)||(a=a||{},a[o]="");for(o in u)u.hasOwnProperty(o)&&l[o]!==u[o]&&(a=a||{},a[o]=u[o])}else a=u;else if(F.hasOwnProperty(r))u?i(this,r,u,n):l&&j(this,r);else if(p(this._tag,t))q.hasOwnProperty(r)||C.setValueForAttribute(L(this),r,u);else if(w.properties[r]||w.isCustomAttribute(r)){var c=L(this);null!=u?C.setValueForProperty(c,r,u):C.deleteValueForProperty(c,r)}}a&&y.setValueForStyles(L(this),a,this)},_updateDOMChildren:function(e,t,n,r){var o=U[typeof e.children]?e.children:null,i=U[typeof t.children]?t.children:null,a=e.dangerouslySetInnerHTML&&e.dangerouslySetInnerHTML.__html,s=t.dangerouslySetInnerHTML&&t.dangerouslySetInnerHTML.__html,u=null!=o?null:e.children,l=null!=i?null:t.children,c=null!=o||null!=a,d=null!=i||null!=s;null!=u&&null==l?this.updateChildren(null,n,r):c&&!d&&this.updateTextContent(""),null!=i?o!==i&&this.updateTextContent(""+i):null!=s?a!==s&&this.updateMarkup(""+s):null!=l&&this.updateChildren(l,n,r)},getHostNode:function(){return L(this)},unmountComponent:function(e){switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":var t=this._wrapperState.listeners;if(t)for(var n=0;n<t.length;n++)t[n].remove();break;case"html":case"head":case"body":m("66",this._tag)}this.unmountChildren(e),S.uncacheNode(this),x.deleteAllListeners(this),this._rootNodeID=0,this._domID=0,this._wrapperState=null},getPublicInstance:function(){return L(this)}},g(h.prototype,h.Mixin,I.Mixin),e.exports=h},function(e,t,n){"use strict";function r(e,t){var n={_topLevelWrapper:e,_idCounter:1,_ownerDocument:t?t.nodeType===o?t:t.ownerDocument:null,_node:t,_tag:t?t.nodeName.toLowerCase():null,_namespaceURI:t?t.namespaceURI:null};return n}var o=(n(303),9);e.exports=r},function(e,t,n){"use strict";var r=n(21),o=n(119),i=n(29),a=function(e){this._currentElement=null,this._hostNode=null,this._hostParent=null,this._hostContainerInfo=null,this._domID=0};r(a.prototype,{mountComponent:function(e,t,n,r){var a=n._idCounter++;this._domID=a,this._hostParent=t,this._hostContainerInfo=n;var s=" react-empty: "+this._domID+" ";if(e.useCreateElement){var u=n._ownerDocument,l=u.createComment(s);return i.precacheNode(this,l),o(l)}return e.renderToStaticMarkup?"":"<!--"+s+"-->"},receiveComponent:function(){},getHostNode:function(){return i.getNodeFromInstance(this)},unmountComponent:function(){i.uncacheNode(this)}}),e.exports=a},function(e,t){"use strict";var n={useCreateElement:!0,useFiber:!1};e.exports=n},function(e,t,n){"use strict";var r=n(288),o=n(29),i={dangerouslyProcessChildrenUpdates:function(e,t){var n=o.getNodeFromInstance(e);r.processUpdates(n,t)}};e.exports=i},function(e,t,n){"use strict";function r(){this._rootNodeID&&f.updateWrapper(this)}function o(e){var t="checkbox"===e.type||"radio"===e.type;return t?null!=e.checked:null!=e.value}function i(e){var t=this._currentElement.props,n=l.executeOnChange(t,e);d.asap(r,this);var o=t.name;if("radio"===t.type&&null!=o){for(var i=c.getNodeFromInstance(this),s=i;s.parentNode;)s=s.parentNode;for(var u=s.querySelectorAll("input[name="+JSON.stringify(""+o)+'][type="radio"]'),f=0;f<u.length;f++){var p=u[f];if(p!==i&&p.form===i.form){var h=c.getInstanceFromNode(p);h?void 0:a("90"),d.asap(r,h)}}}return n}var a=n(16),s=n(21),u=n(436),l=n(292),c=n(29),d=n(64),f=(n(10),n(13),{getHostProps:function(e,t){var n=l.getValue(t),r=l.getChecked(t),o=s({type:void 0,step:void 0,min:void 0,max:void 0},t,{defaultChecked:void 0,defaultValue:void 0,value:null!=n?n:e._wrapperState.initialValue,checked:null!=r?r:e._wrapperState.initialChecked,onChange:e._wrapperState.onChange});return o},mountWrapper:function(e,t){var n=t.defaultValue;e._wrapperState={initialChecked:null!=t.checked?t.checked:t.defaultChecked,initialValue:null!=t.value?t.value:n,listeners:null,onChange:i.bind(e),controlled:o(t)}},updateWrapper:function(e){var t=e._currentElement.props,n=t.checked;null!=n&&u.setValueForProperty(c.getNodeFromInstance(e),"checked",n||!1);var r=c.getNodeFromInstance(e),o=l.getValue(t);if(null!=o)if(0===o&&""===r.value)r.value="0";else if("number"===t.type){var i=parseFloat(r.value,10)||0;o!=i&&(r.value=""+o)}else o!=r.value&&(r.value=""+o);else null==t.value&&null!=t.defaultValue&&r.defaultValue!==""+t.defaultValue&&(r.defaultValue=""+t.defaultValue),null==t.checked&&null!=t.defaultChecked&&(r.defaultChecked=!!t.defaultChecked)},postMountWrapper:function(e){var t=e._currentElement.props,n=c.getNodeFromInstance(e);switch(t.type){case"submit":case"reset":break;case"color":case"date":case"datetime":case"datetime-local":case"month":case"time":case"week":n.value="",n.value=n.defaultValue;break;default:n.value=n.value}var r=n.name;""!==r&&(n.name=""),n.defaultChecked=!n.defaultChecked,n.defaultChecked=!n.defaultChecked,""!==r&&(n.name=r)}});e.exports=f},function(e,t,n){"use strict";function r(e){var t="";return i.Children.forEach(e,function(e){null!=e&&("string"==typeof e||"number"==typeof e?t+=e:u||(u=!0))}),t}var o=n(21),i=n(127),a=n(29),s=n(438),u=(n(13),!1),l={mountWrapper:function(e,t,n){var o=null;if(null!=n){var i=n;"optgroup"===i._tag&&(i=i._hostParent),null!=i&&"select"===i._tag&&(o=s.getSelectValueContext(i))}var a=null;if(null!=o){var u;if(u=null!=t.value?t.value+"":r(t.children),a=!1,Array.isArray(o)){for(var l=0;l<o.length;l++)if(""+o[l]===u){a=!0;break}}else a=""+o===u}e._wrapperState={selected:a}},postMountWrapper:function(e){var t=e._currentElement.props;if(null!=t.value){var n=a.getNodeFromInstance(e);n.setAttribute("value",t.value)}},getHostProps:function(e,t){var n=o({selected:void 0,children:void 0},t);null!=e._wrapperState.selected&&(n.selected=e._wrapperState.selected);var i=r(t.children);return i&&(n.children=i),n}};e.exports=l},function(e,t,n){"use strict";function r(e,t,n,r){return e===n&&t===r}function o(e){var t=document.selection,n=t.createRange(),r=n.text.length,o=n.duplicate();o.moveToElementText(e),o.setEndPoint("EndToStart",n);var i=o.text.length,a=i+r;return{start:i,end:a}}function i(e){var t=window.getSelection&&window.getSelection();if(!t||0===t.rangeCount)return null;var n=t.anchorNode,o=t.anchorOffset,i=t.focusNode,a=t.focusOffset,s=t.getRangeAt(0);try{s.startContainer.nodeType,s.endContainer.nodeType}catch(e){return null}var u=r(t.anchorNode,t.anchorOffset,t.focusNode,t.focusOffset),l=u?0:s.toString().length,c=s.cloneRange();c.selectNodeContents(e),c.setEnd(s.startContainer,s.startOffset);var d=r(c.startContainer,c.startOffset,c.endContainer,c.endOffset),f=d?0:c.toString().length,p=f+l,h=document.createRange();h.setStart(n,o),h.setEnd(i,a);var m=h.collapsed;return{start:m?p:f,end:m?f:p}}function a(e,t){var n,r,o=document.selection.createRange().duplicate();void 0===t.end?(n=t.start,r=n):t.start>t.end?(n=t.end,r=t.start):(n=t.start,r=t.end),o.moveToElementText(e),o.moveStart("character",n),o.setEndPoint("EndToStart",o),o.moveEnd("character",r-n),o.select()}function s(e,t){if(window.getSelection){var n=window.getSelection(),r=e[c()].length,o=Math.min(t.start,r),i=void 0===t.end?o:Math.min(t.end,r);if(!n.extend&&o>i){var a=i;i=o,o=a}var s=l(e,o),u=l(e,i);if(s&&u){var d=document.createRange();d.setStart(s.node,s.offset),n.removeAllRanges(),o>i?(n.addRange(d),n.extend(u.node,u.offset)):(d.setEnd(u.node,u.offset),n.addRange(d))}}}var u=n(38),l=n(1064),c=n(448),d=u.canUseDOM&&"selection"in document&&!("getSelection"in window),f={getOffsets:d?o:i,setOffsets:d?a:s};e.exports=f},function(e,t,n){"use strict";var r=n(16),o=n(21),i=n(288),a=n(119),s=n(29),u=n(199),l=(n(10),n(303),function(e){this._currentElement=e,this._stringText=""+e,this._hostNode=null,this._hostParent=null,this._domID=0,this._mountIndex=0,this._closingComment=null,this._commentNodes=null});o(l.prototype,{mountComponent:function(e,t,n,r){var o=n._idCounter++,i=" react-text: "+o+" ",l=" /react-text ";if(this._domID=o,this._hostParent=t,e.useCreateElement){var c=n._ownerDocument,d=c.createComment(i),f=c.createComment(l),p=a(c.createDocumentFragment());return a.queueChild(p,a(d)),this._stringText&&a.queueChild(p,a(c.createTextNode(this._stringText))),a.queueChild(p,a(f)),s.precacheNode(this,d),this._closingComment=f,p}var h=u(this._stringText);return e.renderToStaticMarkup?h:"<!--"+i+"-->"+h+"<!--"+l+"-->"},receiveComponent:function(e,t){if(e!==this._currentElement){this._currentElement=e;var n=""+e;if(n!==this._stringText){this._stringText=n;var r=this.getHostNode();i.replaceDelimitedText(r[0],r[1],n)}}},getHostNode:function(){var e=this._commentNodes;if(e)return e;if(!this._closingComment)for(var t=s.getNodeFromInstance(this),n=t.nextSibling;;){if(null==n?r("67",this._domID):void 0,8===n.nodeType&&" /react-text "===n.nodeValue){this._closingComment=n;break}n=n.nextSibling}return e=[this._hostNode,this._closingComment],this._commentNodes=e,e},unmountComponent:function(){this._closingComment=null,this._commentNodes=null,s.uncacheNode(this)}}),e.exports=l},function(e,t,n){"use strict";function r(){this._rootNodeID&&c.updateWrapper(this)}function o(e){var t=this._currentElement.props,n=s.executeOnChange(t,e);return l.asap(r,this),n}var i=n(16),a=n(21),s=n(292),u=n(29),l=n(64),c=(n(10),n(13),{getHostProps:function(e,t){null!=t.dangerouslySetInnerHTML?i("91"):void 0;var n=a({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue,onChange:e._wrapperState.onChange});return n},mountWrapper:function(e,t){var n=s.getValue(t),r=n;if(null==n){var a=t.defaultValue,u=t.children;null!=u&&(null!=a?i("92"):void 0,Array.isArray(u)&&(u.length<=1?void 0:i("93"),u=u[0]),a=""+u),null==a&&(a=""),r=a}e._wrapperState={initialValue:""+r,listeners:null,onChange:o.bind(e)}},updateWrapper:function(e){var t=e._currentElement.props,n=u.getNodeFromInstance(e),r=s.getValue(t);if(null!=r){var o=""+r;o!==n.value&&(n.value=o),null==t.defaultValue&&(n.defaultValue=o)}null!=t.defaultValue&&(n.defaultValue=t.defaultValue)},postMountWrapper:function(e){var t=u.getNodeFromInstance(e),n=t.textContent;n===e._wrapperState.initialValue&&(t.value=n)}});e.exports=c},function(e,t,n){"use strict";function r(e,t){"_hostNode"in e?void 0:u("33"),"_hostNode"in t?void 0:u("33");for(var n=0,r=e;r;r=r._hostParent)n++;for(var o=0,i=t;i;i=i._hostParent)o++;for(;n-o>0;)e=e._hostParent,n--;for(;o-n>0;)t=t._hostParent,o--;for(var a=n;a--;){if(e===t)return e;e=e._hostParent,t=t._hostParent}return null}function o(e,t){"_hostNode"in e?void 0:u("35"),"_hostNode"in t?void 0:u("35");for(;t;){if(t===e)return!0;t=t._hostParent}return!1}function i(e){return"_hostNode"in e?void 0:u("36"),e._hostParent}function a(e,t,n){for(var r=[];e;)r.push(e),e=e._hostParent;var o;for(o=r.length;o-- >0;)t(r[o],"captured",n);for(o=0;o<r.length;o++)t(r[o],"bubbled",n)}function s(e,t,n,o,i){for(var a=e&&t?r(e,t):null,s=[];e&&e!==a;)s.push(e),e=e._hostParent;for(var u=[];t&&t!==a;)u.push(t),t=t._hostParent;var l;for(l=0;l<s.length;l++)n(s[l],"bubbled",o);for(l=u.length;l-- >0;)n(u[l],"captured",i)}var u=n(16);n(10);e.exports={isAncestor:o,getLowestCommonAncestor:r,getParentInstance:i,traverseTwoPhase:a,traverseEnterLeave:s}},function(e,t,n){"use strict";function r(){this.reinitializeTransaction()}var o=n(21),i=n(64),a=n(198),s=n(40),u={initialize:s,close:function(){f.isBatchingUpdates=!1}},l={initialize:s,close:i.flushBatchedUpdates.bind(i)},c=[l,u];o(r.prototype,a,{getTransactionWrappers:function(){return c}});var d=new r,f={isBatchingUpdates:!1,batchedUpdates:function(e,t,n,r,o,i){var a=f.isBatchingUpdates;return f.isBatchingUpdates=!0,a?e(t,n,r,o,i):d.perform(e,null,t,n,r,o,i)}};e.exports=f},function(e,t,n){"use strict";function r(){x||(x=!0,y.EventEmitter.injectReactEventListener(v),y.EventPluginHub.injectEventPluginOrder(s),y.EventPluginUtils.injectComponentTree(f),y.EventPluginUtils.injectTreeTraversal(h),y.EventPluginHub.injectEventPluginsByName({SimpleEventPlugin:C,EnterLeaveEventPlugin:u,ChangeEventPlugin:a,SelectEventPlugin:w,BeforeInputEventPlugin:i}),y.HostComponent.injectGenericComponentClass(d),y.HostComponent.injectTextComponentClass(m),y.DOMProperty.injectDOMPropertyConfig(o),y.DOMProperty.injectDOMPropertyConfig(l),y.DOMProperty.injectDOMPropertyConfig(_),y.EmptyComponent.injectEmptyComponentFactory(function(e){return new p(e)}),y.Updates.injectReconcileTransaction(b),y.Updates.injectBatchingStrategy(g),y.Component.injectEnvironment(c))}var o=n(1004),i=n(1006),a=n(1008),s=n(1010),u=n(1011),l=n(1014),c=n(1016),d=n(1019),f=n(29),p=n(1021),h=n(1029),m=n(1027),g=n(1030),v=n(1034),y=n(1035),b=n(1040),_=n(1045),w=n(1046),C=n(1047),x=!1;e.exports={inject:r}},470,function(e,t,n){"use strict";function r(e){o.enqueueEvents(e),o.processEventQueue(!1)}var o=n(121),i={handleTopLevel:function(e,t,n,i){var a=o.extractEvents(e,t,n,i);r(a)}};e.exports=i},function(e,t,n){"use strict";function r(e){for(;e._hostParent;)e=e._hostParent;var t=d.getNodeFromInstance(e),n=t.parentNode;return d.getClosestInstanceFromNode(n)}function o(e,t){this.topLevelType=e,this.nativeEvent=t,this.ancestors=[]}function i(e){var t=p(e.nativeEvent),n=d.getClosestInstanceFromNode(t),o=n;do e.ancestors.push(o),o=o&&r(o);while(o);for(var i=0;i<e.ancestors.length;i++)n=e.ancestors[i],m._handleTopLevel(e.topLevelType,n,e.nativeEvent,p(e.nativeEvent))}function a(e){var t=h(window);e(t)}var s=n(21),u=n(390),l=n(38),c=n(103),d=n(29),f=n(64),p=n(300),h=n(842);s(o.prototype,{destructor:function(){this.topLevelType=null,this.nativeEvent=null,this.ancestors.length=0}}),c.addPoolingTo(o,c.twoArgumentPooler);var m={_enabled:!0,_handleTopLevel:null,WINDOW_HANDLE:l.canUseDOM?window:null,setHandleTopLevel:function(e){m._handleTopLevel=e},setEnabled:function(e){m._enabled=!!e},isEnabled:function(){return m._enabled},trapBubbledEvent:function(e,t,n){return n?u.listen(n,t,m.dispatchEvent.bind(null,e)):null},trapCapturedEvent:function(e,t,n){return n?u.capture(n,t,m.dispatchEvent.bind(null,e)):null},monitorScrollValue:function(e){var t=a.bind(null,e);u.listen(window,"scroll",t)},dispatchEvent:function(e,t){if(m._enabled){var n=o.getPooled(e,t);try{f.batchedUpdates(i,n)}finally{o.release(n)}}}};e.exports=m},function(e,t,n){"use strict";var r=n(120),o=n(121),i=n(195),a=n(293),s=n(439),u=n(196),l=n(441),c=n(64),d={Component:a.injection,DOMProperty:r.injection,EmptyComponent:s.injection,EventPluginHub:o.injection,EventPluginUtils:i.injection,EventEmitter:u.injection,HostComponent:l.injection,Updates:c.injection};e.exports=d},function(e,t,n){"use strict";var r=n(1058),o=/\/?>/,i=/^<\!\-\-/,a={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var t=r(e);return i.test(e)?e:e.replace(o," "+a.CHECKSUM_ATTR_NAME+'="'+t+'"$&')},canReuseMarkup:function(e,t){var n=t.getAttribute(a.CHECKSUM_ATTR_NAME);n=n&&parseInt(n,10);var o=r(e);return o===n}};e.exports=a},function(e,t,n){"use strict";function r(e,t,n){return{type:"INSERT_MARKUP",content:e,fromIndex:null,fromNode:null,toIndex:n,afterNode:t}}function o(e,t,n){return{type:"MOVE_EXISTING",content:null,fromIndex:e._mountIndex,fromNode:f.getHostNode(e),toIndex:n,afterNode:t}}function i(e,t){return{type:"REMOVE_NODE",content:null,fromIndex:e._mountIndex,fromNode:t,toIndex:null,afterNode:null}}function a(e){return{type:"SET_MARKUP",content:e,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function s(e){return{type:"TEXT_CONTENT",content:e,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function u(e,t){return t&&(e=e||[],e.push(t)),e}function l(e,t){d.processChildrenUpdates(e,t)}var c=n(16),d=n(293),f=(n(149),n(55),n(76),n(123)),p=n(1015),h=(n(40),n(1061)),m=(n(10),{Mixin:{_reconcilerInstantiateChildren:function(e,t,n){return p.instantiateChildren(e,t,n)},_reconcilerUpdateChildren:function(e,t,n,r,o,i){var a,s=0;return a=h(t,s),p.updateChildren(e,a,n,r,o,this,this._hostContainerInfo,i,s),a},mountChildren:function(e,t,n){var r=this._reconcilerInstantiateChildren(e,t,n);this._renderedChildren=r;var o=[],i=0;for(var a in r)if(r.hasOwnProperty(a)){var s=r[a],u=0,l=f.mountComponent(s,t,this,this._hostContainerInfo,n,u);s._mountIndex=i++,o.push(l)}return o},updateTextContent:function(e){var t=this._renderedChildren;p.unmountChildren(t,!1);for(var n in t)t.hasOwnProperty(n)&&c("118");var r=[s(e)];l(this,r)},updateMarkup:function(e){var t=this._renderedChildren;p.unmountChildren(t,!1);for(var n in t)t.hasOwnProperty(n)&&c("118");var r=[a(e)];l(this,r)},updateChildren:function(e,t,n){this._updateChildren(e,t,n)},_updateChildren:function(e,t,n){var r=this._renderedChildren,o={},i=[],a=this._reconcilerUpdateChildren(r,e,i,o,t,n);if(a||r){var s,c=null,d=0,p=0,h=0,m=null;for(s in a)if(a.hasOwnProperty(s)){var g=r&&r[s],v=a[s];g===v?(c=u(c,this.moveChild(g,m,d,p)),p=Math.max(g._mountIndex,p),g._mountIndex=d):(g&&(p=Math.max(g._mountIndex,p)),c=u(c,this._mountChildAtIndex(v,i[h],m,d,t,n)),h++),d++,m=f.getHostNode(v)}for(s in o)o.hasOwnProperty(s)&&(c=u(c,this._unmountChild(r[s],o[s])));c&&l(this,c),this._renderedChildren=a}},unmountChildren:function(e){var t=this._renderedChildren;p.unmountChildren(t,e),this._renderedChildren=null},moveChild:function(e,t,n,r){if(e._mountIndex<r)return o(e,t,n)},createChild:function(e,t,n){return r(n,t,e._mountIndex)},removeChild:function(e,t){return i(e,t)},_mountChildAtIndex:function(e,t,n,r,o,i){return e._mountIndex=r,this.createChild(e,n,t)},_unmountChild:function(e,t){var n=this.removeChild(e,t);return e._mountIndex=null,n}}});e.exports=m},function(e,t,n){"use strict";function r(e){return!(!e||"function"!=typeof e.attachRef||"function"!=typeof e.detachRef)}var o=n(16),i=(n(10),{addComponentAsRefTo:function(e,t,n){r(n)?void 0:o("119"),n.attachRef(t,e)},removeComponentAsRefFrom:function(e,t,n){r(n)?void 0:o("120");var i=n.getPublicInstance();i&&i.refs[t]===e.getPublicInstance()&&n.detachRef(t)}});e.exports=i},function(e,t){"use strict";var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=n},function(e,t,n){"use strict";function r(e){this.reinitializeTransaction(),this.renderToStaticMarkup=!1,this.reactMountReady=i.getPooled(null),this.useCreateElement=e}var o=n(21),i=n(435),a=n(103),s=n(196),u=n(442),l=(n(55),n(198)),c=n(295),d={initialize:u.getSelectionInformation,close:u.restoreSelection},f={initialize:function(){var e=s.isEnabled();return s.setEnabled(!1),e},close:function(e){s.setEnabled(e)}},p={initialize:function(){this.reactMountReady.reset()},close:function(){this.reactMountReady.notifyAll()}},h=[d,f,p],m={getTransactionWrappers:function(){return h},getReactMountReady:function(){return this.reactMountReady},getUpdateQueue:function(){return c},checkpoint:function(){return this.reactMountReady.checkpoint()},rollback:function(e){this.reactMountReady.rollback(e)},destructor:function(){i.release(this.reactMountReady),this.reactMountReady=null}};o(r.prototype,l,m),a.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";function r(e,t,n){"function"==typeof e?e(t.getPublicInstance()):i.addComponentAsRefTo(t,e,n)}function o(e,t,n){"function"==typeof e?e(null):i.removeComponentAsRefFrom(t,e,n)}var i=n(1038),a={};a.attachRefs=function(e,t){if(null!==t&&"object"==typeof t){var n=t.ref;null!=n&&r(n,e,t._owner)}},a.shouldUpdateRefs=function(e,t){var n=null,r=null;null!==e&&"object"==typeof e&&(n=e.ref,r=e._owner);var o=null,i=null;return null!==t&&"object"==typeof t&&(o=t.ref,i=t._owner),n!==o||"string"==typeof o&&i!==r},a.detachRefs=function(e,t){if(null!==t&&"object"==typeof t){var n=t.ref;null!=n&&o(n,e,t._owner)}},e.exports=a},function(e,t,n){"use strict";function r(e){this.reinitializeTransaction(),this.renderToStaticMarkup=e,this.useCreateElement=!1,this.updateQueue=new s(this)}var o=n(21),i=n(103),a=n(198),s=(n(55),n(1043)),u=[],l={enqueue:function(){}},c={getTransactionWrappers:function(){return u},getReactMountReady:function(){return l},getUpdateQueue:function(){return this.updateQueue},destructor:function(){},checkpoint:function(){},rollback:function(){}};o(r.prototype,a,c),i.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){}var i=n(295),a=(n(13),function(){function e(t){r(this,e),this.transaction=t}return e.prototype.isMounted=function(e){return!1},e.prototype.enqueueCallback=function(e,t,n){this.transaction.isInTransaction()&&i.enqueueCallback(e,t,n)},e.prototype.enqueueForceUpdate=function(e){this.transaction.isInTransaction()?i.enqueueForceUpdate(e):o(e,"forceUpdate")},e.prototype.enqueueReplaceState=function(e,t){this.transaction.isInTransaction()?i.enqueueReplaceState(e,t):o(e,"replaceState")},e.prototype.enqueueSetState=function(e,t){this.transaction.isInTransaction()?i.enqueueSetState(e,t):o(e,"setState")},e}());e.exports=a},function(e,t){"use strict";e.exports="15.5.4"},function(e,t){"use strict";var n={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},r={accentHeight:"accent-height",accumulate:0,additive:0,alignmentBaseline:"alignment-baseline",allowReorder:"allowReorder",alphabetic:0,amplitude:0,arabicForm:"arabic-form",ascent:0,attributeName:"attributeName",attributeType:"attributeType",autoReverse:"autoReverse",azimuth:0,baseFrequency:"baseFrequency",baseProfile:"baseProfile",baselineShift:"baseline-shift",bbox:0,begin:0,bias:0,by:0,calcMode:"calcMode",capHeight:"cap-height",clip:0,clipPath:"clip-path",
+clipRule:"clip-rule",clipPathUnits:"clipPathUnits",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",contentScriptType:"contentScriptType",contentStyleType:"contentStyleType",cursor:0,cx:0,cy:0,d:0,decelerate:0,descent:0,diffuseConstant:"diffuseConstant",direction:0,display:0,divisor:0,dominantBaseline:"dominant-baseline",dur:0,dx:0,dy:0,edgeMode:"edgeMode",elevation:0,enableBackground:"enable-background",end:0,exponent:0,externalResourcesRequired:"externalResourcesRequired",fill:0,fillOpacity:"fill-opacity",fillRule:"fill-rule",filter:0,filterRes:"filterRes",filterUnits:"filterUnits",floodColor:"flood-color",floodOpacity:"flood-opacity",focusable:0,fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",glyphRef:"glyphRef",gradientTransform:"gradientTransform",gradientUnits:"gradientUnits",hanging:0,horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",ideographic:0,imageRendering:"image-rendering",in:0,in2:0,intercept:0,k:0,k1:0,k2:0,k3:0,k4:0,kernelMatrix:"kernelMatrix",kernelUnitLength:"kernelUnitLength",kerning:0,keyPoints:"keyPoints",keySplines:"keySplines",keyTimes:"keyTimes",lengthAdjust:"lengthAdjust",letterSpacing:"letter-spacing",lightingColor:"lighting-color",limitingConeAngle:"limitingConeAngle",local:0,markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",markerHeight:"markerHeight",markerUnits:"markerUnits",markerWidth:"markerWidth",mask:0,maskContentUnits:"maskContentUnits",maskUnits:"maskUnits",mathematical:0,mode:0,numOctaves:"numOctaves",offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pathLength:"pathLength",patternContentUnits:"patternContentUnits",patternTransform:"patternTransform",patternUnits:"patternUnits",pointerEvents:"pointer-events",points:0,pointsAtX:"pointsAtX",pointsAtY:"pointsAtY",pointsAtZ:"pointsAtZ",preserveAlpha:"preserveAlpha",preserveAspectRatio:"preserveAspectRatio",primitiveUnits:"primitiveUnits",r:0,radius:0,refX:"refX",refY:"refY",renderingIntent:"rendering-intent",repeatCount:"repeatCount",repeatDur:"repeatDur",requiredExtensions:"requiredExtensions",requiredFeatures:"requiredFeatures",restart:0,result:0,rotate:0,rx:0,ry:0,scale:0,seed:0,shapeRendering:"shape-rendering",slope:0,spacing:0,specularConstant:"specularConstant",specularExponent:"specularExponent",speed:0,spreadMethod:"spreadMethod",startOffset:"startOffset",stdDeviation:"stdDeviation",stemh:0,stemv:0,stitchTiles:"stitchTiles",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",string:0,stroke:0,strokeDasharray:"stroke-dasharray",strokeDashoffset:"stroke-dashoffset",strokeLinecap:"stroke-linecap",strokeLinejoin:"stroke-linejoin",strokeMiterlimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",surfaceScale:"surfaceScale",systemLanguage:"systemLanguage",tableValues:"tableValues",targetX:"targetX",targetY:"targetY",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",textLength:"textLength",to:0,transform:0,u1:0,u2:0,underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicode:0,unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",values:0,vectorEffect:"vector-effect",version:0,vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",viewBox:"viewBox",viewTarget:"viewTarget",visibility:0,widths:0,wordSpacing:"word-spacing",writingMode:"writing-mode",x:0,xHeight:"x-height",x1:0,x2:0,xChannelSelector:"xChannelSelector",xlinkActuate:"xlink:actuate",xlinkArcrole:"xlink:arcrole",xlinkHref:"xlink:href",xlinkRole:"xlink:role",xlinkShow:"xlink:show",xlinkTitle:"xlink:title",xlinkType:"xlink:type",xmlBase:"xml:base",xmlns:0,xmlnsXlink:"xmlns:xlink",xmlLang:"xml:lang",xmlSpace:"xml:space",y:0,y1:0,y2:0,yChannelSelector:"yChannelSelector",z:0,zoomAndPan:"zoomAndPan"},o={Properties:{},DOMAttributeNamespaces:{xlinkActuate:n.xlink,xlinkArcrole:n.xlink,xlinkHref:n.xlink,xlinkRole:n.xlink,xlinkShow:n.xlink,xlinkTitle:n.xlink,xlinkType:n.xlink,xmlBase:n.xml,xmlLang:n.xml,xmlSpace:n.xml},DOMAttributeNames:{}};Object.keys(r).forEach(function(e){o.Properties[e]=0,r[e]&&(o.DOMAttributeNames[e]=r[e])}),e.exports=o},function(e,t,n){"use strict";function r(e){if("selectionStart"in e&&u.hasSelectionCapabilities(e))return{start:e.selectionStart,end:e.selectionEnd};if(window.getSelection){var t=window.getSelection();return{anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}}if(document.selection){var n=document.selection.createRange();return{parentElement:n.parentElement(),text:n.text,top:n.boundingTop,left:n.boundingLeft}}}function o(e,t){if(y||null==m||m!==c())return null;var n=r(m);if(!v||!f(v,n)){v=n;var o=l.getPooled(h.select,g,e,t);return o.type="select",o.target=m,i.accumulateTwoPhaseDispatches(o),o}return null}var i=n(122),a=n(38),s=n(29),u=n(442),l=n(75),c=n(392),d=n(450),f=n(265),p=a.canUseDOM&&"documentMode"in document&&document.documentMode<=11,h={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:["topBlur","topContextMenu","topFocus","topKeyDown","topKeyUp","topMouseDown","topMouseUp","topSelectionChange"]}},m=null,g=null,v=null,y=!1,b=!1,_={eventTypes:h,extractEvents:function(e,t,n,r){if(!b)return null;var i=t?s.getNodeFromInstance(t):window;switch(e){case"topFocus":(d(i)||"true"===i.contentEditable)&&(m=i,g=t,v=null);break;case"topBlur":m=null,g=null,v=null;break;case"topMouseDown":y=!0;break;case"topContextMenu":case"topMouseUp":return y=!1,o(n,r);case"topSelectionChange":if(p)break;case"topKeyDown":case"topKeyUp":return o(n,r)}return null},didPutListener:function(e,t,n){"onSelect"===t&&(b=!0)}};e.exports=_},function(e,t,n){"use strict";function r(e){return"."+e._rootNodeID}function o(e){return"button"===e||"input"===e||"select"===e||"textarea"===e}var i=n(16),a=n(390),s=n(122),u=n(29),l=n(1048),c=n(1049),d=n(75),f=n(1052),p=n(1054),h=n(197),m=n(1051),g=n(1055),v=n(1056),y=n(124),b=n(1057),_=n(40),w=n(298),C=(n(10),{}),x={};["abort","animationEnd","animationIteration","animationStart","blur","canPlay","canPlayThrough","click","contextMenu","copy","cut","doubleClick","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","focus","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","progress","rateChange","reset","scroll","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchMove","touchStart","transitionEnd","volumeChange","waiting","wheel"].forEach(function(e){var t=e[0].toUpperCase()+e.slice(1),n="on"+t,r="top"+t,o={phasedRegistrationNames:{bubbled:n,captured:n+"Capture"},dependencies:[r]};C[e]=o,x[r]=o});var E={},T={eventTypes:C,extractEvents:function(e,t,n,r){var o=x[e];if(!o)return null;var a;switch(e){case"topAbort":case"topCanPlay":case"topCanPlayThrough":case"topDurationChange":case"topEmptied":case"topEncrypted":case"topEnded":case"topError":case"topInput":case"topInvalid":case"topLoad":case"topLoadedData":case"topLoadedMetadata":case"topLoadStart":case"topPause":case"topPlay":case"topPlaying":case"topProgress":case"topRateChange":case"topReset":case"topSeeked":case"topSeeking":case"topStalled":case"topSubmit":case"topSuspend":case"topTimeUpdate":case"topVolumeChange":case"topWaiting":a=d;break;case"topKeyPress":if(0===w(n))return null;case"topKeyDown":case"topKeyUp":a=p;break;case"topBlur":case"topFocus":a=f;break;case"topClick":if(2===n.button)return null;case"topDoubleClick":case"topMouseDown":case"topMouseMove":case"topMouseUp":case"topMouseOut":case"topMouseOver":case"topContextMenu":a=h;break;case"topDrag":case"topDragEnd":case"topDragEnter":case"topDragExit":case"topDragLeave":case"topDragOver":case"topDragStart":case"topDrop":a=m;break;case"topTouchCancel":case"topTouchEnd":case"topTouchMove":case"topTouchStart":a=g;break;case"topAnimationEnd":case"topAnimationIteration":case"topAnimationStart":a=l;break;case"topTransitionEnd":a=v;break;case"topScroll":a=y;break;case"topWheel":a=b;break;case"topCopy":case"topCut":case"topPaste":a=c}a?void 0:i("86",e);var u=a.getPooled(o,t,n,r);return s.accumulateTwoPhaseDispatches(u),u},didPutListener:function(e,t,n){if("onClick"===t&&!o(e._tag)){var i=r(e),s=u.getNodeFromInstance(e);E[i]||(E[i]=a.listen(s,"click",_))}},willDeleteListener:function(e,t){if("onClick"===t&&!o(e._tag)){var n=r(e);E[n].remove(),delete E[n]}}};e.exports=T},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(75),i={animationName:null,elapsedTime:null,pseudoElement:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(75),i={clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(75),i={data:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(197),i={dataTransfer:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(124),i={relatedTarget:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(75),i={data:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(124),i=n(298),a=n(1062),s=n(299),u={key:a,location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:s,charCode:function(e){return"keypress"===e.type?i(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?i(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}};o.augmentClass(r,u),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(124),i=n(299),a={touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:i};o.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(75),i={propertyName:null,elapsedTime:null,pseudoElement:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(197),i={deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null};o.augmentClass(r,i),e.exports=r},function(e,t){"use strict";function n(e){for(var t=1,n=0,o=0,i=e.length,a=i&-4;o<a;){for(var s=Math.min(o+4096,a);o<s;o+=4)n+=(t+=e.charCodeAt(o))+(t+=e.charCodeAt(o+1))+(t+=e.charCodeAt(o+2))+(t+=e.charCodeAt(o+3));t%=r,n%=r}for(;o<i;o++)n+=t+=e.charCodeAt(o);return t%=r,n%=r,t|n<<16}var r=65521;e.exports=n},function(e,t,n){"use strict";function r(e,t,n){var r=null==t||"boolean"==typeof t||""===t;if(r)return"";var o=isNaN(t);if(o||0===t||i.hasOwnProperty(e)&&i[e])return""+t;if("string"==typeof t){t=t.trim()}return t+"px"}var o=n(434),i=(n(13),o.isUnitlessNumber);e.exports=r},function(e,t,n){"use strict";function r(e){if(null==e)return null;if(1===e.nodeType)return e;var t=a.get(e);return t?(t=s(t),t?i.getNodeFromInstance(t):null):void("function"==typeof e.render?o("44"):o("45",Object.keys(e)))}var o=n(16),i=(n(76),n(29)),a=n(149),s=n(447);n(10),n(13);e.exports=r},function(e,t,n){(function(t){"use strict";function r(e,t,n,r){if(e&&"object"==typeof e){var o=e,i=void 0===o[n];i&&null!=t&&(o[n]=t)}}function o(e,t){if(null==e)return e;var n={};return i(e,r,n),n}var i=(n(291),n(452));n(13);"undefined"!=typeof t&&t.env,1,e.exports=o}).call(t,n(160))},function(e,t,n){"use strict";function r(e){if(e.key){var t=i[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=o(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?a[e.keyCode]||"Unidentified":""}var o=n(298),i={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},a={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};e.exports=r},473,function(e,t){"use strict";function n(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function r(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function o(e,t){for(var o=n(e),i=0,a=0;o;){if(3===o.nodeType){if(a=i+o.textContent.length,i<=t&&a>=t)return{node:o,offset:t-i};i=a}o=n(r(o))}}e.exports=o},function(e,t,n){"use strict";function r(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n["ms"+e]="MS"+t,n["O"+e]="o"+t.toLowerCase(),n}function o(e){if(s[e])return s[e];if(!a[e])return e;var t=a[e];for(var n in t)if(t.hasOwnProperty(n)&&n in u)return s[e]=t[n];return""}var i=n(38),a={animationend:r("Animation","AnimationEnd"),animationiteration:r("Animation","AnimationIteration"),animationstart:r("Animation","AnimationStart"),transitionend:r("Transition","TransitionEnd")},s={},u={};i.canUseDOM&&(u=document.createElement("div").style,"AnimationEvent"in window||(delete a.animationend.animation,delete a.animationiteration.animation,delete a.animationstart.animation),"TransitionEvent"in window||delete a.transitionend.transition),e.exports=o},function(e,t,n){"use strict";function r(e){return'"'+o(e)+'"'}var o=n(199);e.exports=r},function(e,t,n){"use strict";var r=n(443);e.exports=r.renderSubtreeIntoContainer},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.default=void 0;var o,i,a=n(11),s=r(a),u=n(4),l=r(u),c=n(7),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),g=n(22),v=r(g),y=n(453),b=r(y),_=(i=o=function(e){function t(n){(0,l.default)(this,t);var r=(0,d.default)(this,e.call(this,n));return r.state={expanded:!1},r.handleClick=r.handleClick.bind(r),r}return(0,p.default)(t,e),t.prototype.render=function(){var e=this.props,t=e.styling,n=e.from,r=e.to,o=e.renderChildNodes,i=e.nodeType;return this.state.expanded?m.default.createElement("div",t("itemRange",this.state.expanded),o(this.props,n,r)):m.default.createElement("div",(0,s.default)({},t("itemRange",this.state.expanded),{onClick:this.handleClick}),m.default.createElement(b.default,{nodeType:i,styling:t,expanded:!1,onClick:this.handleClick,arrowStyle:"double"}),n+" ... "+r)},t.prototype.handleClick=function(){this.setState({expanded:!this.state.expanded})},t}(m.default.Component),o.propTypes={styling:v.default.func.isRequired,from:v.default.number.isRequired,to:v.default.number.isRequired,renderChildNodes:v.default.func.isRequired,nodeType:v.default.string.isRequired},i);t.default=_},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return e.length+" "+(1!==e.length?"items":"item")}t.__esModule=!0;var i=n(11),a=r(i),s=n(139),u=r(s),l=n(1),c=r(l),d=n(22),f=r(d),p=n(304),h=r(p),m=function(e){var t=e.data,n=(0,u.default)(e,["data"]);return c.default.createElement(h.default,(0,a.default)({},n,{data:t,nodeType:"Array",nodeTypeIndicator:"[]",createItemString:o,expandable:t.length>0}))};m.propTypes={data:f.default.array},t.default=m},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=0,r=!1;if((0,p.default)(e.size))n=e.size;else for(var o=e,i=Array.isArray(o),a=0,o=i?o:(0,d.default)(o);;){var s;if(i){if(a>=o.length)break;s=o[a++]}else{if(a=o.next(),a.done)break;s=a.value}if(t&&n+1>t){r=!0;break}n+=1}return""+(r?">":"")+n+" "+(1!==n?"entries":"entry")}function i(e){var t=(0,l.default)(e,[]);return m.default.createElement(v.default,(0,s.default)({},t,{nodeType:"Iterable",nodeTypeIndicator:"()",createItemString:o}))}t.__esModule=!0;var a=n(11),s=r(a),u=n(139),l=r(u),c=n(223),d=r(c),f=n(544),p=r(f);t.default=i;var h=n(1),m=r(h),g=n(304),v=r(g)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=(0,c.default)(e).length;return t+" "+(1!==t?"keys":"key")}t.__esModule=!0;var i=n(11),a=r(i),s=n(139),u=r(s),l=n(342),c=r(l),d=n(1),f=r(d),p=n(22),h=r(p),m=n(304),g=r(m),v=function(e){var t=e.data,n=(0,u.default)(e,["data"]);return f.default.createElement(g.default,(0,a.default)({},n,{data:t,nodeType:"Object",nodeTypeIndicator:"Error"===n.nodeType?"Error()":"{}",createItemString:o,expandable:(0,c.default)(t).length>0}))};v.propTypes={data:h.default.object,nodeType:h.default.string},t.default=v},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(1),i=r(o),a=n(22),s=r(a),u=function(e){var t=e.nodeType,n=e.styling,r=e.labelRenderer,o=e.keyPath,a=e.valueRenderer,s=e.value,u=e.valueGetter;return i.default.createElement("li",n("value",t,o),i.default.createElement("label",n(["label","valueLabel"],t,o),r(o,t,!1,!1)),i.default.createElement("span",n("valueText",t,o),a.apply(void 0,[u(s),s].concat(o))))};u.propTypes={nodeType:s.default.string.isRequired,styling:s.default.func.isRequired,labelRenderer:s.default.func.isRequired,keyPath:s.default.arrayOf(s.default.oneOfType([s.default.string,s.default.number])).isRequired,valueRenderer:s.default.func.isRequired,value:s.default.any,valueGetter:s.default.func},u.defaultProps={valueGetter:function(e){return e}},t.default=u},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(11),i=r(o),a=n(1076),s=r(a),u=n(426),l=function(e){return{BACKGROUND_COLOR:e.base00,TEXT_COLOR:e.base07,STRING_COLOR:e.base0B,DATE_COLOR:e.base0B,NUMBER_COLOR:e.base09,BOOLEAN_COLOR:e.base09,NULL_COLOR:e.base08,UNDEFINED_COLOR:e.base08,FUNCTION_COLOR:e.base08,SYMBOL_COLOR:e.base08,LABEL_COLOR:e.base0D,ARROW_COLOR:e.base0D,ITEM_STRING_COLOR:e.base0B,ITEM_STRING_EXPANDED_COLOR:e.base03}},c=function(e){return{String:e.STRING_COLOR,Date:e.DATE_COLOR,Number:e.NUMBER_COLOR,Boolean:e.BOOLEAN_COLOR,Null:e.NULL_COLOR,Undefined:e.UNDEFINED_COLOR,Function:e.FUNCTION_COLOR,Symbol:e.SYMBOL_COLOR}},d=function(e){var t=l(e);return{tree:{border:0,padding:0,marginTop:"0.5em",marginBottom:"0.5em",marginLeft:"0.125em",marginRight:0,listStyle:"none",MozUserSelect:"none",WebkitUserSelect:"none",backgroundColor:t.BACKGROUND_COLOR},value:function(e,t,n){var r=e.style;return{style:(0,i.default)({},r,{paddingTop:"0.25em",paddingRight:0,marginLeft:"0.875em",WebkitUserSelect:"text",MozUserSelect:"text",wordWrap:"break-word",paddingLeft:n.length>1?"2.125em":"1.25em",textIndent:"-0.5em",wordBreak:"break-all"})}},label:{display:"inline-block",color:t.LABEL_COLOR},valueLabel:{margin:"0 0.5em 0 0"},valueText:function(e,n){var r=e.style;return{style:(0,i.default)({},r,{color:c(t)[n]})}},itemRange:function(e,n){e.style;return{style:{paddingTop:n?0:"0.25em",cursor:"pointer",color:t.LABEL_COLOR}}},arrow:function(e,t,n){var r=e.style;return{style:(0,i.default)({},r,{marginLeft:0,transition:"150ms",WebkitTransition:"150ms",MozTransition:"150ms",WebkitTransform:n?"rotateZ(90deg)":"rotateZ(0deg)",MozTransform:n?"rotateZ(90deg)":"rotateZ(0deg)",transform:n?"rotateZ(90deg)":"rotateZ(0deg)",transformOrigin:"45% 50%",WebkitTransformOrigin:"45% 50%",MozTransformOrigin:"45% 50%",position:"relative",lineHeight:"1.1em",fontSize:"0.75em"})}},arrowContainer:function(e,t){var n=e.style;return{style:(0,i.default)({},n,{display:"inline-block",paddingRight:"0.5em",paddingLeft:"double"===t?"1em":0,cursor:"pointer"})}},arrowSign:{color:t.ARROW_COLOR},arrowSignInner:{position:"absolute",top:0,left:"-0.4em"},nestedNode:function(e,t,n,r,o){var a=e.style;return{style:(0,i.default)({},a,{position:"relative",paddingTop:"0.25em",marginLeft:t.length>1?"0.875em":0,paddingLeft:o?0:"1.125em"})}},rootNode:{padding:0,margin:0},nestedNodeLabel:function(e,t,n,r,o){var a=e.style;return{style:(0,i.default)({},a,{margin:0,padding:0,WebkitUserSelect:o?"inherit":"text",MozUserSelect:o?"inherit":"text",cursor:o?"pointer":"default"})}},nestedNodeItemString:function(e,n,r,o){var a=e.style;return{style:(0,i.default)({},a,{paddingLeft:"0.5em",cursor:"default",color:o?t.ITEM_STRING_EXPANDED_COLOR:t.ITEM_STRING_COLOR})}},nestedNodeItemType:{marginLeft:"0.3em",marginRight:"0.3em"},nestedNodeChildren:function(e,t,n){var r=e.style;return{style:(0,i.default)({},r,{padding:0,margin:0,listStyle:"none",display:n?"block":"none"})}},rootNodeChildren:{padding:0,margin:0,listStyle:"none"}}};t.default=(0,u.createStyling)(d,{defaultBase16:s.default})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return"Object"===e?(0,h.default)(t).length:"Array"===e?t.length:1/0}function i(e){return"function"==typeof e.set}function a(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1/0,a=void 0;if("Object"===e){var s=(0,f.default)(t);"undefined"!=typeof n&&s.sort(n),s=s.slice(r,o+1),a={entries:s.map(function(e){return{key:e,value:t[e]}})}}else if("Array"===e)a={entries:t.slice(r,o+1).map(function(e,t){return{key:t+r,value:e}})};else{for(var u=0,l=[],d=!0,p=i(t),h=t,m=Array.isArray(h),g=0,h=m?h:(0,c.default)(h);;){var v;if(m){if(g>=h.length)break;v=h[g++]}else{if(g=h.next(),g.done)break;v=g.value}var y=v;if(u>o){d=!1;break}r<=u&&(p&&Array.isArray(y)?"string"==typeof y[0]||"number"==typeof y[0]?l.push({key:y[0],value:y[1]}):l.push({key:"[entry "+u+"]",value:{"[key]":y[0],"[value]":y[1]}}):l.push({key:u,value:y})),u++}a={hasMore:!d,entries:l}}return a}function s(e,t,n){for(var r=[];t-e>n*n;)n*=n;for(var o=e;o<=t;o+=n)r.push({from:o,to:Math.min(t,o+n-1)});return r}function u(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,u=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1/0,l=a.bind(null,e,t,n);if(!r)return l().entries;var c=u<1/0,d=Math.min(u-i,o(e,t));if("Iterable"!==e){if(d<=r||r<7)return l(i,u).entries}else if(d<=r&&!c)return l(i,u).entries;var f=void 0;if("Iterable"===e){var p=l(i,i+r-1),h=p.hasMore,m=p.entries;f=h?[].concat(m,s(i+r,i+2*r-1,r)):m}else f=c?s(i,u,r):[].concat(l(0,r-5).entries,s(r-4,d-5,r),l(d-4,d-1).entries);return f}t.__esModule=!0;var l=n(223),c=r(l),d=n(342),f=r(d),p=n(163),h=r(p);t.default=u},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&"function"==typeof e[a.default]?"Iterable":t}t.__esModule=!0;var i=n(343),a=r(i);t.default=o},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"solarized",author:"ethan schoonover (http://ethanschoonover.com/solarized)",base00:"#002b36",base01:"#073642",base02:"#586e75",base03:"#657b83",base04:"#839496",base05:"#93a1a1",base06:"#eee8d5",base07:"#fdf6e3",base08:"#dc322f",base09:"#cb4b16",base0A:"#b58900",base0B:"#859900",base0C:"#2aa198",base0D:"#268bd2",base0E:"#6c71c4",base0F:"#d33682"}},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(t){n(this,e);var r=navigator.language||navigator.userLanguage;this.props=t,this.setLanguage(r)}return r(e,[{key:"_getBestMatchingLanguage",value:function(e,t){if(t[e])return e;var n=e.indexOf("-");return n>=0&&(e=e.substring(0,n),t[e])?e:Object.keys(t)[0]}}]),r(e,[{key:"setLanguage",value:function(e){var t=this._getBestMatchingLanguage(e,this.props);if(this.language=t,this.props[t]){var n=this.props[this.language];for(var r in n)n.hasOwnProperty(r)&&(this[r]=n[r])}}},{key:"getLanguage",value:function(){return this.language}},{key:"getInterfaceLanguage",value:function(){return interfaceLanguage}},{key:"getAvailableLanguages",value:function(){if(!this.availableLanguages){this.availableLanguages=[];for(var e in this.props)this.availableLanguages.push(e)}return this.availableLanguages}},{key:"formatString",value:function(e){for(var t=e,n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];for(var i=0;i<r.length;i++)t=this._replaceAll("{"+i+"}",r[i],t);return t}},{key:"_replaceAll",value:function(e,t,n){return e=e.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1"),n.replace(new RegExp(e,"g"),t)}}]),e}();t.default=o,e.exports=t.default},function(e,t){"use strict";function n(e,t){if(e===t)return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=Object.prototype.hasOwnProperty.bind(t),i=0;i<n.length;i++)if(!o(n[i])||e[n[i]]!==t[n[i]])return!1;return!0}t.__esModule=!0,t.default=n,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t.default=void 0;var s=n(1),u=n(22),l=r(u),c=n(458),d=n(305),f=(r(d),function(e){function t(n,r){o(this,t);var a=i(this,e.call(this,n,r));return a.store=n.store,a}return a(t,e),t.prototype.getChildContext=function(){return{store:this.store,storeSubscription:null}},t.prototype.render=function(){return s.Children.only(this.props.children)},t}(s.Component));t.default=f,f.propTypes={store:c.storeShape.isRequired,children:l.default.element.isRequired},f.childContextTypes={store:c.storeShape.isRequired,storeSubscription:c.subscriptionShape},f.displayName="Provider"},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t,n){for(var r=t.length-1;r>=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function a(e,t){return e===t}function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.connectHOC,n=void 0===t?c.default:t,r=e.mapStateToPropsFactories,s=void 0===r?g.default:r,l=e.mapDispatchToPropsFactories,d=void 0===l?h.default:l,p=e.mergePropsFactories,m=void 0===p?y.default:p,v=e.selectorFactory,b=void 0===v?_.default:v;return function(e,t,r){var l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},c=l.pure,p=void 0===c||c,h=l.areStatesEqual,g=void 0===h?a:h,v=l.areOwnPropsEqual,y=void 0===v?f.default:v,_=l.areStatePropsEqual,w=void 0===_?f.default:_,C=l.areMergedPropsEqual,x=void 0===C?f.default:C,E=o(l,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),T=i(e,s,"mapStateToProps"),k=i(t,d,"mapDispatchToProps"),S=i(r,m,"mergeProps");return n(b,u({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:T,initMapDispatchToProps:k,initMergeProps:S,pure:p,areStatesEqual:g,areOwnPropsEqual:y,areStatePropsEqual:w,areMergedPropsEqual:x},E))}}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.createConnect=s;var l=n(456),c=r(l),d=n(1087),f=r(d),p=n(1081),h=r(p),m=n(1082),g=r(m),v=n(1083),y=r(v),b=n(1084),_=r(b);t.default=s()},function(e,t,n){"use strict";function r(e){return"function"==typeof e?(0,s.wrapMapToPropsFunc)(e,"mapDispatchToProps"):void 0}function o(e){return e?void 0:(0,s.wrapMapToPropsConstant)(function(e){return{dispatch:e}})}function i(e){return e&&"object"==typeof e?(0,s.wrapMapToPropsConstant)(function(t){return(0,a.bindActionCreators)(e,t)}):void 0}t.__esModule=!0,t.whenMapDispatchToPropsIsFunction=r,t.whenMapDispatchToPropsIsMissing=o,t.whenMapDispatchToPropsIsObject=i;var a=n(313),s=n(457);t.default=[r,o,i]},function(e,t,n){"use strict";function r(e){return"function"==typeof e?(0,i.wrapMapToPropsFunc)(e,"mapStateToProps"):void 0}function o(e){return e?void 0:(0,i.wrapMapToPropsConstant)(function(){return{}})}t.__esModule=!0,t.whenMapStateToPropsIsFunction=r,t.whenMapStateToPropsIsMissing=o;var i=n(457);t.default=[r,o]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return u({},n,e,t)}function i(e){return function(t,n){var r=(n.displayName,n.pure),o=n.areMergedPropsEqual,i=!1,a=void 0;return function(t,n,s){var u=e(t,n,s);return i?r&&o(u,a)||(a=u):(i=!0,a=u),a}}}function a(e){return"function"==typeof e?i(e):void 0}function s(e){return e?void 0:function(){return o}}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.defaultMergeProps=o,t.wrapMergePropsFunc=i,t.whenMergePropsIsFunction=a,t.whenMergePropsIsOmitted=s;var l=n(459);r(l);t.default=[a,s]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t,n,r){return function(o,i){return n(e(o,i),t(r,i),i)}}function a(e,t,n,r,o){function i(o,i){return h=o,m=i,g=e(h,m),v=t(r,m),y=n(g,v,m),p=!0,y}function a(){return g=e(h,m),t.dependsOnOwnProps&&(v=t(r,m)),y=n(g,v,m)}function s(){return e.dependsOnOwnProps&&(g=e(h,m)),t.dependsOnOwnProps&&(v=t(r,m)),y=n(g,v,m)}function u(){var t=e(h,m),r=!f(t,g);return g=t,r&&(y=n(g,v,m)),y}function l(e,t){var n=!d(t,m),r=!c(e,h);return h=e,m=t,n&&r?a():n?s():r?u():y}var c=o.areStatesEqual,d=o.areOwnPropsEqual,f=o.areStatePropsEqual,p=!1,h=void 0,m=void 0,g=void 0,v=void 0,y=void 0;return function(e,t){return p?l(e,t):i(e,t)}}function s(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,s=t.initMergeProps,u=o(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),l=n(e,u),c=r(e,u),d=s(e,u),f=u.pure?a:i;return f(l,c,d,e,u)}t.__esModule=!0,t.impureFinalPropsSelectorFactory=i,t.pureFinalPropsSelectorFactory=a,t.default=s;var u=n(1085);r(u)},function(e,t,n){"use strict";
+function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){if(!e)throw new Error("Unexpected value for "+t+" in "+n+".");"mapStateToProps"!==t&&"mapDispatchToProps"!==t||e.hasOwnProperty("dependsOnOwnProps")||(0,s.default)("The selector for "+t+" of "+n+" did not specify a value for dependsOnOwnProps.")}function i(e,t,n,r){o(e,"mapStateToProps",r),o(t,"mapDispatchToProps",r),o(n,"mergeProps",r)}t.__esModule=!0,t.default=i;var a=n(305),s=r(a)},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(){var e=[],t=[];return{clear:function(){t=o,e=o},notify:function(){for(var n=e=t,r=0;r<n.length;r++)n[r]()},subscribe:function(n){var r=!0;return t===e&&(t=e.slice()),t.push(n),function(){r&&e!==o&&(r=!1,t===e&&(t=e.slice()),t.splice(t.indexOf(n),1))}}}}t.__esModule=!0;var o=null,i={notify:function(){}},a=function(){function e(t,r,o){n(this,e),this.store=t,this.parentSub=r,this.onStateChange=o,this.unsubscribe=null,this.listeners=i}return e.prototype.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},e.prototype.notifyNestedSubs=function(){this.listeners.notify()},e.prototype.isSubscribed=function(){return Boolean(this.unsubscribe)},e.prototype.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.onStateChange):this.store.subscribe(this.onStateChange),this.listeners=r())},e.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=i)},e}();t.default=a},function(e,t){"use strict";function n(e,t){return e===t?0!==e||0!==t||1/e===1/t:e!==e&&t!==t}function r(e,t){if(n(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),i=Object.keys(t);if(r.length!==i.length)return!1;for(var a=0;a<r.length;a++)if(!o.call(t,r[a])||!n(e[r[a]],t[r[a]]))return!1;return!0}t.__esModule=!0,t.default=r;var o=Object.prototype.hasOwnProperty},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(1),a=r(i),s=n(57),u=r(s),l=n(460),c=r(l),d=(0,u.default)({displayName:"IndexLink",render:function(){return a.default.createElement(c.default,o({},this.props,{onlyActiveOnIndex:!0}))}});t.default=d,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(57),i=r(o),a=n(22),s=n(126),u=(r(s),n(17)),l=r(u),c=n(462),d=r(c),f=n(151),p=(0,i.default)({displayName:"IndexRedirect",statics:{createRouteFromReactElement:function(e,t){t&&(t.indexRoute=d.default.createRouteFromReactElement(e))}},propTypes:{to:a.string.isRequired,query:a.object,state:a.object,onEnter:f.falsy,children:f.falsy},render:function(){(0,l.default)(!1)}});t.default=p,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(57),i=r(o),a=n(22),s=n(126),u=(r(s),n(17)),l=r(u),c=n(82),d=n(151),f=(0,i.default)({displayName:"IndexRoute",statics:{createRouteFromReactElement:function(e,t){t&&(t.indexRoute=(0,c.createRouteFromReactElement)(e))}},propTypes:{path:d.falsy,component:d.component,components:d.components,getComponent:a.func,getComponents:a.func},render:function(){(0,l.default)(!1)}});t.default=f,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(57),i=r(o),a=n(22),s=n(17),u=r(s),l=n(82),c=n(151),d=(0,i.default)({displayName:"Route",statics:{createRouteFromReactElement:l.createRouteFromReactElement},propTypes:{path:a.string,component:c.component,components:c.components,getComponent:a.func,getComponents:a.func},render:function(){(0,u.default)(!1)}});t.default=d,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(17),s=r(a),u=n(1),l=r(u),c=n(57),d=r(c),f=n(22),p=n(466),h=r(p),m=n(151),g=n(309),v=r(g),y=n(82),b=n(463),_=n(126),w=(r(_),{history:f.object,children:m.routes,routes:m.routes,render:f.func,createElement:f.func,onError:f.func,onUpdate:f.func,matchContext:f.object}),C=(0,d.default)({displayName:"Router",propTypes:w,getDefaultProps:function(){return{render:function(e){return l.default.createElement(v.default,e)}}},getInitialState:function(){return{location:null,routes:null,params:null,components:null}},handleError:function(e){if(!this.props.onError)throw e;this.props.onError.call(this,e)},createRouterObject:function(e){var t=this.props.matchContext;if(t)return t.router;var n=this.props.history;return(0,b.createRouterObject)(n,this.transitionManager,e)},createTransitionManager:function(){var e=this.props.matchContext;if(e)return e.transitionManager;var t=this.props.history,n=this.props,r=n.routes,o=n.children;return t.getCurrentLocation?void 0:(0,s.default)(!1),(0,h.default)(t,(0,y.createRoutes)(r||o))},componentWillMount:function(){var e=this;this.transitionManager=this.createTransitionManager(),this.router=this.createRouterObject(this.state),this._unlisten=this.transitionManager.listen(function(t,n){t?e.handleError(t):((0,b.assignRouterState)(e.router,n),e.setState(n,e.props.onUpdate))})},componentWillReceiveProps:function(e){},componentWillUnmount:function(){this._unlisten&&this._unlisten()},render:function e(){var t=this.state,n=t.location,r=t.routes,a=t.params,s=t.components,u=this.props,l=u.createElement,e=u.render,c=o(u,["createElement","render"]);return null==n?null:(Object.keys(w).forEach(function(e){return delete c[e]}),e(i({},c,{router:this.router,location:n,routes:r,params:a,components:s,createElement:l})))}});t.default=C,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(){function e(e,t,n,r){var o=e.length<n,i=function(){for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];if(e.apply(t,r),o){var a=r[r.length-1];a()}};return r.add(i),i}function t(t){return t.reduce(function(t,n){return n.onEnter&&t.push(e(n.onEnter,n,3,l)),t},[])}function n(t){return t.reduce(function(t,n){return n.onChange&&t.push(e(n.onChange,n,4,c)),t},[])}function r(e,t,n){function r(e){o=e}if(!e)return void n();var o=void 0;(0,i.loopAsync)(e,function(e,n,i){t(e,r,function(e){e||o?i(e,o):n()})},n)}function o(e,n,o){l.clear();var i=t(e);return r(i.length,function(e,t,r){var o=function(){l.has(i[e])&&(r.apply(void 0,arguments),l.remove(i[e]))};i[e](n,t,o)},o)}function s(e,t,o,i){c.clear();var a=n(e);return r(a.length,function(e,n,r){var i=function(){c.has(a[e])&&(r.apply(void 0,arguments),c.remove(a[e]))};a[e](t,o,n,i)},i)}function u(e,t){for(var n=0,r=e.length;n<r;++n)e[n].onLeave&&e[n].onLeave.call(e[n],t)}var l=new a,c=new a;return{runEnterHooks:o,runChangeHooks:s,runLeaveHooks:u}}t.__esModule=!0,t.default=o;var i=n(306),a=function e(){var t=this;r(this,e),this.hooks=[],this.add=function(e){return t.hooks.push(e)},this.remove=function(e){return t.hooks=t.hooks.filter(function(t){return t!==e})},this.has=function(e){return t.hooks.indexOf(e)!==-1},this.clear=function(){return t.hooks=[]}};e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(1),a=r(i),s=n(309),u=r(s),l=n(126);r(l);t.default=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.map(function(e){return e.renderRouterContext}).filter(Boolean),s=t.map(function(e){return e.renderRouteComponent}).filter(Boolean),l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.createElement;return function(t,n){return s.reduceRight(function(e,t){return t(e,n)},e(t,n))}};return function(e){return r.reduceRight(function(t,n){return n(t,e)},a.default.createElement(u.default,o({},e,{createElement:l(e.createElement)})))}},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(853),i=r(o),a=n(465),s=r(a);t.default=(0,s.default)(i.default),e.exports=t.default},function(e,t,n){"use strict";function r(e,t,n){if(!e.path)return!1;var r=(0,i.getParamNames)(e.path);return r.some(function(e){return t.params[e]!==n.params[e]})}function o(e,t){var n=e&&e.routes,o=t.routes,i=void 0,a=void 0,s=void 0;if(n){var u=!1;i=n.filter(function(n){if(u)return!0;var i=o.indexOf(n)===-1||r(n,e,t);return i&&(u=!0),i}),i.reverse(),s=[],a=[],o.forEach(function(e){var t=n.indexOf(e)===-1,r=i.indexOf(e)!==-1;t||r?s.push(e):a.push(e)})}else i=[],a=[],s=o;return{leaveRoutes:i,changeRoutes:a,enterRoutes:s}}t.__esModule=!0;var i=n(125);t.default=o,e.exports=t.default},function(e,t,n){"use strict";function r(e,t,n){if(t.component||t.components)return void n(null,t.component||t.components);var r=t.getComponent||t.getComponents;if(r){var o=r.call(t,e,n);(0,a.isPromise)(o)&&o.then(function(e){return n(null,e)},n)}else n()}function o(e,t){(0,i.mapAsync)(e.routes,function(t,n,o){r(e,t,o)},t)}t.__esModule=!0;var i=n(306),a=n(461);t.default=o,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){var n={};return e.path?((0,o.getParamNames)(e.path).forEach(function(e){Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e])}),n):n}t.__esModule=!0;var o=n(125);t.default=r,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(854),i=r(o),a=n(465),s=r(a);t.default=(0,s.default)(i.default),e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if(e==t)return!0;if(null==e||null==t)return!1;if(Array.isArray(e))return Array.isArray(t)&&e.length===t.length&&e.every(function(e,n){return r(e,t[n])});if("object"===("undefined"==typeof e?"undefined":u(e))){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))if(void 0===e[n]){if(void 0!==t[n])return!1}else{if(!Object.prototype.hasOwnProperty.call(t,n))return!1;if(!r(e[n],t[n]))return!1}return!0}return String(e)===String(t)}function o(e,t){return"/"!==t.charAt(0)&&(t="/"+t),"/"!==e.charAt(e.length-1)&&(e+="/"),"/"!==t.charAt(t.length-1)&&(t+="/"),t===e}function i(e,t,n){for(var r=e,o=[],i=[],a=0,s=t.length;a<s;++a){var u=t[a],c=u.path||"";if("/"===c.charAt(0)&&(r=e,o=[],i=[]),null!==r&&c){var d=(0,l.matchPattern)(c,r);if(d?(r=d.remainingPathname,o=[].concat(o,d.paramNames),i=[].concat(i,d.paramValues)):r=null,""===r)return o.every(function(e,t){return String(i[t])===String(n[e])})}}return!1}function a(e,t){return null==t?null==e:null==e||r(e,t)}function s(e,t,n,r,s){var u=e.pathname,l=e.query;return null!=n&&("/"!==u.charAt(0)&&(u="/"+u),!!(o(u,n.pathname)||!t&&i(u,r,s))&&a(l,n.query))}t.__esModule=!0;var u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=s;var l=n(125);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){var n=e.history,r=e.routes,i=e.location,u=o(e,["history","routes","location"]);n||i?void 0:(0,l.default)(!1),n=n?n:(0,d.default)(u);var c=(0,p.default)(n,(0,h.createRoutes)(r));i=i?n.createLocation(i):n.getCurrentLocation(),c.match(i,function(e,r,o){var i=void 0;if(o){var u=(0,m.createRouterObject)(n,c,o);i=a({},o,{router:u,matchContext:{transitionManager:c,router:u}})}t(e,r&&n.createLocation(r,s.REPLACE),i)})}t.__esModule=!0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(181),u=n(17),l=r(u),c=n(464),d=r(c),f=n(466),p=r(f),h=n(82),m=n(463);t.default=i,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n,r,o){if(e.childRoutes)return[null,e.childRoutes];if(!e.getChildRoutes)return[];var i=!0,a=void 0,u={location:t,params:s(n,r)},l=e.getChildRoutes(u,function(e,t){return t=!e&&(0,m.createRoutes)(t),i?void(a=[e,t]):void o(e,t)});return(0,f.isPromise)(l)&&l.then(function(e){return o(null,(0,m.createRoutes)(e))},o),i=!1,a}function i(e,t,n,r,a){if(e.indexRoute)a(null,e.indexRoute);else if(e.getIndexRoute){var u={location:t,params:s(n,r)},l=e.getIndexRoute(u,function(e,t){a(e,!e&&(0,m.createRoutes)(t)[0])});(0,f.isPromise)(l)&&l.then(function(e){return a(null,(0,m.createRoutes)(e)[0])},a)}else if(e.childRoutes||e.getChildRoutes){var c=function(e,o){if(e)return void a(e);var s=o.filter(function(e){return!e.path});(0,d.loopAsync)(s.length,function(e,o,a){i(s[e],t,n,r,function(t,n){if(t||n){var r=[s[e]].concat(Array.isArray(n)?n:[n]);a(t,r)}else o()})},function(e,t){a(null,t)})},p=o(e,t,n,r,c);p&&c.apply(void 0,p)}else a()}function a(e,t,n){return t.reduce(function(e,t,r){var o=n&&n[r];return Array.isArray(e[t])?e[t].push(o):t in e?e[t]=[e[t],o]:e[t]=o,e},e)}function s(e,t){return a({},e,t)}function u(e,t,n,r,a,u){var c=e.path||"";if("/"===c.charAt(0)&&(n=t.pathname,r=[],a=[]),null!==n&&c){try{var d=(0,p.matchPattern)(c,n);d?(n=d.remainingPathname,r=[].concat(r,d.paramNames),a=[].concat(a,d.paramValues)):n=null}catch(e){u(e)}if(""===n){var f={routes:[e],params:s(r,a)};return void i(e,t,r,a,function(e,t){if(e)u(e);else{if(Array.isArray(t)){var n;(n=f.routes).push.apply(n,t)}else t&&f.routes.push(t);u(null,f)}})}}if(null!=n||e.childRoutes){var h=function(o,i){o?u(o):i?l(i,t,function(t,n){t?u(t):n?(n.routes.unshift(e),u(null,n)):u()},n,r,a):u()},m=o(e,t,r,a,h);m&&h.apply(void 0,m)}else u()}function l(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[];void 0===r&&("/"!==t.pathname.charAt(0)&&(t=c({},t,{pathname:"/"+t.pathname})),r=t.pathname),(0,d.loopAsync)(e.length,function(n,a,s){u(e[n],t,r,o,i,function(e,t){e||t?s(e,t):a()})},n)}t.__esModule=!0;var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=l;var d=n(306),f=n(461),p=n(125),h=n(126),m=(r(h),n(82));e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return e.displayName||e.name||"Component"}function i(e,t){var n=t&&t.withRef,r=(0,f.default)({displayName:"WithRouter",mixins:[(0,m.ContextSubscriber)("router")],contextTypes:{router:g.routerShape},propTypes:{router:g.routerShape},getWrappedInstance:function(){return n?void 0:(0,u.default)(!1),this.wrappedInstance},render:function(){var t=this,r=this.props.router||this.context.router;if(!r)return c.default.createElement(e,this.props);var o=r.params,i=r.location,s=r.routes,u=a({},this.props,{router:r,params:o,location:i,routes:s});return n&&(u.ref=function(e){t.wrappedInstance=e}),c.default.createElement(e,u)}});return r.displayName="withRouter("+o(e)+")",r.WrappedComponent=e,(0,h.default)(r,e)}t.__esModule=!0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=i;var s=n(17),u=r(s),l=n(1),c=r(l),d=n(57),f=r(d),p=n(145),h=r(p),m=n(307),g=n(308);e.exports=t.default},function(e,t,n){"use strict";function r(e,t){var n=c.extractSingleTouch(t);return n?n[e.page]:e.page in t?t[e.page]:t[e.client]+d[e.envScroll]}function o(e,t){var n=r(_.x,t),o=r(_.y,t);return Math.pow(Math.pow(n-e.x,2)+Math.pow(o-e.y,2),.5)}function i(e){return{tapMoveThreshold:g,ignoreMouseThreshold:v,eventTypes:x,extractEvents:function(t,n,i,a){if(!p(t)&&!h(t))return null;if(m(t))b=E();else if(e(b,E()))return null;var s=null,c=o(y,i);return h(t)&&c<g&&(s=l.getPooled(x.touchTap,n,i,a)),p(t)?(y.x=r(_.x,i),y.y=r(_.y,i)):h(t)&&(y.x=0,y.y=0),u.accumulateTwoPhaseDispatches(s),s}}}var a=n(1012),s=n(195),u=n(122),l=n(124),c=n(1105),d=n(296),f=n(847),p=(a.topLevelTypes,s.isStartish),h=s.isEndish,m=function(e){var t=["topTouchCancel","topTouchEnd","topTouchStart","topTouchMove"];return t.indexOf(e)>=0},g=10,v=750,y={x:null,y:null},b=null,_={x:{page:"pageX",client:"clientX",envScroll:"currentPageScrollLeft"},y:{page:"pageY",client:"clientY",envScroll:"currentPageScrollTop"}},w=["topTouchStart","topTouchCancel","topTouchEnd","topTouchMove"],C=["topMouseDown","topMouseMove","topMouseUp"].concat(w),x={touchTap:{phasedRegistrationNames:{bubbled:f({onTouchTap:null}),captured:f({onTouchTapCapture:null})},dependencies:C}},E=function(){return Date.now?Date.now:function(){return+new Date}}();e.exports=i},function(e,t){var n={extractSingleTouch:function(e){var t=e.touches,n=e.changedTouches,r=t&&t.length>0,o=n&&n.length>0;return!r&&o?n[0]:r?t[0]:e}};e.exports=n},function(e,t){e.exports=function(e,t){if(e&&t-e<750)return!0}},function(e,t,n){var r=(n(10),n(1106)),o=!1;e.exports=function(e){e=e||{};var t=e.shouldRejectClick||r;o=!0,n(121).injection.injectEventPluginsByName({TapEventPlugin:n(1104)(t)})}},291,[1634,129],function(e,t,n){"use strict";function r(e){return(""+e).replace(_,"$&/")}function o(e,t){this.func=e,this.context=t,this.count=0}function i(e,t,n){var r=e.func,o=e.context;r.call(o,t,e.count++)}function a(e,t,n){if(null==e)return e;var r=o.getPooled(t,n);v(e,i,r),o.release(r)}function s(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function u(e,t,n){var o=e.result,i=e.keyPrefix,a=e.func,s=e.context,u=a.call(s,t,e.count++);Array.isArray(u)?l(u,o,n,g.thatReturnsArgument):null!=u&&(m.isValidElement(u)&&(u=m.cloneAndReplaceKey(u,i+(!u.key||t&&t.key===u.key?"":r(u.key)+"/")+n)),o.push(u))}function l(e,t,n,o,i){var a="";null!=n&&(a=r(n)+"/");var l=s.getPooled(t,a,o,i);v(e,u,l),s.release(l)}function c(e,t,n){if(null==e)return e;var r=[];return l(e,r,null,t,n),r}function d(e,t,n){return null}function f(e,t){return v(e,d,null)}function p(e){var t=[];return l(e,t,null,g.thatReturnsArgument),t}var h=n(1109),m=n(128),g=n(40),v=n(1119),y=h.twoArgumentPooler,b=h.fourArgumentPooler,_=/\/+/g;o.prototype.destructor=function(){this.func=null,this.context=null,this.count=0},h.addPoolingTo(o,y),s.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},h.addPoolingTo(s,b);var w={forEach:a,map:c,mapIntoWithKeyPrefixInternal:l,count:f,toArray:p};e.exports=w},function(e,t,n){"use strict";function r(e){return e}function o(e,t){var n=_.hasOwnProperty(t)?_[t]:null;C.hasOwnProperty(t)&&("OVERRIDE_BASE"!==n?f("73",t):void 0),e&&("DEFINE_MANY"!==n&&"DEFINE_MANY_MERGED"!==n?f("74",t):void 0)}function i(e,t){if(t){"function"==typeof t?f("75"):void 0,m.isValidElement(t)?f("76"):void 0;var n=e.prototype,r=n.__reactAutoBindPairs;t.hasOwnProperty(y)&&w.mixins(e,t.mixins);for(var i in t)if(t.hasOwnProperty(i)&&i!==y){var a=t[i],s=n.hasOwnProperty(i);if(o(s,i),w.hasOwnProperty(i))w[i](e,a);else{var c=_.hasOwnProperty(i),d="function"==typeof a,p=d&&!c&&!s&&t.autobind!==!1;if(p)r.push(i,a),n[i]=a;else if(s){var h=_[i];!c||"DEFINE_MANY_MERGED"!==h&&"DEFINE_MANY"!==h?f("77",h,i):void 0,"DEFINE_MANY_MERGED"===h?n[i]=u(n[i],a):"DEFINE_MANY"===h&&(n[i]=l(n[i],a))}else n[i]=a}}}else;}function a(e,t){if(t)for(var n in t){var r=t[n];if(t.hasOwnProperty(n)){var o=n in w;o?f("78",n):void 0;var i=n in e;i?f("79",n):void 0,e[n]=r}}}function s(e,t){e&&t&&"object"==typeof e&&"object"==typeof t?void 0:f("80");for(var n in t)t.hasOwnProperty(n)&&(void 0!==e[n]?f("81",n):void 0,e[n]=t[n]);return e}function u(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);if(null==n)return r;if(null==r)return n;var o={};return s(o,n),s(o,r),o}}function l(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function c(e,t){var n=t.bind(e);return n}function d(e){for(var t=e.__reactAutoBindPairs,n=0;n<t.length;n+=2){var r=t[n],o=t[n+1];e[r]=c(e,o)}}var f=n(129),p=n(21),h=n(310),m=n(128),g=(n(471),n(311)),v=n(115),y=(n(10),n(13),"mixins"),b=[],_={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},w={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)i(e,t[n])},childContextTypes:function(e,t){e.childContextTypes=p({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=p({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=u(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){e.propTypes=p({},e.propTypes,t)},statics:function(e,t){a(e,t)},autobind:function(){}},C={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e),t&&this.updater.enqueueCallback(this,t,"replaceState")},isMounted:function(){return this.updater.isMounted(this)}},x=function(){};p(x.prototype,h.prototype,C);var E={createClass:function(e){var t=r(function(e,n,r){this.__reactAutoBindPairs.length&&d(this),this.props=e,this.context=n,this.refs=v,this.updater=r||g,this.state=null;var o=this.getInitialState?this.getInitialState():null;"object"!=typeof o||Array.isArray(o)?f("82",t.displayName||"ReactCompositeComponent"):void 0,this.state=o});t.prototype=new x,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],b.forEach(i.bind(null,t)),i(t,e),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),t.prototype.render?void 0:f("83");for(var n in _)t.prototype[n]||(t.prototype[n]=null);return t},injection:{injectMixin:function(e){b.push(e)}}};e.exports=E},function(e,t,n){"use strict";var r=n(128),o=r.createFactory,i={a:o("a"),abbr:o("abbr"),address:o("address"),area:o("area"),article:o("article"),aside:o("aside"),audio:o("audio"),b:o("b"),base:o("base"),bdi:o("bdi"),bdo:o("bdo"),big:o("big"),blockquote:o("blockquote"),body:o("body"),br:o("br"),button:o("button"),canvas:o("canvas"),caption:o("caption"),cite:o("cite"),code:o("code"),col:o("col"),colgroup:o("colgroup"),data:o("data"),datalist:o("datalist"),dd:o("dd"),del:o("del"),details:o("details"),dfn:o("dfn"),dialog:o("dialog"),div:o("div"),dl:o("dl"),dt:o("dt"),em:o("em"),embed:o("embed"),fieldset:o("fieldset"),figcaption:o("figcaption"),figure:o("figure"),footer:o("footer"),form:o("form"),h1:o("h1"),h2:o("h2"),h3:o("h3"),h4:o("h4"),h5:o("h5"),h6:o("h6"),head:o("head"),header:o("header"),hgroup:o("hgroup"),hr:o("hr"),html:o("html"),i:o("i"),iframe:o("iframe"),img:o("img"),input:o("input"),ins:o("ins"),kbd:o("kbd"),keygen:o("keygen"),label:o("label"),legend:o("legend"),li:o("li"),link:o("link"),main:o("main"),map:o("map"),mark:o("mark"),menu:o("menu"),menuitem:o("menuitem"),meta:o("meta"),meter:o("meter"),nav:o("nav"),noscript:o("noscript"),object:o("object"),ol:o("ol"),optgroup:o("optgroup"),option:o("option"),output:o("output"),p:o("p"),param:o("param"),picture:o("picture"),pre:o("pre"),progress:o("progress"),q:o("q"),rp:o("rp"),rt:o("rt"),ruby:o("ruby"),s:o("s"),samp:o("samp"),script:o("script"),section:o("section"),select:o("select"),small:o("small"),source:o("source"),span:o("span"),strong:o("strong"),style:o("style"),sub:o("sub"),summary:o("summary"),sup:o("sup"),table:o("table"),tbody:o("tbody"),td:o("td"),textarea:o("textarea"),tfoot:o("tfoot"),th:o("th"),thead:o("thead"),time:o("time"),title:o("title"),tr:o("tr"),track:o("track"),u:o("u"),ul:o("ul"),var:o("var"),video:o("video"),wbr:o("wbr"),circle:o("circle"),clipPath:o("clipPath"),defs:o("defs"),ellipse:o("ellipse"),g:o("g"),image:o("image"),line:o("line"),linearGradient:o("linearGradient"),mask:o("mask"),path:o("path"),pattern:o("pattern"),polygon:o("polygon"),polyline:o("polyline"),radialGradient:o("radialGradient"),rect:o("rect"),stop:o("stop"),svg:o("svg"),text:o("text"),tspan:o("tspan")};e.exports=i},function(e,t,n){"use strict";function r(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}function o(e){this.message=e,this.stack=""}function i(e){function t(t,n,r,i,a,s,u){i=i||k,s=s||r;if(null==n[r]){var l=C[a];return t?new o(null===n[r]?"The "+l+" `"+s+"` is marked as required "+("in `"+i+"`, but its value is `null`."):"The "+l+" `"+s+"` is marked as required in "+("`"+i+"`, but its value is `undefined`.")):null}return e(n,r,i,a,s)}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}function a(e){function t(t,n,r,i,a,s){var u=t[n],l=y(u);if(l!==e){var c=C[i],d=b(u);return new o("Invalid "+c+" `"+a+"` of type "+("`"+d+"` supplied to `"+r+"`, expected ")+("`"+e+"`."))}return null}return i(t)}function s(){return i(E.thatReturns(null))}function u(e){function t(t,n,r,i,a){if("function"!=typeof e)return new o("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s)){var u=C[i],l=y(s);return new o("Invalid "+u+" `"+a+"` of type "+("`"+l+"` supplied to `"+r+"`, expected an array."))}for(var c=0;c<s.length;c++){var d=e(s,c,r,i,a+"["+c+"]",x);if(d instanceof Error)return d}return null}return i(t)}function l(){function e(e,t,n,r,i){var a=e[t];if(!w.isValidElement(a)){var s=C[r],u=y(a);return new o("Invalid "+s+" `"+i+"` of type "+("`"+u+"` supplied to `"+n+"`, expected a single ReactElement."))}return null}return i(e)}function c(e){function t(t,n,r,i,a){if(!(t[n]instanceof e)){var s=C[i],u=e.name||k,l=_(t[n]);return new o("Invalid "+s+" `"+a+"` of type "+("`"+l+"` supplied to `"+r+"`, expected ")+("instance of `"+u+"`."))}return null}return i(t)}function d(e){function t(t,n,i,a,s){for(var u=t[n],l=0;l<e.length;l++)if(r(u,e[l]))return null;var c=C[a],d=JSON.stringify(e);return new o("Invalid "+c+" `"+s+"` of value `"+u+"` "+("supplied to `"+i+"`, expected one of "+d+"."))}return Array.isArray(e)?i(t):E.thatReturnsNull}function f(e){function t(t,n,r,i,a){if("function"!=typeof e)return new o("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var s=t[n],u=y(s);if("object"!==u){var l=C[i];return new o("Invalid "+l+" `"+a+"` of type "+("`"+u+"` supplied to `"+r+"`, expected an object."))}for(var c in s)if(s.hasOwnProperty(c)){var d=e(s,c,r,i,a+"."+c,x);if(d instanceof Error)return d}return null}return i(t)}function p(e){function t(t,n,r,i,a){for(var s=0;s<e.length;s++){var u=e[s];if(null==u(t,n,r,i,a,x))return null}var l=C[i];return new o("Invalid "+l+" `"+a+"` supplied to "+("`"+r+"`."))}return Array.isArray(e)?i(t):E.thatReturnsNull}function h(){function e(e,t,n,r,i){if(!g(e[t])){var a=C[r];return new o("Invalid "+a+" `"+i+"` supplied to "+("`"+n+"`, expected a ReactNode."))}return null}return i(e)}function m(e){function t(t,n,r,i,a){var s=t[n],u=y(s);if("object"!==u){var l=C[i];return new o("Invalid "+l+" `"+a+"` of type `"+u+"` "+("supplied to `"+r+"`, expected `object`."))}for(var c in e){var d=e[c];if(d){var f=d(s,c,r,i,a+"."+c,x);if(f)return f}}return null}return i(t)}function g(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(g);if(null===e||w.isValidElement(e))return!0;var t=T(e);if(!t)return!1;var n,r=t.call(e);if(t!==e.entries){for(;!(n=r.next()).done;)if(!g(n.value))return!1}else for(;!(n=r.next()).done;){var o=n.value;if(o&&!g(o[1]))return!1}return!0;default:return!1}}function v(e,t){return"symbol"===e||("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}function y(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":v(t,e)?"symbol":t}function b(e){var t=y(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function _(e){return e.constructor&&e.constructor.name?e.constructor.name:k}var w=n(128),C=n(471),x=n(1114),E=n(40),T=n(473),k=(n(13),"<<anonymous>>"),S={array:a("array"),bool:a("boolean"),func:a("function"),number:a("number"),object:a("object"),string:a("string"),symbol:a("symbol"),any:s(),arrayOf:u,element:l(),instanceOf:c,node:h(),objectOf:f,oneOf:d,oneOfType:p,shape:m};o.prototype=Error.prototype,e.exports=S},1039,function(e,t,n){"use strict";function r(e,t,n){this.props=e,this.context=t,this.refs=u,this.updater=n||s}function o(){}var i=n(21),a=n(310),s=n(311),u=n(115);o.prototype=a.prototype,r.prototype=new o,r.prototype.constructor=r,i(r.prototype,a.prototype),r.prototype.isPureReactComponent=!0,e.exports=r},function(e,t){"use strict";e.exports="15.4.2"},function(e,t){"use strict";function n(){return r++}var r=1;e.exports=n},function(e,t,n){"use strict";function r(e){return i.isValidElement(e)?void 0:o("143"),e}var o=n(129),i=n(128);n(10);e.exports=r},function(e,t,n){"use strict";function r(e,t){return e&&"object"==typeof e&&null!=e.key?l.escape(e.key):t.toString(36)}function o(e,t,n,i){var f=typeof e;if("undefined"!==f&&"boolean"!==f||(e=null),null===e||"string"===f||"number"===f||"object"===f&&e.$$typeof===s)return n(i,e,""===t?c+r(e,0):t),1;var p,h,m=0,g=""===t?c:t+d;if(Array.isArray(e))for(var v=0;v<e.length;v++)p=e[v],h=g+r(p,v),m+=o(p,h,n,i);else{var y=u(e);if(y){var b,_=y.call(e);if(y!==e.entries)for(var w=0;!(b=_.next()).done;)p=b.value,h=g+r(p,w++),m+=o(p,h,n,i);else for(;!(b=_.next()).done;){var C=b.value;C&&(p=C[1],h=g+l.escape(C[0])+d+r(p,0),m+=o(p,h,n,i))}}else if("object"===f){var x="",E=String(e);a("31","[object Object]"===E?"object with keys {"+Object.keys(e).join(", ")+"}":E,x)}}return m}function i(e,t,n){return null==e?0:o(e,"",t,n)}var a=n(129),s=(n(76),n(470)),u=n(473),l=(n(10),n(1108)),c=(n(13),"."),d=":";e.exports=i},function(e,t,n){"use strict";e.exports=n(1121).Recorder},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0}),t.Recorder=void 0;var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(856),s=r(a),u=t.Recorder=function(){function e(t,n){var r=this;o(this,e),this.config={bufferLen:4096,numChannels:2,mimeType:"audio/wav"},this.recording=!1,this.callbacks={getBuffer:[],exportWAV:[]},Object.assign(this.config,n),this.context=t.context,this.node=(this.context.createScriptProcessor||this.context.createJavaScriptNode).call(this.context,this.config.bufferLen,this.config.numChannels,this.config.numChannels),this.node.onaudioprocess=function(e){if(r.recording){for(var t=[],n=0;n<r.config.numChannels;n++)t.push(e.inputBuffer.getChannelData(n));r.worker.postMessage({command:"record",buffer:t})}},t.connect(this.node),this.node.connect(this.context.destination);var i={};this.worker=new s.default(function(){function e(e){p=e.sampleRate,h=e.numChannels,i()}function t(e){for(var t=0;t<h;t++)f[t].push(e[t]);d+=e[0].length}function n(e){for(var t=[],n=0;n<h;n++)t.push(a(f[n],d));var r=void 0;r=2===h?s(t[0],t[1]):t[0];var o=c(r),i=new Blob([o],{type:e});this.postMessage({command:"exportWAV",data:i})}function r(){for(var e=[],t=0;t<h;t++)e.push(a(f[t],d));
+this.postMessage({command:"getBuffer",data:e})}function o(){d=0,f=[],i()}function i(){for(var e=0;e<h;e++)f[e]=[]}function a(e,t){for(var n=new Float32Array(t),r=0,o=0;o<e.length;o++)n.set(e[o],r),r+=e[o].length;return n}function s(e,t){for(var n=e.length+t.length,r=new Float32Array(n),o=0,i=0;o<n;)r[o++]=e[i],r[o++]=t[i],i++;return r}function u(e,t,n){for(var r=0;r<n.length;r++,t+=2){var o=Math.max(-1,Math.min(1,n[r]));e.setInt16(t,o<0?32768*o:32767*o,!0)}}function l(e,t,n){for(var r=0;r<n.length;r++)e.setUint8(t+r,n.charCodeAt(r))}function c(e){var t=new ArrayBuffer(44+2*e.length),n=new DataView(t);return l(n,0,"RIFF"),n.setUint32(4,36+2*e.length,!0),l(n,8,"WAVE"),l(n,12,"fmt "),n.setUint32(16,16,!0),n.setUint16(20,1,!0),n.setUint16(22,h,!0),n.setUint32(24,p,!0),n.setUint32(28,4*p,!0),n.setUint16(32,2*h,!0),n.setUint16(34,16,!0),l(n,36,"data"),n.setUint32(40,2*e.length,!0),u(n,44,e),n}var d=0,f=[],p=void 0,h=void 0;this.onmessage=function(i){switch(i.data.command){case"init":e(i.data.config);break;case"record":t(i.data.buffer);break;case"exportWAV":n(i.data.type);break;case"getBuffer":r();break;case"clear":o()}}},i),this.worker.postMessage({command:"init",config:{sampleRate:this.context.sampleRate,numChannels:this.config.numChannels}}),this.worker.onmessage=function(e){var t=r.callbacks[e.data.command].pop();"function"==typeof t&&t(e.data.data)}}return i(e,[{key:"record",value:function(){this.recording=!0}},{key:"stop",value:function(){this.recording=!1}},{key:"clear",value:function(){this.worker.postMessage({command:"clear"})}},{key:"getBuffer",value:function(e){if(e=e||this.config.callback,!e)throw new Error("Callback not set");this.callbacks.getBuffer.push(e),this.worker.postMessage({command:"getBuffer"})}},{key:"exportWAV",value:function(e,t){if(t=t||this.config.mimeType,e=e||this.config.callback,!e)throw new Error("Callback not set");this.callbacks.exportWAV.push(e),this.worker.postMessage({command:"exportWAV",type:t})}}],[{key:"forceDownload",value:function(e,t){var n=(window.URL||window.webkitURL).createObjectURL(e),r=window.document.createElement("a");r.href=n,r.download=t||"output.wav";var o=document.createEvent("Event");o.initEvent("click",!0,!0),r.dispatchEvent(o)}}]),e}();t.default=u},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=n(1),c=r(l),d=n(1002),f=r(d),p=n(475),h=n(474),m=n(1124),g=r(m),v=n(963),y=r(v),b=function(e){function t(n){i(this,t);var r=a(this,e.call(this,n));r.handleKeyDown=r.handleKeyDown.bind(r),r.handleSizeChange=r.handleSizeChange.bind(r);var o=l.Children.count(n.children);return 0===o?console.error("<DockMonitor> requires at least one monitor inside. Why don’t you try <LogMonitor>? You can get it at https://github.com/gaearon/redux-devtools-log-monitor."):o>1&&!n.changeMonitorKey&&console.error('You specified multiple monitors inside <DockMonitor> but did not provide `changeMonitorKey` prop to change them. Try specifying <DockMonitor changeMonitorKey="ctrl-m" /> and then press Ctrl-M.'),r}return s(t,e),t.prototype.componentDidMount=function(){window.addEventListener("keydown",this.handleKeyDown)},t.prototype.componentWillUnmount=function(){window.removeEventListener("keydown",this.handleKeyDown)},t.prototype.matchesKey=function(e,t){if(!e)return!1;var n=t.keyCode||t.which,r=String.fromCharCode(n);return e.name.toUpperCase()===r.toUpperCase()&&e.alt===t.altKey&&e.ctrl===t.ctrlKey&&e.meta===t.metaKey&&e.shift===t.shiftKey},t.prototype.handleKeyDown=function(e){if(e.ctrlKey||e.metaKey||e.altKey||"INPUT"!==e.target.tagName&&"SELECT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&!e.target.isContentEditable){var t=(0,y.default)(this.props.toggleVisibilityKey),n=(0,y.default)(this.props.changePositionKey),r=void 0;this.props.changeMonitorKey&&(r=(0,y.default)(this.props.changeMonitorKey)),this.matchesKey(t,e)?(e.preventDefault(),this.props.dispatch((0,h.toggleVisibility)())):this.matchesKey(n,e)?(e.preventDefault(),this.props.dispatch((0,h.changePosition)())):this.matchesKey(r,e)&&(e.preventDefault(),this.props.dispatch((0,h.changeMonitor)()))}},t.prototype.handleSizeChange=function(e){this.props.dispatch((0,h.changeSize)(e))},t.prototype.renderChild=function(e,t,n){var r=this.props.monitorState,o=r.childMonitorIndex,i=r.childMonitorStates;return t!==o?null:(0,l.cloneElement)(e,u({monitorState:i[t]},n))},t.prototype.render=function(){var e=this,t=this.props,n=t.monitorState,r=t.children,i=t.fluid,a=o(t,["monitorState","children","fluid"]),s=n.position,u=n.isVisible,d=n.size;return c.default.createElement(f.default,{position:s,isVisible:u,size:d,fluid:i,onSizeChange:this.handleSizeChange,dimMode:"none"},l.Children.map(r,function(t,n){return e.renderChild(t,n,a)}))},t}(l.Component);b.update=g.default,b.propTypes={defaultPosition:l.PropTypes.oneOf(p.POSITIONS).isRequired,defaultIsVisible:l.PropTypes.bool.isRequired,defaultSize:l.PropTypes.number.isRequired,toggleVisibilityKey:l.PropTypes.string.isRequired,changePositionKey:l.PropTypes.string.isRequired,changeMonitorKey:l.PropTypes.string,fluid:l.PropTypes.bool,dispatch:l.PropTypes.func,monitorState:l.PropTypes.shape({position:l.PropTypes.oneOf(p.POSITIONS).isRequired,size:l.PropTypes.number.isRequired,isVisible:l.PropTypes.bool.isRequired,childMonitorState:l.PropTypes.any})},b.defaultProps={defaultIsVisible:!0,defaultPosition:"right",defaultSize:.3,fluid:!0},t.default=b},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.default=void 0;var o=n(1122),i=r(o);t.default=i.default},function(e,t,n){"use strict";function r(e){var t=arguments.length<=1||void 0===arguments[1]?e.defaultPosition:arguments[1],n=arguments[2];return n.type===l.CHANGE_POSITION?c.POSITIONS[(c.POSITIONS.indexOf(t)+1)%c.POSITIONS.length]:t}function o(e){var t=arguments.length<=1||void 0===arguments[1]?e.defaultSize:arguments[1],n=arguments[2];return n.type===l.CHANGE_SIZE?n.size:t}function i(e){var t=arguments.length<=1||void 0===arguments[1]?e.defaultIsVisible:arguments[1],n=arguments[2];return n.type===l.TOGGLE_VISIBILITY?!t:t}function a(e){var t=arguments.length<=1||void 0===arguments[1]?[]:arguments[1],n=arguments[2];return d.Children.map(e.children,function(e,r){return e.type.update(e.props,t[r],n)})}function s(e){var t=arguments.length<=1||void 0===arguments[1]?0:arguments[1],n=arguments[2];switch(n.type){case l.CHANGE_MONITOR:return(t+1)%d.Children.count(e.children);default:return t}}function u(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=arguments[2];return t.childMonitorStates||d.Children.forEach(e.children,function(e,t){"function"!=typeof e.type.update&&console.error("Child of <DockMonitor> with the index "+t+" "+("("+(e.type.displayName||e.type.name||e.type)+") ")+"does not appear to be a valid Redux DevTools monitor.")}),{position:r(e,t.position,n),isVisible:i(e,t.isVisible,n),size:o(e,t.size,n),childMonitorIndex:s(e,t.childMonitorIndex,n),childMonitorStates:a(e,t.childMonitorStates,n)}}t.__esModule=!0,t.default=u;var l=n(474),c=n(475),d=n(1)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=n(1),c=o(l),d=n(150),f=o(d),p=n(1134),h=r(p),m=n(201),g=n(477),v=n(1133),y=o(v),b=n(1127),_=o(b),w=n(1130),C=o(w),x=n(860),E=o(x),T=m.ActionCreators.toggleAction,k=m.ActionCreators.setActionsActive,S={container:{fontFamily:"monaco, Consolas, Lucida Console, monospace",position:"relative",overflowY:"hidden",width:"100%",height:"100%",minWidth:300,direction:"ltr"},elements:{position:"absolute",left:0,right:0,top:0,bottom:0,overflowX:"hidden",overflowY:"auto"}},O=function(e){function t(n){i(this,t);var r=a(this,e.call(this,n));return r.shouldComponentUpdate=f.default,r.updateScrollTop=(0,E.default)(function(){var e=r.node;r.props.dispatch((0,g.updateScrollTop)(e?e.scrollTop:0))},500),r.handleToggleAction=r.handleToggleAction.bind(r),r.handleToggleConsecutiveAction=r.handleToggleConsecutiveAction.bind(r),r.getRef=r.getRef.bind(r),r}return s(t,e),t.prototype.scroll=function(){var e=this.node;if(e&&this.scrollDown){var t=e.offsetHeight,n=e.scrollHeight;e.scrollTop=n-t,this.scrollDown=!1}},t.prototype.componentDidMount=function(){var e=this.node;e&&this.props.monitorState&&(this.props.preserveScrollTop?(e.scrollTop=this.props.monitorState.initialScrollTop,e.addEventListener("scroll",this.updateScrollTop)):(this.scrollDown=!0,this.scroll()))},t.prototype.componentWillUnmount=function(){var e=this.node;e&&this.props.preserveScrollTop&&e.removeEventListener("scroll",this.updateScrollTop)},t.prototype.componentWillReceiveProps=function(e){var t=this.node;if(t)if(this.props.stagedActionIds.length<e.stagedActionIds.length){var n=t.scrollTop,r=t.offsetHeight,o=t.scrollHeight;this.scrollDown=Math.abs(o-(n+r))<20}else this.scrollDown=!1;else this.scrollDown=!0},t.prototype.componentDidUpdate=function(){this.scroll()},t.prototype.handleToggleAction=function(e){this.props.dispatch(T(e))},t.prototype.handleToggleConsecutiveAction=function(e){var t=this.props,n=t.monitorState,r=t.actionsById,o=n.consecutiveToggleStartId;if(o&&r[o]){var i=this.props.skippedActionIds,a=Math.min(o,e),s=Math.max(o,e),u=i.indexOf(o)>-1;this.props.dispatch(k(a,s+1,u)),this.props.dispatch((0,g.startConsecutiveToggle)(null))}else e>0&&this.props.dispatch((0,g.startConsecutiveToggle)(e))},t.prototype.getTheme=function(){var e=this.props.theme;return"string"!=typeof e?e:"undefined"!=typeof h[e]?h[e]:(console.warn("DevTools theme "+e+" not found, defaulting to nicinabox"),h.nicinabox)},t.prototype.getRef=function(e){this.node=e},t.prototype.render=function(){var e=this.getTheme(),t=this.props.monitorState.consecutiveToggleStartId,n=this.props,r=n.dispatch,o=n.actionsById,i=n.skippedActionIds,a=n.stagedActionIds,s=n.computedStates,l=n.currentStateIndex,d=n.select,f=n.expandActionRoot,p=n.expandStateRoot,h=n.markStateDiff,m={theme:e,actionsById:o,skippedActionIds:i,stagedActionIds:a,computedStates:s,currentStateIndex:l,consecutiveToggleStartId:t,select:d,expandActionRoot:f,expandStateRoot:p,markStateDiff:h,onActionClick:this.handleToggleAction,onActionShiftClick:this.handleToggleConsecutiveAction};return c.default.createElement("div",{style:u({},S.container,{backgroundColor:e.base00})},!this.props.hideMainButtons&&c.default.createElement(_.default,{theme:e,dispatch:r,hasStates:s.length>1,hasSkippedActions:i.length>0}),c.default.createElement("div",{style:this.props.hideMainButtons?S.elements:u({},S.elements,{top:30}),ref:this.getRef},c.default.createElement(C.default,m)))},t}(l.Component);O.update=y.default,O.propTypes={dispatch:l.PropTypes.func,computedStates:l.PropTypes.array,actionsById:l.PropTypes.object,stagedActionIds:l.PropTypes.array,skippedActionIds:l.PropTypes.array,monitorState:l.PropTypes.shape({initialScrollTop:l.PropTypes.number,consecutiveToggleStartId:l.PropTypes.number}),preserveScrollTop:l.PropTypes.bool,select:l.PropTypes.func,theme:l.PropTypes.oneOfType([l.PropTypes.object,l.PropTypes.string]),expandActionRoot:l.PropTypes.bool,expandStateRoot:l.PropTypes.bool,markStateDiff:l.PropTypes.bool,hideMainButtons:l.PropTypes.bool},O.defaultProps={select:function(e){return e},theme:"nicinabox",preserveScrollTop:!0,expandActionRoot:!0,expandStateRoot:!0,markStateDiff:!1},t.default=O},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=n(1),l=r(u),c=n(1131),d=r(c),f=n(150),p=r(f),h={base:{cursor:"pointer",fontWeight:"bold",borderRadius:3,padding:4,marginLeft:3,marginRight:3,marginTop:5,marginBottom:5,flexGrow:1,display:"inline-block",fontSize:"0.8em",color:"white",textDecoration:"none"}},m=function(e){function t(n){o(this,t);var r=i(this,e.call(this,n));return r.shouldComponentUpdate=p.default,r.handleMouseEnter=r.handleMouseEnter.bind(r),r.handleMouseLeave=r.handleMouseLeave.bind(r),r.handleMouseDown=r.handleMouseDown.bind(r),r.handleMouseUp=r.handleMouseUp.bind(r),r.onClick=r.onClick.bind(r),r.state={hovered:!1,active:!1},r}return a(t,e),t.prototype.handleMouseEnter=function(){this.setState({hovered:!0})},t.prototype.handleMouseLeave=function(){this.setState({hovered:!1})},t.prototype.handleMouseDown=function(){this.setState({active:!0})},t.prototype.handleMouseUp=function(){this.setState({active:!1})},t.prototype.onClick=function(){this.props.enabled&&this.props.onClick&&this.props.onClick()},t.prototype.render=function(){var e=s({},h.base,{backgroundColor:this.props.theme.base02});return this.props.enabled&&this.state.hovered&&(e=s({},e,{backgroundColor:(0,d.default)(this.props.theme.base02,.2)})),this.props.enabled||(e=s({},e,{opacity:.2,cursor:"text",backgroundColor:"transparent"})),l.default.createElement("a",{onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,onClick:this.onClick,style:e},this.props.children)},t}(l.default.Component);t.default=m},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=n(1),l=r(u),c=n(150),d=r(c),f=n(201),p=n(1126),h=r(p),m=f.ActionCreators.reset,g=f.ActionCreators.rollback,v=f.ActionCreators.commit,y=f.ActionCreators.sweep,b={textAlign:"center",borderBottomWidth:1,borderBottomStyle:"solid",borderColor:"transparent",zIndex:1,display:"flex",flexDirection:"row"},_=function(e){function t(n){o(this,t);var r=i(this,e.call(this,n));return r.shouldComponentUpdate=d.default,r.handleReset=r.handleReset.bind(r),r.handleRollback=r.handleRollback.bind(r),r.handleSweep=r.handleSweep.bind(r),r.handleCommit=r.handleCommit.bind(r),r}return a(t,e),t.prototype.handleRollback=function(){this.props.dispatch(g())},t.prototype.handleSweep=function(){this.props.dispatch(y())},t.prototype.handleCommit=function(){this.props.dispatch(v())},t.prototype.handleReset=function(){this.props.dispatch(m())},t.prototype.render=function(){var e=this.props,t=e.theme,n=e.hasStates,r=e.hasSkippedActions;return l.default.createElement("div",{style:s({},b,{borderColor:t.base02})},l.default.createElement(h.default,{theme:t,onClick:this.handleReset,enabled:!0},"Reset"),l.default.createElement(h.default,{theme:t,onClick:this.handleRollback,enabled:n},"Revert"),l.default.createElement(h.default,{theme:t,onClick:this.handleSweep,enabled:r},"Sweep"),l.default.createElement(h.default,{theme:t,onClick:this.handleCommit,enabled:n},"Commit"))},t}(u.Component);_.propTypes={dispatch:u.PropTypes.func,theme:u.PropTypes.object},t.default=_},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=n(1),c=r(l),d=n(455),f=r(d),p=n(1129),h=r(p),m=n(150),g=r(m),v={entry:{display:"block",WebkitUserSelect:"none"},root:{marginLeft:0},changedData:{backgroundColor:"rgba(128, 128, 128, 0.3)"}},y=function(e,t){return t.reduce(function(e,t){return e&&e[t]},e)},b=function(e,t,n){var r=[].concat(n).reverse().slice(1);return y(e,r)===y(t,r)},_=function(e){function t(n){o(this,t);var r=i(this,e.call(this,n));return r.shouldComponentUpdate=g.default,r.handleActionClick=r.handleActionClick.bind(r),r.shouldExpandNode=r.shouldExpandNode.bind(r),r}return a(t,e),t.prototype.printState=function(e,t){var n=this,r=t;if(!r)try{var o=function(){var t=n.props.select(e),r=n.props.theme;return n.props.markStateDiff&&!function(){var e="undefined"!=typeof n.props.previousState?n.props.select(n.props.previousState):void 0,o=function(n,r,o){var i=n.style;return{style:u({},i,b(t,e,o)?{}:v.changedData)}},i=function(e,t){var n=e.style;return{style:u({},n,t.length>1?{}:v.root)}};r={extend:n.props.theme,tree:v.tree,value:o,nestedNode:i}}(),{v:c.default.createElement(f.default,{theme:r,data:t,invertTheme:!1,keyPath:["state"],shouldExpandNode:n.shouldExpandNode})}}();if("object"===("undefined"==typeof o?"undefined":s(o)))return o.v}catch(e){r="Error selecting state."}return c.default.createElement("div",{style:{color:this.props.theme.base08,paddingTop:20,paddingLeft:30,paddingRight:30,paddingBottom:35}},r)},t.prototype.handleActionClick=function(e){var t=this.props,n=t.actionId,r=t.onActionClick,o=t.onActionShiftClick;n>0&&(e.shiftKey?o(n):r(n))},t.prototype.shouldExpandNode=function(e,t,n){return this.props.expandStateRoot&&0===n},t.prototype.render=function(){var e=this.props,t=e.actionId,n=e.error,r=e.action,o=e.state,i=e.collapsed,a=e.selected,s=e.inFuture,l={opacity:i?.5:1,cursor:t>0?"pointer":"default"};return c.default.createElement("div",{style:{opacity:a?.4:s?.6:1,textDecoration:i?"line-through":"none",color:this.props.theme.base06}},c.default.createElement(h.default,{theme:this.props.theme,collapsed:i,action:r,expandActionRoot:this.props.expandActionRoot,onClick:this.handleActionClick,style:u({},v.entry,l)}),!i&&c.default.createElement("div",{style:{paddingLeft:16}},this.printState(o,n)))},t}(l.Component);_.propTypes={state:l.PropTypes.object.isRequired,action:l.PropTypes.object.isRequired,actionId:l.PropTypes.number.isRequired,select:l.PropTypes.func.isRequired,inFuture:l.PropTypes.bool,error:l.PropTypes.string,onActionClick:l.PropTypes.func.isRequired,onActionShiftClick:l.PropTypes.func.isRequired,collapsed:l.PropTypes.bool,selected:l.PropTypes.bool,expandActionRoot:l.PropTypes.bool,expandStateRoot:l.PropTypes.bool},t.default=_},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=n(1),c=r(l),d=n(455),f=r(d),p={actionBar:{paddingTop:8,paddingBottom:7,paddingLeft:16},payload:{margin:0,paddingLeft:16,overflow:"auto"}},h=function(e){function t(n){i(this,t);var r=a(this,e.call(this,n));return r.shouldExpandNode=r.shouldExpandNode.bind(r),r}return s(t,e),t.prototype.renderPayload=function(e){return c.default.createElement("div",{style:u({},p.payload,{backgroundColor:this.props.theme.base00})},Object.keys(e).length>0?c.default.createElement(f.default,{theme:this.props.theme,invertTheme:!1,keyPath:["action"],data:e,shouldExpandNode:this.shouldExpandNode}):"")},t.prototype.shouldExpandNode=function(e,t,n){return this.props.expandActionRoot&&0===n},t.prototype.render=function(){var e=this.props.action,t=e.type,n=o(e,["type"]);return c.default.createElement("div",{style:u({backgroundColor:this.props.theme.base02,color:this.props.theme.base06},this.props.style)},c.default.createElement("div",{style:p.actionBar,onClick:this.props.onClick},null!==t&&t.toString()),this.props.collapsed?"":this.renderPayload(n))},t}(l.Component);t.default=h},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(1),u=r(s),l=n(1128),c=r(l),d=n(150),f=r(d),p=function(e){function t(){var n,r,a;o(this,t);for(var s=arguments.length,u=Array(s),l=0;l<s;l++)u[l]=arguments[l];return n=r=i(this,e.call.apply(e,[this].concat(u))),r.shouldComponentUpdate=f.default,a=n,i(r,a)}return a(t,e),t.prototype.render=function(){for(var e=[],t=this.props,n=t.theme,r=t.actionsById,o=t.computedStates,i=t.currentStateIndex,a=t.consecutiveToggleStartId,s=t.select,l=t.skippedActionIds,d=t.stagedActionIds,f=t.expandActionRoot,p=t.expandStateRoot,h=t.markStateDiff,m=t.onActionClick,g=t.onActionShiftClick,v=0;v<d.length;v++){var y=d[v],b=r[y].action,_=o[v],w=_.state,C=_.error,x=void 0;v>0&&(x=o[v-1].state),e.push(u.default.createElement(c.default,{key:y,theme:n,select:s,action:b,actionId:y,state:w,previousState:x,collapsed:l.indexOf(y)>-1,inFuture:v>i,selected:a===v,error:C,expandActionRoot:f,expandStateRoot:p,markStateDiff:h,onActionClick:m,onActionShiftClick:g}))}return u.default.createElement("div",null,e)},t}(s.Component);p.propTypes={actionsById:s.PropTypes.object,computedStates:s.PropTypes.array,stagedActionIds:s.PropTypes.array,skippedActionIds:s.PropTypes.array,currentStateIndex:s.PropTypes.number,consecutiveToggleStartId:s.PropTypes.number,select:s.PropTypes.func.isRequired,onActionClick:s.PropTypes.func.isRequired,theme:s.PropTypes.oneOfType([s.PropTypes.object,s.PropTypes.string]),expandActionRoot:s.PropTypes.bool,expandStateRoot:s.PropTypes.bool},t.default=p},function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){var n=String(e).replace(/[^0-9a-f]/gi,"");n.length<6&&(n=n.replace(/(.)/g,"$1$1"));for(var r=t||0,o="#",i=void 0,a=0;a<3;++a)i=parseInt(n.substr(2*a,2),16),i=Math.round(Math.min(Math.max(0,i+i*r),255)).toString(16),o+=("00"+i).substr(i.length);return o}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.default=void 0;var o=n(1125),i=r(o);t.default=i.default},function(e,t,n){"use strict";function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments[2];return e.preserveScrollTop?n.type===a.UPDATE_SCROLL_TOP?n.scrollTop:t:0}function o(e,t,n){return n.type===a.START_CONSECUTIVE_TOGGLE?n.id:t}function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];return{initialScrollTop:r(e,t.initialScrollTop,n),consecutiveToggleStartId:o(e,t.consecutiveToggleStartId,n)}}t.__esModule=!0,t.default=i;var a=n(477)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e.default:e}function o(e,t){var n=t({},e);return delete n.default,n}function i(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r<n.length;r++){var o=n[r],i=Object.getOwnPropertyDescriptor(t,o);i&&i.configurable&&void 0===e[o]&&Object.defineProperty(e,o,i)}return e}t.__esModule=!0;var a=n(344);i(t,o(a,i));var s=n(1135);t.nicinabox=r(s)},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"nicinabox",author:"nicinabox (http://github.com/nicinabox)",base00:"#2A2F3A",base01:"#3C444F",base02:"#4F5A65",base03:"#BEBEBE",base04:"#b0b0b0",base05:"#d0d0d0",base06:"#FFFFFF",base07:"#f5f5f5",base08:"#fb9fb1",base09:"#FC6D24",base0A:"#ddb26f",base0B:"#A1C659",base0C:"#12cfc0",base0D:"#6FB3D2",base0E:"#D381C3",base0F:"#deaf8f"},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t,n,r=l.Children.only(e),s=r.props,f=r.type,h=(0,d.connect)(function(e){return e})(f);return n=t=function(e){function t(n,r){o(this,t);var a=i(this,e.call(this,n,r));return n.store||r.store?(r.store?a.liftedStore=r.store.liftedStore:a.liftedStore=n.store.liftedStore,a.liftedStore||console.error("Redux DevTools could not render. Did you forget to include DevTools.instrument() in your store enhancer chain before using createStore()?"),a):(console.error('Redux DevTools could not render. You must pass the Redux store to <DevTools> either as a "store" prop or by wrapping it in a <Provider store={store}>.'),i(a))}return a(t,e),t.prototype.render=function(){return this.liftedStore?c.default.createElement(h,u({},s,{store:this.liftedStore})):null},t}(l.Component),t.contextTypes={store:l.PropTypes.object},t.propTypes={store:l.PropTypes.object},t.instrument=function(e){return(0,p.default)(function(e,t){return f.update(s,e,t)},e)},n}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=s;var l=n(1),c=r(l),d=n(36),f=n(476),p=r(f)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){function t(e){return i({},e,{actionsById:(0,s.default)(e.actionsById,function(e){return i({},e,{action:r(e.action)})}),committedState:n(e.committedState),computedStates:e.computedStates.map(function(e){return i({},e,{state:n(e.state)})})})}var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.default;return e?function(n){return function(r,o,a){var s="redux-dev-session-"+e,u=void 0;try{var l=localStorage.getItem(s);l&&(u=t(JSON.parse(l))||o,n(r,o))}catch(e){console.warn("Could not read debug session from localStorage:",e);try{localStorage.removeItem(s)}finally{u=void 0}}var c=n(r,u,a);return i({},c,{dispatch:function(e){c.dispatch(e);try{localStorage.setItem(s,JSON.stringify(c.getState()))}catch(e){console.warn("Could not write debug session to localStorage:",e)}return e}})}}:function(e){return function(){return e.apply(void 0,arguments)}}}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=o;var a=n(955),s=r(a),u=n(191),l=r(u)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(n,r,o){var a=e(n,r,o),u=a.dispatch,l=[],c={getState:a.getState,dispatch:function(e){return u(e)}};return l=t.map(function(e){return e(c)}),u=s.default.apply(void 0,l)(a.dispatch),i({},a,{dispatch:u})}}}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=o;var a=n(478),s=r(a)},function(e,t){"use strict";function n(e,t){return function(){return t(e.apply(void 0,arguments))}}function r(e,t){if("function"==typeof e)return n(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');for(var r=Object.keys(e),o={},i=0;i<r.length;i++){var a=r[i],s=e[a];"function"==typeof s&&(o[a]=n(s,t))}return o}t.__esModule=!0,t.default=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=t&&t.type,r=n&&'"'+n.toString()+'"'||"an action";return"Given action "+r+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state.'}function i(e){Object.keys(e).forEach(function(t){var n=e[t],r=n(void 0,{type:s.ActionTypes.INIT});if("undefined"==typeof r)throw new Error('Reducer "'+t+'" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined.');
+var o="@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".");if("undefined"==typeof n(void 0,{type:o}))throw new Error('Reducer "'+t+'" returned undefined when probed with a random type. '+("Don't try to handle "+s.ActionTypes.INIT+' or other actions in "redux/*" ')+"namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined.")})}function a(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var a=t[r];"function"==typeof e[a]&&(n[a]=e[a])}var s,u=Object.keys(n);try{i(n)}catch(e){s=e}return function(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],t=arguments[1];if(s)throw s;for(var r=!1,i={},a=0;a<u.length;a++){var l=u[a],c=n[l],d=e[l],f=c(d,t);if("undefined"==typeof f){var p=o(l,t);throw new Error(p)}i[l]=f,r=r||f!==d}return r?i:e}}t.__esModule=!0,t.default=a;var s=n(312),u=n(63),l=(r(u),n(479));r(l)},function(e,t,n){(function(t,n){!function(t){"use strict";function r(e,t,n,r){var o=t&&t.prototype instanceof i?t:i,a=Object.create(o.prototype),s=new h(r||[]);return a._invoke=c(e,n,s),a}function o(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function i(){}function a(){}function s(){}function u(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function l(e){function t(n,r,i,a){var s=o(e[n],e,r);if("throw"!==s.type){var u=s.arg,l=u.value;return l&&"object"==typeof l&&b.call(l,"__await")?Promise.resolve(l.__await).then(function(e){t("next",e,i,a)},function(e){t("throw",e,i,a)}):Promise.resolve(l).then(function(e){u.value=e,i(u)},a)}a(s.arg)}function r(e,n){function r(){return new Promise(function(r,o){t(e,n,r,o)})}return i=i?i.then(r,r):r()}"object"==typeof n&&n.domain&&(t=n.domain.bind(t));var i;this._invoke=r}function c(e,t,n){var r=T;return function(i,a){if(r===S)throw new Error("Generator is already running");if(r===O){if("throw"===i)throw a;return g()}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var u=d(s,n);if(u){if(u===M)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===T)throw r=O,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=S;var l=o(e,t,n);if("normal"===l.type){if(r=n.done?O:k,l.arg===M)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=O,n.method="throw",n.arg=l.arg)}}}function d(e,t){var n=e.iterator[t.method];if(n===v){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=v,d(e,t),"throw"===t.method))return M;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return M}var r=o(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,M;var i=r.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=v),t.delegate=null,M):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,M)}function f(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function p(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function h(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(f,this),this.reset(!0)}function m(e){if(e){var t=e[w];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(b.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=v,t.done=!0,t};return r.next=r}}return{next:g}}function g(){return{value:v,done:!0}}var v,y=Object.prototype,b=y.hasOwnProperty,_="function"==typeof Symbol?Symbol:{},w=_.iterator||"@@iterator",C=_.toStringTag||"@@toStringTag",x="object"==typeof e,E=t.regeneratorRuntime;if(E)return void(x&&(e.exports=E));E=t.regeneratorRuntime=x?e.exports:{},E.wrap=r;var T="suspendedStart",k="suspendedYield",S="executing",O="completed",M={},A={};A[w]=function(){return this};var N=Object.getPrototypeOf,I=N&&N(N(m([])));I&&I!==y&&b.call(I,w)&&(A=I);var P=s.prototype=i.prototype=Object.create(A);a.prototype=P.constructor=s,s.constructor=a,s[C]=a.displayName="GeneratorFunction",E.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===a||"GeneratorFunction"===(t.displayName||t.name))},E.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,C in e||(e[C]="GeneratorFunction")),e.prototype=Object.create(P),e},E.awrap=function(e){return{__await:e}},u(l.prototype),E.AsyncIterator=l,E.async=function(e,t,n,o){var i=new l(r(e,t,n,o));return E.isGeneratorFunction(t)?i:i.next().then(function(e){return e.done?e.value:i.next()})},u(P),P[C]="Generator",P.toString=function(){return"[object Generator]"},E.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},E.values=m,h.prototype={constructor:h,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=v,this.done=!1,this.delegate=null,this.method="next",this.arg=v,this.tryEntries.forEach(p),!e)for(var t in this)"t"===t.charAt(0)&&b.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=v)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){function t(t,r){return i.type="throw",i.arg=e,n.next=t,r&&(n.method="next",n.arg=v),!!r}if(this.done)throw e;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],i=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var a=b.call(o,"catchLoc"),s=b.call(o,"finallyLoc");if(a&&s){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&b.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,M):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),M},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),p(n),M}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;p(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:m(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=v),M}}}("object"==typeof t?t:"object"==typeof window?window:"object"==typeof self?self:this)}).call(t,function(){return this}(),n(160))},function(e,t){function n(e,t){var n,r=null;try{n=JSON.parse(e,t)}catch(e){r=e}return[r,n]}e.exports=n},function(e,t){"use strict";e.exports=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}},function(e,t,n){function r(e){var t=o(e)?Object.prototype.toString.call(e):"";return"[object Function]"===t}var o=n(315);e.exports=r},function(e,t,n){function r(e){if(e)return o(e)}function o(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}var i=n(315);e.exports=r,r.prototype.clearTimeout=function(){return clearTimeout(this._timer),clearTimeout(this._responseTimeoutTimer),delete this._timer,delete this._responseTimeoutTimer,this},r.prototype.parse=function(e){return this._parser=e,this},r.prototype.responseType=function(e){return this._responseType=e,this},r.prototype.serialize=function(e){return this._serializer=e,this},r.prototype.timeout=function(e){return e&&"object"==typeof e?("undefined"!=typeof e.deadline&&(this._timeout=e.deadline),"undefined"!=typeof e.response&&(this._responseTimeout=e.response),this):(this._timeout=e,this._responseTimeout=0,this)},r.prototype.retry=function(e){return 0!==arguments.length&&e!==!0||(e=1),e<=0&&(e=0),this._maxRetries=e,this._retries=0,this},r.prototype._retry=function(){return this.clearTimeout(),this.req&&(this.req=null,this.req=this.request()),this._aborted=!1,this.timedout=!1,this._end()},r.prototype.then=function(e,t){if(!this._fullfilledPromise){var n=this;this._endCalled&&console.warn("Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises"),this._fullfilledPromise=new Promise(function(e,t){n.end(function(n,r){n?t(n):e(r)})})}return this._fullfilledPromise.then(e,t)},r.prototype.catch=function(e){return this.then(void 0,e)},r.prototype.use=function(e){return e(this),this},r.prototype.ok=function(e){if("function"!=typeof e)throw Error("Callback required");return this._okCallback=e,this},r.prototype._isResponseOK=function(e){return!!e&&(this._okCallback?this._okCallback(e):e.status>=200&&e.status<300)},r.prototype.get=function(e){return this._header[e.toLowerCase()]},r.prototype.getHeader=r.prototype.get,r.prototype.set=function(e,t){if(i(e)){for(var n in e)this.set(n,e[n]);return this}return this._header[e.toLowerCase()]=t,this.header[e]=t,this},r.prototype.unset=function(e){return delete this._header[e.toLowerCase()],delete this.header[e],this},r.prototype.field=function(e,t){if(null===e||void 0===e)throw new Error(".field(name, val) name can not be empty");if(this._data&&console.error(".field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()"),i(e)){for(var n in e)this.field(n,e[n]);return this}if(Array.isArray(t)){for(var r in t)this.field(e,t[r]);return this}if(null===t||void 0===t)throw new Error(".field(name, val) val can not be empty");return"boolean"==typeof t&&(t=""+t),this._getFormData().append(e,t),this},r.prototype.abort=function(){return this._aborted?this:(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req&&this.req.abort(),this.clearTimeout(),this.emit("abort"),this)},r.prototype.withCredentials=function(){return this._withCredentials=!0,this},r.prototype.redirects=function(e){return this._maxRedirects=e,this},r.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},r.prototype.send=function(e){var t=i(e),n=this._header["content-type"];if(this._formData&&console.error(".send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()"),t&&!this._data)Array.isArray(e)?this._data=[]:this._isHost(e)||(this._data={});else if(e&&this._data&&this._isHost(this._data))throw Error("Can't merge these send calls");if(t&&i(this._data))for(var r in e)this._data[r]=e[r];else"string"==typeof e?(n||this.type("form"),n=this._header["content-type"],"application/x-www-form-urlencoded"==n?this._data=this._data?this._data+"&"+e:e:this._data=(this._data||"")+e):this._data=e;return!t||this._isHost(e)?this:(n||this.type("json"),this)},r.prototype.sortQuery=function(e){return this._sort="undefined"==typeof e||e,this},r.prototype._timeoutError=function(e,t){if(!this._aborted){var n=new Error(e+t+"ms exceeded");n.timeout=t,n.code="ECONNABORTED",this.timedout=!0,this.abort(),this.callback(n)}},r.prototype._setTimeouts=function(){var e=this;this._timeout&&!this._timer&&(this._timer=setTimeout(function(){e._timeoutError("Timeout of ",e._timeout)},this._timeout)),this._responseTimeout&&!this._responseTimeoutTimer&&(this._responseTimeoutTimer=setTimeout(function(){e._timeoutError("Response timeout of ",e._responseTimeout)},this._responseTimeout))}},function(e,t,n){function r(e){if(e)return o(e)}function o(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}var i=n(1148);e.exports=r,r.prototype.get=function(e){return this.header[e.toLowerCase()]},r.prototype._setHeaderProperties=function(e){var t=e["content-type"]||"";this.type=i.type(t);var n=i.params(t);for(var r in n)this[r]=n[r];this.links={};try{e.link&&(this.links=i.parseLinks(e.link))}catch(e){}},r.prototype._setStatusProperties=function(e){var t=e/100|0;this.status=this.statusCode=e,this.statusType=t,this.info=1==t,this.ok=2==t,this.redirect=3==t,this.clientError=4==t,this.serverError=5==t,this.error=(4==t||5==t)&&this.toError(),this.accepted=202==e,this.noContent=204==e,this.badRequest=400==e,this.unauthorized=401==e,this.notAcceptable=406==e,this.forbidden=403==e,this.notFound=404==e}},function(e,t){var n=["ECONNRESET","ETIMEDOUT","EADDRINFO","ESOCKETTIMEDOUT"];e.exports=function(e,t){return!!(e&&e.code&&~n.indexOf(e.code))||(!!(t&&t.status&&t.status>=500)||!!(e&&"timeout"in e&&"ECONNABORTED"==e.code))}},function(e,t){t.type=function(e){return e.split(/ *; */).shift()},t.params=function(e){return e.split(/ *; */).reduce(function(e,t){var n=t.split(/ *= */),r=n.shift(),o=n.shift();return r&&o&&(e[r]=o),e},{})},t.parseLinks=function(e){return e.split(/ *, */).reduce(function(e,t){var n=t.split(/ *; */),r=n[0].slice(1,-1),o=n[1].split(/ *= */)[1].slice(1,-1);return e[o]=r,e},{})},t.cleanHeader=function(e,t){return delete e["content-type"],delete e["content-length"],delete e["transfer-encoding"],delete e.host,t&&delete e.cookie,e}},function(e,t,n){(function(e,r){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i,a=n(1150),s=o(a);i="undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof e?e:r;var u=(0,s.default)(i);t.default=u}).call(t,function(){return this}(),n(206)(e))},function(e,t){"use strict";function n(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n},function(e,t){function n(e){return e.replace(/^\s*|\s*$/g,"")}t=e.exports=n,t.left=function(e){return e.replace(/^\s*/,"")},t.right=function(e){return e.replace(/\s*$/,"")}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(152),u=r(s),l=n(8),c=r(l),d=function(e){function t(){return o(this,t),i(this,e.apply(this,arguments))}return a(t,e),t.prototype.buildCSSClass=function(){return"vjs-big-play-button"},t.prototype.handleClick=function(e){this.player_.play();var t=this.player_.getChild("controlBar"),n=t&&t.getChild("playToggle");return n?void this.setTimeout(function(){n.focus()},1):void this.player_.focus()},t}(u.default);d.prototype.controlText_="Play Video",c.default.registerComponent("BigPlayButton",d),t.default=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(152),u=r(s),l=n(8),c=r(l),d=function(e){function t(n,r){o(this,t);var a=i(this,e.call(this,n,r));return a.controlText(r&&r.controlText||a.localize("Close")),a}return a(t,e),t.prototype.buildCSSClass=function(){return"vjs-close-button "+e.prototype.buildCSSClass.call(this)},t.prototype.handleClick=function(e){this.trigger({type:"close",bubbles:!1})},t}(u.default);c.default.registerComponent("CloseButton",d),t.default=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(483),u=r(s),l=n(8),c=r(l),d=n(1155),f=r(d),p=function(e){function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o(this,t),r.tracks=n.audioTracks&&n.audioTracks();var a=i(this,e.call(this,n,r));return a.el_.setAttribute("aria-label","Audio Menu"),a}return a(t,e),t.prototype.buildCSSClass=function(){return"vjs-audio-button "+e.prototype.buildCSSClass.call(this)},t.prototype.createItems=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.hideThreshold_=1;var t=this.player_.audioTracks&&this.player_.audioTracks();if(!t)return e;for(var n=0;n<t.length;n++){var r=t[n];e.push(new f.default(this.player_,{track:r,selectable:!0}))}return e},t}(u.default);p.prototype.controlText_="Audio Track",c.default.registerComponent("AudioTrackButton",p),t.default=p},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(204),l=o(u),c=n(8),d=o(c),f=n(19),p=r(f),h=function(e){function t(n,r){i(this,t);var o=r.track,s=n.audioTracks();r.label=o.label||o.language||"Unknown",r.selected=o.enabled;var u=a(this,e.call(this,n,r));if(u.track=o,s){var l=p.bind(u,u.handleTracksChange);s.addEventListener("change",l),u.on("dispose",function(){s.removeEventListener("change",l)})}return u}return s(t,e),t.prototype.handleClick=function(t){var n=this.player_.audioTracks();if(e.prototype.handleClick.call(this,t),n)for(var r=0;r<n.length;r++){var o=n[r];o.enabled=o===this.track}},t.prototype.handleTracksChange=function(e){this.selected(this.track.enabled)},t}(l.default);d.default.registerComponent("AudioTrackMenuItem",h),t.default=h},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(8),u=r(s);n(1159),n(1177),n(1178),n(1180),n(1179),n(1158),n(1165),n(1157),n(1181),n(1183),n(482),n(1172),n(1174),n(1176),n(1171),n(1154),n(1160),n(1168);var l=function(e){function t(){return o(this,t),i(this,e.apply(this,arguments))}return a(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-control-bar",dir:"ltr"},{role:"group"})},t}(u.default);l.prototype.options_={children:["playToggle","volumeMenuButton","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subtitlesButton","captionsButton","audioTrackButton","fullscreenToggle"]},u.default.registerComponent("ControlBar",l),t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(152),u=r(s),l=n(8),c=r(l),d=function(e){function t(n,r){o(this,t);var a=i(this,e.call(this,n,r));return a.on(n,"fullscreenchange",a.handleFullscreenChange),a}return a(t,e),t.prototype.buildCSSClass=function(){return"vjs-fullscreen-control "+e.prototype.buildCSSClass.call(this)},t.prototype.handleFullscreenChange=function(e){this.player_.isFullscreen()?this.controlText("Non-Fullscreen"):this.controlText("Fullscreen")},t.prototype.handleClick=function(e){this.player_.isFullscreen()?this.player_.exitFullscreen():this.player_.requestFullscreen()},t}(u.default);d.prototype.controlText_="Fullscreen",c.default.registerComponent("FullscreenToggle",d),t.default=d},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(8),l=o(u),c=n(23),d=r(c),f=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.updateShowing(),o.on(o.player(),"durationchange",o.updateShowing),o}return s(t,e),t.prototype.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-live-control vjs-control"});return this.contentEl_=d.createEl("div",{className:"vjs-live-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Stream Type")+"</span>"+this.localize("LIVE")},{"aria-live":"off"}),t.appendChild(this.contentEl_),t},t.prototype.updateShowing=function(e){this.player().duration()===1/0?this.show():this.hide()},t}(l.default);l.default.registerComponent("LiveDisplay",f),t.default=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(152),u=r(s),l=n(8),c=r(l),d=function(e){function t(n,r){o(this,t);var a=i(this,e.call(this,n,r));return a.on(n,"play",a.handlePlay),a.on(n,"pause",a.handlePause),a}return a(t,e),t.prototype.buildCSSClass=function(){return"vjs-play-control "+e.prototype.buildCSSClass.call(this)},t.prototype.handleClick=function(e){this.player_.paused()?this.player_.play():this.player_.pause()},t.prototype.handlePlay=function(e){this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.controlText("Pause")},t.prototype.handlePause=function(e){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.controlText("Play")},t}(u.default);d.prototype.controlText_="Play",c.default.registerComponent("PlayToggle",d),t.default=d},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(486),l=o(u),c=n(487),d=o(c),f=n(1161),p=o(f),h=n(8),m=o(h),g=n(23),v=r(g),y=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.updateVisibility(),o.updateLabel(),o.on(n,"loadstart",o.updateVisibility),o.on(n,"ratechange",o.updateLabel),o}return s(t,e),t.prototype.createEl=function(){var t=e.prototype.createEl.call(this);return this.labelEl_=v.createEl("div",{className:"vjs-playback-rate-value",innerHTML:1}),t.appendChild(this.labelEl_),t},t.prototype.buildCSSClass=function(){return"vjs-playback-rate "+e.prototype.buildCSSClass.call(this)},t.prototype.createMenu=function(){var e=new d.default(this.player()),t=this.playbackRates();if(t)for(var n=t.length-1;n>=0;n--)e.addChild(new p.default(this.player(),{rate:t[n]+"x"}));return e},t.prototype.updateARIAAttributes=function(){this.el().setAttribute("aria-valuenow",this.player().playbackRate())},t.prototype.handleClick=function(e){for(var t=this.player().playbackRate(),n=this.playbackRates(),r=n[0],o=0;o<n.length;o++)if(n[o]>t){r=n[o];break}this.player().playbackRate(r)},t.prototype.playbackRates=function(){return this.options_.playbackRates||this.options_.playerOptions&&this.options_.playerOptions.playbackRates},t.prototype.playbackRateSupported=function(){return this.player().tech_&&this.player().tech_.featuresPlaybackRate&&this.playbackRates()&&this.playbackRates().length>0},t.prototype.updateVisibility=function(e){this.playbackRateSupported()?this.removeClass("vjs-hidden"):this.addClass("vjs-hidden")},t.prototype.updateLabel=function(e){this.playbackRateSupported()&&(this.labelEl_.innerHTML=this.player().playbackRate()+"x")},t}(l.default);y.prototype.controlText_="Playback Rate",m.default.registerComponent("PlaybackRateMenuButton",y),t.default=y},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(204),u=r(s),l=n(8),c=r(l),d=function(e){function t(n,r){o(this,t);var a=r.rate,s=parseFloat(a,10);r.label=a,r.selected=1===s,r.selectable=!0;var u=i(this,e.call(this,n,r));return u.label=a,u.rate=s,u.on(n,"ratechange",u.update),u}return a(t,e),t.prototype.handleClick=function(t){e.prototype.handleClick.call(this),this.player().playbackRate(this.rate)},t.prototype.update=function(e){this.selected(this.player().playbackRate()===this.rate)},t}(u.default);d.prototype.contentElType="button",c.default.registerComponent("PlaybackRateMenuItem",d),t.default=d},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(8),l=o(u),c=n(23),d=r(c),f=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.partEls_=[],o.on(n,"progress",o.update),o}return s(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-load-progress",innerHTML:'<span class="vjs-control-text"><span>'+this.localize("Loaded")+"</span>: 0%</span>"})},t.prototype.update=function(e){var t=this.player_.buffered(),n=this.player_.duration(),r=this.player_.bufferedEnd(),o=this.partEls_,i=function(e,t){var n=e/t||0;return 100*(n>=1?1:n)+"%"};this.el_.style.width=i(r,n);for(var a=0;a<t.length;a++){var s=t.start(a),u=t.end(a),l=o[a];l||(l=this.el_.appendChild(d.createEl()),o[a]=l),l.style.left=i(s,r),l.style.width=i(u-s,r)}for(var c=o.length;c>t.length;c--)this.el_.removeChild(o[c-1]);o.length=t.length},t}(l.default);l.default.registerComponent("LoadProgressBar",f),t.default=f},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(8),l=o(u),c=n(23),d=r(c),f=n(19),p=r(f),h=n(84),m=o(h),g=n(321),v=o(g),y=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return r.playerOptions&&r.playerOptions.controlBar&&r.playerOptions.controlBar.progressControl&&r.playerOptions.controlBar.progressControl.keepTooltipsInside&&(o.keepTooltipsInside=r.playerOptions.controlBar.progressControl.keepTooltipsInside),
+o.keepTooltipsInside&&(o.tooltip=d.createEl("div",{className:"vjs-time-tooltip"}),o.el().appendChild(o.tooltip),o.addClass("vjs-keep-tooltips-inside")),o.update(0,0),n.on("ready",function(){o.on(n.controlBar.progressControl.el(),"mousemove",p.throttle(p.bind(o,o.handleMouseMove),25))}),o}return s(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},t.prototype.handleMouseMove=function(e){var t=this.player_.duration(),n=this.calculateDistance(e)*t,r=e.pageX-d.findElPosition(this.el().parentNode).left;this.update(n,r)},t.prototype.update=function(e,t){var n=(0,m.default)(e,this.player_.duration());if(this.el().style.left=t+"px",this.el().setAttribute("data-current-time",n),this.keepTooltipsInside){var r=this.clampPosition_(t),o=t-r+1,i=parseFloat((0,v.default)(this.tooltip,"width")),a=i/2;this.tooltip.innerHTML=n,this.tooltip.style.right="-"+(a-o)+"px"}},t.prototype.calculateDistance=function(e){return d.getPointerPosition(this.el().parentNode,e).x},t.prototype.clampPosition_=function(e){if(!this.keepTooltipsInside)return e;var t=parseFloat((0,v.default)(this.player().el(),"width")),n=parseFloat((0,v.default)(this.tooltip,"width")),r=n/2,o=e;return e<r?o=Math.ceil(r):e>t-r&&(o=Math.floor(t-r)),o},t}(l.default);l.default.registerComponent("MouseTimeDisplay",y),t.default=y},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(8),l=o(u),c=n(19),d=r(c),f=n(84),p=o(f),h=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.updateDataAttr(),o.on(n,"timeupdate",o.updateDataAttr),n.ready(d.bind(o,o.updateDataAttr)),r.playerOptions&&r.playerOptions.controlBar&&r.playerOptions.controlBar.progressControl&&r.playerOptions.controlBar.progressControl.keepTooltipsInside&&(o.keepTooltipsInside=r.playerOptions.controlBar.progressControl.keepTooltipsInside),o.keepTooltipsInside&&o.addClass("vjs-keep-tooltips-inside"),o}return s(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-play-progress vjs-slider-bar",innerHTML:'<span class="vjs-control-text"><span>'+this.localize("Progress")+"</span>: 0%</span>"})},t.prototype.updateDataAttr=function(e){var t=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();this.el_.setAttribute("data-current-time",(0,p.default)(t,this.player_.duration()))},t}(l.default);l.default.registerComponent("PlayProgressBar",h),t.default=h},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(8),u=r(s);n(1166),n(1163);var l=function(e){function t(){return o(this,t),i(this,e.apply(this,arguments))}return a(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-progress-control vjs-control"})},t}(u.default);l.prototype.options_={children:["seekBar"]},u.default.registerComponent("ProgressControl",l),t.default=l},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(490),l=o(u),c=n(8),d=o(c),f=n(19),p=r(f),h=n(84),m=o(h),g=n(321),v=o(g);n(1162),n(1164),n(1167);var y=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.on(n,"timeupdate",o.updateProgress),o.on(n,"ended",o.updateProgress),n.ready(p.bind(o,o.updateProgress)),r.playerOptions&&r.playerOptions.controlBar&&r.playerOptions.controlBar.progressControl&&r.playerOptions.controlBar.progressControl.keepTooltipsInside&&(o.keepTooltipsInside=r.playerOptions.controlBar.progressControl.keepTooltipsInside),o.keepTooltipsInside&&(o.tooltipProgressBar=o.addChild("TooltipProgressBar")),o}return s(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-progress-holder"},{"aria-label":"progress bar"})},t.prototype.updateProgress=function(e){if(this.updateAriaAttributes(this.el_),this.keepTooltipsInside){this.updateAriaAttributes(this.tooltipProgressBar.el_),this.tooltipProgressBar.el_.style.width=this.bar.el_.style.width;var t=parseFloat((0,v.default)(this.player().el(),"width")),n=parseFloat((0,v.default)(this.tooltipProgressBar.tooltip,"width")),r=this.tooltipProgressBar.el().style;r.maxWidth=Math.floor(t-n/2)+"px",r.minWidth=Math.ceil(n/2)+"px",r.right="-"+n/2+"px"}},t.prototype.updateAriaAttributes=function(e){var t=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();e.setAttribute("aria-valuenow",(100*this.getPercent()).toFixed(2)),e.setAttribute("aria-valuetext",(0,m.default)(t,this.player_.duration()))},t.prototype.getPercent=function(){var e=this.player_.currentTime()/this.player_.duration();return e>=1?1:e},t.prototype.handleMouseDown=function(t){this.player_.scrubbing(!0),this.videoWasPlaying=!this.player_.paused(),this.player_.pause(),e.prototype.handleMouseDown.call(this,t)},t.prototype.handleMouseMove=function(e){var t=this.calculateDistance(e)*this.player_.duration();t===this.player_.duration()&&(t-=.1),this.player_.currentTime(t)},t.prototype.handleMouseUp=function(t){e.prototype.handleMouseUp.call(this,t),this.player_.scrubbing(!1),this.videoWasPlaying&&this.player_.play()},t.prototype.stepForward=function(){this.player_.currentTime(this.player_.currentTime()+5)},t.prototype.stepBack=function(){this.player_.currentTime(this.player_.currentTime()-5)},t}(l.default);y.prototype.options_={children:["loadProgressBar","mouseTimeDisplay","playProgressBar"],barName:"playProgressBar"},y.prototype.playerEvent="timeupdate",d.default.registerComponent("SeekBar",y),t.default=y},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(8),l=o(u),c=n(19),d=r(c),f=n(84),p=o(f),h=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.updateDataAttr(),o.on(n,"timeupdate",o.updateDataAttr),n.ready(d.bind(o,o.updateDataAttr)),o}return s(t,e),t.prototype.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-tooltip-progress-bar vjs-slider-bar",innerHTML:'<div class="vjs-time-tooltip"></div>\n        <span class="vjs-control-text"><span>'+this.localize("Progress")+"</span>: 0%</span>"});return this.tooltip=t.querySelector(".vjs-time-tooltip"),t},t.prototype.updateDataAttr=function(e){var t=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),n=(0,p.default)(t,this.player_.duration());this.el_.setAttribute("data-current-time",n),this.tooltip.innerHTML=n},t}(l.default);l.default.registerComponent("TooltipProgressBar",h),t.default=h},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(1169),u=r(s),l=n(8),c=r(l),d=function(e){function t(){return o(this,t),i(this,e.apply(this,arguments))}return a(t,e),t.prototype.buildCSSClass=function(){return"vjs-custom-control-spacer "+e.prototype.buildCSSClass.call(this)},t.prototype.createEl=function(){var t=e.prototype.createEl.call(this,{className:this.buildCSSClass()});return t.innerHTML="&nbsp;",t},t}(u.default);c.default.registerComponent("CustomControlSpacer",d),t.default=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(8),u=r(s),l=function(e){function t(){return o(this,t),i(this,e.apply(this,arguments))}return a(t,e),t.prototype.buildCSSClass=function(){return"vjs-spacer "+e.prototype.buildCSSClass.call(this)},t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},t}(u.default);u.default.registerComponent("Spacer",l),t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(316),u=r(s),l=n(8),c=r(l),d=function(e){function t(n,r){o(this,t),r.track={player:n,kind:r.kind,label:r.kind+" settings",selectable:!1,default:!1,mode:"disabled"},r.selectable=!1;var a=i(this,e.call(this,n,r));return a.addClass("vjs-texttrack-settings"),a.controlText(", opens "+r.kind+" settings dialog"),a}return a(t,e),t.prototype.handleClick=function(e){this.player().getChild("textTrackSettings").show(),this.player().getChild("textTrackSettings").el_.focus()},t}(u.default);c.default.registerComponent("CaptionSettingsMenuItem",d),t.default=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(202),u=r(s),l=n(8),c=r(l),d=n(1170),f=r(d),p=function(e){function t(n,r,a){o(this,t);var s=i(this,e.call(this,n,r,a));return s.el_.setAttribute("aria-label","Captions Menu"),s}return a(t,e),t.prototype.buildCSSClass=function(){return"vjs-captions-button "+e.prototype.buildCSSClass.call(this)},t.prototype.createItems=function(){var t=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||(t.push(new f.default(this.player_,{kind:this.kind_})),this.hideThreshold_+=1),e.prototype.createItems.call(this,t)},t}(u.default);p.prototype.kind_="captions",p.prototype.controlText_="Captions",c.default.registerComponent("CaptionsButton",p),t.default=p},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(202),u=r(s),l=n(8),c=r(l),d=n(1173),f=r(d),p=n(131),h=r(p),m=function(e){function t(n,r,a){o(this,t);var s=i(this,e.call(this,n,r,a));return s.el_.setAttribute("aria-label","Chapters Menu"),s}return a(t,e),t.prototype.buildCSSClass=function(){return"vjs-chapters-button "+e.prototype.buildCSSClass.call(this)},t.prototype.update=function(t){this.track_&&(!t||"addtrack"!==t.type&&"removetrack"!==t.type)||this.setTrack(this.findChaptersTrack()),e.prototype.update.call(this)},t.prototype.setTrack=function(e){if(this.track_!==e){if(this.updateHandler_||(this.updateHandler_=this.update.bind(this)),this.track_){var t=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);t&&t.removeEventListener("load",this.updateHandler_),this.track_=null}if(this.track_=e,this.track_){this.track_.mode="hidden";var n=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);n&&n.addEventListener("load",this.updateHandler_)}}},t.prototype.findChaptersTrack=function(){for(var e=this.player_.textTracks()||[],t=e.length-1;t>=0;t--){var n=e[t];if(n.kind===this.kind_)return n}},t.prototype.getMenuCaption=function(){return this.track_&&this.track_.label?this.track_.label:this.localize((0,h.default)(this.kind_))},t.prototype.createMenu=function(){return this.options_.title=this.getMenuCaption(),e.prototype.createMenu.call(this)},t.prototype.createItems=function(){var e=[];if(!this.track_)return e;var t=this.track_.cues;if(!t)return e;for(var n=0,r=t.length;n<r;n++){var o=t[n],i=new f.default(this.player_,{track:this.track_,cue:o});e.push(i)}return e},t}(u.default);m.prototype.kind_="chapters",m.prototype.controlText_="Chapters",c.default.registerComponent("ChaptersButton",m),t.default=m},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(204),l=o(u),c=n(8),d=o(c),f=n(19),p=r(f),h=function(e){function t(n,r){i(this,t);var o=r.track,s=r.cue,u=n.currentTime();r.selectable=!0,r.label=s.text,r.selected=s.startTime<=u&&u<s.endTime;var l=a(this,e.call(this,n,r));return l.track=o,l.cue=s,o.addEventListener("cuechange",p.bind(l,l.update)),l}return s(t,e),t.prototype.handleClick=function(t){e.prototype.handleClick.call(this),this.player_.currentTime(this.cue.startTime),this.update(this.cue.startTime)},t.prototype.update=function(e){var t=this.cue,n=this.player_.currentTime();this.selected(t.startTime<=n&&n<t.endTime)},t}(l.default);d.default.registerComponent("ChaptersTrackMenuItem",h),t.default=h},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(202),l=o(u),c=n(8),d=o(c),f=n(19),p=r(f),h=function(e){function t(n,r,o){i(this,t);var s=a(this,e.call(this,n,r,o));s.el_.setAttribute("aria-label","Descriptions Menu");var u=n.textTracks();if(u){var l=p.bind(s,s.handleTracksChange);u.addEventListener("change",l),s.on("dispose",function(){u.removeEventListener("change",l)})}return s}return s(t,e),t.prototype.handleTracksChange=function(e){for(var t=this.player().textTracks(),n=!1,r=0,o=t.length;r<o;r++){var i=t[r];if(i.kind!==this.kind_&&"showing"===i.mode){n=!0;break}}n?this.disable():this.enable()},t.prototype.buildCSSClass=function(){return"vjs-descriptions-button "+e.prototype.buildCSSClass.call(this)},t}(l.default);h.prototype.kind_="descriptions",h.prototype.controlText_="Descriptions",d.default.registerComponent("DescriptionsButton",h),t.default=h},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(316),u=r(s),l=n(8),c=r(l),d=function(e){function t(n,r){o(this,t),r.track={player:n,kind:r.kind,label:r.kind+" off",default:!1,mode:"disabled"},r.selectable=!0;var a=i(this,e.call(this,n,r));return a.selected(!0),a}return a(t,e),t.prototype.handleTracksChange=function(e){for(var t=this.player().textTracks(),n=!0,r=0,o=t.length;r<o;r++){var i=t[r];if(i.kind===this.track.kind&&"showing"===i.mode){n=!1;break}}this.selected(n)},t}(u.default);c.default.registerComponent("OffTextTrackMenuItem",d),t.default=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(202),u=r(s),l=n(8),c=r(l),d=function(e){function t(n,r,a){o(this,t);var s=i(this,e.call(this,n,r,a));return s.el_.setAttribute("aria-label","Subtitles Menu"),s}return a(t,e),t.prototype.buildCSSClass=function(){return"vjs-subtitles-button "+e.prototype.buildCSSClass.call(this)},t}(u.default);d.prototype.kind_="subtitles",d.prototype.controlText_="Subtitles",c.default.registerComponent("SubtitlesButton",d),t.default=d},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(8),l=o(u),c=n(23),d=r(c),f=n(84),p=o(f),h=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.on(n,"timeupdate",o.updateContent),o}return s(t,e),t.prototype.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-current-time vjs-time-control vjs-control"});return this.contentEl_=d.createEl("div",{className:"vjs-current-time-display",innerHTML:'<span class="vjs-control-text">Current Time </span>0:00'},{"aria-live":"off"}),t.appendChild(this.contentEl_),t},t.prototype.updateContent=function(e){var t=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),n=this.localize("Current Time"),r=(0,p.default)(t,this.player_.duration());r!==this.formattedTime_&&(this.formattedTime_=r,this.contentEl_.innerHTML='<span class="vjs-control-text">'+n+"</span> "+r)},t}(l.default);l.default.registerComponent("CurrentTimeDisplay",h),t.default=h},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(8),l=o(u),c=n(23),d=r(c),f=n(84),p=o(f),h=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.on(n,"durationchange",o.updateContent),o.on(n,"timeupdate",o.updateContent),o.on(n,"loadedmetadata",o.updateContent),o}return s(t,e),t.prototype.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-duration vjs-time-control vjs-control"});return this.contentEl_=d.createEl("div",{className:"vjs-duration-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Duration Time")+"</span> 0:00"},{"aria-live":"off"}),t.appendChild(this.contentEl_),t},t.prototype.updateContent=function(e){var t=this.player_.duration();if(t&&this.duration_!==t){this.duration_=t;var n=this.localize("Duration Time"),r=(0,p.default)(t);this.contentEl_.innerHTML='<span class="vjs-control-text">'+n+"</span> "+r}},t}(l.default);l.default.registerComponent("DurationDisplay",h),t.default=h},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(8),l=o(u),c=n(23),d=r(c),f=n(84),p=o(f),h=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.on(n,"timeupdate",o.updateContent),o.on(n,"durationchange",o.updateContent),o}return s(t,e),t.prototype.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-remaining-time vjs-time-control vjs-control"});return this.contentEl_=d.createEl("div",{className:"vjs-remaining-time-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Remaining Time")+"</span> -0:00"},{"aria-live":"off"}),t.appendChild(this.contentEl_),t},t.prototype.updateContent=function(e){if(this.player_.duration()){var t=this.localize("Remaining Time"),n=(0,p.default)(this.player_.remainingTime());n!==this.formattedTime_&&(this.formattedTime_=n,this.contentEl_.innerHTML='<span class="vjs-control-text">'+t+"</span> -"+n)}},t}(l.default);l.default.registerComponent("RemainingTimeDisplay",h),t.default=h},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(8),u=r(s),l=function(e){function t(){return o(this,t),i(this,e.apply(this,arguments))}return a(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-time-control vjs-time-divider",innerHTML:"<div><span>/</span></div>"})},t}(u.default);u.default.registerComponent("TimeDivider",l),t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(8),u=r(s);n(484);var l=function(e){function t(n,r){o(this,t);var a=i(this,e.call(this,n,r));return n.tech_&&n.tech_.featuresVolumeControl===!1&&a.addClass("vjs-hidden"),a.on(n,"loadstart",function(){n.tech_.featuresVolumeControl===!1?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")}),a}return a(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-volume-control vjs-control"})},t}(u.default);l.prototype.options_={children:["volumeBar"]},u.default.registerComponent("VolumeControl",l),t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(8),u=r(s),l=function(e){function t(){return o(this,t),i(this,e.apply(this,arguments))}return a(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-volume-level",innerHTML:'<span class="vjs-control-text"></span>'})},t}(u.default);u.default.registerComponent("VolumeLevel",l),t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(19),l=o(u),c=n(8),d=r(c),f=n(1190),p=r(f),h=n(1189),m=r(h),g=n(482),v=r(g),y=n(484),b=r(y),_=function(e){function t(n){function r(){n.tech_&&n.tech_.featuresVolumeControl===!1?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")}var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};i(this,t),void 0===o.inline&&(o.inline=!0),void 0===o.vertical&&(o.inline?o.vertical=!1:o.vertical=!0),o.volumeBar=o.volumeBar||{},o.volumeBar.vertical=!!o.vertical;var s=a(this,e.call(this,n,o));return s.on(n,"volumechange",s.volumeUpdate),s.on(n,"loadstart",s.volumeUpdate),r.call(s),s.on(n,"loadstart",r),s.on(s.volumeBar,["slideractive","focus"],function(){this.addClass("vjs-slider-active")}),s.on(s.volumeBar,["sliderinactive","blur"],function(){this.removeClass("vjs-slider-active")}),s.on(s.volumeBar,["focus"],function(){
+this.addClass("vjs-lock-showing")}),s.on(s.volumeBar,["blur"],function(){this.removeClass("vjs-lock-showing")}),s}return s(t,e),t.prototype.buildCSSClass=function(){var t="";return t=this.options_.vertical?"vjs-volume-menu-button-vertical":"vjs-volume-menu-button-horizontal","vjs-volume-menu-button "+e.prototype.buildCSSClass.call(this)+" "+t},t.prototype.createPopup=function(){var e=new p.default(this.player_,{contentElType:"div"}),t=new b.default(this.player_,this.options_.volumeBar);return e.addChild(t),this.menuContent=e,this.volumeBar=t,this.attachVolumeBarEvents(),e},t.prototype.handleClick=function(t){v.default.prototype.handleClick.call(this),e.prototype.handleClick.call(this)},t.prototype.attachVolumeBarEvents=function(){this.menuContent.on(["mousedown","touchdown"],l.bind(this,this.handleMouseDown))},t.prototype.handleMouseDown=function(e){this.on(["mousemove","touchmove"],l.bind(this.volumeBar,this.volumeBar.handleMouseMove)),this.on(this.el_.ownerDocument,["mouseup","touchend"],this.handleMouseUp)},t.prototype.handleMouseUp=function(e){this.off(["mousemove","touchmove"],l.bind(this.volumeBar,this.volumeBar.handleMouseMove))},t}(m.default);_.prototype.volumeUpdate=v.default.prototype.update,_.prototype.controlText_="Mute",d.default.registerComponent("VolumeMenuButton",_),t.default=_},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(8),u=r(s),l=n(488),c=r(l),d=n(77),f=r(d),p=function(e){function t(n,r){o(this,t);var a=i(this,e.call(this,n,r));return a.on(n,"error",a.open),a}return a(t,e),t.prototype.buildCSSClass=function(){return"vjs-error-display "+e.prototype.buildCSSClass.call(this)},t.prototype.content=function(){var e=this.player().error();return e?this.localize(e.message):""},t}(c.default);p.prototype.options_=(0,f.default)(c.default.prototype.options_,{pauseOnOpen:!1,fillAlways:!0,temporary:!1,uncloseable:!0}),u.default.registerComponent("ErrorDisplay",p),t.default=p},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=n(46),a=r(i),s=n(34),u=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+("undefined"==typeof t?"undefined":o(t)));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(e.super_=t)},l=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=function(){e.apply(this,arguments)},r={};(0,s.isObject)(t)?("function"==typeof t.init&&(a.default.warn("Constructor logic via init() is deprecated; please use constructor() instead."),t.constructor=t.init),t.constructor!==Object.prototype.constructor&&(n=t.constructor),r=t):"function"==typeof t&&(n=t),u(n,e);for(var o in r)r.hasOwnProperty(o)&&(n.prototype[o]=r[o]);return n};t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;for(var o=n(28),i=r(o),a={},s=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],u=s[0],l=void 0,c=0;c<s.length;c++)if(s[c][1]in i.default){l=s[c];break}if(l)for(var d=0;d<l.length;d++)a[u[d]]=l[d];t.default=a},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(8),u=r(s),l=function(e){function t(){return o(this,t),i(this,e.apply(this,arguments))}return a(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-loading-spinner",dir:"ltr"})},t}(u.default);u.default.registerComponent("LoadingSpinner",l),t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(489),i=r(o),a=function(e,t){i.default.prototype[e]=t};t.default=a},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(153),u=r(s),l=n(8),c=r(l),d=function(e){function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o(this,t);var a=i(this,e.call(this,n,r));return a.update(),a}return a(t,e),t.prototype.update=function(){var e=this.createPopup();this.popup&&this.removeChild(this.popup),this.popup=e,this.addChild(e),this.items&&0===this.items.length?this.hide():this.items&&this.items.length>1&&this.show()},t.prototype.createPopup=function(){},t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},t.prototype.buildCSSClass=function(){var t="vjs-menu-button";return t+=this.options_.inline===!0?"-inline":"-popup","vjs-menu-button "+t+" "+e.prototype.buildCSSClass.call(this)},t}(u.default);c.default.registerComponent("PopupButton",d),t.default=d},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(8),l=o(u),c=n(23),d=r(c),f=n(19),p=r(f),h=n(83),m=r(h),g=function(e){function t(){return i(this,t),a(this,e.apply(this,arguments))}return s(t,e),t.prototype.addItem=function(e){this.addChild(e),e.on("click",p.bind(this,function(){this.unlockShowing()}))},t.prototype.createEl=function(){var t=this.options_.contentElType||"ul";this.contentEl_=d.createEl(t,{className:"vjs-menu-content"});var n=e.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"});return n.appendChild(this.contentEl_),m.on(n,"click",function(e){e.preventDefault(),e.stopImmediatePropagation()}),n},t}(l.default);l.default.registerComponent("Popup",g),t.default=g},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(153),l=o(u),c=n(8),d=o(c),f=n(19),p=r(f),h=n(23),m=r(h),g=n(33),v=r(g),y=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.update(),n.on("posterchange",p.bind(o,o.update)),o}return s(t,e),t.prototype.dispose=function(){this.player().off("posterchange",this.update),e.prototype.dispose.call(this)},t.prototype.createEl=function(){var e=m.createEl("div",{className:"vjs-poster",tabIndex:-1});return v.BACKGROUND_SIZE_SUPPORTED||(this.fallbackImg_=m.createEl("img"),e.appendChild(this.fallbackImg_)),e},t.prototype.update=function(e){var t=this.player().poster();this.setSrc(t),t?this.show():this.hide()},t.prototype.setSrc=function(e){if(this.fallbackImg_)this.fallbackImg_.src=e;else{var t="";e&&(t='url("'+e+'")'),this.el_.style.backgroundImage=t}},t.prototype.handleClick=function(e){this.player_.controls()&&(this.player_.paused()?this.player_.play():this.player_.pause())},t}(l.default);d.default.registerComponent("PosterImage",y),t.default=y},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e,t){t&&(m=t),p.default.setTimeout(g,e)}t.__esModule=!0,t.hasLoaded=t.autoSetupTimeout=t.autoSetup=void 0;var a=n(23),s=o(a),u=n(83),l=o(u),c=n(28),d=r(c),f=n(30),p=r(f),h=!1,m=void 0,g=function(){if(s.isReal()){var e=d.default.getElementsByTagName("video"),t=d.default.getElementsByTagName("audio"),n=[];if(e&&e.length>0)for(var r=0,o=e.length;r<o;r++)n.push(e[r]);if(t&&t.length>0)for(var a=0,u=t.length;a<u;a++)n.push(t[a]);if(n&&n.length>0)for(var l=0,c=n.length;l<c;l++){var f=n[l];if(!f||!f.getAttribute){i(1);break}if(void 0===f.player){var p=f.getAttribute("data-setup");null!==p&&m(f)}}else h||i(1)}};s.isReal()&&"complete"===d.default.readyState?h=!0:l.one(p.default,"load",function(){h=!0});var v=function(){return h};t.autoSetup=g,t.autoSetupTimeout=i,t.hasLoaded=v},function(e,t){"use strict";function n(e){return e.streamingFormats={"rtmp/mp4":"MP4","rtmp/flv":"FLV"},e.streamFromParts=function(e,t){return e+"&"+t},e.streamToParts=function(e){var t={connection:"",stream:""};if(!e)return t;var n=e.search(/&(?!\w+=)/),r=void 0;return n!==-1?r=n+1:(n=r=e.lastIndexOf("/")+1,0===n&&(n=r=e.length)),t.connection=e.substring(0,n),t.stream=e.substring(r,e.length),t},e.isStreamingType=function(t){return t in e.streamingFormats},e.RTMP_RE=/^rtmp[set]?:\/\//i,e.isStreamingSrc=function(t){return e.RTMP_RE.test(t)},e.rtmpSourceHandler={},e.rtmpSourceHandler.canPlayType=function(t){return e.isStreamingType(t)?"maybe":""},e.rtmpSourceHandler.canHandleSource=function(t,n){var r=e.rtmpSourceHandler.canPlayType(t.type);return r?r:e.isStreamingSrc(t.src)?"maybe":""},e.rtmpSourceHandler.handleSource=function(t,n,r){var o=e.streamToParts(t.src);n.setRtmpConnection(o.connection),n.setRtmpStream(o.stream)},e.registerSourceHandler(e.rtmpSourceHandler),e}t.__esModule=!0,t.default=n},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function u(e){var t=e.charAt(0).toUpperCase()+e.slice(1);k["set"+t]=function(t){return this.el_.vjs_setProperty(e,t)}}function l(e){k[e]=function(){return this.el_.vjs_getProperty(e)}}t.__esModule=!0;for(var c=n(154),d=o(c),f=n(23),p=r(f),h=n(205),m=r(h),g=n(155),v=n(1193),y=o(v),b=n(8),_=o(b),w=n(30),C=o(w),x=n(34),E=C.default.navigator,T=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return n.source&&o.ready(function(){this.setSource(n.source)},!0),n.startTime&&o.ready(function(){this.load(),this.play(),this.currentTime(n.startTime)},!0),C.default.videojs=C.default.videojs||{},C.default.videojs.Flash=C.default.videojs.Flash||{},C.default.videojs.Flash.onReady=t.onReady,C.default.videojs.Flash.onEvent=t.onEvent,C.default.videojs.Flash.onError=t.onError,o.on("seeked",function(){this.lastSeekTarget_=void 0}),o}return s(t,e),t.prototype.createEl=function(){var e=this.options_;if(!e.swf){var n="5.3.0";e.swf="//vjs.zencdn.net/swf/"+n+"/video-js.swf"}var r=e.techId,o=(0,x.assign)({readyFunction:"videojs.Flash.onReady",eventProxyFunction:"videojs.Flash.onEvent",errorEventProxyFunction:"videojs.Flash.onError",autoplay:e.autoplay,preload:e.preload,loop:e.loop,muted:e.muted},e.flashVars),i=(0,x.assign)({wmode:"opaque",bgcolor:"#000000"},e.params),a=(0,x.assign)({id:r,name:r,class:"vjs-tech"},e.attributes);return this.el_=t.embed(e.swf,o,i,a),this.el_.tech=this,this.el_},t.prototype.play=function(){this.ended()&&this.setCurrentTime(0),this.el_.vjs_play()},t.prototype.pause=function(){this.el_.vjs_pause()},t.prototype.src=function(e){return void 0===e?this.currentSrc():this.setSrc(e)},t.prototype.setSrc=function(e){var t=this;e=m.getAbsoluteURL(e),this.el_.vjs_src(e),this.autoplay()&&this.setTimeout(function(){return t.play()},0)},t.prototype.seeking=function(){return void 0!==this.lastSeekTarget_},t.prototype.setCurrentTime=function(t){var n=this.seekable();n.length&&(t=t>n.start(0)?t:n.start(0),t=t<n.end(n.length-1)?t:n.end(n.length-1),this.lastSeekTarget_=t,this.trigger("seeking"),this.el_.vjs_setProperty("currentTime",t),e.prototype.setCurrentTime.call(this))},t.prototype.currentTime=function(){return this.seeking()?this.lastSeekTarget_||0:this.el_.vjs_getProperty("currentTime")},t.prototype.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.vjs_getProperty("currentSrc")},t.prototype.duration=function e(){if(0===this.readyState())return NaN;var e=this.el_.vjs_getProperty("duration");return e>=0?e:1/0},t.prototype.load=function(){this.el_.vjs_load()},t.prototype.poster=function(){this.el_.vjs_getProperty("poster")},t.prototype.setPoster=function(){},t.prototype.seekable=function(){var e=this.duration();return 0===e?(0,g.createTimeRange)():(0,g.createTimeRange)(0,e)},t.prototype.buffered=function(){var e=this.el_.vjs_getProperty("buffered");return 0===e.length?(0,g.createTimeRange)():(0,g.createTimeRange)(e[0][0],e[0][1])},t.prototype.supportsFullScreen=function(){return!1},t.prototype.enterFullScreen=function(){return!1},t}(d.default),k=T.prototype,S="rtmpConnection,rtmpStream,preload,defaultPlaybackRate,playbackRate,autoplay,loop,mediaGroup,controller,controls,volume,muted,defaultMuted".split(","),O="networkState,readyState,initialTime,startOffsetTime,paused,ended,videoWidth,videoHeight".split(","),M=0;M<S.length;M++)l(S[M]),u(S[M]);for(var A=0;A<O.length;A++)l(O[A]);T.isSupported=function(){return T.version()[0]>=10},d.default.withSourceHandlers(T),T.nativeSourceHandler={},T.nativeSourceHandler.canPlayType=function(e){return e in T.formats?"maybe":""},T.nativeSourceHandler.canHandleSource=function(e,t){function n(e){var t=m.getFileExtension(e);return t?"video/"+t:""}var r=void 0;return r=e.type?e.type.replace(/;.*/,"").toLowerCase():n(e.src),T.nativeSourceHandler.canPlayType(r)},T.nativeSourceHandler.handleSource=function(e,t,n){t.setSrc(e.src)},T.nativeSourceHandler.dispose=function(){},T.registerSourceHandler(T.nativeSourceHandler),T.formats={"video/flv":"FLV","video/x-flv":"FLV","video/mp4":"MP4","video/m4v":"MP4"},T.onReady=function(e){var t=p.getEl(e),n=t&&t.tech;n&&n.el()&&T.checkReady(n)},T.checkReady=function(e){e.el()&&(e.el().vjs_getProperty?e.triggerReady():this.setTimeout(function(){T.checkReady(e)},50))},T.onEvent=function(e,t){var n=p.getEl(e).tech,r=Array.prototype.slice.call(arguments,2);n.setTimeout(function(){n.trigger(t,r)},1)},T.onError=function(e,t){var n=p.getEl(e).tech;return"srcnotfound"===t?n.error(4):void n.error("FLASH: "+t)},T.version=function(){var e="0,0,0";try{e=new C.default.ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version").replace(/\D+/g,",").match(/^,?(.+),?$/)[1]}catch(t){try{E.mimeTypes["application/x-shockwave-flash"].enabledPlugin&&(e=(E.plugins["Shockwave Flash 2.0"]||E.plugins["Shockwave Flash"]).description.replace(/\D+/g,",").match(/^,?(.+),?$/)[1])}catch(e){}}return e.split(",")},T.embed=function(e,t,n,r){var o=T.getEmbedCode(e,t,n,r),i=p.createEl("div",{innerHTML:o}).childNodes[0];return i},T.getEmbedCode=function(e,t,n,r){var o='<object type="application/x-shockwave-flash" ',i="",a="",s="";return t&&Object.getOwnPropertyNames(t).forEach(function(e){i+=e+"="+t[e]+"&amp;"}),n=(0,x.assign)({movie:e,flashvars:i,allowScriptAccess:"always",allowNetworking:"all"},n),Object.getOwnPropertyNames(n).forEach(function(e){a+='<param name="'+e+'" value="'+n[e]+'" />'}),r=(0,x.assign)({data:e,width:"100%",height:"100%"},r),Object.getOwnPropertyNames(r).forEach(function(e){s+=e+'="'+r[e]+'" '}),""+o+s+">"+a+"</object>"},(0,y.default)(T),_.default.registerComponent("Flash",T),d.default.registerTech("Flash",T),t.default=T},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return e.raw=t,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var l=i(["Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.\n            This may prevent text tracks from loading."],["Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.\n            This may prevent text tracks from loading."]),c=n(154),d=o(c),f=n(8),p=o(f),h=n(23),m=r(h),g=n(205),v=r(g),y=n(19),b=r(y),_=n(46),w=o(_),C=n(481),x=o(C),E=n(33),T=r(E),k=n(28),S=o(k),O=n(30),M=o(O),A=n(34),N=n(77),I=o(N),P=n(131),D=o(P),R=function(e){function t(n,r){a(this,t);var o=s(this,e.call(this,n,r)),i=n.source,u=!1;if(i&&(o.el_.currentSrc!==i.src||n.tag&&3===n.tag.initNetworkState_)?o.setSource(i):o.handleLateInit_(o.el_),o.el_.hasChildNodes()){for(var c=o.el_.childNodes,d=c.length,f=[];d--;){var p=c[d],h=p.nodeName.toLowerCase();"track"===h&&(o.featuresNativeTextTracks?(o.remoteTextTrackEls().addTrackElement_(p),o.remoteTextTracks().addTrack_(p.track),u||o.el_.hasAttribute("crossorigin")||!v.isCrossOrigin(p.src)||(u=!0)):f.push(p))}for(var m=0;m<f.length;m++)o.el_.removeChild(f[m])}var g=["audio","video"];return g.forEach(function(e){var t=o.el()[e+"Tracks"],n=o[e+"Tracks"](),r=(0,D.default)(e);o["featuresNative"+r+"Tracks"]&&t&&t.addEventListener&&(o["handle"+r+"TrackChange_"]=function(e){n.trigger({type:"change",target:n,currentTarget:n,srcElement:n})},o["handle"+r+"TrackAdd_"]=function(e){return n.addTrack(e.track)},o["handle"+r+"TrackRemove_"]=function(e){return n.removeTrack(e.track)},t.addEventListener("change",o["handle"+r+"TrackChange_"]),t.addEventListener("addtrack",o["handle"+r+"TrackAdd_"]),t.addEventListener("removetrack",o["handle"+r+"TrackRemove_"]),o["removeOld"+r+"Tracks_"]=function(e){return o.removeOldTracks_(n,t)},o.on("loadstart",o["removeOld"+r+"Tracks_"]))}),o.featuresNativeTextTracks&&(u&&w.default.warn((0,x.default)(l)),o.handleTextTrackChange_=b.bind(o,o.handleTextTrackChange),o.handleTextTrackAdd_=b.bind(o,o.handleTextTrackAdd),o.handleTextTrackRemove_=b.bind(o,o.handleTextTrackRemove),o.proxyNativeTextTracks_()),(T.TOUCH_ENABLED||T.IS_IPHONE||T.IS_NATIVE_ANDROID)&&n.nativeControlsForTouch===!0&&o.setControls(!0),o.proxyWebkitFullscreen_(),o.triggerReady(),o}return u(t,e),t.prototype.dispose=function(){var n=this;["audio","video","text"].forEach(function(e){var t=(0,D.default)(e),r=n.el_[e+"Tracks"];r&&r.removeEventListener&&(r.removeEventListener("change",n["handle"+t+"TrackChange_"]),r.removeEventListener("addtrack",n["handle"+t+"TrackAdd_"]),r.removeEventListener("removetrack",n["handle"+t+"TrackRemove_"])),r&&n.off("loadstart",n["removeOld"+t+"Tracks_"])}),t.disposeMediaElement(this.el_),e.prototype.dispose.call(this)},t.prototype.createEl=function(){var e=this.options_.tag;if(!e||!this.options_.playerElIngest&&!this.movingMediaElementInDOM){if(e){var n=e.cloneNode(!0);e.parentNode&&e.parentNode.insertBefore(n,e),t.disposeMediaElement(e),e=n}else{e=S.default.createElement("video");var r=this.options_.tag&&m.getElAttributes(this.options_.tag),o=(0,I.default)({},r);T.TOUCH_ENABLED&&this.options_.nativeControlsForTouch===!0||delete o.controls,m.setElAttributes(e,(0,A.assign)(o,{id:this.options_.techId,class:"vjs-tech"}))}e.playerId=this.options_.playerId}for(var i=["autoplay","preload","loop","muted"],a=i.length-1;a>=0;a--){var s=i[a],u={};"undefined"!=typeof this.options_[s]&&(u[s]=this.options_[s]),m.setElAttributes(e,u)}return e},t.prototype.handleLateInit_=function(e){if(0!==e.networkState&&3!==e.networkState){if(0===e.readyState){var t=!1,n=function(){t=!0};this.on("loadstart",n);var r=function(){t||this.trigger("loadstart")};return this.on("loadedmetadata",r),void this.ready(function(){this.off("loadstart",n),this.off("loadedmetadata",r),t||this.trigger("loadstart")})}var o=["loadstart"];o.push("loadedmetadata"),e.readyState>=2&&o.push("loadeddata"),e.readyState>=3&&o.push("canplay"),e.readyState>=4&&o.push("canplaythrough"),this.ready(function(){o.forEach(function(e){this.trigger(e)},this)})}},t.prototype.proxyNativeTextTracks_=function(){var e=this.el().textTracks;if(e){for(var t=0;t<e.length;t++)this.textTracks().addTrack_(e[t]);e.addEventListener&&(e.addEventListener("change",this.handleTextTrackChange_),e.addEventListener("addtrack",this.handleTextTrackAdd_),e.addEventListener("removetrack",this.handleTextTrackRemove_)),this.on("loadstart",this.removeOldTextTracks_)}},t.prototype.handleTextTrackChange=function(e){var t=this.textTracks();this.textTracks().trigger({type:"change",target:t,currentTarget:t,srcElement:t})},t.prototype.handleTextTrackAdd=function(e){this.textTracks().addTrack_(e.track)},t.prototype.handleTextTrackRemove=function(e){this.textTracks().removeTrack_(e.track)},t.prototype.removeOldTracks_=function(e,t){var n=[];if(t){for(var r=0;r<e.length;r++){for(var o=e[r],i=!1,a=0;a<t.length;a++)if(t[a]===o){i=!0;break}i||n.push(o)}for(var s=0;s<n.length;s++){var u=n[s];e.removeTrack_(u)}}},t.prototype.removeOldTextTracks_=function(e){var t=this.textTracks(),n=this.el().textTracks;this.removeOldTracks_(t,n)},t.prototype.play=function(){var e=this.el_.play();void 0!==e&&"function"==typeof e.then&&e.then(null,function(e){})},t.prototype.setCurrentTime=function(e){try{this.el_.currentTime=e}catch(e){(0,w.default)(e,"Video is not ready. (Video.js)")}},t.prototype.duration=function(){var e=this;if(this.el_.duration===1/0&&T.IS_ANDROID&&T.IS_CHROME&&0===this.el_.currentTime){var t=function t(){e.el_.currentTime>0&&(e.el_.duration===1/0&&e.trigger("durationchange"),e.off("timeupdate",t))};return this.on("timeupdate",t),NaN}return this.el_.duration||NaN},t.prototype.width=function(){return this.el_.offsetWidth},t.prototype.height=function(){return this.el_.offsetHeight},t.prototype.proxyWebkitFullscreen_=function(){var e=this;if("webkitDisplayingFullscreen"in this.el_){var t=function(){this.trigger("fullscreenchange",{isFullscreen:!1})},n=function(){this.one("webkitendfullscreen",t),this.trigger("fullscreenchange",{isFullscreen:!0})};this.on("webkitbeginfullscreen",n),this.on("dispose",function(){e.off("webkitbeginfullscreen",n),e.off("webkitendfullscreen",t)})}},t.prototype.supportsFullScreen=function(){if("function"==typeof this.el_.webkitEnterFullScreen){var e=M.default.navigator&&M.default.navigator.userAgent||"";if(/Android/.test(e)||!/Chrome|Mac OS X 10.5/.test(e))return!0}return!1},t.prototype.enterFullScreen=function(){var e=this.el_;e.paused&&e.networkState<=e.HAVE_METADATA?(this.el_.play(),this.setTimeout(function(){e.pause(),e.webkitEnterFullScreen()},0)):e.webkitEnterFullScreen()},t.prototype.exitFullScreen=function(){this.el_.webkitExitFullScreen()},t.prototype.src=function(e){return void 0===e?this.el_.src:void this.setSrc(e)},t.prototype.reset=function(){t.resetMediaElement(this.el_)},t.prototype.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.currentSrc},t.prototype.setControls=function(e){this.el_.controls=!!e},t.prototype.addTextTrack=function(t,n,r){return this.featuresNativeTextTracks?this.el_.addTextTrack(t,n,r):e.prototype.addTextTrack.call(this,t,n,r)},t.prototype.createRemoteTextTrack=function(t){if(!this.featuresNativeTextTracks)return e.prototype.createRemoteTextTrack.call(this,t);var n=S.default.createElement("track");return t.kind&&(n.kind=t.kind),t.label&&(n.label=t.label),(t.language||t.srclang)&&(n.srclang=t.language||t.srclang),t.default&&(n.default=t.default),t.id&&(n.id=t.id),t.src&&(n.src=t.src),n},t.prototype.addRemoteTextTrack=function(t,n){var r=e.prototype.addRemoteTextTrack.call(this,t,n);return this.featuresNativeTextTracks&&this.el().appendChild(r),r},t.prototype.removeRemoteTextTrack=function(t){if(e.prototype.removeRemoteTextTrack.call(this,t),this.featuresNativeTextTracks)for(var n=this.$$("track"),r=n.length;r--;)t!==n[r]&&t!==n[r].track||this.el().removeChild(n[r])},t}(d.default);if(m.isReal()){R.TEST_VID=S.default.createElement("video");var j=S.default.createElement("track");j.kind="captions",j.srclang="en",j.label="English",R.TEST_VID.appendChild(j)}R.isSupported=function(){try{R.TEST_VID.volume=.5}catch(e){return!1}return!(!R.TEST_VID||!R.TEST_VID.canPlayType)},R.canControlVolume=function(){try{var e=R.TEST_VID.volume;return R.TEST_VID.volume=e/2+.1,e!==R.TEST_VID.volume}catch(e){return!1}},R.canControlPlaybackRate=function(){if(T.IS_ANDROID&&T.IS_CHROME)return!1;try{var e=R.TEST_VID.playbackRate;return R.TEST_VID.playbackRate=e/2+.1,e!==R.TEST_VID.playbackRate}catch(e){return!1}},R.supportsNativeTextTracks=function(){return T.IS_ANY_SAFARI},R.supportsNativeVideoTracks=function(){return!(!R.TEST_VID||!R.TEST_VID.videoTracks)},R.supportsNativeAudioTracks=function(){return!(!R.TEST_VID||!R.TEST_VID.audioTracks)},R.Events=["loadstart","suspend","abort","error","emptied","stalled","loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","seeking","seeked","ended","durationchange","timeupdate","progress","play","pause","ratechange","volumechange"],R.prototype.featuresVolumeControl=R.canControlVolume(),R.prototype.featuresPlaybackRate=R.canControlPlaybackRate(),R.prototype.movingMediaElementInDOM=!T.IS_IOS,R.prototype.featuresFullscreenResize=!0,R.prototype.featuresProgressEvents=!0,R.prototype.featuresTimeupdateEvents=!0,R.prototype.featuresNativeTextTracks=R.supportsNativeTextTracks(),R.prototype.featuresNativeVideoTracks=R.supportsNativeVideoTracks(),R.prototype.featuresNativeAudioTracks=R.supportsNativeAudioTracks();var L=R.TEST_VID&&R.TEST_VID.constructor.prototype.canPlayType,B=/^application\/(?:x-|vnd\.apple\.)mpegurl/i,F=/^video\/mp4/i;R.patchCanPlayType=function(){T.ANDROID_VERSION>=4&&!T.IS_FIREFOX?R.TEST_VID.constructor.prototype.canPlayType=function(e){return e&&B.test(e)?"maybe":L.call(this,e)}:T.IS_OLD_ANDROID&&(R.TEST_VID.constructor.prototype.canPlayType=function(e){return e&&F.test(e)?"maybe":L.call(this,e)})},R.unpatchCanPlayType=function(){var e=R.TEST_VID.constructor.prototype.canPlayType;return R.TEST_VID.constructor.prototype.canPlayType=L,e},R.patchCanPlayType(),R.disposeMediaElement=function(e){if(e){for(e.parentNode&&e.parentNode.removeChild(e);e.hasChildNodes();)e.removeChild(e.firstChild);e.removeAttribute("src"),"function"==typeof e.load&&!function(){try{e.load()}catch(e){}}()}},R.resetMediaElement=function(e){if(e){for(var t=e.querySelectorAll("source"),n=t.length;n--;)e.removeChild(t[n]);e.removeAttribute("src"),"function"==typeof e.load&&!function(){try{e.load()}catch(e){}}()}},["paused","currentTime","buffered","volume","muted","poster","preload","autoplay","controls","loop","error","seeking","seekable","ended","defaultMuted","playbackRate","played","networkState","readyState","videoWidth","videoHeight"].forEach(function(e){R.prototype[e]=function(){return this.el_[e]}}),["volume","muted","src","poster","preload","autoplay","loop","playbackRate"].forEach(function(e){R.prototype["set"+(0,D.default)(e)]=function(t){this.el_[e]=t}}),["pause","load"].forEach(function(e){R.prototype[e]=function(){return this.el_[e]()}}),d.default.withSourceHandlers(R),R.nativeSourceHandler={},R.nativeSourceHandler.canPlayType=function(e){try{return R.TEST_VID.canPlayType(e)}catch(e){return""}},R.nativeSourceHandler.canHandleSource=function(e,t){if(e.type)return R.nativeSourceHandler.canPlayType(e.type);if(e.src){var n=v.getFileExtension(e.src);return R.nativeSourceHandler.canPlayType("video/"+n)}return""},R.nativeSourceHandler.handleSource=function(e,t,n){t.setSrc(e.src)},R.nativeSourceHandler.dispose=function(){},R.registerSourceHandler(R.nativeSourceHandler),p.default.registerComponent("Html5",R),d.default.registerTech("Html5",R),t.default=R},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t);
+}t.__esModule=!0;var s=n(8),u=r(s),l=n(154),c=r(l),d=n(131),f=r(d),p=function(e){function t(n,r,a){o(this,t);var s=i(this,e.call(this,n,r,a));if(r.playerOptions.sources&&0!==r.playerOptions.sources.length)n.src(r.playerOptions.sources);else for(var l=0,d=r.playerOptions.techOrder;l<d.length;l++){var p=(0,f.default)(d[l]),h=c.default.getTech(p);if(p||(h=u.default.getComponent(p)),h&&h.isSupported()){n.loadTech_(p);break}}return s}return a(t,e),t}(u.default);u.default.registerComponent("MediaLoader",p),t.default=p},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(318),l=n(320),c=o(l),d=n(77),f=o(d),p=n(33),h=r(p),m=function(e){function t(){var n,r,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i(this,t);var s=(0,f.default)(o,{kind:u.AudioTrackKind[o.kind]||""}),l=n=a(this,e.call(this,s)),c=!1;if(h.IS_IE8)for(var d in t.prototype)"constructor"!==d&&(l[d]=t.prototype[d]);return Object.defineProperty(l,"enabled",{get:function(){return c},set:function(e){"boolean"==typeof e&&e!==c&&(c=e,this.trigger("enabledchange"))}}),s.enabled&&(l.enabled=s.enabled),l.loaded_=!0,r=l,a(n,r)}return s(t,e),t}(c.default);t.default=m},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var a=n(33),s=o(a),u=n(28),l=r(u),c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];i(this,e);var n=this;if(s.IS_IE8){n=l.default.createElement("custom");for(var r in e.prototype)"constructor"!==r&&(n[r]=e.prototype[r])}n.trackElements_=[],Object.defineProperty(n,"length",{get:function(){return this.trackElements_.length}});for(var o=0,a=t.length;o<a;o++)n.addTrackElement_(t[o]);if(s.IS_IE8)return n}return e.prototype.addTrackElement_=function(e){var t=this.trackElements_.length;""+t in this||Object.defineProperty(this,t,{get:function(){return this.trackElements_[t]}}),this.trackElements_.indexOf(e)===-1&&this.trackElements_.push(e)},e.prototype.getTrackElementByTrack_=function(e){for(var t=void 0,n=0,r=this.trackElements_.length;n<r;n++)if(e===this.trackElements_[n].track){t=this.trackElements_[n];break}return t},e.prototype.removeTrackElement_=function(e){for(var t=0,n=this.trackElements_.length;t<n;t++)if(e===this.trackElements_[t]){this.trackElements_.splice(t,1);break}},e}();t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(33),l=o(u),c=n(28),d=r(c),f=n(203),p=r(f),h=n(317),m=r(h),g=0,v=1,y=2,b=3,_=function(e){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i(this,t);var r=a(this,e.call(this)),o=void 0,s=r;if(l.IS_IE8){s=d.default.createElement("custom");for(var u in t.prototype)"constructor"!==u&&(s[u]=t.prototype[u])}var c=new m.default(n);if(s.kind=c.kind,s.src=c.src,s.srclang=c.language,s.label=c.label,s.default=c.default,Object.defineProperty(s,"readyState",{get:function(){return o}}),Object.defineProperty(s,"track",{get:function(){return c}}),o=g,c.addEventListener("loadeddata",function(){o=y,s.trigger({type:"load",target:s})}),l.IS_IE8){var f;return f=s,a(r,f)}return r}return s(t,e),t}(p.default);_.prototype.allowedEvents_={load:"load"},_.NONE=g,_.LOADING=v,_.LOADED=y,_.ERROR=b,t.default=_},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var a=n(33),s=o(a),u=n(28),l=r(u),c=function(){function e(t){i(this,e);var n=this;if(s.IS_IE8){n=l.default.createElement("custom");for(var r in e.prototype)"constructor"!==r&&(n[r]=e.prototype[r])}if(e.prototype.setCues_.call(n,t),Object.defineProperty(n,"length",{get:function(){return this.length_}}),s.IS_IE8)return n}return e.prototype.setCues_=function(e){var t=this.length||0,n=0,r=e.length;this.cues_=e,this.length_=e.length;var o=function(e){""+e in this||Object.defineProperty(this,""+e,{get:function(){return this.cues_[e]}})};if(t<r)for(n=t;n<r;n++)o.call(this,n)},e.prototype.getCueById=function(e){for(var t=null,n=0,r=this.length;n<r;n++){var o=this[n];if(o.id===e){t=o;break}}return t},e}();t.default=c},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function u(e,t){return"rgba("+parseInt(e[1]+e[1],16)+","+parseInt(e[2]+e[2],16)+","+parseInt(e[3]+e[3],16)+","+t+")"}function l(e,t,n){try{e.style[t]=n}catch(e){return}}t.__esModule=!0;var c=n(8),d=o(c),f=n(19),p=r(f),h=n(30),m=o(h),g="#222",v="#ccc",y={monospace:"monospace",sansSerif:"sans-serif",serif:"serif",monospaceSansSerif:'"Andale Mono", "Lucida Console", monospace',monospaceSerif:'"Courier New", monospace',proportionalSansSerif:"sans-serif",proportionalSerif:"serif",casual:'"Comic Sans MS", Impact, fantasy',script:'"Monotype Corsiva", cursive',smallcaps:'"Andale Mono", "Lucida Console", monospace, sans-serif'},b=function(e){function t(n,r,o){i(this,t);var s=a(this,e.call(this,n,r,o));return n.on("loadstart",p.bind(s,s.toggleDisplay)),n.on("texttrackchange",p.bind(s,s.updateDisplay)),n.ready(p.bind(s,function(){if(n.tech_&&n.tech_.featuresNativeTextTracks)return void this.hide();n.on("fullscreenchange",p.bind(this,this.updateDisplay));for(var e=this.options_.playerOptions.tracks||[],t=0;t<e.length;t++)this.player_.addRemoteTextTrack(e[t],!0);var r={captions:1,subtitles:1},o=this.player_.textTracks(),i=void 0,a=void 0;if(o){for(var s=0;s<o.length;s++){var u=o[s];u.default&&("descriptions"!==u.kind||i?u.kind in r&&!a&&(a=u):i=u)}a?a.mode="showing":i&&(i.mode="showing")}})),s}return s(t,e),t.prototype.toggleDisplay=function(){this.player_.tech_&&this.player_.tech_.featuresNativeTextTracks?this.hide():this.show()},t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-text-track-display"},{"aria-live":"off","aria-atomic":"true"})},t.prototype.clearDisplay=function(){"function"==typeof m.default.WebVTT&&m.default.WebVTT.processCues(m.default,[],this.el_)},t.prototype.updateDisplay=function(){var e=this.player_.textTracks();if(this.clearDisplay(),e){for(var t=null,n=null,r=e.length;r--;){var o=e[r];"showing"===o.mode&&("descriptions"===o.kind?t=o:n=o)}n?("off"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","off"),this.updateForTrack(n)):t&&("assertive"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","assertive"),this.updateForTrack(t))}},t.prototype.updateForTrack=function(e){if("function"==typeof m.default.WebVTT&&e.activeCues){for(var t=this.player_.textTrackSettings.getValues(),n=[],r=0;r<e.activeCues.length;r++)n.push(e.activeCues[r]);m.default.WebVTT.processCues(m.default,n,this.el_);for(var o=n.length;o--;){var i=n[o];if(i){var a=i.displayState;if(t.color&&(a.firstChild.style.color=t.color),t.textOpacity&&l(a.firstChild,"color",u(t.color||"#fff",t.textOpacity)),t.backgroundColor&&(a.firstChild.style.backgroundColor=t.backgroundColor),t.backgroundOpacity&&l(a.firstChild,"backgroundColor",u(t.backgroundColor||"#000",t.backgroundOpacity)),t.windowColor&&(t.windowOpacity?l(a,"backgroundColor",u(t.windowColor,t.windowOpacity)):a.style.backgroundColor=t.windowColor),t.edgeStyle&&("dropshadow"===t.edgeStyle?a.firstChild.style.textShadow="2px 2px 3px "+g+", 2px 2px 4px "+g+", 2px 2px 5px "+g:"raised"===t.edgeStyle?a.firstChild.style.textShadow="1px 1px "+g+", 2px 2px "+g+", 3px 3px "+g:"depressed"===t.edgeStyle?a.firstChild.style.textShadow="1px 1px "+v+", 0 1px "+v+", -1px -1px "+g+", 0 -1px "+g:"uniform"===t.edgeStyle&&(a.firstChild.style.textShadow="0 0 4px "+g+", 0 0 4px "+g+", 0 0 4px "+g+", 0 0 4px "+g)),t.fontPercent&&1!==t.fontPercent){var s=m.default.parseFloat(a.style.fontSize);a.style.fontSize=s*t.fontPercent+"px",a.style.height="auto",a.style.top="auto",a.style.bottom="2px"}t.fontFamily&&"default"!==t.fontFamily&&("small-caps"===t.fontFamily?a.firstChild.style.fontVariant="small-caps":a.firstChild.style.fontFamily=y[t.fontFamily])}}}},t}(d.default);d.default.registerComponent("TextTrackDisplay",b),t.default=b},function(e,t){"use strict";t.__esModule=!0;var n=function(e){var t=["kind","label","language","id","inBandMetadataTrackDispatchType","mode","src"].reduce(function(t,n,r){return e[n]&&(t[n]=e[n]),t},{cues:e.cues&&Array.prototype.map.call(e.cues,function(e){return{startTime:e.startTime,endTime:e.endTime,text:e.text,id:e.id}})});return t},r=function(e){var t=e.$$("track"),r=Array.prototype.map.call(t,function(e){return e.track}),o=Array.prototype.map.call(t,function(e){var t=n(e.track);return e.src&&(t.src=e.src),t});return o.concat(Array.prototype.filter.call(e.textTracks(),function(e){return r.indexOf(e)===-1}).map(n))},o=function(e,t){return e.forEach(function(e){var n=t.addRemoteTextTrack(e).track;!e.src&&e.cues&&e.cues.forEach(function(e){return n.addCue(e)})}),t.textTracks()};t.default={textTracksToJson:r,jsonToTextTracks:o,trackToJson_:n}},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(319),l=o(u),c=n(19),d=r(c),f=n(33),p=r(f),h=n(28),m=o(h),g=function(e){function t(){var n,r,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];i(this,t);var s=void 0;if(p.IS_IE8){s=m.default.createElement("custom");for(var u in l.default.prototype)"constructor"!==u&&(s[u]=l.default.prototype[u]);for(var c in t.prototype)"constructor"!==c&&(s[c]=t.prototype[c])}return s=n=a(this,e.call(this,o,s)),r=s,a(n,r)}return s(t,e),t.prototype.addTrack_=function(t){e.prototype.addTrack_.call(this,t),t.addEventListener("modechange",d.bind(this,function(){this.trigger("change")}))},t}(l.default);t.default=g},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function u(e,t){if(t&&(e=t(e)),e&&"none"!==e)return e}function l(e,t){var n=e.options[e.options.selectedIndex].value;return u(n,t)}function c(e,t,n){if(t)for(var r=0;r<e.options.length;r++)if(u(e.options[r].value,n)===t){e.selectedIndex=r;break}}t.__esModule=!0;var d=n(30),f=o(d),p=n(8),h=o(p),m=n(23),g=n(19),v=r(g),y=n(34),b=r(y),_=n(46),w=o(_),C="vjs-text-track-settings",x=["#000","Black"],E=["#00F","Blue"],T=["#0FF","Cyan"],k=["#0F0","Green"],S=["#F0F","Magenta"],O=["#F00","Red"],M=["#FFF","White"],A=["#FF0","Yellow"],N=["1","Opaque"],I=["0.5","Semi-Transparent"],P=["0","Transparent"],D={backgroundColor:{selector:".vjs-bg-color > select",id:"captions-background-color-%s",label:"Color",options:[x,M,O,k,E,A,S,T]},backgroundOpacity:{selector:".vjs-bg-opacity > select",id:"captions-background-opacity-%s",label:"Transparency",options:[N,I,P]},color:{selector:".vjs-fg-color > select",id:"captions-foreground-color-%s",label:"Color",options:[M,x,O,k,E,A,S,T]},edgeStyle:{selector:".vjs-edge-style > select",id:"%s",label:"Text Edge Style",options:[["none","None"],["raised","Raised"],["depressed","Depressed"],["uniform","Uniform"],["dropshadow","Dropshadow"]]},fontFamily:{selector:".vjs-font-family > select",id:"captions-font-family-%s",label:"Font Family",options:[["proportionalSansSerif","Proportional Sans-Serif"],["monospaceSansSerif","Monospace Sans-Serif"],["proportionalSerif","Proportional Serif"],["monospaceSerif","Monospace Serif"],["casual","Casual"],["script","Script"],["small-caps","Small Caps"]]},fontPercent:{selector:".vjs-font-percent > select",id:"captions-font-size-%s",label:"Font Size",options:[["0.50","50%"],["0.75","75%"],["1.00","100%"],["1.25","125%"],["1.50","150%"],["1.75","175%"],["2.00","200%"],["3.00","300%"],["4.00","400%"]],default:2,parser:function(e){return"1.00"===e?null:Number(e)}},textOpacity:{selector:".vjs-text-opacity > select",id:"captions-foreground-opacity-%s",label:"Transparency",options:[N,I]},windowColor:{selector:".vjs-window-color > select",id:"captions-window-color-%s",label:"Color"},windowOpacity:{selector:".vjs-window-opacity > select",id:"captions-window-opacity-%s",label:"Transparency",options:[P,I,N]}};D.windowColor.options=D.backgroundColor.options;var R=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.setDefaults(),o.hide(),o.updateDisplay=v.bind(o,o.updateDisplay),void 0===r.persistTextTrackSettings&&(o.options_.persistTextTrackSettings=o.options_.playerOptions.persistTextTrackSettings),o.on(o.$(".vjs-done-button"),"click",function(){o.saveSettings(),o.hide()}),o.on(o.$(".vjs-default-button"),"click",function(){o.setDefaults(),o.updateDisplay()}),b.each(D,function(e){o.on(o.$(e.selector),"change",o.updateDisplay)}),o.options_.persistTextTrackSettings&&o.restoreSettings(),o}return s(t,e),t.prototype.createElSelect_=function(e){var t=this,n=D[e],r=n.id.replace("%s",this.id_);return[(0,m.createEl)("label",{className:"vjs-label",textContent:n.label},{for:r}),(0,m.createEl)("select",{id:r},void 0,n.options.map(function(e){return(0,m.createEl)("option",{textContent:t.localize(e[1]),value:e[0]})}))]},t.prototype.createElFgColor_=function(){var e=(0,m.createEl)("legend",{textContent:this.localize("Text")}),t=this.createElSelect_("color"),n=(0,m.createEl)("span",{className:"vjs-text-opacity vjs-opacity"},void 0,this.createElSelect_("textOpacity"));return(0,m.createEl)("fieldset",{className:"vjs-fg-color vjs-tracksetting"},void 0,[e].concat(t,n))},t.prototype.createElBgColor_=function(){var e=(0,m.createEl)("legend",{textContent:this.localize("Background")}),t=this.createElSelect_("backgroundColor"),n=(0,m.createEl)("span",{className:"vjs-bg-opacity vjs-opacity"},void 0,this.createElSelect_("backgroundOpacity"));return(0,m.createEl)("fieldset",{className:"vjs-bg-color vjs-tracksetting"},void 0,[e].concat(t,n))},t.prototype.createElWinColor_=function(){var e=(0,m.createEl)("legend",{textContent:this.localize("Window")}),t=this.createElSelect_("windowColor"),n=(0,m.createEl)("span",{className:"vjs-window-opacity vjs-opacity"},void 0,this.createElSelect_("windowOpacity"));return(0,m.createEl)("fieldset",{className:"vjs-window-color vjs-tracksetting"},void 0,[e].concat(t,n))},t.prototype.createElColors_=function(){return(0,m.createEl)("div",{className:"vjs-tracksettings-colors"},void 0,[this.createElFgColor_(),this.createElBgColor_(),this.createElWinColor_()])},t.prototype.createElFont_=function(){var e=(0,m.createEl)("div",{className:"vjs-font-percent vjs-tracksetting"},void 0,this.createElSelect_("fontPercent")),t=(0,m.createEl)("div",{className:"vjs-edge-style vjs-tracksetting"},void 0,this.createElSelect_("edgeStyle")),n=(0,m.createEl)("div",{className:"vjs-font-family vjs-tracksetting"},void 0,this.createElSelect_("fontFamily"));return(0,m.createEl)("div",{className:"vjs-tracksettings-font"},void 0,[e,t,n])},t.prototype.createElControls_=function(){var e=(0,m.createEl)("button",{className:"vjs-default-button",textContent:this.localize("Defaults")}),t=(0,m.createEl)("button",{className:"vjs-done-button",textContent:"Done"});return(0,m.createEl)("div",{className:"vjs-tracksettings-controls"},void 0,[e,t])},t.prototype.createEl=function(){var e=(0,m.createEl)("div",{className:"vjs-tracksettings"},void 0,[this.createElColors_(),this.createElFont_(),this.createElControls_()]),t=(0,m.createEl)("div",{className:"vjs-control-text",id:"TTsettingsDialogLabel-"+this.id_,textContent:"Caption Settings Dialog"},{"aria-level":"1",role:"heading"}),n=(0,m.createEl)("div",{className:"vjs-control-text",id:"TTsettingsDialogDescription-"+this.id_,textContent:"Beginning of dialog window. Escape will cancel and close the window."}),r=(0,m.createEl)("div",void 0,{role:"document"},[t,n,e]);return(0,m.createEl)("div",{className:"vjs-caption-settings vjs-modal-overlay",tabIndex:-1},{role:"dialog","aria-labelledby":t.id,"aria-describedby":n.id},r)},t.prototype.getValues=function(){var e=this;return b.reduce(D,function(t,n,r){var o=l(e.$(n.selector),n.parser);return void 0!==o&&(t[r]=o),t},{})},t.prototype.setValues=function(e){var t=this;b.each(D,function(n,r){c(t.$(n.selector),e[r],n.parser)})},t.prototype.setDefaults=function(){var e=this;b.each(D,function(t){var n=t.hasOwnProperty("default")?t.default:0;e.$(t.selector).selectedIndex=n})},t.prototype.restoreSettings=function(){var e=void 0;try{e=JSON.parse(f.default.localStorage.getItem(C))}catch(e){w.default.warn(e)}e&&this.setValues(e)},t.prototype.saveSettings=function(){if(this.options_.persistTextTrackSettings){var e=this.getValues();try{Object.keys(e).length?f.default.localStorage.setItem(C,JSON.stringify(e)):f.default.localStorage.removeItem(C)}catch(e){w.default.warn(e)}}},t.prototype.updateDisplay=function(){var e=this.player_.getChild("textTrackDisplay");e&&e.updateDisplay()},t}(h.default);h.default.registerComponent("TextTrackSettings",R),t.default=R},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(318),l=n(320),c=o(l),d=n(77),f=o(d),p=n(33),h=r(p),m=function(e){function t(){var n,r,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i(this,t);var s=(0,f.default)(o,{kind:u.VideoTrackKind[o.kind]||""}),l=n=a(this,e.call(this,s)),c=!1;if(h.IS_IE8)for(var d in t.prototype)"constructor"!==d&&(l[d]=t.prototype[d]);return Object.defineProperty(l,"selected",{get:function(){return c},set:function(e){"boolean"==typeof e&&e!==c&&(c=e,this.trigger("selectedchange"))}}),s.selected&&(l.selected=s.selected),r=l,a(n,r)}return s(t,e),t}(c.default);t.default=m},function(e,t,n){var r=e.exports={WebVTT:n(1207).WebVTT,VTTCue:n(1208).VTTCue,VTTRegion:n(1210).VTTRegion};window.vttjs=r,window.WebVTT=r.WebVTT;var o=r.VTTCue,i=r.VTTRegion,a=window.VTTCue,s=window.VTTRegion;r.shim=function(){window.VTTCue=o,window.VTTRegion=i},r.restore=function(){window.VTTCue=a,window.VTTRegion=s},window.VTTCue||r.shim()},function(e,t){!function(e){function t(e,t){this.name="ParsingError",this.code=e.code,this.message=t||e.message}function n(e){function t(e,t,n,r){return 3600*(0|e)+60*(0|t)+(0|n)+(0|r)/1e3}var n=e.match(/^(\d+):(\d{2})(:\d{2})?\.(\d{3})/);return n?n[3]?t(n[1],n[2],n[3].replace(":",""),n[4]):n[1]>59?t(n[1],n[2],0,n[4]):t(0,n[1],n[2],n[4]):null}function r(){this.values=m(null)}function o(e,t,n,r){var o=r?e.split(r):[e];for(var i in o)if("string"==typeof o[i]){var a=o[i].split(n);if(2===a.length){var s=a[0],u=a[1];t(s,u)}}}function i(e,i,a){function s(){var r=n(e);if(null===r)throw new t(t.Errors.BadTimeStamp,"Malformed timestamp: "+c);return e=e.replace(/^[^\sa-zA-Z-]+/,""),r}function u(e,t){var n=new r;o(e,function(e,t){switch(e){case"region":for(var r=a.length-1;r>=0;r--)if(a[r].id===t){n.set(e,a[r].region);break}break;case"vertical":n.alt(e,t,["rl","lr"]);break;case"line":var o=t.split(","),i=o[0];n.integer(e,i),n.percent(e,i)?n.set("snapToLines",!1):null,n.alt(e,i,["auto"]),2===o.length&&n.alt("lineAlign",o[1],["start","middle","end"]);break;case"position":o=t.split(","),n.percent(e,o[0]),2===o.length&&n.alt("positionAlign",o[1],["start","middle","end"]);break;case"size":n.percent(e,t);break;case"align":n.alt(e,t,["start","middle","end","left","right"])}},/:/,/\s/),t.region=n.get("region",null),t.vertical=n.get("vertical",""),t.line=n.get("line","auto"),t.lineAlign=n.get("lineAlign","start"),t.snapToLines=n.get("snapToLines",!0),t.size=n.get("size",100),t.align=n.get("align","middle"),t.position=n.get("position",{start:0,left:0,middle:50,end:100,right:100},t.align),t.positionAlign=n.get("positionAlign",{start:"start",left:"start",middle:"middle",end:"end",right:"end"},t.align)}function l(){e=e.replace(/^\s+/,"")}var c=e;if(l(),i.startTime=s(),l(),"-->"!==e.substr(0,3))throw new t(t.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '-->'): "+c);e=e.substr(3),l(),i.endTime=s(),l(),u(e,i)}function a(e,t){function r(){function e(e){return t=t.substr(e.length),e}if(!t)return null;var n=t.match(/^([^<]*)(<[^>]+>?)?/);return e(n[1]?n[1]:n[2])}function o(e){return g[e]}function i(e){for(;h=e.match(/&(amp|lt|gt|lrm|rlm|nbsp);/);)e=e.replace(h[0],o);return e}function a(e,t){return!b[t.localName]||b[t.localName]===e.localName}function s(t,n){var r=v[t];if(!r)return null;var o=e.document.createElement(r);o.localName=r;var i=y[t];return i&&n&&(o[i]=n.trim()),o}for(var u,l=e.document.createElement("div"),c=l,d=[];null!==(u=r());)if("<"!==u[0])c.appendChild(e.document.createTextNode(i(u)));else{if("/"===u[1]){d.length&&d[d.length-1]===u.substr(2).replace(">","")&&(d.pop(),c=c.parentNode);continue}var f,p=n(u.substr(1,u.length-2));if(p){f=e.document.createProcessingInstruction("timestamp",p),c.appendChild(f);continue}var h=u.match(/^<([^.\s\/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!h)continue;if(f=s(h[1],h[3]),!f)continue;if(!a(c,f))continue;h[2]&&(f.className=h[2].substr(1).replace("."," ")),d.push(h[1]),c.appendChild(f),c=f}return l}function s(e){for(var t=0;t<_.length;t++){var n=_[t];if(e>=n[0]&&e<=n[1])return!0}return!1}function u(e){function t(e,t){for(var n=t.childNodes.length-1;n>=0;n--)e.push(t.childNodes[n])}function n(e){if(!e||!e.length)return null;var r=e.pop(),o=r.textContent||r.innerText;if(o){var i=o.match(/^.*(\n|\r)/);return i?(e.length=0,i[0]):o}return"ruby"===r.tagName?n(e):r.childNodes?(t(e,r),n(e)):void 0}var r,o=[],i="";if(!e||!e.childNodes)return"ltr";for(t(o,e);i=n(o);)for(var a=0;a<i.length;a++)if(r=i.charCodeAt(a),s(r))return"rtl";return"ltr"}function l(e){if("number"==typeof e.line&&(e.snapToLines||e.line>=0&&e.line<=100))return e.line;if(!e.track||!e.track.textTrackList||!e.track.textTrackList.mediaElement)return-1;for(var t=e.track,n=t.textTrackList,r=0,o=0;o<n.length&&n[o]!==t;o++)"showing"===n[o].mode&&r++;return++r*-1}function c(){}function d(e,t,n){var r=/MSIE\s8\.0/.test(navigator.userAgent),o="rgba(255, 255, 255, 1)",i="rgba(0, 0, 0, 0.8)";r&&(o="rgb(255, 255, 255)",i="rgb(0, 0, 0)"),c.call(this),this.cue=t,this.cueDiv=a(e,t.text);var s={color:o,backgroundColor:i,position:"relative",left:0,right:0,top:0,bottom:0,display:"inline"};r||(s.writingMode=""===t.vertical?"horizontal-tb":"lr"===t.vertical?"vertical-lr":"vertical-rl",s.unicodeBidi="plaintext"),this.applyStyles(s,this.cueDiv),this.div=e.document.createElement("div"),s={textAlign:"middle"===t.align?"center":t.align,font:n.font,whiteSpace:"pre-line",position:"absolute"},r||(s.direction=u(this.cueDiv),s.writingMode=""===t.vertical?"horizontal-tb":"lr"===t.vertical?"vertical-lr":"vertical-rl".stylesunicodeBidi="plaintext"),this.applyStyles(s),this.div.appendChild(this.cueDiv);var l=0;switch(t.positionAlign){case"start":l=t.position;break;case"middle":l=t.position-t.size/2;break;case"end":l=t.position-t.size}""===t.vertical?this.applyStyles({left:this.formatStyle(l,"%"),width:this.formatStyle(t.size,"%")}):this.applyStyles({top:this.formatStyle(l,"%"),height:this.formatStyle(t.size,"%")}),this.move=function(e){this.applyStyles({top:this.formatStyle(e.top,"px"),bottom:this.formatStyle(e.bottom,"px"),left:this.formatStyle(e.left,"px"),right:this.formatStyle(e.right,"px"),height:this.formatStyle(e.height,"px"),width:this.formatStyle(e.width,"px")})}}function f(e){var t,n,r,o,i=/MSIE\s8\.0/.test(navigator.userAgent);if(e.div){n=e.div.offsetHeight,r=e.div.offsetWidth,o=e.div.offsetTop;var a=(a=e.div.childNodes)&&(a=a[0])&&a.getClientRects&&a.getClientRects();e=e.div.getBoundingClientRect(),t=a?Math.max(a[0]&&a[0].height||0,e.height/a.length):0}this.left=e.left,this.right=e.right,this.top=e.top||o,this.height=e.height||n,this.bottom=e.bottom||o+(e.height||n),this.width=e.width||r,this.lineHeight=void 0!==t?t:e.lineHeight,i&&!this.lineHeight&&(this.lineHeight=13)}function p(e,t,n,r){function o(e,t){for(var o,i=new f(e),a=1,s=0;s<t.length;s++){for(;e.overlapsOppositeAxis(n,t[s])||e.within(n)&&e.overlapsAny(r);)e.move(t[s]);if(e.within(n))return e;var u=e.intersectPercentage(n);a>u&&(o=new f(e),a=u),e=new f(i)}return o||i}var i=new f(t),a=t.cue,s=l(a),u=[];if(a.snapToLines){var c;switch(a.vertical){case"":u=["+y","-y"],c="height";break;case"rl":u=["+x","-x"],c="width";break;case"lr":u=["-x","+x"],c="width"}var d=i.lineHeight,p=d*Math.round(s),h=n[c]+d,m=u[0];Math.abs(p)>h&&(p=p<0?-1:1,p*=Math.ceil(h/d)*d),s<0&&(p+=""===a.vertical?n.height:n.width,u=u.reverse()),i.move(m,p)}else{var g=i.lineHeight/n.height*100;switch(a.lineAlign){case"middle":s-=g/2;break;case"end":s-=g}switch(a.vertical){case"":t.applyStyles({top:t.formatStyle(s,"%")});break;case"rl":t.applyStyles({left:t.formatStyle(s,"%")});break;case"lr":t.applyStyles({right:t.formatStyle(s,"%")})}u=["+y","-x","+x","-y"],i=new f(t)}var v=o(i,u);t.move(v.toCSSCompatValues(n))}function h(){}var m=Object.create||function(){function e(){}return function(t){if(1!==arguments.length)throw new Error("Object.create shim only accepts one parameter.");return e.prototype=t,new e}}();t.prototype=m(Error.prototype),t.prototype.constructor=t,t.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}},r.prototype={set:function(e,t){this.get(e)||""===t||(this.values[e]=t)},get:function(e,t,n){return n?this.has(e)?this.values[e]:t[n]:this.has(e)?this.values[e]:t},has:function(e){return e in this.values},alt:function(e,t,n){for(var r=0;r<n.length;++r)if(t===n[r]){this.set(e,t);break}},integer:function(e,t){/^-?\d+$/.test(t)&&this.set(e,parseInt(t,10))},percent:function(e,t){var n;return!!((n=t.match(/^([\d]{1,3})(\.[\d]*)?%$/))&&(t=parseFloat(t),t>=0&&t<=100))&&(this.set(e,t),!0)}};var g={"&amp;":"&","&lt;":"<","&gt;":">","&lrm;":"‎","&rlm;":"‏","&nbsp;":" "},v={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},y={v:"title",lang:"lang"},b={rt:"ruby"},_=[[1470,1470],[1472,1472],[1475,1475],[1478,1478],[1488,1514],[1520,1524],[1544,1544],[1547,1547],[1549,1549],[1563,1563],[1566,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],[1969,1969],[1984,2026],[2036,2037],[2042,2042],[2048,2069],[2074,2074],[2084,2084],[2088,2088],[2096,2110],[2112,2136],[2142,2142],[2208,2208],[2210,2220],[8207,8207],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64449],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[67584,67589],[67592,67592],[67594,67637],[67639,67640],[67644,67644],[67647,67669],[67671,67679],[67840,67867],[67872,67897],[67903,67903],[67968,68023],[68030,68031],[68096,68096],[68112,68115],[68117,68119],[68121,68147],[68160,68167],[68176,68184],[68192,68223],[68352,68405],[68416,68437],[68440,68466],[68472,68479],[68608,68680],[126464,126467],[126469,126495],[126497,126498],[126500,126500],[126503,126503],[126505,126514],[126516,126519],[126521,126521],[126523,126523],[126530,126530],[126535,126535],[126537,126537],[126539,126539],[126541,126543],[126545,126546],[126548,126548],[126551,126551],[126553,126553],[126555,126555],[126557,126557],[126559,126559],[126561,126562],[126564,126564],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126590,126590],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[1114109,1114109]];c.prototype.applyStyles=function(e,t){t=t||this.div;for(var n in e)e.hasOwnProperty(n)&&(t.style[n]=e[n])},c.prototype.formatStyle=function(e,t){return 0===e?0:e+t},d.prototype=m(c.prototype),d.prototype.constructor=d,f.prototype.move=function(e,t){switch(t=void 0!==t?t:this.lineHeight,e){case"+x":this.left+=t,this.right+=t;break;case"-x":this.left-=t,this.right-=t;break;case"+y":this.top+=t,this.bottom+=t;
+break;case"-y":this.top-=t,this.bottom-=t}},f.prototype.overlaps=function(e){return this.left<e.right&&this.right>e.left&&this.top<e.bottom&&this.bottom>e.top},f.prototype.overlapsAny=function(e){for(var t=0;t<e.length;t++)if(this.overlaps(e[t]))return!0;return!1},f.prototype.within=function(e){return this.top>=e.top&&this.bottom<=e.bottom&&this.left>=e.left&&this.right<=e.right},f.prototype.overlapsOppositeAxis=function(e,t){switch(t){case"+x":return this.left<e.left;case"-x":return this.right>e.right;case"+y":return this.top<e.top;case"-y":return this.bottom>e.bottom}},f.prototype.intersectPercentage=function(e){var t=Math.max(0,Math.min(this.right,e.right)-Math.max(this.left,e.left)),n=Math.max(0,Math.min(this.bottom,e.bottom)-Math.max(this.top,e.top)),r=t*n;return r/(this.height*this.width)},f.prototype.toCSSCompatValues=function(e){return{top:this.top-e.top,bottom:e.bottom-this.bottom,left:this.left-e.left,right:e.right-this.right,height:this.height,width:this.width}},f.getSimpleBoxPosition=function(e){var t=e.div?e.div.offsetHeight:e.tagName?e.offsetHeight:0,n=e.div?e.div.offsetWidth:e.tagName?e.offsetWidth:0,r=e.div?e.div.offsetTop:e.tagName?e.offsetTop:0;e=e.div?e.div.getBoundingClientRect():e.tagName?e.getBoundingClientRect():e;var o={left:e.left,right:e.right,top:e.top||r,height:e.height||t,bottom:e.bottom||r+(e.height||t),width:e.width||n};return o},h.StringDecoder=function(){return{decode:function(e){if(!e)return"";if("string"!=typeof e)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(e))}}},h.convertCueToDOMTree=function(e,t){return e&&t?a(e,t):null};var w=.05,C="sans-serif",x="1.5%";h.processCues=function(e,t,n){function r(e){for(var t=0;t<e.length;t++)if(e[t].hasBeenReset||!e[t].displayState)return!0;return!1}if(!e||!t||!n)return null;for(;n.firstChild;)n.removeChild(n.firstChild);var o=e.document.createElement("div");if(o.style.position="absolute",o.style.left="0",o.style.right="0",o.style.top="0",o.style.bottom="0",o.style.margin=x,n.appendChild(o),r(t)){var i=[],a=f.getSimpleBoxPosition(o),s=Math.round(a.height*w*100)/100,u={font:s+"px "+C};!function(){for(var n,r,s=0;s<t.length;s++)r=t[s],n=new d(e,r,u),o.appendChild(n.div),p(e,n,a,i),r.displayState=n.div,i.push(f.getSimpleBoxPosition(n))}()}else for(var l=0;l<t.length;l++)o.appendChild(t[l].displayState)},h.Parser=function(e,t,n){n||(n=t,t={}),t||(t={}),this.window=e,this.vttjs=t,this.state="INITIAL",this.buffer="",this.decoder=n||new TextDecoder("utf8"),this.regionList=[]},h.Parser.prototype={reportOrThrowError:function(e){if(!(e instanceof t))throw e;this.onparsingerror&&this.onparsingerror(e)},parse:function(e){function a(){for(var e=c.buffer,t=0;t<e.length&&"\r"!==e[t]&&"\n"!==e[t];)++t;var n=e.substr(0,t);return"\r"===e[t]&&++t,"\n"===e[t]&&++t,c.buffer=e.substr(t),n}function s(e){var t=new r;if(o(e,function(e,n){switch(e){case"id":t.set(e,n);break;case"width":t.percent(e,n);break;case"lines":t.integer(e,n);break;case"regionanchor":case"viewportanchor":var o=n.split(",");if(2!==o.length)break;var i=new r;if(i.percent("x",o[0]),i.percent("y",o[1]),!i.has("x")||!i.has("y"))break;t.set(e+"X",i.get("x")),t.set(e+"Y",i.get("y"));break;case"scroll":t.alt(e,n,["up"])}},/=/,/\s/),t.has("id")){var n=new(c.vttjs.VTTRegion||c.window.VTTRegion);n.width=t.get("width",100),n.lines=t.get("lines",3),n.regionAnchorX=t.get("regionanchorX",0),n.regionAnchorY=t.get("regionanchorY",100),n.viewportAnchorX=t.get("viewportanchorX",0),n.viewportAnchorY=t.get("viewportanchorY",100),n.scroll=t.get("scroll",""),c.onregion&&c.onregion(n),c.regionList.push({id:t.get("id"),region:n})}}function u(e){var t=new r;o(e,function(e,r){switch(e){case"MPEGT":t.integer(e+"S",r);break;case"LOCA":t.set(e+"L",n(r))}},/[^\d]:/,/,/),c.ontimestampmap&&c.ontimestampmap({MPEGTS:t.get("MPEGTS"),LOCAL:t.get("LOCAL")})}function l(e){e.match(/X-TIMESTAMP-MAP/)?o(e,function(e,t){switch(e){case"X-TIMESTAMP-MAP":u(t)}},/=/):o(e,function(e,t){switch(e){case"Region":s(t)}},/:/)}var c=this;e&&(c.buffer+=c.decoder.decode(e,{stream:!0}));try{var d;if("INITIAL"===c.state){if(!/\r\n|\n/.test(c.buffer))return this;d=a();var f=d.match(/^WEBVTT([ \t].*)?$/);if(!f||!f[0])throw new t(t.Errors.BadSignature);c.state="HEADER"}for(var p=!1;c.buffer;){if(!/\r\n|\n/.test(c.buffer))return this;switch(p?p=!1:d=a(),c.state){case"HEADER":/:/.test(d)?l(d):d||(c.state="ID");continue;case"NOTE":d||(c.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(d)){c.state="NOTE";break}if(!d)continue;if(c.cue=new(c.vttjs.VTTCue||c.window.VTTCue)(0,0,""),c.state="CUE",d.indexOf("-->")===-1){c.cue.id=d;continue}case"CUE":try{i(d,c.cue,c.regionList)}catch(e){c.reportOrThrowError(e),c.cue=null,c.state="BADCUE";continue}c.state="CUETEXT";continue;case"CUETEXT":var h=d.indexOf("-->")!==-1;if(!d||h&&(p=!0)){c.oncue&&c.oncue(c.cue),c.cue=null,c.state="ID";continue}c.cue.text&&(c.cue.text+="\n"),c.cue.text+=d;continue;case"BADCUE":d||(c.state="ID");continue}}}catch(e){c.reportOrThrowError(e),"CUETEXT"===c.state&&c.cue&&c.oncue&&c.oncue(c.cue),c.cue=null,c.state="INITIAL"===c.state?"BADWEBVTT":"BADCUE"}return this},flush:function(){var e=this;try{if(e.buffer+=e.decoder.decode(),(e.cue||"HEADER"===e.state)&&(e.buffer+="\n\n",e.parse()),"INITIAL"===e.state)throw new t(t.Errors.BadSignature)}catch(t){e.reportOrThrowError(t)}return e.onflush&&e.onflush(),this}},e.WebVTT=h}(this,this.vttjs||{})},function(e,t,n){"undefined"!=typeof e&&e.exports&&(this.VTTCue=this.VTTCue||n(1209).VTTCue),function(e){e.VTTCue.prototype.toJSON=function(){var e={},t=this;return Object.keys(this).forEach(function(n){"getCueAsHTML"!==n&&"hasBeenReset"!==n&&"displayState"!==n&&(e[n]=t[n])}),e},e.VTTCue.create=function(t){if(!t.hasOwnProperty("startTime")||!t.hasOwnProperty("endTime")||!t.hasOwnProperty("text"))throw new Error("You must at least have start time, end time, and text.");var n=new e.VTTCue(t.startTime,t.endTime,t.text);for(var r in t)n.hasOwnProperty(r)&&(n[r]=t[r]);return n},e.VTTCue.fromJSON=function(e){return this.create(JSON.parse(e))}}(this)},function(e,t){!function(e,t){function n(e){if("string"!=typeof e)return!1;var t=s[e.toLowerCase()];return!!t&&e.toLowerCase()}function r(e){if("string"!=typeof e)return!1;var t=u[e.toLowerCase()];return!!t&&e.toLowerCase()}function o(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}function i(e,t,i){var s=this,u=/MSIE\s8\.0/.test(navigator.userAgent),l={};u?s=document.createElement("custom"):l.enumerable=!0,s.hasBeenReset=!1;var c="",d=!1,f=e,p=t,h=i,m=null,g="",v=!0,y="auto",b="start",_=50,w="middle",C=50,x="middle";if(Object.defineProperty(s,"id",o({},l,{get:function(){return c},set:function(e){c=""+e}})),Object.defineProperty(s,"pauseOnExit",o({},l,{get:function(){return d},set:function(e){d=!!e}})),Object.defineProperty(s,"startTime",o({},l,{get:function(){return f},set:function(e){if("number"!=typeof e)throw new TypeError("Start time must be set to a number.");f=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"endTime",o({},l,{get:function(){return p},set:function(e){if("number"!=typeof e)throw new TypeError("End time must be set to a number.");p=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"text",o({},l,{get:function(){return h},set:function(e){h=""+e,this.hasBeenReset=!0}})),Object.defineProperty(s,"region",o({},l,{get:function(){return m},set:function(e){m=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"vertical",o({},l,{get:function(){return g},set:function(e){var t=n(e);if(t===!1)throw new SyntaxError("An invalid or illegal string was specified.");g=t,this.hasBeenReset=!0}})),Object.defineProperty(s,"snapToLines",o({},l,{get:function(){return v},set:function(e){v=!!e,this.hasBeenReset=!0}})),Object.defineProperty(s,"line",o({},l,{get:function(){return y},set:function(e){if("number"!=typeof e&&e!==a)throw new SyntaxError("An invalid number or illegal string was specified.");y=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"lineAlign",o({},l,{get:function(){return b},set:function(e){var t=r(e);if(!t)throw new SyntaxError("An invalid or illegal string was specified.");b=t,this.hasBeenReset=!0}})),Object.defineProperty(s,"position",o({},l,{get:function(){return _},set:function(e){if(e<0||e>100)throw new Error("Position must be between 0 and 100.");_=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"positionAlign",o({},l,{get:function(){return w},set:function(e){var t=r(e);if(!t)throw new SyntaxError("An invalid or illegal string was specified.");w=t,this.hasBeenReset=!0}})),Object.defineProperty(s,"size",o({},l,{get:function(){return C},set:function(e){if(e<0||e>100)throw new Error("Size must be between 0 and 100.");C=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"align",o({},l,{get:function(){return x},set:function(e){var t=r(e);if(!t)throw new SyntaxError("An invalid or illegal string was specified.");x=t,this.hasBeenReset=!0}})),s.displayState=void 0,u)return s}var a="auto",s={"":!0,lr:!0,rl:!0},u={start:!0,middle:!0,end:!0,left:!0,right:!0};i.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},e.VTTCue=e.VTTCue||i,t.VTTCue=i}(this,this.vttjs||{})},function(e,t,n){"undefined"!=typeof e&&e.exports&&(this.VTTRegion=n(1211).VTTRegion),function(e){e.VTTRegion.create=function(t){var n=new e.VTTRegion;for(var r in t)n.hasOwnProperty(r)&&(n[r]=t[r]);return n},e.VTTRegion.fromJSON=function(e){return this.create(JSON.parse(e))}}(this)},function(e,t){!function(e,t){function n(e){if("string"!=typeof e)return!1;var t=i[e.toLowerCase()];return!!t&&e.toLowerCase()}function r(e){return"number"==typeof e&&e>=0&&e<=100}function o(){var e=100,t=3,o=0,i=100,a=0,s=100,u="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return e},set:function(t){if(!r(t))throw new Error("Width must be between 0 and 100.");e=t}},lines:{enumerable:!0,get:function(){return t},set:function(e){if("number"!=typeof e)throw new TypeError("Lines must be set to a number.");t=e}},regionAnchorY:{enumerable:!0,get:function(){return i},set:function(e){if(!r(e))throw new Error("RegionAnchorX must be between 0 and 100.");i=e}},regionAnchorX:{enumerable:!0,get:function(){return o},set:function(e){if(!r(e))throw new Error("RegionAnchorY must be between 0 and 100.");o=e}},viewportAnchorY:{enumerable:!0,get:function(){return s},set:function(e){if(!r(e))throw new Error("ViewportAnchorY must be between 0 and 100.");s=e}},viewportAnchorX:{enumerable:!0,get:function(){return a},set:function(e){if(!r(e))throw new Error("ViewportAnchorX must be between 0 and 100.");a=e}},scroll:{enumerable:!0,get:function(){return u},set:function(e){var t=n(e);if(t===!1)throw new SyntaxError("An invalid or illegal string was specified.");u=t}}})}var i={"":!0,up:!0};e.VTTRegion=e.VTTRegion||o,t.VTTRegion=o}(this,this.vttjs||{})},function(e,t){function n(){for(var e={},t=0;t<arguments.length;t++){var n=arguments[t];for(var o in n)r.call(n,o)&&(e[o]=n[o])}return e}e.exports=n;var r=Object.prototype.hasOwnProperty},function(e,t){},1213,function(e,t,n){function r(e,t,n){if("function"!=typeof e)return o;if(void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,o){return e.call(t,n,r,o)};case 4:return function(n,r,o,i){return e.call(t,n,r,o,i)};case 5:return function(n,r,o,i,a){return e.call(t,n,r,o,i,a)}}return function(){return e.apply(t,arguments)}}var o=n(1280);e.exports=r},function(e,t,n){function r(e,t){var n=null==e?void 0:e[t];return o(n)?n:void 0}var o=n(1277);e.exports=r},function(e,t,n){function r(e){return null!=e&&i(o(e))}var o=n(1268),i=n(330);e.exports=r},function(e,t){function n(e,t){return e="number"==typeof e||r.test(e)?+e:-1,t=null==t?o:t,e>-1&&e%1==0&&e<t}var r=/^\d+$/,o=9007199254740991;e.exports=n},function(e,t,n){function r(e){return i(e)&&o(e)&&s.call(e,"callee")&&!u.call(e,"callee")}var o=n(1217),i=n(331),a=Object.prototype,s=a.hasOwnProperty,u=a.propertyIsEnumerable;e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),l=r(u),c=n(7),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),g=n(3),v=r(g),y=n(1286),b=r(y),_=n(1284),w=r(_),C=n(1287),x=r(C),E=n(27),T=r(E),k=m.default.createElement("div",{className:"au-c-input__bottom has-error"}),S=m.default.createElement("div",{className:"au-c-input__bottom"}),O=function(e){function t(){(0,s.default)(this,t);var e=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this));return e.state={addingItem:!1,activeItem:"",reorderActive:!1,title:"start"},e}return(0,p.default)(t,e),(0,l.default)(t,[{key:"componentWillUpdate",value:function(e){this.props.items&&this.props.items.length+1===e.items.length&&this.setState({activeItem:v.default.last(e.items).id})}},{key:"createItem",value:function(e){this.props.createItem(e),this.setState({addingItem:!1})}},{key:"showNewModal",value:function(){return this.props.name&&(this.state.addingItem||v.default.isEmpty(this.props.items))}},{key:"activateItem",value:function(e){e===this.state.activeItem||this.state.reorderActive||this.setState({activeItem:e,reorderActive:!1})}},{key:"moveItem",value:function(e,t){var n=v.default.map(this.props.items,"id"),r=n[t];n[t]=n[e],n[e]=r,this.props.updateItemOrder(n)}},{key:"showSinglePageOption",value:function(){var e=this;if(this.props.publishedAndOffered){var t=this.props.localizeStrings("assessmentForm");return m.default.createElement("div",{className:"au-o-item__top"},m.default.createElement("div",{className:"au-c-checkbox au-u-right"},m.default.createElement("input",{type:"checkbox",id:"assessmentFormCheck01",name:"check",onChange:function(t){return e.props.updateSingleItemOrPage(t.target.checked)}}),m.default.createElement("label",{htmlFor:"assessmentFormCheck01"},t.singlePageAssessment)))}return null}},{key:"newItem",value:function(){var e=this;return m.default.createElement(b.default,{cancel:function(){return e.setState({addingItem:!1})},create:function(t){return e.createItem(t)}})}},{key:"updateAssessment",value:function(e){e.target.value&&this.props.updateAssessment({name:e.target.value})}},{key:"render",value:function(){var e=this,t=this.state.reorderActive,n=!this.state.addingItem&&this.props.name,r=this.props.localizeStrings("assessmentForm");return m.default.createElement("div",{className:"au-o-contain"},m.default.createElement("div",{className:"au-o-item"},this.showSinglePageOption(),m.default.createElement("div",{className:"au-c-assessment-title"},m.default.createElement("label",{htmlFor:"title_field",className:"au-c-input test_label"},m.default.createElement("div",{className:"au-c-input__contain"},m.default.createElement("input",{key:this.props.name,defaultValue:this.props.name,className:"au-c-text-input au-c-text-input--large",type:"text",id:"title_field",placeholder:r.placeholder,onChange:function(t){return e.setState({title:t.target.value})},onBlur:function(t){return e.updateAssessment(t)}}),v.default.isEmpty(this.state.title)?m.default.createElement("div",null,k,m.default.createElement("div",{className:"au-c-error-text"},r.nameRequired)):S)))),this.props.name?v.default.map(v.default.compact(this.props.items),function(n,r){return m.default.createElement(x.default,{key:"question_"+r,item:n,bankId:e.props.bankId,itemIndex:r,topItem:0===r,bottomItem:r===e.props.items.length-1,isActive:e.state.activeItem===n.id,reorderActive:t,activateItem:function(t){return e.activateItem(t)},toggleReorder:function(){return e.setState({reorderActive:!t})},deleteAssessmentItem:e.props.deleteAssessmentItem,moveItem:function(t,n){return e.moveItem(t,n)}})}):null,this.showNewModal()?this.newItem():null,n?m.default.createElement(w.default,{newItem:function(){return e.setState({addingItem:!0})}}):null)}}]),t}(m.default.Component);t.default=(0,T.default)(O)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.localizeStrings("commonAddOption");return a.default.createElement("div",{className:"au-c-answer au-o-flex-center au-c-answer--add",onClick:e.createChoice,tabIndex:"0",onKeyDown:function(t){13===t.keyCode&&e.createChoice(t)}},a.default.createElement("div",{className:"au-c-input"},l,a.default.createElement("div",{className:"au-c-input__contain"},a.default.createElement("input",{className:"au-c-text-input au-c-text-input--small au-c-wysiwyg au-c-option",id:"option2",type:"text",value:t.addOption,disabled:!0}),c)))}Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),a=r(i),s=n(27),u=r(s),l=a.default.createElement("label",{htmlFor:"option2"}),c=a.default.createElement("div",{className:"au-c-input__bottom no-border"});t.default=(0,u.default)(o)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(9),i=r(o),a=n(4),s=r(a),u=n(7),l=r(u),c=n(5),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),g=n(3),v=r(g),y=n(136),b=n(27),_=r(b),w=m.default.createElement("span",null,"Audio record limit"),C=m.default.createElement("label",{htmlFor:"audio-limit"}),x=function(e){function t(e){(0,s.default)(this,t);var n=(0,l.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e)),r=t.getAudioLimit(e.item)||y.audioLimit,o=r>y.audioLimit;return n.state={timeLimit:v.default.toString(r),displayWarning:o},n}return(0,p.default)(t,e),(0,d.default)(t,null,[{key:"getAudioLimit",value:function(e){var t=v.default.get(e,["question","timeValue"],{hours:"00",minutes:"00",seconds:v.default.toString(y.audioLimit)}),n=v.default.mapValues(t,function(e){return parseInt(e,10)}),r=3600*n.hours+60*n.minutes+n.seconds;return r}}]),(0,d.default)(t,[{key:"rangeWarning",value:function(){var e=this.props.localizeStrings("audioLimit");return m.default.createElement("span",{className:"au-c-inline-error"},e.rangeWarning," ",""+y.audioLimit)}},{key:"handleTimeLimitUpdate",value:function(e){var t=e.target.value,n=parseInt(t,10),r=!1;n>y.audioLimit?(t=v.default.toString(y.audioLimit),r=!0):(v.default.isNaN(n)||n<0)&&(r=!0),this.setState({timeLimit:t,displayWarning:r})}},{key:"render",value:function(){var e=this;return m.default.createElement("div",{className:"au-c-file-upload__audio-settings is-active"},w,m.default.createElement("div",{className:"au-c-input au-c-input--inline"},C,m.default.createElement("div",{className:"au-c-input__contain"},m.default.createElement("input",{className:"au-c-text-input au-c-text-input--smaller",id:"audio-limit",type:"text",maxLength:"3",value:this.state.timeLimit,onChange:function(t){return e.handleTimeLimitUpdate(t)},onBlur:function(t){return e.props.handleBlur(t)}}),m.default.createElement("div",{className:"au-c-input__bottom "+(this.state.displayWarning?"has-error":"")}))),m.default.createElement("span",null,"seconds. (",""+y.audioLimit," maximum)"),this.state.displayWarning?this.rangeWarning():null)}}]),t}(m.default.Component);t.default=(0,_.default)(x)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return a.default.createElement("div",{className:"au-c-checkbox"},a.default.createElement("input",{type:"checkbox",id:"option_checkbox_"+e.id,name:"option_checkbox_"+e.itemId,tabIndex:"0",checked:e.isCorrect,onChange:function(t){return e.updateChoice({isCorrect:t.target.checked})}}),a.default.createElement("label",{htmlFor:"option_checkbox_"+e.id}))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return a.default.createElement("div",{className:"au-c-radio"},a.default.createElement("input",{type:"radio",id:"option_radio_"+e.id,name:"option_radio_"+e.itemId,tabIndex:"0",checked:e.isCorrect,onChange:function(t){return e.updateChoice({isCorrect:t.target.checked})}}),a.default.createElement("label",{htmlFor:"option_radio_"+e.id}))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.localizeStrings("saveOption");return a.default.createElement("button",{className:"au-c-btn au-c-btn--sm au-c-btn--maroon au-u-ml-md",onClick:e.save},t.saveOptions)}Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),a=r(i),s=n(27),u=r(s);t.default=(0,u.default)(o)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return a.default.createElement("div",{className:"au-c-dropdown au-c-dropdown--smaller au-u-ml-sm "+(e.wordType?"is-ordered":null)},a.default.createElement("label",{htmlFor:"option_word_"+e.id}),a.default.createElement("select",{name:"",id:"option_word_"+e.id,value:e.wordType,onChange:function(t){return e.updateChoice({wordType:t.target.value})}},s,u,l,c,d,f,p))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i),s=a.default.createElement("option",{value:"other"},"Other"),u=a.default.createElement("option",{value:"verb"},"Verb"),l=a.default.createElement("option",{value:"adverb"},"Adverb"),c=a.default.createElement("option",{value:"noun"},"Noun"),d=a.default.createElement("option",{value:"pronoun"},"Pronoun"),f=a.default.createElement("option",{value:"adjective"},"Adjective"),p=a.default.createElement("option",{value:"preposition"},"Preposition")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.selectItem,n=e.bank,r=e.onFocus;return a.default.createElement("tr",{onClick:function(){return t()},onKeyDown:function(e){13===e.keyCode&&t()},tabIndex:"0",role:"button","aria-label":n.displayName?n.displayName.text:"bank item",onFocus:function(){return r(!0)},onMouseEnter:function(){return r(!0)},onMouseLeave:function(){return r(!1)},className:e.focused?"focused":""},e.children)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.localizeStrings("backButton");return a.default.createElement("button",{onClick:function(){return e.handleClick()},className:"au-c-btn au-c-btn--sm au-c-btn--outline au-c-btn--back"},l,t.back)}Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),a=r(i),s=n(27),u=r(s),l=a.default.createElement("i",{className:"material-icons"},"keyboard_arrow_left");t.default=(0,u.default)(o)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return a.default.createElement("div",{className:"au-c-dropdown au-c-dropdown--small au-u-ml-md"},a.default.createElement("select",{name:"",id:"",tabIndex:"0",value:u.default.languageTypeId[e.language],onChange:function(t){return e.updateItem({language:t.target.value})}},a.default.createElement("option",{value:u.default.languageTypeId.english},"English"),a.default.createElement("option",{value:u.default.languageTypeId.hindi},"Hindi"),a.default.createElement("option",{value:u.default.languageTypeId.telugu},"Telugu")))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i),s=n(104),u=r(s)},,,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){for(var e={},t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return u.default.forEach(n,function(t){return e=(0,a.default)({},e,t)}),e}Object.defineProperty(t,"__esModule",{value:!0});var i=n(11),a=r(i);t.getInitialSettings=o;var s=n(3),u=r(s);t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.settings=function(e){return e.settings},t.assessments=function(e){return e.assessments}},,,,,,,,,,,function(e,t){function n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function r(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function o(e,t){return function(n){return e(t(n))}}function i(e,t){var n=R(e)||m(e)?r(e.length,String):[],o=n.length,i=!!o;for(var a in e)!t&&!M.call(e,a)||i&&("length"==a||d(a,o))||n.push(a);return n}function a(e,t,n){var r=e[t];M.call(e,t)&&h(r,n)&&(void 0!==n||t in e)||(e[t]=n)}function s(e){if(!p(e))return I(e);var t=[];for(var n in Object(e))M.call(e,n)&&"constructor"!=n&&t.push(n);return t}function u(e,t){return t=P(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=P(r.length-t,0),a=Array(i);++o<i;)a[o]=r[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=r[o];return s[t]=a,n(e,this,s)}}function l(e,t,n,r){n||(n={});for(var o=-1,i=t.length;++o<i;){var s=t[o],u=r?r(n[s],e[s],s,n,e):void 0;a(n,s,void 0===u?e[s]:u)}return n}function c(e){return u(function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(o--,i):void 0,a&&f(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),t=Object(t);++r<o;){var s=n[r];s&&e(t,s,r,i)}return t})}function d(e,t){return t=null==t?x:t,!!t&&("number"==typeof e||S.test(e))&&e>-1&&e%1==0&&e<t}function f(e,t,n){if(!_(n))return!1;var r=typeof t;return!!("number"==r?g(n)&&d(t,n.length):"string"==r&&t in n)&&h(n[t],e)}function p(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||O;return e===n}function h(e,t){return e===t||e!==e&&t!==t}function m(e){return v(e)&&M.call(e,"callee")&&(!N.call(e,"callee")||A.call(e)==E)}function g(e){return null!=e&&b(e.length)&&!y(e)}function v(e){return w(e)&&g(e)}function y(e){var t=_(e)?A.call(e):"";return t==T||t==k}function b(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=x}function _(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function w(e){return!!e&&"object"==typeof e}function C(e){return g(e)?i(e):s(e)}var x=9007199254740991,E="[object Arguments]",T="[object Function]",k="[object GeneratorFunction]",S=/^(?:0|[1-9]\d*)$/,O=Object.prototype,M=O.hasOwnProperty,A=O.toString,N=O.propertyIsEnumerable,I=o(Object.keys,Object),P=Math.max,D=!N.call({valueOf:1},"valueOf"),R=Array.isArray,j=c(function(e,t){if(D||p(t)||g(t))return void l(t,C(t),e);for(var n in t)M.call(t,n)&&a(e,n,t[n])});e.exports=j},function(e,t){/*!
+	 * Adapted from jQuery UI core
+	 *
+	 * http://jqueryui.com
+	 *
+	 * Copyright 2014 jQuery Foundation and other contributors
+	 * Released under the MIT license.
+	 * http://jquery.org/license
+	 *
+	 * http://api.jqueryui.com/category/ui-core/
+	 */
+function n(e,t){var n=e.nodeName.toLowerCase();return(/input|select|textarea|button|object/.test(n)?!e.disabled:"a"===n?e.href||t:t)&&o(e)}function r(e){return e.offsetWidth<=0&&e.offsetHeight<=0||"none"===e.style.display}function o(e){for(;e&&e!==document.body;){if(r(e))return!1;e=e.parentNode}return!0}function i(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var r=isNaN(t);return(r||t>=0)&&n(e,!r)}function a(e){return[].slice.call(e.querySelectorAll("*"),0).filter(function(e){return i(e)})}e.exports=a},function(e,t,n){function r(e){return n(o(e))}function o(e){return i[e]||function(){throw new Error("Cannot find module '"+e+"'.")}()}var i={"./_author/images/CLIx-logo.png":1484,"./_author/images/audio-thumbnail.png":1485,"./_author/images/border.png":1486,"./_author/images/video-thumbnail.png":1487,"./images/atomicjolt.jpg":1488,"./images/atomicjolt.png":1489,"./images/atomicjolt.svg":1490,"./images/border.png":1491};r.keys=function(){return Object.keys(i)},r.resolve=o,e.exports=r,r.id=1247},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if("function"==typeof e&&"function"==typeof t)return e.toString()===t.toString()}var i=n(1),a=r(i),s=n(106),u=n(1275),l=r(u),c=n(1274),d=r(c),f=n(1250),p=r(f),h=n(1249),m=r(h),g=["focusin","focusout","click","dblclick","mousedown","mouseup","mousemove","mouseover","beforepaste","paste","cut","copy","selectionchange","mouseout","mouseenter","mouseleave","keydown","keypress","keyup","contextmenu","dragend","dragover","draggesture","dragdrop","drop","drag","BeforeRenderUI","SetAttrib","PreInit","PostRender","init","deactivate","activate","NodeChange","BeforeExecCommand","ExecCommand","show","hide","ProgressState","LoadContent","SaveContent","BeforeSetContent","SetContent","BeforeGetContent","GetContent","VisualAid","remove","submit","reset","BeforeAddUndo","AddUndo","change","undo","redo","ClearUndos","ObjectSelected","ObjectResizeStart","ObjectResized","PreProcess","PostProcess","focus","blur","dirty"],v=g.map(function(e){return"on"+(0,m.default)(e)}),y=a.default.createClass({displayName:"TinyMCE",propTypes:{config:a.default.PropTypes.object,content:a.default.PropTypes.string,id:a.default.PropTypes.string,className:a.default.PropTypes.string},getDefaultProps:function(){return{config:{},content:""}},componentWillMount:function(){this.id=this.id||this.props.id||(0,p.default)()},componentDidMount:function(){this._init(this.props.config,this.props.content)},componentWillReceiveProps:function(e){(0,l.default)(this.props.config,e.config,o)||this._init(e.config,e.content),(0,l.default)(this.props.id,e.id)||(this.id=e.id)},shouldComponentUpdate:function(e){return!(0,l.default)(this.props.content,e.content)||!(0,l.default)(this.props.config,e.config,o)},componentWillUnmount:function(){this._remove()},render:function(){return this.props.config.inline?a.default.createElement("div",{id:this.id,className:this.props.className}):a.default.createElement("textarea",{id:this.id,className:this.props.className,defaultValue:this.props.content})},_init:function(e,t){var n=this,r=(0,d.default)(e);this._isInit&&this._remove(),(0,s.findDOMNode)(this).style.hidden="hidden";var o=r.setup,i="function"==typeof o;r.selector="#"+this.id,r.setup=function(e){g.forEach(function(t,r){var o=n.props[v[r]];"function"==typeof o&&e.on(t,function(t){o(t,e)})}),null!==t&&void 0!==t&&e.on("init",function(){e.setContent(t)}),i&&o(e)},tinymce.init(r),(0,s.findDOMNode)(this).style.hidden="",this._isInit=!0},_remove:function(){tinymce.EditorManager.execCommand("mceRemoveEditor",!0,this.id),this._isInit=!1}});v.forEach(function(e){y.propTypes[e]=a.default.PropTypes.func}),e.exports=y},function(e,t){"use strict";function n(e){return e[0].toUpperCase()+e.substring(1)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n,e.exports=t.default},function(e,t){"use strict";var n=0;e.exports=function(){return"react-tinymce-"+n++}},function(e,t,n){"use strict";e.exports=n(1248)},function(e,t){function n(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}e.exports=n},function(e,t){function n(e,t){for(var n=-1,r=e.length;++n<r&&t(e[n],n,e)!==!1;);return e}e.exports=n},function(e,t){function n(e,t){for(var n=-1,r=e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}e.exports=n},function(e,t,n){function r(e,t){return null==t?e:o(t,i(t),e)}var o=n(1257),i=n(511);e.exports=r},function(e,t,n){function r(e,t,n,h,m,g,v){var b;if(n&&(b=m?n(e,h,m):n(e)),void 0!==b)return b;if(!f(e))return e;var _=d(e);if(_){if(b=u(e),!t)return o(e,b)}else{var C=B.call(e),x=C==y;if(C!=w&&C!=p&&(!x||m))return j[C]?l(e,C,t):m?e:{};if(b=c(x?{}:e),!t)return a(b,e)}g||(g=[]),v||(v=[]);for(var E=g.length;E--;)if(g[E]==e)return v[E];return g.push(e),v.push(b),(_?i:s)(e,function(o,i){b[i]=r(o,t,n,i,e,g,v)}),b}var o=n(1252),i=n(1253),a=n(1255),s=n(1259),u=n(1269),l=n(1270),c=n(1271),d=n(496),f=n(322),p="[object Arguments]",h="[object Array]",m="[object Boolean]",g="[object Date]",v="[object Error]",y="[object Function]",b="[object Map]",_="[object Number]",w="[object Object]",C="[object RegExp]",x="[object Set]",E="[object String]",T="[object WeakMap]",k="[object ArrayBuffer]",S="[object Float32Array]",O="[object Float64Array]",M="[object Int8Array]",A="[object Int16Array]",N="[object Int32Array]",I="[object Uint8Array]",P="[object Uint8ClampedArray]",D="[object Uint16Array]",R="[object Uint32Array]",j={};j[p]=j[h]=j[k]=j[m]=j[g]=j[S]=j[O]=j[M]=j[A]=j[N]=j[_]=j[w]=j[C]=j[E]=j[I]=j[P]=j[D]=j[R]=!0,j[v]=j[y]=j[b]=j[x]=j[T]=!1;var L=Object.prototype,B=L.toString;e.exports=r},function(e,t){function n(e,t,n){n||(n={});for(var r=-1,o=t.length;++r<o;){var i=t[r];n[i]=e[i]}return n}e.exports=n},function(e,t,n){var r=n(1264),o=r();e.exports=o},function(e,t,n){function r(e,t){return o(e,t,i)}var o=n(1258),i=n(511);e.exports=r},function(e,t,n){function r(e,t,n,s,u,l){return e===t||(null==e||null==t||!i(e)&&!a(t)?e!==e&&t!==t:o(e,t,r,n,s,u,l))}var o=n(1261),i=n(322),a=n(331);e.exports=r},function(e,t,n){function r(e,t,n,r,f,m,g){var v=s(e),y=s(t),b=c,_=c;v||(b=h.call(e),b==l?b=d:b!=d&&(v=u(e))),y||(_=h.call(t),_==l?_=d:_!=d&&(y=u(t)));var w=b==d,C=_==d,x=b==_;if(x&&!v&&!w)return i(e,t,b);if(!f){var E=w&&p.call(e,"__wrapped__"),T=C&&p.call(t,"__wrapped__");if(E||T)return n(E?e.value():e,T?t.value():t,r,f,m,g)}if(!x)return!1;m||(m=[]),g||(g=[]);for(var k=m.length;k--;)if(m[k]==e)return g[k]==t;m.push(e),g.push(t);var S=(v?o:a)(e,t,n,r,f,m,g);return m.pop(),g.pop(),S}var o=n(1265),i=n(1266),a=n(1267),s=n(496),u=n(1278),l="[object Arguments]",c="[object Array]",d="[object Object]",f=Object.prototype,p=f.hasOwnProperty,h=f.toString;e.exports=r},function(e,t){function n(e){return function(t){return null==t?void 0:t[e]}}e.exports=n},function(e,t){(function(t){function n(e){var t=new r(e.byteLength),n=new o(t);return n.set(new o(e)),t}var r=t.ArrayBuffer,o=t.Uint8Array;e.exports=n}).call(t,function(){return this}())},function(e,t,n){function r(e){return function(t,n,r){for(var i=o(t),a=r(t),s=a.length,u=e?s:-1;e?u--:++u<s;){var l=a[u];if(n(i[l],l,i)===!1)break}return t}}var o=n(1273);e.exports=r},function(e,t,n){function r(e,t,n,r,i,a,s){var u=-1,l=e.length,c=t.length;if(l!=c&&!(i&&c>l))return!1;for(;++u<l;){var d=e[u],f=t[u],p=r?r(i?f:d,i?d:f,u):void 0;if(void 0!==p){if(p)continue;return!1}if(i){if(!o(t,function(e){return d===e||n(d,e,r,i,a,s)}))return!1}else if(d!==f&&!n(d,f,r,i,a,s))return!1}return!0}var o=n(1254);e.exports=r},function(e,t){function n(e,t,n){switch(n){case r:case o:return+e==+t;case i:return e.name==t.name&&e.message==t.message;case a:return e!=+e?t!=+t:e==+t;case s:case u:return e==t+""}return!1}var r="[object Boolean]",o="[object Date]",i="[object Error]",a="[object Number]",s="[object RegExp]",u="[object String]";e.exports=n},function(e,t,n){function r(e,t,n,r,i,s,u){var l=o(e),c=l.length,d=o(t),f=d.length;if(c!=f&&!i)return!1;for(var p=c;p--;){var h=l[p];if(!(i?h in t:a.call(t,h)))return!1}for(var m=i;++p<c;){h=l[p];var g=e[h],v=t[h],y=r?r(i?v:g,i?g:v,h):void 0;if(!(void 0===y?n(g,v,r,i,s,u):y))return!1;m||(m="constructor"==h)}if(!m){var b=e.constructor,_=t.constructor;if(b!=_&&"constructor"in e&&"constructor"in t&&!("function"==typeof b&&b instanceof b&&"function"==typeof _&&_ instanceof _))return!1}return!0}var o=n(511),i=Object.prototype,a=i.hasOwnProperty;e.exports=r},function(e,t,n){var r=n(1262),o=r("length");e.exports=o},function(e,t){function n(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&o.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var r=Object.prototype,o=r.hasOwnProperty;e.exports=n},function(e,t,n){function r(e,t,n){var r=e.constructor;switch(t){case c:return o(e);case i:case a:return new r(+e);case d:case f:case p:case h:case m:case g:case v:case y:case b:var w=e.buffer;return new r(n?o(w):w,e.byteOffset,e.length);case s:case l:return new r(e);case u:var C=new r(e.source,_.exec(e));C.lastIndex=e.lastIndex}return C}var o=n(1263),i="[object Boolean]",a="[object Date]",s="[object Number]",u="[object RegExp]",l="[object String]",c="[object ArrayBuffer]",d="[object Float32Array]",f="[object Float64Array]",p="[object Int8Array]",h="[object Int16Array]",m="[object Int32Array]",g="[object Uint8Array]",v="[object Uint8ClampedArray]",y="[object Uint16Array]",b="[object Uint32Array]",_=/\w*$/;e.exports=r},function(e,t){function n(e){var t=e.constructor;return"function"==typeof t&&t instanceof t||(t=Object),new t}e.exports=n},function(e,t,n){function r(e){for(var t=u(e),n=t.length,r=n&&e.length,l=!!r&&s(r)&&(i(e)||o(e)),d=-1,f=[];++d<n;){var p=t[d];(l&&a(p,r)||c.call(e,p))&&f.push(p)}return f}var o=n(1219),i=n(496),a=n(1218),s=n(330),u=n(1279),l=Object.prototype,c=l.hasOwnProperty;e.exports=r},function(e,t,n){function r(e){return o(e)?e:Object(e)}var o=n(322);e.exports=r},function(e,t,n){function r(e,t,n){return"function"==typeof t?o(e,!0,i(t,n,3)):o(e,!0)}var o=n(1256),i=n(1215);e.exports=r},function(e,t,n){function r(e,t,n,r){n="function"==typeof n?i(n,r,3):void 0;var a=n?n(e,t):void 0;return void 0===a?o(e,t,n):!!a}var o=n(1260),i=n(1215);e.exports=r},function(e,t,n){function r(e){return o(e)&&s.call(e)==i}var o=n(322),i="[object Function]",a=Object.prototype,s=a.toString;e.exports=r},function(e,t,n){function r(e){return null!=e&&(o(e)?c.test(u.call(e)):i(e)&&a.test(e))}var o=n(1276),i=n(331),a=/^\[object .+?Constructor\]$/,s=Object.prototype,u=Function.prototype.toString,l=s.hasOwnProperty,c=RegExp("^"+u.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=r},function(e,t,n){function r(e){return i(e)&&o(e.length)&&!!M[N.call(e)]}var o=n(330),i=n(331),a="[object Arguments]",s="[object Array]",u="[object Boolean]",l="[object Date]",c="[object Error]",d="[object Function]",f="[object Map]",p="[object Number]",h="[object Object]",m="[object RegExp]",g="[object Set]",v="[object String]",y="[object WeakMap]",b="[object ArrayBuffer]",_="[object Float32Array]",w="[object Float64Array]",C="[object Int8Array]",x="[object Int16Array]",E="[object Int32Array]",T="[object Uint8Array]",k="[object Uint8ClampedArray]",S="[object Uint16Array]",O="[object Uint32Array]",M={};M[_]=M[w]=M[C]=M[x]=M[E]=M[T]=M[k]=M[S]=M[O]=!0,M[a]=M[s]=M[b]=M[u]=M[l]=M[c]=M[d]=M[f]=M[p]=M[h]=M[m]=M[g]=M[v]=M[y]=!1;var A=Object.prototype,N=A.toString;e.exports=r},function(e,t,n){function r(e){if(null==e)return[];u(e)||(e=Object(e));var t=e.length;t=t&&s(t)&&(i(e)||o(e))&&t||0;for(var n=e.constructor,r=-1,l="function"==typeof n&&n.prototype===e,d=Array(t),f=t>0;++r<t;)d[r]=r+"";for(var p in e)f&&a(p,t)||"constructor"==p&&(l||!c.call(e,p))||d.push(p);return d}var o=n(1219),i=n(496),a=n(1218),s=n(330),u=n(322),l=Object.prototype,c=l.hasOwnProperty;e.exports=r},function(e,t){function n(e){return e}e.exports=n},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e){return{bank:e.banks,settings:e.settings}}Object.defineProperty(t,"__esModule",{value:!0}),t.Index=void 0;var a=n(11),s=o(a),u=n(9),l=o(u),c=n(4),d=o(c),f=n(5),p=o(f),h=n(7),m=o(h),g=n(6),v=o(g),y=n(1),b=o(y),_=n(36),w=n(337),C=r(w),x=t.Index=function(e){function t(){return(0,d.default)(this,t),(0,m.default)(this,(t.__proto__||(0,l.default)(t)).apply(this,arguments))}return(0,v.default)(t,e),(0,p.default)(t,[{key:"componentWillMount",value:function(){this.props.getBanks()}},{key:"render",value:function(){return b.default.createElement("div",null,this.props.children)}}]),t}(b.default.Component);t.default=(0,_.connect)(i,(0,s.default)({},C))(x)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return{assessment:k.assessment(e,t),items:k.items(e,t),settings:k.settings(e,t),banks:k.banks(e,t),isPublished:k.isPublished(e,t),params:{bankId:k.bankId(e,t),id:k.id(e,t)}}}Object.defineProperty(t,"__esModule",{value:!0}),t.EditAssessment=void 0;var a=n(11),s=o(a),u=n(9),l=o(u),c=n(4),d=o(c),f=n(5),p=o(f),h=n(7),m=o(h),g=n(6),v=o(g),y=n(1),b=o(y),_=n(36),w=n(3),C=o(w),x=n(208),E=o(x),T=n(533),k=r(T),S=n(497),O=o(S),M=n(1220),A=o(M),N=n(337),I=r(N),P=n(221),D=r(P),R=n(338),j=r(R),L=n(27),B=o(L),F=t.EditAssessment=function(e){function t(){return(0,d.default)(this,t),(0,m.default)(this,(t.__proto__||(0,l.default)(t)).apply(this,arguments))}return(0,v.default)(t,e),(0,p.default)(t,[{key:"componentDidMount",value:function(){this.props.getAssessments(this.props.params.bankId),this.props.getAssessmentItems(this.props.params.bankId,this.props.params.id)}},{key:"getBankChildren",value:function(e){var t={},n=this.flattenBanks(this.props.banks,t);this.props.updatePath(e,n[e],!0),this.props.getAssessments(e),E.default.push("/")}},{key:"deleteAssessmentItem",value:function(e){var t=this.props.localizeStrings("editAssessment");confirm(t.confirm)&&this.props.deleteAssessmentItem(this.props.params.bankId,this.props.params.id,e)}},{key:"createItem",value:function(e){this.props.createItemInAssessment(this.props.params.bankId,this.props.params.id,C.default.map(this.props.items,"id"),e)}},{key:"updateItemOrder",value:function(e){this.props.updateAssessmentItems(this.props.params.bankId,this.props.params.id,e)}},{key:"updateSingleItemOrPage",value:function(e){var t=this.props,n=t.settings,r=t.assessment,o=r.assessmentOffered,i=e?n.single_page:n.one_item_per_page;this.props.updateSingleItemOrPage(o[0],i)}},{key:"flattenBanks",value:function(e,t){var n=this;return C.default.forEach(e,function(e){t[e.id]=e,C.default.isEmpty(e.childNodes)||n.flattenBanks(e.childNodes,t)}),t}},{key:"updateItem",value:function(e){this.props.updateItem(this.props.params.bankId,e)}},{key:"updateAssessment",value:function(e){var t=(0,s.default)({id:this.props.params.id},e);this.props.updateAssessment(this.props.params.bankId,t)}},{key:"render",value:function(){var e=this,t=this.props,n=t.assessment,r=t.isPublished,o=r&&!C.default.isUndefined(n.assessmentOffered);return b.default.createElement("div",null,b.default.createElement(O.default,{view:"assessments",togglePublishAssessment:function(){return e.props.togglePublishAssessment(e.props.assessment)},isPublished:r,assessment:this.props.assessment,items:this.props.items,getBankChildren:function(t){return e.getBankChildren(t)}}),b.default.createElement(A.default,(0,s.default)({bankId:this.props.params.bankId,publishedAndOffered:o,updateSingleItemOrPage:function(t){return e.updateSingleItemOrPage(t)}},this.props.assessment,{updateAssessment:function(t){return e.updateAssessment(t)},updateItemOrder:function(t){return e.updateItemOrder(t)},items:this.props.items,createItem:function(t){return e.createItem(t)},deleteAssessmentItem:function(t){return e.deleteAssessmentItem(t)}})))}}]),t}(b.default.Component);t.default=(0,_.connect)(i,(0,s.default)({},I,D,j))((0,B.default)(F))},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e){return{editableBankId:e.settings.editableBankId,banks:e.banks}}Object.defineProperty(t,"__esModule",{value:!0}),t.NewAssessment=void 0;var a=n(11),s=o(a),u=n(9),l=o(u),c=n(4),d=o(c),f=n(5),p=o(f),h=n(7),m=o(h),g=n(6),v=o(g),y=n(1),b=o(y),_=n(36),w=n(3),C=o(w),x=n(1220),E=o(x),T=n(208),k=o(T),S=n(497),O=o(S),M=n(337),A=r(M),N=n(221),I=r(N),P=n(338),D=r(P),R=t.NewAssessment=function(e){function t(e){(0,d.default)(this,t);var n=(0,m.default)(this,(t.__proto__||(0,l.default)(t)).call(this,e));return n.state={assessment:{assignedBankIds:[n.props.editableBankId]}},n}return(0,v.default)(t,e),(0,p.default)(t,[{key:"getBankChildren",value:function(e){var t=encodeURIComponent(e),n={},r=this.flattenBanks(this.props.banks,n);this.props.updatePath(t,r[t],!0),this.props.getAssessments(t),k.default.push("/")}},{key:"createAssessment",value:function(e){this.props.createAssessment(this.props.params.id,e)}},{key:"createItem",value:function(e){this.props.createAssessmentWithItem(this.props.params.id,this.state.assessment,e)}},{key:"flattenBanks",value:function(e,t){var n=this;return C.default.forEach(e,function(e){t[e.id]=e,C.default.isEmpty(e.childNodes)||n.flattenBanks(e.childNodes,t)}),t}},{key:"render",value:function(){var e=this;return b.default.createElement("div",null,b.default.createElement(O.default,{view:"assessments",isPublished:!1,assessment:{bankId:this.props.params.id,assessmentId:null},items:[],getBankChildren:function(t){return e.getBankChildren(t)}}),b.default.createElement(E.default,{updateAssessment:function(t){return e.createAssessment(t)},createItem:function(t){return e.createItem(t)},createChoice:function(){},bankId:""}))}}]),t}(b.default.Component);t.default=(0,_.connect)(i,(0,s.default)({},A,I,D))(R)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.localizeStrings("addQuestionButton");return a.default.createElement("div",{className:"au-c-question-add"},a.default.createElement("button",{onClick:e.newItem,className:"au-c-question-add__button"},t.addQuestion))}Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),a=r(i),s=n(27),u=r(s);t.default=(0,u.default)(o)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),l=r(u),c=n(7),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),g=n(3),v=r(g),y=n(1330),b=r(y),_=n(1228),w=r(_),C=n(27),x=r(C),E=n(208),T=r(E),k=m.default.createElement("i",{className:"material-icons"},"remove_red_eye"),S=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,l.default)(t,[{key:"publishButton",value:function(){var e=this,t=this.props.localizeStrings("navigationBarContent");return v.default.isEmpty(this.props.items)?null:m.default.createElement("button",{className:"au-c-btn au-c-btn--sm au-c-btn--green",onClick:function(){e.props.togglePublishAssessment("navigationBarContent"),T.default.push("/")}},m.default.createElement(b.default,{type:this.props.isPublished?"Published":"Publish"}),this.props.isPublished?t.unpublish:t.publish)}},{key:"backButton",value:function(e){this.props.getBankChildren(e)}},{key:"render",value:function(){var e=this,t=this.props.assessment,n=t.bankId,r=t.id,o=this.props.localizeStrings("navigationBarContent");return m.default.createElement("div",{className:"au-c-header-bottom"},m.default.createElement("div",{className:"au-c-header-bottom__left"},m.default.createElement(w.default,{handleClick:function(){return e.backButton(n)}})),m.default.createElement("div",{className:"au-c-header-bottom__right"},this.publishButton(),this.props.isPublished?m.default.createElement("button",{className:"au-c-btn au-c-btn--sm au-c-btn--maroon au-u-ml-md",onClick:function(){return T.default.push("banks/"+n+"/assessments/"+r+"/preview")}},k,o.preview):null))}}]),t}(m.default.Component);t.default=(0,x.default)(S)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(11),i=r(o),a=n(9),s=r(a),u=n(4),l=r(u),c=n(5),d=r(c),f=n(7),p=r(f),h=n(6),m=r(h),g=n(1),v=r(g),y=n(3),b=r(y),_=n(136),w=r(_),C=n(104),x=r(C),E=n(27),T=r(E),k=v.default.createElement("div",{className:"au-c-question__number"}),S=v.default.createElement("div",{className:"au-c-input__bottom"}),O=v.default.createElement("label",{htmlFor:"questionType"}),M=function(e){function t(){(0,l.default)(this,t);var e=(0,p.default)(this,(t.__proto__||(0,s.default)(t)).call(this));return e.state={name:"",type:w.default.multipleChoice,language:x.default.languageTypeId.english,question:{type:w.default.multipleChoice}},e}return(0,m.default)(t,e),(0,d.default)(t,[{key:"updateType",value:function(e){this.setState({type:e,question:(0,i.default)({},this.state.question,{type:e})})}},{key:"updateName",value:function(e){this.setState({name:e})}},{key:"render",value:function(){var e=this,t=this.props.localizeStrings("newItemForm");return v.default.createElement("div",{className:"au-o-item au-c-question is-active"},v.default.createElement("div",{className:"au-o-item__top"},v.default.createElement("div",{className:"au-o-left"},k,v.default.createElement("div",{className:"au-c-question__type"},t.addQuestion))),v.default.createElement("div",{className:"au-c-question__content"},v.default.createElement("div",{className:"au-o-row"},v.default.createElement("div",{className:"au-o-half"},v.default.createElement("div",{className:"au-c-input au-c-input-label--left au-c-input-label--large"},v.default.createElement("label",{htmlFor:"name2"},t.name),v.default.createElement("div",{className:"au-c-input__contain"},v.default.createElement("input",{onChange:function(t){return e.updateName(t.target.value)},className:"au-c-text-input au-c-text-input--small",id:"name2",type:"text"}),S))),v.default.createElement("div",{className:"au-o-half"},v.default.createElement("div",{className:"au-c-input"},O,v.default.createElement("div",{className:"au-c-dropdown au-c-dropdown--medium"},v.default.createElement("select",{defaultValue:this.state.type,onChange:function(t){return e.updateType(t.target.value)},name:"",id:"questionType"},b.default.map(w.default,function(e){return v.default.createElement("option",{key:"new_item_"+e,value:e},t[e])})))))),v.default.createElement("div",{className:"au-o-flex-contain au-c-question-add__buttons"},v.default.createElement("div",{className:"au-o-right au-u-right"},v.default.createElement("button",{onClick:this.props.cancel,className:"au-c-btn au-c-btn--md au-c-btn--gray"},t.cancel),v.default.createElement("button",{onClick:function(){return e.props.create(e.state)},className:"au-c-btn au-c-btn--md au-c-btn--maroon au-u-ml-md"},t.saveNewQuestion)))))}}]),t}(v.default.Component);t.default=(0,T.default)(M)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return{media:(0,ie.bankMedia)(e,t)}}Object.defineProperty(t,"__esModule",{value:!0}),t.Question=void 0;var a,s,u,l=n(66),c=o(l),d=n(11),f=o(d),p=n(9),h=o(p),m=n(4),g=o(m),v=n(5),y=o(v),b=n(7),_=o(b),w=n(6),C=o(w),x=n(1),E=o(x),T=n(36),k=n(3),S=o(k),O=n(338),M=r(O),A=n(1305),N=o(A),I=n(1315),P=o(I),D=n(1319),R=o(D),j=n(1323),L=o(j),B=n(1325),F=o(B),U=n(1288),H=o(U),z=n(1299),q=o(z),W=n(1300),V=o(W),G=n(1326),Y=o(G),K=n(1307),$=o(K),X=n(1310),Q=o(X),J=n(1289),Z=o(J),ee=n(136),te=o(ee),ne=n(104),re=n(1318),oe=o(re),ie=n(1381),ae=n(27),se=o(ae),ue=n(211),le=t.Question=(s=a=function(e){function t(e){(0,g.default)(this,t);var n=(0,_.default)(this,(t.__proto__||(0,h.default)(t)).call(this,e));return n.state={reorderActive:!1,language:ne.languages.languageTypeId.english,preview:!1,activeChoice:null,item:{question:{choices:{}}}},n}return(0,C.default)(t,e),(0,y.default)(t,[{key:"getClassName",value:function(){return this.props.isActive&&(this.props.reorderActive||this.state.preview)?"reorder-active":this.props.isActive?"is-active":""}},{key:"moveQuestionUp",value:function(){this.props.moveItem(this.props.itemIndex,this.props.itemIndex-1)}},{key:"moveQuestionDown",value:function(){this.props.moveItem(this.props.itemIndex,this.props.itemIndex+1)}},{key:"updateItem",value:function(e,n){var r=this.props.item;e.language&&this.state.language!==e.language?this.setState({language:e.language}):S.default.includes(t.stateDrivenTypes,r.type)&&!n?this.setState((0,f.default)({},r,e)):this.props.updateItem(this.props.bankId,(0,f.default)({id:r.id,language:e.language||this.state.language},e))}},{key:"updateChoice",value:function(e,n,r,o,i){var a,s=this.props.item,u={id:e,question:(a={},(0,c.default)(a,i||"choices",(0,c.default)({},n,r)),(0,c.default)(a,"fileIds",o),a)};S.default.includes(t.stateDrivenTypes,s.type)?this.setState({item:S.default.merge(this.state.item,u)}):this.updateItem(u)}},{key:"saveStateItem",value:function(){var e=this.props.item,t=S.default.cloneDeep(this.state.item);t.id=e.id,t.language=this.state.language,this.props.updateItem(this.props.bankId,t)}},{key:"changeType",value:function(e){this.props.updateItem(this.props.bankId,{id:this.props.item.id,type:e,question:{type:e,choices:{}},language:this.state.language})}},{key:"makeReflection",value:function(){var e=this.props.item,t="multipleChoice";e.type===te.default.multipleChoice?t=te.default.reflection:e.type===te.default.reflection?t=te.default.multipleChoice:e.type===te.default.multipleReflection?t=te.default.multipleAnswer:e.type===te.default.multipleAnswer&&(t=te.default.multipleReflection),this.changeType(t)}},{key:"makeMultipleAnswer",value:function(){var e=this.props.item,t="multipleChoice";e.type===te.default.multipleChoice?t=te.default.multipleAnswer:e.type===te.default.reflection?t=te.default.multipleReflection:e.type===te.default.multipleReflection?t=te.default.reflection:e.type===te.default.multipleAnswer&&(t=te.default.multipleChoice),this.changeType(t)}},{key:"selectChoice",value:function(e){this.setState({activeChoice:e})}},{key:"getDuplicateAnswers",value:function(){var e=this.props.item.type;if(!S.default.includes(t.stateDrivenTypes,e))return[];var n=this.props.item.question.choices,r=this.state.item.question.choices;return(0,S.default)({}).merge(n,r).map("imageSequence"===e?"order":"answerOrder").groupBy().pickBy(function(e){return e.length>1}).keys().value()}},{key:"blurOptions",value:function(e){var t=this,n=e.currentTarget;setTimeout(function(){n.contains(document.activeElement)&&n!==document.activeElement||t.selectChoice(null)},0)}},{key:"deleteChoice",value:function(e){var n=this.props.localizeStrings("question"),r=this.props.item;if(confirm(n.confirm)&&(this.updateItem({question:{choices:this.markedForDeletion(e)}},!0),S.default.includes(t.stateDrivenTypes,r.type)&&S.default.get(this,"state.item.question.choices["+e.id+"]"))){var o=this.state.item.question.choices;delete o[e.id],this.setState({item:S.default.merge(this.state.item,{question:{choices:o}})})}}},{key:"markedForDeletion",value:function(e){var t=S.default.cloneDeep(this.props.item.question.choices);return t[e.id].delete=!0,t}},{key:"content",value:function(){var e=this,n=this.props,r=n.bankId,o=n.item,i=t.questionComponents[this.props.item.type];return i?E.default.createElement(i,{item:S.default.merge(o,this.state.item),updateItem:function(t,n){return e.updateItem(t,n)},updateChoice:function(t,n,r,o,i){return e.updateChoice(t,n,r,o,i)},isActive:this.props.isActive,activeChoice:this.state.activeChoice,selectChoice:function(t){return e.selectChoice(t)},blurOptions:function(t){return e.blurOptions(t)},createChoice:function(t,n,i){return e.props.createChoice(r,o.id,t,n,i,e.state.language)},deleteChoice:function(t){return e.deleteChoice(t)},language:this.state.language,save:function(){return e.saveStateItem()},duplicateAnswers:this.getDuplicateAnswers()}):null}},{key:"editContent",value:function(){var e=this,t=this.props.item,n=t.name,r=t.type,o=t.id,i=t.question,a=t.bankId,s=te.default.multipleAnswer,u=te.default.multipleReflection,l=te.default.reflection;return E.default.createElement("div",null,E.default.createElement(L.default,{id:o,updateItem:function(t){return e.updateItem(t)},defaultName:n,language:this.state.language,shuffle:i.shuffle,multipleAnswer:t.type===s||t.type===u,reflection:S.default.includes([l,u],t.type),makeReflection:function(t){return e.makeReflection(t)},makeMultipleAnswer:function(t){return e.makeMultipleAnswer(t)},type:r}),E.default.createElement("div",{className:"au-c-question__content "+(this.props.reorderActive?"is-reordering":"")},E.default.createElement(F.default,{itemType:r,fileIds:i.fileIds,itemId:o,editorKey:(0,ne.getLanguage)(this.state.language),text:(0,ue.languageText)(i.texts,this.state.language),updateItem:function(t){return e.updateItem(t,!0)},bankId:a}),this.content()))}},{key:"previewContent",value:function(){return E.default.createElement(oe.default,{item:this.props.item})}},{key:"render",value:function(){var e=this,t=this.props.item,n=t.name,r=t.type,o=t.id,i=t.isRemoving,a=this.getClassName();return E.default.createElement("div",{key:o,className:"au-o-item au-c-question "+a,onClick:function(){return e.props.activateItem(o)},onFocus:function(){return e.props.activateItem(o)}},E.default.createElement(R.default,{isRemoving:i,name:n,type:r,deleteAssessmentItem:this.props.deleteAssessmentItem,id:o,index:this.props.itemIndex,topItem:this.props.topItem,bottomItem:this.props.bottomItem,toggleReorder:this.props.toggleReorder,reorderActive:this.props.isActive&&this.props.reorderActive,moveUp:function(){return e.moveQuestionUp()},moveDown:function(){return e.moveQuestionDown()},togglePreview:function(){return e.setState({preview:!e.state.preview})},itemIndex:this.props.itemIndex,preview:this.state.preview}),this.state.preview&&this.props.isActive?this.previewContent():this.editContent())}}]),t}(E.default.Component),a.questionComponents=(u={},(0,c.default)(u,te.default.audioUpload,H.default),(0,c.default)(u,te.default.fileUpload,q.default),(0,c.default)(u,te.default.movableFillBlank,N.default),(0,c.default)(u,te.default.movableWordSandbox,Q.default),(0,c.default)(u,te.default.movableWordSentence,$.default),(0,c.default)(u,te.default.multipleAnswer,P.default),(0,c.default)(u,te.default.multipleChoice,P.default),(0,c.default)(u,te.default.multipleReflection,P.default),(0,c.default)(u,te.default.reflection,P.default),(0,c.default)(u,te.default.shortAnswer,Y.default),(0,c.default)(u,te.default.fileUpload,q.default),(0,c.default)(u,te.default.audioUpload,H.default),(0,c.default)(u,te.default.movableWordSandbox,Q.default),(0,c.default)(u,te.default.movableWordSentence,$.default),(0,c.default)(u,te.default.dragAndDrop,Z.default),(0,c.default)(u,te.default.imageSequence,V.default),u),a.stateDrivenTypes=[te.default.movableWordSentence,te.default.imageSequence],s);t.default=(0,T.connect)(i,M)((0,se.default)(le))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),l=r(u),c=n(7),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),g=n(3),v=r(g),y=n(1222),b=r(y),_=n(65),w=r(_),C=n(161),x=r(C),E=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,l.default)(t,[{key:"handleBlur",value:function(e){this.props.updateItem({question:{genusTypeId:w.default.question.audioUpload,timeValue:{hours:0,minutes:0,seconds:parseInt(e.target.value,10)}}});
+}},{key:"render",value:function(){var e=this;return m.default.createElement("div",null,m.default.createElement("div",{className:"au-c-question__answers au-o-row",role:"radiogroup"},m.default.createElement(b.default,{handleBlur:function(t){return e.handleBlur(t)},item:this.props.item})),m.default.createElement("div",{className:"au-c-question__feedback"},m.default.createElement(x.default,{language:this.props.language,feedbackType:"correctFeedback",feedback:v.default.get(this.props.item,"question.correctFeedback"),updateItem:this.props.updateItem,labelText:"Feedback",bankId:this.props.item.bankId})))}}]),t}(m.default.Component);t.default=E},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e){return{loadingMedia:e.media.loading,images:e.media.image}}Object.defineProperty(t,"__esModule",{value:!0}),t.DragAndDrop=void 0;var a=n(9),s=o(a),u=n(4),l=o(u),c=n(5),d=o(c),f=n(7),p=o(f),h=n(6),m=o(h),g=n(1),v=o(g),y=n(36),b=n(222),_=r(b),w=n(1294),C=o(w),x=n(1291),E=o(x),T=n(161),k=o(T),S=n(27),O=o(S),M=t.DragAndDrop=function(e){function t(){(0,l.default)(this,t);var e=(0,p.default)(this,(t.__proto__||(0,s.default)(t)).call(this));return e.state={},e}return(0,m.default)(t,e),(0,d.default)(t,[{key:"uploadMedia",value:function(e,t,n,r){this.props.addMediaToQuestion(e,this.props.item.bankId,this.props.item.id,"question."+t,n,r,this.props.language)}},{key:"render",value:function(){var e=this,t=this.props.item,n=t.question,r=t.id,o=t.bankId,i=this.props.localizeStrings("dragAndDrop");return v.default.createElement("div",{style:{display:this.props.isActive?"block":"none"}},v.default.createElement(C.default,{id:r,question:n,loadingMedia:this.props.loadingMedia,images:this.props.images,uploadMedia:function(t,n,r,o){return e.uploadMedia(t,n,r,o)},visibleZones:n.visibleZones,setVisible:function(t){return e.props.updateItem({question:{visibleZones:t}},!0)},editZone:function(t,n){return e.props.updateChoice(r,t,n,null,"zones")},language:this.props.language}),v.default.createElement("div",{className:"au-c-drop-zone__answers__label"},i.draggableAnswers),v.default.createElement(E.default,{dropObjects:n.dropObjects,zones:n.zones,updateDropObject:function(t,n,o){return e.props.updateChoice(r,t,n,o,"dropObjects")},loadingMedia:this.props.loadingMedia,images:this.props.images,uploadMedia:function(t,n,r,o){return e.uploadMedia(t,n,r,o)},language:this.props.language}),v.default.createElement("div",{className:"au-c-question__feedback"},v.default.createElement(k.default,{language:this.props.language,updateItem:this.props.updateItem,feedbackType:"correctFeedback",feedback:n.correctFeedback,labelText:"Correct Feedback",bankId:o}),v.default.createElement(k.default,{language:this.props.language,updateItem:this.props.updateItem,feedbackType:"incorrectFeedback",feedback:n.incorrectFeedback,labelText:"Incorrect Feedback",bankId:o})))}}]),t}(v.default.Component);t.default=(0,y.connect)(i,_)((0,O.default)(M))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.localizeStrings("addZoneDropDown");return a.default.createElement("ul",{className:"au-c-button-dropdown au-u-ml-sm"},a.default.createElement("li",null,a.default.createElement("button",{className:"au-c-btn au-c-btn--sm au-c-btn--dropdown",onClick:e.toggle},e.text,l),a.default.createElement("ul",{className:"au-c-button-dropdown__dropdown "+(e.active?"is-active":"")},a.default.createElement("li",null,a.default.createElement("button",{id:"reg_"+e.text,className:"au-c-btn au-c-btn--sm au-c-btn--dropdown-item",onClick:e.addByRegion},c,t.byRegion)),a.default.createElement("li",null,a.default.createElement("button",{id:"image_"+e.text,className:"au-c-btn au-c-btn--sm au-c-btn--dropdown-item",onClick:e.addByImage},d,t.byImage)))))}Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),a=r(i),s=n(27),u=r(s),l=a.default.createElement("i",{className:"material-icons"},"arrow_drop_down"),c=a.default.createElement("i",{className:"material-icons"},"open_in_new"),d=a.default.createElement("i",{className:"material-icons"},"image");t.default=(0,u.default)(o)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),l=r(u),c=n(7),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),g=n(3),v=r(g),y=n(1292),b=r(y),_=n(323),w=r(_),C=n(27),x=r(C),E=function(e){function t(){(0,s.default)(this,t);var e=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this));return e.state={activeObject:null,showModal:!1},e}return(0,p.default)(t,e),(0,l.default)(t,[{key:"insertMedia",value:function(e,t,n){this.props.uploadMedia(e,"dropObjects.new",t,n),this.setState({showModal:!1})}},{key:"render",value:function(){var e=this,t=this.props.localizeStrings("dragArea");return m.default.createElement("div",{className:"au-c-drop-zone__answers au-o-row"},v.default.map(this.props.dropObjects,function(t){return m.default.createElement(b.default,{key:"drop_object_"+t.id+"_"+e.props.language,object:t,zones:e.props.zones,setActive:function(){return e.setState({activeObject:t.id})},isActive:e.state.activeObject===t.id,updateObject:function(n){return e.props.updateDropObject(t.id,n)},uploadMedia:e.props.uploadMedia,language:e.props.language})}),m.default.createElement("div",{className:"au-o-quarter"},m.default.createElement("div",{className:"au-c-drop-zone-answer-add"},m.default.createElement("button",{className:"au-c-drop-zone-answer-add__button",onClick:function(){return e.setState({showModal:!0})}},t.addImage))),m.default.createElement(w.default,{isOpen:this.state.showModal,closeModal:function(){return e.setState({showModal:!1})},loading:this.props.loadingMedia,media:this.props.images,mediaType:"img",insertMedia:function(t,n,r){return e.insertMedia(t,n,r)}}))}}]),t}(m.default.Component);t.default=(0,x.default)(E)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.object,n=e.zones,r=e.updateObject,o=e.setActive,i=e.isActive,s=e.localizeStrings("dropObject"),l=c.default.get(e,"object.labels["+e.language+"].text",""),d=c.default.get(e,"object.images["+e.language+"].text","");return u.default.createElement("div",{className:"au-o-quarter au-set-active",onClick:function(){return o()}},u.default.createElement("div",{className:"au-c-drop-zone-answer "+(i?"is-active":""),tabIndex:"0"},u.default.createElement("div",{className:"au-c-drop-zone-answer__top"},u.default.createElement("div",{className:"au-c-dropdown au-c-dropdown--small"},u.default.createElement("label",{htmlFor:"drag_object_dropDown_"+t.id}),u.default.createElement("select",{name:"",id:"drag_object_dropDown_"+t.id,onChange:function(e){return r({correctZone:e.target.value})},value:t.correctZone},u.default.createElement("option",{value:null},s.selectAnswer),c.default.map(n,function(e){return u.default.createElement("option",{value:e.id,key:"drop_zone_selector_"+e.id},c.default.capitalize(e.type)," ",String.fromCharCode(e.index+65))}))),u.default.createElement("button",{className:"au-c-answer--delete",onClick:function(){return r({delete:!0})}},m)),u.default.createElement("div",{className:"au-c-input au-c-input-label--left"},u.default.createElement("label",{htmlFor:"drag_object_label_"+t.id},s.label),u.default.createElement("div",{className:"au-c-input__contain"},u.default.createElement("input",{id:"drag_object_label_"+t.id,className:"au-c-text-input au-c-text-input--smaller",type:"text",defaultValue:l,onBlur:function(t){return r({labels:(0,a.default)({},e.language,{text:t.target.value})})}}),g)),d?u.default.createElement("div",{className:"au-c-drop-zone-answer__image"},u.default.createElement("img",{src:d,alt:"default"})):u.default.createElement(h.default,{dropObject:e.object,updateMedia:e.uploadMedia,language:e.language})))}Object.defineProperty(t,"__esModule",{value:!0});var i=n(66),a=r(i),s=n(1),u=r(s),l=n(3),c=r(l),d=n(27),f=r(d),p=n(1298),h=r(p),m=u.default.createElement("i",{className:"material-icons"},"close"),g=u.default.createElement("div",{className:"au-c-input__bottom"});t.default=(0,f.default)(o)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.DropZone=void 0;var o=n(9),i=r(o),a=n(4),s=r(a),u=n(7),l=r(u),c=n(5),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),g=n(3),v=r(g),y=n(27),b=r(y),_=m.default.createElement("div",{className:"au-c-input__bottom"}),w=m.default.createElement("i",{className:"material-icons"},"delete"),C=t.DropZone=function(e){function t(e){(0,s.default)(this,t);var n=(0,l.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.state=t.saveZoneToState(e.zone),n}return(0,p.default)(t,e),(0,d.default)(t,null,[{key:"saveZoneToState",value:function(e){var t=e.xPos||20,n=e.yPos||20;return{leftPos:t,topPos:n,rightPos:t+e.width,bottomPos:n+e.height,initialX:null,initialY:null}}},{key:"boundaryCheck",value:function(e,t){return e<0?0:e>t?t:e}}]),(0,d.default)(t,[{key:"zonePosition",value:function(){var e=this.state,t=e.leftPos,n=e.topPos,r=e.rightPos,o=e.bottomPos;return{position:"absolute",top:n+"px",left:t+"px",height:o-n+"px",width:r-t+"px"}}},{key:"moveCorner",value:function(e,n,r){var o=this.state,i=o.leftPos,a=o.topPos,s=o.rightPos,u=o.bottomPos,l=this.props.target.getBoundingClientRect(),c=l.top+window.scrollY,d=l.left+window.scrollX,f=c+l.height,p=d+l.width,h=t.boundaryCheck(r-c,f-c),m=t.boundaryCheck(n-d,p-d),g=a<u?h:u,v=u<a?a:h,y=i<s?m:s,b=s<i?i:m;if(g&&v&&y&&b)switch(e){case"topLeft":this.setState({topPos:g,leftPos:y});break;case"topRight":this.setState({topPos:g,rightPos:b});break;case"bottomLeft":this.setState({bottomPos:v,leftPos:y});break;case"bottomRight":this.setState({bottomPos:v,rightPos:b})}}},{key:"moveZone",value:function(e,n){var r=this.state,o=r.leftPos,i=r.topPos,a=r.rightPos,s=r.bottomPos,u=r.initialX,l=r.initialY,c=this.props.target.getBoundingClientRect();if(e&&n){var d=e-u,f=n-l,p=t.boundaryCheck(o+d,c.right-c.left),h=t.boundaryCheck(i+f,c.bottom-c.top),m=t.boundaryCheck(a+d,c.right-c.left),g=t.boundaryCheck(s+f,c.bottom-c.top),v={initialX:e,initialY:n};p&&(v.rightPos=m),h&&(v.bottomPos=g),m!==c.right-c.left&&(v.leftPos=p),g!==c.bottom-c.top&&(v.topPos=h),this.setState(v)}}},{key:"updateZone",value:function(){var e=this.state,t=e.leftPos,n=e.topPos,r=e.rightPos,o=e.bottomPos;this.props.editZone(this.props.zone.id,{xPos:t,yPos:n,height:o-n,width:r-t})}},{key:"render",value:function(){var e=this,t=this.props,n=t.zone,r=t.isActive,o=t.language,i=["topLeft","topRight","bottomLeft","bottomRight"],a=this.props.localizeStrings("dropZone"),s=v.default.get(n,"labels["+o+"].text","");return m.default.createElement("div",{className:"au-c-drop-zone "+(r?"is-active":""),style:this.zonePosition(),onClick:this.props.setActive},m.default.createElement("div",{className:"au-c-zone "+(r?"is-active":"")},v.default.map(i,function(t){return m.default.createElement("div",{className:"au-c-zone-corner-"+t+" au-c-zone-position",key:"zone_corner_"+n.id+"_"+t,draggable:!0,onDrag:function(n){return e.moveCorner(t,n.pageX,n.pageY)},onDragEnd:function(){return e.updateZone()}})}),m.default.createElement("div",{className:"au-c-zone-middle",draggable:!0,onMouseDown:function(t){return e.setState({initialX:t.pageX,initialY:t.pageY})},onDrag:function(t){return e.moveZone(t.pageX,t.pageY)},onDragEnd:function(){e.setState({initialX:null,initialY:null}),e.updateZone()}})),m.default.createElement("div",{className:"au-c-drop-zone__tag"},v.default.capitalize(n.type)," ",String.fromCharCode(n.index+65)),m.default.createElement("div",{className:"au-c-drop-zone__tool-tip is-right"},m.default.createElement("div",{className:"au-c-input au-c-input-label--left au-c-input--white"},m.default.createElement("label",{htmlFor:"dropZone_"+n.id},a.label),m.default.createElement("div",{className:"au-c-input__contain"},m.default.createElement("input",{id:"dropZone_"+n.id,className:"au-c-text-input au-c-text-input--smaller",defaultValue:s,onBlur:function(t){return e.props.editZone(n.id,{label:t.target.value})},type:"text"}),_)),m.default.createElement("button",{className:"au-c-btn au-c-btn--square",onClick:function(){return e.props.editZone(n.id,{delete:!0})}},w)))}}]),t}(m.default.Component);t.default=(0,b.default)(C)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),l=r(u),c=n(7),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),g=n(3),v=r(g),y=n(1295),b=r(y),_=n(1297),w=r(_),C=n(323),x=r(C),E=function(e){function t(){(0,s.default)(this,t);var e=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this));return e.state={addType:null,addMenu:null,showModal:!1},e}return(0,p.default)(t,e),(0,l.default)(t,[{key:"replaceImage",value:function(e,t,n){this.props.uploadMedia(e,"target",t,n)}},{key:"selectImage",value:function(e,t,n){var r=this,o=this.state.addType;if("snap"===o||"drop"===o){var i=new Image;i.src=URL.createObjectURL(e),i.onload=function(){r.props.editZone("new",{type:o,height:i.height,width:i.width})},this.props.uploadMedia(e,"dropObjects.new",t,n)}else this.replaceImage(e,t,n);this.setState({showModal:!1,addType:null})}},{key:"addByRegion",value:function(e){this.props.editZone("new",{type:e}),this.setState({addMenu:null})}},{key:"render",value:function(){var e=this;return m.default.createElement("div",{className:"au-c-drag-and-drop__target-area"},m.default.createElement(b.default,{id:this.props.question.id,hasTarget:!v.default.isEmpty(this.props.question.target),openModal:function(t){return e.setState({showModal:!0,addType:t})},addMenu:this.state.addMenu,toggleAdd:function(t){return e.setState({addMenu:e.state.addMenu!==t?t:null})},addByRegion:function(t){return e.addByRegion(t)},toggleVisible:this.props.setVisible,visibleZones:this.props.visibleZones}),m.default.createElement(w.default,{target:this.props.question.target,zones:this.props.question.zones,editZone:this.props.editZone,openModal:function(){return e.setState({showModal:!0})},language:this.props.language}),m.default.createElement(x.default,{isOpen:this.state.showModal,closeModal:function(){return e.setState({showModal:!1})},loading:this.props.loadingMedia,media:this.props.images,mediaType:"img",insertMedia:function(t,n,r){return e.selectImage(t,n,r)},uploadOnly:!!this.state.addType}))}}]),t}(m.default.Component);t.default=E},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.localizeStrings("targetMenu");return a.default.createElement("div",{className:"au-o-item__top",onMouseLeave:function(){return e.toggleAdd("close")}},a.default.createElement("div",{className:"au-o-left"},a.default.createElement("div",{className:"au-c-question__type"},t.targetImage)),a.default.createElement("div",{className:"au-o-right"},a.default.createElement("div",{className:"au-c-checkbox au-u-ml-md au-u-mr-sm"},a.default.createElement("input",{id:"toggle_show_zone_"+e.id,type:"checkbox",tabIndex:"0",checked:e.visibleZones,onChange:function(t){return e.toggleVisible(t.target.checked)}}),a.default.createElement("label",{htmlFor:"toggle_show_zone_"+e.id},t.showZones)),a.default.createElement("button",{className:"au-c-btn au-c-btn--sm au-c-btn--gray",onClick:function(){return e.openModal(null)}},e.hasTarget?t.replace:t.addImage),a.default.createElement(u.default,{active:"snap"===e.addMenu,text:t.addSnap,toggle:function(){return e.toggleAdd("snap")},addByRegion:function(){return e.addByRegion("snap")},addByImage:function(){return e.openModal("snap")}}),a.default.createElement(u.default,{active:"drop"===e.addMenu,text:t.addDrop,toggle:function(){return e.toggleAdd("drop")},addByRegion:function(){return e.addByRegion("drop")},addByImage:function(){return e.openModal("drop")}})))}Object.defineProperty(t,"__esModule",{value:!0}),t.targetMenu=o;var i=n(1),a=r(i),s=n(1290),u=r(s),l=n(27),c=r(l);t.default=(0,c.default)(o)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.localizeStrings("targetPlaceholder");return a.default.createElement("div",{className:"au-c-drag-and-drop__target-image-placeholder",onClick:e.onClick},t.addImg)}Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),a=r(i),s=n(27),u=r(s);t.default=(0,u.default)(o)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),l=r(u),c=n(7),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),g=n(3),v=r(g),y=n(1293),b=r(y),_=n(1296),w=r(_),C=function(e){function t(){(0,s.default)(this,t);var e=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this));return e.target=null,e.state={activeZone:null},e}return(0,p.default)(t,e),(0,l.default)(t,[{key:"setActiveZone",value:function(e,t){e.stopPropagation(),this.setState({activeZone:t})}},{key:"render",value:function(){var e=this,t=this.props,n=t.target,r=t.zones,o=t.editZone,i=t.language,a=v.default.get(n,"images["+i+"]","");return m.default.createElement("div",{className:"au-c-drag-and-drop__target-image",ref:function(t){e.target=t},onClick:function(){return e.setState({activeZone:null})}},v.default.isEmpty(a)?m.default.createElement(w.default,{onClick:this.props.openModal}):m.default.createElement("img",{src:a,alt:"target"}),v.default.map(r,function(t){return m.default.createElement(b.default,{key:"drop_zone_"+t.id+"_"+e.props.language,zone:t,target:e.target,editZone:o,setActive:function(n){return e.setActiveZone(n,t.id)},isActive:e.state.activeZone===t.id,language:e.props.language})}))}}]),t}(m.default.Component);t.default=C},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e){return{loadingMedia:e.media.loading,images:e.media.image}}Object.defineProperty(t,"__esModule",{value:!0}),t.UpdateMedia=void 0;var a=n(9),s=o(a),u=n(4),l=o(u),c=n(5),d=o(c),f=n(7),p=o(f),h=n(6),m=o(h),g=n(1),v=o(g),y=n(36),b=n(222),_=r(b),w=n(27),C=o(w),x=n(537),E=o(x),T=n(323),k=o(T),S=t.UpdateMedia=function(e){function t(){(0,l.default)(this,t);var e=(0,p.default)(this,(t.__proto__||(0,s.default)(t)).call(this));return e.state={showModal:!1},e}return(0,m.default)(t,e),(0,d.default)(t,[{key:"uploadMedia",value:function(e,t,n){this.setState({showModal:!1}),this.props.updateMedia(e,"dropObjects["+this.props.dropObject.id+"]",t,n)}},{key:"render",value:function(){var e=this,t=(0,E.default)("./_author/images/CLIx-logo.png");return v.default.createElement("div",null,v.default.createElement("img",{src:t,alt:"default"}),v.default.createElement("button",{onClick:function(){return e.setState({showModal:!0})},className:"au-c-drop-zone-answer-add__button"},"Add Image"),v.default.createElement(k.default,{isOpen:this.state.showModal,closeModal:function(){return e.setState({showModal:!1})},loading:this.props.loadingMedia,media:this.props.images,mediaType:"img",insertMedia:function(t,n,r,o){return e.uploadMedia(t,n,r,o)},language:this.props.language}))}}]),t}(v.default.Component);t.default=(0,y.connect)(i,_)((0,C.default)(S))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return a.default.createElement("div",{className:"au-c-question__feedback"},a.default.createElement(c.default,{bankId:e.item.bankId,feedbackType:"correctFeedback",feedback:u.default.get(e.item,"question.correctFeedback"),updateItem:e.updateItem,labelText:"Feedback",language:e.language}))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i),s=n(3),u=r(s),l=n(161),c=r(l)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),l=r(u),c=n(7),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),g=n(161),v=r(g),y=n(1303),b=r(y),_=n(1225),w=r(_),C=n(27),x=r(C),E=function(e){function t(e){(0,s.default)(this,t);var n=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.state={choiceId:null},n}return(0,p.default)(t,e),(0,l.default)(t,[{key:"getFeedback",value:function(){var e=this,t=this.props.item.question,n=this.props.localizeStrings("imageSequence");return m.default.createElement("div",{className:"au-c-question__feedback"},m.default.createElement(v.default,{language:this.props.language,updateItem:function(t){return e.props.updateItem(t,!0)},feedbackType:"correctFeedback",feedback:t.correctFeedback,labelText:n.correctFeedback,bankId:this.props.item.bankId}),m.default.createElement(v.default,{language:this.props.language,updateItem:function(t){return e.props.updateItem(t,!0)},feedbackType:"incorrectFeedback",feedback:t.incorrectFeedback,labelText:n.incorrectFeedback,bankId:this.props.item.bankId}))}},{key:"activateChoice",value:function(e){this.setState({activeChoice:e})}},{key:"render",value:function(){var e=this;return m.default.createElement("div",{style:{display:this.props.isActive?"block":"none"}},m.default.createElement(b.default,{language:this.props.language,activateChoice:function(t){return e.activateChoice(t)},activeChoice:this.state.activeChoice,deleteChoice:this.props.deleteChoice,item:this.props.item,updateChoice:this.props.updateChoice,duplicateAnswers:this.props.duplicateAnswers}),m.default.createElement(w.default,{save:this.props.save}),m.default.createElement("div",{className:"au-c-question__feedback"},this.getFeedback()))}}]),t}(m.default.Component);t.default=(0,x.default)(E)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e){return{loadingMedia:e.media.loading,images:e.media.image}}Object.defineProperty(t,"__esModule",{value:!0}),t.AddImage=void 0;var a=n(9),s=o(a),u=n(4),l=o(u),c=n(5),d=o(c),f=n(7),p=o(f),h=n(6),m=o(h),g=n(1),v=o(g),y=n(36),b=n(222),_=r(b),w=n(323),C=o(w),x=n(27),E=o(x),T=v.default.createElement("i",{className:"material-icons"},"find_in_page"),k=t.AddImage=function(e){function t(){(0,l.default)(this,t);var e=(0,p.default)(this,(t.__proto__||(0,s.default)(t)).call(this));return e.state={mediaGuid:null,modal:!1},e}return(0,m.default)(t,e),(0,d.default)(t,[{key:"getImageFile",value:function(){var e=this;return v.default.createElement("div",null,v.default.createElement("input",{onChange:function(t){return e.uploadMedia(t.target.files[0])},id:"newImageId-"+this.props.item.id,type:"file"}),v.default.createElement("label",{htmlFor:"newImageId-"+this.props.item.id},T))}},{key:"uploadMedia",value:function(e,t,n,r){this.setState({modal:!1}),this.props.addMediaToQuestion(e,this.props.item.bankId,this.props.item.id,"question.choices.new",t,n,r)}},{key:"render",value:function(){var e=this,t=this.props.localizeStrings("addImage");return v.default.createElement("div",{className:"au-c-image-sequence-answer-add"},v.default.createElement("button",{className:"au-c-image-sequence-answer-add__button",onClick:function(){return e.setState({modal:!0})}},v.default.createElement(C.default,{isOpen:this.state.modal,id:this.props.item.id,closeModal:function(){return e.setState({modal:!1})},mediaType:"img",mediaName:"",media:this.props.images,loading:this.props.loadingMedia,insertMedia:function(t,n,r,o){return e.uploadMedia(t,n,r,o)},inProgress:!1,error:null,language:this.props.language}),t.addImage))}}]),t}(v.default.Component);t.default=(0,y.connect)(i,_)((0,E.default)(k))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.activateChoice,n=e.updateChoice,r=e.deleteChoice,o=e.id,i=e.order,s=e.numChoices,l=e.localizeStrings("imageOption"),c="";return u.default.isNil(i)||""===i||(c="is-ordered"),u.default.includes(e.duplicateAnswers,u.default.toString(i))&&(c="is-error"),a.default.createElement("div",{className:"au-c-image-sequence-answer is-active",tabIndex:"0",onClick:function(){return t(o)}},a.default.createElement("div",{className:"au-c-image-sequence-answer__top"},a.default.createElement("div",{className:"au-c-dropdown au-c-dropdown--tiny "+c},p,a.default.createElement("select",{name:"",id:"image_option_order",onChange:function(e){return n({id:o,order:parseInt(e.target.value,10)})},value:i},a.default.createElement("option",{key:"option_key_null",value:null},l.NA),u.default.map(u.default.range(1,s+1),function(e,t){return a.default.createElement("option",{key:"option_key_"+t,value:e},e)}))),a.default.createElement("button",{className:"au-c-answer--delete au-u-right",onClick:function(){return r(e)}},h)),a.default.createElement("div",{className:"au-c-input au-c-input-label--left"},a.default.createElement("label",{htmlFor:"label_"+o},"Label"),a.default.createElement("div",{className:"au-c-input__contain"},a.default.createElement("input",{defaultValue:e.labelText,onBlur:function(t){return e.updateChoice({labelText:t.target.value},null)},className:"au-c-text-input au-c-text-input--smaller",type:"text",id:"label_"+o}),m)),u.default.isEmpty(e.text)?a.default.createElement(f.default,{item:e.item,language:e.language,optionId:e.id}):a.default.createElement("div",{className:"au-c-image-sequence-answer__image"},a.default.createElement("img",{src:e.text,alt:""})))}Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),a=r(i),s=n(3),u=r(s),l=n(27),c=r(l),d=n(1304),f=r(d),p=a.default.createElement("label",{htmlFor:"image_option_order"}),h=a.default.createElement("i",{className:"material-icons"},"close"),m=a.default.createElement("div",{className:"au-c-input__bottom"});t.default=(0,c.default)(o)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.item.question.choices;return a.default.createElement("div",{className:"au-c-image-sequence__answers au-o-row"},u.default.map(t,function(n,r){var o=u.default.get(n,"texts["+e.language+"].text",""),i=u.default.get(n,"texts["+e.language+"].labelText","");return a.default.createElement("div",{key:r+"_"+e.language,className:"au-o-quarter"},a.default.createElement(c.default,{id:r,text:o,order:n.order,labelText:i,updateChoice:function(t,r){return e.updateChoice(e.item.id,n.id,t,r)},activateChoice:e.activateChoice,activeChoice:e.activeChoice,deleteChoice:e.deleteChoice,numChoices:u.default.size(t),duplicateAnswers:e.duplicateAnswers,item:e.item,language:e.language}))}),a.default.createElement("div",{className:"au-o-quarter"},a.default.createElement(f.default,{item:e.item,language:e.language})))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i),s=n(3),u=r(s),l=n(1302),c=r(l),d=n(1301),f=r(d)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e){return{loadingMedia:e.media.loading,images:e.media.image}}Object.defineProperty(t,"__esModule",{value:!0}),t.UpdateImage=void 0;var a=n(9),s=o(a),u=n(4),l=o(u),c=n(5),d=o(c),f=n(7),p=o(f),h=n(6),m=o(h),g=n(1),v=o(g),y=n(36),b=n(222),_=r(b),w=n(323),C=o(w),x=n(27),E=o(x),T=v.default.createElement("i",{className:"material-icons"},"find_in_page"),k=t.UpdateImage=function(e){function t(){(0,l.default)(this,t);var e=(0,p.default)(this,(t.__proto__||(0,s.default)(t)).call(this));return e.state={mediaGuid:null,modal:!1},e}return(0,m.default)(t,e),(0,d.default)(t,[{key:"getImageFile",value:function(){var e=this;return v.default.createElement("div",null,v.default.createElement("input",{onChange:function(t){return e.uploadMedia(t.target.files[0])},id:"newImageId-"+this.props.item.id,type:"file"}),v.default.createElement("label",{htmlFor:"newImageId-"+this.props.item.id},T))}},{key:"uploadMedia",value:function(e,t,n,r){this.setState({modal:!1}),this.props.addMediaToQuestion(e,this.props.item.bankId,this.props.item.id,"question.choices."+this.props.optionId,t,n,r)}},{key:"render",value:function(){var e=this,t=this.props.localizeStrings("addImage");return v.default.createElement("div",{className:"au-c-image-sequence-answer-add"},v.default.createElement("button",{onClick:function(){return e.setState({modal:!0})}},v.default.createElement(C.default,{isOpen:this.state.modal,id:this.props.item.id,closeModal:function(){return e.setState({modal:!1})},mediaType:"img",mediaName:"",media:this.props.images,loading:this.props.loadingMedia,insertMedia:function(t,n,r,o){return e.uploadMedia(t,n,r,o)},inProgress:!1,error:null,language:this.props.language}),t.addImage))}}]),t}(v.default.Component);t.default=(0,y.connect)(i,_)((0,E.default)(k))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(11),i=r(o),a=n(9),s=r(a),u=n(4),l=r(u),c=n(5),d=r(c),f=n(7),p=r(f),h=n(6),m=r(h),g=n(1),v=r(g),y=n(3),b=r(y),_=n(1306),w=r(_),C=n(1221),x=r(C),E=n(161),T=r(E),k=n(27),S=r(k),O=function(e){function t(){return(0,l.default)(this,t),(0,p.default)(this,(t.__proto__||(0,s.default)(t)).apply(this,arguments))}return(0,m.default)(t,e),(0,d.default)(t,[{key:"render",value:function(){var e=this,t=this.props.item,n=t.question,r=t.id,o=this.props.localizeStrings("movableFillBlank");return v.default.createElement("div",null,v.default.createElement("div",{className:"au-c-question__answers au-c-fill-in-the-blank__answers"},v.default.createElement("div",{className:"au-no-outline",onBlur:function(t){return e.props.blurOptions(t)},tabIndex:"-1"},b.default.map(b.default.orderBy(n.choices,"order"),function(t){return v.default.createElement(w.default,(0,i.default)({key:"assessmentChoice_"+t.id+"_"+e.props.language},t,{updateChoice:function(n){return e.props.updateChoice(r,t.id,n)},deleteChoice:function(){return e.props.deleteChoice({id:t.id})},setActiveChoice:e.props.selectChoice,isActive:e.props.isActive&&t.id===e.props.activeChoice,language:e.props.language}))}),this.props.isActive?v.default.createElement(x.default,{createChoice:function(){return e.props.createChoice(r)}}):null)),v.default.createElement("div",{className:"au-c-question__feedback"},v.default.createElement(T.default,{language:this.props.language,updateItem:this.props.updateItem,feedbackType:"correctFeedback",feedback:n.correctFeedback,labelText:o.correctFeedback,bankId:this.props.item.bankId}),v.default.createElement(T.default,{language:this.props.language,updateItem:this.props.updateItem,feedbackType:"incorrectFeedback",feedback:n.incorrectFeedback,labelText:o.incorrectFeedback,bankId:this.props.item.bankId})))}}]),t}(v.default.Component);t.default=(0,S.default)(O)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if("new"===e.id)return u.default.createElement("div",{className:"au-c-answer "+(e.isActive?"is-active":"")},v);var t=e.isActive?"is-active":"",n=c.default.get(e,"texts["+e.language+"]",{});return u.default.createElement("div",{onFocus:function(){return e.setActiveChoice(e.id)},onClick:function(){return e.setActiveChoice(e.id)},className:"au-c-answer au-o-flex-center "+t},u.default.createElement("div",{className:"au-c-input"},u.default.createElement(h.default,{id:e.id,itemId:e.itemId,isCorrect:e.isCorrect,updateChoice:e.updateChoice}),u.default.createElement("label",{htmlFor:e.id+"_text"}),u.default.createElement("div",{className:"au-c-input__contain"},u.default.createElement("input",{className:"au-c-text-input au-c-text-input--small",id:e.id+"_text",type:"text",defaultValue:n.text,onBlur:function(t){return e.updateChoice({texts:(0,a.default)({},e.language,{text:t.target.value})})}}),y)),u.default.createElement(g.default,{id:e.id,wordType:e.wordType,updateChoice:function(t){return e.updateChoice({texts:(0,
+a.default)({},e.language,t)})}}),u.default.createElement("button",{className:"au-c-answer--delete",tabIndex:"0",onClick:e.deleteChoice},b))}Object.defineProperty(t,"__esModule",{value:!0});var i=n(66),a=r(i);t.default=o;var s=n(1),u=r(s),l=n(3),c=r(l),d=n(207),f=r(d),p=n(1224),h=r(p),m=n(1226),g=r(m),v=u.default.createElement("div",{className:"au-c-input"},u.default.createElement(f.default,null)),y=u.default.createElement("div",{className:"au-c-input__bottom"}),b=u.default.createElement("i",{className:"material-icons"},"close")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(11),i=r(o),a=n(9),s=r(a),u=n(4),l=r(u),c=n(5),d=r(c),f=n(7),p=r(f),h=n(6),m=r(h),g=n(1),v=r(g),y=n(3),b=r(y),_=n(1308),w=r(_),C=n(1221),x=r(C),E=n(161),T=r(E),k=n(1225),S=r(k),O=n(27),M=r(O),A=function(e){function t(){return(0,l.default)(this,t),(0,p.default)(this,(t.__proto__||(0,s.default)(t)).apply(this,arguments))}return(0,m.default)(t,e),(0,d.default)(t,[{key:"render",value:function(){var e=this,t=this.props.item,n=t.question,r=t.id,o=this.props.localizeStrings("movableWordSentence");return v.default.createElement("div",null,v.default.createElement("div",{className:"au-c-question__answers au-c-movable__answers",onBlur:function(t){return e.props.blurOptions(t)},tabIndex:"-1"},b.default.map(n.choices,function(t){return v.default.createElement(w.default,(0,i.default)({key:"assessmentChoice_"+t.id+"_"+e.props.language},t,{updateChoice:function(n,o){return e.props.updateChoice(r,t.id,n,o)},isActive:e.props.isActive&&t.id===e.props.activeChoice,deleteChoice:function(){return e.props.deleteChoice(t)},selectChoice:function(){return e.props.selectChoice(t.id)},itemCount:b.default.size(n.choices),duplicateAnswers:e.props.duplicateAnswers,language:e.props.language}))}),v.default.createElement(x.default,{createChoice:function(){return e.props.createChoice()}}),v.default.createElement(S.default,{save:this.props.save})),v.default.createElement("div",{className:"au-c-question__feedback"},v.default.createElement(T.default,{language:this.props.language,updateItem:function(t){return e.props.updateItem(t,!0)},feedbackType:"correctFeedback",feedback:n.correctFeedback,labelText:o.correctFeedback,bankId:this.props.item.bankId}),v.default.createElement(T.default,{language:this.props.language,updateItem:function(t){return e.props.updateItem(t,!0)},feedbackType:"incorrectFeedback",feedback:n.incorrectFeedback,labelText:o.incorrectFeedback,bankId:this.props.item.bankId})))}}]),t}(v.default.Component);t.default=(0,M.default)(A)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.localizeStrings("movableWordSentanceOption"),n="";u.default.isNil(e.answerOrder)||""===e.answerOrder||(n="is-ordered"),u.default.includes(e.duplicateAnswers,e.answerOrder)&&(n="is-error");var r=u.default.get(e,"texts["+e.language+"]",p);return a.default.createElement("div",{onFocus:e.selectChoice,onClick:e.selectChoice,className:"au-c-answer au-o-flex-center "+(e.isActive?"is-active":"")},a.default.createElement("div",{className:"au-c-dropdown au-c-dropdown--tiny au-u-mr-sm "+n},a.default.createElement("label",{htmlFor:"option_order_"+e.id}),a.default.createElement("select",{name:"",id:"option_order_"+e.id,value:e.answerOrder,onChange:function(t){return e.updateChoice({answerOrder:t.target.value})}},a.default.createElement("option",{value:""},t.NA),u.default.map(u.default.range(0,e.itemCount),function(t){return a.default.createElement("option",{key:"movableWordOrderOption_"+e.id+"_"+t,value:t},t+1)}))),a.default.createElement("div",{className:"au-c-input"},a.default.createElement("label",{htmlFor:"option_text_"+e.id}),a.default.createElement("div",{className:"au-c-input__contain"},a.default.createElement("input",{defaultValue:r.text,onBlur:function(t){return e.updateChoice({text:t.target.value})},className:"au-c-text-input au-c-text-input--small au-c-wysiwyg",id:"option_text_"+e.id,type:"text",placeholder:t.newOption}),h)),a.default.createElement(c.default,{id:e.id,wordType:e.wordType,updateChoice:e.updateChoice}),a.default.createElement("button",{onClick:e.deleteChoice,className:"au-c-answer--delete"},m))}Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),a=r(i),s=n(3),u=r(s),l=n(1226),c=r(l),d=n(27),f=r(d),p={text:"",wordType:"other"},h=a.default.createElement("div",{className:"au-c-input__bottom"}),m=a.default.createElement("i",{className:"material-icons"},"close");t.default=(0,f.default)(o)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.localizeStrings("addOption");return a.default.createElement("div",{className:"au-c-answer au-o-flex-center au-c-answer--add",tabIndex:"0",onClick:function(){return e.updateChoice()}},a.default.createElement("div",{className:"au-c-input"},l,a.default.createElement("div",{className:"au-c-input__contain"},a.default.createElement("input",{className:"au-c-text-input au-c-text-input--small au-c-wysiwyg au-c-option",id:"option2",type:"text",defaultValue:t.addOption}),c)))}Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),a=r(i),s=n(27),u=r(s),l=a.default.createElement("label",{htmlFor:"option2"}),c=a.default.createElement("div",{className:"au-c-input__bottom no-border"});t.default=(0,u.default)(o)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),l=r(u),c=n(7),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),g=n(3),v=r(g),y=n(1222),b=r(y),_=n(1311),w=r(_),C=n(1309),x=r(C),E=n(161),T=r(E),k=n(27),S=r(k),O=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,l.default)(t,[{key:"getChoices",value:function(e){var t=this,n=this.props.item.id,r=0;return v.default.map(e,function(e){return r+=1,m.default.createElement(w.default,{key:e.id+"_"+t.props.language,choice:e,index:r,selectChoice:function(){return t.props.selectChoice(e.id)},updateChoice:function(r,o){return t.props.updateChoice(n,e.id,r,o)},deleteChoice:function(){return t.props.deleteChoice(e)},isActive:t.props.isActive&&e.id===t.props.activeChoice,language:t.props.language})})}},{key:"handleBlur",value:function(e){this.props.updateItem({question:{timeValue:{hours:0,minutes:0,seconds:parseInt(e.target.value,10)}}})}},{key:"render",value:function(){var e=this,t=this.props.item,n=t.question,r=t.id,o=this.props.localizeStrings("mwSandbox");return m.default.createElement("div",{onBlur:function(t){return e.props.blurOptions(t)}},m.default.createElement("div",{className:"au-c-movable__audio-settings is-active"},m.default.createElement(b.default,{item:this.props.item,handleBlur:function(t){return e.handleBlur(t)}})),m.default.createElement("div",{className:"au-c-question__answers au-c-movable__answers"},this.getChoices(v.default.get(this.props.item,"question.choices",{})),m.default.createElement(x.default,{updateChoice:function(){return e.props.createChoice(r)}})),m.default.createElement("div",{className:"au-c-question__feedback"},m.default.createElement(T.default,{language:this.props.language,updateItem:this.props.updateItem,feedbackType:"correctFeedback",feedback:n.correctFeedback,labelText:o.feedback,bankId:this.props.item.bankId})))}}]),t}(m.default.Component);t.default=(0,S.default)(O)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.isActive?"is-active":"",n=e.choice.id;if("new"===n)return a.default.createElement("div",{className:"au-c-answer "+t},f);var r=u.default.get(e,"choice.texts["+e.language+"]",d);return a.default.createElement("div",{onFocus:e.selectChoice,onClick:e.selectChoice,className:"au-c-answer au-o-flex-center "+t},a.default.createElement("div",{className:"au-c-input"},p,a.default.createElement("div",{className:"au-c-input__contain"},a.default.createElement("input",{className:"au-c-text-input au-c-text-input--small au-c-wysiwyg",id:n,type:"text",defaultValue:r.text,placeholder:"Option "+e.index,onBlur:function(t){return e.updateChoice({id:e.choice.id,text:t.target.value})}}),h)),a.default.createElement("div",{className:"au-c-dropdown au-c-dropdown--smaller au-u-ml-sm is-ordered"},m,a.default.createElement("select",{name:"",id:"word_drop_down",value:e.choice.wordType,onChange:function(t){return e.updateChoice({id:e.choice.id,wordType:t.target.value})}},g,v,y,b,_,w,C)),a.default.createElement("button",{className:"au-c-answer--delete",onClick:function(){return e.deleteChoice()}},x))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i),s=n(3),u=r(s),l=n(207),c=r(l),d={text:"",wordType:void 0},f=a.default.createElement("div",{className:"au-c-input"},a.default.createElement(c.default,null)),p=a.default.createElement("label",{htmlFor:"option1"}),h=a.default.createElement("div",{className:"au-c-input__bottom"}),m=a.default.createElement("label",{htmlFor:"word_drop_down"}),g=a.default.createElement("option",{value:null},"Other"),v=a.default.createElement("option",{value:"verb"},"Verb"),y=a.default.createElement("option",{value:"adverb"},"Adverb"),b=a.default.createElement("option",{value:"noun"},"Noun"),_=a.default.createElement("option",{value:"pronoun"},"Pronoun"),w=a.default.createElement("option",{value:"adjective"},"Adjective"),C=a.default.createElement("option",{value:"preposition"},"Preposition"),x=a.default.createElement("i",{className:"material-icons"},"close")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.localizeStrings("mcAddOption");return a.default.createElement("div",{className:"au-c-answer au-c-answer--add",onClick:function(){return e.createChoice()},onKeyDown:function(t){13===t.keyCode&&e.createChoice()},tabIndex:"0"},a.default.createElement("div",{className:"au-c-input"},l,c,a.default.createElement("div",{className:"au-c-input__contain"},a.default.createElement("input",{className:"au-c-text-input au-c-text-input--small au-c-wysiwyg au-c-option",id:"addOption",type:"text",placeholder:t.addOption,tabIndex:"-1"}),d)))}Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),a=r(i),s=n(27),u=r(s),l=a.default.createElement("div",{className:"au-c-radio"},a.default.createElement("input",{type:"radio",id:"radio1",name:"radio",tabIndex:"-1"}),a.default.createElement("label",{htmlFor:"radio1"})),c=a.default.createElement("label",{htmlFor:"addOption"}),d=a.default.createElement("div",{className:"au-c-input__bottom no-border"});t.default=(0,u.default)(o)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=s;e.shuffle&&(t=null);var n=a.default.createElement("button",{className:"au-c-answer__icons__spacer",tabIndex:"0",onClick:e.moveUp},u),r=a.default.createElement("button",{className:"au-c-answer__icons__spacer",tabIndex:"0",onClick:e.moveDown},l);return a.default.createElement("div",{className:"au-c-answer__icons"},e.first||e.shuffle?t:n,e.last||e.shuffle?t:r,a.default.createElement("button",{className:"au-c-answer__icons__spacer",tabIndex:"0",onClick:e.deleteChoice},c))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i),s=a.default.createElement("button",{tabIndex:"-1",className:"au-c-answer__icons__spacer inactive"}),u=a.default.createElement("i",{className:"material-icons"},"arrow_upward"),l=a.default.createElement("i",{className:"material-icons"},"arrow_downward"),c=a.default.createElement("i",{className:"material-icons"},"close")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return u.default.includes([c.default.reflection,c.default.multipleReflection],e.itemType)?null:e.itemType===c.default.multipleAnswer?a.default.createElement(h.default,{id:e.id,itemId:e.itemId,isCorrect:e.isCorrect,updateChoice:e.updateChoice}):a.default.createElement(f.default,{id:e.id,itemId:e.itemId,isCorrect:e.isCorrect,updateChoice:e.updateChoice})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i),s=n(3),u=r(s),l=n(136),c=r(l),d=n(1224),f=r(d),p=n(1223),h=r(p)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(11),i=r(o),a=n(9),s=r(a),u=n(4),l=r(u),c=n(5),d=r(c),f=n(7),p=r(f),h=n(6),m=r(h),g=n(1),v=r(g),y=n(3),b=r(y),_=n(1316),w=r(_),C=n(1312),x=r(C),E=n(161),T=r(E),k=n(136),S=r(k),O=n(27),M=r(O),A=function(e){function t(){(0,l.default)(this,t);var e=(0,p.default)(this,(t.__proto__||(0,s.default)(t)).call(this));return e.state={newChoice:!1},e}return(0,m.default)(t,e),(0,d.default)(t,[{key:"componentWillReceiveProps",value:function(e){!this.state.newChoice&&b.default.has(e,"item.question.choices.new")?this.setState({newChoice:!0}):this.state.newChoice&&this.setState({newChoice:!1})}},{key:"getFeedback",value:function(){var e=this.props.item,t=e.question,n=e.type,r=this.props.localizeStrings("multipleChoice");if(n!==S.default.multipleChoice){var o=b.default.includes([S.default.reflection,S.default.multipleReflection],n)?r.feedback:r.correctFeedback;return v.default.createElement("div",{className:"au-c-question__feedback"},v.default.createElement(T.default,{updateItem:this.props.updateItem,feedbackType:"correctFeedback",language:this.props.language,feedback:t.correctFeedback,labelText:o,bankId:this.props.item.bankId}),n===S.default.reflection||n===S.default.multipleReflection?null:v.default.createElement(T.default,{updateItem:this.props.updateItem,feedbackType:"incorrectFeedback",feedback:t.incorrectFeedback,labelText:r.incorrectFeedback,bankId:this.props.item.bankId,language:this.props.language}))}return null}},{key:"moveChoice",value:function(e,t){var n=b.default.cloneDeep(this.props.item.question.choices),r=e.order,o=t?r-1:r+1,i=b.default.find(n,{order:o});n[e.id].order=o,n[i.id].order=r,this.props.updateItem({question:{choices:n}})}},{key:"render",value:function(){var e=this,t=this.props.item,n=t.question,r=t.id,o=t.type;return v.default.createElement("div",null,v.default.createElement("div",{className:"au-c-question__answers au-c-question__answers--maintain"},v.default.createElement("div",{className:"au-no-outline",onBlur:function(t){return e.props.blurOptions(t)},tabIndex:"-1"},b.default.map(b.default.orderBy(n.choices,"order"),function(t){return v.default.createElement(w.default,(0,i.default)({key:"assessmentChoice_"+t.id},t,{itemType:o,multipleAnswer:b.default.get(n,"multipleAnswer",!1),updateChoice:function(n,o){return e.props.updateChoice(r,t.id,n,o)},updateItem:function(){return e.props.updateItem({question:n})},deleteChoice:function(){return e.props.deleteChoice(t)},shuffle:n.shuffle,moveUp:function(){return e.moveChoice(t,!0)},moveDown:function(){return e.moveChoice(t)},first:0===t.order,last:!n||t.order===b.default.size(n.choices)-1,bankId:e.props.item.bankId,itemId:e.props.item.id,questionFileIds:n.fileIds,setActiveChoice:function(t){return e.props.selectChoice(t)},isActive:e.props.isActive&&t.id===e.props.activeChoice,language:e.props.language}))}),!this.state.newChoice&&this.props.isActive?v.default.createElement(x.default,{createChoice:function(){return e.props.createChoice()}}):null)),v.default.createElement("div",{className:"au-c-question__feedback"},this.getFeedback()))}}]),t}(v.default.Component);t.default=(0,M.default)(A)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.localizeStrings("multipleChoiceOptions"),n=(0,x.languageText)(e.feedbacks,e.language),r=e.itemType!==c.default.multipleChoice||!(e.isActive||n);if("new"===e.id)return a.default.createElement("div",{className:"au-c-answer "+(e.isActive?"is-active":"")},T);var o=e.isActive?"is-active":"",i=e.shuffle?"is-ordered":"",s=u.default.get(e,"texts["+e.language+"]","");return a.default.createElement("div",{onFocus:function(){return e.setActiveChoice(e.id)},onClick:function(){return e.setActiveChoice(e.id)},className:"au-c-answer "+o+" "+i},a.default.createElement("div",{className:"au-c-input"},a.default.createElement(g.default,{itemType:e.itemType,id:e.id,itemId:e.itemId,isCorrect:e.isCorrect,updateChoice:e.updateChoice}),k,a.default.createElement(f.default,{editorKey:(0,E.getLanguage)(e.language),textSize:"small",isActive:e.isActive,fileIds:e.questionFileIds,placeholder:t.optionText,text:s,bankId:e.bankId,onBlur:function(t,n){return e.updateChoice({text:t},n)}}),a.default.createElement(y.default,{first:e.first,last:e.last,moveUp:e.moveUp,moveDown:e.moveDown,shuffle:e.shuffle,deleteChoice:e.deleteChoice})),a.default.createElement(_.default,{feedback:e.feedback,feedbacks:e.feedbacks,bankId:e.bankId,itemId:e.itemId,updateChoice:e.updateChoice,fileIds:e.fileIds,hidden:r,language:e.language}))}Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),a=r(i),s=n(3),u=r(s),l=n(136),c=r(l),d=n(498),f=r(d),p=n(207),h=r(p),m=n(1314),g=r(m),v=n(1313),y=r(v),b=n(1317),_=r(b),w=n(27),C=r(w),x=n(211),E=n(104),T=a.default.createElement("div",{className:"au-c-input"},a.default.createElement(h.default,null)),k=a.default.createElement("label",{htmlFor:"option1"});t.default=(0,C.default)(o)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),l=r(u),c=n(7),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),g=n(498),v=r(g),y=n(27),b=r(y),_=n(211),w=n(104),C=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e=this,t=this.props.hidden?"is-hidden":"",n=this.props.localizeStrings("optionFeedback");return m.default.createElement("div",{key:this.props.language,className:"au-c-input au-c-input-label--left au-c-feedback "+t},m.default.createElement("label",{htmlFor:"feedback1"},n.feedback),m.default.createElement(v.default,{editorKey:(0,w.getLanguage)(this.props.language),textSize:"smaller",fileIds:this.props.fileIds,text:(0,_.languageText)(this.props.feedbacks,this.props.language),bankId:this.props.bankId,onBlur:function(t,n){return e.props.updateChoice({feedback:t,fileIds:n})}}))}}]),t}(m.default.Component);t.default=(0,b.default)(C)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(9),i=r(o),a=n(4),s=r(a),u=n(7),l=r(u),c=n(5),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),g=n(3),v=r(g),y=n(508),b=r(y),_=n(512),w=r(_),C=n(136),x=r(C),E=n(27),T=r(E),k=n(207),S=r(k),O={multiple_choice_question:!0,multiple_answers_question:!1,movable_words_sentence:!1,fill_the_blank_question:!0,movable_words_sandbox:!1,movable_object_chain:!1,clix_drag_and_drop:!1},M=m.default.createElement("div",{className:"loader-container"},m.default.createElement(S.default,null)),A=function(e){function t(){(0,s.default)(this,t);var e=(0,l.default)(this,(t.__proto__||(0,i.default)(t)).call(this));return e.state={response:[]},e}return(0,p.default)(t,e),(0,d.default)(t,null,[{key:"convertType",value:function(e){switch(e){case x.default.multipleChoice:case x.default.reflection:return"multiple_choice_question";case x.default.multipleAnswer:case x.default.multipleReflection:return"multiple_answers_question";case x.default.shortAnswer:return"short_answer_question";case x.default.fileUpload:return"file_upload_question";case x.default.audioUpload:return"audio_upload_question";case x.default.movableWordSentence:return"movable_words_sentence";case x.default.movableFillBlank:return"fill_the_blank_question";case x.default.movableWordSandbox:return"movable_words_sandbox";case x.default.imageSequence:return"movable_object_chain";case x.default.dragAndDrop:return"clix_drag_and_drop";default:return null}}}]),(0,d.default)(t,[{key:"componentDidMount",value:function(){this.initializeVideoJs()}},{key:"componentDidUpdate",value:function(e){this.props.item.isUpdating!==e.item.isUpdating&&this.initializeVideoJs()}},{key:"initializeVideoJs",value:function(){if(v.default.isFunction(b.default)&&this.preview){var e=this.preview.querySelectorAll("video.video-js");v.default.each(e,function(e){return(0,b.default)(e)})}}},{key:"serializeForPlayer",value:function(e){var n=t.convertType(e.type);switch(e.type){case x.default.movableFillBlank:return{id:e.id,question_type:n,material:e.question.text,isHtml:!0,answers:v.default.map(e.question.choices,function(e){return{id:e.id,material:'<p class="'+e.wordType+'">'+e.text+"</p>"}}),question_meta:{fillTheBlankSentence:v.default.map(e.question.text.split(" "),function(e){return"[_]"===e?'<p class="interaction-placeholder"></p>':'<p class="other">'+e+"</p>"}),expectedLines:1}};case x.default.imageSequence:return{id:e.id,question_type:n,material:e.question.text,isHtml:!0,answers:v.default.map(e.question.choices,function(e){return{id:e.id,material:'<p><img src="'+e.text+'"></p>'}}),question_meta:{expectedLines:1}};case x.default.movableWordSandbox:case x.default.movableWordSentence:return{id:e.id,question_type:n,material:e.question.text,isHtml:!0,answers:v.default.map(e.question.choices,function(e){return{id:e.id,material:'<p class="'+e.wordType+'">'+e.text+"</p>"}})};case x.default.dragAndDrop:return{id:e.id,response:this.state.response,question_type:n,material:e.question.text,isHtml:!0,answers:v.default.map(e.question.dropObjects,function(e){return{id:e.id,text:'<img src="'+e.image+'">',reuse:1}}),question_meta:{targets:[{id:e.question.target.id,text:'<img src="'+e.question.target.image+'">'}],zones:v.default.map(e.question.zones,function(e){return{id:e.id,spatialUnit:{height:e.height,width:e.width,coordinateValues:[e.xPos,e.yPos]},name:e.label,dropBehaviorType:"%3A"+e.type+"%40",visible:e.visible}})}};default:return{id:e.id,question_type:n,material:e.question.text,isHtml:!0,answers:v.default.map(e.question.choices,function(e){return{id:e.id,material:e.text}}),question_meta:{expectedLines:1}}}}},{key:"selectAnswer",value:function(e){var n=O[t.convertType(this.props.item.type)],r=void 0;r=n?[]:v.default.cloneDeep(this.state.response);var o=v.default.findIndex(this.state.response,function(t){return"string"==typeof e||"number"==typeof e?e===t:v.default.isEqual(t.id,e.id)});return o>-1?n||v.default.pullAt(r,o):r.push(e),this.setState({response:r})}},{key:"render",value:function(){var e=this;if(this.props.item.isUpdating)return M;var t=this.serializeForPlayer(this.props.item);return m.default.createElement("div",{ref:function(t){return e.preview=t}},m.default.createElement(w.default,{settings:{},question:t,response:this.state.response,currentItemIndex:1,questionCount:1,questionResult:{},selectAnswer:function(t){return e.selectAnswer(t)},localizedStrings:this.props.localizeStrings("previewQuestion"),sendSize:function(){},videoPlay:function(){},videoPause:function(){},audioPlay:function(){},audioPause:function(){},audioRecordStart:function(){},audioRecordStop:function(){},createChoice:function(){},deleteChoice:function(){}}))}}]),t}(m.default.Component);t.default=(0,T.default)(A)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=u.default.words(u.default.upperFirst(e.type)).join(" "),n=a.default.createElement(c.default,e);return e.reorderActive&&(n=a.default.createElement(f.default,e)),e.preview&&(n=a.default.createElement(h.default,e)),a.default.createElement("div",{className:"au-o-item__top"},a.default.createElement("div",{className:"au-o-left"},a.default.createElement("h3",{className:"au-c-question__number"},e.index+1),a.default.createElement("div",{className:"au-c-question__type"},t)),n)}Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),a=r(i),s=n(3),u=r(s),l=n(1320),c=r(l),d=n(1322),f=r(d),p=n(1321),h=r(p),m=n(27),g=r(m);t.default=(0,g.default)(o)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return e.isRemoving?l:a.default.createElement("div",{className:"au-o-right au-c-question-icons"},a.default.createElement("button",{className:"au-c-btn au-c-btn--square",tabIndex:"0",onClick:e.togglePreview},c),a.default.createElement("button",{className:"au-c-btn au-c-btn--square",tabIndex:"0",onClick:e.toggleReorder},d),a.default.createElement("button",{className:"au-c-btn au-c-btn--square",tabIndex:"0",onClick:function(){return e.deleteAssessmentItem(e.id)}},f))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i),s=n(207),u=r(s),l=a.default.createElement(u.default,null),c=a.default.createElement("i",{className:"material-icons"},"remove_red_eye"),d=a.default.createElement("i",{className:"material-icons"},"swap_vert"),f=a.default.createElement("i",{className:"material-icons"},"delete")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.localizeStrings("previewHeader");return a.default.createElement("div",{className:"au-o-right au-c-question-icons au-c-question-icons--reorder"},a.default.createElement("button",{onClick:e.togglePreview,className:"au-c-btn au-c-btn--sm au-c-btn--white"},t.closePreview))}Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),a=r(i),s=n(27),u=r(s);t.default=(0,u.default)(o)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),l=r(u),c=n(7),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),g=n(27),v=r(g),y=m.default.createElement("i",{className:"material-icons"},"arrow_upward"),b=m.default.createElement("i",{className:"material-icons"},"arrow_downward"),_=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,l.default)(t,[{key:"componentDidMount",value:function(){this.header.scrollIntoView()}},{key:"render",value:function(){var e=this,t=this.props.topItem?"is-hidden":"",n=this.props.bottomItem?"is-hidden":"",r=this.props.localizeStrings("reorderHeader");return m.default.createElement("div",{ref:function(t){return e.header=t},className:"au-o-right au-c-question-icons au-c-question-icons--reorder"},m.default.createElement("button",{className:"au-c-btn au-c-btn--square "+t,onClick:!this.props.topItem&&this.props.moveUp},y),m.default.createElement("button",{className:"au-c-btn au-c-btn--square "+n,onClick:!this.props.bottomItem&&this.props.moveDown},b),m.default.createElement("button",{onClick:this.props.toggleReorder,className:"au-c-btn au-c-btn--sm au-c-btn--white"},r.done))}}]),t}(m.default.Component);t.default=(0,v.default)(_)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.localizeStrings("questionSettings"),n=[c.default.multipleChoice,c.default.reflection,c.default.multipleReflection,c.default.multipleAnswer];return a.default.createElement("div",{className:"au-c-question-settings"},a.default.createElement("div",{className:"au-o-left"},a.default.createElement("div",{className:"au-c-input au-c-input-label--left"},a.default.createElement("label",{htmlFor:"question_name_"+e.id},t.name),a.default.createElement("div",{className:"au-c-input__contain"},a.default.createElement("input",{className:"au-c-text-input au-c-text-input--smaller",id:"question_name_"+e.id,type:"text",tabIndex:"0",defaultValue:e.defaultName,onBlur:function(t){return e.updateItem({name:t.target.value})}}),v)),a.default.createElement(f.default,{language:e.language,updateItem:e.updateItem})),u.default.includes(n,e.type)?a.default.createElement(h.default,e):null)}Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),a=r(i),s=n(3),u=r(s),l=n(136),c=r(l),d=n(1229),f=r(d),p=n(1324),h=r(p),m=n(27),g=r(m),v=a.default.createElement("div",{className:"au-c-input__bottom"});t.default=(0,g.default)(o)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.localizeStrings("settingsCheckbox");return a.default.createElement("div",{className:"au-o-right"},a.default.createElement("div",{className:"au-c-checkbox au-u-ml-md"},a.default.createElement("input",{type:"checkbox",id:"check02_"+e.id,name:"check",tabIndex:"0",onChange:function(t){return e.updateItem({question:{shuffle:!t.target.checked}})},checked:!e.shuffle}),a.default.createElement("label",{htmlFor:"check02_"+e.id},t.maintainChoiceOrder)),a.default.createElement("div",{className:"au-c-checkbox au-u-ml-md"},a.default.createElement("input",{type:"checkbox",id:"check03_"+e.id,name:"check",tabIndex:"0",onChange:function(){return e.makeMultipleAnswer()},checked:e.multipleAnswer?"checked":null}),a.default.createElement("label",{htmlFor:"check03_"+e.id},t.multipleAnswer)),a.default.createElement("div",{className:"au-c-checkbox au-u-ml-md"},a.default.createElement("input",{type:"checkbox",id:"check04_"+e.id,name:"check",tabIndex:"0",onChange:function(t){return e.makeReflection(t.target.checked)},checked:e.reflection?"checked":null}),a.default.createElement("label",{htmlFor:"check04_"+e.id},t.reflection)))}Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),a=r(i),s=n(27),u=r(s);t.default=(0,u.default)(o)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),l=r(u),c=n(7),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),g=n(498),v=r(g),y=n(136),b=r(y),_=n(27),w=r(_),C=m.default.createElement("div",{className:"au-c-input__bottom"}),x=function(e){function t(e){(0,s.default)(this,t);var n=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.state={text:n.props.text},n}return(0,p.default)(t,e),(0,l.default)(t,[{key:"componentWillReceiveProps",value:function(e){e.text!==this.props.text&&this.setState({text:e.text})}},{key:"render",value:function(){var e=this,t=this.props.localizeStrings("questionText");switch(this.props.itemType){case b.default.movableFillBlank:return m.default.createElement("div",null,m.default.createElement("div",{className:"au-c-movable__answers__label"},t.instructions),m.default.createElement("div",{className:"au-c-input au-c-fill-in-the-blank-text"},m.default.createElement("label",{htmlFor:"fillBlankText_"+this.props.itemId}),m.default.createElement("div",{className:"au-c-input__contain"},m.default.createElement("input",{className:"au-c-text-input au-c-text-input--medium au-c-wysiwyg",type:"text",placeholder:t.fitbPlaceholder,onBlur:function(t){return e.props.updateItem({question:{text:t.target.value}})},onChange:function(t){return e.setState({text:t.target.value})},value:this.state.text,id:"fillBlankText_"+this.props.itemId}),C)));default:return m.default.createElement("div",{className:"au-c-input au-c-question__text"},m.default.createElement("label",{htmlFor:"question_text_"+this.props.itemId}),m.default.createElement(v.default,{textSize:"medium",fileIds:this.props.fileIds,text:this.state.text,placeholder:t.otherPlaceholder,editorKey:this.props.editorKey,onBlur:function(t,n){return e.props.updateItem({question:{text:t,fileIds:n}})},bankId:this.props.bankId}))}}}]),t}(m.default.Component);t.default=(0,w.default)(x)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return f.default.findKey(v,function(n){return e===n.expectedLines&&t===n.expectedLength})||"large"}function i(e,t){t({question:(0,u.default)({},v[e.target.value])})}function a(e){var t=e.item.question,n=t&&t.expectedLines,r=t&&t.expectedLength,a=o(n,r),s=e.localizeStrings("shortAnswer");return c.default.createElement("div",null,c.default.createElement("div",{className:"au-c-question__answers au-c-short-answer__answers"},c.default.createElement("div",{className:"au-c-dropdown au-c-dropdown--medium au-c-input-label--top"},c.default.createElement("label",{htmlFor:"short-answer-size"},s.answerBox),c.default.createElement("select",{value:a,onChange:function(t){return i(t,e.updateItem)},id:"short-answer-size"},c.default.createElement("option",{
+value:"small"},s.small),c.default.createElement("option",{value:"medium"},s.medium),c.default.createElement("option",{value:"large"},s.large))),c.default.createElement("div",{className:"au-c-short-answer__example is-"+a},c.default.createElement("span",null,s[a]," ",s.box))),c.default.createElement("div",{className:"au-c-question__feedback"},c.default.createElement(h.default,{feedbackType:"correctFeedback",feedback:t.correctFeedback,updateItem:e.updateItem,labelText:s.feedback,bankId:e.item.bankId,language:e.language})))}Object.defineProperty(t,"__esModule",{value:!0});var s=n(11),u=r(s),l=n(1),c=r(l),d=n(3),f=r(d),p=n(161),h=r(p),m=n(27),g=r(m),v={small:{expectedLines:1,expectedLength:50,maxStrings:1},medium:{expectedLines:1,expectedLength:200,maxStrings:1},large:{expectedLines:5,expectedLength:200,maxStrings:1}};t.default=(0,g.default)(a)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e){return{path:j.path(e),currentBankId:j.currentBankId(e),banks:j.banks(e),settings:B.settings(e),assessments:j.bankAssessments(e),banksLoaded:j.banksLoaded(e)}}Object.defineProperty(t,"__esModule",{value:!0}),t.BankNavigator=void 0;var a=n(11),s=o(a),u=n(66),l=o(u),c=n(9),d=o(c),f=n(4),p=o(f),h=n(5),m=o(h),g=n(7),v=o(g),y=n(6),b=o(y),_=n(1),w=o(_),C=n(3),x=o(C),E=n(36),T=n(337),k=r(T),S=n(221),O=r(S),M=n(338),A=r(M),N=n(497),I=o(N),P=n(1331),D=o(P),R=n(1380),j=r(R),L=n(1234),B=r(L),F=t.BankNavigator=function(e){function t(){(0,p.default)(this,t);var e=(0,v.default)(this,(t.__proto__||(0,d.default)(t)).call(this));return e.state={sortName:null,sortPublished:null},e}return(0,b.default)(t,e),(0,m.default)(t,[{key:"getBankChildren",value:function(e){var t=x.default.find(this.props.banks,function(t){return t.id===e});t&&this.props.updatePath(e,t),this.props.getAssessments(e)}},{key:"getEmbedCode",value:function(e){var t=e.assessmentOffered?e.assessmentOffered[0]:"";x.default.isEmpty(t)&&this.props.getAssessmentOffered(e.bankId,e.id)}},{key:"sortBy",value:function(e){var t=this.state[e];t?"asc"===t?this.setState((0,l.default)({},e,"desc")):this.setState((0,l.default)({},e,null)):this.setState((0,l.default)({},e,"asc"))}},{key:"sortContents",value:function(e){var t=this,n=this.state,r=n.sortName,o=n.sortPublished;if(!r&&!o)return e;var i=e;return r&&(i=x.default.orderBy(i,function(e){return x.default.lowerCase(e.displayName.text)},r)),o&&(i=x.default.orderBy(i,function(e){return x.default.includes(e.assignedBankIds,t.props.settings.publishedBankId)},o)),i}},{key:"deleteAssessment",value:function(e,t){this.props.deleteAssessment(e,t)}},{key:"render",value:function(){var e=this,t=this.props,n=t.createAssessment,r=t.currentBankId,o=t.updatePath,i=t.settings;return w.default.createElement("div",null,w.default.createElement(I.default,{view:"banks",path:this.props.path,createAssessment:n,currentBankId:r,updatePath:o,getBankChildren:function(t){return e.getBankChildren(t)}}),w.default.createElement(D.default,{assessments:this.sortContents(this.props.assessments),baseEmbedUrl:i.baseEmbedUrl,banks:this.sortContents(this.props.banks),banksLoaded:this.props.banksLoaded,getEmbedCode:function(t,n){e.getEmbedCode(t,n)},publishedBankId:i.publishedBankId,getBankChildren:function(t){return e.getBankChildren(t)},sortBy:function(t){return e.sortBy(t)},sortName:this.state.sortName,sortPublished:this.state.sortPublished,deleteAssessment:function(t,n){return e.deleteAssessment(t,n)}}))}}]),t}(w.default.Component);t.default=(0,E.connect)(i,(0,s.default)({},k,O,A))(F)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(){return{}}Object.defineProperty(t,"__esModule",{value:!0}),t.BankAssessment=void 0;var a=n(11),s=o(a),u=n(9),l=o(u),c=n(4),d=o(c),f=n(5),p=o(f),h=n(7),m=o(h),g=n(6),v=o(g),y=n(1),b=o(y),_=n(3),w=o(_),C=n(36),x=n(208),E=o(x),T=n(1227),k=o(T),S=n(221),O=r(S),M=n(1338),A=o(M),N=n(1336),I=o(N),P=n(1335),D=o(P),R=n(1334),j=o(R),L=n(1337),B=o(L),F=n(207),U=o(F),H=b.default.createElement("td",{className:"au-deleting-assessment"},b.default.createElement(U.default,null)),z=b.default.createElement("td",null,b.default.createElement("i",{className:"material-icons"},"description")),q=t.BankAssessment=function(e){function t(){(0,d.default)(this,t);var e=(0,m.default)(this,(t.__proto__||(0,l.default)(t)).call(this));return e.state={deleting:!1},e}return(0,v.default)(t,e),(0,p.default)(t,[{key:"deleteAssessment",value:function(){if(confirm("Are you sure you want to delete this assessment?")){var e;this.setState({deleting:!0}),(e=this.props).deleteAssessment.apply(e,arguments)}}},{key:"selectItem",value:function(){var e=this.props.assessment;return e.isPublished?void E.default.push("banks/"+e.bankId+"/assessments/"+e.id+"/preview"):void E.default.push("banks/"+e.bankId+"/assessments/"+e.id)}},{key:"render",value:function(){var e=this,t=this.props.assessment,n=w.default.get(t,"displayName.text");return this.state.deleting?b.default.createElement(k.default,(0,s.default)({},this.props,{selectItem:function(){},onFocus:function(){}}),H):b.default.createElement(k.default,(0,s.default)({},this.props,{bank:t,selectItem:function(){return e.selectItem()},onFocus:this.props.onFocus}),z,b.default.createElement("td",null,n),b.default.createElement("td",null,b.default.createElement(A.default,{assessment:t,togglePublishAssessment:function(t){return e.props.togglePublishAssessment(t)},onFocus:this.props.onFocus})),b.default.createElement("td",null,b.default.createElement("div",{className:"au-c-table__icons"},b.default.createElement(I.default,this.props),b.default.createElement(D.default,this.props),b.default.createElement(B.default,this.props),b.default.createElement(j.default,(0,s.default)({},this.props,{deleteAssessment:function(){return e.deleteAssessment.apply(e,arguments)}})))))}}]),t}(b.default.Component);t.default=(0,C.connect)(i,(0,s.default)({},O))(q)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.bank,n=c.default.get(t,"displayName.text");return u.default.createElement(f.default,(0,a.default)({},e,{selectItem:function(){return e.getBankChildren(t.id)},onFocus:e.onFocus}),p,u.default.createElement("td",null,n),h,m)}Object.defineProperty(t,"__esModule",{value:!0});var i=n(11),a=r(i);t.default=o;var s=n(1),u=r(s),l=n(3),c=r(l),d=n(1227),f=r(d),p=u.default.createElement("td",null,u.default.createElement("i",{className:"material-icons"},"folder")),h=u.default.createElement("td",null),m=u.default.createElement("td",null)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){switch(e.type){case"Bank":case"OsidNode":return s;case"Assessment":return u;case"Publish":return l;case"Published":return c;default:return null}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i),s=a.default.createElement("i",{className:"material-icons"},"folder"),u=a.default.createElement("i",{className:"material-icons"},"description"),l=a.default.createElement("i",{className:"material-icons"},"cloud_upload"),c=a.default.createElement("i",{className:"material-icons is-published"},"cloud_done")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),l=r(u),c=n(7),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),g=n(3),v=r(g),y=n(1332),b=r(y),_=n(1342),w=r(_),C=n(1328),x=r(C),E=n(1329),T=r(E),k=n(1339),S=r(k),O=m.default.createElement(w.default,null),M=m.default.createElement(S.default,null),A=function(e){function t(){(0,s.default)(this,t);var e=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this));return e.state={focusedItem:null},e}return(0,p.default)(t,e),(0,l.default)(t,[{key:"content",value:function(){var e=this,t=v.default.isEmpty(this.props.banks)&&v.default.isEmpty(this.props.assessments);return this.props.banksLoaded?t?M:m.default.createElement("table",{className:"au-c-table"},m.default.createElement("tbody",null,v.default.map(this.props.banks,function(t){return m.default.createElement(T.default,{key:"bank_"+t.id,bank:t,getBankChildren:e.props.getBankChildren,focused:e.state.focusedItem===t.id,onFocus:function(n){return e.focusItem(n,t.id)}})}),v.default.map(this.props.assessments,function(t){return m.default.createElement(x.default,{baseEmbedUrl:e.props.baseEmbedUrl,getEmbedCode:e.props.getEmbedCode,key:"bank_"+t.id,bank:t,assessment:t,publishedBankId:e.props.publishedBankId,getBankChildren:e.props.getBankChildren,deleteAssessment:e.props.deleteAssessment,focused:e.state.focusedItem===t.id,onFocus:function(n){return e.focusItem(n,t.id)}})}))):O}},{key:"focusItem",value:function(e,t){e?this.setState({focusedItem:t}):this.setState({focusedItem:null})}},{key:"render",value:function(){return m.default.createElement("div",{className:"au-o-contain"},m.default.createElement("div",{className:"au-o-item"},m.default.createElement(b.default,{sortBy:this.props.sortBy,sortName:this.props.sortName,sortPublished:this.props.sortPublished}),m.default.createElement("div",{className:"au-c-scrollable"},this.content())))}}]),t}(m.default.Component);t.default=A},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.localizeStrings("bankListHeader");return a.default.createElement("table",{className:"au-c-table"},a.default.createElement("thead",null,a.default.createElement("tr",null,l,a.default.createElement("th",null,a.default.createElement("button",{className:e.sortName?"au-c-table__filter is-active":"au-c-table__filter",onClick:function(){return e.sortBy("sortName")}},t.name,a.default.createElement("i",{className:"desc"===e.sortName?"material-icons top is-active":"material-icons top"},"keyboard_arrow_up"),a.default.createElement("i",{className:"asc"===e.sortName?"material-icons bottom is-active":"material-icons bottom"},"keyboard_arrow_down"))),a.default.createElement("th",null,a.default.createElement("button",{className:e.sortPublished?"au-c-table__filter is-active":"au-c-table__filter",onClick:function(){return e.sortBy("sortPublished")}},t.published,a.default.createElement("i",{className:"desc"===e.sortPublished?"material-icons top is-active":"material-icons top"},"keyboard_arrow_up"),a.default.createElement("i",{className:"asc"===e.sortPublished?"material-icons bottom is-active":"material-icons bottom"},"keyboard_arrow_down"))),c)))}Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),a=r(i),s=n(27),u=r(s),l=a.default.createElement("th",null),c=a.default.createElement("th",null);t.default=(0,u.default)(o)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.name,n=e.id,r=function(){e.updatePath(n,t,-1),e.getBankChildren(n)};return a.default.createElement("span",{className:"au-o-flex-center"},s,a.default.createElement("button",{className:e.current?"au-c-btn au-c-btn--breadcrumb is-active":"au-c-btn au-c-btn--breadcrumb",onClick:function(){return r()}},t))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i),s=a.default.createElement("span",{className:"au-c-breadcrumb__divider"},"/")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.deleteAssessment,n=e.assessment,r=e.onFocus,o=n.isPublished;return a.default.createElement("button",{className:"au-c-btn au-c-btn--square au-c-btn--table "+(o?"is-inactive":""),onClick:function(e){e.stopPropagation(),t(n.bankId,n.id)},onFocus:r},s)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i),s=a.default.createElement("i",{className:"material-icons"},"delete")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.assessment.isPublished;return a.default.createElement("button",{className:"au-c-btn au-c-btn--square au-c-btn--table "+(t?"is-inactive":""),onFocus:e.onFocus},s)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i),s=a.default.createElement("i",{className:"material-icons"},"edit")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.assessment,n=e.baseEmbedUrl,r=e.getEmbedCode,o=t.isPublished,i=u.default.get(t,"assessmentOffered[0]");if(o){if(i){var s=n+"&bank="+i.bankId+"&assessment_offered_id="+i.id+"#/assessment";return a.default.createElement("div",{className:"au-c-embed-contain"},a.default.createElement("label",{className:"au-c-input--purple",htmlFor:"embedInput"},a.default.createElement("input",{id:"embedInput",onClick:function(e){return e.stopPropagation()},className:"au-c-text-input au-c-text-input--smaller",readOnly:!0,type:"text",value:'<iframe src="'+s+'"/>'})),a.default.createElement(c.default,{text:'<iframe src="'+s+'"/>'},a.default.createElement("button",{className:"au-c-btn au-c-btn--square au-c-btn--embed ",onClick:function(e){return e.stopPropagation()},onFocus:e.onFocus},d)))}return a.default.createElement("button",{className:"au-c-btn au-c-btn--sm au-c-btn--table",onClick:function(e){e.stopPropagation(),r(t)},onFocus:e.onFocus},"embed code")}return null}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i),s=n(3),u=r(s),l=n(1458),c=r(l),d=a.default.createElement("i",{className:"material-icons"},"content_paste")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.assessment.isPublished;return a.default.createElement("button",{className:"au-c-btn au-c-btn--square au-c-btn--table "+(t?"":"is-inactive"),onClick:function(t){t.stopPropagation(),window.open(window.location.href+"banks/"+e.assessment.bankId+"/assessments/"+e.assessment.id+"/preview")},onFocus:e.onFocus},s)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i),s=a.default.createElement("i",{className:"material-icons"},"remove_red_eye")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.togglePublishAssessment,n=e.assessment,r=n.isPublished,o=r?s:u;return n.isToggling?a.default.createElement("button",{className:"au-c-btn au-c-btn--square au-c-publish "+(r?"is-published":""),onClick:function(e){e.stopPropagation()},onFocus:e.onFocus},o):a.default.createElement("button",{className:"au-c-btn au-c-btn--square au-c-publish "+(r?"is-published":""),onClick:function(e){e.stopPropagation(),t(n)},onFocus:e.onFocus},o)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i),s=a.default.createElement("i",{className:"material-icons is-published"},"cloud_done"),u=a.default.createElement("i",{className:"material-icons"},"cloud_upload")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){return s}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i),s=a.default.createElement("table",{className:"au-c-table is-empty"},a.default.createElement("tbody",null,a.default.createElement("tr",null,a.default.createElement("td",null,a.default.createElement("div",null,"Add a new assessment to get started.")))))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.localizeStrings("navigationBarContent"),n=e.currentBankId?u.default.createElement("button",{className:"au-c-btn au-c-btn--sm au-c-btn--maroon au-c-btn--new u-ml-md",onClick:function(){return f.default.push("banks/"+e.currentBankId+"/new_assessment")}},t.new):null;return u.default.createElement("div",{className:"au-c-header-bottom"},u.default.createElement("div",{className:"au-c-header-bottom__left"},u.default.createElement("button",{onClick:function(){return e.updatePath(null)},className:e.currentBankId?"au-c-btn au-c-btn--breadcrumb":"au-c-btn au-c-btn--breadcrumb is-active"},v,t.assessment),c.default.map(e.path,function(t){return u.default.createElement(h.default,(0,a.default)({key:"folder_"+t.id},t,{current:e.currentBankId===t.id,updatePath:e.updatePath,getBankChildren:e.getBankChildren}))})),u.default.createElement("div",{className:"au-c-header-bottom__right"},n))}Object.defineProperty(t,"__esModule",{value:!0});var i=n(11),a=r(i),s=n(1),u=r(s),l=n(3),c=r(l),d=n(208),f=r(d),p=n(1333),h=r(p),m=n(27),g=r(m),v=u.default.createElement("i",{className:"material-icons"},"home");t.default=(0,g.default)(o)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=r(o),a=i.default.createElement("div",null,i.default.createElement("h1",null,"Page Not Found"),i.default.createElement("p",null,"Sorry, but the page you were trying to view does not exist."));t.default=function(){return a}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return a.default.createElement("div",{className:"spinner"},e.children)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),l=r(u),c=n(7),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),g=n(1251),v=r(g);n(1482),n(1481),n(1472),n(1479),n(1476),n(1474),n(1478),n(1475),n(1473),n(1477),n(1480);var y=n(157),b=r(y),_=function(e){function t(){(0,s.default)(this,t);var e=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this));return e.id=(0,b.default)(),e}return(0,p.default)(t,e),(0,l.default)(t,[{key:"shouldComponentUpdate",value:function(e){return e.editorKey!==this.props.editorKey}},{key:"tinyMCEConfig",value:function(){var e=this;return{closed:/^(br|hr|input|meta|img|link|param|area|source|track)$/,fixed_toolbar_container:"#toolbar-"+(this.props.editorKey||"")+this.id,skin:!1,menubar:!1,statusbar:!1,plugins:"autolink link lists paste code charmap media image table",toolbar:"bold italic removeformat | bullist numlist  blockquote table | code charmap subscript superscript | insert_image audio video",inline:!0,paste_data_images:!0,browser_spellcheck:!0,setup:function(t){t.addButton("insert_image",{text:"",icon:"image",tooltip:"Insert Image",onclick:function(){e.props.openModal(t,"img")}}),t.addButton("audio",{text:"",icon:"audio",tooltip:"Insert Audio",onclick:function(){e.props.openModal(t,"audio")}}),t.addButton("video",{text:"",icon:"video",tooltip:"Insert Video",onclick:function(){e.props.openModal(t,"video")}})}}}},{key:"render",value:function(){var e=this;return m.default.createElement("div",null,m.default.createElement("label",{htmlFor:this.id+"-tinymce"}),m.default.createElement("div",{id:"toolbar-"+(this.props.editorKey||"")+this.id}),m.default.createElement(v.default,{id:this.id+"-tinymce",content:this.props.text,config:this.tinyMCEConfig(),onBlur:function(t){var n=t.target.getContent(),r=t.target.isDirty()||n!==e.props.text;e.props.onBlur(n,r)},onFocus:this.props.onFocus,onChange:function(t){return e.props.onChange(t.target.getContent())}}))}}]),t}(m.default.Component);t.default=_},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return a.default.createElement("div",{className:"au-c-modal-media__results"},a.default.createElement("table",null,a.default.createElement("tbody",null,u.default.map(e.media,function(t){return a.default.createElement("tr",{key:"media_item_"+t.id,className:e.selectedMediaId===t.id?"is-active":"",onClick:function(){return e.selectMedia(t)}},a.default.createElement("td",null,a.default.createElement("div",{className:"au-c-modal-media__thumbnail"},d[t.type]||a.default.createElement("img",{src:t.url,alt:t.altText.text}))),a.default.createElement("td",null,t.description.text),a.default.createElement("td",null,t.license.text))}))))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i),s=n(3),u=r(s),l=n(537),c=r(l),d={video:a.default.createElement("img",{alt:"placeholder",src:(0,c.default)("./_author/images/video-thumbnail.png")}),audio:a.default.createElement("img",{alt:"placeholder",src:(0,c.default)("./_author/images/audio-thumbnail.png")})}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(4),s=r(a),u=n(7),l=r(u),c=n(5),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),g=n(1223),v=r(g),y=n(1347),b=r(y),_=n(1346),w=r(_),C=m.default.createElement("label",{htmlFor:"meta_upload_desc"},"Description"),x=m.default.createElement("div",{className:"au-c-input__bottom"}),E=function(e){function t(){(0,s.default)(this,t);var e=(0,l.default)(this,(t.__proto__||(0,i.default)(t)).call(this));return e.textArea=null,e.state={baseScrollHeight:null},e}return(0,p.default)(t,e),(0,d.default)(t,null,[{key:"labelName",value:function(e){switch(e){case"altText":return"Alt Text";case"citation":return"Citation";case"license":return"License";case"copyright":return"Copyright";case"vttFile":return"vtt File";case"transcript":return"Transcript";default:return""}}}]),(0,d.default)(t,[{key:"areaResize",value:function(){var e=1;this.textArea.rows=e;var t=this.textArea.scrollHeight;this.state.baseScrollHeight||this.setState({baseScrollHeight:t});var n=Math.ceil((t-(this.state.baseScrollHeight||t))/17);this.textArea.rows=n+e}},{key:"autoPlayOption",value:function(e){var t=this;return m.default.createElement(v.default,{id:"uniqueId",itemId:"uniqueItemId",isCorrect:e.autoPlay,updateChoice:function(e){return t.props.updateMetadata("autoPlay",e.isCorrect)}})}},{key:"render",value:function(){var e=this;return m.default.createElement("div",null,m.default.createElement("div",{className:"au-c-input au-c-input-label--left"},C,m.default.createElement("div",{className:"au-c-input__contain"},m.default.createElement("textarea",{value:this.props.metaData.description||"",ref:function(t){e.textArea=t},className:"au-c-textarea au-c-text-input--smaller",id:"meta_upload_desc",type:"text",tabIndex:"0",onChange:function(t){e.areaResize(),e.props.updateMetadata("description",t.target.value)},rows:"1"}),x)),m.default.createElement(w.default,{selectedLanguage:this.props.selectedLanguage,updateMetadata:this.props.updateMetadata,metadataTypes:this.props.metadataTypes,labelName:t.labelName,metaData:this.props.metaData}),"img"!==this.props.mediaType&&"639-2%3AENG%40ISO"===this.props.selectedLanguage?m.default.createElement("div",null,"Auto-play ",this.autoPlayOption(this.props.metaData)):null,m.default.createElement(b.default,{metadataFileTypes:this.props.metadataFileTypes,updateMetadata:this.props.updateMetadata,labelName:t.labelName,metaData:this.props.metaData}))}}]),t}(m.default.Component);t.default=E},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return a.default.createElement("div",null,u.default.map(e.metadataTypes,function(t){return e.selectedLanguage===c.default.languageTypeId.english?a.default.createElement("div",{className:"au-c-input au-c-input-label--left",key:"metadata_input_"+t},a.default.createElement("label",{htmlFor:"meta_upload_"+t},e.labelName(t)),a.default.createElement("div",{className:"au-c-input__contain"},a.default.createElement("input",{value:e.metaData[t]||"",className:"au-c-text-input au-c-text-input--smaller",id:"meta_upload_"+t,type:"text",tabIndex:"0",onChange:function(n){return e.updateMetadata(t,n.target.value)}}),d)):null}))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i),s=n(3),u=r(s),l=n(104),c=r(l),d=a.default.createElement("div",{className:"au-c-input__bottom"})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return a.default.createElement("div",null,u.default.map(e.metadataFileTypes,function(t){return a.default.createElement("div",{className:"au-u-mb-md au-u-mt-md",key:"metadata_input_"+t},a.default.createElement("label",{htmlFor:"metadata_input_"+t,className:"au-c-input--file au-o-flex-center"},a.default.createElement("span",{className:"au-c-wysiwyg-media__label"},e.labelName(t)),a.default.createElement("div",{className:"au-c-wysiwyg-media__source-text",tabIndex:"0"},u.default.get(e,"metaData."+t+".name","")),a.default.createElement("input",{onChange:function(n){return e.updateMetadata(t,n.target.files[0])},id:"metadata_input_"+t,type:"file"}),l))}))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i),s=n(3),u=r(s),l=a.default.createElement("div",{className:"au-c-wysiwyg-media__upload"},a.default.createElement("i",{className:"material-icons"},"find_in_page"))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),l=r(u),c=n(7),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),g=n(3),v=r(g),y=n(1469),b=r(y),_=n(1344),w=r(_),C=n(207),x=r(C),E=8,T=m.default.createElement("label",{htmlFor:"name2"}),k=m.default.createElement("i",{className:"material-icons"},"search"),S=m.default.createElement(x.default,null),O=m.default.createElement("i",{className:"material-icons"},"keyboard_arrow_left"),M=m.default.createElement("i",{className:"material-icons"},"keyboard_arrow_right"),A=m.default.createElement("span",null,"..."),N=function(e){function t(){(0,s.default)(this,t);var e=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this));return e.state={searchText:"",offset:0},e}return(0,p.default)(t,e),(0,l.default)(t,[{key:"paginateMedia",value:function(e){return v.default.slice(v.default.toArray(e),this.state.offset,this.state.offset+E)}},{key:"searchMedia",value:function(){var e=this.state.searchText;return e?v.default.filter(this.props.media,function(t){return v.default.includes(t.description.text,e)||v.default.includes(t.altText.text,e)||v.default.includes(t.license.text,e)}):this.props.media}},{key:"handlePageClick",value:function(e){var t=e.selected,n=Math.ceil(t*E);this.setState({offset:n})}},{key:"render",value:function(){var e=this,t=this.searchMedia(this.props.media);return m.default.createElement("div",{className:"au-c-wysiwyg-modal__media"},m.default.createElement("div",{className:"au-c-modal-media__search"},m.default.createElement("div",{className:"au-c-input au-c-input--search"},T,m.default.createElement("div",{className:"au-c-input__contain"},k,m.default.createElement("input",{value:this.state.searchText,onChange:function(t){return e.setState({searchText:t.target.value})},className:"au-c-text-input au-c-text-input--small",id:"name2",type:"text",placeholder:"Search..."})))),this.props.loading?S:m.default.createElement(w.default,{media:this.paginateMedia(t),selectMedia:function(t){return e.props.selectMedia(t)},activeItem:this.state.activeItem,selectedMediaId:this.props.selectedMediaId}),m.default.createElement(b.default,{previousLabel:O,nextLabel:M,breakLabel:A,pageCount:v.default.size(t)/8,marginPagesDisplayed:1,pageRangeDisplayed:5,onPageChange:function(t){return e.handlePageClick(t)},containerClassName:"au-c-modal-media__pagination",pageClassName:"au-c-modal-media__pagination-pages",breakClassName:"au-c-modal-media__pagination-break",activeClassName:"is-active",previousClassName:"au-c-modal-media__pagination-previous "+(this.props.loading?"inactive":""),nextClassName:"au-c-modal-media__pagination-next "+(this.props.loading?"inactive":""),pageLinkClassName:"au-c-modal-media__pagination-page"}))}}]),t}(m.default.Component);t.default=N},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){var e=function(){f.default.push("/")};return a.default.createElement(u.default,null,a.default.createElement("div",{className:"au-c-header-bottom"},a.default.createElement("div",{className:"au-c-header-bottom__left"},a.default.createElement(c.default,{handleClick:e}))))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i),s=n(497),u=r(s),l=n(1228),c=r(l),d=n(208),f=r(d)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n=encodeURIComponent(t.params.bankId),r=encodeURIComponent(t.params.id),o=w.default.get(e.assessments,[n,r]);return{assessment:(0,T.transformAssessment)(o),settings:e.settings,previewItems:e.preview,parsedParams:{bankId:n,assessmentId:r}}}Object.defineProperty(t,"__esModule",{value:!0}),t.PreviewAssessment=void 0;var a=n(11),s=o(a),u=n(9),l=o(u),c=n(4),d=o(c),f=n(5),p=o(f),h=n(7),m=o(h),g=n(6),v=o(g),y=n(1),b=o(y),_=n(3),w=o(_),C=n(36),x=n(221),E=r(x),T=n(533),k=n(1351),S=o(k),O=n(1349),M=o(O),A=b.default.createElement("div",{className:"not-loaded"},"Loading Preview..."),N=b.default.createElement(M.default,null),I=t.PreviewAssessment=function(e){function t(){return(0,d.default)(this,t),(0,m.default)(this,(t.__proto__||(0,l.default)(t)).apply(this,arguments))}return(0,v.default)(t,e),(0,p.default)(t,[{key:"componentDidMount",value:function(){w.default.isEmpty(this.props.assessment)&&(this.props.getAssessments(this.props.parsedParams.bankId),this.props.getAssessmentItems(this.props.parsedParams.bankId,this.props.parsedParams.assessmentId))}},{key:"render",value:function(){return w.default.isEmpty(this.props.assessment)?A:b.default.createElement("div",null,N,b.default.createElement(S.default,{assessment:this.props.assessment,assessmentPlayerUrl:this.props.settings.assessmentPlayerUrl,apiUrl:this.props.settings.api_url,getAssessmentOffered:this.props.getAssessmentOffered,unlockNext:this.props.settings.unlock_next}))}}]),t}(b.default.Component);t.default=(0,C.connect)(i,(0,s.default)({},E))(I)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),l=r(u),c=n(7),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),g=n(3),v=r(g),y=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,l.default)(t,[{key:"componentDidMount",value:function(){var e=this.props.assessment;t.hasOffered(e)||this.props.getAssessmentOffered(e.bankId,e.id)}},{key:"buildEmbedUrl",value:function(){var e=this.props,t=e.assessmentPlayerUrl,n=e.apiUrl,r=e.assessment,o=e.unlockNext,i=r.bankId,a=v.default.get(r,"assessmentOffered[0].id"),s=["unlock_next="+o].join("&");return t+"?"+s+"&api_url="+n+"&bank="+i+"&assessment_offered_id="+a+"#/assessment"}},{key:"render",value:function(){return t.hasOffered(this.props.assessment)?m.default.createElement("iframe",{height:"10000",width:"100%",src:this.buildEmbedUrl()}):null}}],[{key:"hasOffered",value:function(e){return!(v.default.isUndefined(e.assessmentOffered)||v.default.isEmpty(e.assessmentOffered[0]))}}]),t}(m.default.Component);t.default=y},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=r(o),a=n(467),s=n(208),u=r(s),l=n(1281),c=r(l),d=n(1327),f=r(d),p=n(1283),h=r(p),m=n(1282),g=r(m),v=n(1350),y=r(v),b=n(1341),_=r(b);t.default=i.default.createElement(a.Router,{history:u.default},i.default.createElement(a.Route,{path:"/",component:c.default},i.default.createElement(a.IndexRoute,{component:f.default}),i.default.createElement(a.Route,{path:"banks/:id/new_assessment",component:h.default}),i.default.createElement(a.Route,{path:"banks/:bankId/assessments/:id",component:g.default}),i.default.createElement(a.Route,{path:"banks/:bankId/assessments/:id/preview",component:y.default})),i.default.createElement(a.Route,{path:"*",component:_.default}))},,,,,,,,,,,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){
+var n=f.default.map(e,function(e){var n=t[e.id];return{id:e.id,text:f.default.get(n,"text",e.text),order:f.default.get(n,"order",e.order),delete:f.default.get(n,"delete")}});return t.new&&n.push({id:(0,b.default)(),text:"",order:n.length}),n}function i(e,t){var n={multiAnswer:t.multiAnswer,shuffle:t.shuffle,timeValue:t.timeValue,choices:null};return t.choices&&(n.choices=o(e.choices,t.choices)),(0,m.scrub)(n)}function a(e,t,n){return[{id:f.default.get(f.default.find(t,{genusTypeId:v.default.answer.rightAnswer}),"id"),genusTypeId:v.default.answer.rightAnswer,feedback:n,type:v.default.answer.multipleAnswer,choiceIds:f.default.map(e,"id")}]}function s(e){return f.default.map(e,function(e){return{id:e.id,delete:!0}})}function u(e,t){var n=(0,h.default)(e,t),r=t.question,o=t.language;return r&&(n.question=(0,c.default)({},n.question,i(e.question,r)),(r.choices||r.correctFeedback)&&(t.type&&e.type!==t.type?n.answers=s(f.default.get(e,"originalItem.answers")):n.answers=a(e.question.choices,f.default.get(e,"originalItem.answers"),(0,m.languageText)(f.default.get(r,"correctFeedback.text"),o)))),(0,m.scrub)(n)}Object.defineProperty(t,"__esModule",{value:!0});var l=n(11),c=r(l);t.default=u;var d=n(3),f=r(d),p=n(138),h=r(p),m=n(50),g=n(65),v=r(g),y=n(157),b=r(y)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(11),i=r(o),a={audioUpload:"Audio Record",fileUpload:"File Upload",movableWordSandbox:"Movable Word -- Sandbox",movableWordSentence:"Movable Word -- Sentence",movableFillBlank:"Movable Word -- Fill in the Blank",shortAnswer:"Short Answer",imageSequence:"Image Sequence",multipleChoice:"Multiple Choice",reflection:"Multiple Choice -- Reflection",multipleAnswer:"Multiple Choice -- Multiple Select",multipleReflection:"Multiple Choice -- Multiple Select & Reflection",dragAndDrop:"Drag and Drop"},s={correctFeedback:"Correct Feedback",incorrectFeedback:"Incorrect Feedback",feedback:"Feedback"};t.default={en:{name:"English",dir:"ltr",addImage:{addImage:"Add Image"},addOption:{addOption:"Add Option"},addQuestionButton:{addQuestion:"Add Question"},assessmentForm:{singlePageAssessment:"Single page assessment",nameRequired:"Name is required in order to edit",placeholder:"Untitled Assessment"},audioLimit:{rangeWarning:"Please enter a positive number under"},backButton:{back:"Back"},bankListHeader:{name:"Name",published:"Published"},commonAddOption:{addOption:"Add Option"},editAssessment:{confirm:"Are you sure you want to delete this item?"},editorUploadModal:{cancel:"Cancel",ok:"OK",error:"Error",insert:"Insert",audioFile:"Select an Audio file",imgFile:"Select an Image",videoFile:"Select a Video file"},imageOption:{NA:"N/A"},imageSequence:(0,i.default)({},s),mcAddOption:{addOption:"Add Option"},movableFillBlank:(0,i.default)({},s),movableWordSentanceOption:{NA:"N/A",newOption:"New Option"},movableWordSentence:(0,i.default)({},s),multipleChoice:(0,i.default)({},s),multipleChoiceOptions:{optionText:"Option Text"},mwSandbox:{feedback:"Feedback"},navigationBarContent:{new:"NEW",publish:"Publish",unpublish:"Unpublish",preview:"Preview Assessment",assessment:"Assessment"},newItemForm:(0,i.default)({addQuestion:"Add Question",name:"Name",cancel:"Cancel",saveNewQuestion:"Save New Question"},a),optionFeedback:{feedback:"Feedback"},previewHeader:{closePreview:"Close Preview"},previewQuestion:{fileUpload:{chooseFile:"Choose File"},audioUpload:{stop:"Stop",record:"Record"}},reorderHeader:{done:"Done"},saveOption:{saveOptions:"Save Order"},settingsCheckbox:{maintainChoiceOrder:"Maintain choice order",multipleAnswer:"Multiple answer",reflection:"Reflection"},shortAnswer:{answerBox:"Answer Box",small:"Small",medium:"Medium",large:"Large",box:"Box",feedback:"Feedback"},question:{confirm:"Are you sure you want to delete this option?"},questionHeader:{question:"Question"},questionSettings:{name:"Name",english:"English",hindi:"Hindi",telugu:"Telugu"},questionText:{instructions:"To insert blank, add [ _ ] where you want the blank to show up.",fitbPlaceholder:"Fill in the [ _ ] Text",otherPlaceholder:"Question Text"},dragAndDrop:{draggableAnswers:"Draggable answers"},addZoneDropDown:{byRegion:"by region",byImage:"by image"},dragArea:{addImage:"Add Image"},dropObject:{label:"Label",selectAnswer:"Select Answer"},dropZone:{label:"Label"},targetMenu:{replace:"Replace Image",targetImage:"Target Image",addSnap:"Add Snap Zone",addDrop:"Add Drop Zone",addImage:"Add Image",showZones:"Show Zones"},targetPlaceholder:{addImg:"Add Target Image"}}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={hi:{name:"Hindi",dir:"ltr"}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){return y.getAvailableLanguages().map(function(e){return[e,v[e].name]})}Object.defineProperty(t,"__esModule",{value:!0});var i=n(502),a=r(i),s=n(11),u=r(s);t.availableLocales=o;var l=n(1077),c=r(l),d=n(1365),f=r(d),p=n(1366),h=r(p),m=n(1368),g=r(m),v=(0,u.default)({},f.default,h.default,g.default);(0,a.default)(v);var y=new c.default(v);t.default=y},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={te:{name:"Telugu",dir:"ltr"}}},function(e,t){"use strict";function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r,t=arguments[1];switch(t.type){default:return e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;var r={}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments[1];switch(t.type){case"GET_ASSESSMENT_ITEMS_DONE":case"UPDATE_ASSESSMENT_ITEMS_DONE":case"CREATE_ITEM_IN_ASSESSMENT_DONE":var n=a.default.cloneDeep(e);return n[t.original.assessmentId]=a.default.map(t.payload,"id"),n;case"CREATE_ITEM_IN_ASSESSMENT":var r=a.default.cloneDeep(e);return t.newItemId&&r[t.original.assessmentId].push(t.newItemId),r;case"DELETE_ASSESSMENT_ITEM_DONE":var o=a.default.cloneDeep(e);return a.default.pull(o[t.original.assessmentId],t.original.itemId),o;case"CREATE_ASSESSMENT_WITH_ITEM_DONE":var i=a.default.cloneDeep(e);return i[t.assessmentId]=a.default.map(t.payload,"id"),i;default:return e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(3),a=r(i),s={}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments[1];switch(t.type){case"GET_ASSESSMENTS_DONE":var n=a.default.cloneDeep(e);return a.default.forEach(t.payload,function(e){a.default.forEach(e.assignedBankIds,function(t){n[t]||(n[t]={}),n[t][e.id]=e})}),n;case"UPDATE_ASSESSMENT_DONE":var r=a.default.cloneDeep(e),o=t.payload.bankId;return r[o]||(r[o]={}),r[o][t.payload.id]=t.payload,r;case"EDIT_OR_PUBLISH_ASSESSMENT_DONE":var i=a.default.cloneDeep(e),u=t.original.body.assignedBankIds[0],l=t.original.bankId,c=t.original.assessmentId;return i[l][c].assignedBankIds.push(u),i[l][c].isToggling=!1,i;case"EDIT_OR_PUBLISH_ASSESSMENT":var d=a.default.cloneDeep(e),f=t.bankId,p=t.assessmentId;return d[f][p].isToggling=!0,d;case"DELETE_ASSIGNED_ASSESSMENT_DONE":var h=a.default.cloneDeep(e),m=t.original.assignedId,g=t.original.bankId,v=t.original.assessmentId,y=h[g][v].assignedBankIds.indexOf(m);return h[g][v].assignedBankIds.splice(y,1),h;case"CREATE_ASSESSMENT_DONE":var b=a.default.cloneDeep(e),_=t.payload.bankId;return b[_]||(b[_]={}),b[_][t.payload.id]=t.payload,b;case"CREATE_ASSESSMENT_OFFERED_DONE":case"GET_ASSESSMENT_OFFERED_DONE":var w=a.default.cloneDeep(e);return w[t.original.bankId][t.original.assessmentId].assessmentOffered=t.payload,w;case"DELETE_ASSESSMENT_DONE":var C=a.default.cloneDeep(e),x=t.original.bankId;return delete C[x][t.original.assessmentId],C;default:return e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(3),a=r(i),s={}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={id:e.id,name:e.displayName.text};e.parent?(t.unshift(n),o(e.parent,t)):t.unshift(n)}function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments[1];switch(t.type){case"GET_BANKS_HIERARCHY":return(0,s.default)({},e,{loading:!0});case"GET_BANKS_HIERARCHY_DONE":return(0,s.default)({},e,{loading:!1});case"UPDATE_PATH":if(!t.id)return(0,s.default)({},e,{location:[]});var n=[],r=l.default.findIndex(e.location,{id:t.id}),i=l.default.cloneDeep(e).location;return r>-1?(i.length=r+1,i[r].back=t.back):i.push({id:t.id,name:t.bank.displayName.text,back:t.back}),t.back!==-1?(o(t.bank,n),(0,s.default)({},e,{location:n})):(0,s.default)({},e,{location:i});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(11),s=r(a);t.default=i;var u=n(3),l=r(u),c={loading:!1,location:[]}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=s.default.last(t);s.default.forEach(e,function(e){e&&(e.parent=n,t.push(e),o(e.childNodes,t))})}function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u,t=arguments[1];switch(t.type){case"GET_BANKS_HIERARCHY_DONE":var n=[];return o(t.payload,n),t.payload;default:return e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var a=n(3),s=r(a),u=[]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(313),i=n(1233),a=r(i),s=n(1369),u=r(s),l=n(1376),c=r(l),d=n(1373),f=r(d),p=n(1372),h=r(p),m=n(1371),g=r(m),v=n(1375),y=r(v),b=n(1370),_=r(b),w=n(1379),C=r(w),x=n(1378),E=r(x),T=n(1377),k=r(T),S=(0,o.combineReducers)({settings:a.default,jwt:c.default,application:u.default,banks:f.default,bankNavigation:h.default,assessments:g.default,items:y.default,assessmentItems:_.default,uploadedAssets:C.default,preview:E.default,media:k.default});t.default=S},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments[1];switch(t.type){case"GET_ASSESSMENT_ITEMS_DONE":var n=a.default.cloneDeep(e),r=t.original.bankId;return n[r]||(n[r]={}),a.default.each(t.payload,function(e){n[r][e.id]=e}),n;case"DELETE_ASSESSMENT_ITEM":var o=a.default.cloneDeep(e);return o[t.bankId][t.itemId].isRemoving=!0,o;case"UPDATE_ITEM_DONE":case"CREATE_ITEM_DONE":var i=a.default.cloneDeep(e),u=t.original.bankId;return i[u]||(i[u]={}),i[u][t.payload.id]=a.default.merge(t.payload,{isUpdating:!1}),i;case"UPDATE_ITEM":var l=a.default.cloneDeep(e),c=t.bankId,d=t.itemId;l[c]||(l[c]={});var f=l[c][d];return l[c][d]=a.default.merge(f,t.body,{isUpdating:!0}),l;default:return e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(3),a=r(i),s={}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(220),o={};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments[1];switch(t.type){case r.Constants.REFRESH_JWT_DONE:return t.payload.jwt;default:return e}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(11),i=r(o),a={loading:!0,image:{},audio:{},video:{}};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments[1];switch(t.type){case"GET_MEDIA_DONE":return(0,i.default)({},t.payload,{loading:!1});default:return e}}},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u,t=arguments[1];switch(t.type){case a.Constants.GET_ASSESSMENT_PREVIEW+s.DONE:return t.payload;default:return e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(221),a=r(i),s=n(56),u=[]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),i=r(o),a=n(222),s={};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments[1];switch(t.type){case a.Constants.UPLOAD_MEDIA_DONE:var n=i.default.cloneDeep(e),r=t.original.fileGuids,o=r.vttGuids,u=r.transcriptGuids,l=r.mediaGuid;return t.error?(n[l]={error:t.error},i.default.each(o.concat(u),function(e){n[e]={error:t.error}}),n):(n[l]=t.payload,i.default.isEmpty(t.payload.transcript)||i.default.each(u,function(e){n[e]=t.payload.transcript}),i.default.isEmpty(t.payload.vtt)||i.default.each(o,function(e){n[e]=t.payload.vtt}),n);default:return e}}},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.banksLoaded=t.banks=t.bankAssessments=t.rawAssessments=t.currentBankId=t.path=void 0;var i=n(3),a=o(i),s=n(314),u=n(1234),l=r(u),c=n(533),d=t.path=function(e){return e.bankNavigation.location},f=t.currentBankId=(0,s.createSelector)(d,function(e){return a.default.isEmpty(e)?null:a.default.last(e).id}),p=t.rawAssessments=(0,s.createSelector)(l.assessments,f,function(e,t){return a.default.get(e,t,{})});t.bankAssessments=(0,s.createSelector)(p,l.settings,function(e,t){var n=a.default.map(e,function(e){return(0,c._assessment)(e,[],t)}),r=a.default.reduce(n,function(e,t){return e[t.id]=t,e},{});return r}),t.banks=(0,s.createSelector)(d,function(e){return e.banks},function(e,t){var n=t;return a.default.forEach(e,function(e){var t=a.default.find(n,{id:e.id});n=t.childNodes}),a.default.merge(n)}),t.banksLoaded=(0,s.createSelector)(function(e){return e.banks},function(e){return!a.default.isEmpty(e)})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.bankMedia=t.media=t.bankId=void 0;var o=n(3),i=(r(o),n(314)),a=t.bankId=function(e,t){return encodeURIComponent(t.bankId)},s=t.media=function(e){return e.media};t.bankMedia=(0,i.createSelector)(s,a,function(e,t){return e[t]})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(503),i=r(o);t.default=function(e){var t=a.compose.apply(void 0,(0,i.default)(p))(a.createStore)(u.default,e);return t};var a=n(313),s=(n(201),n(1374)),u=r(s),l=n(335),c=(r(l),n(1403)),d=r(c),f=[d.default],p=[a.applyMiddleware.apply(void 0,f)]},,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(3),i=r(o),a=n(1404),s=r(a),u=n(1405),l=r(u),c=function(e){return function(t){return function(n){if(n.method)(0,s.default)(e,n,n.method,n.url,n.params,n.body);else if(n.apiCall){var r=l.default[n.type];if(i.default.isFunction(r))r(e,n);else{if(!i.default.isObject(r))throw"No handler implemented for "+n.type;var o=e.getState();(0,s.default)(e,n,r.method,r.url(o.settings.api_url,n),r.params?r.params(n):n.params,r.body?r.body(n):n.body,r.timeout?r.timeout:n.timeout)}}t(n)}}};t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n,r,o,i,u){var l=e.getState(),c=a.default.execRequest(n,r,l.settings.api_url,l.jwt,l.settings.csrf_token,o,i,null,u);c&&c.then(function(n){e.dispatch({type:t.type+s.DONE,payload:n.body,original:t,response:n})},function(n){e.dispatch({type:t.type+s.DONE,payload:{},original:t,error:n})})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(339),a=r(i),s=n(56)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t,n){var r="assessment/banks/"+t+"/assessments/"+n+"/assessmentsoffered";return A.default.get(r,e.settings.api_url,e.jwt,e.settings.csrf_token)}function a(e,t,n){var r="assessment/banks/"+t+"/assessmentsoffered/",o=[];return E.default.each(n,function(t){var n=t.id+"/assessmentstaken";o.push(new C.default(function(t){A.default.get(r+n,e.settings.api_url,e.jwt,e.settings.csrf_token).then(function(e){return t(e.body)})}))}),C.default.all(o)}function s(e,t){var n=new FormData;return n.append("inputFile",t.body),n.append("returnUrl",!0),n.append("createNew",!0),n.append("mediaDescription",t.metaData["639-2%3AENG%40ISO"].description||""),n.append("locale",t.metaData["639-2%3AENG%40ISO"].locale),n.append("license",t.metaData["639-2%3AENG%40ISO"].license||""),n.append("copyright",t.metaData["639-2%3AENG%40ISO"].copyright||""),n.append("provider",t.metaData["639-2%3AENG%40ISO"].citation||""),"audio"===t.metaData.mediaType?n.append("transcriptFile",t.metaData["639-2%3AENG%40ISO"].transcript||""):"img"===t.metaData.mediaType?n.append("altText",t.metaData["639-2%3AENG%40ISO"].altText||""):"video"===t.metaData.mediaType&&(n.append("vttFile",t.metaData["639-2%3AENG%40ISO"].vttFile||""),n.append("transcriptFile",t.metaData["639-2%3AENG%40ISO"].transcript||"")),A.default.post("repository/repositories/"+t.bankId+"/assets",e.settings.api_url,e.jwt,e.settings.csrf_token,null,n,null,t.timeout)}function u(e,t,n,r,o){var i=new FormData,a=(0,K.languageFromLocale)(t.locale);return i.append("mediaDescription",(0,_.default)({text:t.description||"",languageTypeId:K.languages.languageTypeId[a],formatTypeId:K.languages.formatTypeId,scriptTypeId:K.languages.scriptTypeId[a]})),i.append("locale",t.locale),"audio"===o?i.append("transcriptFile",t.transcript||""):"img"===o?i.append("altText",(0,_.default)({text:t.altText||"",languageTypeId:K.languages.languageTypeId[a],formatTypeId:K.languages.formatTypeId,scriptTypeId:K.languages.scriptTypeId[a]})):"video"===o&&(i.append("vttFile",t.vttFile||""),i.append("transcriptFile",t.transcript||"")),A.default.put("repository/repositories/"+n+"/assets/"+r,e.settings.api_url,e.jwt,e.settings.csrf_token,null,i,null,2e4)}function l(e,t){var n=e.getState(),r=n.items[t.bankId][t.itemId],o=t.body,i=(0,U.default)(o.type||r.type)(r,o);A.default.put("assessment/banks/"+t.bankId+"/items/"+t.itemId,n.settings.api_url,n.jwt,n.settings.csrf_token,null,i).then(function(n){e.dispatch({type:t.type+P.DONE,original:t,payload:(0,z.default)(n.body.genusTypeId)(n.body)})})}function c(e,t,n){var r=void 0,o=void 0,i=void 0;n?(r=E.default.get(n,"body.assetContents[0].id"),o=E.default.get(n,"body.assetContents[0].assetId"),i=E.default.get(n,"body.assetContents[0].genusTypeId")):(r=E.default.get(t,"body.original.assetContents[0].id"),o=E.default.get(t,"body.original.assetContents[0].assetId"),i=E.default.get(t,"body.original.assetContents[0].genusTypeId"));var a=(0,Y.default)(),s={id:t.itemId,question:{fileIds:(0,y.default)({},a,{assetContentId:r,assetId:o,assetContentTypeId:i})}};s=E.default.set(s,t.where,{text:"AssetContent:"+a,altText:t.file.altText,id:E.default.last(t.where.split("."))});var u=(0,L.updateItem)(t.bankId,(0,g.default)({},s,{language:t.language}));l(e,u)}function d(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",o="assessment/banks/"+t+"/assessmentstaken/",i=[];return E.default.each(E.default.flatten(n),function(t){r&&t.takingAgentId!==r||i.push(new C.default(function(n){A.default.del(o+t.id,e.settings.api_url,e.jwt,e.settings.csrf_token).then(function(e){return n(e.body)})}))}),C.default.all(i)}function f(e,t,n){var r="assessment/banks/"+t+"/assessmentsoffered/",o=[];return E.default.each(n,function(t){o.push(new C.default(function(n){A.default.del(r+t.id,e.settings.api_url,e.jwt,e.settings.csrf_token).then(function(e){return n(e.body)})}))}),C.default.all(o)}function p(e,t,n,r,o,i){var a=e.getState();A.default.post("assessment/banks/"+t+"/items",a.settings.api_url,a.jwt,a.settings.csrf_token,null,(0,q.scrub)((0,U.default)(r.type)({question:{}},r))).then(function(r){e.dispatch({type:L.Constants.CREATE_ITEM+P.DONE,original:i,payload:(0,z.default)(r.body.genusTypeId)(r.body)});var s=r.body.id;return e.dispatch({type:R.Constants.CREATE_ITEM_IN_ASSESSMENT,original:i,newItemId:s}),A.default.post("assessment/banks/"+t+"/assessments/"+n+"/items",a.settings.api_url,a.jwt,a.settings.csrf_token,null,{itemIds:o.concat(s)})}).then(function(t){e.dispatch({type:i.type+P.DONE,assessmentId:n,original:i,payload:t.body})})}Object.defineProperty(t,"__esModule",{value:!0});var h,m=n(11),g=o(m),v=n(66),y=o(v),b=n(543),_=o(b),w=n(224),C=o(w),x=n(3),E=o(x),T=n(210),k=o(T),S=n(1429),O=o(S),M=n(339),A=o(M),N=n(208),I=o(N),P=n(56),D=n(337),R=n(221),j=r(R),L=n(338),B=n(222),F=n(1420),U=o(F),H=n(1408),z=o(H),q=n(50),W=n(1411),V=n(1430),G=n(157),Y=o(G),K=n(104),$=(h={},(0,y.default)(h,D.Constants.GET_BANKS_HIERARCHY,function(e,t){var n=e.getState();A.default.get(n.settings.lambda_url,null,n.jwt,n.settings.csrf_token,null,null).then(function(r){e.dispatch({type:t.type+P.DONE,original:t,payload:r.body});var o=r.body[0].id;A.default.get("/repository/repositories/"+o+"/assets?fullUrls",n.settings.api_url,n.jwt,n.settings.csrf_token,null,null).then(function(t){e.dispatch({type:"GET_MEDIA_DONE",original:{bankId:o},payload:(0,W.deserializeMedia)(t.body)})})})}),(0,y.default)(h,R.Constants.GET_ASSESSMENT_PREVIEW,{method:k.default.GET,url:function(e,t){var n=encodeURIComponent(t.bankId),r=encodeURIComponent(t.assessmentId);return e+"/assessment/banks/"+n+"/assessments/"+r+"/items?qti"}}),(0,y.default)(h,R.Constants.GET_ASSESSMENTS,{method:k.default.GET,url:function(e,t){return e+"/assessment/banks/"+t.bankId+"/assessments?isolated"}}),(0,y.default)(h,R.Constants.CREATE_ASSESSMENT_OFFERED,{method:k.default.POST,url:function(e,t){return e+"/assessment/banks/"+t.bankId+"/assessments/"+t.assessmentId+"/assessmentsoffered"}}),(0,y.default)(h,R.Constants.GET_ASSESSMENT_OFFERED,{method:k.default.GET,url:function(e,t){return e+"/assessment/banks/"+t.bankId+"/assessments/"+t.assessmentId+"/assessmentsoffered"}}),(0,y.default)(h,R.Constants.GET_ASSESSMENT_ITEMS,function(e,t){var n=e.getState();A.default.get("assessment/banks/"+t.bankId+"/assessments/"+t.assessmentId+"/items?wronganswers",n.settings.api_url,n.jwt,n.settings.csrf_token,null,null).then(function(n){e.dispatch({type:t.type+P.DONE,original:t,payload:E.default.map(n.body,function(e){return(0,z.default)(e.genusTypeId)(e)})})})}),(0,y.default)(h,R.Constants.EDIT_OR_PUBLISH_ASSESSMENT,{method:k.default.POST,url:function(e,t){return e+"/assessment/banks/"+t.bankId+"/assessments/"+t.assessmentId+"/assignedbankids"}}),(0,y.default)(h,R.Constants.DELETE_ASSIGNED_ASSESSMENT,function(e,t){var n=e.getState(),r=t.bankId,o=t.assessmentId,s=t.assignedId;A.default.del("assessment/banks/"+r+"/assessments/"+o+"/assignedbankids/"+s,n.settings.api_url,n.jwt,n.settings.csrf_token,null,null).then(function(s){e.dispatch({type:t.type+P.DONE,original:t,payload:s.body}),t.assignedId===n.settings.publishedBankId&&i(n,r,o).then(function(e){return a(n,r,e.body).then(function(e){return d(n,r,e,"osid.agent.Agent%3A"+n.settings.eid+"%40MIT-ODL")})})})}),(0,y.default)(h,R.Constants.UPDATE_ASSESSMENT,{method:k.default.PUT,url:function(e,t){return e+"/assessment/banks/"+t.bankId+"/assessments/"+t.body.id}}),(0,y.default)(h,R.Constants.UPDATE_SINGLE_ITEM_OR_PAGE,{method:k.default.PUT,url:function(e,t){return e+"/assessment/banks/"+t.bankId+"/assessmentsoffered/"+t.assessmentsOfferedId}}),(0,y.default)(h,R.Constants.UPDATE_ASSESSMENT_ITEMS,{method:k.default.PUT,url:function(e,t){return e+"/assessment/banks/"+t.bankId+"/assessments/"+t.assessmentId+"/items"}}),(0,y.default)(h,R.Constants.DELETE_ASSESSMENT_ITEM,{method:k.default.DEL,url:function(e,t){return e+"/assessment/banks/"+t.bankId+"/assessments/"+t.assessmentId+"/items/"+t.itemId}}),(0,y.default)(h,L.Constants.CREATE_ITEM,{method:k.default.POST,url:function(e,t){return e+"/assessment/banks/"+t.bankId+"/items"}}),(0,y.default)(h,L.Constants.UPDATE_ITEM,l),(0,y.default)(h,R.Constants.CREATE_ITEM_IN_ASSESSMENT,function(e,t){p(e,t.bankId,t.assessmentId,t.body,t.itemIds,t)}),(0,y.default)(h,R.Constants.CREATE_ASSESSMENT,function(e,t){var n=e.getState();A.default.post("assessment/banks/"+t.bankId+"/assessments",n.settings.api_url,n.jwt,n.settings.csrf_token,null,t.body).then(function(n){I.default.push("banks/"+t.bankId+"/assessments/"+n.body.id),e.dispatch({type:t.type+P.DONE,original:t,payload:n.body})})}),(0,y.default)(h,R.Constants.CREATE_ASSESSMENT_WITH_ITEM,function(e,t){var n=e.getState();A.default.post("assessment/banks/"+t.bankId+"/assessments?genusTypeId=assessment-bank-genus%3Aeditable%40ODL.MIT.EDU",n.settings.api_url,n.jwt,n.settings.csrf_token,null,t.assessment).then(function(n){I.default.push("banks/"+t.bankId+"/assessments/"+n.body.id),e.dispatch({type:R.Constants.CREATE_ASSESSMENT+P.DONE,original:t,payload:n.body}),p(e,t.bankId,decodeURIComponent(n.body.id),t.item,[],t)})}),(0,y.default)(h,R.Constants.DELETE_ASSESSMENT,function(e,t){var n=e.getState(),r=t.bankId,o=t.assessmentId;i(n,r,o).then(function(i){var s=i.body;a(n,r,s).then(function(e){return d(n,r,e)}).then(function(){return f(n,r,s)}).then(function(){return A.default.del("assessment/banks/"+r+"/assessments/"+o,n.settings.api_url,n.jwt,n.settings.csrf_token)}).then(function(){return e.dispatch({type:t.type+P.DONE,original:t})})})}),(0,y.default)(h,R.Constants.TOGGLE_PUBLISH_ASSESSMENT,function(e,t){var n=e.getState(),r=t.assessment,o=n.settings,i=o.publishedBankId,a=o.editableBankId;if(r.isPublished)(0,V.dispatchMany)([j.deleteAssignedAssessment(r,i),j.editOrPublishAssessment(r,a)],e);else{var s=[];E.default.includes(r.assignedBankIds,a)&&s.push(j.deleteAssignedAssessment(r,a)),E.default.isEmpty(r.assessmentOffered)&&s.push(j.createAssessmentOffered(r.bankId,r.id)),s.push(j.editOrPublishAssessment(r,i)),(0,V.dispatchMany)(s,e)}}),(0,y.default)(h,B.Constants.UPLOAD_MEDIA,function(e,t){var n=e.getState();s(n,t).then(function(r){var o=E.default.filter(t.metaData,function(e){return!E.default.isUndefined(e.locale)&&"en"!==e.locale}),i=r.body,a=i.repositoryId,s=i.id;E.default.forEach(o,function(e){return u(n,e,a,s,t.metaData.mediaType)}),e.dispatch({type:t.type+P.DONE,original:t,payload:(0,W.deserializeSingleMedia)(r.body,t.metaData["639-2%3AENG%40ISO"].autoPlay)})},function(n){e.dispatch({type:t.type+P.DONE,payload:{},original:t,error:n})})}),(0,y.default)(h,B.Constants.ADD_MEDIA_TO_QUESTION,function(e,t){var n=e.getState();t.newMedia?s(n,t).then(function(n){return c(e,t,n)}):c(e,t)}),h);t.default=(0,g.default)({},O.default,$)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=(0,c.default)(e),n=u.default.get(e,"question.timeValue",{hours:"00",minutes:"00",seconds:"100"});return t.question=(0,a.default)({},t.question,{timeValue:n,correctFeedback:(0,d.createSingleCorrectFeedback)(e)}),t}Object.defineProperty(t,"__esModule",{value:!0});var i=n(11),a=r(i);t.default=o;var s=n(3),u=r(s),l=n(137),c=r(l),d=n(50)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return g.default.reduce(e,function(e,t){return(0,h.default)({},e,(0,f.default)({},t.languageTypeId,t))},{})}function i(e){var t=e[0];if(t){var n={};return g.default.each(t.texts,function(e){n[e.languageTypeId]=(0,w.getImageUrl)(e.text)}),{id:t.id,image:n[_.languages.languageTypeId.english],images:n}}return{}}function a(e){var t=g.default.reduce(e.names,function(e,t){return(0,h.default)({},e,(0,f.default)({},t.languageTypeId,t))},{});return{id:e.id,label:g.default.get(t,"["+_.languages.languageTypeId.english+"].text"),labels:t,height:e.spatialUnit.height,width:e.spatialUnit.width,xPos:e.spatialUnit.coordinateValues[0],yPos:e.spatialUnit.coordinateValues[1],type:(0,b.getQbankType)(e.dropBehaviorType),index:e.index}}function s(e){var t={};return g.default.forEach(e,function(e,n){t[e.id]=a((0,h.default)({},e,{index:n}))}),t}function u(e,t){var n=g.default.map(e.texts,function(e){var t=(0,w.getImageUrl)(e.text);return(0,h.default)({},e,{text:t})}),r=o(e.names),i=o(n);return{id:e.id,label:g.default.get(r,"["+_.languages.languageTypeId.english+"].text"),labels:r,image:g.default.get(i,"["+_.languages.languageTypeId.english+"].text"),images:i,type:(0,b.getQbankType)(e.dropBehaviorType),correctZone:g.default.get(t,"zoneId")}}function l(e,t){var n={};return g.default.forEach(e,function(e){var r=g.default.find(t,{droppableId:e.id});n[e.id]=u(e,r)}),n}function c(e){var t=(0,y.default)(e),n=g.default.find(e.answers,{genusTypeId:b.types.answer.rightAnswer}),r=g.default.find(e.answers,{genusTypeId:b.types.answer.wrongAnswer});return t.question=(0,h.default)({},t.question,{target:i(g.default.get(e,"question.multiLanguageTargets")),zones:s(g.default.get(e,"question.multiLanguageZones")),visibleZones:g.default.get(e,"question.zones[0].visible"),dropObjects:l(g.default.get(e,"question.multiLanguageDroppables"),g.default.get(n,"zoneConditions")),correctFeedback:{text:g.default.get(n,"feedback.text"),texts:g.default.get(n,"feedbacks"),answerId:g.default.get(n,"id"),fileIds:g.default.get(n,"fileIds")},incorrectFeedback:{text:g.default.get(r,"feedback.text"),texts:g.default.get(r,"feedbacks"),answerId:g.default.get(r,"id"),fileIds:g.default.get(r,"fileIds")}}),t}Object.defineProperty(t,"__esModule",{value:!0});var d=n(66),f=r(d),p=n(11),h=r(p);t.default=c;var m=n(3),g=r(m),v=n(137),y=r(v),b=n(65),_=n(104),w=n(50)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){switch(e){case h.default.item.multipleChoice:return E.default;case h.default.item.multipleAnswer:case h.default.item.reflection:case h.default.item.multipleReflection:return C.default;case h.default.item.audioUpload:return a.default;case h.default.item.shortAnswer:return k.default;case h.default.item.fileUpload:return f.default;case h.default.item.movableFillBlank:return y.default;case h.default.item.movableWordSandbox:return _.default;case h.default.item.movableWordSentence:return O.default;case h.default.item.imageSequence:return g.default;case h.default.item.dragAndDrop:return c.default;default:return u.default}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1406),a=r(i),s=n(137),u=r(s),l=n(1407),c=r(l),d=n(1409),f=r(d),p=n(65),h=r(p),m=n(1410),g=r(m),v=n(1412),y=r(v),b=n(1414),_=r(b),w=n(1415),C=r(w),x=n(1416),E=r(x),T=n(1417),k=r(T),S=n(1413),O=r(S)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=(0,a.default)(e);return t.question.correctFeedback=(0,s.createSingleCorrectFeedback)(e),t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(137),a=r(i),s=n(50)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=(0,p.default)("<div>").html(e.text),n=(0,p.default)("img",t),r=(0,p.default)("p",t);return{text:n?n.attr("src"):"",altText:n?n.attr("alt"):"",labelText:r?r.text():""}}function i(e){var t={};return d.default.each(e,function(e){t[e.languageTypeId]=o(e)}),t}function a(e,t,n){var r={};return d.default.forEach(e,function(e,o){var a=t.choiceIds.indexOf(e.id),s=a>=0,u=i(e.texts);r[e.id]={id:e.id,answerId:s?t.id:n,text:d.default.get(u,"["+y.languages.languageTypeId.english+"].text"),altText:d.default.get(u,"["+y.languages.languageTypeId.english+"].altText"),order:o+1,labelText:d.default.get(u,"["+y.languages.languageTypeId.english+"].labelText"),texts:u}}),r}function s(e){var t=(0,m.default)(e),n=d.default.find(e.answers,{genusTypeId:v.default.answer.rightAnswer}),r=d.default.find(e.answers,{genusTypeId:v.default.answer.wrongAnswer});return t.question=(0,l.default)({},t.question,{shuffle:d.default.get(e,"question.shuffle"),choices:a(d.default.get(e,"question.multiLanguageChoices"),n,d.default.get(r,"id")),correctFeedback:{text:d.default.get(n,"feedback.text"),texts:d.default.get(n,"feedbacks"),answerId:d.default.get(n,"id"),
+fileIds:d.default.get(n,"fileIds")},incorrectFeedback:{text:d.default.get(r,"feedback.text"),texts:d.default.get(r,"feedbacks"),answerId:d.default.get(r,"id"),fileIds:d.default.get(r,"fileIds")}}),t}Object.defineProperty(t,"__esModule",{value:!0});var u=n(11),l=r(u);t.default=s;var c=n(3),d=r(c),f=n(134),p=r(f),h=n(137),m=r(h),g=n(65),v=r(g),y=n(104)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n={id:e.id,type:"",url:"",autoPlay:t,altText:{},description:e.description,license:e.license,copyright:e.copyright,original:e,assetContentId:"",extension:""};return l.default.each(e.assetContents,function(e){var t=(0,c.getQbankMediaType)(e.genusTypeId);switch(t){case"image":case"video":case"audio":var r=/%3A(.*)%40/;n.extension=l.default.get(r.exec(e.genusTypeId),"[1]",""),n.type=t,n.url=e.url,n.assetContentId=e.id;break;case"altText":n.altText=e.altText;break;case"description":n.description=e.mediaDescription;break;case"vtt":n.vtt=(0,s.default)({},e,{assetContentId:e.id,id:e.assetId});break;case"transcript":n.transcript=(0,s.default)({},e,{assetContentId:e.id,id:e.assetId});break;default:console.log(e.genusTypeId)}}),n}function i(e){var t={image:{},audio:{},video:{}};return l.default.each(e,function(e){var n=o(e);n.type&&(t[n.type][n.id]=n)}),t}Object.defineProperty(t,"__esModule",{value:!0});var a=n(11),s=r(a);t.deserializeSingleMedia=o,t.deserializeMedia=i;var u=n(3),l=r(u),c=n(65)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r={};return p.default.forEach(e,function(e){var o=(0,_.deserializeMultiLanguageChoice)(e);r[e.id]=(0,d.default)({id:e.id,answerId:null,text:(0,_.parseChoiceText)(e.text),wordType:(0,_.parseChoiceWordType)(e.text),isCorrect:!1,blankId:n},o),p.default.forEach(t,function(t){p.default.includes(p.default.get(t,"inlineRegions."+n+".choiceIds"),e.id)&&(r[e.id]=(0,d.default)({},r[e.id],{feedback:p.default.get(t,"feedback.text"),isCorrect:t.genusTypeId===b.default.answer.rightAnswer,answerId:t.id}))})}),r}function i(e){var t=(0,m.default)("<div></div>").html(e),n=(0,m.default)("p, inlineChoiceInteraction",t).map(function(e,t){return"INLINECHOICEINTERACTION"===t.nodeName?"[_]":t.textContent});return n.toArray().join(" ")}function a(e){return p.default.map(e,function(e){var t=p.default.cloneDeep(e);return t.text=i(t.text),t})}function s(e){var t=(0,m.default)("<div></div>").html(e);return(0,m.default)("inlineChoiceInteraction",t).attr("id")}function u(e){var t=p.default.first(p.default.keys(p.default.get(e,"question.choices")));if(t)return t;var n=p.default.get(e,"question.texts");return p.default.each(n,function(e){return t=s(e.text),!t}),t}function l(e){var t=(0,v.default)(e),n=p.default.find(e.answers,{genusTypeId:b.default.answer.rightAnswer}),r=p.default.find(e.answers,{genusTypeId:b.default.answer.wrongAnswer}),s=u(e);return t.question=(0,d.default)({},t.question,{text:i(t.question.text),texts:a(t.question.texts),choices:o(p.default.get(e,'question.multiLanguageChoices["'+s+'"]'),e.answers,s),inlineRegionId:s,correctFeedback:{texts:p.default.get(n,"feedbacks"),text:p.default.get(n,"feedback.text"),answerId:p.default.get(n,"id"),fileIds:p.default.get(n,"fileIds")},incorrectFeedback:{texts:p.default.get(r,"feedbacks"),text:p.default.get(r,"feedback.text"),answerId:p.default.get(r,"id"),fileIds:p.default.get(r,"fileIds")}}),t}Object.defineProperty(t,"__esModule",{value:!0});var c=n(11),d=r(c);t.default=l;var f=n(3),p=r(f),h=n(134),m=r(h),g=n(137),v=r(g),y=n(65),b=r(y),_=n(50)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r=(0,h.deserializeMultiLanguageChoices)(e),o=0;return l.default.each(r,function(e,i){var a=t.choiceIds.indexOf(e.id),s=a>=0;r[i]=l.default.merge({},e,{answerId:s?t.id:n,order:o,answerOrder:s?a:""}),o+=1}),r}function i(e){var t=(0,d.default)(e),n=l.default.find(e.answers,{genusTypeId:p.default.answer.rightAnswer}),r=l.default.find(e.answers,{genusTypeId:p.default.answer.wrongAnswer}),i=l.default.get(e,"question.multiLanguageChoices",{});return t.question=(0,s.default)({},t.question,{shuffle:l.default.get(e,"question.shuffle"),choices:o(i,n,l.default.get(r,"id")),correctFeedback:{texts:l.default.get(n,"feedbacks"),text:l.default.get(n,"feedback.text"),answerId:l.default.get(n,"id"),fileIds:l.default.get(n,"fileIds")},incorrectFeedback:{texts:l.default.get(r,"feedbacks"),text:l.default.get(r,"feedback.text"),answerId:l.default.get(r,"id"),fileIds:l.default.get(r,"fileIds")}}),t}Object.defineProperty(t,"__esModule",{value:!0});var a=n(11),s=r(a);t.default=i;var u=n(3),l=r(u),c=n(137),d=r(c),f=n(65),p=r(f),h=n(50)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=p.default.parseHTML(e);return{text:(0,p.default)(t).text(),wordType:(0,p.default)(t).attr("class")}}function i(e){return(0,l.default)({},o(e.text),{id:e.id})}function a(e){var t={};return d.default.each(e,function(e){t[e.id]=i(e)}),t}function s(e){var t=(0,m.default)(e),n=d.default.get(e,"question.timeValue",{hours:"00",minutes:"00",seconds:d.default.toString(g.audioLimit)}),r=(0,v.deserializeMultiLanguageChoices)(d.default.get(e,"question.multiLanguageChoices",{}));return t.question=(0,l.default)({},t.question,{timeValue:n,choices:r,correctFeedback:(0,v.createSingleCorrectFeedback)(e)}),t}Object.defineProperty(t,"__esModule",{value:!0});var u=n(11),l=r(u);t.deserializeChoices=a,t.default=s;var c=n(3),d=r(c),f=n(134),p=r(f),h=n(137),m=r(h),g=n(136),v=n(50)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};return l.default.forEach(e,function(e,r){n[e.id]={id:e.id,answerId:null,text:e.texts[0].text,texts:(0,h.deserializeChoiceTexts)(e.texts),order:r,isCorrect:!1},l.default.forEach(t,function(t){l.default.includes(t.choiceIds,e.id)&&(n[e.id]=(0,s.default)({},n[e.id],{feedback:l.default.get(t,"feedback.text"),feedbacks:l.default.get(t,"feedbacks"),isCorrect:t.genusTypeId===p.default.answer.rightAnswer,answerId:t.id}))})}),n}function i(e){var t=(0,d.default)(e),n=l.default.find(e.answers,{genusTypeId:p.default.answer.rightAnswer}),r=l.default.find(e.answers,{genusTypeId:p.default.answer.wrongAnswer});return t.question=(0,s.default)({},t.question,{shuffle:l.default.get(e,"question.shuffle"),choices:o(l.default.get(e,"question.multiLanguageChoices"),e.answers),correctFeedback:{text:l.default.get(n,"feedback.text"),texts:l.default.get(n,"feedbacks"),answerId:l.default.get(n,"id"),fileIds:l.default.get(n,"fileIds")},incorrectFeedback:{text:l.default.get(r,"feedback.text"),texts:l.default.get(r,"feedbacks"),answerId:l.default.get(r,"id"),fileIds:l.default.get(r,"fileIds")}}),t}Object.defineProperty(t,"__esModule",{value:!0});var a=n(11),s=r(a);t.default=i;var u=n(3),l=r(u),c=n(137),d=r(c),f=n(65),p=r(f),h=n(50)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};return l.default.forEach(e,function(e,r){n[e.id]={id:e.id,answerId:null,text:e.texts[0].text,texts:(0,h.deserializeChoiceTexts)(e.texts),order:r,feedback:"",fileIds:{},isCorrect:!1},l.default.forEach(t,function(t){l.default.includes(t.choiceIds,e.id)&&(n[e.id]=(0,s.default)({},n[e.id],{feedback:l.default.get(t,"feedback.text"),feedbacks:l.default.get(t,"feedbacks"),isCorrect:t.genusTypeId===p.default.answer.rightAnswer,answerId:t.id,fileIds:(0,s.default)({},n[e.id].fileIds,t.fileIds)}))})}),n}function i(e){var t=(0,d.default)(e);return t.question=(0,s.default)({},t.question,{shuffle:l.default.get(e,"question.shuffle"),choices:o(l.default.get(e,"question.multiLanguageChoices"),e.answers)}),t}Object.defineProperty(t,"__esModule",{value:!0});var a=n(11),s=r(a);t.default=i;var u=n(3),l=r(u),c=n(137),d=r(c),f=n(65),p=r(f),h=n(50)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=(0,c.default)(e);return t.question=(0,a.default)({},t.question,{correctFeedback:(0,d.createSingleCorrectFeedback)(e),maxStrings:u.default.get(e,"question.maxStrings"),expectedLength:u.default.get(e,"question.expectedLength"),expectedLines:u.default.get(e,"question.expectedLines")}),t}Object.defineProperty(t,"__esModule",{value:!0});var i=n(11),a=r(i);t.default=o;var s=n(3),u=r(s),l=n(137),c=r(l),d=n(50)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=t.question,r=t.language,o=(0,s.baseItem)(e,t);return n&&(n.correctFeedback&&(o.answers=[(0,u.getSingleCorrectAnswer)(e,n,r)]),a.default.isEmpty(a.default.get(t,"question.timeValue",{}))||(o.question.timeValue=a.default.merge({},t.question.timeValue))),(0,u.scrub)(o)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(3),a=r(i),s=n(138),u=n(50)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r=/.*\/(.*)\/stream$/.exec(e),o=e;if(r){var i=h.default.findKey(n,{assetContentId:r[1]});o="AssetContent:"+i}return'<img src="'+o+'" alt="'+t+'"/>'}function i(e,t,n,r){if(!t)return null;var i=h.default.get(e,"images["+r+"]",""),a=o(h.default.get(t,"text",i),h.default.get(t,"altText"),n);return[(0,v.scrub)({id:h.default.get(e,"id"),text:(0,v.languageText)(a,r),name:h.default.get(t,"altText"),dropBehaviorType:b.default.target.reject})]}function a(e,t,n,r,o){if(!t&&h.default.isNil(r))return null;var i=h.default.map(e,function(e){var a=h.default.get(i,"labels["+o+"].text",""),s=h.default.get(t,"["+e.id+"]");return(0,v.scrub)({id:h.default.get(e,"id"),spatialUnit:{height:h.default.get(s,"height",e.height),width:h.default.get(s,"width",e.width),coordinateValues:[h.default.get(s,"xPos",e.xPos),h.default.get(s,"yPos",e.yPos)],recordType:b.default.zone.rectangle},reuse:0,dropBehaviorType:b.default.zone[h.default.get(s,"type",e.type)],name:(0,v.languageText)(h.default.get(s,"label",a),o),visible:r,containerId:n,delete:h.default.get(s,"delete")})});return t&&t.new&&i.push({spatialUnit:{height:t.new.height||100,width:t.new.width||100,coordinateValues:[20,20],recordType:b.default.zone.rectangle},reuse:0,dropBehaviorType:b.default.zone[t.new.type],visible:r,containerId:n,name:"",description:"A new zone"}),i}function s(e,t,n,r){if(!t)return null;var i=h.default.map(e,function(e){var i=h.default.get(t,"["+e.id+"]",{}),a=h.default.merge({},e.images,i.images),s=h.default.merge({},e.labels,i.labels),u=i.text||h.default.get(a,r+".text",""),l=h.default.get(s,r+".text",""),c=o(u,l,n);return(0,v.scrub)({id:e.id,text:(0,v.languageText)(c,r),dropBehaviorType:b.default.zone[h.default.get(i,"type",e.type)],name:(0,v.languageText)(l,r),reuse:1,delete:h.default.get(i,"delete")})});if(t&&t.new){var a=o(t.new.text,t.new.altText,n);i.push({text:(0,v.languageText)(a,r),dropBehaviorType:b.default.zone.snap,reuse:1})}return i}function u(e,t,n){var r=(0,f.default)({},e.fileIds,t.fileIds),o={targets:i(e.target,t.target,r,n),droppables:s(e.dropObjects,t.dropObjects,r,n),zones:a(e.zones,t.zones,h.default.get(e,"target.id"),h.default.get(t,"visibleZones"),n)};return(0,v.scrub)(o)}function l(e,t,n,r,o,i){var a=[],s={id:h.default.get(h.default.find(n,{genusTypeId:b.default.answer.rightAnswer}),"id"),genusTypeId:b.default.answer.rightAnswer,feedback:(0,v.languageText)(h.default.get(r,"text"),i),fileIds:h.default.get(r,"fileIds"),zoneConditions:(0,v.scrub)(h.default.map(e,function(e){var n=h.default.get(t,"["+e.id+"].correctZone",e.correctZone);return n?{droppableId:e.id,zoneId:n}:null}))},u={id:h.default.get(h.default.find(n,{genusTypeId:b.default.answer.wrongAnswer}),"id"),genusTypeId:b.default.answer.wrongAnswer,feedback:(0,v.languageText)(h.default.get(o,"text"),i),fileIds:h.default.get(o,"fileIds"),zoneConditions:[]};return s=(0,v.scrub)(s),u=(0,v.scrub)(u),a.push(s),a.push(u),a}function c(e,t){var n=(0,g.default)(e,t),r=t.question,o=t.language;return r&&(n.question=(0,f.default)({},n.question,u(e.question,r,o))),(r.zones||r.dropObjects||r.correctFeedback||r.incorrectFeedback)&&(n.answers=l(e.question.dropObjects,r.dropObjects,h.default.get(e,"originalItem.answers"),h.default.get(r,"correctFeedback"),h.default.get(r,"incorrectFeedback"),o)),(0,v.scrub)(n)}Object.defineProperty(t,"__esModule",{value:!0});var d=n(11),f=r(d);t.default=c;var p=n(3),h=r(p),m=n(138),g=r(m),v=n(50),y=n(65),b=r(y)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){switch(e){case k.default.multipleChoice:return g.default;case k.default.shortAnswer:return y.default;case k.default.audioUpload:return a.default;case k.default.reflection:case k.default.multipleReflection:return _.default;case k.default.multipleAnswer:return h.default;case k.default.fileUpload:return u.default;case k.default.movableFillBlank:return c.default;case k.default.movableWordSandbox:return f.default;case k.default.movableWordSentence:return C.default;case k.default.imageSequence:return O.default;case k.default.dragAndDrop:return E.default;default:throw"We could not find a type for serializing"}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1418),a=r(i),s=n(1421),u=r(s),l=n(1423),c=r(l),d=n(1425),f=r(d),p=n(1426),h=r(p),m=n(1427),g=r(m),v=n(1428),y=r(v),b=n(1364),_=r(b),w=n(1424),C=r(w),x=n(1419),E=r(x),T=n(136),k=r(T),S=n(1422),O=r(S)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=(0,a.default)(e,t),r=t.question,o=t.language;return r&&r.correctFeedback&&(n.answers=[(0,s.getSingleCorrectAnswer)(e,r,o)]),(0,s.scrub)(n)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(138),a=r(i),s=n(50)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r=d.default.map(e,function(e){var r=t[e.id],o=d.default.get(r,"order"),i=d.default.get(e,"texts["+n+"].labelText",""),a=d.default.get(e,"texts["+n+"].text",""),s=d.default.get(e,"texts["+n+"].altText",""),u=d.default.get(r,"text",a),l=d.default.get(r,"labelText",i),c=d.default.get(r,"altText",s),f="<p>"+l+"</p><img src='"+u+"' alt='"+c+"'>";return{id:e.id,text:(0,h.languageText)(f,n),order:d.default.isNil(o)?e.order:o,delete:d.default.get(r,"delete")}});if(t.new){var o="<p></p><img src='"+t.new.text+"' alt='"+t.new.altText+"'>";r.push({id:(0,y.default)(),text:(0,h.languageText)(o,n),order:r.length})}return r}function i(e,t,n){var r={choices:null};return t.choices&&(r.choices=o(e.choices,t.choices,n)),(0,h.scrub)(r)}function a(e,t,n,r,o,i){var a=[],s=d.default.cloneDeep(e);d.default.forEach(t,function(e,t){s[t]=(0,l.default)({},s[t],e)});var u={id:d.default.get(d.default.find(n,{genusTypeId:g.default.answer.rightAnswer}),"id"),genusTypeId:g.default.answer.rightAnswer,feedback:(0,h.languageText)(d.default.get(r,"text"),i),type:g.default.answer.multipleAnswer,choiceIds:d.default.map(d.default.orderBy(d.default.filter(s,function(e){return""!==e.order}),"order"),"id"),fileIds:d.default.get(r,"fileIds")},c={id:d.default.get(d.default.find(n,{genusTypeId:g.default.answer.wrongAnswer}),"id"),genusTypeId:g.default.answer.wrongAnswer,feedback:(0,h.languageText)(d.default.get(o,"text"),i),type:g.default.answer.multipleAnswer,choiceIds:[],fileIds:d.default.get(o,"fileIds")};return u=(0,h.scrub)(u),c=(0,h.scrub)(c),c.choiceIds=[],a.push(u),a.push(c),a}function s(e,t){var n=(0,p.default)(e,t),r=t.question,o=t.language;return r&&(n.question=(0,l.default)({},n.question,i(e.question,r,o)),(r.choices||r.correctFeedback||r.incorrectFeedback)&&(n.answers=a(e.question.choices,r.choices,d.default.get(e,"originalItem.answers"),d.default.get(r,"correctFeedback"),d.default.get(r,"incorrectFeedback"),o))),(0,h.scrub)(n)}Object.defineProperty(t,"__esModule",{value:!0});var u=n(11),l=r(u);t.default=s;var c=n(3),d=r(c),f=n(138),p=r(f),h=n(50),m=n(65),g=r(m),v=n(157),y=r(v)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n,r){var o=(0,g.extractAllLanguageChoices)((0,g.addNewChoices)(e,r)),i=p.default.map(o,function(e){var n=t[e.id],o=e.language&&e.language===r,i=p.default.get(n,"texts["+r+"]",{}),a=o?i.text||e.text:e.text,s=i.wordType||e.wordType,u=(0,g.buildChoiceText)(a,s);return{id:e.id,text:(0,g.languageText)(u,e.language),delete:p.default.get(n,"delete")}});return t.new&&i.push({id:(0,_.default)(),text:(0,g.languageText)("",r)}),(0,d.default)({},n,{choices:i})}function i(e,t,n,r){var i={inlineRegions:null},a=e.inlineRegionId||(0,_.default)();if(t.choices?i.inlineRegions=o(e.choices,t.choices,a,r):e.inlineRegionId||(i.inlineRegions=(0,d.default)({},a,{choices:[]})),n){var s=p.default.cloneDeep(n),u=s.text.replace("[ _ ]","[_]").split(" ");s.text=p.default.map(u,function(e){return"[_]"===e?'<inlineChoiceInteraction responseIdentifier="'+a+'"></inlineChoiceInteraction>':(0,g.buildChoiceText)(e,"other")}).join(""),i.questionString=s}return(0,g.scrub)(i)}function a(e,t,n,r,o,i){var a=p.default.get(p.default.values(e),"[0].blankId"),s=p.default.findKey(t,function(e){return e.isCorrect})||p.default.findKey(e,function(e){return e.isCorrect}),u=[],l={id:p.default.get(p.default.find(n,{genusTypeId:y.default.answer.rightAnswer}),"id"),genusTypeId:y.default.answer.rightAnswer,feedback:(0,g.languageText)(p.default.get(r,"text"),i),choiceIds:[],fileIds:p.default.get(r,"fileIds"),region:a},c={id:p.default.get(p.default.find(n,{genusTypeId:y.default.answer.wrongAnswer}),"id"),genusTypeId:y.default.answer.wrongAnswer,feedback:(0,g.languageText)(p.default.get(o,"text"),i),fileIds:p.default.get(o,"fileIds")};return p.default.each(e,function(e){e.id===s&&l.choiceIds.push(e.id)}),l=(0,g.scrub)(l,["choiceIds"]),c=(0,g.scrub)(c,["choiceIds"]),u.push(l),u.push(c),u}function s(e,t){var n=(0,m.default)(e,t),r=t.question,o=t.language;return r&&(n.question=(0,l.default)({},n.question,i(e.question,r,n.question.questionString,o)),(r.choices||r.correctFeedback||r.incorrectFeedback)&&(n.answers=a(e.question.choices,r.choices,p.default.get(e,"originalItem.answers"),p.default.get(r,"correctFeedback"),p.default.get(r,"incorrectFeedback"),o))),(0,g.scrub)(n)}Object.defineProperty(t,"__esModule",{value:!0});var u=n(11),l=r(u),c=n(66),d=r(c);t.default=s;var f=n(3),p=r(f),h=n(138),m=r(h),g=n(50),v=n(65),y=r(v),b=n(157),_=r(b)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r=(0,h.extractAllLanguageChoices)((0,h.addNewChoices)(e,n)),o=d.default.map(r,function(e){var r=e.language,o=t[e.id],i=d.default.get(o,"order"),a=d.default.get(o,"wordType"),s=n&&n===e.language?d.default.get(o,"text"):"",u=(0,h.buildChoiceText)(s||e.text,a||e.wordType||b);return{id:e.id,text:(0,h.languageText)(u,r),order:d.default.isNil(i)?e.order:i,delete:d.default.get(o,"delete")}});return t.new&&o.push({id:(0,y.default)(),text:"",order:o.length}),o}function i(e,t,n){var r={shuffle:d.default.isNil(t.shuffle)?null:t.shuffle,choices:null};return t.choices&&(r.choices=o(e.choices,t.choices,n)),(0,h.scrub)(r)}function a(e,t,n,r,o,i){var a=[],s=d.default.cloneDeep(e);d.default.forEach(t,function(e,t){s[t]=(0,l.default)({},s[t],e)});var u={id:d.default.get(d.default.find(n,{genusTypeId:g.default.answer.rightAnswer}),"id"),genusTypeId:g.default.answer.rightAnswer,feedback:(0,h.languageText)(d.default.get(r,"text"),i),type:g.default.answer.multipleAnswer,choiceIds:(0,d.default)(s).filter(function(e){return!d.default.isNil(e.answerOrder)&&""!==e.answerOrder}).orderBy("answerOrder").map("id").value(),fileIds:d.default.get(r,"fileIds")},c={id:d.default.get(d.default.find(n,{genusTypeId:g.default.answer.wrongAnswer}),"id"),genusTypeId:g.default.answer.wrongAnswer,feedback:(0,h.languageText)(d.default.get(o,"text"),i),type:g.default.answer.multipleAnswer,choiceIds:[],fileIds:d.default.get(o,"fileIds")};return u=(0,h.scrub)(u),c=(0,h.scrub)(c,"choiceIds"),a.push(u),a.push(c),a}function s(e,t){var n=(0,p.default)(e,t),r=t.question,o=t.language;return r&&(n.question=(0,l.default)({},n.question,i(e.question,r,o)),(r.choices||r.correctFeedback||r.incorrectFeedback)&&(n.answers=a(e.question.choices,r.choices,d.default.get(e,"originalItem.answers"),d.default.get(r,"correctFeedback"),d.default.get(r,"incorrectFeedback"),o))),(0,h.scrub)(n)}Object.defineProperty(t,"__esModule",{value:!0});var u=n(11),l=r(u);t.default=s;var c=n(3),d=r(c),f=n(138),p=r(f),h=n(50),m=n(65),g=r(m),v=n(157),y=r(v),b="other"},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=e.id,r=e.text,o=e.wordType,i=e.language,a=e.language&&e.language===t.language,s=t.text||r;return{id:n,text:a?s:r,wordType:t.wordType||o,language:i,delete:t.delete}}function i(e,t){return h.default.reduce(t,function(t,n){var r=h.default.filter(e,function(e){return e.id===n.id}),i=h.default.map(r,function(e){return o(e,n)});return t.concat(i)},[])}function a(e,t){var n=(0,g.extractAllLanguageChoices)((0,g.addNewChoices)(e,t)),r=h.default.map(e,function(e){return(0,c.default)({},e,{language:t})}),o=i(n,r);return h.default.map(o,function(e){return w(e)})}function s(e,t){return(0,c.default)({},h.default.get(e,"fileIds",{}),h.default.get(t,"fileIds",{}))}function u(e,t){var n=(0,m.baseItem)(e,t),r=t.question,o=t.language;h.default.isEmpty(h.default.get(t,"question.timeValue",{}))||(n.question.timeValue=h.default.merge({},t.question.timeValue));var i=h.default.get(t,"question.choices",{});if(!h.default.isEmpty(i)){var s=h.default.get(e,"question.choices",{}),u=h.default.map(i,function(e){var t=h.default.get(s,"["+e.id+"]",{});return"new"===e.id?_(o):h.default.merge({},{texts:t.texts},e)});h.default.set(n,"question.choices",a(u,o))}var l=h.default.get(r,"correctFeedback");return l&&(n.answers=[(0,g.getSingleCorrectAnswer)(e,r,o)]),n}Object.defineProperty(t,"__esModule",{value:!0});var l=n(11),c=r(l),d=n(66),f=r(d);t.updateLanguageChoice=o,t.updateLanguageChoices=i,t.serializeChoices=a,t.serializeFileIds=s,t.default=u;var p=n(3),h=r(p),m=n(138),g=n(50),v=n(157),y=r(v),b=function(e){return e.wordType?"<p class='"+e.wordType+"'>"+e.text+"</p>":"<p>"+e.text+"</p>"},_=function(e){return{id:(0,y.default)(),texts:(0,f.default)({},e,{text:""})}},w=function(e){var t=e.language,n=e.text||h.default.get(e,"texts["+t+"].text",""),r=e.wordType||h.default.get(e,"texts["+t+"].wordType","");return(0,g.scrub)({delete:e.delete,id:e.id,text:(0,g.languageText)(b({text:n,wordType:r}),t)})}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r=g.default.get(e,"texts["+n+"]",""),o=(0,h.default)({},e,t,{text:t.text||r});return{id:o.id,text:(0,b.languageText)(o.text,n),delete:o.delete}}function i(e,t,n){if(t.new){var r=o({id:(0,x.default)(),text:""},{},n);return[r]}return g.default.map(g.default.toPairs(t),function(t){return o(e[t[0]],t[1],n)})}function a(e,t,n){var r={multiAnswer:t.multiAnswer,shuffle:t.shuffle,timeValue:t.timeValue,choices:null};return t.choices&&(r.choices=i(e.choices,t.choices,n)),(0,b.scrub)(r)}function s(e){var t=(0,g.default)(e).toPairs().filter(function(e){return e[1].isCorrect}).map(function(e){return e[0]}).value();return t}function u(e,t,n,r,o,i){var a,u=[],l={id:g.default.get(g.default.find(n,{genusTypeId:w.default.answer.rightAnswer}),"id"),genusTypeId:w.default.answer.rightAnswer,feedback:(0,b.languageText)(g.default.get(r,"text"),i),type:w.default.answer.multipleAnswer,choiceIds:[],fileIds:g.default.get(r,"fileIds")},c={id:g.default.get(g.default.find(n,{genusTypeId:w.default.answer.wrongAnswer}),"id"),genusTypeId:w.default.answer.wrongAnswer,feedback:(0,b.languageText)(g.default.get(o,"text"),i),type:w.default.answer.multipleAnswer,choiceIds:[],fileIds:g.default.get(o,"fileIds")},d=g.default.merge({},e,t);return(a=l.choiceIds).push.apply(a,(0,f.default)(s(d))),l=(0,b.scrub)(l,["choiceIds"]),c=(0,b.scrub)(c,["choiceIds"]),u.push(l),u.push(c),u}function l(e){return g.default.map(e,function(e){return{id:e.id,delete:!0}})}function c(e,t){var n=(0,y.default)(e,t),r=t.question,o=t.language;return r&&(n.question=(0,h.default)({},n.question,a(e.question,r,o)),(r.choices||r.correctFeedback||r.incorrectFeedback)&&(t.type&&e.type!==t.type?n.answers=l(g.default.get(e,"originalItem.answers")):n.answers=u(e.question.choices,r.choices,g.default.get(e,"originalItem.answers"),g.default.get(r,"correctFeedback"),g.default.get(r,"incorrectFeedback"),o))),(0,b.scrub)(n)}Object.defineProperty(t,"__esModule",{value:!0});var d=n(503),f=r(d),p=n(11),h=r(p);t.default=c;var m=n(3),g=r(m),v=n(138),y=r(v),b=n(50),_=n(65),w=r(_),C=n(157),x=r(C)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r=[];if(t.new)return r.push({id:(0,_.default)(),text:(0,g.languageText)("",t.new.language)}),r;var o=(0,p.default)(t).entries().filter(function(e){return"new"!==e[0]&&!p.default.isUndefined(e[1].text)}).map(function(e){return{id:e[0],text:(0,g.languageText)(e[1].text,n),delete:e[1].delete}}).value();return r.concat(o)}function i(e,t,n){var r={shuffle:p.default.isNil(t.shuffle)?null:t.shuffle,timeValue:t.timeValue,choices:null};return t.choices&&(r.choices=o(e.choices,t.choices,n)),(0,g.scrub)(r)}function a(e,t,n){return p.default.isNil(e)?n?y.default.answer.rightAnswer:y.default.answer.wrongAnswer:e===t?y.default.answer.rightAnswer:y.default.answer.wrongAnswer}function s(e,t,n){var r=null;p.default.forEach(t,function(e,t){p.default.get(e,"isCorrect")&&(r=t)});var o=(0,p.default)(t).entries().filter(function(e){return!("new"===e[1].id||p.default.isUndefined(e[1].feedback)&&p.default.isUndefined(e[1].isCorrect))}).map(function(t){var o=e[t[0]],i=t[1].feedback||(0,w.languageText)(o.feedbacks,n);return(0,g.scrub)({id:o.answerId,genusTypeId:a(r,o.id,o.isCorrect),feedback:(0,g.languageText)(i,n),type:y.default.answer.multipleChoice,choiceIds:[o.id],fileIds:t[1].fileIds,delete:t[1].delete})}).value();return o}function u(e){return p.default.map(e,function(e){return{id:e.id,delete:!0}})}function l(e,t){var n=(0,m.default)(e,t),r=t.question,o=t.language;return r&&(n.question=(0,d.default)({},n.question,i(e.question,r,o)),r.choices&&(t.type&&e.type!==t.type?n.answers=u(p.default.get(e,"originalItem.answers")):n.answers=s(e.question.choices,r.choices,o))),(0,g.scrub)(n)}Object.defineProperty(t,"__esModule",{value:!0});var c=n(11),d=r(c);t.default=l;var f=n(3),p=r(f),h=n(138),m=r(h),g=n(50),v=n(65),y=r(v),b=n(157),_=r(b),w=n(211)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=(0,c.default)(e,t),r=t.question,o=t.language;return r&&(r.correctFeedback&&(n.answers=[(0,d.getSingleCorrectAnswer)(e,r,o)]),r.expectedLines&&(n.question=(0,a.default)({},n.question,{maxStrings:u.default.get(t,"question.maxStrings"),expectedLength:u.default.get(t,"question.expectedLength"),expectedLines:u.default.get(t,"question.expectedLines")}))),(0,d.scrub)(n)}Object.defineProperty(t,"__esModule",{value:!0});var i=n(11),a=r(i);t.default=o;var s=n(3),u=r(s),l=n(138),c=r(l),d=n(50)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(66),i=r(o),a=n(210),s=r(a),u=n(220);t.default=(0,i.default)({},u.Constants.REFRESH_JWT,{method:s.default.GET,url:function(e){return"api/sessions/"+e.userId}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){a.default.each(e,function(e){return t.dispatch(e)})}Object.defineProperty(t,"__esModule",{value:!0}),t.dispatchMany=o;var i=n(3),a=r(i)},,,,,,,function(e,t,n){var r,o;/*!
+	  Copyright (c) 2016 Jed Watson.
+	  Licensed under the MIT License (MIT), see
+	  http://jedwatson.github.io/classnames
+	*/
+!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r))e.push(n.apply(null,r));else if("object"===o)for(var a in r)i.call(r,a)&&r[a]&&e.push(a)}}return e.join(" ")}var i={}.hasOwnProperty;"undefined"!=typeof e&&e.exports?e.exports=n:(r=[],o=function(){return n}.apply(t,r),!(void 0!==o&&(e.exports=o)))}()},function(e,t,n){"use strict";function r(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}function o(e,t){var n,o,s,u,l,c,d=!1;t||(t={}),n=t.debug||!1;try{s=i(),u=document.createRange(),l=document.getSelection(),c=document.createElement("span"),c.textContent=e,c.style.all="unset",c.style.position="fixed",c.style.top=0,c.style.clip="rect(0, 0, 0, 0)",c.style.whiteSpace="pre",c.style.webkitUserSelect="text",c.style.MozUserSelect="text",c.style.msUserSelect="text",c.style.userSelect="text",document.body.appendChild(c),u.selectNode(c),l.addRange(u);var f=document.execCommand("copy");if(!f)throw new Error("copy command was unsuccessful");d=!0}catch(i){n&&console.error("unable to copy using execCommand: ",i),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData("text",e),d=!0}catch(i){n&&console.error("unable to copy using clipboardData: ",i),n&&console.error("falling back to prompt"),o=r("message"in t?t.message:a),window.prompt(o,e)}}finally{l&&("function"==typeof l.removeRange?l.removeRange(u):l.removeAllRanges()),c&&document.body.removeChild(c),s()}return d}var i=n(1483),a="Copy to clipboard: #{key}, Enter";e.exports=o},,,,,,,,,,,function(e,t){function n(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function r(e){if(!(this instanceof r))return new r(e);e||(e={}),e.nodeType&&(e={el:e}),this.opts=e,this.el=e.el||document.body,"object"!=typeof this.el&&(this.el=document.querySelector(this.el))}e.exports=function(e){return new r(e)},r.prototype.add=function(e){var t=this.el;if(t){if(""===t.className)return t.className=e;var r=t.className.split(" ");return n(r,e)>-1?r:(r.push(e),t.className=r.join(" "),r)}},r.prototype.remove=function(e){var t=this.el;if(t&&""!==t.className){var r=t.className.split(" "),o=n(r,e);return o>-1&&r.splice(o,1),t.className=r.join(" "),r}},r.prototype.has=function(e){var t=this.el;if(t){var r=t.className.split(" ");return n(r,e)>-1}},r.prototype.toggle=function(e){var t=this.el;t&&(this.has(e)?this.remove(e):this.add(e))}},function(e,t,n){var r;/*!
+	  Copyright (c) 2015 Jed Watson.
+	  Based on code that is Copyright 2013-2015, Facebook, Inc.
+	  All rights reserved.
+	*/
+!function(){"use strict";var o=!("undefined"==typeof window||!window.document||!window.document.createElement),i={canUseDOM:o,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:o&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:o&&!!window.screen};r=function(){return i}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}()},,,,,,function(e,t,n){"use strict";function r(e){var t=e&&(w&&e[w]||e[C]);if("function"==typeof t)return t}function o(e){var t=/[=:]/g,n={"=":"=0",":":"=2"},r=(""+e).replace(t,function(e){return n[e]});return"$"+r}function i(e,t){return e&&"object"==typeof e&&null!=e.key?o(e.key):t.toString(36)}function a(e,t,n,o){var s=typeof e;if("undefined"!==s&&"boolean"!==s||(e=null),null===e||"string"===s||"number"===s||"object"===s&&e.$$typeof===m)return n(o,e,""===t?b+i(e,0):t),1;var u,l,c=0,d=""===t?b:t+_;if(Array.isArray(e))for(var f=0;f<e.length;f++)u=e[f],l=d+i(u,f),c+=a(u,l,n,o);else{var p=r(e);if(p)for(var h,g=p.call(e),y=0;!(h=g.next()).done;)u=h.value,l=d+i(u,y++),c+=a(u,l,n,o);else if("object"===s){var w="",C=""+e;v(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===C?"object with keys {"+Object.keys(e).join(", ")+"}":C,w)}}return c}function s(e,t,n){return null==e?0:a(e,"",t,n)}function u(e){return(""+e).replace(x,"$&/")}function l(e,t){return h.cloneElement(e,{key:t},void 0!==e.props?e.props.children:void 0)}function c(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function d(e,t,n){var r=e.result,o=e.keyPrefix,i=e.func,a=e.context,s=i.call(a,t,e.count++);Array.isArray(s)?f(s,r,n,g.thatReturnsArgument):null!=s&&(h.isValidElement(s)&&(s=l(s,o+(!s.key||t&&t.key===s.key?"":u(s.key)+"/")+n)),r.push(s))}function f(e,t,n,r,o){var i="";null!=n&&(i=u(n)+"/");var a=c.getPooled(t,i,r,o);s(e,d,a),c.release(a)}function p(e){if("object"!=typeof e||!e||Array.isArray(e))return y(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(h.isValidElement(e))return y(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;v(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)f(e[n],t,n,g.thatReturnsArgument);return t}var h=n(1),m="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,g=n(40),v=n(10),y=n(13),b=".",_=":",w="function"==typeof Symbol&&Symbol.iterator,C="@@iterator",x=/\/+/g,E=10,T=k,k=function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)},S=function(e,t){var n=e;return n.instancePool=[],n.getPooled=t||T,n.poolSize||(n.poolSize=E),n.release=O,n},O=function(e){var t=this;v(e instanceof t,"Trying to release an instance into a pool of a different type."),e.destructor(),t.instancePool.length<t.poolSize&&t.instancePool.push(e)},M=function(e,t,n,r){var o=this;if(o.instancePool.length){var i=o.instancePool.pop();return o.call(i,e,t,n,r),i}return new o(e,t,n,r)};c.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},S(c,M);e.exports=p},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}Object.defineProperty(t,"__esModule",{value:!0}),t.CopyToClipboard=void 0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(1),s=r(a),u=n(57),l=r(u),c=n(22),d=r(c),f=n(1438),p=r(f);t.CopyToClipboard=(0,l.default)({propTypes:{text:d.default.string.isRequired,children:d.default.element.isRequired,onCopy:d.default.func,options:d.default.shape({debug:d.default.bool,message:d.default.string})},onClick:function(e){var t=this.props,n=t.text,r=t.onCopy,o=t.children,i=t.options,a=s.default.Children.only(o),u=(0,p.default)(n,i);r&&r(n,u),a&&a.props&&"function"==typeof a.props.onClick&&a.props.onClick(e)},render:function(){var e=this.props,t=(e.text,e.onCopy,e.options,e.children),n=o(e,["text","onCopy","options","children"]),r=s.default.Children.only(t);return s.default.cloneElement(r,i({},n,{onClick:this.onClick}))}})},function(e,t,n){"use strict";var r=n(1457),o=r.CopyToClipboard;e.exports=o},function(e,t,n){function r(e){return e()}var o=n(1),i=n(106),a=n(22),s=n(1450),u=o.createFactory(n(1460)),l=n(1461),c=n(1463),d=n(1449),f=n(106).unstable_renderSubtreeIntoContainer,p=n(1245),h=n(57),m=s.canUseDOM?window.HTMLElement:{},g=s.canUseDOM?document.body:{appendChild:function(){}},v=h({displayName:"Modal",statics:{setAppElement:function(e){g=l.setElement(e)},injectCSS:function(){}},propTypes:{isOpen:a.bool.isRequired,style:a.shape({content:a.object,overlay:a.object}),portalClassName:a.string,appElement:a.instanceOf(m),onAfterOpen:a.func,onRequestClose:a.func,closeTimeoutMS:a.number,ariaHideApp:a.bool,shouldCloseOnOverlayClick:a.bool,parentSelector:a.func,role:a.string,contentLabel:a.string.isRequired},getDefaultProps:function(){return{isOpen:!1,portalClassName:"ReactModalPortal",ariaHideApp:!0,closeTimeoutMS:0,shouldCloseOnOverlayClick:!0,parentSelector:function(){return document.body}}},componentDidMount:function(){this.node=document.createElement("div"),this.node.className=this.props.portalClassName,this.props.isOpen&&c.add(this);var e=r(this.props.parentSelector);e.appendChild(this.node),this.renderPortal(this.props)},componentWillReceiveProps:function(e){e.isOpen&&c.add(this),e.isOpen||c.remove(this);var t=r(this.props.parentSelector),n=r(e.parentSelector);n!==t&&(t.removeChild(this.node),n.appendChild(this.node)),this.renderPortal(e)},componentWillUnmount:function(){c.remove(this),this.props.ariaHideApp&&l.show(this.props.appElement);var e=this.portal.state,t=Date.now(),n=e.isOpen&&this.props.closeTimeoutMS&&(e.closesAt||t+this.props.closeTimeoutMS);if(n){e.beforeClose||this.portal.closeWithTimeout();var r=this;setTimeout(function(){r.removePortal()},n-t)}else this.removePortal()},removePortal:function(){i.unmountComponentAtNode(this.node);var e=r(this.props.parentSelector);e.removeChild(this.node),0===c.count()&&d(document.body).remove("ReactModal__Body--open")},renderPortal:function(e){e.isOpen||c.count()>0?d(document.body).add("ReactModal__Body--open"):d(document.body).remove("ReactModal__Body--open"),e.ariaHideApp&&l.toggle(e.isOpen,e.appElement),this.portal=f(this,u(p({},e,{defaultStyles:v.defaultStyles})),this.node)},render:function(){return o.DOM.noscript()}});v.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},e.exports=v},function(e,t,n){var r=n(1),o=r.DOM.div,i=n(1462),a=n(1464),s=n(1245),u=n(57),l={overlay:{base:"ReactModal__Overlay",afterOpen:"ReactModal__Overlay--after-open",beforeClose:"ReactModal__Overlay--before-close"},content:{base:"ReactModal__Content",afterOpen:"ReactModal__Content--after-open",beforeClose:"ReactModal__Content--before-close"}};e.exports=u({displayName:"ModalPortal",shouldClose:null,getDefaultProps:function(){return{style:{overlay:{},content:{}}}},getInitialState:function(){return{afterOpen:!1,beforeClose:!1}},componentDidMount:function(){this.props.isOpen&&(this.setFocusAfterRender(!0),this.open())},componentWillUnmount:function(){clearTimeout(this.closeTimer)},componentWillReceiveProps:function(e){!this.props.isOpen&&e.isOpen?(this.setFocusAfterRender(!0),this.open()):this.props.isOpen&&!e.isOpen&&this.close()},componentDidUpdate:function(){this.focusAfterRender&&(this.focusContent(),this.setFocusAfterRender(!1))},setFocusAfterRender:function(e){this.focusAfterRender=e},afterClose:function(){i.returnFocus(),i.teardownScopedFocus()},open:function(){this.state.afterOpen&&this.state.beforeClose?(clearTimeout(this.closeTimer),this.setState({beforeClose:!1})):(i.setupScopedFocus(this.node),i.markForFocusLater(),this.setState({isOpen:!0},function(){this.setState({afterOpen:!0}),this.props.isOpen&&this.props.onAfterOpen&&this.props.onAfterOpen()}.bind(this)))},close:function(){this.props.closeTimeoutMS>0?this.closeWithTimeout():this.closeWithoutTimeout()},focusContent:function(){this.contentHasFocus()||this.refs.content.focus()},closeWithTimeout:function(){var e=Date.now()+this.props.closeTimeoutMS;this.setState({beforeClose:!0,closesAt:e},function(){this.closeTimer=setTimeout(this.closeWithoutTimeout,this.state.closesAt-Date.now())}.bind(this))},closeWithoutTimeout:function(){this.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},this.afterClose)},handleKeyDown:function(e){9==e.keyCode&&a(this.refs.content,e),27==e.keyCode&&(e.preventDefault(),this.requestClose(e))},handleOverlayOnClick:function(e){null===this.shouldClose&&(this.shouldClose=!0),this.shouldClose&&this.props.shouldCloseOnOverlayClick&&(this.ownerHandlesClose()?this.requestClose(e):this.focusContent()),this.shouldClose=null},handleContentOnClick:function(){this.shouldClose=!1},requestClose:function(e){this.ownerHandlesClose()&&this.props.onRequestClose(e)},ownerHandlesClose:function(){return this.props.onRequestClose},shouldBeClosed:function(){return!this.state.isOpen&&!this.state.beforeClose},contentHasFocus:function(){return document.activeElement===this.refs.content||this.refs.content.contains(document.activeElement)},buildClassName:function(e,t){var n=l[e].base;return this.state.afterOpen&&(n+=" "+l[e].afterOpen),this.state.beforeClose&&(n+=" "+l[e].beforeClose),t?n+" "+t:n},render:function(){var e=this.props.className?{}:this.props.defaultStyles.content,t=this.props.overlayClassName?{}:this.props.defaultStyles.overlay;return this.shouldBeClosed()?o():o({ref:"overlay",className:this.buildClassName("overlay",this.props.overlayClassName),style:s({},t,this.props.style.overlay||{}),onClick:this.handleOverlayOnClick},o({ref:"content",style:s({},e,this.props.style.content||{}),className:this.buildClassName("content",this.props.className),tabIndex:"-1",onKeyDown:this.handleKeyDown,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.props.children))}})},function(e,t){function n(e){if("string"==typeof e){var t=document.querySelectorAll(e);e="length"in t?t[0]:t}return u=e||u}function r(e){a(e),(e||u).setAttribute("aria-hidden","true")}function o(e){a(e),(e||u).removeAttribute("aria-hidden")}function i(e,t){e?r(t):o(t)}function a(e){if(!e&&!u)throw new Error("react-modal: You must set an element with `Modal.setAppElement(el)` to make this accessible")}function s(){u=document.body}var u="undefined"!=typeof document?document.body:null;t.toggle=i,t.setElement=n,t.show=o,t.hide=r,t.resetForTesting=s},function(e,t,n){function r(e){u=!0}function o(e){if(u){if(u=!1,!s)return;setTimeout(function(){if(!s.contains(document.activeElement)){var e=i(s)[0]||s;e.focus()}},0)}}var i=n(1246),a=[],s=null,u=!1;t.markForFocusLater=function(){a.push(document.activeElement)},t.returnFocus=function(){var e=null;try{return e=a.pop(),void e.focus()}catch(t){console.warn("You tried to return focus to "+e+" but it is not in the DOM anymore")}},t.setupScopedFocus=function(e){s=e,window.addEventListener?(window.addEventListener("blur",r,!1),document.addEventListener("focus",o,!0)):(window.attachEvent("onBlur",r),document.attachEvent("onFocus",o))},t.teardownScopedFocus=function(){s=null,window.addEventListener?(window.removeEventListener("blur",r),document.removeEventListener("focus",o)):(window.detachEvent("onBlur",r),document.detachEvent("onFocus",o))}},function(e,t){var n=[];e.exports={add:function(e){n.indexOf(e)===-1&&n.push(e)},remove:function(e){var t=n.indexOf(e);t!==-1&&n.splice(t,1)},count:function(){return n.length}}},function(e,t,n){var r=n(1246);e.exports=function(e,t){var n=r(e);if(!n.length)return void t.preventDefault();var o=n[t.shiftKey?0:n.length-1],i=o===document.activeElement||e===document.activeElement;if(i){t.preventDefault();var a=n[t.shiftKey?n.length-1:0];a.focus()}}},function(e,t,n){e.exports=n(1459)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(1),l=r(u),c=function(e){function t(){return o(this,t),i(this,Object.getPrototypeOf(t).apply(this,arguments))}return a(t,e),s(t,[{key:"render",value:function(){var e=this.props.breakLabel,t=this.props.breakClassName||"break";return l.default.createElement("li",{className:t},e)}}]),t}(l.default.Component);t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(1),l=r(u),c=function(e){function t(){return o(this,t),i(this,Object.getPrototypeOf(t).apply(this,arguments))}return a(t,e),s(t,[{key:"render",value:function(){var e=this.props.pageClassName,t=this.props.pageLinkClassName,n=this.props.onClick,r=this.props.href,o="Page "+this.props.page+(this.props.extraAriaContext?" "+this.props.extraAriaContext:""),i=null;return this.props.selected&&(i="page",o="Page "+this.props.page+" is your current page",e="undefined"!=typeof e?e+" "+this.props.activeClassName:this.props.activeClassName),l.default.createElement("li",{className:e},l.default.createElement("a",{onClick:n,className:t,href:r,tabIndex:"0","aria-label":o,"aria-current":i,onKeyPress:n},this.props.page))}}]),t}(l.default.Component);t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(1),c=r(l),d=n(1437),f=r(d),p=n(1456),h=r(p),m=n(1467),g=r(m),v=n(1466),y=r(v),b=function(e){function t(e){i(this,t);var n=a(this,Object.getPrototypeOf(t).call(this,e));return n.handlePreviousPage=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1,n.state.selected>0&&n.handlePageSelected(n.state.selected-1,e)},n.handleNextPage=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1,n.state.selected<n.props.pageCount-1&&n.handlePageSelected(n.state.selected+1,e)},n.handlePageSelected=function(e,t){t.preventDefault?t.preventDefault():t.returnValue=!1,n.state.selected!==e&&(n.setState({selected:e}),n.callCallback(e))},n.callCallback=function(e){"undefined"!=typeof n.props.onPageChange&&"function"==typeof n.props.onPageChange&&n.props.onPageChange({selected:e})},n.pagination=function(){var e={};if(n.props.pageCount<=n.props.pageRangeDisplayed)for(var t=0;t<n.props.pageCount;t++)e["key"+t]=n.getPageElement(t);else{var r=n.props.pageRangeDisplayed/2,o=n.props.pageRangeDisplayed-r;n.state.selected>n.props.pageCount-n.props.pageRangeDisplayed/2?(o=n.props.pageCount-n.state.selected,r=n.props.pageRangeDisplayed-o):n.state.selected<n.props.pageRangeDisplayed/2&&(r=n.state.selected,o=n.props.pageRangeDisplayed-r);var i=void 0,a=void 0,s=void 0;for(i=0;i<n.props.pageCount;i++){a=i+1;var u=n.getPageElement(i);if(a<=n.props.marginPagesDisplayed)e["key"+i]=u;else if(a>n.props.pageCount-n.props.marginPagesDisplayed)e["key"+i]=u;else if(i>=n.state.selected-r&&i<=n.state.selected+o)e["key"+i]=u;else{var l=Object.keys(e),d=l[l.length-1],f=e[d];n.props.breakLabel&&f!==s&&(s=c.default.createElement(y.default,{breakLabel:n.props.breakLabel,breakClassName:n.props.breakClassName}),e["key"+i]=s)}}}return e},n.state={selected:e.initialPage?e.initialPage:e.forcePage?e.forcePage:0},n}return s(t,e),u(t,[{key:"componentDidMount",value:function(){"undefined"==typeof this.props.initialPage||this.props.disableInitialCallback||this.callCallback(this.props.initialPage)}},{key:"componentWillReceiveProps",value:function(e){"undefined"!=typeof e.forcePage&&this.props.forcePage!==e.forcePage&&this.setState({selected:e.forcePage})}},{key:"hrefBuilder",value:function(e){if(this.props.hrefBuilder&&e!==this.state.selected&&e>=0&&e<this.props.pageCount)return this.props.hrefBuilder(e+1)}},{key:"getPageElement",value:function(e){return c.default.createElement(g.default,{onClick:this.handlePageSelected.bind(null,e),selected:this.state.selected===e,pageClassName:this.props.pageClassName,pageLinkClassName:this.props.pageLinkClassName,activeClassName:this.props.activeClassName,extraAriaContext:this.props.extraAriaContext,href:this.hrefBuilder(e),page:e+1})}},{key:"render",value:function(){var e=this.props.disabledClassName,t=(0,f.default)(this.props.previousClassName,o({},e,0===this.state.selected)),n=(0,f.default)(this.props.nextClassName,o({},e,this.state.selected===this.props.pageCount-1));return c.default.createElement("ul",{className:this.props.containerClassName},c.default.createElement("li",{className:t},c.default.createElement("a",{onClick:this.handlePreviousPage,className:this.props.previousLinkClassName,href:this.hrefBuilder(this.state.selected-1),tabIndex:"0",onKeyPress:this.handlePreviousPage},this.props.previousLabel)),(0,h.default)(this.pagination()),c.default.createElement("li",{className:n},c.default.createElement("a",{onClick:this.handleNextPage,className:this.props.nextLinkClassName,href:this.hrefBuilder(this.state.selected+1),tabIndex:"0",onKeyPress:this.handleNextPage},this.props.nextLabel)))}}]),t}(l.Component);b.propTypes={pageCount:l.PropTypes.number.isRequired,pageRangeDisplayed:l.PropTypes.number.isRequired,marginPagesDisplayed:l.PropTypes.number.isRequired,previousLabel:l.PropTypes.node,nextLabel:l.PropTypes.node,breakLabel:l.PropTypes.node,hrefBuilder:l.PropTypes.func,onPageChange:l.PropTypes.func,initialPage:l.PropTypes.number,forcePage:l.PropTypes.number,disableInitialCallback:l.PropTypes.bool,containerClassName:l.PropTypes.string,pageClassName:l.PropTypes.string,pageLinkClassName:l.PropTypes.string,activeClassName:l.PropTypes.string,previousClassName:l.PropTypes.string,nextClassName:l.PropTypes.string,previousLinkClassName:l.PropTypes.string,nextLinkClassName:l.PropTypes.string,disabledClassName:l.PropTypes.string,breakClassName:l.PropTypes.string},b.defaultProps={pageCount:10,pageRangeDisplayed:2,marginPagesDisplayed:3,activeClassName:"selected",previousClassName:"previous",nextClassName:"next",previousLabel:"Previous",nextLabel:"Next",breakLabel:"...",disabledClassName:"disabled",disableInitialCallback:!1},t.default=b},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var o=n(1468),i=r(o);e.exports=i.default},function(e,t,n){(function(e,t){!function(e,n){"use strict";function r(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var r={callback:e,args:t};return m[h]=r,p(h),h++}function o(e){delete m[e]}function i(e){var t=e.callback,r=e.args;switch(r.length){case 0:t();break;case 1:t(r[0]);break;case 2:t(r[0],r[1]);break;case 3:t(r[0],r[1],r[2]);break;default:t.apply(n,r)}}function a(e){if(g)setTimeout(a,0,e);else{var t=m[e];if(t){g=!0;try{i(t)}finally{o(e),g=!1}}}}function s(){p=function(e){t.nextTick(function(){a(e)})}}function u(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}function l(){var t="setImmediate$"+Math.random()+"$",n=function(n){n.source===e&&"string"==typeof n.data&&0===n.data.indexOf(t)&&a(+n.data.slice(t.length))};e.addEventListener?e.addEventListener("message",n,!1):e.attachEvent("onmessage",n),p=function(n){e.postMessage(t+n,"*")}}function c(){var e=new MessageChannel;e.port1.onmessage=function(e){var t=e.data;a(t)},p=function(t){e.port2.postMessage(t)}}function d(){var e=v.documentElement;p=function(t){var n=v.createElement("script");n.onreadystatechange=function(){a(t),n.onreadystatechange=null,e.removeChild(n),n=null},e.appendChild(n)}}function f(){p=function(e){setTimeout(a,0,e)}}if(!e.setImmediate){var p,h=1,m={},g=!1,v=e.document,y=Object.getPrototypeOf&&Object.getPrototypeOf(e);y=y&&y.setTimeout?y:e,"[object process]"==={}.toString.call(e.process)?s():u()?l():e.MessageChannel?c():v&&"onreadystatechange"in v.createElement("script")?d():f(),y.setImmediate=r,y.clearImmediate=o}}("undefined"==typeof self?"undefined"==typeof e?this:e:self)}).call(t,function(){return this}(),n(160))},function(e,t,n){function r(e,t){this._id=e,this._clearFn=t}var o=Function.prototype.apply;t.setTimeout=function(){return new r(o.call(setTimeout,window,arguments),clearTimeout)},t.setInterval=function(){return new r(o.call(setInterval,window,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(window,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n(1470),t.setImmediate=setImmediate,t.clearImmediate=clearImmediate},function(e,t){tinymce.PluginManager.add("autolink",function(e){function t(e){o(e,-1,"(",!0)}function n(e){o(e,0,"",!0)}function r(e){o(e,-1,"",!1)}function o(e,t,n){function r(e,t){if(t<0&&(t=0),3==e.nodeType){var n=e.data.length;t>n&&(t=n)}return t}function o(e,t){1!=e.nodeType||e.hasChildNodes()?s.setStart(e,r(e,t)):s.setStartBefore(e)}function i(e,t){1!=e.nodeType||e.hasChildNodes()?s.setEnd(e,r(e,t)):s.setEndAfter(e)}var s,u,l,c,d,f,p,h,m,g;if("A"!=e.selection.getNode().tagName){if(s=e.selection.getRng(!0).cloneRange(),s.startOffset<5){if(h=s.endContainer.previousSibling,!h){if(!s.endContainer.firstChild||!s.endContainer.firstChild.nextSibling)return;h=s.endContainer.firstChild.nextSibling}if(m=h.length,o(h,m),i(h,m),s.endOffset<5)return;u=s.endOffset,c=h}else{if(c=s.endContainer,3!=c.nodeType&&c.firstChild){for(;3!=c.nodeType&&c.firstChild;)c=c.firstChild;3==c.nodeType&&(o(c,0),i(c,c.nodeValue.length))}u=1==s.endOffset?2:s.endOffset-1-t}l=u;do o(c,u>=2?u-2:0),i(c,u>=1?u-1:0),u-=1,g=s.toString();while(" "!=g&&""!==g&&160!=g.charCodeAt(0)&&u-2>=0&&g!=n);s.toString()==n||160==s.toString().charCodeAt(0)?(o(c,u),i(c,l),u+=1):0===s.startOffset?(o(c,0),i(c,l)):(o(c,u),i(c,l)),f=s.toString(),"."==f.charAt(f.length-1)&&i(c,l-1),f=s.toString(),p=f.match(a),p&&("www."==p[1]?p[1]="http://www.":/@$/.test(p[1])&&!/^mailto:/.test(p[1])&&(p[1]="mailto:"+p[1]),d=e.selection.getBookmark(),e.selection.setRng(s),e.execCommand("createlink",!1,p[1]+p[2]),e.settings.default_link_target&&e.dom.setAttrib(e.selection.getNode(),"target",e.settings.default_link_target),e.selection.moveToBookmark(d),e.nodeChanged())}}var i,a=/^(https?:\/\/|ssh:\/\/|ftp:\/\/|file:\/|www\.|(?:mailto:)?[A-Z0-9._%+\-]+@)(.+)$/i;return e.settings.autolink_pattern&&(a=e.settings.autolink_pattern),e.on("keydown",function(t){if(13==t.keyCode)return r(e)}),tinymce.Env.ie?void e.on("focus",function(){if(!i){i=!0;try{e.execCommand("AutoUrlDetect",!1,!0)}catch(e){}}}):(e.on("keypress",function(n){if(41==n.keyCode)return t(e)}),void e.on("keyup",function(t){if(32==t.keyCode)return n(e)}))})},function(e,t){tinymce.PluginManager.add("charmap",function(e){function t(){return[["160","no-break space"],["173","soft hyphen"],["34","quotation mark"],["162","cent sign"],["8364","euro sign"],["163","pound sign"],["165","yen sign"],["169","copyright sign"],["174","registered sign"],["8482","trade mark sign"],["8240","per mille sign"],["181","micro sign"],["183","middle dot"],["8226","bullet"],["8230","three dot leader"],["8242","minutes / feet"],["8243","seconds / inches"],["167","section sign"],["182","paragraph sign"],["223","sharp s / ess-zed"],["8249","single left-pointing angle quotation mark"],["8250","single right-pointing angle quotation mark"],["171","left pointing guillemet"],["187","right pointing guillemet"],["8216","left single quotation mark"],["8217","right single quotation mark"],["8220","left double quotation mark"],["8221","right double quotation mark"],["8218","single low-9 quotation mark"],["8222","double low-9 quotation mark"],["60","less-than sign"],["62","greater-than sign"],["8804","less-than or equal to"],["8805","greater-than or equal to"],["8211","en dash"],["8212","em dash"],["175","macron"],["8254","overline"],["164","currency sign"],["166","broken bar"],["168","diaeresis"],["161","inverted exclamation mark"],["191","turned question mark"],["710","circumflex accent"],["732","small tilde"],["176","degree sign"],["8722","minus sign"],["177","plus-minus sign"],["247","division sign"],["8260","fraction slash"],["215","multiplication sign"],["185","superscript one"],["178","superscript two"],["179","superscript three"],["188","fraction one quarter"],["189","fraction one half"],["190","fraction three quarters"],["402","function / florin"],["8747","integral"],["8721","n-ary sumation"],["8734","infinity"],["8730","square root"],["8764","similar to"],["8773","approximately equal to"],["8776","almost equal to"],["8800","not equal to"],["8801","identical to"],["8712","element of"],["8713","not an element of"],["8715","contains as member"],["8719","n-ary product"],["8743","logical and"],["8744","logical or"],["172","not sign"],["8745","intersection"],["8746","union"],["8706","partial differential"],["8704","for all"],["8707","there exists"],["8709","diameter"],["8711","backward difference"],["8727","asterisk operator"],["8733","proportional to"],["8736","angle"],["180","acute accent"],["184","cedilla"],["170","feminine ordinal indicator"],["186","masculine ordinal indicator"],["8224","dagger"],["8225","double dagger"],["192","A - grave"],["193","A - acute"],["194","A - circumflex"],["195","A - tilde"],["196","A - diaeresis"],["197","A - ring above"],["256","A - macron"],["198","ligature AE"],["199","C - cedilla"],["200","E - grave"],["201","E - acute"],["202","E - circumflex"],["203","E - diaeresis"],["274","E - macron"],["204","I - grave"],["205","I - acute"],["206","I - circumflex"],["207","I - diaeresis"],["298","I - macron"],["208","ETH"],["209","N - tilde"],["210","O - grave"],["211","O - acute"],["212","O - circumflex"],["213","O - tilde"],["214","O - diaeresis"],["216","O - slash"],["332","O - macron"],["338","ligature OE"],["352","S - caron"],["217","U - grave"],["218","U - acute"],["219","U - circumflex"],["220","U - diaeresis"],["362","U - macron"],["221","Y - acute"],["376","Y - diaeresis"],["562","Y - macron"],["222","THORN"],["224","a - grave"],["225","a - acute"],["226","a - circumflex"],["227","a - tilde"],["228","a - diaeresis"],["229","a - ring above"],["257","a - macron"],["230","ligature ae"],["231","c - cedilla"],["232","e - grave"],["233","e - acute"],["234","e - circumflex"],["235","e - diaeresis"],["275","e - macron"],["236","i - grave"],["237","i - acute"],["238","i - circumflex"],["239","i - diaeresis"],["299","i - macron"],["240","eth"],["241","n - tilde"],["242","o - grave"],["243","o - acute"],["244","o - circumflex"],["245","o - tilde"],["246","o - diaeresis"],["248","o slash"],["333","o macron"],["339","ligature oe"],["353","s - caron"],["249","u - grave"],["250","u - acute"],["251","u - circumflex"],["252","u - diaeresis"],["363","u - macron"],["253","y - acute"],["254","thorn"],["255","y - diaeresis"],["563","y - macron"],["913","Alpha"],["914","Beta"],["915","Gamma"],["916","Delta"],["917","Epsilon"],["918","Zeta"],["919","Eta"],["920","Theta"],["921","Iota"],["922","Kappa"],["923","Lambda"],["924","Mu"],["925","Nu"],["926","Xi"],["927","Omicron"],["928","Pi"],["929","Rho"],["931","Sigma"],["932","Tau"],["933","Upsilon"],["934","Phi"],["935","Chi"],["936","Psi"],["937","Omega"],["945","alpha"],["946","beta"],["947","gamma"],["948","delta"],["949","epsilon"],["950","zeta"],["951","eta"],["952","theta"],["953","iota"],["954","kappa"],["955","lambda"],["956","mu"],["957","nu"],["958","xi"],["959","omicron"],["960","pi"],["961","rho"],["962","final sigma"],["963","sigma"],["964","tau"],["965","upsilon"],["966","phi"],["967","chi"],["968","psi"],["969","omega"],["8501","alef symbol"],["982","pi symbol"],["8476","real part symbol"],["978","upsilon - hook symbol"],["8472","Weierstrass p"],["8465","imaginary part"],["8592","leftwards arrow"],["8593","upwards arrow"],["8594","rightwards arrow"],["8595","downwards arrow"],["8596","left right arrow"],["8629","carriage return"],["8656","leftwards double arrow"],["8657","upwards double arrow"],["8658","rightwards double arrow"],["8659","downwards double arrow"],["8660","left right double arrow"],["8756","therefore"],["8834","subset of"],["8835","superset of"],["8836","not a subset of"],["8838","subset of or equal to"],["8839","superset of or equal to"],["8853","circled plus"],["8855","circled times"],["8869","perpendicular"],["8901","dot operator"],["8968","left ceiling"],["8969","right ceiling"],["8970","left floor"],["8971","right floor"],["9001","left-pointing angle bracket"],["9002","right-pointing angle bracket"],["9674","lozenge"],["9824","black spade suit"],["9827","black club suit"],["9829","black heart suit"],["9830","black diamond suit"],["8194","en space"],["8195","em space"],["8201","thin space"],["8204","zero width non-joiner"],["8205","zero width joiner"],["8206","left-to-right mark"],["8207","right-to-left mark"]]}function n(e){return tinymce.util.Tools.grep(e,function(e){return u(e)&&2==e.length})}function r(e){return u(e)?[].concat(n(e)):"function"==typeof e?e():[];
+}function o(t){var n=e.settings;return n.charmap&&(t=r(n.charmap)),n.charmap_append?[].concat(t).concat(r(n.charmap_append)):t}function i(){return o(t())}function a(t){e.fire("insertCustomChar",{chr:t}).chr,e.execCommand("mceInsertContent",!1,t)}function s(){function t(e){for(;e;){if("TD"==e.nodeName)return e;e=e.parentNode}}var n,r,o,s;n='<table role="presentation" cellspacing="0" class="mce-charmap"><tbody>';var u=i(),l=Math.min(u.length,25),c=Math.ceil(u.length/l);for(o=0;o<c;o++){for(n+="<tr>",r=0;r<l;r++){var d=o*l+r;if(d<u.length){var f=u[d],p=f?String.fromCharCode(parseInt(f[0],10)):"&nbsp;";n+='<td title="'+f[1]+'"><div tabindex="-1" title="'+f[1]+'" role="button" data-chr="'+p+'">'+p+"</div></td>"}else n+="<td />"}n+="</tr>"}n+="</tbody></table>";var h={type:"container",html:n,onclick:function(e){var n=e.target;/^(TD|DIV)$/.test(n.nodeName)&&t(n).firstChild&&(a(n.getAttribute("data-chr")),e.ctrlKey||s.close())},onmouseover:function(e){var n=t(e.target);n&&n.firstChild?(s.find("#preview").text(n.firstChild.firstChild.data),s.find("#previewTitle").text(n.title)):(s.find("#preview").text(" "),s.find("#previewTitle").text(" "))}};s=e.windowManager.open({title:"Special character",spacing:10,padding:10,items:[h,{type:"container",layout:"flex",direction:"column",align:"center",spacing:5,minWidth:160,minHeight:160,items:[{type:"label",name:"preview",text:" ",style:"font-size: 40px; text-align: center",border:1,minWidth:140,minHeight:80},{type:"label",name:"previewTitle",text:" ",style:"text-align: center",border:1,minWidth:140,minHeight:80}]}],buttons:[{text:"Close",onclick:function(){s.close()}}]})}var u=tinymce.util.Tools.isArray;return e.addCommand("mceShowCharmap",s),e.addButton("charmap",{icon:"charmap",tooltip:"Special character",cmd:"mceShowCharmap"}),e.addMenuItem("charmap",{icon:"charmap",text:"Special character",cmd:"mceShowCharmap",context:"insert"}),{getCharMap:i,insertChar:a}})},function(e,t){tinymce.PluginManager.add("code",function(e){function t(){var t=e.windowManager.open({title:"Source code",body:{type:"textbox",name:"code",multiline:!0,minWidth:e.getParam("code_dialog_width",600),minHeight:e.getParam("code_dialog_height",Math.min(tinymce.DOM.getViewPort().h-200,500)),spellcheck:!1,style:"direction: ltr; text-align: left"},onSubmit:function(t){e.focus(),e.undoManager.transact(function(){e.setContent(t.data.code)}),e.selection.setCursorLocation(),e.nodeChanged()}});t.find("#code").value(e.getContent({source_view:!0}))}e.addCommand("mceCodeEditor",t),e.addButton("code",{icon:"code",tooltip:"Source code",onclick:t}),e.addMenuItem("code",{icon:"code",text:"Source code",context:"tools",onclick:t})})},function(e,t){tinymce.PluginManager.add("image",function(e){function t(e,t){function n(e,n){r.parentNode&&r.parentNode.removeChild(r),t({width:e,height:n})}var r=document.createElement("img");r.onload=function(){n(Math.max(r.width,r.clientWidth),Math.max(r.height,r.clientHeight))},r.onerror=function(){n()};var o=r.style;o.visibility="hidden",o.position="fixed",o.bottom=o.left=0,o.width=o.height="auto",document.body.appendChild(r),r.src=e}function n(e,t,n){function r(e,n){return n=n||[],tinymce.each(e,function(e){var o={text:e.text||e.title};e.menu?o.menu=r(e.menu):(o.value=e.value,t(o)),n.push(o)}),n}return r(e,n||[])}function r(t){return function(){var n=e.settings.image_list;"string"==typeof n?tinymce.util.XHR.send({url:n,success:function(e){t(tinymce.util.JSON.parse(e))}}):"function"==typeof n?n(t):t(n)}}function o(r){function o(){var e,t,n,r;e=f.find("#width")[0],t=f.find("#height")[0],e&&t&&(n=e.value(),r=t.value(),f.find("#constrain")[0].checked()&&m&&g&&n&&r&&(m!=n?(r=Math.round(n/m*r),isNaN(r)||t.value(r)):(n=Math.round(r/g*n),isNaN(n)||e.value(n))),m=n,g=r)}function i(){function t(t){function n(){t.onload=t.onerror=null,e.selection&&(e.selection.select(t),e.nodeChanged())}t.onload=function(){b.width||b.height||!w||_.setAttribs(t,{width:t.clientWidth,height:t.clientHeight}),n()},t.onerror=n}var n,r;c(),o(),b=tinymce.extend(b,f.toJSON()),b.alt||(b.alt=""),b.title||(b.title=""),""===b.width&&(b.width=null),""===b.height&&(b.height=null),b.style||(b.style=null),b={src:b.src,alt:b.alt,title:b.title,width:b.width,height:b.height,style:b.style,caption:b.caption,class:b.class},e.undoManager.transact(function(){function o(t){return e.schema.getTextBlockElements()[t.nodeName]}if(!b.src)return void(p&&(_.remove(p),e.focus(),e.nodeChanged()));if(""===b.title&&(b.title=null),p?_.setAttribs(p,b):(b.id="__mcenew",e.focus(),e.selection.setContent(_.createHTML("img",b)),p=_.get("__mcenew"),_.setAttrib(p,"id",null)),e.editorUpload.uploadImagesAuto(),b.caption===!1&&_.is(p.parentNode,"figure.image")&&(n=p.parentNode,_.insertAfter(p,n),_.remove(n)),b.caption!==!0)t(p);else if(!_.is(p.parentNode,"figure.image")){r=p,p=p.cloneNode(!0),n=_.create("figure",{class:"image"}),n.appendChild(p),n.appendChild(_.create("figcaption",{contentEditable:!0},"Caption")),n.contentEditable=!1;var i=_.getParent(r,o);i?_.split(i,r,n):_.replace(n,r),e.selection.select(n)}})}function a(e){return e&&(e=e.replace(/px$/,"")),e}function s(n){var r,o,i,a=n.meta||{};v&&v.value(e.convertURL(this.value(),"src")),tinymce.each(a,function(e,t){f.find("#"+t).value(e)}),a.width||a.height||(r=e.convertURL(this.value(),"src"),o=e.settings.image_prepend_url,i=new RegExp("^(?:[a-z]+:)?//","i"),o&&!i.test(r)&&r.substring(0,o.length)!==o&&(r=o+r),this.value(r),t(e.documentBaseURI.toAbsolute(this.value()),function(e){e.width&&e.height&&w&&(m=e.width,g=e.height,f.find("#width").value(m),f.find("#height").value(g))}))}function u(e){e.meta=f.toJSON()}function l(e){if(e.margin){var t=e.margin.split(" ");switch(t.length){case 1:e["margin-top"]=e["margin-top"]||t[0],e["margin-right"]=e["margin-right"]||t[0],e["margin-bottom"]=e["margin-bottom"]||t[0],e["margin-left"]=e["margin-left"]||t[0];break;case 2:e["margin-top"]=e["margin-top"]||t[0],e["margin-right"]=e["margin-right"]||t[1],e["margin-bottom"]=e["margin-bottom"]||t[0],e["margin-left"]=e["margin-left"]||t[1];break;case 3:e["margin-top"]=e["margin-top"]||t[0],e["margin-right"]=e["margin-right"]||t[1],e["margin-bottom"]=e["margin-bottom"]||t[2],e["margin-left"]=e["margin-left"]||t[1];break;case 4:e["margin-top"]=e["margin-top"]||t[0],e["margin-right"]=e["margin-right"]||t[1],e["margin-bottom"]=e["margin-bottom"]||t[2],e["margin-left"]=e["margin-left"]||t[3]}delete e.margin}return e}function c(){function t(e){return e.length>0&&/^[0-9]+$/.test(e)&&(e+="px"),e}if(e.settings.image_advtab){var n=f.toJSON(),r=_.parseStyle(n.style);r=l(r),n.vspace&&(r["margin-top"]=r["margin-bottom"]=t(n.vspace)),n.hspace&&(r["margin-left"]=r["margin-right"]=t(n.hspace)),n.border&&(r["border-width"]=t(n.border)),f.find("#style").value(_.serializeStyle(_.parseStyle(_.serializeStyle(r))))}}function d(){if(e.settings.image_advtab){var t=f.toJSON(),n=_.parseStyle(t.style);f.find("#vspace").value(""),f.find("#hspace").value(""),n=l(n),(n["margin-top"]&&n["margin-bottom"]||n["margin-right"]&&n["margin-left"])&&(n["margin-top"]===n["margin-bottom"]?f.find("#vspace").value(a(n["margin-top"])):f.find("#vspace").value(""),n["margin-right"]===n["margin-left"]?f.find("#hspace").value(a(n["margin-right"])):f.find("#hspace").value("")),n["border-width"]&&f.find("#border").value(a(n["border-width"])),f.find("#style").value(_.serializeStyle(_.parseStyle(_.serializeStyle(n))))}}var f,p,h,m,g,v,y,b={},_=e.dom,w=e.settings.image_dimensions!==!1;p=e.selection.getNode(),h=_.getParent(p,"figure.image"),h&&(p=_.select("img",h)[0]),p&&("IMG"!=p.nodeName||p.getAttribute("data-mce-object")||p.getAttribute("data-mce-placeholder"))&&(p=null),p&&(m=_.getAttrib(p,"width"),g=_.getAttrib(p,"height"),b={src:_.getAttrib(p,"src"),alt:_.getAttrib(p,"alt"),title:_.getAttrib(p,"title"),class:_.getAttrib(p,"class"),width:m,height:g,caption:!!h}),r&&(v={type:"listbox",label:"Image list",values:n(r,function(t){t.value=e.convertURL(t.value||t.url,"src")},[{text:"None",value:""}]),value:b.src&&e.convertURL(b.src,"src"),onselect:function(e){var t=f.find("#alt");(!t.value()||e.lastControl&&t.value()==e.lastControl.text())&&t.value(e.control.text()),f.find("#src").value(e.control.value()).fire("change")},onPostRender:function(){v=this}}),e.settings.image_class_list&&(y={name:"class",type:"listbox",label:"Class",values:n(e.settings.image_class_list,function(t){t.value&&(t.textStyle=function(){return e.formatter.getCssText({inline:"img",classes:[t.value]})})})});var C=[{name:"src",type:"filepicker",filetype:"image",label:"Source",autofocus:!0,onchange:s,onbeforecall:u},v];e.settings.image_description!==!1&&C.push({name:"alt",type:"textbox",label:"Image description"}),e.settings.image_title&&C.push({name:"title",type:"textbox",label:"Image Title"}),w&&C.push({type:"container",label:"Dimensions",layout:"flex",direction:"row",align:"center",spacing:5,items:[{name:"width",type:"textbox",maxLength:5,size:3,onchange:o,ariaLabel:"Width"},{type:"label",text:"x"},{name:"height",type:"textbox",maxLength:5,size:3,onchange:o,ariaLabel:"Height"},{name:"constrain",type:"checkbox",checked:!0,text:"Constrain proportions"}]}),C.push(y),e.settings.image_caption&&tinymce.Env.ceFalse&&C.push({name:"caption",type:"checkbox",label:"Caption"}),e.settings.image_advtab?(p&&(p.style.marginLeft&&p.style.marginRight&&p.style.marginLeft===p.style.marginRight&&(b.hspace=a(p.style.marginLeft)),p.style.marginTop&&p.style.marginBottom&&p.style.marginTop===p.style.marginBottom&&(b.vspace=a(p.style.marginTop)),p.style.borderWidth&&(b.border=a(p.style.borderWidth)),b.style=e.dom.serializeStyle(e.dom.parseStyle(e.dom.getAttrib(p,"style")))),f=e.windowManager.open({title:"Insert/edit image",data:b,bodyType:"tabpanel",body:[{title:"General",type:"form",items:C},{title:"Advanced",type:"form",pack:"start",items:[{label:"Style",name:"style",type:"textbox",onchange:d},{type:"form",layout:"grid",packV:"start",columns:2,padding:0,alignH:["left","right"],defaults:{type:"textbox",maxWidth:50,onchange:c},items:[{label:"Vertical space",name:"vspace"},{label:"Horizontal space",name:"hspace"},{label:"Border",name:"border"}]}]}],onSubmit:i})):f=e.windowManager.open({title:"Insert/edit image",data:b,body:C,onSubmit:i})}e.on("preInit",function(){function t(e){var t=e.attr("class");return t&&/\bimage\b/.test(t)}function n(e){return function(n){function r(t){t.attr("contenteditable",e?"true":null)}for(var o,i=n.length;i--;)o=n[i],t(o)&&(o.attr("contenteditable",e?"false":null),tinymce.each(o.getAll("figcaption"),r))}}e.parser.addNodeFilter("figure",n(!0)),e.serializer.addNodeFilter("figure",n(!1))}),e.addButton("image",{icon:"image",tooltip:"Insert/edit image",onclick:r(o),stateSelector:"img:not([data-mce-object],[data-mce-placeholder]),figure.image"}),e.addMenuItem("image",{icon:"image",text:"Image",onclick:r(o),context:"insert",prependToContext:!0}),e.addCommand("mceImage",r(o))})},function(e,t){tinymce.PluginManager.add("link",function(e){function t(e){return e&&"A"===e.nodeName&&e.href}function n(e){return tinymce.util.Tools.grep(e,t).length>0}function r(t){return e.dom.getParent(t,"a[href]")}function o(){return r(e.selection.getStart())}function i(e){var t=e.getAttribute("data-mce-href");return t?t:e.getAttribute("href")}function a(){var t=e.plugins.contextmenu;return!!t&&t.isContextMenuVisible()}function s(n){var r,o,i;return!!(e.settings.link_context_toolbar&&!a()&&t(n)&&(r=e.selection,o=r.getRng(),i=o.startContainer,3==i.nodeType&&r.isCollapsed()&&o.startOffset>0&&o.startOffset<i.data.length))}function u(e,t){document.body.appendChild(e),e.dispatchEvent(t),document.body.removeChild(e)}function l(e){if(!tinymce.Env.ie||tinymce.Env.ie>10){var t=document.createElement("a");t.target="_blank",t.href=e,t.rel="noreferrer noopener";var n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),u(t,n)}else{var r=window.open("","_blank");if(r){r.opener=null;var o=r.document;o.open(),o.write('<meta http-equiv="refresh" content="0; url='+tinymce.DOM.encode(e)+'">'),o.close()}}}function c(t){if(t){var n=i(t);if(/^#/.test(n)){var r=e.$(n);r.length&&e.selection.scrollIntoView(r[0],!0)}else l(t.href)}}function d(){c(o())}function f(){var t=this,r=function(e){n(e.parents)?t.show():t.hide()};n(e.dom.getParents(e.selection.getStart()))||t.hide(),e.on("nodechange",r),t.on("remove",function(){e.off("nodechange",r)})}function p(t){return function(){var n=e.settings.link_list;"string"==typeof n?tinymce.util.XHR.send({url:n,success:function(e){t(tinymce.util.JSON.parse(e))}}):"function"==typeof n?n(t):t(n)}}function h(e,t,n){function r(e,n){return n=n||[],tinymce.each(e,function(e){var o={text:e.text||e.title};e.menu?o.menu=r(e.menu):(o.value=e.value,t&&t(o)),n.push(o)}),n}return r(e,n||[])}function m(t){function n(e){var t=d.find("#text");(!t.value()||e.lastControl&&t.value()==e.lastControl.text())&&t.value(e.control.text()),d.find("#href").value(e.control.value())}function r(t){var r=[];if(tinymce.each(e.dom.select("a:not([href])"),function(e){var n=e.name||e.id;n&&r.push({text:n,value:"#"+n,selected:t.indexOf("#"+n)!=-1})}),r.length)return r.unshift({text:"None",value:""}),{name:"anchor",type:"listbox",label:"Anchors",values:r,onselect:n}}function o(){!c&&0===C.text.length&&f&&this.parent().parent().find("#text")[0].value(this.value())}function i(t){var n=t.meta||{};m&&m.value(e.convertURL(this.value(),"href")),tinymce.each(t.meta,function(e,t){var n=d.find("#"+t);"text"===t?0===c.length&&(n.value(e),C.text=e):n.value(e)}),n.attach&&(g={href:this.value(),attach:n.attach}),n.text||o.call(this)}function a(e){var t=x.getContent();if(/</.test(t)&&(!/^<a [^>]+>[^<]+<\/a>$/.test(t)||t.indexOf("href=")==-1))return!1;if(e){var n,r=e.childNodes;if(0===r.length)return!1;for(n=r.length-1;n>=0;n--)if(3!=r[n].nodeType)return!1}return!0}function s(e){e.meta=d.toJSON()}var u,l,c,d,f,p,m,v,y,b,_,w,C={},x=e.selection,E=e.dom;u=x.getNode(),l=E.getParent(u,"a[href]"),f=a(),C.text=c=l?l.innerText||l.textContent:x.getContent({format:"text"}),C.href=l?E.getAttrib(l,"href"):"",l?C.target=E.getAttrib(l,"target"):e.settings.default_link_target&&(C.target=e.settings.default_link_target),(w=E.getAttrib(l,"rel"))&&(C.rel=w),(w=E.getAttrib(l,"class"))&&(C.class=w),(w=E.getAttrib(l,"title"))&&(C.title=w),f&&(p={name:"text",type:"textbox",size:40,label:"Text to display",onchange:function(){C.text=this.value()}}),t&&(m={type:"listbox",label:"Link list",values:h(t,function(t){t.value=e.convertURL(t.value||t.url,"href")},[{text:"None",value:""}]),onselect:n,value:e.convertURL(C.href,"href"),onPostRender:function(){m=this}}),e.settings.target_list!==!1&&(e.settings.target_list||(e.settings.target_list=[{text:"None",value:""},{text:"New window",value:"_blank"}]),y={name:"target",type:"listbox",label:"Target",values:h(e.settings.target_list)}),e.settings.rel_list&&(v={name:"rel",type:"listbox",label:"Rel",values:h(e.settings.rel_list)}),e.settings.link_class_list&&(b={name:"class",type:"listbox",label:"Class",values:h(e.settings.link_class_list,function(t){t.value&&(t.textStyle=function(){return e.formatter.getCssText({inline:"a",classes:[t.value]})})})}),e.settings.link_title!==!1&&(_={name:"title",type:"textbox",label:"Title",value:C.title}),d=e.windowManager.open({title:"Insert link",data:C,body:[{name:"href",type:"filepicker",filetype:"file",size:40,autofocus:!0,label:"Url",onchange:i,onkeyup:o,onbeforecall:s},p,_,r(C.href),m,v,y,b],onSubmit:function(t){function n(t,n){var r=e.selection.getRng();tinymce.util.Delay.setEditorTimeout(e,function(){e.windowManager.confirm(t,function(t){e.selection.setRng(r),n(t)})})}function r(e,t){function n(e){return e=r(e),e?[e,o].join(" "):o}function r(e){var t=new RegExp("("+o.replace(" ","|")+")","g");return e&&(e=tinymce.trim(e.replace(t,""))),e?e:null}var o="noopener noreferrer";return t?n(e):r(e)}function o(){var t={href:a,target:C.target?C.target:null,rel:C.rel?C.rel:null,class:C.class?C.class:null,title:C.title?C.title:null};e.settings.allow_unsafe_link_target||(t.rel=r(t.rel,"_blank"==t.target)),a===g.href&&(g.attach(),g={}),l?(e.focus(),f&&C.text!=c&&("innerText"in l?l.innerText=C.text:l.textContent=C.text),E.setAttribs(l,t),x.select(l),e.undoManager.add()):f?e.insertContent(E.createHTML("a",t,E.encode(C.text))):e.execCommand("mceInsertLink",!1,t)}function i(){e.undoManager.transact(o)}var a;return C=tinymce.extend(C,t.data),(a=C.href)?a.indexOf("@")>0&&a.indexOf("//")==-1&&a.indexOf("mailto:")==-1?void n("The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?",function(e){e&&(a="mailto:"+a),i()}):e.settings.link_assume_external_targets&&!/^\w+:/i.test(a)||!e.settings.link_assume_external_targets&&/^\s*www[\.|\d\.]/i.test(a)?void n("The URL you entered seems to be an external link. Do you want to add the required http:// prefix?",function(e){e&&(a="http://"+a),i()}):void i():void e.execCommand("unlink")}})}var g={},v=function(e){return e.altKey===!0&&e.shiftKey===!1&&e.ctrlKey===!1&&e.metaKey===!1};e.addButton("link",{icon:"link",tooltip:"Insert/edit link",shortcut:"Meta+K",onclick:p(m),stateSelector:"a[href]"}),e.addButton("unlink",{icon:"unlink",tooltip:"Remove link",cmd:"unlink",stateSelector:"a[href]"}),e.addContextToolbar&&(e.addButton("openlink",{icon:"newtab",tooltip:"Open link",onclick:d}),e.addContextToolbar(s,"openlink | link unlink")),e.addShortcut("Meta+K","",p(m)),e.addCommand("mceLink",p(m)),e.on("click",function(e){var t=r(e.target);t&&tinymce.util.VK.metaKeyPressed(e)&&(e.preventDefault(),c(t))}),e.on("keydown",function(e){var t=o();t&&13===e.keyCode&&v(e)&&(e.preventDefault(),c(t))}),this.showDialog=m,e.addMenuItem("openlink",{text:"Open link",icon:"newtab",onclick:d,onPostRender:f,prependToContext:!0}),e.addMenuItem("link",{icon:"link",text:"Link",shortcut:"Meta+K",onclick:p(m),stateSelector:"a[href]",context:"insert",prependToContext:!0})})},function(e,t){!function(){var e={},t=function(t){for(var n=e[t],o=n.deps,i=n.defn,a=o.length,s=new Array(a),u=0;u<a;++u)s[u]=r(o[u]);var l=i.apply(null,s);if(void 0===l)throw"module ["+t+"] returned undefined";n.instance=l},n=function(t,n,r){if("string"!=typeof t)throw"module id must be a string";if(void 0===n)throw"no dependencies for "+t;if(void 0===r)throw"no definition function for "+t;e[t]={deps:n,defn:r,instance:void 0}},r=function(n){var r=e[n];if(void 0===r)throw"module ["+n+"] was undefined";return void 0===r.instance&&t(n),r.instance},o=function(e,t){for(var n=e.length,o=new Array(n),i=0;i<n;++i)o.push(r(e[i]));t.apply(null,t)},i={};i.bolt={module:{api:{define:n,require:o,demand:r}}};var a=n,s=function(e,t){a(e,[],function(){return t})};s("global!tinymce.PluginManager",tinymce.PluginManager),s("global!tinymce.util.Tools",tinymce.util.Tools),s("global!tinymce.util.VK",tinymce.util.VK),a("tinymce.lists.core.NodeType",[],function(){var e=function(e){return e&&3===e.nodeType},t=function(e){return e&&/^(OL|UL|DL)$/.test(e.nodeName)},n=function(e){return e&&/^(LI|DT|DD)$/.test(e.nodeName)},r=function(e){return e&&"BR"===e.nodeName},o=function(e){return e.parentNode.firstChild===e},i=function(e){return e.parentNode.lastChild===e},a=function(e,t){return t&&!!e.schema.getTextBlockElements()[t.nodeName]},s=function(e,t){return!!r(t)&&!(!e.isBlock(t.nextSibling)||r(t.previousSibling))},u=function(e,t,n){var r=e.isEmpty(t);return!(n&&e.select("span[data-mce-type=bookmark]",t).length>0)&&r},l=function(e,t){return e.isChildOf(t,e.getRoot())};return{isTextNode:e,isListNode:t,isListItemNode:n,isBr:r,isFirstChild:o,isLastChild:i,isTextBlock:a,isBogusBr:s,isEmpty:u,isChildOfBody:l}}),s("global!tinymce.dom.TreeWalker",tinymce.dom.TreeWalker),s("global!tinymce.dom.RangeUtils",tinymce.dom.RangeUtils),a("tinymce.lists.core.Selection",["global!tinymce.util.Tools","tinymce.lists.core.NodeType"],function(e,t){var n=function(n){return e.grep(n.selection.getSelectedBlocks(),function(e){return t.isListItemNode(e)})};return{getSelectedListItems:n}}),s("global!tinymce.dom.DOMUtils.DOM",tinymce.dom.DOMUtils.DOM),a("tinymce.lists.core.Range",["global!tinymce.dom.RangeUtils","tinymce.lists.core.NodeType"],function(e,t){var n=function(n,r){var o=e.getNode(n,r);if(t.isListItemNode(n)&&t.isTextNode(o)){var i=r>=n.childNodes.length?o.data.length:0;return{container:o,offset:i}}return{container:n,offset:r}},r=function(e){var t=e.cloneRange(),r=n(e.startContainer,e.startOffset);t.setStart(r.container,r.offset);var o=n(e.endContainer,e.endOffset);return t.setEnd(o.container,o.offset),t};return{getNormalizedEndPoint:n,normalizeRange:r}}),a("tinymce.lists.core.Bookmark",["global!tinymce.dom.DOMUtils.DOM","tinymce.lists.core.NodeType","tinymce.lists.core.Range"],function(e,t,n){var r=function(t){var n={},r=function(r){var o,i,a;i=t[r?"startContainer":"endContainer"],a=t[r?"startOffset":"endOffset"],1===i.nodeType&&(o=e.create("span",{"data-mce-type":"bookmark"}),i.hasChildNodes()?(a=Math.min(a,i.childNodes.length-1),r?i.insertBefore(o,i.childNodes[a]):e.insertAfter(o,i.childNodes[a])):i.appendChild(o),i=o,a=0),n[r?"startContainer":"endContainer"]=i,n[r?"startOffset":"endOffset"]=a};return r(!0),t.collapsed||r(),n},o=function(t){function r(n){var r,o,i,a=function(e){for(var t=e.parentNode.firstChild,n=0;t;){if(t===e)return n;1===t.nodeType&&"bookmark"===t.getAttribute("data-mce-type")||n++,t=t.nextSibling}return-1};r=i=t[n?"startContainer":"endContainer"],o=t[n?"startOffset":"endOffset"],r&&(1===r.nodeType&&(o=a(r),r=r.parentNode,e.remove(i)),t[n?"startContainer":"endContainer"]=r,t[n?"startOffset":"endOffset"]=o)}r(!0),r();var o=e.createRng();return o.setStart(t.startContainer,t.startOffset),t.endContainer&&o.setEnd(t.endContainer,t.endOffset),n.normalizeRange(o)};return{createBookmark:r,resolveBookmark:o}}),a("tinymce.lists.core.NormalizeLists",["global!tinymce.dom.DOMUtils.DOM","global!tinymce.util.Tools","tinymce.lists.core.NodeType"],function(e,t,n){var r=function(t,r){var o,i=r.parentNode;"LI"===i.nodeName&&i.firstChild===r&&(o=i.previousSibling,o&&"LI"===o.nodeName?(o.appendChild(r),n.isEmpty(t,i)&&e.remove(i)):e.setStyle(i,"listStyleType","none")),n.isListNode(i)&&(o=i.previousSibling,o&&"LI"===o.nodeName&&o.appendChild(r))},o=function(e,n){t.each(t.grep(e.select("ol,ul",n)),function(t){r(e,t)})};return{normalizeList:r,normalizeLists:o}}),s("global!tinymce.dom.BookmarkManager",tinymce.dom.BookmarkManager),s("global!tinymce.Env",tinymce.Env),a("tinymce.lists.core.TextBlock",["global!tinymce.dom.DOMUtils.DOM","global!tinymce.Env"],function(e,t){var n=function(n,r,o){var i,a,s,u=e.createFragment(),l=n.schema.getBlockElements();if(n.settings.forced_root_block&&(o=o||n.settings.forced_root_block),o&&(a=e.create(o),a.tagName===n.settings.forced_root_block&&e.setAttribs(a,n.settings.forced_root_block_attrs),u.appendChild(a)),r)for(;i=r.firstChild;){var c=i.nodeName;s||"SPAN"===c&&"bookmark"===i.getAttribute("data-mce-type")||(s=!0),l[c]?(u.appendChild(i),a=null):o?(a||(a=e.create(o),u.appendChild(a)),a.appendChild(i)):u.appendChild(i)}return n.settings.forced_root_block?s||t.ie&&!(t.ie>10)||a.appendChild(e.create("br",{"data-mce-bogus":"1"})):u.appendChild(e.create("br")),u};return{createNewTextBlock:n}}),a("tinymce.lists.core.SplitList",["global!tinymce.dom.DOMUtils.DOM","global!tinymce.util.Tools","tinymce.lists.core.TextBlock","tinymce.lists.core.NodeType"],function(e,t,n,r){var o=function(o,i,a,s){var u,l,c,d,f=function(n){t.each(c,function(e){n.parentNode.insertBefore(e,a.parentNode)}),e.remove(n)};for(c=e.select('span[data-mce-type="bookmark"]',i),s=s||n.createNewTextBlock(o,a),u=e.createRng(),u.setStartAfter(a),u.setEndAfter(i),l=u.extractContents(),d=l.firstChild;d;d=d.firstChild)if("LI"===d.nodeName&&o.dom.isEmpty(d)){e.remove(d);break}o.dom.isEmpty(l)||e.insertAfter(l,i),e.insertAfter(s,i),r.isEmpty(o.dom,a.parentNode)&&f(a.parentNode),e.remove(a),r.isEmpty(o.dom,i)&&e.remove(i)};return{splitList:o}}),a("tinymce.lists.actions.Outdent",["global!tinymce.dom.DOMUtils.DOM","tinymce.lists.core.NodeType","tinymce.lists.core.Bookmark","tinymce.lists.core.Selection","tinymce.lists.core.SplitList","tinymce.lists.core.NormalizeLists","tinymce.lists.core.TextBlock"],function(e,t,n,r,o,i,a){var s=function(n,r){t.isEmpty(n,r)&&e.remove(r)},u=function(n,r){var u,l=r.parentNode,c=l.parentNode;return l===n.getBody()||("DD"===r.nodeName?(e.rename(r,"DT"),!0):t.isFirstChild(r)&&t.isLastChild(r)?("LI"===c.nodeName?(e.insertAfter(r,c),s(n.dom,c),e.remove(l)):t.isListNode(c)?e.remove(l,!0):(c.insertBefore(a.createNewTextBlock(n,r),l),e.remove(l)),!0):t.isFirstChild(r)?("LI"===c.nodeName?(e.insertAfter(r,c),r.appendChild(l),s(n.dom,c)):t.isListNode(c)?c.insertBefore(r,l):(c.insertBefore(a.createNewTextBlock(n,r),l),e.remove(r)),!0):t.isLastChild(r)?("LI"===c.nodeName?e.insertAfter(r,c):t.isListNode(c)?e.insertAfter(r,l):(e.insertAfter(a.createNewTextBlock(n,r),l),e.remove(r)),!0):("LI"===c.nodeName?(l=c,u=a.createNewTextBlock(n,r,"LI")):u=t.isListNode(c)?a.createNewTextBlock(n,r,"LI"):a.createNewTextBlock(n,r),o.splitList(n,l,r,u),i.normalizeLists(n.dom,l.parentNode),!0))},l=function(e){var t=r.getSelectedListItems(e);if(t.length){var o,i,a=n.createBookmark(e.selection.getRng(!0)),s=e.getBody();for(o=t.length;o--;)for(var l=t[o].parentNode;l&&l!==s;){for(i=t.length;i--;)if(t[i]===l){t.splice(o,1);break}l=l.parentNode}for(o=0;o<t.length&&(u(e,t[o])||0!==o);o++);return e.selection.setRng(n.resolveBookmark(a)),e.nodeChanged(),!0}};return{outdent:u,outdentSelection:l}}),a("tinymce.lists.actions.ToggleList",["global!tinymce.util.Tools","global!tinymce.dom.BookmarkManager","tinymce.lists.core.Selection","tinymce.lists.core.NodeType","tinymce.lists.core.Bookmark","tinymce.lists.core.SplitList","tinymce.lists.core.NormalizeLists","tinymce.lists.actions.Outdent"],function(e,t,n,r,o,i,a,s){var u=function(e,t,n){var r=n["list-style-type"]?n["list-style-type"]:null;e.setStyle(t,"list-style-type",r)},l=function(t,n){e.each(n,function(e,n){t.setAttribute(n,e)})},c=function(t,n,r){l(n,r["list-attributes"]),e.each(t.select("li",n),function(e){l(e,r["list-item-attributes"])})},d=function(e,t,n){u(e,t,n),c(e,t,n)},f=function(e,t,n){var o,i,a=e.getBody();for(o=t[n?"startContainer":"endContainer"],i=t[n?"startOffset":"endOffset"],1===o.nodeType&&(o=o.childNodes[Math.min(i,o.childNodes.length-1)]||o);o.parentNode!==a;){if(r.isTextBlock(e,o))return o;if(/^(TD|TH)$/.test(o.parentNode.nodeName))return o;o=o.parentNode}return o},p=function(n,o){for(var i,a=[],s=n.getBody(),u=n.dom,l=f(n,o,!0),c=f(n,o,!1),d=[],p=l;p&&(d.push(p),p!==c);p=p.nextSibling);return e.each(d,function(e){if(r.isTextBlock(n,e))return a.push(e),void(i=null);if(u.isBlock(e)||r.isBr(e))return r.isBr(e)&&u.remove(e),void(i=null);var o=e.nextSibling;return t.isBookmarkNode(e)&&(r.isTextBlock(n,o)||!o&&e.parentNode===s)?void(i=null):(i||(i=u.create("p"),e.parentNode.insertBefore(i,e),a.push(i)),void i.appendChild(e))}),a},h=function(t,n,i){var a,s=t.selection.getRng(!0),u="LI",l=t.dom;i=i?i:{},"false"!==l.getContentEditable(t.selection.getNode())&&(n=n.toUpperCase(),"DL"===n&&(u="DT"),a=o.createBookmark(s),e.each(p(t,s),function(e){var o,a,s=function(e){var t=l.getStyle(e,"list-style-type"),n=i?i["list-style-type"]:"";return n=null===n?"":n,t===n};a=e.previousSibling,a&&r.isListNode(a)&&a.nodeName===n&&s(a)?(o=a,e=l.rename(e,u),a.appendChild(e)):(o=l.create(n),e.parentNode.insertBefore(o,e),o.appendChild(e),e=l.rename(e,u)),d(l,o,i),_(t.dom,o)}),t.selection.setRng(o.resolveBookmark(a)))},m=function(t){var u=o.createBookmark(t.selection.getRng(!0)),l=t.getBody(),c=n.getSelectedListItems(t),d=e.grep(c,function(e){return t.dom.isEmpty(e)});c=e.grep(c,function(e){return!t.dom.isEmpty(e)}),e.each(d,function(e){if(r.isEmpty(t.dom,e))return void s.outdent(t,e)}),e.each(c,function(e){var n,o;if(e.parentNode!==t.getBody()){for(n=e;n&&n!==l;n=n.parentNode)r.isListNode(n)&&(o=n);i.splitList(t,o,e),a.normalizeLists(t.dom,o.parentNode)}}),t.selection.setRng(o.resolveBookmark(u))},g=function(e,t){return e&&t&&r.isListNode(e)&&e.nodeName===t.nodeName},v=function(e,t,n){var r=e.getStyle(t,"list-style-type",!0),o=e.getStyle(n,"list-style-type",!0);return r===o},y=function(e,t){return e.className===t.className},b=function(e,t,n){return g(t,n)&&v(e,t,n)&&y(t,n)},_=function(e,t){var n,r;if(n=t.nextSibling,b(e,t,n)){for(;r=n.firstChild;)t.appendChild(r);e.remove(n)}if(n=t.previousSibling,b(e,t,n)){for(;r=n.lastChild;)t.insertBefore(r,t.firstChild);e.remove(n)}},w=function(e,t,n){var r=e.dom.getParent(e.selection.getStart(),"OL,UL,DL");if(n=n?n:{},r!==e.getBody())if(r)if(r.nodeName===t)m(e,t);else{var i=o.createBookmark(e.selection.getRng(!0));d(e.dom,r,n),_(e.dom,e.dom.rename(r,t)),e.selection.setRng(o.resolveBookmark(i))}else h(e,t,n)};return{toggleList:w,removeList:m,mergeWithAdjacentLists:_}}),a("tinymce.lists.core.Delete",["global!tinymce.dom.TreeWalker","global!tinymce.dom.RangeUtils","global!tinymce.util.VK","tinymce.lists.core.Selection","tinymce.lists.core.NodeType","tinymce.lists.core.Bookmark","tinymce.lists.core.Range","tinymce.lists.core.NormalizeLists","tinymce.lists.actions.ToggleList"],function(e,t,n,r,o,i,a,s,u){var l=function(n,r,i){var a,s,u=r.startContainer,l=r.startOffset;if(3===u.nodeType&&(i?l<u.data.length:l>0))return u;for(a=n.schema.getNonEmptyElements(),1===u.nodeType&&(u=t.getNode(u,l)),s=new e(u,n.getBody()),i&&o.isBogusBr(n.dom,u)&&s.next();u=s[i?"next":"prev2"]();){if("LI"===u.nodeName&&!u.hasChildNodes())return u;if(a[u.nodeName])return u;if(3===u.nodeType&&u.data.length>0)return u}},c=function(e,t,n){var r,i,a=t.parentNode;if(o.isChildOfBody(e,t)&&o.isChildOfBody(e,n)){if(o.isListNode(n.lastChild)&&(i=n.lastChild),a===n.lastChild&&o.isBr(a.previousSibling)&&e.remove(a.previousSibling),r=n.lastChild,r&&o.isBr(r)&&t.hasChildNodes()&&e.remove(r),o.isEmpty(e,n,!0)&&e.$(n).empty(),!o.isEmpty(e,t,!0))for(;r=t.firstChild;)n.appendChild(r);i&&n.appendChild(i),e.remove(t),o.isEmpty(e,a)&&a!==e.getRoot()&&e.remove(a)}},d=function(e,t){var n,r,s,d=e.dom,f=e.selection,p=d.getParent(f.getStart(),"LI");if(p){if(n=p.parentNode,n===e.getBody()&&o.isEmpty(d,n))return!0;if(r=a.normalizeRange(f.getRng(!0)),s=d.getParent(l(e,r,t),"LI"),s&&s!==p){var h=i.createBookmark(r);return t?c(d,s,p):c(d,p,s),e.selection.setRng(i.resolveBookmark(h)),!0}if(!s&&!t&&u.removeList(e,n.nodeName))return!0}return!1},f=function(e,t){var n=e.dom,r=n.getParent(e.selection.getStart(),n.isBlock);if(r&&n.isEmpty(r)){var o=a.normalizeRange(e.selection.getRng(!0)),i=n.getParent(l(e,o,t),"LI");if(i)return e.undoManager.transact(function(){n.remove(r),u.mergeWithAdjacentLists(n,i.parentNode),e.selection.select(i,!0),e.selection.collapse(t)}),!0}return!1},p=function(e,t){return d(e,t)||f(e,t)},h=function(e){var t=e.dom.getParent(e.selection.getStart(),"LI,DT,DD");return!!(t||r.getSelectedListItems(e).length>0)&&(e.undoManager.transact(function(){e.execCommand("Delete"),s.normalizeLists(e.dom,e.getBody())}),!0)},m=function(e,t){return e.selection.isCollapsed()?p(e,t):h(e)},g=function(e){e.on("keydown",function(t){t.keyCode===n.BACKSPACE?m(e,!1)&&t.preventDefault():t.keyCode===n.DELETE&&m(e,!0)&&t.preventDefault()})};return{setup:g,backspaceDelete:m}}),a("tinymce.lists.actions.Indent",["global!tinymce.dom.DOMUtils.DOM","tinymce.lists.core.NodeType","tinymce.lists.core.Bookmark","tinymce.lists.core.Selection"],function(e,t,n,r){var o=function(n,r){var o;if(t.isListNode(n)){for(;o=n.firstChild;)r.appendChild(o);e.remove(n)}},i=function(n){var r,i,a;return"DT"===n.nodeName?(e.rename(n,"DD"),!0):(r=n.previousSibling,r&&t.isListNode(r)?(r.appendChild(n),!0):r&&"LI"===r.nodeName&&t.isListNode(r.lastChild)?(r.lastChild.appendChild(n),o(n.lastChild,r.lastChild),!0):(r=n.nextSibling,r&&t.isListNode(r)?(r.insertBefore(n,r.firstChild),!0):(r=n.previousSibling,!(!r||"LI"!==r.nodeName)&&(i=e.create(n.parentNode.nodeName),a=e.getStyle(n.parentNode,"listStyleType"),a&&e.setStyle(i,"listStyleType",a),r.appendChild(i),i.appendChild(n),o(n.lastChild,i),!0))))},a=function(e){var t=r.getSelectedListItems(e);if(t.length){for(var o=n.createBookmark(e.selection.getRng(!0)),a=0;a<t.length&&(i(t[a])||0!==a);a++);
+return e.selection.setRng(n.resolveBookmark(o)),e.nodeChanged(),!0}};return{indentSelection:a}}),a("tinymce.lists.Plugin",["global!tinymce.PluginManager","global!tinymce.util.Tools","global!tinymce.util.VK","tinymce.lists.core.NodeType","tinymce.lists.core.Delete","tinymce.lists.actions.Indent","tinymce.lists.actions.Outdent","tinymce.lists.actions.ToggleList"],function(e,t,n,r,o,i,a,s){var u=function(e,t){return function(){var n=e.dom.getParent(e.selection.getStart(),"UL,OL,DL");return n&&n.nodeName===t}},l=function(e){e.on("BeforeExecCommand",function(t){var n,r=t.command.toLowerCase();if("indent"===r?i.indentSelection(e)&&(n=!0):"outdent"===r&&a.outdentSelection(e)&&(n=!0),n)return e.fire("ExecCommand",{command:t.command}),t.preventDefault(),!0}),e.addCommand("InsertUnorderedList",function(t,n){s.toggleList(e,"UL",n)}),e.addCommand("InsertOrderedList",function(t,n){s.toggleList(e,"OL",n)}),e.addCommand("InsertDefinitionList",function(t,n){s.toggleList(e,"DL",n)})},c=function(e){e.addQueryStateHandler("InsertUnorderedList",u(e,"UL")),e.addQueryStateHandler("InsertOrderedList",u(e,"OL")),e.addQueryStateHandler("InsertDefinitionList",u(e,"DL"))},d=function(e){e.on("keydown",function(t){9!==t.keyCode||n.metaKeyPressed(t)||e.dom.getParent(e.selection.getStart(),"LI,DT,DD")&&(t.preventDefault(),t.shiftKey?a.outdentSelection(e):i.indentSelection(e))})},f=function(e){var n=function(n){return function(){var o=this;e.on("NodeChange",function(e){var i=t.grep(e.parents,r.isListNode);o.active(i.length>0&&i[0].nodeName===n)})}},o=function(e,n){var r=e.settings.plugins?e.settings.plugins:"";return t.inArray(r.split(/[ ,]/),n)!==-1};o(e,"advlist")||(e.addButton("numlist",{title:"Numbered list",cmd:"InsertOrderedList",onPostRender:n("OL")}),e.addButton("bullist",{title:"Bullet list",cmd:"InsertUnorderedList",onPostRender:n("UL")})),e.addButton("indent",{icon:"indent",title:"Increase indent",cmd:"Indent",onPostRender:function(t){var n=t.control;e.on("nodechange",function(){for(var t=e.selection.getSelectedBlocks(),o=!1,i=0,a=t.length;!o&&i<a;i++){var s=t[i].nodeName;o="LI"===s&&r.isFirstChild(t[i])||"UL"===s||"OL"===s||"DD"===s}n.disabled(o)})}})};return e.add("lists",function(e){return f(e),o.setup(e),e.on("init",function(){l(e),c(e),d(e)}),{backspaceDelete:function(t){o.backspaceDelete(e,t)}}}),function(){}}),r("tinymce.lists.Plugin")()}()},function(e,t){!function(){var e={},t=function(t){for(var n=e[t],o=n.deps,i=n.defn,a=o.length,s=new Array(a),u=0;u<a;++u)s[u]=r(o[u]);var l=i.apply(null,s);if(void 0===l)throw"module ["+t+"] returned undefined";n.instance=l},n=function(t,n,r){if("string"!=typeof t)throw"module id must be a string";if(void 0===n)throw"no dependencies for "+t;if(void 0===r)throw"no definition function for "+t;e[t]={deps:n,defn:r,instance:void 0}},r=function(n){var r=e[n];if(void 0===r)throw"module ["+n+"] was undefined";return void 0===r.instance&&t(n),r.instance},o=function(e,t){for(var n=e.length,o=new Array(n),i=0;i<n;++i)o.push(r(e[i]));t.apply(null,t)},i={};i.bolt={module:{api:{define:n,require:o,demand:r}}};var a=n,s=function(e,t){a(e,[],function(){return t})};s("global!tinymce.PluginManager",tinymce.PluginManager),s("global!tinymce.util.Delay",tinymce.util.Delay),s("global!tinymce.util.Tools",tinymce.util.Tools),s("global!tinymce.html.SaxParser",tinymce.html.SaxParser),s("global!tinymce.html.Schema",tinymce.html.Schema),s("global!tinymce.dom.DOMUtils.DOM",tinymce.dom.DOMUtils.DOM),a("tinymce.media.core.VideoScript",[],function(){var e=function(e,t){if(e)for(var n=0;n<e.length;n++)if(t.indexOf(e[n].filter)!==-1)return e[n]};return{getVideoScriptMatch:e}}),a("tinymce.media.core.Size",[],function(){var e=function(e){return e.replace(/px$/,"")},t=function(e){return/^[0-9.]+$/.test(e)?e+"px":e},n=function(t){return function(n){return n?e(n.style[t]):""}},r=function(e){return function(n,r){n&&(n.style[e]=t(r))}};return{getMaxWidth:n("maxWidth"),getMaxHeight:n("maxHeight"),setMaxWidth:r("maxWidth"),setMaxHeight:r("maxHeight")}}),a("tinymce.media.core.HtmlToData",["global!tinymce.util.Tools","global!tinymce.html.SaxParser","global!tinymce.html.Schema","global!tinymce.dom.DOMUtils.DOM","tinymce.media.core.VideoScript","tinymce.media.core.Size"],function(e,t,n,r,o,i){var a=function(e){return r.getAttrib(e,"data-ephox-embed-iri")},s=function(e){var t=r.createFragment(e);return""!==a(t.firstChild)},u=function(n,r){var i={};return new t({validate:!1,allow_conditional_comments:!0,special:"script,noscript",start:function(t,r){if(i.source1||"param"!==t||(i.source1=r.map.movie),"iframe"!==t&&"object"!==t&&"embed"!==t&&"video"!==t&&"audio"!==t||(i.type||(i.type=t),i=e.extend(r.map,i)),"script"===t){var a=o.getVideoScriptMatch(n,r.map.src);if(!a)return;i={type:"script",source1:r.map.src,width:a.width,height:a.height}}"source"===t&&(i.source1?i.source2||(i.source2=r.map.src):i.source1=r.map.src),"img"!==t||i.poster||(i.poster=r.map.src)}}).parse(r),i.source1=i.source1||i.src||i.data,i.source2=i.source2||"",i.poster=i.poster||"",i},l=function(e){var t=r.createFragment(e),n=t.firstChild;return{type:"ephox-embed-iri",source1:a(n),source2:"",poster:"",width:i.getMaxWidth(n),height:i.getMaxHeight(n)}},c=function(e,t){return s(t)?l(t):u(e,t)};return{htmlToData:c}}),s("global!tinymce.html.Writer",tinymce.html.Writer),a("tinymce.media.core.UpdateHtml",["global!tinymce.html.Writer","global!tinymce.html.SaxParser","global!tinymce.html.Schema","global!tinymce.dom.DOMUtils.DOM","tinymce.media.core.Size"],function(e,t,n,r,o){var i=function(e,t){var n,r,o,i;for(n in t)if(o=""+t[n],e.map[n])for(r=e.length;r--;)i=e[r],i.name===n&&(o?(e.map[n]=o,i.value=o):(delete e.map[n],e.splice(r,1)));else o&&(e.push({name:n,value:o}),e.map[n]=o)},a=function(n){var r=new e,o=new t(r);return o.parse(n),r.getContent()},s=function(r,o,a){var s,u=new e,l=0;return new t({validate:!1,allow_conditional_comments:!0,special:"script,noscript",comment:function(e){u.comment(e)},cdata:function(e){u.cdata(e)},text:function(e,t){u.text(e,t)},start:function(e,t,n){switch(e){case"video":case"object":case"embed":case"img":case"iframe":i(t,{width:o.width,height:o.height})}if(a)switch(e){case"video":i(t,{poster:o.poster,src:""}),o.source2&&i(t,{src:""});break;case"iframe":i(t,{src:o.source1});break;case"source":if(l++,l<=2&&(i(t,{src:o["source"+l],type:o["source"+l+"mime"]}),!o["source"+l]))return;break;case"img":if(!o.poster)return;s=!0}u.start(e,t,n)},end:function(e){if("video"===e&&a)for(var t=1;t<=2;t++)if(o["source"+t]){var n=[];n.map={},l<t&&(i(n,{src:o["source"+t],type:o["source"+t+"mime"]}),u.start("source",n,!0))}if(o.poster&&"object"===e&&a&&!s){var r=[];r.map={},i(r,{src:o.poster,width:o.width,height:o.height}),u.start("img",r,!0)}u.end(e)}},new n({})).parse(r),u.getContent()},u=function(e){var t=r.createFragment(e);return""!==r.getAttrib(t.firstChild,"data-ephox-embed-iri")},l=function(e,t){var n=r.createFragment(e),i=n.firstChild;return o.setMaxWidth(i,t.width),o.setMaxHeight(i,t.height),a(i.outerHTML)},c=function(e,t,n){return u(e)?l(e,t):s(e,t,n)};return{updateHtml:c}}),a("tinymce.media.core.Mime",[],function(){var e=function(e){var t={mp3:"audio/mpeg",wav:"audio/wav",mp4:"video/mp4",webm:"video/webm",ogg:"video/ogg",swf:"application/x-shockwave-flash"},n=e.toLowerCase().split(".").pop(),r=t[n];return r?r:""};return{guess:e}}),a("tinymce.media.core.UrlPatterns",[],function(){var e=[{regex:/youtu\.be\/([\w\-.]+)/,type:"iframe",w:560,h:314,url:"//www.youtube.com/embed/$1",allowFullscreen:!0},{regex:/youtube\.com(.+)v=([^&]+)/,type:"iframe",w:560,h:314,url:"//www.youtube.com/embed/$2",allowFullscreen:!0},{regex:/youtube.com\/embed\/([a-z0-9\-_]+(?:\?.+)?)/i,type:"iframe",w:560,h:314,url:"//www.youtube.com/embed/$1",allowFullscreen:!0},{regex:/vimeo\.com\/([0-9]+)/,type:"iframe",w:425,h:350,url:"//player.vimeo.com/video/$1?title=0&byline=0&portrait=0&color=8dc7dc",allowfullscreen:!0},{regex:/vimeo\.com\/(.*)\/([0-9]+)/,type:"iframe",w:425,h:350,url:"//player.vimeo.com/video/$2?title=0&amp;byline=0",allowfullscreen:!0},{regex:/maps\.google\.([a-z]{2,3})\/maps\/(.+)msid=(.+)/,type:"iframe",w:425,h:350,url:'//maps.google.com/maps/ms?msid=$2&output=embed"',allowFullscreen:!1},{regex:/dailymotion\.com\/video\/([^_]+)/,type:"iframe",w:480,h:270,url:"//www.dailymotion.com/embed/video/$1",allowFullscreen:!0}];return{urlPatterns:e}}),a("tinymce.media.core.DataToHtml",["tinymce.media.core.Mime","tinymce.media.core.HtmlToData","tinymce.media.core.UrlPatterns","tinymce.media.core.VideoScript","tinymce.media.core.UpdateHtml","global!tinymce.util.Tools"],function(e,t,n,r,o,i){var a=function(a,s){var u="",l=i.extend({},s);if(!l.source1&&(i.extend(l,t.htmlToData(a.settings.media_scripts,l.embed)),!l.source1))return"";if(l.source2||(l.source2=""),l.poster||(l.poster=""),l.source1=a.convertURL(l.source1,"source"),l.source2=a.convertURL(l.source2,"source"),l.source1mime=e.guess(l.source1),l.source2mime=e.guess(l.source2),l.poster=a.convertURL(l.poster,"poster"),i.each(n.urlPatterns,function(e){var t,n,r=e.regex.exec(l.source1);if(r){for(n=e.url,t=0;r[t];t++)n=n.replace("$"+t,function(){return r[t]});l.source1=n,l.type=e.type,l.allowFullscreen=e.allowFullscreen,l.width=l.width||e.w,l.height=l.height||e.h}}),l.embed)u=o.updateHtml(l.embed,l,!0);else{var c=r.getVideoScriptMatch(a.settings.media_scripts,l.source1);if(c&&(l.type="script",l.width=c.width,l.height=c.height),l.width=l.width||300,l.height=l.height||150,i.each(l,function(e,t){l[t]=a.dom.encode(e)}),"iframe"===l.type){var d=l.allowFullscreen?' allowFullscreen="1"':"";u+='<iframe src="'+l.source1+'" width="'+l.width+'" height="'+l.height+'"'+d+"></iframe>"}else"application/x-shockwave-flash"===l.source1mime?(u+='<object data="'+l.source1+'" width="'+l.width+'" height="'+l.height+'" type="application/x-shockwave-flash">',l.poster&&(u+='<img src="'+l.poster+'" width="'+l.width+'" height="'+l.height+'" />'),u+="</object>"):l.source1mime.indexOf("audio")!==-1?a.settings.audio_template_callback?u=a.settings.audio_template_callback(l):u+='<audio controls="controls" src="'+l.source1+'">'+(l.source2?'\n<source src="'+l.source2+'"'+(l.source2mime?' type="'+l.source2mime+'"':"")+" />\n":"")+"</audio>":"script"===l.type?u+='<script src="'+l.source1+'"></script>':u=a.settings.video_template_callback?a.settings.video_template_callback(l):'<video width="'+l.width+'" height="'+l.height+'"'+(l.poster?' poster="'+l.poster+'"':"")+' controls="controls">\n<source src="'+l.source1+'"'+(l.source1mime?' type="'+l.source1mime+'"':"")+" />\n"+(l.source2?'<source src="'+l.source2+'"'+(l.source2mime?' type="'+l.source2mime+'"':"")+" />\n":"")+"</video>"}return u};return{dataToHtml:a}}),s("global!tinymce.util.Promise",tinymce.util.Promise),a("tinymce.media.core.Service",["tinymce.media.core.DataToHtml","global!tinymce.util.Promise"],function(e,t){var n=function(e,n,r){var o={};return new t(function(t,i){var a=function(r){return r.html&&(o[e.source1]=r),t({url:e.source1,html:r.html?r.html:n(e)})};o[e.source1]?a(o[e.source1]):r({url:e.source1},a,i)})},r=function(e,n){return new t(function(t){t({html:n(e),url:e.source1})})},o=function(t){return function(n){return e.dataToHtml(t,n)}},i=function(e,t){var i=e.settings.media_url_resolver;return i?n(t,o(e),i):r(t,o(e))};return{getEmbedHtml:i}}),s("global!tinymce.Env",tinymce.Env),a("tinymce.media.ui.SizeManager",[],function(){var e=function(e,t){e.state.set("oldVal",e.value()),t.state.set("oldVal",t.value())},t=function(e,t){var n=e.find("#width")[0],r=e.find("#height")[0],o=e.find("#constrain")[0];n&&r&&o&&t(n,r,o.checked())},n=function(t,n,r){var o=t.state.get("oldVal"),i=n.state.get("oldVal"),a=t.value(),s=n.value();r&&o&&i&&a&&s&&(a!==o?(s=Math.round(a/o*s),isNaN(s)||n.value(s)):(a=Math.round(s/i*a),isNaN(a)||t.value(a))),e(t,n)},r=function(n){t(n,e)},o=function(e){t(e,n)},i=function(e){var t=function(){e(function(e){o(e)})};return{type:"container",label:"Dimensions",layout:"flex",align:"center",spacing:5,items:[{name:"width",type:"textbox",maxLength:5,size:5,onchange:t,ariaLabel:"Width"},{type:"label",text:"x"},{name:"height",type:"textbox",maxLength:5,size:5,onchange:t,ariaLabel:"Height"},{name:"constrain",type:"checkbox",checked:!0,text:"Constrain proportions"}]}};return{createUi:i,syncSize:r,updateSize:o}}),a("tinymce.media.ui.Dialog",["global!tinymce.util.Delay","tinymce.media.core.HtmlToData","tinymce.media.core.UpdateHtml","tinymce.media.core.Service","tinymce.media.core.Size","global!tinymce.util.Tools","global!tinymce.Env","tinymce.media.ui.SizeManager"],function(e,t,n,r,o,i,a,s){var u=a.ie&&a.ie<=8?"onChange":"onInput",l=function(e){return function(t){var n=t&&t.msg?"Media embed handler error: "+t.msg:"Media embed handler threw unknown error.";e.notificationManager.open({type:"error",text:n})}},c=function(e){var n=e.selection.getNode(),r=n.getAttribute("data-ephox-embed-iri");return r?{source1:r,"data-ephox-embed-iri":r,width:o.getMaxWidth(n),height:o.getMaxHeight(n)}:n.getAttribute("data-mce-object")?t.htmlToData(e.settings.media_scripts,e.serializer.serialize(n,{selection:!0})):{}},d=function(e){var t=e.selection.getNode();if(t.getAttribute("data-mce-object")||t.getAttribute("data-ephox-embed-iri"))return e.selection.getContent()},f=function(e,n){return function(r){var o=r.html,a=e.find("#embed")[0],u=i.extend(t.htmlToData(n.settings.media_scripts,o),{source1:r.url});e.fromJSON(u),a&&(a.value(o),s.updateSize(e))}},p=function(e,t){var n,r,o=e.dom.select("img[data-mce-object]");for(n=0;n<t.length;n++)for(r=o.length-1;r>=0;r--)t[n]===o[r]&&o.splice(r,1);e.selection.select(o[0])},h=function(e,t){var n=e.dom.select("img[data-mce-object]");e.insertContent(t),p(e,n),e.nodeChanged()},m=function(e,t){var o=e.toJSON();o.embed=n.updateHtml(o.embed,o),o.embed?h(t,o.embed):r.getEmbedHtml(t,o).then(function(e){h(t,e.html)}).catch(l(t))},g=function(e,t){i.each(t,function(t,n){e.find("#"+n).value(t)})},v=function(e){var o,a,p=[{name:"source1",type:"filepicker",filetype:"media",size:40,autofocus:!0,label:"Source",onpaste:function(){setTimeout(function(){r.getEmbedHtml(e,o.toJSON()).then(f(o,e)).catch(l(e))},1)},onchange:function(t){r.getEmbedHtml(e,o.toJSON()).then(f(o,e)).catch(l(e)),g(o,t.meta)},onbeforecall:function(e){e.meta=o.toJSON()}}],h=[],v=function(e){e(o),a=o.toJSON(),o.find("#embed").value(n.updateHtml(a.embed,a))};if(e.settings.media_alt_source!==!1&&h.push({name:"source2",type:"filepicker",filetype:"media",size:40,label:"Alternative source"}),e.settings.media_poster!==!1&&h.push({name:"poster",type:"filepicker",filetype:"image",size:40,label:"Poster"}),e.settings.media_dimensions!==!1){var y=s.createUi(v);p.push(y)}a=c(e);var b={id:"mcemediasource",type:"textbox",flex:1,name:"embed",value:d(e),multiline:!0,rows:5,label:"Source"},_=function(){a=i.extend({},t.htmlToData(e.settings.media_scripts,this.value())),this.parent().parent().fromJSON(a)};b[u]=_,o=e.windowManager.open({title:"Insert/edit media",data:a,bodyType:"tabpanel",body:[{title:"General",type:"form",items:p},{title:"Embed",type:"container",layout:"flex",direction:"column",align:"stretch",padding:10,spacing:10,items:[{type:"label",text:"Paste your embed code below:",forId:"mcemediasource"},b]},{title:"Advanced",type:"form",items:h}],onSubmit:function(){s.updateSize(o),m(o,e)}}),s.syncSize(o)};return{showDialog:v}}),a("tinymce.media.core.Sanitize",["global!tinymce.util.Tools","global!tinymce.html.Writer","global!tinymce.html.SaxParser","global!tinymce.html.Schema"],function(e,t,n,r){var o=function(e,o){if(e.settings.media_filter_html===!1)return o;var i,a=new t;return new n({validate:!1,allow_conditional_comments:!1,special:"script,noscript",comment:function(e){a.comment(e)},cdata:function(e){a.cdata(e)},text:function(e,t){a.text(e,t)},start:function(t,n,r){if(i=!0,"script"!==t&&"noscript"!==t){for(var o=0;o<n.length;o++){if(0===n[o].name.indexOf("on"))return;"style"===n[o].name&&(n[o].value=e.dom.serializeStyle(e.dom.parseStyle(n[o].value),t))}a.start(t,n,r),i=!1}},end:function(e){i||a.end(e)}},new r({})).parse(o),a.getContent()};return{sanitize:o}}),s("global!tinymce.html.Node",tinymce.html.Node),a("tinymce.media.core.Nodes",["tinymce.media.core.Sanitize","tinymce.media.core.VideoScript","global!tinymce.html.Node","global!tinymce.Env"],function(e,t,n,r){var o=function(e,t){var o,i=t.name;return o=new n("img",1),o.shortEnded=!0,a(e,t,o),o.attr({width:t.attr("width")||"300",height:t.attr("height")||("audio"===i?"30":"150"),style:t.attr("style"),src:r.transparentSrc,"data-mce-object":i,class:"mce-object mce-object-"+i}),o},i=function(e,t){var r,o,i,s=t.name;return r=new n("span",1),r.attr({contentEditable:"false",style:t.attr("style"),"data-mce-object":s,class:"mce-preview-object mce-object-"+s}),a(e,t,r),o=new n(s,1),o.attr({src:t.attr("src"),allowfullscreen:t.attr("allowfullscreen"),width:t.attr("width")||"300",height:t.attr("height")||("audio"===s?"30":"150"),frameborder:"0"}),i=new n("span",1),i.attr("class","mce-shim"),r.append(o),r.append(i),r},a=function(t,n,r){var o,i,a,s,u;for(a=n.attributes,s=a.length;s--;)o=a[s].name,i=a[s].value,"width"!==o&&"height"!==o&&"style"!==o&&("data"!==o&&"src"!==o||(i=t.convertURL(i,o)),r.attr("data-mce-p-"+o,i));u=n.firstChild&&n.firstChild.value,u&&(r.attr("data-mce-html",escape(e.sanitize(t,u))),r.firstChild=null)},s=function(e){for(;e=e.parent;)if(e.attr("data-ephox-embed-iri"))return!0;return!1},u=function(e){return function(n){for(var a,u,l=n.length;l--;)a=n[l],a.parent&&(a.parent.attr("data-mce-object")||("script"!==a.name||(u=t.getVideoScriptMatch(e.settings.media_scripts,a.attr("src"))))&&(u&&(u.width&&a.attr("width",u.width.toString()),u.height&&a.attr("height",u.height.toString())),"iframe"===a.name&&e.settings.media_live_embeds!==!1&&r.ceFalse?s(a)||a.replace(i(e,a)):s(a)||a.replace(o(e,a))))}};return{createPreviewIframeNode:i,createPlaceholderNode:o,placeHolderConverter:u}}),a("tinymce.media.Plugin",["global!tinymce.PluginManager","tinymce.media.ui.Dialog","tinymce.media.core.Sanitize","tinymce.media.core.UpdateHtml","tinymce.media.core.Nodes"],function(e,t,n,r,o){var i=function(e){e.on("ResolveName",function(e){var t;1===e.target.nodeType&&(t=e.target.getAttribute("data-mce-object"))&&(e.name=t)}),e.on("preInit",function(){var t=e.schema.getSpecialElements();tinymce.each("video audio iframe object".split(" "),function(e){t[e]=new RegExp("</"+e+"[^>]*>","gi")});var r=e.schema.getBoolAttrs();tinymce.each("webkitallowfullscreen mozallowfullscreen allowfullscreen".split(" "),function(e){r[e]={}}),e.parser.addNodeFilter("iframe,video,audio,object,embed,script",o.placeHolderConverter(e)),e.serializer.addAttributeFilter("data-mce-object",function(t,r){for(var o,i,a,s,u,l,c,d,f=t.length;f--;)if(o=t[f],o.parent){for(c=o.attr(r),i=new tinymce.html.Node(c,1),"audio"!==c&&"script"!==c&&(d=o.attr("class"),d&&d.indexOf("mce-preview-object")!==-1?i.attr({width:o.firstChild.attr("width"),height:o.firstChild.attr("height")}):i.attr({width:o.attr("width"),height:o.attr("height")})),i.attr({style:o.attr("style")}),s=o.attributes,a=s.length;a--;){var p=s[a].name;0===p.indexOf("data-mce-p-")&&i.attr(p.substr(11),s[a].value)}"script"===c&&i.attr("type","text/javascript"),u=o.attr("data-mce-html"),u&&(l=new tinymce.html.Node("#text",3),l.raw=!0,l.value=n.sanitize(e,unescape(u)),i.append(l)),o.replace(i)}})}),e.on("click keyup",function(){var t=e.selection.getNode();t&&e.dom.hasClass(t,"mce-preview-object")&&e.dom.getAttrib(t,"data-mce-selected")&&t.setAttribute("data-mce-selected","2")}),e.on("ObjectSelected",function(e){var t=e.target.getAttribute("data-mce-object");"audio"!==t&&"script"!==t||e.preventDefault()}),e.on("objectResized",function(e){var t,n=e.target;n.getAttribute("data-mce-object")&&(t=n.getAttribute("data-mce-html"),t&&(t=unescape(t),n.setAttribute("data-mce-html",escape(r.updateHtml(t,{width:e.width,height:e.height})))))}),this.showDialog=function(){t.showDialog(e)},e.addButton("media",{tooltip:"Insert/edit media",onclick:this.showDialog,stateSelector:["img[data-mce-object]","span[data-mce-object]","div[data-ephox-embed-iri]"]}),e.addMenuItem("media",{icon:"media",text:"Media",onclick:this.showDialog,context:"insert",prependToContext:!0}),e.on("setContent",function(){e.$("span.mce-preview-object").each(function(t,n){var r=e.$(n);0===r.find("span.mce-shim",n).length&&r.append('<span class="mce-shim"></span>')})}),e.addCommand("mceMedia",this.showDialog)};return e.add("media",i),function(){}}),r("tinymce.media.Plugin")()}()},function(e,t){!function(e,t){"use strict";function n(e,t){for(var n,r=[],i=0;i<e.length;++i){if(n=a[e[i]]||o(e[i]),!n)throw"module definition dependecy not found: "+e[i];r.push(n)}t.apply(null,r)}function r(e,r,o){if("string"!=typeof e)throw"invalid module definition, module id must be defined and be a string";if(r===t)throw"invalid module definition, dependencies must be specified";if(o===t)throw"invalid module definition, definition function must be specified";n(r,function(){a[e]=o.apply(null,arguments)})}function o(t){for(var n=e,r=t.split(/[.\/]/),o=0;o<r.length;++o){if(!n[r[o]])return;n=n[r[o]]}return n}function i(n){var r,o,i,s,u;for(r=0;r<n.length;r++){o=e,i=n[r],s=i.split(/[.\/]/);for(var l=0;l<s.length-1;++l)o[s[l]]===t&&(o[s[l]]={}),o=o[s[l]];o[s[s.length-1]]=a[i]}if(e.AMDLC_TESTS){u=e.privateModules||{};for(i in a)u[i]=a[i];for(r=0;r<n.length;r++)delete u[n[r]];e.privateModules=u}}var a={};r("tinymce/pasteplugin/Utils",["tinymce/util/Tools","tinymce/html/DomParser","tinymce/html/Schema"],function(e,t,n){function r(t,n){return e.each(n,function(e){t=e.constructor==RegExp?t.replace(e,""):t.replace(e[0],e[1])}),t}function o(o){function i(e){var t=e.name,n=e;if("br"===t)return void(u+="\n");if(l[t]&&(u+=" "),c[t])return void(u+=" ");if(3==e.type&&(u+=e.value),!e.shortEnded&&(e=e.firstChild))do i(e);while(e=e.next);d[t]&&n.next&&(u+="\n","p"==t&&(u+="\n"))}var a=new n,s=new t({},a),u="",l=a.getShortEndedElements(),c=e.makeMap("script noscript style textarea video audio iframe object"," "),d=a.getBlockElements();return o=r(o,[/<!\[[^\]]+\]>/g]),i(s.parse(o)),u}function i(e){function t(e,t,n){return t||n?" ":" "}return e=r(s(e),[/^[\s\S]*<body[^>]*>\s*|\s*<\/body[^>]*>[\s\S]*$/gi,/<!--StartFragment-->|<!--EndFragment-->/g,[/( ?)<span class="Apple-converted-space">\u00a0<\/span>( ?)/g,t],/<br class="Apple-interchange-newline">/g,/<br>$/i])}function a(e){var t=0;return function(){return e+t++}}var s=function(e){var t="<!--StartFragment-->",n="<!--EndFragment-->",r=e.indexOf(t);if(r!==-1){var o=e.substr(r+t.length),i=o.indexOf(n);if(i!==-1&&/^<\/(p|h[1-6]|li)>/i.test(o.substr(i+n.length,5)))return o.substr(0,i)}return e};return{filter:r,innerText:o,trimHtml:i,createIdGenerator:a}}),r("tinymce/pasteplugin/SmartPaste",["tinymce/util/Tools"],function(e){var t=function(e){return/^https?:\/\/[\w\?\-\/+=.&%@~#]+$/i.test(e)},n=function(e){return t(e)&&/.(gif|jpe?g|png)$/.test(e)},r=function(e,t,n){return e.undoManager.extra(function(){n(e,t)},function(){e.insertContent('<img src="'+t+'">')}),!0},o=function(e,t,n){return e.undoManager.extra(function(){n(e,t)},function(){e.execCommand("mceInsertLink",!1,t)}),!0},i=function(e,n,r){return!(e.selection.isCollapsed()!==!1||!t(n))&&o(e,n,r)},a=function(e,t,o){return!!n(t)&&r(e,t,o)},s=function(e,t){return e.insertContent(t,{merge:e.settings.paste_merge_formats!==!1,paste:!0}),!0},u=function(t,n){e.each([i,a,s],function(e){return e(t,n,s)!==!0})},l=function(e,t){e.settings.smart_paste===!1?s(e,t):u(e,t)};return{isImageUrl:n,isAbsoluteUrl:t,insertContent:l}}),r("tinymce/pasteplugin/Clipboard",["tinymce/Env","tinymce/dom/RangeUtils","tinymce/util/VK","tinymce/pasteplugin/Utils","tinymce/pasteplugin/SmartPaste","tinymce/util/Delay"],function(e,t,n,r,o,i){return function(a){function s(e){var t,n=a.dom;if(t=a.fire("BeforePastePreProcess",{content:e}),t=a.fire("PastePreProcess",t),e=t.content,!t.isDefaultPrevented()){if(a.hasEventListeners("PastePostProcess")&&!t.isDefaultPrevented()){var r=n.add(a.getBody(),"div",{style:"display:none"},e);t=a.fire("PastePostProcess",{node:r}),n.remove(r),e=t.node.innerHTML}t.isDefaultPrevented()||o.insertContent(a,e)}}function u(e){e=a.dom.encode(e).replace(/\r\n/g,"\n");var t,n=a.dom.getParent(a.selection.getStart(),a.dom.isBlock),o=a.settings.forced_root_block;o&&(t=a.dom.createHTML(o,a.settings.forced_root_block_attrs),t=t.substr(0,t.length-3)+">"),n&&/^(PRE|DIV)$/.test(n.nodeName)||!o?e=r.filter(e,[[/\n/g,"<br>"]]):(e=r.filter(e,[[/\n\n/g,"</p>"+t],[/^(.*<\/p>)(<p>)$/,t+"$1"],[/\n/g,"<br />"]]),e.indexOf("<p>")!=-1&&(e=t+e)),s(e)}function l(){function t(e){var t,n,o,i=e.startContainer;if(t=e.getClientRects(),t.length)return t[0];if(e.collapsed&&1==i.nodeType){for(o=i.childNodes[T.startOffset];o&&3==o.nodeType&&!o.data.length;)o=o.nextSibling;if(o)return"BR"==o.tagName&&(n=r.doc.createTextNode("\ufeff"),o.parentNode.insertBefore(n,o),e=r.createRng(),e.setStartBefore(n),e.setEndAfter(n),t=e.getClientRects(),r.remove(n)),t.length?t[0]:void 0}}var n,r=a.dom,o=a.getBody(),i=a.dom.getViewPort(a.getWin()),s=i.y,u=20;if(T=a.selection.getRng(),a.inline&&(n=a.selection.getScrollContainer(),n&&n.scrollTop>0&&(s=n.scrollTop)),T.getClientRects){var l=t(T);if(l)u=s+(l.top-r.getPos(o).y);else{u=s;var c=T.startContainer;c&&(3==c.nodeType&&c.parentNode!=o&&(c=c.parentNode),1==c.nodeType&&(u=r.getPos(c,n||o).y))}}E=r.add(a.getBody(),"div",{id:"mcepastebin",contentEditable:!0,"data-mce-bogus":"all",style:"position: absolute; top: "+u+"px;width: 10px; height: 10px; overflow: hidden; opacity: 0"},A),(e.ie||e.gecko)&&r.setStyle(E,"left","rtl"==r.getStyle(o,"direction",!0)?65535:-65535),r.bind(E,"beforedeactivate focusin focusout",function(e){e.stopPropagation()}),E.focus(),a.selection.select(E,!0)}function c(){if(E){for(var e;e=a.dom.get("mcepastebin");)a.dom.remove(e),a.dom.unbind(e);T&&a.selection.setRng(T)}E=T=null}function d(){var e,t,n,r,o="";for(e=a.dom.select("div[id=mcepastebin]"),t=0;t<e.length;t++)n=e[t],n.firstChild&&"mcepastebin"==n.firstChild.id&&(n=n.firstChild),r=n.innerHTML,o!=A&&(o+=r);return o}function f(e){var t={};if(e){if(e.getData){var n=e.getData("Text");n&&n.length>0&&n.indexOf(N)==-1&&(t["text/plain"]=n)}if(e.types)for(var r=0;r<e.types.length;r++){var o=e.types[r];t[o]=e.getData(o)}}return t}function p(e){return f(e.clipboardData||a.getDoc().dataTransfer)}function h(e){return w(e,"text/html")||w(e,"text/plain")}function m(e){var t;return t=e.indexOf(","),t!==-1?e.substr(t+1):null}function g(e,t){return!e.images_dataimg_filter||e.images_dataimg_filter(t)}function v(e,t,n){e&&(a.selection.setRng(e),e=null);var r=t.result,o=m(r),i=new Image;if(i.src=r,g(a.settings,i)){var u,l,c=a.editorUpload.blobCache;l=c.findFirst(function(e){return e.base64()===o}),l?u=l:(u=c.create(I(),n,o),c.add(u)),s('<img src="'+u.blobUri()+'">')}else s('<img src="'+r+'">')}function y(e,t){function n(n){var r,o,i,a=!1;if(n)for(r=0;r<n.length;r++)if(o=n[r],/^image\/(jpeg|png|gif|bmp)$/.test(o.type)){var s=o.getAsFile?o.getAsFile():o;i=new FileReader,i.onload=v.bind(null,t,i,s),i.readAsDataURL(s),e.preventDefault(),a=!0}return a}var r=e.clipboardData||e.dataTransfer;if(a.settings.paste_data_images&&r)return n(r.items)||n(r.files)}function b(e){var t=e.clipboardData;return navigator.userAgent.indexOf("Android")!=-1&&t&&t.items&&0===t.items.length}function _(e){return t.getCaretRangeFromPoint(e.clientX,e.clientY,a.getDoc())}function w(e,t){return t in e&&e[t].length>0}function C(e){return n.metaKeyPressed(e)&&86==e.keyCode||e.shiftKey&&45==e.keyCode}function x(){function t(e,t,n){var o;return w(e,"text/html")?o=e["text/html"]:(o=d(),o==A&&(n=!0)),o=r.trimHtml(o),E&&E.firstChild&&"mcepastebin"===E.firstChild.id&&(n=!0),c(),o.length||(n=!0),n&&(o=w(e,"text/plain")&&o.indexOf("</p>")==-1?e["text/plain"]:r.innerText(o)),o==A?void(t||a.windowManager.alert("Please use Ctrl+V/Cmd+V keyboard shortcuts to paste contents.")):void(n?u(o):s(o))}function n(e){var t=e["text/plain"];return!!t&&0===t.indexOf("file://")}a.on("keydown",function(t){function n(e){C(e)&&!e.isDefaultPrevented()&&c()}if(C(t)&&!t.isDefaultPrevented()){if(k=t.shiftKey&&86==t.keyCode,k&&e.webkit&&navigator.userAgent.indexOf("Version/")!=-1)return;if(t.stopImmediatePropagation(),O=(new Date).getTime(),e.ie&&k)return t.preventDefault(),void a.fire("paste",{ieFake:!0});c(),l(),a.once("keyup",n),a.once("paste",function(){a.off("keyup",n)})}});var o=function(){return T||a.selection.getRng()};a.on("paste",function(n){var r=(new Date).getTime(),s=p(n),u=(new Date).getTime()-r,f=(new Date).getTime()-O-u<1e3,m="text"==S.pasteFormat||k;return k=!1,n.isDefaultPrevented()||b(n)?void c():!h(s)&&y(n,o())?void c():(f||n.preventDefault(),!e.ie||f&&!n.ieFake||(l(),a.dom.bind(E,"paste",function(e){e.stopPropagation()}),a.getDoc().execCommand("Paste",!1,null),s["text/html"]=d()),void(w(s,"text/html")?(n.preventDefault(),t(s,f,m)):i.setEditorTimeout(a,function(){t(s,f,m)},0)))}),a.on("dragstart dragend",function(e){M="dragstart"==e.type}),a.on("drop",function(e){var t,o;if(o=_(e),!e.isDefaultPrevented()&&!M&&(t=f(e.dataTransfer),(h(t)&&!n(t)||!y(e,o))&&o&&a.settings.paste_filter_drop!==!1)){var l=t["mce-internal"]||t["text/html"]||t["text/plain"];l&&(e.preventDefault(),i.setEditorTimeout(a,function(){a.undoManager.transact(function(){t["mce-internal"]&&a.execCommand("Delete"),a.selection.setRng(o),l=r.trimHtml(l),t["text/html"]?s(l):u(l)})}))}}),a.on("dragover dragend",function(e){a.settings.paste_data_images&&e.preventDefault()})}var E,T,k,S=this,O=0,M=!1,A="%MCEPASTEBIN%",N="data:text/mce-internal,",I=r.createIdGenerator("mceclip");S.pasteHtml=s,S.pasteText=u,S.pasteImageData=y,a.on("preInit",function(){x(),a.parser.addNodeFilter("img",function(t,n,r){function o(e){return e.data&&e.data.paste===!0}function i(t){t.attr("data-mce-object")||c===e.transparentSrc||t.remove()}function s(e){return 0===e.indexOf("webkit-fake-url")}function u(e){return 0===e.indexOf("data:")}if(!a.settings.paste_data_images&&o(r))for(var l=t.length;l--;){var c=t[l].attributes.map.src;c&&(s(c)?i(t[l]):!a.settings.allow_html_data_urls&&u(c)&&i(t[l]))}})})}}),r("tinymce/pasteplugin/WordFilter",["tinymce/util/Tools","tinymce/html/DomParser","tinymce/html/Schema","tinymce/html/Serializer","tinymce/html/Node","tinymce/pasteplugin/Utils"],function(e,t,n,r,o,i){function a(e){return/<font face="Times New Roman"|class="?Mso|style="[^"]*\bmso-|style='[^'']*\bmso-|w:WordDocument/i.test(e)||/class="OutlineElement/.test(e)||/id="?docs\-internal\-guid\-/.test(e)}function s(t){var n,r;return r=[/^[IVXLMCD]{1,2}\.[ \u00a0]/,/^[ivxlmcd]{1,2}\.[ \u00a0]/,/^[a-z]{1,2}[\.\)][ \u00a0]/,/^[A-Z]{1,2}[\.\)][ \u00a0]/,/^[0-9]+\.[ \u00a0]/,/^[\u3007\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d]+\.[ \u00a0]/,/^[\u58f1\u5f10\u53c2\u56db\u4f0d\u516d\u4e03\u516b\u4e5d\u62fe]+\.[ \u00a0]/],t=t.replace(/^[\u00a0 ]+/,""),e.each(r,function(e){if(e.test(t))return n=!0,!1}),n}function u(e){return/^[\s\u00a0]*[\u2022\u00b7\u00a7\u25CF]\s*/.test(e)}function l(l){var c=l.settings;l.on("BeforePastePreProcess",function(d){function f(e){function t(e){var n="";if(3===e.type)return e.value;if(e=e.firstChild)do n+=t(e);while(e=e.next);return n}function n(e,t){if(3===e.type&&t.test(e.value))return e.value=e.value.replace(t,""),!1;if(e=e.firstChild)do if(!n(e,t))return!1;while(e=e.next);return!0}function r(e){if(e._listIgnore)return void e.remove();if(e=e.firstChild)do r(e);while(e=e.next)}function i(e,t,i){var s=e._listLevel||c;s!=c&&(s<c?a&&(a=a.parent.parent):(l=a,a=null)),a&&a.name==t?a.append(e):(l=l||a,a=new o(t,1),i>1&&a.attr("start",""+i),e.wrap(a)),e.name="li",s>c&&l&&l.lastChild.append(a),c=s,r(e),n(e,/^\u00a0+/),n(e,/^\s*([\u2022\u00b7\u00a7\u25CF]|\w+\.)/),n(e,/^\u00a0+/)}for(var a,l,c=1,d=[],f=e.firstChild;"undefined"!=typeof f&&null!==f;)if(d.push(f),f=f.walk(),null!==f)for(;"undefined"!=typeof f&&f.parent!==e;)f=f.walk();for(var p=0;p<d.length;p++)if(e=d[p],"p"==e.name&&e.firstChild){var h=t(e);if(u(h)){i(e,"ul");continue}if(s(h)){var m=/([0-9]+)\./.exec(h),g=1;m&&(g=parseInt(m[1],10)),i(e,"ol",g);continue}if(e._listLevel){
+i(e,"ul",1);continue}a=null}else l=a,a=null}function p(t,n){var r,i={},a=l.dom.parseStyle(n);return e.each(a,function(e,o){switch(o){case"mso-list":r=/\w+ \w+([0-9]+)/i.exec(n),r&&(t._listLevel=parseInt(r[1],10)),/Ignore/i.test(e)&&t.firstChild&&(t._listIgnore=!0,t.firstChild._listIgnore=!0);break;case"horiz-align":o="text-align";break;case"vert-align":o="vertical-align";break;case"font-color":case"mso-foreground":o="color";break;case"mso-background":case"mso-highlight":o="background";break;case"font-weight":case"font-style":return void("normal"!=e&&(i[o]=e));case"mso-element":if(/^(comment|comment-list)$/i.test(e))return void t.remove()}return 0===o.indexOf("mso-comment")?void t.remove():void(0!==o.indexOf("mso-")&&("all"==h||m&&m[o])&&(i[o]=e))}),/(bold)/i.test(i["font-weight"])&&(delete i["font-weight"],t.wrap(new o("b",1))),/(italic)/i.test(i["font-style"])&&(delete i["font-style"],t.wrap(new o("i",1))),i=l.dom.serializeStyle(i,t.name),i?i:null}var h,m,g=d.content;if(g=g.replace(/<b[^>]+id="?docs-internal-[^>]*>/gi,""),g=g.replace(/<br class="?Apple-interchange-newline"?>/gi,""),h=c.paste_retain_style_properties,h&&(m=e.makeMap(h.split(/[, ]/))),c.paste_enable_default_filters!==!1&&a(d.content)){d.wordContent=!0,g=i.filter(g,[/<!--[\s\S]+?-->/gi,/<(!|script[^>]*>.*?<\/script(?=[>\s])|\/?(\?xml(:\w+)?|img|meta|link|style|\w:\w+)(?=[\s\/>]))[^>]*>/gi,[/<(\/?)s>/gi,"<$1strike>"],[/&nbsp;/gi," "],[/<span\s+style\s*=\s*"\s*mso-spacerun\s*:\s*yes\s*;?\s*"\s*>([\s\u00a0]*)<\/span>/gi,function(e,t){return t.length>0?t.replace(/./," ").slice(Math.floor(t.length/2)).split("").join(" "):""}]]);var v=c.paste_word_valid_elements;v||(v="-strong/b,-em/i,-u,-span,-p,-ol,-ul,-li,-h1,-h2,-h3,-h4,-h5,-h6,-p/div,-a[href|name],sub,sup,strike,br,del,table[width],tr,td[colspan|rowspan|width],th[colspan|rowspan|width],thead,tfoot,tbody");var y=new n({valid_elements:v,valid_children:"-li[p]"});e.each(y.elements,function(e){e.attributes.class||(e.attributes.class={},e.attributesOrder.push("class")),e.attributes.style||(e.attributes.style={},e.attributesOrder.push("style"))});var b=new t({},y);b.addAttributeFilter("style",function(e){for(var t,n=e.length;n--;)t=e[n],t.attr("style",p(t,t.attr("style"))),"span"==t.name&&t.parent&&!t.attributes.length&&t.unwrap()}),b.addAttributeFilter("class",function(e){for(var t,n,r=e.length;r--;)t=e[r],n=t.attr("class"),/^(MsoCommentReference|MsoCommentText|msoDel)$/i.test(n)&&t.remove(),t.attr("class",null)}),b.addNodeFilter("del",function(e){for(var t=e.length;t--;)e[t].remove()}),b.addNodeFilter("a",function(e){for(var t,n,r,o=e.length;o--;)if(t=e[o],n=t.attr("href"),r=t.attr("name"),n&&n.indexOf("#_msocom_")!=-1)t.remove();else if(n&&0===n.indexOf("file://")&&(n=n.split("#")[1],n&&(n="#"+n)),n||r){if(r&&!/^_?(?:toc|edn|ftn)/i.test(r)){t.unwrap();continue}t.attr({href:n,name:r})}else t.unwrap()});var _=b.parse(g);c.paste_convert_word_fake_lists!==!1&&f(_),d.content=new r({validate:c.validate},y).serialize(_)}})}return l.isWordContent=a,l}),r("tinymce/pasteplugin/Quirks",["tinymce/Env","tinymce/util/Tools","tinymce/pasteplugin/WordFilter","tinymce/pasteplugin/Utils"],function(e,t,n,r){return function(o){function i(e){o.on("BeforePastePreProcess",function(t){t.content=e(t.content)})}function a(e){o.on("PastePostProcess",function(t){e(t.node)})}function s(e){if(!n.isWordContent(e))return e;var i=[];t.each(o.schema.getBlockElements(),function(e,t){i.push(t)});var a=new RegExp("(?:<br>&nbsp;[\\s\\r\\n]+|<br>)*(<\\/?("+i.join("|")+")[^>]*>)(?:<br>&nbsp;[\\s\\r\\n]+|<br>)*","g");return e=r.filter(e,[[a,"$1"]]),e=r.filter(e,[[/<br><br>/g,"<BR><BR>"],[/<br>/g," "],[/<BR><BR>/g,"<br>"]])}function u(e){if(n.isWordContent(e))return e;var t=o.settings.paste_webkit_styles;if(o.settings.paste_remove_styles_if_webkit===!1||"all"==t)return e;if(t&&(t=t.split(/[, ]/)),t){var r=o.dom,i=o.selection.getNode();e=e.replace(/(<[^>]+) style="([^"]*)"([^>]*>)/gi,function(e,n,o,a){var s=r.parseStyle(o,"span"),u={};if("none"===t)return n+a;for(var l=0;l<t.length;l++){var c=s[t[l]],d=r.getStyle(i,t[l],!0);/color/.test(t[l])&&(c=r.toHex(c),d=r.toHex(d)),d!=c&&(u[t[l]]=c)}return u=r.serializeStyle(u,"span"),u?n+' style="'+u+'"'+a:n+a})}else e=e.replace(/(<[^>]+) style="([^"]*)"([^>]*>)/gi,"$1$3");return e=e.replace(/(<[^>]+) data-mce-style="([^"]+)"([^>]*>)/gi,function(e,t,n,r){return t+' style="'+n+'"'+r})}function l(e){o.$("a",e).find("font,u").each(function(e,t){o.dom.remove(t,!0)})}e.webkit&&i(u),e.ie&&(i(s),a(l))}}),r("tinymce/pasteplugin/Plugin",["tinymce/PluginManager","tinymce/pasteplugin/Clipboard","tinymce/pasteplugin/WordFilter","tinymce/pasteplugin/Quirks"],function(e,t,n,r){var o;e.add("paste",function(i){function a(){return o||i.settings.paste_plaintext_inform===!1}function s(){if("text"==l.pasteFormat)l.pasteFormat="html",i.fire("PastePlainTextToggle",{state:!1});else if(l.pasteFormat="text",i.fire("PastePlainTextToggle",{state:!0}),!a()){var e=i.translate("Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.");i.notificationManager.open({text:e,type:"info"}),o=!0}i.focus()}function u(){var e=this;e.active("text"===l.pasteFormat),i.on("PastePlainTextToggle",function(t){e.active(t.state)})}var l,c=this,d=i.settings;return/(^|[ ,])powerpaste([, ]|$)/.test(d.plugins)&&e.get("powerpaste")?void("undefined"!=typeof console&&console.log&&console.log("PowerPaste is incompatible with Paste plugin! Remove 'paste' from the 'plugins' option.")):(c.clipboard=l=new t(i),c.quirks=new r(i),c.wordFilter=new n(i),i.settings.paste_as_text&&(c.clipboard.pasteFormat="text"),d.paste_preprocess&&i.on("PastePreProcess",function(e){d.paste_preprocess.call(c,c,e)}),d.paste_postprocess&&i.on("PastePostProcess",function(e){d.paste_postprocess.call(c,c,e)}),i.addCommand("mceInsertClipboardContent",function(e,t){t.content&&c.clipboard.pasteHtml(t.content),t.text&&c.clipboard.pasteText(t.text)}),i.settings.paste_block_drop&&i.on("dragend dragover draggesture dragdrop drop drag",function(e){e.preventDefault(),e.stopPropagation()}),i.settings.paste_data_images||i.on("drop",function(e){var t=e.dataTransfer;t&&t.files&&t.files.length>0&&e.preventDefault()}),i.addCommand("mceTogglePlainTextPaste",s),i.addButton("pastetext",{icon:"pastetext",tooltip:"Paste as text",onclick:s,onPostRender:u}),void i.addMenuItem("pastetext",{text:"Paste as text",selectable:!0,active:l.pasteFormat,onclick:s,onPostRender:u}))})}),i(["tinymce/pasteplugin/Utils"])}(window)},function(e,t){!function(e,t){"use strict";function n(e,t){for(var n,r=[],a=0;a<e.length;++a){if(n=i[e[a]]||o(e[a]),!n)throw"module definition dependecy not found: "+e[a];r.push(n)}t.apply(null,r)}function r(e,r,o){if("string"!=typeof e)throw"invalid module definition, module id must be defined and be a string";if(r===t)throw"invalid module definition, dependencies must be specified";if(o===t)throw"invalid module definition, definition function must be specified";n(r,function(){i[e]=o.apply(null,arguments)})}function o(t){for(var n=e,r=t.split(/[.\/]/),o=0;o<r.length;++o){if(!n[r[o]])return;n=n[r[o]]}return n}var i={};r("tinymce/tableplugin/Utils",["tinymce/Env"],function(e){function t(t){(!e.ie||e.ie>9)&&(t.hasChildNodes()||(t.innerHTML='<br data-mce-bogus="1" />'))}var n=function(e){return function(t,n){t&&(n=parseInt(n,10),1===n||0===n?t.removeAttribute(e,1):t.setAttribute(e,n,1))}},r=function(e){return function(t){return parseInt(t.getAttribute(e)||1,10)}};return{setColSpan:n("colSpan"),setRowSpan:n("rowspan"),getColSpan:r("colSpan"),getRowSpan:r("rowSpan"),setSpanVal:function(e,t,r){n(t)(e,r)},getSpanVal:function(e,t){return r(t)(e)},paddCell:t}}),r("tinymce/tableplugin/SplitCols",["tinymce/util/Tools","tinymce/tableplugin/Utils"],function(e,t){var n=function(e,t,n){return e[n]?e[n][t]:null},r=function(e,t,r){var o=n(e,t,r);return o?o.elm:null},o=function(e,t,o,i){var a,s,u=0,l=r(e,t,o);for(a=o;(i>0?a<e.length:a>=0)&&(s=n(e,t,a),l===s.elm);a+=i)u++;return u},i=function(e,t,n){for(var r,o=e[n],i=t;i<o.length;i++)if(r=o[i],r.real)return r.elm;return null},a=function(e,n){for(var r,i=[],a=e[n],s=0;s<a.length;s++)r=a[s],i.push({elm:r.elm,above:o(e,s,n,-1)-1,below:o(e,s,n,1)-1}),s+=t.getColSpan(r.elm)-1;return i},s=function(e,n){var r=e.elm.ownerDocument,o=r.createElement("td");return t.setColSpan(o,t.getColSpan(e.elm)),t.setRowSpan(o,n),t.paddCell(o),o},u=function(e,t,n,r){var o=i(e,n+1,r);o?o.parentNode.insertBefore(t,o):(o=i(e,0,r),o.parentNode.appendChild(t))},l=function(e,n,r,o){if(0!==n.above){t.setRowSpan(n.elm,n.above);var i=s(n,n.below+1);return u(e,i,r,o),i}return null},c=function(e,n,r,o){if(0!==n.below){t.setRowSpan(n.elm,n.above+1);var i=s(n,n.below);return u(e,i,r,o+1),i}return null},d=function(t,n,o,i){var s=a(t,o),u=r(t,n,o).parentNode,d=[];return e.each(s,function(e,n){var r=i?l(t,e,n,o):c(t,e,n,o);null!==r&&d.push(d)}),{cells:d,row:u}};return{splitAt:d}}),r("tinymce/tableplugin/TableGrid",["tinymce/util/Tools","tinymce/Env","tinymce/tableplugin/Utils","tinymce/tableplugin/SplitCols"],function(e,n,r,o){var i=e.each,a=r.getSpanVal,s=r.setSpanVal;return function(u,l,c){function d(){u.$("td[data-mce-selected],th[data-mce-selected]").removeAttr("data-mce-selected")}function f(e){return e===u.getBody()}function p(t,n){return t?(n=e.map(n.split(","),function(e){return e.toLowerCase()}),e.grep(t.childNodes,function(t){return e.inArray(n,t.nodeName.toLowerCase())!==-1})):[]}function h(){var e=0;J=[],Z=0,i(["thead","tbody","tfoot"],function(t){var n=p(l,t)[0],r=p(n,"tr");i(r,function(n,r){r+=e,i(p(n,"td,th"),function(e,n){var o,i,s,u;if(J[r])for(;J[r][n];)n++;for(s=a(e,"rowspan"),u=a(e,"colspan"),i=r;i<r+s;i++)for(J[i]||(J[i]=[]),o=n;o<n+u;o++)J[i][o]={part:t,real:i==r&&o==n,elm:e,rowspan:s,colspan:u};Z=Math.max(Z,n+1)})}),e+=r.length})}function m(e){return u.fire("newrow",{node:e}),e}function g(e){return u.fire("newcell",{node:e}),e}function v(e,t){return e=e.cloneNode(t),e.removeAttribute("id"),e}function y(e,t){var n;if(n=J[t])return n[e]}function b(e,t){return e[t]?e[t]:null}function _(e,t){for(var n=[],r=0;r<e.length;r++)n.push(y(t,r));return n}function w(e){return e&&(!!re.getAttrib(e.elm,"data-mce-selected")||e==c)}function C(){var e=[];return i(l.rows,function(t){i(t.cells,function(n){if(re.getAttrib(n,"data-mce-selected")||c&&n==c.elm)return e.push(t),!1})}),e}function x(){var e=0;return i(J,function(t){if(i(t,function(t){w(t)&&e++}),e)return!1}),e}function E(){var e=re.createRng();f(l)||(e.setStartAfter(l),e.setEndAfter(l),ne.setRng(e),re.remove(l))}function T(t){var o,a={};return u.settings.table_clone_elements!==!1&&(a=e.makeMap((u.settings.table_clone_elements||"strong em b i span font h1 h2 h3 h4 h5 h6 p div").toUpperCase(),/[ ,]/)),e.walk(t,function(e){var r;if(3==e.nodeType)return i(re.getParents(e.parentNode,null,t).reverse(),function(e){a[e.nodeName]&&(e=v(e,!1),o?r&&r.appendChild(e):o=r=e,r=e)}),r&&(r.innerHTML=n.ie&&n.ie<10?"&nbsp;":'<br data-mce-bogus="1" />'),!1},"childNodes"),t=v(t,!1),g(t),s(t,"rowSpan",1),s(t,"colSpan",1),o?t.appendChild(o):r.paddCell(t),t}function k(){var e,t=re.createRng();return i(re.select("tr",l),function(e){0===e.cells.length&&re.remove(e)}),0===re.select("tr",l).length?(t.setStartBefore(l),t.setEndBefore(l),ne.setRng(t),void re.remove(l)):(i(re.select("thead,tbody,tfoot",l),function(e){0===e.rows.length&&re.remove(e)}),h(),void(ee&&(e=J[Math.min(J.length-1,ee.y)],e&&(ne.select(e[Math.min(e.length-1,ee.x)].elm,!0),ne.collapse(!0)))))}function S(e,t,n,r){var o,i,a,s,u;for(o=J[t][e].elm.parentNode,a=1;a<=n;a++)if(o=re.getNext(o,"tr")){for(i=e;i>=0;i--)if(u=J[t+a][i].elm,u.parentNode==o){for(s=1;s<=r;s++)re.insertAfter(T(u),u);break}if(i==-1)for(s=1;s<=r;s++)o.insertBefore(T(o.cells[0]),o.cells[0])}}function O(){i(J,function(e,t){i(e,function(e,n){var r,o,i;if(w(e)&&(e=e.elm,r=a(e,"colspan"),o=a(e,"rowspan"),r>1||o>1)){for(s(e,"rowSpan",1),s(e,"colSpan",1),i=0;i<r-1;i++)re.insertAfter(T(e),e);S(n,t,o-1,r)}})})}function M(e,t,n){for(var r=[],o=0;o<e.length;o++)(o<t||o>n)&&r.push(e[o]);return r}function A(t){return e.grep(t,function(e){return e.real===!1})}function N(e){for(var t=[],n=0;n<e.length;n++){var r=e[n].elm;t[t.length-1]!==r&&t.push(r)}return t}function I(t,n,o,i,a){var s=0;if(a-o<1)return 0;for(var u=o+1;u<=a;u++){var l=M(b(t,u),n,i),c=A(l);l.length===c.length&&(e.each(N(c),function(e){r.setRowSpan(e,r.getRowSpan(e)-1)}),s++)}return s}function P(t,n,o,i,a){var s=0;if(i-n<1)return 0;for(var u=n+1;u<=i;u++){var l=M(_(t,u),o,a),c=A(l);l.length===c.length&&(e.each(N(c),function(e){r.setColSpan(e,r.getColSpan(e)-1)}),s++)}return s}function D(t,n,r){var o,a,u,l,c,d,f,p,m,g,v,b,_;if(t?(o=G(t),a=o.x,u=o.y,l=a+(n-1),c=u+(r-1)):(ee=te=null,i(J,function(e,t){i(e,function(e,n){w(e)&&(ee||(ee={x:n,y:t}),te={x:n,y:t})})}),ee&&(a=ee.x,u=ee.y,l=te.x,c=te.y)),p=y(a,u),m=y(l,c),p&&m&&p.part==m.part){O(),h(),b=I(J,a,u,l,c),_=P(J,a,u,l,c),p=y(a,u).elm;var C=l-a-_+1,x=c-u-b+1;for(C===Z&&x===J.length&&(C=1,x=1),C===Z&&x>1&&(x=1),s(p,"colSpan",C),s(p,"rowSpan",x),f=u;f<=c;f++)for(d=a;d<=l;d++)J[f]&&J[f][d]&&(t=J[f][d].elm,t!=p&&(g=e.grep(t.childNodes),i(g,function(e){p.appendChild(e)}),g.length&&(g=e.grep(p.childNodes),v=0,i(g,function(e){"BR"==e.nodeName&&v++<g.length-1&&p.removeChild(e)})),re.remove(t)));k()}}function R(e){var n,r,o,u,l,c,d,f,p,h;if(i(J,function(r,o){if(i(r,function(t){if(w(t)&&(t=t.elm,l=t.parentNode,c=m(v(l,!1)),n=o,e))return!1}),e)return n===t}),n!==t){for(u=0,h=0;u<J[0].length;u+=h)if(J[n][u]&&(r=J[n][u].elm,h=a(r,"colspan"),r!=o)){if(e){if(n>0&&J[n-1][u]&&(f=J[n-1][u].elm,p=a(f,"rowSpan"),p>1)){s(f,"rowSpan",p+1);continue}}else if(p=a(r,"rowspan"),p>1){s(r,"rowSpan",p+1);continue}d=T(r),s(d,"colSpan",r.colSpan),c.appendChild(d),o=r}c.hasChildNodes()&&(e?l.parentNode.insertBefore(c,l):re.insertAfter(c,l))}}function j(e,t){t=t||C().length||1;for(var n=0;n<t;n++)R(e)}function L(e){var n,r;i(J,function(r){if(i(r,function(t,r){if(w(t)&&(n=r,e))return!1}),e)return n===t}),i(J,function(t,o){var i,u,l;t[n]&&(i=t[n].elm,i!=r&&(l=a(i,"colspan"),u=a(i,"rowspan"),1==l?e?(i.parentNode.insertBefore(T(i),i),S(n,o,u-1,l)):(re.insertAfter(T(i),i),S(n,o,u-1,l)):s(i,"colSpan",i.colSpan+1),r=i))})}function B(e,t){t=t||x()||1;for(var n=0;n<t;n++)L(e)}function F(t){return e.grep(U(t),w)}function U(e){var t=[];return i(e,function(e){i(e,function(e){t.push(e)})}),t}function H(){var t=[];if(f(l)){if(1==J[0].length)return;if(F(J).length==U(J).length)return}i(J,function(n){i(n,function(n,r){w(n)&&e.inArray(t,r)===-1&&(i(J,function(e){var t,n=e[r].elm;t=a(n,"colSpan"),t>1?s(n,"colSpan",t-1):re.remove(n)}),t.push(r))})}),k()}function z(){function e(e){var t,n;i(e.cells,function(e){var n=a(e,"rowSpan");n>1&&(s(e,"rowSpan",n-1),t=G(e),S(t.x,t.y,1,1))}),t=G(e.cells[0]),i(J[t.y],function(e){var t;e=e.elm,e!=n&&(t=a(e,"rowSpan"),t<=1?re.remove(e):s(e,"rowSpan",t-1),n=e)})}var t;t=C(),f(l)&&t.length==l.rows.length||(i(t.reverse(),function(t){e(t)}),k())}function q(){var e=C();if(!f(l)||e.length!=l.rows.length)return re.remove(e),k(),e}function W(){var e=C();return i(e,function(t,n){e[n]=v(t,!0)}),e}function V(t,n){var r,a,u;t&&(r=o.splitAt(J,ee.x,ee.y,n),a=r.row,e.each(r.cells,g),u=e.map(t,function(e){return e.cloneNode(!0)}),n||u.reverse(),i(u,function(e){var t,r,o=e.cells.length;for(m(e),t=0;t<o;t++)r=e.cells[t],g(r),s(r,"colSpan",1),s(r,"rowSpan",1);for(t=o;t<Z;t++)e.appendChild(g(T(e.cells[o-1])));for(t=Z;t<o;t++)re.remove(e.cells[t]);n?a.parentNode.insertBefore(e,a):re.insertAfter(e,a)}),d())}function G(e){var t;return i(J,function(n,r){return i(n,function(n,o){if(n.elm==e)return t={x:o,y:r},!1}),!t}),t}function Y(e){ee=G(e)}function K(){var e,t;return e=t=0,i(J,function(n,r){i(n,function(n,o){var i,a;w(n)&&(n=J[r][o],o>e&&(e=o),r>t&&(t=r),n.real&&(i=n.colspan-1,a=n.rowspan-1,i&&o+i>e&&(e=o+i),a&&r+a>t&&(t=r+a)))})}),{x:e,y:t}}function $(e){var t,n,r,o,i,a,s,u,l,c;if(te=G(e),ee&&te){for(t=Math.min(ee.x,te.x),n=Math.min(ee.y,te.y),r=Math.max(ee.x,te.x),o=Math.max(ee.y,te.y),i=r,a=o,c=n;c<=o;c++)for(l=t;l<=r;l++)e=J[c][l],e.real&&(s=e.colspan-1,u=e.rowspan-1,s&&l+s>i&&(i=l+s),u&&c+u>a&&(a=c+u));for(d(),c=n;c<=a;c++)for(l=t;l<=i;l++)J[c][l]&&re.setAttrib(J[c][l].elm,"data-mce-selected","1")}}function X(e,t){var n,r,o;n=G(e),r=n.y*Z+n.x;do{if(r+=t,o=y(r%Z,Math.floor(r/Z)),!o)break;if(o.elm!=e)return ne.select(o.elm,!0),re.isEmpty(o.elm)&&ne.collapse(!0),!0}while(o.elm==e);return!1}function Q(t){if(ee){var n=o.splitAt(J,ee.x,ee.y,t);e.each(n.cells,g)}}var J,Z,ee,te,ne=u.selection,re=ne.dom;l=l||re.getParent(ne.getStart(!0),"table"),h(),c=c||re.getParent(ne.getStart(!0),"th,td"),c&&(ee=G(c),te=K(),c=y(ee.x,ee.y)),e.extend(this,{deleteTable:E,split:O,merge:D,insertRow:R,insertRows:j,insertCol:L,insertCols:B,splitCols:Q,deleteCols:H,deleteRows:z,cutRows:q,copyRows:W,pasteRows:V,getPos:G,setStartCell:Y,setEndCell:$,moveRelIdx:X,refresh:h})}}),r("tinymce/tableplugin/Quirks",["tinymce/util/VK","tinymce/util/Delay","tinymce/Env","tinymce/util/Tools","tinymce/tableplugin/Utils"],function(e,t,n,r,o){var i=r.each,a=o.getSpanVal;return function(s){function u(){function n(n){function r(e,t){var r=e?"previousSibling":"nextSibling",i=s.dom.getParent(t,"tr"),a=i[r];if(a)return v(s,t,a,e),n.preventDefault(),!0;var u=s.dom.getParent(i,"table"),d=i.parentNode,f=d.nodeName.toLowerCase();if("tbody"===f||f===(e?"tfoot":"thead")){var p=o(e,u,d,"tbody");if(null!==p)return l(e,p,t)}return c(e,i,r,u)}function o(e,t,n,r){var o=s.dom.select(">"+r,t),i=o.indexOf(n);if(e&&0===i||!e&&i===o.length-1)return u(e,t);if(i===-1){var a="thead"===n.tagName.toLowerCase()?0:o.length-1;return o[a]}return o[i+(e?-1:1)]}function u(e,t){var n=e?"thead":"tfoot",r=s.dom.select(">"+n,t);return 0!==r.length?r[0]:null}function l(e,t,r){var o=d(t,e);return o&&v(s,r,o,e),n.preventDefault(),!0}function c(e,t,o,i){var a=i[o];if(a)return f(a),!0;var u=s.dom.getParent(i,"td,th");if(u)return r(e,u,n);var l=d(t,!e);return f(l),n.preventDefault(),!1}function d(e,t){var n=e&&e[t?"lastChild":"firstChild"];return n&&"BR"===n.nodeName?s.dom.getParent(n,"td,th"):n}function f(e){s.selection.setCursorLocation(e,0)}function p(){return _==e.UP||_==e.DOWN}function h(e){var t=e.selection.getNode(),n=e.dom.getParent(t,"tr");return null!==n}function m(e){for(var t=0,n=e;n.previousSibling;)n=n.previousSibling,t+=a(n,"colspan");return t}function g(e,t){var n=0,r=0;return i(e.children,function(e,o){if(n+=a(e,"colspan"),r=o,n>t)return!1}),r}function v(e,t,n,r){var o=m(s.dom.getParent(t,"td,th")),i=g(n,o),a=n.childNodes[i],u=d(a,r);f(u||a)}function y(e){var t=s.selection.getNode(),n=s.dom.getParent(t,"td,th"),r=s.dom.getParent(e,"td,th");return n&&n!==r&&b(n,r)}function b(e,t){return s.dom.getParent(e,"TABLE")===s.dom.getParent(t,"TABLE")}var _=n.keyCode;if(p()&&h(s)){var w=s.selection.getNode();t.setEditorTimeout(s,function(){y(w)&&r(!n.shiftKey&&_===e.UP,w,n)},0)}}s.on("KeyDown",function(e){n(e)})}function l(){function e(e,t){var n,r=t.ownerDocument,o=r.createRange();return o.setStartBefore(t),o.setEnd(e.endContainer,e.endOffset),n=r.createElement("body"),n.appendChild(o.cloneContents()),0===n.innerHTML.replace(/<(br|img|object|embed|input|textarea)[^>]*>/gi,"-").replace(/<[^>]+>/g,"").length}s.on("KeyDown",function(t){var n,r,o=s.dom;37!=t.keyCode&&38!=t.keyCode||(n=s.selection.getRng(),r=o.getParent(n.startContainer,"table"),r&&s.getBody().firstChild==r&&e(n,r)&&(n=o.createRng(),n.setStartBefore(r),n.setEndBefore(r),s.selection.setRng(n),t.preventDefault()))})}function c(){s.on("KeyDown SetContent VisualAid",function(){var e;for(e=s.getBody().lastChild;e;e=e.previousSibling)if(3==e.nodeType){if(e.nodeValue.length>0)break}else if(1==e.nodeType&&("BR"==e.tagName||!e.getAttribute("data-mce-bogus")))break;e&&"TABLE"==e.nodeName&&(s.settings.forced_root_block?s.dom.add(s.getBody(),s.settings.forced_root_block,s.settings.forced_root_block_attrs,n.ie&&n.ie<10?"&nbsp;":'<br data-mce-bogus="1" />'):s.dom.add(s.getBody(),"br",{"data-mce-bogus":"1"}))}),s.on("PreProcess",function(e){var t=e.node.lastChild;t&&("BR"==t.nodeName||1==t.childNodes.length&&("BR"==t.firstChild.nodeName||" "==t.firstChild.nodeValue))&&t.previousSibling&&"TABLE"==t.previousSibling.nodeName&&s.dom.remove(t)})}function d(){function e(e,t,n,r){var o,i,a,s=3,u=e.dom.getParent(t.startContainer,"TABLE");return u&&(o=u.parentNode),i=t.startContainer.nodeType==s&&0===t.startOffset&&0===t.endOffset&&r&&("TR"==n.nodeName||n==o),a=("TD"==n.nodeName||"TH"==n.nodeName)&&!r,i||a}function t(){var t=s.selection.getRng(),n=s.selection.getNode(),r=s.dom.getParent(t.startContainer,"TD,TH");if(e(s,t,n,r)){r||(r=n);for(var o=r.lastChild;o.lastChild;)o=o.lastChild;3==o.nodeType&&(t.setEnd(o,o.data.length),s.selection.setRng(t))}}s.on("KeyDown",function(){t()}),s.on("MouseDown",function(e){2!=e.button&&t()})}function f(){function t(e){s.selection.select(e,!0),s.selection.collapse(!0)}function n(e){s.$(e).empty(),o.paddCell(e)}s.on("keydown",function(o){if((o.keyCode==e.DELETE||o.keyCode==e.BACKSPACE)&&!o.isDefaultPrevented()){var i,a,u,l;if(i=s.dom.getParent(s.selection.getStart(),"table")){if(a=s.dom.select("td,th",i),u=r.grep(a,function(e){return!!s.dom.getAttrib(e,"data-mce-selected")}),0===u.length)return l=s.dom.getParent(s.selection.getStart(),"td,th"),void(s.selection.isCollapsed()&&l&&s.dom.isEmpty(l)&&(o.preventDefault(),n(l),t(l)));o.preventDefault(),s.undoManager.transact(function(){a.length==u.length?s.execCommand("mceTableDelete"):(r.each(u,n),t(u[0]))})}}})}function p(){var t=function(e){return e&&"CAPTION"==e.nodeName&&"TABLE"==e.parentNode.nodeName},r=function(e,t){var n=s.selection.getRng(),r=e.ownerDocument.createTextNode(" ");n.startOffset?e.insertBefore(r,e.firstChild):e.appendChild(r),t&&(s.selection.select(r,!0),s.selection.collapse(!0))},o=function(t){return(t.keyCode==e.DELETE||t.keyCode==e.BACKSPACE)&&!t.isDefaultPrevented()},i=function(e){return e.firstChild===e.lastChild&&e.firstChild},a=function(e){return e&&3===e.nodeType},u=function(e){var t=i(e);return a(t)&&1===t.data.length?t.data:null},l=function(e){var t=i(e),n=u(e);return t&&!a(t)||n&&!d(n)},c=function(e){return s.dom.isEmpty(e)||d(u(e))},d=function(e){return" "===e};s.on("keydown",function(e){if(o(e)){var i=s.dom.getParent(s.selection.getStart(),"caption");t(i)&&(n.ie&&(s.selection.isCollapsed()?l(i)&&r(i):(s.undoManager.transact(function(){s.execCommand("Delete"),c(i)&&r(i,!0)}),e.preventDefault())),c(i)&&e.preventDefault())}})}f(),p(),n.webkit&&(u(),d()),n.gecko&&(l(),c()),n.ie>9&&(l(),c())}}),r("tinymce/tableplugin/CellSelection",["tinymce/tableplugin/TableGrid","tinymce/dom/TreeWalker","tinymce/util/Tools"],function(e,t,n){return function(r,o){function i(e){r.getBody().style.webkitUserSelect="",(e||m)&&(r.$("td[data-mce-selected],th[data-mce-selected]").removeAttr("data-mce-selected"),m=!1)}function a(e,t){return!(!e||!t)&&e===h.getParent(t,"table")}function s(t){var n,i,s=t.target;if(!f&&!p&&s!==d&&(d=s,c&&l)){if(i=h.getParent(s,"td,th"),a(c,i)||(i=h.getParent(c,"td,th")),l===i&&!m)return;if(o(!0),a(c,i)){t.preventDefault(),u||(u=new e(r,c,l),r.getBody().style.webkitUserSelect="none"),u.setEndCell(i),m=!0,n=r.selection.getSel();try{n.removeAllRanges?n.removeAllRanges():n.empty()}catch(e){}}}}var u,l,c,d,f,p,h=r.dom,m=!0,g=function(){l=u=c=d=null,o(!1)};return r.on("SelectionChange",function(e){m&&e.stopImmediatePropagation()},!0),r.on("MouseDown",function(e){2==e.button||f||p||(i(),l=h.getParent(e.target,"td,th"),c=h.getParent(l,"table"))}),r.on("mouseover",s),r.on("remove",function(){h.unbind(r.getDoc(),"mouseover",s),i()}),r.on("MouseUp",function(){function e(e,r){var i=new t(e,e);do{if(3==e.nodeType&&0!==n.trim(e.nodeValue).length)return void(r?o.setStart(e,0):o.setEnd(e,e.nodeValue.length));if("BR"==e.nodeName)return void(r?o.setStartBefore(e):o.setEndBefore(e))}while(e=r?i.next():i.prev())}var o,i,a,s,c,d=r.selection;if(l){if(u&&(r.getBody().style.webkitUserSelect=""),i=h.select("td[data-mce-selected],th[data-mce-selected]"),i.length>0){o=h.createRng(),s=i[0],o.setStartBefore(s),o.setEndAfter(s),e(s,1),a=new t(s,h.getParent(i[0],"table"));do if("TD"==s.nodeName||"TH"==s.nodeName){if(!h.getAttrib(s,"data-mce-selected"))break;c=s}while(s=a.next());e(c),d.setRng(o)}r.nodeChanged(),g()}}),r.on("KeyUp Drop SetContent",function(e){i("setcontent"==e.type),g(),f=!1}),r.on("ObjectResizeStart ObjectResized",function(e){f="objectresized"!=e.type}),r.on("dragstart",function(){p=!0}),r.on("drop dragend",function(){p=!1}),{clear:i}}}),r("tinymce/tableplugin/Dialogs",["tinymce/util/Tools","tinymce/Env"],function(e,t){var n=e.each;return function(r){function o(){var e=r.settings.color_picker_callback;if(e)return function(){var t=this;e.call(r,function(e){t.value(e).fire("change")},t.value())}}function i(e){return{title:"Advanced",type:"form",defaults:{onchange:function(){d(e,this.parents().reverse()[0],"style"==this.name())}},items:[{label:"Style",name:"style",type:"textbox"},{type:"form",padding:0,formItemDefaults:{layout:"grid",alignH:["start","right"]},defaults:{size:7},items:[{label:"Border color",type:"colorbox",name:"borderColor",onaction:o()},{label:"Background color",type:"colorbox",name:"backgroundColor",onaction:o()}]}]}}function a(e){return e?e.replace(/px$/,""):""}function s(e){return/^[0-9]+$/.test(e)&&(e+="px"),e}function u(e){n("left center right".split(" "),function(t){r.formatter.remove("align"+t,{},e)})}function l(e){n("top middle bottom".split(" "),function(t){r.formatter.remove("valign"+t,{},e)})}function c(t,n,r){function o(t,r){return r=r||[],e.each(t,function(e){var t={text:e.text||e.title};e.menu?t.menu=o(e.menu):(t.value=e.value,n&&n(t)),r.push(t)}),r}return o(t,r||[])}function d(e,t,n){var r=t.toJSON(),o=e.parseStyle(r.style);n?(t.find("#borderColor").value(o["border-color"]||"")[0].fire("change"),t.find("#backgroundColor").value(o["background-color"]||"")[0].fire("change")):(o["border-color"]=r.borderColor,o["background-color"]=r.backgroundColor),t.find("#style").value(e.serializeStyle(e.parseStyle(e.serializeStyle(o))))}function f(e,t,n){var r=e.parseStyle(e.getAttrib(n,"style"));r["border-color"]&&(t.borderColor=r["border-color"]),r["background-color"]&&(t.backgroundColor=r["background-color"]),t.style=e.serializeStyle(r)}function p(e,t,r){var o=e.parseStyle(e.getAttrib(t,"style"));n(r,function(e){o[e.name]=e.value}),e.setAttrib(t,"style",e.serializeStyle(e.parseStyle(e.serializeStyle(o))))}var h=this;h.tableProps=function(){h.table(!0)},h.table=function(o){function l(){function n(e,t,r){if("TD"===e.tagName||"TH"===e.tagName)w.setStyle(e,t,r);else if(e.children)for(var o=0;o<e.children.length;o++)n(e.children[o],t,r)}var o;d(w,this),C=e.extend(C,this.toJSON()),C.class===!1&&delete C.class,r.undoManager.transact(function(){if(m||(m=r.plugins.table.insertTable(C.cols||1,C.rows||1)),r.dom.setAttribs(m,{style:C.style,class:C.class}),r.settings.table_style_by_css){if(_=[],_.push({name:"border",value:C.border}),_.push({name:"border-spacing",value:s(C.cellspacing)}),p(w,m,_),w.setAttribs(m,{"data-mce-border-color":C.borderColor,"data-mce-cell-padding":C.cellpadding,"data-mce-border":C.border}),m.children)for(var e=0;e<m.children.length;e++)n(m.children[e],"border",C.border),n(m.children[e],"padding",s(C.cellpadding))}else r.dom.setAttribs(m,{border:C.border,cellpadding:C.cellpadding,cellspacing:C.cellspacing});w.getAttrib(m,"width")&&!r.settings.table_style_by_css?w.setAttrib(m,"width",a(C.width)):w.setStyle(m,"width",s(C.width)),w.setStyle(m,"height",s(C.height)),o=w.select("caption",m)[0],o&&!C.caption&&w.remove(o),!o&&C.caption&&(o=w.create("caption"),o.innerHTML=t.ie?" ":'<br data-mce-bogus="1"/>',m.insertBefore(o,m.firstChild)),u(m),C.align&&r.formatter.apply("align"+C.align,{},m),r.focus(),r.addVisual()})}function h(e,t){function n(e,n){for(var r=0;r<n.length;r++){var o=w.getStyle(n[r],t);if("undefined"==typeof e&&(e=o),e!=o)return""}return e}var o,i=r.dom.select("td,th",e);return o=n(o,i)}var m,g,v,y,b,_,w=r.dom,C={};o===!0?(m=w.getParent(r.selection.getStart(),"table"),m&&(C={width:a(w.getStyle(m,"width")||w.getAttrib(m,"width")),height:a(w.getStyle(m,"height")||w.getAttrib(m,"height")),cellspacing:a(w.getStyle(m,"border-spacing")||w.getAttrib(m,"cellspacing")),cellpadding:w.getAttrib(m,"data-mce-cell-padding")||w.getAttrib(m,"cellpadding")||h(m,"padding"),border:w.getAttrib(m,"data-mce-border")||w.getAttrib(m,"border")||h(m,"border"),borderColor:w.getAttrib(m,"data-mce-border-color"),caption:!!w.select("caption",m)[0],class:w.getAttrib(m,"class")},n("left center right".split(" "),function(e){r.formatter.matchNode(m,"align"+e)&&(C.align=e)}))):(g={label:"Cols",name:"cols"},v={label:"Rows",name:"rows"}),r.settings.table_class_list&&(C.class&&(C.class=C.class.replace(/\s*mce\-item\-table\s*/g,"")),y={name:"class",type:"listbox",label:"Class",values:c(r.settings.table_class_list,function(e){e.value&&(e.textStyle=function(){return r.formatter.getCssText({block:"table",classes:[e.value]})})})}),b={type:"form",layout:"flex",direction:"column",labelGapCalc:"children",padding:0,items:[{type:"form",labelGapCalc:!1,padding:0,layout:"grid",columns:2,defaults:{type:"textbox",maxWidth:50},items:r.settings.table_appearance_options!==!1?[g,v,{label:"Width",name:"width"},{label:"Height",name:"height"},{label:"Cell spacing",name:"cellspacing"},{label:"Cell padding",name:"cellpadding"},{label:"Border",name:"border"},{label:"Caption",name:"caption",type:"checkbox"}]:[g,v,{label:"Width",name:"width"},{label:"Height",name:"height"}]},{label:"Alignment",name:"align",type:"listbox",text:"None",values:[{text:"None",value:""},{text:"Left",value:"left"},{text:"Center",value:"center"},{text:"Right",value:"right"}]},y]},r.settings.table_advtab!==!1?(f(w,C,m),r.windowManager.open({title:"Table properties",data:C,bodyType:"tabpanel",body:[{title:"General",type:"form",items:b},i(w)],onsubmit:l})):r.windowManager.open({title:"Table properties",data:C,body:b,onsubmit:l})},h.merge=function(e,t){r.windowManager.open({title:"Merge cells",body:[{label:"Cols",name:"cols",type:"textbox",value:"1",size:10},{label:"Rows",name:"rows",type:"textbox",value:"1",size:10}],onsubmit:function(){var n=this.toJSON();r.undoManager.transact(function(){e.merge(t,n.cols,n.rows)})}})},h.cell=function(){function t(e,t,n){(1===y.length||n)&&v.setAttrib(e,t,n)}function o(e,t,n){(1===y.length||n)&&v.setStyle(e,t,n)}function p(){d(v,this),m=e.extend(m,this.toJSON()),r.undoManager.transact(function(){n(y,function(e){t(e,"scope",m.scope),t(e,"style",m.style),t(e,"class",m.class),o(e,"width",s(m.width)),o(e,"height",s(m.height)),m.type&&e.nodeName.toLowerCase()!==m.type&&(e=v.rename(e,m.type)),1===y.length&&(u(e),l(e)),m.align&&r.formatter.apply("align"+m.align,{},e),m.valign&&r.formatter.apply("valign"+m.valign,{},e)}),r.focus()})}var h,m,g,v=r.dom,y=[];if(y=r.dom.select("td[data-mce-selected],th[data-mce-selected]"),h=r.dom.getParent(r.selection.getStart(),"td,th"),!y.length&&h&&y.push(h),h=h||y[0]){y.length>1?m={width:"",height:"",scope:"",class:"",align:"",style:"",type:h.nodeName.toLowerCase()}:(m={width:a(v.getStyle(h,"width")||v.getAttrib(h,"width")),height:a(v.getStyle(h,"height")||v.getAttrib(h,"height")),scope:v.getAttrib(h,"scope"),class:v.getAttrib(h,"class")},m.type=h.nodeName.toLowerCase(),n("left center right".split(" "),function(e){r.formatter.matchNode(h,"align"+e)&&(m.align=e)}),n("top middle bottom".split(" "),function(e){r.formatter.matchNode(h,"valign"+e)&&(m.valign=e)}),f(v,m,h)),r.settings.table_cell_class_list&&(g={name:"class",type:"listbox",label:"Class",values:c(r.settings.table_cell_class_list,function(e){e.value&&(e.textStyle=function(){return r.formatter.getCssText({block:"td",classes:[e.value]})})})});var b={type:"form",layout:"flex",direction:"column",labelGapCalc:"children",padding:0,items:[{type:"form",layout:"grid",columns:2,labelGapCalc:!1,padding:0,defaults:{type:"textbox",maxWidth:50},items:[{label:"Width",name:"width"},{label:"Height",name:"height"},{label:"Cell type",name:"type",type:"listbox",text:"None",minWidth:90,maxWidth:null,
+values:[{text:"Cell",value:"td"},{text:"Header cell",value:"th"}]},{label:"Scope",name:"scope",type:"listbox",text:"None",minWidth:90,maxWidth:null,values:[{text:"None",value:""},{text:"Row",value:"row"},{text:"Column",value:"col"},{text:"Row group",value:"rowgroup"},{text:"Column group",value:"colgroup"}]},{label:"H Align",name:"align",type:"listbox",text:"None",minWidth:90,maxWidth:null,values:[{text:"None",value:""},{text:"Left",value:"left"},{text:"Center",value:"center"},{text:"Right",value:"right"}]},{label:"V Align",name:"valign",type:"listbox",text:"None",minWidth:90,maxWidth:null,values:[{text:"None",value:""},{text:"Top",value:"top"},{text:"Middle",value:"middle"},{text:"Bottom",value:"bottom"}]}]},g]};r.settings.table_cell_advtab!==!1?r.windowManager.open({title:"Cell properties",bodyType:"tabpanel",data:m,body:[{title:"General",type:"form",items:b},i(v)],onsubmit:p}):r.windowManager.open({title:"Cell properties",data:m,body:b,onsubmit:p})}},h.row=function(){function t(e,t,n){(1===_.length||n)&&b.setAttrib(e,t,n)}function o(e,t,n){(1===_.length||n)&&b.setStyle(e,t,n)}function l(){var i,a,l;d(b,this),v=e.extend(v,this.toJSON()),r.undoManager.transact(function(){var e=v.type;n(_,function(n){t(n,"scope",v.scope),t(n,"style",v.style),t(n,"class",v.class),o(n,"height",s(v.height)),e!==n.parentNode.nodeName.toLowerCase()&&(i=b.getParent(n,"table"),a=n.parentNode,l=b.select(e,i)[0],l||(l=b.create(e),i.firstChild?i.insertBefore(l,i.firstChild):i.appendChild(l)),l.appendChild(n),a.hasChildNodes()||b.remove(a)),1===_.length&&u(n),v.align&&r.formatter.apply("align"+v.align,{},n)}),r.focus()})}var p,h,m,g,v,y,b=r.dom,_=[];p=r.dom.getParent(r.selection.getStart(),"table"),h=r.dom.getParent(r.selection.getStart(),"td,th"),n(p.rows,function(e){n(e.cells,function(t){if(b.getAttrib(t,"data-mce-selected")||t==h)return _.push(e),!1})}),m=_[0],m&&(_.length>1?v={height:"",scope:"",class:"",align:"",type:m.parentNode.nodeName.toLowerCase()}:(v={height:a(b.getStyle(m,"height")||b.getAttrib(m,"height")),scope:b.getAttrib(m,"scope"),class:b.getAttrib(m,"class")},v.type=m.parentNode.nodeName.toLowerCase(),n("left center right".split(" "),function(e){r.formatter.matchNode(m,"align"+e)&&(v.align=e)}),f(b,v,m)),r.settings.table_row_class_list&&(g={name:"class",type:"listbox",label:"Class",values:c(r.settings.table_row_class_list,function(e){e.value&&(e.textStyle=function(){return r.formatter.getCssText({block:"tr",classes:[e.value]})})})}),y={type:"form",columns:2,padding:0,defaults:{type:"textbox"},items:[{type:"listbox",name:"type",label:"Row type",text:"Header",maxWidth:null,values:[{text:"Header",value:"thead"},{text:"Body",value:"tbody"},{text:"Footer",value:"tfoot"}]},{type:"listbox",name:"align",label:"Alignment",text:"None",maxWidth:null,values:[{text:"None",value:""},{text:"Left",value:"left"},{text:"Center",value:"center"},{text:"Right",value:"right"}]},{label:"Height",name:"height"},g]},r.settings.table_row_advtab!==!1?r.windowManager.open({title:"Row properties",data:v,bodyType:"tabpanel",body:[{title:"General",type:"form",items:y},i(b)],onsubmit:l}):r.windowManager.open({title:"Row properties",data:v,body:y,onsubmit:l}))}}}),r("tinymce/tableplugin/ResizeBars",["tinymce/util/Tools","tinymce/util/VK"],function(e,n){var r;return function(o){function i(e,t){return{index:e,y:o.dom.getPos(t).y}}function a(e,t){return{index:e,y:o.dom.getPos(t).y+t.offsetHeight}}function s(e,t){return{index:e,x:o.dom.getPos(t).x}}function u(e,t){return{index:e,x:o.dom.getPos(t).x+t.offsetWidth}}function l(){var e=o.getBody().dir;return"rtl"===e}function c(){return o.inline}function d(){return c?o.getBody().ownerDocument.body:o.getBody()}function f(e,t){return l()?u(e,t):s(e,t)}function p(e,t){return l()?s(e,t):u(e,t)}function h(e,t){return m(e,"width")/m(t,"width")*100}function m(e,t){var n=o.dom.getStyle(e,t,!0),r=parseInt(n,10);return r}function g(e){var t=m(e,"width"),n=m(e.parentElement,"width");return t/n*100}function v(e,t){var n=m(e,"width");return t/n*100}function y(e,t){var n=m(e.parentElement,"width");return t/n*100}function b(e,t,n){for(var r=[],o=1;o<n.length;o++){var i=n[o].element;r.push(e(o-1,i))}var a=n[n.length-1];return r.push(t(n.length-1,a.element)),r}function _(){var t=o.dom.select("."+fe,d());e.each(t,function(e){o.dom.remove(e)})}function w(e){_(),N(e)}function C(e,t,n,r,o,i,a,s){var u={"data-mce-bogus":"all",class:fe+" "+e,unselectable:"on","data-mce-resize":!1,style:"cursor: "+t+"; margin: 0; padding: 0; position: absolute; left: "+n+"px; top: "+r+"px; height: "+o+"px; width: "+i+"px; "};return u[a]=s,u}function x(t,n,r){e.each(t,function(e){var t=r.x,i=e.y-we/2,a=we,s=n;o.dom.add(d(),"div",C(pe,he,t,i,a,s,me,e.index))})}function E(t,n,r){e.each(t,function(e){var t=e.x-we/2,i=r.y,a=n,s=we;o.dom.add(d(),"div",C(ve,ye,t,i,a,s,be,e.index))})}function T(t){return e.map(t.rows,function(t){var n=e.map(t.cells,function(e){var t=e.hasAttribute("rowspan")?parseInt(e.getAttribute("rowspan"),10):1,n=e.hasAttribute("colspan")?parseInt(e.getAttribute("colspan"),10):1;return{element:e,rowspan:t,colspan:n}});return{element:t,cells:n}})}function k(n){function r(e,t){return e+","+t}function o(e,t){return s[r(e,t)]}function i(){var t=[];return e.each(u,function(e){t=t.concat(e.cells)}),t}function a(){return u}var s={},u=[],l=0,c=0;return e.each(n,function(n,o){var i=[];e.each(n.cells,function(e){for(var n=0;s[r(o,n)]!==t;)n++;for(var a={element:e.element,colspan:e.colspan,rowspan:e.rowspan,rowIndex:o,colIndex:n},u=0;u<e.colspan;u++)for(var d=0;d<e.rowspan;d++){var f=o+d,p=n+u;s[r(f,p)]=a,l=Math.max(l,f+1),c=Math.max(c,p+1)}i.push(a)}),u.push({element:n.element,cells:i})}),{grid:{maxRows:l,maxCols:c},getAt:o,getAllCells:i,getAllRows:a}}function S(e,t){for(var n=[],r=e;r<t;r++)n.push(r);return n}function O(e,t,n){for(var r,o=e(),i=0;i<o.length;i++)t(o[i])&&(r=o[i]);return r?r:n()}function M(t){var n=S(0,t.grid.maxCols),r=S(0,t.grid.maxRows);return e.map(n,function(e){function n(){for(var n=[],o=0;o<r.length;o++){var i=t.getAt(o,e);i&&i.colIndex===e&&n.push(i)}return n}function o(e){return 1===e.colspan}function i(){for(var n,o=0;o<r.length;o++)if(n=t.getAt(o,e))return n;return null}return O(n,o,i)})}function A(t){var n=S(0,t.grid.maxCols),r=S(0,t.grid.maxRows);return e.map(r,function(e){function r(){for(var r=[],o=0;o<n.length;o++){var i=t.getAt(e,o);i&&i.rowIndex===e&&r.push(i)}return r}function o(e){return 1===e.rowspan}function i(){return t.getAt(e,0)}return O(r,o,i)})}function N(e){var t=T(e),n=k(t),r=A(n),s=M(n),u=o.dom.getPos(e),l=r.length>0?b(i,a,r):[],c=s.length>0?b(f,p,s):[];x(l,e.offsetWidth,u),E(c,e.offsetHeight,u)}function I(e,t,n,r){if(t<0||t>=e.length-1)return"";var o=e[t];if(o)o={value:o,delta:0};else for(var i=e.slice(0,t).reverse(),a=0;a<i.length;a++)i[a]&&(o={value:i[a],delta:a+1});var s=e[t+1];if(s)s={value:s,delta:1};else for(var u=e.slice(t+1),l=0;l<u.length;l++)u[l]&&(s={value:u[l],delta:l+1});var c=s.delta-o.delta,d=Math.abs(s.value-o.value)/c;return n?d/m(r,"width")*100:d}function P(e,t){var n=o.dom.getStyle(e,t);return n||(n=o.dom.getAttrib(e,t)),n||(n=o.dom.getStyle(e,t,!0)),n}function D(e,t,n){var r=P(e,"width"),o=parseInt(r,10),i=t?h(e,n):m(e,"width");return(t&&!q(r)||!t&&!W(r))&&(o=0),!isNaN(o)&&o>0?o:i}function R(t,n,r){for(var o=M(t),i=e.map(o,function(e){return f(e.colIndex,e.element).x}),a=[],s=0;s<o.length;s++){var u=o[s].element.hasAttribute("colspan")?parseInt(o[s].element.getAttribute("colspan"),10):1,l=u>1?I(i,s):D(o[s].element,n,r);l=l?l:Ce,a.push(l)}return a}function j(e){var t=P(e,"height"),n=parseInt(t,10);return q(t)&&(n=0),!isNaN(n)&&n>0?n:m(e,"height")}function L(t){for(var n=A(t),r=e.map(n,function(e){return i(e.rowIndex,e.element).y}),o=[],a=0;a<n.length;a++){var s=n[a].element.hasAttribute("rowspan")?parseInt(n[a].element.getAttribute("rowspan"),10):1,u=s>1?I(r,a):j(n[a].element);u=u?u:xe,o.push(u)}return o}function B(t,n,r,o,i){function a(t){return e.map(t,function(){return 0})}function s(){var e;if(i)e=[100-d[0]];else{var t=Math.max(o,d[0]+r);e=[t-d[0]]}return e}function u(e,t){var n,i=a(d.slice(0,e)),s=a(d.slice(t+1));if(r>=0){var u=Math.max(o,d[t]-r);n=i.concat([r,u-d[t]]).concat(s)}else{var l=Math.max(o,d[e]+r),c=d[e]-l;n=i.concat([l-d[e],c]).concat(s)}return n}function l(e,t){var n,i=a(d.slice(0,t));if(r>=0)n=i.concat([r]);else{var s=Math.max(o,d[t]+r);n=i.concat([s-d[t]])}return n}var c,d=t.slice(0);return c=0===t.length?[]:1===t.length?s():0===n?u(0,1):n>0&&n<t.length-1?u(n,n+1):n===t.length-1?l(n-1,n):[]}function F(e,t,n){for(var r=0,o=e;o<t;o++)r+=n[o];return r}function U(t,n){var r=t.getAllCells();return e.map(r,function(e){var t=F(e.colIndex,e.colIndex+e.colspan,n);return{element:e.element,width:t,colspan:e.colspan}})}function H(t,n){var r=t.getAllCells();return e.map(r,function(e){var t=F(e.rowIndex,e.rowIndex+e.rowspan,n);return{element:e.element,height:t,rowspan:e.rowspan}})}function z(t,n){var r=t.getAllRows();return e.map(r,function(e,t){return{element:e.element,height:n[t]}})}function q(e){return Te.test(e)}function W(e){return ke.test(e)}function V(t,n,r){function i(t,n){e.each(t,function(e){o.dom.setStyle(e.element,"width",e.width+n),o.dom.setAttrib(e.element,"width",null)})}function a(){return r<c.grid.maxCols-1?g(t):g(t)+y(t,n)}function s(){return r<c.grid.maxCols-1?m(t,"width"):m(t,"width")+n}function u(e,n,i){r!=c.grid.maxCols-1&&i||(o.dom.setStyle(t,"width",e+n),o.dom.setAttrib(t,"width",null))}for(var l=T(t),c=k(l),d=q(t.width)||q(t.style.width),f=R(c,d,t),p=d?v(t,n):n,h=B(f,r,p,Ce,d,t),b=[],_=0;_<h.length;_++)b.push(h[_]+f[_]);var w=U(c,b),C=d?"%":"px",x=d?a():s();o.undoManager.transact(function(){i(w,C),u(x,C,d)})}function G(t,n,r){for(var i=T(t),a=k(i),s=L(a),u=[],l=0,c=0;c<s.length;c++)u.push(c===r?n+s[c]:s[c]),l+=l[c];var d=H(a,u),f=z(a,u);o.undoManager.transact(function(){e.each(f,function(e){o.dom.setStyle(e.element,"height",e.height+"px"),o.dom.setAttrib(e.element,"height",null)}),e.each(d,function(e){o.dom.setStyle(e.element,"height",e.height+"px"),o.dom.setAttrib(e.element,"height",null)}),o.dom.setStyle(t,"height",l+"px"),o.dom.setAttrib(t,"height",null)})}function Y(){ae=setTimeout(function(){Q()},200)}function K(){clearTimeout(ae)}function $(){var e=document.createElement("div");return e.setAttribute("style","margin: 0; padding: 0; position: fixed; left: 0px; top: 0px; height: 100%; width: 100%;"),e.setAttribute("data-mce-bogus","all"),e}function X(e,t){o.dom.bind(e,"mouseup",function(){Q()}),o.dom.bind(e,"mousemove",function(e){K(),se&&t(e)}),o.dom.bind(e,"mouseout",function(){Y()})}function Q(){if(o.dom.remove(ue),se){o.dom.removeClass(le,Ee),se=!1;var e,t;if(Z(le)){var n=parseInt(o.dom.getAttrib(le,_e),10),i=o.dom.getPos(le).x;e=parseInt(o.dom.getAttrib(le,be),10),t=l()?n-i:i-n,Math.abs(t)>=1&&V(r,t,e)}else if(ee(le)){var a=parseInt(o.dom.getAttrib(le,ge),10),s=o.dom.getPos(le).y;e=parseInt(o.dom.getAttrib(le,me),10),t=s-a,Math.abs(t)>=1&&G(r,t,e)}w(r),o.nodeChanged()}}function J(e,t){ue=ue?ue:$(),se=!0,o.dom.addClass(e,Ee),le=e,X(ue,t),o.dom.add(d(),ue)}function Z(e){return o.dom.hasClass(e,ve)}function ee(e){return o.dom.hasClass(e,pe)}function te(e){ce=ce!==t?ce:e.clientX;var n=e.clientX-ce;ce=e.clientX;var r=o.dom.getPos(le).x;o.dom.setStyle(le,"left",r+n+"px")}function ne(e){de=de!==t?de:e.clientY;var n=e.clientY-de;de=e.clientY;var r=o.dom.getPos(le).y;o.dom.setStyle(le,"top",r+n+"px")}function re(e){ce=t,J(e,te)}function oe(e){de=t,J(e,ne)}function ie(e){var t=e.target,n=o.getBody();if(o.$.contains(n,r)||r===n)if(Z(t)){e.preventDefault();var i=o.dom.getPos(t).x;o.dom.setAttrib(t,_e,i),re(t)}else if(ee(t)){e.preventDefault();var a=o.dom.getPos(t).y;o.dom.setAttrib(t,ge,a),oe(t)}else _()}var ae,se,ue,le,ce,de,fe="mce-resize-bar",pe="mce-resize-bar-row",he="row-resize",me="data-row",ge="data-initial-top",ve="mce-resize-bar-col",ye="col-resize",be="data-col",_e="data-initial-left",we=4,Ce=10,xe=10,Ee="mce-resize-bar-dragging",Te=new RegExp(/(\d+(\.\d+)?%)/),ke=new RegExp(/px|em/);return o.on("init",function(){o.dom.bind(d(),"mousedown",ie)}),o.on("ObjectResized",function(t){var n=t.target;if("TABLE"===n.nodeName){var r=[];e.each(n.rows,function(t){e.each(t.cells,function(e){var t=o.dom.getStyle(e,"width",!0);r.push({cell:e,width:t})})}),e.each(r,function(e){o.dom.setStyle(e.cell,"width",e.width),o.dom.setAttrib(e.cell,"width",null)})}}),o.on("mouseover",function(e){if(!se){var t=o.dom.getParent(e.target,"table");("TABLE"===e.target.nodeName||t)&&(r=t,w(t))}}),o.on("keydown",function(e){switch(e.keyCode){case n.LEFT:case n.RIGHT:case n.UP:case n.DOWN:_()}}),o.on("remove",function(){_(),o.dom.unbind(d(),"mousedown",ie)}),{adjustWidth:V,adjustHeight:G,clearBars:_,drawBars:N,determineDeltas:B,getTableGrid:k,getTableDetails:T,getWidths:R,getPixelHeights:L,isPercentageBasedSize:q,isPixelBasedSize:W,recalculateWidths:U,recalculateCellHeights:H,recalculateRowHeights:z}}}),r("tinymce/tableplugin/Plugin",["tinymce/tableplugin/TableGrid","tinymce/tableplugin/Quirks","tinymce/tableplugin/CellSelection","tinymce/tableplugin/Dialogs","tinymce/tableplugin/ResizeBars","tinymce/util/Tools","tinymce/dom/TreeWalker","tinymce/Env","tinymce/PluginManager"],function(e,t,n,r,o,i,a,s,u){function l(i){function a(e){return function(){i.execCommand(e)}}function u(e,t){var n,r,o,a;for(o='<table id="__mce"><tbody>',n=0;n<t;n++){for(o+="<tr>",r=0;r<e;r++)o+="<td>"+(s.ie&&s.ie<10?"&nbsp;":"<br>")+"</td>";o+="</tr>"}return o+="</tbody></table>",i.undoManager.transact(function(){i.insertContent(o),a=i.dom.get("__mce"),i.dom.setAttrib(a,"id",null),i.$("tr",a).each(function(e,t){i.fire("newrow",{node:t}),i.$("th,td",t).each(function(e,t){i.fire("newcell",{node:t})})}),i.dom.setAttribs(a,i.settings.table_default_attributes||{}),i.dom.setStyles(a,i.settings.table_default_styles||{})}),a}function l(e,t,n){function r(){var r,o,a,s={},u=0;o=i.dom.select("td[data-mce-selected],th[data-mce-selected]"),r=o[0],r||(r=i.selection.getStart()),n&&o.length>0?(c(o,function(e){return s[e.parentNode.parentNode.nodeName]=1}),c(s,function(e){u+=e}),a=1!==u):a=!i.dom.getParent(r,t),e.disabled(a),i.selection.selectorChanged(t,function(t){e.disabled(!t)})}i.initialized?r():i.on("init",r)}function d(){l(this,"table")}function f(){l(this,"td,th")}function p(){l(this,"td,th",!0)}function h(){var e="";e='<table role="grid" class="mce-grid mce-grid-border" aria-readonly="true">';for(var t=0;t<10;t++){e+="<tr>";for(var n=0;n<10;n++)e+='<td role="gridcell" tabindex="-1"><a id="mcegrid'+(10*t+n)+'" href="#" data-mce-x="'+n+'" data-mce-y="'+t+'"></a></td>';e+="</tr>"}return e+="</table>",e+='<div class="mce-text-center" role="presentation">1 x 1</div>'}function m(e,t,n){var r,o,a,s,u,l=n.getEl().getElementsByTagName("table")[0],c=n.isRtl()||"tl-tr"==n.parent().rel;for(l.nextSibling.innerHTML=e+1+" x "+(t+1),c&&(e=9-e),o=0;o<10;o++)for(r=0;r<10;r++)s=l.rows[o].childNodes[r].firstChild,u=(c?r>=e:r<=e)&&o<=t,i.dom.toggleClass(s,"mce-active",u),u&&(a=s);return a.parentNode}function g(){i.addButton("tableprops",{title:"Table properties",onclick:E.tableProps,icon:"table"}),i.addButton("tabledelete",{title:"Delete table",onclick:a("mceTableDelete")}),i.addButton("tablecellprops",{title:"Cell properties",onclick:a("mceTableCellProps")}),i.addButton("tablemergecells",{title:"Merge cells",onclick:a("mceTableMergeCells")}),i.addButton("tablesplitcells",{title:"Split cell",onclick:a("mceTableSplitCells")}),i.addButton("tableinsertrowbefore",{title:"Insert row before",onclick:a("mceTableInsertRowBefore")}),i.addButton("tableinsertrowafter",{title:"Insert row after",onclick:a("mceTableInsertRowAfter")}),i.addButton("tabledeleterow",{title:"Delete row",onclick:a("mceTableDeleteRow")}),i.addButton("tablerowprops",{title:"Row properties",onclick:a("mceTableRowProps")}),i.addButton("tablecutrow",{title:"Cut row",onclick:a("mceTableCutRow")}),i.addButton("tablecopyrow",{title:"Copy row",onclick:a("mceTableCopyRow")}),i.addButton("tablepasterowbefore",{title:"Paste row before",onclick:a("mceTablePasteRowBefore")}),i.addButton("tablepasterowafter",{title:"Paste row after",onclick:a("mceTablePasteRowAfter")}),i.addButton("tableinsertcolbefore",{title:"Insert column before",onclick:a("mceTableInsertColBefore")}),i.addButton("tableinsertcolafter",{title:"Insert column after",onclick:a("mceTableInsertColAfter")}),i.addButton("tabledeletecol",{title:"Delete column",onclick:a("mceTableDeleteCol")})}function v(e){var t=i.dom.is(e,"table")&&i.getBody().contains(e);return t}function y(){var e=i.settings.table_toolbar;""!==e&&e!==!1&&(e||(e="tableprops tabledelete | tableinsertrowbefore tableinsertrowafter tabledeleterow | tableinsertcolbefore tableinsertcolafter tabledeletecol"),i.addContextToolbar(v,e))}function b(){return w}function _(e){w=e}var w,C,x=this,E=new r(i);!i.settings.object_resizing||i.settings.table_resize_bars===!1||i.settings.object_resizing!==!0&&"table"!==i.settings.object_resizing||(C=o(i)),i.settings.table_grid===!1?i.addMenuItem("inserttable",{text:"Table",icon:"table",context:"table",onclick:E.table}):i.addMenuItem("inserttable",{text:"Table",icon:"table",context:"table",ariaHideMenu:!0,onclick:function(e){e.aria&&(this.parent().hideAll(),e.stopImmediatePropagation(),E.table())},onshow:function(){m(0,0,this.menu.items()[0])},onhide:function(){var e=this.menu.items()[0].getEl().getElementsByTagName("a");i.dom.removeClass(e,"mce-active"),i.dom.addClass(e[0],"mce-active")},menu:[{type:"container",html:h(),onPostRender:function(){this.lastX=this.lastY=0},onmousemove:function(e){var t,n,r=e.target;"A"==r.tagName.toUpperCase()&&(t=parseInt(r.getAttribute("data-mce-x"),10),n=parseInt(r.getAttribute("data-mce-y"),10),(this.isRtl()||"tl-tr"==this.parent().rel)&&(t=9-t),t===this.lastX&&n===this.lastY||(m(t,n,e.control),this.lastX=t,this.lastY=n))},onclick:function(e){var t=this;"A"==e.target.tagName.toUpperCase()&&(e.preventDefault(),e.stopPropagation(),t.parent().cancel(),i.undoManager.transact(function(){u(t.lastX+1,t.lastY+1)}),i.addVisual())}}]}),i.addMenuItem("tableprops",{text:"Table properties",context:"table",onPostRender:d,onclick:E.tableProps}),i.addMenuItem("deletetable",{text:"Delete table",context:"table",onPostRender:d,cmd:"mceTableDelete"}),i.addMenuItem("cell",{separator:"before",text:"Cell",context:"table",menu:[{text:"Cell properties",onclick:a("mceTableCellProps"),onPostRender:f},{text:"Merge cells",onclick:a("mceTableMergeCells"),onPostRender:p},{text:"Split cell",onclick:a("mceTableSplitCells"),onPostRender:f}]}),i.addMenuItem("row",{text:"Row",context:"table",menu:[{text:"Insert row before",onclick:a("mceTableInsertRowBefore"),onPostRender:f},{text:"Insert row after",onclick:a("mceTableInsertRowAfter"),onPostRender:f},{text:"Delete row",onclick:a("mceTableDeleteRow"),onPostRender:f},{text:"Row properties",onclick:a("mceTableRowProps"),onPostRender:f},{text:"-"},{text:"Cut row",onclick:a("mceTableCutRow"),onPostRender:f},{text:"Copy row",onclick:a("mceTableCopyRow"),onPostRender:f},{text:"Paste row before",onclick:a("mceTablePasteRowBefore"),onPostRender:f},{text:"Paste row after",onclick:a("mceTablePasteRowAfter"),onPostRender:f}]}),i.addMenuItem("column",{text:"Column",context:"table",menu:[{text:"Insert column before",onclick:a("mceTableInsertColBefore"),onPostRender:f},{text:"Insert column after",onclick:a("mceTableInsertColAfter"),onPostRender:f},{text:"Delete column",onclick:a("mceTableDeleteCol"),onPostRender:f}]});var T=[];c("inserttable tableprops deletetable | cell row column".split(" "),function(e){"|"==e?T.push({text:"-"}):T.push(i.menuItems[e])}),i.addButton("table",{type:"menubutton",title:"Table",menu:T}),s.isIE||i.on("click",function(e){e=e.target,"TABLE"===e.nodeName&&(i.selection.select(e),i.nodeChanged())}),x.quirks=new t(i),i.on("Init",function(){x.cellSelection=new n(i,function(e){e&&C&&C.clearBars()}),x.resizeBars=C}),i.on("PreInit",function(){i.serializer.addAttributeFilter("data-mce-cell-padding,data-mce-border,data-mce-border-color",function(e,t){for(var n=e.length;n--;)e[n].attr(t,null)})}),c({mceTableSplitCells:function(e){e.split()},mceTableMergeCells:function(e){var t;t=i.dom.getParent(i.selection.getStart(),"th,td"),i.dom.select("td[data-mce-selected],th[data-mce-selected]").length?e.merge():E.merge(e,t)},mceTableInsertRowBefore:function(e){e.insertRows(!0)},mceTableInsertRowAfter:function(e){e.insertRows()},mceTableInsertColBefore:function(e){e.insertCols(!0)},mceTableInsertColAfter:function(e){e.insertCols()},mceTableDeleteCol:function(e){e.deleteCols()},mceTableDeleteRow:function(e){e.deleteRows()},mceTableCutRow:function(e){w=e.cutRows()},mceTableCopyRow:function(e){w=e.copyRows()},mceTablePasteRowBefore:function(e){e.pasteRows(w,!0)},mceTablePasteRowAfter:function(e){e.pasteRows(w)},mceSplitColsBefore:function(e){e.splitCols(!0)},mceSplitColsAfter:function(e){e.splitCols(!1)},mceTableDelete:function(e){C&&C.clearBars(),e.deleteTable()}},function(t,n){i.addCommand(n,function(){var n=new e(i);n&&(t(n),i.execCommand("mceRepaint"),x.cellSelection.clear())})}),c({mceInsertTable:E.table,mceTableProps:function(){E.table(!0)},mceTableRowProps:E.row,mceTableCellProps:E.cell},function(e,t){i.addCommand(t,function(t,n){e(n)})}),g(),y(),i.settings.table_tab_navigation!==!1&&i.on("keydown",function(t){var n,r,o;9==t.keyCode&&(n=i.dom.getParent(i.selection.getStart(),"th,td"),n&&(t.preventDefault(),r=new e(i),o=t.shiftKey?-1:1,i.undoManager.transact(function(){!r.moveRelIdx(n,o)&&o>0&&(r.insertRow(),r.refresh(),r.moveRelIdx(n,o))})))}),x.insertTable=u,x.setClipboardRows=_,x.getClipboardRows=b}var c=i.each;u.add("table",l)})}(window)},function(e,t){!function(){var e={},t=function(t){for(var n=e[t],o=n.deps,i=n.defn,a=o.length,s=new Array(a),u=0;u<a;++u)s[u]=r(o[u]);var l=i.apply(null,s);if(void 0===l)throw"module ["+t+"] returned undefined";n.instance=l},n=function(t,n,r){if("string"!=typeof t)throw"module id must be a string";if(void 0===n)throw"no dependencies for "+t;if(void 0===r)throw"no definition function for "+t;e[t]={deps:n,defn:r,instance:void 0}},r=function(n){var r=e[n];if(void 0===r)throw"module ["+n+"] was undefined";return void 0===r.instance&&t(n),r.instance},o=function(e,t){for(var n=e.length,o=new Array(n),i=0;i<n;++i)o.push(r(e[i]));t.apply(null,t)},i={};i.bolt={module:{api:{define:n,require:o,demand:r}}};var a=n,s=function(e,t){a(e,[],function(){return t})};s("global!tinymce.Env",tinymce.Env),s("global!tinymce.EditorManager",tinymce.EditorManager),s("global!tinymce.ThemeManager",tinymce.ThemeManager),s("global!tinymce.util.Tools",tinymce.util.Tools),s("global!tinymce.ui.Factory",tinymce.ui.Factory),s("global!tinymce.DOM",tinymce.DOM),a("tinymce.modern.ui.Toolbar",["global!tinymce.util.Tools","global!tinymce.ui.Factory"],function(e,t){var n="undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image",r=function(n,r,o){var i,a=[];if(r)return e.each(r.split(/[ ,]/),function(e){var r,s=function(){var t=n.selection;e.settings.stateSelector&&t.selectorChanged(e.settings.stateSelector,function(t){e.active(t)},!0),e.settings.disabledStateSelector&&t.selectorChanged(e.settings.disabledStateSelector,function(t){e.disabled(t)})};"|"==e?i=null:t.has(e)?(e={type:e,size:o},a.push(e),i=null):(i||(i={type:"buttongroup",items:[]},a.push(i)),n.buttons[e]&&(r=e,e=n.buttons[r],"function"==typeof e&&(e=e()),e.type=e.type||"button",e.size=o,e=t.create(e),i.items.push(e),n.initialized?s():n.on("init",s)))}),{type:"toolbar",layout:"flow",items:a}},o=function(t,o){var i=[],a=t.settings,s=function(e){if(e)return i.push(r(t,e,o)),!0};if(e.isArray(a.toolbar)){if(0===a.toolbar.length)return;e.each(a.toolbar,function(e,t){a["toolbar"+(t+1)]=e}),delete a.toolbar}for(var u=1;u<10&&s(a["toolbar"+u]);u++);if(i.length||a.toolbar===!1||s(a.toolbar||n),i.length)return{type:"panel",layout:"stack",classes:"toolbar-grp",ariaRoot:!0,ariaRemember:!0,items:i}};return{createToolbar:r,createToolbars:o}}),a("tinymce.modern.ui.Menubar",["global!tinymce.util.Tools"],function(e){var t={file:{title:"File",items:"newdocument"},edit:{title:"Edit",items:"undo redo | cut copy paste pastetext | selectall"},insert:{title:"Insert",items:"|"},view:{title:"View",items:"visualaid |"},format:{title:"Format",items:"bold italic underline strikethrough superscript subscript | formats | removeformat"},table:{title:"Table"},tools:{title:"Tools"}},n=function(e,t){var n;return"|"==t?{text:"|"}:n=e[t]},r=function(r,o,i){var a,s,u,l,c;if(c=e.makeMap((o.removed_menuitems||"").split(/[ ,]/)),o.menu?(s=o.menu[i],l=!0):s=t[i],s){a={text:s.title},u=[],e.each((s.items||"").split(/[ ,]/),function(e){var t=n(r,e);t&&!c[e]&&u.push(n(r,e))}),l||e.each(r,function(e){e.context==i&&("before"==e.separator&&u.push({text:"|"}),e.prependToContext?u.unshift(e):u.push(e),"after"==e.separator&&u.push({text:"|"}))});for(var d=0;d<u.length;d++)"|"==u[d].text&&(0!==d&&d!=u.length-1||u.splice(d,1));if(a.menu=u,!a.menu.length)return null}return a},o=function(e){var n,o=[],i=e.settings,a=[];if(i.menu)for(n in i.menu)a.push(n);else for(n in t)a.push(n);for(var s="string"==typeof i.menubar?i.menubar.split(/[ ,]/):a,u=0;u<s.length;u++){var l=s[u];l=r(e.menuItems,e.settings,l),l&&o.push(l)}return o};return{createMenuButtons:o}}),s("global!tinymce.util.Delay",tinymce.util.Delay),s("global!tinymce.geom.Rect",tinymce.geom.Rect),a("tinymce.modern.ui.ContextToolbars",["global!tinymce.DOM","global!tinymce.util.Tools","global!tinymce.util.Delay","tinymce.modern.ui.Toolbar","global!tinymce.ui.Factory","global!tinymce.geom.Rect"],function(e,t,n,r,o,i){var a=function(e){return{left:e.x,top:e.y,width:e.w,height:e.h,right:e.x+e.w,bottom:e.y+e.h}},s=function(e){t.each(e.contextToolbars,function(e){e.panel&&e.panel.hide()})},u=function(e,t){e.moveTo(t.left,t.top)},l=function(e,n,r){n=n?n.substr(0,2):"",t.each({t:"down",b:"up"},function(t,o){e.classes.toggle("arrow-"+t,r(o,n.substr(0,1)))}),t.each({l:"left",r:"right"},function(t,o){e.classes.toggle("arrow-"+t,r(o,n.substr(1,1)))})},c=function(e,t,n,r,o,i){return i=a({x:t,y:n,w:i.w,h:i.h}),e&&(i=e({elementRect:a(r),contentAreaRect:a(o),panelRect:i})),i},d=function(a){var d,f=a.settings,p=function(){return a.contextToolbars||[]},h=function(t){var n,r,o;return n=e.getPos(a.getContentAreaContainer()),r=a.dom.getRect(t),o=a.dom.getRoot(),"BODY"===o.nodeName&&(r.x-=o.ownerDocument.documentElement.scrollLeft||o.scrollLeft,r.y-=o.ownerDocument.documentElement.scrollTop||o.scrollTop),r.x+=n.x,r.y+=n.y,r},m=function(t,n){var r,o,d,p,m,g,v,y,b=f.inline_toolbar_position_handler;if(!a.removed){if(!t||!t.toolbar.panel)return void s(a);v=["bc-tc","tc-bc","tl-bl","bl-tl","tr-br","br-tr"],m=t.toolbar.panel,n&&m.show(),d=h(t.element),o=e.getRect(m.getEl()),p=e.getRect(a.getContentAreaContainer()||a.getBody()),y=25,"inline"!==e.getStyle(t.element,"display",!0)&&(d.w=t.element.clientWidth,d.h=t.element.clientHeight),a.inline||(p.w=a.getDoc().documentElement.offsetWidth),a.selection.controlSelection.isResizable(t.element)&&d.w<y&&(d=i.inflate(d,0,8)),r=i.findBestRelativePosition(o,d,p,v),d=i.clamp(d,p),r?(g=i.relativePosition(o,d,r),u(m,c(b,g.x,g.y,d,p,o))):(p.h+=o.h,d=i.intersect(p,d),d?(r=i.findBestRelativePosition(o,d,p,["bc-tc","bl-tl","br-tr"]),r?(g=i.relativePosition(o,d,r),u(m,c(b,g.x,g.y,d,p,o))):u(m,c(b,d.x,d.y,d,p,o))):m.hide()),l(m,r,function(e,t){return e===t})}},g=function(e){return function(){var t=function(){a.selection&&m(_(a.selection.getNode()),e)};n.requestAnimationFrame(t)}},v=function(){d||(d=a.selection.getScrollContainer()||a.getWin(),e.bind(d,"scroll",g(!0)),a.on("remove",function(){e.unbind(d,"scroll")}))},y=function(e){var t;return e.toolbar.panel?(e.toolbar.panel.show(),void m(e)):(v(),t=o.create({type:"floatpanel",role:"dialog",classes:"tinymce tinymce-inline arrow",ariaLabel:"Inline toolbar",layout:"flex",direction:"column",align:"stretch",autohide:!1,autofix:!0,fixed:!0,border:1,items:r.createToolbar(a,e.toolbar.items),oncancel:function(){a.focus()}}),e.toolbar.panel=t,t.renderTo(document.body).reflow(),void m(e))},b=function(){t.each(p(),function(e){e.panel&&e.panel.hide()})},_=function(e){var t,n,r,o=p();for(r=a.$(e).parents().add(e),t=r.length-1;t>=0;t--)for(n=o.length-1;n>=0;n--)if(o[n].predicate(r[t]))return{toolbar:o[n],element:r[t]};return null};a.on("click keyup setContent ObjectResized",function(e){("setcontent"!==e.type||e.selection)&&n.setEditorTimeout(a,function(){var e;e=_(a.selection.getNode()),e?(b(),y(e)):b()})}),a.on("blur hide contextmenu",b),a.on("ObjectResizeStart",function(){var e=_(a.selection.getNode());e&&e.toolbar.panel&&e.toolbar.panel.hide()}),a.on("ResizeEditor ResizeWindow",g(!0)),a.on("nodeChange",g(!1)),a.on("remove",function(){t.each(p(),function(e){e.panel&&e.panel.remove()}),a.contextToolbars={}}),a.shortcuts.add("ctrl+shift+e > ctrl+shift+p","",function(){var e=_(a.selection.getNode());e&&e.toolbar.panel&&e.toolbar.panel.items()[0].focus()})};return{addContextualToolbars:d}}),a("tinymce.modern.ui.A11y",[],function(){var e=function(e,t){return function(){var n=e.find(t)[0];n&&n.focus(!0)}},t=function(t,n){t.shortcuts.add("Alt+F9","",e(n,"menubar")),t.shortcuts.add("Alt+F10,F10","",e(n,"toolbar")),t.shortcuts.add("Alt+F11","",e(n,"elementpath")),n.on("cancel",function(){t.focus()})};return{addKeys:t}}),a("tinymce.modern.ui.Sidebar",["global!tinymce.util.Tools","global!tinymce.ui.Factory","global!tinymce.Env"],function(e,t,n){var r=function(e){return{element:function(){return e}}},o=function(e,t,n){var o=e.settings[n];o&&o(r(t.getEl("body")))},i=function(t,n,r){e.each(r,function(e){var r=n.items().filter("#"+e.name)[0];r&&r.visible()&&e.name!==t&&(o(e,r,"onhide"),r.visible(!1))})},a=function(e){e.items().each(function(e){e.active(!1)})},s=function(t,n){return e.grep(t,function(e){return e.name===n})[0]},u=function(e,n,r){return function(u){var l=u.control,c=l.parents().filter("panel")[0],d=c.find("#"+n)[0],f=s(r,n);i(n,c,r),a(l.parent()),d&&d.visible()?(o(f,d,"onhide"),d.hide(),l.active(!1)):(d?(d.show(),o(f,d,"onshow")):(d=t.create({type:"container",name:n,layout:"stack",classes:"sidebar-panel",html:""}),c.prepend(d),o(f,d,"onrender"),o(f,d,"onshow")),l.active(!0)),e.fire("ResizeEditor")}},l=function(){return!n.ie||n.ie>=11},c=function(e){return!(!l()||!e.sidebars)&&e.sidebars.length>0},d=function(t){var n=e.map(t.sidebars,function(e){var n=e.settings;return{type:"button",icon:n.icon,image:n.image,tooltip:n.tooltip,onclick:u(t,e.name,t.sidebars)}});return{type:"panel",name:"sidebar",layout:"stack",classes:"sidebar",items:[{type:"toolbar",layout:"stack",classes:"sidebar-toolbar",items:n}]}};return{hasSidebar:c,createSidebar:d}}),a("tinymce.modern.ui.SkinLoaded",[],function(){var e=function(e){var t=function(){e._skinLoaded=!0,e.fire("SkinLoaded")};return function(){e.initialized?t():e.on("init",t)}};return{fireSkinLoaded:e}}),a("tinymce.modern.ui.Resize",["global!tinymce.DOM"],function(e){var t=function(e){return{width:e.clientWidth,height:e.clientHeight}},n=function(n,r,o){var i,a,s,u,l=n.settings;i=n.getContainer(),a=n.getContentAreaContainer().firstChild,s=t(i),u=t(a),null!==r&&(r=Math.max(l.min_width||100,r),r=Math.min(l.max_width||65535,r),e.setStyle(i,"width",r+(s.width-u.width)),e.setStyle(a,"width",r)),o=Math.max(l.min_height||100,o),o=Math.min(l.max_height||65535,o),e.setStyle(a,"height",o),n.fire("ResizeEditor")},r=function(e,t,r){var o=e.getContentAreaContainer();n(e,o.clientWidth+t,o.clientHeight+r)};return{resizeTo:n,resizeBy:r}}),a("tinymce.modern.modes.Iframe",["global!tinymce.util.Tools","global!tinymce.ui.Factory","global!tinymce.DOM","tinymce.modern.ui.Toolbar","tinymce.modern.ui.Menubar","tinymce.modern.ui.ContextToolbars","tinymce.modern.ui.A11y","tinymce.modern.ui.Sidebar","tinymce.modern.ui.SkinLoaded","tinymce.modern.ui.Resize"],function(e,t,n,r,o,i,a,s,u,l){var c=function(e){return function(t){e.find("*").disabled("readonly"===t.mode)}},d=function(e){return{type:"panel",name:"iframe",layout:"stack",classes:"edit-area",border:e,html:""}},f=function(e){return{type:"panel",
+layout:"stack",classes:"edit-aria-container",border:"1 0 0 0",items:[d("0"),s.createSidebar(e)]}},p=function(e,p,h){var m,g,v,y=e.settings;return h.skinUiCss&&n.styleSheetLoader.load(h.skinUiCss,u.fireSkinLoaded(e)),m=p.panel=t.create({type:"panel",role:"application",classes:"tinymce",style:"visibility: hidden",layout:"stack",border:1,items:[y.menubar===!1?null:{type:"menubar",border:"0 0 1 0",items:o.createMenuButtons(e)},r.createToolbars(e,y.toolbar_items_size),s.hasSidebar(e)?f(e):d("1 0 0 0")]}),y.resize!==!1&&(g={type:"resizehandle",direction:y.resize,onResizeStart:function(){var t=e.getContentAreaContainer().firstChild;v={width:t.clientWidth,height:t.clientHeight}},onResize:function(t){"both"===y.resize?l.resizeTo(e,v.width+t.deltaX,v.height+t.deltaY):l.resizeTo(e,null,v.height+t.deltaY)}}),y.statusbar!==!1&&m.add({type:"panel",name:"statusbar",classes:"statusbar",layout:"flow",border:"1 0 0 0",ariaRoot:!0,items:[{type:"elementpath",editor:e},g]}),e.fire("BeforeRenderUI"),e.on("SwitchMode",c(m)),m.renderBefore(h.targetNode).reflow(),y.readonly&&e.setMode("readonly"),y.width&&n.setStyle(m.getEl(),"width",y.width),e.on("remove",function(){m.remove(),m=null}),a.addKeys(e,m),i.addContextualToolbars(e),{iframeContainer:m.find("#iframe")[0].getEl(),editorContainer:m.getEl()}};return{render:p}}),s("global!tinymce.ui.FloatPanel",tinymce.ui.FloatPanel),a("tinymce.modern.modes.Inline",["global!tinymce.util.Tools","global!tinymce.ui.Factory","global!tinymce.DOM","global!tinymce.ui.FloatPanel","tinymce.modern.ui.Toolbar","tinymce.modern.ui.Menubar","tinymce.modern.ui.ContextToolbars","tinymce.modern.ui.A11y","tinymce.modern.ui.SkinLoaded"],function(e,t,n,r,o,i,a,s,u){var l=function(e,l,c){var d,f,p=e.settings;p.fixed_toolbar_container&&(f=n.select(p.fixed_toolbar_container)[0]);var h=function(){if(d&&d.moveRel&&d.visible()&&!d._fixed){var t=e.selection.getScrollContainer(),r=e.getBody(),o=0,i=0;if(t){var a=n.getPos(r),s=n.getPos(t);o=Math.max(0,s.x-a.x),i=Math.max(0,s.y-a.y)}d.fixed(!1).moveRel(r,e.rtl?["tr-br","br-tr"]:["tl-bl","bl-tl","tr-br"]).moveBy(o,i)}},m=function(){d&&(d.show(),h(),n.addClass(e.getBody(),"mce-edit-focus"))},g=function(){d&&(d.hide(),r.hideAll(),n.removeClass(e.getBody(),"mce-edit-focus"))},v=function(){return d?void(d.visible()||m()):(d=l.panel=t.create({type:f?"panel":"floatpanel",role:"application",classes:"tinymce tinymce-inline",layout:"flex",direction:"column",align:"stretch",autohide:!1,autofix:!0,fixed:!!f,border:1,items:[p.menubar===!1?null:{type:"menubar",border:"0 0 1 0",items:i.createMenuButtons(e)},o.createToolbars(e,p.toolbar_items_size)]}),e.fire("BeforeRenderUI"),d.renderTo(f||document.body).reflow(),s.addKeys(e,d),m(),a.addContextualToolbars(e),e.on("nodeChange",h),e.on("activate",m),e.on("deactivate",g),void e.nodeChanged())};return p.content_editable=!0,e.on("focus",function(){c.skinUiCss?n.styleSheetLoader.load(c.skinUiCss,v,v):v()}),e.on("blur hide",g),e.on("remove",function(){d&&(d.remove(),d=null)}),c.skinUiCss&&n.styleSheetLoader.load(c.skinUiCss,u.fireSkinLoaded(e)),{}};return{render:l}}),s("global!tinymce.ui.Throbber",tinymce.ui.Throbber),a("tinymce.modern.ui.ProgressState",["global!tinymce.ui.Throbber"],function(e){var t=function(t,n){var r;t.on("ProgressState",function(t){r=r||new e(n.panel.getEl("body")),t.state?r.show(t.time):r.hide()})};return{setup:t}}),a("tinymce.modern.Theme",["global!tinymce.Env","global!tinymce.EditorManager","global!tinymce.ThemeManager","tinymce.modern.modes.Iframe","tinymce.modern.modes.Inline","tinymce.modern.ui.Resize","tinymce.modern.ui.ProgressState"],function(e,t,n,r,o,i,a){var s=function(n,i,s){var u=n.settings,l=u.skin!==!1&&(u.skin||"lightgray");if(l){var c=u.skin_url;c=c?n.documentBaseURI.toAbsolute(c):t.baseURL+"/skins/"+l,e.documentMode<=7?s.skinUiCss=c+"/skin.ie7.min.css":s.skinUiCss=c+"/skin.min.css",n.contentCSS.push(c+"/content"+(n.inline?".inline":"")+".min.css")}return a.setup(n,i),u.inline?o.render(n,i,s):r.render(n,i,s)};return n.add("modern",function(e){return{renderUI:function(t){return s(e,this,t)},resizeTo:function(t,n){return i.resizeTo(e,t,n)},resizeBy:function(t,n){return i.resizeBy(e,t,n)}}}),function(){}}),r("tinymce.modern.Theme")()}()},function(e,t,n){(function(t){!function(n,r){"use strict";function o(e,t){for(var n,r=[],o=0;o<e.length;++o){if(n=u[e[o]]||a(e[o]),!n)throw"module definition dependecy not found: "+e[o];r.push(n)}t.apply(null,r)}function i(e,t,n){if("string"!=typeof e)throw"invalid module definition, module id must be defined and be a string";if(t===r)throw"invalid module definition, dependencies must be specified";if(n===r)throw"invalid module definition, definition function must be specified";o(t,function(){u[e]=n.apply(null,arguments)})}function a(e){for(var t=n,r=e.split(/[.\/]/),o=0;o<r.length;++o){if(!t[r[o]])return;t=t[r[o]]}return t}function s(e){var t,o,i,a,s;for(t=0;t<e.length;t++){o=n,i=e[t],a=i.split(/[.\/]/);for(var l=0;l<a.length-1;++l)o[a[l]]===r&&(o[a[l]]={}),o=o[a[l]];o[a[a.length-1]]=u[i]}if(n.AMDLC_TESTS){s=n.privateModules||{};for(i in u)s[i]=u[i];for(t=0;t<e.length;t++)delete s[e[t]];n.privateModules=s}}var u={};i("tinymce/geom/Rect",[],function(){function e(e,t,n){var r,o,a,s,u,c;return r=t.x,o=t.y,a=e.w,s=e.h,u=t.w,c=t.h,n=(n||"").split(""),"b"===n[0]&&(o+=c),"r"===n[1]&&(r+=u),"c"===n[0]&&(o+=l(c/2)),"c"===n[1]&&(r+=l(u/2)),"b"===n[3]&&(o-=s),"r"===n[4]&&(r-=a),"c"===n[3]&&(o-=l(s/2)),"c"===n[4]&&(r-=l(a/2)),i(r,o,a,s)}function t(t,n,r,o){var i,a;for(a=0;a<o.length;a++)if(i=e(t,n,o[a]),i.x>=r.x&&i.x+i.w<=r.w+r.x&&i.y>=r.y&&i.y+i.h<=r.h+r.y)return o[a];return null}function n(e,t,n){return i(e.x-t,e.y-n,e.w+2*t,e.h+2*n)}function r(e,t){var n,r,o,a;return n=u(e.x,t.x),r=u(e.y,t.y),o=s(e.x+e.w,t.x+t.w),a=s(e.y+e.h,t.y+t.h),o-n<0||a-r<0?null:i(n,r,o-n,a-r)}function o(e,t,n){var r,o,a,s,l,c,d,f,p,h;return l=e.x,c=e.y,d=e.x+e.w,f=e.y+e.h,p=t.x+t.w,h=t.y+t.h,r=u(0,t.x-l),o=u(0,t.y-c),a=u(0,d-p),s=u(0,f-h),l+=r,c+=o,n&&(d+=r,f+=o,l-=a,c-=s),d-=a,f-=s,i(l,c,d-l,f-c)}function i(e,t,n,r){return{x:e,y:t,w:n,h:r}}function a(e){return i(e.left,e.top,e.width,e.height)}var s=Math.min,u=Math.max,l=Math.round;return{inflate:n,relativePosition:e,findBestRelativePosition:t,intersect:r,clamp:o,create:i,fromClientRect:a}}),i("tinymce/util/Promise",[],function(){function e(e,t){return function(){e.apply(t,arguments)}}function n(t){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=null,this._value=null,this._deferreds=[],u(t,e(o,this),e(i,this))}function r(e){var t=this;return null===this._state?void this._deferreds.push(e):void l(function(){var n=t._state?e.onFulfilled:e.onRejected;if(null===n)return void(t._state?e.resolve:e.reject)(t._value);var r;try{r=n(t._value)}catch(t){return void e.reject(t)}e.resolve(r)})}function o(t){try{if(t===this)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var n=t.then;if("function"==typeof n)return void u(e(n,t),e(o,this),e(i,this))}this._state=!0,this._value=t,a.call(this)}catch(e){i.call(this,e)}}function i(e){this._state=!1,this._value=e,a.call(this)}function a(){for(var e=0,t=this._deferreds.length;e<t;e++)r.call(this,this._deferreds[e]);this._deferreds=null}function s(e,t,n,r){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.resolve=n,this.reject=r}function u(e,t,n){var r=!1;try{e(function(e){r||(r=!0,t(e))},function(e){r||(r=!0,n(e))})}catch(e){if(r)return;r=!0,n(e)}}if(window.Promise)return window.Promise;var l=n.immediateFn||"function"==typeof t&&t||function(e){setTimeout(e,1)},c=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};return n.prototype.catch=function(e){return this.then(null,e)},n.prototype.then=function(e,t){var o=this;return new n(function(n,i){r.call(o,new s(e,t,n,i))})},n.all=function(){var e=Array.prototype.slice.call(1===arguments.length&&c(arguments[0])?arguments[0]:arguments);return new n(function(t,n){function r(i,a){try{if(a&&("object"==typeof a||"function"==typeof a)){var s=a.then;if("function"==typeof s)return void s.call(a,function(e){r(i,e)},n)}e[i]=a,0===--o&&t(e)}catch(e){n(e)}}if(0===e.length)return t([]);for(var o=e.length,i=0;i<e.length;i++)r(i,e[i])})},n.resolve=function(e){return e&&"object"==typeof e&&e.constructor===n?e:new n(function(t){t(e)})},n.reject=function(e){return new n(function(t,n){n(e)})},n.race=function(e){return new n(function(t,n){for(var r=0,o=e.length;r<o;r++)e[r].then(t,n)})},n}),i("tinymce/util/Delay",["tinymce/util/Promise"],function(e){function t(e,t){function n(e){window.setTimeout(e,0)}var r,o=window.requestAnimationFrame,i=["ms","moz","webkit"];for(r=0;r<i.length&&!o;r++)o=window[i[r]+"RequestAnimationFrame"];o||(o=n),o(e,t)}function n(e,t){return"number"!=typeof t&&(t=0),setTimeout(e,t)}function r(e,t){return"number"!=typeof t&&(t=1),setInterval(e,t)}function o(e){return clearTimeout(e)}function i(e){return clearInterval(e)}function a(e,t){var r,o;return o=function(){var o=arguments;clearTimeout(r),r=n(function(){e.apply(this,o)},t)},o.stop=function(){clearTimeout(r)},o}var s;return{requestAnimationFrame:function(n,r){return s?void s.then(n):void(s=new e(function(e){r||(r=document.body),t(e,r)}).then(n))},setTimeout:n,setInterval:r,setEditorTimeout:function(e,t,r){return n(function(){e.removed||t()},r)},setEditorInterval:function(e,t,n){var o;return o=r(function(){e.removed?clearInterval(o):t()},n)},debounce:a,throttle:a,clearInterval:i,clearTimeout:o}}),i("tinymce/Env",[],function(){function e(e){return"matchMedia"in window&&matchMedia(e).matches}var t,n,r,o,i,a,s,u,l,c,d,f,p,h=navigator,m=h.userAgent;t=window.opera&&window.opera.buildNumber,l=/Android/.test(m),n=/WebKit/.test(m),r=!n&&!t&&/MSIE/gi.test(m)&&/Explorer/gi.test(h.appName),r=r&&/MSIE (\w+)\./.exec(m)[1],o=m.indexOf("Trident/")!=-1&&(m.indexOf("rv:")!=-1||h.appName.indexOf("Netscape")!=-1)&&11,i=m.indexOf("Edge/")!=-1&&!r&&!o&&12,r=r||o||i,a=!n&&!o&&/Gecko/.test(m),s=m.indexOf("Mac")!=-1,u=/(iPad|iPhone)/.test(m),c="FormData"in window&&"FileReader"in window&&"URL"in window&&!!URL.createObjectURL,d=e("only screen and (max-device-width: 480px)")&&(l||u),f=e("only screen and (min-width: 800px)")&&(l||u),p=m.indexOf("Windows Phone")!=-1,i&&(n=!1);var g=!u||c||m.match(/AppleWebKit\/(\d*)/)[1]>=534;return{opera:t,webkit:n,ie:r,gecko:a,mac:s,iOS:u,android:l,contentEditable:g,transparentSrc:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",caretAfter:8!=r,range:window.getSelection&&"Range"in window,documentMode:r&&!i?document.documentMode||7:10,fileApi:c,ceFalse:r===!1||r>8,canHaveCSP:r===!1||r>11,desktop:!d&&!f,windowsPhone:p}}),i("tinymce/dom/EventUtils",["tinymce/util/Delay","tinymce/Env"],function(e,t){function n(e,t,n,r){e.addEventListener?e.addEventListener(t,n,r||!1):e.attachEvent&&e.attachEvent("on"+t,n)}function r(e,t,n,r){e.removeEventListener?e.removeEventListener(t,n,r||!1):e.detachEvent&&e.detachEvent("on"+t,n)}function o(e,t){var n,r=t;return n=e.path,n&&n.length>0&&(r=n[0]),e.deepPath&&(n=e.deepPath(),n&&n.length>0&&(r=n[0])),r}function i(e,n){function r(){return!1}function i(){return!0}var a,s,u=n||{};for(a in e)c[a]||(u[a]=e[a]);if(u.target||(u.target=u.srcElement||document),t.experimentalShadowDom&&(u.target=o(e,u.target)),e&&l.test(e.type)&&e.pageX===s&&e.clientX!==s){var d=u.target.ownerDocument||document,f=d.documentElement,p=d.body;u.pageX=e.clientX+(f&&f.scrollLeft||p&&p.scrollLeft||0)-(f&&f.clientLeft||p&&p.clientLeft||0),u.pageY=e.clientY+(f&&f.scrollTop||p&&p.scrollTop||0)-(f&&f.clientTop||p&&p.clientTop||0)}return u.preventDefault=function(){u.isDefaultPrevented=i,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},u.stopPropagation=function(){u.isPropagationStopped=i,e&&(e.stopPropagation?e.stopPropagation():e.cancelBubble=!0)},u.stopImmediatePropagation=function(){u.isImmediatePropagationStopped=i,u.stopPropagation()},u.isDefaultPrevented||(u.isDefaultPrevented=r,u.isPropagationStopped=r,u.isImmediatePropagationStopped=r),"undefined"==typeof u.metaKey&&(u.metaKey=!1),u}function a(t,o,i){function a(){i.domLoaded||(i.domLoaded=!0,o(c))}function s(){("complete"===l.readyState||"interactive"===l.readyState&&l.body)&&(r(l,"readystatechange",s),a())}function u(){try{l.documentElement.doScroll("left")}catch(t){return void e.setTimeout(u)}a()}var l=t.document,c={type:"ready"};return i.domLoaded?void o(c):(l.addEventListener?"complete"===l.readyState?a():n(t,"DOMContentLoaded",a):(n(l,"readystatechange",s),l.documentElement.doScroll&&t.self===t.top&&u()),void n(t,"load",a))}function s(){function e(e,t){var n,r,o,i,a=f[t];if(n=a&&a[e.type])for(r=0,o=n.length;r<o;r++)if(i=n[r],i&&i.func.call(i.scope,e)===!1&&e.preventDefault(),e.isImmediatePropagationStopped())return}var t,o,s,l,c,d=this,f={};o=u+(+new Date).toString(32),l="onmouseenter"in document.documentElement,s="onfocusin"in document.documentElement,c={mouseenter:"mouseover",mouseleave:"mouseout"},t=1,d.domLoaded=!1,d.events=f,d.bind=function(r,u,p,h){function m(t){e(i(t||x.event),g)}var g,v,y,b,_,w,C,x=window;if(r&&3!==r.nodeType&&8!==r.nodeType){for(r[o]?g=r[o]:(g=t++,r[o]=g,f[g]={}),h=h||r,u=u.split(" "),y=u.length;y--;)b=u[y],w=m,_=C=!1,"DOMContentLoaded"===b&&(b="ready"),d.domLoaded&&"ready"===b&&"complete"==r.readyState?p.call(h,i({type:b})):(l||(_=c[b],_&&(w=function(t){var n,r;if(n=t.currentTarget,r=t.relatedTarget,r&&n.contains)r=n.contains(r);else for(;r&&r!==n;)r=r.parentNode;r||(t=i(t||x.event),t.type="mouseout"===t.type?"mouseleave":"mouseenter",t.target=n,e(t,g))})),s||"focusin"!==b&&"focusout"!==b||(C=!0,_="focusin"===b?"focus":"blur",w=function(t){t=i(t||x.event),t.type="focus"===t.type?"focusin":"focusout",e(t,g)}),v=f[g][b],v?"ready"===b&&d.domLoaded?p({type:b}):v.push({func:p,scope:h}):(f[g][b]=v=[{func:p,scope:h}],v.fakeName=_,v.capture=C,v.nativeHandler=w,"ready"===b?a(r,w,d):n(r,_||b,w,C)));return r=v=0,p}},d.unbind=function(e,t,n){var i,a,s,u,l,c;if(!e||3===e.nodeType||8===e.nodeType)return d;if(i=e[o]){if(c=f[i],t){for(t=t.split(" "),s=t.length;s--;)if(l=t[s],a=c[l]){if(n)for(u=a.length;u--;)if(a[u].func===n){var p=a.nativeHandler,h=a.fakeName,m=a.capture;a=a.slice(0,u).concat(a.slice(u+1)),a.nativeHandler=p,a.fakeName=h,a.capture=m,c[l]=a}n&&0!==a.length||(delete c[l],r(e,a.fakeName||l,a.nativeHandler,a.capture))}}else{for(l in c)a=c[l],r(e,a.fakeName||l,a.nativeHandler,a.capture);c={}}for(l in c)return d;delete f[i];try{delete e[o]}catch(t){e[o]=null}}return d},d.fire=function(t,n,r){var a;if(!t||3===t.nodeType||8===t.nodeType)return d;r=i(null,r),r.type=n,r.target=t;do a=t[o],a&&e(r,a),t=t.parentNode||t.ownerDocument||t.defaultView||t.parentWindow;while(t&&!r.isPropagationStopped());return d},d.clean=function(e){var t,n,r=d.unbind;if(!e||3===e.nodeType||8===e.nodeType)return d;if(e[o]&&r(e),e.getElementsByTagName||(e=e.document),e&&e.getElementsByTagName)for(r(e),n=e.getElementsByTagName("*"),t=n.length;t--;)e=n[t],e[o]&&r(e);return d},d.destroy=function(){f={}},d.cancel=function(e){return e&&(e.preventDefault(),e.stopImmediatePropagation()),!1}}var u="mce-data-",l=/^(?:mouse|contextmenu)|click/,c={keyLocation:1,layerX:1,layerY:1,returnValue:1,webkitMovementX:1,webkitMovementY:1,keyIdentifier:1};return s.Event=new s,s.Event.bind(window,"ready",function(){}),s}),i("tinymce/dom/Sizzle",[],function(){function e(e,t,n,r){var o,i,a,s,u,l,d,p,h,m;if((t?t.ownerDocument||t:U)!==I&&N(t),t=t||I,n=n||[],!e||"string"!=typeof e)return n;if(1!==(s=t.nodeType)&&9!==s)return[];if(D&&!r){if(o=ve.exec(e))if(a=o[1]){if(9===s){if(i=t.getElementById(a),!i||!i.parentNode)return n;if(i.id===a)return n.push(i),n}else if(t.ownerDocument&&(i=t.ownerDocument.getElementById(a))&&B(t,i)&&i.id===a)return n.push(i),n}else{if(o[2])return Z.apply(n,t.getElementsByTagName(e)),n;if((a=o[3])&&w.getElementsByClassName)return Z.apply(n,t.getElementsByClassName(a)),n}if(w.qsa&&(!R||!R.test(e))){if(p=d=F,h=t,m=9===s&&e,1===s&&"object"!==t.nodeName.toLowerCase()){for(l=T(e),(d=t.getAttribute("id"))?p=d.replace(be,"\\$&"):t.setAttribute("id",p),p="[id='"+p+"'] ",u=l.length;u--;)l[u]=p+f(l[u]);h=ye.test(e)&&c(t.parentNode)||t,m=l.join(",")}if(m)try{return Z.apply(n,h.querySelectorAll(m)),n}catch(e){}finally{d||t.removeAttribute("id")}}}return S(e.replace(se,"$1"),t,n,r)}function t(){function e(n,r){return t.push(n+" ")>C.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function n(e){return e[F]=!0,e}function o(e){var t=I.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function i(e,t){for(var n=e.split("|"),r=e.length;r--;)C.attrHandle[n[r]]=t}function a(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||K)-(~e.sourceIndex||K);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function u(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function l(e){return n(function(t){return t=+t,n(function(n,r){for(var o,i=e([],n.length,t),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))})})}function c(e){return e&&typeof e.getElementsByTagName!==Y&&e}function d(){}function f(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function p(e,t,n){var r=t.dir,o=n&&"parentNode"===r,i=z++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||o)return e(t,n,i)}:function(t,n,a){var s,u,l=[H,i];if(a){for(;t=t[r];)if((1===t.nodeType||o)&&e(t,n,a))return!0}else for(;t=t[r];)if(1===t.nodeType||o){if(u=t[F]||(t[F]={}),(s=u[r])&&s[0]===H&&s[1]===i)return l[2]=s[2];if(u[r]=l,l[2]=e(t,n,a))return!0}}}function h(e){return e.length>1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function m(t,n,r){for(var o=0,i=n.length;o<i;o++)e(t,n[o],r);return r}function g(e,t,n,r,o){for(var i,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(i=e[s])&&(n&&!n(i,r,o)||(a.push(i),l&&t.push(s)));return a}function v(e,t,r,o,i,a){return o&&!o[F]&&(o=v(o)),i&&!i[F]&&(i=v(i,a)),n(function(n,a,s,u){var l,c,d,f=[],p=[],h=a.length,v=n||m(t||"*",s.nodeType?[s]:s,[]),y=!e||!n&&t?v:g(v,f,e,s,u),b=r?i||(n?e:h||o)?[]:a:y;if(r&&r(y,b,s,u),o)for(l=g(b,p),o(l,[],s,u),c=l.length;c--;)(d=l[c])&&(b[p[c]]=!(y[p[c]]=d));if(n){if(i||e){if(i){for(l=[],c=b.length;c--;)(d=b[c])&&l.push(y[c]=d);i(null,b=[],l,u)}for(c=b.length;c--;)(d=b[c])&&(l=i?te.call(n,d):f[c])>-1&&(n[l]=!(a[l]=d))}}else b=g(b===a?b.splice(h,b.length):b),i?i(null,a,b,u):Z.apply(a,b)})}function y(e){for(var t,n,r,o=e.length,i=C.relative[e[0].type],a=i||C.relative[" "],s=i?1:0,u=p(function(e){return e===t},a,!0),l=p(function(e){return te.call(t,e)>-1},a,!0),c=[function(e,n,r){return!i&&(r||n!==O)||((t=n).nodeType?u(e,n,r):l(e,n,r))}];s<o;s++)if(n=C.relative[e[s].type])c=[p(h(c),n)];else{if(n=C.filter[e[s].type].apply(null,e[s].matches),n[F]){for(r=++s;r<o&&!C.relative[e[r].type];r++);return v(s>1&&h(c),s>1&&f(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(se,"$1"),n,s<r&&y(e.slice(s,r)),r<o&&y(e=e.slice(r)),r<o&&f(e))}c.push(n)}return h(c)}function b(t,r){var o=r.length>0,i=t.length>0,a=function(n,a,s,u,l){var c,d,f,p=0,h="0",m=n&&[],v=[],y=O,b=n||i&&C.find.TAG("*",l),_=H+=null==y?1:Math.random()||.1,w=b.length;for(l&&(O=a!==I&&a);h!==w&&null!=(c=b[h]);h++){if(i&&c){for(d=0;f=t[d++];)if(f(c,a,s)){u.push(c);break}l&&(H=_)}o&&((c=!f&&c)&&p--,n&&m.push(c))}if(p+=h,o&&h!==p){for(d=0;f=r[d++];)f(m,v,a,s);if(n){if(p>0)for(;h--;)m[h]||v[h]||(v[h]=Q.call(u));v=g(v)}Z.apply(u,v),l&&!n&&v.length>0&&p+r.length>1&&e.uniqueSort(u)}return l&&(H=_,O=y),m};return o?n(a):a}var _,w,C,x,E,T,k,S,O,M,A,N,I,P,D,R,j,L,B,F="sizzle"+-new Date,U=window.document,H=0,z=0,q=t(),W=t(),V=t(),G=function(e,t){return e===t&&(A=!0),0},Y=typeof r,K=1<<31,$={}.hasOwnProperty,X=[],Q=X.pop,J=X.push,Z=X.push,ee=X.slice,te=X.indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(this[t]===e)return t;return-1},ne="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",re="[\\x20\\t\\r\\n\\f]",oe="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ie="\\["+re+"*("+oe+")(?:"+re+"*([*^$|!~]?=)"+re+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+oe+"))|)"+re+"*\\]",ae=":("+oe+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ie+")*)|.*)\\)|)",se=new RegExp("^"+re+"+|((?:^|[^\\\\])(?:\\\\.)*)"+re+"+$","g"),ue=new RegExp("^"+re+"*,"+re+"*"),le=new RegExp("^"+re+"*([>+~]|"+re+")"+re+"*"),ce=new RegExp("="+re+"*([^\\]'\"]*?)"+re+"*\\]","g"),de=new RegExp(ae),fe=new RegExp("^"+oe+"$"),pe={ID:new RegExp("^#("+oe+")"),CLASS:new RegExp("^\\.("+oe+")"),TAG:new RegExp("^("+oe+"|[*])"),ATTR:new RegExp("^"+ie),PSEUDO:new RegExp("^"+ae),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+re+"*(even|odd|(([+-]|)(\\d*)n|)"+re+"*(?:([+-]|)"+re+"*(\\d+)|))"+re+"*\\)|)","i"),bool:new RegExp("^(?:"+ne+")$","i"),needsContext:new RegExp("^"+re+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+re+"*((?:-\\d)?\\d*)"+re+"*\\)|)(?=[^-]|$)","i")},he=/^(?:input|select|textarea|button)$/i,me=/^h\d$/i,ge=/^[^{]+\{\s*\[native \w/,ve=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ye=/[+~]/,be=/'|\\/g,_e=new RegExp("\\\\([\\da-f]{1,6}"+re+"?|("+re+")|.)","ig"),we=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)};try{Z.apply(X=ee.call(U.childNodes),U.childNodes),X[U.childNodes.length].nodeType}catch(e){Z={apply:X.length?function(e,t){J.apply(e,ee.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}w=e.support={},E=e.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},N=e.setDocument=function(e){function t(e){try{return e.top}catch(e){}return null}var n,r=e?e.ownerDocument||e:U,i=r.defaultView;return r!==I&&9===r.nodeType&&r.documentElement?(I=r,P=r.documentElement,D=!E(r),i&&i!==t(i)&&(i.addEventListener?i.addEventListener("unload",function(){N()},!1):i.attachEvent&&i.attachEvent("onunload",function(){N()})),w.attributes=o(function(e){return e.className="i",!e.getAttribute("className")}),w.getElementsByTagName=o(function(e){return e.appendChild(r.createComment("")),!e.getElementsByTagName("*").length}),w.getElementsByClassName=ge.test(r.getElementsByClassName),w.getById=o(function(e){return P.appendChild(e).id=F,!r.getElementsByName||!r.getElementsByName(F).length}),w.getById?(C.find.ID=function(e,t){if(typeof t.getElementById!==Y&&D){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},C.filter.ID=function(e){var t=e.replace(_e,we);return function(e){return e.getAttribute("id")===t}}):(delete C.find.ID,C.filter.ID=function(e){var t=e.replace(_e,we);return function(e){var n=typeof e.getAttributeNode!==Y&&e.getAttributeNode("id");return n&&n.value===t}}),C.find.TAG=w.getElementsByTagName?function(e,t){if(typeof t.getElementsByTagName!==Y)return t.getElementsByTagName(e)}:function(e,t){var n,r=[],o=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[o++];)1===n.nodeType&&r.push(n);return r}return i},C.find.CLASS=w.getElementsByClassName&&function(e,t){if(D)return t.getElementsByClassName(e)},j=[],R=[],(w.qsa=ge.test(r.querySelectorAll))&&(o(function(e){e.innerHTML="<select msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&R.push("[*^$]="+re+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||R.push("\\["+re+"*(?:value|"+ne+")"),e.querySelectorAll(":checked").length||R.push(":checked")}),o(function(e){var t=r.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&R.push("name"+re+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||R.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),R.push(",.*:")})),(w.matchesSelector=ge.test(L=P.matches||P.webkitMatchesSelector||P.mozMatchesSelector||P.oMatchesSelector||P.msMatchesSelector))&&o(function(e){w.disconnectedMatch=L.call(e,"div"),L.call(e,"[s!='']:x"),j.push("!=",ae)}),R=R.length&&new RegExp(R.join("|")),j=j.length&&new RegExp(j.join("|")),n=ge.test(P.compareDocumentPosition),B=n||ge.test(P.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},G=n?function(e,t){if(e===t)return A=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n?n:(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!w.sortDetached&&t.compareDocumentPosition(e)===n?e===r||e.ownerDocument===U&&B(U,e)?-1:t===r||t.ownerDocument===U&&B(U,t)?1:M?te.call(M,e)-te.call(M,t):0:4&n?-1:1)}:function(e,t){if(e===t)return A=!0,0;var n,o=0,i=e.parentNode,s=t.parentNode,u=[e],l=[t];if(!i||!s)return e===r?-1:t===r?1:i?-1:s?1:M?te.call(M,e)-te.call(M,t):0;if(i===s)return a(e,t);for(n=e;n=n.parentNode;)u.unshift(n);for(n=t;n=n.parentNode;)l.unshift(n);for(;u[o]===l[o];)o++;return o?a(u[o],l[o]):u[o]===U?-1:l[o]===U?1:0},r):I},e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if((t.ownerDocument||t)!==I&&N(t),n=n.replace(ce,"='$1']"),w.matchesSelector&&D&&(!j||!j.test(n))&&(!R||!R.test(n)))try{var r=L.call(t,n);if(r||w.disconnectedMatch||t.document&&11!==t.document.nodeType)return r}catch(e){}return e(n,I,null,[t]).length>0},e.contains=function(e,t){return(e.ownerDocument||e)!==I&&N(e),B(e,t)},e.attr=function(e,t){(e.ownerDocument||e)!==I&&N(e);var n=C.attrHandle[t.toLowerCase()],o=n&&$.call(C.attrHandle,t.toLowerCase())?n(e,t,!D):r;return o!==r?o:w.attributes||!D?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},e.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},e.uniqueSort=function(e){var t,n=[],r=0,o=0;if(A=!w.detectDuplicates,M=!w.sortStable&&e.slice(0),e.sort(G),A){for(;t=e[o++];)t===e[o]&&(r=n.push(o));for(;r--;)e.splice(n[r],1)}return M=null,e},x=e.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=x(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=x(t);return n},C=e.selectors={cacheLength:50,createPseudo:n,match:pe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(_e,we),e[3]=(e[3]||e[4]||e[5]||"").replace(_e,we),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(e){var t,n=!e[6]&&e[2];return pe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&de.test(n)&&(t=T(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(_e,we).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=q[e+" "];return t||(t=new RegExp("(^|"+re+")"+e+"("+re+"|$)"))&&q(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==Y&&e.getAttribute("class")||"")})},ATTR:function(t,n,r){return function(o){var i=e.attr(o,t);return null==i?"!="===n:!n||(i+="","="===n?i===r:"!="===n?i!==r:"^="===n?r&&0===i.indexOf(r):"*="===n?r&&i.indexOf(r)>-1:"$="===n?r&&i.slice(-r.length)===r:"~="===n?(" "+i+" ").indexOf(r)>-1:"|="===n&&(i===r||i.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,n,r,o){var i="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,u){var l,c,d,f,p,h,m=i!==a?"nextSibling":"previousSibling",g=t.parentNode,v=s&&t.nodeName.toLowerCase(),y=!u&&!s;if(g){if(i){for(;m;){for(d=t;d=d[m];)if(s?d.nodeName.toLowerCase()===v:1===d.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?g.firstChild:g.lastChild],a&&y){for(c=g[F]||(g[F]={}),l=c[e]||[],p=l[0]===H&&l[1],f=l[0]===H&&l[2],d=p&&g.childNodes[p];d=++p&&d&&d[m]||(f=p=0)||h.pop();)if(1===d.nodeType&&++f&&d===t){c[e]=[H,p,f];break}}else if(y&&(l=(t[F]||(t[F]={}))[e])&&l[0]===H)f=l[1];else for(;(d=++p&&d&&d[m]||(f=p=0)||h.pop())&&((s?d.nodeName.toLowerCase()!==v:1!==d.nodeType)||!++f||(y&&((d[F]||(d[F]={}))[e]=[H,f]),d!==t)););return f-=o,f===r||f%r===0&&f/r>=0}}},PSEUDO:function(t,r){var o,i=C.pseudos[t]||C.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return i[F]?i(r):i.length>1?(o=[t,t,"",r],C.setFilters.hasOwnProperty(t.toLowerCase())?n(function(e,t){for(var n,o=i(e,r),a=o.length;a--;)n=te.call(e,o[a]),e[n]=!(t[n]=o[a])}):function(e){return i(e,0,o)}):i}},pseudos:{not:n(function(e){var t=[],r=[],o=k(e.replace(se,"$1"));return o[F]?n(function(e,t,n,r){for(var i,a=o(e,null,r,[]),s=e.length;s--;)(i=a[s])&&(e[s]=!(t[s]=i))}):function(e,n,i){return t[0]=e,o(t,null,i,r),!r.pop()}}),has:n(function(t){return function(n){return e(t,n).length>0}}),contains:n(function(e){return e=e.replace(_e,we),function(t){return(t.textContent||t.innerText||x(t)).indexOf(e)>-1}}),lang:n(function(t){return fe.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(_e,we).toLowerCase(),function(e){var n;do if(n=D?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return n=n.toLowerCase(),n===t||0===n.indexOf(t+"-");while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=window.location&&window.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===P},focus:function(e){return e===I.activeElement&&(!I.hasFocus||I.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!C.pseudos.empty(e)},header:function(e){return me.test(e.nodeName)},input:function(e){return he.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:l(function(){return[0]}),last:l(function(e,t){return[t-1]}),eq:l(function(e,t,n){return[n<0?n+t:n]}),even:l(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:l(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:l(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:l(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}},C.pseudos.nth=C.pseudos.eq;for(_ in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})C.pseudos[_]=s(_);for(_ in{submit:!0,reset:!0})C.pseudos[_]=u(_);return d.prototype=C.filters=C.pseudos,C.setFilters=new d,T=e.tokenize=function(t,n){var r,o,i,a,s,u,l,c=W[t+" "];if(c)return n?0:c.slice(0);for(s=t,u=[],l=C.preFilter;s;){r&&!(o=ue.exec(s))||(o&&(s=s.slice(o[0].length)||s),u.push(i=[])),r=!1,(o=le.exec(s))&&(r=o.shift(),i.push({value:r,type:o[0].replace(se," ")}),s=s.slice(r.length));for(a in C.filter)!(o=pe[a].exec(s))||l[a]&&!(o=l[a](o))||(r=o.shift(),i.push({value:r,type:a,matches:o}),s=s.slice(r.length));if(!r)break}return n?s.length:s?e.error(t):W(t,u).slice(0)},k=e.compile=function(e,t){var n,r=[],o=[],i=V[e+" "];if(!i){for(t||(t=T(e)),
+n=t.length;n--;)i=y(t[n]),i[F]?r.push(i):o.push(i);i=V(e,b(o,r)),i.selector=e}return i},S=e.select=function(e,t,n,r){var o,i,a,s,u,l="function"==typeof e&&e,d=!r&&T(e=l.selector||e);if(n=n||[],1===d.length){if(i=d[0]=d[0].slice(0),i.length>2&&"ID"===(a=i[0]).type&&w.getById&&9===t.nodeType&&D&&C.relative[i[1].type]){if(t=(C.find.ID(a.matches[0].replace(_e,we),t)||[])[0],!t)return n;l&&(t=t.parentNode),e=e.slice(i.shift().value.length)}for(o=pe.needsContext.test(e)?0:i.length;o--&&(a=i[o],!C.relative[s=a.type]);)if((u=C.find[s])&&(r=u(a.matches[0].replace(_e,we),ye.test(i[0].type)&&c(t.parentNode)||t))){if(i.splice(o,1),e=r.length&&f(i),!e)return Z.apply(n,r),n;break}}return(l||k(e,d))(r,t,!D,n,ye.test(e)&&c(t.parentNode)||t),n},w.sortStable=F.split("").sort(G).join("")===F,w.detectDuplicates=!!A,N(),w.sortDetached=o(function(e){return 1&e.compareDocumentPosition(I.createElement("div"))}),o(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||i("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),w.attributes&&o(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||i("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),o(function(e){return null==e.getAttribute("disabled")})||i(ne,function(e,t,n){var r;if(!n)return e[t]===!0?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),e}),i("tinymce/util/Arr",[],function(){function e(e){var t,n,r=e;if(!c(e))for(r=[],t=0,n=e.length;t<n;t++)r[t]=e[t];return r}function t(e,t,n){var o,i;if(!e)return 0;if(n=n||e,e.length!==r){for(o=0,i=e.length;o<i;o++)if(t.call(n,e[o],o,e)===!1)return 0}else for(o in e)if(e.hasOwnProperty(o)&&t.call(n,e[o],o,e)===!1)return 0;return 1}function n(e,n){var r=[];return t(e,function(t,o){r.push(n(t,o,e))}),r}function o(e,n){var r=[];return t(e,function(t,o){n&&!n(t,o,e)||r.push(t)}),r}function i(e,t){var n,r;if(e)for(n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function a(e,t,n,r){var o=0;for(arguments.length<3&&(n=e[0]);o<e.length;o++)n=t.call(r,n,e[o],o);return n}function s(e,t,n){var r,o;for(r=0,o=e.length;r<o;r++)if(t.call(n,e[r],r,e))return r;return-1}function u(e,t,n){var o=s(e,t,n);return o!==-1?e[o]:r}function l(e){return e[e.length-1]}var c=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};return{isArray:c,toArray:e,each:t,map:n,filter:o,indexOf:i,reduce:a,findIndex:s,find:u,last:l}}),i("tinymce/util/Tools",["tinymce/Env","tinymce/util/Arr"],function(e,t){function n(e){return null===e||e===r?"":(""+e).replace(h,"")}function o(e,n){return n?!("array"!=n||!t.isArray(e))||typeof e==n:e!==r}function i(e,t,n){var r;for(e=e||[],t=t||",","string"==typeof e&&(e=e.split(t)),n=n||{},r=e.length;r--;)n[e[r]]={};return n}function a(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function s(e,t,n){var r,o,i,a,s,u=this,l=0;if(e=/^((static) )?([\w.]+)(:([\w.]+))?/.exec(e),i=e[3].match(/(^|\.)(\w+)$/i)[2],o=u.createNS(e[3].replace(/\.\w+$/,""),n),!o[i]){if("static"==e[2])return o[i]=t,void(this.onCreate&&this.onCreate(e[2],e[3],o[i]));t[i]||(t[i]=function(){},l=1),o[i]=t[i],u.extend(o[i].prototype,t),e[5]&&(r=u.resolve(e[5]).prototype,a=e[5].match(/\.(\w+)$/i)[1],s=o[i],l?o[i]=function(){return r[a].apply(this,arguments)}:o[i]=function(){return this.parent=r[a],s.apply(this,arguments)},o[i].prototype[i]=o[i],u.each(r,function(e,t){o[i].prototype[t]=r[t]}),u.each(t,function(e,t){r[t]?o[i].prototype[t]=function(){return this.parent=r[t],e.apply(this,arguments)}:t!=i&&(o[i].prototype[t]=e)})),u.each(t.static,function(e,t){o[i][t]=e})}}function u(e,t){var n,o,i,a,s=arguments;for(n=1,o=s.length;n<o;n++){t=s[n];for(i in t)t.hasOwnProperty(i)&&(a=t[i],a!==r&&(e[i]=a))}return e}function l(e,n,r,o){o=o||this,e&&(r&&(e=e[r]),t.each(e,function(e,t){return n.call(o,e,t,r)!==!1&&void l(e,n,r,o)}))}function c(e,t){var n,r;for(t=t||window,e=e.split("."),n=0;n<e.length;n++)r=e[n],t[r]||(t[r]={}),t=t[r];return t}function d(e,t){var n,r;for(t=t||window,e=e.split("."),n=0,r=e.length;n<r&&(t=t[e[n]],t);n++);return t}function f(e,r){return!e||o(e,"array")?e:t.map(e.split(r||","),n)}function p(t){var n=e.cacheSuffix;return n&&(t+=(t.indexOf("?")===-1?"?":"&")+n),t}var h=/^\s*|\s*$/g;return{trim:n,isArray:t.isArray,is:o,toArray:t.toArray,makeMap:i,each:t.each,map:t.map,grep:t.filter,inArray:t.indexOf,hasOwn:a,extend:u,create:s,walk:l,createNS:c,resolve:d,explode:f,_addCacheSuffix:p}}),i("tinymce/dom/DomQuery",["tinymce/dom/EventUtils","tinymce/dom/Sizzle","tinymce/util/Tools","tinymce/Env"],function(e,t,n,o){function i(e){return"undefined"!=typeof e}function a(e){return"string"==typeof e}function s(e){return e&&e==e.window}function u(e,t){var n,r,o;for(t=t||x,o=t.createElement("div"),n=t.createDocumentFragment(),o.innerHTML=e;r=o.firstChild;)n.appendChild(r);return n}function l(e,t,n,r){var o;if(a(t))t=u(t,v(e[0]));else if(t.length&&!t.nodeType){if(t=f.makeArray(t),r)for(o=t.length-1;o>=0;o--)l(e,t[o],n,r);else for(o=0;o<t.length;o++)l(e,t[o],n,r);return e}if(t.nodeType)for(o=e.length;o--;)n.call(e[o],t);return e}function c(e,t){return e&&t&&(" "+e.className+" ").indexOf(" "+t+" ")!==-1}function d(e,t,n){var r,o;return t=f(t)[0],e.each(function(){var e=this;n&&r==e.parentNode?o.appendChild(e):(r=e.parentNode,o=t.cloneNode(!1),e.parentNode.insertBefore(o,e),o.appendChild(e))}),e}function f(e,t){return new f.fn.init(e,t)}function p(e,t){var n;if(t.indexOf)return t.indexOf(e);for(n=t.length;n--;)if(t[n]===e)return n;return-1}function h(e){return null===e||e===C?"":(""+e).replace(R,"")}function m(e,t){var n,r,o,i,a;if(e)if(n=e.length,n===i){for(r in e)if(e.hasOwnProperty(r)&&(a=e[r],t.call(a,r,a)===!1))break}else for(o=0;o<n&&(a=e[o],t.call(a,o,a)!==!1);o++);return e}function g(e,t){var n=[];return m(e,function(e,r){t(r,e)&&n.push(r)}),n}function v(e){return e?9==e.nodeType?e:e.ownerDocument:x}function y(e,t,n){var o=[],i=e[t];for("string"!=typeof n&&n instanceof f&&(n=n[0]);i&&9!==i.nodeType;){if(n!==r){if(i===n)break;if("string"==typeof n&&f(i).is(n))break}1===i.nodeType&&o.push(i),i=i[t]}return o}function b(e,t,n,o){var i=[];for(o instanceof f&&(o=o[0]);e;e=e[t])if(!n||e.nodeType===n){if(o!==r){if(e===o)break;if("string"==typeof o&&f(e).is(o))break}i.push(e)}return i}function _(e,t,n){for(e=e[t];e;e=e[t])if(e.nodeType==n)return e;return null}function w(e,t,n){m(n,function(n,r){e[n]=e[n]||{},e[n][t]=r})}var C,x=document,E=Array.prototype.push,T=Array.prototype.slice,k=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,S=e.Event,O=n.makeMap("children,contents,next,prev"),M=n.makeMap("fillOpacity fontWeight lineHeight opacity orphans widows zIndex zoom"," "),A=n.makeMap("checked compact declare defer disabled ismap multiple nohref noshade nowrap readonly selected"," "),N={for:"htmlFor",class:"className",readonly:"readOnly"},I={float:"cssFloat"},P={},D={},R=/^\s*|\s*$/g;return f.fn=f.prototype={constructor:f,selector:"",context:null,length:0,init:function(e,t){var n,r,o=this;if(!e)return o;if(e.nodeType)return o.context=o[0]=e,o.length=1,o;if(t&&t.nodeType)o.context=t;else{if(t)return f(e).attr(t);o.context=t=document}if(a(e)){if(o.selector=e,n="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:k.exec(e),!n)return f(t).find(e);if(n[1])for(r=u(e,v(t)).firstChild;r;)E.call(o,r),r=r.nextSibling;else{if(r=v(t).getElementById(n[2]),!r)return o;if(r.id!==n[2])return o.find(e);o.length=1,o[0]=r}}else this.add(e,!1);return o},toArray:function(){return n.toArray(this)},add:function(e,t){var n,r,o=this;if(a(e))return o.add(f(e));if(t!==!1)for(n=f.unique(o.toArray().concat(f.makeArray(e))),o.length=n.length,r=0;r<n.length;r++)o[r]=n[r];else E.apply(o,f.makeArray(e));return o},attr:function(e,t){var n,r=this;if("object"==typeof e)m(e,function(e,t){r.attr(e,t)});else{if(!i(t)){if(r[0]&&1===r[0].nodeType){if(n=P[e],n&&n.get)return n.get(r[0],e);if(A[e])return r.prop(e)?e:C;t=r[0].getAttribute(e,2),null===t&&(t=C)}return t}this.each(function(){var n;if(1===this.nodeType){if(n=P[e],n&&n.set)return void n.set(this,t);null===t?this.removeAttribute(e,2):this.setAttribute(e,t,2)}})}return r},removeAttr:function(e){return this.attr(e,null)},prop:function(e,t){var n=this;if(e=N[e]||e,"object"==typeof e)m(e,function(e,t){n.prop(e,t)});else{if(!i(t))return n[0]&&n[0].nodeType&&e in n[0]?n[0][e]:t;this.each(function(){1==this.nodeType&&(this[e]=t)})}return n},css:function(e,t){function n(e){return e.replace(/-(\D)/g,function(e,t){return t.toUpperCase()})}function r(e){return e.replace(/[A-Z]/g,function(e){return"-"+e})}var o,a,s=this;if("object"==typeof e)m(e,function(e,t){s.css(e,t)});else if(i(t))e=n(e),"number"!=typeof t||M[e]||(t+="px"),s.each(function(){var n=this.style;if(a=D[e],a&&a.set)return void a.set(this,t);try{this.style[I[e]||e]=t}catch(e){}null!==t&&""!==t||(n.removeProperty?n.removeProperty(r(e)):n.removeAttribute(e))});else{if(o=s[0],a=D[e],a&&a.get)return a.get(o);if(o.ownerDocument.defaultView)try{return o.ownerDocument.defaultView.getComputedStyle(o,null).getPropertyValue(r(e))}catch(e){return C}else if(o.currentStyle)return o.currentStyle[n(e)]}return s},remove:function(){for(var e,t=this,n=this.length;n--;)e=t[n],S.clean(e),e.parentNode&&e.parentNode.removeChild(e);return this},empty:function(){for(var e,t=this,n=this.length;n--;)for(e=t[n];e.firstChild;)e.removeChild(e.firstChild);return this},html:function(e){var t,n=this;if(i(e)){t=n.length;try{for(;t--;)n[t].innerHTML=e}catch(r){f(n[t]).empty().append(e)}return n}return n[0]?n[0].innerHTML:""},text:function(e){var t,n=this;if(i(e)){for(t=n.length;t--;)"innerText"in n[t]?n[t].innerText=e:n[0].textContent=e;return n}return n[0]?n[0].innerText||n[0].textContent:""},append:function(){return l(this,arguments,function(e){(1===this.nodeType||this.host&&1===this.host.nodeType)&&this.appendChild(e)})},prepend:function(){return l(this,arguments,function(e){(1===this.nodeType||this.host&&1===this.host.nodeType)&&this.insertBefore(e,this.firstChild)},!0)},before:function(){var e=this;return e[0]&&e[0].parentNode?l(e,arguments,function(e){this.parentNode.insertBefore(e,this)}):e},after:function(){var e=this;return e[0]&&e[0].parentNode?l(e,arguments,function(e){this.parentNode.insertBefore(e,this.nextSibling)},!0):e},appendTo:function(e){return f(e).append(this),this},prependTo:function(e){return f(e).prepend(this),this},replaceWith:function(e){return this.before(e).remove()},wrap:function(e){return d(this,e)},wrapAll:function(e){return d(this,e,!0)},wrapInner:function(e){return this.each(function(){f(this).contents().wrapAll(e)}),this},unwrap:function(){return this.parent().each(function(){f(this).replaceWith(this.childNodes)})},clone:function(){var e=[];return this.each(function(){e.push(this.cloneNode(!0))}),f(e)},addClass:function(e){return this.toggleClass(e,!0)},removeClass:function(e){return this.toggleClass(e,!1)},toggleClass:function(e,t){var n=this;return"string"!=typeof e?n:(e.indexOf(" ")!==-1?m(e.split(" "),function(){n.toggleClass(this,t)}):n.each(function(n,r){var o,i;i=c(r,e),i!==t&&(o=r.className,i?r.className=h((" "+o+" ").replace(" "+e+" "," ")):r.className+=o?" "+e:e)}),n)},hasClass:function(e){return c(this[0],e)},each:function(e){return m(this,e)},on:function(e,t){return this.each(function(){S.bind(this,e,t)})},off:function(e,t){return this.each(function(){S.unbind(this,e,t)})},trigger:function(e){return this.each(function(){"object"==typeof e?S.fire(this,e.type,e):S.fire(this,e)})},show:function(){return this.css("display","")},hide:function(){return this.css("display","none")},slice:function(){return new f(T.apply(this,arguments))},eq:function(e){return e===-1?this.slice(e):this.slice(e,+e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},find:function(e){var t,n,r=[];for(t=0,n=this.length;t<n;t++)f.find(e,this[t],r);return f(r)},filter:function(e){return f("function"==typeof e?g(this.toArray(),function(t,n){return e(n,t)}):f.filter(e,this.toArray()))},closest:function(e){var t=[];return e instanceof f&&(e=e[0]),this.each(function(n,r){for(;r;){if("string"==typeof e&&f(r).is(e)){t.push(r);break}if(r==e){t.push(r);break}r=r.parentNode}}),f(t)},offset:function(e){var t,n,r,o,i=0,a=0;return e?this.css(e):(t=this[0],t&&(n=t.ownerDocument,r=n.documentElement,t.getBoundingClientRect&&(o=t.getBoundingClientRect(),i=o.left+(r.scrollLeft||n.body.scrollLeft)-r.clientLeft,a=o.top+(r.scrollTop||n.body.scrollTop)-r.clientTop)),{left:i,top:a})},push:E,sort:[].sort,splice:[].splice},n.extend(f,{extend:n.extend,makeArray:function(e){return s(e)||e.nodeType?[e]:n.toArray(e)},inArray:p,isArray:n.isArray,each:m,trim:h,grep:g,find:t,expr:t.selectors,unique:t.uniqueSort,text:t.getText,contains:t.contains,filter:function(e,t,n){var r=t.length;for(n&&(e=":not("+e+")");r--;)1!=t[r].nodeType&&t.splice(r,1);return t=1===t.length?f.find.matchesSelector(t[0],e)?[t[0]]:[]:f.find.matches(e,t)}}),m({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return y(e,"parentNode")},next:function(e){return _(e,"nextSibling",1)},prev:function(e){return _(e,"previousSibling",1)},children:function(e){return b(e.firstChild,"nextSibling",1)},contents:function(e){return n.toArray(("iframe"===e.nodeName?e.contentDocument||e.contentWindow.document:e).childNodes)}},function(e,t){f.fn[e]=function(n){var r=this,o=[];return r.each(function(){var e=t.call(o,this,n,o);e&&(f.isArray(e)?o.push.apply(o,e):o.push(e))}),this.length>1&&(O[e]||(o=f.unique(o)),0===e.indexOf("parents")&&(o=o.reverse())),o=f(o),n?o.filter(n):o}}),m({parentsUntil:function(e,t){return y(e,"parentNode",t)},nextUntil:function(e,t){return b(e,"nextSibling",1,t).slice(1)},prevUntil:function(e,t){return b(e,"previousSibling",1,t).slice(1)}},function(e,t){f.fn[e]=function(n,r){var o=this,i=[];return o.each(function(){var e=t.call(i,this,n,i);e&&(f.isArray(e)?i.push.apply(i,e):i.push(e))}),this.length>1&&(i=f.unique(i),0!==e.indexOf("parents")&&"prevUntil"!==e||(i=i.reverse())),i=f(i),r?i.filter(r):i}}),f.fn.is=function(e){return!!e&&this.filter(e).length>0},f.fn.init.prototype=f.fn,f.overrideDefaults=function(e){function t(r,o){return n=n||e(),0===arguments.length&&(r=n.element),o||(o=n.context),new t.fn.init(r,o)}var n;return f.extend(t,this),t},o.ie&&o.ie<8&&(w(P,"get",{maxlength:function(e){var t=e.maxLength;return 2147483647===t?C:t},size:function(e){var t=e.size;return 20===t?C:t},class:function(e){return e.className},style:function(e){var t=e.style.cssText;return 0===t.length?C:t}}),w(P,"set",{class:function(e,t){e.className=t},style:function(e,t){e.style.cssText=t}})),o.ie&&o.ie<9&&(I.float="styleFloat",w(D,"set",{opacity:function(e,t){var n=e.style;null===t||""===t?n.removeAttribute("filter"):(n.zoom=1,n.filter="alpha(opacity="+100*t+")")}})),f.attrHooks=P,f.cssHooks=D,f}),i("tinymce/html/Styles",[],function(){return function(e,t){function n(e,t,n,r){function o(e){return e=parseInt(e,10).toString(16),e.length>1?e:"0"+e}return"#"+o(t)+o(n)+o(r)}var r,o,i,a,s=/rgb\s*\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*\)/gi,u=/(?:url(?:(?:\(\s*\"([^\"]+)\"\s*\))|(?:\(\s*\'([^\']+)\'\s*\))|(?:\(\s*([^)\s]+)\s*\))))|(?:\'([^\']+)\')|(?:\"([^\"]+)\")/gi,l=/\s*([^:]+):\s*([^;]+);?/g,c=/\s+$/,d={},f="\ufeff";for(e=e||{},t&&(i=t.getValidStyles(),a=t.getInvalidStyles()),o=("\\\" \\' \\; \\: ; : "+f).split(" "),r=0;r<o.length;r++)d[o[r]]=f+r,d[f+r]=o[r];return{toHex:function(e){return e.replace(s,n)},parse:function(t){function o(e,t,n){var o,i,a,s;if(o=C[e+"-top"+t],o&&(i=C[e+"-right"+t],i&&(a=C[e+"-bottom"+t],a&&(s=C[e+"-left"+t])))){var u=[o,i,a,s];for(r=u.length-1;r--&&u[r]===u[r+1];);r>-1&&n||(C[e+t]=r==-1?u[0]:u.join(" "),delete C[e+"-top"+t],delete C[e+"-right"+t],delete C[e+"-bottom"+t],delete C[e+"-left"+t])}}function i(e){var t,n=C[e];if(n){for(n=n.split(" "),t=n.length;t--;)if(n[t]!==n[0])return!1;return C[e]=n[0],!0}}function a(e,t,n,r){i(t)&&i(n)&&i(r)&&(C[e]=C[t]+" "+C[n]+" "+C[r],delete C[t],delete C[n],delete C[r])}function p(e){return w=!0,d[e]}function h(e,t){return w&&(e=e.replace(/\uFEFF[0-9]/g,function(e){return d[e]})),t||(e=e.replace(/\\([\'\";:])/g,"$1")),e}function m(e){return String.fromCharCode(parseInt(e.slice(1),16))}function g(e){return e.replace(/\\[0-9a-f]+/gi,m)}function v(t,n,r,o,i,a){if(i=i||a)return i=h(i),"'"+i.replace(/\'/g,"\\'")+"'";if(n=h(n||r||o),!e.allow_script_urls){var s=n.replace(/[\s\r\n]+/g,"");if(/(java|vb)script:/i.test(s))return"";if(!e.allow_svg_data_urls&&/^data:image\/svg/i.test(s))return""}return x&&(n=x.call(E,n,"style")),"url('"+n.replace(/\'/g,"\\'")+"')"}var y,b,_,w,C={},x=e.url_converter,E=e.url_converter_scope||this;if(t){for(t=t.replace(/[\u0000-\u001F]/g,""),t=t.replace(/\\[\"\';:\uFEFF]/g,p).replace(/\"[^\"]+\"|\'[^\']+\'/g,function(e){return e.replace(/[;:]/g,p)});y=l.exec(t);)if(l.lastIndex=y.index+y[0].length,b=y[1].replace(c,"").toLowerCase(),_=y[2].replace(c,""),b&&_){if(b=g(b),_=g(_),b.indexOf(f)!==-1||b.indexOf('"')!==-1)continue;if(!e.allow_script_urls&&("behavior"==b||/expression\s*\(|\/\*|\*\//.test(_)))continue;"font-weight"===b&&"700"===_?_="bold":"color"!==b&&"background-color"!==b||(_=_.toLowerCase()),_=_.replace(s,n),_=_.replace(u,v),C[b]=w?h(_,!0):_}o("border","",!0),o("border","-width"),o("border","-color"),o("border","-style"),o("padding",""),o("margin",""),a("border","border-width","border-style","border-color"),"medium none"===C.border&&delete C.border,"none"===C["border-image"]&&delete C["border-image"]}return C},serialize:function(e,t){function n(t){var n,r,o,a;if(n=i[t])for(r=0,o=n.length;r<o;r++)t=n[r],a=e[t],a&&(u+=(u.length>0?" ":"")+t+": "+a+";")}function r(e,t){var n;return n=a["*"],(!n||!n[e])&&(n=a[t],!n||!n[e])}var o,s,u="";if(t&&i)n("*"),n(t);else for(o in e)s=e[o],!s||a&&!r(o,t)||(u+=(u.length>0?" ":"")+o+": "+s+";");return u}}}}),i("tinymce/dom/TreeWalker",[],function(){return function(e,t){function n(e,n,r,o){var i,a;if(e){if(!o&&e[n])return e[n];if(e!=t){if(i=e[r])return i;for(a=e.parentNode;a&&a!=t;a=a.parentNode)if(i=a[r])return i}}}function r(e,n,r,o){var i,a,s;if(e){if(i=e[r],t&&i===t)return;if(i){if(!o)for(s=i[n];s;s=s[n])if(!s[n])return s;return i}if(a=e.parentNode,a&&a!==t)return a}}var o=e;this.current=function(){return o},this.next=function(e){return o=n(o,"firstChild","nextSibling",e)},this.prev=function(e){return o=n(o,"lastChild","previousSibling",e)},this.prev2=function(e){return o=r(o,"lastChild","previousSibling",e)}}}),i("tinymce/dom/Range",["tinymce/util/Tools"],function(e){function t(n){function r(){return R.createDocumentFragment()}function o(e,t){x(F,e,t)}function i(e,t){x(U,e,t)}function a(e){o(e.parentNode,G(e))}function s(e){o(e.parentNode,G(e)+1)}function u(e){i(e.parentNode,G(e))}function l(e){i(e.parentNode,G(e)+1)}function c(e){e?(D[q]=D[z],D[W]=D[H]):(D[z]=D[q],D[H]=D[W]),D.collapsed=F}function d(e){a(e),l(e)}function f(e){o(e,0),i(e,1===e.nodeType?e.childNodes.length:e.nodeValue.length)}function p(e,t){var n=D[z],r=D[H],o=D[q],i=D[W],a=t.startContainer,s=t.startOffset,u=t.endContainer,l=t.endOffset;return 0===e?C(n,r,a,s):1===e?C(o,i,a,s):2===e?C(o,i,u,l):3===e?C(n,r,u,l):void 0}function h(){E(B)}function m(){return E(j)}function g(){return E(L)}function v(e){var t,r,o=this[z],i=this[H];3!==o.nodeType&&4!==o.nodeType||!o.nodeValue?(o.childNodes.length>0&&(r=o.childNodes[i]),r?o.insertBefore(e,r):3==o.nodeType?n.insertAfter(e,o):o.appendChild(e)):i?i>=o.nodeValue.length?n.insertAfter(e,o):(t=o.splitText(i),o.parentNode.insertBefore(e,t)):o.parentNode.insertBefore(e,o)}function y(e){var t=D.extractContents();D.insertNode(e),e.appendChild(t),D.selectNode(e)}function b(){return V(new t(n),{startContainer:D[z],startOffset:D[H],endContainer:D[q],endOffset:D[W],collapsed:D.collapsed,commonAncestorContainer:D.commonAncestorContainer})}function _(e,t){var n;if(3==e.nodeType)return e;if(t<0)return e;for(n=e.firstChild;n&&t>0;)--t,n=n.nextSibling;return n?n:e}function w(){return D[z]==D[q]&&D[H]==D[W]}function C(e,t,r,o){var i,a,s,u,l,c;if(e==r)return t==o?0:t<o?-1:1;for(i=r;i&&i.parentNode!=e;)i=i.parentNode;if(i){for(a=0,s=e.firstChild;s!=i&&a<t;)a++,s=s.nextSibling;return t<=a?-1:1}for(i=e;i&&i.parentNode!=r;)i=i.parentNode;if(i){for(a=0,s=r.firstChild;s!=i&&a<o;)a++,s=s.nextSibling;return a<o?-1:1}for(u=n.findCommonAncestor(e,r),l=e;l&&l.parentNode!=u;)l=l.parentNode;for(l||(l=u),c=r;c&&c.parentNode!=u;)c=c.parentNode;if(c||(c=u),l==c)return 0;for(s=u.firstChild;s;){if(s==l)return-1;if(s==c)return 1;s=s.nextSibling}}function x(e,t,r){var o,i;for(e?(D[z]=t,D[H]=r):(D[q]=t,D[W]=r),o=D[q];o.parentNode;)o=o.parentNode;for(i=D[z];i.parentNode;)i=i.parentNode;i==o?C(D[z],D[H],D[q],D[W])>0&&D.collapse(e):D.collapse(e),D.collapsed=w(),D.commonAncestorContainer=n.findCommonAncestor(D[z],D[q])}function E(e){var t,n,r,o,i,a,s,u=0,l=0;if(D[z]==D[q])return T(e);for(t=D[q],n=t.parentNode;n;t=n,n=n.parentNode){if(n==D[z])return k(t,e);++u}for(t=D[z],n=t.parentNode;n;t=n,n=n.parentNode){if(n==D[q])return S(t,e);++l}for(r=l-u,o=D[z];r>0;)o=o.parentNode,r--;for(i=D[q];r<0;)i=i.parentNode,r++;for(a=o.parentNode,s=i.parentNode;a!=s;a=a.parentNode,s=s.parentNode)o=a,i=s;return O(o,i,e)}function T(e){var t,n,o,i,a,s,u,l,c;if(e!=B&&(t=r()),D[H]==D[W])return t;if(3==D[z].nodeType){if(n=D[z].nodeValue,o=n.substring(D[H],D[W]),e!=L&&(i=D[z],l=D[H],c=D[W]-D[H],0===l&&c>=i.nodeValue.length-1?i.parentNode.removeChild(i):i.deleteData(l,c),D.collapse(F)),e==B)return;return o.length>0&&t.appendChild(R.createTextNode(o)),t}for(i=_(D[z],D[H]),a=D[W]-D[H];i&&a>0;)s=i.nextSibling,u=I(i,e),t&&t.appendChild(u),--a,i=s;return e!=L&&D.collapse(F),t}function k(e,t){var n,o,i,a,s,u;if(t!=B&&(n=r()),o=M(e,t),n&&n.appendChild(o),i=G(e),a=i-D[H],a<=0)return t!=L&&(D.setEndBefore(e),D.collapse(U)),n;for(o=e.previousSibling;a>0;)s=o.previousSibling,u=I(o,t),n&&n.insertBefore(u,n.firstChild),--a,o=s;return t!=L&&(D.setEndBefore(e),D.collapse(U)),n}function S(e,t){var n,o,i,a,s,u;for(t!=B&&(n=r()),i=A(e,t),n&&n.appendChild(i),o=G(e),++o,a=D[W]-o,i=e.nextSibling;i&&a>0;)s=i.nextSibling,u=I(i,t),n&&n.appendChild(u),--a,i=s;return t!=L&&(D.setStartAfter(e),D.collapse(F)),n}function O(e,t,n){var o,i,a,s,u,l,c;for(n!=B&&(i=r()),o=A(e,n),i&&i.appendChild(o),a=G(e),s=G(t),++a,u=s-a,l=e.nextSibling;u>0;)c=l.nextSibling,o=I(l,n),i&&i.appendChild(o),l=c,--u;return o=M(t,n),i&&i.appendChild(o),n!=L&&(D.setStartAfter(e),D.collapse(F)),i}function M(e,t){var n,r,o,i,a,s=_(D[q],D[W]-1),u=s!=D[q];if(s==e)return N(s,u,U,t);for(n=s.parentNode,r=N(n,U,U,t);n;){for(;s;)o=s.previousSibling,i=N(s,u,U,t),t!=B&&r.insertBefore(i,r.firstChild),u=F,s=o;if(n==e)return r;s=n.previousSibling,n=n.parentNode,a=N(n,U,U,t),t!=B&&a.appendChild(r),r=a}}function A(e,t){var n,r,o,i,a,s=_(D[z],D[H]),u=s!=D[z];if(s==e)return N(s,u,F,t);for(n=s.parentNode,r=N(n,U,F,t);n;){for(;s;)o=s.nextSibling,i=N(s,u,F,t),t!=B&&r.appendChild(i),u=F,s=o;if(n==e)return r;s=n.nextSibling,n=n.parentNode,a=N(n,U,F,t),t!=B&&a.appendChild(r),r=a}}function N(e,t,r,o){var i,a,s,u,l;if(t)return I(e,o);if(3==e.nodeType){if(i=e.nodeValue,r?(u=D[H],a=i.substring(u),s=i.substring(0,u)):(u=D[W],a=i.substring(0,u),s=i.substring(u)),o!=L&&(e.nodeValue=s),o==B)return;return l=n.clone(e,U),l.nodeValue=a,l}if(o!=B)return n.clone(e,U)}function I(e,t){return t!=B?t==L?n.clone(e,F):e:void e.parentNode.removeChild(e)}function P(){return n.create("body",null,g()).outerText}var D=this,R=n.doc,j=0,L=1,B=2,F=!0,U=!1,H="startOffset",z="startContainer",q="endContainer",W="endOffset",V=e.extend,G=n.nodeIndex;return V(D,{startContainer:R,startOffset:0,endContainer:R,endOffset:0,collapsed:F,commonAncestorContainer:R,START_TO_START:0,START_TO_END:1,END_TO_END:2,END_TO_START:3,setStart:o,setEnd:i,setStartBefore:a,setStartAfter:s,setEndBefore:u,setEndAfter:l,collapse:c,selectNode:d,selectNodeContents:f,compareBoundaryPoints:p,deleteContents:h,extractContents:m,cloneContents:g,insertNode:v,surroundContents:y,cloneRange:b,toStringIE:P}),D}return t.prototype.toString=function(){return this.toStringIE()},t}),i("tinymce/html/Entities",["tinymce/util/Tools"],function(e){function t(e){var t;return t=document.createElement("div"),t.innerHTML=e,t.textContent||t.innerText||e}function n(e,t){var n,r,i,a={};if(e){for(e=e.split(","),t=t||10,n=0;n<e.length;n+=2)r=String.fromCharCode(parseInt(e[n],t)),o[r]||(i="&"+e[n+1]+";",a[r]=i,a[i]=r);return a}}var r,o,i,a=e.makeMap,s=/[&<>\"\u0060\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,u=/[<>&\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=/[<>&\"\']/g,c=/&#([a-z0-9]+);?|&([a-z0-9]+);/gi,d={128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"};o={'"':"&quot;","'":"&#39;","<":"&lt;",">":"&gt;","&":"&amp;","`":"&#96;"},i={"&lt;":"<","&gt;":">","&amp;":"&","&quot;":'"',"&apos;":"'"},r=n("50,nbsp,51,iexcl,52,cent,53,pound,54,curren,55,yen,56,brvbar,57,sect,58,uml,59,copy,5a,ordf,5b,laquo,5c,not,5d,shy,5e,reg,5f,macr,5g,deg,5h,plusmn,5i,sup2,5j,sup3,5k,acute,5l,micro,5m,para,5n,middot,5o,cedil,5p,sup1,5q,ordm,5r,raquo,5s,frac14,5t,frac12,5u,frac34,5v,iquest,60,Agrave,61,Aacute,62,Acirc,63,Atilde,64,Auml,65,Aring,66,AElig,67,Ccedil,68,Egrave,69,Eacute,6a,Ecirc,6b,Euml,6c,Igrave,6d,Iacute,6e,Icirc,6f,Iuml,6g,ETH,6h,Ntilde,6i,Ograve,6j,Oacute,6k,Ocirc,6l,Otilde,6m,Ouml,6n,times,6o,Oslash,6p,Ugrave,6q,Uacute,6r,Ucirc,6s,Uuml,6t,Yacute,6u,THORN,6v,szlig,70,agrave,71,aacute,72,acirc,73,atilde,74,auml,75,aring,76,aelig,77,ccedil,78,egrave,79,eacute,7a,ecirc,7b,euml,7c,igrave,7d,iacute,7e,icirc,7f,iuml,7g,eth,7h,ntilde,7i,ograve,7j,oacute,7k,ocirc,7l,otilde,7m,ouml,7n,divide,7o,oslash,7p,ugrave,7q,uacute,7r,ucirc,7s,uuml,7t,yacute,7u,thorn,7v,yuml,ci,fnof,sh,Alpha,si,Beta,sj,Gamma,sk,Delta,sl,Epsilon,sm,Zeta,sn,Eta,so,Theta,sp,Iota,sq,Kappa,sr,Lambda,ss,Mu,st,Nu,su,Xi,sv,Omicron,t0,Pi,t1,Rho,t3,Sigma,t4,Tau,t5,Upsilon,t6,Phi,t7,Chi,t8,Psi,t9,Omega,th,alpha,ti,beta,tj,gamma,tk,delta,tl,epsilon,tm,zeta,tn,eta,to,theta,tp,iota,tq,kappa,tr,lambda,ts,mu,tt,nu,tu,xi,tv,omicron,u0,pi,u1,rho,u2,sigmaf,u3,sigma,u4,tau,u5,upsilon,u6,phi,u7,chi,u8,psi,u9,omega,uh,thetasym,ui,upsih,um,piv,812,bull,816,hellip,81i,prime,81j,Prime,81u,oline,824,frasl,88o,weierp,88h,image,88s,real,892,trade,89l,alefsym,8cg,larr,8ch,uarr,8ci,rarr,8cj,darr,8ck,harr,8dl,crarr,8eg,lArr,8eh,uArr,8ei,rArr,8ej,dArr,8ek,hArr,8g0,forall,8g2,part,8g3,exist,8g5,empty,8g7,nabla,8g8,isin,8g9,notin,8gb,ni,8gf,prod,8gh,sum,8gi,minus,8gn,lowast,8gq,radic,8gt,prop,8gu,infin,8h0,ang,8h7,and,8h8,or,8h9,cap,8ha,cup,8hb,int,8hk,there4,8hs,sim,8i5,cong,8i8,asymp,8j0,ne,8j1,equiv,8j4,le,8j5,ge,8k2,sub,8k3,sup,8k4,nsub,8k6,sube,8k7,supe,8kl,oplus,8kn,otimes,8l5,perp,8m5,sdot,8o8,lceil,8o9,rceil,8oa,lfloor,8ob,rfloor,8p9,lang,8pa,rang,9ea,loz,9j0,spades,9j3,clubs,9j5,hearts,9j6,diams,ai,OElig,aj,oelig,b0,Scaron,b1,scaron,bo,Yuml,m6,circ,ms,tilde,802,ensp,803,emsp,809,thinsp,80c,zwnj,80d,zwj,80e,lrm,80f,rlm,80j,ndash,80k,mdash,80o,lsquo,80p,rsquo,80q,sbquo,80s,ldquo,80t,rdquo,80u,bdquo,810,dagger,811,Dagger,81g,permil,81p,lsaquo,81q,rsaquo,85c,euro",32);var f={encodeRaw:function(e,t){return e.replace(t?s:u,function(e){return o[e]||e})},encodeAllRaw:function(e){return(""+e).replace(l,function(e){return o[e]||e})},encodeNumeric:function(e,t){return e.replace(t?s:u,function(e){return e.length>1?"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";":o[e]||"&#"+e.charCodeAt(0)+";"})},encodeNamed:function(e,t,n){return n=n||r,e.replace(t?s:u,function(e){return o[e]||n[e]||e})},getEncodeFunc:function(e,t){function i(e,n){return e.replace(n?s:u,function(e){return o[e]||t[e]||"&#"+e.charCodeAt(0)+";"||e})}function l(e,n){return f.encodeNamed(e,n,t)}return t=n(t)||r,e=a(e.replace(/\+/g,",")),e.named&&e.numeric?i:e.named?t?l:f.encodeNamed:e.numeric?f.encodeNumeric:f.encodeRaw},decode:function(e){return e.replace(c,function(e,n){return n?(n="x"===n.charAt(0).toLowerCase()?parseInt(n.substr(1),16):parseInt(n,10),n>65535?(n-=65536,String.fromCharCode(55296+(n>>10),56320+(1023&n))):d[n]||String.fromCharCode(n)):i[e]||r[e]||t(e)})}};return f}),i("tinymce/dom/StyleSheetLoader",["tinymce/util/Tools","tinymce/util/Delay"],function(e,t){return function(n,r){function o(e){n.getElementsByTagName("head")[0].appendChild(e)}function i(r,i,l){function c(){for(var e=b.passed,t=e.length;t--;)e[t]();b.status=2,b.passed=[],b.failed=[]}function d(){for(var e=b.failed,t=e.length;t--;)e[t]();b.status=3,b.passed=[],b.failed=[]}function f(){var e=navigator.userAgent.match(/WebKit\/(\d*)/);return!!(e&&e[1]<536)}function p(e,n){e()||((new Date).getTime()-y<a?t.setTimeout(n):d())}function h(){p(function(){for(var e,t,r=n.styleSheets,o=r.length;o--;)if(e=r[o],t=e.ownerNode?e.ownerNode:e.owningElement,t&&t.id===g.id)return c(),!0},h)}function m(){p(function(){try{var e=v.sheet.cssRules;return c(),!!e}catch(e){}},m)}var g,v,y,b;if(r=e._addCacheSuffix(r),u[r]?b=u[r]:(b={passed:[],failed:[]},u[r]=b),i&&b.passed.push(i),l&&b.failed.push(l),1!=b.status){if(2==b.status)return void c();if(3==b.status)return void d();if(b.status=1,g=n.createElement("link"),g.rel="stylesheet",g.type="text/css",g.id="u"+s++,g.async=!1,g.defer=!1,y=(new Date).getTime(),"onload"in g&&!f())g.onload=h,g.onerror=d;else{if(navigator.userAgent.indexOf("Firefox")>0)return v=n.createElement("style"),v.textContent='@import "'+r+'"',m(),void o(v);h()}o(g),g.href=r}}var a,s=0,u={};r=r||{},a=r.maxLoadTime||5e3,this.load=i}}),i("tinymce/dom/DOMUtils",["tinymce/dom/Sizzle","tinymce/dom/DomQuery","tinymce/html/Styles","tinymce/dom/EventUtils","tinymce/dom/TreeWalker","tinymce/dom/Range","tinymce/html/Entities","tinymce/Env","tinymce/util/Tools","tinymce/dom/StyleSheetLoader"],function(e,t,n,o,i,a,s,u,l,c){function d(e,t){var n,r={},o=t.keep_values;return n={set:function(n,r,o){t.url_converter&&(r=t.url_converter.call(t.url_converter_scope||e,r,o,n[0])),n.attr("data-mce-"+o,r).attr(o,r)},get:function(e,t){return e.attr("data-mce-"+t)||e.attr(t)}},r={style:{set:function(e,t){return null!==t&&"object"==typeof t?void e.css(t):(o&&e.attr("data-mce-style",t),void e.attr("style",t))},get:function(t){var n=t.attr("data-mce-style")||t.attr("style");return n=e.serializeStyle(e.parseStyle(n),t[0].nodeName)}}},o&&(r.href=r.src=n),r}function f(e,t){var n=t.attr("style");n=e.serializeStyle(e.parseStyle(n),t[0].nodeName),n||(n=null),t.attr("data-mce-style",n)}function p(e,t){var n,r,o=0;if(e)for(n=e.nodeType,e=e.previousSibling;e;e=e.previousSibling)r=e.nodeType,(!t||3!=r||r!=n&&e.nodeValue.length)&&(o++,n=r);return o}function h(e,r){var i,a=this;a.doc=e,a.win=window,a.files={},a.counter=0,a.stdMode=!b||e.documentMode>=8,a.boxModel=!b||"CSS1Compat"==e.compatMode||a.stdMode,a.styleSheetLoader=new c(e),a.boundEvents=[],a.settings=r=r||{},a.schema=r.schema,a.styles=new n({url_converter:r.url_converter,url_converter_scope:r.url_converter_scope},r.schema),a.fixDoc(e),a.events=r.ownEvents?new o(r.proxy):o.Event,a.attrHooks=d(a,r),i=r.schema?r.schema.getBlockElements():{},a.$=t.overrideDefaults(function(){return{context:e,element:a.getRoot()}}),a.isBlock=function(e){if(!e)return!1;var t=e.nodeType;return t?!(1!==t||!i[e.nodeName]):!!i[e]}}var m=l.each,g=l.is,v=l.grep,y=l.trim,b=u.ie,_=/^([a-z0-9],?)+$/i,w=/^[ \t\r\n]*$/;return h.prototype={$$:function(e){return"string"==typeof e&&(e=this.get(e)),this.$(e)},root:null,fixDoc:function(e){var t,n=this.settings;if(b&&n.schema){"abbr article aside audio canvas details figcaption figure footer header hgroup mark menu meter nav output progress section summary time video".replace(/\w+/g,function(t){e.createElement(t)});for(t in n.schema.getCustomElements())e.createElement(t)}},clone:function(e,t){var n,r,o=this;return!b||1!==e.nodeType||t?e.cloneNode(t):(r=o.doc,t?n.firstChild:(n=r.createElement(e.nodeName),m(o.getAttribs(e),function(t){o.setAttrib(n,t.nodeName,o.getAttrib(e,t.nodeName));
+}),n))},getRoot:function(){var e=this;return e.settings.root_element||e.doc.body},getViewPort:function(e){var t,n;return e=e?e:this.win,t=e.document,n=this.boxModel?t.documentElement:t.body,{x:e.pageXOffset||n.scrollLeft,y:e.pageYOffset||n.scrollTop,w:e.innerWidth||n.clientWidth,h:e.innerHeight||n.clientHeight}},getRect:function(e){var t,n,r=this;return e=r.get(e),t=r.getPos(e),n=r.getSize(e),{x:t.x,y:t.y,w:n.w,h:n.h}},getSize:function(e){var t,n,r=this;return e=r.get(e),t=r.getStyle(e,"width"),n=r.getStyle(e,"height"),t.indexOf("px")===-1&&(t=0),n.indexOf("px")===-1&&(n=0),{w:parseInt(t,10)||e.offsetWidth||e.clientWidth,h:parseInt(n,10)||e.offsetHeight||e.clientHeight}},getParent:function(e,t,n){return this.getParents(e,t,n,!1)},getParents:function(e,t,n,o){var i,a=this,s=[];for(e=a.get(e),o=o===r,n=n||("BODY"!=a.getRoot().nodeName?a.getRoot().parentNode:null),g(t,"string")&&(i=t,t="*"===t?function(e){return 1==e.nodeType}:function(e){return a.is(e,i)});e&&e!=n&&e.nodeType&&9!==e.nodeType;){if(!t||t(e)){if(!o)return e;s.push(e)}e=e.parentNode}return o?s:null},get:function(e){var t;return e&&this.doc&&"string"==typeof e&&(t=e,e=this.doc.getElementById(e),e&&e.id!==t)?this.doc.getElementsByName(t)[1]:e},getNext:function(e,t){return this._findSib(e,t,"nextSibling")},getPrev:function(e,t){return this._findSib(e,t,"previousSibling")},select:function(t,n){var r=this;return e(t,r.get(n)||r.settings.root_element||r.doc,[])},is:function(t,n){var o;if(t.length===r){if("*"===n)return 1==t.nodeType;if(_.test(n)){for(n=n.toLowerCase().split(/,/),t=t.nodeName.toLowerCase(),o=n.length-1;o>=0;o--)if(n[o]==t)return!0;return!1}}if(t.nodeType&&1!=t.nodeType)return!1;var i=t.nodeType?[t]:t;return e(n,i[0].ownerDocument||i[0],null,i).length>0},add:function(e,t,n,r,o){var i=this;return this.run(e,function(e){var a;return a=g(t,"string")?i.doc.createElement(t):t,i.setAttribs(a,n),r&&(r.nodeType?a.appendChild(r):i.setHTML(a,r)),o?a:e.appendChild(a)})},create:function(e,t,n){return this.add(this.doc.createElement(e),e,t,n,1)},createHTML:function(e,t,n){var r,o="";o+="<"+e;for(r in t)t.hasOwnProperty(r)&&null!==t[r]&&"undefined"!=typeof t[r]&&(o+=" "+r+'="'+this.encode(t[r])+'"');return"undefined"!=typeof n?o+">"+n+"</"+e+">":o+" />"},createFragment:function(e){var t,n,r,o=this.doc;for(r=o.createElement("div"),t=o.createDocumentFragment(),e&&(r.innerHTML=e);n=r.firstChild;)t.appendChild(n);return t},remove:function(e,t){return e=this.$$(e),t?e.each(function(){for(var e;e=this.firstChild;)3==e.nodeType&&0===e.data.length?this.removeChild(e):this.parentNode.insertBefore(e,this)}).remove():e.remove(),e.length>1?e.toArray():e[0]},setStyle:function(e,t,n){e=this.$$(e).css(t,n),this.settings.update_styles&&f(this,e)},getStyle:function(e,t,n){return e=this.$$(e),n?e.css(t):(t=t.replace(/-(\D)/g,function(e,t){return t.toUpperCase()}),"float"==t&&(t=u.ie&&u.ie<12?"styleFloat":"cssFloat"),e[0]&&e[0].style?e[0].style[t]:r)},setStyles:function(e,t){e=this.$$(e).css(t),this.settings.update_styles&&f(this,e)},removeAllAttribs:function(e){return this.run(e,function(e){var t,n=e.attributes;for(t=n.length-1;t>=0;t--)e.removeAttributeNode(n.item(t))})},setAttrib:function(e,t,n){var r,o,i=this,a=i.settings;""===n&&(n=null),e=i.$$(e),r=e.attr(t),e.length&&(o=i.attrHooks[t],o&&o.set?o.set(e,n,t):e.attr(t,n),r!=n&&a.onSetAttrib&&a.onSetAttrib({attrElm:e,attrName:t,attrValue:n}))},setAttribs:function(e,t){var n=this;n.$$(e).each(function(e,r){m(t,function(e,t){n.setAttrib(r,t,e)})})},getAttrib:function(e,t,n){var r,o,i=this;return e=i.$$(e),e.length&&(r=i.attrHooks[t],o=r&&r.get?r.get(e,t):e.attr(t)),"undefined"==typeof o&&(o=n||""),o},getPos:function(e,n){var r,o,i=this,a=0,s=0,u=i.doc,l=u.body;if(e=i.get(e),n=n||l,e){if(n===l&&e.getBoundingClientRect&&"static"===t(l).css("position"))return o=e.getBoundingClientRect(),n=i.boxModel?u.documentElement:l,a=o.left+(u.documentElement.scrollLeft||l.scrollLeft)-n.clientLeft,s=o.top+(u.documentElement.scrollTop||l.scrollTop)-n.clientTop,{x:a,y:s};for(r=e;r&&r!=n&&r.nodeType;)a+=r.offsetLeft||0,s+=r.offsetTop||0,r=r.offsetParent;for(r=e.parentNode;r&&r!=n&&r.nodeType;)a-=r.scrollLeft||0,s-=r.scrollTop||0,r=r.parentNode}return{x:a,y:s}},parseStyle:function(e){return this.styles.parse(e)},serializeStyle:function(e,t){return this.styles.serialize(e,t)},addStyle:function(e){var t,n,r=this,o=r.doc;if(r!==h.DOM&&o===document){var i=h.DOM.addedStyles;if(i=i||[],i[e])return;i[e]=!0,h.DOM.addedStyles=i}n=o.getElementById("mceDefaultStyles"),n||(n=o.createElement("style"),n.id="mceDefaultStyles",n.type="text/css",t=o.getElementsByTagName("head")[0],t.firstChild?t.insertBefore(n,t.firstChild):t.appendChild(n)),n.styleSheet?n.styleSheet.cssText+=e:n.appendChild(o.createTextNode(e))},loadCSS:function(e){var t,n=this,r=n.doc;return n!==h.DOM&&r===document?void h.DOM.loadCSS(e):(e||(e=""),t=r.getElementsByTagName("head")[0],void m(e.split(","),function(e){var o;e=l._addCacheSuffix(e),n.files[e]||(n.files[e]=!0,o=n.create("link",{rel:"stylesheet",href:e}),b&&r.documentMode&&r.recalc&&(o.onload=function(){r.recalc&&r.recalc(),o.onload=null}),t.appendChild(o))}))},addClass:function(e,t){this.$$(e).addClass(t)},removeClass:function(e,t){this.toggleClass(e,t,!1)},hasClass:function(e,t){return this.$$(e).hasClass(t)},toggleClass:function(e,n,r){this.$$(e).toggleClass(n,r).each(function(){""===this.className&&t(this).attr("class",null)})},show:function(e){this.$$(e).show()},hide:function(e){this.$$(e).hide()},isHidden:function(e){return"none"==this.$$(e).css("display")},uniqueId:function(e){return(e?e:"mce_")+this.counter++},setHTML:function(e,n){e=this.$$(e),b?e.each(function(e,r){if(r.canHaveHTML!==!1){for(;r.firstChild;)r.removeChild(r.firstChild);try{r.innerHTML="<br>"+n,r.removeChild(r.firstChild)}catch(e){t("<div></div>").html("<br>"+n).contents().slice(1).appendTo(r)}return n}}):e.html(n)},getOuterHTML:function(e){return e=this.get(e),1==e.nodeType&&"outerHTML"in e?e.outerHTML:t("<div></div>").append(t(e).clone()).html()},setOuterHTML:function(e,n){var r=this;r.$$(e).each(function(){try{if("outerHTML"in this)return void(this.outerHTML=n)}catch(e){}r.remove(t(this).html(n),!0)})},decode:s.decode,encode:s.encodeAllRaw,insertAfter:function(e,t){return t=this.get(t),this.run(e,function(e){var n,r;return n=t.parentNode,r=t.nextSibling,r?n.insertBefore(e,r):n.appendChild(e),e})},replace:function(e,t,n){var r=this;return r.run(t,function(t){return g(t,"array")&&(e=e.cloneNode(!0)),n&&m(v(t.childNodes),function(t){e.appendChild(t)}),t.parentNode.replaceChild(e,t)})},rename:function(e,t){var n,r=this;return e.nodeName!=t.toUpperCase()&&(n=r.create(t),m(r.getAttribs(e),function(t){r.setAttrib(n,t.nodeName,r.getAttrib(e,t.nodeName))}),r.replace(n,e,1)),n||e},findCommonAncestor:function(e,t){for(var n,r=e;r;){for(n=t;n&&r!=n;)n=n.parentNode;if(r==n)break;r=r.parentNode}return!r&&e.ownerDocument?e.ownerDocument.documentElement:r},toHex:function(e){return this.styles.toHex(l.trim(e))},run:function(e,t,n){var r,o=this;return"string"==typeof e&&(e=o.get(e)),!!e&&(n=n||this,e.nodeType||!e.length&&0!==e.length?t.call(n,e):(r=[],m(e,function(e,i){e&&("string"==typeof e&&(e=o.get(e)),r.push(t.call(n,e,i)))}),r))},getAttribs:function(e){var t;if(e=this.get(e),!e)return[];if(b){if(t=[],"OBJECT"==e.nodeName)return e.attributes;"OPTION"===e.nodeName&&this.getAttrib(e,"selected")&&t.push({specified:1,nodeName:"selected"});var n=/<\/?[\w:\-]+ ?|=[\"][^\"]+\"|=\'[^\']+\'|=[\w\-]+|>/gi;return e.cloneNode(!1).outerHTML.replace(n,"").replace(/[\w:\-]+/gi,function(e){t.push({specified:1,nodeName:e})}),t}return e.attributes},isEmpty:function(e,t){var n,r,o,a,s,u,l=this,c=0;if(e=e.firstChild){s=new i(e,e.parentNode),t=t||(l.schema?l.schema.getNonEmptyElements():null),a=l.schema?l.schema.getWhiteSpaceElements():{};do{if(o=e.nodeType,1===o){var d=e.getAttribute("data-mce-bogus");if(d){e=s.next("all"===d);continue}if(u=e.nodeName.toLowerCase(),t&&t[u]){if("br"===u){c++,e=s.next();continue}return!1}for(r=l.getAttribs(e),n=r.length;n--;)if(u=r[n].nodeName,"name"===u||"data-mce-bookmark"===u)return!1}if(8==o)return!1;if(3===o&&!w.test(e.nodeValue))return!1;if(3===o&&e.parentNode&&a[e.parentNode.nodeName]&&w.test(e.nodeValue))return!1;e=s.next()}while(e)}return c<=1},createRng:function(){var e=this.doc;return e.createRange?e.createRange():new a(this)},nodeIndex:p,split:function(e,t,n){function r(e){function t(e){var t=e.previousSibling&&"SPAN"==e.previousSibling.nodeName,n=e.nextSibling&&"SPAN"==e.nextSibling.nodeName;return t&&n}var n,o=e.childNodes,i=e.nodeType;if(1!=i||"bookmark"!=e.getAttribute("data-mce-type")){for(n=o.length-1;n>=0;n--)r(o[n]);if(9!=i){if(3==i&&e.nodeValue.length>0){var a=y(e.nodeValue).length;if(!s.isBlock(e.parentNode)||a>0||0===a&&t(e))return}else if(1==i&&(o=e.childNodes,1==o.length&&o[0]&&1==o[0].nodeType&&"bookmark"==o[0].getAttribute("data-mce-type")&&e.parentNode.insertBefore(o[0],e),o.length||/^(br|hr|input|img)$/i.test(e.nodeName)))return;s.remove(e)}return e}}var o,i,a,s=this,u=s.createRng();if(e&&t)return u.setStart(e.parentNode,s.nodeIndex(e)),u.setEnd(t.parentNode,s.nodeIndex(t)),o=u.extractContents(),u=s.createRng(),u.setStart(t.parentNode,s.nodeIndex(t)+1),u.setEnd(e.parentNode,s.nodeIndex(e)+1),i=u.extractContents(),a=e.parentNode,a.insertBefore(r(o),e),n?a.insertBefore(n,e):a.insertBefore(t,e),a.insertBefore(r(i),e),s.remove(e),n||t},bind:function(e,t,n,r){var o=this;if(l.isArray(e)){for(var i=e.length;i--;)e[i]=o.bind(e[i],t,n,r);return e}return!o.settings.collect||e!==o.doc&&e!==o.win||o.boundEvents.push([e,t,n,r]),o.events.bind(e,t,n,r||o)},unbind:function(e,t,n){var r,o=this;if(l.isArray(e)){for(r=e.length;r--;)e[r]=o.unbind(e[r],t,n);return e}if(o.boundEvents&&(e===o.doc||e===o.win))for(r=o.boundEvents.length;r--;){var i=o.boundEvents[r];e!=i[0]||t&&t!=i[1]||n&&n!=i[2]||this.events.unbind(i[0],i[1],i[2])}return this.events.unbind(e,t,n)},fire:function(e,t,n){return this.events.fire(e,t,n)},getContentEditable:function(e){var t;return e&&1==e.nodeType?(t=e.getAttribute("data-mce-contenteditable"),t&&"inherit"!==t?t:"inherit"!==e.contentEditable?e.contentEditable:null):null},getContentEditableParent:function(e){for(var t=this.getRoot(),n=null;e&&e!==t&&(n=this.getContentEditable(e),null===n);e=e.parentNode);return n},destroy:function(){var t=this;if(t.boundEvents){for(var n=t.boundEvents.length;n--;){var r=t.boundEvents[n];this.events.unbind(r[0],r[1],r[2])}t.boundEvents=null}e.setDocument&&e.setDocument(),t.win=t.doc=t.root=t.events=t.frag=null},isChildOf:function(e,t){for(;e;){if(t===e)return!0;e=e.parentNode}return!1},dumpRng:function(e){return"startContainer: "+e.startContainer.nodeName+", startOffset: "+e.startOffset+", endContainer: "+e.endContainer.nodeName+", endOffset: "+e.endOffset},_findSib:function(e,t,n){var r=this,o=t;if(e)for("string"==typeof o&&(o=function(e){return r.is(e,t)}),e=e[n];e;e=e[n])if(o(e))return e;return null}},h.DOM=new h(document),h.nodeIndex=p,h}),i("tinymce/dom/ScriptLoader",["tinymce/dom/DOMUtils","tinymce/util/Tools"],function(e,t){function n(){function e(e,n,o){function i(){c.remove(l),u&&(u.onreadystatechange=u.onload=u=null),n()}function s(){a(o)?o():"undefined"!=typeof console&&console.log&&console.log("Failed to load script: "+e)}var u,l,c=r;l=c.uniqueId(),u=document.createElement("script"),u.id=l,u.type="text/javascript",u.src=t._addCacheSuffix(e),"onreadystatechange"in u?u.onreadystatechange=function(){/loaded|complete/.test(u.readyState)&&i()}:u.onload=i,u.onerror=s,(document.getElementsByTagName("head")[0]||document.body).appendChild(u)}var n,s=0,u=1,l=2,c=3,d={},f=[],p={},h=[],m=0;this.isDone=function(e){return d[e]==l},this.markDone=function(e){d[e]=l},this.add=this.load=function(e,t,r,o){var i=d[e];i==n&&(f.push(e),d[e]=s),t&&(p[e]||(p[e]=[]),p[e].push({success:t,failure:o,scope:r||this}))},this.remove=function(e){delete d[e],delete p[e]},this.loadQueue=function(e,t,n){this.loadScripts(f,e,t,n)},this.loadScripts=function(t,r,s,f){function g(e,t){o(p[t],function(t){a(t[e])&&t[e].call(t.scope)}),p[t]=n}var v,y=[];h.push({success:r,failure:f,scope:s||this}),(v=function(){var n=i(t);t.length=0,o(n,function(t){return d[t]===l?void g("success",t):d[t]===c?void g("failure",t):void(d[t]!==u&&(d[t]=u,m++,e(t,function(){d[t]=l,m--,g("success",t),v()},function(){d[t]=c,m--,y.push(t),g("failure",t),v()})))}),m||(o(h,function(e){0===y.length?a(e.success)&&e.success.call(e.scope):a(e.failure)&&e.failure.call(e.scope,y)}),h.length=0)})()}}var r=e.DOM,o=t.each,i=t.grep,a=function(e){return"function"==typeof e};return n.ScriptLoader=new n,n}),i("tinymce/AddOnManager",["tinymce/dom/ScriptLoader","tinymce/util/Tools"],function(e,t){function n(){var e=this;e.items=[],e.urls={},e.lookup={}}var o=t.each;return n.prototype={get:function(e){return this.lookup[e]?this.lookup[e].instance:r},dependencies:function(e){var t;return this.lookup[e]&&(t=this.lookup[e].dependencies),t||[]},requireLangPack:function(t,r){var o=n.language;if(o&&n.languageLoad!==!1){if(r)if(r=","+r+",",r.indexOf(","+o.substr(0,2)+",")!=-1)o=o.substr(0,2);else if(r.indexOf(","+o+",")==-1)return;e.ScriptLoader.add(this.urls[t]+"/langs/"+o+".js")}},add:function(e,t,n){return this.items.push(t),this.lookup[e]={instance:t,dependencies:n},t},remove:function(e){delete this.urls[e],delete this.lookup[e]},createUrl:function(e,t){return"object"==typeof t?t:{prefix:e.prefix,resource:t,suffix:e.suffix}},addComponents:function(t,n){var r=this.urls[t];o(n,function(t){e.ScriptLoader.add(r+"/"+t)})},load:function(t,i,a,s,u){function l(){var n=c.dependencies(t);o(n,function(e){var t=c.createUrl(i,e);c.load(t.resource,t,r,r)}),a&&(s?a.call(s):a.call(e))}var c=this,d=i;c.urls[t]||("object"==typeof i&&(d=i.prefix+i.resource+i.suffix),0!==d.indexOf("/")&&d.indexOf("://")==-1&&(d=n.baseURL+"/"+d),c.urls[t]=d.substring(0,d.lastIndexOf("/")),c.lookup[t]?l():e.ScriptLoader.add(d,l,s,u))}},n.PluginManager=new n,n.ThemeManager=new n,n}),i("tinymce/dom/NodeType",[],function(){function e(e){return function(t){return!!t&&t.nodeType==e}}function t(e){return e=e.toLowerCase().split(" "),function(t){var n,r;if(t&&t.nodeType)for(r=t.nodeName.toLowerCase(),n=0;n<e.length;n++)if(r===e[n])return!0;return!1}}function n(e,t){return t=t.toLowerCase().split(" "),function(n){var r,o;if(s(n))for(r=0;r<t.length;r++)if(o=getComputedStyle(n,null).getPropertyValue(e),o===t[r])return!0;return!1}}function r(e,t){return function(n){return s(n)&&n[e]===t}}function o(e,t){return function(n){return s(n)&&n.getAttribute(e)===t}}function i(e){return s(e)&&e.hasAttribute("data-mce-bogus")}function a(e){return function(t){if(s(t)){if(t.contentEditable===e)return!0;if(t.getAttribute("data-mce-contenteditable")===e)return!0}return!1}}var s=e(1);return{isText:e(3),isElement:s,isComment:e(8),isBr:t("br"),isContentEditableTrue:a("true"),isContentEditableFalse:a("false"),matchNodeNames:t,hasPropValue:r,hasAttributeValue:o,matchStyleValues:n,isBogus:i}}),i("tinymce/text/Zwsp",[],function(){function e(e){return e==n}function t(e){return e.replace(new RegExp(n,"g"),"")}var n="\ufeff";return{isZwsp:e,ZWSP:n,trim:t}}),i("tinymce/caret/CaretContainer",["tinymce/dom/NodeType","tinymce/text/Zwsp"],function(e,t){function n(e){return y(e)&&(e=e.parentNode),v(e)&&e.hasAttribute("data-mce-caret")}function r(e){return y(e)&&t.isZwsp(e.data)}function o(e){return n(e)||r(e)}function i(e){var t=e.parentNode;t&&t.removeChild(e)}function a(e){try{return e.nodeValue}catch(e){return""}}function s(e,t){0===t.length?i(e):e.nodeValue=t}function u(e,n){var r,i,a,s;if(r=e.ownerDocument,a=r.createTextNode(t.ZWSP),s=e.parentNode,n){if(i=e.previousSibling,y(i)){if(o(i))return i;if(h(i))return i.splitText(i.data.length-1)}s.insertBefore(a,e)}else{if(i=e.nextSibling,y(i)){if(o(i))return i;if(p(i))return i.splitText(1),i}e.nextSibling?s.insertBefore(a,e.nextSibling):s.appendChild(a)}return a}function l(){var e=document.createElement("br");return e.setAttribute("data-mce-bogus","1"),e}function c(e,t,n){var r,o,i;return r=t.ownerDocument,o=r.createElement(e),o.setAttribute("data-mce-caret",n?"before":"after"),o.setAttribute("data-mce-bogus","all"),o.appendChild(l()),i=t.parentNode,n?i.insertBefore(o,t):t.nextSibling?i.insertBefore(o,t.nextSibling):i.appendChild(o),o}function d(t){return t.firstChild!==t.lastChild||!e.isBr(t.firstChild)}function f(e){if(v(e)&&o(e)&&(d(e)?e.removeAttribute("data-mce-caret"):i(e)),y(e)){var n=t.trim(a(e));s(e,n)}}function p(e){return y(e)&&e.data[0]==t.ZWSP}function h(e){return y(e)&&e.data[e.data.length-1]==t.ZWSP}function m(t){var n=t.getElementsByTagName("br"),r=n[n.length-1];e.isBogus(r)&&r.parentNode.removeChild(r)}function g(e){return e&&e.hasAttribute("data-mce-caret")?(m(e),e.removeAttribute("data-mce-caret"),e.removeAttribute("data-mce-bogus"),e.removeAttribute("style"),e.removeAttribute("_moz_abspos"),e):null}var v=e.isElement,y=e.isText;return{isCaretContainer:o,isCaretContainerBlock:n,isCaretContainerInline:r,showCaretContainerBlock:g,insertInline:u,insertBlock:c,hasContent:d,remove:f,startsWithCaretContainer:p,endsWithCaretContainer:h}}),i("tinymce/dom/RangeUtils",["tinymce/util/Tools","tinymce/dom/TreeWalker","tinymce/dom/NodeType","tinymce/dom/Range","tinymce/caret/CaretContainer"],function(e,t,n,r,o){function i(e){return m(e)||g(e)}function a(e,t){var n=e.childNodes;return t--,t>n.length-1?t=n.length-1:t<0&&(t=0),n[t]||e}function s(e,t,n){for(;e&&e!==t;){if(n(e))return e;e=e.parentNode}return null}function u(e,t,n){return null!==s(e,t,n)}function l(e){return"_mce_caret"===e.id}function c(e,t){return v(e)&&u(e,t,l)===!1}function d(e){this.walk=function(t,n){function r(e){var t;return t=e[0],3===t.nodeType&&t===g&&v>=t.nodeValue.length&&e.splice(0,1),t=e[e.length-1],0===b&&e.length>0&&t===y&&3===t.nodeType&&e.splice(e.length-1,1),e}function o(e,t,n){for(var r=[];e&&e!=n;e=e[t])r.push(e);return r}function i(e,t){do{if(e.parentNode==t)return e;e=e.parentNode}while(e)}function s(e,t,i){var a=i?"nextSibling":"previousSibling";for(d=e,f=d.parentNode;d&&d!=t;d=f)f=d.parentNode,p=o(d==e?d:d[a],a),p.length&&(i||p.reverse(),n(r(p)))}var u,l,c,d,f,p,m,g=t.startContainer,v=t.startOffset,y=t.endContainer,b=t.endOffset;if(m=e.select("td[data-mce-selected],th[data-mce-selected]"),m.length>0)return void h(m,function(e){n([e])});if(1==g.nodeType&&g.hasChildNodes()&&(g=g.childNodes[v]),1==y.nodeType&&y.hasChildNodes()&&(y=a(y,b)),g==y)return n(r([g]));for(u=e.findCommonAncestor(g,y),d=g;d;d=d.parentNode){if(d===y)return s(g,u,!0);if(d===u)break}for(d=y;d;d=d.parentNode){if(d===g)return s(y,u);if(d===u)break}l=i(g,u)||g,c=i(y,u)||y,s(g,l,!0),p=o(l==g?l:l.nextSibling,"nextSibling",c==y?c.nextSibling:c),p.length&&n(r(p)),s(y,c)},this.split=function(e){function t(e,t){return e.splitText(t)}var n=e.startContainer,r=e.startOffset,o=e.endContainer,i=e.endOffset;return n==o&&3==n.nodeType?r>0&&r<n.nodeValue.length&&(o=t(n,r),n=o.previousSibling,i>r?(i-=r,n=o=t(o,i).previousSibling,i=o.nodeValue.length,r=0):i=0):(3==n.nodeType&&r>0&&r<n.nodeValue.length&&(n=t(n,r),r=0),3==o.nodeType&&i>0&&i<o.nodeValue.length&&(o=t(o,i).previousSibling,i=o.nodeValue.length)),{startContainer:n,startOffset:r,endContainer:o,endOffset:i}},this.normalize=function(n){function r(r){function a(e){return e&&/^(TD|TH|CAPTION)$/.test(e.nodeName)}function s(n,r){for(var o=new t(n,e.getParent(n.parentNode,e.isBlock)||w);n=o[r?"prev":"next"]();)if("BR"===n.nodeName)return!0}function u(e){for(;e&&e!=w;){if(g(e))return!0;e=e.parentNode}return!1}function l(e,t){return e.previousSibling&&e.previousSibling.nodeName==t}function d(n,r){var a,s,u;if(r=r||f,u=e.getParent(r.parentNode,e.isBlock)||w,n&&"BR"==r.nodeName&&_&&e.isEmpty(u))return f=r.parentNode,p=e.nodeIndex(r),void(o=!0);for(a=new t(r,u);m=a[n?"prev":"next"]();){if("false"===e.getContentEditableParent(m)||c(m,e.getRoot()))return;if(3===m.nodeType&&m.nodeValue.length>0)return f=m,p=n?m.nodeValue.length:0,void(o=!0);if(e.isBlock(m)||y[m.nodeName.toLowerCase()])return;s=m}i&&s&&(f=s,o=!0,p=0)}var f,p,h,m,y,b,_,w=e.getRoot();if(f=n[(r?"start":"end")+"Container"],p=n[(r?"start":"end")+"Offset"],_=1==f.nodeType&&p===f.childNodes.length,y=e.schema.getNonEmptyElements(),b=r,!v(f)){if(1==f.nodeType&&p>f.childNodes.length-1&&(b=!1),9===f.nodeType&&(f=e.getRoot(),p=0),f===w){if(b&&(m=f.childNodes[p>0?p-1:0])){if(v(m))return;if(y[m.nodeName]||"TABLE"==m.nodeName)return}if(f.hasChildNodes()){if(p=Math.min(!b&&p>0?p-1:p,f.childNodes.length-1),f=f.childNodes[p],p=0,!i&&f===w.lastChild&&"TABLE"===f.nodeName)return;if(u(f)||v(f))return;if(f.hasChildNodes()&&!/TABLE/.test(f.nodeName)){m=f,h=new t(f,w);do{if(g(m)||v(m)){o=!1;break}if(3===m.nodeType&&m.nodeValue.length>0){p=b?0:m.nodeValue.length,f=m,o=!0;break}if(y[m.nodeName.toLowerCase()]&&!a(m)){p=e.nodeIndex(m),f=m.parentNode,"IMG"!=m.nodeName||b||p++,o=!0;break}}while(m=b?h.next():h.prev())}}}i&&(3===f.nodeType&&0===p&&d(!0),1===f.nodeType&&(m=f.childNodes[p],m||(m=f.childNodes[p-1]),!m||"BR"!==m.nodeName||l(m,"A")||s(m)||s(m,!0)||d(!0,m))),b&&!i&&3===f.nodeType&&p===f.nodeValue.length&&d(!1),o&&n["set"+(r?"Start":"End")](f,p)}}var o,i;return i=n.collapsed,r(!0),i||r(),o&&i&&n.collapse(!0),o}}function f(t,n,r){var o,i,a;if(o=r.elementFromPoint(t,n),i=r.body.createTextRange(),o&&"HTML"!=o.tagName||(o=r.body),i.moveToElementText(o),a=e.toArray(i.getClientRects()),a=a.sort(function(e,t){return e=Math.abs(Math.max(e.top-n,e.bottom-n)),t=Math.abs(Math.max(t.top-n,t.bottom-n)),e-t}),a.length>0){n=(a[0].bottom+a[0].top)/2;try{return i.moveToPoint(t,n),i.collapse(!0),i}catch(e){}}return null}function p(e,t){var n=e&&e.parentElement?e.parentElement():null;return g(s(n,t,i))?null:e}var h=e.each,m=n.isContentEditableTrue,g=n.isContentEditableFalse,v=o.isCaretContainer;return d.compareRanges=function(e,t){if(e&&t){if(!e.item&&!e.duplicate)return e.startContainer==t.startContainer&&e.startOffset==t.startOffset;if(e.item&&t.item&&e.item(0)===t.item(0))return!0;if(e.isEqual&&t.isEqual&&t.isEqual(e))return!0}return!1},d.getCaretRangeFromPoint=function(e,t,n){var r,o;if(n.caretPositionFromPoint)o=n.caretPositionFromPoint(e,t),r=n.createRange(),r.setStart(o.offsetNode,o.offset),r.collapse(!0);else if(n.caretRangeFromPoint)r=n.caretRangeFromPoint(e,t);else if(n.body.createTextRange){r=n.body.createTextRange();try{r.moveToPoint(e,t),r.collapse(!0)}catch(o){r=f(e,t,n)}return p(r,n.body)}return r},d.getSelectedNode=function(e){var t=e.startContainer,n=e.startOffset;return t.hasChildNodes()&&e.endOffset==n+1?t.childNodes[n]:null},d.getNode=function(e,t){return 1==e.nodeType&&e.hasChildNodes()&&(t>=e.childNodes.length&&(t=e.childNodes.length-1),e=e.childNodes[t]),e},d}),i("tinymce/NodeChange",["tinymce/dom/RangeUtils","tinymce/Env","tinymce/util/Delay"],function(e,t,n){return function(r){function o(e){var t,n;if(n=r.$(e).parentsUntil(r.getBody()).add(e),n.length===a.length){for(t=n.length;t>=0&&n[t]===a[t];t--);if(t===-1)return a=n,!0}return a=n,!1}var i,a=[];"onselectionchange"in r.getDoc()||r.on("NodeChange Click MouseUp KeyUp Focus",function(t){var n,o;n=r.selection.getRng(),o={startContainer:n.startContainer,startOffset:n.startOffset,endContainer:n.endContainer,endOffset:n.endOffset},"nodechange"!=t.type&&e.compareRanges(o,i)||r.fire("SelectionChange"),i=o}),r.on("contextmenu",function(){r.fire("SelectionChange")}),r.on("SelectionChange",function(){var e=r.selection.getStart(!0);!t.range&&r.selection.isCollapsed()||!o(e)&&r.dom.isChildOf(e,r.getBody())&&r.nodeChanged({selectionChange:!0})}),r.on("MouseUp",function(e){e.isDefaultPrevented()||("IMG"==r.selection.getNode().nodeName?n.setEditorTimeout(r,function(){r.nodeChanged()}):r.nodeChanged())}),this.nodeChanged=function(e){var t,n,o,i=r.selection;r.initialized&&i&&!r.settings.disable_nodechange&&!r.readonly&&(o=r.getBody(),t=i.getStart()||o,t.ownerDocument==r.getDoc()&&r.dom.isChildOf(t,o)||(t=o),"IMG"==t.nodeName&&i.isCollapsed()&&(t=t.parentNode),n=[],r.dom.getParent(t,function(e){return e===o||void n.push(e)}),e=e||{},e.element=t,e.parents=n,r.fire("NodeChange",e))}}}),i("tinymce/html/Node",[],function(){function e(e,t,n){var r,o,i=n?"lastChild":"firstChild",a=n?"prev":"next";if(e[i])return e[i];if(e!==t){if(r=e[a])return r;for(o=e.parent;o&&o!==t;o=o.parent)if(r=o[a])return r}}function t(e,t){this.name=e,this.type=t,1===t&&(this.attributes=[],this.attributes.map={})}var n=/^[ \t\r\n]*$/,r={"#text":3,"#comment":8,"#cdata":4,"#pi":7,"#doctype":10,"#document-fragment":11};return t.prototype={replace:function(e){var t=this;return e.parent&&e.remove(),t.insert(e,t),t.remove(),t},attr:function(e,t){var n,r,o,i=this;if("string"!=typeof e){for(r in e)i.attr(r,e[r]);return i}if(n=i.attributes){if(t!==o){if(null===t){if(e in n.map)for(delete n.map[e],r=n.length;r--;)if(n[r].name===e)return n=n.splice(r,1),i;return i}if(e in n.map){for(r=n.length;r--;)if(n[r].name===e){n[r].value=t;break}}else n.push({name:e,value:t});return n.map[e]=t,i}return n.map[e]}},clone:function(){var e,n,r,o,i,a=this,s=new t(a.name,a.type);if(r=a.attributes){for(i=[],i.map={},e=0,n=r.length;e<n;e++)o=r[e],"id"!==o.name&&(i[i.length]={name:o.name,value:o.value},i.map[o.name]=o.value);s.attributes=i}return s.value=a.value,s.shortEnded=a.shortEnded,s},wrap:function(e){var t=this;return t.parent.insert(e,t),e.append(t),t},unwrap:function(){var e,t,n=this;for(e=n.firstChild;e;)t=e.next,n.insert(e,n,!0),e=t;n.remove()},remove:function(){var e=this,t=e.parent,n=e.next,r=e.prev;return t&&(t.firstChild===e?(t.firstChild=n,n&&(n.prev=null)):r.next=n,t.lastChild===e?(t.lastChild=r,r&&(r.next=null)):n.prev=r,e.parent=e.next=e.prev=null),e},append:function(e){var t,n=this;return e.parent&&e.remove(),t=n.lastChild,t?(t.next=e,e.prev=t,n.lastChild=e):n.lastChild=n.firstChild=e,e.parent=n,e},insert:function(e,t,n){var r;return e.parent&&e.remove(),r=t.parent||this,n?(t===r.firstChild?r.firstChild=e:t.prev.next=e,e.prev=t.prev,e.next=t,t.prev=e):(t===r.lastChild?r.lastChild=e:t.next.prev=e,e.next=t.next,e.prev=t,t.next=e),e.parent=r,e},getAll:function(t){var n,r=this,o=[];for(n=r.firstChild;n;n=e(n,r))n.name===t&&o.push(n);return o},empty:function(){var t,n,r,o=this;if(o.firstChild){for(t=[],r=o.firstChild;r;r=e(r,o))t.push(r);for(n=t.length;n--;)r=t[n],r.parent=r.firstChild=r.lastChild=r.next=r.prev=null}return o.firstChild=o.lastChild=null,o},isEmpty:function(t,r){var o,i,a=this,s=a.firstChild;if(r=r||{},s)do{if(1===s.type){if(s.attributes.map["data-mce-bogus"])continue;if(t[s.name])return!1;for(o=s.attributes.length;o--;)if(i=s.attributes[o].name,"name"===i||0===i.indexOf("data-mce-bookmark"))return!1}if(8===s.type)return!1;if(3===s.type&&!n.test(s.value))return!1;if(3===s.type&&s.parent&&r[s.parent.name]&&n.test(s.value))return!1}while(s=e(s,a));return!0},walk:function(t){return e(this,null,t)}},t.create=function(e,n){var o,i;if(o=new t(e,r[e]||1),n)for(i in n)o.attr(i,n[i]);return o},t}),i("tinymce/html/Schema",["tinymce/util/Tools"],function(e){function t(t,n){return t=e.trim(t),t?t.split(n||" "):[]}function n(e){function n(e,n,r){function o(e,t){var n,r,o={};for(n=0,r=e.length;n<r;n++)o[e[n]]=t||{};return o}var s,u,l;for(r=r||[],n=n||"","string"==typeof r&&(r=t(r)),e=t(e),s=e.length;s--;)u=t([a,n].join(" ")),l={attributes:o(u),attributesOrder:u,children:o(r,i)},p[e[s]]=l}function r(e,n){var r,o,i,a;for(e=t(e),r=e.length,n=t(n);r--;)for(o=p[e[r]],i=0,a=n.length;i<a;i++)o.attributes[n[i]]={},o.attributesOrder.push(n[i])}var a,u,l,c,d,f,p={};return o[e]?o[e]:(a="id accesskey class dir lang style tabindex title",u="address blockquote div dl fieldset form h1 h2 h3 h4 h5 h6 hr menu ol p pre table ul",l="a abbr b bdo br button cite code del dfn em embed i iframe img input ins kbd label map noscript object q s samp script select small span strong sub sup textarea u var #text #comment","html4"!=e&&(a+=" contenteditable contextmenu draggable dropzone hidden spellcheck translate",u+=" article aside details dialog figure header footer hgroup section nav",l+=" audio canvas command datalist mark meter output picture progress time wbr video ruby bdi keygen"),"html5-strict"!=e&&(a+=" xml:lang",f="acronym applet basefont big font strike tt",l=[l,f].join(" "),s(t(f),function(e){n(e,"",l)}),d="center dir isindex noframes",u=[u,d].join(" "),c=[u,l].join(" "),s(t(d),function(e){n(e,"",c)})),c=c||[u,l].join(" "),n("html","manifest","head body"),n("head","","base command link meta noscript script style title"),n("title hr noscript br"),n("base","href target"),n("link","href rel media hreflang type sizes hreflang"),n("meta","name http-equiv content charset"),n("style","media type scoped"),n("script","src async defer type charset"),n("body","onafterprint onbeforeprint onbeforeunload onblur onerror onfocus onhashchange onload onmessage onoffline ononline onpagehide onpageshow onpopstate onresize onscroll onstorage onunload",c),n("address dt dd div caption","",c),n("h1 h2 h3 h4 h5 h6 pre p abbr code var samp kbd sub sup i b u bdo span legend em strong small s cite dfn","",l),n("blockquote","cite",c),n("ol","reversed start type","li"),n("ul","","li"),n("li","value",c),n("dl","","dt dd"),n("a","href target rel media hreflang type",l),n("q","cite",l),n("ins del","cite datetime",c),n("img","src sizes srcset alt usemap ismap width height"),n("iframe","src name width height",c),n("embed","src type width height"),n("object","data type typemustmatch name usemap form width height",[c,"param"].join(" ")),n("param","name value"),n("map","name",[c,"area"].join(" ")),n("area","alt coords shape href target rel media hreflang type"),n("table","border","caption colgroup thead tfoot tbody tr"+("html4"==e?" col":"")),n("colgroup","span","col"),n("col","span"),n("tbody thead tfoot","","tr"),n("tr","","td th"),n("td","colspan rowspan headers",c),n("th","colspan rowspan headers scope abbr",c),n("form","accept-charset action autocomplete enctype method name novalidate target",c),n("fieldset","disabled form name",[c,"legend"].join(" ")),n("label","form for",l),n("input","accept alt autocomplete checked dirname disabled form formaction formenctype formmethod formnovalidate formtarget height list max maxlength min multiple name pattern readonly required size src step type value width"),n("button","disabled form formaction formenctype formmethod formnovalidate formtarget name type value","html4"==e?c:l),n("select","disabled form multiple name required size","option optgroup"),n("optgroup","disabled label","option"),n("option","disabled label selected value"),n("textarea","cols dirname disabled form maxlength name readonly required rows wrap"),n("menu","type label",[c,"li"].join(" ")),n("noscript","",c),"html4"!=e&&(n("wbr"),n("ruby","",[l,"rt rp"].join(" ")),n("figcaption","",c),n("mark rt rp summary bdi","",l),n("canvas","width height",c),n("video","src crossorigin poster preload autoplay mediagroup loop muted controls width height buffered",[c,"track source"].join(" ")),n("audio","src crossorigin preload autoplay mediagroup loop muted controls buffered volume",[c,"track source"].join(" ")),n("picture","","img source"),n("source","src srcset type media sizes"),n("track","kind src srclang label default"),n("datalist","",[l,"option"].join(" ")),n("article section nav aside header footer","",c),n("hgroup","","h1 h2 h3 h4 h5 h6"),n("figure","",[c,"figcaption"].join(" ")),n("time","datetime",l),n("dialog","open",c),n("command","type label icon disabled checked radiogroup command"),n("output","for form name",l),n("progress","value max",l),n("meter","value min max low high optimum",l),n("details","open",[c,"summary"].join(" ")),n("keygen","autofocus challenge disabled form keytype name")),"html5-strict"!=e&&(r("script","language xml:space"),r("style","xml:space"),r("object","declare classid code codebase codetype archive standby align border hspace vspace"),r("embed","align name hspace vspace"),r("param","valuetype type"),r("a","charset name rev shape coords"),r("br","clear"),r("applet","codebase archive code object alt name width height align hspace vspace"),r("img","name longdesc align border hspace vspace"),
+r("iframe","longdesc frameborder marginwidth marginheight scrolling align"),r("font basefont","size color face"),r("input","usemap align"),r("select","onchange"),r("textarea"),r("h1 h2 h3 h4 h5 h6 div p legend caption","align"),r("ul","type compact"),r("li","type"),r("ol dl menu dir","compact"),r("pre","width xml:space"),r("hr","align noshade size width"),r("isindex","prompt"),r("table","summary width frame rules cellspacing cellpadding align bgcolor"),r("col","width align char charoff valign"),r("colgroup","width align char charoff valign"),r("thead","align char charoff valign"),r("tr","align char charoff valign bgcolor"),r("th","axis align char charoff valign nowrap bgcolor width height"),r("form","accept"),r("td","abbr axis scope align char charoff valign nowrap bgcolor width height"),r("tfoot","align char charoff valign"),r("tbody","align char charoff valign"),r("area","nohref"),r("body","background bgcolor text link vlink alink")),"html4"!=e&&(r("input button select textarea","autofocus"),r("input textarea","placeholder"),r("a","download"),r("link script img","crossorigin"),r("iframe","sandbox seamless allowfullscreen")),s(t("a form meter progress dfn"),function(e){p[e]&&delete p[e].children[e]}),delete p.caption.children.table,delete p.script,o[e]=p,p)}function r(e,t){var n;return e&&(n={},"string"==typeof e&&(e={"*":e}),s(e,function(e,r){n[r]=n[r.toUpperCase()]="map"==t?a(e,/[, ]/):l(e,/[, ]/)})),n}var o={},i={},a=e.makeMap,s=e.each,u=e.extend,l=e.explode,c=e.inArray;return function(e){function i(t,n,r){var i=e[t];return i?i=a(i,/[, ]/,a(i.toUpperCase(),/[, ]/)):(i=o[t],i||(i=a(n," ",a(n.toUpperCase()," ")),i=u(i,r),o[t]=i)),i}function d(e){return new RegExp("^"+e.replace(/([?+*])/g,".$1")+"$")}function f(e){var n,r,o,i,s,u,l,f,p,h,m,g,v,y,b,_,w,C,x,E=/^([#+\-])?([^\[!\/]+)(?:\/([^\[!]+))?(?:(!?)\[([^\]]+)\])?$/,T=/^([!\-])?(\w+::\w+|[^=:<]+)?(?:([=:<])(.*))?$/,k=/[*?+]/;if(e)for(e=t(e,","),N["@"]&&(_=N["@"].attributes,w=N["@"].attributesOrder),n=0,r=e.length;n<r;n++)if(s=E.exec(e[n])){if(y=s[1],p=s[2],b=s[3],f=s[5],g={},v=[],u={attributes:g,attributesOrder:v},"#"===y&&(u.paddEmpty=!0),"-"===y&&(u.removeEmpty=!0),"!"===s[4]&&(u.removeEmptyAttrs=!0),_){for(C in _)g[C]=_[C];v.push.apply(v,w)}if(f)for(f=t(f,"|"),o=0,i=f.length;o<i;o++)if(s=T.exec(f[o])){if(l={},m=s[1],h=s[2].replace(/::/g,":"),y=s[3],x=s[4],"!"===m&&(u.attributesRequired=u.attributesRequired||[],u.attributesRequired.push(h),l.required=!0),"-"===m){delete g[h],v.splice(c(v,h),1);continue}y&&("="===y&&(u.attributesDefault=u.attributesDefault||[],u.attributesDefault.push({name:h,value:x}),l.defaultValue=x),":"===y&&(u.attributesForced=u.attributesForced||[],u.attributesForced.push({name:h,value:x}),l.forcedValue=x),"<"===y&&(l.validValues=a(x,"?"))),k.test(h)?(u.attributePatterns=u.attributePatterns||[],l.pattern=d(h),u.attributePatterns.push(l)):(g[h]||v.push(h),g[h]=l)}_||"@"!=p||(_=g,w=v),b&&(u.outputName=p,N[b]=u),k.test(p)?(u.pattern=d(p),P.push(u)):N[p]=u}}function p(e){N={},P=[],f(e),s(b,function(e,t){I[t]=e.children})}function h(e){var n=/^(~)?(.+)$/;e&&(o.text_block_elements=o.block_elements=null,s(t(e,","),function(e){var t=n.exec(e),r="~"===t[1],o=r?"span":"div",i=t[2];if(I[i]=I[o],D[i]=o,r||(T[i.toUpperCase()]={},T[i]={}),!N[i]){var a=N[o];a=u({},a),delete a.removeEmptyAttrs,delete a.removeEmpty,N[i]=a}s(I,function(e,t){e[o]&&(I[t]=e=u({},I[t]),e[i]=e[o])})}))}function m(n){var r=/^([+\-]?)(\w+)\[([^\]]+)\]$/;o[e.schema]=null,n&&s(t(n,","),function(e){var n,o,i=r.exec(e);i&&(o=i[1],n=o?I[i[2]]:I[i[2]]={"#comment":{}},n=I[i[2]],s(t(i[3],"|"),function(e){"-"===o?delete n[e]:n[e]={}}))})}function g(e){var t,n=N[e];if(n)return n;for(t=P.length;t--;)if(n=P[t],n.pattern.test(e))return n}var v,y,b,_,w,C,x,E,T,k,S,O,M,A=this,N={},I={},P=[],D={},R={};e=e||{},b=n(e.schema),e.verify_html===!1&&(e.valid_elements="*[*]"),v=r(e.valid_styles),y=r(e.invalid_styles,"map"),E=r(e.valid_classes,"map"),_=i("whitespace_elements","pre script noscript style textarea video audio iframe object code"),w=i("self_closing_elements","colgroup dd dt li option p td tfoot th thead tr"),C=i("short_ended_elements","area base basefont br col frame hr img input isindex link meta param embed source wbr track"),x=i("boolean_attributes","checked compact declare defer disabled ismap multiple nohref noresize noshade nowrap readonly selected autoplay loop controls"),k=i("non_empty_elements","td th iframe video audio object script pre code",C),S=i("move_caret_before_on_enter_elements","table",k),O=i("text_block_elements","h1 h2 h3 h4 h5 h6 p div address pre form blockquote center dir fieldset header footer article section hgroup aside nav figure"),T=i("block_elements","hr table tbody thead tfoot th tr td li ol ul caption dl dt dd noscript menu isindex option datalist select optgroup figcaption",O),M=i("text_inline_elements","span strong b em i font strike u var cite dfn code mark q sup sub samp"),s((e.special||"script noscript style textarea").split(" "),function(e){R[e]=new RegExp("</"+e+"[^>]*>","gi")}),e.valid_elements?p(e.valid_elements):(s(b,function(e,t){N[t]={attributes:e.attributes,attributesOrder:e.attributesOrder},I[t]=e.children}),"html5"!=e.schema&&s(t("strong/b em/i"),function(e){e=t(e,"/"),N[e[1]].outputName=e[0]}),s(t("ol ul sub sup blockquote span font a table tbody tr strong em b i"),function(e){N[e]&&(N[e].removeEmpty=!0)}),s(t("p h1 h2 h3 h4 h5 h6 th td pre div address caption"),function(e){N[e].paddEmpty=!0}),s(t("span"),function(e){N[e].removeEmptyAttrs=!0})),h(e.custom_elements),m(e.valid_children),f(e.extended_valid_elements),m("+ol[ul|ol],+ul[ul|ol]"),s({dd:"dl",dt:"dl",li:"ul ol",td:"tr",th:"tr",tr:"tbody thead tfoot",tbody:"table",thead:"table",tfoot:"table",legend:"fieldset",area:"map",param:"video audio object"},function(e,n){N[n]&&(N[n].parentsRequired=t(e))}),e.invalid_elements&&s(l(e.invalid_elements),function(e){N[e]&&delete N[e]}),g("span")||f("span[!data-mce-type|*]"),A.children=I,A.getValidStyles=function(){return v},A.getInvalidStyles=function(){return y},A.getValidClasses=function(){return E},A.getBoolAttrs=function(){return x},A.getBlockElements=function(){return T},A.getTextBlockElements=function(){return O},A.getTextInlineElements=function(){return M},A.getShortEndedElements=function(){return C},A.getSelfClosingElements=function(){return w},A.getNonEmptyElements=function(){return k},A.getMoveCaretBeforeOnEnterElements=function(){return S},A.getWhiteSpaceElements=function(){return _},A.getSpecialElements=function(){return R},A.isValidChild=function(e,t){var n=I[e];return!(!n||!n[t])},A.isValid=function(e,t){var n,r,o=g(e);if(o){if(!t)return!0;if(o.attributes[t])return!0;if(n=o.attributePatterns)for(r=n.length;r--;)if(n[r].pattern.test(e))return!0}return!1},A.getElementRule=g,A.getCustomElements=function(){return D},A.addValidElements=f,A.setValidElements=p,A.addCustomElements=h,A.addValidChildren=m,A.elements=N}}),i("tinymce/html/SaxParser",["tinymce/html/Schema","tinymce/html/Entities","tinymce/util/Tools"],function(e,t,n){function r(e,t,n){var r,o,i,a,s=1;for(a=e.getShortEndedElements(),i=/<([!?\/])?([A-Za-z0-9\-_\:\.]+)((?:\s+[^"\'>]+(?:(?:"[^"]*")|(?:\'[^\']*\')|[^>]*))*|\/|\s+)>/g,i.lastIndex=r=n;o=i.exec(t);){if(r=i.lastIndex,"/"===o[1])s--;else if(!o[1]){if(o[2]in a)continue;s++}if(0===s)break}return r}function o(o,a){function s(){}var u=this;o=o||{},u.schema=a=a||new e,o.fix_self_closing!==!1&&(o.fix_self_closing=!0),i("comment cdata text start end pi doctype".split(" "),function(e){e&&(u[e]=o[e]||s)}),u.parse=function(e){function i(e){var t,n;for(t=F.length;t--&&F[t].name!==e;);if(t>=0){for(n=F.length-1;n>=t;n--)e=F[n],e.valid&&L.end(e.name);F.length=t}}function s(e,t,n,r,i){var a,s,u=/[\s\u0000-\u001F]+/g;if(t=t.toLowerCase(),n=t in y?t:H(n||r||i||""),_&&!m&&0!==t.indexOf("data-")){if(a=T[t],!a&&k){for(s=k.length;s--&&(a=k[s],!a.pattern.test(t)););s===-1&&(a=null)}if(!a)return;if(a.validValues&&!(n in a.validValues))return}if(z[t]&&!o.allow_script_urls){var l=n.replace(u,"");try{l=decodeURIComponent(l)}catch(e){l=unescape(l)}if(q.test(l))return;if(!o.allow_html_data_urls&&W.test(l)&&!/^data:image\//i.test(l))return}d.map[t]=n,d.push({name:t,value:n})}var u,l,c,d,f,p,h,m,g,v,y,b,_,w,C,x,E,T,k,S,O,M,A,N,I,P,D,R,j,L=this,B=0,F=[],U=0,H=t.decode,z=n.makeMap("src,href,data,background,formaction,poster"),q=/((java|vb)script|mhtml):/i,W=/^data:/i;for(I=new RegExp("<(?:(?:!--([\\w\\W]*?)-->)|(?:!\\[CDATA\\[([\\w\\W]*?)\\]\\]>)|(?:!DOCTYPE([\\w\\W]*?)>)|(?:\\?([^\\s\\/<>]+) ?([\\w\\W]*?)[?/]>)|(?:\\/([^>]+)>)|(?:([A-Za-z0-9\\-_\\:\\.]+)((?:\\s+[^\"'>]+(?:(?:\"[^\"]*\")|(?:'[^']*')|[^>]*))*|\\/|\\s+)>))","g"),P=/([\w:\-]+)(?:\s*=\s*(?:(?:\"((?:[^\"])*)\")|(?:\'((?:[^\'])*)\')|([^>\s]+)))?/g,v=a.getShortEndedElements(),N=o.self_closing_elements||a.getSelfClosingElements(),y=a.getBoolAttrs(),_=o.validate,g=o.remove_internals,j=o.fix_self_closing,D=a.getSpecialElements();u=I.exec(e);){if(B<u.index&&L.text(H(e.substr(B,u.index-B))),l=u[6])l=l.toLowerCase(),":"===l.charAt(0)&&(l=l.substr(1)),i(l);else if(l=u[7]){if(l=l.toLowerCase(),":"===l.charAt(0)&&(l=l.substr(1)),b=l in v,j&&N[l]&&F.length>0&&F[F.length-1].name===l&&i(l),!_||(w=a.getElementRule(l))){if(C=!0,_&&(T=w.attributes,k=w.attributePatterns),(E=u[8])?(m=E.indexOf("data-mce-type")!==-1,m&&g&&(C=!1),d=[],d.map={},E.replace(P,s)):(d=[],d.map={}),_&&!m){if(S=w.attributesRequired,O=w.attributesDefault,M=w.attributesForced,A=w.removeEmptyAttrs,A&&!d.length&&(C=!1),M)for(f=M.length;f--;)x=M[f],h=x.name,R=x.value,"{$uid}"===R&&(R="mce_"+U++),d.map[h]=R,d.push({name:h,value:R});if(O)for(f=O.length;f--;)x=O[f],h=x.name,h in d.map||(R=x.value,"{$uid}"===R&&(R="mce_"+U++),d.map[h]=R,d.push({name:h,value:R}));if(S){for(f=S.length;f--&&!(S[f]in d.map););f===-1&&(C=!1)}if(x=d.map["data-mce-bogus"]){if("all"===x){B=r(a,e,I.lastIndex),I.lastIndex=B;continue}C=!1}}C&&L.start(l,d,b)}else C=!1;if(c=D[l]){c.lastIndex=B=u.index+u[0].length,(u=c.exec(e))?(C&&(p=e.substr(B,u.index-B)),B=u.index+u[0].length):(p=e.substr(B),B=e.length),C&&(p.length>0&&L.text(p,!0),L.end(l)),I.lastIndex=B;continue}b||(E&&E.indexOf("/")==E.length-1?C&&L.end(l):F.push({name:l,valid:C}))}else(l=u[1])?(">"===l.charAt(0)&&(l=" "+l),o.allow_conditional_comments||"[if"!==l.substr(0,3).toLowerCase()||(l=" "+l),L.comment(l)):(l=u[2])?L.cdata(l):(l=u[3])?L.doctype(l):(l=u[4])&&L.pi(l,u[5]);B=u.index+u[0].length}for(B<e.length&&L.text(H(e.substr(B))),f=F.length-1;f>=0;f--)l=F[f],l.valid&&L.end(l.name)}}var i=n.each;return o.findEndTag=r,o}),i("tinymce/html/DomParser",["tinymce/html/Node","tinymce/html/Schema","tinymce/html/SaxParser","tinymce/util/Tools"],function(e,t,n,r){var o=r.makeMap,i=r.each,a=r.explode,s=r.extend,u=function(t,n){t.padd_empty_with_br?n.empty().append(new e("br","1")).shortEnded=!0:n.empty().append(new e("#text","3")).value=" "},l=function(e,t){return e&&e.firstChild===e.lastChild&&e.firstChild.name===t};return function(c,d){function f(t){var n,r,i,a,s,u,c,f,h,m,g,v,y,b,_,w;for(v=o("tr,td,th,tbody,thead,tfoot,table"),m=d.getNonEmptyElements(),g=d.getWhiteSpaceElements(),y=d.getTextBlockElements(),b=d.getSpecialElements(),n=0;n<t.length;n++)if(r=t[n],r.parent&&!r.fixed)if(y[r.name]&&"li"==r.parent.name){for(_=r.next;_&&y[_.name];)_.name="li",_.fixed=!0,r.parent.insert(_,r.parent),_=_.next;r.unwrap(r)}else{for(a=[r],i=r.parent;i&&!d.isValidChild(i.name,r.name)&&!v[i.name];i=i.parent)a.push(i);if(i&&a.length>1){for(a.reverse(),s=u=p.filterNode(a[0].clone()),h=0;h<a.length-1;h++){for(d.isValidChild(u.name,a[h].name)?(c=p.filterNode(a[h].clone()),u.append(c)):c=u,f=a[h].firstChild;f&&f!=a[h+1];)w=f.next,c.append(f),f=w;u=c}s.isEmpty(m,g)?i.insert(r,a[0],!0):(i.insert(s,a[0],!0),i.insert(r,s)),i=a[0],(i.isEmpty(m,g)||l(i,"br"))&&i.empty().remove()}else if(r.parent){if("li"===r.name){if(_=r.prev,_&&("ul"===_.name||"ul"===_.name)){_.append(r);continue}if(_=r.next,_&&("ul"===_.name||"ul"===_.name)){_.insert(r,_.firstChild,!0);continue}r.wrap(p.filterNode(new e("ul",1)));continue}d.isValidChild(r.parent.name,"div")&&d.isValidChild("div",r.name)?r.wrap(p.filterNode(new e("div",1))):b[r.name]?r.empty().remove():r.unwrap()}}}var p=this,h={},m=[],g={},v={};c=c||{},c.validate=!("validate"in c)||c.validate,c.root_name=c.root_name||"body",p.schema=d=d||new t,p.filterNode=function(e){var t,n,r;n in h&&(r=g[n],r?r.push(e):g[n]=[e]),t=m.length;for(;t--;)n=m[t].name,n in e.attributes.map&&(r=v[n],r?r.push(e):v[n]=[e]);return e},p.addNodeFilter=function(e,t){i(a(e),function(e){var n=h[e];n||(h[e]=n=[]),n.push(t)})},p.addAttributeFilter=function(e,t){i(a(e),function(e){var n;for(n=0;n<m.length;n++)if(m[n].name===e)return void m[n].callbacks.push(t);m.push({name:e,callbacks:[t]})})},p.parse=function(t,r){function i(){function e(e){e&&(r=e.firstChild,r&&3==r.type&&(r.value=r.value.replace(A,"")),r=e.lastChild,r&&3==r.type&&(r.value=r.value.replace(I,"")))}var t,n,r=b.firstChild;if(d.isValidChild(b.name,B.toLowerCase())){for(;r;)t=r.next,3==r.type||1==r.type&&"p"!==r.name&&!M[r.name]&&!r.attr("data-mce-type")?n?n.append(r):(n=a(B,1),n.attr(c.forced_root_block_attrs),b.insert(n,r),n.append(r)):(e(n),n=null),r=t;e(n)}}function a(t,n){var r,o=new e(t,n);return t in h&&(r=g[t],r?r.push(o):g[t]=[o]),o}function l(e){var t,n,r,o,i=d.getBlockElements();for(t=e.prev;t&&3===t.type;){if(r=t.value.replace(I,""),r.length>0)return void(t.value=r);if(n=t.next){if(3==n.type&&n.value.length){t=t.prev;continue}if(!i[n.name]&&"script"!=n.name&&"style"!=n.name){t=t.prev;continue}}o=t.prev,t.remove(),t=o}}function p(e){var t,n={};for(t in e)"li"!==t&&"p"!=t&&(n[t]=e[t]);return n}var y,b,_,w,C,x,E,T,k,S,O,M,A,N,I,P,D,R,j,L,B,F=[];if(r=r||{},g={},v={},M=s(o("script,style,head,html,body,title,meta,param"),d.getBlockElements()),L=d.getNonEmptyElements(),j=d.children,O=c.validate,B="forced_root_block"in r?r.forced_root_block:c.forced_root_block,R=d.getWhiteSpaceElements(),A=/^[ \t\r\n]+/,I=/[ \t\r\n]+$/,P=/[ \t\r\n]+/g,D=/^[ \t\r\n]+$/,y=new n({validate:O,allow_script_urls:c.allow_script_urls,allow_conditional_comments:c.allow_conditional_comments,self_closing_elements:p(d.getSelfClosingElements()),cdata:function(e){_.append(a("#cdata",4)).value=e},text:function(e,t){var n;N||(e=e.replace(P," "),_.lastChild&&M[_.lastChild.name]&&(e=e.replace(A,""))),0!==e.length&&(n=a("#text",3),n.raw=!!t,_.append(n).value=e)},comment:function(e){_.append(a("#comment",8)).value=e},pi:function(e,t){_.append(a(e,7)).value=t,l(_)},doctype:function(e){var t;t=_.append(a("#doctype",10)),t.value=e,l(_)},start:function(e,t,n){var r,o,i,s,u;if(i=O?d.getElementRule(e):{}){for(r=a(i.outputName||e,1),r.attributes=t,r.shortEnded=n,_.append(r),u=j[_.name],u&&j[r.name]&&!u[r.name]&&F.push(r),o=m.length;o--;)s=m[o].name,s in t.map&&(k=v[s],k?k.push(r):v[s]=[r]);M[e]&&l(r),n||(_=r),!N&&R[e]&&(N=!0)}},end:function(e){var t,n,r,o,i;if(n=O?d.getElementRule(e):{}){if(M[e]&&!N){if(t=_.firstChild,t&&3===t.type)if(r=t.value.replace(A,""),r.length>0)t.value=r,t=t.next;else for(o=t.next,t.remove(),t=o;t&&3===t.type;)r=t.value,o=t.next,(0===r.length||D.test(r))&&(t.remove(),t=o),t=o;if(t=_.lastChild,t&&3===t.type)if(r=t.value.replace(I,""),r.length>0)t.value=r,t=t.prev;else for(o=t.prev,t.remove(),t=o;t&&3===t.type;)r=t.value,o=t.prev,(0===r.length||D.test(r))&&(t.remove(),t=o),t=o}if(N&&R[e]&&(N=!1),(n.removeEmpty||n.paddEmpty)&&_.isEmpty(L,R))if(n.paddEmpty)u(c,_);else if(!_.attributes.map.name&&!_.attributes.map.id)return i=_.parent,M[_.name]?_.empty().remove():_.unwrap(),void(_=i);_=_.parent}}},d),b=_=new e(r.context||c.root_name,11),y.parse(t),O&&F.length&&(r.context?r.invalid=!0:f(F)),B&&("body"==b.name||r.isRootContent)&&i(),!r.invalid){for(S in g){for(k=h[S],w=g[S],E=w.length;E--;)w[E].parent||w.splice(E,1);for(C=0,x=k.length;C<x;C++)k[C](w,S,r)}for(C=0,x=m.length;C<x;C++)if(k=m[C],k.name in v){for(w=v[k.name],E=w.length;E--;)w[E].parent||w.splice(E,1);for(E=0,T=k.callbacks.length;E<T;E++)k.callbacks[E](w,k.name,r)}}return b},c.remove_trailing_brs&&p.addNodeFilter("br",function(t){var n,r,o,i,a,l,f,p,h=t.length,m=s({},d.getBlockElements()),g=d.getNonEmptyElements(),v=d.getNonEmptyElements();for(m.body=1,n=0;n<h;n++)if(r=t[n],o=r.parent,m[r.parent.name]&&r===o.lastChild){for(a=r.prev;a;){if(l=a.name,"span"!==l||"bookmark"!==a.attr("data-mce-type")){if("br"!==l)break;if("br"===l){r=null;break}}a=a.prev}r&&(r.remove(),o.isEmpty(g,v)&&(f=d.getElementRule(o.name),f&&(f.removeEmpty?o.remove():f.paddEmpty&&u(c,o))))}else{for(i=r;o&&o.firstChild===i&&o.lastChild===i&&(i=o,!m[o.name]);)o=o.parent;i===o&&c.padd_empty_with_br!==!0&&(p=new e("#text",3),p.value=" ",r.replace(p))}}),c.allow_unsafe_link_target||p.addAttributeFilter("href",function(e){function t(e){return e=n(e),e?[e,u].join(" "):u}function n(e){var t=new RegExp("("+u.replace(" ","|")+")","g");return e&&(e=r.trim(e.replace(t,""))),e?e:null}function o(e,r){return r?t(e):n(e)}for(var i,a,s=e.length,u="noopener noreferrer";s--;)i=e[s],a=i.attr("rel"),"a"===i.name&&i.attr("rel",o(a,"_blank"==i.attr("target")))}),c.allow_html_in_named_anchor||p.addAttributeFilter("id,name",function(e){for(var t,n,r,o,i=e.length;i--;)if(o=e[i],"a"===o.name&&o.firstChild&&!o.attr("href")){r=o.parent,t=o.lastChild;do n=t.prev,r.insert(t,o),t=n;while(t)}}),c.fix_list_elements&&p.addNodeFilter("ul,ol",function(t){for(var n,r,o=t.length;o--;)if(n=t[o],r=n.parent,"ul"===r.name||"ol"===r.name)if(n.prev&&"li"===n.prev.name)n.prev.append(n);else{var i=new e("li",1);i.attr("style","list-style-type: none"),n.wrap(i)}}),c.validate&&d.getValidClasses()&&p.addAttributeFilter("class",function(e){for(var t,n,r,o,i,a,s,u=e.length,l=d.getValidClasses();u--;){for(t=e[u],n=t.attr("class").split(" "),i="",r=0;r<n.length;r++)o=n[r],s=!1,a=l["*"],a&&a[o]&&(s=!0),a=l[t.name],!s&&a&&a[o]&&(s=!0),s&&(i&&(i+=" "),i+=o);i.length||(i=null),t.attr("class",i)}})}}),i("tinymce/html/Writer",["tinymce/html/Entities","tinymce/util/Tools"],function(e,t){var n=t.makeMap;return function(t){var r,o,i,a,s,u=[];return t=t||{},r=t.indent,o=n(t.indent_before||""),i=n(t.indent_after||""),a=e.getEncodeFunc(t.entity_encoding||"raw",t.entities),s="html"==t.element_format,{start:function(e,t,n){var l,c,d,f;if(r&&o[e]&&u.length>0&&(f=u[u.length-1],f.length>0&&"\n"!==f&&u.push("\n")),u.push("<",e),t)for(l=0,c=t.length;l<c;l++)d=t[l],u.push(" ",d.name,'="',a(d.value,!0),'"');!n||s?u[u.length]=">":u[u.length]=" />",n&&r&&i[e]&&u.length>0&&(f=u[u.length-1],f.length>0&&"\n"!==f&&u.push("\n"))},end:function(e){var t;u.push("</",e,">"),r&&i[e]&&u.length>0&&(t=u[u.length-1],t.length>0&&"\n"!==t&&u.push("\n"))},text:function(e,t){e.length>0&&(u[u.length]=t?e:a(e))},cdata:function(e){u.push("<![CDATA[",e,"]]>")},comment:function(e){u.push("<!--",e,"-->")},pi:function(e,t){t?u.push("<?",e," ",a(t),"?>"):u.push("<?",e,"?>"),r&&u.push("\n")},doctype:function(e){u.push("<!DOCTYPE",e,">",r?"\n":"")},reset:function(){u.length=0},getContent:function(){return u.join("").replace(/\n$/,"")}}}}),i("tinymce/html/Serializer",["tinymce/html/Writer","tinymce/html/Schema"],function(e,t){return function(n,r){var o=this,i=new e(n);n=n||{},n.validate=!("validate"in n)||n.validate,o.schema=r=r||new t,o.writer=i,o.serialize=function(e){function t(e){var n,s,u,l,c,d,f,p,h,m=o[e.type];if(m)m(e);else{if(n=e.name,s=e.shortEnded,u=e.attributes,a&&u&&u.length>1&&(d=[],d.map={},h=r.getElementRule(e.name))){for(f=0,p=h.attributesOrder.length;f<p;f++)l=h.attributesOrder[f],l in u.map&&(c=u.map[l],d.map[l]=c,d.push({name:l,value:c}));for(f=0,p=u.length;f<p;f++)l=u[f].name,l in d.map||(c=u.map[l],d.map[l]=c,d.push({name:l,value:c}));u=d}if(i.start(e.name,u,s),!s){if(e=e.firstChild)do t(e);while(e=e.next);i.end(n)}}}var o,a;return a=n.validate,o={3:function(e){i.text(e.value,e.raw)},8:function(e){i.comment(e.value)},7:function(e){i.pi(e.name,e.value)},10:function(e){i.doctype(e.value)},4:function(e){i.cdata(e.value)},11:function(e){if(e=e.firstChild)do t(e);while(e=e.next)}},i.reset(),1!=e.type||n.inner?o[11](e):t(e),i.getContent()}}}),i("tinymce/dom/Serializer",["tinymce/dom/DOMUtils","tinymce/html/DomParser","tinymce/html/SaxParser","tinymce/html/Entities","tinymce/html/Serializer","tinymce/html/Node","tinymce/html/Schema","tinymce/Env","tinymce/util/Tools","tinymce/text/Zwsp"],function(e,t,n,r,o,i,a,s,u,l){function c(e){function t(e){return e&&"br"===e.name}var n,r;n=e.lastChild,t(n)&&(r=n.prev,t(r)&&(n.remove(),r.remove()))}var d=u.each,f=u.trim,p=e.DOM;return function(e,i){function h(e){var t=new RegExp(["<span[^>]+data-mce-bogus[^>]+>[​\ufeff]+<\\/span>","\\s?("+w.join("|")+')="[^"]+"'].join("|"),"gi");return e=l.trim(e.replace(t,""))}function m(e){var t,r,o,a,s,u=e,l=/<(\w+) [^>]*data-mce-bogus="all"[^>]*>/g,c=i.schema;for(u=h(u),s=c.getShortEndedElements();a=l.exec(u);)r=l.lastIndex,o=a[0].length,t=s[a[1]]?r:n.findEndTag(c,u,r),u=u.substring(0,r-o)+u.substring(t),l.lastIndex=r-o;return u}function g(){return m(i.getBody().innerHTML)}function v(e){u.inArray(w,e)===-1&&(_.addAttributeFilter(e,function(e,t){for(var n=e.length;n--;)e[n].attr(t,null)}),w.push(e))}var y,b,_,w=["data-mce-selected"];return i&&(y=i.dom,b=i.schema),y=y||p,b=b||new a(e),e.entity_encoding=e.entity_encoding||"named",e.remove_trailing_brs=!("remove_trailing_brs"in e)||e.remove_trailing_brs,_=new t(e,b),_.addAttributeFilter("data-mce-tabindex",function(e,t){for(var n,r=e.length;r--;)n=e[r],n.attr("tabindex",n.attributes.map["data-mce-tabindex"]),n.attr(t,null)}),_.addAttributeFilter("src,href,style",function(t,n){for(var r,o,i,a=t.length,s="data-mce-"+n,u=e.url_converter,l=e.url_converter_scope;a--;)r=t[a],o=r.attributes.map[s],o!==i?(r.attr(n,o.length>0?o:null),r.attr(s,null)):(o=r.attributes.map[n],"style"===n?o=y.serializeStyle(y.parseStyle(o),r.name):u&&(o=u.call(l,o,n,r.name)),r.attr(n,o.length>0?o:null))}),_.addAttributeFilter("class",function(e){for(var t,n,r=e.length;r--;)t=e[r],n=t.attr("class"),n&&(n=t.attr("class").replace(/(?:^|\s)mce-item-\w+(?!\S)/g,""),t.attr("class",n.length>0?n:null))}),_.addAttributeFilter("data-mce-type",function(e,t,n){for(var r,o=e.length;o--;)r=e[o],"bookmark"!==r.attributes.map["data-mce-type"]||n.cleanup||r.remove()}),_.addNodeFilter("noscript",function(e){for(var t,n=e.length;n--;)t=e[n].firstChild,t&&(t.value=r.decode(t.value))}),_.addNodeFilter("script,style",function(e,t){function n(e){return e.replace(/(<!--\[CDATA\[|\]\]-->)/g,"\n").replace(/^[\r\n]*|[\r\n]*$/g,"").replace(/^\s*((<!--)?(\s*\/\/)?\s*<!\[CDATA\[|(<!--\s*)?\/\*\s*<!\[CDATA\[\s*\*\/|(\/\/)?\s*<!--|\/\*\s*<!--\s*\*\/)\s*[\r\n]*/gi,"").replace(/\s*(\/\*\s*\]\]>\s*\*\/(-->)?|\s*\/\/\s*\]\]>(-->)?|\/\/\s*(-->)?|\]\]>|\/\*\s*-->\s*\*\/|\s*-->\s*)\s*$/g,"")}for(var r,o,i,a=e.length;a--;)r=e[a],o=r.firstChild?r.firstChild.value:"","script"===t?(i=r.attr("type"),i&&r.attr("type","mce-no/type"==i?null:i.replace(/^mce\-/,"")),o.length>0&&(r.firstChild.value="// <![CDATA[\n"+n(o)+"\n// ]]>")):o.length>0&&(r.firstChild.value="<!--\n"+n(o)+"\n-->")}),_.addNodeFilter("#comment",function(e){for(var t,n=e.length;n--;)t=e[n],0===t.value.indexOf("[CDATA[")?(t.name="#cdata",t.type=4,t.value=t.value.replace(/^\[CDATA\[|\]\]$/g,"")):0===t.value.indexOf("mce:protected ")&&(t.name="#text",t.type=3,t.raw=!0,t.value=unescape(t.value).substr(14))}),_.addNodeFilter("xml:namespace,input",function(e,t){for(var n,r=e.length;r--;)n=e[r],7===n.type?n.remove():1===n.type&&("input"!==t||"type"in n.attributes.map||n.attr("type","text"))}),_.addAttributeFilter("data-mce-src,data-mce-href,data-mce-style,data-mce-selected,data-mce-expando,data-mce-type,data-mce-resize",function(e,t){for(var n=e.length;n--;)e[n].attr(t,null)}),{schema:b,addNodeFilter:_.addNodeFilter,addAttributeFilter:_.addAttributeFilter,serialize:function(t,n){var r,i,a,u,p,h,m=this;return s.ie&&y.select("script,style,select,map").length>0?(p=t.innerHTML,t=t.cloneNode(!1),y.setHTML(t,p)):t=t.cloneNode(!0),r=document.implementation,r.createHTMLDocument&&(i=r.createHTMLDocument(""),d("BODY"==t.nodeName?t.childNodes:[t],function(e){i.body.appendChild(i.importNode(e,!0))}),t="BODY"!=t.nodeName?i.body.firstChild:i.body,a=y.doc,y.doc=i),n=n||{},n.format=n.format||"html",n.selection&&(n.forced_root_block=""),n.no_events||(n.node=t,m.onPreProcess(n)),h=_.parse(f(n.getInner?t.innerHTML:y.getOuterHTML(t)),n),c(h),u=new o(e,b),n.content=u.serialize(h),n.cleanup||(n.content=l.trim(n.content),n.content=n.content.replace(/\uFEFF/g,"")),n.no_events||m.onPostProcess(n),a&&(y.doc=a),n.node=null,n.content},addRules:function(e){b.addValidElements(e)},setRules:function(e){b.setValidElements(e)},onPreProcess:function(e){i&&i.fire("PreProcess",e)},onPostProcess:function(e){i&&i.fire("PostProcess",e)},addTempAttr:v,trimHtml:h,getTrimmedContent:g,trimContent:m}}}),i("tinymce/dom/TridentSelection",[],function(){function e(e){function t(t,n){var r,o,i,a,s,u,l,c,d=0,f=-1;if(r=t.duplicate(),r.collapse(n),c=r.parentElement(),c.ownerDocument===e.dom.doc){for(;"false"===c.contentEditable;)c=c.parentNode;if(!c.hasChildNodes())return{node:c,inside:1};for(a=c.children,o=a.length-1;d<=o;)if(l=Math.floor((d+o)/2),s=a[l],r.moveToElementText(s),f=r.compareEndPoints(n?"StartToStart":"EndToEnd",t),f>0)o=l-1;else{if(!(f<0))return{node:s};d=l+1}if(f<0)for(s?r.collapse(!1):(r.moveToElementText(c),r.collapse(!0),s=c,i=!0),u=0;0!==r.compareEndPoints(n?"StartToStart":"StartToEnd",t)&&0!==r.move("character",1)&&c==r.parentElement();)u++;else for(r.collapse(!0),u=0;0!==r.compareEndPoints(n?"StartToStart":"StartToEnd",t)&&0!==r.move("character",-1)&&c==r.parentElement();)u++;return{node:s,position:f,offset:u,inside:i}}}function n(){function n(e){var n,r,o,i,a,s=t(c,e),u=0;if(n=s.node,r=s.offset,s.inside&&!n.hasChildNodes())return void d[e?"setStart":"setEnd"](n,0);if(r===i)return void d[e?"setStartBefore":"setEndAfter"](n);if(s.position<0){if(o=s.inside?n.firstChild:n.nextSibling,!o)return void d[e?"setStartAfter":"setEndAfter"](n);if(!r)return void(3==o.nodeType?d[e?"setStart":"setEnd"](o,0):d[e?"setStartBefore":"setEndBefore"](o));for(;o;){if(3==o.nodeType&&(a=o.nodeValue,u+=a.length,u>=r)){n=o,u-=r,u=a.length-u;break}o=o.nextSibling}}else{if(o=n.previousSibling,!o)return d[e?"setStartBefore":"setEndBefore"](n);if(!r)return void(3==n.nodeType?d[e?"setStart":"setEnd"](o,n.nodeValue.length):d[e?"setStartAfter":"setEndAfter"](o));for(;o;){if(3==o.nodeType&&(u+=o.nodeValue.length,u>=r)){n=o,u-=r;break}o=o.previousSibling}}d[e?"setStart":"setEnd"](n,u)}var i,a,s,u,l,c=e.getRng(),d=o.createRng();if(i=c.item?c.item(0):c.parentElement(),i.ownerDocument!=o.doc)return d;if(a=e.isCollapsed(),c.item)return d.setStart(i.parentNode,o.nodeIndex(i)),d.setEnd(d.startContainer,d.startOffset+1),d;try{n(!0),a||n()}catch(t){if(t.number!=-2147024809)throw t;l=r.getBookmark(2),s=c.duplicate(),s.collapse(!0),i=s.parentElement(),a||(s=c.duplicate(),s.collapse(!1),u=s.parentElement(),u.innerHTML=u.innerHTML),i.innerHTML=i.innerHTML,r.moveToBookmark(l),c=e.getRng(),n(!0),a||n()}return d}var r=this,o=e.dom,i=!1;this.getBookmark=function(n){function r(e){var t,n,r,i,a=[];for(t=e.parentNode,n=o.getRoot().parentNode;t!=n&&9!==t.nodeType;){for(r=t.children,i=r.length;i--;)if(e===r[i]){a.push(i);break}e=t,t=t.parentNode}return a}function i(e){var n;if(n=t(a,e))return{position:n.position,offset:n.offset,indexes:r(n.node),inside:n.inside}}var a=e.getRng(),s={};return 2===n&&(a.item?s.start={ctrl:!0,indexes:r(a.item(0))}:(s.start=i(!0),e.isCollapsed()||(s.end=i()))),s},this.moveToBookmark=function(e){function t(e){var t,n,r,i;for(t=o.getRoot(),n=e.length-1;n>=0;n--)i=t.children,r=e[n],r<=i.length-1&&(t=i[r]);return t}function n(n){var o,a,s,u,l=e[n?"start":"end"];l&&(o=l.position>0,a=i.createTextRange(),a.moveToElementText(t(l.indexes)),u=l.offset,u!==s?(a.collapse(l.inside||o),a.moveStart("character",o?-u:u)):a.collapse(n),r.setEndPoint(n?"StartToStart":"EndToStart",a),n&&r.collapse(!0))}var r,i=o.doc.body;e.start&&(e.start.ctrl?(r=i.createControlRange(),r.addElement(t(e.start.indexes)),r.select()):(r=i.createTextRange(),n(!0),n(),r.select()))},this.addRange=function(t){function n(e){var t,n,a,d,f;a=o.create("a"),t=e?s:l,n=e?u:c,d=r.duplicate(),t!=h&&t!=h.documentElement||(t=m,n=0),3==t.nodeType?(t.parentNode.insertBefore(a,t),d.moveToElementText(a),d.moveStart("character",n),o.remove(a),r.setEndPoint(e?"StartToStart":"EndToEnd",d)):(f=t.childNodes,f.length?(n>=f.length?o.insertAfter(a,f[f.length-1]):t.insertBefore(a,f[n]),d.moveToElementText(a)):t.canHaveHTML&&(t.innerHTML="<span>&#xFEFF;</span>",a=t.firstChild,d.moveToElementText(a),d.collapse(i)),r.setEndPoint(e?"StartToStart":"EndToEnd",d),o.remove(a))}var r,a,s,u,l,c,d,f,p,h=e.dom.doc,m=h.body;if(s=t.startContainer,u=t.startOffset,l=t.endContainer,c=t.endOffset,r=m.createTextRange(),s==l&&1==s.nodeType){if(u==c&&!s.hasChildNodes()){if(s.canHaveHTML)return d=s.previousSibling,d&&!d.hasChildNodes()&&o.isBlock(d)?d.innerHTML="&#xFEFF;":d=null,s.innerHTML="<span>&#xFEFF;</span><span>&#xFEFF;</span>",r.moveToElementText(s.lastChild),r.select(),o.doc.selection.clear(),s.innerHTML="",void(d&&(d.innerHTML=""));u=o.nodeIndex(s),s=s.parentNode}if(u==c-1)try{if(p=s.childNodes[u],a=m.createControlRange(),a.addElement(p),a.select(),f=e.getRng(),f.item&&p===f.item(0))return}catch(e){}}n(!0),n(),r.select()},this.getRangeAt=n}return e}),i("tinymce/util/VK",["tinymce/Env"],function(e){return{BACKSPACE:8,DELETE:46,DOWN:40,ENTER:13,LEFT:37,RIGHT:39,SPACEBAR:32,TAB:9,UP:38,modifierPressed:function(e){return e.shiftKey||e.ctrlKey||e.altKey||this.metaKeyPressed(e)},metaKeyPressed:function(t){return e.mac?t.metaKey:t.ctrlKey&&!t.altKey}}}),i("tinymce/dom/ControlSelection",["tinymce/util/VK","tinymce/util/Tools","tinymce/util/Delay","tinymce/Env","tinymce/dom/NodeType"],function(e,t,n,r,o){function i(e,t){for(;t&&t!=e;){if(s(t)||a(t))return t;t=t.parentNode}return null}var a=o.isContentEditableFalse,s=o.isContentEditableTrue;return function(o,s){function u(e){var t=s.settings.object_resizing;return t!==!1&&!r.iOS&&("string"!=typeof t&&(t="table,img,div"),"false"!==e.getAttribute("data-mce-resize")&&(e!=s.getBody()&&s.dom.is(e,t)))}function l(t){var n,r,o,i,a;n=t.screenX-N,r=t.screenY-I,F=n*M[2]+R,U=r*M[3]+j,F=F<5?5:F,U=U<5?5:U,o="IMG"==T.nodeName&&s.settings.resize_img_proportional!==!1?!e.modifierPressed(t):e.modifierPressed(t)||"IMG"==T.nodeName&&M[2]*M[3]!==0,o&&(K(n)>K(r)?(U=$(F*L),F=$(U/L)):(F=$(U/L),U=$(F*L))),q.setStyles(k,{width:F,height:U}),i=M.startPos.x+n,a=M.startPos.y+r,i=i>0?i:0,a=a>0?a:0,q.setStyles(S,{left:i,top:a,display:"block"}),S.innerHTML=F+" &times; "+U,M[2]<0&&k.clientWidth<=F&&q.setStyle(k,"left",P+(R-F)),M[3]<0&&k.clientHeight<=U&&q.setStyle(k,"top",D+(j-U)),n=X.scrollWidth-H,r=X.scrollHeight-z,n+r!==0&&q.setStyles(S,{left:i-n,top:a-r}),B||(s.fire("ObjectResizeStart",{target:T,width:R,height:j}),B=!0)}function c(){function e(e,t){t&&(T.style[e]||!s.schema.isValid(T.nodeName.toLowerCase(),e)?q.setStyle(T,e,t):q.setAttrib(T,e,t))}B=!1,e("width",F),e("height",U),q.unbind(V,"mousemove",l),q.unbind(V,"mouseup",c),G!=V&&(q.unbind(G,"mousemove",l),q.unbind(G,"mouseup",c)),q.remove(k),q.remove(S),Y&&"TABLE"!=T.nodeName||d(T),s.fire("ObjectResized",{target:T,width:F,height:U}),q.setAttrib(T,"style",q.getAttrib(T,"style")),s.nodeChanged()}function d(e,t,n){var o,i,a,d,p;f(),w(),o=q.getPos(e,X),P=o.x,D=o.y,p=e.getBoundingClientRect(),i=p.width||p.right-p.left,a=p.height||p.bottom-p.top,T!=e&&(_(),T=e,F=U=0),d=s.fire("ObjectSelected",{target:e}),u(e)&&!d.isDefaultPrevented()?W(O,function(e,o){function s(t){N=t.screenX,I=t.screenY,R=T.clientWidth,j=T.clientHeight,L=j/R,M=e,e.startPos={x:i*e[0]+P,y:a*e[1]+D},H=X.scrollWidth,z=X.scrollHeight,k=T.cloneNode(!0),q.addClass(k,"mce-clonedresizable"),q.setAttrib(k,"data-mce-bogus","all"),k.contentEditable=!1,k.unSelectabe=!0,q.setStyles(k,{left:P,top:D,margin:0}),k.removeAttribute("data-mce-selected"),X.appendChild(k),q.bind(V,"mousemove",l),q.bind(V,"mouseup",c),G!=V&&(q.bind(G,"mousemove",l),q.bind(G,"mouseup",c)),S=q.add(X,"div",{class:"mce-resize-helper","data-mce-bogus":"all"},R+" &times; "+j)}var u;return t?void(o==t&&s(n)):(u=q.get("mceResizeHandle"+o),
+u&&q.remove(u),u=q.add(X,"div",{id:"mceResizeHandle"+o,"data-mce-bogus":"all",class:"mce-resizehandle",unselectable:!0,style:"cursor:"+o+"-resize; margin:0; padding:0"}),r.ie&&(u.contentEditable=!1),q.bind(u,"mousedown",function(e){e.stopImmediatePropagation(),e.preventDefault(),s(e)}),e.elm=u,void q.setStyles(u,{left:i*e[0]+P-u.offsetWidth/2,top:a*e[1]+D-u.offsetHeight/2}))}):f(),T.setAttribute("data-mce-selected","1")}function f(){var e,t;w(),T&&T.removeAttribute("data-mce-selected");for(e in O)t=q.get("mceResizeHandle"+e),t&&(q.unbind(t),q.remove(t))}function p(e){function t(e,t){if(e)do if(e===t)return!0;while(e=e.parentNode)}var n,r;if(!B&&!s.removed)return W(q.select("img[data-mce-selected],hr[data-mce-selected]"),function(e){e.removeAttribute("data-mce-selected")}),r="mousedown"==e.type?e.target:o.getNode(),r=q.$(r).closest(Y?"table":"table,img,hr")[0],t(r,X)&&(C(),n=o.getStart(!0),t(n,r)&&t(o.getEnd(!0),r)&&(!Y||r!=n&&"IMG"!==n.nodeName))?void d(r):void f()}function h(e,t,n){e&&e.attachEvent&&e.attachEvent("on"+t,n)}function m(e,t,n){e&&e.detachEvent&&e.detachEvent("on"+t,n)}function g(e){var t,n,r,o,i,a,u,l=e.srcElement;t=l.getBoundingClientRect(),a=A.clientX-t.left,u=A.clientY-t.top;for(n in O)if(r=O[n],o=l.offsetWidth*r[0],i=l.offsetHeight*r[1],K(o-a)<8&&K(i-u)<8){M=r;break}B=!0,s.fire("ObjectResizeStart",{target:T,width:T.clientWidth,height:T.clientHeight}),s.getDoc().selection.empty(),d(l,n,A)}function v(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function y(e){return a(i(s.getBody(),e))}function b(e){var t=e.srcElement;if(y(t))return void v(e);if(t!=T){if(s.fire("ObjectSelected",{target:t}),_(),0===t.id.indexOf("mceResizeHandle"))return void(e.returnValue=!1);"IMG"!=t.nodeName&&"TABLE"!=t.nodeName||(f(),T=t,h(t,"resizestart",g))}}function _(){m(T,"resizestart",g)}function w(){for(var e in O){var t=O[e];t.elm&&(q.unbind(t.elm),delete t.elm)}}function C(){try{s.getDoc().execCommand("enableObjectResizing",!1,!1)}catch(e){}}function x(e){var t;if(Y){t=V.body.createControlRange();try{return t.addElement(e),t.select(),!0}catch(e){}}}function E(){T=k=null,Y&&(_(),m(X,"controlselect",b))}var T,k,S,O,M,A,N,I,P,D,R,j,L,B,F,U,H,z,q=s.dom,W=t.each,V=s.getDoc(),G=document,Y=r.ie&&r.ie<11,K=Math.abs,$=Math.round,X=s.getBody();O={nw:[0,0,-1,-1],ne:[1,0,1,-1],se:[1,1,1,1],sw:[0,1,-1,1]};var Q=".mce-content-body";return s.contentStyles.push(Q+" div.mce-resizehandle {position: absolute;border: 1px solid black;box-sizing: box-sizing;background: #FFF;width: 7px;height: 7px;z-index: 10000}"+Q+" .mce-resizehandle:hover {background: #000}"+Q+" img[data-mce-selected],"+Q+" hr[data-mce-selected] {outline: 1px solid black;resize: none}"+Q+" .mce-clonedresizable {position: absolute;"+(r.gecko?"":"outline: 1px dashed black;")+"opacity: .5;filter: alpha(opacity=50);z-index: 10000}"+Q+" .mce-resize-helper {background: #555;background: rgba(0,0,0,0.75);border-radius: 3px;border: 1px;color: white;display: none;font-family: sans-serif;font-size: 12px;white-space: nowrap;line-height: 14px;margin: 5px 10px;padding: 5px;position: absolute;z-index: 10001}"),s.on("init",function(){Y?(s.on("ObjectResized",function(e){"TABLE"!=e.target.nodeName&&(f(),x(e.target))}),h(X,"controlselect",b),s.on("mousedown",function(e){A=e})):(C(),r.ie>=11&&(s.on("mousedown click",function(e){var t=e.target,n=t.nodeName;B||!/^(TABLE|IMG|HR)$/.test(n)||y(t)||(s.selection.select(t,"TABLE"==n),"mousedown"==e.type&&s.nodeChanged())}),s.dom.bind(X,"mscontrolselect",function(e){function t(e){n.setEditorTimeout(s,function(){s.selection.select(e)})}return y(e.target)?(e.preventDefault(),void t(e.target)):void(/^(TABLE|IMG|HR)$/.test(e.target.nodeName)&&(e.preventDefault(),"IMG"==e.target.tagName&&t(e.target)))})));var e=n.throttle(function(e){s.composing||p(e)});s.on("nodechange ResizeEditor ResizeWindow drop",e),s.on("keyup compositionend",function(t){T&&"TABLE"==T.nodeName&&e(t)}),s.on("hide blur",f)}),s.on("remove",w),{isResizable:u,showResizeRect:d,hideResizeRect:f,updateResizeRect:p,controlSelect:x,destroy:E}}}),i("tinymce/util/Fun",[],function(){function e(e){return function(){return e}}function t(e){return function(t){return!e(t)}}function n(e,t){return function(n){return e(t(n))}}function r(){var e=s.call(arguments);return function(t){for(var n=0;n<e.length;n++)if(e[n](t))return!0;return!1}}function o(){var e=s.call(arguments);return function(t){for(var n=0;n<e.length;n++)if(!e[n](t))return!1;return!0}}function i(e){var t=s.call(arguments);return t.length-1>=e.length?e.apply(this,t.slice(1)):function(){var e=t.concat([].slice.call(arguments));return i.apply(this,e)}}function a(){}var s=[].slice;return{constant:e,negate:t,and:o,or:r,curry:i,compose:n,noop:a}}),i("tinymce/caret/CaretCandidate",["tinymce/dom/NodeType","tinymce/util/Arr","tinymce/caret/CaretContainer"],function(e,t,n){function r(e){return!m(e)&&(d(e)?!f(e.parentNode):p(e)||c(e)||h(e)||l(e))}function o(e,t){for(e=e.parentNode;e&&e!=t;e=e.parentNode){if(l(e))return!1;if(u(e))return!0}return!0}function i(e){return!!l(e)&&t.reduce(e.getElementsByTagName("*"),function(e,t){return e||u(t)},!1)!==!0}function a(e){return p(e)||i(e)}function s(e,t){return r(e)&&o(e,t)}var u=e.isContentEditableTrue,l=e.isContentEditableFalse,c=e.isBr,d=e.isText,f=e.matchNodeNames("script style textarea"),p=e.matchNodeNames("img input textarea hr iframe video audio object"),h=e.matchNodeNames("table"),m=n.isCaretContainer;return{isCaretCandidate:r,isInEditable:o,isAtomic:a,isEditableCaretCandidate:s}}),i("tinymce/geom/ClientRect",[],function(){function e(e){return e?{left:c(e.left),top:c(e.top),bottom:c(e.bottom),right:c(e.right),width:c(e.width),height:c(e.height)}:{left:0,top:0,bottom:0,right:0,width:0,height:0}}function t(t,n){return t=e(t),n?t.right=t.left:(t.left=t.left+t.width,t.right=t.left),t.width=0,t}function n(e,t){return e.left===t.left&&e.top===t.top&&e.bottom===t.bottom&&e.right===t.right}function r(e,t,n){return e>=0&&e<=Math.min(t.height,n.height)/2}function o(e,t){return e.bottom<t.top||!(e.top>t.bottom)&&r(t.top-e.bottom,e,t)}function i(e,t){return e.top>t.bottom||!(e.bottom<t.top)&&r(t.bottom-e.top,e,t)}function a(e,t){return e.left<t.left}function s(e,t){return e.right>t.right}function u(e,t){return o(e,t)?-1:i(e,t)?1:a(e,t)?-1:s(e,t)?1:0}function l(e,t,n){return t>=e.left&&t<=e.right&&n>=e.top&&n<=e.bottom}var c=Math.round;return{clone:e,collapse:t,isEqual:n,isAbove:o,isBelow:i,isLeft:a,isRight:s,compare:u,containsXY:l}}),i("tinymce/text/ExtendingChar",[],function(){function e(e){return"string"==typeof e&&e.charCodeAt(0)>=768&&t.test(e)}var t=new RegExp("[̀-ͯ҃-҇҈-҉֑-ֽֿׁ-ׂׄ-ׇׅؐ-ًؚ-ٰٟۖ-ۜ۟-ۤۧ-۪ۨ-ܑۭܰ-݊ަ-ް߫-߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࣣ-ंऺ़ु-ै्॑-ॗॢ-ॣঁ়াু-ৄ্ৗৢ-ৣਁ-ਂ਼ੁ-ੂੇ-ੈੋ-੍ੑੰ-ੱੵઁ-ં઼ુ-ૅે-ૈ્ૢ-ૣଁ଼ାିୁ-ୄ୍ୖୗୢ-ୣஂாீ்ௗఀా-ీె-ైొ-్ౕ-ౖౢ-ౣಁ಼ಿೂೆೌ-್ೕ-ೖೢ-ೣഁാു-ൄ്ൗൢ-ൣ්ාි-ුූෟัิ-ฺ็-๎ັິ-ູົ-ຼ່-ໍ༘-ཱ༹༙༵༷-ཾྀ-྄྆-྇ྍ-ྗྙ-ྼ࿆ိ-ူဲ-့္-်ွ-ှၘ-ၙၞ-ၠၱ-ၴႂႅ-ႆႍႝ፝-፟ᜒ-᜔ᜲ-᜴ᝒ-ᝓᝲ-ᝳ឴-឵ិ-ួំ៉-៓៝᠋-᠍ᢩᤠ-ᤢᤧ-ᤨᤲ᤹-᤻ᨗ-ᨘᨛᩖᩘ-ᩞ᩠ᩢᩥ-ᩬᩳ-᩿᩼᪰-᪽᪾ᬀ-ᬃ᬴ᬶ-ᬺᬼᭂ᭫-᭳ᮀ-ᮁᮢ-ᮥᮨ-ᮩ᮫-ᮭ᯦ᯨ-ᯩᯭᯯ-ᯱᰬ-ᰳᰶ-᰷᳐-᳔᳒-᳢᳠-᳨᳭᳴᳸-᳹᷀-᷵᷼-᷿‌-‍⃐-⃜⃝-⃠⃡⃢-⃤⃥-⃰⳯-⵿⳱ⷠ-〪ⷿ-〭〮-゙〯-゚꙯꙰-꙲ꙴ-꙽ꚞ-ꚟ꛰-꛱ꠂ꠆ꠋꠥ-ꠦ꣄꣠-꣱ꤦ-꤭ꥇ-ꥑꦀ-ꦂ꦳ꦶ-ꦹꦼꧥꨩ-ꨮꨱ-ꨲꨵ-ꨶꩃꩌꩼꪰꪲ-ꪴꪷ-ꪸꪾ-꪿꫁ꫬ-ꫭ꫶ꯥꯨ꯭ﬞ︀-️︠-︯ﾞ-ﾟ]");return{isExtendingChar:e}}),i("tinymce/caret/CaretPosition",["tinymce/util/Fun","tinymce/dom/NodeType","tinymce/dom/DOMUtils","tinymce/dom/RangeUtils","tinymce/caret/CaretCandidate","tinymce/geom/ClientRect","tinymce/text/ExtendingChar"],function(e,t,n,r,o,i,a){function s(e){return"createRange"in e?e.createRange():n.DOM.createRng()}function u(e){return e&&/[\r\n\t ]/.test(e)}function l(e){var t,n=e.startContainer,r=e.startOffset;return!!(u(e.toString())&&v(n.parentNode)&&(t=n.data,u(t[r-1])||u(t[r+1])))}function c(e){function t(e){var t,n=e.ownerDocument,r=s(n),o=n.createTextNode(" "),a=e.parentNode;return a.insertBefore(o,e),r.setStart(o,0),r.setEnd(o,1),t=i.clone(r.getBoundingClientRect()),a.removeChild(o),t}function n(e){var n,r;return r=e.getClientRects(),n=r.length>0?i.clone(r[0]):i.clone(e.getBoundingClientRect()),b(e)&&0===n.left?t(e):n}function r(e,t){return e=i.collapse(e,t),e.width=1,e.right=e.left+1,e}function o(e){0!==e.height&&(p.length>0&&i.isEqual(e,p[p.length-1])||p.push(e))}function u(e,t){var i=s(e.ownerDocument);if(t<e.data.length){if(a.isExtendingChar(e.data[t]))return p;if(a.isExtendingChar(e.data[t-1])&&(i.setStart(e,t),i.setEnd(e,t+1),!l(i)))return o(r(n(i),!1)),p}t>0&&(i.setStart(e,t-1),i.setEnd(e,t),l(i)||o(r(n(i),!1))),t<e.data.length&&(i.setStart(e,t),i.setEnd(e,t+1),l(i)||o(r(n(i),!0)))}var c,d,p=[];if(y(e.container()))return u(e.container(),e.offset()),p;if(f(e.container()))if(e.isAtEnd())d=w(e.container(),e.offset()),y(d)&&u(d,d.data.length),g(d)&&!b(d)&&o(r(n(d),!1));else{if(d=w(e.container(),e.offset()),y(d)&&u(d,0),g(d)&&e.isAtEnd())return o(r(n(d),!1)),p;c=w(e.container(),e.offset()-1),g(c)&&!b(c)&&(h(c)||h(d)||!g(d))&&o(r(n(c),!1)),g(d)&&o(r(n(d),!0))}return p}function d(t,n,r){function o(){return y(t)?0===n:0===n}function i(){return y(t)?n>=t.data.length:n>=t.childNodes.length}function a(){var e;return e=s(t.ownerDocument),e.setStart(t,n),e.setEnd(t,n),e}function u(){return r||(r=c(new d(t,n))),r}function l(){return u().length>0}function f(e){return e&&t===e.container()&&n===e.offset()}function p(e){return w(t,e?n-1:n)}return{container:e.constant(t),offset:e.constant(n),toRange:a,getClientRects:u,isVisible:l,isAtStart:o,isAtEnd:i,isEqual:f,getNode:p}}var f=t.isElement,p=o.isCaretCandidate,h=t.matchStyleValues("display","block table"),m=t.matchStyleValues("float","left right"),g=e.and(f,p,e.negate(m)),v=e.negate(t.matchStyleValues("white-space","pre pre-line pre-wrap")),y=t.isText,b=t.isBr,_=n.nodeIndex,w=r.getNode;return d.fromRangeStart=function(e){return new d(e.startContainer,e.startOffset)},d.fromRangeEnd=function(e){return new d(e.endContainer,e.endOffset)},d.after=function(e){return new d(e.parentNode,_(e)+1)},d.before=function(e){return new d(e.parentNode,_(e))},d}),i("tinymce/caret/CaretBookmark",["tinymce/dom/NodeType","tinymce/dom/DOMUtils","tinymce/util/Fun","tinymce/util/Arr","tinymce/caret/CaretPosition"],function(e,t,n,r,o){function i(e){var t=e.parentNode;return v(t)?i(t):t}function a(e){return e?r.reduce(e.childNodes,function(e,t){return v(t)&&"BR"!=t.nodeName?e=e.concat(a(t)):e.push(t),e},[]):[]}function s(e,t){for(;(e=e.previousSibling)&&g(e);)t+=e.data.length;return t}function u(e){return function(t){return e===t}}function l(t){var n,o,s;return n=a(i(t)),o=r.findIndex(n,u(t),t),n=n.slice(0,o+1),s=r.reduce(n,function(e,t,r){return g(t)&&g(n[r-1])&&e++,e},0),n=r.filter(n,e.matchNodeNames(t.nodeName)),o=r.findIndex(n,u(t),t),o-s}function c(e){var t;return t=g(e)?"text()":e.nodeName.toLowerCase(),t+"["+l(e)+"]"}function d(e,t,n){var r=[];for(t=t.parentNode;t!=e&&(!n||!n(t));t=t.parentNode)r.push(t);return r}function f(t,o){var i,a,u,l,f,p=[];return i=o.container(),a=o.offset(),g(i)?u=s(i,a):(l=i.childNodes,a>=l.length?(u="after",a=l.length-1):u="before",i=l[a]),p.push(c(i)),f=d(t,i),f=r.filter(f,n.negate(e.isBogus)),p=p.concat(r.map(f,function(e){return c(e)})),p.reverse().join("/")+","+u}function p(t,n,o){var i=a(t);return i=r.filter(i,function(e,t){return!g(e)||!g(i[t-1])}),i=r.filter(i,e.matchNodeNames(n)),i[o]}function h(e,t){for(var n,r=e,i=0;g(r);){if(n=r.data.length,t>=i&&t<=i+n){e=r,t-=i;break}if(!g(r.nextSibling)){e=r,t=n;break}i+=n,r=r.nextSibling}return t>e.data.length&&(t=e.data.length),new o(e,t)}function m(e,t){var n,i,a;return t?(n=t.split(","),t=n[0].split("/"),a=n.length>1?n[1]:"before",i=r.reduce(t,function(e,t){return(t=/([\w\-\(\)]+)\[([0-9]+)\]/.exec(t))?("text()"===t[1]&&(t[1]="#text"),p(e,t[1],parseInt(t[2],10))):null},e),i?g(i)?h(i,parseInt(a,10)):(a="after"===a?y(i)+1:y(i),new o(i.parentNode,a)):null):null}var g=e.isText,v=e.isBogus,y=t.nodeIndex;return{create:f,resolve:m}}),i("tinymce/dom/BookmarkManager",["tinymce/Env","tinymce/util/Tools","tinymce/caret/CaretContainer","tinymce/caret/CaretBookmark","tinymce/caret/CaretPosition","tinymce/dom/NodeType","tinymce/dom/RangeUtils"],function(e,t,n,r,o,i,a){function s(s){var l=s.dom;this.getBookmark=function(e,c){function d(e,n){var r=0;return t.each(l.select(e),function(e){if("all"!==e.getAttribute("data-mce-bogus"))return e!=n&&void r++}),r}function f(e){function t(t){var n,r,o,i=t?"start":"end";n=e[i+"Container"],r=e[i+"Offset"],1==n.nodeType&&"TR"==n.nodeName&&(o=n.childNodes,n=o[Math.min(t?r:r-1,o.length-1)],n&&(r=t?0:n.childNodes.length,e["set"+(t?"Start":"End")](n,r)))}return t(!0),t(),e}function p(e){function t(e,t){var r,o,i=e[t?"startContainer":"endContainer"],a=e[t?"startOffset":"endOffset"],s=[],u=0;if(3==i.nodeType){if(c)for(r=i.previousSibling;r&&3==r.nodeType;r=r.previousSibling)a+=r.nodeValue.length;s.push(a)}else o=i.childNodes,a>=o.length&&o.length&&(u=1,a=Math.max(0,o.length-1)),s.push(l.nodeIndex(o[a],c)+u);for(;i&&i!=n;i=i.parentNode)s.push(l.nodeIndex(i,c));return s}var n=l.getRoot(),r={};return r.start=t(e,!0),s.isCollapsed()||(r.end=t(e)),r}function h(e){function t(e,t){var r;if(i.isElement(e)&&(e=a.getNode(e,t),u(e)))return e;if(n.isCaretContainer(e)){if(i.isText(e)&&n.isCaretContainerBlock(e)&&(e=e.parentNode),r=e.previousSibling,u(r))return r;if(r=e.nextSibling,u(r))return r}}return t(e.startContainer,e.startOffset)||t(e.endContainer,e.endOffset)}var m,g,v,y,b,_,w,C="&#xFEFF;";if(2==e)return _=s.getNode(),b=_?_.nodeName:null,m=s.getRng(),u(_)||"IMG"==b?{name:b,index:d(b,_)}:s.tridentSel?s.tridentSel.getBookmark(e):(_=h(m),_?(b=_.tagName,{name:b,index:d(b,_)}):p(m));if(3==e)return m=s.getRng(),{start:r.create(l.getRoot(),o.fromRangeStart(m)),end:r.create(l.getRoot(),o.fromRangeEnd(m))};if(e)return{rng:s.getRng()};if(m=s.getRng(),v=l.uniqueId(),y=s.isCollapsed(),w="overflow:hidden;line-height:0px",m.duplicate||m.item){if(m.item)return _=m.item(0),b=_.nodeName,{name:b,index:d(b,_)};g=m.duplicate();try{m.collapse(),m.pasteHTML('<span data-mce-type="bookmark" id="'+v+'_start" style="'+w+'">'+C+"</span>"),y||(g.collapse(!1),m.moveToElementText(g.parentElement()),0===m.compareEndPoints("StartToEnd",g)&&g.move("character",-1),g.pasteHTML('<span data-mce-type="bookmark" id="'+v+'_end" style="'+w+'">'+C+"</span>"))}catch(e){return null}}else{if(_=s.getNode(),b=_.nodeName,"IMG"==b)return{name:b,index:d(b,_)};g=f(m.cloneRange()),y||(g.collapse(!1),g.insertNode(l.create("span",{"data-mce-type":"bookmark",id:v+"_end",style:w},C))),m=f(m),m.collapse(!0),m.insertNode(l.create("span",{"data-mce-type":"bookmark",id:v+"_start",style:w},C))}return s.moveToBookmark({id:v,keep:1}),{id:v}},this.moveToBookmark=function(n){function o(e){var t,r,o,i,a=n[e?"start":"end"];if(a){for(o=a[0],r=d,t=a.length-1;t>=1;t--){if(i=r.childNodes,a[t]>i.length-1)return;r=i[a[t]]}3===r.nodeType&&(o=Math.min(a[0],r.nodeValue.length)),1===r.nodeType&&(o=Math.min(a[0],r.childNodes.length)),e?c.setStart(r,o):c.setEnd(r,o)}return!0}function i(r){var o,i,a,s,u=l.get(n.id+"_"+r),c=n.keep;if(u&&(o=u.parentNode,"start"==r?(c?(o=u.firstChild,i=1):i=l.nodeIndex(u),f=p=o,h=m=i):(c?(o=u.firstChild,i=1):i=l.nodeIndex(u),p=o,m=i),!c)){for(s=u.previousSibling,a=u.nextSibling,t.each(t.grep(u.childNodes),function(e){3==e.nodeType&&(e.nodeValue=e.nodeValue.replace(/\uFEFF/g,""))});u=l.get(n.id+"_"+r);)l.remove(u,1);s&&a&&s.nodeType==a.nodeType&&3==s.nodeType&&!e.opera&&(i=s.nodeValue.length,s.appendData(a.nodeValue),l.remove(a),"start"==r?(f=p=s,h=m=i):(p=s,m=i))}}function a(t){return!l.isBlock(t)||t.innerHTML||e.ie||(t.innerHTML='<br data-mce-bogus="1" />'),t}function u(){var e,t;return e=l.createRng(),t=r.resolve(l.getRoot(),n.start),e.setStart(t.container(),t.offset()),t=r.resolve(l.getRoot(),n.end),e.setEnd(t.container(),t.offset()),e}var c,d,f,p,h,m;if(n)if(t.isArray(n.start)){if(c=l.createRng(),d=l.getRoot(),s.tridentSel)return s.tridentSel.moveToBookmark(n);o(!0)&&o()&&s.setRng(c)}else"string"==typeof n.start?s.setRng(u(n)):n.id?(i("start"),i("end"),f&&(c=l.createRng(),c.setStart(a(f),h),c.setEnd(a(p),m),s.setRng(c))):n.name?s.select(l.select(n.name)[n.index]):n.rng&&s.setRng(n.rng)}}var u=i.isContentEditableFalse;return s.isBookmarkNode=function(e){return e&&"SPAN"===e.tagName&&"bookmark"===e.getAttribute("data-mce-type")},s}),i("tinymce/dom/Selection",["tinymce/dom/TreeWalker","tinymce/dom/TridentSelection","tinymce/dom/ControlSelection","tinymce/dom/RangeUtils","tinymce/dom/BookmarkManager","tinymce/dom/NodeType","tinymce/Env","tinymce/util/Tools","tinymce/caret/CaretPosition"],function(e,t,n,o,i,a,s,u,l){function c(e,r,o,a){var s=this;s.dom=e,s.win=r,s.serializer=o,s.editor=a,s.bookmarkManager=new i(s),s.controlSelection=new n(s,a),s.win.getSelection||(s.tridentSel=new t(s))}var d=u.each,f=u.trim,p=s.ie;return c.prototype={setCursorLocation:function(e,t){var n=this,r=n.dom.createRng();e?(r.setStart(e,t),r.setEnd(e,t),n.setRng(r),n.collapse(!1)):(n._moveEndPoint(r,n.editor.getBody(),!0),n.setRng(r))},getContent:function(e){var t,n,o,i=this,a=i.getRng(),s=i.dom.create("body"),u=i.getSel();return e=e||{},t=n="",e.get=!0,e.format=e.format||"html",e.selection=!0,i.editor.fire("BeforeGetContent",e),"text"==e.format?i.isCollapsed()?"":a.text||(u.toString?u.toString():""):(a.cloneContents?(o=a.cloneContents(),o&&s.appendChild(o)):a.item!==r||a.htmlText!==r?(s.innerHTML="<br>"+(a.item?a.item(0).outerHTML:a.htmlText),s.removeChild(s.firstChild)):s.innerHTML=a.toString(),/^\s/.test(s.innerHTML)&&(t=" "),/\s+$/.test(s.innerHTML)&&(n=" "),e.getInner=!0,e.content=i.isCollapsed()?"":t+i.serializer.serialize(s,e)+n,i.editor.fire("GetContent",e),e.content)},setContent:function(e,t){var n,r,o,i=this,a=i.getRng(),s=i.win.document;if(t=t||{format:"html"},t.set=!0,t.selection=!0,t.content=e,t.no_events||i.editor.fire("BeforeSetContent",t),e=t.content,a.insertNode){e+='<span id="__caret">_</span>',a.startContainer==s&&a.endContainer==s?s.body.innerHTML=e:(a.deleteContents(),0===s.body.childNodes.length?s.body.innerHTML=e:a.createContextualFragment?a.insertNode(a.createContextualFragment(e)):(r=s.createDocumentFragment(),o=s.createElement("div"),r.appendChild(o),o.outerHTML=e,a.insertNode(r))),n=i.dom.get("__caret"),a=s.createRange(),a.setStartBefore(n),a.setEndBefore(n),i.setRng(a),i.dom.remove("__caret");try{i.setRng(a)}catch(e){}}else a.item&&(s.execCommand("Delete",!1,null),a=i.getRng()),/^\s+/.test(e)?(a.pasteHTML('<span id="__mce_tmp">_</span>'+e),i.dom.remove("__mce_tmp")):a.pasteHTML(e);t.no_events||i.editor.fire("SetContent",t)},getStart:function(e){var t,n,r,o,i=this,a=i.getRng();if(a.duplicate||a.item){if(a.item)return a.item(0);for(r=a.duplicate(),r.collapse(1),t=r.parentElement(),t.ownerDocument!==i.dom.doc&&(t=i.dom.getRoot()),n=o=a.parentElement();o=o.parentNode;)if(o==t){t=n;break}return t}return t=a.startContainer,1==t.nodeType&&t.hasChildNodes()&&(e&&a.collapsed||(t=t.childNodes[Math.min(t.childNodes.length-1,a.startOffset)])),t&&3==t.nodeType?t.parentNode:t},getEnd:function(e){var t,n,r=this,o=r.getRng();return o.duplicate||o.item?o.item?o.item(0):(o=o.duplicate(),o.collapse(0),t=o.parentElement(),t.ownerDocument!==r.dom.doc&&(t=r.dom.getRoot()),t&&"BODY"==t.nodeName?t.lastChild||t:t):(t=o.endContainer,n=o.endOffset,1==t.nodeType&&t.hasChildNodes()&&(e&&o.collapsed||(t=t.childNodes[n>0?n-1:n])),t&&3==t.nodeType?t.parentNode:t)},getBookmark:function(e,t){return this.bookmarkManager.getBookmark(e,t)},moveToBookmark:function(e){return this.bookmarkManager.moveToBookmark(e)},select:function(e,t){var n,r=this,o=r.dom,i=o.createRng();if(r.lastFocusBookmark=null,e){if(!t&&r.controlSelection.controlSelect(e))return;n=o.nodeIndex(e),i.setStart(e.parentNode,n),i.setEnd(e.parentNode,n+1),t&&(r._moveEndPoint(i,e,!0),r._moveEndPoint(i,e)),r.setRng(i)}return e},isCollapsed:function(){var e=this,t=e.getRng(),n=e.getSel();return!(!t||t.item)&&(t.compareEndPoints?0===t.compareEndPoints("StartToEnd",t):!n||t.collapsed)},collapse:function(e){var t,n=this,r=n.getRng();r.item&&(t=r.item(0),r=n.win.document.body.createTextRange(),r.moveToElementText(t)),r.collapse(!!e),n.setRng(r)},getSel:function(){var e=this.win;return e.getSelection?e.getSelection():e.document.selection},getRng:function(e){function t(e,t,n){try{return t.compareBoundaryPoints(e,n)}catch(e){return-1}}var n,r,o,i,a,s,u=this;if(!u.win)return null;if(i=u.win.document,"undefined"==typeof i||null===i)return null;if(!e&&u.lastFocusBookmark){var l=u.lastFocusBookmark;return l.startContainer?(r=i.createRange(),r.setStart(l.startContainer,l.startOffset),r.setEnd(l.endContainer,l.endOffset)):r=l,r}if(e&&u.tridentSel)return u.tridentSel.getRangeAt(0);try{(n=u.getSel())&&(r=n.rangeCount>0?n.getRangeAt(0):n.createRange?n.createRange():i.createRange())}catch(e){}if(s=u.editor.fire("GetSelectionRange",{range:r}),s.range!==r)return s.range;if(p&&r&&r.setStart&&i.selection){try{a=i.selection.createRange()}catch(e){}a&&a.item&&(o=a.item(0),r=i.createRange(),r.setStartBefore(o),r.setEndAfter(o))}return r||(r=i.createRange?i.createRange():i.body.createTextRange()),r.setStart&&9===r.startContainer.nodeType&&r.collapsed&&(o=u.dom.getRoot(),r.setStart(o,0),r.setEnd(o,0)),u.selectedRange&&u.explicitRange&&(0===t(r.START_TO_START,r,u.selectedRange)&&0===t(r.END_TO_END,r,u.selectedRange)?r=u.explicitRange:(u.selectedRange=null,u.explicitRange=null)),r},setRng:function(e,t){var n,r,o,i=this;if(e)if(e.select){i.explicitRange=null;try{e.select()}catch(e){}}else if(i.tridentSel){if(e.cloneRange)try{i.tridentSel.addRange(e)}catch(e){}}else{if(n=i.getSel(),o=i.editor.fire("SetSelectionRange",{range:e}),e=o.range,n){i.explicitRange=e;try{n.removeAllRanges(),n.addRange(e)}catch(e){}t===!1&&n.extend&&(n.collapse(e.endContainer,e.endOffset),n.extend(e.startContainer,e.startOffset)),i.selectedRange=n.rangeCount>0?n.getRangeAt(0):null}e.collapsed||e.startContainer!=e.endContainer||!n.setBaseAndExtent||s.ie||e.endOffset-e.startOffset<2&&e.startContainer.hasChildNodes()&&(r=e.startContainer.childNodes[e.startOffset],r&&"IMG"==r.tagName&&(n.setBaseAndExtent(e.startContainer,e.startOffset,e.endContainer,e.endOffset),n.anchorNode===e.startContainer&&n.focusNode===e.endContainer||n.setBaseAndExtent(r,0,r,1))),i.editor.fire("AfterSetSelectionRange",{range:e})}},setNode:function(e){var t=this;return t.setContent(t.dom.getOuterHTML(e)),e},getNode:function(){function e(e,t){for(var n=e;e&&3===e.nodeType&&0===e.length;)e=t?e.nextSibling:e.previousSibling;return e||n}var t,n,r,o,i,a=this,s=a.getRng(),u=a.dom.getRoot();return s?(n=s.startContainer,r=s.endContainer,o=s.startOffset,i=s.endOffset,s.setStart?(t=s.commonAncestorContainer,!s.collapsed&&(n==r&&i-o<2&&n.hasChildNodes()&&(t=n.childNodes[o]),3===n.nodeType&&3===r.nodeType&&(n=n.length===o?e(n.nextSibling,!0):n.parentNode,r=0===i?e(r.previousSibling,!1):r.parentNode,n&&n===r))?n:t&&3==t.nodeType?t.parentNode:t):(t=s.item?s.item(0):s.parentElement(),t.ownerDocument!==a.win.document&&(t=u),t)):u},getSelectedBlocks:function(t,n){var r,o,i=this,a=i.dom,s=[];if(o=a.getRoot(),t=a.getParent(t||i.getStart(),a.isBlock),n=a.getParent(n||i.getEnd(),a.isBlock),t&&t!=o&&s.push(t),t&&n&&t!=n){r=t;for(var u=new e(t,o);(r=u.next())&&r!=n;)a.isBlock(r)&&s.push(r)}return n&&t!=n&&n!=o&&s.push(n),s},isForward:function(){var e,t,n=this.dom,r=this.getSel();return!(r&&r.anchorNode&&r.focusNode)||(e=n.createRng(),e.setStart(r.anchorNode,r.anchorOffset),e.collapse(!0),t=n.createRng(),t.setStart(r.focusNode,r.focusOffset),t.collapse(!0),e.compareBoundaryPoints(e.START_TO_START,t)<=0)},normalize:function(){var e=this,t=e.getRng();return s.range&&new o(e.dom).normalize(t)&&e.setRng(t,e.isForward()),t},selectorChanged:function(e,t){var n,r=this;return r.selectorChangedData||(r.selectorChangedData={},n={},r.editor.on("NodeChange",function(e){var t=e.element,o=r.dom,i=o.getParents(t,null,o.getRoot()),a={};d(r.selectorChangedData,function(e,t){d(i,function(r){if(o.is(r,t))return n[t]||(d(e,function(e){e(!0,{node:r,selector:t,parents:i})}),n[t]=e),a[t]=e,!1})}),d(n,function(e,r){a[r]||(delete n[r],d(e,function(e){e(!1,{node:t,selector:r,parents:i})}))})})),r.selectorChangedData[e]||(r.selectorChangedData[e]=[]),r.selectorChangedData[e].push(t),r},getScrollContainer:function(){for(var e,t=this.dom.getRoot();t&&"BODY"!=t.nodeName;){if(t.scrollHeight>t.clientHeight){e=t;break}t=t.parentNode}return e},scrollIntoView:function(e,t){function n(e){for(var t=0,n=0,r=e;r&&r.nodeType;)t+=r.offsetLeft||0,n+=r.offsetTop||0,r=r.offsetParent;return{x:t,y:n}}var r,o,i,s,u=this,l=u.dom,c=l.getRoot(),d=0;if(a.isElement(e)){if(t===!1&&(d=e.offsetHeight),"BODY"!=c.nodeName){var f=u.getScrollContainer();if(f)return r=n(e).y-n(f).y+d,s=f.clientHeight,i=f.scrollTop,void((r<i||r+25>i+s)&&(f.scrollTop=r<i?r:r-s+25))}o=l.getViewPort(u.editor.getWin()),r=l.getPos(e).y+d,i=o.y,s=o.h,(r<o.y||r+25>i+s)&&u.editor.getWin().scrollTo(0,r<i?r:r-s+25)}},placeCaretAt:function(e,t){this.setRng(o.getCaretRangeFromPoint(e,t,this.editor.getDoc()))},_moveEndPoint:function(t,n,r){var o=n,i=new e(n,o),a=this.dom.schema.getNonEmptyElements();do{if(3==n.nodeType&&0!==f(n.nodeValue).length)return void(r?t.setStart(n,0):t.setEnd(n,n.nodeValue.length));if(a[n.nodeName]&&!/^(TD|TH)$/.test(n.nodeName))return void(r?t.setStartBefore(n):"BR"==n.nodeName?t.setEndBefore(n):t.setEndAfter(n));if(s.ie&&s.ie<11&&this.dom.isBlock(n)&&this.dom.isEmpty(n))return void(r?t.setStart(n,0):t.setEnd(n,0))}while(n=r?i.next():i.prev());"BODY"==o.nodeName&&(r?t.setStart(o,0):t.setEnd(o,o.childNodes.length))},getBoundingClientRect:function(){var e=this.getRng();return e.collapsed?l.fromRangeStart(e).getClientRects()[0]:e.getBoundingClientRect()},destroy:function(){this.win=null,this.controlSelection.destroy()}},c}),i("tinymce/dom/ElementUtils",["tinymce/dom/BookmarkManager","tinymce/util/Tools"],function(e,t){function n(t){this.compare=function(n,o){function i(e){var n={};return r(t.getAttribs(e),function(r){var o=r.nodeName.toLowerCase();0!==o.indexOf("_")&&"style"!==o&&0!==o.indexOf("data-")&&(n[o]=t.getAttrib(e,o))}),n}function a(e,t){var n,r;for(r in e)if(e.hasOwnProperty(r)){if(n=t[r],"undefined"==typeof n)return!1;if(e[r]!=n)return!1;delete t[r]}for(r in t)if(t.hasOwnProperty(r))return!1;return!0}return n.nodeName==o.nodeName&&(!!a(i(n),i(o))&&(!!a(t.parseStyle(t.getAttrib(n,"style")),t.parseStyle(t.getAttrib(o,"style")))&&(!e.isBookmarkNode(n)&&!e.isBookmarkNode(o))))}}var r=t.each;return n}),i("tinymce/fmt/Preview",["tinymce/dom/DOMUtils","tinymce/util/Tools","tinymce/html/Schema"],function(e,t,n){function r(e,r){function o(e,t){t.classes.length&&l.addClass(e,t.classes.join(" ")),l.setAttribs(e,t.attrs)}function i(e){var t;return c="string"==typeof e?{name:e,classes:[],attrs:{}}:e,t=l.create(c.name),o(t,c),t}function a(e,n){var r="string"!=typeof e?e.nodeName.toLowerCase():e,o=f.getElementRule(r),i=o.parentsRequired;return!(!i||!i.length)&&(n&&t.inArray(i,n)!==-1?n:i[0])}function s(e,n,r){var o,u,c,d=n.length&&n[0],f=d&&d.name;if(c=a(e,f))f==c?(u=n[0],n=n.slice(1)):u=c;else if(d)u=n[0],n=n.slice(1);else if(!r)return e;return u&&(o=i(u),o.appendChild(e)),r&&(o||(o=l.create("div"),o.appendChild(e)),t.each(r,function(t){var n=i(t);o.insertBefore(n,e)})),s(o,n,u&&u.siblings)}var u,c,d,f=r&&r.schema||new n({});return e&&e.length?(c=e[0],u=i(c),d=l.create("div"),d.appendChild(s(u,e.slice(1),c.siblings)),d):""}function o(e,t){return r(a(e),t)}function i(e){var n,r={classes:[],attrs:{}};return e=r.selector=t.trim(e),"*"!==e&&(n=e.replace(/(?:([#\.]|::?)([\w\-]+)|(\[)([^\]]+)\]?)/g,function(e,n,o,i,a){switch(n){case"#":r.attrs.id=o;break;case".":r.classes.push(o);break;case":":t.inArray("checked disabled enabled read-only required".split(" "),o)!==-1&&(r.attrs[o]=o)}if("["==i){var s=a.match(/([\w\-]+)(?:\=\"([^\"]+))?/);s&&(r.attrs[s[1]]=s[2])}return""})),r.name=n||"div",r}function a(e){return e&&"string"==typeof e?(e=e.split(/\s*,\s*/)[0],e=e.replace(/\s*(~\+|~|\+|>)\s*/g,"$1"),t.map(e.split(/(?:>|\s+(?![^\[\]]+\]))/),function(e){var n=t.map(e.split(/(?:~\+|~|\+)/),i),r=n.pop();return n.length&&(r.siblings=n),r}).reverse()):[]}function s(e,t){function n(e){return e.replace(/%(\w+)/g,"")}var o,i,s,c,d,f,p="";if(f=e.settings.preview_styles,f===!1)return"";if("string"!=typeof f&&(f="font-family font-size font-weight font-style text-decoration text-transform color background-color border border-radius outline text-shadow"),"string"==typeof t){if(t=e.formatter.get(t),!t)return;t=t[0]}return"preview"in t&&(f=t.preview,f===!1)?"":(o=t.block||t.inline||"span",c=a(t.selector),c.length?(c[0].name||(c[0].name=o),o=t.selector,i=r(c,e)):i=r([o],e),s=l.select(o,i)[0]||i.firstChild,u(t.styles,function(e,t){e=n(e),e&&l.setStyle(s,t,e)}),u(t.attributes,function(e,t){e=n(e),e&&l.setAttrib(s,t,e)}),u(t.classes,function(e){e=n(e),l.hasClass(s,e)||l.addClass(s,e)}),e.fire("PreviewFormats"),l.setStyles(i,{position:"absolute",left:-65535}),e.getBody().appendChild(i),d=l.getStyle(e.getBody(),"fontSize",!0),d=/px$/.test(d)?parseInt(d,10):0,u(f.split(" "),function(t){var n=l.getStyle(s,t,!0);if(!("background-color"==t&&/transparent|rgba\s*\([^)]+,\s*0\)/.test(n)&&(n=l.getStyle(e.getBody(),t,!0),"#ffffff"==l.toHex(n).toLowerCase())||"color"==t&&"#000000"==l.toHex(n).toLowerCase())){if("font-size"==t&&/em|%$/.test(n)){if(0===d)return;n=parseFloat(n,10)/(/%$/.test(n)?100:1),n=n*d+"px"}"border"==t&&n&&(p+="padding:0 2px;"),p+=t+":"+n+";"}}),e.fire("AfterPreviewFormats"),l.remove(i),p)}var u=t.each,l=e.DOM;return{getCssText:s,parseSelector:a,selectorToHtml:o}}),i("tinymce/fmt/Hooks",["tinymce/util/Arr","tinymce/dom/NodeType","tinymce/dom/DomQuery"],function(e,t,n){function r(e,t){var n=i[e];n||(i[e]=n=[]),i[e].push(t)}function o(e,t){s(i[e],function(e){e(t)})}var i={},a=e.filter,s=e.each;return r("pre",function(r){function o(t){return u(t.previousSibling)&&e.indexOf(l,t.previousSibling)!=-1}function i(e,t){n(t).remove(),n(e).append("<br><br>").append(t.childNodes)}var u,l,c=r.selection.getRng();u=t.matchNodeNames("pre"),c.collapsed||(l=r.selection.getSelectedBlocks(),s(a(a(l,u),o),function(e){i(e.previousSibling,e)}))}),{postProcess:o}}),i("tinymce/Formatter",["tinymce/dom/TreeWalker","tinymce/dom/RangeUtils","tinymce/dom/BookmarkManager","tinymce/dom/ElementUtils","tinymce/util/Fun","tinymce/util/Tools","tinymce/fmt/Preview","tinymce/fmt/Hooks"],function(e,t,n,r,o,i,a,s){return function(u){function l(e){return e.nodeType&&(e=e.nodeName),!!u.schema.getTextBlockElements()[e.toLowerCase()]}function c(e){return/^(TH|TD)$/.test(e.nodeName)}function d(e){return e&&/^(IMG)$/.test(e.nodeName)}function f(e,t){return ne.getParents(e,t,ne.getRoot())}function p(e){return 1===e.nodeType&&"_mce_caret"===e.id}function h(){v({valigntop:[{selector:"td,th",styles:{verticalAlign:"top"}}],valignmiddle:[{selector:"td,th",styles:{verticalAlign:"middle"}}],valignbottom:[{selector:"td,th",styles:{verticalAlign:"bottom"}}],alignleft:[{selector:"figure.image",collapsed:!1,classes:"align-left",ceFalseOverride:!0,preview:"font-family font-size"},{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"left"},inherit:!1,preview:!1,defaultBlock:"div"},{selector:"img,table",collapsed:!1,styles:{float:"left"},preview:"font-family font-size"}],aligncenter:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"center"},inherit:!1,preview:!1,defaultBlock:"div"},{selector:"figure.image",collapsed:!1,classes:"align-center",ceFalseOverride:!0,preview:"font-family font-size"},{selector:"img",collapsed:!1,styles:{display:"block",marginLeft:"auto",marginRight:"auto"},preview:!1},{selector:"table",collapsed:!1,styles:{marginLeft:"auto",marginRight:"auto"},preview:"font-family font-size"}],alignright:[{selector:"figure.image",collapsed:!1,classes:"align-right",ceFalseOverride:!0,preview:"font-family font-size"},{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"right"},inherit:!1,preview:"font-family font-size",defaultBlock:"div"},{selector:"img,table",collapsed:!1,styles:{float:"right"},preview:"font-family font-size"}],alignjustify:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"justify"},inherit:!1,defaultBlock:"div",preview:"font-family font-size"
+}],bold:[{inline:"strong",remove:"all"},{inline:"span",styles:{fontWeight:"bold"}},{inline:"b",remove:"all"}],italic:[{inline:"em",remove:"all"},{inline:"span",styles:{fontStyle:"italic"}},{inline:"i",remove:"all"}],underline:[{inline:"span",styles:{textDecoration:"underline"},exact:!0},{inline:"u",remove:"all"}],strikethrough:[{inline:"span",styles:{textDecoration:"line-through"},exact:!0},{inline:"strike",remove:"all"}],forecolor:{inline:"span",styles:{color:"%value"},links:!0,remove_similar:!0},hilitecolor:{inline:"span",styles:{backgroundColor:"%value"},links:!0,remove_similar:!0},fontname:{inline:"span",styles:{fontFamily:"%value"}},fontsize:{inline:"span",styles:{fontSize:"%value"}},fontsize_class:{inline:"span",attributes:{class:"%value"}},blockquote:{block:"blockquote",wrapper:1,remove:"all"},subscript:{inline:"sub"},superscript:{inline:"sup"},code:{inline:"code"},link:{inline:"a",selector:"a",remove:"all",split:!0,deep:!0,onmatch:function(){return!0},onformat:function(e,t,n){me(n,function(t,n){ne.setAttrib(e,n,t)})}},removeformat:[{selector:"b,strong,em,i,font,u,strike,sub,sup,dfn,code,samp,kbd,var,cite,mark,q,del,ins",remove:"all",split:!0,expand:!1,block_expand:!0,deep:!0},{selector:"span",attributes:["style","class"],remove:"empty",split:!0,expand:!1,deep:!0},{selector:"*",attributes:["style","class"],split:!1,expand:!1,deep:!0}]}),me("p h1 h2 h3 h4 h5 h6 div address pre div dt dd samp".split(/\s/),function(e){v(e,{block:e,remove:"all"})}),v(u.settings.formats)}function m(){u.addShortcut("meta+b","bold_desc","Bold"),u.addShortcut("meta+i","italic_desc","Italic"),u.addShortcut("meta+u","underline_desc","Underline");for(var e=1;e<=6;e++)u.addShortcut("access+"+e,"",["FormatBlock",!1,"h"+e]);u.addShortcut("access+7","",["FormatBlock",!1,"p"]),u.addShortcut("access+8","",["FormatBlock",!1,"div"]),u.addShortcut("access+9","",["FormatBlock",!1,"address"])}function g(e){return e?te[e]:te}function v(e,t){e&&("string"!=typeof e?me(e,function(e,t){v(t,e)}):(t=t.length?t:[t],me(t,function(e){e.deep===J&&(e.deep=!e.selector),e.split===J&&(e.split=!e.selector||e.inline),e.remove===J&&e.selector&&!e.inline&&(e.remove="none"),e.selector&&e.inline&&(e.mixed=!0,e.block_expand=!0),"string"==typeof e.classes&&(e.classes=e.classes.split(/\s+/))}),te[e]=t))}function y(e){return e&&te[e]&&delete te[e],te}function b(e,t){var n=g(t);if(n)for(var r=0;r<n.length;r++)if(n[r].inherit===!1&&ne.is(e,n[r].selector))return!0;return!1}function _(e){var t;return u.dom.getParent(e,function(e){return t=u.dom.getStyle(e,"text-decoration"),t&&"none"!==t}),t}function w(e){var t;1===e.nodeType&&e.parentNode&&1===e.parentNode.nodeType&&(t=_(e.parentNode),u.dom.getStyle(e,"color")&&t?u.dom.setStyle(e,"text-decoration",t):u.dom.getStyle(e,"text-decoration")===t&&u.dom.setStyle(e,"text-decoration",null))}function C(t,n,r){function o(e,t){if(t=t||m,e){if(t.onformat&&t.onformat(e,t,n,r),me(t.styles,function(t,r){ne.setStyle(e,r,F(t,n))}),t.styles){var o=ne.getAttrib(e,"style");o&&e.setAttribute("data-mce-style",o)}me(t.attributes,function(t,r){ne.setAttrib(e,r,F(t,n))}),me(t.classes,function(t){t=F(t,n),ne.hasClass(e,t)||ne.addClass(e,t)})}}function i(e,t){var n=!1;return!!m.selector&&(me(e,function(e){if(!("collapsed"in e&&e.collapsed!==v))return ne.is(t,e.selector)&&!p(t)?(o(t,e),n=!0,!1):void 0}),n)}function a(){function t(t,n){var o=new e(n);for(r=o.prev2();r;r=o.prev2()){if(3==r.nodeType&&r.data.length>0)return r;if(r.childNodes.length>1||r==t||"BR"==r.tagName)return r}}var n=u.selection.getRng(),o=n.startContainer,i=n.endContainer;if(o!=i&&0===n.endOffset){var a=t(o,i),s=3==a.nodeType?a.data.length:a.childNodes.length;n.setEnd(a,s)}return n}function c(e,r,a){var s,u,c=[],d=!0;s=m.inline||m.block,u=ne.create(s),o(u),oe.walk(e,function(e){function r(e){var g,v,y,b;if(b=d,g=e.nodeName.toLowerCase(),v=e.parentNode.nodeName.toLowerCase(),1===e.nodeType&&pe(e)&&(b=d,d="true"===pe(e),y=!0),I(g,"br"))return f=0,void(m.block&&ne.remove(e));if(m.wrapper&&T(e,t,n))return void(f=0);if(d&&!y&&m.block&&!m.wrapper&&l(g)&&ie(v,s))return e=ne.rename(e,s),o(e),c.push(e),void(f=0);if(m.selector){var _=i(h,e);if(!m.inline||_)return void(f=0)}!d||y||!ie(s,g)||!ie(v,s)||!a&&3===e.nodeType&&1===e.nodeValue.length&&65279===e.nodeValue.charCodeAt(0)||p(e)||m.inline&&ae(e)?(f=0,me(ge(e.childNodes),r),y&&(d=b),f=0):(f||(f=ne.clone(u,de),e.parentNode.insertBefore(f,e),c.push(f)),f.appendChild(e))}var f;me(e,r)}),m.links===!0&&me(c,function(e){function t(e){"A"===e.nodeName&&o(e,m),me(ge(e.childNodes),t)}t(e)}),me(c,function(e){function r(e){var t=0;return me(e.childNodes,function(e){U(e)||he(e)||t++}),t}function i(e){var t=!1;return me(e.childNodes,function(e){if(D(e))return t=e,!1}),t}function a(e,t){do{if(1!==r(e))break;if(e=i(e),!e)break;if(t(e))return e}while(e);return null}function s(e){var t,n;return t=i(e),t&&!he(t)&&N(t,m)&&(n=ne.clone(t,de),o(n),ne.replace(n,e,fe),ne.remove(t,1)),n||e}var u;if(u=r(e),(c.length>1||!ae(e))&&0===u)return void ne.remove(e,1);if(m.inline||m.wrapper){if(m.exact||1!==u||(e=s(e)),me(h,function(t){me(ne.select(t.inline,e),function(e){he(e)||W(t,n,e,t.exact?e:null)})}),T(e.parentNode,t,n)&&W(m,n,e)&&(e=0),m.merge_with_parents&&ne.getParent(e.parentNode,function(r){if(T(r,t,n))return W(m,n,e)&&(e=0),fe}),!ae(e)&&!L(e,"fontSize")){var l=a(e,R("fontSize"));l&&C("fontsize",{value:L(l,"fontSize")},e)}e&&m.merge_siblings!==!1&&(e=Y(G(e),e),e=Y(e,G(e,fe)))}})}var d,f,h=g(t),m=h[0],v=!r&&re.isCollapsed();if("false"!==pe(re.getNode())){if(m){if(r)r.nodeType?i(h,r)||(f=ne.createRng(),f.setStartBefore(r),f.setEndAfter(r),c(z(f,h),null,!0)):c(r,null,!0);else if(v&&m.inline&&!ne.select("td[data-mce-selected],th[data-mce-selected]").length)$("apply",t,n);else{var y=u.selection.getNode();se||!h[0].defaultBlock||ne.getParent(y,ne.isBlock)||C(h[0].defaultBlock),u.selection.setRng(a()),d=re.getBookmark(),c(z(re.getRng(fe),h),d),m.styles&&((m.styles.color||m.styles.textDecoration)&&(ve(y,w,"childNodes"),w(y)),m.styles.backgroundColor&&P(y,R("fontSize"),j("backgroundColor",F(m.styles.backgroundColor,n)))),re.moveToBookmark(d),X(re.getRng(fe)),u.nodeChanged()}s.postProcess(t,u)}}else{r=re.getNode();for(var b=0,_=h.length;b<_;b++)if(h[b].ceFalseOverride&&ne.is(r,h[b].selector))return void o(r,h[b])}}function x(e,t,n,r){function o(e){var n,r,i,a,s;if(1===e.nodeType&&pe(e)&&(a=y,y="true"===pe(e),s=!0),n=ge(e.childNodes),y&&!s)for(r=0,i=m.length;r<i&&!W(m[r],t,e,e);r++);if(v.deep&&n.length){for(r=0,i=n.length;r<i;r++)o(n[r]);s&&(y=a)}}function i(n){var o;return me(f(n.parentNode).reverse(),function(n){var i;o||"_start"==n.id||"_end"==n.id||(i=T(n,e,t,r),i&&i.split!==!1&&(o=n))}),o}function a(e,n,r,o){var i,a,s,u,l,c;if(e){for(c=e.parentNode,i=n.parentNode;i&&i!=c;i=i.parentNode){for(a=ne.clone(i,de),l=0;l<m.length;l++)if(W(m[l],t,a,a)){a=0;break}a&&(s&&a.appendChild(s),u||(u=a),s=a)}!o||v.mixed&&ae(e)||(n=ne.split(e,n)),s&&(r.parentNode.insertBefore(s,r),u.appendChild(r))}return n}function s(e){return a(i(e),e,e,!0)}function l(e){var t=ne.get(e?"_start":"_end"),n=t[e?"firstChild":"lastChild"];return he(n)&&(n=n[e?"firstChild":"lastChild"]),3==n.nodeType&&0===n.data.length&&(n=e?t.previousSibling||t.nextSibling:t.nextSibling||t.previousSibling),ne.remove(t,!0),n}function d(e){var t,n,r=e.commonAncestorContainer;if(e=z(e,m,fe),v.split){if(t=K(e,fe),n=K(e),t!=n){if(/^(TR|TH|TD)$/.test(t.nodeName)&&t.firstChild&&(t="TR"==t.nodeName?t.firstChild.firstChild||t:t.firstChild||t),r&&/^T(HEAD|BODY|FOOT|R)$/.test(r.nodeName)&&c(n)&&n.firstChild&&(n=n.firstChild||n),ne.isChildOf(t,n)&&!ae(n)&&!c(t)&&!c(n))return t=H(t,"span",{id:"_start","data-mce-type":"bookmark"}),s(t),void(t=l(fe));t=H(t,"span",{id:"_start","data-mce-type":"bookmark"}),n=H(n,"span",{id:"_end","data-mce-type":"bookmark"}),s(t),s(n),t=l(fe),n=l()}else t=n=s(t);e.startContainer=t.parentNode?t.parentNode:t,e.startOffset=ue(t),e.endContainer=n.parentNode?n.parentNode:n,e.endOffset=ue(n)+1}oe.walk(e,function(e){me(e,function(e){o(e),1===e.nodeType&&"underline"===u.dom.getStyle(e,"text-decoration")&&e.parentNode&&"underline"===_(e.parentNode)&&W({deep:!1,exact:!0,inline:"span",styles:{textDecoration:"underline"}},null,e)})})}var p,h,m=g(e),v=m[0],y=!0;if(n)return void(n.nodeType?(h=ne.createRng(),h.setStartBefore(n),h.setEndAfter(n),d(h)):d(n));if("false"!==pe(re.getNode()))re.isCollapsed()&&v.inline&&!ne.select("td[data-mce-selected],th[data-mce-selected]").length?$("remove",e,t,r):(p=re.getBookmark(),d(re.getRng(fe)),re.moveToBookmark(p),v.inline&&k(e,t,re.getStart())&&X(re.getRng(!0)),u.nodeChanged());else{n=re.getNode();for(var b=0,w=m.length;b<w&&(!m[b].ceFalseOverride||!W(m[b],t,n,n));b++);}}function E(e,t,n){var r=g(e);!k(e,t,n)||"toggle"in r[0]&&!r[0].toggle?C(e,t,n):x(e,t,n)}function T(e,t,n,r){function o(e,t,o){var i,a,s,u=t[o];if(t.onmatch)return t.onmatch(e,t,o);if(u)if(u.length===J){for(i in u)if(u.hasOwnProperty(i)){if(a="attributes"===o?ne.getAttrib(e,i):L(e,i),r&&!a&&!t.exact)return;if((!r||t.exact)&&!I(a,B(F(u[i],n),i)))return}}else for(s=0;s<u.length;s++)if("attributes"===o?ne.getAttrib(e,u[s]):L(e,u[s]))return t;return t}var i,a,s,u=g(t);if(u&&e)for(a=0;a<u.length;a++)if(i=u[a],N(e,i)&&o(e,i,"attributes")&&o(e,i,"styles")){if(s=i.classes)for(a=0;a<s.length;a++)if(!ne.hasClass(e,s[a]))return;return i}}function k(e,t,n){function r(n){var r=ne.getRoot();return n!==r&&(n=ne.getParent(n,function(n){return!!b(n,e)||(n.parentNode===r||!!T(n,e,t,!0))}),T(n,e,t))}var o;return n?r(n):(n=re.getNode(),r(n)?fe:(o=re.getStart(),o!=n&&r(o)?fe:de))}function S(e,t){var n,r=[],o={};return n=re.getStart(),ne.getParent(n,function(n){var i,a;for(i=0;i<e.length;i++)a=e[i],!o[a]&&T(n,a,t)&&(o[a]=!0,r.push(a))},ne.getRoot()),r}function O(e){var t,n,r,o,i,a=g(e);if(a)for(t=re.getStart(),n=f(t),o=a.length-1;o>=0;o--){if(i=a[o].selector,!i||a[o].defaultBlock)return fe;for(r=n.length-1;r>=0;r--)if(ne.is(n[r],i))return fe}return de}function M(e,t,n){var r;return Q||(Q={},r={},u.on("NodeChange",function(e){var t=f(e.element),n={};t=i.grep(t,function(e){return 1==e.nodeType&&!e.getAttribute("data-mce-bogus")}),me(Q,function(e,o){me(t,function(i){return T(i,o,{},e.similar)?(r[o]||(me(e,function(e){e(!0,{node:i,format:o,parents:t})}),r[o]=e),n[o]=e,!1):!b(i,o)&&void 0})}),me(r,function(o,i){n[i]||(delete r[i],me(o,function(n){n(!1,{node:e.element,format:i,parents:t})}))})})),me(e.split(","),function(e){Q[e]||(Q[e]=[],Q[e].similar=n),Q[e].push(t)}),this}function A(e){return a.getCssText(u,e)}function N(e,t){return I(e,t.inline)?fe:I(e,t.block)?fe:t.selector?1==e.nodeType&&ne.is(e,t.selector):void 0}function I(e,t){return e=e||"",t=t||"",e=""+(e.nodeName||e),t=""+(t.nodeName||t),e.toLowerCase()==t.toLowerCase()}function P(e,t,n){me(e.childNodes,function(e){D(e)&&(t(e)&&n(e),e.hasChildNodes()&&P(e,t,n))})}function D(e){return 1==e.nodeType&&!he(e)&&!U(e)&&!p(e)}function R(e){return o.curry(function(e,t){return!(!t||!L(t,e))},e)}function j(e,t){return o.curry(function(e,t,n){ne.setStyle(n,e,t)},e,t)}function L(e,t){return B(ne.getStyle(e,t),t)}function B(e,t){return"color"!=t&&"backgroundColor"!=t||(e=ne.toHex(e)),"fontWeight"==t&&700==e&&(e="bold"),"fontFamily"==t&&(e=e.replace(/[\'\"]/g,"").replace(/,\s+/g,",")),""+e}function F(e,t){return"string"!=typeof e?e=e(t):t&&(e=e.replace(/%(\w+)/g,function(e,n){return t[n]||e})),e}function U(e){return e&&3===e.nodeType&&/^([\t \r\n]+|)$/.test(e.nodeValue)}function H(e,t,n){var r=ne.create(t,n);return e.parentNode.insertBefore(r,e),r.appendChild(e),r}function z(t,n,r){function o(e){function t(e){return"BR"==e.nodeName&&e.getAttribute("data-mce-bogus")&&!e.nextSibling}var r,o,i,a,s;if(r=o=e?g:y,a=e?"previousSibling":"nextSibling",s=ne.getRoot(),3==r.nodeType&&!U(r)&&(e?v>0:b<r.nodeValue.length))return r;for(;;){if(!n[0].block_expand&&ae(o))return o;for(i=o[a];i;i=i[a])if(!he(i)&&!U(i)&&!t(i))return o;if(o==s||o.parentNode==s){r=o;break}o=o.parentNode}return r}function i(e,t){for(t===J&&(t=3===e.nodeType?e.length:e.childNodes.length);e&&e.hasChildNodes();)e=e.childNodes[t],e&&(t=3===e.nodeType?e.length:e.childNodes.length);return{node:e,offset:t}}function a(e){for(var t=e;t;){if(1===t.nodeType&&pe(t))return"false"===pe(t)?t:e;t=t.parentNode}return e}function s(t,n,o){function i(e,t){var n,i,a=e.nodeValue;return"undefined"==typeof t&&(t=o?a.length:0),o?(n=a.lastIndexOf(" ",t),i=a.lastIndexOf(" ",t),n=n>i?n:i,n===-1||r||n++):(n=a.indexOf(" ",t),i=a.indexOf(" ",t),n=n!==-1&&(i===-1||n<i)?n:i),n}var a,s,l,c;if(3===t.nodeType){if(l=i(t,n),l!==-1)return{container:t,offset:l};c=t}for(a=new e(t,ne.getParent(t,ae)||u.getBody());s=a[o?"prev":"next"]();)if(3===s.nodeType){if(c=s,l=i(s),l!==-1)return{container:s,offset:l}}else if(ae(s))break;if(c)return n=o?0:c.length,{container:c,offset:n}}function c(e,r){var o,i,a,s;for(3==e.nodeType&&0===e.nodeValue.length&&e[r]&&(e=e[r]),o=f(e),i=0;i<o.length;i++)for(a=0;a<n.length;a++)if(s=n[a],!("collapsed"in s&&s.collapsed!==t.collapsed)&&ne.is(o[i],s.selector))return o[i];return e}function d(e,t){var r,o=ne.getRoot();if(n[0].wrapper||(r=ne.getParent(e,n[0].block,o)),r||(r=ne.getParent(3==e.nodeType?e.parentNode:e,function(e){return e!=o&&l(e)})),r&&n[0].wrapper&&(r=f(r,"ul,ol").reverse()[0]||r),!r)for(r=e;r[t]&&!ae(r[t])&&(r=r[t],!I(r,"br")););return r||e}var p,h,m,g=t.startContainer,v=t.startOffset,y=t.endContainer,b=t.endOffset;if(1==g.nodeType&&g.hasChildNodes()&&(p=g.childNodes.length-1,g=g.childNodes[v>p?p:v],3==g.nodeType&&(v=0)),1==y.nodeType&&y.hasChildNodes()&&(p=y.childNodes.length-1,y=y.childNodes[b>p?p:b-1],3==y.nodeType&&(b=y.nodeValue.length)),g=a(g),y=a(y),(he(g.parentNode)||he(g))&&(g=he(g)?g:g.parentNode,g=g.nextSibling||g,3==g.nodeType&&(v=0)),(he(y.parentNode)||he(y))&&(y=he(y)?y:y.parentNode,y=y.previousSibling||y,3==y.nodeType&&(b=y.length)),n[0].inline&&(t.collapsed&&(m=s(g,v,!0),m&&(g=m.container,v=m.offset),m=s(y,b),m&&(y=m.container,b=m.offset)),h=i(y,b),h.node)){for(;h.node&&0===h.offset&&h.node.previousSibling;)h=i(h.node.previousSibling);h.node&&h.offset>0&&3===h.node.nodeType&&" "===h.node.nodeValue.charAt(h.offset-1)&&h.offset>1&&(y=h.node,y.splitText(h.offset-1))}return(n[0].inline||n[0].block_expand)&&(n[0].inline&&3==g.nodeType&&0!==v||(g=o(!0)),n[0].inline&&3==y.nodeType&&b!==y.nodeValue.length||(y=o())),n[0].selector&&n[0].expand!==de&&!n[0].inline&&(g=c(g,"previousSibling"),y=c(y,"nextSibling")),(n[0].block||n[0].selector)&&(g=d(g,"previousSibling"),y=d(y,"nextSibling"),n[0].block&&(ae(g)||(g=o(!0)),ae(y)||(y=o()))),1==g.nodeType&&(v=ue(g),g=g.parentNode),1==y.nodeType&&(b=ue(y)+1,y=y.parentNode),{startContainer:g,startOffset:v,endContainer:y,endOffset:b}}function q(e,t){return t.links&&"A"==e.tagName}function W(e,t,n,r){var o,i,a;if(!N(n,e)&&!q(n,e))return de;if("all"!=e.remove)for(me(e.styles,function(o,i){o=B(F(o,t),i),"number"==typeof i&&(i=o,r=0),(e.remove_similar||!r||I(L(r,i),o))&&ne.setStyle(n,i,""),a=1}),a&&""===ne.getAttrib(n,"style")&&(n.removeAttribute("style"),n.removeAttribute("data-mce-style")),me(e.attributes,function(e,o){var i;if(e=F(e,t),"number"==typeof o&&(o=e,r=0),!r||I(ne.getAttrib(r,o),e)){if("class"==o&&(e=ne.getAttrib(n,o),e&&(i="",me(e.split(/\s+/),function(e){/mce\-\w+/.test(e)&&(i+=(i?" ":"")+e)}),i)))return void ne.setAttrib(n,o,i);"class"==o&&n.removeAttribute("className"),ce.test(o)&&n.removeAttribute("data-mce-"+o),n.removeAttribute(o)}}),me(e.classes,function(e){e=F(e,t),r&&!ne.hasClass(r,e)||ne.removeClass(n,e)}),i=ne.getAttribs(n),o=0;o<i.length;o++){var s=i[o].nodeName;if(0!==s.indexOf("_")&&0!==s.indexOf("data-"))return de}return"none"!=e.remove?(V(n,e),fe):void 0}function V(e,t){function n(e,t,n){return e=G(e,t,n),!e||"BR"==e.nodeName||ae(e)}var r,o=e.parentNode;t.block&&(se?o==ne.getRoot()&&(t.list_block&&I(e,t.list_block)||me(ge(e.childNodes),function(e){ie(se,e.nodeName.toLowerCase())?r?r.appendChild(e):(r=H(e,se),ne.setAttribs(r,u.settings.forced_root_block_attrs)):r=0})):ae(e)&&!ae(o)&&(n(e,de)||n(e.firstChild,fe,1)||e.insertBefore(ne.create("br"),e.firstChild),n(e,fe)||n(e.lastChild,de,1)||e.appendChild(ne.create("br")))),t.selector&&t.inline&&!I(t.inline,e)||ne.remove(e,1)}function G(e,t,n){if(e)for(t=t?"nextSibling":"previousSibling",e=n?e:e[t];e;e=e[t])if(1==e.nodeType||!U(e))return e}function Y(e,t){function n(e,t){for(o=e;o;o=o[t]){if(3==o.nodeType&&0!==o.nodeValue.length)return e;if(1==o.nodeType&&!he(o))return o}return e}var o,i,a=new r(ne);if(e&&t&&(e=n(e,"previousSibling"),t=n(t,"nextSibling"),a.compare(e,t))){for(o=e.nextSibling;o&&o!=t;)i=o,o=o.nextSibling,e.appendChild(i);return ne.remove(t),me(ge(t.childNodes),function(t){e.appendChild(t)}),e}return t}function K(t,n){var r,o,i;return r=t[n?"startContainer":"endContainer"],o=t[n?"startOffset":"endOffset"],1==r.nodeType&&(i=r.childNodes.length-1,!n&&o&&o--,r=r.childNodes[o>i?i:o]),3===r.nodeType&&n&&o>=r.nodeValue.length&&(r=new e(r,u.getBody()).next()||r),3!==r.nodeType||n||0!==o||(r=new e(r,u.getBody()).prev()||r),r}function $(t,n,r,o){function i(e){var t=ne.create("span",{id:m,"data-mce-bogus":!0,style:v?"color:red":""});return e&&t.appendChild(u.getDoc().createTextNode(le)),t}function a(e,t){for(;e;){if(3===e.nodeType&&e.nodeValue!==le||e.childNodes.length>1)return!1;t&&1===e.nodeType&&t.push(e),e=e.firstChild}return!0}function s(e){for(;e;){if(e.id===m)return e;e=e.parentNode}}function c(t){var n;if(t)for(n=new e(t,t),t=n.current();t;t=n.next())if(3===t.nodeType)return t}function d(e,t){var n,r;if(e)r=re.getRng(!0),a(e)?(t!==!1&&(r.setStartBefore(e),r.setEndBefore(e)),ne.remove(e)):(n=c(e),n.nodeValue.charAt(0)===le&&(n.deleteData(0,1),r.startContainer==n&&r.startOffset>0&&r.setStart(n,r.startOffset-1),r.endContainer==n&&r.endOffset>0&&r.setEnd(n,r.endOffset-1)),ne.remove(e,1)),re.setRng(r);else if(e=s(re.getStart()),!e)for(;e=ne.get(m);)d(e,!1)}function f(){var e,t,o,a,u,l,d;e=re.getRng(!0),a=e.startOffset,l=e.startContainer,d=l.nodeValue,t=s(re.getStart()),t&&(o=c(t));var f=/[^\s\u00a0\u00ad\u200b\ufeff]/;d&&a>0&&a<d.length&&f.test(d.charAt(a))&&f.test(d.charAt(a-1))?(u=re.getBookmark(),e.collapse(!0),e=z(e,g(n)),e=oe.split(e),C(n,r,e),re.moveToBookmark(u)):(t&&o.nodeValue===le?C(n,r,t):(t=i(!0),o=t.firstChild,e.insertNode(t),a=1,C(n,r,t)),re.setCursorLocation(o,a))}function p(){var e,t,a,s,u,c,d,f,p=re.getRng(!0),h=[];for(e=p.startContainer,t=p.startOffset,u=e,3==e.nodeType&&(t!=e.nodeValue.length&&(s=!0),u=u.parentNode);u;){if(T(u,n,r,o)){c=u;break}u.nextSibling&&(s=!0),h.push(u),u=u.parentNode}if(c)if(s)a=re.getBookmark(),p.collapse(!0),p=z(p,g(n),!0),p=oe.split(p),x(n,r,p),re.moveToBookmark(a);else{for(f=i(),u=f,d=h.length-1;d>=0;d--)u.appendChild(ne.clone(h[d],!1)),u=u.firstChild;u.appendChild(ne.doc.createTextNode(le)),u=u.firstChild;var m=ne.getParent(c,l);m&&ne.isEmpty(m)?c.parentNode.replaceChild(f,c):ne.insertAfter(f,c),re.setCursorLocation(u,1),ne.isEmpty(c)&&ne.remove(c)}}function h(){var e;e=s(re.getStart()),e&&!ne.isEmpty(e)&&ve(e,function(e){1!=e.nodeType||e.id===m||ne.isEmpty(e)||ne.setAttrib(e,"data-mce-bogus",null)},"childNodes")}var m="_mce_caret",v=u.settings.caret_debug;u._hasCaretEvents||(ee=function(){var e,t=[];if(a(s(re.getStart()),t))for(e=t.length;e--;)ne.setAttrib(t[e],"data-mce-bogus","1")},Z=function(e){var t=e.keyCode;d(),8==t&&re.isCollapsed()&&re.getStart().innerHTML==le&&d(s(re.getStart())),37!=t&&39!=t||d(s(re.getStart())),h()},u.on("SetContent",function(e){e.selection&&h()}),u._hasCaretEvents=!0),"apply"==t?f():p()}function X(t){var n,r,o,i,a,s=t.startContainer,u=t.startOffset;if((t.startContainer!=t.endContainer||!d(t.startContainer.childNodes[t.startOffset]))&&(3==s.nodeType&&u>=s.nodeValue.length&&(u=ue(s),s=s.parentNode,n=!0),1==s.nodeType))for(i=s.childNodes,s=i[Math.min(u,i.length-1)],r=new e(s,ne.getParent(s,ne.isBlock)),(u>i.length-1||n)&&r.next(),o=r.current();o;o=r.next())if(3==o.nodeType&&!U(o))return a=ne.create("a",{"data-mce-bogus":"all"},le),o.parentNode.insertBefore(a,o),t.setStart(o,0),re.setRng(t),void ne.remove(a)}var Q,J,Z,ee,te={},ne=u.dom,re=u.selection,oe=new t(ne),ie=u.schema.isValidChild,ae=ne.isBlock,se=u.settings.forced_root_block,ue=ne.nodeIndex,le="\ufeff",ce=/^(src|href|style)$/,de=!1,fe=!0,pe=ne.getContentEditable,he=n.isBookmarkNode,me=i.each,ge=i.grep,ve=i.walk,ye=i.extend;ye(this,{get:g,register:v,unregister:y,apply:C,remove:x,toggle:E,match:k,matchAll:S,matchNode:T,canApply:O,formatChanged:M,getCssText:A}),h(),m(),u.on("BeforeGetContent",function(e){ee&&"raw"!=e.format&&ee()}),u.on("mouseup keydown",function(e){Z&&Z(e)})}}),i("tinymce/undo/Diff",[],function(){var e=0,t=1,n=2,r=function(r,o){var i=r.length+o.length+2,a=new Array(i),s=new Array(i),u=function(e,t,n){return{start:e,end:t,diag:n}},l=function(i,a,s,u,c){var f=d(i,a,s,u);if(null===f||f.start===a&&f.diag===a-u||f.end===i&&f.diag===i-s)for(var p=i,h=s;p<a||h<u;)p<a&&h<u&&r[p]===o[h]?(c.push([e,r[p]]),++p,++h):a-i>u-s?(c.push([n,r[p]]),++p):(c.push([t,o[h]]),++h);else{l(i,f.start,s,f.start-f.diag,c);for(var m=f.start;m<f.end;++m)c.push([e,r[m]]);l(f.end,a,f.end-f.diag,u,c)}},c=function(e,t,n,i){for(var a=e;a-t<i&&a<n&&r[a]===o[a-t];)++a;return u(e,a,t)},d=function(e,t,n,i){var u=t-e,l=i-n;if(0===u||0===l)return null;var d=u-l,f=l+u,p=(f%2===0?f:f+1)/2;a[1+p]=e,s[1+p]=t+1;for(var h=0;h<=p;++h){for(var m=-h;m<=h;m+=2){var g=m+p;m===-h||m!=h&&a[g-1]<a[g+1]?a[g]=a[g+1]:a[g]=a[g-1]+1;for(var v=a[g],y=v-e+n-m;v<t&&y<i&&r[v]===o[y];)a[g]=++v,++y;if(d%2!=0&&d-h<=m&&m<=d+h&&s[g-d]<=a[g])return c(s[g-d],m+e-n,t,i)}for(m=d-h;m<=d+h;m+=2){for(g=m+p-d,m===d-h||m!=d+h&&s[g+1]<=s[g-1]?s[g]=s[g+1]-1:s[g]=s[g-1],v=s[g]-1,y=v-e+n-m;v>=e&&y>=n&&r[v]===o[y];)s[g]=v--,y--;if(d%2===0&&-h<=m&&m<=h&&s[g]<=a[g+d])return c(s[g],m+e-n,t,i)}}},f=[];return l(0,r.length,0,o.length,f),f};return{KEEP:e,DELETE:n,INSERT:t,diff:r}}),i("tinymce/undo/Fragments",["tinymce/util/Arr","tinymce/html/Entities","tinymce/undo/Diff"],function(e,t,n){var r=function(e){return 1===e.nodeType?e.outerHTML:3===e.nodeType?t.encodeRaw(e.data,!1):8===e.nodeType?"<!--"+e.data+"-->":""},o=function(e){var t,n,r;for(r=document.createElement("div"),t=document.createDocumentFragment(),e&&(r.innerHTML=e);n=r.firstChild;)t.appendChild(n);return t},i=function(e,t,n){var r=o(t);if(e.hasChildNodes()&&n<e.childNodes.length){var i=e.childNodes[n];i.parentNode.insertBefore(r,i)}else e.appendChild(r)},a=function(e,t){if(e.hasChildNodes()&&t<e.childNodes.length){var n=e.childNodes[t];n.parentNode.removeChild(n)}},s=function(t,r){var o=0;e.each(t,function(e){e[0]===n.KEEP?o++:e[0]===n.INSERT?(i(r,e[1],o),o++):e[0]===n.DELETE&&a(r,o)})},u=function(t){return e.map(t.childNodes,r)},l=function(t,o){var i=e.map(o.childNodes,r);return s(n.diff(i,t),o),o};return{read:u,write:l}}),i("tinymce/undo/Levels",["tinymce/util/Arr","tinymce/undo/Fragments"],function(e,t){var n=function(e){return e.indexOf("</iframe>")!==-1},r=function(e){return{type:"fragmented",fragments:e,content:"",bookmark:null,beforeBookmark:null}},o=function(e){return{type:"complete",fragments:null,content:e,bookmark:null,beforeBookmark:null}},i=function(i){var a,s,u;return a=t.read(i.getBody()),u=e.map(a,function(e){return i.serializer.trimContent(e)}),s=u.join(""),n(s)?r(u):o(s)},a=function(e,n,r){"fragmented"===n.type?t.write(n.fragments,e.getBody()):e.setContent(n.content,{format:"raw"}),e.selection.moveToBookmark(r?n.beforeBookmark:n.bookmark)},s=function(e){return"fragmented"===e.type?e.fragments.join(""):e.content},u=function(e,t){return s(e)===s(t)};return{createFragmentedLevel:r,createCompleteLevel:o,createFromEditor:i,applyToEditor:a,isEq:u}}),i("tinymce/UndoManager",["tinymce/util/VK","tinymce/util/Tools","tinymce/undo/Levels"],function(e,t,n){return function(e){function r(t){e.setDirty(t)}function o(e){u.typing=!1,u.add({},e)}function i(){u.typing&&(u.typing=!1,u.add())}var a,s,u=this,l=0,c=[],d=0;return e.on("init",function(){u.add()}),e.on("BeforeExecCommand",function(e){var t=e.command;"Undo"!==t&&"Redo"!==t&&"mceRepaint"!==t&&(i(),u.beforeChange())}),e.on("ExecCommand",function(e){var t=e.command;"Undo"!==t&&"Redo"!==t&&"mceRepaint"!==t&&o(e)}),e.on("ObjectResizeStart Cut",function(){u.beforeChange()}),e.on("SaveContent ObjectResized blur",o),e.on("DragEnd",o),e.on("KeyUp",function(t){var i=t.keyCode;t.isDefaultPrevented()||((i>=33&&i<=36||i>=37&&i<=40||45===i||t.ctrlKey)&&(o(),e.nodeChanged()),46!==i&&8!==i||e.nodeChanged(),s&&u.typing&&(e.isDirty()||(r(c[0]&&!n.isEq(n.createFromEditor(e),c[0])),e.isDirty()&&e.fire("change",{level:c[0],lastLevel:null})),e.fire("TypingUndo"),s=!1,e.nodeChanged()))}),e.on("KeyDown",function(e){var t=e.keyCode;if(!e.isDefaultPrevented()){if(t>=33&&t<=36||t>=37&&t<=40||45===t)return void(u.typing&&o(e));var n=e.ctrlKey&&!e.altKey||e.metaKey;!(t<16||t>20)||224===t||91===t||u.typing||n||(u.beforeChange(),u.typing=!0,u.add({},e),s=!0)}}),e.on("MouseDown",function(e){u.typing&&o(e)}),e.addShortcut("meta+z","","Undo"),e.addShortcut("meta+y,meta+shift+z","","Redo"),e.on("AddUndo Undo Redo ClearUndos",function(t){t.isDefaultPrevented()||e.nodeChanged()}),u={data:c,typing:!1,beforeChange:function(){d||(a=e.selection.getBookmark(2,!0))},add:function(o,i){var s,u,f,p=e.settings;if(f=n.createFromEditor(e),o=o||{},o=t.extend(o,f),d||e.removed)return null;if(u=c[l],e.fire("BeforeAddUndo",{level:o,lastLevel:u,originalEvent:i}).isDefaultPrevented())return null;if(u&&n.isEq(u,o))return null;if(c[l]&&(c[l].beforeBookmark=a),p.custom_undo_redo_levels&&c.length>p.custom_undo_redo_levels){for(s=0;s<c.length-1;s++)c[s]=c[s+1];c.length--,l=c.length}o.bookmark=e.selection.getBookmark(2,!0),l<c.length-1&&(c.length=l+1),c.push(o),l=c.length-1;var h={level:o,lastLevel:u,originalEvent:i};return e.fire("AddUndo",h),l>0&&(r(!0),e.fire("change",h)),o},undo:function(){var t;return u.typing&&(u.add(),u.typing=!1),l>0&&(t=c[--l],n.applyToEditor(e,t,!0),r(!0),e.fire("undo",{level:t})),t},redo:function(){var t;return l<c.length-1&&(t=c[++l],n.applyToEditor(e,t,!1),r(!0),e.fire("redo",{level:t})),t},clear:function(){c=[],l=0,u.typing=!1,u.data=c,e.fire("ClearUndos")},hasUndo:function(){return l>0||u.typing&&c[0]&&!n.isEq(n.createFromEditor(e),c[0])},hasRedo:function(){return l<c.length-1&&!u.typing},transact:function(e){i(),u.beforeChange();try{d++,e()}finally{d--}return u.add()},extra:function(t,r){var o,i;u.transact(t)&&(i=c[l].bookmark,o=c[l-1],n.applyToEditor(e,o,!0),u.transact(r)&&(c[l-1].beforeBookmark=i))}}}}),i("tinymce/EnterKey",["tinymce/dom/TreeWalker","tinymce/dom/RangeUtils","tinymce/caret/CaretContainer","tinymce/Env"],function(e,t,n,r){var o=r.ie&&r.ie<11;return function(i){function a(a){function h(e){return e&&s.isBlock(e)&&!/^(TD|TH|CAPTION|FORM)$/.test(e.nodeName)&&!/^(fixed|absolute)/i.test(e.style.position)&&"true"!==s.getContentEditable(e)}function m(e){return e&&/^(TD|TH|CAPTION)$/.test(e.nodeName)}function g(e){var t;s.isBlock(e)&&(t=u.getRng(),e.appendChild(s.create("span",null," ")),u.select(e),e.lastChild.outerHTML="",u.setRng(t))}function v(e){var t,n=e,r=[];if(n){for(;n=n.firstChild;){if(s.isBlock(n))return;1!=n.nodeType||f[n.nodeName.toLowerCase()]||r.push(n)}for(t=r.length;t--;)n=r[t],!n.hasChildNodes()||n.firstChild==n.lastChild&&""===n.firstChild.nodeValue?s.remove(n):"A"==n.nodeName&&" "===(n.innerText||n.textContent)&&s.remove(n)}}function y(t){function n(e){for(;e;){if(1==e.nodeType||3==e.nodeType&&e.data&&/[\r\n\s]/.test(e.data))return e;e=e.nextSibling}}var o,i,a,l,c=t;if(t){if(r.ie&&r.ie<9&&R&&R.firstChild&&R.firstChild==R.lastChild&&"BR"==R.firstChild.tagName&&s.remove(R.firstChild),/^(LI|DT|DD)$/.test(t.nodeName)){var d=n(t.firstChild);d&&/^(UL|OL|DL)$/.test(d.nodeName)&&t.insertBefore(s.doc.createTextNode(" "),t.firstChild)}if(a=s.createRng(),r.ie||t.normalize(),t.hasChildNodes()){for(o=new e(t,t);i=o.current();){if(3==i.nodeType){a.setStart(i,0),a.setEnd(i,0);break}if(p[i.nodeName.toLowerCase()]){a.setStartBefore(i),a.setEndBefore(i);break}c=i,i=o.next()}i||(a.setStart(c,0),a.setEnd(c,0))}else"BR"==t.nodeName?t.nextSibling&&s.isBlock(t.nextSibling)?((!j||j<9)&&(l=s.create("br"),t.parentNode.insertBefore(l,t)),a.setStartBefore(t),a.setEndBefore(t)):(a.setStartAfter(t),a.setEndAfter(t)):(a.setStart(t,0),a.setEnd(t,0));u.setRng(a),s.remove(l),u.scrollIntoView(t)}}function b(e){var t=l.forced_root_block;t&&t.toLowerCase()===e.tagName.toLowerCase()&&s.setAttribs(e,l.forced_root_block_attrs)}function _(e){e.innerHTML=o?"":'<br data-mce-bogus="1">'}function w(e){var t,n,r,i=P,a=d.getTextInlineElements();if(e||"TABLE"==H?(t=s.create(e||q),b(t)):t=R.cloneNode(!1),r=t,l.keep_styles!==!1)do if(a[i.nodeName]){if("_mce_caret"==i.id)continue;n=i.cloneNode(!1),s.setAttrib(n,"id",""),t.hasChildNodes()?(n.appendChild(t.firstChild),t.appendChild(n)):(r=n,t.appendChild(n))}while((i=i.parentNode)&&i!=I);return o||(r.innerHTML='<br data-mce-bogus="1">'),t}function C(t){var n,r,o;if(3==P.nodeType&&(t?D>0:D<P.nodeValue.length))return!1;if(P.parentNode==R&&W&&!t)return!0;if(t&&1==P.nodeType&&P==R.firstChild)return!0;if("TABLE"===P.nodeName||P.previousSibling&&"TABLE"==P.previousSibling.nodeName)return W&&!t||!W&&t;for(n=new e(P,R),3==P.nodeType&&(t&&0===D?n.prev():t||D!=P.nodeValue.length||n.next());r=n.current();){if(1===r.nodeType){if(!r.getAttribute("data-mce-bogus")&&(o=r.nodeName.toLowerCase(),f[o]&&"br"!==o))return!1}else if(3===r.nodeType&&!/^[ \t\r\n]*$/.test(r.nodeValue))return!1;t?n.prev():n.next()}return!0}function x(e,t){var n,r,o,a,u,l,c=q||"P";if(r=s.getParent(e,s.isBlock),!r||!h(r)){if(r=r||I,l=r==i.getBody()||m(r)?r.nodeName.toLowerCase():r.parentNode.nodeName.toLowerCase(),!r.hasChildNodes())return n=s.create(c),b(n),r.appendChild(n),A.setStart(n,0),A.setEnd(n,0),n;for(a=e;a.parentNode!=r;)a=a.parentNode;for(;a&&!s.isBlock(a);)o=a,a=a.previousSibling;if(o&&d.isValidChild(l,c.toLowerCase())){for(n=s.create(c),b(n),o.parentNode.insertBefore(n,o),a=o;a&&!s.isBlock(a);)u=a.nextSibling,n.appendChild(a),a=u;A.setStart(e,t),A.setEnd(e,t)}}return e}function E(){function e(e){for(var t=U[e?"firstChild":"lastChild"];t&&1!=t.nodeType;)t=t[e?"nextSibling":"previousSibling"];return t===R}function t(){var e=U.parentNode;return/^(LI|DT|DD)$/.test(e.nodeName)?e:U}if(U!=i.getBody()){var n=U.parentNode.nodeName;/^(OL|UL|LI)$/.test(n)&&(q="LI"),B=q?w(q):s.create("BR"),e(!0)&&e()?"LI"==n?s.insertAfter(B,t()):s.replace(B,U):e(!0)?"LI"==n?(s.insertAfter(B,t()),B.appendChild(s.doc.createTextNode(" ")),B.appendChild(U)):U.parentNode.insertBefore(B,U):e()?(s.insertAfter(B,t()),g(B)):(U=t(),N=A.cloneRange(),N.setStartAfter(R),N.setEndAfter(U),F=N.extractContents(),"LI"==q&&"LI"==F.firstChild.nodeName?(B=F.firstChild,s.insertAfter(F,U)):(s.insertAfter(F,U),s.insertAfter(B,U))),s.remove(R),y(B),c.add()}}function T(){i.execCommand("InsertLineBreak",!1,a)}function k(e){do 3===e.nodeType&&(e.nodeValue=e.nodeValue.replace(/^[\r\n]+/,"")),e=e.firstChild;while(e)}function S(e){var t,n,r=s.getRoot();for(t=e;t!==r&&"false"!==s.getContentEditable(t);)"true"===s.getContentEditable(t)&&(n=t),t=t.parentNode;return t!==r?n:r}function O(e){var t;o||(e.normalize(),t=e.lastChild,t&&!/^(left|right)$/gi.test(s.getStyle(t,"float",!0))||s.add(e,"br"))}function M(){B=/^(H[1-6]|PRE|FIGURE)$/.test(H)&&"HGROUP"!=z?w(q):w(),l.end_container_on_empty_block&&h(U)&&s.isEmpty(R)?B=s.split(U,R):s.insertAfter(B,R),y(B)}var A,N,I,P,D,R,j,L,B,F,U,H,z,q,W;if(A=u.getRng(!0),!a.isDefaultPrevented()){if(!A.collapsed)return void i.execCommand("Delete");if(new t(s).normalize(A),P=A.startContainer,D=A.startOffset,q=(l.force_p_newlines?"p":"")||l.forced_root_block,q=q?q.toUpperCase():"",j=s.doc.documentMode,L=a.shiftKey,1==P.nodeType&&P.hasChildNodes()&&(W=D>P.childNodes.length-1,P=P.childNodes[Math.min(D,P.childNodes.length-1)]||P,D=W&&3==P.nodeType?P.nodeValue.length:0),I=S(P)){if(c.beforeChange(),!s.isBlock(I)&&I!=s.getRoot())return void(q&&!L||T());if((q&&!L||!q&&L)&&(P=x(P,D)),R=s.getParent(P,s.isBlock),U=R?s.getParent(R.parentNode,s.isBlock):null,H=R?R.nodeName.toUpperCase():"",z=U?U.nodeName.toUpperCase():"","LI"!=z||a.ctrlKey||(R=U,H=z),i.undoManager.typing&&(i.undoManager.typing=!1,
+i.undoManager.add()),/^(LI|DT|DD)$/.test(H)){if(!q&&L)return void T();if(s.isEmpty(R))return void E()}if("PRE"==H&&l.br_in_pre!==!1){if(!L)return void T()}else if(!q&&!L&&"LI"!=H||q&&L)return void T();q&&R===i.getBody()||(q=q||"P",n.isCaretContainerBlock(R)?(B=n.showCaretContainerBlock(R),s.isEmpty(R)&&_(R),y(B)):C()?M():C(!0)?(B=R.parentNode.insertBefore(w(),R),g(B),y(R)):(N=A.cloneRange(),N.setEndAfter(R),F=N.extractContents(),k(F),B=F.firstChild,s.insertAfter(F,R),v(B),O(R),s.isEmpty(R)&&_(R),B.normalize(),s.isEmpty(B)?(s.remove(B),M()):y(B)),s.setAttrib(B,"id",""),i.fire("NewBlock",{newBlock:B}),c.typing=!1,c.add())}}}var s=i.dom,u=i.selection,l=i.settings,c=i.undoManager,d=i.schema,f=d.getNonEmptyElements(),p=d.getMoveCaretBeforeOnEnterElements();i.on("keydown",function(e){13==e.keyCode&&a(e)!==!1&&e.preventDefault()})}}),i("tinymce/ForceBlocks",[],function(){return function(e){function t(){var t,s,u,l,c,d,f,p,h,m,g,v,y=o.getStart(),b=e.getBody(),_=-16777215;if(v=n.forced_root_block,y&&1===y.nodeType&&v){for(;y&&y!=b;){if(a[y.nodeName])return;y=y.parentNode}if(t=o.getRng(),t.setStart){s=t.startContainer,u=t.startOffset,l=t.endContainer,c=t.endOffset;try{h=e.getDoc().activeElement===b}catch(e){}}else t.item&&(y=t.item(0),t=e.getDoc().body.createTextRange(),t.moveToElementText(y)),h=t.parentElement().ownerDocument===e.getDoc(),m=t.duplicate(),m.collapse(!0),u=m.move("character",_)*-1,m.collapsed||(m=t.duplicate(),m.collapse(!1),c=m.move("character",_)*-1-u);for(y=b.firstChild,g=b.nodeName.toLowerCase();y;)if((3===y.nodeType||1==y.nodeType&&!a[y.nodeName])&&i.isValidChild(g,v.toLowerCase())){if(3===y.nodeType&&0===y.nodeValue.length){f=y,y=y.nextSibling,r.remove(f);continue}d||(d=r.create(v,e.settings.forced_root_block_attrs),y.parentNode.insertBefore(d,y),p=!0),f=y,y=y.nextSibling,d.appendChild(f)}else d=null,y=y.nextSibling;if(p&&h){if(t.setStart)t.setStart(s,u),t.setEnd(l,c),o.setRng(t);else try{t=e.getDoc().body.createTextRange(),t.moveToElementText(b),t.collapse(!0),t.moveStart("character",u),c>0&&t.moveEnd("character",c),t.select()}catch(e){}e.nodeChanged()}}}var n=e.settings,r=e.dom,o=e.selection,i=e.schema,a=i.getBlockElements();n.forced_root_block&&e.on("NodeChange",t)}}),i("tinymce/caret/CaretUtils",["tinymce/util/Fun","tinymce/dom/TreeWalker","tinymce/dom/NodeType","tinymce/caret/CaretPosition","tinymce/caret/CaretContainer","tinymce/caret/CaretCandidate"],function(e,t,n,r,o,i){function a(e){return e>0}function s(e){return e<0}function u(e,t){for(var n;n=e(t);)if(!E(n))return n;return null}function l(e,n,r,o,i){var l=new t(e,o);if(s(n)){if((w(e)||E(e))&&(e=u(l.prev,!0),r(e)))return e;for(;e=u(l.prev,i);)if(r(e))return e}if(a(n)){if((w(e)||E(e))&&(e=u(l.next,!0),r(e)))return e;for(;e=u(l.next,i);)if(r(e))return e}return null}function c(e,t){for(e=e.parentNode;e&&e!=t;e=e.parentNode)if(_(e))return e;return t}function d(e,t){for(;e&&e!=t;){if(C(e))return e;e=e.parentNode}return null}function f(e,t,n){return d(e.container(),n)==d(t.container(),n)}function p(e,t,n){return c(e.container(),n)==c(t.container(),n)}function h(e,t){var n,r;return t?(n=t.container(),r=t.offset(),k(n)?n.childNodes[r+e]:null):null}function m(e,t){var n=t.ownerDocument.createRange();return e?(n.setStartBefore(t),n.setEndBefore(t)):(n.setStartAfter(t),n.setEndAfter(t)),n}function g(e,t,n){return d(t,e)==d(n,e)}function v(e,t,n){var r,o;for(o=e?"previousSibling":"nextSibling";n&&n!=t;){if(r=n[o],x(r)&&(r=r[o]),w(r)){if(g(t,r,n))return r;break}if(S(r))break;n=n.parentNode}return null}function y(e,t,r){var i,a,s,u,l=T(v,!0,t),c=T(v,!1,t);if(a=r.startContainer,s=r.startOffset,o.isCaretContainerBlock(a)){if(k(a)||(a=a.parentNode),u=a.getAttribute("data-mce-caret"),"before"==u&&(i=a.nextSibling,w(i)))return O(i);if("after"==u&&(i=a.previousSibling,w(i)))return M(i)}if(!r.collapsed)return r;if(n.isText(a)){if(x(a)){if(1===e){if(i=c(a))return O(i);if(i=l(a))return M(i)}if(e===-1){if(i=l(a))return M(i);if(i=c(a))return O(i)}return r}if(o.endsWithCaretContainer(a)&&s>=a.data.length-1)return 1===e&&(i=c(a))?O(i):r;if(o.startsWithCaretContainer(a)&&s<=1)return e===-1&&(i=l(a))?M(i):r;if(s===a.data.length)return i=c(a),i?O(i):r;if(0===s)return i=l(a),i?M(i):r}return r}function b(e,t){return w(h(e,t))}var _=n.isContentEditableTrue,w=n.isContentEditableFalse,C=n.matchStyleValues("display","block table table-cell table-caption"),x=o.isCaretContainer,E=o.isCaretContainerBlock,T=e.curry,k=n.isElement,S=i.isCaretCandidate,O=T(m,!0),M=T(m,!1);return{isForwards:a,isBackwards:s,findNode:l,getEditingHost:c,getParentBlock:d,isInSameBlock:f,isInSameEditingHost:p,isBeforeContentEditableFalse:T(b,0),isAfterContentEditableFalse:T(b,-1),normalizeRange:y}}),i("tinymce/caret/CaretWalker",["tinymce/dom/NodeType","tinymce/caret/CaretCandidate","tinymce/caret/CaretPosition","tinymce/caret/CaretUtils","tinymce/util/Arr","tinymce/util/Fun"],function(e,t,n,r,o,i){function a(e,t){for(var n=[];e&&e!=t;)n.push(e),e=e.parentNode;return n}function s(e,t){return e.hasChildNodes()&&t<e.childNodes.length?e.childNodes[t]:null}function u(e,t){if(m(e)){if(v(t.previousSibling)&&!f(t.previousSibling))return n.before(t);if(f(t))return n(t,0)}if(g(e)){if(v(t.nextSibling)&&!f(t.nextSibling))return n.after(t);if(f(t))return n(t,t.data.length)}return g(e)?h(t)?n.before(t):n.after(t):n.before(t)}function l(t,o){var i;return!!e.isBr(t)&&(i=c(1,n.after(t),o),!!i&&!r.isInSameBlock(n.before(t),n.before(i),o))}function c(e,t,h){var _,w,C,x,E,T,k;if(!p(h)||!t)return null;if(k=t,_=k.container(),w=k.offset(),f(_)){if(g(e)&&w>0)return n(_,--w);if(m(e)&&w<_.length)return n(_,++w);C=_}else{if(g(e)&&w>0&&(x=s(_,w-1),v(x)))return!y(x)&&(E=r.findNode(x,e,b,x))?f(E)?n(E,E.data.length):n.after(E):f(x)?n(x,x.data.length):n.before(x);if(m(e)&&w<_.childNodes.length&&(x=s(_,w),v(x)))return l(x,h)?c(e,n.after(x),h):!y(x)&&(E=r.findNode(x,e,b,x))?f(E)?n(E,0):n.before(E):f(x)?n(x,0):n.after(x);C=k.getNode()}return(m(e)&&k.isAtEnd()||g(e)&&k.isAtStart())&&(C=r.findNode(C,e,i.constant(!0),h,!0),b(C))?u(e,C):(x=r.findNode(C,e,b,h),T=o.last(o.filter(a(_,h),d)),!T||x&&T.contains(x)?x?u(e,x):null:k=m(e)?n.after(T):n.before(T))}var d=e.isContentEditableFalse,f=e.isText,p=e.isElement,h=e.isBr,m=r.isForwards,g=r.isBackwards,v=t.isCaretCandidate,y=t.isAtomic,b=t.isEditableCaretCandidate;return function(e){return{next:function(t){return c(1,t,e)},prev:function(t){return c(-1,t,e)}}}}),i("tinymce/InsertList",["tinymce/util/Tools","tinymce/caret/CaretWalker","tinymce/caret/CaretPosition"],function(e,t,n){var r=function(e){var t=e.firstChild,n=e.lastChild;return t&&"meta"===t.name&&(t=t.next),n&&"mce_marker"===n.attr("id")&&(n=n.prev),!(!t||t!==n)&&("ul"===t.name||"ol"===t.name)},o=function(e){var t=e.firstChild,n=e.lastChild;return t&&"META"===t.nodeName&&t.parentNode.removeChild(t),n&&"mce_marker"===n.id&&n.parentNode.removeChild(n),e},i=function(e,t,n){var r=t.serialize(n),i=e.createFragment(r);return o(i)},a=function(t){return e.grep(t.childNodes,function(e){return"LI"===e.nodeName})},s=function(e){return!e.firstChild},u=function(e){return e.length>0&&s(e[e.length-1])?e.slice(0,-1):e},l=function(e,t){var n=e.getParent(t,e.isBlock);return n&&"LI"===n.nodeName?n:null},c=function(e,t){return!!l(e,t)},d=function(e,t){var n=t.cloneRange(),r=t.cloneRange();return n.setStartBefore(e),r.setEndAfter(e),[n.cloneContents(),r.cloneContents()]},f=function(e,r){var o=n.before(e),i=new t(r),a=i.next(o);return a?a.toRange():null},p=function(e,r){var o=n.after(e),i=new t(r),a=i.prev(o);return a?a.toRange():null},h=function(t,n,r,o){var i=d(t,o),a=t.parentNode;return a.insertBefore(i[0],t),e.each(n,function(e){a.insertBefore(e,t)}),a.insertBefore(i[1],t),a.removeChild(t),p(n[n.length-1],r)},m=function(t,n,r){var o=t.parentNode;return e.each(n,function(e){o.insertBefore(e,t)}),f(t,r)},g=function(e,t,n,r){return r.insertAfter(t.reverse(),e),p(t[0],n)},v=function(e,r,o,s){var c=i(r,e,s),d=l(r,o.startContainer),f=u(a(c.firstChild)),p=1,v=2,y=r.getRoot(),b=function(e){var i=n.fromRangeStart(o),a=new t(r.getRoot()),s=e===p?a.prev(i):a.next(i);return!s||l(r,s.getNode())!==d};return b(p)?m(d,f,y):b(v)?g(d,f,y,r):h(d,f,y,o)};return{isListFragment:r,insertAtCaret:v,isParentBlockLi:c,trimListItems:u,listItems:a}}),i("tinymce/InsertContent",["tinymce/Env","tinymce/util/Tools","tinymce/html/Serializer","tinymce/caret/CaretWalker","tinymce/caret/CaretPosition","tinymce/dom/ElementUtils","tinymce/dom/NodeType","tinymce/InsertList"],function(e,t,n,r,o,i,a,s){var u=a.matchNodeNames("td th"),l=function(e,t,n){if("all"===n.getAttribute("data-mce-bogus"))n.parentNode.insertBefore(e.dom.createFragment(t),n);else{var r=n.firstChild,o=n.lastChild;!r||r===o&&"BR"===r.nodeName?e.dom.setHTML(n,t):e.selection.setContent(t)}},c=function(a,c,d){function f(e){function t(e){return r[e]&&3==r[e].nodeType}var n,r,o;return n=P.getRng(!0),r=n.startContainer,o=n.startOffset,3==r.nodeType&&(o>0?e=e.replace(/^&nbsp;/," "):t("previousSibling")||(e=e.replace(/^ /,"&nbsp;")),o<r.length?e=e.replace(/&nbsp;(<br>|)$/," "):t("nextSibling")||(e=e.replace(/(&nbsp;| )(<br>|)$/,"&nbsp;"))),e}function p(){var e,t,n;e=P.getRng(!0),t=e.startContainer,n=e.startOffset,3==t.nodeType&&e.collapsed&&(" "===t.data[n]?(t.deleteData(n,1),/[\u00a0| ]$/.test(c)||(c+=" ")):" "===t.data[n-1]&&(t.deleteData(n-1,1),/[\u00a0| ]$/.test(c)||(c=" "+c)))}function h(){if(N){var e=a.getBody(),n=new i(D);t.each(D.select("*[data-mce-fragment]"),function(t){for(var r=t.parentNode;r&&r!=e;r=r.parentNode)I[t.nodeName.toLowerCase()]&&n.compare(r,t)&&D.remove(t,!0)})}}function m(e){for(var t=e;t=t.walk();)1===t.type&&t.attr("data-mce-fragment","1")}function g(e){t.each(e.getElementsByTagName("*"),function(e){e.removeAttribute("data-mce-fragment")})}function v(e){return!!e.getAttribute("data-mce-fragment")}function y(e){return e&&!a.schema.getShortEndedElements()[e.nodeName]}function b(t){function n(e){for(var t=a.getBody();e&&e!==t;e=e.parentNode)if("false"===a.dom.getContentEditable(e))return e;return null}function i(e){var t=o.fromRangeStart(e),n=new r(a.getBody());if(t=n.next(t))return t.toRange()}var s,l,c;if(t){if(P.scrollIntoView(t),s=n(t))return D.remove(t),void P.select(s);S=D.createRng(),O=t.previousSibling,O&&3==O.nodeType?(S.setStart(O,O.nodeValue.length),e.ie||(M=t.nextSibling,M&&3==M.nodeType&&(O.appendData(M.data),M.parentNode.removeChild(M)))):(S.setStartBefore(t),S.setEndBefore(t)),l=D.getParent(t,D.isBlock),D.remove(t),l&&D.isEmpty(l)&&(a.$(l).empty(),S.setStart(l,0),S.setEnd(l,0),u(l)||v(l)||!(c=i(S))?D.add(l,D.create("br",{"data-mce-bogus":"1"})):(S=c,D.remove(l))),P.setRng(S)}}var _,w,C,x,E,T,k,S,O,M,A,N,I=a.schema.getTextInlineElements(),P=a.selection,D=a.dom;/^ | $/.test(c)&&(c=f(c)),_=a.parser,N=d.merge,w=new n({validate:a.settings.validate},a.schema),A='<span id="mce_marker" data-mce-type="bookmark">&#xFEFF;&#x200B;</span>',T={content:c,format:"html",selection:!0},a.fire("BeforeSetContent",T),c=T.content,c.indexOf("{$caret}")==-1&&(c+="{$caret}"),c=c.replace(/\{\$caret\}/,A),S=P.getRng();var R=S.startContainer||(S.parentElement?S.parentElement():null),j=a.getBody();R===j&&P.isCollapsed()&&D.isBlock(j.firstChild)&&y(j.firstChild)&&D.isEmpty(j.firstChild)&&(S=D.createRng(),S.setStart(j.firstChild,0),S.setEnd(j.firstChild,0),P.setRng(S)),P.isCollapsed()||(a.selection.setRng(a.selection.getRng()),a.getDoc().execCommand("Delete",!1,null),p()),C=P.getNode();var L={context:C.nodeName.toLowerCase(),data:d.data};if(E=_.parse(c,L),d.paste===!0&&s.isListFragment(E)&&s.isParentBlockLi(D,C))return S=s.insertAtCaret(w,D,a.selection.getRng(!0),E),a.selection.setRng(S),void a.fire("SetContent",T);if(m(E),O=E.lastChild,"mce_marker"==O.attr("id"))for(k=O,O=O.prev;O;O=O.walk(!0))if(3==O.type||!D.isBlock(O.name)){a.schema.isValidChild(O.parent.name,"span")&&O.parent.insert(k,O,"br"===O.name);break}if(a._selectionOverrides.showBlockCaretContainer(C),L.invalid){for(P.setContent(A),C=P.getNode(),x=a.getBody(),9==C.nodeType?C=O=x:O=C;O!==x;)C=O,O=O.parentNode;c=C==x?x.innerHTML:D.getOuterHTML(C),c=w.serialize(_.parse(c.replace(/<span (id="mce_marker"|id=mce_marker).+?<\/span>/i,function(){return w.serialize(E)}))),C==x?D.setHTML(x,c):D.setOuterHTML(C,c)}else c=w.serialize(E),l(a,c,C);h(),b(D.get("mce_marker")),g(a.getBody()),a.fire("SetContent",T),a.addVisual()},d=function(e){var n;return"string"!=typeof e?(n=t.extend({paste:e.paste,data:{paste:e.paste}},e),{content:e.content,details:n}):{content:e,details:{}}},f=function(e,t){var n=d(t);c(e,n.content,n.details)};return{insertAtCaret:f}}),i("tinymce/EditorCommands",["tinymce/Env","tinymce/util/Tools","tinymce/dom/RangeUtils","tinymce/dom/TreeWalker","tinymce/InsertContent","tinymce/dom/NodeType"],function(e,t,n,o,i,a){var s=t.each,u=t.extend,l=t.map,c=t.inArray,d=t.explode,f=e.ie&&e.ie<11,p=!0,h=!1;return function(t){function m(e,n,r,o){var i,a,u=0;if(/^(mceAddUndoLevel|mceEndUndoLevel|mceBeginUndoLevel|mceRepaint)$/.test(e)||o&&o.skip_focus||t.focus(),o=t.fire("BeforeExecCommand",{command:e,ui:n,value:r}),o.isDefaultPrevented())return!1;if(a=e.toLowerCase(),i=P.exec[a])return i(a,n,r),t.fire("ExecCommand",{command:e,ui:n,value:r}),!0;if(s(t.plugins,function(o){if(o.execCommand&&o.execCommand(e,n,r))return t.fire("ExecCommand",{command:e,ui:n,value:r}),u=!0,!1}),u)return u;if(t.theme&&t.theme.execCommand&&t.theme.execCommand(e,n,r))return t.fire("ExecCommand",{command:e,ui:n,value:r}),!0;try{u=t.getDoc().execCommand(e,n,r)}catch(e){}return!!u&&(t.fire("ExecCommand",{command:e,ui:n,value:r}),!0)}function g(e){var n;if(!t.quirks.isHidden()){if(e=e.toLowerCase(),n=P.state[e])return n(e);try{return t.getDoc().queryCommandState(e)}catch(e){}return!1}}function v(e){var n;if(!t.quirks.isHidden()){if(e=e.toLowerCase(),n=P.value[e])return n(e);try{return t.getDoc().queryCommandValue(e)}catch(e){}}}function y(e,t){t=t||"exec",s(e,function(e,n){s(n.toLowerCase().split(","),function(n){P[t][n]=e})})}function b(e,n,r){e=e.toLowerCase(),P.exec[e]=function(e,o,i,a){return n.call(r||t,o,i,a)}}function _(e){if(e=e.toLowerCase(),P.exec[e])return!0;try{return t.getDoc().queryCommandSupported(e)}catch(e){}return!1}function w(e,n,r){e=e.toLowerCase(),P.state[e]=function(){return n.call(r||t)}}function C(e,n,r){e=e.toLowerCase(),P.value[e]=function(){return n.call(r||t)}}function x(e){return e=e.toLowerCase(),!!P.exec[e]}function E(e,n,o){return n===r&&(n=h),o===r&&(o=null),t.getDoc().execCommand(e,n,o)}function T(e){return N.match(e)}function k(e,n){N.toggle(e,n?{value:n}:r),t.nodeChanged()}function S(e){I=A.getBookmark(e)}function O(){A.moveToBookmark(I)}var M,A,N,I,P={state:{},exec:{},value:{}},D=t.settings;t.on("PreInit",function(){M=t.dom,A=t.selection,D=t.settings,N=t.formatter}),u(this,{execCommand:m,queryCommandState:g,queryCommandValue:v,queryCommandSupported:_,addCommands:y,addCommand:b,addQueryStateHandler:w,addQueryValueHandler:C,hasCustomCommand:x}),y({"mceResetDesignMode,mceBeginUndoLevel":function(){},"mceEndUndoLevel,mceAddUndoLevel":function(){t.undoManager.add()},"Cut,Copy,Paste":function(n){var r,o=t.getDoc();try{E(n)}catch(e){r=p}if("paste"!==n||o.queryCommandEnabled(n)||(r=!0),r||!o.queryCommandSupported(n)){var i=t.translate("Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X/C/V keyboard shortcuts instead.");e.mac&&(i=i.replace(/Ctrl\+/g,"⌘+")),t.notificationManager.open({text:i,type:"error"})}},unlink:function(){if(A.isCollapsed()){var e=t.dom.getParent(t.selection.getStart(),"a");return void(e&&t.dom.remove(e,!0))}N.remove("link")},"JustifyLeft,JustifyCenter,JustifyRight,JustifyFull,JustifyNone":function(e){var t=e.substring(7);"full"==t&&(t="justify"),s("left,center,right,justify".split(","),function(e){t!=e&&N.remove("align"+e)}),"none"!=t&&k("align"+t)},"InsertUnorderedList,InsertOrderedList":function(e){var t,n;E(e),t=M.getParent(A.getNode(),"ol,ul"),t&&(n=t.parentNode,/^(H[1-6]|P|ADDRESS|PRE)$/.test(n.nodeName)&&(S(),M.split(n,t),O()))},"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":function(e){k(e)},"ForeColor,HiliteColor,FontName":function(e,t,n){k(e,n)},FontSize:function(e,t,n){var r,o;n>=1&&n<=7&&(o=d(D.font_size_style_values),r=d(D.font_size_classes),n=r?r[n-1]||n:o[n-1]||n),k(e,n)},RemoveFormat:function(e){N.remove(e)},mceBlockQuote:function(){k("blockquote")},FormatBlock:function(e,t,n){return k(n||"p")},mceCleanup:function(){var e=A.getBookmark();t.setContent(t.getContent({cleanup:p}),{cleanup:p}),A.moveToBookmark(e)},mceRemoveNode:function(e,n,r){var o=r||A.getNode();o!=t.getBody()&&(S(),t.dom.remove(o,p),O())},mceSelectNodeDepth:function(e,n,r){var o=0;M.getParent(A.getNode(),function(e){if(1==e.nodeType&&o++==r)return A.select(e),h},t.getBody())},mceSelectNode:function(e,t,n){A.select(n)},mceInsertContent:function(e,n,r){i.insertAtCaret(t,r)},mceInsertRawHTML:function(e,n,r){A.setContent("tiny_mce_marker"),t.setContent(t.getContent().replace(/tiny_mce_marker/g,function(){return r}))},mceToggleFormat:function(e,t,n){k(n)},mceSetContent:function(e,n,r){t.setContent(r)},"Indent,Outdent":function(e){var n,r,o;n=D.indentation,r=/[a-z%]+$/i.exec(n),n=parseInt(n,10),g("InsertUnorderedList")||g("InsertOrderedList")?E(e):(D.forced_root_block||M.getParent(A.getNode(),M.isBlock)||N.apply("div"),s(A.getSelectedBlocks(),function(i){if("false"!==M.getContentEditable(i)&&"LI"!==i.nodeName){var a=t.getParam("indent_use_margin",!1)?"margin":"padding";a="TABLE"===i.nodeName?"margin":a,a+="rtl"==M.getStyle(i,"direction",!0)?"Right":"Left","outdent"==e?(o=Math.max(0,parseInt(i.style[a]||0,10)-n),M.setStyle(i,a,o?o+r:"")):(o=parseInt(i.style[a]||0,10)+n+r,M.setStyle(i,a,o))}}))},mceRepaint:function(){},InsertHorizontalRule:function(){t.execCommand("mceInsertContent",!1,"<hr />")},mceToggleVisualAid:function(){t.hasVisual=!t.hasVisual,t.addVisual()},mceReplaceContent:function(e,n,r){t.execCommand("mceInsertContent",!1,r.replace(/\{\$selection\}/g,A.getContent({format:"text"})))},mceInsertLink:function(e,t,n){var r;"string"==typeof n&&(n={href:n}),r=M.getParent(A.getNode(),"a"),n.href=n.href.replace(" ","%20"),r&&n.href||N.remove("link"),n.href&&N.apply("link",n,r)},selectAll:function(){var e,t=M.getRoot();if(A.getRng().setStart){var n=M.getParent(A.getStart(),a.isContentEditableTrue);n&&(e=M.createRng(),e.selectNodeContents(n),A.setRng(e))}else e=A.getRng(),e.item||(e.moveToElementText(t),e.select())},delete:function(){E("Delete");var e=t.getBody();M.isEmpty(e)&&(t.setContent(""),e.firstChild&&M.isBlock(e.firstChild)?t.selection.setCursorLocation(e.firstChild,0):t.selection.setCursorLocation(e,0))},mceNewDocument:function(){t.setContent("")},InsertLineBreak:function(e,r,i){function a(){for(var e,n=new o(m,v),r=t.schema.getNonEmptyElements();e=n.next();)if(r[e.nodeName.toLowerCase()]||e.length>0)return!0}var s,u,l,c=i,d=A.getRng(!0);new n(M).normalize(d);var h=d.startOffset,m=d.startContainer;if(1==m.nodeType&&m.hasChildNodes()){var g=h>m.childNodes.length-1;m=m.childNodes[Math.min(h,m.childNodes.length-1)]||m,h=g&&3==m.nodeType?m.nodeValue.length:0}var v=M.getParent(m,M.isBlock),y=v?v.nodeName.toUpperCase():"",b=v?M.getParent(v.parentNode,M.isBlock):null,_=b?b.nodeName.toUpperCase():"",w=c&&c.ctrlKey;"LI"!=_||w||(v=b,y=_),m&&3==m.nodeType&&h>=m.nodeValue.length&&(f||a()||(s=M.create("br"),d.insertNode(s),d.setStartAfter(s),d.setEndAfter(s),u=!0)),s=M.create("br"),d.insertNode(s);var C=M.doc.documentMode;return f&&"PRE"==y&&(!C||C<8)&&s.parentNode.insertBefore(M.doc.createTextNode("\r"),s),l=M.create("span",{},"&nbsp;"),s.parentNode.insertBefore(l,s),A.scrollIntoView(l),M.remove(l),u?(d.setStartBefore(s),d.setEndBefore(s)):(d.setStartAfter(s),d.setEndAfter(s)),A.setRng(d),t.undoManager.add(),p}}),y({"JustifyLeft,JustifyCenter,JustifyRight,JustifyFull":function(e){var t="align"+e.substring(7),n=A.isCollapsed()?[M.getParent(A.getNode(),M.isBlock)]:A.getSelectedBlocks(),r=l(n,function(e){return!!N.matchNode(e,t)});return c(r,p)!==-1},"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":function(e){return T(e)},mceBlockQuote:function(){return T("blockquote")},Outdent:function(){var e;if(D.inline_styles){if((e=M.getParent(A.getStart(),M.isBlock))&&parseInt(e.style.paddingLeft,10)>0)return p;if((e=M.getParent(A.getEnd(),M.isBlock))&&parseInt(e.style.paddingLeft,10)>0)return p}return g("InsertUnorderedList")||g("InsertOrderedList")||!D.inline_styles&&!!M.getParent(A.getNode(),"BLOCKQUOTE")},"InsertUnorderedList,InsertOrderedList":function(e){var t=M.getParent(A.getNode(),"ul,ol");return t&&("insertunorderedlist"===e&&"UL"===t.tagName||"insertorderedlist"===e&&"OL"===t.tagName)}},"state"),y({"FontSize,FontName":function(e){var t,n=0;return(t=M.getParent(A.getNode(),"span"))&&(n="fontsize"==e?t.style.fontSize:t.style.fontFamily.replace(/, /g,",").replace(/[\'\"]/g,"").toLowerCase()),n}},"value"),y({Undo:function(){t.undoManager.undo()},Redo:function(){t.undoManager.redo()}})}}),i("tinymce/util/URI",["tinymce/util/Tools"],function(e){function t(e,i){var a,s,u=this;if(e=r(e),i=u.settings=i||{},a=i.base_uri,/^([\w\-]+):([^\/]{2})/i.test(e)||/^\s*#/.test(e))return void(u.source=e);var l=0===e.indexOf("//");0!==e.indexOf("/")||l||(e=(a?a.protocol||"http":"http")+"://mce_host"+e),/^[\w\-]*:?\/\//.test(e)||(s=i.base_uri?i.base_uri.path:new t(location.href).directory,""===i.base_uri.protocol?e="//mce_host"+u.toAbsPath(s,e):(e=/([^#?]*)([#?]?.*)/.exec(e),e=(a&&a.protocol||"http")+"://mce_host"+u.toAbsPath(s,e[1])+e[2])),e=e.replace(/@@/g,"(mce_at)"),e=/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@\/]*):?([^:@\/]*))?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/.exec(e),n(o,function(t,n){var r=e[n];r&&(r=r.replace(/\(mce_at\)/g,"@@")),u[t]=r}),a&&(u.protocol||(u.protocol=a.protocol),u.userInfo||(u.userInfo=a.userInfo),u.port||"mce_host"!==u.host||(u.port=a.port),u.host&&"mce_host"!==u.host||(u.host=a.host),u.source=""),l&&(u.protocol="")}var n=e.each,r=e.trim,o="source protocol authority userInfo user password host port relative path directory file query anchor".split(" "),i={ftp:21,http:80,https:443,mailto:25};return t.prototype={setPath:function(e){var t=this;e=/^(.*?)\/?(\w+)?$/.exec(e),t.path=e[0],t.directory=e[1],t.file=e[2],t.source="",t.getURI()},toRelative:function(e){var n,r=this;if("./"===e)return e;if(e=new t(e,{base_uri:r}),"mce_host"!=e.host&&r.host!=e.host&&e.host||r.port!=e.port||r.protocol!=e.protocol&&""!==e.protocol)return e.getURI();var o=r.getURI(),i=e.getURI();return o==i||"/"==o.charAt(o.length-1)&&o.substr(0,o.length-1)==i?o:(n=r.toRelPath(r.path,e.path),e.query&&(n+="?"+e.query),e.anchor&&(n+="#"+e.anchor),n)},toAbsolute:function(e,n){return e=new t(e,{base_uri:this}),e.getURI(n&&this.isSameOrigin(e))},isSameOrigin:function(e){if(this.host==e.host&&this.protocol==e.protocol){if(this.port==e.port)return!0;var t=i[this.protocol];if(t&&(this.port||t)==(e.port||t))return!0}return!1},toRelPath:function(e,t){var n,r,o,i=0,a="";if(e=e.substring(0,e.lastIndexOf("/")),e=e.split("/"),n=t.split("/"),e.length>=n.length)for(r=0,o=e.length;r<o;r++)if(r>=n.length||e[r]!=n[r]){i=r+1;break}if(e.length<n.length)for(r=0,o=n.length;r<o;r++)if(r>=e.length||e[r]!=n[r]){i=r+1;break}if(1===i)return t;for(r=0,o=e.length-(i-1);r<o;r++)a+="../";for(r=i-1,o=n.length;r<o;r++)a+=r!=i-1?"/"+n[r]:n[r];return a},toAbsPath:function(e,t){var r,o,i,a=0,s=[];for(o=/\/$/.test(t)?"/":"",e=e.split("/"),t=t.split("/"),n(e,function(e){e&&s.push(e)}),e=s,r=t.length-1,s=[];r>=0;r--)0!==t[r].length&&"."!==t[r]&&(".."!==t[r]?a>0?a--:s.push(t[r]):a++);return r=e.length-a,i=r<=0?s.reverse().join("/"):e.slice(0,r).join("/")+"/"+s.reverse().join("/"),0!==i.indexOf("/")&&(i="/"+i),o&&i.lastIndexOf("/")!==i.length-1&&(i+=o),i},getURI:function(e){var t,n=this;return n.source&&!e||(t="",e||(t+=n.protocol?n.protocol+"://":"//",n.userInfo&&(t+=n.userInfo+"@"),n.host&&(t+=n.host),n.port&&(t+=":"+n.port)),n.path&&(t+=n.path),n.query&&(t+="?"+n.query),n.anchor&&(t+="#"+n.anchor),n.source=t),n.source}},t.parseDataUri=function(e){var t,n;return e=decodeURIComponent(e).split(","),n=/data:([^;]+)/.exec(e[0]),n&&(t=n[1]),{type:t,data:e[1]}},t.getDocumentBaseUrl=function(e){var t;return t=0!==e.protocol.indexOf("http")&&"file:"!==e.protocol?e.href:e.protocol+"//"+e.host+e.pathname,/^[^:]+:\/\/\/?[^\/]+\//.test(t)&&(t=t.replace(/[\?#].*$/,"").replace(/[\/\\][^\/]+$/,""),/[\/\\]$/.test(t)||(t+="/")),t},t}),i("tinymce/util/Class",["tinymce/util/Tools"],function(e){function t(){}var n,r,o=e.each,i=e.extend;return t.extend=n=function(e){function t(){var e,t,n,o=this;if(!r&&(o.init&&o.init.apply(o,arguments),t=o.Mixins))for(e=t.length;e--;)n=t[e],n.init&&n.init.apply(o,arguments)}function a(){return this}function s(e,t){return function(){var n,r=this,o=r._super;return r._super=f[e],n=t.apply(r,arguments),r._super=o,n}}var u,l,c,d=this,f=d.prototype;r=!0,u=new d,r=!1,e.Mixins&&(o(e.Mixins,function(t){for(var n in t)"init"!==n&&(e[n]=t[n])}),f.Mixins&&(e.Mixins=f.Mixins.concat(e.Mixins))),e.Methods&&o(e.Methods.split(","),function(t){e[t]=a}),e.Properties&&o(e.Properties.split(","),function(t){var n="_"+t;e[t]=function(e){var t,r=this;return e!==t?(r[n]=e,r):r[n]}}),e.Statics&&o(e.Statics,function(e,n){t[n]=e}),e.Defaults&&f.Defaults&&(e.Defaults=i({},f.Defaults,e.Defaults));for(l in e)c=e[l],"function"==typeof c&&f[l]?u[l]=s(l,c):u[l]=c;return t.prototype=u,t.constructor=t,t.extend=n,t},t}),i("tinymce/util/EventDispatcher",["tinymce/util/Tools"],function(e){function t(t){function n(){return!1}function r(){return!0}function o(e,o){var i,s,u,c;if(e=e.toLowerCase(),o=o||{},o.type=e,o.target||(o.target=l),o.preventDefault||(o.preventDefault=function(){o.isDefaultPrevented=r},o.stopPropagation=function(){o.isPropagationStopped=r},o.stopImmediatePropagation=function(){o.isImmediatePropagationStopped=r},o.isDefaultPrevented=n,o.isPropagationStopped=n,o.isImmediatePropagationStopped=n),t.beforeFire&&t.beforeFire(o),i=f[e])for(s=0,u=i.length;s<u;s++){if(c=i[s],c.once&&a(e,c.func),o.isImmediatePropagationStopped())return o.stopPropagation(),o;if(c.func.call(l,o)===!1)return o.preventDefault(),o}return o}function i(t,r,o,i){var a,s,u;if(r===!1&&(r=n),r)for(r={func:r},i&&e.extend(r,i),s=t.toLowerCase().split(" "),u=s.length;u--;)t=s[u],a=f[t],a||(a=f[t]=[],c(t,!0)),o?a.unshift(r):a.push(r);return d}function a(e,t){var n,r,o,i,a;if(e)for(i=e.toLowerCase().split(" "),n=i.length;n--;){if(e=i[n],r=f[e],!e){for(o in f)c(o,!1),delete f[o];return d}if(r){if(t)for(a=r.length;a--;)r[a].func===t&&(r=r.slice(0,a).concat(r.slice(a+1)),f[e]=r);else r.length=0;r.length||(c(e,!1),delete f[e])}}else{for(e in f)c(e,!1);f={}}return d}function s(e,t,n){return i(e,t,n,{once:!0})}function u(e){return e=e.toLowerCase(),!(!f[e]||0===f[e].length)}var l,c,d=this,f={};t=t||{},l=t.scope||d,c=t.toggleEvent||n,d.fire=o,d.on=i,d.off=a,d.once=s,d.has=u}var n=e.makeMap("focus blur focusin focusout click dblclick mousedown mouseup mousemove mouseover beforepaste paste cut copy selectionchange mouseout mouseenter mouseleave wheel keydown keypress keyup input contextmenu dragstart dragend dragover draggesture dragdrop drop drag submit compositionstart compositionend compositionupdate touchstart touchmove touchend"," ");return t.isNative=function(e){return!!n[e.toLowerCase()]},t}),i("tinymce/data/Binding",[],function(){function e(e){this.create=e.create}return e.create=function(t,n){return new e({create:function(e,r){function o(t){e.set(r,t.value)}function i(e){t.set(n,e.value)}var a;return e.on("change:"+r,i),t.on("change:"+n,o),a=e._bindings,a||(a=e._bindings=[],e.on("destroy",function(){for(var e=a.length;e--;)a[e]()})),a.push(function(){t.off("change:"+n,o)}),t.get(n)}})},e}),i("tinymce/util/Observable",["tinymce/util/EventDispatcher"],function(e){function t(t){return t._eventDispatcher||(t._eventDispatcher=new e({scope:t,toggleEvent:function(n,r){e.isNative(n)&&t.toggleNativeEvent&&t.toggleNativeEvent(n,r)}})),t._eventDispatcher}return{fire:function(e,n,r){var o=this;if(o.removed&&"remove"!==e)return n;if(n=t(o).fire(e,n,r),r!==!1&&o.parent)for(var i=o.parent();i&&!n.isPropagationStopped();)i.fire(e,n,!1),i=i.parent();return n},on:function(e,n,r){return t(this).on(e,n,r)},off:function(e,n){return t(this).off(e,n)},once:function(e,n){return t(this).once(e,n)},hasEventListeners:function(e){return t(this).has(e)}}}),i("tinymce/data/ObservableObject",["tinymce/data/Binding","tinymce/util/Observable","tinymce/util/Class","tinymce/util/Tools"],function(e,t,n,r){function o(e){return e.nodeType>0}function i(e,t){var n,a;if(e===t)return!0;if(null===e||null===t)return e===t;if("object"!=typeof e||"object"!=typeof t)return e===t;if(r.isArray(t)){if(e.length!==t.length)return!1;for(n=e.length;n--;)if(!i(e[n],t[n]))return!1}if(o(e)||o(t))return e===t;a={};for(n in t){if(!i(e[n],t[n]))return!1;a[n]=!0}for(n in e)if(!a[n]&&!i(e[n],t[n]))return!1;return!0}return n.extend({Mixins:[t],init:function(t){var n,r;t=t||{};for(n in t)r=t[n],r instanceof e&&(t[n]=r.create(this,n));this.data=t},set:function(t,n){var r,o,a=this.data[t];if(n instanceof e&&(n=n.create(this,t)),"object"==typeof t){for(r in t)this.set(r,t[r]);return this}return i(a,n)||(this.data[t]=n,o={target:this,name:t,value:n,oldValue:a},this.fire("change:"+t,o),this.fire("change",o)),this},get:function(e){return this.data[e]},has:function(e){return e in this.data},bind:function(t){return e.create(this,t)},destroy:function(){this.fire("destroy")}})}),i("tinymce/ui/Selector",["tinymce/util/Class"],function(e){function t(e){for(var t,n=[],r=e.length;r--;)t=e[r],t.__checked||(n.push(t),t.__checked=1);for(r=n.length;r--;)delete n[r].__checked;return n}var n,r=/^([\w\\*]+)?(?:#([\w\-\\]+))?(?:\.([\w\\\.]+))?(?:\[\@?([\w\\]+)([\^\$\*!~]?=)([\w\\]+)\])?(?:\:(.+))?/i,o=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,i=/^\s*|\s*$/g,a=e.extend({init:function(e){function t(e){if(e)return e=e.toLowerCase(),function(t){return"*"===e||t.type===e}}function n(e){if(e)return function(t){return t._name===e}}function a(e){if(e)return e=e.split("."),function(t){for(var n=e.length;n--;)if(!t.classes.contains(e[n]))return!1;return!0}}function s(e,t,n){if(e)return function(r){var o=r[e]?r[e]():"";return t?"="===t?o===n:"*="===t?o.indexOf(n)>=0:"~="===t?(" "+o+" ").indexOf(" "+n+" ")>=0:"!="===t?o!=n:"^="===t?0===o.indexOf(n):"$="===t&&o.substr(o.length-n.length)===n:!!n}}function u(e){var t;if(e)return e=/(?:not\((.+)\))|(.+)/i.exec(e),e[1]?(t=c(e[1],[]),function(e){return!d(e,t)}):(e=e[2],function(t,n,r){return"first"===e?0===n:"last"===e?n===r-1:"even"===e?n%2===0:"odd"===e?n%2===1:!!t[e]&&t[e]()})}function l(e,o,l){function c(e){e&&o.push(e)}var d;return d=r.exec(e.replace(i,"")),c(t(d[1])),c(n(d[2])),c(a(d[3])),c(s(d[4],d[5],d[6])),c(u(d[7])),o.pseudo=!!d[7],o.direct=l,o}function c(e,t){var n,r,i,a=[];do if(o.exec(""),r=o.exec(e),r&&(e=r[3],a.push(r[1]),r[2])){n=r[3];break}while(r);for(n&&c(n,t),e=[],i=0;i<a.length;i++)">"!=a[i]&&e.push(l(a[i],[],">"===a[i-1]));return t.push(e),t}var d=this.match;this._selectors=c(e,[])},match:function(e,t){var n,r,o,i,a,s,u,l,c,d,f,p,h;for(t=t||this._selectors,n=0,r=t.length;n<r;n++){for(a=t[n],i=a.length,h=e,p=0,o=i-1;o>=0;o--)for(l=a[o];h;){if(l.pseudo)for(f=h.parent().items(),c=d=f.length;c--&&f[c]!==h;);for(s=0,u=l.length;s<u;s++)if(!l[s](h,c,d)){s=u+1;break}if(s===u){p++;break}if(o===i-1)break;h=h.parent()}if(p===i)return!0}return!1},find:function(e){function r(e,t,n){var o,i,a,u,l,c=t[n];for(o=0,i=e.length;o<i;o++){for(l=e[o],a=0,u=c.length;a<u;a++)if(!c[a](l,o,i)){a=u+1;break}if(a===u)n==t.length-1?s.push(l):l.items&&r(l.items(),t,n+1);else if(c.direct)return;l.items&&r(l.items(),t,n)}}var o,i,s=[],u=this._selectors;if(e.items){for(o=0,i=u.length;o<i;o++)r(e.items(),u[o],0);i>1&&(s=t(s))}return n||(n=a.Collection),new n(s)}});return a}),i("tinymce/ui/Collection",["tinymce/util/Tools","tinymce/ui/Selector","tinymce/util/Class"],function(e,t,n){var r,o,i=Array.prototype.push,a=Array.prototype.slice;
+return o={length:0,init:function(e){e&&this.add(e)},add:function(t){var n=this;return e.isArray(t)?i.apply(n,t):t instanceof r?n.add(t.toArray()):i.call(n,t),n},set:function(e){var t,n=this,r=n.length;for(n.length=0,n.add(e),t=n.length;t<r;t++)delete n[t];return n},filter:function(e){var n,o,i,a,s=this,u=[];for("string"==typeof e?(e=new t(e),a=function(t){return e.match(t)}):a=e,n=0,o=s.length;n<o;n++)i=s[n],a(i)&&u.push(i);return new r(u)},slice:function(){return new r(a.apply(this,arguments))},eq:function(e){return e===-1?this.slice(e):this.slice(e,+e+1)},each:function(t){return e.each(this,t),this},toArray:function(){return e.toArray(this)},indexOf:function(e){for(var t=this,n=t.length;n--&&t[n]!==e;);return n},reverse:function(){return new r(e.toArray(this).reverse())},hasClass:function(e){return!!this[0]&&this[0].classes.contains(e)},prop:function(e,t){var n,r,o=this;return t!==n?(o.each(function(n){n[e]&&n[e](t)}),o):(r=o[0],r&&r[e]?r[e]():void 0)},exec:function(t){var n=this,r=e.toArray(arguments).slice(1);return n.each(function(e){e[t]&&e[t].apply(e,r)}),n},remove:function(){for(var e=this.length;e--;)this[e].remove();return this},addClass:function(e){return this.each(function(t){t.classes.add(e)})},removeClass:function(e){return this.each(function(t){t.classes.remove(e)})}},e.each("fire on off show hide append prepend before after reflow".split(" "),function(t){o[t]=function(){var n=e.toArray(arguments);return this.each(function(e){t in e&&e[t].apply(e,n)}),this}}),e.each("text name disabled active selected checked visible parent value data".split(" "),function(e){o[e]=function(t){return this.prop(e,t)}}),r=n.extend(o),t.Collection=r,r}),i("tinymce/ui/DomUtils",["tinymce/Env","tinymce/util/Tools","tinymce/dom/DOMUtils"],function(e,t,n){var r=0,o={id:function(){return"mceu_"+r++},create:function(e,r,o){var i=document.createElement(e);return n.DOM.setAttribs(i,r),"string"==typeof o?i.innerHTML=o:t.each(o,function(e){e.nodeType&&i.appendChild(e)}),i},createFragment:function(e){return n.DOM.createFragment(e)},getWindowSize:function(){return n.DOM.getViewPort()},getSize:function(e){var t,n;if(e.getBoundingClientRect){var r=e.getBoundingClientRect();t=Math.max(r.width||r.right-r.left,e.offsetWidth),n=Math.max(r.height||r.bottom-r.bottom,e.offsetHeight)}else t=e.offsetWidth,n=e.offsetHeight;return{width:t,height:n}},getPos:function(e,t){return n.DOM.getPos(e,t||o.getContainer())},getContainer:function(){return e.container?e.container:document.body},getViewPort:function(e){return n.DOM.getViewPort(e)},get:function(e){return document.getElementById(e)},addClass:function(e,t){return n.DOM.addClass(e,t)},removeClass:function(e,t){return n.DOM.removeClass(e,t)},hasClass:function(e,t){return n.DOM.hasClass(e,t)},toggleClass:function(e,t,r){return n.DOM.toggleClass(e,t,r)},css:function(e,t,r){return n.DOM.setStyle(e,t,r)},getRuntimeStyle:function(e,t){return n.DOM.getStyle(e,t,!0)},on:function(e,t,r,o){return n.DOM.bind(e,t,r,o)},off:function(e,t,r){return n.DOM.unbind(e,t,r)},fire:function(e,t,r){return n.DOM.fire(e,t,r)},innerHtml:function(e,t){n.DOM.setHTML(e,t)}};return o}),i("tinymce/ui/BoxUtils",[],function(){return{parseBox:function(e){var t,n=10;if(e)return"number"==typeof e?(e=e||0,{top:e,left:e,bottom:e,right:e}):(e=e.split(" "),t=e.length,1===t?e[1]=e[2]=e[3]=e[0]:2===t?(e[2]=e[0],e[3]=e[1]):3===t&&(e[3]=e[1]),{top:parseInt(e[0],n)||0,right:parseInt(e[1],n)||0,bottom:parseInt(e[2],n)||0,left:parseInt(e[3],n)||0})},measureBox:function(e,t){function n(t){var n=document.defaultView;return n?(t=t.replace(/[A-Z]/g,function(e){return"-"+e}),n.getComputedStyle(e,null).getPropertyValue(t)):e.currentStyle[t]}function r(e){var t=parseFloat(n(e),10);return isNaN(t)?0:t}return{top:r(t+"TopWidth"),right:r(t+"RightWidth"),bottom:r(t+"BottomWidth"),left:r(t+"LeftWidth")}}}}),i("tinymce/ui/ClassList",["tinymce/util/Tools"],function(e){function t(){}function n(e){this.cls=[],this.cls._map={},this.onchange=e||t,this.prefix=""}return e.extend(n.prototype,{add:function(e){return e&&!this.contains(e)&&(this.cls._map[e]=!0,this.cls.push(e),this._change()),this},remove:function(e){if(this.contains(e)){for(var t=0;t<this.cls.length&&this.cls[t]!==e;t++);this.cls.splice(t,1),delete this.cls._map[e],this._change()}return this},toggle:function(e,t){var n=this.contains(e);return n!==t&&(n?this.remove(e):this.add(e),this._change()),this},contains:function(e){return!!this.cls._map[e]},_change:function(){delete this.clsValue,this.onchange.call(this)}}),n.prototype.toString=function(){var e;if(this.clsValue)return this.clsValue;e="";for(var t=0;t<this.cls.length;t++)t>0&&(e+=" "),e+=this.prefix+this.cls[t];return e},n}),i("tinymce/ui/ReflowQueue",["tinymce/util/Delay"],function(e){var t,n={};return{add:function(r){var o=r.parent();if(o){if(!o._layout||o._layout.isNative())return;n[o._id]||(n[o._id]=o),t||(t=!0,e.requestAnimationFrame(function(){var e,r;t=!1;for(e in n)r=n[e],r.state.get("rendered")&&r.reflow();n={}},document.body))}},remove:function(e){n[e._id]&&delete n[e._id]}}}),i("tinymce/ui/Control",["tinymce/util/Class","tinymce/util/Tools","tinymce/util/EventDispatcher","tinymce/data/ObservableObject","tinymce/ui/Collection","tinymce/ui/DomUtils","tinymce/dom/DomQuery","tinymce/ui/BoxUtils","tinymce/ui/ClassList","tinymce/ui/ReflowQueue"],function(e,t,n,r,o,i,a,s,u,l){function c(e){return e._eventDispatcher||(e._eventDispatcher=new n({scope:e,toggleEvent:function(t,r){r&&n.isNative(t)&&(e._nativeEvents||(e._nativeEvents={}),e._nativeEvents[t]=!0,e.state.get("rendered")&&d(e))}})),e._eventDispatcher}function d(e){function t(t){var n=e.getParentCtrl(t.target);n&&n.fire(t.type,t)}function n(){var e=l._lastHoverCtrl;e&&(e.fire("mouseleave",{target:e.getEl()}),e.parents().each(function(e){e.fire("mouseleave",{target:e.getEl()})}),l._lastHoverCtrl=null)}function r(t){var n,r,o,i=e.getParentCtrl(t.target),a=l._lastHoverCtrl,s=0;if(i!==a){if(l._lastHoverCtrl=i,r=i.parents().toArray().reverse(),r.push(i),a){for(o=a.parents().toArray().reverse(),o.push(a),s=0;s<o.length&&r[s]===o[s];s++);for(n=o.length-1;n>=s;n--)a=o[n],a.fire("mouseleave",{target:a.getEl()})}for(n=s;n<r.length;n++)i=r[n],i.fire("mouseenter",{target:i.getEl()})}}function o(t){t.preventDefault(),"mousewheel"==t.type?(t.deltaY=-.025*t.wheelDelta,t.wheelDeltaX&&(t.deltaX=-.025*t.wheelDeltaX)):(t.deltaX=0,t.deltaY=t.detail),t=e.fire("wheel",t)}var i,s,u,l,c,d;if(c=e._nativeEvents){for(u=e.parents().toArray(),u.unshift(e),i=0,s=u.length;!l&&i<s;i++)l=u[i]._eventsRoot;for(l||(l=u[u.length-1]||e),e._eventsRoot=l,s=i,i=0;i<s;i++)u[i]._eventsRoot=l;var f=l._delegates;f||(f=l._delegates={});for(d in c){if(!c)return!1;"wheel"!==d||h?("mouseenter"===d||"mouseleave"===d?l._hasMouseEnter||(a(l.getEl()).on("mouseleave",n).on("mouseover",r),l._hasMouseEnter=1):f[d]||(a(l.getEl()).on(d,t),f[d]=!0),c[d]=!1):p?a(e.getEl()).on("mousewheel",o):a(e.getEl()).on("DOMMouseScroll",o)}}}var f,p="onmousewheel"in document,h=!1,m="mce-",g=0,v={Statics:{classPrefix:m},isRtl:function(){return f.rtl},classPrefix:m,init:function(e){function n(e){var t;for(e=e.split(" "),t=0;t<e.length;t++)l.classes.add(e[t])}var o,i,l=this;l.settings=e=t.extend({},l.Defaults,e),l._id=e.id||"mceu_"+g++,l._aria={role:e.role},l._elmCache={},l.$=a,l.state=new r({visible:!0,active:!1,disabled:!1,value:""}),l.data=new r(e.data),l.classes=new u(function(){l.state.get("rendered")&&(l.getEl().className=this.toString())}),l.classes.prefix=l.classPrefix,o=e.classes,o&&(l.Defaults&&(i=l.Defaults.classes,i&&o!=i&&n(i)),n(o)),t.each("title text name visible disabled active value".split(" "),function(t){t in e&&l[t](e[t])}),l.on("click",function(){if(l.disabled())return!1}),l.settings=e,l.borderBox=s.parseBox(e.border),l.paddingBox=s.parseBox(e.padding),l.marginBox=s.parseBox(e.margin),e.hidden&&l.hide()},Properties:"parent,name",getContainerElm:function(){return i.getContainer()},getParentCtrl:function(e){for(var t,n=this.getRoot().controlIdLookup;e&&n&&!(t=n[e.id]);)e=e.parentNode;return t},initLayoutRect:function(){var e,t,n,r,o,a,u,l,c,d,f=this,p=f.settings,h=f.getEl();e=f.borderBox=f.borderBox||s.measureBox(h,"border"),f.paddingBox=f.paddingBox||s.measureBox(h,"padding"),f.marginBox=f.marginBox||s.measureBox(h,"margin"),d=i.getSize(h),l=p.minWidth,c=p.minHeight,o=l||d.width,a=c||d.height,n=p.width,r=p.height,u=p.autoResize,u="undefined"!=typeof u?u:!n&&!r,n=n||o,r=r||a;var m=e.left+e.right,g=e.top+e.bottom,v=p.maxWidth||65535,y=p.maxHeight||65535;return f._layoutRect=t={x:p.x||0,y:p.y||0,w:n,h:r,deltaW:m,deltaH:g,contentW:n-m,contentH:r-g,innerW:n-m,innerH:r-g,startMinWidth:l||0,startMinHeight:c||0,minW:Math.min(o,v),minH:Math.min(a,y),maxW:v,maxH:y,autoResize:u,scrollW:0},f._lastLayoutRect={},t},layoutRect:function(e){var t,n,r,o,i,a,s=this,u=s._layoutRect;return u||(u=s.initLayoutRect()),e?(r=u.deltaW,o=u.deltaH,e.x!==i&&(u.x=e.x),e.y!==i&&(u.y=e.y),e.minW!==i&&(u.minW=e.minW),e.minH!==i&&(u.minH=e.minH),n=e.w,n!==i&&(n=n<u.minW?u.minW:n,n=n>u.maxW?u.maxW:n,u.w=n,u.innerW=n-r),n=e.h,n!==i&&(n=n<u.minH?u.minH:n,n=n>u.maxH?u.maxH:n,u.h=n,u.innerH=n-o),n=e.innerW,n!==i&&(n=n<u.minW-r?u.minW-r:n,n=n>u.maxW-r?u.maxW-r:n,u.innerW=n,u.w=n+r),n=e.innerH,n!==i&&(n=n<u.minH-o?u.minH-o:n,n=n>u.maxH-o?u.maxH-o:n,u.innerH=n,u.h=n+o),e.contentW!==i&&(u.contentW=e.contentW),e.contentH!==i&&(u.contentH=e.contentH),t=s._lastLayoutRect,t.x===u.x&&t.y===u.y&&t.w===u.w&&t.h===u.h||(a=f.repaintControls,a&&a.map&&!a.map[s._id]&&(a.push(s),a.map[s._id]=!0),t.x=u.x,t.y=u.y,t.w=u.w,t.h=u.h),s):u},repaint:function(){var e,t,n,r,o,i,a,s,u,l,c=this;u=document.createRange?function(e){return e}:Math.round,e=c.getEl().style,r=c._layoutRect,s=c._lastRepaintRect||{},o=c.borderBox,i=o.left+o.right,a=o.top+o.bottom,r.x!==s.x&&(e.left=u(r.x)+"px",s.x=r.x),r.y!==s.y&&(e.top=u(r.y)+"px",s.y=r.y),r.w!==s.w&&(l=u(r.w-i),e.width=(l>=0?l:0)+"px",s.w=r.w),r.h!==s.h&&(l=u(r.h-a),e.height=(l>=0?l:0)+"px",s.h=r.h),c._hasBody&&r.innerW!==s.innerW&&(l=u(r.innerW),n=c.getEl("body"),n&&(t=n.style,t.width=(l>=0?l:0)+"px"),s.innerW=r.innerW),c._hasBody&&r.innerH!==s.innerH&&(l=u(r.innerH),n=n||c.getEl("body"),n&&(t=t||n.style,t.height=(l>=0?l:0)+"px"),s.innerH=r.innerH),c._lastRepaintRect=s,c.fire("repaint",{},!1)},updateLayoutRect:function(){var e=this;e.parent()._lastRect=null,i.css(e.getEl(),{width:"",height:""}),e._layoutRect=e._lastRepaintRect=e._lastLayoutRect=null,e.initLayoutRect()},on:function(e,t){function n(e){var t,n;return"string"!=typeof e?e:function(o){return t||r.parentsAndSelf().each(function(r){var o=r.settings.callbacks;if(o&&(t=o[e]))return n=r,!1}),t?t.call(n,o):(o.action=e,void this.fire("execute",o))}}var r=this;return c(r).on(e,n(t)),r},off:function(e,t){return c(this).off(e,t),this},fire:function(e,t,n){var r=this;if(t=t||{},t.control||(t.control=r),t=c(r).fire(e,t),n!==!1&&r.parent)for(var o=r.parent();o&&!t.isPropagationStopped();)o.fire(e,t,!1),o=o.parent();return t},hasEventListeners:function(e){return c(this).has(e)},parents:function(e){var t,n=this,r=new o;for(t=n.parent();t;t=t.parent())r.add(t);return e&&(r=r.filter(e)),r},parentsAndSelf:function(e){return new o(this).add(this.parents(e))},next:function(){var e=this.parent().items();return e[e.indexOf(this)+1]},prev:function(){var e=this.parent().items();return e[e.indexOf(this)-1]},innerHtml:function(e){return this.$el.html(e),this},getEl:function(e){var t=e?this._id+"-"+e:this._id;return this._elmCache[t]||(this._elmCache[t]=a("#"+t)[0]),this._elmCache[t]},show:function(){return this.visible(!0)},hide:function(){return this.visible(!1)},focus:function(){try{this.getEl().focus()}catch(e){}return this},blur:function(){return this.getEl().blur(),this},aria:function(e,t){var n=this,r=n.getEl(n.ariaTarget);return"undefined"==typeof t?n._aria[e]:(n._aria[e]=t,n.state.get("rendered")&&r.setAttribute("role"==e?e:"aria-"+e,t),n)},encode:function(e,t){return t!==!1&&(e=this.translate(e)),(e||"").replace(/[&<>"]/g,function(e){return"&#"+e.charCodeAt(0)+";"})},translate:function(e){return f.translate?f.translate(e):e},before:function(e){var t=this,n=t.parent();return n&&n.insert(e,n.items().indexOf(t),!0),t},after:function(e){var t=this,n=t.parent();return n&&n.insert(e,n.items().indexOf(t)),t},remove:function(){var e,t,n=this,r=n.getEl(),o=n.parent();if(n.items){var i=n.items().toArray();for(t=i.length;t--;)i[t].remove()}o&&o.items&&(e=[],o.items().each(function(t){t!==n&&e.push(t)}),o.items().set(e),o._lastRect=null),n._eventsRoot&&n._eventsRoot==n&&a(r).off();var s=n.getRoot().controlIdLookup;return s&&delete s[n._id],r&&r.parentNode&&r.parentNode.removeChild(r),n.state.set("rendered",!1),n.state.destroy(),n.fire("remove"),n},renderBefore:function(e){return a(e).before(this.renderHtml()),this.postRender(),this},renderTo:function(e){return a(e||this.getContainerElm()).append(this.renderHtml()),this.postRender(),this},preRender:function(){},render:function(){},renderHtml:function(){return'<div id="'+this._id+'" class="'+this.classes+'"></div>'},postRender:function(){var e,t,n,r,o,i=this,s=i.settings;i.$el=a(i.getEl()),i.state.set("rendered",!0);for(r in s)0===r.indexOf("on")&&i.on(r.substr(2),s[r]);if(i._eventsRoot){for(n=i.parent();!o&&n;n=n.parent())o=n._eventsRoot;if(o)for(r in o._nativeEvents)i._nativeEvents[r]=!0}d(i),s.style&&(e=i.getEl(),e&&(e.setAttribute("style",s.style),e.style.cssText=s.style)),i.settings.border&&(t=i.borderBox,i.$el.css({"border-top-width":t.top,"border-right-width":t.right,"border-bottom-width":t.bottom,"border-left-width":t.left}));var u=i.getRoot();u.controlIdLookup||(u.controlIdLookup={}),u.controlIdLookup[i._id]=i;for(var c in i._aria)i.aria(c,i._aria[c]);i.state.get("visible")===!1&&(i.getEl().style.display="none"),i.bindStates(),i.state.on("change:visible",function(e){var t,n=e.value;i.state.get("rendered")&&(i.getEl().style.display=n===!1?"none":"",i.getEl().getBoundingClientRect()),t=i.parent(),t&&(t._lastRect=null),i.fire(n?"show":"hide"),l.add(i)}),i.fire("postrender",{},!1)},bindStates:function(){},scrollIntoView:function(e){function t(e,t){var n,r,o=e;for(n=r=0;o&&o!=t&&o.nodeType;)n+=o.offsetLeft||0,r+=o.offsetTop||0,o=o.offsetParent;return{x:n,y:r}}var n,r,o,i,a,s,u=this.getEl(),l=u.parentNode,c=t(u,l);return n=c.x,r=c.y,o=u.offsetWidth,i=u.offsetHeight,a=l.clientWidth,s=l.clientHeight,"end"==e?(n-=a-o,r-=s-i):"center"==e&&(n-=a/2-o/2,r-=s/2-i/2),l.scrollLeft=n,l.scrollTop=r,this},getRoot:function(){for(var e,t=this,n=[];t;){if(t.rootControl){e=t.rootControl;break}n.push(t),e=t,t=t.parent()}e||(e=this);for(var r=n.length;r--;)n[r].rootControl=e;return e},reflow:function(){l.remove(this);var e=this.parent();return e._layout&&!e._layout.isNative()&&e.reflow(),this}};return t.each("text title visible disabled active value".split(" "),function(e){v[e]=function(t){return 0===arguments.length?this.state.get(e):("undefined"!=typeof t&&this.state.set(e,t),this)}}),f=e.extend(v)}),i("tinymce/ui/Factory",[],function(){var e,t={};return{add:function(e,n){t[e.toLowerCase()]=n},has:function(e){return!!t[e.toLowerCase()]},create:function(n,r){var o,i,a;if(!e){a=tinymce.ui;for(i in a)t[i.toLowerCase()]=a[i];e=!0}if("string"==typeof n?(r=r||{},r.type=n):(r=n,n=r.type),n=n.toLowerCase(),o=t[n],!o)throw new Error("Could not find control by type: "+n);return o=new o(r),o.type=n,o}}}),i("tinymce/ui/KeyboardNavigation",[],function(){return function(e){function t(e){return e&&1===e.nodeType}function n(e){return e=e||b,t(e)?e.getAttribute("role"):null}function r(e){for(var t,r=e||b;r=r.parentNode;)if(t=n(r))return t}function o(e){var n=b;if(t(n))return n.getAttribute("aria-"+e)}function i(e){var t=e.tagName.toUpperCase();return"INPUT"==t||"TEXTAREA"==t||"SELECT"==t}function a(e){return!(!i(e)||e.hidden)||!!/^(button|menuitem|checkbox|tab|menuitemcheckbox|option|gridcell|slider)$/.test(n(e))}function s(e){function t(e){if(1==e.nodeType&&"none"!=e.style.display&&!e.disabled){a(e)&&n.push(e);for(var r=0;r<e.childNodes.length;r++)t(e.childNodes[r])}}var n=[];return t(e||w.getEl()),n}function u(e){var t,n;e=e||_,n=e.parents().toArray(),n.unshift(e);for(var r=0;r<n.length&&(t=n[r],!t.settings.ariaRoot);r++);return t}function l(e){var t=u(e),n=s(t.getEl());t.settings.ariaRemember&&"lastAriaIndex"in t?c(t.lastAriaIndex,n):c(0,n)}function c(e,t){return e<0?e=t.length-1:e>=t.length&&(e=0),t[e]&&t[e].focus(),e}function d(e,t){var n=-1,r=u();t=t||s(r.getEl());for(var o=0;o<t.length;o++)t[o]===b&&(n=o);n+=e,r.lastAriaIndex=c(n,t)}function f(){var e=r();"tablist"==e?d(-1,s(b.parentNode)):_.parent().submenu?v():d(-1)}function p(){var e=n(),t=r();"tablist"==t?d(1,s(b.parentNode)):"menuitem"==e&&"menu"==t&&o("haspopup")?y():d(1)}function h(){d(-1)}function m(){var e=n(),t=r();"menuitem"==e&&"menubar"==t?y():"button"==e&&o("haspopup")?y({key:"down"}):d(1)}function g(e){var t=r();if("tablist"==t){var n=s(_.getEl("body"))[0];n&&n.focus()}else d(e.shiftKey?-1:1)}function v(){_.fire("cancel")}function y(e){e=e||{},_.fire("click",{target:b,aria:e})}var b,_,w=e.root;try{b=document.activeElement}catch(e){b=document.body}return _=w.getParentCtrl(b),w.on("keydown",function(e){function t(e,t){i(b)||"slider"!==n(b)&&t(e)!==!1&&e.preventDefault()}if(!e.isDefaultPrevented())switch(e.keyCode){case 37:t(e,f);break;case 39:t(e,p);break;case 38:t(e,h);break;case 40:t(e,m);break;case 27:v();break;case 14:case 13:case 32:t(e,y);break;case 9:g(e)!==!1&&e.preventDefault()}}),w.on("focusin",function(e){b=e.target,_=e.control}),{focusFirst:l}}}),i("tinymce/ui/Container",["tinymce/ui/Control","tinymce/ui/Collection","tinymce/ui/Selector","tinymce/ui/Factory","tinymce/ui/KeyboardNavigation","tinymce/util/Tools","tinymce/dom/DomQuery","tinymce/ui/ClassList","tinymce/ui/ReflowQueue"],function(e,t,n,r,o,i,a,s,u){var l={};return e.extend({init:function(e){var n=this;n._super(e),e=n.settings,e.fixed&&n.state.set("fixed",!0),n._items=new t,n.isRtl()&&n.classes.add("rtl"),n.bodyClasses=new s(function(){n.state.get("rendered")&&(n.getEl("body").className=this.toString())}),n.bodyClasses.prefix=n.classPrefix,n.classes.add("container"),n.bodyClasses.add("container-body"),e.containerCls&&n.classes.add(e.containerCls),n._layout=r.create((e.layout||"")+"layout"),n.settings.items?n.add(n.settings.items):n.add(n.render()),n._hasBody=!0},items:function(){return this._items},find:function(e){return e=l[e]=l[e]||new n(e),e.find(this)},add:function(e){var t=this;return t.items().add(t.create(e)).parent(t),t},focus:function(e){var t,n,r,o=this;return e&&(n=o.keyboardNav||o.parents().eq(-1)[0].keyboardNav)?void n.focusFirst(o):(r=o.find("*"),o.statusbar&&r.add(o.statusbar.items()),r.each(function(e){return e.settings.autofocus?(t=null,!1):void(e.canFocus&&(t=t||e))}),t&&t.focus(),o)},replace:function(e,t){for(var n,r=this.items(),o=r.length;o--;)if(r[o]===e){r[o]=t;break}o>=0&&(n=t.getEl(),n&&n.parentNode.removeChild(n),n=e.getEl(),n&&n.parentNode.removeChild(n)),t.parent(this)},create:function(t){var n,o=this,a=[];return i.isArray(t)||(t=[t]),i.each(t,function(t){t&&(t instanceof e||("string"==typeof t&&(t={type:t}),n=i.extend({},o.settings.defaults,t),t.type=n.type=n.type||t.type||o.settings.defaultType||(n.defaults?n.defaults.type:null),t=r.create(n)),a.push(t))}),a},renderNew:function(){var e=this;return e.items().each(function(t,n){var r;t.parent(e),t.state.get("rendered")||(r=e.getEl("body"),r.hasChildNodes()&&n<=r.childNodes.length-1?a(r.childNodes[n]).before(t.renderHtml()):a(r).append(t.renderHtml()),t.postRender(),u.add(t))}),e._layout.applyClasses(e.items().filter(":visible")),e._lastRect=null,e},append:function(e){return this.add(e).renderNew()},prepend:function(e){var t=this;return t.items().set(t.create(e).concat(t.items().toArray())),t.renderNew()},insert:function(e,t,n){var r,o,i,a=this;return e=a.create(e),r=a.items(),!n&&t<r.length-1&&(t+=1),t>=0&&t<r.length&&(o=r.slice(0,t).toArray(),i=r.slice(t).toArray(),r.set(o.concat(e,i))),a.renderNew()},fromJSON:function(e){var t=this;for(var n in e)t.find("#"+n).value(e[n]);return t},toJSON:function(){var e=this,t={};return e.find("*").each(function(e){var n=e.name(),r=e.value();n&&"undefined"!=typeof r&&(t[n]=r)}),t},renderHtml:function(){var e=this,t=e._layout,n=this.settings.role;return e.preRender(),t.preRender(e),'<div id="'+e._id+'" class="'+e.classes+'"'+(n?' role="'+this.settings.role+'"':"")+'><div id="'+e._id+'-body" class="'+e.bodyClasses+'">'+(e.settings.html||"")+t.renderHtml(e)+"</div></div>"},postRender:function(){var e,t=this;return t.items().exec("postRender"),t._super(),t._layout.postRender(t),t.state.set("rendered",!0),t.settings.style&&t.$el.css(t.settings.style),t.settings.border&&(e=t.borderBox,t.$el.css({"border-top-width":e.top,"border-right-width":e.right,"border-bottom-width":e.bottom,"border-left-width":e.left})),t.parent()||(t.keyboardNav=new o({root:t})),t},initLayoutRect:function(){var e=this,t=e._super();return e._layout.recalc(e),t},recalc:function(){var e=this,t=e._layoutRect,n=e._lastRect;if(!n||n.w!=t.w||n.h!=t.h)return e._layout.recalc(e),t=e.layoutRect(),e._lastRect={x:t.x,y:t.y,w:t.w,h:t.h},!0},reflow:function(){var t;if(u.remove(this),this.visible()){for(e.repaintControls=[],e.repaintControls.map={},this.recalc(),t=e.repaintControls.length;t--;)e.repaintControls[t].repaint();"flow"!==this.settings.layout&&"stack"!==this.settings.layout&&this.repaint(),e.repaintControls=[]}return this}})}),i("tinymce/ui/DragHelper",["tinymce/dom/DomQuery"],function(e){function t(e){var t,n,r,o,i,a,s,u,l=Math.max;return t=e.documentElement,n=e.body,r=l(t.scrollWidth,n.scrollWidth),o=l(t.clientWidth,n.clientWidth),i=l(t.offsetWidth,n.offsetWidth),a=l(t.scrollHeight,n.scrollHeight),s=l(t.clientHeight,n.clientHeight),u=l(t.offsetHeight,n.offsetHeight),{width:r<i?o:r,height:a<u?s:a}}function n(e){var t,n;if(e.changedTouches)for(t="screenX screenY pageX pageY clientX clientY".split(" "),n=0;n<t.length;n++)e[t[n]]=e.changedTouches[0][t[n]]}return function(r,o){function i(){return p.getElementById(o.handle||r)}var a,s,u,l,c,d,f,p=o.document||document;o=o||{},u=function(r){var u,h,m=t(p);n(r),r.preventDefault(),s=r.button,u=i(),d=r.screenX,f=r.screenY,h=window.getComputedStyle?window.getComputedStyle(u,null).getPropertyValue("cursor"):u.runtimeStyle.cursor,a=e("<div></div>").css({position:"absolute",top:0,left:0,width:m.width,height:m.height,zIndex:2147483647,opacity:1e-4,cursor:h}).appendTo(p.body),e(p).on("mousemove touchmove",c).on("mouseup touchend",l),o.start(r)},c=function(e){return n(e),e.button!==s?l(e):(e.deltaX=e.screenX-d,e.deltaY=e.screenY-f,e.preventDefault(),void o.drag(e))},l=function(t){n(t),e(p).off("mousemove touchmove",c).off("mouseup touchend",l),a.remove(),o.stop&&o.stop(t)},this.destroy=function(){e(i()).off()},e(i()).on("mousedown touchstart",u)}}),i("tinymce/ui/Scrollable",["tinymce/dom/DomQuery","tinymce/ui/DragHelper"],function(e,t){return{init:function(){var e=this;e.on("repaint",e.renderScroll)},renderScroll:function(){function n(){function t(t,a,s,u,l,c){var d,f,p,h,m,g,v,y,b;if(f=o.getEl("scroll"+t)){if(y=a.toLowerCase(),b=s.toLowerCase(),e(o.getEl("absend")).css(y,o.layoutRect()[u]-1),!l)return void e(f).css("display","none");e(f).css("display","block"),d=o.getEl("body"),p=o.getEl("scroll"+t+"t"),h=d["client"+s]-2*i,h-=n&&r?f["client"+c]:0,m=d["scroll"+s],g=h/m,v={},v[y]=d["offset"+a]+i,v[b]=h,e(f).css(v),v={},v[y]=d["scroll"+a]*g,v[b]=h*g,e(p).css(v)}}var n,r,a;a=o.getEl("body"),n=a.scrollWidth>a.clientWidth,r=a.scrollHeight>a.clientHeight,t("h","Left","Width","contentW",n,"Height"),t("v","Top","Height","contentH",r,"Width")}function r(){function n(n,r,a,s,u){var l,c=o._id+"-scroll"+n,d=o.classPrefix;e(o.getEl()).append('<div id="'+c+'" class="'+d+"scrollbar "+d+"scrollbar-"+n+'"><div id="'+c+'t" class="'+d+'scrollbar-thumb"></div></div>'),o.draghelper=new t(c+"t",{start:function(){l=o.getEl("body")["scroll"+r],e("#"+c).addClass(d+"active")},drag:function(e){var t,c,d,f,p=o.layoutRect();c=p.contentW>p.innerW,d=p.contentH>p.innerH,f=o.getEl("body")["client"+a]-2*i,f-=c&&d?o.getEl("scroll"+n)["client"+u]:0,t=f/o.getEl("body")["scroll"+a],o.getEl("body")["scroll"+r]=l+e["delta"+s]/t},stop:function(){e("#"+c).removeClass(d+"active")}})}o.classes.add("scroll"),n("v","Top","Height","Y","Width"),n("h","Left","Width","X","Height")}var o=this,i=2;o.settings.autoScroll&&(o._hasScroll||(o._hasScroll=!0,r(),o.on("wheel",function(e){var t=o.getEl("body");t.scrollLeft+=10*(e.deltaX||0),t.scrollTop+=10*e.deltaY,n()}),e(o.getEl("body")).on("scroll",n)),n())}}}),i("tinymce/ui/Panel",["tinymce/ui/Container","tinymce/ui/Scrollable"],function(e,t){return e.extend({Defaults:{layout:"fit",containerCls:"panel"},Mixins:[t],renderHtml:function(){var e=this,t=e._layout,n=e.settings.html;return e.preRender(),t.preRender(e),"undefined"==typeof n?n='<div id="'+e._id+'-body" class="'+e.bodyClasses+'">'+t.renderHtml(e)+"</div>":("function"==typeof n&&(n=n.call(e)),e._hasBody=!1),'<div id="'+e._id+'" class="'+e.classes+'" hidefocus="1" tabindex="-1" role="group">'+(e._preBodyHtml||"")+n+"</div>"}})}),i("tinymce/ui/Movable",["tinymce/ui/DomUtils"],function(e){function t(t,n,r){var o,i,a,s,u,l,c,d,f,p;return f=e.getViewPort(),i=e.getPos(n),a=i.x,s=i.y,t.state.get("fixed")&&"static"==e.getRuntimeStyle(document.body,"position")&&(a-=f.x,s-=f.y),o=t.getEl(),p=e.getSize(o),u=p.width,l=p.height,p=e.getSize(n),c=p.width,d=p.height,r=(r||"").split(""),"b"===r[0]&&(s+=d),"r"===r[1]&&(a+=c),"c"===r[0]&&(s+=Math.round(d/2)),"c"===r[1]&&(a+=Math.round(c/2)),"b"===r[3]&&(s-=l),"r"===r[4]&&(a-=u),"c"===r[3]&&(s-=Math.round(l/2)),"c"===r[4]&&(a-=Math.round(u/2)),{x:a,y:s,w:u,h:l}}return{testMoveRel:function(n,r){for(var o=e.getViewPort(),i=0;i<r.length;i++){var a=t(this,n,r[i]);if(this.state.get("fixed")){if(a.x>0&&a.x+a.w<o.w&&a.y>0&&a.y+a.h<o.h)return r[i]}else if(a.x>o.x&&a.x+a.w<o.w+o.x&&a.y>o.y&&a.y+a.h<o.h+o.y)return r[i]}return r[0]},moveRel:function(e,n){"string"!=typeof n&&(n=this.testMoveRel(e,n));var r=t(this,e,n);return this.moveTo(r.x,r.y)},moveBy:function(e,t){var n=this,r=n.layoutRect();return n.moveTo(r.x+e,r.y+t),n},moveTo:function(t,n){function r(e,t,n){return e<0?0:e+n>t?(e=t-n,e<0?0:e):e}var o=this;if(o.settings.constrainToViewport){var i=e.getViewPort(window),a=o.layoutRect();t=r(t,i.w+i.x,a.w),n=r(n,i.h+i.y,a.h)}return o.state.get("rendered")?o.layoutRect({x:t,y:n}).repaint():(o.settings.x=t,o.settings.y=n),o.fire("move",{x:t,y:n}),o}}}),i("tinymce/ui/Resizable",["tinymce/ui/DomUtils"],function(e){return{resizeToContent:function(){this._layoutRect.autoResize=!0,this._lastRect=null,this.reflow()},resizeTo:function(t,n){if(t<=1||n<=1){var r=e.getWindowSize();t=t<=1?t*r.w:t,n=n<=1?n*r.h:n}return this._layoutRect.autoResize=!1,this.layoutRect({minW:t,minH:n,w:t,h:n}).reflow()},resizeBy:function(e,t){var n=this,r=n.layoutRect();return n.resizeTo(r.w+e,r.h+t)}}}),i("tinymce/ui/FloatPanel",["tinymce/ui/Panel","tinymce/ui/Movable","tinymce/ui/Resizable","tinymce/ui/DomUtils","tinymce/dom/DomQuery","tinymce/util/Delay"],function(e,t,n,r,o,i){function a(e,t){for(;e;){if(e==t)return!0;e=e.parent()}}function s(e){for(var t=y.length;t--;){var n=y[t],r=n.getParentCtrl(e.target);if(n.settings.autohide){if(r&&(a(r,n)||n.parent()===r))continue;e=n.fire("autohide",{target:e.target}),e.isDefaultPrevented()||n.hide()}}}function u(){h||(h=function(e){2!=e.button&&s(e)},o(document).on("click touchstart",h))}function l(){m||(m=function(){var e;for(e=y.length;e--;)d(y[e])},o(window).on("scroll",m))}function c(){if(!g){var e=document.documentElement,t=e.clientWidth,n=e.clientHeight;g=function(){document.all&&t==e.clientWidth&&n==e.clientHeight||(t=e.clientWidth,n=e.clientHeight,_.hideAll())},o(window).on("resize",g)}}function d(e){function t(t,n){for(var r,o=0;o<y.length;o++)if(y[o]!=e)for(r=y[o].parent();r&&(r=r.parent());)r==e&&y[o].fixed(t).moveBy(0,n).repaint()}var n=r.getViewPort().y;e.settings.autofix&&(e.state.get("fixed")?e._autoFixY>n&&(e.fixed(!1).layoutRect({y:e._autoFixY}).repaint(),t(!1,e._autoFixY-n)):(e._autoFixY=e.layoutRect().y,e._autoFixY<n&&(e.fixed(!0).layoutRect({y:0}).repaint(),t(!0,n-e._autoFixY))))}function f(e,t){var n,r,i=_.zIndex||65535;if(e)b.push(t);else for(n=b.length;n--;)b[n]===t&&b.splice(n,1);if(b.length)for(n=0;n<b.length;n++)b[n].modal&&(i++,r=b[n]),b[n].getEl().style.zIndex=i,b[n].zIndex=i,i++;var a=o("#"+t.classPrefix+"modal-block",t.getContainerElm())[0];r?o(a).css("z-index",r.zIndex-1):a&&(a.parentNode.removeChild(a),v=!1),_.currentZIndex=i}function p(e){var t;for(t=y.length;t--;)y[t]===e&&y.splice(t,1);for(t=b.length;t--;)b[t]===e&&b.splice(t,1)}var h,m,g,v,y=[],b=[],_=e.extend({Mixins:[t,n],init:function(e){var t=this;t._super(e),t._eventsRoot=t,t.classes.add("floatpanel"),e.autohide&&(u(),c(),y.push(t)),e.autofix&&(l(),t.on("move",function(){d(this)})),t.on("postrender show",function(e){if(e.control==t){var n,r=t.classPrefix;t.modal&&!v&&(n=o("#"+r+"modal-block",t.getContainerElm()),n[0]||(n=o('<div id="'+r+'modal-block" class="'+r+"reset "+r+'fade"></div>').appendTo(t.getContainerElm())),i.setTimeout(function(){n.addClass(r+"in"),o(t.getEl()).addClass(r+"in")}),v=!0),f(!0,t)}}),t.on("show",function(){t.parents().each(function(e){if(e.state.get("fixed"))return t.fixed(!0),!1})}),e.popover&&(t._preBodyHtml='<div class="'+t.classPrefix+'arrow"></div>',t.classes.add("popover").add("bottom").add(t.isRtl()?"end":"start")),t.aria("label",e.ariaLabel),t.aria("labelledby",t._id),t.aria("describedby",t.describedBy||t._id+"-none")},fixed:function(e){var t=this;if(t.state.get("fixed")!=e){if(t.state.get("rendered")){var n=r.getViewPort();e?t.layoutRect().y-=n.y:t.layoutRect().y+=n.y}t.classes.toggle("fixed",e),t.state.set("fixed",e)}return t},show:function(){var e,t=this,n=t._super();for(e=y.length;e--&&y[e]!==t;);return e===-1&&y.push(t),n},hide:function(){return p(this),f(!1,this),this._super()},hideAll:function(){_.hideAll()},close:function(){var e=this;return e.fire("close").isDefaultPrevented()||(e.remove(),f(!1,e)),e},remove:function(){p(this),this._super()},postRender:function(){var e=this;return e.settings.bodyRole&&this.getEl("body").setAttribute("role",e.settings.bodyRole),e._super()}});return _.hideAll=function(){for(var e=y.length;e--;){var t=y[e];t&&t.settings.autohide&&(t.hide(),y.splice(e,1))}},_}),i("tinymce/ui/Window",["tinymce/ui/FloatPanel","tinymce/ui/Panel","tinymce/ui/DomUtils","tinymce/dom/DomQuery","tinymce/ui/DragHelper","tinymce/ui/BoxUtils","tinymce/Env","tinymce/util/Delay"],function(e,t,n,r,o,i,a,s){function u(e){var t,n="width=device-width,initial-scale=1.0,user-scalable=0,minimum-scale=1.0,maximum-scale=1.0",o=r("meta[name=viewport]")[0];a.overrideViewPort!==!1&&(o||(o=document.createElement("meta"),o.setAttribute("name","viewport"),document.getElementsByTagName("head")[0].appendChild(o)),t=o.getAttribute("content"),t&&"undefined"!=typeof p&&(p=t),o.setAttribute("content",e?n:p))}function l(e,t){c()&&t===!1&&r([document.documentElement,document.body]).removeClass(e+"fullscreen")}function c(){for(var e=0;e<f.length;e++)if(f[e]._fullscreen)return!0;return!1}function d(){function e(){var e,t,r=n.getWindowSize();for(e=0;e<f.length;e++)t=f[e].layoutRect(),f[e].moveTo(f[e].settings.x||Math.max(0,r.w/2-t.w/2),f[e].settings.y||Math.max(0,r.h/2-t.h/2))}if(!a.desktop){var t={w:window.innerWidth,h:window.innerHeight};s.setInterval(function(){var e=window.innerWidth,n=window.innerHeight;t.w==e&&t.h==n||(t={w:e,h:n},r(window).trigger("resize"))},100)}r(window).on("resize",e)}var f=[],p="",h=e.extend({modal:!0,Defaults:{border:1,layout:"flex",containerCls:"panel",role:"dialog",callbacks:{submit:function(){this.fire("submit",{data:this.toJSON()})},close:function(){this.close()}}},init:function(e){var r=this;r._super(e),r.isRtl()&&r.classes.add("rtl"),r.classes.add("window"),r.bodyClasses.add("window-body"),r.state.set("fixed",!0),e.buttons&&(r.statusbar=new t({layout:"flex",border:"1 0 0 0",spacing:3,padding:10,align:"center",pack:r.isRtl()?"start":"end",defaults:{type:"button"},items:e.buttons}),r.statusbar.classes.add("foot"),
+r.statusbar.parent(r)),r.on("click",function(e){var t=r.classPrefix+"close";(n.hasClass(e.target,t)||n.hasClass(e.target.parentNode,t))&&r.close()}),r.on("cancel",function(){r.close()}),r.aria("describedby",r.describedBy||r._id+"-none"),r.aria("label",e.title),r._fullscreen=!1},recalc:function(){var e,t,r,o,i=this,a=i.statusbar;i._fullscreen&&(i.layoutRect(n.getWindowSize()),i.layoutRect().contentH=i.layoutRect().innerH),i._super(),e=i.layoutRect(),i.settings.title&&!i._fullscreen&&(t=e.headerW,t>e.w&&(r=e.x-Math.max(0,t/2),i.layoutRect({w:t,x:r}),o=!0)),a&&(a.layoutRect({w:i.layoutRect().innerW}).recalc(),t=a.layoutRect().minW+e.deltaW,t>e.w&&(r=e.x-Math.max(0,t-e.w),i.layoutRect({w:t,x:r}),o=!0)),o&&i.recalc()},initLayoutRect:function(){var e,t=this,r=t._super(),o=0;if(t.settings.title&&!t._fullscreen){e=t.getEl("head");var i=n.getSize(e);r.headerW=i.width,r.headerH=i.height,o+=r.headerH}t.statusbar&&(o+=t.statusbar.layoutRect().h),r.deltaH+=o,r.minH+=o,r.h+=o;var a=n.getWindowSize();return r.x=t.settings.x||Math.max(0,a.w/2-r.w/2),r.y=t.settings.y||Math.max(0,a.h/2-r.h/2),r},renderHtml:function(){var e=this,t=e._layout,n=e._id,r=e.classPrefix,o=e.settings,i="",a="",s=o.html;return e.preRender(),t.preRender(e),o.title&&(i='<div id="'+n+'-head" class="'+r+'window-head"><div id="'+n+'-title" class="'+r+'title">'+e.encode(o.title)+'</div><div id="'+n+'-dragh" class="'+r+'dragh"></div><button type="button" class="'+r+'close" aria-hidden="true"><i class="mce-ico mce-i-remove"></i></button></div>'),o.url&&(s='<iframe src="'+o.url+'" tabindex="-1"></iframe>'),"undefined"==typeof s&&(s=t.renderHtml(e)),e.statusbar&&(a=e.statusbar.renderHtml()),'<div id="'+n+'" class="'+e.classes+'" hidefocus="1"><div class="'+e.classPrefix+'reset" role="application">'+i+'<div id="'+n+'-body" class="'+e.bodyClasses+'">'+s+"</div>"+a+"</div></div>"},fullscreen:function(e){var t,o,a=this,u=document.documentElement,l=a.classPrefix;if(e!=a._fullscreen)if(r(window).on("resize",function(){var e;if(a._fullscreen)if(t)a._timer||(a._timer=s.setTimeout(function(){var e=n.getWindowSize();a.moveTo(0,0).resizeTo(e.w,e.h),a._timer=0},50));else{e=(new Date).getTime();var r=n.getWindowSize();a.moveTo(0,0).resizeTo(r.w,r.h),(new Date).getTime()-e>50&&(t=!0)}}),o=a.layoutRect(),a._fullscreen=e,e){a._initial={x:o.x,y:o.y,w:o.w,h:o.h},a.borderBox=i.parseBox("0"),a.getEl("head").style.display="none",o.deltaH-=o.headerH+2,r([u,document.body]).addClass(l+"fullscreen"),a.classes.add("fullscreen");var c=n.getWindowSize();a.moveTo(0,0).resizeTo(c.w,c.h)}else a.borderBox=i.parseBox(a.settings.border),a.getEl("head").style.display="",o.deltaH+=o.headerH,r([u,document.body]).removeClass(l+"fullscreen"),a.classes.remove("fullscreen"),a.moveTo(a._initial.x,a._initial.y).resizeTo(a._initial.w,a._initial.h);return a.reflow()},postRender:function(){var e,t=this;setTimeout(function(){t.classes.add("in"),t.fire("open")},0),t._super(),t.statusbar&&t.statusbar.postRender(),t.focus(),this.dragHelper=new o(t._id+"-dragh",{start:function(){e={x:t.layoutRect().x,y:t.layoutRect().y}},drag:function(n){t.moveTo(e.x+n.deltaX,e.y+n.deltaY)}}),t.on("submit",function(e){e.isDefaultPrevented()||t.close()}),f.push(t),u(!0)},submit:function(){return this.fire("submit",{data:this.toJSON()})},remove:function(){var e,t=this;for(t.dragHelper.destroy(),t._super(),t.statusbar&&this.statusbar.remove(),l(t.classPrefix,!1),e=f.length;e--;)f[e]===t&&f.splice(e,1);u(f.length>0)},getContentWindow:function(){var e=this.getEl().getElementsByTagName("iframe")[0];return e?e.contentWindow:null}});return d(),h}),i("tinymce/ui/MessageBox",["tinymce/ui/Window"],function(e){var t=e.extend({init:function(e){e={border:1,padding:20,layout:"flex",pack:"center",align:"center",containerCls:"panel",autoScroll:!0,buttons:{type:"button",text:"Ok",action:"ok"},items:{type:"label",multiline:!0,maxWidth:500,maxHeight:200}},this._super(e)},Statics:{OK:1,OK_CANCEL:2,YES_NO:3,YES_NO_CANCEL:4,msgBox:function(n){function r(e,t,n){return{type:"button",text:e,subtype:n?"primary":"",onClick:function(e){e.control.parents()[1].close(),i(t)}}}var o,i=n.callback||function(){};switch(n.buttons){case t.OK_CANCEL:o=[r("Ok",!0,!0),r("Cancel",!1)];break;case t.YES_NO:case t.YES_NO_CANCEL:o=[r("Yes",1,!0),r("No",0)],n.buttons==t.YES_NO_CANCEL&&o.push(r("Cancel",-1));break;default:o=[r("Ok",!0,!0)]}return new e({padding:20,x:n.x,y:n.y,minWidth:300,minHeight:100,layout:"flex",pack:"center",align:"center",buttons:o,title:n.title,role:"alertdialog",items:{type:"label",multiline:!0,maxWidth:500,maxHeight:200,text:n.text},onPostRender:function(){this.aria("describedby",this.items()[0]._id)},onClose:n.onClose,onCancel:function(){i(!1)}}).renderTo(document.body).reflow()},alert:function(e,n){return"string"==typeof e&&(e={text:e}),e.callback=n,t.msgBox(e)},confirm:function(e,n){return"string"==typeof e&&(e={text:e}),e.callback=n,e.buttons=t.OK_CANCEL,t.msgBox(e)}}});return t}),i("tinymce/WindowManager",["tinymce/ui/Window","tinymce/ui/MessageBox"],function(e,t){return function(n){function r(){if(s.length)return s[s.length-1]}function o(e){n.fire("OpenWindow",{win:e})}function i(e){n.fire("CloseWindow",{win:e})}var a=this,s=[];a.windows=s,n.on("remove",function(){for(var e=s.length;e--;)s[e].close()}),a.open=function(t,r){var a;return n.editorManager.setActive(n),t.title=t.title||" ",t.url=t.url||t.file,t.url&&(t.width=parseInt(t.width||320,10),t.height=parseInt(t.height||240,10)),t.body&&(t.items={defaults:t.defaults,type:t.bodyType||"form",items:t.body,data:t.data,callbacks:t.commands}),t.url||t.buttons||(t.buttons=[{text:"Ok",subtype:"primary",onclick:function(){a.find("form")[0].submit()}},{text:"Cancel",onclick:function(){a.close()}}]),a=new e(t),s.push(a),a.on("close",function(){for(var e=s.length;e--;)s[e]===a&&s.splice(e,1);s.length||n.focus(),i(a)}),t.data&&a.on("postRender",function(){this.find("*").each(function(e){var n=e.name();n in t.data&&e.value(t.data[n])})}),a.features=t||{},a.params=r||{},1===s.length&&n.nodeChanged(),a=a.renderTo().reflow(),o(a),a},a.alert=function(e,r,a){var s;s=t.alert(e,function(){r?r.call(a||this):n.focus()}),s.on("close",function(){i(s)}),o(s)},a.confirm=function(e,n,r){var a;a=t.confirm(e,function(e){n.call(r||this,e)}),a.on("close",function(){i(a)}),o(a)},a.close=function(){r()&&r().close()},a.getParams=function(){return r()?r().params:null},a.setParams=function(e){r()&&(r().params=e)},a.getWindows=function(){return s}}}),i("tinymce/ui/Tooltip",["tinymce/ui/Control","tinymce/ui/Movable"],function(e,t){return e.extend({Mixins:[t],Defaults:{classes:"widget tooltip tooltip-n"},renderHtml:function(){var e=this,t=e.classPrefix;return'<div id="'+e._id+'" class="'+e.classes+'" role="presentation"><div class="'+t+'tooltip-arrow"></div><div class="'+t+'tooltip-inner">'+e.encode(e.state.get("text"))+"</div></div>"},bindStates:function(){var e=this;return e.state.on("change:text",function(t){e.getEl().lastChild.innerHTML=e.encode(t.value)}),e._super()},repaint:function(){var e,t,n=this;e=n.getEl().style,t=n._layoutRect,e.left=t.x+"px",e.top=t.y+"px",e.zIndex=131070}})}),i("tinymce/ui/Widget",["tinymce/ui/Control","tinymce/ui/Tooltip"],function(e,t){var n,r=e.extend({init:function(e){var t=this;t._super(e),e=t.settings,t.canFocus=!0,e.tooltip&&r.tooltips!==!1&&(t.on("mouseenter",function(n){var r=t.tooltip().moveTo(-65535);if(n.control==t){var o=r.text(e.tooltip).show().testMoveRel(t.getEl(),["bc-tc","bc-tl","bc-tr"]);r.classes.toggle("tooltip-n","bc-tc"==o),r.classes.toggle("tooltip-nw","bc-tl"==o),r.classes.toggle("tooltip-ne","bc-tr"==o),r.moveRel(t.getEl(),o)}else r.hide()}),t.on("mouseleave mousedown click",function(){t.tooltip().hide()})),t.aria("label",e.ariaLabel||e.tooltip)},tooltip:function(){return n||(n=new t({type:"tooltip"}),n.renderTo()),n},postRender:function(){var e=this,t=e.settings;e._super(),e.parent()||!t.width&&!t.height||(e.initLayoutRect(),e.repaint()),t.autofocus&&e.focus()},bindStates:function(){function e(e){n.aria("disabled",e),n.classes.toggle("disabled",e)}function t(e){n.aria("pressed",e),n.classes.toggle("active",e)}var n=this;return n.state.on("change:disabled",function(t){e(t.value)}),n.state.on("change:active",function(e){t(e.value)}),n.state.get("disabled")&&e(!0),n.state.get("active")&&t(!0),n._super()},remove:function(){this._super(),n&&(n.remove(),n=null)}});return r}),i("tinymce/ui/Progress",["tinymce/ui/Widget"],function(e){return e.extend({Defaults:{value:0},init:function(e){var t=this;t._super(e),t.classes.add("progress"),t.settings.filter||(t.settings.filter=function(e){return Math.round(e)})},renderHtml:function(){var e=this,t=e._id,n=this.classPrefix;return'<div id="'+t+'" class="'+e.classes+'"><div class="'+n+'bar-container"><div class="'+n+'bar"></div></div><div class="'+n+'text">0%</div></div>'},postRender:function(){var e=this;return e._super(),e.value(e.settings.value),e},bindStates:function(){function e(e){e=t.settings.filter(e),t.getEl().lastChild.innerHTML=e+"%",t.getEl().firstChild.firstChild.style.width=e+"%"}var t=this;return t.state.on("change:value",function(t){e(t.value)}),e(t.state.get("value")),t._super()}})}),i("tinymce/ui/Notification",["tinymce/ui/Control","tinymce/ui/Movable","tinymce/ui/Progress","tinymce/util/Delay"],function(e,t,n,r){return e.extend({Mixins:[t],Defaults:{classes:"widget notification"},init:function(e){var t=this;t._super(e),e.text&&t.text(e.text),e.icon&&(t.icon=e.icon),e.color&&(t.color=e.color),e.type&&t.classes.add("notification-"+e.type),e.timeout&&(e.timeout<0||e.timeout>0)&&!e.closeButton?t.closeButton=!1:(t.classes.add("has-close"),t.closeButton=!0),e.progressBar&&(t.progressBar=new n),t.on("click",function(e){e.target.className.indexOf(t.classPrefix+"close")!=-1&&t.close()})},renderHtml:function(){var e=this,t=e.classPrefix,n="",r="",o="",i="";return e.icon&&(n='<i class="'+t+"ico "+t+"i-"+e.icon+'"></i>'),e.color&&(i=' style="background-color: '+e.color+'"'),e.closeButton&&(r='<button type="button" class="'+t+'close" aria-hidden="true">×</button>'),e.progressBar&&(o=e.progressBar.renderHtml()),'<div id="'+e._id+'" class="'+e.classes+'"'+i+' role="presentation">'+n+'<div class="'+t+'notification-inner">'+e.state.get("text")+"</div>"+o+r+"</div>"},postRender:function(){var e=this;return r.setTimeout(function(){e.$el.addClass(e.classPrefix+"in")}),e._super()},bindStates:function(){var e=this;return e.state.on("change:text",function(t){e.getEl().childNodes[1].innerHTML=t.value}),e.progressBar&&e.progressBar.bindStates(),e._super()},close:function(){var e=this;return e.fire("close").isDefaultPrevented()||e.remove(),e},repaint:function(){var e,t,n=this;e=n.getEl().style,t=n._layoutRect,e.left=t.x+"px",e.top=t.y+"px",e.zIndex=65534}})}),i("tinymce/NotificationManager",["tinymce/ui/Notification","tinymce/util/Delay","tinymce/util/Tools"],function(e,t,n){return function(r){function o(){if(f.length)return f[f.length-1]}function i(){t.requestAnimationFrame(function(){a(),s()})}function a(){for(var e=0;e<f.length;e++)f[e].moveTo(0,0)}function s(){if(f.length>0){var e=f.slice(0,1)[0],t=r.inline?r.getElement():r.getContentAreaContainer();if(e.moveRel(t,"tc-tc"),f.length>1)for(var n=1;n<f.length;n++)f[n].moveRel(f[n-1].getEl(),"bc-tc")}}function u(e,t){if(!c(t))return null;var r=n.grep(e,function(e){return l(t,e)});return 0===r.length?null:r[0]}function l(e,t){return e.type===t.settings.type&&e.text===t.settings.text}function c(e){return!e.progressBar&&!e.timeout}var d=this,f=[];d.notifications=f,r.on("remove",function(){for(var e=f.length;e--;)f[e].close()}),r.on("ResizeEditor",s),r.on("ResizeWindow",i),d.open=function(t){if(!r.removed){var n;r.editorManager.setActive(r);var o=u(f,t);return null===o?(n=new e(t),f.push(n),t.timeout>0&&(n.timer=setTimeout(function(){n.close()},t.timeout)),n.on("close",function(){var e=f.length;for(n.timer&&r.getWin().clearTimeout(n.timer);e--;)f[e]===n&&f.splice(e,1);s()}),n.renderTo(),s()):n=o,n}},d.close=function(){o()&&o().close()},d.getNotifications=function(){return f},r.on("SkinLoaded",function(){var e=r.settings.service_message;e&&r.notificationManager.open({text:e,type:"warning",timeout:0,icon:""})})}}),i("tinymce/dom/NodePath",["tinymce/dom/DOMUtils"],function(e){function t(t,n,r){for(var o=[];n&&n!=t;n=n.parentNode)o.push(e.nodeIndex(n,r));return o}function n(e,t){var n,r,o;for(r=e,n=t.length-1;n>=0;n--){if(o=r.childNodes,t[n]>o.length-1)return null;r=o[t[n]]}return r}return{create:t,resolve:n}}),i("tinymce/util/Quirks",["tinymce/util/VK","tinymce/dom/RangeUtils","tinymce/dom/TreeWalker","tinymce/dom/NodePath","tinymce/html/Node","tinymce/html/Entities","tinymce/Env","tinymce/util/Tools","tinymce/util/Delay","tinymce/caret/CaretContainer","tinymce/caret/CaretPosition","tinymce/caret/CaretWalker"],function(e,t,n,r,o,i,a,s,u,l,c,d){return function(f){function p(e,t){try{f.getDoc().execCommand(e,!1,t)}catch(e){}}function h(){var e=f.getDoc().documentMode;return e?e:6}function m(e){return e.isDefaultPrevented()}function g(e){var t,n;e.dataTransfer&&(f.selection.isCollapsed()&&"IMG"==e.target.tagName&&re.select(e.target),t=f.selection.getContent(),t.length>0&&(n=ce+escape(f.id)+","+escape(t),e.dataTransfer.setData(de,n)))}function v(e){var t;return e.dataTransfer&&(t=e.dataTransfer.getData(de),t&&t.indexOf(ce)>=0)?(t=t.substr(ce.length).split(","),{id:unescape(t[0]),html:unescape(t[1])}):null}function y(e){f.queryCommandSupported("mceInsertClipboardContent")?f.execCommand("mceInsertClipboardContent",!1,{content:e}):f.execCommand("mceInsertContent",!1,e)}function b(){function o(e){var t=x.schema.getBlockElements(),n=f.getBody();if("BR"!=e.nodeName)return!1;for(;e!=n&&!t[e.nodeName];e=e.parentNode)if(e.nextSibling)return!1;return!0}function i(e,t){var n;for(n=e.nextSibling;n&&n!=t;n=n.nextSibling)if((3!=n.nodeType||0!==Z.trim(n.data).length)&&n!==t)return!1;return n===t}function a(e,t,r){var i,a,s;if(x.isChildOf(e,f.getBody()))for(s=x.schema.getNonEmptyElements(),i=new n(r||e,e);a=i[t?"next":"prev"]();){if(s[a.nodeName]&&!o(a))return a;if(3==a.nodeType&&a.data.length>0)return a}}function l(e){var n,r,o,i,s;if(!e.collapsed&&(n=x.getParent(t.getNode(e.startContainer,e.startOffset),x.isBlock),r=x.getParent(t.getNode(e.endContainer,e.endOffset),x.isBlock),s=f.schema.getTextBlockElements(),n!=r&&s[n.nodeName]&&s[r.nodeName]&&"false"!==x.getContentEditable(n)&&"false"!==x.getContentEditable(r)))return e.deleteContents(),o=a(n,!1),i=a(r,!0),x.isEmpty(r)||Z(n).append(r.childNodes),Z(r).remove(),o?1==o.nodeType?"BR"==o.nodeName?(e.setStartBefore(o),e.setEndBefore(o)):(e.setStartAfter(o),e.setEndAfter(o)):(e.setStart(o,o.data.length),e.setEnd(o,o.data.length)):i&&(1==i.nodeType?(e.setStartBefore(i),e.setEndBefore(i)):(e.setStart(i,0),e.setEnd(i,0))),E.setRng(e),!0}function c(e,n){var r,o,s,u,l,c;if(!e.collapsed)return e;if(l=e.startContainer,c=e.startOffset,3==l.nodeType)if(n){if(c<l.data.length)return e}else if(c>0)return e;r=t.getNode(l,c),s=x.getParent(r,x.isBlock),o=a(f.getBody(),n,r),u=x.getParent(o,x.isBlock);var d=1===l.nodeType&&c>l.childNodes.length-1;if(!r||!o)return e;if(u&&s!=u)if(n){if(!i(s,u))return e;1==r.nodeType?"BR"==r.nodeName?e.setStartBefore(r):e.setStartAfter(r):e.setStart(r,r.data.length),1==o.nodeType?e.setEnd(o,0):e.setEndBefore(o)}else{if(!i(u,s))return e;1==o.nodeType?"BR"==o.nodeName?e.setStartBefore(o):e.setStartAfter(o):e.setStart(o,o.data.length),1==r.nodeType&&d?e.setEndAfter(r):e.setEndBefore(r)}return e}function d(e){var t=E.getRng();if(t=c(t,e),l(t))return!0}function p(e,t){function n(e,n){return m=Z(n).parents().filter(function(e,t){return!!f.schema.getTextInlineElements()[t.nodeName]}),u=e.cloneNode(!1),m=s.map(m,function(e){return e=e.cloneNode(!1),u.hasChildNodes()?(e.appendChild(u.firstChild),u.appendChild(e)):u.appendChild(e),u.appendChild(e),e}),m.length?(h=x.create("br"),m[0].appendChild(h),x.replace(u,e),t.setStartBefore(h),t.setEndBefore(h),f.selection.setRng(t),h):null}function o(e){return e&&f.schema.getTextBlockElements()[e.tagName]}var i,a,u,l,c,d,p,h,m;if(t.collapsed&&(d=t.startContainer,p=t.startOffset,a=x.getParent(d,x.isBlock),o(a)))if(1==d.nodeType){if(d=d.childNodes[p],d&&"BR"!=d.tagName)return;if(c=e?a.nextSibling:a.previousSibling,x.isEmpty(a)&&o(c)&&x.isEmpty(c)&&n(a,d))return x.remove(c),!0}else if(3==d.nodeType){if(i=r.create(a,d),l=a.cloneNode(!0),d=r.resolve(l,i),e){if(p>=d.data.length)return;d.deleteData(p,1)}else{if(p<=0)return;d.deleteData(p-1,1)}if(x.isEmpty(l))return n(a,d)}}function h(e){var t,n,r;d(e)||(s.each(f.getBody().getElementsByTagName("*"),function(e){"SPAN"==e.tagName&&e.setAttribute("mce-data-marked",1),!e.hasAttribute("data-mce-style")&&e.hasAttribute("style")&&f.dom.setAttrib(e,"style",f.dom.getAttrib(e,"style"))}),t=new T(function(){}),t.observe(f.getDoc(),{childList:!0,attributes:!0,subtree:!0,attributeFilter:["style"]}),f.getDoc().execCommand(e?"ForwardDelete":"Delete",!1,null),n=f.selection.getRng(),r=n.startContainer.parentNode,s.each(t.takeRecords(),function(e){if(x.isChildOf(e.target,f.getBody())){if("style"==e.attributeName){var t=e.target.getAttribute("data-mce-style");t?e.target.setAttribute("style",t):e.target.removeAttribute("style")}s.each(e.addedNodes,function(e){if("SPAN"==e.nodeName&&!e.getAttribute("mce-data-marked")){var t,o;e==r&&(t=n.startOffset,o=e.firstChild),x.remove(e,!0),o&&(n.setStart(o,t),n.setEnd(o,t),f.selection.setRng(n))}})}}),t.disconnect(),s.each(f.dom.select("span[mce-data-marked]"),function(e){e.removeAttribute("mce-data-marked")}))}function b(e){f.undoManager.transact(function(){h(e)})}var _,w,C=f.getDoc(),x=f.dom,E=f.selection,T=window.MutationObserver;T||(_=!0,T=function(){function e(e){var t=e.relatedNode||e.target;r.push({target:t,addedNodes:[t]})}function t(e){var t=e.relatedNode||e.target;r.push({target:t,attributeName:e.attrName})}var n,r=[];this.observe=function(r){n=r,n.addEventListener("DOMSubtreeModified",e,!1),n.addEventListener("DOMNodeInsertedIntoDocument",e,!1),n.addEventListener("DOMNodeInserted",e,!1),n.addEventListener("DOMAttrModified",t,!1)},this.disconnect=function(){n.removeEventListener("DOMSubtreeModified",e,!1),n.removeEventListener("DOMNodeInsertedIntoDocument",e,!1),n.removeEventListener("DOMNodeInserted",e,!1),n.removeEventListener("DOMAttrModified",t,!1)},this.takeRecords=function(){return r}}),f.on("keydown",function(e){var t=e.keyCode==te,n=e.ctrlKey||e.metaKey;if(!m(e)&&(t||e.keyCode==ee)){var r=f.selection.getRng(),o=r.startContainer,i=r.startOffset;if(t&&e.shiftKey)return;if(p(t,r))return void e.preventDefault();if(!n&&r.collapsed&&3==o.nodeType&&(t?i<o.data.length:i>0))return;e.preventDefault(),n&&f.selection.getSel().modify("extend",t?"forward":"backward",e.metaKey?"lineboundary":"word"),h(t)}}),f.on("keypress",function(t){if(!m(t)&&!E.isCollapsed()&&t.charCode>31&&!e.metaKeyPressed(t)){var n,r,o,i,a,s;n=f.selection.getRng(),s=String.fromCharCode(t.charCode),t.preventDefault(),r=Z(n.startContainer).parents().filter(function(e,t){return!!f.schema.getTextInlineElements()[t.nodeName]}),h(!0),r=r.filter(function(e,t){return!Z.contains(f.getBody(),t)}),r.length?(o=x.createFragment(),r.each(function(e,t){t=t.cloneNode(!1),o.hasChildNodes()?(t.appendChild(o.firstChild),o.appendChild(t)):(a=t,o.appendChild(t)),o.appendChild(t)}),a.appendChild(f.getDoc().createTextNode(s)),i=x.getParent(n.startContainer,x.isBlock),x.isEmpty(i)?Z(i).empty().append(o):n.insertNode(o),n.setStart(a.firstChild,1),n.setEnd(a.firstChild,1),f.selection.setRng(n)):f.selection.setContent(s)}}),f.addCommand("Delete",function(){h()}),f.addCommand("ForwardDelete",function(){h(!0)}),_||(f.on("dragstart",function(e){w=E.getRng(),g(e)}),f.on("drop",function(e){if(!m(e)){var n=v(e);n&&(e.preventDefault(),u.setEditorTimeout(f,function(){var r=t.getCaretRangeFromPoint(e.x,e.y,C);w&&(E.setRng(w),w=null,b()),E.setRng(r),y(n.html)}))}}),f.on("cut",function(e){m(e)||!e.clipboardData||f.selection.isCollapsed()||(e.preventDefault(),e.clipboardData.clearData(),e.clipboardData.setData("text/html",f.selection.getContent()),e.clipboardData.setData("text/plain",f.selection.getContent({format:"text"})),u.setEditorTimeout(f,function(){b(!0)}))}))}function _(){function e(e){var t=ne.create("body"),n=e.cloneContents();return t.appendChild(n),re.serializer.serialize(t,{format:"html"})}function n(n){if(!n.setStart){if(n.item)return!1;var r=n.duplicate();return r.moveToElementText(f.getBody()),t.compareRanges(n,r)}var o=e(n),i=ne.createRng();i.selectNode(f.getBody());var a=e(i);return o===a}f.on("keydown",function(e){var t,r,o=e.keyCode;if(!m(e)&&(o==te||o==ee)){if(t=f.selection.isCollapsed(),r=f.getBody(),t&&!ne.isEmpty(r))return;if(!t&&!n(f.selection.getRng()))return;e.preventDefault(),f.setContent(""),r.firstChild&&ne.isBlock(r.firstChild)?f.selection.setCursorLocation(r.firstChild,0):f.selection.setCursorLocation(r,0),f.nodeChanged()}})}function w(){f.shortcuts.add("meta+a",null,"SelectAll")}function C(){f.settings.content_editable||ne.bind(f.getDoc(),"mousedown mouseup",function(e){var t;if(e.target==f.getDoc().documentElement)if(t=re.getRng(),f.getBody().focus(),"mousedown"==e.type){if(l.isCaretContainer(t.startContainer))return;re.placeCaretAt(e.clientX,e.clientY)}else re.setRng(t)})}function x(){f.on("keydown",function(e){if(!m(e)&&e.keyCode===ee){if(!f.getBody().getElementsByTagName("hr").length)return;if(re.isCollapsed()&&0===re.getRng(!0).startOffset){var t=re.getNode(),n=t.previousSibling;if("HR"==t.nodeName)return ne.remove(t),void e.preventDefault();n&&n.nodeName&&"hr"===n.nodeName.toLowerCase()&&(ne.remove(n),e.preventDefault())}}})}function E(){window.Range.prototype.getClientRects||f.on("mousedown",function(e){if(!m(e)&&"HTML"===e.target.nodeName){var t=f.getBody();t.blur(),u.setEditorTimeout(f,function(){t.focus()})}})}function T(){f.on("click",function(e){var t=e.target;/^(IMG|HR)$/.test(t.nodeName)&&"false"!==ne.getContentEditableParent(t)&&(e.preventDefault(),re.select(t),f.nodeChanged()),"A"==t.nodeName&&ne.hasClass(t,"mce-item-anchor")&&(e.preventDefault(),re.select(t))})}function k(){function e(){var e=ne.getAttribs(re.getStart().cloneNode(!1));return function(){var t=re.getStart();t!==f.getBody()&&(ne.setAttrib(t,"style",null),J(e,function(e){t.setAttributeNode(e.cloneNode(!0))}))}}function t(){return!re.isCollapsed()&&ne.getParent(re.getStart(),ne.isBlock)!=ne.getParent(re.getEnd(),ne.isBlock)}f.on("keypress",function(n){var r;if(!m(n)&&(8==n.keyCode||46==n.keyCode)&&t())return r=e(),f.getDoc().execCommand("delete",!1,null),r(),n.preventDefault(),!1}),ne.bind(f.getDoc(),"cut",function(n){var r;!m(n)&&t()&&(r=e(),u.setEditorTimeout(f,function(){r()}))})}function S(){document.body.setAttribute("role","application")}function O(){f.on("keydown",function(e){if(!m(e)&&e.keyCode===ee&&re.isCollapsed()&&0===re.getRng(!0).startOffset){var t=re.getNode().previousSibling;if(t&&t.nodeName&&"table"===t.nodeName.toLowerCase())return e.preventDefault(),!1}})}function M(){h()>7||(p("RespectVisibilityInDesign",!0),f.contentStyles.push(".mceHideBrInPre pre br {display: none}"),ne.addClass(f.getBody(),"mceHideBrInPre"),ie.addNodeFilter("pre",function(e){for(var t,n,r,i,a=e.length;a--;)for(t=e[a].getAll("br"),n=t.length;n--;)r=t[n],i=r.prev,i&&3===i.type&&"\n"!=i.value.charAt(i.value-1)?i.value+="\n":r.parent.insert(new o("#text",3),r,!0).value="\n"}),ae.addNodeFilter("pre",function(e){for(var t,n,r,o,i=e.length;i--;)for(t=e[i].getAll("br"),n=t.length;n--;)r=t[n],o=r.prev,o&&3==o.type&&(o.value=o.value.replace(/\r?\n$/,""))}))}function A(){ne.bind(f.getBody(),"mouseup",function(){var e,t=re.getNode();"IMG"==t.nodeName&&((e=ne.getStyle(t,"width"))&&(ne.setAttrib(t,"width",e.replace(/[^0-9%]+/g,"")),ne.setStyle(t,"width","")),(e=ne.getStyle(t,"height"))&&(ne.setAttrib(t,"height",e.replace(/[^0-9%]+/g,"")),ne.setStyle(t,"height","")))})}function N(){f.on("keydown",function(t){var n,r,o,i,a;if(!m(t)&&t.keyCode==e.BACKSPACE&&(n=re.getRng(),r=n.startContainer,o=n.startOffset,i=ne.getRoot(),a=r,n.collapsed&&0===o)){for(;a&&a.parentNode&&a.parentNode.firstChild==a&&a.parentNode!=i;)a=a.parentNode;"BLOCKQUOTE"===a.tagName&&(f.formatter.toggle("blockquote",null,a),n=ne.createRng(),n.setStart(r,0),n.setEnd(r,0),re.setRng(n))}})}function I(){function e(){$(),p("StyleWithCSS",!1),p("enableInlineTableEditing",!1),oe.object_resizing||p("enableObjectResizing",!1)}oe.readonly||f.on("BeforeExecCommand MouseDown",e)}function P(){function e(){J(ne.select("a"),function(e){var t=e.parentNode,n=ne.getRoot();if(t.lastChild===e){for(;t&&!ne.isBlock(t);){if(t.parentNode.lastChild!==t||t===n)return;t=t.parentNode}ne.add(t,"br",{"data-mce-bogus":1})}})}f.on("SetContent ExecCommand",function(t){"setcontent"!=t.type&&"mceInsertLink"!==t.command||e()})}function D(){oe.forced_root_block&&f.on("init",function(){p("DefaultParagraphSeparator",oe.forced_root_block)})}function R(){f.on("keydown",function(e){var t;m(e)||e.keyCode!=ee||(t=f.getDoc().selection.createRange(),t&&t.item&&(e.preventDefault(),f.undoManager.beforeChange(),ne.remove(t.item(0)),f.undoManager.add()))})}function j(){var e;h()>=10&&(e="",J("p div h1 h2 h3 h4 h5 h6".split(" "),function(t,n){e+=(n>0?",":"")+t+":empty"}),f.contentStyles.push(e+"{padding-right: 1px !important}"))}function L(){h()<9&&(ie.addNodeFilter("noscript",function(e){for(var t,n,r=e.length;r--;)t=e[r],n=t.firstChild,n&&t.attr("data-mce-innertext",n.value)}),ae.addNodeFilter("noscript",function(e){for(var t,n,r,a=e.length;a--;)t=e[a],n=e[a].firstChild,n?n.value=i.decode(n.value):(r=t.attributes.map["data-mce-innertext"],r&&(t.attr("data-mce-innertext",null),n=new o("#text",3),n.value=r,n.raw=!0,t.append(n)))}))}function B(){function e(e,t){var n=s.createTextRange();try{n.moveToPoint(e,t)}catch(e){n=null}return n}function t(t){var r;t.button?(r=e(t.x,t.y),r&&(r.compareEndPoints("StartToStart",o)>0?r.setEndPoint("StartToStart",o):r.setEndPoint("EndToEnd",o),r.select())):n()}function n(){var e=a.selection.createRange();o&&!e.item&&0===e.compareEndPoints("StartToEnd",e)&&o.select(),ne.unbind(a,"mouseup",n),ne.unbind(a,"mousemove",t),o=r=0}var r,o,i,a=ne.doc,s=a.body;a.documentElement.unselectable=!0,ne.bind(a,"mousedown contextmenu",function(s){if("HTML"===s.target.nodeName){if(r&&n(),i=a.documentElement,i.scrollHeight>i.clientHeight)return;r=1,o=e(s.x,s.y),o&&(ne.bind(a,"mouseup",n),ne.bind(a,"mousemove",t),ne.getRoot().focus(),o.select())}})}function F(){f.on("keyup focusin mouseup",function(t){65==t.keyCode&&e.metaKeyPressed(t)||re.normalize()},!0)}function U(){f.contentStyles.push("img:-moz-broken {-moz-force-broken-image-icon:1;min-width:24px;min-height:24px}")}function H(){f.inline||f.on("keydown",function(){document.activeElement==document.body&&f.getWin().focus()})}function z(){f.inline||(f.contentStyles.push("body {min-height: 150px}"),f.on("click",function(e){var t;if("HTML"==e.target.nodeName){if(a.ie>11)return void f.getBody().focus();t=f.selection.getRng(),f.getBody().focus(),f.selection.setRng(t),f.selection.normalize(),f.nodeChanged()}}))}function q(){a.mac&&f.on("keydown",function(t){!e.metaKeyPressed(t)||t.shiftKey||37!=t.keyCode&&39!=t.keyCode||(t.preventDefault(),f.selection.getSel().modify("move",37==t.keyCode?"backward":"forward","lineboundary"))})}function W(){p("AutoUrlDetect",!1)}function V(){f.on("click",function(e){var t=e.target;do if("A"===t.tagName)return void e.preventDefault();while(t=t.parentNode)}),f.contentStyles.push(".mce-content-body {-webkit-touch-callout: none}")}function G(){f.on("init",function(){f.dom.bind(f.getBody(),"submit",function(e){e.preventDefault()})})}function Y(){ie.addNodeFilter("br",function(e){for(var t=e.length;t--;)"Apple-interchange-newline"==e[t].attr("class")&&e[t].remove()})}function K(){f.on("dragstart",function(e){g(e)}),f.on("drop",function(e){if(!m(e)){var n=v(e);if(n&&n.id!=f.id){e.preventDefault();var r=t.getCaretRangeFromPoint(e.x,e.y,f.getDoc());re.setRng(r),y(n.html)}}})}function $(){}function X(){var e;return se?(e=f.selection.getSel(),!e||!e.rangeCount||0===e.rangeCount):0}function Q(){function t(e){var t=new d(e.getBody()),n=e.selection.getRng(),r=c.fromRangeStart(n),o=c.fromRangeEnd(n),i=t.prev(r),a=t.next(o);return!e.selection.isCollapsed()&&(!i||i.isAtStart()&&r.isEqual(i))&&(!a||a.isAtEnd()&&r.isEqual(a))}f.on("keypress",function(n){!m(n)&&!re.isCollapsed()&&n.charCode>31&&!e.metaKeyPressed(n)&&t(f)&&(n.preventDefault(),f.setContent(String.fromCharCode(n.charCode)),f.selection.select(f.getBody(),!0),f.selection.collapse(!1),f.nodeChanged())}),f.on("keydown",function(e){var n=e.keyCode;m(e)||n!=te&&n!=ee||t(f)&&(e.preventDefault(),f.setContent(""),f.nodeChanged())})}var J=s.each,Z=f.$,ee=e.BACKSPACE,te=e.DELETE,ne=f.dom,re=f.selection,oe=f.settings,ie=f.parser,ae=f.serializer,se=a.gecko,ue=a.ie,le=a.webkit,ce="data:text/mce-internal,",de=ue?"Text":"URL";return N(),_(),a.windowsPhone||F(),le&&(Q(),b(),C(),T(),D(),G(),O(),Y(),a.iOS?(H(),z(),V()):w()),ue&&a.ie<11&&(x(),S(),M(),A(),R(),j(),L(),B()),a.ie>=11&&(z(),O()),a.ie&&(w(),W(),K()),se&&(Q(),x(),E(),k(),I(),P(),U(),q(),O()),{refreshContentEditable:$,isHidden:X}}}),i("tinymce/EditorObservable",["tinymce/util/Observable","tinymce/dom/DOMUtils","tinymce/util/Tools"],function(e,t,n){function r(e,t){return"selectionchange"==t?e.getDoc():!e.inline&&/^mouse|touch|click|contextmenu|drop|dragover|dragend/.test(t)?e.getDoc().documentElement:e.settings.event_root?(e.eventRoot||(e.eventRoot=a.select(e.settings.event_root)[0]),e.eventRoot):e.getBody()}function o(e,t){function n(e){return!e.hidden&&!e.readonly}var o,s=r(e,t);if(e.delegates||(e.delegates={}),!e.delegates[t])if(e.settings.event_root){if(i||(i={},e.editorManager.on("removeEditor",function(){var t;if(!e.editorManager.activeEditor&&i){for(t in i)e.dom.unbind(r(e,t));i=null}})),i[t])return;o=function(r){for(var o=r.target,i=e.editorManager.editors,s=i.length;s--;){var u=i[s].getBody();(u===o||a.isChildOf(o,u))&&n(i[s])&&i[s].fire(t,r)}},i[t]=o,a.bind(s,t,o)}else o=function(r){n(e)&&e.fire(t,r)},a.bind(s,t,o),e.delegates[t]=o}var i,a=t.DOM,s={bindPendingEventDelegates:function(){var e=this;n.each(e._pendingNativeEvents,function(t){o(e,t)})},toggleNativeEvent:function(e,t){var n=this;"focus"!=e&&"blur"!=e&&(t?n.initialized?o(n,e):n._pendingNativeEvents?n._pendingNativeEvents.push(e):n._pendingNativeEvents=[e]:n.initialized&&(n.dom.unbind(r(n,e),e,n.delegates[e]),delete n.delegates[e]))},unbindAllNativeEvents:function(){var e,t=this;if(t.delegates){for(e in t.delegates)t.dom.unbind(r(t,e),e,t.delegates[e]);delete t.delegates}t.inline||(t.getBody().onload=null,t.dom.unbind(t.getWin()),t.dom.unbind(t.getDoc())),t.dom.unbind(t.getBody()),t.dom.unbind(t.getContainer())}};return s=n.extend({},e,s)}),i("tinymce/Mode",[],function(){function e(e,t,n){try{e.getDoc().execCommand(t,!1,n)}catch(e){}}function t(e){var t,n;return t=e.getBody(),n=function(t){e.dom.getParents(t.target,"a").length>0&&t.preventDefault()},e.dom.bind(t,"click",n),{unbind:function(){e.dom.unbind(t,"click",n)}}}function n(n,r){n._clickBlocker&&(n._clickBlocker.unbind(),n._clickBlocker=null),r?(n._clickBlocker=t(n),n.selection.controlSelection.hideResizeRect(),n.readonly=!0,n.getBody().contentEditable=!1):(n.readonly=!1,n.getBody().contentEditable=!0,e(n,"StyleWithCSS",!1),e(n,"enableInlineTableEditing",!1),e(n,"enableObjectResizing",!1),n.focus(),n.nodeChanged())}function r(e,t){var r=e.readonly?"readonly":"design";t!=r&&(e.initialized?n(e,"readonly"==t):e.on("init",function(){n(e,"readonly"==t)}),e.fire("SwitchMode",{mode:t}))}return{setMode:r}}),i("tinymce/Shortcuts",["tinymce/util/Tools","tinymce/Env"],function(e,t){var n=e.each,r=e.explode,o={f9:120,f10:121,f11:122},i=e.makeMap("alt,ctrl,shift,meta,access");return function(a){function s(e){var a,s,u={};n(r(e,"+"),function(e){e in i?u[e]=!0:/^[0-9]{2,}$/.test(e)?u.keyCode=parseInt(e,10):(u.charCode=e.charCodeAt(0),u.keyCode=o[e]||e.toUpperCase().charCodeAt(0))}),a=[u.keyCode];for(s in i)u[s]?a.push(s):u[s]=!1;return u.id=a.join(","),u.access&&(u.alt=!0,t.mac?u.ctrl=!0:u.shift=!0),u.meta&&(t.mac?u.meta=!0:(u.ctrl=!0,
+u.meta=!1)),u}function u(t,n,o,i){var u;return u=e.map(r(t,">"),s),u[u.length-1]=e.extend(u[u.length-1],{func:o,scope:i||a}),e.extend(u[0],{desc:a.translate(n),subpatterns:u.slice(1)})}function l(e){return e.altKey||e.ctrlKey||e.metaKey}function c(e){return"keydown"===e.type&&e.keyCode>=112&&e.keyCode<=123}function d(e,t){return!!t&&(t.ctrl==e.ctrlKey&&t.meta==e.metaKey&&(t.alt==e.altKey&&t.shift==e.shiftKey&&(!!(e.keyCode==t.keyCode||e.charCode&&e.charCode==t.charCode)&&(e.preventDefault(),!0))))}function f(e){return e.func?e.func.call(e.scope):null}var p=this,h={},m=[];a.on("keyup keypress keydown",function(e){!l(e)&&!c(e)||e.isDefaultPrevented()||(n(h,function(t){if(d(e,t))return m=t.subpatterns.slice(0),"keydown"==e.type&&f(t),!0}),d(e,m[0])&&(1===m.length&&"keydown"==e.type&&f(m[0]),m.shift()))}),p.add=function(t,o,i,s){var l;return l=i,"string"==typeof i?i=function(){a.execCommand(l,!1,null)}:e.isArray(l)&&(i=function(){a.execCommand(l[0],l[1],l[2])}),n(r(e.trim(t.toLowerCase())),function(e){var t=u(e,o,i,s);h[t.id]=t}),!0},p.remove=function(e){var t=u(e);return!!h[t.id]&&(delete h[t.id],!0)}}}),i("tinymce/file/Uploader",["tinymce/util/Promise","tinymce/util/Tools","tinymce/util/Fun"],function(e,t,n){return function(r,o){function i(e){var t,n;return n={"image/jpeg":"jpg","image/jpg":"jpg","image/gif":"gif","image/png":"png"},t=n[e.blob().type.toLowerCase()]||"dat",e.filename()+"."+t}function a(e,t){return e?e.replace(/\/$/,"")+"/"+t.replace(/^\//,""):t}function s(e){return{id:e.id,blob:e.blob,base64:e.base64,filename:n.constant(i(e))}}function u(e,t,n,r){var i,s;i=new XMLHttpRequest,i.open("POST",o.url),i.withCredentials=o.credentials,i.upload.onprogress=function(e){r(e.loaded/e.total*100)},i.onerror=function(){n("Image upload failed due to a XHR Transport error. Code: "+i.status)},i.onload=function(){var e;return 200!=i.status?void n("HTTP Error: "+i.status):(e=JSON.parse(i.responseText),e&&"string"==typeof e.location?void t(a(o.basePath,e.location)):void n("Invalid JSON: "+i.responseText))},s=new FormData,s.append("file",e.blob(),e.filename()),i.send(s)}function l(){return new e(function(e){e([])})}function c(e,t){return{url:t,blobInfo:e,status:!0}}function d(e,t){return{url:"",blobInfo:e,status:!1,error:t}}function f(e,n){t.each(y[e],function(e){e(n)}),delete y[e]}function p(t,n,o){return r.markPending(t.blobUri()),new e(function(e){var i,a,u=function(){};try{var l=function(){i&&(i.close(),a=u)},p=function(n){l(),r.markUploaded(t.blobUri(),n),f(t.blobUri(),c(t,n)),e(c(t,n))},h=function(n){l(),r.removeFailed(t.blobUri()),f(t.blobUri(),d(t,n)),e(d(t,n))};a=function(e){e<0||e>100||(i||(i=o()),i.progressBar.value(e))},n(s(t),p,h,a)}catch(n){e(d(t,n.message))}})}function h(e){return e===u}function m(t){var n=t.blobUri();return new e(function(e){y[n]=y[n]||[],y[n].push(e)})}function g(n,i){return n=t.grep(n,function(e){return!r.isUploaded(e.blobUri())}),e.all(t.map(n,function(e){return r.isPending(e.blobUri())?m(e):p(e,o.handler,i)}))}function v(e,t){return!o.url&&h(o.handler)?l():g(e,t)}var y={};return o=t.extend({credentials:!1,handler:u},o),{upload:v}}}),i("tinymce/file/Conversions",["tinymce/util/Promise"],function(e){function t(t){return new e(function(e){var n=new XMLHttpRequest;n.open("GET",t,!0),n.responseType="blob",n.onload=function(){200==this.status&&e(this.response)},n.send()})}function n(e){var t,n;return e=decodeURIComponent(e).split(","),n=/data:([^;]+)/.exec(e[0]),n&&(t=n[1]),{type:t,data:e[1]}}function r(t){return new e(function(e){var r,o,i;t=n(t);try{r=atob(t.data)}catch(t){return void e(new Blob([]))}for(o=new Uint8Array(r.length),i=0;i<o.length;i++)o[i]=r.charCodeAt(i);e(new Blob([o],{type:t.type}))})}function o(e){return 0===e.indexOf("blob:")?t(e):0===e.indexOf("data:")?r(e):null}function i(t){return new e(function(e){var n=new FileReader;n.onloadend=function(){e(n.result)},n.readAsDataURL(t)})}return{uriToBlob:o,blobToDataUri:i,parseDataUri:n}}),i("tinymce/file/ImageScanner",["tinymce/util/Promise","tinymce/util/Arr","tinymce/util/Fun","tinymce/file/Conversions","tinymce/Env"],function(e,t,n,r,o){var i=0,a=function(e){return(e||"blobid")+i++};return function(i,s){function u(u,c){function d(e,t){var n,o;return 0===e.src.indexOf("blob:")?(o=s.getByUri(e.src),void(o?t({image:e,blobInfo:o}):r.uriToBlob(e.src).then(function(i){r.blobToDataUri(i).then(function(u){n=r.parseDataUri(u).data,o=s.create(a(),i,n),s.add(o),t({image:e,blobInfo:o})})}))):(n=r.parseDataUri(e.src).data,o=s.findFirst(function(e){return e.base64()===n}),void(o?t({image:e,blobInfo:o}):r.uriToBlob(e.src).then(function(r){o=s.create(a(),r,n),s.add(o),t({image:e,blobInfo:o})})))}var f,p;return c||(c=n.constant(!0)),f=t.filter(u.getElementsByTagName("img"),function(e){var t=e.src;return!!o.fileApi&&(!e.hasAttribute("data-mce-bogus")&&(!e.hasAttribute("data-mce-placeholder")&&(!(!t||t==o.transparentSrc)&&(0===t.indexOf("blob:")?!i.isUploaded(t):0===t.indexOf("data:")&&c(e)))))}),p=t.map(f,function(t){var n;return l[t.src]?new e(function(e){l[t.src].then(function(n){e({image:t,blobInfo:n.blobInfo})})}):(n=new e(function(e){d(t,e)}).then(function(e){return delete l[e.image.src],e}).catch(function(e){return delete l[t.src],e}),l[t.src]=n,n)}),e.all(p)}var l={};return{findAll:u}}}),i("tinymce/file/BlobCache",["tinymce/util/Arr","tinymce/util/Fun"],function(e,t){return function(){function n(e,t,n,r){return{id:c(e),filename:c(r||e),blob:c(t),base64:c(n),blobUri:c(URL.createObjectURL(t))}}function r(e){o(e.id())||l.push(e)}function o(e){return i(function(t){return t.id()===e})}function i(t){return e.filter(l,t)[0]}function a(e){return i(function(t){return t.blobUri()==e})}function s(t){l=e.filter(l,function(e){return e.blobUri()!==t||(URL.revokeObjectURL(e.blobUri()),!1)})}function u(){e.each(l,function(e){URL.revokeObjectURL(e.blobUri())}),l=[]}var l=[],c=t.constant;return{create:n,add:r,get:o,getByUri:a,findFirst:i,removeByUri:s,destroy:u}}}),i("tinymce/file/UploadStatus",[],function(){return function(){function e(e,t){return{status:e,resultUri:t}}function t(e){return e in d}function n(e){var t=d[e];return t?t.resultUri:null}function r(e){return!!t(e)&&d[e].status===l}function o(e){return!!t(e)&&d[e].status===c}function i(t){d[t]=e(l,null)}function a(t,n){d[t]=e(c,n)}function s(e){delete d[e]}function u(){d={}}var l=1,c=2,d={};return{hasBlobUri:t,getResultUri:n,isPending:r,isUploaded:o,markPending:i,markUploaded:a,removeFailed:s,destroy:u}}}),i("tinymce/ErrorReporter",["tinymce/AddOnManager"],function(e){var t=e.PluginManager,n=function(e,n){for(var r in t.urls){var o=t.urls[r]+"/plugin"+n+".js";if(o===e)return r}return null},r=function(e,t){var r=n(t,e.suffix);return r?"Failed to load plugin: "+r+" from url "+t:"Failed to load plugin url: "+t},o=function(e,t){e.notificationManager.open({type:"error",text:t})},i=function(e,t){e._skinLoaded?o(e,t):e.on("SkinLoaded",function(){o(e,t)})},a=function(e,t){i(e,"Failed to upload image: "+t)},s=function(e,t){i(e,r(e,t))};return{pluginLoadError:s,uploadError:a}}),i("tinymce/EditorUpload",["tinymce/util/Arr","tinymce/file/Uploader","tinymce/file/ImageScanner","tinymce/file/BlobCache","tinymce/file/UploadStatus","tinymce/ErrorReporter"],function(e,t,n,r,o,i){return function(a){function s(e){return function(t){return a.selection?e(t):[]}}function u(){return"?"+(new Date).getTime()}function l(e,t,n){var r=0;do r=e.indexOf(t,r),r!==-1&&(e=e.substring(0,r)+n+e.substr(r+t.length),r+=n.length-t.length+1);while(r!==-1);return e}function c(e,t,n){return e=l(e,'src="'+t+'"','src="'+n+'"'),e=l(e,'data-mce-src="'+t+'"','data-mce-src="'+n+'"')}function d(t,n){e.each(a.undoManager.data,function(r){"fragmented"===r.type?r.fragments=e.map(r.fragments,function(e){return c(e,t,n)}):r.content=c(r.content,t,n)})}function f(){return a.notificationManager.open({text:a.translate("Image uploading..."),type:"info",timeout:-1,progressBar:!0})}function p(e,t){C.removeByUri(e.src),d(e.src,t),a.$(e).attr({src:x.images_reuse_filename?t+u():t,"data-mce-src":a.convertURL(t,"src")})}function h(n){return _||(_=new t(E,{url:x.images_upload_url,basePath:x.images_upload_base_path,credentials:x.images_upload_credentials,handler:x.images_upload_handler})),v().then(s(function(t){var r;return r=e.map(t,function(e){return e.blobInfo}),_.upload(r,f).then(s(function(r){return r=e.map(r,function(e,n){var r=t[n].image;return e.status&&a.settings.images_replace_blob_uris!==!1?p(r,e.url):e.error&&i.uploadError(a,e.error),{element:r,status:e.status}}),n&&n(r),r}))}))}function m(e){if(x.automatic_uploads!==!1)return h(e)}function g(e){return!x.images_dataimg_filter||x.images_dataimg_filter(e)}function v(){return w||(w=new n(E,C)),w.findAll(a.getBody(),g).then(s(function(t){return e.each(t,function(e){d(e.image.src,e.blobInfo.blobUri()),e.image.src=e.blobInfo.blobUri(),e.image.removeAttribute("data-mce-src")}),t}))}function y(){C.destroy(),E.destroy(),w=_=null}function b(t){return t.replace(/src="(blob:[^"]+)"/g,function(t,n){var r=E.getResultUri(n);if(r)return'src="'+r+'"';var o=C.getByUri(n);return o||(o=e.reduce(a.editorManager.editors,function(e,t){return e||t.editorUpload.blobCache.getByUri(n)},null)),o?'src="data:'+o.blob().type+";base64,"+o.base64()+'"':t})}var _,w,C=new r,x=a.settings,E=new o;return a.on("setContent",function(){a.settings.automatic_uploads!==!1?m():v()}),a.on("RawSaveContent",function(e){e.content=b(e.content)}),a.on("getContent",function(e){e.source_view||"raw"==e.format||(e.content=b(e.content))}),a.on("PostRender",function(){a.parser.addNodeFilter("img",function(t){e.each(t,function(e){var t=e.attr("src");if(!C.getByUri(t)){var n=E.getResultUri(t);n&&e.attr("src",n)}})})}),{blobCache:C,uploadImages:h,uploadImagesAuto:m,scanForImages:v,destroy:y}}}),i("tinymce/caret/FakeCaret",["tinymce/caret/CaretContainer","tinymce/caret/CaretPosition","tinymce/dom/NodeType","tinymce/dom/RangeUtils","tinymce/dom/DomQuery","tinymce/geom/ClientRect","tinymce/util/Delay"],function(e,t,n,r,o,i,a){var s=n.isContentEditableFalse;return function(t,n){function r(e,n){var r,o,a,s,u,l=i.collapse(e.getBoundingClientRect(),n);return"BODY"==t.tagName?(r=t.ownerDocument.documentElement,o=t.scrollLeft||r.scrollLeft,a=t.scrollTop||r.scrollTop):(u=t.getBoundingClientRect(),o=t.scrollLeft-u.left,a=t.scrollTop-u.top),l.left+=o,l.right+=o,l.top+=a,l.bottom+=a,l.width=1,s=e.offsetWidth-e.clientWidth,s>0&&(n&&(s*=-1),l.left+=s,l.right+=s),l}function u(){var n,r,i,a,s;for(n=o("*[contentEditable=false]",t),a=0;a<n.length;a++)r=n[a],i=r.previousSibling,e.endsWithCaretContainer(i)&&(s=i.data,1==s.length?i.parentNode.removeChild(i):i.deleteData(s.length-1,1)),i=r.nextSibling,e.startsWithCaretContainer(i)&&(s=i.data,1==s.length?i.parentNode.removeChild(i):i.deleteData(0,1));return null}function l(i,a){var u,l;return c(),n(a)?(g=e.insertBlock("p",a,i),u=r(a,i),o(g).css("top",u.top),m=o('<div class="mce-visual-caret" data-mce-bogus="all"></div>').css(u).appendTo(t),i&&m.addClass("mce-visual-caret-before"),d(),l=a.ownerDocument.createRange(),l.setStart(g,0),l.setEnd(g,0),l):(g=e.insertInline(a,i),l=a.ownerDocument.createRange(),s(g.nextSibling)?(l.setStart(g,0),l.setEnd(g,0)):(l.setStart(g,1),l.setEnd(g,1)),l)}function c(){u(),g&&(e.remove(g),g=null),m&&(m.remove(),m=null),clearInterval(h)}function d(){h=a.setInterval(function(){o("div.mce-visual-caret",t).toggleClass("mce-visual-caret-hidden")},500)}function f(){a.clearInterval(h)}function p(){return".mce-visual-caret {position: absolute;background-color: black;background-color: currentcolor;}.mce-visual-caret-hidden {display: none;}*[data-mce-caret] {position: absolute;left: -1000px;right: auto;top: 0;margin: 0;padding: 0;}"}var h,m,g;return{show:l,hide:c,getCss:p,destroy:f}}}),i("tinymce/dom/Dimensions",["tinymce/util/Arr","tinymce/dom/NodeType","tinymce/geom/ClientRect"],function(e,t,n){function r(o){function i(t){return e.map(t,function(e){return e=n.clone(e),e.node=o,e})}if(e.isArray(o))return e.reduce(o,function(e,t){return e.concat(r(t))},[]);if(t.isElement(o))return i(o.getClientRects());if(t.isText(o)){var a=o.ownerDocument.createRange();return a.setStart(o,0),a.setEnd(o,o.data.length),i(a.getClientRects())}}return{getClientRects:r}}),i("tinymce/caret/LineWalker",["tinymce/util/Fun","tinymce/util/Arr","tinymce/dom/Dimensions","tinymce/caret/CaretCandidate","tinymce/caret/CaretUtils","tinymce/caret/CaretWalker","tinymce/caret/CaretPosition","tinymce/geom/ClientRect"],function(e,t,n,r,o,i,a,s){function u(e,t,n,i){for(;i=o.findNode(i,e,r.isEditableCaretCandidate,t);)if(n(i))return}function l(e,r,o,i,a,s){function l(i){var s,u,l;for(l=n.getClientRects(i),e==-1&&(l=l.reverse()),s=0;s<l.length;s++)if(u=l[s],!o(u,d)){if(p.length>0&&r(u,t.last(p))&&f++,u.line=f,a(u))return!0;p.push(u)}}var c,d,f=0,p=[];return(d=t.last(s.getClientRects()))?(c=s.getNode(),l(c),u(e,i,l,c),p):p}function c(e,t){return t.line>e}function d(e,t){return t.line===e}function f(e,n,r,o){function u(n){return 1==e?t.last(n.getClientRects()):t.last(n.getClientRects())}var l,c,d,f,p,h,m=new i(n),g=[],v=0;1==e?(l=m.next,c=s.isBelow,d=s.isAbove,f=a.after(o)):(l=m.prev,c=s.isAbove,d=s.isBelow,f=a.before(o)),h=u(f);do if(f.isVisible()&&(p=u(f),!d(p,h))){if(g.length>0&&c(p,t.last(g))&&v++,p=s.clone(p),p.position=f,p.line=v,r(p))return g;g.push(p)}while(f=l(f));return g}var p=e.curry,h=p(l,-1,s.isAbove,s.isBelow),m=p(l,1,s.isBelow,s.isAbove);return{upUntil:h,downUntil:m,positionsUntil:f,isAboveLine:p(c),isLine:p(d)}}),i("tinymce/caret/LineUtils",["tinymce/util/Fun","tinymce/util/Arr","tinymce/dom/NodeType","tinymce/dom/Dimensions","tinymce/geom/ClientRect","tinymce/caret/CaretUtils","tinymce/caret/CaretCandidate"],function(e,t,n,r,o,i,a){function s(e,t){return Math.abs(e.left-t)}function u(e,t){return Math.abs(e.right-t)}function l(e,n){function r(e,t){return e>=t.left&&e<=t.right}return t.reduce(e,function(e,t){var o,i;return o=Math.min(s(e,n),u(e,n)),i=Math.min(s(t,n),u(t,n)),r(n,t)?t:r(n,e)?e:i==o&&m(t.node)?t:i<o?t:e})}function c(e,t,n,r){for(;r=g(r,e,a.isEditableCaretCandidate,t);)if(n(r))return}function d(e,n){function i(e,o){var i;return i=t.filter(r.getClientRects(o),function(t){return!e(t,n)}),a=a.concat(i),0===i.length}var a=[];return a.push(n),c(-1,e,v(i,o.isAbove),n.node),c(1,e,v(i,o.isBelow),n.node),a}function f(e){return t.filter(t.toArray(e.getElementsByTagName("*")),m)}function p(e,t){return{node:e.node,before:s(e,t)<u(e,t)}}function h(e,n,o){var i,a;return i=r.getClientRects(f(e)),i=t.filter(i,function(e){return o>=e.top&&o<=e.bottom}),a=l(i,n),a&&(a=l(d(e,a),n),a&&m(a.node))?p(a,n):null}var m=n.isContentEditableFalse,g=i.findNode,v=e.curry;return{findClosestClientRect:l,findLineNodeRects:d,closestCaret:h}}),i("tinymce/dom/MousePosition",[],function(){var e=function(e){var t,n,r,o;return o=e.getBoundingClientRect(),t=e.ownerDocument,n=t.documentElement,r=t.defaultView,{top:o.top+r.pageYOffset-n.clientTop,left:o.left+r.pageXOffset-n.clientLeft}},t=function(t){return t.inline?e(t.getBody()):{left:0,top:0}},n=function(e){var t=e.getBody();return e.inline?{left:t.scrollLeft,top:t.scrollTop}:{left:0,top:0}},r=function(e){var t=e.getBody(),n=e.getDoc().documentElement,r={left:t.scrollLeft,top:t.scrollTop},o={left:t.scrollLeft||n.scrollLeft,top:t.scrollTop||n.scrollTop};return e.inline?r:o},o=function(t,n){if(n.target.ownerDocument!==t.getDoc()){var o=e(t.getContentAreaContainer()),i=r(t);return{left:n.pageX-o.left+i.left,top:n.pageY-o.top+i.top}}return{left:n.pageX,top:n.pageY}},i=function(e,t,n){return{pageX:n.left-e.left+t.left,pageY:n.top-e.top+t.top}},a=function(e,r){return i(t(e),n(e),o(e,r))};return{calc:a}}),i("tinymce/DragDropOverrides",["tinymce/dom/NodeType","tinymce/util/Arr","tinymce/util/Fun","tinymce/util/Delay","tinymce/dom/DOMUtils","tinymce/dom/MousePosition"],function(e,t,n,r,o,i){var a=e.isContentEditableFalse,s=e.isContentEditableTrue,u=function(e,t){return a(t)&&t!==e},l=function(e,t,n){return t!==n&&!e.dom.isChildOf(t,n)&&!a(t)},c=function(e){var t=e.cloneNode(!0);return t.removeAttribute("data-mce-selected"),t},d=function(e,t,n,r){var o=t.cloneNode(!0);e.dom.setStyles(o,{width:n,height:r}),e.dom.setAttrib(o,"data-mce-selected",null);var i=e.dom.create("div",{class:"mce-drag-container","data-mce-bogus":"all",unselectable:"on",contenteditable:"false"});return e.dom.setStyles(i,{position:"absolute",opacity:.5,overflow:"hidden",border:0,padding:0,margin:0,width:n,height:r}),e.dom.setStyles(o,{margin:0,boxSizing:"border-box"}),i.appendChild(o),i},f=function(e,t){e.parentNode!==t&&t.appendChild(e)},p=function(e,t,n,r,o,i){var a=0,s=0;e.style.left=t.pageX+"px",e.style.top=t.pageY+"px",t.pageX+n>o&&(a=t.pageX+n-o),t.pageY+r>i&&(s=t.pageY+r-i),e.style.width=n-a+"px",e.style.height=r-s+"px"},h=function(e){e&&e.parentNode&&e.parentNode.removeChild(e)},m=function(e){return 0===e.button},g=function(e){return e.element},v=function(e,t){return{pageX:t.pageX-e.relX,pageY:t.pageY+5}},y=function(e,r){return function(o){if(m(o)){var i=t.find(r.dom.getParents(o.target),n.or(a,s));if(u(r.getBody(),i)){var l=r.dom.getPos(i),c=r.getBody(),f=r.getDoc().documentElement;e.element=i,e.screenX=o.screenX,e.screenY=o.screenY,e.maxX=(r.inline?c.scrollWidth:f.offsetWidth)-2,e.maxY=(r.inline?c.scrollHeight:f.offsetHeight)-2,e.relX=o.pageX-l.x,e.relY=o.pageY-l.y,e.width=i.offsetWidth,e.height=i.offsetHeight,e.ghost=d(r,i,e.width,e.height)}}}},b=function(e,t){var n=r.throttle(function(e,n){t._selectionOverrides.hideFakeCaret(),t.selection.placeCaretAt(e,n)},0);return function(r){var o=Math.max(Math.abs(r.screenX-e.screenX),Math.abs(r.screenY-e.screenY));if(g(e)&&!e.dragging&&o>10){var a=t.fire("dragstart",{target:e.element});if(a.isDefaultPrevented())return;e.dragging=!0,t.focus()}if(e.dragging){var s=v(e,i.calc(t,r));f(e.ghost,t.getBody()),p(e.ghost,s,e.width,e.height,e.maxX,e.maxY),n(r.clientX,r.clientY)}}},_=function(e){var t=e.getSel().getRangeAt(0),n=t.startContainer;return 3===n.nodeType?n.parentNode:n},w=function(e,t){return function(n){if(e.dragging&&l(t,_(t.selection),e.element)){var r=c(e.element),o=t.fire("drop",{targetClone:r,clientX:n.clientX,clientY:n.clientY});o.isDefaultPrevented()||(r=o.targetClone,t.undoManager.transact(function(){h(e.element),t.insertContent(t.dom.getOuterHTML(r)),t._selectionOverrides.hideFakeCaret()}))}x(e)}},C=function(e,t){return function(){x(e),e.dragging&&t.fire("dragend")}},x=function(e){e.dragging=!1,e.element=null,h(e.ghost)},E=function(e){var t,n,r,i,a,s,u={};t=o.DOM,s=document,n=y(u,e),r=b(u,e),i=w(u,e),a=C(u,e),e.on("mousedown",n),e.on("mousemove",r),e.on("mouseup",i),t.bind(s,"mousemove",r),t.bind(s,"mouseup",a),e.on("remove",function(){t.unbind(s,"mousemove",r),t.unbind(s,"mouseup",a)})},T=function(e){e.on("drop",function(t){var n="undefined"!=typeof t.clientX?e.getDoc().elementFromPoint(t.clientX,t.clientY):null;(a(n)||a(e.dom.getContentEditableParent(n)))&&t.preventDefault()})},k=function(e){E(e),T(e)};return{init:k}}),i("tinymce/SelectionOverrides",["tinymce/Env","tinymce/caret/CaretWalker","tinymce/caret/CaretPosition","tinymce/caret/CaretContainer","tinymce/caret/CaretUtils","tinymce/caret/FakeCaret","tinymce/caret/LineWalker","tinymce/caret/LineUtils","tinymce/dom/NodeType","tinymce/dom/RangeUtils","tinymce/geom/ClientRect","tinymce/util/VK","tinymce/util/Fun","tinymce/util/Arr","tinymce/util/Delay","tinymce/DragDropOverrides"],function(e,t,n,r,o,i,a,s,u,l,c,d,f,p,h,m){function g(e,t){for(;t=e(t);)if(t.isVisible())return t;return t}function v(l){function v(e){return l.dom.hasClass(e,"mce-offscreen-selection")}function T(){var e=l.dom.get(ce);return e?e.getElementsByTagName("*")[0]:e}function k(e){return l.dom.isBlock(e)}function S(e){e&&l.selection.setRng(e)}function O(){return l.selection.getRng()}function M(e,t){l.selection.scrollIntoView(e,t)}function A(e,t,n){var r;return r=l.fire("ShowCaret",{target:t,direction:e,before:n}),r.isDefaultPrevented()?null:(M(t,e===-1),le.show(n,t))}function N(e){var t;return t=l.fire("BeforeObjectSelected",{target:e}),t.isDefaultPrevented()?null:I(e)}function I(e){var t=e.ownerDocument.createRange();return t.selectNode(e),t}function P(e,t){var n=o.isInSameBlock(e,t);return!(n||!u.isBr(e.getNode()))||n}function D(e,t){return t=o.normalizeRange(e,ie,t),e==-1?n.fromRangeStart(t):n.fromRangeEnd(t)}function R(e){return r.isCaretContainerBlock(e.startContainer)}function j(e,t,n,r){var o,i,a,s;return!r.collapsed&&(o=E(r),_(o))?A(e,o,e==-1):(s=R(r),i=D(e,r),n(i)?N(i.getNode(e==-1)):(i=t(i))?n(i)?A(e,i.getNode(e==-1),1==e):(a=t(i),n(a)&&P(i,a)?A(e,a.getNode(e==-1),1==e):s?W(i.toRange()):null):s?r:null)}function L(e,t,n){var r,o,i,u,l,c,d,f,h;if(h=E(n),r=D(e,n),o=t(ie,a.isAboveLine(1),r),i=p.filter(o,a.isLine(1)),l=p.last(r.getClientRects()),x(r)&&(h=r.getNode()),C(r)&&(h=r.getNode(!0)),!l)return null;if(c=l.left,u=s.findClosestClientRect(i,c),u&&_(u.node))return d=Math.abs(c-u.left),f=Math.abs(c-u.right),A(e,u.node,d<f);if(h){var m=a.positionsUntil(e,ie,a.isAboveLine(1),h);if(u=s.findClosestClientRect(p.filter(m,a.isLine(1)),c))return W(u.position.toRange());if(u=p.last(p.filter(m,a.isLine(0))))return W(u.position.toRange())}}function B(t,r){function o(){var t=l.dom.create(l.settings.forced_root_block);return(!e.ie||e.ie>=11)&&(t.innerHTML='<br data-mce-bogus="1">'),t}var i,a,s;if(r.collapsed&&l.settings.forced_root_block){if(i=l.dom.getParent(r.startContainer,"PRE"),!i)return;a=1==t?se(n.fromRangeStart(r)):ue(n.fromRangeStart(r)),a||(s=o(),1==t?l.$(i).after(s):l.$(i).before(s),l.selection.select(s,!0),l.selection.collapse())}}function F(e,t,n,r){var o;return(o=j(e,t,n,r))?o:(o=B(e,r),o?o:null)}function U(e,t,n){var r;return(r=L(e,t,n))?r:(r=B(e,n),r?r:null)}function H(){return de("*[data-mce-caret]")[0]}function z(e){e.hasAttribute("data-mce-caret")&&(r.showCaretContainerBlock(e),S(O()),M(e[0]))}function q(e){var t,r;return e=o.normalizeRange(1,ie,e),t=n.fromRangeStart(e),_(t.getNode())?A(1,t.getNode(),!t.isAtEnd()):_(t.getNode(!0))?A(1,t.getNode(!0),!1):(r=l.dom.getParent(t.getNode(),f.or(_,b)),_(r)?A(1,r,!1):null)}function W(e){var t;return e&&e.collapsed?(t=q(e),t?t:e):e}function V(e){var t,o,i,a;return _(e)?(_(e.previousSibling)&&(i=e.previousSibling),o=ue(n.before(e)),o||(t=se(n.after(e))),t&&w(t.getNode())&&(a=t.getNode()),r.remove(e.previousSibling),r.remove(e.nextSibling),l.dom.remove(e),l.dom.isEmpty(l.getBody())?(l.setContent(""),void l.focus()):i?n.after(i).toRange():a?n.before(a).toRange():o?o.toRange():t?t.toRange():null):null}function G(e){var t=l.schema.getTextBlockElements();return e.nodeName in t}function Y(e){return l.dom.isEmpty(e)}function K(e,t,r){var o,i,a,s,u=l.dom;if(o=u.getParent(t.getNode(),u.isBlock),i=u.getParent(r.getNode(),u.isBlock),e===-1){if(s=r.getNode(!0),C(r)&&k(s))return G(o)?(Y(o)&&u.remove(o),n.after(s).toRange()):V(r.getNode(!0))}else if(s=t.getNode(),x(t)&&k(s))return G(i)?(Y(i)&&u.remove(i),n.before(s).toRange()):V(t.getNode());if(o===i||!G(o)||!G(i))return null;for(;a=o.firstChild;)i.appendChild(a);return l.dom.remove(o),r.toRange()}function $(e,t,n,o){var i,a,s,u;return!o.collapsed&&(i=E(o),_(i))?W(V(i)):(a=D(e,o),n(a)&&r.isCaretContainerBlock(o.startContainer)?(u=e==-1?ae.prev(a):ae.next(a),u?W(u.toRange()):o):t(a)?W(V(a.getNode(e==-1))):(s=e==-1?ae.prev(a):ae.next(a),t(s)?e===-1?K(e,a,s):K(e,s,a):void 0))}function X(){function o(e,t){if(e.isDefaultPrevented()===!1){var n=t(O());n&&(e.preventDefault(),S(n))}}function i(e){for(var t=l.getBody();e&&e!=t;){if(b(e)||_(e))return e;e=e.parentNode}return null}function u(e,t,n){return!n.collapsed&&p.reduce(n.getClientRects(),function(n,r){return n||c.containsXY(r,e,t)},!1)}function f(e){var t=!1;e.on("touchstart",function(){t=!1}),e.on("touchmove",function(){t=!0}),e.on("touchend",function(e){var n=i(e.target);_(n)&&(t||(e.preventDefault(),ee(N(n))))})}function g(){var e,t=i(l.selection.getNode());b(t)&&k(t)&&l.dom.isEmpty(t)&&(e=l.dom.create("br",{"data-mce-bogus":"1"}),l.$(t).empty().append(e),l.selection.setRng(n.before(e).toRange()))}function w(e){var t=H();if(t)return"compositionstart"==e.type?(e.preventDefault(),e.stopPropagation(),void z(t)):void(r.hasContent(t)&&z(t))}function E(e){var t;switch(e.keyCode){case d.DELETE:t=g();break;case d.BACKSPACE:t=g()}t&&e.preventDefault()}var M=y(F,1,se,x),I=y(F,-1,ue,C),P=y($,1,x,C),D=y($,-1,C,x),R=y(U,-1,a.upUntil),j=y(U,1,a.downUntil);l.on("mouseup",function(){var e=O();e.collapsed&&S(q(e))}),l.on("click",function(e){var t;t=i(e.target),t&&(_(t)&&(e.preventDefault(),l.focus()),b(t)&&l.dom.isChildOf(t,l.selection.getNode())&&te())}),l.on("blur NewBlock",function(){te(),re()});var L=function(e){var r=new t(e);if(!e.firstChild)return!1;var o=n.before(e.firstChild),i=r.next(o);return i&&!x(i)&&!C(i)},B=function(e,t){var n=l.dom.getParent(e,l.dom.isBlock),r=l.dom.getParent(t,l.dom.isBlock);return n===r},G=function(e){return!(e.keyCode>=112&&e.keyCode<=123)},Y=function(e,t){var n=l.dom.getParent(e,l.dom.isBlock),r=l.dom.getParent(t,l.dom.isBlock);return n&&!B(n,r)&&L(n)};f(l),l.on("mousedown",function(e){var t;if(t=i(e.target))_(t)?(e.preventDefault(),ee(N(t))):u(e.clientX,e.clientY,l.selection.getRng())||l.selection.placeCaretAt(e.clientX,e.clientY);else{te(),re();var n=s.closestCaret(ie,e.clientX,e.clientY);n&&(Y(e.target,n.node)||(e.preventDefault(),l.getBody().focus(),S(A(1,n.node,n.before))))}}),l.on("keydown",function(e){if(!d.modifierPressed(e))switch(e.keyCode){case d.RIGHT:o(e,M);break;case d.DOWN:o(e,j);break;case d.LEFT:o(e,I);break;case d.UP:o(e,R);break;case d.DELETE:o(e,P);break;case d.BACKSPACE:o(e,D);break;default:_(l.selection.getNode())&&G(e)&&e.preventDefault()}}),l.on("keyup compositionstart",function(e){w(e),E(e)},!0),l.on("cut",function(){var e=l.selection.getNode();_(e)&&h.setEditorTimeout(l,function(){S(W(V(e)))})}),l.on("getSelectionRange",function(e){var t=e.range;if(oe){if(!oe.parentNode)return void(oe=null);t=t.cloneRange(),t.selectNode(oe),e.range=t}}),l.on("setSelectionRange",function(e){var t;t=ee(e.range),t&&(e.range=t)}),l.on("AfterSetSelectionRange",function(e){var t=e.range;Z(t)||re(),v(t.startContainer.parentNode)||te()}),l.on("focus",function(){h.setEditorTimeout(l,function(){l.selection.setRng(W(l.selection.getRng()))},0)}),l.on("copy",function(t){var n=t.clipboardData;if(!t.isDefaultPrevented()&&t.clipboardData&&!e.ie){var r=T();r&&(t.preventDefault(),n.clearData(),n.setData("text/html",r.outerHTML),n.setData("text/plain",r.outerText))}}),m.init(l)}function Q(){var e=l.contentStyles,t=".mce-content-body";e.push(le.getCss()),e.push(t+" .mce-offscreen-selection {position: absolute;left: -9999999999px;max-width: 1000000px;}"+t+" *[contentEditable=false] {cursor: default;}"+t+" *[contentEditable=true] {cursor: text;}")}function J(e){return r.isCaretContainer(e)||r.startsWithCaretContainer(e)||r.endsWithCaretContainer(e)}function Z(e){return J(e.startContainer)||J(e.endContainer)}function ee(t){var n,r,o,i,a,s,u,c,d,f,p=l.$,h=l.dom;if(!t)return null;if(t.collapsed){if(!Z(t)){if(c=D(1,t),_(c.getNode()))return A(1,c.getNode(),!c.isAtEnd());if(_(c.getNode(!0)))return A(1,c.getNode(!0),!1)}return null}return i=t.startContainer,a=t.startOffset,s=t.endOffset,3==i.nodeType&&0==a&&_(i.parentNode)&&(i=i.parentNode,a=h.nodeIndex(i),i=i.parentNode),1!=i.nodeType?null:(s==a+1&&(n=i.childNodes[a]),_(n)?(d=f=n.cloneNode(!0),u=l.fire("ObjectSelected",{target:n,targetClone:d}),u.isDefaultPrevented()?null:(d=u.targetClone,r=p("#"+ce),0===r.length&&(r=p('<div data-mce-bogus="all" class="mce-offscreen-selection"></div>').attr("id",ce),r.appendTo(l.getBody())),t=l.dom.createRng(),d===f&&e.ie?(r.empty().append('<p style="font-size: 0" data-mce-bogus="all"> </p>').append(d),t.setStartAfter(r[0].firstChild.firstChild),t.setEndAfter(d)):(r.empty().append(" ").append(d).append(" "),t.setStart(r[0].firstChild,1),t.setEnd(r[0].lastChild,0)),r.css({top:h.getPos(n,l.getBody()).y}),r[0].focus(),o=l.selection.getSel(),o.removeAllRanges(),o.addRange(t),l.$("*[data-mce-selected]").removeAttr("data-mce-selected"),n.setAttribute("data-mce-selected",1),oe=n,re(),t)):null)}function te(){oe&&(oe.removeAttribute("data-mce-selected"),l.$("#"+ce).remove(),oe=null)}function ne(){le.destroy(),oe=null}function re(){le.hide()}var oe,ie=l.getBody(),ae=new t(ie),se=y(g,ae.next),ue=y(g,ae.prev),le=new i(l.getBody(),k),ce="sel-"+l.dom.uniqueId(),de=l.$;return e.ceFalse&&(X(),Q()),{showBlockCaretContainer:z,hideFakeCaret:re,destroy:ne}}var y=f.curry,b=u.isContentEditableTrue,_=u.isContentEditableFalse,w=u.isElement,C=o.isAfterContentEditableFalse,x=o.isBeforeContentEditableFalse,E=l.getSelectedNode;return v}),i("tinymce/util/Uuid",[],function(){var e=0,t=function(){var e=function(){return Math.round(4294967295*Math.random()).toString(36)},t=(new Date).getTime();return"s"+t.toString(36)+e()+e()+e()},n=function(n){return n+e++ +t()};return{uuid:n}}),i("tinymce/ui/Sidebar",[],function(){var e=function(e,t,n){var r=e.sidebars?e.sidebars:[];r.push({name:t,settings:n}),e.sidebars=r};return{add:e}}),i("tinymce/Editor",["tinymce/dom/DOMUtils","tinymce/dom/DomQuery","tinymce/AddOnManager","tinymce/NodeChange","tinymce/html/Node","tinymce/dom/Serializer","tinymce/html/Serializer","tinymce/dom/Selection","tinymce/Formatter","tinymce/UndoManager","tinymce/EnterKey","tinymce/ForceBlocks","tinymce/EditorCommands","tinymce/util/URI","tinymce/dom/ScriptLoader","tinymce/dom/EventUtils","tinymce/WindowManager","tinymce/NotificationManager","tinymce/html/Schema","tinymce/html/DomParser","tinymce/util/Quirks","tinymce/Env","tinymce/util/Tools","tinymce/util/Delay","tinymce/EditorObservable","tinymce/Mode","tinymce/Shortcuts","tinymce/EditorUpload","tinymce/SelectionOverrides","tinymce/util/Uuid","tinymce/ui/Sidebar","tinymce/ErrorReporter"],function(e,t,n,o,i,a,s,u,l,c,d,f,p,h,m,g,v,y,b,_,w,C,x,E,T,k,S,O,M,A,N,I){function P(e,r,o){var i,a,s,u=this;i=u.documentBaseUrl=o.documentBaseURL,a=o.baseURI,s=o.defaultSettings,r=L({id:e,theme:"modern",delta_width:0,delta_height:0,popup_css:"",plugins:"",document_base_url:i,add_form_submit_trigger:!0,submit_patch:!0,add_unload_trigger:!0,convert_urls:!0,relative_urls:!0,remove_script_host:!0,object_resizing:!0,doctype:"<!DOCTYPE html>",visual:!0,font_size_style_values:"xx-small,x-small,small,medium,large,x-large,xx-large",font_size_legacy_values:"xx-small,small,medium,large,x-large,xx-large,300%",forced_root_block:"p",hidden_input:!0,padd_empty_editor:!0,render_ui:!0,indentation:"30px",inline_styles:!0,convert_fonts_to_spans:!0,indent:"simple",indent_before:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,article,hgroup,aside,figure,figcaption,option,optgroup,datalist",indent_after:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,article,hgroup,aside,figure,figcaption,option,optgroup,datalist",validate:!0,entity_encoding:"named",url_converter:u.convertURL,url_converter_scope:u,ie7_compat:!0},s,r),s&&s.external_plugins&&r.external_plugins&&(r.external_plugins=L({},s.external_plugins,r.external_plugins)),u.settings=r,n.language=r.language||"en",n.languageLoad=r.language_load,n.baseURL=o.baseURL,u.id=r.id=e,u.setDirty(!1),u.plugins={},u.documentBaseURI=new h(r.document_base_url||i,{base_uri:a}),u.baseURI=a,u.contentCSS=[],u.contentStyles=[],u.shortcuts=new S(u),u.loadedCSS={},u.editorCommands=new p(u),u.suffix=o.suffix,u.editorManager=o,u.inline=r.inline,u.settings.content_editable=u.inline,r.cache_suffix&&(C.cacheSuffix=r.cache_suffix.replace(/^[\?\&]+/,"")),r.override_viewport===!1&&(C.overrideViewPort=!1),o.fire("SetupEditor",u),u.execCallback("setup",u),u.$=t.overrideDefaults(function(){return{context:u.inline?u.getBody():u.getDoc(),element:u.getBody()}})}var D=e.DOM,R=n.ThemeManager,j=n.PluginManager,L=x.extend,B=x.each,F=x.explode,U=x.inArray,H=x.trim,z=x.resolve,q=g.Event,W=C.gecko,V=C.ie;return P.prototype={render:function(){function e(){D.unbind(window,"ready",e),n.render()}function t(){var e=m.ScriptLoader;if(r.language&&"en"!=r.language&&!r.language_url&&(r.language_url=n.editorManager.baseURL+"/langs/"+r.language+".js"),
+r.language_url&&e.add(r.language_url),r.theme&&"function"!=typeof r.theme&&"-"!=r.theme.charAt(0)&&!R.urls[r.theme]){var t=r.theme_url;t=t?n.documentBaseURI.toAbsolute(t):"themes/"+r.theme+"/theme"+i+".js",R.load(r.theme,t)}x.isArray(r.plugins)&&(r.plugins=r.plugins.join(" ")),B(r.external_plugins,function(e,t){j.load(t,e),r.plugins+=" "+t}),B(r.plugins.split(/[ ,]/),function(e){if(e=H(e),e&&!j.urls[e])if("-"==e.charAt(0)){e=e.substr(1,e.length);var t=j.dependencies(e);B(t,function(e){var t={prefix:"plugins/",resource:e,suffix:"/plugin"+i+".js"};e=j.createUrl(t,e),j.load(e.resource,e)})}else j.load(e,{prefix:"plugins/",resource:e,suffix:"/plugin"+i+".js"})}),e.loadQueue(function(){n.removed||n.init()},n,function(e){I.pluginLoadError(n,e[0]),n.removed||n.init()})}var n=this,r=n.settings,o=n.id,i=n.suffix;if(!q.domLoaded)return void D.bind(window,"ready",e);if(n.getElement()&&C.contentEditable){r.inline?n.inline=!0:(n.orgVisibility=n.getElement().style.visibility,n.getElement().style.visibility="hidden");var a=n.getElement().form||D.getParent(o,"form");a&&(n.formElement=a,r.hidden_input&&!/TEXTAREA|INPUT/i.test(n.getElement().nodeName)&&(D.insertAfter(D.create("input",{type:"hidden",name:o}),o),n.hasHiddenInput=!0),n.formEventDelegate=function(e){n.fire(e.type,e)},D.bind(a,"submit reset",n.formEventDelegate),n.on("reset",function(){n.setContent(n.startContent,{format:"raw"})}),!r.submit_patch||a.submit.nodeType||a.submit.length||a._mceOldSubmit||(a._mceOldSubmit=a.submit,a.submit=function(){return n.editorManager.triggerSave(),n.setDirty(!1),a._mceOldSubmit(a)})),n.windowManager=new v(n),n.notificationManager=new y(n),"xml"==r.encoding&&n.on("GetContent",function(e){e.save&&(e.content=D.encode(e.content))}),r.add_form_submit_trigger&&n.on("submit",function(){n.initialized&&n.save()}),r.add_unload_trigger&&(n._beforeUnload=function(){!n.initialized||n.destroyed||n.isHidden()||n.save({format:"raw",no_events:!0,set_dirty:!1})},n.editorManager.on("BeforeUnload",n._beforeUnload)),n.editorManager.add(n),t()}},init:function(){function e(t){var n,r,o=j.get(t);if(n=j.urls[t]||f.documentBaseUrl.replace(/\/$/,""),t=H(t),o&&U(m,t)===-1){if(B(j.dependencies(t),function(t){e(t)}),f.plugins[t])return;r=new o(f,n,f.$),f.plugins[t]=r,r.init&&(r.init(f,n),m.push(t))}}var t,n,r,o,i,a,s,u,l,c,d,f=this,p=f.settings,h=f.getElement(),m=[];if(f.rtl=p.rtl_ui||f.editorManager.i18n.rtl,f.editorManager.i18n.setCode(p.language),p.aria_label=p.aria_label||D.getAttrib(h,"aria-label",f.getLang("aria.rich_text_area")),f.fire("ScriptsLoaded"),p.theme&&("function"!=typeof p.theme?(p.theme=p.theme.replace(/-/,""),a=R.get(p.theme),f.theme=new a(f,R.urls[p.theme]),f.theme.init&&f.theme.init(f,R.urls[p.theme]||f.documentBaseUrl.replace(/\/$/,""),f.$)):f.theme=p.theme),B(p.plugins.replace(/\-/g,"").split(/[ ,]/),e),p.render_ui&&f.theme&&(f.orgDisplay=h.style.display,"function"!=typeof p.theme?(t=p.width||h.style.width||h.offsetWidth,n=p.height||h.style.height||h.offsetHeight,r=p.min_height||100,c=/^[0-9\.]+(|px)$/i,c.test(""+t)&&(t=Math.max(parseInt(t,10),100)),c.test(""+n)&&(n=Math.max(parseInt(n,10),r)),i=f.theme.renderUI({targetNode:h,width:t,height:n,deltaWidth:p.delta_width,deltaHeight:p.delta_height}),p.content_editable||(n=(i.iframeHeight||n)+("number"==typeof n?i.deltaHeight||0:""),n<r&&(n=r))):(i=p.theme(f,h),i.editorContainer.nodeType&&(i.editorContainer.id=i.editorContainer.id||f.id+"_parent"),i.iframeContainer.nodeType&&(i.iframeContainer.id=i.iframeContainer.id||f.id+"_iframecontainer"),n=i.iframeHeight||h.offsetHeight),f.editorContainer=i.editorContainer),p.content_css&&B(F(p.content_css),function(e){f.contentCSS.push(f.documentBaseURI.toAbsolute(e))}),p.content_style&&f.contentStyles.push(p.content_style),p.content_editable)return h=o=i=null,f.initContentBody();if(f.iframeHTML=p.doctype+"<html><head>",p.document_base_url!=f.documentBaseUrl&&(f.iframeHTML+='<base href="'+f.documentBaseURI.getURI()+'" />'),!C.caretAfter&&p.ie7_compat&&(f.iframeHTML+='<meta http-equiv="X-UA-Compatible" content="IE=7" />'),f.iframeHTML+='<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />',!/#$/.test(document.location.href))for(d=0;d<f.contentCSS.length;d++){var g=f.contentCSS[d];f.iframeHTML+='<link type="text/css" rel="stylesheet" href="'+x._addCacheSuffix(g)+'" />',f.loadedCSS[g]=!0}u=p.body_id||"tinymce",u.indexOf("=")!=-1&&(u=f.getParam("body_id","","hash"),u=u[f.id]||u),l=p.body_class||"",l.indexOf("=")!=-1&&(l=f.getParam("body_class","","hash"),l=l[f.id]||""),p.content_security_policy&&(f.iframeHTML+='<meta http-equiv="Content-Security-Policy" content="'+p.content_security_policy+'" />'),f.iframeHTML+='</head><body id="'+u+'" class="mce-content-body '+l+'" data-id="'+f.id+'"><br></body></html>';var v='javascript:(function(){document.open();document.domain="'+document.domain+'";var ed = window.parent.tinymce.get("'+f.id+'");document.write(ed.iframeHTML);document.close();ed.initContentBody(true);})()';document.domain!=location.hostname&&C.ie&&C.ie<12&&(s=v);var y=D.create("iframe",{id:f.id+"_ifr",frameBorder:"0",allowTransparency:"true",title:f.editorManager.translate("Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help"),style:{width:"100%",height:n,display:"block"}});if(y.onload=function(){y.onload=null,f.fire("load")},D.setAttrib(y,"src",s||'javascript:""'),f.contentAreaContainer=i.iframeContainer,f.iframeElement=y,o=D.add(i.iframeContainer,y),V)try{f.getDoc()}catch(e){o.src=s=v}i.editorContainer&&(D.get(i.editorContainer).style.display=f.orgDisplay,f.hidden=D.isHidden(i.editorContainer)),f.getElement().style.display="none",D.setAttrib(f.id,"aria-hidden",!0),s||f.initContentBody(),h=o=i=null},initContentBody:function(t){var n,r,s=this,p=s.settings,h=s.getElement(),m=s.getDoc();p.inline||(s.getElement().style.visibility=s.orgVisibility),t||p.content_editable||(m.open(),m.write(s.iframeHTML),m.close()),p.content_editable&&(s.on("remove",function(){var e=this.getBody();D.removeClass(e,"mce-content-body"),D.removeClass(e,"mce-edit-focus"),D.setAttrib(e,"contentEditable",null)}),D.addClass(h,"mce-content-body"),s.contentDocument=m=p.content_document||document,s.contentWindow=p.content_window||window,s.bodyElement=h,p.content_document=p.content_window=null,p.root_name=h.nodeName.toLowerCase()),n=s.getBody(),n.disabled=!0,s.readonly=p.readonly,s.readonly||(s.inline&&"static"==D.getStyle(n,"position",!0)&&(n.style.position="relative"),n.contentEditable=s.getParam("content_editable_state",!0)),n.disabled=!1,s.editorUpload=new O(s),s.schema=new b(p),s.dom=new e(m,{keep_values:!0,url_converter:s.convertURL,url_converter_scope:s,hex_colors:p.force_hex_style_colors,class_filter:p.class_filter,update_styles:!0,root_element:s.inline?s.getBody():null,collect:p.content_editable,schema:s.schema,onSetAttrib:function(e){s.fire("SetAttrib",e)}}),s.parser=new _(p,s.schema),s.parser.addAttributeFilter("src,href,style,tabindex",function(e,t){for(var n,r,o,i=e.length,a=s.dom;i--;)if(n=e[i],r=n.attr(t),o="data-mce-"+t,!n.attributes.map[o]){if(0===r.indexOf("data:")||0===r.indexOf("blob:"))continue;"style"===t?(r=a.serializeStyle(a.parseStyle(r),n.name),r.length||(r=null),n.attr(o,r),n.attr(t,r)):"tabindex"===t?(n.attr(o,r),n.attr(t,null)):n.attr(o,s.convertURL(r,t,n.name))}}),s.parser.addNodeFilter("script",function(e){for(var t,n,r=e.length;r--;)t=e[r],n=t.attr("type")||"no/type",0!==n.indexOf("mce-")&&t.attr("type","mce-"+n)}),s.parser.addNodeFilter("#cdata",function(e){for(var t,n=e.length;n--;)t=e[n],t.type=8,t.name="#comment",t.value="[CDATA["+t.value+"]]"}),s.parser.addNodeFilter("p,h1,h2,h3,h4,h5,h6,div",function(e){for(var t,n=e.length,r=s.schema.getNonEmptyElements();n--;)t=e[n],t.isEmpty(r)&&0===t.getAll("br").length&&(t.append(new i("br",1)).shortEnded=!0)}),s.serializer=new a(p,s),s.selection=new u(s.dom,s.getWin(),s.serializer,s),s.formatter=new l(s),s.undoManager=new c(s),s.forceBlocks=new f(s),s.enterKey=new d(s),s._nodeChangeDispatcher=new o(s),s._selectionOverrides=new M(s),s.fire("PreInit"),p.browser_spellcheck||p.gecko_spellcheck||(m.body.spellcheck=!1,D.setAttrib(n,"spellcheck","false")),s.quirks=new w(s),s.fire("PostRender"),p.directionality&&(n.dir=p.directionality),p.nowrap&&(n.style.whiteSpace="nowrap"),p.protect&&s.on("BeforeSetContent",function(e){B(p.protect,function(t){e.content=e.content.replace(t,function(e){return"<!--mce:protected "+escape(e)+"-->"})})}),s.on("SetContent",function(){s.addVisual(s.getBody())}),p.padd_empty_editor&&s.on("PostProcess",function(e){e.content=e.content.replace(/^(<p[^>]*>(&nbsp;|&#160;|\s|\u00a0|<br \/>|)<\/p>[\r\n]*|<br \/>[\r\n]*)$/,"")}),s.load({initial:!0,format:"html"}),s.startContent=s.getContent({format:"raw"}),s.initialized=!0,s.bindPendingEventDelegates(),s.fire("init"),s.focus(!0),s.nodeChanged({initial:!0}),s.execCallback("init_instance_callback",s),s.on("compositionstart compositionend",function(e){s.composing="compositionstart"===e.type}),s.contentStyles.length>0&&(r="",B(s.contentStyles,function(e){r+=e+"\r\n"}),s.dom.addStyle(r)),B(s.contentCSS,function(e){s.loadedCSS[e]||(s.dom.loadCSS(e),s.loadedCSS[e]=!0)}),p.auto_focus&&E.setEditorTimeout(s,function(){var e;e=p.auto_focus===!0?s:s.editorManager.get(p.auto_focus),e.destroyed||e.focus()},100),h=m=n=null},focus:function(e){function t(e){return i.dom.getParent(e,function(e){return"true"===i.dom.getContentEditable(e)})}var n,r,o,i=this,a=i.selection,s=i.settings.content_editable,u=i.getDoc(),l=i.getBody();if(!e){if(n=a.getRng(),n.item&&(r=n.item(0)),i.quirks.refreshContentEditable(),o=t(a.getNode()),i.$.contains(l,o))return o.focus(),a.normalize(),void i.editorManager.setActive(i);if(s||(C.opera||i.getBody().focus(),i.getWin().focus()),W||s){if(l.setActive)try{l.setActive()}catch(e){l.focus()}else l.focus();s&&a.normalize()}r&&r.ownerDocument==u&&(n=u.body.createControlRange(),n.addElement(r),n.select())}i.editorManager.setActive(i)},execCallback:function(e){var t,n=this,r=n.settings[e];if(r)return n.callbackLookup&&(t=n.callbackLookup[e])&&(r=t.func,t=t.scope),"string"==typeof r&&(t=r.replace(/\.\w+$/,""),t=t?z(t):0,r=z(r),n.callbackLookup=n.callbackLookup||{},n.callbackLookup[e]={func:r,scope:t}),r.apply(t||n,Array.prototype.slice.call(arguments,1))},translate:function(e){var t=this.settings.language||"en",n=this.editorManager.i18n;return e?(e=n.data[t+"."+e]||e.replace(/\{\#([^\}]+)\}/g,function(e,r){return n.data[t+"."+r]||"{#"+r+"}"}),this.editorManager.translate(e)):""},getLang:function(e,t){return this.editorManager.i18n.data[(this.settings.language||"en")+"."+e]||(t!==r?t:"{#"+e+"}")},getParam:function(e,t,n){var r,o=e in this.settings?this.settings[e]:t;return"hash"===n?(r={},"string"==typeof o?B(o.indexOf("=")>0?o.split(/[;,](?![^=;,]*(?:[;,]|$))/):o.split(","),function(e){e=e.split("="),e.length>1?r[H(e[0])]=H(e[1]):r[H(e[0])]=H(e)}):r=o,r):o},nodeChanged:function(e){this._nodeChangeDispatcher.nodeChanged(e)},addButton:function(e,t){var n=this;t.cmd&&(t.onclick=function(){n.execCommand(t.cmd)}),t.text||t.icon||(t.icon=e),n.buttons=n.buttons||{},t.tooltip=t.tooltip||t.title,n.buttons[e]=t},addSidebar:function(e,t){return N.add(this,e,t)},addMenuItem:function(e,t){var n=this;t.cmd&&(t.onclick=function(){n.execCommand(t.cmd)}),n.menuItems=n.menuItems||{},n.menuItems[e]=t},addContextToolbar:function(e,t){var n,r=this;r.contextToolbars=r.contextToolbars||[],"string"==typeof e&&(n=e,e=function(e){return r.dom.is(e,n)}),r.contextToolbars.push({id:A.uuid("mcet"),predicate:e,items:t})},addCommand:function(e,t,n){this.editorCommands.addCommand(e,t,n)},addQueryStateHandler:function(e,t,n){this.editorCommands.addQueryStateHandler(e,t,n)},addQueryValueHandler:function(e,t,n){this.editorCommands.addQueryValueHandler(e,t,n)},addShortcut:function(e,t,n,r){this.shortcuts.add(e,t,n,r)},execCommand:function(e,t,n,r){return this.editorCommands.execCommand(e,t,n,r)},queryCommandState:function(e){return this.editorCommands.queryCommandState(e)},queryCommandValue:function(e){return this.editorCommands.queryCommandValue(e)},queryCommandSupported:function(e){return this.editorCommands.queryCommandSupported(e)},show:function(){var e=this;e.hidden&&(e.hidden=!1,e.inline?e.getBody().contentEditable=!0:(D.show(e.getContainer()),D.hide(e.id)),e.load(),e.fire("show"))},hide:function(){var e=this,t=e.getDoc();e.hidden||(V&&t&&!e.inline&&t.execCommand("SelectAll"),e.save(),e.inline?(e.getBody().contentEditable=!1,e==e.editorManager.focusedEditor&&(e.editorManager.focusedEditor=null)):(D.hide(e.getContainer()),D.setStyle(e.id,"display",e.orgDisplay)),e.hidden=!0,e.fire("hide"))},isHidden:function(){return!!this.hidden},setProgressState:function(e,t){this.fire("ProgressState",{state:e,time:t})},load:function(e){var t,n=this,o=n.getElement();if(o)return e=e||{},e.load=!0,t=n.setContent(o.value!==r?o.value:o.innerHTML,e),e.element=o,e.no_events||n.fire("LoadContent",e),e.element=o=null,t},save:function(e){var t,n,r=this,o=r.getElement();if(o&&r.initialized)return e=e||{},e.save=!0,e.element=o,t=e.content=r.getContent(e),e.no_events||r.fire("SaveContent",e),"raw"==e.format&&r.fire("RawSaveContent",e),t=e.content,/TEXTAREA|INPUT/i.test(o.nodeName)?o.value=t:(r.inline||(o.innerHTML=t),(n=D.getParent(r.id,"form"))&&B(n.elements,function(e){if(e.name==r.id)return e.value=t,!1})),e.element=o=null,e.set_dirty!==!1&&r.setDirty(!1),t},setContent:function(e,t){var n,r,o=this,i=o.getBody();return t=t||{},t.format=t.format||"html",t.set=!0,t.content=e,t.no_events||o.fire("BeforeSetContent",t),e=t.content,0===e.length||/^\s+$/.test(e)?(r=V&&V<11?"":'<br data-mce-bogus="1">',"TABLE"==i.nodeName?e="<tr><td>"+r+"</td></tr>":/^(UL|OL)$/.test(i.nodeName)&&(e="<li>"+r+"</li>"),n=o.settings.forced_root_block,n&&o.schema.isValidChild(i.nodeName.toLowerCase(),n.toLowerCase())?(e=r,e=o.dom.createHTML(n,o.settings.forced_root_block_attrs,e)):V||e||(e='<br data-mce-bogus="1">'),o.dom.setHTML(i,e),o.fire("SetContent",t)):("raw"!==t.format&&(e=new s({validate:o.validate},o.schema).serialize(o.parser.parse(e,{isRootContent:!0}))),t.content=H(e),o.dom.setHTML(i,t.content),t.no_events||o.fire("SetContent",t)),t.content},getContent:function(e){var t,n=this,r=n.getBody();return e=e||{},e.format=e.format||"html",e.get=!0,e.getInner=!0,e.no_events||n.fire("BeforeGetContent",e),t="raw"==e.format?x.trim(n.serializer.getTrimmedContent()):"text"==e.format?r.innerText||r.textContent:n.serializer.serialize(r,e),"text"!=e.format?e.content=H(t):e.content=t,e.no_events||n.fire("GetContent",e),e.content},insertContent:function(e,t){t&&(e=L({content:e},t)),this.execCommand("mceInsertContent",!1,e)},isDirty:function(){return!this.isNotDirty},setDirty:function(e){var t=!this.isNotDirty;this.isNotDirty=!e,e&&e!=t&&this.fire("dirty")},setMode:function(e){k.setMode(this,e)},getContainer:function(){var e=this;return e.container||(e.container=D.get(e.editorContainer||e.id+"_parent")),e.container},getContentAreaContainer:function(){return this.contentAreaContainer},getElement:function(){return this.targetElm||(this.targetElm=D.get(this.id)),this.targetElm},getWin:function(){var e,t=this;return t.contentWindow||(e=t.iframeElement,e&&(t.contentWindow=e.contentWindow)),t.contentWindow},getDoc:function(){var e,t=this;return t.contentDocument||(e=t.getWin(),e&&(t.contentDocument=e.document)),t.contentDocument},getBody:function(){var e=this.getDoc();return this.bodyElement||(e?e.body:null)},convertURL:function(e,t,n){var r=this,o=r.settings;return o.urlconverter_callback?r.execCallback("urlconverter_callback",e,n,!0,t):!o.convert_urls||n&&"LINK"==n.nodeName||0===e.indexOf("file:")||0===e.length?e:o.relative_urls?r.documentBaseURI.toRelative(e):e=r.documentBaseURI.toAbsolute(e,o.remove_script_host)},addVisual:function(e){var t,n=this,o=n.settings,i=n.dom;e=e||n.getBody(),n.hasVisual===r&&(n.hasVisual=o.visual),B(i.select("table,a",e),function(e){var r;switch(e.nodeName){case"TABLE":return t=o.visual_table_class||"mce-item-table",r=i.getAttrib(e,"border"),void(r&&"0"!=r||!n.hasVisual?i.removeClass(e,t):i.addClass(e,t));case"A":return void(i.getAttrib(e,"href",!1)||(r=i.getAttrib(e,"name")||e.id,t=o.visual_anchor_class||"mce-item-anchor",r&&n.hasVisual?i.addClass(e,t):i.removeClass(e,t)))}}),n.fire("VisualAid",{element:e,hasVisual:n.hasVisual})},remove:function(){var e=this;e.removed||(e.save(),e.removed=1,e.unbindAllNativeEvents(),e.hasHiddenInput&&D.remove(e.getElement().nextSibling),e.inline||(V&&V<10&&e.getDoc().execCommand("SelectAll",!1,null),D.setStyle(e.id,"display",e.orgDisplay),e.getBody().onload=null),e.fire("remove"),e.editorManager.remove(e),D.remove(e.getContainer()),e._selectionOverrides.destroy(),e.editorUpload.destroy(),e.destroy())},destroy:function(e){var t,n=this;if(!n.destroyed){if(!e&&!n.removed)return void n.remove();e||(n.editorManager.off("beforeunload",n._beforeUnload),n.theme&&n.theme.destroy&&n.theme.destroy(),n.selection.destroy(),n.dom.destroy()),t=n.formElement,t&&(t._mceOldSubmit&&(t.submit=t._mceOldSubmit,t._mceOldSubmit=null),D.unbind(t,"submit reset",n.formEventDelegate)),n.contentAreaContainer=n.formElement=n.container=n.editorContainer=null,n.bodyElement=n.contentDocument=n.contentWindow=null,n.iframeElement=n.targetElm=null,n.selection&&(n.selection=n.selection.win=n.selection.dom=n.selection.dom.doc=null),n.destroyed=1}},uploadImages:function(e){return this.editorUpload.uploadImages(e)},_scanForImages:function(){return this.editorUpload.scanForImages()}},L(P.prototype,T),P}),i("tinymce/util/I18n",["tinymce/util/Tools"],function(e){var t={},n="en";return{setCode:function(e){e&&(n=e,this.rtl=!!this.data[e]&&"rtl"===this.data[e]._dir)},getCode:function(){return n},rtl:!1,add:function(e,n){var r=t[e];r||(t[e]=r={});for(var o in n)r[o]=n[o];this.setCode(e)},translate:function(r){function o(t){return e.is(t,"function")?Object.prototype.toString.call(t):i(t)?"":""+t}function i(t){return""===t||null===t||e.is(t,"undefined")}function a(t){return t=o(t),e.hasOwn(s,t)?o(s[t]):t}var s=t[n]||{};if(i(r))return"";if(e.is(r,"object")&&e.hasOwn(r,"raw"))return o(r.raw);if(e.is(r,"array")){var u=r.slice(1);r=a(r[0]).replace(/\{([0-9]+)\}/g,function(t,n){return e.hasOwn(u,n)?o(u[n]):t})}return a(r).replace(/{context:\w+}$/,"")},data:t}}),i("tinymce/FocusManager",["tinymce/dom/DOMUtils","tinymce/util/Delay","tinymce/Env"],function(e,t,n){function r(e){function r(){try{return document.activeElement}catch(e){return document.body}}function l(e,t){if(t&&t.startContainer){if(!e.isChildOf(t.startContainer,e.getRoot())||!e.isChildOf(t.endContainer,e.getRoot()))return;return{startContainer:t.startContainer,startOffset:t.startOffset,endContainer:t.endContainer,endOffset:t.endOffset}}return t}function c(e,t){var n;return t.startContainer?(n=e.getDoc().createRange(),n.setStart(t.startContainer,t.startOffset),n.setEnd(t.endContainer,t.endOffset)):n=t,n}function d(d){var f=d.editor;f.on("init",function(){(f.inline||n.ie)&&("onbeforedeactivate"in document&&n.ie<9?f.dom.bind(f.getBody(),"beforedeactivate",function(e){if(e.target==f.getBody())try{f.lastRng=f.selection.getRng()}catch(e){}}):f.on("nodechange mouseup keyup",function(e){var t=r();"nodechange"==e.type&&e.selectionChange||(t&&t.id==f.id+"_ifr"&&(t=f.getBody()),f.dom.isChildOf(t,f.getBody())&&(f.lastRng=f.selection.getRng()))}),n.webkit&&!o&&(o=function(){var t=e.activeEditor;if(t&&t.selection){var n=t.selection.getRng();n&&!n.collapsed&&(f.lastRng=n)}},s.bind(document,"selectionchange",o)))}),f.on("setcontent",function(){f.lastRng=null}),f.on("mousedown",function(){f.selection.lastFocusBookmark=null}),f.on("focusin",function(){var t,n=e.focusedEditor;f.selection.lastFocusBookmark&&(t=c(f,f.selection.lastFocusBookmark),f.selection.lastFocusBookmark=null,f.selection.setRng(t)),n!=f&&(n&&n.fire("blur",{focusedEditor:f}),e.setActive(f),e.focusedEditor=f,f.fire("focus",{blurredEditor:n}),f.focus(!0)),f.lastRng=null}),f.on("focusout",function(){t.setEditorTimeout(f,function(){var t=e.focusedEditor;u(f,r())||t!=f||(f.fire("blur",{focusedEditor:null}),e.focusedEditor=null,f.selection&&(f.selection.lastFocusBookmark=null))})}),i||(i=function(t){var n,r=e.activeEditor;n=t.target,r&&n.ownerDocument==document&&(r.selection&&n!=r.getBody()&&(r.selection.lastFocusBookmark=l(r.dom,r.lastRng)),n==document.body||u(r,n)||e.focusedEditor!=r||(r.fire("blur",{focusedEditor:null}),e.focusedEditor=null))},s.bind(document,"focusin",i)),f.inline&&!a&&(a=function(t){var n=e.activeEditor,r=n.dom;if(n.inline&&r&&!r.isChildOf(t.target,n.getBody())){var o=n.selection.getRng();o.collapsed||(n.lastRng=o)}},s.bind(document,"mouseup",a))}function f(t){e.focusedEditor==t.editor&&(e.focusedEditor=null),e.activeEditor||(s.unbind(document,"selectionchange",o),s.unbind(document,"focusin",i),s.unbind(document,"mouseup",a),o=i=a=null)}e.on("AddEditor",d),e.on("RemoveEditor",f)}var o,i,a,s=e.DOM,u=function(e,t){var n=e?e.settings.custom_ui_selector:"",o=s.getParent(t,function(t){return r.isEditorUIElement(t)||!!n&&e.dom.is(t,n)});return null!==o};return r.isEditorUIElement=function(e){return e.className.toString().indexOf("mce-")!==-1},r._isUIElement=u,r}),i("tinymce/EditorManager",["tinymce/Editor","tinymce/dom/DomQuery","tinymce/dom/DOMUtils","tinymce/util/URI","tinymce/Env","tinymce/util/Tools","tinymce/util/Promise","tinymce/util/Observable","tinymce/util/I18n","tinymce/FocusManager","tinymce/AddOnManager"],function(e,t,n,r,o,i,a,s,u,l,c){function d(e){b(g.editors,function(t){"scroll"===e.type?t.fire("ScrollWindow",e):t.fire("ResizeWindow",e)})}function f(e,n){n!==C&&(n?t(window).on("resize scroll",d):t(window).off("resize scroll",d),C=n)}function p(e){var t,n=g.editors;delete n[e.id];for(var r=0;r<n.length;r++)if(n[r]==e){n.splice(r,1),t=!0;break}return g.activeEditor==e&&(g.activeEditor=n[0]),g.focusedEditor==e&&(g.focusedEditor=null),t}function h(e){return e&&e.initialized&&!(e.getContainer()||e.getBody()).parentNode&&(p(e),e.unbindAllNativeEvents(),e.destroy(!0),e.removed=!0,e=null),e}var m,g,v=n.DOM,y=i.explode,b=i.each,_=i.extend,w=0,C=!1;return g={$:t,majorVersion:"4",minorVersion:"5.7",releaseDate:"2017-04-25",editors:[],i18n:u,activeEditor:null,setup:function(){var e,t,n,o,i=this,a="";if(t=r.getDocumentBaseUrl(document.location),/^[^:]+:\/\/\/?[^\/]+\//.test(t)&&(t=t.replace(/[\?#].*$/,"").replace(/[\/\\][^\/]+$/,""),/[\/\\]$/.test(t)||(t+="/")),n=window.tinymce||window.tinyMCEPreInit)e=n.base||n.baseURL,a=n.suffix;else{for(var s=document.getElementsByTagName("script"),u=0;u<s.length;u++){o=s[u].src;var c=o.substring(o.lastIndexOf("/"));if(/tinymce(\.full|\.jquery|)(\.min|\.dev|)\.js/.test(o)){c.indexOf(".min")!=-1&&(a=".min"),e=o.substring(0,o.lastIndexOf("/"));break}}!e&&document.currentScript&&(o=document.currentScript.src,o.indexOf(".min")!=-1&&(a=".min"),e=o.substring(0,o.lastIndexOf("/")))}i.baseURL=new r(t).toAbsolute(e),i.documentBaseURL=t,i.baseURI=new r(i.baseURL),i.suffix=a,i.focusManager=new l(i)},overrideDefaults:function(e){var t,n;t=e.base_url,t&&(this.baseURL=new r(this.documentBaseURL).toAbsolute(t.replace(/\/+$/,"")),this.baseURI=new r(this.baseURL)),n=e.suffix,e.suffix&&(this.suffix=n),this.defaultSettings=e;var o=e.plugin_base_urls;for(var i in o)c.PluginManager.urls[i]=o[i]},init:function(n){function r(e,t){return e.inline&&t.tagName.toLowerCase()in p}function o(e,t){window.console&&!window.test&&window.console.log(e,t)}function s(e){var t=e.id;return t||(t=e.name,t=t&&!v.get(t)?e.name:v.uniqueId(),e.setAttribute("id",t)),t}function u(e){var t=n[e];if(t)return t.apply(m,Array.prototype.slice.call(arguments,2))}function l(e,t){return t.constructor===RegExp?t.test(e.className):v.hasClass(e,t)}function c(e){var t,n=[];if(e.types)return b(e.types,function(e){n=n.concat(v.select(e.selector))}),n;if(e.selector)return v.select(e.selector);if(e.target)return[e.target];switch(e.mode){case"exact":t=e.elements||"",t.length>0&&b(y(t),function(e){var t;(t=v.get(e))?n.push(t):b(document.forms,function(t){b(t.elements,function(t){t.name===e&&(e="mce_editor_"+w++,v.setAttrib(t,"id",e),n.push(t))})})});break;case"textareas":case"specific_textareas":b(v.select("textarea"),function(t){e.editor_deselector&&l(t,e.editor_deselector)||e.editor_selector&&!l(t,e.editor_selector)||n.push(t)})}return n}function d(){function a(t,n,r){var o=new e(t,n,m);p.push(o),o.on("init",function(){++f===l.length&&g(p)}),o.targetElm=o.targetElm||r,o.render()}var l,f=0,p=[];return v.unbind(window,"ready",d),u("onpageload"),l=t.unique(c(n)),n.types?void b(n.types,function(e){i.each(l,function(t){return!v.is(t,e.selector)||(a(s(t),_({},n,e),t),!1)})}):(i.each(l,function(e){h(m.get(e.id))}),l=i.grep(l,function(e){return!m.get(e.id)}),void b(l,function(e){r(n,e)?o("Could not initialize inline editor on invalid inline target element",e):a(s(e),n,e)}))}var f,p,m=this;p=i.makeMap("area base basefont br col frame hr img input isindex link meta param embed source wbr track colgroup option tbody tfoot thead tr script noscript style textarea video audio iframe object menu"," ");var g=function(e){f=e};return m.settings=n,v.bind(window,"ready",d),new a(function(e){f?e(f):g=function(t){e(t)}})},get:function(e){return arguments.length?e in this.editors?this.editors[e]:null:this.editors},add:function(e){var t=this,n=t.editors;return n[e.id]=e,n.push(e),f(n,!0),t.activeEditor=e,t.fire("AddEditor",{editor:e}),m||(m=function(){t.fire("BeforeUnload")},v.bind(window,"beforeunload",m)),e},createEditor:function(t,n){return this.add(new e(t,n,this))},remove:function(e){var t,n,r=this,o=r.editors;{if(e)return"string"==typeof e?(e=e.selector||e,void b(v.select(e),function(e){n=o[e.id],n&&r.remove(n)})):(n=e,o[n.id]?(p(n)&&r.fire("RemoveEditor",{editor:n}),o.length||v.unbind(window,"beforeunload",m),n.remove(),f(o,o.length>0),n):null);for(t=o.length-1;t>=0;t--)r.remove(o[t])}},execCommand:function(t,n,r){var o=this,i=o.get(r);switch(t){case"mceAddEditor":return o.get(r)||new e(r,o.settings,o).render(),!0;case"mceRemoveEditor":return i&&i.remove(),!0;case"mceToggleEditor":return i?(i.isHidden()?i.show():i.hide(),!0):(o.execCommand("mceAddEditor",0,r),!0)}return!!o.activeEditor&&o.activeEditor.execCommand(t,n,r)},triggerSave:function(){b(this.editors,function(e){e.save()})},addI18n:function(e,t){u.add(e,t)},translate:function(e){return u.translate(e)},setActive:function(e){var t=this.activeEditor;this.activeEditor!=e&&(t&&t.fire("deactivate",{relatedTarget:e}),e.fire("activate",{relatedTarget:t})),this.activeEditor=e}},_(g,s),g.setup(),window.tinymce=window.tinyMCE=g,g}),i("tinymce/LegacyInput",["tinymce/EditorManager","tinymce/util/Tools"],function(e,t){var n=t.each,r=t.explode;e.on("AddEditor",function(e){var t=e.editor;t.on("preInit",function(){function e(e,t){n(t,function(t,n){t&&s.setStyle(e,n,t)}),s.rename(e,"span")}function o(e){s=t.dom,u.convert_fonts_to_spans&&n(s.select("font,u,strike",e.node),function(e){i[e.nodeName.toLowerCase()](s,e)})}var i,a,s,u=t.settings;u.inline_styles&&(a=r(u.font_size_legacy_values),i={font:function(t,n){e(n,{backgroundColor:n.style.backgroundColor,color:n.color,fontFamily:n.face,fontSize:a[parseInt(n.size,10)-1]})},u:function(n,r){"html4"===t.settings.schema&&e(r,{textDecoration:"underline"})},strike:function(t,n){e(n,{textDecoration:"line-through"})}},t.on("PreProcess SetContent",o))})})}),i("tinymce/util/XHR",["tinymce/util/Observable","tinymce/util/Tools"],function(e,t){var n={send:function(e){function r(){!e.async||4==o.readyState||i++>1e4?(e.success&&i<1e4&&200==o.status?e.success.call(e.success_scope,""+o.responseText,o,e):e.error&&e.error.call(e.error_scope,i>1e4?"TIMED_OUT":"GENERAL",o,e),o=null):setTimeout(r,10)}var o,i=0;if(e.scope=e.scope||this,e.success_scope=e.success_scope||e.scope,e.error_scope=e.error_scope||e.scope,e.async=e.async!==!1,e.data=e.data||"",n.fire("beforeInitialize",{settings:e}),o=new XMLHttpRequest){if(o.overrideMimeType&&o.overrideMimeType(e.content_type),o.open(e.type||(e.data?"POST":"GET"),e.url,e.async),e.crossDomain&&(o.withCredentials=!0),e.content_type&&o.setRequestHeader("Content-Type",e.content_type),e.requestheaders&&t.each(e.requestheaders,function(e){o.setRequestHeader(e.key,e.value)}),o.setRequestHeader("X-Requested-With","XMLHttpRequest"),o=n.fire("beforeSend",{xhr:o,settings:e}).xhr,o.send(e.data),!e.async)return r();setTimeout(r,10)}}};return t.extend(n,e),n}),i("tinymce/util/JSON",[],function(){function e(t,n){var r,o,i,a;if(n=n||'"',null===t)return"null";if(i=typeof t,"string"==i)return o="\bb\tt\nn\ff\rr\"\"''\\\\",n+t.replace(/([\u0080-\uFFFF\x00-\x1f\"\'\\])/g,function(e,t){return'"'===n&&"'"===e?e:(r=o.indexOf(t),r+1?"\\"+o.charAt(r+1):(e=t.charCodeAt().toString(16),"\\u"+"0000".substring(e.length)+e))})+n;if("object"==i){if(t.hasOwnProperty&&"[object Array]"===Object.prototype.toString.call(t)){for(r=0,o="[";r<t.length;r++)o+=(r>0?",":"")+e(t[r],n);return o+"]"}o="{";for(a in t)t.hasOwnProperty(a)&&(o+="function"!=typeof t[a]?(o.length>1?","+n:n)+a+n+":"+e(t[a],n):"");return o+"}"}return""+t}return{serialize:e,parse:function(e){try{return window[String.fromCharCode(101)+"val"]("("+e+")")}catch(e){}}}}),i("tinymce/util/JSONRequest",["tinymce/util/JSON","tinymce/util/XHR","tinymce/util/Tools"],function(e,t,n){function r(e){this.settings=o({},e),this.count=0}var o=n.extend;return r.sendRPC=function(e){return(new r).send(e)},r.prototype={send:function(n){var r=n.error,i=n.success;n=o(this.settings,n),n.success=function(t,o){t=e.parse(t),"undefined"==typeof t&&(t={error:"JSON Parse error."}),t.error?r.call(n.error_scope||n.scope,t.error,o):i.call(n.success_scope||n.scope,t.result)},n.error=function(e,t){r&&r.call(n.error_scope||n.scope,e,t)},n.data=e.serialize({id:n.id||"c"+this.count++,method:n.method,params:n.params}),n.content_type="application/json",t.send(n)}},r}),i("tinymce/util/JSONP",["tinymce/dom/DOMUtils"],function(e){return{callbacks:{},count:0,send:function(t){var n=this,o=e.DOM,i=t.count!==r?t.count:n.count,a="tinymce_jsonp_"+i;n.callbacks[i]=function(e){o.remove(a),delete n.callbacks[i],t.callback(e)},o.add(o.doc.body,"script",{id:a,src:t.url,type:"text/javascript"}),n.count++}}}),i("tinymce/util/LocalStorage",[],function(){function e(){s=[];for(var e in a)s.push(e);o.length=s.length}function t(){function t(e){var t,n;return n=e!==r?c+e:o.indexOf(",",c),n===-1||n>o.length?null:(t=o.substring(c,n),c=n+1,t)}var n,o,s,c=0;if(a={},l){i.load(u),o=i.getAttribute(u)||"";do{var d=t();if(null===d)break;if(n=t(parseInt(d,32)||0),null!==n){if(d=t(),null===d)break;s=t(parseInt(d,32)||0),n&&(a[n]=s)}}while(null!==n);e()}}function n(){var t,n="";if(l){for(var r in a)t=a[r],n+=(n?",":"")+r.length.toString(32)+","+r+","+t.length.toString(32)+","+t;i.setAttribute(u,n);try{i.save(u)}catch(e){}e()}}var o,i,a,s,u,l;try{if(window.localStorage)return localStorage}catch(e){}return u="tinymce",i=document.documentElement,l=!!i.addBehavior,l&&i.addBehavior("#default#userData"),o={key:function(e){return s[e]},getItem:function(e){return e in a?a[e]:null},setItem:function(e,t){a[e]=""+t,n()},removeItem:function(e){delete a[e],n()},clear:function(){a={},n()}},t(),o}),i("tinymce/Compat",["tinymce/dom/DOMUtils","tinymce/dom/EventUtils","tinymce/dom/ScriptLoader","tinymce/AddOnManager","tinymce/util/Tools","tinymce/Env"],function(e,t,n,r,o,i){var a=window.tinymce;return a.DOM=e.DOM,a.ScriptLoader=n.ScriptLoader,a.PluginManager=r.PluginManager,a.ThemeManager=r.ThemeManager,a.dom=a.dom||{},a.dom.Event=t.Event,o.each("trim isArray is toArray makeMap each map grep inArray extend create walk createNS resolve explode _addCacheSuffix".split(" "),function(e){a[e]=o[e]}),o.each("isOpera isWebKit isIE isGecko isMac".split(" "),function(e){a[e]=i[e.substr(2).toLowerCase()]}),{}}),i("tinymce/ui/Layout",["tinymce/util/Class","tinymce/util/Tools"],function(e,t){return e.extend({Defaults:{firstControlClass:"first",lastControlClass:"last"},init:function(e){this.settings=t.extend({},this.Defaults,e)},preRender:function(e){e.bodyClasses.add(this.settings.containerClass)},applyClasses:function(e){var t,n,r,o,i=this,a=i.settings;
+t=a.firstControlClass,n=a.lastControlClass,e.each(function(e){e.classes.remove(t).remove(n).add(a.controlClass),e.visible()&&(r||(r=e),o=e)}),r&&r.classes.add(t),o&&o.classes.add(n)},renderHtml:function(e){var t=this,n="";return t.applyClasses(e.items()),e.items().each(function(e){n+=e.renderHtml()}),n},recalc:function(){},postRender:function(){},isNative:function(){return!1}})}),i("tinymce/ui/AbsoluteLayout",["tinymce/ui/Layout"],function(e){return e.extend({Defaults:{containerClass:"abs-layout",controlClass:"abs-layout-item"},recalc:function(e){e.items().filter(":visible").each(function(e){var t=e.settings;e.layoutRect({x:t.x,y:t.y,w:t.w,h:t.h}),e.recalc&&e.recalc()})},renderHtml:function(e){return'<div id="'+e._id+'-absend" class="'+e.classPrefix+'abs-end"></div>'+this._super(e)}})}),i("tinymce/ui/Button",["tinymce/ui/Widget"],function(e){return e.extend({Defaults:{classes:"widget btn",role:"button"},init:function(e){var t,n=this;n._super(e),e=n.settings,t=n.settings.size,n.on("click mousedown",function(e){e.preventDefault()}),n.on("touchstart",function(e){n.fire("click",e),e.preventDefault()}),e.subtype&&n.classes.add(e.subtype),t&&n.classes.add("btn-"+t),e.icon&&n.icon(e.icon)},icon:function(e){return arguments.length?(this.state.set("icon",e),this):this.state.get("icon")},repaint:function(){var e,t=this.getEl().firstChild;t&&(e=t.style,e.width=e.height="100%"),this._super()},renderHtml:function(){var e,t=this,n=t._id,r=t.classPrefix,o=t.state.get("icon"),i=t.state.get("text"),a="";return e=t.settings.image,e?(o="none","string"!=typeof e&&(e=window.getSelection?e[0]:e[1]),e=" style=\"background-image: url('"+e+"')\""):e="",i&&(t.classes.add("btn-has-text"),a='<span class="'+r+'txt">'+t.encode(i)+"</span>"),o=o?r+"ico "+r+"i-"+o:"",'<div id="'+n+'" class="'+t.classes+'" tabindex="-1" aria-labelledby="'+n+'"><button role="presentation" type="button" tabindex="-1">'+(o?'<i class="'+o+'"'+e+"></i>":"")+a+"</button></div>"},bindStates:function(){function e(e){var o=n("span."+r,t.getEl());e?(o[0]||(n("button:first",t.getEl()).append('<span class="'+r+'"></span>'),o=n("span."+r,t.getEl())),o.html(t.encode(e))):o.remove(),t.classes.toggle("btn-has-text",!!e)}var t=this,n=t.$,r=t.classPrefix+"txt";return t.state.on("change:text",function(t){e(t.value)}),t.state.on("change:icon",function(n){var r=n.value,o=t.classPrefix;t.settings.icon=r,r=r?o+"ico "+o+"i-"+t.settings.icon:"";var i=t.getEl().firstChild,a=i.getElementsByTagName("i")[0];r?(a&&a==i.firstChild||(a=document.createElement("i"),i.insertBefore(a,i.firstChild)),a.className=r):a&&i.removeChild(a),e(t.state.get("text"))}),t._super()}})}),i("tinymce/ui/ButtonGroup",["tinymce/ui/Container"],function(e){return e.extend({Defaults:{defaultType:"button",role:"group"},renderHtml:function(){var e=this,t=e._layout;return e.classes.add("btn-group"),e.preRender(),t.preRender(e),'<div id="'+e._id+'" class="'+e.classes+'"><div id="'+e._id+'-body">'+(e.settings.html||"")+t.renderHtml(e)+"</div></div>"}})}),i("tinymce/ui/Checkbox",["tinymce/ui/Widget"],function(e){return e.extend({Defaults:{classes:"checkbox",role:"checkbox",checked:!1},init:function(e){var t=this;t._super(e),t.on("click mousedown",function(e){e.preventDefault()}),t.on("click",function(e){e.preventDefault(),t.disabled()||t.checked(!t.checked())}),t.checked(t.settings.checked)},checked:function(e){return arguments.length?(this.state.set("checked",e),this):this.state.get("checked")},value:function(e){return arguments.length?this.checked(e):this.checked()},renderHtml:function(){var e=this,t=e._id,n=e.classPrefix;return'<div id="'+t+'" class="'+e.classes+'" unselectable="on" aria-labelledby="'+t+'-al" tabindex="-1"><i class="'+n+"ico "+n+'i-checkbox"></i><span id="'+t+'-al" class="'+n+'label">'+e.encode(e.state.get("text"))+"</span></div>"},bindStates:function(){function e(e){t.classes.toggle("checked",e),t.aria("checked",e)}var t=this;return t.state.on("change:text",function(e){t.getEl("al").firstChild.data=t.translate(e.value)}),t.state.on("change:checked change:value",function(n){t.fire("change"),e(n.value)}),t.state.on("change:icon",function(e){var n=e.value,r=t.classPrefix;if("undefined"==typeof n)return t.settings.icon;t.settings.icon=n,n=n?r+"ico "+r+"i-"+t.settings.icon:"";var o=t.getEl().firstChild,i=o.getElementsByTagName("i")[0];n?(i&&i==o.firstChild||(i=document.createElement("i"),o.insertBefore(i,o.firstChild)),i.className=n):i&&o.removeChild(i)}),t.state.get("checked")&&e(!0),t._super()}})}),i("tinymce/ui/ComboBox",["tinymce/ui/Widget","tinymce/ui/Factory","tinymce/ui/DomUtils","tinymce/dom/DomQuery","tinymce/util/VK","tinymce/util/Tools"],function(e,t,n,r,o,i){return e.extend({init:function(e){var t=this;t._super(e),e=t.settings,t.classes.add("combobox"),t.subinput=!0,t.ariaTarget="inp",e.menu=e.menu||e.values,e.menu&&(e.icon="caret"),t.on("click",function(n){var o=n.target,i=t.getEl();if(r.contains(i,o)||o==i)for(;o&&o!=i;)o.id&&o.id.indexOf("-open")!=-1&&(t.fire("action"),e.menu&&(t.showMenu(),n.aria&&t.menu.items()[0].focus())),o=o.parentNode}),t.on("keydown",function(e){var n;13==e.keyCode&&"INPUT"===e.target.nodeName&&(e.preventDefault(),t.parents().reverse().each(function(e){if(e.toJSON)return n=e,!1}),t.fire("submit",{data:n.toJSON()}))}),t.on("keyup",function(e){if("INPUT"==e.target.nodeName){var n=t.state.get("value"),r=e.target.value;r!==n&&(t.state.set("value",r),t.fire("autocomplete",e))}}),t.on("mouseover",function(e){var n=t.tooltip().moveTo(-65535);if(t.statusLevel()&&e.target.className.indexOf(t.classPrefix+"status")!==-1){var r=t.statusMessage()||"Ok",o=n.text(r).show().testMoveRel(e.target,["bc-tc","bc-tl","bc-tr"]);n.classes.toggle("tooltip-n","bc-tc"==o),n.classes.toggle("tooltip-nw","bc-tl"==o),n.classes.toggle("tooltip-ne","bc-tr"==o),n.moveRel(e.target,o)}})},statusLevel:function(e){return arguments.length>0&&this.state.set("statusLevel",e),this.state.get("statusLevel")},statusMessage:function(e){return arguments.length>0&&this.state.set("statusMessage",e),this.state.get("statusMessage")},showMenu:function(){var e,n=this,r=n.settings;n.menu||(e=r.menu||[],e.length?e={type:"menu",items:e}:e.type=e.type||"menu",n.menu=t.create(e).parent(n).renderTo(n.getContainerElm()),n.fire("createmenu"),n.menu.reflow(),n.menu.on("cancel",function(e){e.control===n.menu&&n.focus()}),n.menu.on("show hide",function(e){e.control.items().each(function(e){e.active(e.value()==n.value())})}).fire("show"),n.menu.on("select",function(e){n.value(e.control.value())}),n.on("focusin",function(e){"INPUT"==e.target.tagName.toUpperCase()&&n.menu.hide()}),n.aria("expanded",!0)),n.menu.show(),n.menu.layoutRect({w:n.layoutRect().w}),n.menu.moveRel(n.getEl(),n.isRtl()?["br-tr","tr-br"]:["bl-tl","tl-bl"])},focus:function(){this.getEl("inp").focus()},repaint:function(){var e,t,o=this,i=o.getEl(),a=o.getEl("open"),s=o.layoutRect(),u=0,l=i.firstChild;o.statusLevel()&&"none"!==o.statusLevel()&&(u=parseInt(n.getRuntimeStyle(l,"padding-right"),10)-parseInt(n.getRuntimeStyle(l,"padding-left"),10)),e=a?s.w-n.getSize(a).width-10:s.w-10;var c=document;return c.all&&(!c.documentMode||c.documentMode<=8)&&(t=o.layoutRect().h-2+"px"),r(l).css({width:e-u,lineHeight:t}),o._super(),o},postRender:function(){var e=this;return r(this.getEl("inp")).on("change",function(t){e.state.set("value",t.target.value),e.fire("change",t)}),e._super()},renderHtml:function(){var e,t,n=this,r=n._id,o=n.settings,i=n.classPrefix,a=n.state.get("value")||"",s="",u="",l="";return"spellcheck"in o&&(u+=' spellcheck="'+o.spellcheck+'"'),o.maxLength&&(u+=' maxlength="'+o.maxLength+'"'),o.size&&(u+=' size="'+o.size+'"'),o.subtype&&(u+=' type="'+o.subtype+'"'),l='<i id="'+r+'-status" class="mce-status mce-ico" style="display: none"></i>',n.disabled()&&(u+=' disabled="disabled"'),e=o.icon,e&&"caret"!=e&&(e=i+"ico "+i+"i-"+o.icon),t=n.state.get("text"),(e||t)&&(s='<div id="'+r+'-open" class="'+i+"btn "+i+'open" tabIndex="-1" role="button"><button id="'+r+'-action" type="button" hidefocus="1" tabindex="-1">'+("caret"!=e?'<i class="'+e+'"></i>':'<i class="'+i+'caret"></i>')+(t?(e?" ":"")+t:"")+"</button></div>",n.classes.add("has-open")),'<div id="'+r+'" class="'+n.classes+'"><input id="'+r+'-inp" class="'+i+'textbox" value="'+n.encode(a,!1)+'" hidefocus="1"'+u+' placeholder="'+n.encode(o.placeholder)+'" />'+l+s+"</div>"},value:function(e){return arguments.length?(this.state.set("value",e),this):(this.state.get("rendered")&&this.state.set("value",this.getEl("inp").value),this.state.get("value"))},showAutoComplete:function(e,n){var r=this;if(0===e.length)return void r.hideMenu();var o=function(e,t){return function(){r.fire("selectitem",{title:t,value:e})}};r.menu?r.menu.items().remove():r.menu=t.create({type:"menu",classes:"combobox-menu",layout:"flow"}).parent(r).renderTo(),i.each(e,function(e){r.menu.add({text:e.title,url:e.previewUrl,match:n,classes:"menu-item-ellipsis",onclick:o(e.value,e.title)})}),r.menu.renderNew(),r.hideMenu(),r.menu.on("cancel",function(e){e.control.parent()===r.menu&&(e.stopPropagation(),r.focus(),r.hideMenu())}),r.menu.on("select",function(){r.focus()});var a=r.layoutRect().w;r.menu.layoutRect({w:a,minW:0,maxW:a}),r.menu.reflow(),r.menu.show(),r.menu.moveRel(r.getEl(),r.isRtl()?["br-tr","tr-br"]:["bl-tl","tl-bl"])},hideMenu:function(){this.menu&&this.menu.hide()},bindStates:function(){var e=this;e.state.on("change:value",function(t){e.getEl("inp").value!=t.value&&(e.getEl("inp").value=t.value)}),e.state.on("change:disabled",function(t){e.getEl("inp").disabled=t.value}),e.state.on("change:statusLevel",function(t){var r=e.getEl("status"),o=e.classPrefix,i=t.value;n.css(r,"display","none"===i?"none":""),n.toggleClass(r,o+"i-checkmark","ok"===i),n.toggleClass(r,o+"i-warning","warn"===i),n.toggleClass(r,o+"i-error","error"===i),e.classes.toggle("has-status","none"!==i),e.repaint()}),n.on(e.getEl("status"),"mouseleave",function(){e.tooltip().hide()}),e.on("cancel",function(t){e.menu&&e.menu.visible()&&(t.stopPropagation(),e.hideMenu())});var t=function(e,t){t&&t.items().length>0&&t.items().eq(e)[0].focus()};return e.on("keydown",function(n){var r=n.keyCode;"INPUT"===n.target.nodeName&&(r===o.DOWN?(n.preventDefault(),e.fire("autocomplete"),t(0,e.menu)):r===o.UP&&(n.preventDefault(),t(-1,e.menu)))}),e._super()},remove:function(){r(this.getEl("inp")).off(),this.menu&&this.menu.remove(),this._super()}})}),i("tinymce/ui/ColorBox",["tinymce/ui/ComboBox"],function(e){return e.extend({init:function(e){var t=this;e.spellcheck=!1,e.onaction&&(e.icon="none"),t._super(e),t.classes.add("colorbox"),t.on("change keyup postrender",function(){t.repaintColor(t.value())})},repaintColor:function(e){var t=this.getEl("open"),n=t?t.getElementsByTagName("i")[0]:null;if(n)try{n.style.background=e}catch(e){}},bindStates:function(){var e=this;return e.state.on("change:value",function(t){e.state.get("rendered")&&e.repaintColor(t.value)}),e._super()}})}),i("tinymce/ui/PanelButton",["tinymce/ui/Button","tinymce/ui/FloatPanel"],function(e,t){return e.extend({showPanel:function(){var e=this,n=e.settings;if(e.active(!0),e.panel)e.panel.show();else{var r=n.panel;r.type&&(r={layout:"grid",items:r}),r.role=r.role||"dialog",r.popover=!0,r.autohide=!0,r.ariaRoot=!0,e.panel=new t(r).on("hide",function(){e.active(!1)}).on("cancel",function(t){t.stopPropagation(),e.focus(),e.hidePanel()}).parent(e).renderTo(e.getContainerElm()),e.panel.fire("show"),e.panel.reflow()}e.panel.moveRel(e.getEl(),n.popoverAlign||(e.isRtl()?["bc-tr","bc-tc"]:["bc-tl","bc-tc"]))},hidePanel:function(){var e=this;e.panel&&e.panel.hide()},postRender:function(){var e=this;return e.aria("haspopup",!0),e.on("click",function(t){t.control===e&&(e.panel&&e.panel.visible()?e.hidePanel():(e.showPanel(),e.panel.focus(!!t.aria)))}),e._super()},remove:function(){return this.panel&&(this.panel.remove(),this.panel=null),this._super()}})}),i("tinymce/ui/ColorButton",["tinymce/ui/PanelButton","tinymce/dom/DOMUtils"],function(e,t){var n=t.DOM;return e.extend({init:function(e){this._super(e),this.classes.add("colorbutton")},color:function(e){return e?(this._color=e,this.getEl("preview").style.backgroundColor=e,this):this._color},resetColor:function(){return this._color=null,this.getEl("preview").style.backgroundColor=null,this},renderHtml:function(){var e=this,t=e._id,n=e.classPrefix,r=e.state.get("text"),o=e.settings.icon?n+"ico "+n+"i-"+e.settings.icon:"",i=e.settings.image?" style=\"background-image: url('"+e.settings.image+"')\"":"",a="";return r&&(e.classes.add("btn-has-text"),a='<span class="'+n+'txt">'+e.encode(r)+"</span>"),'<div id="'+t+'" class="'+e.classes+'" role="button" tabindex="-1" aria-haspopup="true"><button role="presentation" hidefocus="1" type="button" tabindex="-1">'+(o?'<i class="'+o+'"'+i+"></i>":"")+'<span id="'+t+'-preview" class="'+n+'preview"></span>'+a+'</button><button type="button" class="'+n+'open" hidefocus="1" tabindex="-1"> <i class="'+n+'caret"></i></button></div>'},postRender:function(){var e=this,t=e.settings.onclick;return e.on("click",function(r){r.aria&&"down"==r.aria.key||r.control!=e||n.getParent(r.target,"."+e.classPrefix+"open")||(r.stopImmediatePropagation(),t.call(e,r))}),delete e.settings.onclick,e._super()}})}),i("tinymce/util/Color",[],function(){function e(e){function o(e,o,i){var a,s,u,l,c,d;return a=0,s=0,u=0,e/=255,o/=255,i/=255,c=t(e,t(o,i)),d=n(e,n(o,i)),c==d?(u=c,{h:0,s:0,v:100*u}):(l=e==c?o-i:i==c?e-o:i-e,a=e==c?3:i==c?1:5,a=60*(a-l/(d-c)),s=(d-c)/d,u=d,{h:r(a),s:r(100*s),v:r(100*u)})}function i(e,o,i){var a,s,u,l;if(e=(parseInt(e,10)||0)%360,o=parseInt(o,10)/100,i=parseInt(i,10)/100,o=n(0,t(o,1)),i=n(0,t(i,1)),0===o)return void(d=f=p=r(255*i));switch(a=e/60,s=i*o,u=s*(1-Math.abs(a%2-1)),l=i-s,Math.floor(a)){case 0:d=s,f=u,p=0;break;case 1:d=u,f=s,p=0;break;case 2:d=0,f=s,p=u;break;case 3:d=0,f=u,p=s;break;case 4:d=u,f=0,p=s;break;case 5:d=s,f=0,p=u;break;default:d=f=p=0}d=r(255*(d+l)),f=r(255*(f+l)),p=r(255*(p+l))}function a(){function e(e){return e=parseInt(e,10).toString(16),e.length>1?e:"0"+e}return"#"+e(d)+e(f)+e(p)}function s(){return{r:d,g:f,b:p}}function u(){return o(d,f,p)}function l(e){var t;return"object"==typeof e?"r"in e?(d=e.r,f=e.g,p=e.b):"v"in e&&i(e.h,e.s,e.v):(t=/rgb\s*\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)[^\)]*\)/gi.exec(e))?(d=parseInt(t[1],10),f=parseInt(t[2],10),p=parseInt(t[3],10)):(t=/#([0-F]{2})([0-F]{2})([0-F]{2})/gi.exec(e))?(d=parseInt(t[1],16),f=parseInt(t[2],16),p=parseInt(t[3],16)):(t=/#([0-F])([0-F])([0-F])/gi.exec(e))&&(d=parseInt(t[1]+t[1],16),f=parseInt(t[2]+t[2],16),p=parseInt(t[3]+t[3],16)),d=d<0?0:d>255?255:d,f=f<0?0:f>255?255:f,p=p<0?0:p>255?255:p,c}var c=this,d=0,f=0,p=0;e&&l(e),c.toRgb=s,c.toHsv=u,c.toHex=a,c.parse=l}var t=Math.min,n=Math.max,r=Math.round;return e}),i("tinymce/ui/ColorPicker",["tinymce/ui/Widget","tinymce/ui/DragHelper","tinymce/ui/DomUtils","tinymce/util/Color"],function(e,t,n,r){return e.extend({Defaults:{classes:"widget colorpicker"},init:function(e){this._super(e)},postRender:function(){function e(e,t){var r,o,i=n.getPos(e);return r=t.pageX-i.x,o=t.pageY-i.y,r=Math.max(0,Math.min(r/e.clientWidth,1)),o=Math.max(0,Math.min(o/e.clientHeight,1)),{x:r,y:o}}function o(e,t){var o=(360-e.h)/360;n.css(l,{top:100*o+"%"}),t||n.css(d,{left:e.s+"%",top:100-e.v+"%"}),c.style.background=new r({s:100,v:100,h:e.h}).toHex(),f.color().parse({s:e.s,v:e.v,h:e.h})}function i(t){var n;n=e(c,t),s.s=100*n.x,s.v=100*(1-n.y),o(s),f.fire("change")}function a(t){var n;n=e(u,t),s=p.toHsv(),s.h=360*(1-n.y),o(s,!0),f.fire("change")}var s,u,l,c,d,f=this,p=f.color();u=f.getEl("h"),l=f.getEl("hp"),c=f.getEl("sv"),d=f.getEl("svp"),f._repaint=function(){s=p.toHsv(),o(s)},f._super(),f._svdraghelper=new t(f._id+"-sv",{start:i,drag:i}),f._hdraghelper=new t(f._id+"-h",{start:a,drag:a}),f._repaint()},rgb:function(){return this.color().toRgb()},value:function(e){var t=this;return arguments.length?(t.color().parse(e),void(t._rendered&&t._repaint())):t.color().toHex()},color:function(){return this._color||(this._color=new r),this._color},renderHtml:function(){function e(){var e,t,n,r,a="";for(n="filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=",r=i.split(","),e=0,t=r.length-1;e<t;e++)a+='<div class="'+o+'colorpicker-h-chunk" style="height:'+100/t+"%;"+n+r[e]+",endColorstr="+r[e+1]+");-ms-"+n+r[e]+",endColorstr="+r[e+1]+')"></div>';return a}var t,n=this,r=n._id,o=n.classPrefix,i="#ff0000,#ff0080,#ff00ff,#8000ff,#0000ff,#0080ff,#00ffff,#00ff80,#00ff00,#80ff00,#ffff00,#ff8000,#ff0000",a="background: -ms-linear-gradient(top,"+i+");background: linear-gradient(to bottom,"+i+");";return t='<div id="'+r+'-h" class="'+o+'colorpicker-h" style="'+a+'">'+e()+'<div id="'+r+'-hp" class="'+o+'colorpicker-h-marker"></div></div>','<div id="'+r+'" class="'+n.classes+'"><div id="'+r+'-sv" class="'+o+'colorpicker-sv"><div class="'+o+'colorpicker-overlay1"><div class="'+o+'colorpicker-overlay2"><div id="'+r+'-svp" class="'+o+'colorpicker-selector1"><div class="'+o+'colorpicker-selector2"></div></div></div></div></div>'+t+"</div>"}})}),i("tinymce/ui/Path",["tinymce/ui/Widget"],function(e){return e.extend({init:function(e){var t=this;e.delimiter||(e.delimiter="»"),t._super(e),t.classes.add("path"),t.canFocus=!0,t.on("click",function(e){var n,r=e.target;(n=r.getAttribute("data-index"))&&t.fire("select",{value:t.row()[n],index:n})}),t.row(t.settings.row)},focus:function(){var e=this;return e.getEl().firstChild.focus(),e},row:function(e){return arguments.length?(this.state.set("row",e),this):this.state.get("row")},renderHtml:function(){var e=this;return'<div id="'+e._id+'" class="'+e.classes+'">'+e._getDataPathHtml(e.state.get("row"))+"</div>"},bindStates:function(){var e=this;return e.state.on("change:row",function(t){e.innerHtml(e._getDataPathHtml(t.value))}),e._super()},_getDataPathHtml:function(e){var t,n,r=this,o=e||[],i="",a=r.classPrefix;for(t=0,n=o.length;t<n;t++)i+=(t>0?'<div class="'+a+'divider" aria-hidden="true"> '+r.settings.delimiter+" </div>":"")+'<div role="button" class="'+a+"path-item"+(t==n-1?" "+a+"last":"")+'" data-index="'+t+'" tabindex="-1" id="'+r._id+"-"+t+'" aria-level="'+(t+1)+'">'+o[t].name+"</div>";return i||(i='<div class="'+a+'path-item"> </div>'),i}})}),i("tinymce/ui/ElementPath",["tinymce/ui/Path"],function(e){return e.extend({postRender:function(){function e(e){if(1===e.nodeType){if("BR"==e.nodeName||e.getAttribute("data-mce-bogus"))return!0;if("bookmark"===e.getAttribute("data-mce-type"))return!0}return!1}var t=this,n=t.settings.editor;return n.settings.elementpath!==!1&&(t.on("select",function(e){n.focus(),n.selection.select(this.row()[e.index].element),n.nodeChanged()}),n.on("nodeChange",function(r){for(var o=[],i=r.parents,a=i.length;a--;)if(1==i[a].nodeType&&!e(i[a])){var s=n.fire("ResolveName",{name:i[a].nodeName.toLowerCase(),target:i[a]});if(s.isDefaultPrevented()||o.push({name:s.name,element:i[a]}),s.isPropagationStopped())break}t.row(o)})),t._super()}})}),i("tinymce/ui/FormItem",["tinymce/ui/Container"],function(e){return e.extend({Defaults:{layout:"flex",align:"center",defaults:{flex:1}},renderHtml:function(){var e=this,t=e._layout,n=e.classPrefix;return e.classes.add("formitem"),t.preRender(e),'<div id="'+e._id+'" class="'+e.classes+'" hidefocus="1" tabindex="-1">'+(e.settings.title?'<div id="'+e._id+'-title" class="'+n+'title">'+e.settings.title+"</div>":"")+'<div id="'+e._id+'-body" class="'+e.bodyClasses+'">'+(e.settings.html||"")+t.renderHtml(e)+"</div></div>"}})}),i("tinymce/ui/Form",["tinymce/ui/Container","tinymce/ui/FormItem","tinymce/util/Tools"],function(e,t,n){return e.extend({Defaults:{containerCls:"form",layout:"flex",direction:"column",align:"stretch",flex:1,padding:20,labelGap:30,spacing:10,callbacks:{submit:function(){this.submit()}}},preRender:function(){var e=this,r=e.items();e.settings.formItemDefaults||(e.settings.formItemDefaults={layout:"flex",autoResize:"overflow",defaults:{flex:1}}),r.each(function(r){var o,i=r.settings.label;i&&(o=new t(n.extend({items:{type:"label",id:r._id+"-l",text:i,flex:0,forId:r._id,disabled:r.disabled()}},e.settings.formItemDefaults)),o.type="formitem",r.aria("labelledby",r._id+"-l"),"undefined"==typeof r.settings.flex&&(r.settings.flex=1),e.replace(r,o),o.add(r))})},submit:function(){return this.fire("submit",{data:this.toJSON()})},postRender:function(){var e=this;e._super(),e.fromJSON(e.settings.data)},bindStates:function(){function e(){var e,n,r,o=0,i=[];if(t.settings.labelGapCalc!==!1)for(r="children"==t.settings.labelGapCalc?t.find("formitem"):t.items(),r.filter("formitem").each(function(e){var t=e.items()[0],n=t.getEl().clientWidth;o=n>o?n:o,i.push(t)}),n=t.settings.labelGap||0,e=i.length;e--;)i[e].settings.minWidth=o+n}var t=this;t._super(),t.on("show",e),e()}})}),i("tinymce/ui/FieldSet",["tinymce/ui/Form"],function(e){return e.extend({Defaults:{containerCls:"fieldset",layout:"flex",direction:"column",align:"stretch",flex:1,padding:"25 15 5 15",labelGap:30,spacing:10,border:1},renderHtml:function(){var e=this,t=e._layout,n=e.classPrefix;return e.preRender(),t.preRender(e),'<fieldset id="'+e._id+'" class="'+e.classes+'" hidefocus="1" tabindex="-1">'+(e.settings.title?'<legend id="'+e._id+'-title" class="'+n+'fieldset-title">'+e.settings.title+"</legend>":"")+'<div id="'+e._id+'-body" class="'+e.bodyClasses+'">'+(e.settings.html||"")+t.renderHtml(e)+"</div></fieldset>"}})}),i("tinymce/content/LinkTargets",["tinymce/dom/DOMUtils","tinymce/util/Fun","tinymce/util/Arr","tinymce/util/Uuid","tinymce/util/Tools","tinymce/dom/NodeType"],function(e,t,n,r,o,i){var a=o.trim,s=function(e,t,n,r,o){return{type:e,title:t,url:n,level:r,attach:o}},u=function(e){for(;e=e.parentNode;){var t=e.contentEditable;if(t&&"inherit"!==t)return i.isContentEditableTrue(e)}return!1},l=function(t,n){return e.DOM.select(t,n)},c=function(e){return e.innerText||e.textContent},d=function(e){return e.id?e.id:r.uuid("h")},f=function(e){return e&&"A"===e.nodeName&&(e.id||e.name)},p=function(e){return f(e)&&m(e)},h=function(e){return e&&/^(H[1-6])$/.test(e.nodeName)},m=function(e){return u(e)&&!i.isContentEditableFalse(e)},g=function(e){return h(e)&&m(e)},v=function(e){return h(e)?parseInt(e.nodeName.substr(1),10):0},y=function(e){var t=d(e),n=function(){e.id=t};return s("header",c(e),"#"+t,v(e),n)},b=function(e){var n=e.id||e.name,r=c(e);return s("anchor",r?r:"#"+n,"#"+n,0,t.noop)},_=function(e){return n.map(n.filter(e,g),y)},w=function(e){return n.map(n.filter(e,p),b)},C=function(e){var t=l("h1,h2,h3,h4,h5,h6,a:not([href])",e);return t},x=function(e){return a(e.title).length>0},E=function(e){var t=C(e);return n.filter(_(t).concat(w(t)),x)};return{find:E}}),i("tinymce/ui/FilePicker",["tinymce/ui/ComboBox","tinymce/util/Tools","tinymce/util/Arr","tinymce/util/Fun","tinymce/util/VK","tinymce/content/LinkTargets"],function(e,t,n,r,o,i){var a={},s=5,u=function(e){return{title:e.title,value:{title:{raw:e.title},url:e.url,attach:e.attach}}},l=function(e){return t.map(e,u)},c=function(e,t){return{title:e,value:{title:e,url:t,attach:r.noop}}},d=function(e,t){var r=n.find(t,function(t){return t.url===e});return!r},f=function(e,t,n){var r=t in e?e[t]:n;return r===!1?null:r},p=function(e,o,i,s){var u={title:"-"},p=function(e){var a=n.filter(e[i],function(e){return d(e,o)});return t.map(a,function(e){return{title:e,value:{title:e,url:e,attach:r.noop}}})},h=function(e){var t=n.filter(o,function(t){return t.type==e});return l(t)},g=function(){var e=h("anchor"),t=f(s,"anchor_top","#top"),n=f(s,"anchor_bottom","#bottom");return null!==t&&e.unshift(c("<top>",t)),null!==n&&e.push(c("<bottom>",n)),e},v=function(e){return n.reduce(e,function(e,t){var n=0===e.length||0===t.length;return n?e.concat(t):e.concat(u,t)},[])};return s.typeahead_urls===!1?[]:"file"===i?v([m(e,p(a)),m(e,h("header")),m(e,g())]):m(e,p(a))},h=function(e,t){var r=a[t];/^https?/.test(e)&&(r?n.indexOf(r,e)===-1&&(a[t]=r.slice(0,s).concat(e)):a[t]=[e])},m=function(e,n){var r=e.toLowerCase(),o=t.grep(n,function(e){return e.title.toLowerCase().indexOf(r)!==-1});return 1===o.length&&o[0].title===e?[]:o},g=function(e){var t=e.title;return t.raw?t.raw:t},v=function(e,t,n,r){var o=function(o){var a=i.find(n),s=p(o,a,r,t);e.showAutoComplete(s,o)};e.on("autocomplete",function(){o(e.value())}),e.on("selectitem",function(t){var n=t.value;e.value(n.url);var o=g(n);"image"===r?e.fire("change",{meta:{alt:o,attach:n.attach}}):e.fire("change",{meta:{text:o,attach:n.attach}}),e.focus()}),e.on("click",function(t){0===e.value().length&&"INPUT"===t.target.nodeName&&o("")}),e.on("PostRender",function(){e.getRoot().on("submit",function(t){t.isDefaultPrevented()||h(e.value(),r)})})},y=function(e){var t=e.status,n=e.message;return"valid"===t?{status:"ok",message:n}:"unknown"===t?{status:"warn",message:n}:"invalid"===t?{status:"warn",message:n}:{status:"none",message:""}},b=function(e,t,n){var r=t.filepicker_validator_handler;if(r){var o=function(t){return 0===t.length?void e.statusLevel("none"):void r({url:t,type:n},function(t){var n=y(t);e.statusMessage(n.message),e.statusLevel(n.status)})};e.state.on("change:value",function(e){o(e.value)})}};return e.extend({init:function(e){var n,r,o,i=this,a=tinymce.activeEditor,s=a.settings,u=e.filetype;e.spellcheck=!1,o=s.file_picker_types||s.file_browser_callback_types,o&&(o=t.makeMap(o,/[, ]/)),o&&!o[u]||(r=s.file_picker_callback,!r||o&&!o[u]?(r=s.file_browser_callback,!r||o&&!o[u]||(n=function(){r(i.getEl("inp").id,i.value(),u,window)})):n=function(){var e=i.fire("beforecall").meta;e=t.extend({filetype:u},e),r.call(a,function(e,t){i.value(e).fire("change",{meta:t})},i.value(),e)}),n&&(e.icon="browse",e.onaction=n),i._super(e),v(i,s,a.getBody(),u),b(i,s,u)}})}),i("tinymce/ui/FitLayout",["tinymce/ui/AbsoluteLayout"],function(e){return e.extend({recalc:function(e){var t=e.layoutRect(),n=e.paddingBox;e.items().filter(":visible").each(function(e){e.layoutRect({x:n.left,y:n.top,w:t.innerW-n.right-n.left,h:t.innerH-n.top-n.bottom}),e.recalc&&e.recalc()})}})}),i("tinymce/ui/FlexLayout",["tinymce/ui/AbsoluteLayout"],function(e){return e.extend({recalc:function(e){var t,n,r,o,i,a,s,u,l,c,d,f,p,h,m,g,v,y,b,_,w,C,x,E,T,k,S,O,M,A,N,I,P,D,R,j,L,B,F=[],U=Math.max,H=Math.min;for(r=e.items().filter(":visible"),o=e.layoutRect(),i=e.paddingBox,a=e.settings,f=e.isRtl()?a.direction||"row-reversed":a.direction,s=a.align,u=e.isRtl()?a.pack||"end":a.pack,l=a.spacing||0,"row-reversed"!=f&&"column-reverse"!=f||(r=r.set(r.toArray().reverse()),f=f.split("-")[0]),"column"==f?(T="y",x="h",E="minH",k="maxH",O="innerH",S="top",M="deltaH",A="contentH",R="left",P="w",N="x",I="innerW",D="minW",j="right",L="deltaW",B="contentW"):(T="x",x="w",E="minW",k="maxW",O="innerW",S="left",M="deltaW",A="contentW",R="top",P="h",N="y",I="innerH",D="minH",j="bottom",L="deltaH",B="contentH"),d=o[O]-i[S]-i[S],C=c=0,t=0,n=r.length;t<n;t++)p=r[t],h=p.layoutRect(),m=p.settings,g=m.flex,d-=t<n-1?l:0,g>0&&(c+=g,h[k]&&F.push(p),h.flex=g),d-=h[E],v=i[R]+h[D]+i[j],v>C&&(C=v);if(_={},d<0?_[E]=o[E]-d+o[M]:_[E]=o[O]-d+o[M],_[D]=C+o[L],_[A]=o[O]-d,_[B]=C,_.minW=H(_.minW,o.maxW),_.minH=H(_.minH,o.maxH),_.minW=U(_.minW,o.startMinWidth),_.minH=U(_.minH,o.startMinHeight),!o.autoResize||_.minW==o.minW&&_.minH==o.minH){for(b=d/c,t=0,n=F.length;t<n;t++)p=F[t],h=p.layoutRect(),y=h[k],v=h[E]+h.flex*b,v>y?(d-=h[k]-h[E],c-=h.flex,h.flex=0,h.maxFlexSize=y):h.maxFlexSize=0;for(b=d/c,w=i[S],_={},0===c&&("end"==u?w=d+i[S]:"center"==u?(w=Math.round(o[O]/2-(o[O]-d)/2)+i[S],w<0&&(w=i[S])):"justify"==u&&(w=i[S],l=Math.floor(d/(r.length-1)))),_[N]=i[R],t=0,n=r.length;t<n;t++)p=r[t],h=p.layoutRect(),v=h.maxFlexSize||h[E],"center"===s?_[N]=Math.round(o[I]/2-h[P]/2):"stretch"===s?(_[P]=U(h[D]||0,o[I]-i[R]-i[j]),_[N]=i[R]):"end"===s&&(_[N]=o[I]-h[P]-i.top),h.flex>0&&(v+=h.flex*b),_[x]=v,_[T]=w,p.layoutRect(_),p.recalc&&p.recalc(),w+=v+l}else if(_.w=_.minW,_.h=_.minH,e.layoutRect(_),this.recalc(e),null===e._lastRect){var z=e.parent();z&&(z._lastRect=null,z.recalc())}}})}),i("tinymce/ui/FlowLayout",["tinymce/ui/Layout"],function(e){return e.extend({Defaults:{containerClass:"flow-layout",controlClass:"flow-layout-item",endClass:"break"},recalc:function(e){e.items().filter(":visible").each(function(e){e.recalc&&e.recalc()})},isNative:function(){return!0}})}),i("tinymce/fmt/FontInfo",["tinymce/dom/DOMUtils"],function(e){var t=function(e,t,n){for(;n!==t;){if(n.style[e])return n.style[e];n=n.parentNode}return""},n=function(e){return/[0-9.]+px$/.test(e)?Math.round(72*parseInt(e,10)/96)+"pt":e},o=function(e){return e.replace(/[\'\"]/g,"").replace(/,\s+/g,",")},i=function(t,n){return e.DOM.getStyle(n,t,!0)},a=function(e,n){var r=t("fontSize",e,n);return""!==r?r:i("fontSize",n)},s=function(e,n){var a=t("fontFamily",e,n),s=""!==a?a:i("fontFamily",n);return s!==r?o(s):""};return{getFontSize:a,getFontFamily:s,toPt:n}}),i("tinymce/ui/FormatControls",["tinymce/ui/Control","tinymce/ui/Widget","tinymce/ui/FloatPanel","tinymce/util/Tools","tinymce/util/Arr","tinymce/dom/DOMUtils","tinymce/EditorManager","tinymce/Env","tinymce/fmt/FontInfo"],function(e,t,n,r,o,i,a,s,u){function l(e){e.settings.ui_container&&(s.container=i.DOM.select(e.settings.ui_container)[0])}function c(t){t.on("ScriptsLoaded",function(){t.rtl&&(e.rtl=!0)})}function d(e){function t(t,n){return function(){var r=this;e.on("nodeChange",function(o){var i=e.formatter,a=null;f(o.parents,function(e){if(f(t,function(t){if(n?i.matchNode(e,n,{value:t.value})&&(a=t.value):i.matchNode(e,t.value)&&(a=t.value),a)return!1}),a)return!1}),r.value(a)})}}function o(t){return function(){var n=this,r=function(e){return e?e.split(",")[0]:""};e.on("nodeChange",function(o){var i,a=null;i=u.getFontFamily(e.getBody(),o.element),f(t,function(e){e.value.toLowerCase()===i.toLowerCase()&&(a=e.value)}),f(t,function(e){a||r(e.value).toLowerCase()!==r(i).toLowerCase()||(a=e.value)}),n.value(a),!a&&i&&n.text(r(i))})}}function i(t){return function(){var n=this;e.on("nodeChange",function(r){var o,i,a=null;o=u.getFontSize(e.getBody(),r.element),i=u.toPt(o),f(t,function(e){e.value===o?a=o:e.value===i&&(a=i)}),n.value(a),a||n.text(i)})}}function a(e){e=e.replace(/;$/,"").split(";");for(var t=e.length;t--;)e[t]=e[t].split("=");return e}function s(){function t(e){var n=[];if(e)return f(e,function(e){var i={text:e.title,icon:e.icon};if(e.items)i.menu=t(e.items);else{var a=e.format||"custom"+r++;e.format||(e.name=a,o.push(e)),i.format=a,i.cmd=e.cmd}n.push(i)}),n}function n(){var n;return n=t(e.settings.style_formats_merge?e.settings.style_formats?i.concat(e.settings.style_formats):i:e.settings.style_formats||i)}var r=0,o=[],i=[{title:"Headings",items:[{title:"Heading 1",format:"h1"},{title:"Heading 2",format:"h2"},{title:"Heading 3",format:"h3"},{title:"Heading 4",format:"h4"},{title:"Heading 5",format:"h5"},{title:"Heading 6",format:"h6"}]},{title:"Inline",items:[{title:"Bold",icon:"bold",format:"bold"},{title:"Italic",icon:"italic",format:"italic"},{title:"Underline",icon:"underline",format:"underline"},{title:"Strikethrough",icon:"strikethrough",format:"strikethrough"},{title:"Superscript",icon:"superscript",format:"superscript"},{title:"Subscript",icon:"subscript",format:"subscript"},{title:"Code",icon:"code",format:"code"}]},{title:"Blocks",items:[{title:"Paragraph",format:"p"},{title:"Blockquote",format:"blockquote"},{title:"Div",format:"div"},{title:"Pre",format:"pre"}]},{title:"Alignment",items:[{title:"Left",icon:"alignleft",format:"alignleft"},{title:"Center",icon:"aligncenter",format:"aligncenter"},{title:"Right",icon:"alignright",format:"alignright"},{title:"Justify",icon:"alignjustify",format:"alignjustify"}]}];return e.on("init",function(){f(o,function(t){e.formatter.register(t.name,t)})}),{type:"menu",items:n(),onPostRender:function(t){e.fire("renderFormatsMenu",{control:t.control})},itemDefaults:{preview:!0,textStyle:function(){if(this.settings.format)return e.formatter.getCssText(this.settings.format)},onPostRender:function(){var t=this;t.parent().on("show",function(){var n,r;n=t.settings.format,n&&(t.disabled(!e.formatter.canApply(n)),t.active(e.formatter.match(n))),
+r=t.settings.cmd,r&&t.active(e.queryCommandState(r))})},onclick:function(){this.settings.format&&h(this.settings.format),this.settings.cmd&&e.execCommand(this.settings.cmd)}}}}function l(t){return function(){var n=this;e.formatter?e.formatter.formatChanged(t,function(e){n.active(e)}):e.on("init",function(){e.formatter.formatChanged(t,function(e){n.active(e)})})}}function c(t){return function(){function n(){var n="redo"==t?"hasRedo":"hasUndo";return!!e.undoManager&&e.undoManager[n]()}var r=this;r.disabled(!n()),e.on("Undo Redo AddUndo TypingUndo ClearUndos SwitchMode",function(){r.disabled(e.readonly||!n())})}}function d(){var t=this;e.on("VisualAid",function(e){t.active(e.hasVisual)}),t.active(e.hasVisual)}function h(t){t.control&&(t=t.control.value()),t&&e.execCommand("mceToggleFormat",!1,t)}function m(t){var n=t.length;return r.each(t,function(t){t.menu&&(t.hidden=0===m(t.menu));var r=t.format;r&&(t.hidden=!e.formatter.canApply(r)),t.hidden&&n--}),n}function g(t){var n=t.items().length;return t.items().each(function(t){t.menu&&t.visible(g(t.menu)>0),!t.menu&&t.settings.menu&&t.visible(m(t.settings.menu)>0);var r=t.settings.format;r&&t.visible(e.formatter.canApply(r)),t.visible()||n--}),n}var v;v=s(),f({bold:"Bold",italic:"Italic",underline:"Underline",strikethrough:"Strikethrough",subscript:"Subscript",superscript:"Superscript"},function(t,n){e.addButton(n,{tooltip:t,onPostRender:l(n),onclick:function(){h(n)}})}),f({outdent:["Decrease indent","Outdent"],indent:["Increase indent","Indent"],cut:["Cut","Cut"],copy:["Copy","Copy"],paste:["Paste","Paste"],help:["Help","mceHelp"],selectall:["Select all","SelectAll"],removeformat:["Clear formatting","RemoveFormat"],visualaid:["Visual aids","mceToggleVisualAid"],newdocument:["New document","mceNewDocument"]},function(t,n){e.addButton(n,{tooltip:t[0],cmd:t[1]})}),f({blockquote:["Blockquote","mceBlockQuote"],subscript:["Subscript","Subscript"],superscript:["Superscript","Superscript"],alignleft:["Align left","JustifyLeft"],aligncenter:["Align center","JustifyCenter"],alignright:["Align right","JustifyRight"],alignjustify:["Justify","JustifyFull"],alignnone:["No alignment","JustifyNone"]},function(t,n){e.addButton(n,{tooltip:t[0],cmd:t[1],onPostRender:l(n)})});var y=function(e){var t=e;return t.length>0&&"-"===t[0].text&&(t=t.slice(1)),t.length>0&&"-"===t[t.length-1].text&&(t=t.slice(0,t.length-1)),t},b=function(t){var n,o;if("string"==typeof t)o=t.split(" ");else if(r.isArray(t))return p(r.map(t,b));return n=r.grep(o,function(t){return"|"===t||t in e.menuItems}),r.map(n,function(t){return"|"===t?{text:"-"}:e.menuItems[t]})},_=function(t){var n=[{text:"-"}],o=r.grep(e.menuItems,function(e){return e.context===t});return r.each(o,function(e){"before"==e.separator&&n.push({text:"|"}),e.prependToContext?n.unshift(e):n.push(e),"after"==e.separator&&n.push({text:"|"})}),n},w=function(e){return y(e.insert_button_items?b(e.insert_button_items):_("insert"))};e.addButton("undo",{tooltip:"Undo",onPostRender:c("undo"),cmd:"undo"}),e.addButton("redo",{tooltip:"Redo",onPostRender:c("redo"),cmd:"redo"}),e.addMenuItem("newdocument",{text:"New document",icon:"newdocument",cmd:"mceNewDocument"}),e.addMenuItem("undo",{text:"Undo",icon:"undo",shortcut:"Meta+Z",onPostRender:c("undo"),cmd:"undo"}),e.addMenuItem("redo",{text:"Redo",icon:"redo",shortcut:"Meta+Y",onPostRender:c("redo"),cmd:"redo"}),e.addMenuItem("visualaid",{text:"Visual aids",selectable:!0,onPostRender:d,cmd:"mceToggleVisualAid"}),e.addButton("remove",{tooltip:"Remove",icon:"remove",cmd:"Delete"}),e.addButton("insert",{type:"menubutton",icon:"insert",menu:[],oncreatemenu:function(){this.menu.add(w(e.settings)),this.menu.renderNew()}}),f({cut:["Cut","Cut","Meta+X"],copy:["Copy","Copy","Meta+C"],paste:["Paste","Paste","Meta+V"],selectall:["Select all","SelectAll","Meta+A"],bold:["Bold","Bold","Meta+B"],italic:["Italic","Italic","Meta+I"],underline:["Underline","Underline","Meta+U"],strikethrough:["Strikethrough","Strikethrough"],subscript:["Subscript","Subscript"],superscript:["Superscript","Superscript"],removeformat:["Clear formatting","RemoveFormat"]},function(t,n){e.addMenuItem(n,{text:t[0],icon:n,shortcut:t[2],cmd:t[1]})}),e.on("mousedown",function(){n.hideAll()}),e.addButton("styleselect",{type:"menubutton",text:"Formats",menu:v,onShowMenu:function(){e.settings.style_formats_autohide&&g(this.menu)}}),e.addButton("formatselect",function(){var n=[],r=a(e.settings.block_formats||"Paragraph=p;Heading 1=h1;Heading 2=h2;Heading 3=h3;Heading 4=h4;Heading 5=h5;Heading 6=h6;Preformatted=pre");return f(r,function(t){n.push({text:t[0],value:t[1],textStyle:function(){return e.formatter.getCssText(t[1])}})}),{type:"listbox",text:r[0][0],values:n,fixedWidth:!0,onselect:h,onPostRender:t(n)}}),e.addButton("fontselect",function(){var t="Andale Mono=andale mono,monospace;Arial=arial,helvetica,sans-serif;Arial Black=arial black,sans-serif;Book Antiqua=book antiqua,palatino,serif;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,palatino,serif;Helvetica=helvetica,arial,sans-serif;Impact=impact,sans-serif;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco,monospace;Times New Roman=times new roman,times,serif;Trebuchet MS=trebuchet ms,geneva,sans-serif;Verdana=verdana,geneva,sans-serif;Webdings=webdings;Wingdings=wingdings,zapf dingbats",n=[],r=a(e.settings.font_formats||t);return f(r,function(e){n.push({text:{raw:e[0]},value:e[1],textStyle:e[1].indexOf("dings")==-1?"font-family:"+e[1]:""})}),{type:"listbox",text:"Font Family",tooltip:"Font Family",values:n,fixedWidth:!0,onPostRender:o(n),onselect:function(t){t.control.settings.value&&e.execCommand("FontName",!1,t.control.settings.value)}}}),e.addButton("fontsizeselect",function(){var t=[],n="8pt 10pt 12pt 14pt 18pt 24pt 36pt",r=e.settings.fontsize_formats||n;return f(r.split(" "),function(e){var n=e,r=e,o=e.split("=");o.length>1&&(n=o[0],r=o[1]),t.push({text:n,value:r})}),{type:"listbox",text:"Font Sizes",tooltip:"Font Sizes",values:t,fixedWidth:!0,onPostRender:i(t),onclick:function(t){t.control.settings.value&&e.execCommand("FontSize",!1,t.control.settings.value)}}}),e.addMenuItem("formats",{text:"Formats",menu:v})}var f=r.each,p=function(e){return o.reduce(e,function(e,t){return e.concat(t)},[])};a.on("AddEditor",function(e){var t=e.editor;c(t),d(t),l(t)}),e.translate=function(e){return a.translate(e)},t.tooltips=!s.iOS}),i("tinymce/ui/GridLayout",["tinymce/ui/AbsoluteLayout"],function(e){return e.extend({recalc:function(e){var t,n,r,o,i,a,s,u,l,c,d,f,p,h,m,g,v,y,b,_,w,C,x,E,T,k,S,O,M,A=[],N=[];t=e.settings,o=e.items().filter(":visible"),i=e.layoutRect(),r=t.columns||Math.ceil(Math.sqrt(o.length)),n=Math.ceil(o.length/r),y=t.spacingH||t.spacing||0,b=t.spacingV||t.spacing||0,_=t.alignH||t.align,w=t.alignV||t.align,g=e.paddingBox,O="reverseRows"in t?t.reverseRows:e.isRtl(),_&&"string"==typeof _&&(_=[_]),w&&"string"==typeof w&&(w=[w]);for(d=0;d<r;d++)A.push(0);for(f=0;f<n;f++)N.push(0);for(f=0;f<n;f++)for(d=0;d<r&&(c=o[f*r+d],c);d++)l=c.layoutRect(),E=l.minW,T=l.minH,A[d]=E>A[d]?E:A[d],N[f]=T>N[f]?T:N[f];for(k=i.innerW-g.left-g.right,C=0,d=0;d<r;d++)C+=A[d]+(d>0?y:0),k-=(d>0?y:0)+A[d];for(S=i.innerH-g.top-g.bottom,x=0,f=0;f<n;f++)x+=N[f]+(f>0?b:0),S-=(f>0?b:0)+N[f];if(C+=g.left+g.right,x+=g.top+g.bottom,u={},u.minW=C+(i.w-i.innerW),u.minH=x+(i.h-i.innerH),u.contentW=u.minW-i.deltaW,u.contentH=u.minH-i.deltaH,u.minW=Math.min(u.minW,i.maxW),u.minH=Math.min(u.minH,i.maxH),u.minW=Math.max(u.minW,i.startMinWidth),u.minH=Math.max(u.minH,i.startMinHeight),!i.autoResize||u.minW==i.minW&&u.minH==i.minH){i.autoResize&&(u=e.layoutRect(u),u.contentW=u.minW-i.deltaW,u.contentH=u.minH-i.deltaH);var I;I="start"==t.packV?0:S>0?Math.floor(S/n):0;var P=0,D=t.flexWidths;if(D)for(d=0;d<D.length;d++)P+=D[d];else P=r;var R=k/P;for(d=0;d<r;d++)A[d]+=D?D[d]*R:R;for(h=g.top,f=0;f<n;f++){for(p=g.left,s=N[f]+I,d=0;d<r&&(M=O?f*r+r-1-d:f*r+d,c=o[M],c);d++)m=c.settings,l=c.layoutRect(),a=Math.max(A[d],l.startMinWidth),l.x=p,l.y=h,v=m.alignH||(_?_[d]||_[0]:null),"center"==v?l.x=p+a/2-l.w/2:"right"==v?l.x=p+a-l.w:"stretch"==v&&(l.w=a),v=m.alignV||(w?w[d]||w[0]:null),"center"==v?l.y=h+s/2-l.h/2:"bottom"==v?l.y=h+s-l.h:"stretch"==v&&(l.h=s),c.layoutRect(l),p+=a+y,c.recalc&&c.recalc();h+=s+b}}else if(u.w=u.minW,u.h=u.minH,e.layoutRect(u),this.recalc(e),null===e._lastRect){var j=e.parent();j&&(j._lastRect=null,j.recalc())}}})}),i("tinymce/ui/Iframe",["tinymce/ui/Widget","tinymce/util/Delay"],function(e,t){return e.extend({renderHtml:function(){var e=this;return e.classes.add("iframe"),e.canFocus=!1,'<iframe id="'+e._id+'" class="'+e.classes+'" tabindex="-1" src="'+(e.settings.url||"javascript:''")+'" frameborder="0"></iframe>'},src:function(e){this.getEl().src=e},html:function(e,n){var r=this,o=this.getEl().contentWindow.document.body;return o?(o.innerHTML=e,n&&n()):t.setTimeout(function(){r.html(e)}),this}})}),i("tinymce/ui/InfoBox",["tinymce/ui/Widget"],function(e){return e.extend({init:function(e){var t=this;t._super(e),t.classes.add("widget").add("infobox"),t.canFocus=!1},severity:function(e){this.classes.remove("error"),this.classes.remove("warning"),this.classes.remove("success"),this.classes.add(e)},help:function(e){this.state.set("help",e)},renderHtml:function(){var e=this,t=e.classPrefix;return'<div id="'+e._id+'" class="'+e.classes+'"><div id="'+e._id+'-body">'+e.encode(e.state.get("text"))+'<button role="button" tabindex="-1"><i class="'+t+"ico "+t+'i-help"></i></button></div></div>'},bindStates:function(){var e=this;return e.state.on("change:text",function(t){e.getEl("body").firstChild.data=e.encode(t.value),e.state.get("rendered")&&e.updateLayoutRect()}),e.state.on("change:help",function(t){e.classes.toggle("has-help",t.value),e.state.get("rendered")&&e.updateLayoutRect()}),e._super()}})}),i("tinymce/ui/Label",["tinymce/ui/Widget","tinymce/ui/DomUtils"],function(e,t){return e.extend({init:function(e){var t=this;t._super(e),t.classes.add("widget").add("label"),t.canFocus=!1,e.multiline&&t.classes.add("autoscroll"),e.strong&&t.classes.add("strong")},initLayoutRect:function(){var e=this,n=e._super();if(e.settings.multiline){var r=t.getSize(e.getEl());r.width>n.maxW&&(n.minW=n.maxW,e.classes.add("multiline")),e.getEl().style.width=n.minW+"px",n.startMinH=n.h=n.minH=Math.min(n.maxH,t.getSize(e.getEl()).height)}return n},repaint:function(){var e=this;return e.settings.multiline||(e.getEl().style.lineHeight=e.layoutRect().h+"px"),e._super()},severity:function(e){this.classes.remove("error"),this.classes.remove("warning"),this.classes.remove("success"),this.classes.add(e)},renderHtml:function(){var e,t,n=this,r=n.settings.forId;return!r&&(t=n.settings.forName)&&(e=n.getRoot().find("#"+t)[0],e&&(r=e._id)),r?'<label id="'+n._id+'" class="'+n.classes+'"'+(r?' for="'+r+'"':"")+">"+n.encode(n.state.get("text"))+"</label>":'<span id="'+n._id+'" class="'+n.classes+'">'+n.encode(n.state.get("text"))+"</span>"},bindStates:function(){var e=this;return e.state.on("change:text",function(t){e.innerHtml(e.encode(t.value)),e.state.get("rendered")&&e.updateLayoutRect()}),e._super()}})}),i("tinymce/ui/Toolbar",["tinymce/ui/Container"],function(e){return e.extend({Defaults:{role:"toolbar",layout:"flow"},init:function(e){var t=this;t._super(e),t.classes.add("toolbar")},postRender:function(){var e=this;return e.items().each(function(e){e.classes.add("toolbar-item")}),e._super()}})}),i("tinymce/ui/MenuBar",["tinymce/ui/Toolbar"],function(e){return e.extend({Defaults:{role:"menubar",containerCls:"menubar",ariaRoot:!0,defaults:{type:"menubutton"}}})}),i("tinymce/ui/MenuButton",["tinymce/ui/Button","tinymce/ui/Factory","tinymce/ui/MenuBar"],function(e,t,n){function r(e,t){for(;e;){if(t===e)return!0;e=e.parentNode}return!1}var o=e.extend({init:function(e){var t=this;t._renderOpen=!0,t._super(e),e=t.settings,t.classes.add("menubtn"),e.fixedWidth&&t.classes.add("fixed-width"),t.aria("haspopup",!0),t.state.set("menu",e.menu||t.render())},showMenu:function(e){var n,r=this;return r.menu&&r.menu.visible()&&e!==!1?r.hideMenu():(r.menu||(n=r.state.get("menu")||[],n.length?n={type:"menu",items:n}:n.type=n.type||"menu",n.renderTo?r.menu=n.parent(r).show().renderTo():r.menu=t.create(n).parent(r).renderTo(),r.fire("createmenu"),r.menu.reflow(),r.menu.on("cancel",function(e){e.control.parent()===r.menu&&(e.stopPropagation(),r.focus(),r.hideMenu())}),r.menu.on("select",function(){r.focus()}),r.menu.on("show hide",function(e){e.control==r.menu&&r.activeMenu("show"==e.type),r.aria("expanded","show"==e.type)}).fire("show")),r.menu.show(),r.menu.layoutRect({w:r.layoutRect().w}),r.menu.moveRel(r.getEl(),r.isRtl()?["br-tr","tr-br"]:["bl-tl","tl-bl"]),void r.fire("showmenu"))},hideMenu:function(){var e=this;e.menu&&(e.menu.items().each(function(e){e.hideMenu&&e.hideMenu()}),e.menu.hide())},activeMenu:function(e){this.classes.toggle("active",e)},renderHtml:function(){var e,t=this,r=t._id,o=t.classPrefix,i=t.settings.icon,a=t.state.get("text"),s="";return e=t.settings.image,e?(i="none","string"!=typeof e&&(e=window.getSelection?e[0]:e[1]),e=" style=\"background-image: url('"+e+"')\""):e="",a&&(t.classes.add("btn-has-text"),s='<span class="'+o+'txt">'+t.encode(a)+"</span>"),i=t.settings.icon?o+"ico "+o+"i-"+i:"",t.aria("role",t.parent()instanceof n?"menuitem":"button"),'<div id="'+r+'" class="'+t.classes+'" tabindex="-1" aria-labelledby="'+r+'"><button id="'+r+'-open" role="presentation" type="button" tabindex="-1">'+(i?'<i class="'+i+'"'+e+"></i>":"")+s+' <i class="'+o+'caret"></i></button></div>'},postRender:function(){var e=this;return e.on("click",function(t){t.control===e&&r(t.target,e.getEl())&&(e.focus(),e.showMenu(!t.aria),t.aria&&e.menu.items().filter(":visible")[0].focus())}),e.on("mouseenter",function(t){var n,r=t.control,i=e.parent();r&&i&&r instanceof o&&r.parent()==i&&(i.items().filter("MenuButton").each(function(e){e.hideMenu&&e!=r&&(e.menu&&e.menu.visible()&&(n=!0),e.hideMenu())}),n&&(r.focus(),r.showMenu()))}),e._super()},bindStates:function(){var e=this;return e.state.on("change:menu",function(){e.menu&&e.menu.remove(),e.menu=null}),e._super()},remove:function(){this._super(),this.menu&&this.menu.remove()}});return o}),i("tinymce/ui/MenuItem",["tinymce/ui/Widget","tinymce/ui/Factory","tinymce/Env","tinymce/util/Delay"],function(e,t,n,r){return e.extend({Defaults:{border:0,role:"menuitem"},init:function(e){var t,n=this;n._super(e),e=n.settings,n.classes.add("menu-item"),e.menu&&n.classes.add("menu-item-expand"),e.preview&&n.classes.add("menu-item-preview"),t=n.state.get("text"),"-"!==t&&"|"!==t||(n.classes.add("menu-item-sep"),n.aria("role","separator"),n.state.set("text","-")),e.selectable&&(n.aria("role","menuitemcheckbox"),n.classes.add("menu-item-checkbox"),e.icon="selected"),e.preview||e.selectable||n.classes.add("menu-item-normal"),n.on("mousedown",function(e){e.preventDefault()}),e.menu&&!e.ariaHideMenu&&n.aria("haspopup",!0)},hasMenus:function(){return!!this.settings.menu},showMenu:function(){var e,n=this,r=n.settings,o=n.parent();if(o.items().each(function(e){e!==n&&e.hideMenu()}),r.menu){e=n.menu,e?e.show():(e=r.menu,e.length?e={type:"menu",items:e}:e.type=e.type||"menu",o.settings.itemDefaults&&(e.itemDefaults=o.settings.itemDefaults),e=n.menu=t.create(e).parent(n).renderTo(),e.reflow(),e.on("cancel",function(t){t.stopPropagation(),n.focus(),e.hide()}),e.on("show hide",function(e){e.control.items&&e.control.items().each(function(e){e.active(e.settings.selected)})}).fire("show"),e.on("hide",function(t){t.control===e&&n.classes.remove("selected")}),e.submenu=!0),e._parentMenu=o,e.classes.add("menu-sub");var i=e.testMoveRel(n.getEl(),n.isRtl()?["tl-tr","bl-br","tr-tl","br-bl"]:["tr-tl","br-bl","tl-tr","bl-br"]);e.moveRel(n.getEl(),i),e.rel=i,i="menu-sub-"+i,e.classes.remove(e._lastRel).add(i),e._lastRel=i,n.classes.add("selected"),n.aria("expanded",!0)}},hideMenu:function(){var e=this;return e.menu&&(e.menu.items().each(function(e){e.hideMenu&&e.hideMenu()}),e.menu.hide(),e.aria("expanded",!1)),e},renderHtml:function(){function e(e){var t,r,o={};for(o=n.mac?{alt:"&#x2325;",ctrl:"&#x2318;",shift:"&#x21E7;",meta:"&#x2318;"}:{meta:"Ctrl"},e=e.split("+"),t=0;t<e.length;t++)r=o[e[t].toLowerCase()],r&&(e[t]=r);return e.join("+")}function t(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function r(e){var n=s.match||"";return n?e.replace(new RegExp(t(n),"gi"),function(e){return"!mce~match["+e+"]mce~match!"}):e}function o(e){return e.replace(new RegExp(t("!mce~match["),"g"),"<b>").replace(new RegExp(t("]mce~match!"),"g"),"</b>")}var i=this,a=i._id,s=i.settings,u=i.classPrefix,l=i.state.get("text"),c=i.settings.icon,d="",f=s.shortcut,p=i.encode(s.url),h="";return c&&i.parent().classes.add("menu-has-icons"),s.image&&(d=" style=\"background-image: url('"+s.image+"')\""),f&&(f=e(f)),c=u+"ico "+u+"i-"+(i.settings.icon||"none"),h="-"!==l?'<i class="'+c+'"'+d+"></i> ":"",l=o(i.encode(r(l))),p=o(i.encode(r(p))),'<div id="'+a+'" class="'+i.classes+'" tabindex="-1">'+h+("-"!==l?'<span id="'+a+'-text" class="'+u+'text">'+l+"</span>":"")+(f?'<div id="'+a+'-shortcut" class="'+u+'menu-shortcut">'+f+"</div>":"")+(s.menu?'<div class="'+u+'caret"></div>':"")+(p?'<div class="'+u+'menu-item-link">'+p+"</div>":"")+"</div>"},postRender:function(){var e=this,t=e.settings,n=t.textStyle;if("function"==typeof n&&(n=n.call(this)),n){var o=e.getEl("text");o&&o.setAttribute("style",n)}return e.on("mouseenter click",function(n){n.control===e&&(t.menu||"click"!==n.type?(e.showMenu(),n.aria&&e.menu.focus(!0)):(e.fire("select"),r.requestAnimationFrame(function(){e.parent().hideAll()})))}),e._super(),e},hover:function(){var e=this;return e.parent().items().each(function(e){e.classes.remove("selected")}),e.classes.toggle("selected",!0),e},active:function(e){return"undefined"!=typeof e&&this.aria("checked",e),this._super(e)},remove:function(){this._super(),this.menu&&this.menu.remove()}})}),i("tinymce/ui/Throbber",["tinymce/dom/DomQuery","tinymce/ui/Control","tinymce/util/Delay"],function(e,t,n){return function(r,o){var i,a,s=this,u=t.classPrefix;s.show=function(t,l){function c(){i&&(e(r).append('<div class="'+u+"throbber"+(o?" "+u+"throbber-inline":"")+'"></div>'),l&&l())}return s.hide(),i=!0,t?a=n.setTimeout(c,t):c(),s},s.hide=function(){var e=r.lastChild;return n.clearTimeout(a),e&&e.className.indexOf("throbber")!=-1&&e.parentNode.removeChild(e),i=!1,s}}}),i("tinymce/ui/Menu",["tinymce/ui/FloatPanel","tinymce/ui/MenuItem","tinymce/ui/Throbber","tinymce/util/Tools"],function(e,t,n,r){return e.extend({Defaults:{defaultType:"menuitem",border:1,layout:"stack",role:"application",bodyRole:"menu",ariaRoot:!0},init:function(e){var t=this;if(e.autohide=!0,e.constrainToViewport=!0,"function"==typeof e.items&&(e.itemsFactory=e.items,e.items=[]),e.itemDefaults)for(var n=e.items,o=n.length;o--;)n[o]=r.extend({},e.itemDefaults,n[o]);t._super(e),t.classes.add("menu")},repaint:function(){return this.classes.toggle("menu-align",!0),this._super(),this.getEl().style.height="",this.getEl("body").style.height="",this},cancel:function(){var e=this;e.hideAll(),e.fire("select")},load:function(){function e(){o.throbber&&(o.throbber.hide(),o.throbber=null)}var t,r,o=this;r=o.settings.itemsFactory,r&&(o.throbber||(o.throbber=new n(o.getEl("body"),!0),0===o.items().length?(o.throbber.show(),o.fire("loading")):o.throbber.show(100,function(){o.items().remove(),o.fire("loading")}),o.on("hide close",e)),o.requestTime=t=(new Date).getTime(),o.settings.itemsFactory(function(n){return 0===n.length?void o.hide():void(o.requestTime===t&&(o.getEl().style.width="",o.getEl("body").style.width="",e(),o.items().remove(),o.getEl("body").innerHTML="",o.add(n),o.renderNew(),o.fire("loaded")))}))},hideAll:function(){var e=this;return this.find("menuitem").exec("hideMenu"),e._super()},preRender:function(){var e=this;return e.items().each(function(t){var n=t.settings;if(n.icon||n.image||n.selectable)return e._hasIcons=!0,!1}),e.settings.itemsFactory&&e.on("postrender",function(){e.settings.itemsFactory&&e.load()}),e._super()}})}),i("tinymce/ui/ListBox",["tinymce/ui/MenuButton","tinymce/ui/Menu"],function(e,t){return e.extend({init:function(e){function t(n){for(var i=0;i<n.length;i++){if(r=n[i].selected||e.value===n[i].value)return o=o||n[i].text,a.state.set("value",n[i].value),!0;if(n[i].menu&&t(n[i].menu))return!0}}var n,r,o,i,a=this;a._super(e),e=a.settings,a._values=n=e.values,n&&("undefined"!=typeof e.value&&t(n),!r&&n.length>0&&(o=n[0].text,a.state.set("value",n[0].value)),a.state.set("menu",n)),a.state.set("text",e.text||o),a.classes.add("listbox"),a.on("select",function(t){var n=t.control;i&&(t.lastControl=i),e.multiple?n.active(!n.active()):a.value(t.control.value()),i=n})},bindStates:function(){function e(e,n){e instanceof t&&e.items().each(function(e){e.hasMenus()||e.active(e.value()===n)})}function n(e,t){var r;if(e)for(var o=0;o<e.length;o++){if(e[o].value===t)return e[o];if(e[o].menu&&(r=n(e[o].menu,t)))return r}}var r=this;return r.on("show",function(t){e(t.control,r.value())}),r.state.on("change:value",function(e){var t=n(r.state.get("menu"),e.value);t?r.text(t.text):r.text(r.settings.text)}),r._super()}})}),i("tinymce/ui/Radio",["tinymce/ui/Checkbox"],function(e){return e.extend({Defaults:{classes:"radio",role:"radio"}})}),i("tinymce/ui/ResizeHandle",["tinymce/ui/Widget","tinymce/ui/DragHelper"],function(e,t){return e.extend({renderHtml:function(){var e=this,t=e.classPrefix;return e.classes.add("resizehandle"),"both"==e.settings.direction&&e.classes.add("resizehandle-both"),e.canFocus=!1,'<div id="'+e._id+'" class="'+e.classes+'"><i class="'+t+"ico "+t+'i-resize"></i></div>'},postRender:function(){var e=this;e._super(),e.resizeDragHelper=new t(this._id,{start:function(){e.fire("ResizeStart")},drag:function(t){"both"!=e.settings.direction&&(t.deltaX=0),e.fire("Resize",t)},stop:function(){e.fire("ResizeEnd")}})},remove:function(){return this.resizeDragHelper&&this.resizeDragHelper.destroy(),this._super()}})}),i("tinymce/ui/SelectBox",["tinymce/ui/Widget"],function(e){function t(e){var t="";if(e)for(var n=0;n<e.length;n++)t+='<option value="'+e[n]+'">'+e[n]+"</option>";return t}return e.extend({Defaults:{classes:"selectbox",role:"selectbox",options:[]},init:function(e){var t=this;t._super(e),t.settings.size&&(t.size=t.settings.size),t.settings.options&&(t._options=t.settings.options),t.on("keydown",function(e){var n;13==e.keyCode&&(e.preventDefault(),t.parents().reverse().each(function(e){if(e.toJSON)return n=e,!1}),t.fire("submit",{data:n.toJSON()}))})},options:function(e){return arguments.length?(this.state.set("options",e),this):this.state.get("options")},renderHtml:function(){var e,n=this,r="";return e=t(n._options),n.size&&(r=' size = "'+n.size+'"'),'<select id="'+n._id+'" class="'+n.classes+'"'+r+">"+e+"</select>"},bindStates:function(){var e=this;return e.state.on("change:options",function(n){e.getEl().innerHTML=t(n.value)}),e._super()}})}),i("tinymce/ui/Slider",["tinymce/ui/Widget","tinymce/ui/DragHelper","tinymce/ui/DomUtils"],function(e,t,n){function r(e,t,n){return e<t&&(e=t),e>n&&(e=n),e}function o(e,t,n){e.setAttribute("aria-"+t,n)}function i(e,t){var r,i,a,s,u,l;"v"==e.settings.orientation?(s="top",a="height",i="h"):(s="left",a="width",i="w"),l=e.getEl("handle"),r=(e.layoutRect()[i]||100)-n.getSize(l)[a],u=r*((t-e._minValue)/(e._maxValue-e._minValue))+"px",l.style[s]=u,l.style.height=e.layoutRect().h+"px",o(l,"valuenow",t),o(l,"valuetext",""+e.settings.previewFilter(t)),o(l,"valuemin",e._minValue),o(l,"valuemax",e._maxValue)}return e.extend({init:function(e){var t=this;e.previewFilter||(e.previewFilter=function(e){return Math.round(100*e)/100}),t._super(e),t.classes.add("slider"),"v"==e.orientation&&t.classes.add("vertical"),t._minValue=e.minValue||0,t._maxValue=e.maxValue||100,t._initValue=t.state.get("value")},renderHtml:function(){var e=this,t=e._id,n=e.classPrefix;return'<div id="'+t+'" class="'+e.classes+'"><div id="'+t+'-handle" class="'+n+'slider-handle" role="slider" tabindex="-1"></div></div>'},reset:function(){this.value(this._initValue).repaint()},postRender:function(){function e(e,t,n){return(n+e)/(t-e)}function o(e,t,n){return n*(t-e)-e}function i(t,n){function i(i){var a;a=p.value(),a=o(t,n,e(t,n,a)+.05*i),a=r(a,t,n),p.value(a),p.fire("dragstart",{value:a}),p.fire("drag",{value:a}),p.fire("dragend",{value:a})}p.on("keydown",function(e){switch(e.keyCode){case 37:case 38:i(-1);break;case 39:case 40:i(1)}})}function a(e,o,i){var a,s,u,h,m;p._dragHelper=new t(p._id,{handle:p._id+"-handle",start:function(e){a=e[l],s=parseInt(p.getEl("handle").style[c],10),u=(p.layoutRect()[f]||100)-n.getSize(i)[d],p.fire("dragstart",{value:m})},drag:function(t){var n=t[l]-a;h=r(s+n,0,u),i.style[c]=h+"px",m=e+h/u*(o-e),p.value(m),p.tooltip().text(""+p.settings.previewFilter(m)).show().moveRel(i,"bc tc"),p.fire("drag",{value:m})},stop:function(){p.tooltip().hide(),p.fire("dragend",{value:m})}})}var s,u,l,c,d,f,p=this;s=p._minValue,u=p._maxValue,"v"==p.settings.orientation?(l="screenY",c="top",d="height",f="h"):(l="screenX",c="left",d="width",f="w"),p._super(),i(s,u,p.getEl("handle")),a(s,u,p.getEl("handle"))},repaint:function(){this._super(),i(this,this.value())},bindStates:function(){var e=this;return e.state.on("change:value",function(t){i(e,t.value)}),e._super()}})}),i("tinymce/ui/Spacer",["tinymce/ui/Widget"],function(e){return e.extend({renderHtml:function(){var e=this;return e.classes.add("spacer"),e.canFocus=!1,'<div id="'+e._id+'" class="'+e.classes+'"></div>'}})}),i("tinymce/ui/SplitButton",["tinymce/ui/MenuButton","tinymce/ui/DomUtils","tinymce/dom/DomQuery"],function(e,t,n){return e.extend({Defaults:{classes:"widget btn splitbtn",role:"button"},repaint:function(){var e,r,o=this,i=o.getEl(),a=o.layoutRect();return o._super(),e=i.firstChild,r=i.lastChild,n(e).css({width:a.w-t.getSize(r).width,height:a.h-2}),n(r).css({height:a.h-2}),o},activeMenu:function(e){var t=this;n(t.getEl().lastChild).toggleClass(t.classPrefix+"active",e)},renderHtml:function(){var e,t=this,n=t._id,r=t.classPrefix,o=t.state.get("icon"),i=t.state.get("text"),a="";return e=t.settings.image,e?(o="none","string"!=typeof e&&(e=window.getSelection?e[0]:e[1]),e=" style=\"background-image: url('"+e+"')\""):e="",o=t.settings.icon?r+"ico "+r+"i-"+o:"",i&&(t.classes.add("btn-has-text"),a='<span class="'+r+'txt">'+t.encode(i)+"</span>"),'<div id="'+n+'" class="'+t.classes+'" role="button" tabindex="-1"><button type="button" hidefocus="1" tabindex="-1">'+(o?'<i class="'+o+'"'+e+"></i>":"")+a+'</button><button type="button" class="'+r+'open" hidefocus="1" tabindex="-1">'+(t._menuBtnText?(o?" ":"")+t._menuBtnText:"")+' <i class="'+r+'caret"></i></button></div>'},postRender:function(){var e=this,t=e.settings.onclick;return e.on("click",function(e){var n=e.target;if(e.control==this)for(;n;){if(e.aria&&"down"!=e.aria.key||"BUTTON"==n.nodeName&&n.className.indexOf("open")==-1)return e.stopImmediatePropagation(),void(t&&t.call(this,e));n=n.parentNode}}),delete e.settings.onclick,e._super()}})}),i("tinymce/ui/StackLayout",["tinymce/ui/FlowLayout"],function(e){return e.extend({Defaults:{containerClass:"stack-layout",controlClass:"stack-layout-item",endClass:"break"},isNative:function(){return!0}})}),i("tinymce/ui/TabPanel",["tinymce/ui/Panel","tinymce/dom/DomQuery","tinymce/ui/DomUtils"],function(e,t,n){return e.extend({Defaults:{layout:"absolute",defaults:{type:"panel"}},activateTab:function(e){var n;this.activeTabId&&(n=this.getEl(this.activeTabId),t(n).removeClass(this.classPrefix+"active"),n.setAttribute("aria-selected","false")),this.activeTabId="t"+e,n=this.getEl("t"+e),n.setAttribute("aria-selected","true"),t(n).addClass(this.classPrefix+"active"),this.items()[e].show().fire("showtab"),this.reflow(),this.items().each(function(t,n){e!=n&&t.hide()})},renderHtml:function(){var e=this,t=e._layout,n="",r=e.classPrefix;return e.preRender(),t.preRender(e),e.items().each(function(t,o){var i=e._id+"-t"+o;t.aria("role","tabpanel"),t.aria("labelledby",i),n+='<div id="'+i+'" class="'+r+'tab" unselectable="on" role="tab" aria-controls="'+t._id+'" aria-selected="false" tabIndex="-1">'+e.encode(t.settings.title)+"</div>"}),'<div id="'+e._id+'" class="'+e.classes+'" hidefocus="1" tabindex="-1"><div id="'+e._id+'-head" class="'+r+'tabs" role="tablist">'+n+'</div><div id="'+e._id+'-body" class="'+e.bodyClasses+'">'+t.renderHtml(e)+"</div></div>"},postRender:function(){var e=this;e._super(),e.settings.activeTab=e.settings.activeTab||0,e.activateTab(e.settings.activeTab),this.on("click",function(t){var n=t.target.parentNode;if(n&&n.id==e._id+"-head")for(var r=n.childNodes.length;r--;)n.childNodes[r]==t.target&&e.activateTab(r)})},initLayoutRect:function(){var e,t,r,o=this;t=n.getSize(o.getEl("head")).width,t=t<0?0:t,r=0,o.items().each(function(e){t=Math.max(t,e.layoutRect().minW),r=Math.max(r,e.layoutRect().minH)}),o.items().each(function(e){e.settings.x=0,e.settings.y=0,e.settings.w=t,e.settings.h=r,e.layoutRect({x:0,y:0,w:t,h:r})});var i=n.getSize(o.getEl("head")).height;return o.settings.minWidth=t,o.settings.minHeight=r+i,e=o._super(),e.deltaH+=i,e.innerH=e.h-e.deltaH,e}})}),i("tinymce/ui/TextBox",["tinymce/ui/Widget","tinymce/util/Tools","tinymce/ui/DomUtils"],function(e,t,n){return e.extend({init:function(e){var t=this;t._super(e),t.classes.add("textbox"),e.multiline?t.classes.add("multiline"):(t.on("keydown",function(e){var n;13==e.keyCode&&(e.preventDefault(),t.parents().reverse().each(function(e){if(e.toJSON)return n=e,!1}),t.fire("submit",{data:n.toJSON()}))}),t.on("keyup",function(e){t.state.set("value",e.target.value)}))},repaint:function(){var e,t,n,r,o,i=this,a=0;e=i.getEl().style,t=i._layoutRect,o=i._lastRepaintRect||{};var s=document;return!i.settings.multiline&&s.all&&(!s.documentMode||s.documentMode<=8)&&(e.lineHeight=t.h-a+"px"),n=i.borderBox,r=n.left+n.right+8,a=n.top+n.bottom+(i.settings.multiline?8:0),t.x!==o.x&&(e.left=t.x+"px",o.x=t.x),t.y!==o.y&&(e.top=t.y+"px",o.y=t.y),t.w!==o.w&&(e.width=t.w-r+"px",o.w=t.w),t.h!==o.h&&(e.height=t.h-a+"px",o.h=t.h),i._lastRepaintRect=o,i.fire("repaint",{},!1),i},renderHtml:function(){var e,r,o=this,i=o.settings;return e={id:o._id,hidefocus:"1"},t.each(["rows","spellcheck","maxLength","size","readonly","min","max","step","list","pattern","placeholder","required","multiple"],function(t){e[t]=i[t]}),o.disabled()&&(e.disabled="disabled"),i.subtype&&(e.type=i.subtype),r=n.create(i.multiline?"textarea":"input",e),r.value=o.state.get("value"),r.className=o.classes,r.outerHTML},value:function(e){return arguments.length?(this.state.set("value",e),this):(this.state.get("rendered")&&this.state.set("value",this.getEl().value),this.state.get("value"))},postRender:function(){var e=this;e.getEl().value=e.state.get("value"),e._super(),e.$el.on("change",function(t){e.state.set("value",t.target.value),e.fire("change",t)})},bindStates:function(){var e=this;return e.state.on("change:value",function(t){e.getEl().value!=t.value&&(e.getEl().value=t.value)}),e.state.on("change:disabled",function(t){e.getEl().disabled=t.value}),e._super()},remove:function(){this.$el.off(),this._super()}})}),i("tinymce/Register",[],function(){var t=this||window,n=function(){return t.tinymce};return"function"==typeof t.define&&(t.define.amd||t.define("ephox/tinymce",[],n)),e.exports=window.tinymce,{}}),s(["tinymce/geom/Rect","tinymce/util/Promise","tinymce/util/Delay","tinymce/Env","tinymce/dom/EventUtils","tinymce/dom/Sizzle","tinymce/util/Tools","tinymce/dom/DomQuery","tinymce/html/Styles","tinymce/dom/TreeWalker","tinymce/html/Entities","tinymce/dom/DOMUtils","tinymce/dom/ScriptLoader","tinymce/AddOnManager","tinymce/dom/RangeUtils","tinymce/html/Node","tinymce/html/Schema","tinymce/html/SaxParser","tinymce/html/DomParser","tinymce/html/Writer","tinymce/html/Serializer","tinymce/dom/Serializer","tinymce/util/VK","tinymce/dom/ControlSelection","tinymce/dom/BookmarkManager","tinymce/dom/Selection","tinymce/Formatter","tinymce/UndoManager","tinymce/EditorCommands","tinymce/util/URI","tinymce/util/Class","tinymce/util/EventDispatcher","tinymce/util/Observable","tinymce/ui/Selector","tinymce/ui/Collection","tinymce/ui/ReflowQueue","tinymce/ui/Control","tinymce/ui/Factory","tinymce/ui/KeyboardNavigation","tinymce/ui/Container","tinymce/ui/DragHelper","tinymce/ui/Scrollable","tinymce/ui/Panel","tinymce/ui/Movable","tinymce/ui/Resizable","tinymce/ui/FloatPanel","tinymce/ui/Window","tinymce/ui/MessageBox","tinymce/WindowManager","tinymce/ui/Tooltip","tinymce/ui/Widget","tinymce/ui/Progress","tinymce/ui/Notification","tinymce/NotificationManager","tinymce/EditorObservable","tinymce/Shortcuts","tinymce/Editor","tinymce/util/I18n","tinymce/FocusManager","tinymce/EditorManager","tinymce/util/XHR","tinymce/util/JSON","tinymce/util/JSONRequest","tinymce/util/JSONP","tinymce/util/LocalStorage","tinymce/Compat","tinymce/ui/Layout","tinymce/ui/AbsoluteLayout","tinymce/ui/Button","tinymce/ui/ButtonGroup","tinymce/ui/Checkbox","tinymce/ui/ComboBox","tinymce/ui/ColorBox","tinymce/ui/PanelButton","tinymce/ui/ColorButton","tinymce/util/Color","tinymce/ui/ColorPicker","tinymce/ui/Path","tinymce/ui/ElementPath","tinymce/ui/FormItem","tinymce/ui/Form","tinymce/ui/FieldSet","tinymce/ui/FilePicker","tinymce/ui/FitLayout","tinymce/ui/FlexLayout","tinymce/ui/FlowLayout","tinymce/ui/FormatControls","tinymce/ui/GridLayout","tinymce/ui/Iframe","tinymce/ui/InfoBox","tinymce/ui/Label","tinymce/ui/Toolbar","tinymce/ui/MenuBar","tinymce/ui/MenuButton","tinymce/ui/MenuItem","tinymce/ui/Throbber","tinymce/ui/Menu","tinymce/ui/ListBox","tinymce/ui/Radio","tinymce/ui/ResizeHandle","tinymce/ui/SelectBox","tinymce/ui/Slider","tinymce/ui/Spacer","tinymce/ui/SplitButton","tinymce/ui/StackLayout","tinymce/ui/TabPanel","tinymce/ui/TextBox"]);
+}(window)}).call(t,n(1471).setImmediate)},function(e,t){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach(function(t){e.addRange(t)}),t&&t.focus()}}},function(e,t,n){e.exports=n.p+"CLIx-logo-c7c1dd18cd5003b1aaeb5354d833c7d9.png"},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADMAAAAzCAYAAAA6oTAqAAAAAXNSR0IArs4c6QAAA49JREFUaAXtWNFx2zAMjX29xH/1CB7BG9TdwJ0gygRRP+Lkr+lfYn/UnSDyBHEniDpBnQnqbND8Jf5w+l5PzFEwaJkWdVHvxDueCBAE8QAQonRw0LTGA40HGg80HqiZB1pvYc/FxcXg5eXlBn3earXS6+vrHyHsaIdQUqTj7Oysr8j0ACQGf35+fn5HgIqMF6tyMDD0BkYPC6xipO4yUL0CWed0pWAIBDtHzt03Jwbr9frXaDQqAr+5EpzKwGwD8vT0tMDe39EfpVWIYhf9FmkXybkiupICIIEghb6Ox+NLzRhEIYbxnHsv58E/ubq6SiTfRQePjATi2tjwAXL6/PzcA71R0eCEG58IBQXjC8QAmk6nf1CeeU6YermGM/QNgHo5poMIBmZfILZdABQjGjObxzPECNk81zgImBBAjIFIuwhjmXKDXdLtnVGy73MfIDCM75VjnJXPTDG5N/jR0dHREvzXooB0OwWdoDtbqcjsA8SyJDo8PLyL47hr8f4NCRDpFdt80H06webJsTMyKJkpFHyQC0LSNDAD9FFGiCUZzppiPzs6EegUXW2lIqNq9GRmgGi01hKbWeTcNwdDY2HksVZ+wZ/bYDDuaXJGphZgaAwKQu6MkIdUS/HIXXlQCPqc01qdwKjnEyAXwvD6g+HZEUZ7k7WJjLflyoIGjOKUEKz7skrqFJlUA6O8W2RBeF1WGzAwevpqVTbQri/tdtsJxnmdkYqrpFF+Z7j+L+Ue4A9tHugHTc7IOMHAUwssNnLqU0kBVa6Aeb9arWJNBvsfYw97KrUJOXaC4YeSFJY00iDChjt9OMm1GX2P6/5AXjI5l+nu2uuQYolNy3GpM8ObLTx3IpXuQsMJMxcQfhbwc9nWA/mf2fXGZufGzsjkpLYQBAQv8m61c4Qyo1KXWnwW8MehV1Soq1RkjDFlImR0mCc/+ABkaGg+s6gkNk8bBwFDxSEA4YOQqRVRn9UecVYii3YOg4HhDvsC4hkBkFtEZKPokAe9SycCayIoGOr1BYS0OsUZ+S1Ti7rA8/qjWboAcFPZCGhbUWAkAOAL1kXo/LcsVXgDoYLgkTFWbYtQp9PpM33QcxUrW/uIA/+J642uXZ+VgaEB2wBpBrJqAWAfPwLn2nwRr5I0szclIO3fmC1DEKhYl7h1pDbfd1w5GBqkXVcA4AFRmONNn0wmk4Wv4Y1844HGA40HGg/8Fx74C71bYa8bcP+fAAAAAElFTkSuQmCC"},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAASCAYAAAC5DOVpAAAAAXNSR0IArs4c6QAAAGJJREFUOBFjPHPmzH8GNPD///9GU1PTBjRhOPf06dMNjIyM9XABIAOo5yATsgClbEaYy0xMTBjJMQzmSpBvqOoyqhpGjs9G9YyGAKkhMEKyEwssXGClB4hPTnkG1OZA1YwOAE0iMJqvX6f2AAAAAElFTkSuQmCC"},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAQZJREFUaAXtl9ENgyAURYVJHKUjdAS7hSO4RTtKR2lH6ASUl/SL5D6BVHITL3+CvHfPMRKdJg0ZkAEZkAEZkAEZOK+BgNDXdb2klO55fUb3/Gn+FUK4bdv27KkX0aZB4a39/OuFokxZ5oIWIYAVRpsOmIe9LLwH6AEckLOt5F54q0YLUBOeFqA2PCVAS3g6gNbwVAA94akAvKPSgqJBewqhwOW8AEojo6/1BEYbL/vRPAH7pC7D1VzTAOT/gUcPBA2A2e6BoALogaADaIWgBGiBoAWohfAAPlZkxMgfcm/UZ+/FhgD5SLt6hVHD1nnrEWNcvH0G4a1rTQZkQAZkQAZkQAbOauALydJeLJzy5N0AAAAASUVORK5CYII="},function(e,t){e.exports="data:image/jpeg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAAA8AAD/4QMxaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/PiA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjYtYzExMSA3OS4xNTgzMjUsIDIwMTUvMDkvMTAtMDE6MTA6MjAgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE1IChNYWNpbnRvc2gpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjhBMDlGMEVGQjBEODExRTU4Q0Y4RTJCOTU4QTNFMzM2IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjhBMDlGMEYwQjBEODExRTU4Q0Y4RTJCOTU4QTNFMzM2Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6OEEwOUYwRURCMEQ4MTFFNThDRjhFMkI5NThBM0UzMzYiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6OEEwOUYwRUVCMEQ4MTFFNThDRjhFMkI5NThBM0UzMzYiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7/7gAOQWRvYmUAZMAAAAAB/9sAhAAGBAQEBQQGBQUGCQYFBgkLCAYGCAsMCgoLCgoMEAwMDAwMDBAMDg8QDw4MExMUFBMTHBsbGxwfHx8fHx8fHx8fAQcHBw0MDRgQEBgaFREVGh8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx//wAARCABFAGQDAREAAhEBAxEB/8QAiQABAAMBAQADAAAAAAAAAAAAAAQFBgcDAQIIAQEBAQAAAAAAAAAAAAAAAAAAAQIQAAAEBAQEAgYFBREAAAAAAAECAwQAEQUGIRITBzEiFBVBFlFhgTJCI3FSchcIYjNDJCax8YKSU2OT00SUJTXFVoYYSBEBAQEBAAAAAAAAAAAAAAAAAAERQf/aAAwDAQACEQMRAD8A/VMAgEAgEBiN1r6c21R0GNHT6q664p0dCZhIRFU0gMsYB+BLNMZ4TlPCcFjje3Fw7n2KrcBHgHuShUKoqN68xTMZR03A/P1rfPiZNTmMYo/SMpiaItfom3LkotyUdvWKM5K7YOQmmqWYCAhgYpijiUxRwEBisrKAQCAQCAQCAQCAhVqs06i0l3VqksDdiyTMs4VN4FKHgHiI8ADxHCA5xtZRqjctbc7o3EiKTmoEFC2WCmPSU7HKf7a05z9AiPA0gLWMvol0t9465alqnKk4vtkyO9dgbFokgB0llZBwNpEN6+bDEQiK1mxTIttVS8rC1DnTolQTcsjKyzi2epAYnAAAZAmAjLxGKldbghAIBAIBAIBAIDj9xHPujfnlRsYTWTbKpVrjXKMiPHpR+WzAQ4lIIc/t8QKMFb2+7ypVk2s4q7ooCCIAixZkwMsuYJJIkAPTLwDAoCPhBHF21r121Lwsa/LjXOe4rkqiraulER00e4Igm1bgHAoIlzfucChEabmpf4F+ISlOvdbXZSFmR58BcsTawG+nTApQ+mKnHUoIQCAQCAQCAQFbcrKrvrfqLOjuysKo4bqJs3hgEwJKGLIpsMfb4cZDwgOcbFVqjUmhOLKfNQotzUEVFay1XME18w5jPSqD75DBLH4Ql8MhgteNrpKbn3z5yeEHybbqp0LXbHAQK6dFGSj0xR4gUQ5PXLxKaYWn4h2wn2ydP0jlI8pDlrUGYmEA+YisADKfjkOaBEDeh6l5ZtO/mn5ui1JjUDHDH9TdSKoXD62YgQI60UxTFAxRASiEwEOAgMEIBAIBAIBAIBAc73g2laXzSRXZnBjcrRI5GL8oiTUTOAgdssJcRTOBhD8mfoEQEsrAbfONzLrTcWsnXmdjlt3K0cUJi0Ez0qRAAAOBlzG5TD+kIcccfEJxa15tk9tadKq3jUXNbXJiZ/XnxtMB4jhmSJL1GnFTVTuNubtdUbKqVlUNc1UdOGYtadT6Q3OuQh0yh0+USACeQhyF90w4QJHR9uXFUXsOgnqrZVpUiskUnaDghk1QUSLpmExTSEBNlzY+mCVo4BAIBAIBAIBAIDD31tYyuaqM62wqLi37haAKXdmHKso3MAgZI+JZ8eUfCC6rqf8Ah/2/TcA8rJXlyVAMRd1d0o4MI+PKUSEEPtAMDW9pdEo1Ib9PSmLdg3/kmyRES4eogFCCJkAgEAgEBDe1mlsXjFk7cERdVNQyLFIw8ypyJmVMBfoIQf3xCAzNxbxbb25V1qPWqyVpUW4EFZuKLg4lBQgHLzJpnLiUwDxguPYm623praG5u9IlogKmbg7OVQmZUoTEhEzFBQ5pYyKUYJj1tHcyxrvUVRt6rJvHCIZlW4lURVAs5ZtNYqZxLjxAJQMXtNqlPqbQrunuCOWxjGICqYzDMmYSHKPoEpgEBAeAwEKq3dbdJRqSz9+mkSkJpLVOQGUMgRcRBITlIBjc2UZBKfjAR67f1n0Gitq1V6ok0pzwhVGipwOJ1SnKBw00igKhuUQGQFw8YD4tHcCz7vRWVt2ppvunEAXTAp01ST4CZJUpDgAywGUoCWvdNBQuRvbSrrLW3aBnbdpkUHMiQRAx84F0wxKOAmnAZ6tb1bX0WrHpNRryKb5I2RZMiayxUzzkJVFEiHIUQHiAmw8YLi9fXnbDJOkqOKgnpV1ZNtSVUwMqRdVb82UhkwOXmnxEZQRCu3cqybQXbt7iqZWCzohlG5RSWUzFKMhH5RDyx9MDFB/2F2d/3ET+7O/6mC45PuZWLmu69ajW7dp1QetLOOVtQnrIgHbkft1U1naqsxATAJS5AAs5hlGIsazd26GV07U2lX2cgRf1mnqCSc8igAqVRMfWQ4CX2RUiduspT2G7djVe5gL5USI5RIusE2yL8xREh1Z8pZ8khH6s/hGBEe7anQa7vVY5rRXRfVlmZdWtvWJiqEKwygGRdVOZRmAnAoCOE/yggMltuz3TZN7grFkqIvUXtbfU55SnYyTQUmUUnxBEfgFT5geIAGA/DFqGjSX1Itbein1B8epP0O3dU/U95VU4nOc2M8MxsPVAaVuvS6XudZVUu4xE6GpbDZGgu3MgaovylIJ8xjchT5BHmH0l9lR1q3LjsCqV2qpW86ZOquQEj1VVoBTGOEhKmJ1iBlUy8MDDl4DKCMJdxHan4gqQRmbI8NbTsrY44SUEy4EH+NBeKrZe4tuKPte5pdxOGbGpt1HRLnYvxIVwqpqn99M/Or8vKUAABxw4wKxNFBen2Xty6qAmZ0kbxB1TBdGyAlTxOUxTGMYeUuYDmmOEseERXat0a/QqttXdg0qotagCLBTW6VZNbJmAcubTMaU8oynFSPP/AM7/APEf9MgdbC2/K3bf2Z6Htmof/LdHQ1Pj/Mcmb0+MEVA/dV2BvLsfl/rA6XL0nR9bjl05fL1uPDmgq6uLy72hx5j6Ts8g6nr9Pp5Twz6vJx9MEVVj/dt06/kntelMOq7XoTn8OrpY/RmgJ1r+Uuld+Wej6Xq1et6HJk6vl1dTJhqe7mnjAQF/u1/aLqe1Sml5p1dDLOQ6PWZsPs54CVXPI3lonfO3eWsiej1ej0eTL8rJn+X7vuS9kB9bK8h9tP5M7d2/N83tmjkzy/SaXxS+tjAc8tMj8N8Xhr1VzXUNMHsaTVMC04rAFRzCkoZQyxlRNmmByBLm48sFay5vuY7+TzL2HvvLLrul6j8jPqc32c3sgLS7vu97e183dq7dn/Uu6dPo58v6LW5Z5fq+EEV9F+53tFW7L2Ds+mTvnSdJ0+nzZOq0+TL70s/rgrQ/s55b/snlvo/5vouh0v6LR0v4OX1QR//Z"},function(e,t,n){e.exports=n.p+"atomicjolt-92b4dadbb4b4c6bc62bcd225dbefa9d3.png"},function(e,t){e.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxOS4xLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9Ii0zOTIgNDc3LjcgMjE0IDQ3LjMiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgLTM5MiA0NzcuNyAyMTQgNDcuMzsiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4NCgkuc3Qwe2ZpbGw6I0ZDQ0MwRjt9DQo8L3N0eWxlPg0KPGc+DQoJPHBhdGggY2xhc3M9InN0MCIgZD0iTS0yMTcuNCw0OTEuNWM1LjEtMC4xLDkuMiwzLjksOS4zLDlzLTMuOSw5LjEtOS4xLDkuMmMtNS4yLDAuMS05LjItMy44LTkuMy05DQoJCUMtMjI2LjYsNDk1LjQtMjIyLjgsNDkxLjYtMjE3LjQsNDkxLjV6IE0tMjExLjgsNTAwLjZjMC0xLjItMC4zLTIuMy0xLTMuM2MtMi4yLTMuNS02LjktMy42LTktMC4xYy0xLjQsMi4yLTEuMiw1LjMsMC4zLDcuMw0KCQljMS44LDIuNSw1LjMsMi44LDcuNiwwLjhDLTIxMi41LDUwNC0yMTEuOSw1MDIuNC0yMTEuOCw1MDAuNnoiLz4NCgk8cGF0aCBjbGFzcz0ic3QwIiBkPSJNLTI0Ni4zLDUwNC40bDIuNCwxLjljMC4xLDAuMSwwLjEsMC4zLDAsMC40Yy0yLjMsMi41LTYuMiwzLjktMTAsMi41Yy0zLjktMS40LTYuNC01LjEtNi4yLTkuMQ0KCQljMC4yLTMuOCwzLjItNy4yLDcuMi04LjNjMy4yLTAuOCw3LjEsMC40LDguNywyLjdjMC4xLDAuMSwwLDAuMy0wLjEsMC4zbC0yLjQsMS45Yy0wLjEsMC4xLTAuMywwLjEtMC40LTAuMQ0KCQljLTAuMS0wLjEtMC4xLTAuMi0wLjItMC4zYy0yLjYtMi44LTUuOC0xLjktNy42LDAuMmMtMi4zLDIuNi0yLDYuNywwLjcsOC45YzIuMSwxLjcsNC44LDEuNSw2LjgtMC40YzAuMi0wLjIsMC40LTAuNCwwLjctMC42DQoJCUMtMjQ2LjUsNTA0LjMtMjQ2LjQsNTA0LjMtMjQ2LjMsNTA0LjR6Ii8+DQoJPHBhdGggY2xhc3M9InN0MCIgZD0iTS0yMDQuOSw0OTEuOGgzYzAuMiwwLDAuMywwLjEsMC4zLDAuM3YxNGMwLDAuMiwwLjEsMC4zLDAuMywwLjNoNy40YzAuMiwwLDAuMywwLjEsMC4zLDAuM3YyLjMNCgkJYzAsMC4yLTAuMSwwLjMtMC4zLDAuM0gtMjA1Yy0wLjIsMC0wLjMtMC4xLTAuMy0wLjN2LTE2LjlDLTIwNS4zLDQ5Mi0yMDUuMSw0OTEuOC0yMDQuOSw0OTEuOHoiLz4NCgk8cGF0aCBjbGFzcz0ic3QwIiBkPSJNLTI4NS41LDUwOS42aC0zLjRjLTAuMSwwLTAuMS0wLjEtMC4xLTAuMXYtMTcuNmMwLTAuMSwwLjEtMC4yLDAuMi0wLjFjMywzLjEsNS45LDYuMSw4LjgsOS4xDQoJCWMwLDAuMSwwLjEsMC4xLDAuMiwwYzIuOS0zLDUuOC02LDguNy05LjFjMC4xLTAuMSwwLjIsMCwwLjIsMC4xdjE3LjZjMCwwLjEtMC4xLDAuMS0wLjEsMC4xaC0zLjNjLTAuMSwwLTAuMS0wLjEtMC4xLTAuMXYtOS4yDQoJCWMtMC4yLTAuMS0wLjItMC4xLTAuMy0wLjFjLTEuNywxLjctMy40LDMuNC01LjEsNS4yYzAsMC0wLjEsMC0wLjIsMGMtMS43LTEuNy0zLjQtMy41LTUuMS01LjNjLTAuMS0wLjEtMC4yLDAtMC4yLDAuMXY5LjQNCgkJQy0yODUuNCw1MDkuNS0yODUuNCw1MDkuNi0yODUuNSw1MDkuNnoiLz4NCgk8cGF0aCBjbGFzcz0ic3QwIiBkPSJNLTMwMS4zLDQ5MS41YzUuMS0wLjEsOS4yLDMuOSw5LjMsOXMtMy45LDkuMS05LjEsOS4yYy01LjIsMC4xLTkuMi0zLjgtOS4zLTkuMQ0KCQlDLTMxMC41LDQ5NS40LTMwNi43LDQ5MS42LTMwMS4zLDQ5MS41eiBNLTMwNi44LDUwMC42YzAuMSwwLjYsMC4xLDEuMywwLjMsMS45YzAuNiwyLDEuOCwzLjQsMy44LDRjMiwwLjUsMy43LDAsNS4yLTEuNQ0KCQljMi4xLTIuMiwyLjItNS44LDAuMy04LjJjLTEuMy0xLjYtMy0yLjQtNS4yLTJDLTMwNSw0OTUuMy0zMDYuNyw0OTcuNi0zMDYuOCw1MDAuNnoiLz4NCgk8cGF0aCBjbGFzcz0ic3QwIiBkPSJNLTMzMi44LDQ5MS40YzIuOCw1LjksNS42LDExLjcsOC40LDE3LjVjMC4xLDAuMSwwLDAuMi0wLjEsMC4yYy0wLjcsMC0xLjMsMC0yLDBjLTAuNSwwLTEuMiwwLjItMS41LTAuMQ0KCQljLTAuNC0wLjItMC41LTAuOS0wLjctMS40Yy0wLjMtMC43LTAuNi0xLjQtMC45LTJjLTAuMS0wLjItMC4zLTAuMy0wLjUtMC4zYy0xLjksMC0zLjcsMC01LjYsMGMtMC4zLDAtMC41LDAuMS0wLjYsMC40DQoJCWMtMC40LDEtMC44LDEuOS0xLjIsMi45Yy0wLjEsMC4zLTAuNSwwLjUtMC44LDAuNWMtMSwwLTIsMC0zLDBjLTAuMSwwLTAuMi0wLjEtMC4xLTAuMmMyLjgtNS45LDUuNi0xMS42LDguNC0xNy41DQoJCUMtMzMzLDQ5MS4zLTMzMi44LDQ5MS4zLTMzMi44LDQ5MS40eiBNLTMzMyw0OTguNGwtMS43LDMuOGMwLDAuMSwwLDAuMiwwLjEsMC4yaDMuM2MwLjEsMCwwLjItMC4xLDAuMS0wLjJsLTEuNi0zLjgNCgkJQy0zMzIuOCw0OTguMy0zMzMsNDk4LjMtMzMzLDQ5OC40eiIvPg0KCTxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik0tMzI1LjEsNDk0LjZ2LTIuNWMwLTAuMSwwLjEtMC4yLDAuMi0wLjJoMTMuMWMwLjEsMCwwLjIsMC4xLDAuMiwwLjJ2Mi41YzAsMC4xLTAuMSwwLjItMC4yLDAuMmgtNC41DQoJCWMtMC4xLDAtMC4yLDAuMS0wLjIsMC4ydjE0LjFjMCwwLjEtMC4xLDAuMi0wLjIsMC4yaC0zLjJjLTAuMSwwLTAuMi0wLjEtMC4yLTAuMlY0OTVjMC0wLjEtMC4xLTAuMi0wLjItMC4yaC00LjUNCgkJQy0zMjUsNDk0LjgtMzI1LjEsNDk0LjctMzI1LjEsNDk0LjZ6Ii8+DQoJPHBhdGggY2xhc3M9InN0MCIgZD0iTS0yMzMsNDkxLjdoMy4yYzAuMSwwLDAuMywwLjEsMC4zLDAuM2MwLDAuMSwwLDAuMiwwLDAuMmMwLDQuOSwwLDEwLjMsMCwxNS4zYzAsMy44LTIuNSw3LTYuMSw3LjkNCgkJYy0wLjYsMC4yLTEuMywwLjItMiwwLjNjLTAuMiwwLTAuMy0wLjEtMC4zLTAuM3YtMi42YzAtMC4xLDAuMS0wLjMsMC4yLTAuM2MwLjMsMCwwLjYsMCwwLjktMC4xYzEuOC0wLjQsMy4yLTIsMy40LTQNCgkJYzAtMC40LDAuMS0wLjksMC4xLTEuM2MwLTQuOCwwLTEwLDAtMTQuOHYtMC40Qy0yMzMuMyw0OTEuOS0yMzMuMiw0OTEuNy0yMzMsNDkxLjd6Ii8+DQoJPHBhdGggY2xhc3M9InN0MCIgZD0iTS0yNjYuNiw0OTEuOGgzLjJjMC4xLDAsMC4yLDAuMSwwLjIsMC4ydjE3LjFjMCwwLjEtMC4xLDAuMi0wLjIsMC4yaC0zLjJjLTAuMSwwLTAuMi0wLjEtMC4yLTAuMlY0OTINCgkJQy0yNjYuOCw0OTEuOS0yNjYuOCw0OTEuOC0yNjYuNiw0OTEuOHoiLz4NCgk8Zz4NCgkJPHBhdGggY2xhc3M9InN0MCIgZD0iTS0xODkuNCw0OTQuOGgtNC41Yy0wLjEsMC0wLjItMC4xLTAuMi0wLjJ2LTIuNWMwLTAuMSwwLjEtMC4yLDAuMi0wLjJoMTMuMWMwLjEsMCwwLjIsMC4xLDAuMiwwLjJ2Mi41DQoJCQljMCwwLjEtMC4xLDAuMi0wLjIsMC4yaC00LjVjLTAuMSwwLTAuMiwwLjEtMC4yLDAuMnYxNC4xYzAsMC4xLTAuMSwwLjItMC4yLDAuMmgtMy4yYy0wLjEsMC0wLjItMC4xLTAuMi0wLjJWNDk1DQoJCQlDLTE4OS4xLDQ5NC45LTE4OS4yLDQ5NC44LTE4OS40LDQ5NC44eiIvPg0KCTwvZz4NCjwvZz4NCjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik0tMzYyLDQ4NS44bC04LjctN2MtMC4xLTAuMS0wLjItMC4xLTAuMywwbC0xOC4zLDI2LjVjLTAuMSwwLjEsMCwwLjIsMCwwLjJsMTUsMTZjMCwwLjEsMC4xLDAuMSwwLjIsMC4xDQoJbDE5LjItNS4xYzAuMSwwLDAuMi0wLjEsMC4xLTAuMmwtNy4zLTMwLjRDLTM2MS45LDQ4NS45LTM2Miw0ODUuOS0zNjIsNDg1Ljh6IE0tMzc5LjcsNTEyLjVsMTEuMi0xNmMwLjEtMC4xLDAuMy0wLjEsMC40LDAuMQ0KCWwyLjcsMTIuOWMwLDAuMSwwLDAuMi0wLjEsMC4ybC0xMy4zLDMuN2MtMC4xLDAtMC4xLDAtMC4yLTAuMWwtMC41LTAuNUMtMzc5LjgsNTEyLjctMzc5LjgsNTEyLjYtMzc5LjcsNTEyLjV6IE0tMzY3LjMsNDkxDQoJTC0zNjcuMyw0OTFsLTEuNy03LjdjMC0wLjIsMC4yLTAuMywwLjMtMC4ybDQuMywzLjRjMC4xLDAuMSwwLjEsMC4yLDAsMC4zTC0zNjcuMyw0OTFMLTM2Ny4zLDQ5MXogTS0zNzEuMSw0ODMuM2wyLjIsMTANCgljMCwwLjEsMCwwLjEsMCwwLjJsLTEyLjIsMTcuNGMtMC4xLDAuMS0wLjIsMC4xLTAuMywwbC01LjEtNS41Yy0wLjEtMC4xLTAuMS0wLjIsMC0wLjJsMTUuMi0yMg0KCUMtMzcxLjQsNDgzLjEtMzcxLjEsNDgzLjEtMzcxLjEsNDgzLjN6IE0tMzc3LjIsNTE1bDEzLjktMy45YzAuMSwwLDAuMi0wLjEsMC4xLTAuMmwtMy41LTE3YzAtMC4xLDAtMC4xLDAtMC4ybDMuMS00LjQNCgljMC4xLTAuMSwwLjMtMC4xLDAuNCwwLjFsNi4yLDI1LjVjMCwwLjEsMCwwLjItMC4xLDAuMmwtMTYuMSw0LjNjLTAuMSwwLTAuMSwwLTAuMi0wLjFsLTMuOC00Qy0zNzcuNCw1MTUuMi0zNzcuNCw1MTUtMzc3LjIsNTE1eiINCgkvPg0KPC9zdmc+DQo="},1486,function(e,t,n,r){var o=n(r);e.exports=function(e){if(!o(e))throw TypeError(e+" is not an object!");return e}},,,,function(e,t,n,r,o,i){var a=n(r),s=n(o),u=n(i);e.exports=function(e){return function(t,n,r){var o,i=a(t),l=s(i.length),c=u(r,l);if(e&&n!=n){for(;l>c;)if(o=i[c++],o!=o)return!0}else for(;l>c;c++)if((e||c in i)&&i[c]===n)return e||c||0;return!e&&-1}}},,,,function(e,t,n,r,o){var i=n(r),a=n(o)("toStringTag"),s="Arguments"==i(function(){return arguments}()),u=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=u(t=Object(e),a))?n:s?i(t):"Object"==(r=i(t))&&"function"==typeof t.callee?"Arguments":r}},,,,function(e,t,n,r,o){"use strict";var i=n(r),a=n(o);e.exports=function(e,t,n){t in e?i.f(e,t,a(0,n)):e[t]=n}},,,function(e,t,n,r){var o=n(r);e.exports=function(e,t,n){if(o(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},,function(e,t,n,r){e.exports=!n(r)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},,function(e,t,n,r,o){var i=n(r),a=n(o).document,s=i(a)&&i(a.createElement);e.exports=function(e){return s?a.createElement(e):{}}},function(e,t,n,r,o,i){var a=n(r),s=n(o),u=n(i);e.exports=function(e){var t=a(e),n=s.f;if(n)for(var r,o=n(e),i=u.f,l=0;o.length>l;)i.call(e,r=o[l++])&&t.push(r);return t}},,,function(e,t,n,r,o,i,a,s,u){var l=n(r),c=n(o),d=n(i),f=n(a),p=n(s),h=n(u),m={},g={},t=e.exports=function(e,t,n,r,o){var i,a,s,u,v=o?function(){return e}:h(e),y=l(n,r,t?2:1),b=0;if("function"!=typeof v)throw TypeError(e+" is not iterable!");if(d(v)){for(i=p(e.length);i>b;b++)if(u=t?y(f(a=e[b])[0],a[1]):y(e[b]),u===m||u===g)return u}else for(s=v.call(e);!(a=s.next()).done;)if(u=c(s,y,a.value,t),u===m||u===g)return u};t.BREAK=m,t.RETURN=g},function(e,t,n,r,o,i){var a=n(r),s=n(o);e.exports=n(i)?function(e,t,n){return a.f(e,t,s(1,n))}:function(e,t,n){return e[t]=n,e}},,function(e,t,n,r){e.exports=n(r).document&&document.documentElement},,,function(e,t,n,r,o,i){e.exports=!n(r)&&!n(o)(function(){return 7!=Object.defineProperty(n(i)("div"),"a",{get:function(){return 7}}).a})},,function(e,t,n,r){var o=n(r);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==o(e)?e.split(""):Object(e)}},function(e,t,n,r,o){var i=n(r),a=n(o)("iterator"),s=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||s[a]===e)}},,,function(e,t,n,r){var o=n(r);e.exports=Array.isArray||function(e){return"Array"==o(e)}},function(e,t,n,r){var o=n(r),i=Math.floor;e.exports=function(e){return!o(e)&&isFinite(e)&&i(e)===e}},,,function(e,t,n,r){var o=n(r);e.exports=function(e,t,n,r){try{return r?t(o(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&o(i.call(e)),t}}},,function(e,t,n,r,o,i,a,s){"use strict";var u=n(r),l=n(o),c=n(i),d={};n(a)(d,n(s)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=u(d,{next:l(1,n)}),c(e,t+" Iterator")}},,function(e,t,n,r,o,i,a,s,u,l,c,d,f){"use strict";var p=n(r),h=n(o),m=n(i),g=n(a),v=n(s),y=n(u),b=n(l),_=n(c),w=n(d),C=n(f)("iterator"),x=!([].keys&&"next"in[].keys()),E="@@iterator",T="keys",k="values",S=function(){return this};e.exports=function(e,t,n,r,o,i,a){b(n,t,r);var s,u,l,c=function(e){if(!x&&e in M)return M[e];switch(e){case T:return function(){return new n(this,e)};case k:return function(){return new n(this,e)}}return function(){return new n(this,e)}},d=t+" Iterator",f=o==k,O=!1,M=e.prototype,A=M[C]||M[E]||o&&M[o],N=A||c(o),I=o?f?c("entries"):N:void 0,P="Array"==t?M.entries||A:A;if(P&&(l=w(P.call(new e)),l!==Object.prototype&&(_(l,d,!0),p||v(l,C)||g(l,C,S))),f&&A&&A.name!==k&&(O=!0,N=function(){return A.call(this)}),p&&!a||!x&&!O&&M[C]||g(M,C,N),y[t]=N,y[d]=S,o)if(s={values:f?N:c(k),keys:i?N:c(T),entries:I},a)for(u in s)u in M||m(M,u,s[u]);else h(h.P+h.F*(x||O),t,s);return s}},,function(e,t,n,r){var o=n(r)("iterator"),i=!1;try{var a=[7][o]();a.return=function(){i=!0},Array.from(a,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var r=[7],a=r[o]();a.next=function(){return{done:n=!0}},r[o]=function(){return a},e(r)}catch(e){}return n}},function(e,t,n,r,o){var i=n(r),a=n(o);e.exports=function(e,t){for(var n,r=a(e),o=i(r),s=o.length,u=0;s>u;)if(r[n=o[u++]]===t)return n}},,,function(e,t,n,r,o,i,a,s){var u=n(r)("meta"),l=n(o),c=n(i),d=n(a).f,f=0,p=Object.isExtensible||function(){return!0},h=!n(s)(function(){return p(Object.preventExtensions({}))}),m=function(e){d(e,u,{value:{i:"O"+ ++f,w:{}}})},g=function(e,t){if(!l(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!c(e,u)){if(!p(e))return"F";if(!t)return"E";m(e)}return e[u].i},v=function(e,t){if(!c(e,u)){if(!p(e))return!0;if(!t)return!1;m(e)}return e[u].w},y=function(e){return h&&b.NEED&&p(e)&&!c(e,u)&&m(e),e},b=e.exports={KEY:u,NEED:!1,fastKey:g,getWeak:v,onFreeze:y}},,function(e,t,n,r,o,i){var a=n(r),s=n(o).set,u=a.MutationObserver||a.WebKitMutationObserver,l=a.process,c=a.Promise,d="process"==n(i)(l);e.exports=function(){var e,t,n,r=function(){var r,o;for(d&&(r=l.domain)&&r.exit();e;){o=e.fn,e=e.next;try{o()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(d)n=function(){l.nextTick(r)};else if(u){var o=!0,i=document.createTextNode("");new u(r).observe(i,{characterData:!0}),n=function(){i.data=o=!o}}else if(c&&c.resolve){var f=c.resolve();n=function(){f.then(r)}}else n=function(){s.call(a,r)};return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}},function(e,t,n,r,o,i,a,s,u){"use strict";var l=n(r),c=n(o),d=n(i),f=n(a),p=n(s),h=Object.assign;e.exports=!h||n(u)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=h({},e)[n]||Object.keys(h({},t)).join("")!=r})?function(e,t){for(var n=f(e),r=arguments.length,o=1,i=c.f,a=d.f;r>o;)for(var s,u=p(arguments[o++]),h=i?l(u).concat(i(u)):l(u),m=h.length,g=0;m>g;)a.call(u,s=h[g++])&&(n[s]=u[s]);return n}:h},,,function(e,t,n,r,o,i,a,s,u){var l=n(r),c=n(o),d=n(i),f=n(a)("IE_PROTO"),p=function(){},h="prototype",m=function(){var e,t=n(s)("iframe"),r=d.length,o="<",i=">";for(t.style.display="none",n(u).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(o+"script"+i+"document.F=Object"+o+"/script"+i),e.close(),m=e.F;r--;)delete m[h][d[r]];return m()};e.exports=Object.create||function(e,t){var n;return null!==e?(p[h]=l(e),n=new p,p[h]=null,n[f]=e):n=m(),void 0===t?n:c(n,t)}},,function(e,t,n,r,o,i,a){var s=n(r),u=n(o),l=n(i),c=Object.defineProperty;t.f=n(a)?Object.defineProperty:function(e,t,n){if(s(e),t=l(t,!0),s(n),u)try{return c(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},,function(e,t,n,r,o,i,a){var s=n(r),u=n(o),l=n(i);e.exports=n(a)?Object.defineProperties:function(e,t){u(e);for(var n,r=l(t),o=r.length,i=0;o>i;)s.f(e,n=r[i++],t[n]);return e}},,function(e,t,n,r,o,i,a,s,u,l){var c=n(r),d=n(o),f=n(i),p=n(a),h=n(s),m=n(u),g=Object.getOwnPropertyDescriptor;t.f=n(l)?g:function(e,t){if(e=f(e),t=p(t,!0),m)try{return g(e,t)}catch(e){}if(h(e,t))return d(!c.f.call(e,t),e[t])}},function(e,t,n,r,o){var i=n(r),a=n(o).f,s={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],l=function(e){try{return a(e)}catch(e){return u.slice()}};e.exports.f=function(e){return u&&"[object Window]"==s.call(e)?l(e):a(i(e))}},,,function(e,t,n,r,o){var i=n(r),a=n(o).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,a)}},function(e,t,n,r,o,i){var a=n(r),s=n(o),u=n(i)("IE_PROTO"),l=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=s(e),a(e,u)?e[u]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},,function(e,t,n,r,o,i,a){var s=n(r),u=n(o),l=n(i)(!1),c=n(a)("IE_PROTO");e.exports=function(e,t){var n,r=u(e),o=0,i=[];for(n in r)n!=c&&s(r,n)&&i.push(n);for(;t.length>o;)s(r,n=t[o++])&&(~l(i,n)||i.push(n));return i}},,function(e,t,n,r,o){var i=n(r),a=n(o);e.exports=Object.keys||function(e){return i(e,a)}},,,function(e,t,n,r,o,i){var a=n(r),s=n(o),u=n(i);e.exports=function(e,t){var n=(s.Object||{})[e]||Object[e],r={};r[e]=t(n),a(a.S+a.F*u(function(){n(1)}),"Object",r)}},,function(e,t,n,r,o,i,a){var s=n(r),u=n(o),l=function(e,t){if(u(e),!s(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{r=n(i)(Function.call,n(a).f(Object.prototype,"__proto__").set,2),r(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return l(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:l}},function(e,t,n,r,o,i){var a=n(r).f,s=n(o),u=n(i)("toStringTag");e.exports=function(e,t,n){e&&!s(e=n?e:e.prototype,u)&&a(e,u,{configurable:!0,value:t})}},,function(e,t,n,r,o){var i=n(r)("keys"),a=n(o);e.exports=function(e){return i[e]||(i[e]=a(e))}},,function(e,t,n,r){var o=n(r),i="__core-js_shared__",a=o[i]||(o[i]={});e.exports=function(e){return a[e]||(a[e]={})}},,function(e,t,n,r,o,i){var a=n(r),s=n(o),u=n(i)("species");e.exports=function(e,t){var n,r=a(e).constructor;return void 0===r||void 0==(n=a(r)[u])?t:s(n)}},,function(e,t,n,r,o){var i=n(r),a=n(o);e.exports=function(e){return function(t,n){var r,o,s=String(a(t)),u=i(n),l=s.length;return u<0||u>=l?e?"":void 0:(r=s.charCodeAt(u),r<55296||r>56319||u+1===l||(o=s.charCodeAt(u+1))<56320||o>57343?e?s.charAt(u):r:e?s.slice(u,u+2):(r-55296<<10)+(o-56320)+65536)}}},,,function(e,t,n,r,o,i,a,s,u){var l,c,d,f=n(r),p=n(o),h=n(i),m=n(a),g=n(s),v=g.process,y=g.setImmediate,b=g.clearImmediate,_=g.MessageChannel,w=0,C={},x="onreadystatechange",E=function(){var e=+this;if(C.hasOwnProperty(e)){var t=C[e];delete C[e],t()}},T=function(e){E.call(e.data)};y&&b||(y=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return C[++w]=function(){p("function"==typeof e?e:Function(e),t)},l(w),w},b=function(e){delete C[e]},"process"==n(u)(v)?l=function(e){v.nextTick(f(E,e,1))}:_?(c=new _,d=c.port2,c.port1.onmessage=T,l=f(d.postMessage,d,1)):g.addEventListener&&"function"==typeof postMessage&&!g.importScripts?(l=function(e){g.postMessage(e+"","*")},g.addEventListener("message",T,!1)):l=x in m("script")?function(e){h.appendChild(m("script"))[x]=function(){h.removeChild(this),E.call(e)}}:function(e){setTimeout(f(E,e,1),0)}),e.exports={set:y,clear:b}},,function(e,t,n,r){var o=n(r),i=Math.max,a=Math.min;e.exports=function(e,t){return e=o(e),e<0?i(e+t,0):a(e,t)}},function(e,t,n,r,o){var i=n(r),a=n(o);e.exports=function(e){return i(a(e))}},,function(e,t,n,r){var o=n(r),i=Math.min;e.exports=function(e){return e>0?i(o(e),9007199254740991):0}},,function(e,t,n,r){var o=n(r);e.exports=function(e){return Object(o(e))}},,,function(e,t,n,r){var o=n(r);e.exports=function(e,t){if(!o(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!o(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!o(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!o(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},,function(e,t,n,r,o,i,a,s){var u=n(r),l=n(o),c=n(i),d=n(a),f=n(s).f;e.exports=function(e){var t=l.Symbol||(l.Symbol=c?{}:u.Symbol||{});"_"==e.charAt(0)||e in t||f(t,e,{value:d.f(e)})}},,function(e,t,n,r){t.f=n(r)},function(e,t,n,r,o,i){var a=n(r)("wks"),s=n(o),u=n(i).Symbol,l="function"==typeof u,c=e.exports=function(e){return a[e]||(a[e]=l&&u[e]||(l?u:s)("Symbol."+e))};c.store=a},,function(e,t,n,r,o,i,a){var s=n(r),u=n(o)("iterator"),l=n(i);e.exports=n(a).getIteratorMethod=function(e){if(void 0!=e)return e[u]||e["@@iterator"]||l[s(e)]}},,function(e,t,n,r,o,i,a,s,u,l,c,d){"use strict";var f=n(r),p=n(o),h=n(i),m=n(a),g=n(s),v=n(u),y=n(l),b=n(c);p(p.S+p.F*!n(d)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,r,o,i=h(e),a="function"==typeof this?this:Array,s=arguments.length,u=s>1?arguments[1]:void 0,l=void 0!==u,c=0,d=b(i);if(l&&(u=f(u,s>2?arguments[2]:void 0,2)),void 0==d||a==Array&&g(d))for(t=v(i.length),n=new a(t);t>c;c++)y(n,c,l?u(i[c],c):i[c]);else for(o=d.call(i),n=new a;!(r=o.next()).done;c++)y(n,c,l?m(o,u,[r.value,c],!0):r.value);return n.length=c,n}})},,function(e,t,n,r,o,i,a,s){"use strict";var u=n(r),l=n(o),c=n(i),d=n(a);e.exports=n(s)(Array,"Array",function(e,t){this._t=d(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,l(1)):"keys"==t?l(0,n):"values"==t?l(0,e[n]):l(0,[n,e[n]])},"values"),c.Arguments=c.Array,u("keys"),u("values"),u("entries")},,function(e,t,n,r,o){var i=n(r),a=n(o),s=Math.abs;i(i.S,"Number",{isSafeInteger:function(e){return a(e)&&s(e)<=9007199254740991}})},,function(e,t,n,r,o){var i=n(r);i(i.S+i.F,"Object",{assign:n(o)})},,function(e,t,n,r,o){var i=n(r);i(i.S,"Object",{create:n(o)})},,function(e,t,n,r,o,i){var a=n(r);a(a.S+a.F*!n(o),"Object",{defineProperty:n(i).f})},,function(e,t,n,r,o,i){var a=n(r),s=n(o).onFreeze;n(i)("freeze",function(e){return function(t){return e&&a(t)?e(s(t)):t}})},,function(e,t,n,r,o){n(r)("getOwnPropertyNames",function(){return n(o).f})},,function(e,t,n,r,o,i){var a=n(r),s=n(o);n(i)("getPrototypeOf",function(){return function(e){return s(a(e))}})},,function(e,t,n,r,o,i){var a=n(r),s=n(o);n(i)("keys",function(){return function(e){return s(a(e))}})},,,function(e,t,n,r,o){var i=n(r);i(i.S,"Object",{setPrototypeOf:n(o).set})},,function(e,t,n,r,o,i,a,s,u,l,c,d,f,p,h,m,g,v,y,b,_){"use strict";var w,C,x,E=n(r),T=n(o),k=n(i),S=n(a),O=n(s),M=n(u),A=n(l),N=n(c),I=n(d),P=n(f),D=n(p).set,R=n(h)(),j="Promise",L=T.TypeError,B=T.process,F=T[j],B=T.process,U="process"==S(B),H=function(){},z=!!function(){try{var e=F.resolve(1),t=(e.constructor={})[n(m)("species")]=function(e){e(H,H)};return(U||"function"==typeof PromiseRejectionEvent)&&e.then(H)instanceof t}catch(e){}}(),q=function(e,t){return e===t||e===F&&t===x},W=function(e){var t;return!(!M(e)||"function"!=typeof(t=e.then))&&t},V=function(e){return q(F,e)?new G(e):new C(e)},G=C=function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw L("Bad Promise constructor");t=e,n=r}),this.resolve=A(t),this.reject=A(n)},Y=function(e){try{e()}catch(e){return{error:e}}},K=function(e,t){if(!e._n){e._n=!0;var n=e._c;R(function(){for(var r=e._v,o=1==e._s,i=0,a=function(t){var n,i,a=o?t.ok:t.fail,s=t.resolve,u=t.reject,l=t.domain;try{a?(o||(2==e._h&&Q(e),e._h=1),a===!0?n=r:(l&&l.enter(),n=a(r),l&&l.exit()),n===t.promise?u(L("Promise-chain cycle")):(i=W(n))?i.call(n,s,u):s(n)):u(r)}catch(e){u(e)}};n.length>i;)a(n[i++]);e._c=[],e._n=!1,t&&!e._h&&$(e)})}},$=function(e){D.call(T,function(){var t,n,r,o=e._v;if(X(e)&&(t=Y(function(){U?B.emit("unhandledRejection",o,e):(n=T.onunhandledrejection)?n({promise:e,reason:o}):(r=T.console)&&r.error&&r.error("Unhandled promise rejection",o)}),e._h=U||X(e)?2:1),e._a=void 0,t)throw t.error})},X=function(e){if(1==e._h)return!1;for(var t,n=e._a||e._c,r=0;n.length>r;)if(t=n[r++],t.fail||!X(t.promise))return!1;return!0},Q=function(e){D.call(T,function(){var t;U?B.emit("rejectionHandled",e):(t=T.onrejectionhandled)&&t({promise:e,reason:e._v})})},J=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),K(t,!0))},Z=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw L("Promise can't be resolved itself");(t=W(e))?R(function(){var r={_w:n,_d:!1};try{t.call(e,k(Z,r,1),k(J,r,1))}catch(e){J.call(r,e)}}):(n._v=e,n._s=1,K(n,!1))}catch(e){J.call({_w:n,_d:!1},e)}}};z||(F=function(e){N(this,F,j,"_h"),A(e),w.call(this);try{e(k(Z,this,1),k(J,this,1))}catch(e){J.call(this,e)}},w=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},w.prototype=n(g)(F.prototype,{then:function(e,t){var n=V(P(this,F));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=U?B.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&K(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),G=function(){var e=new w;this.promise=e,this.resolve=k(Z,e,1),this.reject=k(J,e,1)}),O(O.G+O.W+O.F*!z,{Promise:F}),n(v)(F,j),n(y)(j),x=n(b)[j],O(O.S+O.F*!z,j,{reject:function(e){var t=V(this),n=t.reject;return n(e),t.promise}}),O(O.S+O.F*(E||!z),j,{resolve:function(e){if(e instanceof F&&q(e.constructor,this))return e;var t=V(this),n=t.resolve;return n(e),t.promise}}),O(O.S+O.F*!(z&&n(_)(function(e){F.all(e).catch(H)})),j,{all:function(e){var t=this,n=V(t),r=n.resolve,o=n.reject,i=Y(function(){var n=[],i=0,a=1;I(e,!1,function(e){var s=i++,u=!1;n.push(void 0),a++,t.resolve(e).then(function(e){u||(u=!0,n[s]=e,--a||r(n))},o)}),--a||r(n)});return i&&o(i.error),n.promise},race:function(e){var t=this,n=V(t),r=n.reject,o=Y(function(){I(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o&&r(o.error),n.promise}})},,function(e,t,n,r,o){"use strict";var i=n(r)(!0);n(o)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=i(t,n),this._i+=e.length,{value:e,done:!1})})},,,function(e,t,n,r,o,i,a,s,u,l,c,d,f,p,h,m,g,v,y,b,_,w,C,x,E,T,k,S,O,M,A,N,I){"use strict";var P=n(r),D=n(o),R=n(i),j=n(a),L=n(s),B=n(u).KEY,F=n(l),U=n(c),H=n(d),z=n(f),q=n(p),W=n(h),V=n(m),G=n(g),Y=n(v),K=n(y),$=n(b),X=n(_),Q=n(w),J=n(C),Z=n(x),ee=n(E),te=n(T),ne=n(k),re=n(S),oe=te.f,ie=ne.f,ae=ee.f,se=P.Symbol,ue=P.JSON,le=ue&&ue.stringify,ce="prototype",de=q("_hidden"),fe=q("toPrimitive"),pe={}.propertyIsEnumerable,he=U("symbol-registry"),me=U("symbols"),ge=U("op-symbols"),ve=Object[ce],ye="function"==typeof se,be=P.QObject,_e=!be||!be[ce]||!be[ce].findChild,we=R&&F(function(){return 7!=Z(ie({},"a",{get:function(){return ie(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=oe(ve,t);r&&delete ve[t],ie(e,t,n),r&&e!==ve&&ie(ve,t,r)}:ie,Ce=function(e){var t=me[e]=Z(se[ce]);return t._k=e,t},xe=ye&&"symbol"==typeof se.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof se},Ee=function(e,t,n){return e===ve&&Ee(ge,t,n),$(e),t=Q(t,!0),$(n),D(me,t)?(n.enumerable?(D(e,de)&&e[de][t]&&(e[de][t]=!1),n=Z(n,{enumerable:J(0,!1)})):(D(e,de)||ie(e,de,J(1,{})),e[de][t]=!0),we(e,t,n)):ie(e,t,n)},Te=function(e,t){$(e);for(var n,r=Y(t=X(t)),o=0,i=r.length;i>o;)Ee(e,n=r[o++],t[n]);return e},ke=function(e,t){return void 0===t?Z(e):Te(Z(e),t)},Se=function(e){var t=pe.call(this,e=Q(e,!0));return!(this===ve&&D(me,e)&&!D(ge,e))&&(!(t||!D(this,e)||!D(me,e)||D(this,de)&&this[de][e])||t)},Oe=function(e,t){if(e=X(e),t=Q(t,!0),e!==ve||!D(me,t)||D(ge,t)){var n=oe(e,t);return!n||!D(me,t)||D(e,de)&&e[de][t]||(n.enumerable=!0),
+n}},Me=function(e){for(var t,n=ae(X(e)),r=[],o=0;n.length>o;)D(me,t=n[o++])||t==de||t==B||r.push(t);return r},Ae=function(e){for(var t,n=e===ve,r=ae(n?ge:X(e)),o=[],i=0;r.length>i;)!D(me,t=r[i++])||n&&!D(ve,t)||o.push(me[t]);return o};ye||(se=function(){if(this instanceof se)throw TypeError("Symbol is not a constructor!");var e=z(arguments.length>0?arguments[0]:void 0),t=function(n){this===ve&&t.call(ge,n),D(this,de)&&D(this[de],e)&&(this[de][e]=!1),we(this,e,J(1,n))};return R&&_e&&we(ve,e,{configurable:!0,set:t}),Ce(e)},L(se[ce],"toString",function(){return this._k}),te.f=Oe,ne.f=Ee,n(O).f=ee.f=Me,n(M).f=Se,n(A).f=Ae,R&&!n(N)&&L(ve,"propertyIsEnumerable",Se,!0),W.f=function(e){return Ce(q(e))}),j(j.G+j.W+j.F*!ye,{Symbol:se});for(var Ne="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),Ie=0;Ne.length>Ie;)q(Ne[Ie++]);for(var Ne=re(q.store),Ie=0;Ne.length>Ie;)V(Ne[Ie++]);j(j.S+j.F*!ye,"Symbol",{for:function(e){return D(he,e+="")?he[e]:he[e]=se(e)},keyFor:function(e){if(xe(e))return G(he,e);throw TypeError(e+" is not a symbol!")},useSetter:function(){_e=!0},useSimple:function(){_e=!1}}),j(j.S+j.F*!ye,"Object",{create:ke,defineProperty:Ee,defineProperties:Te,getOwnPropertyDescriptor:Oe,getOwnPropertyNames:Me,getOwnPropertySymbols:Ae}),ue&&j(j.S+j.F*(!ye||F(function(){var e=se();return"[null]"!=le([e])||"{}"!=le({a:e})||"{}"!=le(Object(e))})),"JSON",{stringify:function(e){if(void 0!==e&&!xe(e)){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);return t=r[1],"function"==typeof t&&(n=t),!n&&K(t)||(t=function(e,t){if(n&&(t=n.call(this,e,t)),!xe(t))return t}),r[1]=t,le.apply(ue,r)}}}),se[ce][fe]||n(I)(se[ce],fe,se[ce].valueOf),H(se,"Symbol"),H(Math,"Math",!0),H(P.JSON,"JSON",!0)},,,function(e,t,n,r){n(r)("asyncIterator")},,function(e,t,n,r){n(r)("observable")},,,function(e,t,n,r){"use strict";var o=n(r),i=(n(10),function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)}),a=function(e,t){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,e,t),r}return new n(e,t)},s=function(e,t,n){var r=this;if(r.instancePool.length){var o=r.instancePool.pop();return r.call(o,e,t,n),o}return new r(e,t,n)},u=function(e,t,n,r){var o=this;if(o.instancePool.length){var i=o.instancePool.pop();return o.call(i,e,t,n,r),i}return new o(e,t,n,r)},l=function(e){var t=this;e instanceof t?void 0:o("25"),e.destructor(),t.instancePool.length<t.poolSize&&t.instancePool.push(e)},c=10,d=i,f=function(e,t){var n=e;return n.instancePool=[],n.getPooled=t||d,n.poolSize||(n.poolSize=c),n.release=l,n},p={addPoolingTo:f,oneArgumentPooler:i,twoArgumentPooler:a,threeArgumentPooler:s,fourArgumentPooler:u};e.exports=p}]));
\ No newline at end of file
diff -ruN oac/author-34ad1d81e0736482985d_bundle.js oac-new/author-34ad1d81e0736482985d_bundle.js
--- oac/author-34ad1d81e0736482985d_bundle.js	2017-05-06 16:57:15.000000000 +0530
+++ oac-new/author-34ad1d81e0736482985d_bundle.js	1970-01-01 05:30:00.000000000 +0530
@@ -1,123 +0,0 @@
-!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/oac/",t(0)}(function(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))switch(typeof e[t]){case"function":break;case"object":e[t]=function(t){var n=t.slice(1),r=e[t[0]];return function(e,t,o){r.apply(this,[e,t,o].concat(n))}}(e[t]);break;default:e[t]=e[e[t]]}return e}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),l=r(u),c=n(8),d=r(c),f=n(6),p=r(f);n(537);var h=n(834),m=r(h),v=n(1),g=r(v),y=n(103),b=r(y),_=n(43),w=n(1103),C=r(w),x=n(1314),E=r(x),T=n(329),k=r(T),S=n(1344),M=r(S),O=n(533),A=r(O),N=n(1227);m.default.polyfill(),(0,C.default)();var I=(g.default.createElement(k.default,null),function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e=null,t=this.props.store;return g.default.createElement(_.Provider,{store:t},g.default.createElement("div",null,E.default,e))}}]),t}(g.default.PureComponent)),P=(0,N.getInitialSettings)(window.DEFAULT_SETTINGS),D=(0,M.default)({settings:P,jwt:window.DEFAULT_JWT});window.DEFAULT_JWT&&(0,A.default)(D.dispatch,P.userId),b.default.render(g.default.createElement(I,{store:D}),document.getElementById("main-app"))},function(e,t,n){"use strict";e.exports=n(124)},function(e,t,n){var r=n(13),o=n(67),i=n(39),a=n(40),s=n(68),u="prototype",l=function(e,t,n){var c,d,f,p,h=e&l.F,m=e&l.G,v=e&l.S,g=e&l.P,y=e&l.B,b=m?r:v?r[t]||(r[t]={}):(r[t]||{})[u],_=m?o:o[t]||(o[t]={}),w=_[u]||(_[u]={});m&&(n=t);for(c in n)d=!h&&b&&void 0!==b[c],f=(d?b:n)[c],p=y&&d?s(f,r):g&&"function"==typeof f?s(Function.call,f):f,b&&a(b,c,f,e&l.U),_[c]!=f&&i(_,c,p),g&&w[c]!=f&&(w[c]=f)};r.core=o,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){var r;(function(e,o){(function(){function i(e,t){return e.set(t[0],t[1]),e}function a(e,t){return e.add(t),e}function s(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function u(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}function l(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}function c(e,t){for(var n=null==e?0:e.length;n--&&t(e[n],n,e)!==!1;);return e}function d(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function f(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function p(e,t){var n=null==e?0:e.length;return!!n&&E(e,t,0)>-1}function h(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function m(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function v(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function g(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function y(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function b(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function _(e){return e.split("")}function w(e){return e.match(qt)||[]}function C(e,t,n){var r;return n(e,function(e,n,o){if(t(e,n,o))return r=n,!1}),r}function x(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function E(e,t,n){return t===t?Q(e,t,n):x(e,k,n)}function T(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function k(e){return e!==e}function S(e,t){var n=null==e?0:e.length;return n?I(e,t)/n:Le}function M(e){return function(t){return null==t?oe:t[e]}}function O(e){return function(t){return null==e?oe:e[t]}}function A(e,t,n,r,o){return o(e,function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)}),n}function N(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}function I(e,t){for(var n,r=-1,o=e.length;++r<o;){var i=t(e[r]);i!==oe&&(n=n===oe?i:n+i)}return n}function P(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function D(e,t){return m(t,function(t){return[t,e[t]]})}function R(e){return function(t){return e(t)}}function j(e,t){return m(t,function(t){return e[t]})}function L(e,t){return e.has(t)}function B(e,t){for(var n=-1,r=e.length;++n<r&&E(t,e[n],0)>-1;);return n}function F(e,t){for(var n=e.length;n--&&E(t,e[n],0)>-1;);return n}function U(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}function H(e){return"\\"+nr[e]}function z(e,t){return null==e?oe:e[t]}function q(e){return Yn.test(e)}function W(e){return $n.test(e)}function V(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function G(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function Y(e,t){return function(n){return e(t(n))}}function $(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n];a!==t&&a!==de||(e[n]=de,i[o++]=n)}return i}function K(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function X(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=[e,e]}),n}function Q(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}function J(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}function Z(e){return q(e)?te(e):br(e)}function ee(e){return q(e)?ne(e):_(e)}function te(e){for(var t=Vn.lastIndex=0;Vn.test(e);)++t;return t}function ne(e){return e.match(Vn)||[]}function re(e){return e.match(Gn)||[]}var oe,ie="4.17.4",ae=200,se="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",ue="Expected a function",le="__lodash_hash_undefined__",ce=500,de="__lodash_placeholder__",fe=1,pe=2,he=4,me=1,ve=2,ge=1,ye=2,be=4,_e=8,we=16,Ce=32,xe=64,Ee=128,Te=256,ke=512,Se=30,Me="...",Oe=800,Ae=16,Ne=1,Ie=2,Pe=3,De=1/0,Re=9007199254740991,je=1.7976931348623157e308,Le=NaN,Be=4294967295,Fe=Be-1,Ue=Be>>>1,He=[["ary",Ee],["bind",ge],["bindKey",ye],["curry",_e],["curryRight",we],["flip",ke],["partial",Ce],["partialRight",xe],["rearg",Te]],ze="[object Arguments]",qe="[object Array]",We="[object AsyncFunction]",Ve="[object Boolean]",Ge="[object Date]",Ye="[object DOMException]",$e="[object Error]",Ke="[object Function]",Xe="[object GeneratorFunction]",Qe="[object Map]",Je="[object Number]",Ze="[object Null]",et="[object Object]",tt="[object Promise]",nt="[object Proxy]",rt="[object RegExp]",ot="[object Set]",it="[object String]",at="[object Symbol]",st="[object Undefined]",ut="[object WeakMap]",lt="[object WeakSet]",ct="[object ArrayBuffer]",dt="[object DataView]",ft="[object Float32Array]",pt="[object Float64Array]",ht="[object Int8Array]",mt="[object Int16Array]",vt="[object Int32Array]",gt="[object Uint8Array]",yt="[object Uint8ClampedArray]",bt="[object Uint16Array]",_t="[object Uint32Array]",wt=/\b__p \+= '';/g,Ct=/\b(__p \+=) '' \+/g,xt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Et=/&(?:amp|lt|gt|quot|#39);/g,Tt=/[&<>"']/g,kt=RegExp(Et.source),St=RegExp(Tt.source),Mt=/<%-([\s\S]+?)%>/g,Ot=/<%([\s\S]+?)%>/g,At=/<%=([\s\S]+?)%>/g,Nt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,It=/^\w*$/,Pt=/^\./,Dt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Rt=/[\\^$.*+?()[\]{}|]/g,jt=RegExp(Rt.source),Lt=/^\s+|\s+$/g,Bt=/^\s+/,Ft=/\s+$/,Ut=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ht=/\{\n\/\* \[wrapped with (.+)\] \*/,zt=/,? & /,qt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Wt=/\\(\\)?/g,Vt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Gt=/\w*$/,Yt=/^[-+]0x[0-9a-f]+$/i,$t=/^0b[01]+$/i,Kt=/^\[object .+?Constructor\]$/,Xt=/^0o[0-7]+$/i,Qt=/^(?:0|[1-9]\d*)$/,Jt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Zt=/($^)/,en=/['\n\r\u2028\u2029\\]/g,tn="\\ud800-\\udfff",nn="\\u0300-\\u036f",rn="\\ufe20-\\ufe2f",on="\\u20d0-\\u20ff",an=nn+rn+on,sn="\\u2700-\\u27bf",un="a-z\\xdf-\\xf6\\xf8-\\xff",ln="\\xac\\xb1\\xd7\\xf7",cn="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",dn="\\u2000-\\u206f",fn=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",pn="A-Z\\xc0-\\xd6\\xd8-\\xde",hn="\\ufe0e\\ufe0f",mn=ln+cn+dn+fn,vn="['’]",gn="["+tn+"]",yn="["+mn+"]",bn="["+an+"]",_n="\\d+",wn="["+sn+"]",Cn="["+un+"]",xn="[^"+tn+mn+_n+sn+un+pn+"]",En="\\ud83c[\\udffb-\\udfff]",Tn="(?:"+bn+"|"+En+")",kn="[^"+tn+"]",Sn="(?:\\ud83c[\\udde6-\\uddff]){2}",Mn="[\\ud800-\\udbff][\\udc00-\\udfff]",On="["+pn+"]",An="\\u200d",Nn="(?:"+Cn+"|"+xn+")",In="(?:"+On+"|"+xn+")",Pn="(?:"+vn+"(?:d|ll|m|re|s|t|ve))?",Dn="(?:"+vn+"(?:D|LL|M|RE|S|T|VE))?",Rn=Tn+"?",jn="["+hn+"]?",Ln="(?:"+An+"(?:"+[kn,Sn,Mn].join("|")+")"+jn+Rn+")*",Bn="\\d*(?:(?:1st|2nd|3rd|(?![123])\\dth)\\b)",Fn="\\d*(?:(?:1ST|2ND|3RD|(?![123])\\dTH)\\b)",Un=jn+Rn+Ln,Hn="(?:"+[wn,Sn,Mn].join("|")+")"+Un,zn="(?:"+[kn+bn+"?",bn,Sn,Mn,gn].join("|")+")",qn=RegExp(vn,"g"),Wn=RegExp(bn,"g"),Vn=RegExp(En+"(?="+En+")|"+zn+Un,"g"),Gn=RegExp([On+"?"+Cn+"+"+Pn+"(?="+[yn,On,"$"].join("|")+")",In+"+"+Dn+"(?="+[yn,On+Nn,"$"].join("|")+")",On+"?"+Nn+"+"+Pn,On+"+"+Dn,Fn,Bn,_n,Hn].join("|"),"g"),Yn=RegExp("["+An+tn+an+hn+"]"),$n=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Kn=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Xn=-1,Qn={};Qn[ft]=Qn[pt]=Qn[ht]=Qn[mt]=Qn[vt]=Qn[gt]=Qn[yt]=Qn[bt]=Qn[_t]=!0,Qn[ze]=Qn[qe]=Qn[ct]=Qn[Ve]=Qn[dt]=Qn[Ge]=Qn[$e]=Qn[Ke]=Qn[Qe]=Qn[Je]=Qn[et]=Qn[rt]=Qn[ot]=Qn[it]=Qn[ut]=!1;var Jn={};Jn[ze]=Jn[qe]=Jn[ct]=Jn[dt]=Jn[Ve]=Jn[Ge]=Jn[ft]=Jn[pt]=Jn[ht]=Jn[mt]=Jn[vt]=Jn[Qe]=Jn[Je]=Jn[et]=Jn[rt]=Jn[ot]=Jn[it]=Jn[at]=Jn[gt]=Jn[yt]=Jn[bt]=Jn[_t]=!0,Jn[$e]=Jn[Ke]=Jn[ut]=!1;var Zn={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","Ĳ":"IJ","ĳ":"ij","Œ":"Oe","œ":"oe","ŉ":"'n","ſ":"s"},er={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},tr={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},nr={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},rr=parseFloat,or=parseInt,ir="object"==typeof e&&e&&e.Object===Object&&e,ar="object"==typeof self&&self&&self.Object===Object&&self,sr=ir||ar||Function("return this")(),ur="object"==typeof t&&t&&!t.nodeType&&t,lr=ur&&"object"==typeof o&&o&&!o.nodeType&&o,cr=lr&&lr.exports===ur,dr=cr&&ir.process,fr=function(){try{return dr&&dr.binding&&dr.binding("util")}catch(e){}}(),pr=fr&&fr.isArrayBuffer,hr=fr&&fr.isDate,mr=fr&&fr.isMap,vr=fr&&fr.isRegExp,gr=fr&&fr.isSet,yr=fr&&fr.isTypedArray,br=M("length"),_r=O(Zn),wr=O(er),Cr=O(tr),xr=function e(t){function n(e){if(lu(e)&&!wf(e)&&!(e instanceof _)){if(e instanceof o)return e;if(_c.call(e,"__wrapped__"))return aa(e)}return new o(e)}function r(){}function o(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=oe}function _(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Be,this.__views__=[]}function O(){var e=new _(this.__wrapped__);return e.__actions__=Ho(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Ho(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Ho(this.__views__),e}function Q(){if(this.__filtered__){var e=new _(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function te(){var e=this.__wrapped__.value(),t=this.__dir__,n=wf(e),r=t<0,o=n?e.length:0,i=Ai(0,o,this.__views__),a=i.start,s=i.end,u=s-a,l=r?s:a-1,c=this.__iteratees__,d=c.length,f=0,p=Xc(u,this.__takeCount__);if(!n||!r&&o==u&&p==u)return Co(e,this.__actions__);var h=[];e:for(;u--&&f<p;){l+=t;for(var m=-1,v=e[l];++m<d;){var g=c[m],y=g.iteratee,b=g.type,_=y(v);if(b==Ie)v=_;else if(!_){if(b==Ne)continue e;break e}}h[f++]=v}return h}function ne(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function qt(){this.__data__=ad?ad(null):{},this.size=0}function tn(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function nn(e){var t=this.__data__;if(ad){var n=t[e];return n===le?oe:n}return _c.call(t,e)?t[e]:oe}function rn(e){var t=this.__data__;return ad?t[e]!==oe:_c.call(t,e)}function on(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=ad&&t===oe?le:t,this}function an(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function sn(){this.__data__=[],this.size=0}function un(e){var t=this.__data__,n=Pn(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Dc.call(t,n,1),--this.size,!0}function ln(e){var t=this.__data__,n=Pn(t,e);return n<0?oe:t[n][1]}function cn(e){return Pn(this.__data__,e)>-1}function dn(e,t){var n=this.__data__,r=Pn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function fn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function pn(){this.size=0,this.__data__={hash:new ne,map:new(nd||an),string:new ne}}function hn(e){var t=ki(this,e).delete(e);return this.size-=t?1:0,t}function mn(e){return ki(this,e).get(e)}function vn(e){return ki(this,e).has(e)}function gn(e,t){var n=ki(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function yn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new fn;++t<n;)this.add(e[t])}function bn(e){return this.__data__.set(e,le),this}function _n(e){return this.__data__.has(e)}function wn(e){var t=this.__data__=new an(e);this.size=t.size}function Cn(){this.__data__=new an,this.size=0}function xn(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function En(e){return this.__data__.get(e)}function Tn(e){return this.__data__.has(e)}function kn(e,t){var n=this.__data__;if(n instanceof an){var r=n.__data__;if(!nd||r.length<ae-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new fn(r)}return n.set(e,t),this.size=n.size,this}function Sn(e,t){var n=wf(e),r=!n&&_f(e),o=!n&&!r&&xf(e),i=!n&&!r&&!o&&Mf(e),a=n||r||o||i,s=a?P(e.length,pc):[],u=s.length;for(var l in e)!t&&!_c.call(e,l)||a&&("length"==l||o&&("offset"==l||"parent"==l)||i&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||Bi(l,u))||s.push(l);return s}function Mn(e){var t=e.length;return t?e[no(0,t-1)]:oe}function On(e,t){return na(Ho(e),Fn(t,0,e.length))}function An(e){return na(Ho(e))}function Nn(e,t,n){(n===oe||Ks(e[t],n))&&(n!==oe||t in e)||Ln(e,t,n)}function In(e,t,n){var r=e[t];_c.call(e,t)&&Ks(r,n)&&(n!==oe||t in e)||Ln(e,t,n)}function Pn(e,t){for(var n=e.length;n--;)if(Ks(e[n][0],t))return n;return-1}function Dn(e,t,n,r){return yd(e,function(e,o,i){t(r,e,n(e),i)}),r}function Rn(e,t){return e&&zo(t,Wu(t),e)}function jn(e,t){return e&&zo(t,Vu(t),e)}function Ln(e,t,n){"__proto__"==t&&Bc?Bc(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Bn(e,t){for(var n=-1,r=t.length,o=ac(r),i=null==e;++n<r;)o[n]=i?oe:Hu(e,t[n]);return o}function Fn(e,t,n){return e===e&&(n!==oe&&(e=e<=n?e:n),t!==oe&&(e=e>=t?e:t)),e}function Un(e,t,n,r,o,i){var a,s=t&fe,u=t&pe,c=t&he;if(n&&(a=o?n(e,r,o,i):n(e)),a!==oe)return a;if(!uu(e))return e;var d=wf(e);if(d){if(a=Pi(e),!s)return Ho(e,a)}else{var f=Ad(e),p=f==Ke||f==Xe;if(xf(e))return Oo(e,s);if(f==et||f==ze||p&&!o){if(a=u||p?{}:Di(e),!s)return u?Wo(e,jn(a,e)):qo(e,Rn(a,e))}else{if(!Jn[f])return o?e:{};a=Ri(e,f,Un,s)}}i||(i=new wn);var h=i.get(e);if(h)return h;i.set(e,a);var m=c?u?Ci:wi:u?Vu:Wu,v=d?oe:m(e);return l(v||e,function(r,o){v&&(o=r,r=e[o]),In(a,o,Un(r,t,n,o,e,i))}),a}function Hn(e){var t=Wu(e);return function(n){return zn(n,e,t)}}function zn(e,t,n){var r=n.length;if(null==e)return!r;for(e=dc(e);r--;){var o=n[r],i=t[o],a=e[o];if(a===oe&&!(o in e)||!i(a))return!1}return!0}function Vn(e,t,n){if("function"!=typeof e)throw new hc(ue);return Pd(function(){e.apply(oe,n)},t)}function Gn(e,t,n,r){var o=-1,i=p,a=!0,s=e.length,u=[],l=t.length;if(!s)return u;n&&(t=m(t,R(n))),r?(i=h,a=!1):t.length>=ae&&(i=L,a=!1,t=new yn(t));e:for(;++o<s;){var c=e[o],d=null==n?c:n(c);if(c=r||0!==c?c:0,a&&d===d){for(var f=l;f--;)if(t[f]===d)continue e;u.push(c)}else i(t,d,r)||u.push(c)}return u}function Yn(e,t){var n=!0;return yd(e,function(e,r,o){return n=!!t(e,r,o)}),n}function $n(e,t,n){for(var r=-1,o=e.length;++r<o;){var i=e[r],a=t(i);if(null!=a&&(s===oe?a===a&&!_u(a):n(a,s)))var s=a,u=i}return u}function Zn(e,t,n,r){var o=e.length;for(n=ku(n),n<0&&(n=-n>o?0:o+n),r=r===oe||r>o?o:ku(r),r<0&&(r+=o),r=n>r?0:Su(r);n<r;)e[n++]=t;return e}function er(e,t){var n=[];return yd(e,function(e,r,o){t(e,r,o)&&n.push(e)}),n}function tr(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=Li),o||(o=[]);++i<a;){var s=e[i];t>0&&n(s)?t>1?tr(s,t-1,n,r,o):v(o,s):r||(o[o.length]=s)}return o}function nr(e,t){return e&&_d(e,t,Wu)}function ir(e,t){return e&&wd(e,t,Wu)}function ar(e,t){return f(t,function(t){return iu(e[t])})}function ur(e,t){t=So(t,e);for(var n=0,r=t.length;null!=e&&n<r;)e=e[ra(t[n++])];return n&&n==r?e:oe}function lr(e,t,n){var r=t(e);return wf(e)?r:v(r,n(e))}function dr(e){return null==e?e===oe?st:Ze:Lc&&Lc in dc(e)?Oi(e):Xi(e)}function fr(e,t){return e>t}function br(e,t){return null!=e&&_c.call(e,t)}function xr(e,t){return null!=e&&t in dc(e)}function Tr(e,t,n){return e>=Xc(t,n)&&e<Kc(t,n)}function kr(e,t,n){for(var r=n?h:p,o=e[0].length,i=e.length,a=i,s=ac(i),u=1/0,l=[];a--;){var c=e[a];a&&t&&(c=m(c,R(t))),u=Xc(c.length,u),s[a]=!n&&(t||o>=120&&c.length>=120)?new yn(a&&c):oe}c=e[0];var d=-1,f=s[0];e:for(;++d<o&&l.length<u;){var v=c[d],g=t?t(v):v;if(v=n||0!==v?v:0,!(f?L(f,g):r(l,g,n))){for(a=i;--a;){var y=s[a];if(!(y?L(y,g):r(e[a],g,n)))continue e}f&&f.push(g),l.push(v)}}return l}function Sr(e,t,n,r){return nr(e,function(e,o,i){t(r,n(e),o,i)}),r}function Mr(e,t,n){t=So(t,e),e=Ji(e,t);var r=null==e?e:e[ra(Ta(t))];return null==r?oe:s(r,e,n)}function Or(e){return lu(e)&&dr(e)==ze}function Ar(e){return lu(e)&&dr(e)==ct}function Nr(e){return lu(e)&&dr(e)==Ge}function Ir(e,t,n,r,o){return e===t||(null==e||null==t||!lu(e)&&!lu(t)?e!==e&&t!==t:Pr(e,t,n,r,Ir,o))}function Pr(e,t,n,r,o,i){var a=wf(e),s=wf(t),u=a?qe:Ad(e),l=s?qe:Ad(t);u=u==ze?et:u,l=l==ze?et:l;var c=u==et,d=l==et,f=u==l;if(f&&xf(e)){if(!xf(t))return!1;a=!0,c=!1}if(f&&!c)return i||(i=new wn),a||Mf(e)?gi(e,t,n,r,o,i):yi(e,t,u,n,r,o,i);if(!(n&me)){var p=c&&_c.call(e,"__wrapped__"),h=d&&_c.call(t,"__wrapped__");if(p||h){var m=p?e.value():e,v=h?t.value():t;return i||(i=new wn),o(m,v,n,r,i)}}return!!f&&(i||(i=new wn),bi(e,t,n,r,o,i))}function Dr(e){return lu(e)&&Ad(e)==Qe}function Rr(e,t,n,r){var o=n.length,i=o,a=!r;if(null==e)return!i;for(e=dc(e);o--;){var s=n[o];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o<i;){s=n[o];var u=s[0],l=e[u],c=s[1];if(a&&s[2]){if(l===oe&&!(u in e))return!1}else{var d=new wn;if(r)var f=r(l,c,u,e,t,d);if(!(f===oe?Ir(c,l,me|ve,r,d):f))return!1}}return!0}function jr(e){if(!uu(e)||qi(e))return!1;var t=iu(e)?kc:Kt;return t.test(oa(e))}function Lr(e){return lu(e)&&dr(e)==rt}function Br(e){return lu(e)&&Ad(e)==ot}function Fr(e){return lu(e)&&su(e.length)&&!!Qn[dr(e)]}function Ur(e){return"function"==typeof e?e:null==e?Dl:"object"==typeof e?wf(e)?Gr(e[0],e[1]):Vr(e):zl(e)}function Hr(e){if(!Wi(e))return $c(e);var t=[];for(var n in dc(e))_c.call(e,n)&&"constructor"!=n&&t.push(n);return t}function zr(e){if(!uu(e))return Ki(e);var t=Wi(e),n=[];for(var r in e)("constructor"!=r||!t&&_c.call(e,r))&&n.push(r);return n}function qr(e,t){return e<t}function Wr(e,t){var n=-1,r=Xs(e)?ac(e.length):[];return yd(e,function(e,o,i){r[++n]=t(e,o,i)}),r}function Vr(e){var t=Si(e);return 1==t.length&&t[0][2]?Gi(t[0][0],t[0][1]):function(n){return n===e||Rr(n,e,t)}}function Gr(e,t){return Ui(e)&&Vi(t)?Gi(ra(e),t):function(n){var r=Hu(n,e);return r===oe&&r===t?qu(n,e):Ir(t,r,me|ve)}}function Yr(e,t,n,r,o){e!==t&&_d(t,function(i,a){if(uu(i))o||(o=new wn),$r(e,t,a,n,Yr,r,o);else{var s=r?r(e[a],i,a+"",e,t,o):oe;s===oe&&(s=i),Nn(e,a,s)}},Vu)}function $r(e,t,n,r,o,i,a){var s=e[n],u=t[n],l=a.get(u);if(l)return void Nn(e,n,l);var c=i?i(s,u,n+"",e,t,a):oe,d=c===oe;if(d){var f=wf(u),p=!f&&xf(u),h=!f&&!p&&Mf(u);c=u,f||p||h?wf(s)?c=s:Qs(s)?c=Ho(s):p?(d=!1,c=Oo(u,!0)):h?(d=!1,c=jo(u,!0)):c=[]:gu(u)||_f(u)?(c=s,_f(s)?c=Ou(s):(!uu(s)||r&&iu(s))&&(c=Di(u))):d=!1}d&&(a.set(u,c),o(c,u,r,i,a),a.delete(u)),Nn(e,n,c)}function Kr(e,t){var n=e.length;if(n)return t+=t<0?n:0,Bi(t,n)?e[t]:oe}function Xr(e,t,n){var r=-1;t=m(t.length?t:[Dl],R(Ti()));var o=Wr(e,function(e,n,o){var i=m(t,function(t){return t(e)});return{criteria:i,index:++r,value:e}});return N(o,function(e,t){return Bo(e,t,n)})}function Qr(e,t){return Jr(e,t,function(t,n){return qu(e,n)})}function Jr(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],s=ur(e,a);n(s,a)&&uo(i,So(a,e),s)}return i}function Zr(e){return function(t){return ur(t,e)}}function eo(e,t,n,r){var o=r?T:E,i=-1,a=t.length,s=e;for(e===t&&(t=Ho(t)),n&&(s=m(e,R(n)));++i<a;)for(var u=0,l=t[i],c=n?n(l):l;(u=o(s,c,u,r))>-1;)s!==e&&Dc.call(s,u,1),Dc.call(e,u,1);return e}function to(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;Bi(o)?Dc.call(e,o,1):bo(e,o)}}return e}function no(e,t){return e+qc(Zc()*(t-e+1))}function ro(e,t,n,r){for(var o=-1,i=Kc(zc((t-e)/(n||1)),0),a=ac(i);i--;)a[r?i:++o]=e,e+=n;return a}function oo(e,t){var n="";if(!e||t<1||t>Re)return n;do t%2&&(n+=e),t=qc(t/2),t&&(e+=e);while(t);return n}function io(e,t){return Dd(Qi(e,t,Dl),e+"")}function ao(e){return Mn(rl(e))}function so(e,t){var n=rl(e);return na(n,Fn(t,0,n.length))}function uo(e,t,n,r){if(!uu(e))return e;t=So(t,e);for(var o=-1,i=t.length,a=i-1,s=e;null!=s&&++o<i;){var u=ra(t[o]),l=n;if(o!=a){var c=s[u];l=r?r(c,u,s):oe,l===oe&&(l=uu(c)?c:Bi(t[o+1])?[]:{})}In(s,u,l),s=s[u]}return e}function lo(e){return na(rl(e))}function co(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=ac(o);++r<o;)i[r]=e[r+t];return i}function fo(e,t){var n;return yd(e,function(e,r,o){return n=t(e,r,o),!n}),!!n}function po(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t===t&&o<=Ue){for(;r<o;){var i=r+o>>>1,a=e[i];null!==a&&!_u(a)&&(n?a<=t:a<t)?r=i+1:o=i}return o}return ho(e,t,Dl,n)}function ho(e,t,n,r){t=n(t);for(var o=0,i=null==e?0:e.length,a=t!==t,s=null===t,u=_u(t),l=t===oe;o<i;){var c=qc((o+i)/2),d=n(e[c]),f=d!==oe,p=null===d,h=d===d,m=_u(d);if(a)var v=r||h;else v=l?h&&(r||f):s?h&&f&&(r||!p):u?h&&f&&!p&&(r||!m):!p&&!m&&(r?d<=t:d<t);v?o=c+1:i=c}return Xc(i,Fe)}function mo(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n],s=t?t(a):a;if(!n||!Ks(s,u)){var u=s;i[o++]=0===a?0:a}}return i}function vo(e){return"number"==typeof e?e:_u(e)?Le:+e}function go(e){if("string"==typeof e)return e;if(wf(e))return m(e,go)+"";if(_u(e))return vd?vd.call(e):"";var t=e+"";return"0"==t&&1/e==-De?"-0":t}function yo(e,t,n){var r=-1,o=p,i=e.length,a=!0,s=[],u=s;if(n)a=!1,o=h;else if(i>=ae){var l=t?null:kd(e);if(l)return K(l);a=!1,o=L,u=new yn}else u=t?[]:s;e:for(;++r<i;){var c=e[r],d=t?t(c):c;if(c=n||0!==c?c:0,a&&d===d){for(var f=u.length;f--;)if(u[f]===d)continue e;t&&u.push(d),s.push(c)}else o(u,d,n)||(u!==s&&u.push(d),s.push(c))}return s}function bo(e,t){return t=So(t,e),e=Ji(e,t),null==e||delete e[ra(Ta(t))]}function _o(e,t,n,r){return uo(e,t,n(ur(e,t)),r)}function wo(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?co(e,r?0:i,r?i+1:o):co(e,r?i+1:0,r?o:i)}function Co(e,t){var n=e;return n instanceof _&&(n=n.value()),g(t,function(e,t){return t.func.apply(t.thisArg,v([e],t.args))},n)}function xo(e,t,n){var r=e.length;if(r<2)return r?yo(e[0]):[];for(var o=-1,i=ac(r);++o<r;)for(var a=e[o],s=-1;++s<r;)s!=o&&(i[o]=Gn(i[o]||a,e[s],t,n));return yo(tr(i,1),t,n)}function Eo(e,t,n){for(var r=-1,o=e.length,i=t.length,a={};++r<o;){var s=r<i?t[r]:oe;n(a,e[r],s)}return a}function To(e){return Qs(e)?e:[]}function ko(e){return"function"==typeof e?e:Dl}function So(e,t){return wf(e)?e:Ui(e,t)?[e]:Rd(Nu(e))}function Mo(e,t,n){var r=e.length;return n=n===oe?r:n,!t&&n>=r?e:co(e,t,n)}function Oo(e,t){if(t)return e.slice();var n=e.length,r=Ac?Ac(n):new e.constructor(n);return e.copy(r),r}function Ao(e){var t=new e.constructor(e.byteLength);return new Oc(t).set(new Oc(e)),t}function No(e,t){var n=t?Ao(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function Io(e,t,n){var r=t?n(G(e),fe):G(e);return g(r,i,new e.constructor)}function Po(e){var t=new e.constructor(e.source,Gt.exec(e));return t.lastIndex=e.lastIndex,t}function Do(e,t,n){var r=t?n(K(e),fe):K(e);return g(r,a,new e.constructor)}function Ro(e){return md?dc(md.call(e)):{}}function jo(e,t){var n=t?Ao(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Lo(e,t){if(e!==t){var n=e!==oe,r=null===e,o=e===e,i=_u(e),a=t!==oe,s=null===t,u=t===t,l=_u(t);if(!s&&!l&&!i&&e>t||i&&a&&u&&!s&&!l||r&&a&&u||!n&&u||!o)return 1;if(!r&&!i&&!l&&e<t||l&&n&&o&&!r&&!i||s&&n&&o||!a&&o||!u)return-1}return 0}function Bo(e,t,n){for(var r=-1,o=e.criteria,i=t.criteria,a=o.length,s=n.length;++r<a;){var u=Lo(o[r],i[r]);if(u){if(r>=s)return u;var l=n[r];return u*("desc"==l?-1:1)}}return e.index-t.index}function Fo(e,t,n,r){for(var o=-1,i=e.length,a=n.length,s=-1,u=t.length,l=Kc(i-a,0),c=ac(u+l),d=!r;++s<u;)c[s]=t[s];for(;++o<a;)(d||o<i)&&(c[n[o]]=e[o]);for(;l--;)c[s++]=e[o++];return c}function Uo(e,t,n,r){for(var o=-1,i=e.length,a=-1,s=n.length,u=-1,l=t.length,c=Kc(i-s,0),d=ac(c+l),f=!r;++o<c;)d[o]=e[o];for(var p=o;++u<l;)d[p+u]=t[u];for(;++a<s;)(f||o<i)&&(d[p+n[a]]=e[o++]);return d}function Ho(e,t){var n=-1,r=e.length;for(t||(t=ac(r));++n<r;)t[n]=e[n];return t}function zo(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var s=t[i],u=r?r(n[s],e[s],s,n,e):oe;u===oe&&(u=e[s]),o?Ln(n,s,u):In(n,s,u)}return n}function qo(e,t){return zo(e,Md(e),t)}function Wo(e,t){return zo(e,Od(e),t)}function Vo(e,t){return function(n,r){var o=wf(n)?u:Dn,i=t?t():{};return o(n,e,Ti(r,2),i)}}function Go(e){return io(function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:oe,a=o>2?n[2]:oe;for(i=e.length>3&&"function"==typeof i?(o--,i):oe,a&&Fi(n[0],n[1],a)&&(i=o<3?oe:i,o=1),t=dc(t);++r<o;){var s=n[r];s&&e(t,s,r,i)}return t})}function Yo(e,t){return function(n,r){if(null==n)return n;if(!Xs(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=dc(n);(t?i--:++i<o)&&r(a[i],i,a)!==!1;);return n}}function $o(e){return function(t,n,r){for(var o=-1,i=dc(t),a=r(t),s=a.length;s--;){var u=a[e?s:++o];if(n(i[u],u,i)===!1)break}return t}}function Ko(e,t,n){function r(){var t=this&&this!==sr&&this instanceof r?i:e;return t.apply(o?n:this,arguments)}var o=t&ge,i=Jo(e);return r}function Xo(e){return function(t){t=Nu(t);var n=q(t)?ee(t):oe,r=n?n[0]:t.charAt(0),o=n?Mo(n,1).join(""):t.slice(1);return r[e]()+o}}function Qo(e){return function(t){return g(Ol(ll(t).replace(qn,"")),e,"")}}function Jo(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=gd(e.prototype),r=e.apply(n,t);return uu(r)?r:n}}function Zo(e,t,n){function r(){for(var i=arguments.length,a=ac(i),u=i,l=Ei(r);u--;)a[u]=arguments[u];var c=i<3&&a[0]!==l&&a[i-1]!==l?[]:$(a,l);if(i-=c.length,i<n)return ci(e,t,ni,r.placeholder,oe,a,c,oe,oe,n-i);var d=this&&this!==sr&&this instanceof r?o:e;return s(d,this,a)}var o=Jo(e);return r}function ei(e){return function(t,n,r){var o=dc(t);if(!Xs(t)){var i=Ti(n,3);t=Wu(t),n=function(e){return i(o[e],e,o)}}var a=e(t,n,r);return a>-1?o[i?t[a]:a]:oe}}function ti(e){return _i(function(t){var n=t.length,r=n,i=o.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new hc(ue);if(i&&!s&&"wrapper"==xi(a))var s=new o([],!0)}for(r=s?r:n;++r<n;){a=t[r];var u=xi(a),l="wrapper"==u?Sd(a):oe;s=l&&zi(l[0])&&l[1]==(Ee|_e|Ce|Te)&&!l[4].length&&1==l[9]?s[xi(l[0])].apply(s,l[3]):1==a.length&&zi(a)?s[u]():s.thru(a)}return function(){var e=arguments,r=e[0];if(s&&1==e.length&&wf(r))return s.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++o<n;)i=t[o].call(this,i);return i}})}function ni(e,t,n,r,o,i,a,s,u,l){function c(){for(var g=arguments.length,y=ac(g),b=g;b--;)y[b]=arguments[b];if(h)var _=Ei(c),w=U(y,_);if(r&&(y=Fo(y,r,o,h)),i&&(y=Uo(y,i,a,h)),g-=w,h&&g<l){var C=$(y,_);return ci(e,t,ni,c.placeholder,n,y,C,s,u,l-g)}var x=f?n:this,E=p?x[e]:e;return g=y.length,s?y=Zi(y,s):m&&g>1&&y.reverse(),d&&u<g&&(y.length=u),this&&this!==sr&&this instanceof c&&(E=v||Jo(E)),E.apply(x,y)}var d=t&Ee,f=t&ge,p=t&ye,h=t&(_e|we),m=t&ke,v=p?oe:Jo(e);return c}function ri(e,t){return function(n,r){return Sr(n,e,t(r),{})}}function oi(e,t){return function(n,r){var o;if(n===oe&&r===oe)return t;if(n!==oe&&(o=n),r!==oe){if(o===oe)return r;"string"==typeof n||"string"==typeof r?(n=go(n),r=go(r)):(n=vo(n),r=vo(r)),o=e(n,r)}return o}}function ii(e){return _i(function(t){return t=m(t,R(Ti())),io(function(n){var r=this;return e(t,function(e){return s(e,r,n)})})})}function ai(e,t){t=t===oe?" ":go(t);var n=t.length;if(n<2)return n?oo(t,e):t;var r=oo(t,zc(e/Z(t)));return q(t)?Mo(ee(r),0,e).join(""):r.slice(0,e)}function si(e,t,n,r){function o(){for(var t=-1,u=arguments.length,l=-1,c=r.length,d=ac(c+u),f=this&&this!==sr&&this instanceof o?a:e;++l<c;)d[l]=r[l];for(;u--;)d[l++]=arguments[++t];return s(f,i?n:this,d)}var i=t&ge,a=Jo(e);return o}function ui(e){return function(t,n,r){return r&&"number"!=typeof r&&Fi(t,n,r)&&(n=r=oe),t=Tu(t),n===oe?(n=t,t=0):n=Tu(n),r=r===oe?t<n?1:-1:Tu(r),ro(t,n,r,e)}}function li(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=Mu(t),n=Mu(n)),e(t,n)}}function ci(e,t,n,r,o,i,a,s,u,l){var c=t&_e,d=c?a:oe,f=c?oe:a,p=c?i:oe,h=c?oe:i;t|=c?Ce:xe,t&=~(c?xe:Ce),t&be||(t&=~(ge|ye));var m=[e,t,o,p,d,h,f,s,u,l],v=n.apply(oe,m);return zi(e)&&Id(v,m),v.placeholder=r,ea(v,e,t)}function di(e){var t=cc[e];return function(e,n){if(e=Mu(e),n=null==n?0:Xc(ku(n),292)){var r=(Nu(e)+"e").split("e"),o=t(r[0]+"e"+(+r[1]+n));return r=(Nu(o)+"e").split("e"),+(r[0]+"e"+(+r[1]-n))}return t(e)}}function fi(e){return function(t){var n=Ad(t);
-return n==Qe?G(t):n==ot?X(t):D(t,e(t))}}function pi(e,t,n,r,o,i,a,s){var u=t&ye;if(!u&&"function"!=typeof e)throw new hc(ue);var l=r?r.length:0;if(l||(t&=~(Ce|xe),r=o=oe),a=a===oe?a:Kc(ku(a),0),s=s===oe?s:ku(s),l-=o?o.length:0,t&xe){var c=r,d=o;r=o=oe}var f=u?oe:Sd(e),p=[e,t,n,r,o,c,d,i,a,s];if(f&&$i(p,f),e=p[0],t=p[1],n=p[2],r=p[3],o=p[4],s=p[9]=p[9]===oe?u?0:e.length:Kc(p[9]-l,0),!s&&t&(_e|we)&&(t&=~(_e|we)),t&&t!=ge)h=t==_e||t==we?Zo(e,t,s):t!=Ce&&t!=(ge|Ce)||o.length?ni.apply(oe,p):si(e,t,n,r);else var h=Ko(e,t,n);var m=f?Cd:Id;return ea(m(h,p),e,t)}function hi(e,t,n,r){return e===oe||Ks(e,gc[n])&&!_c.call(r,n)?t:e}function mi(e,t,n,r,o,i){return uu(e)&&uu(t)&&(i.set(t,e),Yr(e,t,oe,mi,i),i.delete(t)),e}function vi(e){return gu(e)?oe:e}function gi(e,t,n,r,o,i){var a=n&me,s=e.length,u=t.length;if(s!=u&&!(a&&u>s))return!1;var l=i.get(e);if(l&&i.get(t))return l==t;var c=-1,d=!0,f=n&ve?new yn:oe;for(i.set(e,t),i.set(t,e);++c<s;){var p=e[c],h=t[c];if(r)var m=a?r(h,p,c,t,e,i):r(p,h,c,e,t,i);if(m!==oe){if(m)continue;d=!1;break}if(f){if(!b(t,function(e,t){if(!L(f,t)&&(p===e||o(p,e,n,r,i)))return f.push(t)})){d=!1;break}}else if(p!==h&&!o(p,h,n,r,i)){d=!1;break}}return i.delete(e),i.delete(t),d}function yi(e,t,n,r,o,i,a){switch(n){case dt:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case ct:return!(e.byteLength!=t.byteLength||!i(new Oc(e),new Oc(t)));case Ve:case Ge:case Je:return Ks(+e,+t);case $e:return e.name==t.name&&e.message==t.message;case rt:case it:return e==t+"";case Qe:var s=G;case ot:var u=r&me;if(s||(s=K),e.size!=t.size&&!u)return!1;var l=a.get(e);if(l)return l==t;r|=ve,a.set(e,t);var c=gi(s(e),s(t),r,o,i,a);return a.delete(e),c;case at:if(md)return md.call(e)==md.call(t)}return!1}function bi(e,t,n,r,o,i){var a=n&me,s=wi(e),u=s.length,l=wi(t),c=l.length;if(u!=c&&!a)return!1;for(var d=u;d--;){var f=s[d];if(!(a?f in t:_c.call(t,f)))return!1}var p=i.get(e);if(p&&i.get(t))return p==t;var h=!0;i.set(e,t),i.set(t,e);for(var m=a;++d<u;){f=s[d];var v=e[f],g=t[f];if(r)var y=a?r(g,v,f,t,e,i):r(v,g,f,e,t,i);if(!(y===oe?v===g||o(v,g,n,r,i):y)){h=!1;break}m||(m="constructor"==f)}if(h&&!m){var b=e.constructor,_=t.constructor;b!=_&&"constructor"in e&&"constructor"in t&&!("function"==typeof b&&b instanceof b&&"function"==typeof _&&_ instanceof _)&&(h=!1)}return i.delete(e),i.delete(t),h}function _i(e){return Dd(Qi(e,oe,ga),e+"")}function wi(e){return lr(e,Wu,Md)}function Ci(e){return lr(e,Vu,Od)}function xi(e){for(var t=e.name+"",n=ud[t],r=_c.call(ud,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function Ei(e){var t=_c.call(n,"placeholder")?n:e;return t.placeholder}function Ti(){var e=n.iteratee||Rl;return e=e===Rl?Ur:e,arguments.length?e(arguments[0],arguments[1]):e}function ki(e,t){var n=e.__data__;return Hi(t)?n["string"==typeof t?"string":"hash"]:n.map}function Si(e){for(var t=Wu(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Vi(o)]}return t}function Mi(e,t){var n=z(e,t);return jr(n)?n:oe}function Oi(e){var t=_c.call(e,Lc),n=e[Lc];try{e[Lc]=oe;var r=!0}catch(e){}var o=xc.call(e);return r&&(t?e[Lc]=n:delete e[Lc]),o}function Ai(e,t,n){for(var r=-1,o=n.length;++r<o;){var i=n[r],a=i.size;switch(i.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=Xc(t,e+a);break;case"takeRight":e=Kc(e,t-a)}}return{start:e,end:t}}function Ni(e){var t=e.match(Ht);return t?t[1].split(zt):[]}function Ii(e,t,n){t=So(t,e);for(var r=-1,o=t.length,i=!1;++r<o;){var a=ra(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:(o=null==e?0:e.length,!!o&&su(o)&&Bi(a,o)&&(wf(e)||_f(e)))}function Pi(e){var t=e.length,n=e.constructor(t);return t&&"string"==typeof e[0]&&_c.call(e,"index")&&(n.index=e.index,n.input=e.input),n}function Di(e){return"function"!=typeof e.constructor||Wi(e)?{}:gd(Nc(e))}function Ri(e,t,n,r){var o=e.constructor;switch(t){case ct:return Ao(e);case Ve:case Ge:return new o(+e);case dt:return No(e,r);case ft:case pt:case ht:case mt:case vt:case gt:case yt:case bt:case _t:return jo(e,r);case Qe:return Io(e,r,n);case Je:case it:return new o(e);case rt:return Po(e);case ot:return Do(e,r,n);case at:return Ro(e)}}function ji(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(Ut,"{\n/* [wrapped with "+t+"] */\n")}function Li(e){return wf(e)||_f(e)||!!(Rc&&e&&e[Rc])}function Bi(e,t){return t=null==t?Re:t,!!t&&("number"==typeof e||Qt.test(e))&&e>-1&&e%1==0&&e<t}function Fi(e,t,n){if(!uu(n))return!1;var r=typeof t;return!!("number"==r?Xs(n)&&Bi(t,n.length):"string"==r&&t in n)&&Ks(n[t],e)}function Ui(e,t){if(wf(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!_u(e))||(It.test(e)||!Nt.test(e)||null!=t&&e in dc(t))}function Hi(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function zi(e){var t=xi(e),r=n[t];if("function"!=typeof r||!(t in _.prototype))return!1;if(e===r)return!0;var o=Sd(r);return!!o&&e===o[0]}function qi(e){return!!Cc&&Cc in e}function Wi(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||gc;return e===n}function Vi(e){return e===e&&!uu(e)}function Gi(e,t){return function(n){return null!=n&&(n[e]===t&&(t!==oe||e in dc(n)))}}function Yi(e){var t=Rs(e,function(e){return n.size===ce&&n.clear(),e}),n=t.cache;return t}function $i(e,t){var n=e[1],r=t[1],o=n|r,i=o<(ge|ye|Ee),a=r==Ee&&n==_e||r==Ee&&n==Te&&e[7].length<=t[8]||r==(Ee|Te)&&t[7].length<=t[8]&&n==_e;if(!i&&!a)return e;r&ge&&(e[2]=t[2],o|=n&ge?0:be);var s=t[3];if(s){var u=e[3];e[3]=u?Fo(u,s,t[4]):s,e[4]=u?$(e[3],de):t[4]}return s=t[5],s&&(u=e[5],e[5]=u?Uo(u,s,t[6]):s,e[6]=u?$(e[5],de):t[6]),s=t[7],s&&(e[7]=s),r&Ee&&(e[8]=null==e[8]?t[8]:Xc(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=o,e}function Ki(e){var t=[];if(null!=e)for(var n in dc(e))t.push(n);return t}function Xi(e){return xc.call(e)}function Qi(e,t,n){return t=Kc(t===oe?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=Kc(r.length-t,0),a=ac(i);++o<i;)a[o]=r[t+o];o=-1;for(var u=ac(t+1);++o<t;)u[o]=r[o];return u[t]=n(a),s(e,this,u)}}function Ji(e,t){return t.length<2?e:ur(e,co(t,0,-1))}function Zi(e,t){for(var n=e.length,r=Xc(t.length,n),o=Ho(e);r--;){var i=t[r];e[r]=Bi(i,n)?o[i]:oe}return e}function ea(e,t,n){var r=t+"";return Dd(e,ji(r,ia(Ni(r),n)))}function ta(e){var t=0,n=0;return function(){var r=Qc(),o=Ae-(r-n);if(n=r,o>0){if(++t>=Oe)return arguments[0]}else t=0;return e.apply(oe,arguments)}}function na(e,t){var n=-1,r=e.length,o=r-1;for(t=t===oe?r:t;++n<t;){var i=no(n,o),a=e[i];e[i]=e[n],e[n]=a}return e.length=t,e}function ra(e){if("string"==typeof e||_u(e))return e;var t=e+"";return"0"==t&&1/e==-De?"-0":t}function oa(e){if(null!=e){try{return bc.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function ia(e,t){return l(He,function(n){var r="_."+n[0];t&n[1]&&!p(e,r)&&e.push(r)}),e.sort()}function aa(e){if(e instanceof _)return e.clone();var t=new o(e.__wrapped__,e.__chain__);return t.__actions__=Ho(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function sa(e,t,n){t=(n?Fi(e,t,n):t===oe)?1:Kc(ku(t),0);var r=null==e?0:e.length;if(!r||t<1)return[];for(var o=0,i=0,a=ac(zc(r/t));o<r;)a[i++]=co(e,o,o+=t);return a}function ua(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o}function la(){var e=arguments.length;if(!e)return[];for(var t=ac(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return v(wf(n)?Ho(n):[n],tr(t,1))}function ca(e,t,n){var r=null==e?0:e.length;return r?(t=n||t===oe?1:ku(t),co(e,t<0?0:t,r)):[]}function da(e,t,n){var r=null==e?0:e.length;return r?(t=n||t===oe?1:ku(t),t=r-t,co(e,0,t<0?0:t)):[]}function fa(e,t){return e&&e.length?wo(e,Ti(t,3),!0,!0):[]}function pa(e,t){return e&&e.length?wo(e,Ti(t,3),!0):[]}function ha(e,t,n,r){var o=null==e?0:e.length;return o?(n&&"number"!=typeof n&&Fi(e,t,n)&&(n=0,r=o),Zn(e,t,n,r)):[]}function ma(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:ku(n);return o<0&&(o=Kc(r+o,0)),x(e,Ti(t,3),o)}function va(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r-1;return n!==oe&&(o=ku(n),o=n<0?Kc(r+o,0):Xc(o,r-1)),x(e,Ti(t,3),o,!0)}function ga(e){var t=null==e?0:e.length;return t?tr(e,1):[]}function ya(e){var t=null==e?0:e.length;return t?tr(e,De):[]}function ba(e,t){var n=null==e?0:e.length;return n?(t=t===oe?1:ku(t),tr(e,t)):[]}function _a(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r}function wa(e){return e&&e.length?e[0]:oe}function Ca(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:ku(n);return o<0&&(o=Kc(r+o,0)),E(e,t,o)}function xa(e){var t=null==e?0:e.length;return t?co(e,0,-1):[]}function Ea(e,t){return null==e?"":Yc.call(e,t)}function Ta(e){var t=null==e?0:e.length;return t?e[t-1]:oe}function ka(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r;return n!==oe&&(o=ku(n),o=o<0?Kc(r+o,0):Xc(o,r-1)),t===t?J(e,t,o):x(e,k,o,!0)}function Sa(e,t){return e&&e.length?Kr(e,ku(t)):oe}function Ma(e,t){return e&&e.length&&t&&t.length?eo(e,t):e}function Oa(e,t,n){return e&&e.length&&t&&t.length?eo(e,t,Ti(n,2)):e}function Aa(e,t,n){return e&&e.length&&t&&t.length?eo(e,t,oe,n):e}function Na(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=Ti(t,3);++r<i;){var a=e[r];t(a,r,e)&&(n.push(a),o.push(r))}return to(e,o),n}function Ia(e){return null==e?e:ed.call(e)}function Pa(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&Fi(e,t,n)?(t=0,n=r):(t=null==t?0:ku(t),n=n===oe?r:ku(n)),co(e,t,n)):[]}function Da(e,t){return po(e,t)}function Ra(e,t,n){return ho(e,t,Ti(n,2))}function ja(e,t){var n=null==e?0:e.length;if(n){var r=po(e,t);if(r<n&&Ks(e[r],t))return r}return-1}function La(e,t){return po(e,t,!0)}function Ba(e,t,n){return ho(e,t,Ti(n,2),!0)}function Fa(e,t){var n=null==e?0:e.length;if(n){var r=po(e,t,!0)-1;if(Ks(e[r],t))return r}return-1}function Ua(e){return e&&e.length?mo(e):[]}function Ha(e,t){return e&&e.length?mo(e,Ti(t,2)):[]}function za(e){var t=null==e?0:e.length;return t?co(e,1,t):[]}function qa(e,t,n){return e&&e.length?(t=n||t===oe?1:ku(t),co(e,0,t<0?0:t)):[]}function Wa(e,t,n){var r=null==e?0:e.length;return r?(t=n||t===oe?1:ku(t),t=r-t,co(e,t<0?0:t,r)):[]}function Va(e,t){return e&&e.length?wo(e,Ti(t,3),!1,!0):[]}function Ga(e,t){return e&&e.length?wo(e,Ti(t,3)):[]}function Ya(e){return e&&e.length?yo(e):[]}function $a(e,t){return e&&e.length?yo(e,Ti(t,2)):[]}function Ka(e,t){return t="function"==typeof t?t:oe,e&&e.length?yo(e,oe,t):[]}function Xa(e){if(!e||!e.length)return[];var t=0;return e=f(e,function(e){if(Qs(e))return t=Kc(e.length,t),!0}),P(t,function(t){return m(e,M(t))})}function Qa(e,t){if(!e||!e.length)return[];var n=Xa(e);return null==t?n:m(n,function(e){return s(t,oe,e)})}function Ja(e,t){return Eo(e||[],t||[],In)}function Za(e,t){return Eo(e||[],t||[],uo)}function es(e){var t=n(e);return t.__chain__=!0,t}function ts(e,t){return t(e),e}function ns(e,t){return t(e)}function rs(){return es(this)}function os(){return new o(this.value(),this.__chain__)}function is(){this.__values__===oe&&(this.__values__=Eu(this.value()));var e=this.__index__>=this.__values__.length,t=e?oe:this.__values__[this.__index__++];return{done:e,value:t}}function as(){return this}function ss(e){for(var t,n=this;n instanceof r;){var o=aa(n);o.__index__=0,o.__values__=oe,t?i.__wrapped__=o:t=o;var i=o;n=n.__wrapped__}return i.__wrapped__=e,t}function us(){var e=this.__wrapped__;if(e instanceof _){var t=e;return this.__actions__.length&&(t=new _(this)),t=t.reverse(),t.__actions__.push({func:ns,args:[Ia],thisArg:oe}),new o(t,this.__chain__)}return this.thru(Ia)}function ls(){return Co(this.__wrapped__,this.__actions__)}function cs(e,t,n){var r=wf(e)?d:Yn;return n&&Fi(e,t,n)&&(t=oe),r(e,Ti(t,3))}function ds(e,t){var n=wf(e)?f:er;return n(e,Ti(t,3))}function fs(e,t){return tr(ys(e,t),1)}function ps(e,t){return tr(ys(e,t),De)}function hs(e,t,n){return n=n===oe?1:ku(n),tr(ys(e,t),n)}function ms(e,t){var n=wf(e)?l:yd;return n(e,Ti(t,3))}function vs(e,t){var n=wf(e)?c:bd;return n(e,Ti(t,3))}function gs(e,t,n,r){e=Xs(e)?e:rl(e),n=n&&!r?ku(n):0;var o=e.length;return n<0&&(n=Kc(o+n,0)),bu(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&E(e,t,n)>-1}function ys(e,t){var n=wf(e)?m:Wr;return n(e,Ti(t,3))}function bs(e,t,n,r){return null==e?[]:(wf(t)||(t=null==t?[]:[t]),n=r?oe:n,wf(n)||(n=null==n?[]:[n]),Xr(e,t,n))}function _s(e,t,n){var r=wf(e)?g:A,o=arguments.length<3;return r(e,Ti(t,4),n,o,yd)}function ws(e,t,n){var r=wf(e)?y:A,o=arguments.length<3;return r(e,Ti(t,4),n,o,bd)}function Cs(e,t){var n=wf(e)?f:er;return n(e,js(Ti(t,3)))}function xs(e){var t=wf(e)?Mn:ao;return t(e)}function Es(e,t,n){t=(n?Fi(e,t,n):t===oe)?1:ku(t);var r=wf(e)?On:so;return r(e,t)}function Ts(e){var t=wf(e)?An:lo;return t(e)}function ks(e){if(null==e)return 0;if(Xs(e))return bu(e)?Z(e):e.length;var t=Ad(e);return t==Qe||t==ot?e.size:Hr(e).length}function Ss(e,t,n){var r=wf(e)?b:fo;return n&&Fi(e,t,n)&&(t=oe),r(e,Ti(t,3))}function Ms(e,t){if("function"!=typeof t)throw new hc(ue);return e=ku(e),function(){if(--e<1)return t.apply(this,arguments)}}function Os(e,t,n){return t=n?oe:t,t=e&&null==t?e.length:t,pi(e,Ee,oe,oe,oe,oe,t)}function As(e,t){var n;if("function"!=typeof t)throw new hc(ue);return e=ku(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=oe),n}}function Ns(e,t,n){t=n?oe:t;var r=pi(e,_e,oe,oe,oe,oe,oe,t);return r.placeholder=Ns.placeholder,r}function Is(e,t,n){t=n?oe:t;var r=pi(e,we,oe,oe,oe,oe,oe,t);return r.placeholder=Is.placeholder,r}function Ps(e,t,n){function r(t){var n=f,r=p;return f=p=oe,y=t,m=e.apply(r,n)}function o(e){return y=e,v=Pd(s,t),b?r(e):m}function i(e){var n=e-g,r=e-y,o=t-n;return _?Xc(o,h-r):o}function a(e){var n=e-g,r=e-y;return g===oe||n>=t||n<0||_&&r>=h}function s(){var e=lf();return a(e)?u(e):void(v=Pd(s,i(e)))}function u(e){return v=oe,w&&f?r(e):(f=p=oe,m)}function l(){v!==oe&&Td(v),y=0,f=g=p=v=oe}function c(){return v===oe?m:u(lf())}function d(){var e=lf(),n=a(e);if(f=arguments,p=this,g=e,n){if(v===oe)return o(g);if(_)return v=Pd(s,t),r(g)}return v===oe&&(v=Pd(s,t)),m}var f,p,h,m,v,g,y=0,b=!1,_=!1,w=!0;if("function"!=typeof e)throw new hc(ue);return t=Mu(t)||0,uu(n)&&(b=!!n.leading,_="maxWait"in n,h=_?Kc(Mu(n.maxWait)||0,t):h,w="trailing"in n?!!n.trailing:w),d.cancel=l,d.flush=c,d}function Ds(e){return pi(e,ke)}function Rs(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new hc(ue);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(Rs.Cache||fn),n}function js(e){if("function"!=typeof e)throw new hc(ue);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function Ls(e){return As(2,e)}function Bs(e,t){if("function"!=typeof e)throw new hc(ue);return t=t===oe?t:ku(t),io(e,t)}function Fs(e,t){if("function"!=typeof e)throw new hc(ue);return t=null==t?0:Kc(ku(t),0),io(function(n){var r=n[t],o=Mo(n,0,t);return r&&v(o,r),s(e,this,o)})}function Us(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new hc(ue);return uu(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Ps(e,t,{leading:r,maxWait:t,trailing:o})}function Hs(e){return Os(e,1)}function zs(e,t){return mf(ko(t),e)}function qs(){if(!arguments.length)return[];var e=arguments[0];return wf(e)?e:[e]}function Ws(e){return Un(e,he)}function Vs(e,t){return t="function"==typeof t?t:oe,Un(e,he,t)}function Gs(e){return Un(e,fe|he)}function Ys(e,t){return t="function"==typeof t?t:oe,Un(e,fe|he,t)}function $s(e,t){return null==t||zn(e,t,Wu(t))}function Ks(e,t){return e===t||e!==e&&t!==t}function Xs(e){return null!=e&&su(e.length)&&!iu(e)}function Qs(e){return lu(e)&&Xs(e)}function Js(e){return e===!0||e===!1||lu(e)&&dr(e)==Ve}function Zs(e){return lu(e)&&1===e.nodeType&&!gu(e)}function eu(e){if(null==e)return!0;if(Xs(e)&&(wf(e)||"string"==typeof e||"function"==typeof e.splice||xf(e)||Mf(e)||_f(e)))return!e.length;var t=Ad(e);if(t==Qe||t==ot)return!e.size;if(Wi(e))return!Hr(e).length;for(var n in e)if(_c.call(e,n))return!1;return!0}function tu(e,t){return Ir(e,t)}function nu(e,t,n){n="function"==typeof n?n:oe;var r=n?n(e,t):oe;return r===oe?Ir(e,t,oe,n):!!r}function ru(e){if(!lu(e))return!1;var t=dr(e);return t==$e||t==Ye||"string"==typeof e.message&&"string"==typeof e.name&&!gu(e)}function ou(e){return"number"==typeof e&&Gc(e)}function iu(e){if(!uu(e))return!1;var t=dr(e);return t==Ke||t==Xe||t==We||t==nt}function au(e){return"number"==typeof e&&e==ku(e)}function su(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=Re}function uu(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function lu(e){return null!=e&&"object"==typeof e}function cu(e,t){return e===t||Rr(e,t,Si(t))}function du(e,t,n){return n="function"==typeof n?n:oe,Rr(e,t,Si(t),n)}function fu(e){return vu(e)&&e!=+e}function pu(e){if(Nd(e))throw new uc(se);return jr(e)}function hu(e){return null===e}function mu(e){return null==e}function vu(e){return"number"==typeof e||lu(e)&&dr(e)==Je}function gu(e){if(!lu(e)||dr(e)!=et)return!1;var t=Nc(e);if(null===t)return!0;var n=_c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&bc.call(n)==Ec}function yu(e){return au(e)&&e>=-Re&&e<=Re}function bu(e){return"string"==typeof e||!wf(e)&&lu(e)&&dr(e)==it}function _u(e){return"symbol"==typeof e||lu(e)&&dr(e)==at}function wu(e){return e===oe}function Cu(e){return lu(e)&&Ad(e)==ut}function xu(e){return lu(e)&&dr(e)==lt}function Eu(e){if(!e)return[];if(Xs(e))return bu(e)?ee(e):Ho(e);if(jc&&e[jc])return V(e[jc]());var t=Ad(e),n=t==Qe?G:t==ot?K:rl;return n(e)}function Tu(e){if(!e)return 0===e?e:0;if(e=Mu(e),e===De||e===-De){var t=e<0?-1:1;return t*je}return e===e?e:0}function ku(e){var t=Tu(e),n=t%1;return t===t?n?t-n:t:0}function Su(e){return e?Fn(ku(e),0,Be):0}function Mu(e){if("number"==typeof e)return e;if(_u(e))return Le;if(uu(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=uu(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(Lt,"");var n=$t.test(e);return n||Xt.test(e)?or(e.slice(2),n?2:8):Yt.test(e)?Le:+e}function Ou(e){return zo(e,Vu(e))}function Au(e){return e?Fn(ku(e),-Re,Re):0===e?e:0}function Nu(e){return null==e?"":go(e)}function Iu(e,t){var n=gd(e);return null==t?n:Rn(n,t)}function Pu(e,t){return C(e,Ti(t,3),nr)}function Du(e,t){return C(e,Ti(t,3),ir)}function Ru(e,t){return null==e?e:_d(e,Ti(t,3),Vu)}function ju(e,t){return null==e?e:wd(e,Ti(t,3),Vu)}function Lu(e,t){return e&&nr(e,Ti(t,3))}function Bu(e,t){return e&&ir(e,Ti(t,3))}function Fu(e){return null==e?[]:ar(e,Wu(e))}function Uu(e){return null==e?[]:ar(e,Vu(e))}function Hu(e,t,n){var r=null==e?oe:ur(e,t);return r===oe?n:r}function zu(e,t){return null!=e&&Ii(e,t,br)}function qu(e,t){return null!=e&&Ii(e,t,xr)}function Wu(e){return Xs(e)?Sn(e):Hr(e)}function Vu(e){return Xs(e)?Sn(e,!0):zr(e)}function Gu(e,t){var n={};return t=Ti(t,3),nr(e,function(e,r,o){Ln(n,t(e,r,o),e)}),n}function Yu(e,t){var n={};return t=Ti(t,3),nr(e,function(e,r,o){Ln(n,r,t(e,r,o))}),n}function $u(e,t){return Ku(e,js(Ti(t)))}function Ku(e,t){if(null==e)return{};var n=m(Ci(e),function(e){return[e]});return t=Ti(t),Jr(e,n,function(e,n){return t(e,n[0])})}function Xu(e,t,n){t=So(t,e);var r=-1,o=t.length;for(o||(o=1,e=oe);++r<o;){var i=null==e?oe:e[ra(t[r])];i===oe&&(r=o,i=n),e=iu(i)?i.call(e):i}return e}function Qu(e,t,n){return null==e?e:uo(e,t,n)}function Ju(e,t,n,r){return r="function"==typeof r?r:oe,null==e?e:uo(e,t,n,r)}function Zu(e,t,n){var r=wf(e),o=r||xf(e)||Mf(e);if(t=Ti(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:uu(e)&&iu(i)?gd(Nc(e)):{}}return(o?l:nr)(e,function(e,r,o){return t(n,e,r,o)}),n}function el(e,t){return null==e||bo(e,t)}function tl(e,t,n){return null==e?e:_o(e,t,ko(n))}function nl(e,t,n,r){return r="function"==typeof r?r:oe,null==e?e:_o(e,t,ko(n),r)}function rl(e){return null==e?[]:j(e,Wu(e))}function ol(e){return null==e?[]:j(e,Vu(e))}function il(e,t,n){return n===oe&&(n=t,t=oe),n!==oe&&(n=Mu(n),n=n===n?n:0),t!==oe&&(t=Mu(t),t=t===t?t:0),Fn(Mu(e),t,n)}function al(e,t,n){return t=Tu(t),n===oe?(n=t,t=0):n=Tu(n),e=Mu(e),Tr(e,t,n)}function sl(e,t,n){if(n&&"boolean"!=typeof n&&Fi(e,t,n)&&(t=n=oe),n===oe&&("boolean"==typeof t?(n=t,t=oe):"boolean"==typeof e&&(n=e,e=oe)),e===oe&&t===oe?(e=0,t=1):(e=Tu(e),t===oe?(t=e,e=0):t=Tu(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var o=Zc();return Xc(e+o*(t-e+rr("1e-"+((o+"").length-1))),t)}return no(e,t)}function ul(e){return ep(Nu(e).toLowerCase())}function ll(e){return e=Nu(e),e&&e.replace(Jt,_r).replace(Wn,"")}function cl(e,t,n){e=Nu(e),t=go(t);var r=e.length;n=n===oe?r:Fn(ku(n),0,r);var o=n;return n-=t.length,n>=0&&e.slice(n,o)==t}function dl(e){return e=Nu(e),e&&St.test(e)?e.replace(Tt,wr):e}function fl(e){return e=Nu(e),e&&jt.test(e)?e.replace(Rt,"\\$&"):e}function pl(e,t,n){e=Nu(e),t=ku(t);var r=t?Z(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return ai(qc(o),n)+e+ai(zc(o),n)}function hl(e,t,n){e=Nu(e),t=ku(t);var r=t?Z(e):0;return t&&r<t?e+ai(t-r,n):e}function ml(e,t,n){e=Nu(e),t=ku(t);var r=t?Z(e):0;return t&&r<t?ai(t-r,n)+e:e}function vl(e,t,n){return n||null==t?t=0:t&&(t=+t),Jc(Nu(e).replace(Bt,""),t||0)}function gl(e,t,n){return t=(n?Fi(e,t,n):t===oe)?1:ku(t),oo(Nu(e),t)}function yl(){var e=arguments,t=Nu(e[0]);return e.length<3?t:t.replace(e[1],e[2])}function bl(e,t,n){return n&&"number"!=typeof n&&Fi(e,t,n)&&(t=n=oe),(n=n===oe?Be:n>>>0)?(e=Nu(e),e&&("string"==typeof t||null!=t&&!kf(t))&&(t=go(t),!t&&q(e))?Mo(ee(e),0,n):e.split(t,n)):[]}function _l(e,t,n){return e=Nu(e),n=null==n?0:Fn(ku(n),0,e.length),t=go(t),e.slice(n,n+t.length)==t}function wl(e,t,r){var o=n.templateSettings;r&&Fi(e,t,r)&&(t=oe),e=Nu(e),t=Pf({},t,o,hi);var i,a,s=Pf({},t.imports,o.imports,hi),u=Wu(s),l=j(s,u),c=0,d=t.interpolate||Zt,f="__p += '",p=fc((t.escape||Zt).source+"|"+d.source+"|"+(d===At?Vt:Zt).source+"|"+(t.evaluate||Zt).source+"|$","g"),h="//# sourceURL="+("sourceURL"in t?t.sourceURL:"lodash.templateSources["+ ++Xn+"]")+"\n";e.replace(p,function(t,n,r,o,s,u){return r||(r=o),f+=e.slice(c,u).replace(en,H),n&&(i=!0,f+="' +\n__e("+n+") +\n'"),s&&(a=!0,f+="';\n"+s+";\n__p += '"),r&&(f+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=u+t.length,t}),f+="';\n";var m=t.variable;m||(f="with (obj) {\n"+f+"\n}\n"),f=(a?f.replace(wt,""):f).replace(Ct,"$1").replace(xt,"$1;"),f="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var v=tp(function(){return lc(u,h+"return "+f).apply(oe,l)});if(v.source=f,ru(v))throw v;return v}function Cl(e){return Nu(e).toLowerCase()}function xl(e){return Nu(e).toUpperCase()}function El(e,t,n){if(e=Nu(e),e&&(n||t===oe))return e.replace(Lt,"");if(!e||!(t=go(t)))return e;var r=ee(e),o=ee(t),i=B(r,o),a=F(r,o)+1;return Mo(r,i,a).join("")}function Tl(e,t,n){if(e=Nu(e),e&&(n||t===oe))return e.replace(Ft,"");if(!e||!(t=go(t)))return e;var r=ee(e),o=F(r,ee(t))+1;return Mo(r,0,o).join("")}function kl(e,t,n){if(e=Nu(e),e&&(n||t===oe))return e.replace(Bt,"");if(!e||!(t=go(t)))return e;var r=ee(e),o=B(r,ee(t));return Mo(r,o).join("")}function Sl(e,t){var n=Se,r=Me;if(uu(t)){var o="separator"in t?t.separator:o;n="length"in t?ku(t.length):n,r="omission"in t?go(t.omission):r}e=Nu(e);var i=e.length;if(q(e)){var a=ee(e);i=a.length}if(n>=i)return e;var s=n-Z(r);if(s<1)return r;var u=a?Mo(a,0,s).join(""):e.slice(0,s);if(o===oe)return u+r;if(a&&(s+=u.length-s),kf(o)){if(e.slice(s).search(o)){var l,c=u;for(o.global||(o=fc(o.source,Nu(Gt.exec(o))+"g")),o.lastIndex=0;l=o.exec(c);)var d=l.index;u=u.slice(0,d===oe?s:d)}}else if(e.indexOf(go(o),s)!=s){var f=u.lastIndexOf(o);f>-1&&(u=u.slice(0,f))}return u+r}function Ml(e){return e=Nu(e),e&&kt.test(e)?e.replace(Et,Cr):e}function Ol(e,t,n){return e=Nu(e),t=n?oe:t,t===oe?W(e)?re(e):w(e):e.match(t)||[]}function Al(e){var t=null==e?0:e.length,n=Ti();return e=t?m(e,function(e){if("function"!=typeof e[1])throw new hc(ue);return[n(e[0]),e[1]]}):[],io(function(n){for(var r=-1;++r<t;){var o=e[r];if(s(o[0],this,n))return s(o[1],this,n)}})}function Nl(e){return Hn(Un(e,fe))}function Il(e){return function(){return e}}function Pl(e,t){return null==e||e!==e?t:e}function Dl(e){return e}function Rl(e){return Ur("function"==typeof e?e:Un(e,fe))}function jl(e){return Vr(Un(e,fe))}function Ll(e,t){return Gr(e,Un(t,fe))}function Bl(e,t,n){var r=Wu(t),o=ar(t,r);null!=n||uu(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=ar(t,Wu(t)));var i=!(uu(n)&&"chain"in n&&!n.chain),a=iu(e);return l(o,function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),o=n.__actions__=Ho(this.__actions__);return o.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,v([this.value()],arguments))})}),e}function Fl(){return sr._===this&&(sr._=Tc),this}function Ul(){}function Hl(e){return e=ku(e),io(function(t){return Kr(t,e)})}function zl(e){return Ui(e)?M(ra(e)):Zr(e)}function ql(e){return function(t){return null==e?oe:ur(e,t)}}function Wl(){return[]}function Vl(){return!1}function Gl(){return{}}function Yl(){return""}function $l(){return!0}function Kl(e,t){if(e=ku(e),e<1||e>Re)return[];var n=Be,r=Xc(e,Be);t=Ti(t),e-=Be;for(var o=P(r,t);++n<e;)t(n);return o}function Xl(e){return wf(e)?m(e,ra):_u(e)?[e]:Ho(Rd(Nu(e)))}function Ql(e){var t=++wc;return Nu(e)+t}function Jl(e){return e&&e.length?$n(e,Dl,fr):oe}function Zl(e,t){return e&&e.length?$n(e,Ti(t,2),fr):oe}function ec(e){return S(e,Dl)}function tc(e,t){return S(e,Ti(t,2))}function nc(e){return e&&e.length?$n(e,Dl,qr):oe}function rc(e,t){return e&&e.length?$n(e,Ti(t,2),qr):oe}function oc(e){return e&&e.length?I(e,Dl):0}function ic(e,t){return e&&e.length?I(e,Ti(t,2)):0}t=null==t?sr:Er.defaults(sr.Object(),t,Er.pick(sr,Kn));var ac=t.Array,sc=t.Date,uc=t.Error,lc=t.Function,cc=t.Math,dc=t.Object,fc=t.RegExp,pc=t.String,hc=t.TypeError,mc=ac.prototype,vc=lc.prototype,gc=dc.prototype,yc=t["__core-js_shared__"],bc=vc.toString,_c=gc.hasOwnProperty,wc=0,Cc=function(){var e=/[^.]+$/.exec(yc&&yc.keys&&yc.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),xc=gc.toString,Ec=bc.call(dc),Tc=sr._,kc=fc("^"+bc.call(_c).replace(Rt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Sc=cr?t.Buffer:oe,Mc=t.Symbol,Oc=t.Uint8Array,Ac=Sc?Sc.allocUnsafe:oe,Nc=Y(dc.getPrototypeOf,dc),Ic=dc.create,Pc=gc.propertyIsEnumerable,Dc=mc.splice,Rc=Mc?Mc.isConcatSpreadable:oe,jc=Mc?Mc.iterator:oe,Lc=Mc?Mc.toStringTag:oe,Bc=function(){try{var e=Mi(dc,"defineProperty");return e({},"",{}),e}catch(e){}}(),Fc=t.clearTimeout!==sr.clearTimeout&&t.clearTimeout,Uc=sc&&sc.now!==sr.Date.now&&sc.now,Hc=t.setTimeout!==sr.setTimeout&&t.setTimeout,zc=cc.ceil,qc=cc.floor,Wc=dc.getOwnPropertySymbols,Vc=Sc?Sc.isBuffer:oe,Gc=t.isFinite,Yc=mc.join,$c=Y(dc.keys,dc),Kc=cc.max,Xc=cc.min,Qc=sc.now,Jc=t.parseInt,Zc=cc.random,ed=mc.reverse,td=Mi(t,"DataView"),nd=Mi(t,"Map"),rd=Mi(t,"Promise"),od=Mi(t,"Set"),id=Mi(t,"WeakMap"),ad=Mi(dc,"create"),sd=id&&new id,ud={},ld=oa(td),cd=oa(nd),dd=oa(rd),fd=oa(od),pd=oa(id),hd=Mc?Mc.prototype:oe,md=hd?hd.valueOf:oe,vd=hd?hd.toString:oe,gd=function(){function e(){}return function(t){if(!uu(t))return{};if(Ic)return Ic(t);e.prototype=t;var n=new e;return e.prototype=oe,n}}();n.templateSettings={escape:Mt,evaluate:Ot,interpolate:At,variable:"",imports:{_:n}},n.prototype=r.prototype,n.prototype.constructor=n,o.prototype=gd(r.prototype),o.prototype.constructor=o,_.prototype=gd(r.prototype),_.prototype.constructor=_,ne.prototype.clear=qt,ne.prototype.delete=tn,ne.prototype.get=nn,ne.prototype.has=rn,ne.prototype.set=on,an.prototype.clear=sn,an.prototype.delete=un,an.prototype.get=ln,an.prototype.has=cn,an.prototype.set=dn,fn.prototype.clear=pn,fn.prototype.delete=hn,fn.prototype.get=mn,fn.prototype.has=vn,fn.prototype.set=gn,yn.prototype.add=yn.prototype.push=bn,yn.prototype.has=_n,wn.prototype.clear=Cn,wn.prototype.delete=xn,wn.prototype.get=En,wn.prototype.has=Tn,wn.prototype.set=kn;var yd=Yo(nr),bd=Yo(ir,!0),_d=$o(),wd=$o(!0),Cd=sd?function(e,t){return sd.set(e,t),e}:Dl,xd=Bc?function(e,t){return Bc(e,"toString",{configurable:!0,enumerable:!1,value:Il(t),writable:!0})}:Dl,Ed=io,Td=Fc||function(e){return sr.clearTimeout(e)},kd=od&&1/K(new od([,-0]))[1]==De?function(e){return new od(e)}:Ul,Sd=sd?function(e){return sd.get(e)}:Ul,Md=Wc?function(e){return null==e?[]:(e=dc(e),f(Wc(e),function(t){return Pc.call(e,t)}))}:Wl,Od=Wc?function(e){for(var t=[];e;)v(t,Md(e)),e=Nc(e);return t}:Wl,Ad=dr;(td&&Ad(new td(new ArrayBuffer(1)))!=dt||nd&&Ad(new nd)!=Qe||rd&&Ad(rd.resolve())!=tt||od&&Ad(new od)!=ot||id&&Ad(new id)!=ut)&&(Ad=function(e){var t=dr(e),n=t==et?e.constructor:oe,r=n?oa(n):"";if(r)switch(r){case ld:return dt;case cd:return Qe;case dd:return tt;case fd:return ot;case pd:return ut}return t});var Nd=yc?iu:Vl,Id=ta(Cd),Pd=Hc||function(e,t){return sr.setTimeout(e,t)},Dd=ta(xd),Rd=Yi(function(e){var t=[];return Pt.test(e)&&t.push(""),e.replace(Dt,function(e,n,r,o){t.push(r?o.replace(Wt,"$1"):n||e)}),t}),jd=io(function(e,t){return Qs(e)?Gn(e,tr(t,1,Qs,!0)):[]}),Ld=io(function(e,t){var n=Ta(t);return Qs(n)&&(n=oe),Qs(e)?Gn(e,tr(t,1,Qs,!0),Ti(n,2)):[]}),Bd=io(function(e,t){var n=Ta(t);return Qs(n)&&(n=oe),Qs(e)?Gn(e,tr(t,1,Qs,!0),oe,n):[]}),Fd=io(function(e){var t=m(e,To);return t.length&&t[0]===e[0]?kr(t):[]}),Ud=io(function(e){var t=Ta(e),n=m(e,To);return t===Ta(n)?t=oe:n.pop(),n.length&&n[0]===e[0]?kr(n,Ti(t,2)):[]}),Hd=io(function(e){var t=Ta(e),n=m(e,To);return t="function"==typeof t?t:oe,t&&n.pop(),n.length&&n[0]===e[0]?kr(n,oe,t):[]}),zd=io(Ma),qd=_i(function(e,t){var n=null==e?0:e.length,r=Bn(e,t);return to(e,m(t,function(e){return Bi(e,n)?+e:e}).sort(Lo)),r}),Wd=io(function(e){return yo(tr(e,1,Qs,!0))}),Vd=io(function(e){var t=Ta(e);return Qs(t)&&(t=oe),yo(tr(e,1,Qs,!0),Ti(t,2))}),Gd=io(function(e){var t=Ta(e);return t="function"==typeof t?t:oe,yo(tr(e,1,Qs,!0),oe,t)}),Yd=io(function(e,t){return Qs(e)?Gn(e,t):[]}),$d=io(function(e){return xo(f(e,Qs))}),Kd=io(function(e){var t=Ta(e);return Qs(t)&&(t=oe),xo(f(e,Qs),Ti(t,2))}),Xd=io(function(e){var t=Ta(e);return t="function"==typeof t?t:oe,xo(f(e,Qs),oe,t)}),Qd=io(Xa),Jd=io(function(e){var t=e.length,n=t>1?e[t-1]:oe;return n="function"==typeof n?(e.pop(),n):oe,Qa(e,n)}),Zd=_i(function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return Bn(t,e)};return!(t>1||this.__actions__.length)&&r instanceof _&&Bi(n)?(r=r.slice(n,+n+(t?1:0)),r.__actions__.push({func:ns,args:[i],thisArg:oe}),new o(r,this.__chain__).thru(function(e){return t&&!e.length&&e.push(oe),e})):this.thru(i)}),ef=Vo(function(e,t,n){_c.call(e,n)?++e[n]:Ln(e,n,1)}),tf=ei(ma),nf=ei(va),rf=Vo(function(e,t,n){_c.call(e,n)?e[n].push(t):Ln(e,n,[t])}),of=io(function(e,t,n){var r=-1,o="function"==typeof t,i=Xs(e)?ac(e.length):[];return yd(e,function(e){i[++r]=o?s(t,e,n):Mr(e,t,n)}),i}),af=Vo(function(e,t,n){Ln(e,n,t)}),sf=Vo(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),uf=io(function(e,t){if(null==e)return[];var n=t.length;return n>1&&Fi(e,t[0],t[1])?t=[]:n>2&&Fi(t[0],t[1],t[2])&&(t=[t[0]]),Xr(e,tr(t,1),[])}),lf=Uc||function(){return sr.Date.now()},cf=io(function(e,t,n){var r=ge;if(n.length){var o=$(n,Ei(cf));r|=Ce}return pi(e,r,t,n,o)}),df=io(function(e,t,n){var r=ge|ye;if(n.length){var o=$(n,Ei(df));r|=Ce}return pi(t,r,e,n,o)}),ff=io(function(e,t){return Vn(e,1,t)}),pf=io(function(e,t,n){return Vn(e,Mu(t)||0,n)});Rs.Cache=fn;var hf=Ed(function(e,t){t=1==t.length&&wf(t[0])?m(t[0],R(Ti())):m(tr(t,1),R(Ti()));var n=t.length;return io(function(r){for(var o=-1,i=Xc(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return s(e,this,r)})}),mf=io(function(e,t){var n=$(t,Ei(mf));return pi(e,Ce,oe,t,n)}),vf=io(function(e,t){var n=$(t,Ei(vf));return pi(e,xe,oe,t,n)}),gf=_i(function(e,t){
-return pi(e,Te,oe,oe,oe,t)}),yf=li(fr),bf=li(function(e,t){return e>=t}),_f=Or(function(){return arguments}())?Or:function(e){return lu(e)&&_c.call(e,"callee")&&!Pc.call(e,"callee")},wf=ac.isArray,Cf=pr?R(pr):Ar,xf=Vc||Vl,Ef=hr?R(hr):Nr,Tf=mr?R(mr):Dr,kf=vr?R(vr):Lr,Sf=gr?R(gr):Br,Mf=yr?R(yr):Fr,Of=li(qr),Af=li(function(e,t){return e<=t}),Nf=Go(function(e,t){if(Wi(t)||Xs(t))return void zo(t,Wu(t),e);for(var n in t)_c.call(t,n)&&In(e,n,t[n])}),If=Go(function(e,t){zo(t,Vu(t),e)}),Pf=Go(function(e,t,n,r){zo(t,Vu(t),e,r)}),Df=Go(function(e,t,n,r){zo(t,Wu(t),e,r)}),Rf=_i(Bn),jf=io(function(e){return e.push(oe,hi),s(Pf,oe,e)}),Lf=io(function(e){return e.push(oe,mi),s(zf,oe,e)}),Bf=ri(function(e,t,n){e[t]=n},Il(Dl)),Ff=ri(function(e,t,n){_c.call(e,t)?e[t].push(n):e[t]=[n]},Ti),Uf=io(Mr),Hf=Go(function(e,t,n){Yr(e,t,n)}),zf=Go(function(e,t,n,r){Yr(e,t,n,r)}),qf=_i(function(e,t){var n={};if(null==e)return n;var r=!1;t=m(t,function(t){return t=So(t,e),r||(r=t.length>1),t}),zo(e,Ci(e),n),r&&(n=Un(n,fe|pe|he,vi));for(var o=t.length;o--;)bo(n,t[o]);return n}),Wf=_i(function(e,t){return null==e?{}:Qr(e,t)}),Vf=fi(Wu),Gf=fi(Vu),Yf=Qo(function(e,t,n){return t=t.toLowerCase(),e+(n?ul(t):t)}),$f=Qo(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),Kf=Qo(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),Xf=Xo("toLowerCase"),Qf=Qo(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}),Jf=Qo(function(e,t,n){return e+(n?" ":"")+ep(t)}),Zf=Qo(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),ep=Xo("toUpperCase"),tp=io(function(e,t){try{return s(e,oe,t)}catch(e){return ru(e)?e:new uc(e)}}),np=_i(function(e,t){return l(t,function(t){t=ra(t),Ln(e,t,cf(e[t],e))}),e}),rp=ti(),op=ti(!0),ip=io(function(e,t){return function(n){return Mr(n,e,t)}}),ap=io(function(e,t){return function(n){return Mr(e,n,t)}}),sp=ii(m),up=ii(d),lp=ii(b),cp=ui(),dp=ui(!0),fp=oi(function(e,t){return e+t},0),pp=di("ceil"),hp=oi(function(e,t){return e/t},1),mp=di("floor"),vp=oi(function(e,t){return e*t},1),gp=di("round"),yp=oi(function(e,t){return e-t},0);return n.after=Ms,n.ary=Os,n.assign=Nf,n.assignIn=If,n.assignInWith=Pf,n.assignWith=Df,n.at=Rf,n.before=As,n.bind=cf,n.bindAll=np,n.bindKey=df,n.castArray=qs,n.chain=es,n.chunk=sa,n.compact=ua,n.concat=la,n.cond=Al,n.conforms=Nl,n.constant=Il,n.countBy=ef,n.create=Iu,n.curry=Ns,n.curryRight=Is,n.debounce=Ps,n.defaults=jf,n.defaultsDeep=Lf,n.defer=ff,n.delay=pf,n.difference=jd,n.differenceBy=Ld,n.differenceWith=Bd,n.drop=ca,n.dropRight=da,n.dropRightWhile=fa,n.dropWhile=pa,n.fill=ha,n.filter=ds,n.flatMap=fs,n.flatMapDeep=ps,n.flatMapDepth=hs,n.flatten=ga,n.flattenDeep=ya,n.flattenDepth=ba,n.flip=Ds,n.flow=rp,n.flowRight=op,n.fromPairs=_a,n.functions=Fu,n.functionsIn=Uu,n.groupBy=rf,n.initial=xa,n.intersection=Fd,n.intersectionBy=Ud,n.intersectionWith=Hd,n.invert=Bf,n.invertBy=Ff,n.invokeMap=of,n.iteratee=Rl,n.keyBy=af,n.keys=Wu,n.keysIn=Vu,n.map=ys,n.mapKeys=Gu,n.mapValues=Yu,n.matches=jl,n.matchesProperty=Ll,n.memoize=Rs,n.merge=Hf,n.mergeWith=zf,n.method=ip,n.methodOf=ap,n.mixin=Bl,n.negate=js,n.nthArg=Hl,n.omit=qf,n.omitBy=$u,n.once=Ls,n.orderBy=bs,n.over=sp,n.overArgs=hf,n.overEvery=up,n.overSome=lp,n.partial=mf,n.partialRight=vf,n.partition=sf,n.pick=Wf,n.pickBy=Ku,n.property=zl,n.propertyOf=ql,n.pull=zd,n.pullAll=Ma,n.pullAllBy=Oa,n.pullAllWith=Aa,n.pullAt=qd,n.range=cp,n.rangeRight=dp,n.rearg=gf,n.reject=Cs,n.remove=Na,n.rest=Bs,n.reverse=Ia,n.sampleSize=Es,n.set=Qu,n.setWith=Ju,n.shuffle=Ts,n.slice=Pa,n.sortBy=uf,n.sortedUniq=Ua,n.sortedUniqBy=Ha,n.split=bl,n.spread=Fs,n.tail=za,n.take=qa,n.takeRight=Wa,n.takeRightWhile=Va,n.takeWhile=Ga,n.tap=ts,n.throttle=Us,n.thru=ns,n.toArray=Eu,n.toPairs=Vf,n.toPairsIn=Gf,n.toPath=Xl,n.toPlainObject=Ou,n.transform=Zu,n.unary=Hs,n.union=Wd,n.unionBy=Vd,n.unionWith=Gd,n.uniq=Ya,n.uniqBy=$a,n.uniqWith=Ka,n.unset=el,n.unzip=Xa,n.unzipWith=Qa,n.update=tl,n.updateWith=nl,n.values=rl,n.valuesIn=ol,n.without=Yd,n.words=Ol,n.wrap=zs,n.xor=$d,n.xorBy=Kd,n.xorWith=Xd,n.zip=Qd,n.zipObject=Ja,n.zipObjectDeep=Za,n.zipWith=Jd,n.entries=Vf,n.entriesIn=Gf,n.extend=If,n.extendWith=Pf,Bl(n,n),n.add=fp,n.attempt=tp,n.camelCase=Yf,n.capitalize=ul,n.ceil=pp,n.clamp=il,n.clone=Ws,n.cloneDeep=Gs,n.cloneDeepWith=Ys,n.cloneWith=Vs,n.conformsTo=$s,n.deburr=ll,n.defaultTo=Pl,n.divide=hp,n.endsWith=cl,n.eq=Ks,n.escape=dl,n.escapeRegExp=fl,n.every=cs,n.find=tf,n.findIndex=ma,n.findKey=Pu,n.findLast=nf,n.findLastIndex=va,n.findLastKey=Du,n.floor=mp,n.forEach=ms,n.forEachRight=vs,n.forIn=Ru,n.forInRight=ju,n.forOwn=Lu,n.forOwnRight=Bu,n.get=Hu,n.gt=yf,n.gte=bf,n.has=zu,n.hasIn=qu,n.head=wa,n.identity=Dl,n.includes=gs,n.indexOf=Ca,n.inRange=al,n.invoke=Uf,n.isArguments=_f,n.isArray=wf,n.isArrayBuffer=Cf,n.isArrayLike=Xs,n.isArrayLikeObject=Qs,n.isBoolean=Js,n.isBuffer=xf,n.isDate=Ef,n.isElement=Zs,n.isEmpty=eu,n.isEqual=tu,n.isEqualWith=nu,n.isError=ru,n.isFinite=ou,n.isFunction=iu,n.isInteger=au,n.isLength=su,n.isMap=Tf,n.isMatch=cu,n.isMatchWith=du,n.isNaN=fu,n.isNative=pu,n.isNil=mu,n.isNull=hu,n.isNumber=vu,n.isObject=uu,n.isObjectLike=lu,n.isPlainObject=gu,n.isRegExp=kf,n.isSafeInteger=yu,n.isSet=Sf,n.isString=bu,n.isSymbol=_u,n.isTypedArray=Mf,n.isUndefined=wu,n.isWeakMap=Cu,n.isWeakSet=xu,n.join=Ea,n.kebabCase=$f,n.last=Ta,n.lastIndexOf=ka,n.lowerCase=Kf,n.lowerFirst=Xf,n.lt=Of,n.lte=Af,n.max=Jl,n.maxBy=Zl,n.mean=ec,n.meanBy=tc,n.min=nc,n.minBy=rc,n.stubArray=Wl,n.stubFalse=Vl,n.stubObject=Gl,n.stubString=Yl,n.stubTrue=$l,n.multiply=vp,n.nth=Sa,n.noConflict=Fl,n.noop=Ul,n.now=lf,n.pad=pl,n.padEnd=hl,n.padStart=ml,n.parseInt=vl,n.random=sl,n.reduce=_s,n.reduceRight=ws,n.repeat=gl,n.replace=yl,n.result=Xu,n.round=gp,n.runInContext=e,n.sample=xs,n.size=ks,n.snakeCase=Qf,n.some=Ss,n.sortedIndex=Da,n.sortedIndexBy=Ra,n.sortedIndexOf=ja,n.sortedLastIndex=La,n.sortedLastIndexBy=Ba,n.sortedLastIndexOf=Fa,n.startCase=Jf,n.startsWith=_l,n.subtract=yp,n.sum=oc,n.sumBy=ic,n.template=wl,n.times=Kl,n.toFinite=Tu,n.toInteger=ku,n.toLength=Su,n.toLower=Cl,n.toNumber=Mu,n.toSafeInteger=Au,n.toString=Nu,n.toUpper=xl,n.trim=El,n.trimEnd=Tl,n.trimStart=kl,n.truncate=Sl,n.unescape=Ml,n.uniqueId=Ql,n.upperCase=Zf,n.upperFirst=ep,n.each=ms,n.eachRight=vs,n.first=wa,Bl(n,function(){var e={};return nr(n,function(t,r){_c.call(n.prototype,r)||(e[r]=t)}),e}(),{chain:!1}),n.VERSION=ie,l(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){n[e].placeholder=n}),l(["drop","take"],function(e,t){_.prototype[e]=function(n){n=n===oe?1:Kc(ku(n),0);var r=this.__filtered__&&!t?new _(this):this.clone();return r.__filtered__?r.__takeCount__=Xc(n,r.__takeCount__):r.__views__.push({size:Xc(n,Be),type:e+(r.__dir__<0?"Right":"")}),r},_.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),l(["filter","map","takeWhile"],function(e,t){var n=t+1,r=n==Ne||n==Pe;_.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Ti(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),l(["head","last"],function(e,t){var n="take"+(t?"Right":"");_.prototype[e]=function(){return this[n](1).value()[0]}}),l(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");_.prototype[e]=function(){return this.__filtered__?new _(this):this[n](1)}}),_.prototype.compact=function(){return this.filter(Dl)},_.prototype.find=function(e){return this.filter(e).head()},_.prototype.findLast=function(e){return this.reverse().find(e)},_.prototype.invokeMap=io(function(e,t){return"function"==typeof e?new _(this):this.map(function(n){return Mr(n,e,t)})}),_.prototype.reject=function(e){return this.filter(js(Ti(e)))},_.prototype.slice=function(e,t){e=ku(e);var n=this;return n.__filtered__&&(e>0||t<0)?new _(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==oe&&(t=ku(t),n=t<0?n.dropRight(-t):n.take(t-e)),n)},_.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},_.prototype.toArray=function(){return this.take(Be)},nr(_.prototype,function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),a=n[i?"take"+("last"==t?"Right":""):t],s=i||/^find/.test(t);a&&(n.prototype[t]=function(){var t=this.__wrapped__,u=i?[1]:arguments,l=t instanceof _,c=u[0],d=l||wf(t),f=function(e){var t=a.apply(n,v([e],u));return i&&p?t[0]:t};d&&r&&"function"==typeof c&&1!=c.length&&(l=d=!1);var p=this.__chain__,h=!!this.__actions__.length,m=s&&!p,g=l&&!h;if(!s&&d){t=g?t:new _(this);var y=e.apply(t,u);return y.__actions__.push({func:ns,args:[f],thisArg:oe}),new o(y,p)}return m&&g?e.apply(this,u):(y=this.thru(f),m?i?y.value()[0]:y.value():y)})}),l(["pop","push","shift","sort","splice","unshift"],function(e){var t=mc[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",o=/^(?:pop|shift)$/.test(e);n.prototype[e]=function(){var e=arguments;if(o&&!this.__chain__){var n=this.value();return t.apply(wf(n)?n:[],e)}return this[r](function(n){return t.apply(wf(n)?n:[],e)})}}),nr(_.prototype,function(e,t){var r=n[t];if(r){var o=r.name+"",i=ud[o]||(ud[o]=[]);i.push({name:t,func:r})}}),ud[ni(oe,ye).name]=[{name:"wrapper",func:oe}],_.prototype.clone=O,_.prototype.reverse=Q,_.prototype.value=te,n.prototype.at=Zd,n.prototype.chain=rs,n.prototype.commit=os,n.prototype.next=is,n.prototype.plant=ss,n.prototype.reverse=us,n.prototype.toJSON=n.prototype.valueOf=n.prototype.value=ls,n.prototype.first=n.prototype.head,jc&&(n.prototype[jc]=as),n},Er=xr();sr._=Er,r=function(){return Er}.call(t,n,t,o),!(r!==oe&&(o.exports=r))}).call(this)}).call(t,function(){return this}(),n(203)(e))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(336),i=r(o);t.default=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,i.default)(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(542),i=r(o),a=n(540),s=r(a),u=n(219),l=r(u);t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+("undefined"==typeof t?"undefined":(0,l.default)(t)));e.prototype=(0,s.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(i.default?(0,i.default)(e,t):e.__proto__=t)}},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var a=n(29),s=o(a),u=n(22),l=r(u),c=n(19),d=r(c),f=n(127),p=r(f),h=n(81),m=r(h),v=n(44),g=o(v),y=n(128),b=o(y),_=n(74),w=o(_),C=function(){function e(t,n,r){if(i(this,e),!t&&this.play?this.player_=t=this:this.player_=t,this.options_=(0,w.default)({},this.options_),n=this.options_=(0,w.default)(this.options_,n),this.id_=n.id||n.el&&n.el.id,!this.id_){var o=t&&t.id&&t.id()||"no_player";this.id_=o+"_component_"+p.newGUID()}this.name_=n.name||null,n.el?this.el_=n.el:n.createEl!==!1&&(this.el_=this.createEl()),this.children_=[],this.childIndex_={},this.childNameIndex_={},n.initChildren!==!1&&this.initChildren(),this.ready(r),n.reportTouchActivity!==!1&&this.enableTouchActivity()}return e.prototype.dispose=function(){if(this.trigger({type:"dispose",bubbles:!1}),this.children_)for(var e=this.children_.length-1;e>=0;e--)this.children_[e].dispose&&this.children_[e].dispose();this.children_=null,this.childIndex_=null,this.childNameIndex_=null,this.off(),this.el_.parentNode&&this.el_.parentNode.removeChild(this.el_),l.removeElData(this.el_),this.el_=null},e.prototype.player=function(){return this.player_},e.prototype.options=function(e){return g.default.warn("this.options() has been deprecated and will be moved to the constructor in 6.0"),e?(this.options_=(0,w.default)(this.options_,e),this.options_):this.options_},e.prototype.el=function(){return this.el_},e.prototype.createEl=function(e,t,n){return l.createEl(e,t,n)},e.prototype.localize=function(e){var t=this.player_.language&&this.player_.language(),n=this.player_.languages&&this.player_.languages();if(!t||!n)return e;var r=n[t];if(r&&r[e])return r[e];var o=t.split("-")[0],i=n[o];return i&&i[e]?i[e]:e},e.prototype.contentEl=function(){return this.contentEl_||this.el_},e.prototype.id=function(){return this.id_},e.prototype.name=function(){return this.name_},e.prototype.children=function(){return this.children_},e.prototype.getChildById=function(e){return this.childIndex_[e]},e.prototype.getChild=function(e){if(e)return e=(0,b.default)(e),this.childNameIndex_[e]},e.prototype.addChild=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.children_.length,o=void 0,i=void 0;if("string"==typeof t){i=(0,b.default)(t),n||(n={}),n===!0&&(g.default.warn("Initializing a child component with `true` is deprecated.Children should be defined in an array when possible, but if necessary use an object instead of `true`."),n={});var a=n.componentClass||i;n.name=i;var s=e.getComponent(a);if(!s)throw new Error("Component "+a+" does not exist");if("function"!=typeof s)return null;o=new s(this.player_||this,n)}else o=t;if(this.children_.splice(r,0,o),"function"==typeof o.id&&(this.childIndex_[o.id()]=o),i=i||o.name&&(0,b.default)(o.name()),i&&(this.childNameIndex_[i]=o),"function"==typeof o.el&&o.el()){var u=this.contentEl().children,l=u[r]||null;this.contentEl().insertBefore(o.el(),l)}return o},e.prototype.removeChild=function(e){if("string"==typeof e&&(e=this.getChild(e)),e&&this.children_){for(var t=!1,n=this.children_.length-1;n>=0;n--)if(this.children_[n]===e){t=!0,this.children_.splice(n,1);break}if(t){this.childIndex_[e.id()]=null,this.childNameIndex_[e.name()]=null;var r=e.el();r&&r.parentNode===this.contentEl()&&this.contentEl().removeChild(e.el())}}},e.prototype.initChildren=function(){var t=this,n=this.options_.children;if(n){var r=this.options_,o=function(e){var n=e.name,o=e.opts;if(void 0!==r[n]&&(o=r[n]),o!==!1){o===!0&&(o={}),o.playerOptions=t.options_.playerOptions;var i=t.addChild(n,o);i&&(t[n]=i)}},i=void 0,a=e.getComponent("Tech");i=Array.isArray(n)?n:Object.keys(n),i.concat(Object.keys(this.options_).filter(function(e){return!i.some(function(t){return"string"==typeof t?e===t:e===t.name})})).map(function(e){var r=void 0,o=void 0;return"string"==typeof e?(r=e,o=n[r]||t.options_[r]||{}):(r=e.name,o=e),{name:r,opts:o}}).filter(function(t){var n=e.getComponent(t.opts.componentClass||(0,b.default)(t.name));return n&&!a.isTech(n)}).forEach(o)}},e.prototype.buildCSSClass=function(){return""},e.prototype.on=function(e,t,n){var r=this;if("string"==typeof e||Array.isArray(e))m.on(this.el_,e,d.bind(this,t));else{var o=e,i=t,a=d.bind(this,n),s=function(){return r.off(o,i,a)};s.guid=a.guid,this.on("dispose",s);var u=function(){return r.off("dispose",s)};u.guid=a.guid,e.nodeName?(m.on(o,i,a),m.on(o,"dispose",u)):"function"==typeof e.on&&(o.on(i,a),o.on("dispose",u))}return this},e.prototype.off=function(e,t,n){if(!e||"string"==typeof e||Array.isArray(e))m.off(this.el_,e,t);else{var r=e,o=t,i=d.bind(this,n);this.off("dispose",i),e.nodeName?(m.off(r,o,i),m.off(r,"dispose",i)):(r.off(o,i),r.off("dispose",i))}return this},e.prototype.one=function(e,t,n){var r=this,o=arguments;if("string"==typeof e||Array.isArray(e))m.one(this.el_,e,d.bind(this,t));else{var i=e,a=t,s=d.bind(this,n),u=function e(){r.off(i,a,e),s.apply(null,o)};u.guid=s.guid,this.on(i,a,u)}return this},e.prototype.trigger=function(e,t){return m.trigger(this.el_,e,t),this},e.prototype.ready=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(this.isReady_?t?e.call(this):this.setTimeout(e,1):(this.readyQueue_=this.readyQueue_||[],this.readyQueue_.push(e))),this},e.prototype.triggerReady=function(){this.isReady_=!0,this.setTimeout(function(){var e=this.readyQueue_;this.readyQueue_=[],e&&e.length>0&&e.forEach(function(e){e.call(this)},this),this.trigger("ready")},1)},e.prototype.$=function(e,t){return l.$(e,t||this.contentEl())},e.prototype.$$=function(e,t){return l.$$(e,t||this.contentEl())},e.prototype.hasClass=function(e){return l.hasElClass(this.el_,e)},e.prototype.addClass=function(e){return l.addElClass(this.el_,e),this},e.prototype.removeClass=function(e){return l.removeElClass(this.el_,e),this},e.prototype.toggleClass=function(e,t){return l.toggleElClass(this.el_,e,t),this},e.prototype.show=function(){return this.removeClass("vjs-hidden"),this},e.prototype.hide=function(){return this.addClass("vjs-hidden"),this},e.prototype.lockShowing=function(){return this.addClass("vjs-lock-showing"),this},e.prototype.unlockShowing=function(){return this.removeClass("vjs-lock-showing"),this},e.prototype.getAttribute=function(e){return l.getAttribute(this.el_,e)},e.prototype.setAttribute=function(e,t){return l.setAttribute(this.el_,e,t),this},e.prototype.removeAttribute=function(e){return l.removeAttribute(this.el_,e),this},e.prototype.width=function(e,t){return this.dimension("width",e,t)},e.prototype.height=function(e,t){return this.dimension("height",e,t)},e.prototype.dimensions=function(e,t){return this.width(e,!0).height(t)},e.prototype.dimension=function(e,t,n){if(void 0!==t)return null!==t&&t===t||(t=0),(""+t).indexOf("%")!==-1||(""+t).indexOf("px")!==-1?this.el_.style[e]=t:"auto"===t?this.el_.style[e]="":this.el_.style[e]=t+"px",n||this.trigger("resize"),this;if(!this.el_)return 0;var r=this.el_.style[e],o=r.indexOf("px");return o!==-1?parseInt(r.slice(0,o),10):parseInt(this.el_["offset"+(0,b.default)(e)],10)},e.prototype.currentDimension=function(e){var t=0;if("width"!==e&&"height"!==e)throw new Error("currentDimension only accepts width or height value");if("function"==typeof s.default.getComputedStyle){var n=s.default.getComputedStyle(this.el_);t=n.getPropertyValue(e)||n[e]}if(t=parseFloat(t),0===t){var r="offset"+(0,b.default)(e);t=this.el_[r]}return t},e.prototype.currentDimensions=function(){return{width:this.currentDimension("width"),height:this.currentDimension("height")}},e.prototype.currentWidth=function(){return this.currentDimension("width")},e.prototype.currentHeight=function(){return this.currentDimension("height")},e.prototype.focus=function(){this.el_.focus()},e.prototype.blur=function(){this.el_.blur()},e.prototype.emitTapEvents=function(){var e=0,t=null,n=10,r=200,o=void 0;this.on("touchstart",function(n){1===n.touches.length&&(t={pageX:n.touches[0].pageX,pageY:n.touches[0].pageY},e=(new Date).getTime(),o=!0)}),this.on("touchmove",function(e){if(e.touches.length>1)o=!1;else if(t){var r=e.touches[0].pageX-t.pageX,i=e.touches[0].pageY-t.pageY,a=Math.sqrt(r*r+i*i);a>n&&(o=!1)}});var i=function(){o=!1};this.on("touchleave",i),this.on("touchcancel",i),this.on("touchend",function(n){if(t=null,o===!0){var i=(new Date).getTime()-e;i<r&&(n.preventDefault(),this.trigger("tap"))}})},e.prototype.enableTouchActivity=function(){if(this.player()&&this.player().reportUserActivity){var e=d.bind(this.player(),this.player().reportUserActivity),t=void 0;this.on("touchstart",function(){e(),this.clearInterval(t),t=this.setInterval(e,250)});var n=function(n){e(),this.clearInterval(t)};this.on("touchmove",e),this.on("touchend",n),this.on("touchcancel",n)}},e.prototype.setTimeout=function(e,t){e=d.bind(this,e);var n=s.default.setTimeout(e,t),r=function(){this.clearTimeout(n)};return r.guid="vjs-timeout-"+n,this.on("dispose",r),n},e.prototype.clearTimeout=function(e){s.default.clearTimeout(e);var t=function(){};return t.guid="vjs-timeout-"+e,this.off("dispose",t),e},e.prototype.setInterval=function(e,t){e=d.bind(this,e);var n=s.default.setInterval(e,t),r=function(){this.clearInterval(n)};return r.guid="vjs-interval-"+n,this.on("dispose",r),n},e.prototype.clearInterval=function(e){s.default.clearInterval(e);var t=function(){};return t.guid="vjs-interval-"+e,this.off("dispose",t),e},e.registerComponent=function(t,n){if(t){if(t=(0,b.default)(t),e.components_||(e.components_={}),"Player"===t&&e.components_[t]){var r=e.components_[t];if(r.players&&Object.keys(r.players).length>0&&Object.keys(r.players).map(function(e){return r.players[e]}).every(Boolean))throw new Error("Can not register Player component after player has been created")}return e.components_[t]=n,n}},e.getComponent=function(t){if(t)return t=(0,b.default)(t),e.components_&&e.components_[t]?e.components_[t]:s.default&&s.default.videojs&&s.default.videojs[t]?(g.default.warn("The "+t+" component was added to the videojs object when it should be registered using videojs.registerComponent(name, component)"),s.default.videojs[t]):void 0},e.extend=function(t){t=t||{},g.default.warn("Component.extend({}) has been deprecated,  use videojs.extend(Component, {}) instead");var n=t.init||t.init||this.prototype.init||this.prototype.init||function(){},r=function(){n.apply(this,arguments)};r.prototype=Object.create(this.prototype),r.prototype.constructor=r,r.extend=e.extend;for(var o in t)t.hasOwnProperty(o)&&(r.prototype[o]=t[o]);return r},e}();C.registerComponent("Component",C),t.default=C},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(219),i=r(o);t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==("undefined"==typeof t?"undefined":(0,i.default)(t))&&"function"!=typeof t?e:t}},function(e,t,n){e.exports={default:n(599),__esModule:!0}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(335),i=r(o);t.default=i.default||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},function(e,t,n){"use strict";function r(e,t,n,r,i,a,s,u){if(o(t),!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,i,a,s,u],d=0;l=new Error(t.replace(/%s/g,function(){return c[d++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}}var o=function(e){};e.exports=r},[1490,18],function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){"use strict";var r=n(52),o=r;e.exports=o},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){"use strict";function n(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);n+=" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";var o=new Error(n);throw o.name="Invariant Violation",o.framesToPop=1,o}e.exports=n},function(e,t,n){"use strict";var r=function(e,t,n,r,o,i,a,s){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,o,i,a,s],c=0;u=new Error(t.replace(/%s/g,function(){return l[c++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}};e.exports=r},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){"use strict";t.__esModule=!0,t.throttle=t.bind=void 0;var r=n(127);t.bind=function(e,t,n){t.guid||(t.guid=(0,r.newGUID)());var o=function(){return t.apply(e,arguments)};return o.guid=n?n+"_"+t.guid:t.guid,o},t.throttle=function(e,t){var n=Date.now(),r=function(){var r=Date.now();r-n>=t&&(e.apply(void 0,arguments),n=r)};return r}},[1592,174,95,13],function(e,t){/*
-	object-assign
-	(c) Sindre Sorhus
-	@license MIT
-	*/
-"use strict";function n(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function r(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if("0123456789"!==r.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(e){o[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}var o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=r()?Object.assign:function(e,t){for(var r,s,u=n(e),l=1;l<arguments.length;l++){r=Object(arguments[l]);for(var c in r)i.call(r,c)&&(u[c]=r[c]);if(o){s=o(r);for(var d=0;d<s.length;d++)a.call(r,s[d])&&(u[s[d]]=r[s[d]])}}return u}},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return e.raw=t,e}function a(e){return"string"==typeof e&&/\S/.test(e)}function s(e){if(/\s/.test(e))throw new Error("class has illegal whitespace characters")}function u(e){return new RegExp("(^|\\s)"+e+"($|\\s)")}function l(){return F.default===H.default.document&&"undefined"!=typeof F.default.createElement}function c(e){return(0,$.isObject)(e)&&1===e.nodeType}function d(e){return function(t,n){if(!a(t))return F.default[e](null);a(n)&&(n=F.default.querySelector(n));var r=c(n)?n:F.default;return r[e]&&r[e](t)}}function f(e){return 0===e.indexOf("#")&&(e=e.slice(1)),F.default.getElementById(e)}function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"div",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments[3],o=F.default.createElement(e);return Object.getOwnPropertyNames(t).forEach(function(e){var n=t[e];e.indexOf("aria-")!==-1||"role"===e||"type"===e?(V.default.warn((0,Y.default)(L,e,n)),o.setAttribute(e,n)):"textContent"===e?h(o,n):o[e]=n}),Object.getOwnPropertyNames(n).forEach(function(e){o.setAttribute(e,n[e])}),r&&R(o,r),o}function h(e,t){return"undefined"==typeof e.textContent?e.innerText=t:e.textContent=t,e}function m(e,t){t.firstChild?t.insertBefore(e,t.firstChild):t.appendChild(e)}function v(e){var t=e[X];return t||(t=e[X]=q.newGUID()),K[t]||(K[t]={}),K[t]}function g(e){var t=e[X];return!!t&&!!Object.getOwnPropertyNames(K[t]).length}function y(e){var t=e[X];if(t){delete K[t];try{delete e[X]}catch(t){e.removeAttribute?e.removeAttribute(X):e[X]=null}}}function b(e,t){return s(t),e.classList?e.classList.contains(t):u(t).test(e.className)}function _(e,t){return e.classList?e.classList.add(t):b(e,t)||(e.className=(e.className+" "+t).trim()),e}function w(e,t){return e.classList?e.classList.remove(t):(s(t),e.className=e.className.split(/\s+/).filter(function(e){return e!==t}).join(" ")),e}function C(e,t,n){var r=b(e,t);if("function"==typeof n&&(n=n(e,t)),"boolean"!=typeof n&&(n=!r),n!==r)return n?_(e,t):w(e,t),e}function x(e,t){Object.getOwnPropertyNames(t).forEach(function(n){var r=t[n];null===r||"undefined"==typeof r||r===!1?e.removeAttribute(n):e.setAttribute(n,r===!0?"":r)})}function E(e){var t={},n=",autoplay,controls,loop,muted,default,";if(e&&e.attributes&&e.attributes.length>0)for(var r=e.attributes,o=r.length-1;o>=0;o--){var i=r[o].name,a=r[o].value;"boolean"!=typeof e[i]&&n.indexOf(","+i+",")===-1||(a=null!==a),t[i]=a}return t}function T(e,t){return e.getAttribute(t)}function k(e,t,n){e.setAttribute(t,n)}function S(e,t){e.removeAttribute(t)}function M(){F.default.body.focus(),F.default.onselectstart=function(){return!1}}function O(){F.default.onselectstart=function(){return!0}}function A(e){var t=void 0;if(e.getBoundingClientRect&&e.parentNode&&(t=e.getBoundingClientRect()),!t)return{left:0,top:0};var n=F.default.documentElement,r=F.default.body,o=n.clientLeft||r.clientLeft||0,i=H.default.pageXOffset||r.scrollLeft,a=t.left+i-o,s=n.clientTop||r.clientTop||0,u=H.default.pageYOffset||r.scrollTop,l=t.top+u-s;return{left:Math.round(a),top:Math.round(l)}}function N(e,t){var n={},r=A(e),o=e.offsetWidth,i=e.offsetHeight,a=r.top,s=r.left,u=t.pageY,l=t.pageX;return t.changedTouches&&(l=t.changedTouches[0].pageX,u=t.changedTouches[0].pageY),n.y=Math.max(0,Math.min(1,(a-u+i)/i)),n.x=Math.max(0,Math.min(1,(l-s)/o)),n}function I(e){return(0,$.isObject)(e)&&3===e.nodeType}function P(e){for(;e.firstChild;)e.removeChild(e.firstChild);return e}function D(e){return"function"==typeof e&&(e=e()),(Array.isArray(e)?e:[e]).map(function(e){return"function"==typeof e&&(e=e()),c(e)||I(e)?e:"string"==typeof e&&/\S/.test(e)?F.default.createTextNode(e):void 0}).filter(function(e){return e})}function R(e,t){return D(t).forEach(function(t){return e.appendChild(t)}),e}function j(e,t){return R(P(e),t)}t.__esModule=!0,t.$$=t.$=void 0;var L=i(["Setting attributes in the second argument of createEl()\n                has been deprecated. Use the third argument instead.\n                createEl(type, properties, attributes). Attempting to set "," to ","."],["Setting attributes in the second argument of createEl()\n                has been deprecated. Use the third argument instead.\n                createEl(type, properties, attributes). Attempting to set "," to ","."]);t.isReal=l,t.isEl=c,t.getEl=f,t.createEl=p,t.textContent=h,t.insertElFirst=m,t.getElData=v,t.hasElData=g,t.removeElData=y,t.hasElClass=b,t.addElClass=_,t.removeElClass=w,t.toggleElClass=C,t.setElAttributes=x,t.getElAttributes=E,t.getAttribute=T,t.setAttribute=k,t.removeAttribute=S,t.blockTextSelection=M,t.unblockTextSelection=O,t.findElPosition=A,t.getPointerPosition=N,t.isTextNode=I,t.emptyEl=P,t.normalizeContent=D,t.appendContent=R,t.insertContent=j;var B=n(26),F=o(B),U=n(29),H=o(U),z=n(127),q=r(z),W=n(44),V=o(W),G=n(478),Y=o(G),$=n(33),K={},X="vdata"+(new Date).getTime();t.$=d("querySelector"),t.$$=d("querySelectorAll")},function(e,t){var n=e.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},[1507,15],[1547,12,363,60,24],function(e,t,n){(function(t){var r="undefined"!=typeof t?t:"undefined"!=typeof window?window:{},o=n(1213);if("undefined"!=typeof document)e.exports=document;else{var i=r["__GLOBAL_DOCUMENT_CACHE@4"];i||(i=r["__GLOBAL_DOCUMENT_CACHE@4"]=o),e.exports=i}}).call(t,function(){return this}())},function(e,t,n){"use strict";function r(e,t){return 1===e.nodeType&&e.getAttribute(h)===String(t)||8===e.nodeType&&e.nodeValue===" react-text: "+t+" "||8===e.nodeType&&e.nodeValue===" react-empty: "+t+" "}function o(e){for(var t;t=e._renderedComponent;)e=t;return e}function i(e,t){var n=o(e);n._hostNode=t,t[v]=n}function a(e){var t=e._hostNode;t&&(delete t[v],e._hostNode=null)}function s(e,t){if(!(e._flags&m.hasCachedChildNodes)){var n=e._renderedChildren,a=t.firstChild;e:for(var s in n)if(n.hasOwnProperty(s)){var u=n[s],l=o(u)._domID;if(0!==l){for(;null!==a;a=a.nextSibling)if(r(a,l)){i(u,a);continue e}d("32",l)}}e._flags|=m.hasCachedChildNodes}}function u(e){if(e[v])return e[v];for(var t=[];!e[v];){if(t.push(e),!e.parentNode)return null;e=e.parentNode}for(var n,r;e&&(r=e[v]);e=t.pop())n=r,t.length&&s(r,e);return n}function l(e){var t=u(e);return null!=t&&t._hostNode===e?t:null}function c(e){if(void 0===e._hostNode?d("33"):void 0,e._hostNode)return e._hostNode;for(var t=[];!e._hostNode;)t.push(e),e._hostParent?void 0:d("34"),e=e._hostParent;for(;t.length;e=t.pop())s(e,e._hostNode);return e._hostNode}var d=n(16),f=n(117),p=n(432),h=(n(11),f.ID_ATTRIBUTE_NAME),m=p,v="__reactInternalInstance$"+Math.random().toString(36).slice(2),g={getClosestInstanceFromNode:u,getInstanceFromNode:l,getNodeFromInstance:c,precacheChildNodes:s,precacheNode:i,uncacheNode:a};e.exports=g},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){function t(t){return r?c.default[t||u.default.camelCase(e.name)]||{}:c.default}function n(n){return e((0,a.default)({localizeStrings:t},n))}var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.prototype.render?(e.defaultProps=(0,a.default)({localizeStrings:t},e.defaultProps),e):(Object.defineProperty(n,"name",{value:e.name}),n)}Object.defineProperty(t,"__esModule",{value:!0});var i=n(10),a=r(i);t.default=o;var s=n(4),u=r(s),l=n(1329),c=r(l)},function(e,t){(function(t){"undefined"!=typeof window?e.exports=window:"undefined"!=typeof t?e.exports=t:"undefined"!=typeof self?e.exports=self:e.exports={}}).call(t,function(){return this}())},[1582,78],[1585,50],function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.__esModule=!0,t.BACKGROUND_SIZE_SUPPORTED=t.TOUCH_ENABLED=t.IS_ANY_SAFARI=t.IS_SAFARI=t.IE_VERSION=t.IS_IE8=t.IS_CHROME=t.IS_EDGE=t.IS_FIREFOX=t.IS_NATIVE_ANDROID=t.IS_OLD_ANDROID=t.ANDROID_VERSION=t.IS_ANDROID=t.IOS_VERSION=t.IS_IOS=t.IS_IPOD=t.IS_IPHONE=t.IS_IPAD=void 0;var i=n(22),a=o(i),s=n(29),u=r(s),l=u.default.navigator&&u.default.navigator.userAgent||"",c=/AppleWebKit\/([\d.]+)/i.exec(l),d=c?parseFloat(c.pop()):null,f=t.IS_IPAD=/iPad/i.test(l),p=t.IS_IPHONE=/iPhone/i.test(l)&&!f,h=t.IS_IPOD=/iPod/i.test(l),m=t.IS_IOS=p||f||h,v=(t.IOS_VERSION=function(){var e=l.match(/OS (\d+)_/i);return e&&e[1]?e[1]:null}(),t.IS_ANDROID=/Android/i.test(l)),g=t.ANDROID_VERSION=function(){var e=l.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i);if(!e)return null;var t=e[1]&&parseFloat(e[1]),n=e[2]&&parseFloat(e[2]);return t&&n?parseFloat(e[1]+"."+e[2]):t?t:null}(),y=(t.IS_OLD_ANDROID=v&&/webkit/i.test(l)&&g<2.3,t.IS_NATIVE_ANDROID=v&&g<5&&d<537,t.IS_FIREFOX=/Firefox/i.test(l),t.IS_EDGE=/Edge/i.test(l)),b=t.IS_CHROME=!y&&/Chrome/i.test(l),_=(t.IS_IE8=/MSIE\s8\.0/.test(l),t.IE_VERSION=function(e){return e&&parseFloat(e[1])}(/MSIE\s(\d+)\.\d/.exec(l)),t.IS_SAFARI=/Safari/i.test(l)&&!b&&!v&&!y);t.IS_ANY_SAFARI=_||m,t.TOUCH_ENABLED=a.isReal()&&("ontouchstart"in u.default||u.default.DocumentTouch&&u.default.document instanceof u.default.DocumentTouch),t.BACKGROUND_SIZE_SUPPORTED=a.isReal()&&"backgroundSize"in u.default.document.createElement("video").style},function(e,t){"use strict";function n(e,t){l(e).forEach(function(n){return t(e[n],n)})}function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return l(e).reduce(function(n,r){return t(n,e[r],r)},n)}function o(e){for(var t=arguments.length,r=Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];return Object.assign?Object.assign.apply(Object,[e].concat(r)):(r.forEach(function(t){t&&n(t,function(t,n){e[n]=t})}),e)}function i(e){return!!e&&"object"===("undefined"==typeof e?"undefined":s(e))}function a(e){return i(e)&&"[object Object]"===u.call(e)&&e.constructor===Object}t.__esModule=!0;var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.each=n,t.reduce=r,t.assign=o,t.isObject=i,t.isPlain=a;var u=Object.prototype.toString,l=function(e){return i(e)?Object.keys(e):[]}},[1592,227,164,45],function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){"use strict";var n=!("undefined"==typeof window||!window.document||!window.document.createElement),r={canUseDOM:n,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:n&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:n&&!!window.screen,isInWorker:!n};e.exports=r},function(e,t){var n=Array.isArray;e.exports=n},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},[1514,25,77,24],function(e,t,n){var r=n(13),o=n(39),i=n(35),a=n(95)("src"),s="toString",u=Function[s],l=(""+u).split(s);n(67).inspectSource=function(e){return u.call(e)},(e.exports=function(e,t,n,s){var u="function"==typeof n;u&&(i(n,"name")||o(n,"name",t)),e[t]!==n&&(u&&(i(n,a)||o(n,a,e[t]?""+e[t]:l.join(String(t)))),e===r?e[t]=n:s?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,s,function(){return"function"==typeof this&&this[a]||u.call(this)})},function(e,t,n){var r=n(2),o=n(15),i=n(50),a=/"/g,s=function(e,t,n,r){var o=String(i(e)),s="<"+t;return""!==n&&(s+=" "+n+'="'+String(r).replace(a,"&quot;")+'"'),s+">"+o+"</"+t+">"};e.exports=function(e,t){var n={};n[e]=t(s),r(r.P+r.F*o(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}),"String",n)}},[1580,141,50],function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.connect=t.connectAdvanced=t.Provider=void 0;var o=n(1075),i=r(o),a=n(451),s=r(a),u=n(1076),l=r(u);t.Provider=i.default,t.connectAdvanced=s.default,t.connect=l.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.logByType=void 0;var o=n(29),i=r(o),a=n(32),s=n(33),u=void 0,l=t.logByType=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:!!a.IE_VERSION&&a.IE_VERSION<11;"log"!==e&&t.unshift(e.toUpperCase()+":"),u.history.push(t),t.unshift("VIDEOJS:");var r=i.default.console&&i.default.console[e];r&&(n&&(t=t.map(function(e){if((0,s.isObject)(e)||Array.isArray(e))try{return JSON.stringify(e)}catch(t){return String(e)}return String(e)}).join(" ")),r.apply?r[Array.isArray(t)?"apply":"call"](i.default.console,t):r(t))};u=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];l("log",t)},u.history=[],u.error=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return l("error",t)},u.warn=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return l("warn",t)},t.default=u},13,[1550,142,77,42,60,35,363,24],[1556,35,31,248],function(e,t,n){var r=n(45),o=n(23),i=n(85),a=n(84),s="prototype",u=function(e,t,n){var l,c,d,f=e&u.F,p=e&u.G,h=e&u.S,m=e&u.P,v=e&u.B,g=e&u.W,y=p?o:o[t]||(o[t]={}),b=y[s],_=p?r:h?r[t]:(r[t]||{})[s];p&&(n=t);for(l in n)c=!f&&_&&void 0!==_[l],c&&l in y||(d=c?_[l]:n[l],y[l]=p&&"function"!=typeof _[l]?n[l]:v&&c?i(d,r):g&&_[l]==d?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t[s]=e[s],t}(d):m&&"function"==typeof d?i(Function.call,d):d,m&&((y.virtual||(y.virtual={}))[l]=d,e&u.R&&b&&!b[l]&&a(b,l,d)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on  "+e);return e}},function(e,t,n){var r=n(15);e.exports=function(e,t){return!!e&&r(function(){t?e.call(null,function(){},1):e.call(null)})}},function(e,t){"use strict";function n(e){return function(){return e}}var r=function(){};r.thatReturns=n,r.thatReturnsFalse=n(!1),r.thatReturnsTrue=n(!0),r.thatReturnsNull=n(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r},function(e,t,n){"use strict";var r=null;e.exports={debugTool:r}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return s.default.findKey(u.item,function(t){return e===t})||s.default.findKey(u.question,function(t){return e===t})||s.default.findKey(u.answer,function(t){return e===t})||s.default.findKey(u.target,function(t){return e===t})||s.default.findKey(u.zone,function(t){return e===t})||null}function i(e){return s.default.findKey(u.assets,function(t){return s.default.findKey(t,function(t){return e===t})||null})||null}Object.defineProperty(t,"__esModule",{value:!0}),t.types=void 0,t.getQbankType=o,t.getQbankMediaType=i;var a=n(4),s=r(a),u=t.types={item:{audioUpload:"item-genus-type%3Aqti-upload-interaction-audio%40ODL.MIT.EDU",dragAndDrop:"item-genus-type%3Adrag-and-drop%40ODL.MIT.EDU",fileUpload:"item-genus-type%3Aqti-upload-interaction-generic%40ODL.MIT.EDU",imageSequence:"item-genus-type%3Aqti-order-interaction-object-manipulation%40ODL.MIT.EDU",movableFillBlank:"item-genus-type%3Aqti-inline-choice-interaction-mw-fill-in-the-blank%40ODL.MIT.EDU",movableWordSandbox:"item-genus-type%3Aqti-order-interaction-mw-sandbox%40ODL.MIT.EDU",movableWordSentence:"item-genus-type%3Aqti-order-interaction-mw-sentence%40ODL.MIT.EDU",multipleAnswer:"item-genus-type%3Aqti-choice-interaction-multi-select%40ODL.MIT.EDU",multipleChoice:"item-genus-type%3Aqti-choice-interaction%40ODL.MIT.EDU",multipleReflection:"item-genus-type%3Aqti-choice-interaction-multi-select-survey%40ODL.MIT.EDU",reflection:"item-genus-type%3Aqti-choice-interaction-survey%40ODL.MIT.EDU",shortAnswer:"item-genus-type%3Aqti-extended-text-interaction%40ODL.MIT.EDU"},question:{audioUpload:"question-type%3Aqti-upload-interaction-audio%40ODL.MIT.EDU",dragAndDrop:"question-type%3Adrag-and-drop%40ODL.MIT.EDU",fileUpload:"question-type%3Aqti-upload-interaction-generic%40ODL.MIT.EDU",imageSequence:"question-type%3Aqti-order-interaction-object-manipulation%40ODL.MIT.EDU",movableFillBlank:"question-type%3Aqti-inline-choice-interaction-mw-fill-in-the-blank%40ODL.MIT.EDU",movableWordSandbox:"question-type%3Aqti-order-interaction-mw-sandbox%40ODL.MIT.EDU",movableWordSentence:"question-type%3Aqti-order-interaction-mw-sentence%40ODL.MIT.EDU",multipleAnswer:"question-type%3Aqti-choice-interaction-multi-select%40ODL.MIT.EDU",multipleChoice:"question-type%3Aqti-choice-interaction%40ODL.MIT.EDU",multipleReflection:"question-type%3Aqti-choice-interaction-multi-select-survey%40ODL.MIT.EDU",reflection:"question-type%3Aqti-choice-interaction-survey%40ODL.MIT.EDU",shortAnswer:"question-type%3Aqti-extended-text-interaction%40ODL.MIT.EDU"},answer:{file:"answer-record-type%3Afiles-submission%40ODL.MIT.EDU",fillInTheBlank:"answer-record-type%3Ainline-choice-answer%40ODL.MIT.EDU",multipleAnswer:"answer-record-type%3Amulti-choice-answer%40ODL.MIT.EDU",multipleChoice:"answer-record-type%3Amulti-choice-answer%40ODL.MIT.EDU",rightAnswer:"answer-type%3Aright-answer%40ODL.MIT.EDU",shortAnswer:"answer-record-type%3Ashort-text-answer%40ODL.MIT.EDU",wrongAnswer:"answer-type%3Awrong-answer%40ODL.MIT.EDU"},assets:{image:{png:"asset-content-genus-type%3Apng%40iana.org",jpg:"asset-content-genus-type%3Ajpg%40iana.org",JPG:"asset-content-genus-type%3AJPG%40ODL.MIT.EDU",svg:"asset-content-genus-type%3Asvg%40iana.org"},audio:{mp3:"asset-content-genus-type%3Amp3%40iana.org"},video:{m4a:"asset-content-genus-type%3Am4a%40ODL.MIT.EDU",wav:"asset-content-genus-type%3Awav%40ODL.MIT.EDU",mp4:"asset-content-genus-type%3Amp4%40ODL.MIT.EDU"},altText:{altText:"asset-content-genus-type%3Aalt-text%40ODL.MIT.EDU"},description:{description:"asset-content-genus-type%3Amedia-description%40ODL.MIT.EDU",oldDesc:"asset-content-genus-type%3AmediaDescription%40ODL.MIT.EDU"},license:{license:"someJunkyId"},copyright:{copyright:"anotherJunkyId"},vtt:{vtt:"asset-content-genus-type%3Avtt%40ODL.MIT.EDU"},transcript:{transcript:"asset-content-genus-type%3Atranscript%40ODL.MIT.EDU"}},target:{drop:"drop.behavior%3Adrop%40ODL.MIT.EDU",reject:"drop.behavior%3Areject%40ODL.MIT.EDU"},zone:{drop:"drop.behavior%3Adrop%40ODL.MIT.EDU",snap:"drop.behavior%3Asnap%40ODL.MIT.EDU",rectangle:"osid.mapping.SpatialUnit%3Arectangle%40ODL.MIT.EDU"},default:"GenusType%3ADEFAULT%40DLKIT.MIT.EDU"};t.default=u},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.DONE=void 0;var o=n(101),i=r(o),a=n(10),s=r(a);t.default=function(e,t){var n=l.default.reduce(e,function(e,t){return(0,s.default)({},e,(0,i.default)({},t,t))},{});return n=l.default.reduce(t,function(e,t){var n;return(0,s.default)({},e,(n={},(0,i.default)(n,t,t),(0,i.default)(n,""+t+c,""+t+c),n))},n),n.DONE=c,n};var u=n(4),l=r(u),c=t.DONE="_DONE"},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.assessmentViewed=t.assessmentPostLtiOutcome=t.assessmentPostAnalytics=t.loadAssessment=t.Constants=void 0;var o=n(55),i=r(o),a=[],s=["LOAD_ASSESSMENT","ASSESSMENT_POST_ANALYTICS","ASSESSMENT_POST_LTI_OUTCOME","ASSESSMENT_VIEWED"],u=t.Constants=(0,i.default)(a,s);t.loadAssessment=function(){return{type:u.LOAD_ASSESSMENT,apiCall:!0}},t.assessmentPostAnalytics=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return{type:u.ASSESSMENT_POST_ANALYTICS,resultsId:e,userId:t,contextId:n}},t.assessmentPostLtiOutcome=function(e){return{type:u.ASSESSMENT_POST_LTI_OUTCOME,resultsId:e}},t.assessmentViewed=function(){return{type:u.ASSESSMENT_VIEWED}}},[1547,64,344,229,65],function(e,t,n){var r=n(68),o=n(141),i=n(31),a=n(30),s=n(639);e.exports=function(e,t){var n=1==e,u=2==e,l=3==e,c=4==e,d=6==e,f=5==e||d,p=t||s;return function(t,s,h){for(var m,v,g=i(t),y=o(g),b=r(s,h,3),_=a(y.length),w=0,C=n?p(t,_):u?p(t,0):void 0;_>w;w++)if((f||w in y)&&(m=y[w],v=b(m,w,g),e))if(n)C[w]=v;else if(v)switch(e){case 3:return!0;case 5:return m;case 6:return w;case 2:C.push(m)}else if(c)return!1;return d?-1:l||c?c:C}}},[1563,2,67,15],[1586,18],function(e,t,n){function r(e){if(!a(e)||o(e)!=s)return!1;var t=i(e);if(null===t)return!0;var n=d.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==f}var o=n(114),i=n(904),a=n(98),s="[object Object]",u=Function.prototype,l=Object.prototype,c=u.toString,d=l.hasOwnProperty,f=c.call(Object);e.exports=r},function(e,t,n){"use strict";function r(){S.ReactReconcileTransaction&&w?void 0:c("123")}function o(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=f.getPooled(),this.reconcileTransaction=S.ReactReconcileTransaction.getPooled(!0)}function i(e,t,n,o,i,a){return r(),w.batchedUpdates(e,t,n,o,i,a)}function a(e,t){return e._mountOrder-t._mountOrder}function s(e){var t=e.dirtyComponentsLength;t!==g.length?c("124",t,g.length):void 0,g.sort(a),y++;for(var n=0;n<t;n++){var r=g[n],o=r._pendingCallbacks;r._pendingCallbacks=null;var i;if(h.logTopLevelRenders){var s=r;r._currentElement.type.isReactTopLevelWrapper&&(s=r._renderedComponent),i="React update: "+s.getName(),console.time(i)}if(m.performUpdateIfNecessary(r,e.reconcileTransaction,y),i&&console.timeEnd(i),o)for(var u=0;u<o.length;u++)e.callbackQueue.enqueue(o[u],r.getPublicInstance())}}function u(e){return r(),w.isBatchingUpdates?(g.push(e),void(null==e._updateBatchNumber&&(e._updateBatchNumber=y+1))):void w.batchedUpdates(u,e)}function l(e,t){w.isBatchingUpdates?void 0:c("125"),b.enqueue(e,t),_=!0}var c=n(16),d=n(21),f=n(430),p=n(100),h=n(435),m=n(120),v=n(195),g=(n(11),[]),y=0,b=f.getPooled(),_=!1,w=null,C={initialize:function(){this.dirtyComponentsLength=g.length},close:function(){this.dirtyComponentsLength!==g.length?(g.splice(0,this.dirtyComponentsLength),T()):g.length=0}},x={initialize:function(){this.callbackQueue.reset()},close:function(){this.callbackQueue.notifyAll()}},E=[C,x];d(o.prototype,v,{getTransactionWrappers:function(){return E},destructor:function(){this.dirtyComponentsLength=null,f.release(this.callbackQueue),this.callbackQueue=null,S.ReactReconcileTransaction.release(this.reconcileTransaction),this.reconcileTransaction=null},perform:function(e,t,n){return v.perform.call(this,this.reconcileTransaction.perform,this.reconcileTransaction,e,t,n)}}),p.addPoolingTo(o);var T=function(){for(;g.length||_;){if(g.length){var e=o.getPooled();e.perform(s,null,e),o.release(e)}if(_){_=!1;var t=b;b=f.getPooled(),t.notifyAll(),f.release(t)}}},k={injectReconcileTransaction:function(e){e?void 0:c("126"),S.ReactReconcileTransaction=e},injectBatchingStrategy:function(e){e?void 0:c("127"),"function"!=typeof e.batchedUpdates?c("128"):void 0,"boolean"!=typeof e.isBatchingUpdates?c("129"):void 0,w=e}},S={ReactReconcileTransaction:null,batchedUpdates:i,enqueueUpdate:u,flushBatchedUpdates:T,injection:k,asap:l};e.exports=S},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return f.default.isPlainObject(e)?f.default.omitBy(e,function(e,n){return f.default.isNil(e)&&!f.default.includes(t,n)||f.default.isObject(e)&&f.default.isEmpty(e)&&!f.default.includes(t,n)}):f.default.reject(e,function(e){return f.default.isNil(e)||f.default.isObject(e)&&f.default.isEmpty(e)})}function i(e,t){var n={genusTypeId:v.default.answer.rightAnswer,feedback:t.correctFeedback.text,fileIds:t.correctFeedback.fileIds};return f.default.get(e,"question.correctFeedback")&&(n.id=e.question.correctFeedback.answerId),n}function a(e){return{text:f.default.get(e,"answers[0].feedback.text"),answerId:f.default.get(e,"answers[0].id"),fileIds:f.default.get(e,"answers[0].fileIds")}}function s(e,t){return"<p "+(t?'class="'+t+'"':"")+">"+e+"</p>"}function u(e){var t=h.default.parseHTML(e);return(0,h.default)(t).text()}function l(e){var t=h.default.parseHTML(e);return(0,h.default)(t).attr("class")}function c(e){var t=h.default.parseHTML(e),n=(0,h.default)(t).find("img"),r=(0,h.default)(t).attr("src");return n&&!r?(0,h.default)(n).attr("src"):r}Object.defineProperty(t,"__esModule",{value:!0}),t.scrub=o,t.getSingleCorrectAnswer=i,t.createSingleCorrectFeedback=a,t.buildChoiceText=s,t.parseChoiceText=u,t.parseChoiceWordType=l,t.getImageUrl=c;var d=n(4),f=r(d),p=n(131),h=r(p),m=n(54),v=r(m)},[1490,66],[1507,102],18,23,[1505,38],function(e,t,n){var r=n(379),o=n(2),i=n(174)("metadata"),a=i.store||(i.store=new(n(382))),s=function(e,t,n){var o=a.get(e);if(!o){if(!n)return;a.set(e,o=new r)}var i=o.get(t);if(!i){if(!n)return;o.set(t,i=new r)}return i},u=function(e,t,n){var r=s(t,n,!1);return void 0!==r&&r.has(e)},l=function(e,t,n){var r=s(t,n,!1);return void 0===r?void 0:r.get(e)},c=function(e,t,n,r){s(n,r,!0).set(e,t)},d=function(e,t){var n=s(e,t,!1),r=[];return n&&n.forEach(function(e,t){r.push(t)}),r},f=function(e){return void 0===e||"symbol"==typeof e?e:String(e)},p=function(e){o(o.S,"Reflect",e)};e.exports={store:a,map:s,has:u,get:l,set:c,keys:d,key:f,exp:p}},function(e,t,n){"use strict";if(n(24)){var r=n(88),o=n(13),i=n(15),a=n(2),s=n(175),u=n(255),l=n(68),c=n(87),d=n(77),f=n(39),p=n(92),h=n(78),m=n(30),v=n(94),g=n(60),y=n(35),b=n(376),_=n(140),w=n(18),C=n(31),x=n(240),E=n(89),T=n(47),k=n(90).f,S=n(257),M=n(95),O=n(20),A=n(58),N=n(165),I=n(249),P=n(258),D=n(110),R=n(171),j=n(93),L=n(233),B=n(356),F=n(25),U=n(46),H=F.f,z=U.f,q=o.RangeError,W=o.TypeError,V=o.Uint8Array,G="ArrayBuffer",Y="Shared"+G,$="BYTES_PER_ELEMENT",K="prototype",X=Array[K],Q=u.ArrayBuffer,J=u.DataView,Z=A(0),ee=A(2),te=A(3),ne=A(4),re=A(5),oe=A(6),ie=N(!0),ae=N(!1),se=P.values,ue=P.keys,le=P.entries,ce=X.lastIndexOf,de=X.reduce,fe=X.reduceRight,pe=X.join,he=X.sort,me=X.slice,ve=X.toString,ge=X.toLocaleString,ye=O("iterator"),be=O("toStringTag"),_e=M("typed_constructor"),we=M("def_constructor"),Ce=s.CONSTR,xe=s.TYPED,Ee=s.VIEW,Te="Wrong length!",ke=A(1,function(e,t){return Ie(I(e,e[we]),t)}),Se=i(function(){return 1===new V(new Uint16Array([1]).buffer)[0]}),Me=!!V&&!!V[K].set&&i(function(){new V(1).set({})}),Oe=function(e,t){if(void 0===e)throw W(Te);var n=+e,r=m(e);if(t&&!b(n,r))throw q(Te);return r},Ae=function(e,t){var n=h(e);if(n<0||n%t)throw q("Wrong offset!");return n},Ne=function(e){if(w(e)&&xe in e)return e;throw W(e+" is not a typed array!")},Ie=function(e,t){if(!(w(e)&&_e in e))throw W("It is not a typed array constructor!");return new e(t)},Pe=function(e,t){return De(I(e,e[we]),t)},De=function(e,t){for(var n=0,r=t.length,o=Ie(e,r);r>n;)o[n]=t[n++];return o},Re=function(e,t,n){H(e,t,{get:function(){return this._d[n]}})},je=function(e){var t,n,r,o,i,a,s=C(e),u=arguments.length,c=u>1?arguments[1]:void 0,d=void 0!==c,f=S(s);if(void 0!=f&&!x(f)){for(a=f.call(s),r=[],t=0;!(i=a.next()).done;t++)r.push(i.value);s=r}for(d&&u>2&&(c=l(c,arguments[2],2)),t=0,n=m(s.length),o=Ie(this,n);n>t;t++)o[t]=d?c(s[t],t):s[t];return o},Le=function(){for(var e=0,t=arguments.length,n=Ie(this,t);t>e;)n[e]=arguments[e++];return n},Be=!!V&&i(function(){ge.call(new V(1))}),Fe=function(){return ge.apply(Be?me.call(Ne(this)):Ne(this),arguments)},Ue={copyWithin:function(e,t){return B.call(Ne(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function(e){return ne(Ne(this),e,arguments.length>1?arguments[1]:void 0)},fill:function(e){return L.apply(Ne(this),arguments)},filter:function(e){return Pe(this,ee(Ne(this),e,arguments.length>1?arguments[1]:void 0))},find:function(e){return re(Ne(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function(e){return oe(Ne(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function(e){Z(Ne(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function(e){return ae(Ne(this),e,arguments.length>1?arguments[1]:void 0)},includes:function(e){return ie(Ne(this),e,arguments.length>1?arguments[1]:void 0)},join:function(e){return pe.apply(Ne(this),arguments)},lastIndexOf:function(e){return ce.apply(Ne(this),arguments)},map:function(e){return ke(Ne(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function(e){return de.apply(Ne(this),arguments)},reduceRight:function(e){return fe.apply(Ne(this),arguments)},reverse:function(){for(var e,t=this,n=Ne(t).length,r=Math.floor(n/2),o=0;o<r;)e=t[o],t[o++]=t[--n],t[n]=e;return t},some:function(e){return te(Ne(this),e,arguments.length>1?arguments[1]:void 0)},sort:function(e){return he.call(Ne(this),e)},subarray:function(e,t){var n=Ne(this),r=n.length,o=v(e,r);return new(I(n,n[we]))(n.buffer,n.byteOffset+o*n.BYTES_PER_ELEMENT,m((void 0===t?r:v(t,r))-o))}},He=function(e,t){return Pe(this,me.call(Ne(this),e,t))},ze=function(e){Ne(this);var t=Ae(arguments[1],1),n=this.length,r=C(e),o=m(r.length),i=0;if(o+t>n)throw q(Te);for(;i<o;)this[t+i]=r[i++]},qe={entries:function(){return le.call(Ne(this))},keys:function(){return ue.call(Ne(this))},values:function(){return se.call(Ne(this))}},We=function(e,t){return w(e)&&e[xe]&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},Ve=function(e,t){return We(e,t=g(t,!0))?d(2,e[t]):z(e,t)},Ge=function(e,t,n){return!(We(e,t=g(t,!0))&&w(n)&&y(n,"value"))||y(n,"get")||y(n,"set")||n.configurable||y(n,"writable")&&!n.writable||y(n,"enumerable")&&!n.enumerable?H(e,t,n):(e[t]=n.value,e)};Ce||(U.f=Ve,F.f=Ge),a(a.S+a.F*!Ce,"Object",{getOwnPropertyDescriptor:Ve,defineProperty:Ge}),i(function(){ve.call({})})&&(ve=ge=function(){return pe.call(this)});var Ye=p({},Ue);p(Ye,qe),f(Ye,ye,qe.values),p(Ye,{slice:He,set:ze,constructor:function(){},toString:ve,toLocaleString:Fe}),Re(Ye,"buffer","b"),Re(Ye,"byteOffset","o"),Re(Ye,"byteLength","l"),Re(Ye,"length","e"),H(Ye,be,{get:function(){return this[xe]}}),e.exports=function(e,t,n,u){u=!!u;var l=e+(u?"Clamped":"")+"Array",d="Uint8Array"!=l,p="get"+e,h="set"+e,v=o[l],g=v||{},y=v&&T(v),b=!v||!s.ABV,C={},x=v&&v[K],S=function(e,n){var r=e._d;return r.v[p](n*t+r.o,Se)},M=function(e,n,r){var o=e._d;u&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),o.v[h](n*t+o.o,r,Se)},O=function(e,t){H(e,t,{get:function(){return S(this,t)},set:function(e){return M(this,t,e)},enumerable:!0})};b?(v=n(function(e,n,r,o){c(e,v,l,"_d");var i,a,s,u,d=0,p=0;if(w(n)){if(!(n instanceof Q||(u=_(n))==G||u==Y))return xe in n?De(v,n):je.call(v,n);i=n,p=Ae(r,t);var h=n.byteLength;if(void 0===o){if(h%t)throw q(Te);if(a=h-p,a<0)throw q(Te)}else if(a=m(o)*t,a+p>h)throw q(Te);s=a/t}else s=Oe(n,!0),a=s*t,i=new Q(a);for(f(e,"_d",{b:i,o:p,l:a,e:s,v:new J(i)});d<s;)O(e,d++)}),x=v[K]=E(Ye),f(x,"constructor",v)):R(function(e){new v(null),new v(e)},!0)||(v=n(function(e,n,r,o){c(e,v,l);var i;return w(n)?n instanceof Q||(i=_(n))==G||i==Y?void 0!==o?new g(n,Ae(r,t),o):void 0!==r?new g(n,Ae(r,t)):new g(n):xe in n?De(v,n):je.call(v,n):new g(Oe(n,d))}),Z(y!==Function.prototype?k(g).concat(k(y)):k(g),function(e){
-e in v||f(v,e,g[e])}),v[K]=x,r||(x.constructor=v));var A=x[ye],N=!!A&&("values"==A.name||void 0==A.name),I=qe.values;f(v,_e,!0),f(x,xe,l),f(x,Ee,!0),f(x,we,v),(u?new v(1)[be]==l:be in x)||H(x,be,{get:function(){return l}}),C[l]=v,a(a.G+a.W+a.F*(v!=g),C),a(a.S,l,{BYTES_PER_ELEMENT:t,from:je,of:Le}),$ in x||f(x,$,t),a(a.P,l,Ue),j(l),a(a.P+a.F*Me,l,{set:ze}),a(a.P+a.F*!N,l,qe),a(a.P+a.F*(x.toString!=ve),l,{toString:ve}),a(a.P+a.F*i(function(){new v(1).slice()}),l,{slice:He}),a(a.P+a.F*(i(function(){return[1,2].toLocaleString()!=new v([1,2]).toLocaleString()})||!i(function(){x.toLocaleString.call([1,2])})),l,{toLocaleString:Fe}),D[l]=N?A:I,r||N||f(x,ye,I)}}else e.exports=function(){}},function(e,t,n){var r=n(406),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t,n){"use strict";function r(e,t,n,r){this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n;var o=this.constructor.Interface;for(var i in o)if(o.hasOwnProperty(i)){var s=o[i];s?this[i]=s(n):"target"===i?this.target=r:this[i]=n[i]}var u=null!=n.defaultPrevented?n.defaultPrevented:n.returnValue===!1;return u?this.isDefaultPrevented=a.thatReturnsTrue:this.isDefaultPrevented=a.thatReturnsFalse,this.isPropagationStopped=a.thatReturnsFalse,this}var o=n(21),i=n(100),a=n(52),s=(n(14),"function"==typeof Proxy,["dispatchConfig","_targetInst","nativeEvent","isDefaultPrevented","isPropagationStopped","_dispatchListeners","_dispatchInstances"]),u={type:null,target:null,currentTarget:a.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};o(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=a.thatReturnsTrue)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=a.thatReturnsTrue)},persist:function(){this.isPersistent=a.thatReturnsTrue},isPersistent:a.thatReturnsFalse,destructor:function(){var e=this.constructor.Interface;for(var t in e)this[t]=null;for(var n=0;n<s.length;n++)this[s[n]]=null}}),r.Interface=u,r.augmentClass=function(e,t){var n=this,r=function(){};r.prototype=n.prototype;var a=new r;o(a,e.prototype),e.prototype=a,e.prototype.constructor=e,e.Interface=o({},n.Interface,t),e.augmentClass=n.augmentClass,i.addPoolingTo(e,i.fourArgumentPooler)},i.addPoolingTo(r,i.fourArgumentPooler),e.exports=r},function(e,t){"use strict";var n={current:null};e.exports=n},function(e,t,n){"use strict";function r(){for(var e={},t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];return n.forEach(function(t){t&&(0,o.each)(t,function(t,n){return(0,o.isPlain)(t)?((0,o.isPlain)(e[n])||(e[n]={}),void(e[n]=r(e[n],t))):void(e[n]=t)})}),e}t.__esModule=!0,t.default=r;var o=n(33)},[1580,323,208],[1539,95,18,35,25,15],function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.createPath=t.parsePath=t.getQueryStringValueFromPath=t.stripQueryStringValueFromPath=t.addQueryStringValueToPath=void 0;var o=n(83),i=(r(o),t.addQueryStringValueToPath=function(e,t,n){var r=a(e),o=r.pathname,i=r.search,u=r.hash;return s({pathname:o,search:i+(i.indexOf("?")===-1?"?":"&")+t+"="+n,hash:u})},t.stripQueryStringValueFromPath=function(e,t){var n=a(e),r=n.pathname,o=n.search,i=n.hash;return s({pathname:r,search:o.replace(new RegExp("([?&])"+t+"=[a-zA-Z0-9]+(&?)"),function(e,t,n){return"?"===t?t:n}),hash:i})},t.getQueryStringValueFromPath=function(e,t){var n=a(e),r=n.search,o=r.match(new RegExp("[?&]"+t+"=([a-zA-Z0-9]+)"));return o&&o[1]},function(e){var t=e.match(/^(https?:)?\/\/[^\/]*/);return null==t?e:e.substring(t[0].length)}),a=t.parsePath=function(e){var t=i(e),n="",r="",o=t.indexOf("#");o!==-1&&(r=t.substring(o),t=t.substring(0,o));var a=t.indexOf("?");return a!==-1&&(n=t.substring(a),t=t.substring(0,a)),""===t&&(t="/"),{pathname:t,search:n,hash:r}},s=t.createPath=function(e){if(null==e||"string"==typeof e)return e;var t=e.basename,n=e.pathname,r=e.search,o=e.hash,i=(t||"")+n;return r&&"?"!==r&&(i+=r),o&&(i+=o),i}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return null==e||f.default.isValidElement(e)}function i(e){return o(e)||Array.isArray(e)&&e.every(o)}function a(e,t){return c({},e,t)}function s(e){var t=e.type,n=a(t.defaultProps,e.props);if(n.children){var r=u(n.children,n);r.length&&(n.childRoutes=r),delete n.children}return n}function u(e,t){var n=[];return f.default.Children.forEach(e,function(e){if(f.default.isValidElement(e))if(e.type.createRouteFromReactElement){var r=e.type.createRouteFromReactElement(e,t);r&&n.push(r)}else n.push(s(e))}),n}function l(e){return i(e)?e=u(e):e&&!Array.isArray(e)&&(e=[e]),e}t.__esModule=!0;var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.isReactChildren=i,t.createRouteFromReactElement=s,t.createRoutesFromReactChildren=u,t.createRoutes=l;var d=n(1),f=r(d)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e,t){var n=p.getElData(e);0===n.handlers[t].length&&(delete n.handlers[t],e.removeEventListener?e.removeEventListener(t,n.dispatcher,!1):e.detachEvent&&e.detachEvent("on"+t,n.dispatcher)),Object.getOwnPropertyNames(n.handlers).length<=0&&(delete n.handlers,delete n.dispatcher,delete n.disabled),0===Object.getOwnPropertyNames(n).length&&p.removeElData(e)}function a(e,t,n,r){n.forEach(function(n){e(t,n,r)})}function s(e){function t(){return!0}function n(){return!1}if(!e||!e.isPropagationStopped){var r=e||b.default.event;e={};for(var o in r)"layerX"!==o&&"layerY"!==o&&"keyLocation"!==o&&"webkitMovementX"!==o&&"webkitMovementY"!==o&&("returnValue"===o&&r.preventDefault||(e[o]=r[o]));if(e.target||(e.target=e.srcElement||w.default),e.relatedTarget||(e.relatedTarget=e.fromElement===e.target?e.toElement:e.fromElement),e.preventDefault=function(){r.preventDefault&&r.preventDefault(),e.returnValue=!1,r.returnValue=!1,e.defaultPrevented=!0},e.defaultPrevented=!1,e.stopPropagation=function(){r.stopPropagation&&r.stopPropagation(),e.cancelBubble=!0,r.cancelBubble=!0,e.isPropagationStopped=t},e.isPropagationStopped=n,e.stopImmediatePropagation=function(){r.stopImmediatePropagation&&r.stopImmediatePropagation(),e.isImmediatePropagationStopped=t,e.stopPropagation()},e.isImmediatePropagationStopped=n,null!==e.clientX&&void 0!==e.clientX){var i=w.default.documentElement,a=w.default.body;e.pageX=e.clientX+(i&&i.scrollLeft||a&&a.scrollLeft||0)-(i&&i.clientLeft||a&&a.clientLeft||0),e.pageY=e.clientY+(i&&i.scrollTop||a&&a.scrollTop||0)-(i&&i.clientTop||a&&a.clientTop||0)}e.which=e.charCode||e.keyCode,null!==e.button&&void 0!==e.button&&(e.button=1&e.button?0:4&e.button?1:2&e.button?2:0)}return e}function u(e,t,n){if(Array.isArray(t))return a(u,e,t,n);var r=p.getElData(e);r.handlers||(r.handlers={}),r.handlers[t]||(r.handlers[t]=[]),n.guid||(n.guid=m.newGUID()),r.handlers[t].push(n),r.dispatcher||(r.disabled=!1,r.dispatcher=function(t,n){if(!r.disabled){t=s(t);var o=r.handlers[t.type];if(o)for(var i=o.slice(0),a=0,u=i.length;a<u&&!t.isImmediatePropagationStopped();a++)try{i[a].call(e,t,n)}catch(e){g.default.error(e)}}}),1===r.handlers[t].length&&(e.addEventListener?e.addEventListener(t,r.dispatcher,!1):e.attachEvent&&e.attachEvent("on"+t,r.dispatcher))}function l(e,t,n){if(p.hasElData(e)){var r=p.getElData(e);if(r.handlers){if(Array.isArray(t))return a(l,e,t,n);var o=function(t){r.handlers[t]=[],i(e,t)};if(t){var s=r.handlers[t];if(s){if(!n)return void o(t);if(n.guid)for(var u=0;u<s.length;u++)s[u].guid===n.guid&&s.splice(u--,1);i(e,t)}}else for(var c in r.handlers)o(c)}}}function c(e,t,n){var r=p.hasElData(e)?p.getElData(e):{},o=e.parentNode||e.ownerDocument;if("string"==typeof t&&(t={type:t,target:e}),t=s(t),r.dispatcher&&r.dispatcher.call(e,t,n),o&&!t.isPropagationStopped()&&t.bubbles===!0)c.call(null,o,t,n);else if(!o&&!t.defaultPrevented){var i=p.getElData(t.target);t.target[t.type]&&(i.disabled=!0,"function"==typeof t.target[t.type]&&t.target[t.type](),i.disabled=!1)}return!t.defaultPrevented}function d(e,t,n){if(Array.isArray(t))return a(d,e,t,n);var r=function r(){l(e,t,r),n.apply(this,arguments)};r.guid=n.guid=n.guid||m.newGUID(),u(e,t,r)}t.__esModule=!0,t.fixEvent=s,t.on=u,t.off=l,t.trigger=c,t.one=d;var f=n(22),p=o(f),h=n(127),m=o(h),v=n(44),g=r(v),y=n(29),b=r(y),_=n(26),w=r(_)},function(e,t){"use strict";function n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;e=e<0?0:e;var n=Math.floor(e%60),r=Math.floor(e/60%60),o=Math.floor(e/3600),i=Math.floor(t/60%60),a=Math.floor(t/3600);return(isNaN(e)||e===1/0)&&(o=r=n="-"),o=o>0||a>0?o+":":"",r=((o||i>=10)&&r<10?"0"+r:r)+":",n=n<10?"0"+n:n,o+r+n}t.__esModule=!0,t.default=n},function(e,t,n){"use strict";var r=function(){};e.exports=r},[1514,57,139,65],[1505,220],35,function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t){e.exports=!1},[1544,12,369,236,248,235,238],[1555,371,236],[1560,371,236],function(e,t,n){var r=n(40);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},function(e,t,n){"use strict";var r=n(13),o=n(25),i=n(24),a=n(20)("species");e.exports=function(e){var t=r[e];i&&t&&!t[a]&&o.f(t,a,{configurable:!0,get:function(){return this}})}},[1578,78],function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){function r(e,t){return a(i(e,t,o),e+"")}var o=n(188),i=n(935),a=n(938);e.exports=r},function(e,t,n){function r(e,t){var n=i(e,t);return o(n)?n:void 0}var o=n(880),i=n(908);e.exports=r},function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(423);Object.defineProperty(t,"DragDropContext",{enumerable:!0,get:function(){return r(o).default}});var i=n(982);Object.defineProperty(t,"DragDropContextProvider",{enumerable:!0,get:function(){return r(i).default}});var a=n(983);Object.defineProperty(t,"DragLayer",{enumerable:!0,get:function(){return r(a).default}});var s=n(984);Object.defineProperty(t,"DragSource",{enumerable:!0,get:function(){return r(s).default}});var u=n(985);Object.defineProperty(t,"DropTarget",{enumerable:!0,get:function(){return r(u).default}})},[1634,16],function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(336),i=r(o);t.default=function(e,t,n){return t in e?(0,i.default)(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},15,function(e,t,n){"use strict";e.exports=n(1013)},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={WORD:"WORD",WORD_GROUP:"WORD_GROUP",FILL_BLANK_WORD:"FILL_BLANK_WORD",CLIX_DROPPABLE:"CLIX_DROPPABLE"}},function(e,t,n){e.exports={default:n(600),__esModule:!0}},function(e,t){e.exports={}},[1560,351,222],function(e,t,n){var r=n(20)("unscopables"),o=Array.prototype;void 0==o[r]&&n(39)(o,r,{}),e.exports=function(e){o[r][e]=!0}},[1512,68,365,240,12,30,257],106,[1566,25,35,20],function(e,t,n){var r=n(2),o=n(50),i=n(15),a=n(253),s="["+a+"]",u="​",l=RegExp("^"+s+s+"*"),c=RegExp(s+s+"*$"),d=function(e,t,n){var o={},s=i(function(){return!!a[e]()||u[e]()!=u}),l=o[e]=s?t(f):a[e];n&&(o[n]=l),r(r.P+r.F*s,"String",o)},f=d.trim=function(e,t){return e=String(o(e)),1&t&&(e=e.replace(l,"")),2&t&&(e=e.replace(c,"")),e};e.exports=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.locationsAreEqual=t.statesAreEqual=t.createLocation=t.createQuery=void 0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(17),s=r(a),u=n(83),l=(r(u),n(79)),c=n(178),d=(t.createQuery=function(e){return i(Object.create(null),e)},t.createLocation=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.POP,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r="string"==typeof e?(0,l.parsePath)(e):e,o=r.pathname||"/",i=r.search||"",a=r.hash||"",s=r.state;return{pathname:o,search:i,hash:a,state:s,action:t,key:n}},function(e){return"[object Date]"===Object.prototype.toString.call(e)}),f=t.statesAreEqual=function e(t,n){if(t===n)return!0;var r="undefined"==typeof t?"undefined":o(t),i="undefined"==typeof n?"undefined":o(n);if(r!==i)return!1;if("function"===r?(0,s.default)(!1):void 0,"object"===r){if(d(t)&&d(n)?(0,s.default)(!1):void 0,!Array.isArray(t)){var a=Object.keys(t),u=Object.keys(n);return a.length===u.length&&a.every(function(r){return e(t[r],n[r])})}return Array.isArray(n)&&t.length===n.length&&t.every(function(t,r){return e(t,n[r])})}return!1};t.locationsAreEqual=function(e,t){return e.key===t.key&&e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&f(e.state,t.state)}},function(e,t,n){function r(e){return null==e?void 0===e?u:s:l&&l in Object(e)?i(e):a(e)}var o=n(145),i=n(905),a=n(934),s="[object Null]",u="[object Undefined]",l=o?o.toStringTag:void 0;e.exports=r},function(e,t){function n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=n},function(e,t,n){"use strict";function r(e){if(v){var t=e.node,n=e.children;if(n.length)for(var r=0;r<n.length;r++)g(t,n[r],null);else null!=e.html?d(t,e.html):null!=e.text&&p(t,e.text)}}function o(e,t){e.parentNode.replaceChild(t.node,e),r(t)}function i(e,t){v?e.children.push(t):e.node.appendChild(t.node)}function a(e,t){v?e.html=t:d(e.node,t)}function s(e,t){v?e.text=t:p(e.node,t)}function u(){return this.node.nodeName}function l(e){return{node:e,children:[],html:null,text:null,toString:u}}var c=n(284),d=n(197),f=n(292),p=n(446),h=1,m=11,v="undefined"!=typeof document&&"number"==typeof document.documentMode||"undefined"!=typeof navigator&&"string"==typeof navigator.userAgent&&/\bEdge\/\d/.test(navigator.userAgent),g=f(function(e,t,n){t.node.nodeType===m||t.node.nodeType===h&&"object"===t.node.nodeName.toLowerCase()&&(null==t.node.namespaceURI||t.node.namespaceURI===c.html)?(r(t),e.insertBefore(t.node,n)):(e.insertBefore(t.node,n),r(t))});l.insertTreeBefore=g,l.replaceChildWithTree=o,l.queueChild=i,l.queueHTML=a,l.queueText=s,e.exports=l},function(e,t,n){"use strict";function r(e,t){return(e&t)===t}var o=n(16),i=(n(11),{MUST_USE_PROPERTY:1,HAS_BOOLEAN_VALUE:4,HAS_NUMERIC_VALUE:8,HAS_POSITIVE_NUMERIC_VALUE:24,HAS_OVERLOADED_BOOLEAN_VALUE:32,injectDOMPropertyConfig:function(e){var t=i,n=e.Properties||{},a=e.DOMAttributeNamespaces||{},u=e.DOMAttributeNames||{},l=e.DOMPropertyNames||{},c=e.DOMMutationMethods||{};e.isCustomAttribute&&s._isCustomAttributeFunctions.push(e.isCustomAttribute);for(var d in n){s.properties.hasOwnProperty(d)?o("48",d):void 0;var f=d.toLowerCase(),p=n[d],h={attributeName:f,attributeNamespace:null,propertyName:d,mutationMethod:null,mustUseProperty:r(p,t.MUST_USE_PROPERTY),hasBooleanValue:r(p,t.HAS_BOOLEAN_VALUE),hasNumericValue:r(p,t.HAS_NUMERIC_VALUE),hasPositiveNumericValue:r(p,t.HAS_POSITIVE_NUMERIC_VALUE),hasOverloadedBooleanValue:r(p,t.HAS_OVERLOADED_BOOLEAN_VALUE)};if(h.hasBooleanValue+h.hasNumericValue+h.hasOverloadedBooleanValue<=1?void 0:o("50",d),u.hasOwnProperty(d)){var m=u[d];h.attributeName=m}a.hasOwnProperty(d)&&(h.attributeNamespace=a[d]),l.hasOwnProperty(d)&&(h.propertyName=l[d]),c.hasOwnProperty(d)&&(h.mutationMethod=c[d]),s.properties[d]=h}}}),a=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",s={ID_ATTRIBUTE_NAME:"data-reactid",ROOT_ATTRIBUTE_NAME:"data-reactroot",ATTRIBUTE_NAME_START_CHAR:a,ATTRIBUTE_NAME_CHAR:a+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",properties:{},getPossibleStandardName:null,_isCustomAttributeFunctions:[],isCustomAttribute:function(e){for(var t=0;t<s._isCustomAttributeFunctions.length;t++){var n=s._isCustomAttributeFunctions[t];if(n(e))return!0}return!1},injection:i};e.exports=s},function(e,t,n){"use strict";function r(e){return"button"===e||"input"===e||"select"===e||"textarea"===e}function o(e,t,n){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":return!(!n.disabled||!r(t));default:return!1}}var i=n(16),a=n(285),s=n(192),u=n(289),l=n(440),c=n(441),d=(n(11),{}),f=null,p=function(e,t){e&&(s.executeDispatchesInOrder(e,t),e.isPersistent()||e.constructor.release(e))},h=function(e){return p(e,!0)},m=function(e){return p(e,!1)},v=function(e){return"."+e._rootNodeID},g={injection:{injectEventPluginOrder:a.injectEventPluginOrder,injectEventPluginsByName:a.injectEventPluginsByName},putListener:function(e,t,n){"function"!=typeof n?i("94",t,typeof n):void 0;var r=v(e),o=d[t]||(d[t]={});o[r]=n;var s=a.registrationNameModules[t];s&&s.didPutListener&&s.didPutListener(e,t,n)},getListener:function(e,t){var n=d[t];if(o(t,e._currentElement.type,e._currentElement.props))return null;var r=v(e);return n&&n[r]},deleteListener:function(e,t){var n=a.registrationNameModules[t];n&&n.willDeleteListener&&n.willDeleteListener(e,t);var r=d[t];if(r){var o=v(e);delete r[o]}},deleteAllListeners:function(e){var t=v(e);for(var n in d)if(d.hasOwnProperty(n)&&d[n][t]){var r=a.registrationNameModules[n];r&&r.willDeleteListener&&r.willDeleteListener(e,n),delete d[n][t]}},extractEvents:function(e,t,n,r){for(var o,i=a.plugins,s=0;s<i.length;s++){var u=i[s];if(u){var c=u.extractEvents(e,t,n,r);c&&(o=l(o,c))}}return o},enqueueEvents:function(e){e&&(f=l(f,e))},processEventQueue:function(e){var t=f;f=null,e?c(t,h):c(t,m),f?i("95"):void 0,u.rethrowCaughtError()},__purge:function(){d={}},__getListenerBank:function(){return d}};e.exports=g},function(e,t,n){"use strict";function r(e,t,n){var r=t.dispatchConfig.phasedRegistrationNames[n];return g(e,r)}function o(e,t,n){var o=r(e,n,t);o&&(n._dispatchListeners=m(n._dispatchListeners,o),n._dispatchInstances=m(n._dispatchInstances,e))}function i(e){e&&e.dispatchConfig.phasedRegistrationNames&&h.traverseTwoPhase(e._targetInst,o,e)}function a(e){if(e&&e.dispatchConfig.phasedRegistrationNames){var t=e._targetInst,n=t?h.getParentInstance(t):null;h.traverseTwoPhase(n,o,e)}}function s(e,t,n){if(n&&n.dispatchConfig.registrationName){var r=n.dispatchConfig.registrationName,o=g(e,r);o&&(n._dispatchListeners=m(n._dispatchListeners,o),n._dispatchInstances=m(n._dispatchInstances,e))}}function u(e){e&&e.dispatchConfig.registrationName&&s(e._targetInst,null,e)}function l(e){v(e,i)}function c(e){v(e,a)}function d(e,t,n,r){h.traverseEnterLeave(n,r,s,e,t)}function f(e){v(e,u)}var p=n(118),h=n(192),m=n(440),v=n(441),g=(n(14),p.getListener),y={accumulateTwoPhaseDispatches:l,accumulateTwoPhaseDispatchesSkipTarget:c,accumulateDirectDispatches:f,accumulateEnterLeaveDispatches:d};e.exports=y},function(e,t,n){"use strict";function r(){o.attachRefs(this,this._currentElement)}var o=n(1036),i=(n(53),n(14),{mountComponent:function(e,t,n,o,i,a){var s=e.mountComponent(t,n,o,i,a);return e._currentElement&&null!=e._currentElement.ref&&t.getReactMountReady().enqueue(r,e),s},getHostNode:function(e){return e.getHostNode()},unmountComponent:function(e,t){o.detachRefs(e,e._currentElement),e.unmountComponent(t)},receiveComponent:function(e,t,n,i){var a=e._currentElement;if(t!==a||i!==e._context){var s=o.shouldUpdateRefs(a,t);s&&o.detachRefs(e,a),e.receiveComponent(t,n,i),s&&e._currentElement&&null!=e._currentElement.ref&&n.getReactMountReady().enqueue(r,e)}},performUpdateIfNecessary:function(e,t,n){e._updateBatchNumber===n&&e.performUpdateIfNecessary(t)}});e.exports=i},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(72),i=n(295),a={view:function(e){if(e.view)return e.view;var t=i(e);if(t.window===t)return t;var n=t.ownerDocument;return n?n.defaultView||n.parentWindow:window},detail:function(e){return e.detail||0}};o.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function i(e){for(var t="",n=[],r=[],i=void 0,a=0,s=/:([a-zA-Z_$][a-zA-Z0-9_$]*)|\*\*|\*|\(|\)|\\\(|\\\)/g;i=s.exec(e);)i.index!==a&&(r.push(e.slice(a,i.index)),t+=o(e.slice(a,i.index))),i[1]?(t+="([^/]+)",n.push(i[1])):"**"===i[0]?(t+="(.*)",n.push("splat")):"*"===i[0]?(t+="(.*?)",n.push("splat")):"("===i[0]?t+="(?:":")"===i[0]?t+=")?":"\\("===i[0]?t+="\\(":"\\)"===i[0]&&(t+="\\)"),r.push(i[0]),a=s.lastIndex;return a!==e.length&&(r.push(e.slice(a,e.length)),t+=o(e.slice(a,e.length))),{pattern:e,regexpSource:t,paramNames:n,tokens:r}}function a(e){return p[e]||(p[e]=i(e)),p[e]}function s(e,t){"/"!==e.charAt(0)&&(e="/"+e);var n=a(e),r=n.regexpSource,o=n.paramNames,i=n.tokens;"/"!==e.charAt(e.length-1)&&(r+="/?"),"*"===i[i.length-1]&&(r+="$");var s=t.match(new RegExp("^"+r,"i"));if(null==s)return null;var u=s[0],l=t.substr(u.length);if(l){if("/"!==u.charAt(u.length-1))return null;l="/"+l}return{remainingPathname:l,paramNames:o,paramValues:s.slice(1).map(function(e){return e&&decodeURIComponent(e)})}}function u(e){return a(e).paramNames}function l(e,t){var n=s(e,t);if(!n)return null;var r=n.paramNames,o=n.paramValues,i={};return r.forEach(function(e,t){i[e]=o[t]}),i}function c(e,t){t=t||{};for(var n=a(e),r=n.tokens,o=0,i="",s=0,u=[],l=void 0,c=void 0,d=void 0,p=0,h=r.length;p<h;++p)if(l=r[p],"*"===l||"**"===l)d=Array.isArray(t.splat)?t.splat[s++]:t.splat,null!=d||o>0?void 0:(0,f.default)(!1),null!=d&&(i+=encodeURI(d));else if("("===l)u[o]="",o+=1;else if(")"===l){var m=u.pop();o-=1,o?u[o-1]+=m:i+=m}else if("\\("===l)i+="(";else if("\\)"===l)i+=")";else if(":"===l.charAt(0))if(c=l.substring(1),d=t[c],null!=d||o>0?void 0:(0,f.default)(!1),null==d){if(o){u[o-1]="";for(var v=r.indexOf(l),g=r.slice(v,r.length),y=-1,b=0;b<g.length;b++)if(")"==g[b]){y=b;break}y>0?void 0:(0,f.default)(!1),p=v+y-1}}else o?u[o-1]+=encodeURIComponent(d):i+=encodeURIComponent(d);else o?u[o-1]+=l:i+=l;return o<=0?void 0:(0,f.default)(!1),i.replace(/\/+/g,"/")}t.__esModule=!0,t.compilePattern=a,t.matchPattern=s,t.getParamNames=u,t.getParams=l,t.formatPattern=c;var d=n(17),f=r(d),p=Object.create(null)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(t.indexOf("deprecated")!==-1){if(u[t])return;u[t]=!0}t="[react-router] "+t;for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];s.default.apply(void 0,[e,t].concat(r))}function i(){u={}}t.__esModule=!0,t.default=o,t._resetWarned=i;var a=n(83),s=r(a),u={}},function(e,t,n){"use strict";var r=n(21),o=n(1109),i=n(306),a=n(1114),s=n(1110),u=n(1111),l=n(125),c=n(1112),d=n(1115),f=n(1116),p=(n(14),l.createElement),h=l.createFactory,m=l.cloneElement,v=r,g={Children:{map:o.map,forEach:o.forEach,count:o.count,toArray:o.toArray,only:f},Component:i,PureComponent:a,createElement:p,cloneElement:m,isValidElement:l.isValidElement,PropTypes:c,createClass:s.createClass,createFactory:h,createMixin:function(e){return e},DOM:u,version:d,__spread:v};e.exports=g},function(e,t,n){"use strict";function r(e){return void 0!==e.ref}function o(e){return void 0!==e.key}var i=n(21),a=n(73),s=(n(14),n(469),Object.prototype.hasOwnProperty),u=n(467),l={key:!0,ref:!0,__self:!0,__source:!0},c=function(e,t,n,r,o,i,a){var s={$$typeof:u,type:e,key:t,ref:n,props:a,_owner:i};return s};c.createElement=function(e,t,n){var i,u={},d=null,f=null,p=null,h=null;if(null!=t){r(t)&&(f=t.ref),o(t)&&(d=""+t.key),p=void 0===t.__self?null:t.__self,h=void 0===t.__source?null:t.__source;for(i in t)s.call(t,i)&&!l.hasOwnProperty(i)&&(u[i]=t[i])}var m=arguments.length-2;if(1===m)u.children=n;else if(m>1){for(var v=Array(m),g=0;g<m;g++)v[g]=arguments[g+2];u.children=v}if(e&&e.defaultProps){var y=e.defaultProps;for(i in y)void 0===u[i]&&(u[i]=y[i])}return c(e,d,f,p,h,a.current,u)},c.createFactory=function(e){var t=c.createElement.bind(null,e);return t.type=e,t},c.cloneAndReplaceKey=function(e,t){var n=c(e.type,t,e.ref,e._self,e._source,e._owner,e.props);return n},c.cloneElement=function(e,t,n){var u,d=i({},e.props),f=e.key,p=e.ref,h=e._self,m=e._source,v=e._owner;if(null!=t){r(t)&&(p=t.ref,v=a.current),o(t)&&(f=""+t.key);var g;e.type&&e.type.defaultProps&&(g=e.type.defaultProps);for(u in t)s.call(t,u)&&!l.hasOwnProperty(u)&&(void 0===t[u]&&void 0!==g?d[u]=g[u]:d[u]=t[u])}var y=arguments.length-2;if(1===y)d.children=n;else if(y>1){for(var b=Array(y),_=0;_<y;_++)b[_]=arguments[_+2];d.children=b}return c(e.type,f,p,h,m,v,d)},c.isValidElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===u},e.exports=c},16,function(e,t){"use strict";function n(){return r++}t.__esModule=!0,t.newGUID=n;var r=1},function(e,t){"use strict";function n(e){return"string"!=typeof e?e:e.charAt(0).toUpperCase()+e.slice(1)}t.__esModule=!0,t.default=n},[1585,208],[1623,618,324],function(e,t,n){var r,o;/*!
-	 * jQuery JavaScript Library v2.2.4
-	 * http://jquery.com/
-	 *
-	 * Includes Sizzle.js
-	 * http://sizzlejs.com/
-	 *
-	 * Copyright jQuery Foundation and other contributors
-	 * Released under the MIT license
-	 * http://jquery.org/license
-	 *
-	 * Date: 2016-05-20T17:23Z
-	 */
-!function(t,n){"object"==typeof e&&"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,function(n,i){function a(e){var t=!!e&&"length"in e&&e.length,n=le.type(e);return"function"!==n&&!le.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function s(e,t,n){if(le.isFunction(t))return le.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return le.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(be.test(t))return le.filter(t,e,n);t=le.filter(t,e)}return le.grep(e,function(e){return re.call(t,e)>-1!==n})}function u(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function l(e){var t={};return le.each(e.match(Te)||[],function(e,n){t[n]=!0}),t}function c(){Z.removeEventListener("DOMContentLoaded",c),n.removeEventListener("load",c),le.ready()}function d(){this.expando=le.expando+d.uid++}function f(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(Ie,"-$&").toLowerCase(),n=e.getAttribute(r),"string"==typeof n){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:Ne.test(n)?le.parseJSON(n):n)}catch(e){}Ae.set(e,t,n)}else n=void 0;return n}function p(e,t,n,r){var o,i=1,a=20,s=r?function(){return r.cur()}:function(){return le.css(e,t,"")},u=s(),l=n&&n[3]||(le.cssNumber[t]?"":"px"),c=(le.cssNumber[t]||"px"!==l&&+u)&&De.exec(le.css(e,t));if(c&&c[3]!==l){l=l||c[3],n=n||[],c=+u||1;do i=i||".5",c/=i,le.style(e,t,c+l);while(i!==(i=s()/u)&&1!==i&&--a)}return n&&(c=+c||+u||0,o=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=o)),o}function h(e,t){var n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&le.nodeName(e,t)?le.merge([e],n):n}function m(e,t){for(var n=0,r=e.length;n<r;n++)Oe.set(e[n],"globalEval",!t||Oe.get(t[n],"globalEval"))}function v(e,t,n,r,o){for(var i,a,s,u,l,c,d=t.createDocumentFragment(),f=[],p=0,v=e.length;p<v;p++)if(i=e[p],i||0===i)if("object"===le.type(i))le.merge(f,i.nodeType?[i]:i);else if(He.test(i)){for(a=a||d.appendChild(t.createElement("div")),s=(Be.exec(i)||["",""])[1].toLowerCase(),u=Ue[s]||Ue._default,a.innerHTML=u[1]+le.htmlPrefilter(i)+u[2],c=u[0];c--;)a=a.lastChild;le.merge(f,a.childNodes),a=d.firstChild,a.textContent=""}else f.push(t.createTextNode(i));for(d.textContent="",p=0;i=f[p++];)if(r&&le.inArray(i,r)>-1)o&&o.push(i);else if(l=le.contains(i.ownerDocument,i),a=h(d.appendChild(i),"script"),l&&m(a),n)for(c=0;i=a[c++];)Fe.test(i.type||"")&&n.push(i);return d}function g(){return!0}function y(){return!1}function b(){try{return Z.activeElement}catch(e){}}function _(e,t,n,r,o,i){var a,s;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(s in t)_(e,s,n,r,t[s],i);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),o===!1)o=y;else if(!o)return e;return 1===i&&(a=o,o=function(e){return le().off(e),a.apply(this,arguments)},o.guid=a.guid||(a.guid=le.guid++)),e.each(function(){le.event.add(this,t,o,r,n)})}function w(e,t){return le.nodeName(e,"table")&&le.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function C(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function x(e){var t=$e.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function E(e,t){var n,r,o,i,a,s,u,l;if(1===t.nodeType){if(Oe.hasData(e)&&(i=Oe.access(e),a=Oe.set(t,i),l=i.events)){delete a.handle,a.events={};for(o in l)for(n=0,r=l[o].length;n<r;n++)le.event.add(t,o,l[o][n])}Ae.hasData(e)&&(s=Ae.access(e),u=le.extend({},s),Ae.set(t,u))}}function T(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Le.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function k(e,t,n,r){t=te.apply([],t);var o,i,a,s,u,l,c=0,d=e.length,f=d-1,p=t[0],m=le.isFunction(p);if(m||d>1&&"string"==typeof p&&!se.checkClone&&Ye.test(p))return e.each(function(o){var i=e.eq(o);m&&(t[0]=p.call(this,o,i.html())),k(i,t,n,r)});if(d&&(o=v(t,e[0].ownerDocument,!1,e,r),i=o.firstChild,1===o.childNodes.length&&(o=i),i||r)){for(a=le.map(h(o,"script"),C),s=a.length;c<d;c++)u=o,c!==f&&(u=le.clone(u,!0,!0),s&&le.merge(a,h(u,"script"))),n.call(e[c],u,c);if(s)for(l=a[a.length-1].ownerDocument,le.map(a,x),c=0;c<s;c++)u=a[c],Fe.test(u.type||"")&&!Oe.access(u,"globalEval")&&le.contains(l,u)&&(u.src?le._evalUrl&&le._evalUrl(u.src):le.globalEval(u.textContent.replace(Ke,"")))}return e}function S(e,t,n){for(var r,o=t?le.filter(t,e):e,i=0;null!=(r=o[i]);i++)n||1!==r.nodeType||le.cleanData(h(r)),r.parentNode&&(n&&le.contains(r.ownerDocument,r)&&m(h(r,"script")),r.parentNode.removeChild(r));return e}function M(e,t){var n=le(t.createElement(e)).appendTo(t.body),r=le.css(n[0],"display");return n.detach(),r}function O(e){var t=Z,n=Qe[e];return n||(n=M(e,t),"none"!==n&&n||(Xe=(Xe||le("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement),t=Xe[0].contentDocument,t.write(),t.close(),n=M(e,t),Xe.detach()),Qe[e]=n),n}function A(e,t,n){var r,o,i,a,s=e.style;return n=n||et(e),a=n?n.getPropertyValue(t)||n[t]:void 0,""!==a&&void 0!==a||le.contains(e.ownerDocument,e)||(a=le.style(e,t)),n&&!se.pixelMarginRight()&&Ze.test(a)&&Je.test(t)&&(r=s.width,o=s.minWidth,i=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=o,s.maxWidth=i),void 0!==a?a+"":a}function N(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function I(e){if(e in st)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=at.length;n--;)if(e=at[n]+t,e in st)return e}function P(e,t,n){var r=De.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function D(e,t,n,r,o){for(var i=n===(r?"border":"content")?4:"width"===t?1:0,a=0;i<4;i+=2)"margin"===n&&(a+=le.css(e,n+Re[i],!0,o)),r?("content"===n&&(a-=le.css(e,"padding"+Re[i],!0,o)),"margin"!==n&&(a-=le.css(e,"border"+Re[i]+"Width",!0,o))):(a+=le.css(e,"padding"+Re[i],!0,o),"padding"!==n&&(a+=le.css(e,"border"+Re[i]+"Width",!0,o)));return a}function R(e,t,n){var r=!0,o="width"===t?e.offsetWidth:e.offsetHeight,i=et(e),a="border-box"===le.css(e,"boxSizing",!1,i);if(o<=0||null==o){if(o=A(e,t,i),(o<0||null==o)&&(o=e.style[t]),Ze.test(o))return o;r=a&&(se.boxSizingReliable()||o===e.style[t]),o=parseFloat(o)||0}return o+D(e,t,n||(a?"border":"content"),r,i)+"px"}function j(e,t){for(var n,r,o,i=[],a=0,s=e.length;a<s;a++)r=e[a],r.style&&(i[a]=Oe.get(r,"olddisplay"),n=r.style.display,t?(i[a]||"none"!==n||(r.style.display=""),""===r.style.display&&je(r)&&(i[a]=Oe.access(r,"olddisplay",O(r.nodeName)))):(o=je(r),"none"===n&&o||Oe.set(r,"olddisplay",o?n:le.css(r,"display"))));for(a=0;a<s;a++)r=e[a],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?i[a]||"":"none"));return e}function L(e,t,n,r,o){return new L.prototype.init(e,t,n,r,o)}function B(){return n.setTimeout(function(){ut=void 0}),ut=le.now()}function F(e,t){var n,r=0,o={height:e};for(t=t?1:0;r<4;r+=2-t)n=Re[r],o["margin"+n]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function U(e,t,n){for(var r,o=(q.tweeners[t]||[]).concat(q.tweeners["*"]),i=0,a=o.length;i<a;i++)if(r=o[i].call(n,t,e))return r}function H(e,t,n){var r,o,i,a,s,u,l,c,d=this,f={},p=e.style,h=e.nodeType&&je(e),m=Oe.get(e,"fxshow");n.queue||(s=le._queueHooks(e,"fx"),null==s.unqueued&&(s.unqueued=0,u=s.empty.fire,s.empty.fire=function(){s.unqueued||u()}),s.unqueued++,d.always(function(){d.always(function(){s.unqueued--,le.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],l=le.css(e,"display"),c="none"===l?Oe.get(e,"olddisplay")||O(e.nodeName):l,"inline"===c&&"none"===le.css(e,"float")&&(p.display="inline-block")),n.overflow&&(p.overflow="hidden",d.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}));for(r in t)if(o=t[r],ct.exec(o)){if(delete t[r],i=i||"toggle"===o,o===(h?"hide":"show")){if("show"!==o||!m||void 0===m[r])continue;h=!0}f[r]=m&&m[r]||le.style(e,r)}else l=void 0;if(le.isEmptyObject(f))"inline"===("none"===l?O(e.nodeName):l)&&(p.display=l);else{m?"hidden"in m&&(h=m.hidden):m=Oe.access(e,"fxshow",{}),i&&(m.hidden=!h),h?le(e).show():d.done(function(){le(e).hide()}),d.done(function(){var t;Oe.remove(e,"fxshow");for(t in f)le.style(e,t,f[t])});for(r in f)a=U(h?m[r]:0,r,d),r in m||(m[r]=a.start,h&&(a.end=a.start,a.start="width"===r||"height"===r?1:0))}}function z(e,t){var n,r,o,i,a;for(n in e)if(r=le.camelCase(n),o=t[r],i=e[n],le.isArray(i)&&(o=i[1],i=e[n]=i[0]),n!==r&&(e[r]=i,delete e[n]),a=le.cssHooks[r],a&&"expand"in a){i=a.expand(i),delete e[r];for(n in i)n in e||(e[n]=i[n],t[n]=o)}else t[r]=o}function q(e,t,n){var r,o,i=0,a=q.prefilters.length,s=le.Deferred().always(function(){delete u.elem}),u=function(){if(o)return!1;for(var t=ut||B(),n=Math.max(0,l.startTime+l.duration-t),r=n/l.duration||0,i=1-r,a=0,u=l.tweens.length;a<u;a++)l.tweens[a].run(i);return s.notifyWith(e,[l,i,n]),i<1&&u?n:(s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:le.extend({},t),opts:le.extend(!0,{specialEasing:{},easing:le.easing._default},n),originalProperties:t,originalOptions:n,startTime:ut||B(),duration:n.duration,tweens:[],createTween:function(t,n){var r=le.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(o)return this;for(o=!0;n<r;n++)l.tweens[n].run(1);return t?(s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l,t])):s.rejectWith(e,[l,t]),this}}),c=l.props;for(z(c,l.opts.specialEasing);i<a;i++)if(r=q.prefilters[i].call(l,e,c,l.opts))return le.isFunction(r.stop)&&(le._queueHooks(l.elem,l.opts.queue).stop=le.proxy(r.stop,r)),r;return le.map(c,U,l),le.isFunction(l.opts.start)&&l.opts.start.call(e,l),le.fx.timer(le.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}function W(e){return e.getAttribute&&e.getAttribute("class")||""}function V(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,o=0,i=t.toLowerCase().match(Te)||[];if(le.isFunction(n))for(;r=i[o++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function G(e,t,n,r){function o(s){var u;return i[s]=!0,le.each(e[s]||[],function(e,s){var l=s(t,n,r);return"string"!=typeof l||a||i[l]?a?!(u=l):void 0:(t.dataTypes.unshift(l),o(l),!1)}),u}var i={},a=e===At;return o(t.dataTypes[0])||!i["*"]&&o("*")}function Y(e,t){var n,r,o=le.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:r||(r={}))[n]=t[n]);return r&&le.extend(!0,e,r),e}function $(e,t,n){for(var r,o,i,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(o in s)if(s[o]&&s[o].test(r)){u.unshift(o);break}if(u[0]in n)i=u[0];else{for(o in n){if(!u[0]||e.converters[o+" "+u[0]]){i=o;break}a||(a=o)}i=i||a}if(i)return i!==u[0]&&u.unshift(i),n[i]}function K(e,t,n,r){var o,i,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];for(i=c.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=i,i=c.shift())if("*"===i)i=u;else if("*"!==u&&u!==i){if(a=l[u+" "+i]||l["* "+i],!a)for(o in l)if(s=o.split(" "),s[1]===i&&(a=l[u+" "+s[0]]||l["* "+s[0]])){a===!0?a=l[o]:l[o]!==!0&&(i=s[0],c.unshift(s[1]));break}if(a!==!0)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+i}}}return{state:"success",data:t}}function X(e,t,n,r){var o;if(le.isArray(t))le.each(t,function(t,o){n||Dt.test(e)?r(e,o):X(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,r)});else if(n||"object"!==le.type(t))r(e,t);else for(o in t)X(e+"["+o+"]",t[o],n,r)}function Q(e){return le.isWindow(e)?e:9===e.nodeType&&e.defaultView}var J=[],Z=n.document,ee=J.slice,te=J.concat,ne=J.push,re=J.indexOf,oe={},ie=oe.toString,ae=oe.hasOwnProperty,se={},ue="2.2.4",le=function(e,t){return new le.fn.init(e,t)},ce=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,de=/^-ms-/,fe=/-([\da-z])/gi,pe=function(e,t){return t.toUpperCase()};le.fn=le.prototype={jquery:ue,constructor:le,selector:"",length:0,toArray:function(){return ee.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:ee.call(this)},pushStack:function(e){var t=le.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e){return le.each(this,e)},map:function(e){return this.pushStack(le.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(ee.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:ne,sort:J.sort,splice:J.splice},le.extend=le.fn.extend=function(){var e,t,n,r,o,i,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||le.isFunction(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)n=a[t],r=e[t],a!==r&&(l&&r&&(le.isPlainObject(r)||(o=le.isArray(r)))?(o?(o=!1,i=n&&le.isArray(n)?n:[]):i=n&&le.isPlainObject(n)?n:{},a[t]=le.extend(l,i,r)):void 0!==r&&(a[t]=r));return a},le.extend({expando:"jQuery"+(ue+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===le.type(e)},isArray:Array.isArray,isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){var t=e&&e.toString();return!le.isArray(e)&&t-parseFloat(t)+1>=0},isPlainObject:function(e){var t;if("object"!==le.type(e)||e.nodeType||le.isWindow(e))return!1;if(e.constructor&&!ae.call(e,"constructor")&&!ae.call(e.constructor.prototype||{},"isPrototypeOf"))return!1;for(t in e);return void 0===t||ae.call(e,t)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?oe[ie.call(e)]||"object":typeof e},globalEval:function(e){var t,n=eval;e=le.trim(e),e&&(1===e.indexOf("use strict")?(t=Z.createElement("script"),t.text=e,Z.head.appendChild(t).parentNode.removeChild(t)):n(e))},camelCase:function(e){return e.replace(de,"ms-").replace(fe,pe)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var n,r=0;if(a(e))for(n=e.length;r<n&&t.call(e[r],r,e[r])!==!1;r++);else for(r in e)if(t.call(e[r],r,e[r])===!1)break;return e},trim:function(e){return null==e?"":(e+"").replace(ce,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(a(Object(e))?le.merge(n,"string"==typeof e?[e]:e):ne.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:re.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,o=e.length;r<n;r++)e[o++]=t[r];return e.length=o,e},grep:function(e,t,n){for(var r,o=[],i=0,a=e.length,s=!n;i<a;i++)r=!t(e[i],i),r!==s&&o.push(e[i]);return o},map:function(e,t,n){var r,o,i=0,s=[];if(a(e))for(r=e.length;i<r;i++)o=t(e[i],i,n),null!=o&&s.push(o);else for(i in e)o=t(e[i],i,n),null!=o&&s.push(o);return te.apply([],s)},guid:1,proxy:function(e,t){var n,r,o;if("string"==typeof t&&(n=e[t],t=e,e=n),le.isFunction(e))return r=ee.call(arguments,2),o=function(){return e.apply(t||this,r.concat(ee.call(arguments)))},o.guid=e.guid=e.guid||le.guid++,o},now:Date.now,support:se}),"function"==typeof Symbol&&(le.fn[Symbol.iterator]=J[Symbol.iterator]),le.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){oe["[object "+t+"]"]=t.toLowerCase()});var he=/*!
-	 * Sizzle CSS Selector Engine v2.2.1
-	 * http://sizzlejs.com/
-	 *
-	 * Copyright jQuery Foundation and other contributors
-	 * Released under the MIT license
-	 * http://jquery.org/license
-	 *
-	 * Date: 2015-10-17
-	 */
-function(e){function t(e,t,n,r){var o,i,a,s,u,l,d,p,h=t&&t.ownerDocument,m=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==m&&9!==m&&11!==m)return n;if(!r&&((t?t.ownerDocument||t:U)!==I&&N(t),t=t||I,D)){if(11!==m&&(l=ge.exec(e)))if(o=l[1]){if(9===m){if(!(a=t.getElementById(o)))return n;if(a.id===o)return n.push(a),n}else if(h&&(a=h.getElementById(o))&&B(t,a)&&a.id===o)return n.push(a),n}else{if(l[2])return J.apply(n,t.getElementsByTagName(e)),n;if((o=l[3])&&w.getElementsByClassName&&t.getElementsByClassName)return J.apply(n,t.getElementsByClassName(o)),n}if(w.qsa&&!V[e+" "]&&(!R||!R.test(e))){if(1!==m)h=t,p=e;else if("object"!==t.nodeName.toLowerCase()){for((s=t.getAttribute("id"))?s=s.replace(be,"\\$&"):t.setAttribute("id",s=F),d=T(e),i=d.length,u=fe.test(s)?"#"+s:"[id='"+s+"']";i--;)d[i]=u+" "+f(d[i]);p=d.join(","),h=ye.test(e)&&c(t.parentNode)||t}if(p)try{return J.apply(n,h.querySelectorAll(p)),n}catch(e){}finally{s===F&&t.removeAttribute("id")}}}return S(e.replace(se,"$1"),t,n,r)}function n(){function e(n,r){return t.push(n+" ")>C.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[F]=!0,e}function o(e){var t=I.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function i(e,t){for(var n=e.split("|"),r=n.length;r--;)C.attrHandle[n[r]]=t}function a(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||Y)-(~e.sourceIndex||Y);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function u(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function l(e){return r(function(t){return t=+t,r(function(n,r){for(var o,i=e([],n.length,t),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))})})}function c(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function d(){}function f(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function p(e,t,n){var r=t.dir,o=n&&"parentNode"===r,i=z++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||o)return e(t,n,i)}:function(t,n,a){var s,u,l,c=[H,i];if(a){for(;t=t[r];)if((1===t.nodeType||o)&&e(t,n,a))return!0}else for(;t=t[r];)if(1===t.nodeType||o){if(l=t[F]||(t[F]={}),u=l[t.uniqueID]||(l[t.uniqueID]={}),(s=u[r])&&s[0]===H&&s[1]===i)return c[2]=s[2];if(u[r]=c,c[2]=e(t,n,a))return!0}}}function h(e){return e.length>1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function m(e,n,r){for(var o=0,i=n.length;o<i;o++)t(e,n[o],r);return r}function v(e,t,n,r,o){for(var i,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(i=e[s])&&(n&&!n(i,r,o)||(a.push(i),l&&t.push(s)));return a}function g(e,t,n,o,i,a){return o&&!o[F]&&(o=g(o)),i&&!i[F]&&(i=g(i,a)),r(function(r,a,s,u){var l,c,d,f=[],p=[],h=a.length,g=r||m(t||"*",s.nodeType?[s]:s,[]),y=!e||!r&&t?g:v(g,f,e,s,u),b=n?i||(r?e:h||o)?[]:a:y;if(n&&n(y,b,s,u),o)for(l=v(b,p),o(l,[],s,u),c=l.length;c--;)(d=l[c])&&(b[p[c]]=!(y[p[c]]=d));if(r){if(i||e){if(i){for(l=[],c=b.length;c--;)(d=b[c])&&l.push(y[c]=d);i(null,b=[],l,u)}for(c=b.length;c--;)(d=b[c])&&(l=i?ee(r,d):f[c])>-1&&(r[l]=!(a[l]=d))}}else b=v(b===a?b.splice(h,b.length):b),i?i(null,a,b,u):J.apply(a,b)})}function y(e){for(var t,n,r,o=e.length,i=C.relative[e[0].type],a=i||C.relative[" "],s=i?1:0,u=p(function(e){return e===t},a,!0),l=p(function(e){return ee(t,e)>-1},a,!0),c=[function(e,n,r){var o=!i&&(r||n!==M)||((t=n).nodeType?u(e,n,r):l(e,n,r));return t=null,o}];s<o;s++)if(n=C.relative[e[s].type])c=[p(h(c),n)];else{if(n=C.filter[e[s].type].apply(null,e[s].matches),n[F]){for(r=++s;r<o&&!C.relative[e[r].type];r++);return g(s>1&&h(c),s>1&&f(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(se,"$1"),n,s<r&&y(e.slice(s,r)),r<o&&y(e=e.slice(r)),r<o&&f(e))}c.push(n)}return h(c)}function b(e,n){var o=n.length>0,i=e.length>0,a=function(r,a,s,u,l){var c,d,f,p=0,h="0",m=r&&[],g=[],y=M,b=r||i&&C.find.TAG("*",l),_=H+=null==y?1:Math.random()||.1,w=b.length;for(l&&(M=a===I||a||l);h!==w&&null!=(c=b[h]);h++){if(i&&c){for(d=0,a||c.ownerDocument===I||(N(c),s=!D);f=e[d++];)if(f(c,a||I,s)){u.push(c);break}l&&(H=_)}o&&((c=!f&&c)&&p--,r&&m.push(c))}if(p+=h,o&&h!==p){for(d=0;f=n[d++];)f(m,g,a,s);if(r){if(p>0)for(;h--;)m[h]||g[h]||(g[h]=X.call(u));g=v(g)}J.apply(u,g),l&&!r&&g.length>0&&p+n.length>1&&t.uniqueSort(u)}return l&&(H=_,M=y),m};return o?r(a):a}var _,w,C,x,E,T,k,S,M,O,A,N,I,P,D,R,j,L,B,F="sizzle"+1*new Date,U=e.document,H=0,z=0,q=n(),W=n(),V=n(),G=function(e,t){return e===t&&(A=!0),0},Y=1<<31,$={}.hasOwnProperty,K=[],X=K.pop,Q=K.push,J=K.push,Z=K.slice,ee=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},te="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ne="[\\x20\\t\\r\\n\\f]",re="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",oe="\\["+ne+"*("+re+")(?:"+ne+"*([*^$|!~]?=)"+ne+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+re+"))|)"+ne+"*\\]",ie=":("+re+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+oe+")*)|.*)\\)|)",ae=new RegExp(ne+"+","g"),se=new RegExp("^"+ne+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ne+"+$","g"),ue=new RegExp("^"+ne+"*,"+ne+"*"),le=new RegExp("^"+ne+"*([>+~]|"+ne+")"+ne+"*"),ce=new RegExp("="+ne+"*([^\\]'\"]*?)"+ne+"*\\]","g"),de=new RegExp(ie),fe=new RegExp("^"+re+"$"),pe={ID:new RegExp("^#("+re+")"),CLASS:new RegExp("^\\.("+re+")"),TAG:new RegExp("^("+re+"|[*])"),ATTR:new RegExp("^"+oe),PSEUDO:new RegExp("^"+ie),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ne+"*(even|odd|(([+-]|)(\\d*)n|)"+ne+"*(?:([+-]|)"+ne+"*(\\d+)|))"+ne+"*\\)|)","i"),bool:new RegExp("^(?:"+te+")$","i"),needsContext:new RegExp("^"+ne+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ne+"*((?:-\\d)?\\d*)"+ne+"*\\)|)(?=[^-]|$)","i")},he=/^(?:input|select|textarea|button)$/i,me=/^h\d$/i,ve=/^[^{]+\{\s*\[native \w/,ge=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ye=/[+~]/,be=/'|\\/g,_e=new RegExp("\\\\([\\da-f]{1,6}"+ne+"?|("+ne+")|.)","ig"),we=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},Ce=function(){N()};try{J.apply(K=Z.call(U.childNodes),U.childNodes),K[U.childNodes.length].nodeType}catch(e){J={apply:K.length?function(e,t){Q.apply(e,Z.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}w=t.support={},E=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},N=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:U;return r!==I&&9===r.nodeType&&r.documentElement?(I=r,P=I.documentElement,D=!E(I),(n=I.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",Ce,!1):n.attachEvent&&n.attachEvent("onunload",Ce)),w.attributes=o(function(e){return e.className="i",!e.getAttribute("className")}),w.getElementsByTagName=o(function(e){return e.appendChild(I.createComment("")),!e.getElementsByTagName("*").length}),w.getElementsByClassName=ve.test(I.getElementsByClassName),w.getById=o(function(e){return P.appendChild(e).id=F,!I.getElementsByName||!I.getElementsByName(F).length}),w.getById?(C.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&D){var n=t.getElementById(e);return n?[n]:[]}},C.filter.ID=function(e){var t=e.replace(_e,we);return function(e){return e.getAttribute("id")===t}}):(delete C.find.ID,C.filter.ID=function(e){var t=e.replace(_e,we);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}}),C.find.TAG=w.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):w.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],o=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[o++];)1===n.nodeType&&r.push(n);return r}return i},C.find.CLASS=w.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&D)return t.getElementsByClassName(e)},j=[],R=[],(w.qsa=ve.test(I.querySelectorAll))&&(o(function(e){P.appendChild(e).innerHTML="<a id='"+F+"'></a><select id='"+F+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&R.push("[*^$]="+ne+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||R.push("\\["+ne+"*(?:value|"+te+")"),e.querySelectorAll("[id~="+F+"-]").length||R.push("~="),e.querySelectorAll(":checked").length||R.push(":checked"),e.querySelectorAll("a#"+F+"+*").length||R.push(".#.+[+~]")}),o(function(e){var t=I.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&R.push("name"+ne+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||R.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),R.push(",.*:")})),(w.matchesSelector=ve.test(L=P.matches||P.webkitMatchesSelector||P.mozMatchesSelector||P.oMatchesSelector||P.msMatchesSelector))&&o(function(e){w.disconnectedMatch=L.call(e,"div"),L.call(e,"[s!='']:x"),j.push("!=",ie)}),R=R.length&&new RegExp(R.join("|")),j=j.length&&new RegExp(j.join("|")),t=ve.test(P.compareDocumentPosition),B=t||ve.test(P.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},G=t?function(e,t){if(e===t)return A=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n?n:(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!w.sortDetached&&t.compareDocumentPosition(e)===n?e===I||e.ownerDocument===U&&B(U,e)?-1:t===I||t.ownerDocument===U&&B(U,t)?1:O?ee(O,e)-ee(O,t):0:4&n?-1:1)}:function(e,t){if(e===t)return A=!0,0;var n,r=0,o=e.parentNode,i=t.parentNode,s=[e],u=[t];if(!o||!i)return e===I?-1:t===I?1:o?-1:i?1:O?ee(O,e)-ee(O,t):0;if(o===i)return a(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)u.unshift(n);for(;s[r]===u[r];)r++;return r?a(s[r],u[r]):s[r]===U?-1:u[r]===U?1:0},I):I},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==I&&N(e),n=n.replace(ce,"='$1']"),w.matchesSelector&&D&&!V[n+" "]&&(!j||!j.test(n))&&(!R||!R.test(n)))try{var r=L.call(e,n);if(r||w.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return t(n,I,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==I&&N(e),B(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==I&&N(e);var n=C.attrHandle[t.toLowerCase()],r=n&&$.call(C.attrHandle,t.toLowerCase())?n(e,t,!D):void 0;return void 0!==r?r:w.attributes||!D?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,o=0;if(A=!w.detectDuplicates,O=!w.sortStable&&e.slice(0),e.sort(G),A){for(;t=e[o++];)t===e[o]&&(r=n.push(o));for(;r--;)e.splice(n[r],1)}return O=null,e},x=t.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=x(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=x(t);return n},C=t.selectors={cacheLength:50,createPseudo:r,match:pe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(_e,we),e[3]=(e[3]||e[4]||e[5]||"").replace(_e,we),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return pe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&de.test(n)&&(t=T(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(_e,we).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=q[e+" "];return t||(t=new RegExp("(^|"+ne+")"+e+"("+ne+"|$)"))&&q(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(o){var i=t.attr(o,e);return null==i?"!="===n:!n||(i+="","="===n?i===r:"!="===n?i!==r:"^="===n?r&&0===i.indexOf(r):"*="===n?r&&i.indexOf(r)>-1:"$="===n?r&&i.slice(-r.length)===r:"~="===n?(" "+i.replace(ae," ")+" ").indexOf(r)>-1:"|="===n&&(i===r||i.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,n,r,o){var i="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,u){var l,c,d,f,p,h,m=i!==a?"nextSibling":"previousSibling",v=t.parentNode,g=s&&t.nodeName.toLowerCase(),y=!u&&!s,b=!1;if(v){if(i){for(;m;){for(f=t;f=f[m];)if(s?f.nodeName.toLowerCase()===g:1===f.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?v.firstChild:v.lastChild],a&&y){for(f=v,d=f[F]||(f[F]={}),c=d[f.uniqueID]||(d[f.uniqueID]={}),l=c[e]||[],p=l[0]===H&&l[1],b=p&&l[2],f=p&&v.childNodes[p];f=++p&&f&&f[m]||(b=p=0)||h.pop();)if(1===f.nodeType&&++b&&f===t){c[e]=[H,p,b];break}}else if(y&&(f=t,d=f[F]||(f[F]={}),c=d[f.uniqueID]||(d[f.uniqueID]={}),l=c[e]||[],p=l[0]===H&&l[1],b=p),b===!1)for(;(f=++p&&f&&f[m]||(b=p=0)||h.pop())&&((s?f.nodeName.toLowerCase()!==g:1!==f.nodeType)||!++b||(y&&(d=f[F]||(f[F]={}),c=d[f.uniqueID]||(d[f.uniqueID]={}),c[e]=[H,b]),f!==t)););return b-=o,b===r||b%r===0&&b/r>=0}}},PSEUDO:function(e,n){var o,i=C.pseudos[e]||C.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return i[F]?i(n):i.length>1?(o=[e,e,"",n],C.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,o=i(e,n),a=o.length;a--;)r=ee(e,o[a]),e[r]=!(t[r]=o[a])}):function(e){return i(e,0,o)}):i}},pseudos:{not:r(function(e){var t=[],n=[],o=k(e.replace(se,"$1"));return o[F]?r(function(e,t,n,r){for(var i,a=o(e,null,r,[]),s=e.length;s--;)(i=a[s])&&(e[s]=!(t[s]=i))}):function(e,r,i){return t[0]=e,o(t,null,i,n),t[0]=null,!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return e=e.replace(_e,we),function(t){return(t.textContent||t.innerText||x(t)).indexOf(e)>-1}}),lang:r(function(e){return fe.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(_e,we).toLowerCase(),function(t){var n;do if(n=D?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===P},focus:function(e){return e===I.activeElement&&(!I.hasFocus||I.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!C.pseudos.empty(e)},header:function(e){return me.test(e.nodeName)},input:function(e){return he.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:l(function(){return[0]}),last:l(function(e,t){return[t-1]}),eq:l(function(e,t,n){return[n<0?n+t:n]}),even:l(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:l(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:l(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:l(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}},C.pseudos.nth=C.pseudos.eq;for(_ in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})C.pseudos[_]=s(_);for(_ in{submit:!0,reset:!0})C.pseudos[_]=u(_);return d.prototype=C.filters=C.pseudos,C.setFilters=new d,T=t.tokenize=function(e,n){var r,o,i,a,s,u,l,c=W[e+" "];if(c)return n?0:c.slice(0);for(s=e,u=[],l=C.preFilter;s;){r&&!(o=ue.exec(s))||(o&&(s=s.slice(o[0].length)||s),u.push(i=[])),r=!1,(o=le.exec(s))&&(r=o.shift(),i.push({value:r,type:o[0].replace(se," ")}),s=s.slice(r.length));for(a in C.filter)!(o=pe[a].exec(s))||l[a]&&!(o=l[a](o))||(r=o.shift(),i.push({value:r,type:a,matches:o}),s=s.slice(r.length));if(!r)break}return n?s.length:s?t.error(e):W(e,u).slice(0)},k=t.compile=function(e,t){var n,r=[],o=[],i=V[e+" "];if(!i){for(t||(t=T(e)),n=t.length;n--;)i=y(t[n]),i[F]?r.push(i):o.push(i);i=V(e,b(o,r)),i.selector=e}return i},S=t.select=function(e,t,n,r){var o,i,a,s,u,l="function"==typeof e&&e,d=!r&&T(e=l.selector||e);if(n=n||[],1===d.length){if(i=d[0]=d[0].slice(0),i.length>2&&"ID"===(a=i[0]).type&&w.getById&&9===t.nodeType&&D&&C.relative[i[1].type]){if(t=(C.find.ID(a.matches[0].replace(_e,we),t)||[])[0],!t)return n;l&&(t=t.parentNode),e=e.slice(i.shift().value.length)}for(o=pe.needsContext.test(e)?0:i.length;o--&&(a=i[o],!C.relative[s=a.type]);)if((u=C.find[s])&&(r=u(a.matches[0].replace(_e,we),ye.test(i[0].type)&&c(t.parentNode)||t))){if(i.splice(o,1),e=r.length&&f(i),!e)return J.apply(n,r),n;break}}return(l||k(e,d))(r,t,!D,n,!t||ye.test(e)&&c(t.parentNode)||t),n},w.sortStable=F.split("").sort(G).join("")===F,w.detectDuplicates=!!A,N(),w.sortDetached=o(function(e){return 1&e.compareDocumentPosition(I.createElement("div"))}),o(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||i("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),w.attributes&&o(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||i("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),o(function(e){return null==e.getAttribute("disabled")})||i(te,function(e,t,n){var r;if(!n)return e[t]===!0?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(n);le.find=he,le.expr=he.selectors,le.expr[":"]=le.expr.pseudos,le.uniqueSort=le.unique=he.uniqueSort,le.text=he.getText,le.isXMLDoc=he.isXML,le.contains=he.contains;var me=function(e,t,n){for(var r=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&le(e).is(n))break;r.push(e)}return r},ve=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},ge=le.expr.match.needsContext,ye=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,be=/^.[^:#\[\.,]*$/;le.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?le.find.matchesSelector(r,e)?[r]:[]:le.find.matches(e,le.grep(t,function(e){return 1===e.nodeType}))},le.fn.extend({find:function(e){var t,n=this.length,r=[],o=this;if("string"!=typeof e)return this.pushStack(le(e).filter(function(){for(t=0;t<n;t++)if(le.contains(o[t],this))return!0}));for(t=0;t<n;t++)le.find(e,o[t],r);return r=this.pushStack(n>1?le.unique(r):r),r.selector=this.selector?this.selector+" "+e:e,r},filter:function(e){return this.pushStack(s(this,e||[],!1))},not:function(e){return this.pushStack(s(this,e||[],!0))},is:function(e){return!!s(this,"string"==typeof e&&ge.test(e)?le(e):e||[],!1).length}});var _e,we=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,Ce=le.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||_e,"string"==typeof e){if(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:we.exec(e),!r||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof le?t[0]:t,le.merge(this,le.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:Z,!0)),ye.test(r[1])&&le.isPlainObject(t))for(r in t)le.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return o=Z.getElementById(r[2]),o&&o.parentNode&&(this.length=1,this[0]=o),this.context=Z,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):le.isFunction(e)?void 0!==n.ready?n.ready(e):e(le):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),le.makeArray(e,this))};Ce.prototype=le.fn,_e=le(Z);var xe=/^(?:parents|prev(?:Until|All))/,Ee={children:!0,contents:!0,next:!0,prev:!0};le.fn.extend({has:function(e){var t=le(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(le.contains(this,t[e]))return!0})},closest:function(e,t){for(var n,r=0,o=this.length,i=[],a=ge.test(e)||"string"!=typeof e?le(e,t||this.context):0;r<o;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&le.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?le.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?re.call(le(e),this[0]):re.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(le.uniqueSort(le.merge(this.get(),le(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),le.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return me(e,"parentNode")},parentsUntil:function(e,t,n){return me(e,"parentNode",n)},next:function(e){return u(e,"nextSibling")},prev:function(e){return u(e,"previousSibling")},nextAll:function(e){return me(e,"nextSibling")},prevAll:function(e){return me(e,"previousSibling")},nextUntil:function(e,t,n){return me(e,"nextSibling",n)},prevUntil:function(e,t,n){return me(e,"previousSibling",n)},siblings:function(e){return ve((e.parentNode||{}).firstChild,e)},children:function(e){return ve(e.firstChild)},contents:function(e){return e.contentDocument||le.merge([],e.childNodes)}},function(e,t){le.fn[e]=function(n,r){var o=le.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=le.filter(r,o)),this.length>1&&(Ee[e]||le.uniqueSort(o),xe.test(e)&&o.reverse()),this.pushStack(o)}});var Te=/\S+/g;le.Callbacks=function(e){e="string"==typeof e?l(e):le.extend({},e);var t,n,r,o,i=[],a=[],s=-1,u=function(){for(o=e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<i.length;)i[s].apply(n[0],n[1])===!1&&e.stopOnFalse&&(s=i.length,n=!1);e.memory||(n=!1),t=!1,o&&(i=n?[]:"")},c={add:function(){return i&&(n&&!t&&(s=i.length-1,a.push(n)),function t(n){le.each(n,function(n,r){le.isFunction(r)?e.unique&&c.has(r)||i.push(r):r&&r.length&&"string"!==le.type(r)&&t(r)})}(arguments),n&&!t&&u()),this},remove:function(){return le.each(arguments,function(e,t){for(var n;(n=le.inArray(t,i,n))>-1;)i.splice(n,1),n<=s&&s--}),this},has:function(e){return e?le.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=a=[],i=n="",this},disabled:function(){return!i},lock:function(){return o=a=[],n||(i=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=n||[],n=[e,n.slice?n.slice():n],a.push(n),t||u()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},le.extend({Deferred:function(e){var t=[["resolve","done",le.Callbacks("once memory"),"resolved"],["reject","fail",le.Callbacks("once memory"),"rejected"],["notify","progress",le.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},then:function(){var e=arguments;return le.Deferred(function(n){le.each(t,function(t,i){var a=le.isFunction(e[t])&&e[t];o[i[1]](function(){var e=a&&a.apply(this,arguments);e&&le.isFunction(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[i[0]+"With"](this===r?n.promise():this,a?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?le.extend(e,r):r}},o={};return r.pipe=r.then,le.each(t,function(e,i){var a=i[2],s=i[3];r[i[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),o[i[0]]=function(){return o[i[0]+"With"](this===o?r:this,arguments),this},o[i[0]+"With"]=a.fireWith}),r.promise(o),e&&e.call(o,o),o},when:function(e){var t,n,r,o=0,i=ee.call(arguments),a=i.length,s=1!==a||e&&le.isFunction(e.promise)?a:0,u=1===s?e:le.Deferred(),l=function(e,n,r){return function(o){n[e]=this,r[e]=arguments.length>1?ee.call(arguments):o,r===t?u.notifyWith(n,r):--s||u.resolveWith(n,r)}};if(a>1)for(t=new Array(a),n=new Array(a),r=new Array(a);o<a;o++)i[o]&&le.isFunction(i[o].promise)?i[o].promise().progress(l(o,n,t)).done(l(o,r,i)).fail(u.reject):--s;return s||u.resolveWith(r,i),u.promise()}});var ke;le.fn.ready=function(e){return le.ready.promise().done(e),this},le.extend({isReady:!1,readyWait:1,holdReady:function(e){e?le.readyWait++:le.ready(!0)},ready:function(e){(e===!0?--le.readyWait:le.isReady)||(le.isReady=!0,e!==!0&&--le.readyWait>0||(ke.resolveWith(Z,[le]),le.fn.triggerHandler&&(le(Z).triggerHandler("ready"),le(Z).off("ready"))))}}),le.ready.promise=function(e){return ke||(ke=le.Deferred(),"complete"===Z.readyState||"loading"!==Z.readyState&&!Z.documentElement.doScroll?n.setTimeout(le.ready):(Z.addEventListener("DOMContentLoaded",c),n.addEventListener("load",c))),ke.promise(e)},le.ready.promise();var Se=function(e,t,n,r,o,i,a){var s=0,u=e.length,l=null==n;if("object"===le.type(n)){o=!0;for(s in n)Se(e,t,s,n[s],!0,i,a)}else if(void 0!==r&&(o=!0,le.isFunction(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(le(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return o?e:l?t.call(e):u?t(e[0],n):i},Me=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};d.uid=1,d.prototype={register:function(e,t){var n=t||{};return e.nodeType?e[this.expando]=n:Object.defineProperty(e,this.expando,{value:n,writable:!0,configurable:!0}),e[this.expando]},cache:function(e){if(!Me(e))return{};var t=e[this.expando];return t||(t={},Me(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,o=this.cache(e);if("string"==typeof t)o[t]=n;else for(r in t)o[r]=t[r];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][t]},access:function(e,t,n){var r;return void 0===t||t&&"string"==typeof t&&void 0===n?(r=this.get(e,t),void 0!==r?r:this.get(e,le.camelCase(t))):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r,o,i=e[this.expando];if(void 0!==i){if(void 0===t)this.register(e);else{le.isArray(t)?r=t.concat(t.map(le.camelCase)):(o=le.camelCase(t),t in i?r=[t,o]:(r=o,r=r in i?[r]:r.match(Te)||[])),n=r.length;for(;n--;)delete i[r[n]]}(void 0===t||le.isEmptyObject(i))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!le.isEmptyObject(t)}};var Oe=new d,Ae=new d,Ne=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ie=/[A-Z]/g;le.extend({hasData:function(e){return Ae.hasData(e)||Oe.hasData(e)},data:function(e,t,n){return Ae.access(e,t,n)},removeData:function(e,t){Ae.remove(e,t)},_data:function(e,t,n){return Oe.access(e,t,n)},_removeData:function(e,t){Oe.remove(e,t)}}),le.fn.extend({data:function(e,t){var n,r,o,i=this[0],a=i&&i.attributes;if(void 0===e){if(this.length&&(o=Ae.get(i),1===i.nodeType&&!Oe.get(i,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&(r=a[n].name,0===r.indexOf("data-")&&(r=le.camelCase(r.slice(5)),f(i,r,o[r])));Oe.set(i,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each(function(){Ae.set(this,e)}):Se(this,function(t){var n,r;if(i&&void 0===t){if(n=Ae.get(i,e)||Ae.get(i,e.replace(Ie,"-$&").toLowerCase()),void 0!==n)return n;if(r=le.camelCase(e),n=Ae.get(i,r),void 0!==n)return n;if(n=f(i,r,void 0),void 0!==n)return n}else r=le.camelCase(e),this.each(function(){var n=Ae.get(this,r);Ae.set(this,r,t),e.indexOf("-")>-1&&void 0!==n&&Ae.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){Ae.remove(this,e)})}}),le.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Oe.get(e,t),n&&(!r||le.isArray(n)?r=Oe.access(e,t,le.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=le.queue(e,t),r=n.length,o=n.shift(),i=le._queueHooks(e,t),a=function(){le.dequeue(e,t)};"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete i.stop,o.call(e,a,i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Oe.get(e,n)||Oe.access(e,n,{empty:le.Callbacks("once memory").add(function(){Oe.remove(e,[t+"queue",n])})})}}),le.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?le.queue(this[0],e):void 0===t?this:this.each(function(){var n=le.queue(this,e,t);le._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&le.dequeue(this,e)})},dequeue:function(e){return this.each(function(){le.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,o=le.Deferred(),i=this,a=this.length,s=function(){--r||o.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)n=Oe.get(i[a],e+"queueHooks"),n&&n.empty&&(r++,n.empty.add(s));return s(),o.promise(t)}});var Pe=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,De=new RegExp("^(?:([+-])=|)("+Pe+")([a-z%]*)$","i"),Re=["Top","Right","Bottom","Left"],je=function(e,t){return e=t||e,"none"===le.css(e,"display")||!le.contains(e.ownerDocument,e)},Le=/^(?:checkbox|radio)$/i,Be=/<([\w:-]+)/,Fe=/^$|\/(?:java|ecma)script/i,Ue={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Ue.optgroup=Ue.option,Ue.tbody=Ue.tfoot=Ue.colgroup=Ue.caption=Ue.thead,Ue.th=Ue.td;var He=/<|&#?\w+;/;!function(){var e=Z.createDocumentFragment(),t=e.appendChild(Z.createElement("div")),n=Z.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),se.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",se.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue}();var ze=/^key/,qe=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,We=/^([^.]*)(?:\.(.+)|)/;le.event={global:{},add:function(e,t,n,r,o){var i,a,s,u,l,c,d,f,p,h,m,v=Oe.get(e);if(v)for(n.handler&&(i=n,n=i.handler,o=i.selector),n.guid||(n.guid=le.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(t){return"undefined"!=typeof le&&le.event.triggered!==t.type?le.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(Te)||[""],l=t.length;l--;)s=We.exec(t[l])||[],p=m=s[1],h=(s[2]||"").split(".").sort(),p&&(d=le.event.special[p]||{},p=(o?d.delegateType:d.bindType)||p,d=le.event.special[p]||{},c=le.extend({type:p,origType:m,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&le.expr.match.needsContext.test(o),namespace:h.join(".")},i),(f=u[p])||(f=u[p]=[],f.delegateCount=0,d.setup&&d.setup.call(e,r,h,a)!==!1||e.addEventListener&&e.addEventListener(p,a)),d.add&&(d.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),o?f.splice(f.delegateCount++,0,c):f.push(c),le.event.global[p]=!0)},remove:function(e,t,n,r,o){var i,a,s,u,l,c,d,f,p,h,m,v=Oe.hasData(e)&&Oe.get(e);if(v&&(u=v.events)){for(t=(t||"").match(Te)||[""],l=t.length;l--;)if(s=We.exec(t[l])||[],p=m=s[1],h=(s[2]||"").split(".").sort(),p){for(d=le.event.special[p]||{},p=(r?d.delegateType:d.bindType)||p,f=u[p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=f.length;i--;)c=f[i],!o&&m!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(f.splice(i,1),
-c.selector&&f.delegateCount--,d.remove&&d.remove.call(e,c));a&&!f.length&&(d.teardown&&d.teardown.call(e,h,v.handle)!==!1||le.removeEvent(e,p,v.handle),delete u[p])}else for(p in u)le.event.remove(e,p+t[l],n,r,!0);le.isEmptyObject(u)&&Oe.remove(e,"handle events")}},dispatch:function(e){e=le.event.fix(e);var t,n,r,o,i,a=[],s=ee.call(arguments),u=(Oe.get(this,"events")||{})[e.type]||[],l=le.event.special[e.type]||{};if(s[0]=e,e.delegateTarget=this,!l.preDispatch||l.preDispatch.call(this,e)!==!1){for(a=le.event.handlers.call(this,e,u),t=0;(o=a[t++])&&!e.isPropagationStopped();)for(e.currentTarget=o.elem,n=0;(i=o.handlers[n++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(i.namespace)||(e.handleObj=i,e.data=i.data,r=((le.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,s),void 0!==r&&(e.result=r)===!1&&(e.preventDefault(),e.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,o,i,a=[],s=t.delegateCount,u=e.target;if(s&&u.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&(u.disabled!==!0||"click"!==e.type)){for(r=[],n=0;n<s;n++)i=t[n],o=i.selector+" ",void 0===r[o]&&(r[o]=i.needsContext?le(o,this).index(u)>-1:le.find(o,this,null,[u]).length),r[o]&&r.push(i);r.length&&a.push({elem:u,handlers:r})}return s<t.length&&a.push({elem:this,handlers:t.slice(s)}),a},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,r,o,i=t.button;return null==e.pageX&&null!=t.clientX&&(n=e.target.ownerDocument||Z,r=n.documentElement,o=n.body,e.pageX=t.clientX+(r&&r.scrollLeft||o&&o.scrollLeft||0)-(r&&r.clientLeft||o&&o.clientLeft||0),e.pageY=t.clientY+(r&&r.scrollTop||o&&o.scrollTop||0)-(r&&r.clientTop||o&&o.clientTop||0)),e.which||void 0===i||(e.which=1&i?1:2&i?3:4&i?2:0),e}},fix:function(e){if(e[le.expando])return e;var t,n,r,o=e.type,i=e,a=this.fixHooks[o];for(a||(this.fixHooks[o]=a=qe.test(o)?this.mouseHooks:ze.test(o)?this.keyHooks:{}),r=a.props?this.props.concat(a.props):this.props,e=new le.Event(i),t=r.length;t--;)n=r[t],e[n]=i[n];return e.target||(e.target=Z),3===e.target.nodeType&&(e.target=e.target.parentNode),a.filter?a.filter(e,i):e},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==b()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===b()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&le.nodeName(this,"input"))return this.click(),!1},_default:function(e){return le.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},le.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},le.Event=function(e,t){return this instanceof le.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&e.returnValue===!1?g:y):this.type=e,t&&le.extend(this,t),this.timeStamp=e&&e.timeStamp||le.now(),void(this[le.expando]=!0)):new le.Event(e,t)},le.Event.prototype={constructor:le.Event,isDefaultPrevented:y,isPropagationStopped:y,isImmediatePropagationStopped:y,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=g,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=g,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=g,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},le.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){le.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,o=e.relatedTarget,i=e.handleObj;return o&&(o===r||le.contains(r,o))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}}),le.fn.extend({on:function(e,t,n,r){return _(this,e,t,n,r)},one:function(e,t,n,r){return _(this,e,t,n,r,1)},off:function(e,t,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,le(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return t!==!1&&"function"!=typeof t||(n=t,t=void 0),n===!1&&(n=y),this.each(function(){le.event.remove(this,e,n,t)})}});var Ve=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,Ge=/<script|<style|<link/i,Ye=/checked\s*(?:[^=]|=\s*.checked.)/i,$e=/^true\/(.*)/,Ke=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;le.extend({htmlPrefilter:function(e){return e.replace(Ve,"<$1></$2>")},clone:function(e,t,n){var r,o,i,a,s=e.cloneNode(!0),u=le.contains(e.ownerDocument,e);if(!(se.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||le.isXMLDoc(e)))for(a=h(s),i=h(e),r=0,o=i.length;r<o;r++)T(i[r],a[r]);if(t)if(n)for(i=i||h(e),a=a||h(s),r=0,o=i.length;r<o;r++)E(i[r],a[r]);else E(e,s);return a=h(s,"script"),a.length>0&&m(a,!u&&h(e,"script")),s},cleanData:function(e){for(var t,n,r,o=le.event.special,i=0;void 0!==(n=e[i]);i++)if(Me(n)){if(t=n[Oe.expando]){if(t.events)for(r in t.events)o[r]?le.event.remove(n,r):le.removeEvent(n,r,t.handle);n[Oe.expando]=void 0}n[Ae.expando]&&(n[Ae.expando]=void 0)}}}),le.fn.extend({domManip:k,detach:function(e){return S(this,e,!0)},remove:function(e){return S(this,e)},text:function(e){return Se(this,function(e){return void 0===e?le.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return k(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=w(this,e);t.appendChild(e)}})},prepend:function(){return k(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=w(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return k(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return k(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(le.cleanData(h(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return le.clone(this,e,t)})},html:function(e){return Se(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ge.test(e)&&!Ue[(Be.exec(e)||["",""])[1].toLowerCase()]){e=le.htmlPrefilter(e);try{for(;n<r;n++)t=this[n]||{},1===t.nodeType&&(le.cleanData(h(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return k(this,arguments,function(t){var n=this.parentNode;le.inArray(this,e)<0&&(le.cleanData(h(this)),n&&n.replaceChild(t,this))},e)}}),le.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){le.fn[e]=function(e){for(var n,r=[],o=le(e),i=o.length-1,a=0;a<=i;a++)n=a===i?this:this.clone(!0),le(o[a])[t](n),ne.apply(r,n.get());return this.pushStack(r)}});var Xe,Qe={HTML:"block",BODY:"block"},Je=/^margin/,Ze=new RegExp("^("+Pe+")(?!px)[a-z%]+$","i"),et=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},tt=function(e,t,n,r){var o,i,a={};for(i in t)a[i]=e.style[i],e.style[i]=t[i];o=n.apply(e,r||[]);for(i in t)e.style[i]=a[i];return o},nt=Z.documentElement;!function(){function e(){s.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",s.innerHTML="",nt.appendChild(a);var e=n.getComputedStyle(s);t="1%"!==e.top,i="2px"===e.marginLeft,r="4px"===e.width,s.style.marginRight="50%",o="4px"===e.marginRight,nt.removeChild(a)}var t,r,o,i,a=Z.createElement("div"),s=Z.createElement("div");s.style&&(s.style.backgroundClip="content-box",s.cloneNode(!0).style.backgroundClip="",se.clearCloneStyle="content-box"===s.style.backgroundClip,a.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",a.appendChild(s),le.extend(se,{pixelPosition:function(){return e(),t},boxSizingReliable:function(){return null==r&&e(),r},pixelMarginRight:function(){return null==r&&e(),o},reliableMarginLeft:function(){return null==r&&e(),i},reliableMarginRight:function(){var e,t=s.appendChild(Z.createElement("div"));return t.style.cssText=s.style.cssText="-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",t.style.marginRight=t.style.width="0",s.style.width="1px",nt.appendChild(a),e=!parseFloat(n.getComputedStyle(t).marginRight),nt.removeChild(a),s.removeChild(t),e}}))}();var rt=/^(none|table(?!-c[ea]).+)/,ot={position:"absolute",visibility:"hidden",display:"block"},it={letterSpacing:"0",fontWeight:"400"},at=["Webkit","O","Moz","ms"],st=Z.createElement("div").style;le.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=A(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,i,a,s=le.camelCase(t),u=e.style;return t=le.cssProps[s]||(le.cssProps[s]=I(s)||s),a=le.cssHooks[t]||le.cssHooks[s],void 0===n?a&&"get"in a&&void 0!==(o=a.get(e,!1,r))?o:u[t]:(i=typeof n,"string"===i&&(o=De.exec(n))&&o[1]&&(n=p(e,t,o),i="number"),null!=n&&n===n&&("number"===i&&(n+=o&&o[3]||(le.cssNumber[s]?"":"px")),se.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u[t]=n)),void 0)}},css:function(e,t,n,r){var o,i,a,s=le.camelCase(t);return t=le.cssProps[s]||(le.cssProps[s]=I(s)||s),a=le.cssHooks[t]||le.cssHooks[s],a&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=A(e,t,r)),"normal"===o&&t in it&&(o=it[t]),""===n||n?(i=parseFloat(o),n===!0||isFinite(i)?i||0:o):o}}),le.each(["height","width"],function(e,t){le.cssHooks[t]={get:function(e,n,r){if(n)return rt.test(le.css(e,"display"))&&0===e.offsetWidth?tt(e,ot,function(){return R(e,t,r)}):R(e,t,r)},set:function(e,n,r){var o,i=r&&et(e),a=r&&D(e,t,r,"border-box"===le.css(e,"boxSizing",!1,i),i);return a&&(o=De.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=le.css(e,t)),P(e,n,a)}}}),le.cssHooks.marginLeft=N(se.reliableMarginLeft,function(e,t){if(t)return(parseFloat(A(e,"marginLeft"))||e.getBoundingClientRect().left-tt(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),le.cssHooks.marginRight=N(se.reliableMarginRight,function(e,t){if(t)return tt(e,{display:"inline-block"},A,[e,"marginRight"])}),le.each({margin:"",padding:"",border:"Width"},function(e,t){le.cssHooks[e+t]={expand:function(n){for(var r=0,o={},i="string"==typeof n?n.split(" "):[n];r<4;r++)o[e+Re[r]+t]=i[r]||i[r-2]||i[0];return o}},Je.test(e)||(le.cssHooks[e+t].set=P)}),le.fn.extend({css:function(e,t){return Se(this,function(e,t,n){var r,o,i={},a=0;if(le.isArray(t)){for(r=et(e),o=t.length;a<o;a++)i[t[a]]=le.css(e,t[a],!1,r);return i}return void 0!==n?le.style(e,t,n):le.css(e,t)},e,t,arguments.length>1)},show:function(){return j(this,!0)},hide:function(){return j(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){je(this)?le(this).show():le(this).hide()})}}),le.Tween=L,L.prototype={constructor:L,init:function(e,t,n,r,o,i){this.elem=e,this.prop=n,this.easing=o||le.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(le.cssNumber[n]?"":"px")},cur:function(){var e=L.propHooks[this.prop];return e&&e.get?e.get(this):L.propHooks._default.get(this)},run:function(e){var t,n=L.propHooks[this.prop];return this.options.duration?this.pos=t=le.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):L.propHooks._default.set(this),this}},L.prototype.init.prototype=L.prototype,L.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=le.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){le.fx.step[e.prop]?le.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[le.cssProps[e.prop]]&&!le.cssHooks[e.prop]?e.elem[e.prop]=e.now:le.style(e.elem,e.prop,e.now+e.unit)}}},L.propHooks.scrollTop=L.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},le.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},le.fx=L.prototype.init,le.fx.step={};var ut,lt,ct=/^(?:toggle|show|hide)$/,dt=/queueHooks$/;le.Animation=le.extend(q,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return p(n.elem,e,De.exec(t),n),n}]},tweener:function(e,t){le.isFunction(e)?(t=e,e=["*"]):e=e.match(Te);for(var n,r=0,o=e.length;r<o;r++)n=e[r],q.tweeners[n]=q.tweeners[n]||[],q.tweeners[n].unshift(t)},prefilters:[H],prefilter:function(e,t){t?q.prefilters.unshift(e):q.prefilters.push(e)}}),le.speed=function(e,t,n){var r=e&&"object"==typeof e?le.extend({},e):{complete:n||!n&&t||le.isFunction(e)&&e,duration:e,easing:n&&t||t&&!le.isFunction(t)&&t};return r.duration=le.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in le.fx.speeds?le.fx.speeds[r.duration]:le.fx.speeds._default,null!=r.queue&&r.queue!==!0||(r.queue="fx"),r.old=r.complete,r.complete=function(){le.isFunction(r.old)&&r.old.call(this),r.queue&&le.dequeue(this,r.queue)},r},le.fn.extend({fadeTo:function(e,t,n,r){return this.filter(je).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var o=le.isEmptyObject(e),i=le.speed(t,n,r),a=function(){var t=q(this,le.extend({},e),i);(o||Oe.get(this,"finish"))&&t.stop(!0)};return a.finish=a,o||i.queue===!1?this.each(a):this.queue(i.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,o=null!=e&&e+"queueHooks",i=le.timers,a=Oe.get(this);if(o)a[o]&&a[o].stop&&r(a[o]);else for(o in a)a[o]&&a[o].stop&&dt.test(o)&&r(a[o]);for(o=i.length;o--;)i[o].elem!==this||null!=e&&i[o].queue!==e||(i[o].anim.stop(n),t=!1,i.splice(o,1));!t&&n||le.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=Oe.get(this),r=n[e+"queue"],o=n[e+"queueHooks"],i=le.timers,a=r?r.length:0;for(n.finish=!0,le.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=i.length;t--;)i[t].elem===this&&i[t].queue===e&&(i[t].anim.stop(!0),i.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),le.each(["toggle","show","hide"],function(e,t){var n=le.fn[t];le.fn[t]=function(e,r,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(F(t,!0),e,r,o)}}),le.each({slideDown:F("show"),slideUp:F("hide"),slideToggle:F("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){le.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),le.timers=[],le.fx.tick=function(){var e,t=0,n=le.timers;for(ut=le.now();t<n.length;t++)e=n[t],e()||n[t]!==e||n.splice(t--,1);n.length||le.fx.stop(),ut=void 0},le.fx.timer=function(e){le.timers.push(e),e()?le.fx.start():le.timers.pop()},le.fx.interval=13,le.fx.start=function(){lt||(lt=n.setInterval(le.fx.tick,le.fx.interval))},le.fx.stop=function(){n.clearInterval(lt),lt=null},le.fx.speeds={slow:600,fast:200,_default:400},le.fn.delay=function(e,t){return e=le.fx?le.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,r){var o=n.setTimeout(t,e);r.stop=function(){n.clearTimeout(o)}})},function(){var e=Z.createElement("input"),t=Z.createElement("select"),n=t.appendChild(Z.createElement("option"));e.type="checkbox",se.checkOn=""!==e.value,se.optSelected=n.selected,t.disabled=!0,se.optDisabled=!n.disabled,e=Z.createElement("input"),e.value="t",e.type="radio",se.radioValue="t"===e.value}();var ft,pt=le.expr.attrHandle;le.fn.extend({attr:function(e,t){return Se(this,le.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){le.removeAttr(this,e)})}}),le.extend({attr:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return"undefined"==typeof e.getAttribute?le.prop(e,t,n):(1===i&&le.isXMLDoc(e)||(t=t.toLowerCase(),o=le.attrHooks[t]||(le.expr.match.bool.test(t)?ft:void 0)),void 0!==n?null===n?void le.removeAttr(e,t):o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(r=o.get(e,t))?r:(r=le.find.attr(e,t),null==r?void 0:r))},attrHooks:{type:{set:function(e,t){if(!se.radioValue&&"radio"===t&&le.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r,o=0,i=t&&t.match(Te);if(i&&1===e.nodeType)for(;n=i[o++];)r=le.propFix[n]||n,le.expr.match.bool.test(n)&&(e[r]=!1),e.removeAttribute(n)}}),ft={set:function(e,t,n){return t===!1?le.removeAttr(e,n):e.setAttribute(n,n),n}},le.each(le.expr.match.bool.source.match(/\w+/g),function(e,t){var n=pt[t]||le.find.attr;pt[t]=function(e,t,r){var o,i;return r||(i=pt[t],pt[t]=o,o=null!=n(e,t,r)?t.toLowerCase():null,pt[t]=i),o}});var ht=/^(?:input|select|textarea|button)$/i,mt=/^(?:a|area)$/i;le.fn.extend({prop:function(e,t){return Se(this,le.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[le.propFix[e]||e]})}}),le.extend({prop:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&le.isXMLDoc(e)||(t=le.propFix[t]||t,o=le.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:e[t]=n:o&&"get"in o&&null!==(r=o.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=le.find.attr(e,"tabindex");return t?parseInt(t,10):ht.test(e.nodeName)||mt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),se.optSelected||(le.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),le.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){le.propFix[this.toLowerCase()]=this});var vt=/[\t\r\n\f]/g;le.fn.extend({addClass:function(e){var t,n,r,o,i,a,s,u=0;if(le.isFunction(e))return this.each(function(t){le(this).addClass(e.call(this,t,W(this)))});if("string"==typeof e&&e)for(t=e.match(Te)||[];n=this[u++];)if(o=W(n),r=1===n.nodeType&&(" "+o+" ").replace(vt," ")){for(a=0;i=t[a++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");s=le.trim(r),o!==s&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,o,i,a,s,u=0;if(le.isFunction(e))return this.each(function(t){le(this).removeClass(e.call(this,t,W(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(Te)||[];n=this[u++];)if(o=W(n),r=1===n.nodeType&&(" "+o+" ").replace(vt," ")){for(a=0;i=t[a++];)for(;r.indexOf(" "+i+" ")>-1;)r=r.replace(" "+i+" "," ");s=le.trim(r),o!==s&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):le.isFunction(e)?this.each(function(n){le(this).toggleClass(e.call(this,n,W(this),t),t)}):this.each(function(){var t,r,o,i;if("string"===n)for(r=0,o=le(this),i=e.match(Te)||[];t=i[r++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||(t=W(this),t&&Oe.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||e===!1?"":Oe.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+W(n)+" ").replace(vt," ").indexOf(t)>-1)return!0;return!1}});var gt=/\r/g,yt=/[\x20\t\r\n\f]+/g;le.fn.extend({val:function(e){var t,n,r,o=this[0];{if(arguments.length)return r=le.isFunction(e),this.each(function(n){var o;1===this.nodeType&&(o=r?e.call(this,n,le(this).val()):e,null==o?o="":"number"==typeof o?o+="":le.isArray(o)&&(o=le.map(o,function(e){return null==e?"":e+""})),t=le.valHooks[this.type]||le.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))});if(o)return t=le.valHooks[o.type]||le.valHooks[o.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:(n=o.value,"string"==typeof n?n.replace(gt,""):null==n?"":n)}}}),le.extend({valHooks:{option:{get:function(e){var t=le.find.attr(e,"value");return null!=t?t:le.trim(le.text(e)).replace(yt," ")}},select:{get:function(e){for(var t,n,r=e.options,o=e.selectedIndex,i="select-one"===e.type||o<0,a=i?null:[],s=i?o+1:r.length,u=o<0?s:i?o:0;u<s;u++)if(n=r[u],(n.selected||u===o)&&(se.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!le.nodeName(n.parentNode,"optgroup"))){if(t=le(n).val(),i)return t;a.push(t)}return a},set:function(e,t){for(var n,r,o=e.options,i=le.makeArray(t),a=o.length;a--;)r=o[a],(r.selected=le.inArray(le.valHooks.option.get(r),i)>-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),le.each(["radio","checkbox"],function(){le.valHooks[this]={set:function(e,t){if(le.isArray(t))return e.checked=le.inArray(le(e).val(),t)>-1}},se.checkOn||(le.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var bt=/^(?:focusinfocus|focusoutblur)$/;le.extend(le.event,{trigger:function(e,t,r,o){var i,a,s,u,l,c,d,f=[r||Z],p=ae.call(e,"type")?e.type:e,h=ae.call(e,"namespace")?e.namespace.split("."):[];if(a=s=r=r||Z,3!==r.nodeType&&8!==r.nodeType&&!bt.test(p+le.event.triggered)&&(p.indexOf(".")>-1&&(h=p.split("."),p=h.shift(),h.sort()),l=p.indexOf(":")<0&&"on"+p,e=e[le.expando]?e:new le.Event(p,"object"==typeof e&&e),e.isTrigger=o?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:le.makeArray(t,[e]),d=le.event.special[p]||{},o||!d.trigger||d.trigger.apply(r,t)!==!1)){if(!o&&!d.noBubble&&!le.isWindow(r)){for(u=d.delegateType||p,bt.test(u+p)||(a=a.parentNode);a;a=a.parentNode)f.push(a),s=a;s===(r.ownerDocument||Z)&&f.push(s.defaultView||s.parentWindow||n)}for(i=0;(a=f[i++])&&!e.isPropagationStopped();)e.type=i>1?u:d.bindType||p,c=(Oe.get(a,"events")||{})[e.type]&&Oe.get(a,"handle"),c&&c.apply(a,t),c=l&&a[l],c&&c.apply&&Me(a)&&(e.result=c.apply(a,t),e.result===!1&&e.preventDefault());return e.type=p,o||e.isDefaultPrevented()||d._default&&d._default.apply(f.pop(),t)!==!1||!Me(r)||l&&le.isFunction(r[p])&&!le.isWindow(r)&&(s=r[l],s&&(r[l]=null),le.event.triggered=p,r[p](),le.event.triggered=void 0,s&&(r[l]=s)),e.result}},simulate:function(e,t,n){var r=le.extend(new le.Event,n,{type:e,isSimulated:!0});le.event.trigger(r,null,t)}}),le.fn.extend({trigger:function(e,t){return this.each(function(){le.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return le.event.trigger(e,t,n,!0)}}),le.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){le.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),le.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),se.focusin="onfocusin"in n,se.focusin||le.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){le.event.simulate(t,e.target,le.event.fix(e))};le.event.special[t]={setup:function(){var r=this.ownerDocument||this,o=Oe.access(r,t);o||r.addEventListener(e,n,!0),Oe.access(r,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this,o=Oe.access(r,t)-1;o?Oe.access(r,t,o):(r.removeEventListener(e,n,!0),Oe.remove(r,t))}}});var _t=n.location,wt=le.now(),Ct=/\?/;le.parseJSON=function(e){return JSON.parse(e+"")},le.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||le.error("Invalid XML: "+e),t};var xt=/#.*$/,Et=/([?&])_=[^&]*/,Tt=/^(.*?):[ \t]*([^\r\n]*)$/gm,kt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,St=/^(?:GET|HEAD)$/,Mt=/^\/\//,Ot={},At={},Nt="*/".concat("*"),It=Z.createElement("a");It.href=_t.href,le.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:_t.href,type:"GET",isLocal:kt.test(_t.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Nt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":le.parseJSON,"text xml":le.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Y(Y(e,le.ajaxSettings),t):Y(le.ajaxSettings,e)},ajaxPrefilter:V(Ot),ajaxTransport:V(At),ajax:function(e,t){function r(e,t,r,s){var l,d,y,b,w,x=t;2!==_&&(_=2,u&&n.clearTimeout(u),o=void 0,a=s||"",C.readyState=e>0?4:0,l=e>=200&&e<300||304===e,r&&(b=$(f,C,r)),b=K(f,b,C,l),l?(f.ifModified&&(w=C.getResponseHeader("Last-Modified"),w&&(le.lastModified[i]=w),w=C.getResponseHeader("etag"),w&&(le.etag[i]=w)),204===e||"HEAD"===f.type?x="nocontent":304===e?x="notmodified":(x=b.state,d=b.data,y=b.error,l=!y)):(y=x,!e&&x||(x="error",e<0&&(e=0))),C.status=e,C.statusText=(t||x)+"",l?m.resolveWith(p,[d,x,C]):m.rejectWith(p,[C,x,y]),C.statusCode(g),g=void 0,c&&h.trigger(l?"ajaxSuccess":"ajaxError",[C,f,l?d:y]),v.fireWith(p,[C,x]),c&&(h.trigger("ajaxComplete",[C,f]),--le.active||le.event.trigger("ajaxStop")))}"object"==typeof e&&(t=e,e=void 0),t=t||{};var o,i,a,s,u,l,c,d,f=le.ajaxSetup({},t),p=f.context||f,h=f.context&&(p.nodeType||p.jquery)?le(p):le.event,m=le.Deferred(),v=le.Callbacks("once memory"),g=f.statusCode||{},y={},b={},_=0,w="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(2===_){if(!s)for(s={};t=Tt.exec(a);)s[t[1].toLowerCase()]=t[2];t=s[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===_?a:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return _||(e=b[n]=b[n]||e,y[e]=t),this},overrideMimeType:function(e){return _||(f.mimeType=e),this},statusCode:function(e){var t;if(e)if(_<2)for(t in e)g[t]=[g[t],e[t]];else C.always(e[C.status]);return this},abort:function(e){var t=e||w;return o&&o.abort(t),r(0,t),this}};if(m.promise(C).complete=v.add,C.success=C.done,C.error=C.fail,f.url=((e||f.url||_t.href)+"").replace(xt,"").replace(Mt,_t.protocol+"//"),f.type=t.method||t.type||f.method||f.type,f.dataTypes=le.trim(f.dataType||"*").toLowerCase().match(Te)||[""],null==f.crossDomain){l=Z.createElement("a");try{l.href=f.url,l.href=l.href,f.crossDomain=It.protocol+"//"+It.host!=l.protocol+"//"+l.host}catch(e){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=le.param(f.data,f.traditional)),G(Ot,f,t,C),2===_)return C;c=le.event&&f.global,c&&0===le.active++&&le.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!St.test(f.type),i=f.url,f.hasContent||(f.data&&(i=f.url+=(Ct.test(i)?"&":"?")+f.data,delete f.data),f.cache===!1&&(f.url=Et.test(i)?i.replace(Et,"$1_="+wt++):i+(Ct.test(i)?"&":"?")+"_="+wt++)),f.ifModified&&(le.lastModified[i]&&C.setRequestHeader("If-Modified-Since",le.lastModified[i]),le.etag[i]&&C.setRequestHeader("If-None-Match",le.etag[i])),(f.data&&f.hasContent&&f.contentType!==!1||t.contentType)&&C.setRequestHeader("Content-Type",f.contentType),C.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Nt+"; q=0.01":""):f.accepts["*"]);for(d in f.headers)C.setRequestHeader(d,f.headers[d]);if(f.beforeSend&&(f.beforeSend.call(p,C,f)===!1||2===_))return C.abort();w="abort";for(d in{success:1,error:1,complete:1})C[d](f[d]);if(o=G(At,f,t,C)){if(C.readyState=1,c&&h.trigger("ajaxSend",[C,f]),2===_)return C;f.async&&f.timeout>0&&(u=n.setTimeout(function(){C.abort("timeout")},f.timeout));try{_=1,o.send(y,r)}catch(e){if(!(_<2))throw e;r(-1,e)}}else r(-1,"No Transport");return C},getJSON:function(e,t,n){return le.get(e,t,n,"json")},getScript:function(e,t){return le.get(e,void 0,t,"script")}}),le.each(["get","post"],function(e,t){le[t]=function(e,n,r,o){return le.isFunction(n)&&(o=o||r,r=n,n=void 0),le.ajax(le.extend({url:e,type:t,dataType:o,data:n,success:r},le.isPlainObject(e)&&e))}}),le._evalUrl=function(e){return le.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},le.fn.extend({wrapAll:function(e){var t;return le.isFunction(e)?this.each(function(t){le(this).wrapAll(e.call(this,t))}):(this[0]&&(t=le(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this)},wrapInner:function(e){return le.isFunction(e)?this.each(function(t){le(this).wrapInner(e.call(this,t))}):this.each(function(){var t=le(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=le.isFunction(e);return this.each(function(n){le(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){le.nodeName(this,"body")||le(this).replaceWith(this.childNodes)}).end()}}),le.expr.filters.hidden=function(e){return!le.expr.filters.visible(e)},le.expr.filters.visible=function(e){return e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0};var Pt=/%20/g,Dt=/\[\]$/,Rt=/\r?\n/g,jt=/^(?:submit|button|image|reset|file)$/i,Lt=/^(?:input|select|textarea|keygen)/i;le.param=function(e,t){var n,r=[],o=function(e,t){t=le.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=le.ajaxSettings&&le.ajaxSettings.traditional),le.isArray(e)||e.jquery&&!le.isPlainObject(e))le.each(e,function(){o(this.name,this.value)});else for(n in e)X(n,e[n],t,o);return r.join("&").replace(Pt,"+")},le.fn.extend({serialize:function(){return le.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=le.prop(this,"elements");return e?le.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!le(this).is(":disabled")&&Lt.test(this.nodeName)&&!jt.test(e)&&(this.checked||!Le.test(e))}).map(function(e,t){var n=le(this).val();return null==n?null:le.isArray(n)?le.map(n,function(e){return{name:t.name,value:e.replace(Rt,"\r\n")}}):{name:t.name,value:n.replace(Rt,"\r\n")}}).get()}}),le.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Bt={0:200,1223:204},Ft=le.ajaxSettings.xhr();se.cors=!!Ft&&"withCredentials"in Ft,se.ajax=Ft=!!Ft,le.ajaxTransport(function(e){var t,r;if(se.cors||Ft&&!e.crossDomain)return{send:function(o,i){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest");
-for(a in o)s.setRequestHeader(a,o[a]);t=function(e){return function(){t&&(t=r=s.onload=s.onerror=s.onabort=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?i(0,"error"):i(s.status,s.statusText):i(Bt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),r=s.onerror=t("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout(function(){t&&r()})},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),le.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return le.globalEval(e),e}}}),le.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),le.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(r,o){t=le("<script>").prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),Z.head.appendChild(t[0])},abort:function(){n&&n()}}}});var Ut=[],Ht=/(=)\?(?=&|$)|\?\?/;le.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Ut.pop()||le.expando+"_"+wt++;return this[e]=!0,e}}),le.ajaxPrefilter("json jsonp",function(e,t,r){var o,i,a,s=e.jsonp!==!1&&(Ht.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ht.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=le.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Ht,"$1"+o):e.jsonp!==!1&&(e.url+=(Ct.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return a||le.error(o+" was not called"),a[0]},e.dataTypes[0]="json",i=n[o],n[o]=function(){a=arguments},r.always(function(){void 0===i?le(n).removeProp(o):n[o]=i,e[o]&&(e.jsonpCallback=t.jsonpCallback,Ut.push(o)),a&&le.isFunction(i)&&i(a[0]),a=i=void 0}),"script"}),le.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||Z;var r=ye.exec(e),o=!n&&[];return r?[t.createElement(r[1])]:(r=v([e],t,o),o&&o.length&&le(o).remove(),le.merge([],r.childNodes))};var zt=le.fn.load;le.fn.load=function(e,t,n){if("string"!=typeof e&&zt)return zt.apply(this,arguments);var r,o,i,a=this,s=e.indexOf(" ");return s>-1&&(r=le.trim(e.slice(s)),e=e.slice(0,s)),le.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),a.length>0&&le.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done(function(e){i=arguments,a.html(r?le("<div>").append(le.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,i||[e.responseText,t,e])})}),this},le.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){le.fn[t]=function(e){return this.on(t,e)}}),le.expr.filters.animated=function(e){return le.grep(le.timers,function(t){return e===t.elem}).length},le.offset={setOffset:function(e,t,n){var r,o,i,a,s,u,l,c=le.css(e,"position"),d=le(e),f={};"static"===c&&(e.style.position="relative"),s=d.offset(),i=le.css(e,"top"),u=le.css(e,"left"),l=("absolute"===c||"fixed"===c)&&(i+u).indexOf("auto")>-1,l?(r=d.position(),a=r.top,o=r.left):(a=parseFloat(i)||0,o=parseFloat(u)||0),le.isFunction(t)&&(t=t.call(e,n,le.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+o),"using"in t?t.using.call(e,f):d.css(f)}},le.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){le.offset.setOffset(this,e,t)});var t,n,r=this[0],o={top:0,left:0},i=r&&r.ownerDocument;if(i)return t=i.documentElement,le.contains(t,r)?(o=r.getBoundingClientRect(),n=Q(i),{top:o.top+n.pageYOffset-t.clientTop,left:o.left+n.pageXOffset-t.clientLeft}):o},position:function(){if(this[0]){var e,t,n=this[0],r={top:0,left:0};return"fixed"===le.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),le.nodeName(e[0],"html")||(r=e.offset()),r.top+=le.css(e[0],"borderTopWidth",!0),r.left+=le.css(e[0],"borderLeftWidth",!0)),{top:t.top-r.top-le.css(n,"marginTop",!0),left:t.left-r.left-le.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===le.css(e,"position");)e=e.offsetParent;return e||nt})}}),le.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;le.fn[e]=function(r){return Se(this,function(e,r,o){var i=Q(e);return void 0===o?i?i[t]:e[r]:void(i?i.scrollTo(n?i.pageXOffset:o,n?o:i.pageYOffset):e[r]=o)},e,r,arguments.length)}}),le.each(["top","left"],function(e,t){le.cssHooks[t]=N(se.pixelPosition,function(e,n){if(n)return n=A(e,t),Ze.test(n)?le(e).position()[t]+"px":n})}),le.each({Height:"height",Width:"width"},function(e,t){le.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){le.fn[r]=function(r,o){var i=arguments.length&&(n||"boolean"!=typeof r),a=n||(r===!0||o===!0?"margin":"border");return Se(this,function(t,n,r){var o;return le.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===r?le.css(t,n,a):le.style(t,n,r,a)},t,i?r:void 0,i,null)}})}),le.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},size:function(){return this.length}}),le.fn.andSelf=le.fn.addBack,r=[],o=function(){return le}.apply(t,r),!(void 0!==o&&(e.exports=o));var qt=n.jQuery,Wt=n.$;return le.noConflict=function(e){return n.$===le&&(n.$=Wt),e&&n.jQuery===le&&(n.jQuery=qt),le},i||(n.jQuery=n.$=le),le})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return{connectDropTarget:e.dropTarget(),isOver:t.isOver()}}Object.defineProperty(t,"__esModule",{value:!0}),t.FillTheBlankWordDropZone=t.GroupDropZone=t.WordDropZone=t.Dropzone=void 0;var i=n(9),a=r(i),s=n(3),u=r(s),l=n(5),c=r(l),d=n(8),f=r(d),p=n(6),h=r(p),m=n(1),v=r(m),g=n(99),y=n(4),b=r(y),_=n(104),w=r(_),C={drop:function(e,t){if(!t.didDrop()){var n=[];switch(t.getItemType()){case w.default.WORD:n=[t.getItem().itemId];break;case w.default.WORD_GROUP:n=b.default.map(t.getItem().words,"id")}return e.dropItem(n,t.getSourceClientOffset()),{items:n}}return null}},x={drop:function(e,t){return e.dropItem(t.getItem().itemId),t.getItem()}},E=t.Dropzone=function(e){function t(){return(0,u.default)(this,t),(0,f.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,h.default)(t,e),(0,c.default)(t,[{key:"render",value:function(){var e=this.props,t=e.connectDropTarget,n=e.isOver,r=e.overClassName,o=e.className,i=o+(n&&r?" "+r:"");return t(v.default.createElement("div",{className:i,style:this.props.style},this.props.children))}}]),t}(v.default.Component);t.WordDropZone=(0,g.DropTarget)(w.default.WORD,x,o)(E),t.GroupDropZone=(0,g.DropTarget)([w.default.WORD_GROUP,w.default.WORD],C,o)(E),t.FillTheBlankWordDropZone=(0,g.DropTarget)(w.default.FILL_BLANK_WORD,x,o)(E)},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={audioUpload:"audioUpload",fileUpload:"fileUpload",movableWordSandbox:"movableWordSandbox",movableWordSentence:"movableWordSentence",movableFillBlank:"movableFillBlank",shortAnswer:"shortAnswer",imageSequence:"imageSequence",multipleChoice:"multipleChoice",reflection:"reflection",multipleAnswer:"multipleAnswer",multipleReflection:"multipleReflection",dragAndDrop:"dragAndDrop"};t.audioLimit=240},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return{id:e.id,originalItem:e,type:(0,s.getQbankType)(e.genusTypeId),bankId:e.bankId,assessmentId:null,name:a.default.get(e,"displayName.text"),language:(0,u.getLanguage)(a.default.get(e,"question.text.languageTypeId")),question:{id:a.default.get(e,"question.id"),type:(0,s.getQbankType)(a.default.get(e,"question.genusTypeId")),text:a.default.get(e,"question.text.text"),fileIds:a.default.get(e,"question.fileIds"),choices:null,texts:a.default.get(e,"question.texts"),correctFeedback:{text:null,answerId:null},incorrectFeedback:{text:null,answerId:null}}}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(4),a=r(i),s=n(54),u=n(216)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=(0,p.getLanguage)(t.language),r=l.default.get(t,"question.text");return!n||l.default.isEmpty(r)?null:{text:r,languageTypeId:t.language,formatTypeId:p.languages.formatTypeId,scriptTypeId:p.languages.scriptTypeId[n]}}function i(e,t,n){return{id:l.default.get(e,"question.id"),genusTypeId:d.default.question[l.default.get(t,"type")||e.type],questionString:o(e,n),fileIds:t.fileIds}}function a(e,t){var n={id:e.id,genusTypeId:d.default.item[l.default.get(t,"type")||e.type],name:l.default.get(t,"name",e.name),question:(0,f.scrub)(i(e,l.default.get(t,"question",{}),t)),answers:null};return n}function s(e,t){return(0,f.scrub)(a(e,t))}Object.defineProperty(t,"__esModule",{value:!0}),t.baseSerializeQuestion=i,t.baseSerializeItem=a,t.baseItem=s;var u=n(4),l=r(u),c=n(54),d=r(c),f=n(63),p=n(216);t.default=a},function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},49,[1563,48,23,102],77,[1498,49,20],[1520,49],function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){"use strict";var r={};e.exports=r},function(e,t){"use strict";var n={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,arguments:!0,arity:!0},o="function"==typeof Object.getOwnPropertySymbols;e.exports=function(e,t,i){if("string"!=typeof t){var a=Object.getOwnPropertyNames(t);o&&(a=a.concat(Object.getOwnPropertySymbols(t)));for(var s=0;s<a.length;++s)if(!(n[a[s]]||r[a[s]]||i&&i[a[s]]))try{e[a[s]]=t[a[s]]}catch(e){}}return e}},function(e,t,n){var r=n(71),o=r.Symbol;e.exports=o},function(e,t){function n(e,t){return e===t||e!==e&&t!==t}e.exports=n},function(e,t,n){function r(e){return i(e)&&o(e)}var o=n(189),i=n(98);e.exports=r},function(e,t){"use strict";var n={remove:function(e){e._reactInternalInstance=void 0},get:function(e){return e._reactInternalInstance},has:function(e){return void 0!==e._reactInternalInstance},set:function(e,t){e._reactInternalInstance=t}};e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return!(0,a.default)(this.props,e)||!(0,a.default)(this.state,t)}t.__esModule=!0,t.default=o;var i=n(1074),a=r(i);e.exports=t.default},function(e,t,n){"use strict";function r(e,t,n){if(e[t])return new Error("<"+n+'> should not have a "'+t+'" prop')}t.__esModule=!0,t.routes=t.route=t.components=t.component=t.history=void 0,t.falsy=r;var o=n(1),i=o.PropTypes.func,a=o.PropTypes.object,s=o.PropTypes.arrayOf,u=o.PropTypes.oneOfType,l=o.PropTypes.element,c=o.PropTypes.shape,d=o.PropTypes.string,f=(t.history=c({listen:i.isRequired,push:i.isRequired,replace:i.isRequired,go:i.isRequired,goBack:i.isRequired,goForward:i.isRequired}),t.component=u([i,d])),p=(t.components=u([f,a]),t.route=u([a,l]));t.routes=u([p,s(p)])},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(152),u=r(s),l=n(7),c=r(l),d=n(44),f=r(d),p=n(33),h=function(e){function t(){return o(this,t),i(this,e.apply(this,arguments))}return a(t,e),t.prototype.createEl=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"button",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};t=(0,p.assign)({className:this.buildCSSClass()},t),"button"!==e&&(f.default.warn("Creating a Button with an HTML element of "+e+" is deprecated; use ClickableComponent instead."),t=(0,p.assign)({tabIndex:0},t),n=(0,p.assign)({role:"button"},n)),n=(0,p.assign)({type:"button","aria-live":"polite"},n);var r=c.default.prototype.createEl.call(this,e,t,n);return this.createControlTextEl(r),r},t.prototype.addChild=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.constructor.name;return f.default.warn("Adding an actionable (user controllable) child to a Button ("+n+") is not supported; use a ClickableComponent instead."),c.default.prototype.addChild.call(this,e,t)},t.prototype.enable=function(){e.prototype.enable.call(this),this.el_.removeAttribute("disabled")},t.prototype.disable=function(){e.prototype.disable.call(this),this.el_.setAttribute("disabled","disabled")},t.prototype.handleKeyPress=function(t){32!==t.which&&13!==t.which&&e.prototype.handleKeyPress.call(this,t)},t}(u.default);c.default.registerComponent("Button",h),t.default=h},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(7),l=o(u),c=n(22),d=r(c),f=n(81),p=r(f),h=n(19),m=r(h),v=n(44),g=o(v),y=n(26),b=o(y),_=n(33),w=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.emitTapEvents(),o.enable(),o}return s(t,e),t.prototype.createEl=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"div",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};n=(0,_.assign)({className:this.buildCSSClass(),tabIndex:0},n),"button"===t&&g.default.error("Creating a ClickableComponent with an HTML element of "+t+" is not supported; use a Button instead."),r=(0,_.assign)({role:"button","aria-live":"polite"},r),this.tabIndex_=n.tabIndex;var o=e.prototype.createEl.call(this,t,n,r);return this.createControlTextEl(o),o},t.prototype.createControlTextEl=function(e){return this.controlTextEl_=d.createEl("span",{className:"vjs-control-text"}),e&&e.appendChild(this.controlTextEl_),this.controlText(this.controlText_,e),this.controlTextEl_},t.prototype.controlText=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.el();if(!e)return this.controlText_||"Need Text";var n=this.localize(e);return this.controlText_=e,this.controlTextEl_.innerHTML=n,this.nonIconControl||t.setAttribute("title",n),this},t.prototype.buildCSSClass=function(){return"vjs-control vjs-button "+e.prototype.buildCSSClass.call(this)},t.prototype.enable=function(){return this.removeClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","false"),"undefined"!=typeof this.tabIndex_&&this.el_.setAttribute("tabIndex",this.tabIndex_),this.on("tap",this.handleClick),this.on("click",this.handleClick),this.on("focus",this.handleFocus),this.on("blur",this.handleBlur),this},t.prototype.disable=function(){return this.addClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","true"),"undefined"!=typeof this.tabIndex_&&this.el_.removeAttribute("tabIndex"),this.off("tap",this.handleClick),this.off("click",this.handleClick),this.off("focus",this.handleFocus),this.off("blur",this.handleBlur),this},t.prototype.handleClick=function(e){},t.prototype.handleFocus=function(e){p.on(b.default,"keydown",m.bind(this,this.handleKeyPress))},t.prototype.handleKeyPress=function(t){32===t.which||13===t.which?(t.preventDefault(),this.handleClick(t)):e.prototype.handleKeyPress&&e.prototype.handleKeyPress.call(this,t)},t.prototype.handleBlur=function(e){p.off(b.default,"keydown",m.bind(this,this.handleKeyPress))},t}(l.default);l.default.registerComponent("ClickableComponent",w),t.default=w},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function u(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},i=e.textTracks();o.kind=t,n&&(o.label=n),r&&(o.language=r),o.tech=e;var a=new y.default(o);return i.addTrack_(a),a}t.__esModule=!0;var l=n(7),c=o(l),d=n(1197),f=o(d),p=n(1196),h=o(p),m=n(74),v=o(m),g=n(313),y=o(g),b=n(1201),_=o(b),w=n(489),C=o(w),x=n(488),E=o(x),T=n(19),k=r(T),S=n(44),M=o(S),O=n(154),A=n(490),N=n(482),I=o(N),P=n(29),D=o(P),R=n(26),j=o(R),L=n(33),B=function(e){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};i(this,t),n.reportTouchActivity=!1;var o=a(this,e.call(this,null,n,r));return o.hasStarted_=!1,o.on("playing",function(){this.hasStarted_=!0}),o.on("loadstart",function(){this.hasStarted_=!1}),o.textTracks_=n.textTracks,o.videoTracks_=n.videoTracks,o.audioTracks_=n.audioTracks,o.featuresProgressEvents||o.manualProgressOn(),o.featuresTimeupdateEvents||o.manualTimeUpdatesOn(),["Text","Audio","Video"].forEach(function(e){n["native"+e+"Tracks"]===!1&&(o["featuresNative"+e+"Tracks"]=!1)}),n.nativeCaptions===!1&&(o.featuresNativeTextTracks=!1),o.featuresNativeTextTracks||o.emulateTextTracks(),o.autoRemoteTextTracks_=new _.default,o.initTextTrackListeners(),o.initTrackListeners(),n.nativeControlsForTouch||o.emitTapEvents(),o.constructor&&(o.name_=o.constructor.name||"Unknown Tech"),o}return s(t,e),t.prototype.manualProgressOn=function(){this.on("durationchange",this.onDurationChange),this.manualProgress=!0,this.one("ready",this.trackProgress)},t.prototype.manualProgressOff=function(){this.manualProgress=!1,this.stopTrackingProgress(),this.off("durationchange",this.onDurationChange)},t.prototype.trackProgress=function(e){this.stopTrackingProgress(),this.progressInterval=this.setInterval(k.bind(this,function(){var e=this.bufferedPercent();this.bufferedPercent_!==e&&this.trigger("progress"),this.bufferedPercent_=e,1===e&&this.stopTrackingProgress()}),500)},t.prototype.onDurationChange=function(e){this.duration_=this.duration()},t.prototype.buffered=function(){return(0,O.createTimeRange)(0,0)},t.prototype.bufferedPercent=function(){return(0,A.bufferedPercent)(this.buffered(),this.duration_)},t.prototype.stopTrackingProgress=function(){this.clearInterval(this.progressInterval)},t.prototype.manualTimeUpdatesOn=function(){this.manualTimeUpdates=!0,this.on("play",this.trackCurrentTime),this.on("pause",this.stopTrackingCurrentTime)},t.prototype.manualTimeUpdatesOff=function(){this.manualTimeUpdates=!1,this.stopTrackingCurrentTime(),this.off("play",this.trackCurrentTime),this.off("pause",this.stopTrackingCurrentTime)},t.prototype.trackCurrentTime=function(){this.currentTimeInterval&&this.stopTrackingCurrentTime(),this.currentTimeInterval=this.setInterval(function(){this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},250)},t.prototype.stopTrackingCurrentTime=function(){this.clearInterval(this.currentTimeInterval),this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},t.prototype.dispose=function(){this.clearTracks(["audio","video","text"]),this.manualProgress&&this.manualProgressOff(),this.manualTimeUpdates&&this.manualTimeUpdatesOff(),e.prototype.dispose.call(this)},t.prototype.clearTracks=function(e){var t=this;e=[].concat(e),e.forEach(function(e){for(var n=t[e+"Tracks"]()||[],r=n.length;r--;){var o=n[r];"text"===e&&t.removeRemoteTextTrack(o),n.removeTrack_(o)}})},t.prototype.cleanupAutoTextTracks=function(){for(var e=this.autoRemoteTextTracks_||[],t=e.length;t--;){var n=e[t];this.removeRemoteTextTrack(n)}},t.prototype.reset=function(){},t.prototype.error=function(e){return void 0!==e&&(this.error_=new I.default(e),this.trigger("error")),this.error_},t.prototype.played=function(){return this.hasStarted_?(0,O.createTimeRange)(0,0):(0,O.createTimeRange)()},t.prototype.setCurrentTime=function(){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},t.prototype.initTextTrackListeners=function(){var e=k.bind(this,function(){this.trigger("texttrackchange")}),t=this.textTracks();t&&(t.addEventListener("removetrack",e),t.addEventListener("addtrack",e),this.on("dispose",k.bind(this,function(){t.removeEventListener("removetrack",e),t.removeEventListener("addtrack",e)})))},t.prototype.initTrackListeners=function(){var e=this,t=["video","audio"];t.forEach(function(t){var n=function(){e.trigger(t+"trackchange")},r=e[t+"Tracks"]();r.addEventListener("removetrack",n),r.addEventListener("addtrack",n),e.on("dispose",function(){r.removeEventListener("removetrack",n),r.removeEventListener("addtrack",n)})})},t.prototype.addWebVttScript_=function(){var e=this;if(!D.default.WebVTT)if(j.default.body.contains(this.el())){var t=n(1205);if(!this.options_["vtt.js"]&&(0,L.isPlain)(t)&&Object.keys(t).length>0)return void this.trigger("vttjsloaded");var r=j.default.createElement("script");r.src=this.options_["vtt.js"]||"https://vjs.zencdn.net/vttjs/0.12.3/vtt.min.js",r.onload=function(){e.trigger("vttjsloaded")},r.onerror=function(){e.trigger("vttjserror")},this.on("dispose",function(){r.onload=null,r.onerror=null}),D.default.WebVTT=!0,this.el().parentNode.appendChild(r)}else this.ready(this.addWebVttScript_)},t.prototype.emulateTextTracks=function(){var e=this,t=this.textTracks();if(t){var n=this.remoteTextTracks(),r=function(e){return t.addTrack_(e.track)},o=function(e){return t.removeTrack_(e.track)};n.on("addtrack",r),n.on("removetrack",o),this.addWebVttScript_();var i=function(){return e.trigger("texttrackchange")},a=function(){i();for(var e=0;e<t.length;e++){var n=t[e];n.removeEventListener("cuechange",i),"showing"===n.mode&&n.addEventListener("cuechange",i)}};a(),t.addEventListener("change",a),t.addEventListener("addtrack",a),t.addEventListener("removetrack",a),this.on("dispose",function(){n.off("addtrack",r),n.off("removetrack",o),t.removeEventListener("change",a),t.removeEventListener("addtrack",a),t.removeEventListener("removetrack",a);for(var e=0;e<t.length;e++){var s=t[e];s.removeEventListener("cuechange",i)}})}},t.prototype.videoTracks=function(){return this.videoTracks_=this.videoTracks_||new C.default,this.videoTracks_},t.prototype.audioTracks=function(){return this.audioTracks_=this.audioTracks_||new E.default,this.audioTracks_},t.prototype.textTracks=function(){return this.textTracks_=this.textTracks_||new _.default,this.textTracks_},t.prototype.remoteTextTracks=function(){return this.remoteTextTracks_=this.remoteTextTracks_||new _.default,this.remoteTextTracks_},t.prototype.remoteTextTrackEls=function(){return this.remoteTextTrackEls_=this.remoteTextTrackEls_||new h.default,this.remoteTextTrackEls_},t.prototype.addTextTrack=function(e,t,n){if(!e)throw new Error("TextTrack kind is required but was not provided");return u(this,e,t,n)},t.prototype.createRemoteTextTrack=function(e){var t=(0,v.default)(e,{tech:this});return new f.default(t)},t.prototype.addRemoteTextTrack=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1],n=this.createRemoteTextTrack(e);return t!==!0&&t!==!1&&(M.default.warn('Calling addRemoteTextTrack without explicitly setting the "manualCleanup" parameter to `true` is deprecated and default to `false` in future version of video.js'),t=!0),this.remoteTextTrackEls().addTrackElement_(n),this.remoteTextTracks().addTrack_(n.track),t!==!0&&this.autoRemoteTextTracks_.addTrack_(n.track),n},t.prototype.removeRemoteTextTrack=function(e){var t=this.remoteTextTrackEls().getTrackElementByTrack_(e);this.remoteTextTrackEls().removeTrackElement_(t),this.remoteTextTracks().removeTrack_(e),this.autoRemoteTextTracks_.removeTrack_(e)},t.prototype.setPoster=function(){},t.prototype.canPlayType=function(){return""},t.isTech=function(e){return e.prototype instanceof t||e instanceof t||e===t},t.registerTech=function(e,n){if(t.techs_||(t.techs_={}),!t.isTech(n))throw new Error("Tech "+e+" must be a Tech");return t.techs_[e]=n,n},t.getTech=function(e){return t.techs_&&t.techs_[e]?t.techs_[e]:D.default&&D.default.videojs&&D.default.videojs[e]?(M.default.warn("The "+e+" tech was added to the videojs object when it should be registered using videojs.registerTech(name, tech)"),D.default.videojs[e]):void 0},t}(c.default);B.prototype.textTracks_,B.prototype.audioTracks_,B.prototype.videoTracks_,B.prototype.featuresVolumeControl=!0,B.prototype.featuresFullscreenResize=!1,B.prototype.featuresPlaybackRate=!1,B.prototype.featuresProgressEvents=!1,B.prototype.featuresTimeupdateEvents=!1,B.prototype.featuresNativeTextTracks=!1,B.withSourceHandlers=function(e){e.registerSourceHandler=function(t,n){var r=e.sourceHandlers;r||(r=e.sourceHandlers=[]),void 0===n&&(n=r.length),r.splice(n,0,t)},e.canPlayType=function(t){for(var n=e.sourceHandlers||[],r=void 0,o=0;o<n.length;o++)if(r=n[o].canPlayType(t))return r;return""},e.selectSourceHandler=function(t,n){for(var r=e.sourceHandlers||[],o=void 0,i=0;i<r.length;i++)if(o=r[i].canHandleSource(t,n))return r[i];return null},e.canPlaySource=function(t,n){var r=e.selectSourceHandler(t,n);return r?r.canHandleSource(t,n):""};var t=["seekable","duration"];t.forEach(function(e){var t=this[e];"function"==typeof t&&(this[e]=function(){return this.sourceHandler_&&this.sourceHandler_[e]?this.sourceHandler_[e].apply(this.sourceHandler_,arguments):t.apply(this,arguments)})},e.prototype),e.prototype.setSource=function(t){var n=e.selectSourceHandler(t,this.options_);return n||(e.nativeSourceHandler?n=e.nativeSourceHandler:M.default.error("No source hander found for the current source.")),this.disposeSourceHandler(),this.off("dispose",this.disposeSourceHandler),n!==e.nativeSourceHandler&&(this.currentSource_=t,this.off(this.el_,"loadstart",e.prototype.firstLoadStartListener_),this.off(this.el_,"loadstart",e.prototype.successiveLoadStartListener_),this.one(this.el_,"loadstart",e.prototype.firstLoadStartListener_)),this.sourceHandler_=n.handleSource(t,this,this.options_),this.on("dispose",this.disposeSourceHandler),this},e.prototype.firstLoadStartListener_=function(){this.one(this.el_,"loadstart",e.prototype.successiveLoadStartListener_)},e.prototype.successiveLoadStartListener_=function(){this.disposeSourceHandler(),this.one(this.el_,"loadstart",e.prototype.successiveLoadStartListener_)},e.prototype.disposeSourceHandler=function(){this.currentSource_&&(this.clearTracks(["audio","video"]),this.currentSource_=null),this.cleanupAutoTextTracks(),this.sourceHandler_&&(this.off(this.el_,"loadstart",e.prototype.firstLoadStartListener_),this.off(this.el_,"loadstart",e.prototype.successiveLoadStartListener_),this.sourceHandler_.dispose&&this.sourceHandler_.dispose(),this.sourceHandler_=null)}},c.default.registerComponent("Tech",B),c.default.registerComponent("MediaTechController",B),B.registerTech("Tech",B),t.default=B},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){if(t<0||t>n)throw new Error("Failed to execute '"+e+"' on 'TimeRanges': The index provided ("+t+") is greater than or equal to the maximum bound ("+n+").")}function i(e,t,n,r){return void 0===r&&(l.default.warn("DEPRECATED: Function '"+e+"' on 'TimeRanges' called without an index argument."),r=0),o(e,r,n.length-1),n[r][t]}function a(e){return void 0===e||0===e.length?{length:0,start:function(){throw new Error("This TimeRanges object is empty")},end:function(){throw new Error("This TimeRanges object is empty")}}:{length:e.length,start:i.bind(null,"start",0,e),end:i.bind(null,"end",1,e)}}function s(e,t){return Array.isArray(e)?a(e):void 0===e||void 0===t?a():a([[e,t]])}t.__esModule=!0,t.createTimeRange=void 0,t.createTimeRanges=s;var u=n(44),l=r(u);t.createTimeRange=s},,function(e,t){"use strict";function n(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return""+e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n},[1566,57,86,34],function(e,t,n){n(623);for(var r=n(45),o=n(84),i=n(106),a=n(34)("toStringTag"),s=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],u=0;u<5;u++){var l=s[u],c=r[l],d=c&&c.prototype;d&&!d[a]&&o(d,a,l),i[l]=i.Array}},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(c===setTimeout)return setTimeout(e,0);if((c===n||!c)&&setTimeout)return c=setTimeout,setTimeout(e,0);try{return c(e,0)}catch(t){try{return c.call(null,e,0)}catch(t){return c.call(this,e,0)}}}function i(e){if(d===clearTimeout)return clearTimeout(e);if((d===r||!d)&&clearTimeout)return d=clearTimeout,clearTimeout(e);try{return d(e)}catch(t){try{return d.call(null,e)}catch(t){return d.call(this,e)}}}function a(){m&&p&&(m=!1,p.length?h=p.concat(h):v=-1,h.length&&s())}function s(){if(!m){var e=o(a);m=!0;for(var t=h.length;t;){for(p=h,h=[];++v<t;)p&&p[v].run();v=-1,t=h.length}p=null,m=!1,i(e)}}function u(e,t){this.fun=e,this.array=t}function l(){}var c,d,f=e.exports={};!function(){try{c="function"==typeof setTimeout?setTimeout:n}catch(e){c=n}try{d="function"==typeof clearTimeout?clearTimeout:r}catch(e){d=r}}();var p,h=[],m=!1,v=-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 u(e,t)),1!==h.length||m||o(s)},u.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=l,f.addListener=l,f.once=l,f.off=l,f.removeListener=l,f.removeAllListeners=l,f.emit=l,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){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(101),i=r(o),a=n(9),s=r(a),u=n(3),l=r(u),c=n(5),d=r(c),f=n(8),p=r(f),h=n(6),m=r(h),v=n(1),g=r(v),y=n(4),b=r(y),_=n(494),w=r(_),C=function(e){
-function t(){return(0,l.default)(this,t),(0,p.default)(this,(t.__proto__||(0,s.default)(t)).apply(this,arguments))}return(0,m.default)(t,e),(0,d.default)(t,[{key:"updateItem",value:function(e,t){this.props.updateItem({question:(0,i.default)({},this.props.feedbackType,{text:e,fileIds:t})})}},{key:"render",value:function(){var e=this;return g.default.createElement("div",{className:"au-c-input au-c-input-label--left au-c-feedback"},g.default.createElement("label",{htmlFor:"feedbackCorrect"},this.props.labelText),g.default.createElement(w.default,{textSize:"smaller",fileIds:b.default.get(this.props.feedback,"fileIds"),text:b.default.get(this.props.feedback,"text"),bankId:this.props.bankId,onBlur:function(t,n){return e.updateItem(t,n)}}))}}]),t}(g.default.Component);t.default=C},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),l=r(u),c=n(8),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),v=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e=this.props.hide?this.props.className+" u-hide":this.props.className;return m.default.createElement("div",{className:e,dangerouslySetInnerHTML:{__html:this.props.material}})}}]),t}(m.default.Component);t.default=v},function(e,t){e.exports=!0},142,95,[1493,42,30,94],function(e,t,n){"use strict";var r=n(13),o=n(2),i=n(40),a=n(92),s=n(76),u=n(109),l=n(87),c=n(18),d=n(15),f=n(171),p=n(111),h=n(239);e.exports=function(e,t,n,m,v,g){var y=r[e],b=y,_=v?"set":"add",w=b&&b.prototype,C={},x=function(e){var t=w[e];i(w,e,"delete"==e?function(e){return!(g&&!c(e))&&t.call(this,0===e?0:e)}:"has"==e?function(e){return!(g&&!c(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return g&&!c(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,n){return t.call(this,0===e?0:e,n),this})};if("function"==typeof b&&(g||w.forEach&&!d(function(){(new b).entries().next()}))){var E=new b,T=E[_](g?{}:-0,1)!=E,k=d(function(){E.has(1)}),S=f(function(e){new b(e)}),M=!g&&d(function(){for(var e=new b,t=5;t--;)e[_](t,t);return!e.has(-0)});S||(b=t(function(t,n){l(t,b,e);var r=h(new y,t,b);return void 0!=n&&u(n,v,r[_],r),r}),b.prototype=w,w.constructor=b),(k||M)&&(x("delete"),x("has"),v&&x("get")),(M||T)&&x(_),g&&w.clear&&delete w.clear}else b=m.getConstructor(t,e,v,_),a(b.prototype,n),s.NEED=!0;return p(b,e),C[e]=b,o(o.G+o.W+o.F*(b!=y),C),g||m.setStrong(b,e,v),b}},function(e,t,n){"use strict";var r=n(39),o=n(40),i=n(15),a=n(50),s=n(20);e.exports=function(e,t,n){var u=s(e),l=n(a,u,""[e]),c=l[0],d=l[1];i(function(){var t={};return t[u]=function(){return 7},7!=""[e](t)})&&(o(String.prototype,e,c),r(RegExp.prototype,u,2==t?function(e,t){return d.call(e,this,t)}:function(e){return d.call(e,this)}))}},function(e,t,n){"use strict";var r=n(12);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(18),o=n(49),i=n(20)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},[1535,20],function(e,t,n){e.exports=n(88)||!n(15)(function(){var e=Math.random();__defineSetter__.call(null,e,function(){}),delete n(13)[e]})},function(e,t){t.f=Object.getOwnPropertySymbols},[1570,13],function(e,t,n){for(var r,o=n(13),i=n(39),a=n(95),s=a("typed_array"),u=a("view"),l=!(!o.ArrayBuffer||!o.DataView),c=l,d=0,f=9,p="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");d<f;)(r=o[p[d++]])?(i(r.prototype,s,!0),i(r.prototype,u,!0)):c=!1;e.exports={ABV:l,CONSTR:c,TYPED:s,VIEW:u}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{publishSource:!0,clientOffset:null},n=t.publishSource,r=t.clientOffset,o=t.getSourceClientOffset;(0,d.default)((0,p.default)(e),"Expected sourceIds to be an array.");var i=this.getMonitor(),a=this.getRegistry();(0,d.default)(!i.isDragging(),"Cannot call beginDrag while dragging.");for(var s=0;s<e.length;s++)(0,d.default)(a.getSource(e[s]),"Expected sourceIds to be registered.");for(var u=null,l=e.length-1;l>=0;l--)if(i.canDragSource(e[l])){u=e[l];break}if(null!==u){var c=null;r&&((0,d.default)("function"==typeof o,"When clientOffset is provided, getSourceClientOffset must be a function."),c=o(u));var f=a.getSource(u),h=f.beginDrag(i,u);(0,d.default)((0,m.default)(h),"Item must be an object."),a.pinSource(u);var v=a.getSourceType(u);return{type:y,itemType:v,item:h,sourceId:u,clientOffset:r,sourceClientOffset:c,isSourcePublic:n}}}function i(){var e=this.getMonitor();if(e.isDragging())return{type:b}}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.clientOffset,r=void 0===n?null:n;(0,d.default)((0,p.default)(e),"Expected targetIds to be an array.");var o=e.slice(0),i=this.getMonitor(),a=this.getRegistry();(0,d.default)(i.isDragging(),"Cannot call hover while not dragging."),(0,d.default)(!i.didDrop(),"Cannot call hover after drop.");for(var s=0;s<o.length;s++){var u=o[s];(0,d.default)(o.lastIndexOf(u)===s,"Expected targetIds to be unique in the passed array.");var l=a.getTarget(u);(0,d.default)(l,"Expected targetIds to be registered.")}for(var c=i.getItemType(),f=o.length-1;f>=0;f--){var h=o[f],m=a.getTargetType(h);(0,g.default)(m,c)||o.splice(f,1)}for(var v=0;v<o.length;v++){var y=o[v],b=a.getTarget(y);b.hover(i,y)}return{type:_,targetIds:o,clientOffset:r}}function s(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this.getMonitor(),r=this.getRegistry();(0,d.default)(n.isDragging(),"Cannot call drop while not dragging."),(0,d.default)(!n.didDrop(),"Cannot call drop twice during one drag operation.");var o=n.getTargetIds().filter(n.canDropOnTarget,n);o.reverse(),o.forEach(function(o,i){var a=r.getTarget(o),s=a.drop(n,o);(0,d.default)("undefined"==typeof s||(0,m.default)(s),"Drop result must either be an object or undefined."),"undefined"==typeof s&&(s=0===i?{}:n.getDropResult()),e.store.dispatch({type:w,dropResult:l({},t,s)})})}function u(){var e=this.getMonitor(),t=this.getRegistry();(0,d.default)(e.isDragging(),"Cannot call endDrag while not dragging.");var n=e.getSourceId(),r=t.getSource(n,!0);return r.endDrag(e,n),t.unpinSource(),{type:C}}Object.defineProperty(t,"__esModule",{value:!0}),t.END_DRAG=t.DROP=t.HOVER=t.PUBLISH_DRAG_SOURCE=t.BEGIN_DRAG=void 0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.beginDrag=o,t.publishDragSource=i,t.hover=a,t.drop=s,t.endDrag=u;var c=n(17),d=r(c),f=n(37),p=r(f),h=n(115),m=r(h),v=n(385),g=r(v),y=t.BEGIN_DRAG="dnd-core/BEGIN_DRAG",b=t.PUBLISH_DRAG_SOURCE="dnd-core/PUBLISH_DRAG_SOURCE",_=t.HOVER="dnd-core/HOVER",w=t.DROP="dnd-core/DROP",C=t.END_DRAG="dnd-core/END_DRAG"},function(e,t){"use strict";function n(e){return{type:a,sourceId:e}}function r(e){return{type:s,targetId:e}}function o(e){return{type:u,sourceId:e}}function i(e){return{type:l,targetId:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.addSource=n,t.addTarget=r,t.removeSource=o,t.removeTarget=i;var a=t.ADD_SOURCE="dnd-core/ADD_SOURCE",s=t.ADD_TARGET="dnd-core/ADD_TARGET",u=t.REMOVE_SOURCE="dnd-core/REMOVE_SOURCE",l=t.REMOVE_TARGET="dnd-core/REMOVE_TARGET"},function(e,t){"use strict";t.__esModule=!0;t.PUSH="PUSH",t.REPLACE="REPLACE",t.POP="POP"},function(e,t){"use strict";t.__esModule=!0;t.addEventListener=function(e,t,n){return e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)},t.removeEventListener=function(e,t,n){return e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent("on"+t,n)},t.supportsHistory=function(){var e=window.navigator.userAgent;return(e.indexOf("Android 2.")===-1&&e.indexOf("Android 4.0")===-1||e.indexOf("Mobile Safari")===-1||e.indexOf("Chrome")!==-1||e.indexOf("Windows Phone")!==-1)&&(window.history&&"pushState"in window.history)},t.supportsGoWithoutReloadUsingHash=function(){return window.navigator.userAgent.indexOf("Firefox")===-1},t.supportsPopstateOnHashchange=function(){return window.navigator.userAgent.indexOf("Trident")===-1},t.isExtraneousPopstateEvent=function(e){return void 0===e.state&&navigator.userAgent.indexOf("CriOS")===-1}},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var o=n(919),i=n(920),a=n(921),s=n(922),u=n(923);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=s,r.prototype.set=u,e.exports=r},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new o;++t<n;)this.add(e[t])}var o=n(266),i=n(936),a=n(937);r.prototype.add=r.prototype.push=i,r.prototype.has=a,e.exports=r},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}e.exports=n},function(e,t,n){function r(e,t){for(var n=e.length;n--;)if(o(e[n][0],t))return n;return-1}var o=n(146);e.exports=r},function(e,t){function n(e,t){return e.has(t)}e.exports=n},function(e,t,n){function r(e,t){var n=e.__data__;return o(t)?n["string"==typeof t?"string":"hash"]:n.map}var o=n(917);e.exports=r},function(e,t,n){var r=n(97),o=r(Object,"create");e.exports=o},function(e,t,n){function r(e){if("string"==typeof e||o(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}var o=n(278),i=1/0;e.exports=r},function(e,t){function n(e){return e}e.exports=n},function(e,t,n){function r(e){return null!=e&&i(e.length)&&!o(e)}var o=n(413),i=n(277);e.exports=r},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e){return new s.default(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.getEmptyImage=t.NativeTypes=void 0,t.default=i;var a=n(976),s=o(a),u=n(980),l=o(u),c=n(281),d=r(c);t.NativeTypes=d,t.getEmptyImage=l.default},function(e,t,n){"use strict";function r(e,t){}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";function r(e){return"topMouseUp"===e||"topTouchEnd"===e||"topTouchCancel"===e}function o(e){return"topMouseMove"===e||"topTouchMove"===e}function i(e){return"topMouseDown"===e||"topTouchStart"===e}function a(e,t,n,r){var o=e.type||"unknown-event";e.currentTarget=g.getNodeFromInstance(r),t?m.invokeGuardedCallbackWithCatch(o,n,e):m.invokeGuardedCallback(o,n,e),e.currentTarget=null}function s(e,t){var n=e._dispatchListeners,r=e._dispatchInstances;if(Array.isArray(n))for(var o=0;o<n.length&&!e.isPropagationStopped();o++)a(e,t,n[o],r[o]);else n&&a(e,t,n,r);e._dispatchListeners=null,e._dispatchInstances=null}function u(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t)){for(var r=0;r<t.length&&!e.isPropagationStopped();r++)if(t[r](e,n[r]))return n[r]}else if(t&&t(e,n))return n;return null}function l(e){var t=u(e);return e._dispatchInstances=null,e._dispatchListeners=null,t}function c(e){var t=e._dispatchListeners,n=e._dispatchInstances;Array.isArray(t)?h("103"):void 0,e.currentTarget=t?g.getNodeFromInstance(n):null;var r=t?t(e):null;return e.currentTarget=null,e._dispatchListeners=null,e._dispatchInstances=null,r}function d(e){return!!e._dispatchListeners}var f,p,h=n(16),m=n(289),v=(n(11),n(14),{injectComponentTree:function(e){f=e},injectTreeTraversal:function(e){p=e}}),g={isEndish:r,isMoveish:o,isStartish:i,executeDirectDispatch:c,executeDispatchesInOrder:s,executeDispatchesInOrderStopAtTrue:l,hasDispatches:d,getInstanceFromNode:function(e){return f.getInstanceFromNode(e)},getNodeFromInstance:function(e){return f.getNodeFromInstance(e)},isAncestor:function(e,t){return p.isAncestor(e,t)},getLowestCommonAncestor:function(e,t){return p.getLowestCommonAncestor(e,t)},getParentInstance:function(e){return p.getParentInstance(e)},traverseTwoPhase:function(e,t,n){return p.traverseTwoPhase(e,t,n)},traverseEnterLeave:function(e,t,n,r,o){return p.traverseEnterLeave(e,t,n,r,o)},injection:v};e.exports=g},function(e,t,n){"use strict";function r(e){return Object.prototype.hasOwnProperty.call(e,m)||(e[m]=p++,d[e[m]]={}),d[e[m]]}var o,i=n(21),a=n(285),s=n(1028),u=n(291),l=n(1061),c=n(296),d={},f=!1,p=0,h={topAbort:"abort",topAnimationEnd:l("animationend")||"animationend",topAnimationIteration:l("animationiteration")||"animationiteration",topAnimationStart:l("animationstart")||"animationstart",topBlur:"blur",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topChange:"change",topClick:"click",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topScroll:"scroll",topSeeked:"seeked",topSeeking:"seeking",topSelectionChange:"selectionchange",topStalled:"stalled",topSuspend:"suspend",topTextInput:"textInput",topTimeUpdate:"timeupdate",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topTransitionEnd:l("transitionend")||"transitionend",topVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"},m="_reactListenersID"+String(Math.random()).slice(2),v=i({},s,{ReactEventListener:null,injection:{injectReactEventListener:function(e){e.setHandleTopLevel(v.handleTopLevel),v.ReactEventListener=e}},setEnabled:function(e){v.ReactEventListener&&v.ReactEventListener.setEnabled(e)},isEnabled:function(){return!(!v.ReactEventListener||!v.ReactEventListener.isEnabled())},listenTo:function(e,t){for(var n=t,o=r(n),i=a.registrationNameDependencies[e],s=0;s<i.length;s++){var u=i[s];o.hasOwnProperty(u)&&o[u]||("topWheel"===u?c("wheel")?v.ReactEventListener.trapBubbledEvent("topWheel","wheel",n):c("mousewheel")?v.ReactEventListener.trapBubbledEvent("topWheel","mousewheel",n):v.ReactEventListener.trapBubbledEvent("topWheel","DOMMouseScroll",n):"topScroll"===u?c("scroll",!0)?v.ReactEventListener.trapCapturedEvent("topScroll","scroll",n):v.ReactEventListener.trapBubbledEvent("topScroll","scroll",v.ReactEventListener.WINDOW_HANDLE):"topFocus"===u||"topBlur"===u?(c("focus",!0)?(v.ReactEventListener.trapCapturedEvent("topFocus","focus",n),v.ReactEventListener.trapCapturedEvent("topBlur","blur",n)):c("focusin")&&(v.ReactEventListener.trapBubbledEvent("topFocus","focusin",n),v.ReactEventListener.trapBubbledEvent("topBlur","focusout",n)),o.topBlur=!0,o.topFocus=!0):h.hasOwnProperty(u)&&v.ReactEventListener.trapBubbledEvent(u,h[u],n),o[u]=!0)}},trapBubbledEvent:function(e,t,n){return v.ReactEventListener.trapBubbledEvent(e,t,n)},trapCapturedEvent:function(e,t,n){return v.ReactEventListener.trapCapturedEvent(e,t,n)},supportsEventPageXY:function(){if(!document.createEvent)return!1;var e=document.createEvent("MouseEvent");return null!=e&&"pageX"in e},ensureScrollValueMonitoring:function(){if(void 0===o&&(o=v.supportsEventPageXY()),!o&&!f){var e=u.refreshScrollValues;v.ReactEventListener.monitorScrollValue(e),f=!0}}});e.exports=v},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(121),i=n(291),a=n(294),s={screenX:null,screenY:null,clientX:null,clientY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:a,button:function(e){var t=e.button;return"which"in e?t:2===t?2:4===t?1:0},buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},pageX:function(e){return"pageX"in e?e.pageX:e.clientX+i.currentScrollLeft},pageY:function(e){return"pageY"in e?e.pageY:e.clientY+i.currentScrollTop}};o.augmentClass(r,s),e.exports=r},function(e,t,n){"use strict";var r=n(16),o=(n(11),{}),i={reinitializeTransaction:function(){this.transactionWrappers=this.getTransactionWrappers(),this.wrapperInitData?this.wrapperInitData.length=0:this.wrapperInitData=[],this._isInTransaction=!1},_isInTransaction:!1,getTransactionWrappers:null,isInTransaction:function(){return!!this._isInTransaction},perform:function(e,t,n,o,i,a,s,u){this.isInTransaction()?r("27"):void 0;var l,c;try{this._isInTransaction=!0,l=!0,this.initializeAll(0),c=e.call(t,n,o,i,a,s,u),l=!1}finally{try{if(l)try{this.closeAll(0)}catch(e){}else this.closeAll(0)}finally{this._isInTransaction=!1}}return c},initializeAll:function(e){for(var t=this.transactionWrappers,n=e;n<t.length;n++){var r=t[n];try{this.wrapperInitData[n]=o,this.wrapperInitData[n]=r.initialize?r.initialize.call(this):null}finally{if(this.wrapperInitData[n]===o)try{this.initializeAll(n+1)}catch(e){}}}},closeAll:function(e){this.isInTransaction()?void 0:r("28");for(var t=this.transactionWrappers,n=e;n<t.length;n++){var i,a=t[n],s=this.wrapperInitData[n];try{i=!0,s!==o&&a.close&&a.close.call(this,s),i=!1}finally{if(i)try{this.closeAll(n+1)}catch(e){}}}this.wrapperInitData.length=0}};e.exports=i},function(e,t){"use strict";function n(e){var t=""+e,n=o.exec(t);if(!n)return t;var r,i="",a=0,s=0;for(a=n.index;a<t.length;a++){switch(t.charCodeAt(a)){case 34:r="&quot;";break;case 38:r="&amp;";break;case 39:r="&#x27;";break;case 60:r="&lt;";break;case 62:r="&gt;";break;default:continue}s!==a&&(i+=t.substring(s,a)),s=a+1,i+=r}return s!==a?i+t.substring(s,a):i}function r(e){return"boolean"==typeof e||"number"==typeof e?""+e:n(e)}var o=/["'&<>]/;e.exports=r},function(e,t,n){"use strict";var r,o=n(36),i=n(284),a=/^[ \r\n\t\f]/,s=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,u=n(292),l=u(function(e,t){if(e.namespaceURI!==i.svg||"innerHTML"in e)e.innerHTML=t;else{r=r||document.createElement("div"),r.innerHTML="<svg>"+t+"</svg>";for(var n=r.firstChild;n.firstChild;)e.appendChild(n.firstChild)}});if(o.canUseDOM){var c=document.createElement("div");c.innerHTML=" ",""===c.innerHTML&&(l=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),a.test(t)||"<"===t[0]&&s.test(t)){e.innerHTML=String.fromCharCode(65279)+t;var n=e.firstChild;1===n.data.length?e.removeChild(n):n.deleteData(0,1)}else e.innerHTML=t}),c=null}e.exports=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(473);Object.defineProperty(t,"instrument",{enumerable:!0,get:function(){return r(o).default}}),Object.defineProperty(t,"ActionCreators",{enumerable:!0,get:function(){return o.ActionCreators}}),Object.defineProperty(t,"ActionTypes",{enumerable:!0,get:function(){return o.ActionTypes}});var i=n(1135);Object.defineProperty(t,"persistState",{enumerable:!0,get:function(){return r(i).default}});var a=n(1134);Object.defineProperty(t,"createDevTools",{enumerable:!0,get:function(){return r(a).default}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(480),u=r(s),l=n(7),c=r(l),d=n(312),f=r(d),p=n(1173),h=r(p),m=function(e){function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o(this,t),r.tracks=n.textTracks(),i(this,e.call(this,n,r))}return a(t,e),t.prototype.createItems=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];e.push(new h.default(this.player_,{kind:this.kind_})),this.hideThreshold_+=1;var t=this.player_.textTracks();if(!t)return e;for(var n=0;n<t.length;n++){var r=t[n];r.kind===this.kind_&&e.push(new f.default(this.player_,{track:r,selectable:!0}))}return e},t}(u.default);c.default.registerComponent("TextTrackButton",m),t.default=m},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.__esModule=!0;var o=n(81),i=r(o),a=function(){};a.prototype.allowedEvents_={},a.prototype.on=function(e,t){var n=this.addEventListener;this.addEventListener=function(){},i.on(this,e,t),this.addEventListener=n},a.prototype.addEventListener=a.prototype.on,a.prototype.off=function(e,t){i.off(this,e,t)},a.prototype.removeEventListener=a.prototype.off,a.prototype.one=function(e,t){var n=this.addEventListener;this.addEventListener=function(){},i.one(this,e,t),this.addEventListener=n},a.prototype.trigger=function(e){var t=e.type||e;"string"==typeof e&&(e={type:t}),e=i.fixEvent(e),this.allowedEvents_[t]&&this["on"+t]&&this["on"+t](e),i.trigger(this,e)},a.prototype.dispatchEvent=a.prototype.trigger,t.default=a},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(152),u=r(s),l=n(7),c=r(l),d=n(33),f=function(e){function t(n,r){o(this,t);var a=i(this,e.call(this,n,r));return a.selectable=r.selectable,a.selected(r.selected),a.selectable?a.el_.setAttribute("role","menuitemcheckbox"):a.el_.setAttribute("role","menuitem"),a}return a(t,e),t.prototype.createEl=function(t,n,r){return this.nonIconControl=!0,e.prototype.createEl.call(this,"li",(0,d.assign)({className:"vjs-menu-item",innerHTML:this.localize(this.options_.label),tabIndex:-1},n),r)},t.prototype.handleClick=function(e){this.selected(!0)},t.prototype.selected=function(e){this.selectable&&(e?(this.addClass("vjs-selected"),this.el_.setAttribute("aria-checked","true"),this.controlText(", selected")):(this.removeClass("vjs-selected"),this.el_.setAttribute("aria-checked","false"),this.controlText(" ")))},t}(u.default);c.default.registerComponent("MenuItem",f),t.default=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.isCrossOrigin=t.getFileExtension=t.getAbsoluteURL=t.parseUrl=void 0;var o=n(26),i=r(o),a=n(29),s=r(a),u=t.parseUrl=function(e){var t=["protocol","hostname","port","pathname","search","hash","host"],n=i.default.createElement("a");n.href=e;var r=""===n.host&&"file:"!==n.protocol,o=void 0;r&&(o=i.default.createElement("div"),o.innerHTML='<a href="'+e+'"></a>',n=o.firstChild,o.setAttribute("style","display:none; position:absolute;"),i.default.body.appendChild(o));for(var a={},s=0;s<t.length;s++)a[t[s]]=n[t[s]];return"http:"===a.protocol&&(a.host=a.host.replace(/:80$/,"")),"https:"===a.protocol&&(a.host=a.host.replace(/:443$/,"")),r&&i.default.body.removeChild(o),a};t.getAbsoluteURL=function(e){if(!e.match(/^https?:\/\//)){var t=i.default.createElement("div");t.innerHTML='<a href="'+e+'">x</a>',e=t.firstChild.href}return e},t.getFileExtension=function(e){if("string"==typeof e){var t=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/i,n=t.exec(e);if(n)return n.pop().toLowerCase()}return""},t.isCrossOrigin=function(e){var t=s.default.location,n=u(e),r=":"===n.protocol?t.protocol:n.protocol,o=r+n.host!==t.protocol+t.host;return o}},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children=[],e.webpackPolyfill=1),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(462);t.default=r.hashHistory},,function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={GET:"get",POST:"post",PUT:"put",DEL:"delete",TIMEOUT:2e4}},[1498,137,34],50,[1544,64,615,222,226,221,343],[1582,228],function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.initialOffset,n=e.currentOffset,r=e.currentClientOffset;if(!t||!n)return{display:"none"};var o=void 0,i=void 0;e.itemType===C.default.CLIX_DROPPABLE?(o=r.x-e.item.width/2,i=r.y-e.item.height/2):(o=n.x,i=n.y);var a="translate("+o+"px, "+i+"px)";return{transform:a,WebkitTransform:a}}function i(e){return{item:e.getItem(),itemType:e.getItemType(),initialOffset:e.getInitialSourceClientOffset(),currentOffset:e.getSourceClientOffset(),currentClientOffset:e.getClientOffset(),isDragging:e.isDragging()}}Object.defineProperty(t,"__esModule",{value:!0}),t.CustomDragLayer=void 0;var a=n(9),s=r(a),u=n(3),l=r(u),c=n(5),d=r(c),f=n(8),p=r(f),h=n(6),m=r(h),v=n(1),g=r(v),y=n(99),b=n(4),_=r(b),w=n(104),C=r(w),x=n(161),E=r(x),T=n(327),k=r(T),S={position:"fixed",pointerEvents:"none",zIndex:100,left:0,top:0,width:"100%",height:"100%"},M=g.default.createElement("div",null),O=t.CustomDragLayer=function(e){function t(){return(0,l.default)(this,t),(0,p.default)(this,(t.__proto__||(0,s.default)(t)).apply(this,arguments))}return(0,m.default)(t,e),(0,d.default)(t,[{key:"renderItem",value:function(e,t){switch(e){case C.default.WORD_GROUP:return _.default.map(t.words,function(e){return g.default.createElement(E.default,{key:e.id,material:e.material,className:t.wordClassName})});case C.default.FILL_BLANK_WORD:case C.default.WORD:return g.default.createElement(E.default,{key:t.itemId,material:t.material,className:t.wordClassName});case C.default.CLIX_DROPPABLE:return g.default.createElement(k.default,{key:t.droppableId,className:"c-droppable-item",text:t.droppableText,droppableId:t.droppableId});default:return M}}},{key:"render",value:function(){var e=this.props,t=e.item,n=e.itemType,r=e.isDragging;return r?g.default.createElement("div",{style:S},g.default.createElement("div",{style:o(this.props)},this.renderItem(n,t))):null}}]),t}(g.default.Component);t.default=(0,y.DragLayer)(i)(O)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(9),a=o(i),s=n(3),u=o(s),l=n(5),c=o(l),d=n(8),f=o(d),p=n(6),h=o(p),m=n(1),v=o(m),g=n(103),y=(o(g),n(56)),b=(r(y),function(e){function t(){return(0,u.default)(this,t),(0,f.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,h.default)(t,e),(0,c.default)(t,[{key:"allowDrop",value:function(e){e.preventDefault()}},{key:"drop",value:function(e){e.preventDefault();var t=e.dataTransfer.getData("text");document.getElementById(t).removeAttribute("style"),e.target.appendChild(document.getElementById(t))}},{key:"drag",value:function(e){e.dataTransfer.setData("text",e.target.id);var t=e.target.getBoundingClientRect();e.currentTarget.setAttribute("offsetX",(event.clientX-t.left).toString()),e.currentTarget.setAttribute("offsetY",(event.clientY-t.top).toString())}},{key:"render",value:function(){var e=this,t={float:"left",margin:"10px",padding:"10px",border:"1px solid #aaaaaa",display:"inline",zIndex:"2"},n="zone"+this.props.item.id;return v.default.createElement("div",{className:"dropZone",id:n,onDrop:function(t){e.drop(t)},onDragOver:function(t){document.getElementById(n).hasChildNodes()?t.stopPropagation():e.allowDrop(t)},style:t},v.default.createElement("div",{className:"draggable",draggable:"true",onDragOver:function(e){e.stopPropagation()},onDrop:function(e){e.stopPropagation()},onDragStart:function(t){e.drag(t)},id:this.props.item.id+this._reactInternalInstance._rootNodeID,width:"88",height:"31"},this.props.item.label))}}]),t}(v.default.Component));t.default=b},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return{connectDragSource:e.dragSource(),isDragging:t.isDragging(),connectDragPreview:e.dragPreview()}}Object.defineProperty(t,"__esModule",{value:!0}),t.FillTheBlankDraggableWord=t.DraggableWord=void 0;var i=n(9),a=r(i),s=n(3),u=r(s),l=n(5),c=r(l),d=n(8),f=r(d),p=n(6),h=r(p),m=n(1),v=r(m),g=n(99),y=n(190),b=n(161),_=r(b),w=n(104),C=r(w),x={beginDrag:function(e){return{itemId:e.id,material:e.material,wordClassName:e.wordClassName}}},E=t.DraggableWord=function(e){function t(){return(0,u.default)(this,t),(0,f.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,h.default)(t,e),(0,c.default)(t,[{key:"componentDidMount",value:function(){this.props.connectDragPreview((0,y.getEmptyImage)())}},{key:"render",value:function(){var e=this.props,t=e.connectDragSource,n=e.isDragging;return t(v.default.createElement("div",{style:{display:"inline-block"}},v.default.createElement(_.default,{hide:this.props.hide||n,material:this.props.material,className:this.props.wordClassName})))}}]),t}(v.default.Component);t.default=(0,g.DragSource)(C.default.WORD,x,o)(E);t.FillTheBlankDraggableWord=(0,g.DragSource)(C.default.FILL_BLANK_WORD,x,o)(E)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(99),i=n(190),a=r(i);t.default=(0,o.DragDropContext)(a.default)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return{type:d.REFRESH_JWT,method:u.default.GET,url:"api/jwts/"+e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Constants=void 0,t.refreshJwt=o;var i=n(55),a=r(i),s=n(206),u=r(s),l=[],c=["REFRESH_JWT"],d=t.Constants=(0,a.default)(l,c)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return s.default.findKey(u.languageTypeId,function(t){return e===t})||null}function i(e){return s.default.findKey(u.scriptTypeId,function(t){return e===t})||null}Object.defineProperty(t,"__esModule",{value:!0}),t.languages=void 0,t.getLanguage=o,t.getScriptTypeId=i;var a=n(4),s=r(a),u=t.languages={languageTypeId:{english:"639-2%3AENG%40ISO",hindi:"639-2%3AHIN%40ISO",telugu:"639-2%3ATEL%40ISO"},formatTypeId:"TextFormats%3APLAIN%40okapia.net",scriptTypeId:{english:"15924%3ALATN%40ISO",hindi:"15924%3ADEVA%40ISO",telugu:"15924%3ATELU%40ISO"}};t.default=u},function(e,t,n){e.exports={default:n(590),__esModule:!0}},function(e,t,n){e.exports={default:n(602),__esModule:!0}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(338),i=r(o),a=n(543),s=r(a),u="function"==typeof s.default&&"symbol"==typeof i.default?function(e){return typeof e;
-}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":typeof e};t.default="function"==typeof s.default&&"symbol"===u(i.default)?function(e){return"undefined"==typeof e?"undefined":u(e)}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":"undefined"==typeof e?"undefined":u(e)}},38,[1509,66,45],function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},[1539,164,66,86,57,102],[1550,163,139,75,229,86,344,65],173,[1569,227,164],[1570,45],78,[1586,66],[1589,45,23,162,231,57],[1591,34],[1595,207,34,106,23],function(e,t,n){"use strict";var r=n(31),o=n(94),i=n(30);e.exports=function(e){for(var t=r(this),n=i(t.length),a=arguments.length,s=o(a>1?arguments[1]:void 0,n),u=a>2?arguments[2]:void 0,l=void 0===u?n:o(u,n);l>s;)t[s++]=e;return t}},[1503,25,77],[1509,18,13],222,function(e,t,n){var r=n(20)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(e){}}return!0}},[1516,13],function(e,t,n){var r=n(18),o=n(247).set;e.exports=function(e,t,n){var i,a=t.constructor;return a!==n&&"function"==typeof a&&(i=a.prototype)!==n.prototype&&r(i)&&o&&o(e,i),e}},[1523,110,20],[1525,49],[1531,89,77,111,39,20],[1533,88,2,40,39,35,110,242,111,47,20],function(e,t){var n=Math.expm1;e.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||n(-2e-17)!=-2e-17?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:n},function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},[1540,13,254,49],[1565,18,12,68,46],[1569,174,95],[1573,12,38,20],[1574,78,50],function(e,t,n){var r=n(170),o=n(50);e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(e))}},function(e,t,n){"use strict";var r=n(78),o=n(50);e.exports=function(e){var t=String(o(this)),n="",i=r(e);if(i<0||i==1/0)throw RangeError("Count can't be negative");for(;i>0;(i>>>=1)&&(t+=t))1&i&&(n+=t);return n}},function(e,t){e.exports="\t\n\v\f\r   ᠎             　\u2028\u2029\ufeff"},[1576,68,169,238,235,13,49],function(e,t,n){"use strict";var r=n(13),o=n(24),i=n(88),a=n(175),s=n(39),u=n(92),l=n(15),c=n(87),d=n(78),f=n(30),p=n(90).f,h=n(25).f,m=n(233),v=n(111),g="ArrayBuffer",y="DataView",b="prototype",_="Wrong length!",w="Wrong index!",C=r[g],x=r[y],E=r.Math,T=r.RangeError,k=r.Infinity,S=C,M=E.abs,O=E.pow,A=E.floor,N=E.log,I=E.LN2,P="buffer",D="byteLength",R="byteOffset",j=o?"_b":P,L=o?"_l":D,B=o?"_o":R,F=function(e,t,n){var r,o,i,a=Array(n),s=8*n-t-1,u=(1<<s)-1,l=u>>1,c=23===t?O(2,-24)-O(2,-77):0,d=0,f=e<0||0===e&&1/e<0?1:0;for(e=M(e),e!=e||e===k?(o=e!=e?1:0,r=u):(r=A(N(e)/I),e*(i=O(2,-r))<1&&(r--,i*=2),e+=r+l>=1?c/i:c*O(2,1-l),e*i>=2&&(r++,i/=2),r+l>=u?(o=0,r=u):r+l>=1?(o=(e*i-1)*O(2,t),r+=l):(o=e*O(2,l-1)*O(2,t),r=0));t>=8;a[d++]=255&o,o/=256,t-=8);for(r=r<<t|o,s+=t;s>0;a[d++]=255&r,r/=256,s-=8);return a[--d]|=128*f,a},U=function(e,t,n){var r,o=8*n-t-1,i=(1<<o)-1,a=i>>1,s=o-7,u=n-1,l=e[u--],c=127&l;for(l>>=7;s>0;c=256*c+e[u],u--,s-=8);for(r=c&(1<<-s)-1,c>>=-s,s+=t;s>0;r=256*r+e[u],u--,s-=8);if(0===c)c=1-a;else{if(c===i)return r?NaN:l?-k:k;r+=O(2,t),c-=a}return(l?-1:1)*r*O(2,c-t)},H=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},z=function(e){return[255&e]},q=function(e){return[255&e,e>>8&255]},W=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},V=function(e){return F(e,52,8)},G=function(e){return F(e,23,4)},Y=function(e,t,n){h(e[b],t,{get:function(){return this[n]}})},$=function(e,t,n,r){var o=+n,i=d(o);if(o!=i||i<0||i+t>e[L])throw T(w);var a=e[j]._b,s=i+e[B],u=a.slice(s,s+t);return r?u:u.reverse()},K=function(e,t,n,r,o,i){var a=+n,s=d(a);if(a!=s||s<0||s+t>e[L])throw T(w);for(var u=e[j]._b,l=s+e[B],c=r(+o),f=0;f<t;f++)u[l+f]=c[i?f:t-f-1]},X=function(e,t){c(e,C,g);var n=+t,r=f(n);if(n!=r)throw T(_);return r};if(a.ABV){if(!l(function(){new C})||!l(function(){new C(.5)})){C=function(e){return new S(X(this,e))};for(var Q,J=C[b]=S[b],Z=p(S),ee=0;Z.length>ee;)(Q=Z[ee++])in C||s(C,Q,S[Q]);i||(J.constructor=C)}var te=new x(new C(2)),ne=x[b].setInt8;te.setInt8(0,2147483648),te.setInt8(1,2147483649),!te.getInt8(0)&&te.getInt8(1)||u(x[b],{setInt8:function(e,t){ne.call(this,e,t<<24>>24)},setUint8:function(e,t){ne.call(this,e,t<<24>>24)}},!0)}else C=function(e){var t=X(this,e);this._b=m.call(Array(t),0),this[L]=t},x=function(e,t,n){c(this,x,y),c(e,C,y);var r=e[L],o=d(t);if(o<0||o>r)throw T("Wrong offset!");if(n=void 0===n?r-o:f(n),o+n>r)throw T(_);this[j]=e,this[B]=o,this[L]=n},o&&(Y(C,D,"_l"),Y(x,P,"_b"),Y(x,D,"_l"),Y(x,R,"_o")),u(x[b],{getInt8:function(e){return $(this,1,e)[0]<<24>>24},getUint8:function(e){return $(this,1,e)[0]},getInt16:function(e){var t=$(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=$(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return H($(this,4,e,arguments[1]))},getUint32:function(e){return H($(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return U($(this,4,e,arguments[1]),23,4)},getFloat64:function(e){return U($(this,8,e,arguments[1]),52,8)},setInt8:function(e,t){K(this,1,e,z,t)},setUint8:function(e,t){K(this,1,e,z,t)},setInt16:function(e,t){K(this,2,e,q,t,arguments[2])},setUint16:function(e,t){K(this,2,e,q,t,arguments[2])},setInt32:function(e,t){K(this,4,e,W,t,arguments[2])},setUint32:function(e,t){K(this,4,e,W,t,arguments[2])},setFloat32:function(e,t){K(this,4,e,G,t,arguments[2])},setFloat64:function(e,t){K(this,8,e,V,t,arguments[2])}});v(C,g),v(x,y),s(x[b],a.VIEW,!0),t[g]=C,t[y]=x},[1589,13,67,88,378,25],[1595,140,20,110,67],[1599,108,366,110,42,243],function(e,t){"use strict";function n(e){return Boolean(e&&"function"==typeof e.dispose)}t.__esModule=!0,t.default=n,e.exports=t.default},function(e,t){"use strict";function n(e,t){return e===t?0!==e||0!==t||1/e===1/t:e!==e&&t!==t}function r(e,t){if(n(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),i=Object.keys(t);if(r.length!==i.length)return!1;for(var a=0;a<r.length;a++)if(!o.call(t,r[a])||!n(e[r[a]],t[r[a]]))return!1;return!0}var o=Object.prototype.hasOwnProperty;e.exports=r},function(e,t,n){"use strict";t.__esModule=!0,t.go=t.replaceLocation=t.pushLocation=t.startListener=t.getUserConfirmation=t.getCurrentLocation=void 0;var r=n(113),o=n(179),i=n(389),a=n(79),s=n(262),u="popstate",l="hashchange",c=s.canUseDOM&&!(0,o.supportsPopstateOnHashchange)(),d=function(e){var t=e&&e.key;return(0,r.createLocation)({pathname:window.location.pathname,search:window.location.search,hash:window.location.hash,state:t?(0,i.readState)(t):void 0},void 0,t)},f=t.getCurrentLocation=function(){var e=void 0;try{e=window.history.state||{}}catch(t){e={}}return d(e)},p=(t.getUserConfirmation=function(e,t){return t(window.confirm(e))},t.startListener=function(e){var t=function(t){(0,o.isExtraneousPopstateEvent)(t)||e(d(t.state))};(0,o.addEventListener)(window,u,t);var n=function(){return e(f())};return c&&(0,o.addEventListener)(window,l,n),function(){(0,o.removeEventListener)(window,u,t),c&&(0,o.removeEventListener)(window,l,n)}},function(e,t){var n=e.state,r=e.key;void 0!==n&&(0,i.saveState)(r,n),t({key:r},(0,a.createPath)(e))});t.pushLocation=function(e){return p(e,function(e,t){return window.history.pushState(e,null,t)})},t.replaceLocation=function(e){return p(e,function(e,t){return window.history.replaceState(e,null,t)})},t.go=function(e){e&&window.history.go(e)}},function(e,t){"use strict";t.__esModule=!0;t.canUseDOM=!("undefined"==typeof window||!window.document||!window.document.createElement)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(850),i=n(79),a=n(264),s=r(a),u=n(178),l=n(113),c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.getCurrentLocation,n=e.getUserConfirmation,r=e.pushLocation,a=e.replaceLocation,c=e.go,d=e.keyLength,f=void 0,p=void 0,h=[],m=[],v=[],g=function(){return p&&p.action===u.POP?v.indexOf(p.key):f?v.indexOf(f.key):-1},y=function(e){var t=g();f=e,f.action===u.PUSH?v=[].concat(v.slice(0,t+1),[f.key]):f.action===u.REPLACE&&(v[t]=f.key),m.forEach(function(e){return e(f)})},b=function(e){return h.push(e),function(){return h=h.filter(function(t){return t!==e})}},_=function(e){return m.push(e),function(){return m=m.filter(function(t){return t!==e})}},w=function(e,t){(0,o.loopAsync)(h.length,function(t,n,r){(0,s.default)(h[t],e,function(e){return null!=e?r(e):n()})},function(e){n&&"string"==typeof e?n(e,function(e){return t(e!==!1)}):t(e!==!1)})},C=function(e){f&&(0,l.locationsAreEqual)(f,e)||p&&(0,l.locationsAreEqual)(p,e)||(p=e,w(e,function(t){if(p===e)if(p=null,t){if(e.action===u.PUSH){var n=(0,i.createPath)(f),o=(0,i.createPath)(e);o===n&&(0,l.statesAreEqual)(f.state,e.state)&&(e.action=u.REPLACE)}e.action===u.POP?y(e):e.action===u.PUSH?r(e)!==!1&&y(e):e.action===u.REPLACE&&a(e)!==!1&&y(e)}else if(f&&e.action===u.POP){var s=v.indexOf(f.key),d=v.indexOf(e.key);s!==-1&&d!==-1&&c(s-d)}}))},x=function(e){return C(O(e,u.PUSH))},E=function(e){return C(O(e,u.REPLACE))},T=function(){return c(-1)},k=function(){return c(1)},S=function(){return Math.random().toString(36).substr(2,d||6)},M=function(e){return(0,i.createPath)(e)},O=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:S();return(0,l.createLocation)(e,t,n)};return{getCurrentLocation:t,listenBefore:b,listen:_,transitionTo:C,push:x,replace:E,go:c,goBack:T,goForward:k,createKey:S,createPath:i.createPath,createHref:M,createLocation:O}};t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(83),i=(r(o),function(e,t,n){var r=e(t,n);e.length<2&&n(r)});t.default=i},function(e,t,n){var r=n(97),o=n(71),i=r(o,"Map");e.exports=i},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var o=n(924),i=n(925),a=n(926),s=n(927),u=n(928);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=s,r.prototype.set=u,e.exports=r},function(e,t,n){function r(e,t){var n=null==e?0:e.length;return!!n&&o(e,t,0)>-1}var o=n(874);e.exports=r},function(e,t){function n(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}e.exports=n},function(e,t,n){function r(e,t,n){"__proto__"==t&&o?o(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var o=n(404);e.exports=r},function(e,t,n){function r(e,t,n,r){var d=-1,f=i,p=!0,h=e.length,m=[],v=t.length;if(!h)return m;n&&(t=s(t,u(n))),r?(f=a,p=!1):t.length>=c&&(f=l,p=!1,t=new o(t));e:for(;++d<h;){var g=e[d],y=null==n?g:n(g);if(g=r||0!==g?g:0,p&&y===y){for(var b=v;b--;)if(t[b]===y)continue e;m.push(g)}else f(t,y,r)||m.push(g)}return m}var o=n(181),i=n(267),a=n(268),s=n(182),u=n(272),l=n(184),c=200;e.exports=r},function(e,t,n){function r(e,t,n,a,s){var u=-1,l=e.length;for(n||(n=i),s||(s=[]);++u<l;){var c=e[u];t>0&&n(c)?t>1?r(c,t-1,n,a,s):o(s,c):a||(s[s.length]=c)}return s}var o=n(399),i=n(915);e.exports=r},function(e,t){function n(e){return function(t){return e(t)}}e.exports=n},function(e,t){function n(e,t){return t=null==t?r:t,!!t&&("number"==typeof e||o.test(e))&&e>-1&&e%1==0&&e<t}var r=9007199254740991,o=/^(?:0|[1-9]\d*)$/;e.exports=n},function(e,t,n){function r(e,t){if(o(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!i(e))||(s.test(e)||!a.test(e)||null!=t&&e in Object(t))}var o=n(37),i=n(278),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;e.exports=r},function(e,t){function n(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}e.exports=n},function(e,t,n){var r=n(876),o=n(98),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=u},function(e,t){function n(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},function(e,t,n){function r(e){return"symbol"==typeof e||i(e)&&o(e)==a}var o=n(114),i=n(98),a="[object Symbol]";e.exports=r},function(e,t,n){function r(e){return a(e)?o(e):i(e)}var o=n(398),i=n(883),a=n(189);e.exports=r},function(e,t){function n(e,t,n){return Math.min(Math.max(e,t),n)}e.exports=n},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.FILE="__NATIVE_FILE__",t.URL="__NATIVE_URL__",t.TEXT="__NATIVE_TEXT__"},function(e,t){"use strict";function n(e,t){if(e===t)return!0;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=Object.prototype.hasOwnProperty,i=0;i<n.length;i+=1){if(!o.call(t,n[i])||e[n[i]]!==t[n[i]])return!1;var a=e[n[i]],s=t[n[i]];if(a!==s)return!1}return!0}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n},function(e,t,n){"use strict";function r(e,t){return Array.isArray(t)&&(t=t[1]),t?t.nextSibling:e.firstChild}function o(e,t,n){c.insertTreeBefore(e,t,n)}function i(e,t,n){Array.isArray(t)?s(e,t[0],t[1],n):m(e,t,n)}function a(e,t){if(Array.isArray(t)){var n=t[1];t=t[0],u(e,t,n),e.removeChild(n)}e.removeChild(t)}function s(e,t,n,r){for(var o=t;;){var i=o.nextSibling;if(m(e,o,r),o===n)break;o=i}}function u(e,t,n){for(;;){var r=t.nextSibling;if(r===n)break;e.removeChild(r)}}function l(e,t,n){var r=e.parentNode,o=e.nextSibling;o===t?n&&m(r,document.createTextNode(n),o):n?(h(o,n),u(r,o,t)):u(r,e,t)}var c=n(116),d=n(1004),f=(n(27),n(53),n(292)),p=n(197),h=n(446),m=f(function(e,t,n){e.insertBefore(t,n)}),v=d.dangerouslyReplaceNodeWithMarkup,g={dangerouslyReplaceNodeWithMarkup:v,replaceDelimitedText:l,processUpdates:function(e,t){for(var n=0;n<t.length;n++){var s=t[n];switch(s.type){case"INSERT_MARKUP":o(e,s.content,r(e,s.afterNode));break;case"MOVE_EXISTING":i(e,s.fromNode,r(e,s.afterNode));break;case"SET_MARKUP":p(e,s.content);break;case"TEXT_CONTENT":h(e,s.content);break;case"REMOVE_NODE":a(e,s.fromNode)}}}};e.exports=g},function(e,t){"use strict";var n={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};e.exports=n},function(e,t,n){"use strict";function r(){if(s)for(var e in u){var t=u[e],n=s.indexOf(e);if(n>-1?void 0:a("96",e),!l.plugins[n]){t.extractEvents?void 0:a("97",e),l.plugins[n]=t;var r=t.eventTypes;for(var i in r)o(r[i],t,i)?void 0:a("98",i,e)}}}function o(e,t,n){l.eventNameDispatchConfigs.hasOwnProperty(n)?a("99",n):void 0,l.eventNameDispatchConfigs[n]=e;var r=e.phasedRegistrationNames;if(r){for(var o in r)if(r.hasOwnProperty(o)){var s=r[o];i(s,t,n)}return!0}return!!e.registrationName&&(i(e.registrationName,t,n),!0)}function i(e,t,n){l.registrationNameModules[e]?a("100",e):void 0,l.registrationNameModules[e]=t,l.registrationNameDependencies[e]=t.eventTypes[n].dependencies}var a=n(16),s=(n(11),null),u={},l={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},possibleRegistrationNames:null,injectEventPluginOrder:function(e){s?a("101"):void 0,s=Array.prototype.slice.call(e),r()},injectEventPluginsByName:function(e){var t=!1;for(var n in e)if(e.hasOwnProperty(n)){var o=e[n];u.hasOwnProperty(n)&&u[n]===o||(u[n]?a("102",n):void 0,u[n]=o,t=!0)}t&&r()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return l.registrationNameModules[t.registrationName]||null;if(void 0!==t.phasedRegistrationNames){var n=t.phasedRegistrationNames;for(var r in n)if(n.hasOwnProperty(r)){var o=l.registrationNameModules[n[r]];if(o)return o}}return null},_resetEventPlugins:function(){s=null;for(var e in u)u.hasOwnProperty(e)&&delete u[e];l.plugins.length=0;var t=l.eventNameDispatchConfigs;for(var n in t)t.hasOwnProperty(n)&&delete t[n];var r=l.registrationNameModules;for(var o in r)r.hasOwnProperty(o)&&delete r[o]}};e.exports=l},function(e,t){"use strict";function n(e){var t=/[=:]/g,n={"=":"=0",":":"=2"},r=(""+e).replace(t,function(e){return n[e]});return"$"+r}function r(e){var t=/(=0|=2)/g,n={"=0":"=","=2":":"},r="."===e[0]&&"$"===e[1]?e.substring(2):e.substring(1);return(""+r).replace(t,function(e){return n[e]})}var o={escape:n,unescape:r};e.exports=o},function(e,t,n){"use strict";function r(e){null!=e.checkedLink&&null!=e.valueLink?s("87"):void 0}function o(e){r(e),null!=e.value||null!=e.onChange?s("88"):void 0}function i(e){r(e),null!=e.checked||null!=e.onChange?s("89"):void 0}function a(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""}var s=n(16),u=n(124),l=n(1034),c=(n(11),n(14),{button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0}),d={value:function(e,t,n){return!e[t]||c[e.type]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")},checked:function(e,t,n){return!e[t]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")},onChange:u.PropTypes.func},f={},p={checkPropTypes:function(e,t,n){for(var r in d){if(d.hasOwnProperty(r))var o=d[r](t,r,e,"prop",null,l);if(o instanceof Error&&!(o.message in f)){f[o.message]=!0;a(n)}}},getValue:function(e){return e.valueLink?(o(e),e.valueLink.value):e.value},getChecked:function(e){return e.checkedLink?(i(e),e.checkedLink.value):e.checked},executeOnChange:function(e,t){return e.valueLink?(o(e),e.valueLink.requestChange(t.target.value)):e.checkedLink?(i(e),e.checkedLink.requestChange(t.target.checked)):e.onChange?e.onChange.call(void 0,t):void 0}};e.exports=p},function(e,t,n){"use strict";var r=n(16),o=(n(11),!1),i={replaceNodeWithMarkup:null,processChildrenUpdates:null,injection:{injectEnvironment:function(e){o?r("104"):void 0,i.replaceNodeWithMarkup=e.replaceNodeWithMarkup,i.processChildrenUpdates=e.processChildrenUpdates,o=!0}}};e.exports=i},function(e,t,n){"use strict";function r(e,t,n){try{t(n)}catch(e){null===o&&(o=e)}}var o=null,i={invokeGuardedCallback:r,invokeGuardedCallbackWithCatch:r,rethrowCaughtError:function(){if(o){var e=o;throw o=null,e}}};e.exports=i},function(e,t,n){"use strict";function r(e){u.enqueueUpdate(e)}function o(e){var t=typeof e;if("object"!==t)return t;var n=e.constructor&&e.constructor.name||t,r=Object.keys(e);return r.length>0&&r.length<20?n+" (keys: "+r.join(", ")+")":n}function i(e,t){var n=s.get(e);if(!n){return null}return n}var a=n(16),s=(n(73),n(148)),u=(n(53),n(62)),l=(n(11),n(14),{isMounted:function(e){var t=s.get(e);return!!t&&!!t._renderedComponent},enqueueCallback:function(e,t,n){l.validateCallback(t,n);var o=i(e);return o?(o._pendingCallbacks?o._pendingCallbacks.push(t):o._pendingCallbacks=[t],void r(o)):null},enqueueCallbackInternal:function(e,t){e._pendingCallbacks?e._pendingCallbacks.push(t):e._pendingCallbacks=[t],r(e)},enqueueForceUpdate:function(e){var t=i(e,"forceUpdate");t&&(t._pendingForceUpdate=!0,r(t))},enqueueReplaceState:function(e,t){var n=i(e,"replaceState");n&&(n._pendingStateQueue=[t],n._pendingReplaceState=!0,r(n))},enqueueSetState:function(e,t){var n=i(e,"setState");if(n){var o=n._pendingStateQueue||(n._pendingStateQueue=[]);o.push(t),r(n)}},enqueueElementInternal:function(e,t,n){e._pendingElement=t,e._context=n,r(e)},validateCallback:function(e,t){e&&"function"!=typeof e?a("122",t,o(e)):void 0}});e.exports=l},function(e,t){"use strict";var n={currentScrollLeft:0,currentScrollTop:0,refreshScrollValues:function(e){n.currentScrollLeft=e.x,n.currentScrollTop=e.y}};e.exports=n},function(e,t){"use strict";var n=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e};e.exports=n},function(e,t){"use strict";function n(e){var t,n=e.keyCode;return"charCode"in e?(t=e.charCode,0===t&&13===n&&(t=13)):t=n,t>=32||13===t?t:0}e.exports=n},function(e,t){"use strict";function n(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var r=o[e];return!!r&&!!n[r]}function r(e){return n}var o={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};e.exports=r},function(e,t){"use strict";function n(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),3===t.nodeType?t.parentNode:t}e.exports=n},function(e,t,n){"use strict";/**
-	 * Checks if an event is supported in the current execution environment.
-	 *
-	 * NOTE: This will not work correctly for non-generic events such as `change`,
-	 * `reset`, `load`, `error`, and `select`.
-	 *
-	 * Borrows from Modernizr.
-	 *
-	 * @param {string} eventNameSuffix Event name, e.g. "click".
-	 * @param {?boolean} capture Check if the capture phase is supported.
-	 * @return {boolean} True if the event is supported.
-	 * @internal
-	 * @license Modernizr 3.0.0pre (Custom Build) | MIT
-	 */
-function r(e,t){if(!i.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var a=document.createElement("div");a.setAttribute(n,"return;"),r="function"==typeof a[n]}return!r&&o&&"wheel"===e&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var o,i=n(36);i.canUseDOM&&(o=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0),e.exports=r},function(e,t){"use strict";function n(e,t){var n=null===e||e===!1,r=null===t||t===!1;if(n||r)return n===r;var o=typeof e,i=typeof t;return"string"===o||"number"===o?"string"===i||"number"===i:"object"===i&&e.type===t.type&&e.key===t.key}e.exports=n},function(e,t,n){"use strict";var r=(n(21),n(52)),o=(n(14),r);e.exports=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r=e.nodeType,i=e.data,a=e.collectionLimit,s=e.circularCache,u=e.keyPath,l=e.postprocessValue,c=e.sortObjectKeys,d=[];return(0,x.default)(r,i,c,a,t,n).forEach(function(t){if(t.to)d.push(b.default.createElement(S.default,(0,g.default)({},e,{key:"ItemRange--"+t.from+"-"+t.to,from:t.from,to:t.to,renderChildNodes:o})));else{var n=t.key,r=t.value,i=s.indexOf(r)!==-1,c=b.default.createElement(T.default,(0,g.default)({},e,{postprocessValue:l,collectionLimit:a},{key:"Node--"+n,keyPath:[n].concat(u),value:l(r),circularCache:[].concat(s,[r]),isCircular:i,hideRoot:!1}));c!==!1&&d.push(c)}}),d}function i(e){var t=!(!e.shouldExpandNode||e.isCircular)&&e.shouldExpandNode(e.keyPath,e.data,e.level);return{expanded:t}}t.__esModule=!0,t.default=void 0;var a,s,u=n(105),l=r(u),c=n(3),d=r(c),f=n(8),p=r(f),h=n(6),m=r(h),v=n(10),g=r(v),y=n(1),b=r(y),_=n(448),w=r(_),C=n(1070),x=r(C),E=n(449),T=r(E),k=n(1064),S=r(k),M=(s=a=function(e){function t(n){(0,d.default)(this,t);var r=(0,p.default)(this,e.call(this,n));return r.handleClick=function(){return r.setState({expanded:!r.state.expanded})},r.state=i(n),r}return(0,m.default)(t,e),t.prototype.componentWillReceiveProps=function(e){var t=i(e);i(this.props).expanded!==t.expanded&&this.setState(t)},t.prototype.shouldComponentUpdate=function(e,t){var n=this;return!!(0,l.default)(e).find(function(t){return"circularCache"!==t&&("keyPath"===t?e[t].join("/")!==n.props[t].join("/"):e[t]!==n.props[t])})||t.expanded!==this.state.expanded},t.prototype.render=function(){var e=this.props,t=e.getItemString,n=e.nodeTypeIndicator,r=e.nodeType,i=e.data,a=e.hideRoot,s=e.createItemString,u=e.styling,l=e.collectionLimit,c=e.keyPath,d=e.labelRenderer,f=e.expandable,p=this.state.expanded,h=p||a&&0===this.props.level?o((0,g.default)({},this.props,{level:this.props.level+1})):null,m=b.default.createElement("span",u("nestedNodeItemType",p),n),v=t(r,i,m,s(i,l)),y=[c,r,p,f];return a?b.default.createElement("li",u.apply(void 0,["rootNode"].concat(y)),b.default.createElement("ul",u.apply(void 0,["rootNodeChildren"].concat(y)),h)):b.default.createElement("li",u.apply(void 0,["nestedNode"].concat(y)),f&&b.default.createElement(w.default,{styling:u,nodeType:r,expanded:p,onClick:this.handleClick}),b.default.createElement("label",(0,g.default)({},u.apply(void 0,[["label","nestedNodeLabel"]].concat(y)),{onClick:f&&this.handleClick}),d.apply(void 0,y)),b.default.createElement("span",(0,g.default)({},u.apply(void 0,["nestedNodeItemString"].concat(y)),{onClick:f&&this.handleClick}),v),b.default.createElement("ul",u.apply(void 0,["nestedNodeChildren"].concat(y)),h))},t}(b.default.Component),a.propTypes={getItemString:y.PropTypes.func.isRequired,nodeTypeIndicator:y.PropTypes.any,nodeType:y.PropTypes.string.isRequired,data:y.PropTypes.any,hideRoot:y.PropTypes.bool.isRequired,createItemString:y.PropTypes.func.isRequired,styling:y.PropTypes.func.isRequired,collectionLimit:y.PropTypes.number,keyPath:y.PropTypes.arrayOf(y.PropTypes.oneOfType([y.PropTypes.string,y.PropTypes.number])).isRequired,labelRenderer:y.PropTypes.func.isRequired,shouldExpandNode:y.PropTypes.func,level:y.PropTypes.number.isRequired,sortObjectKeys:y.PropTypes.oneOfType([y.PropTypes.func,y.PropTypes.bool]),isCircular:y.PropTypes.bool,expandable:y.PropTypes.bool},a.defaultProps={data:[],circularCache:[],level:0,expandable:!0},s);t.default=M},function(e,t){"use strict";function n(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e);try{throw new Error(e)}catch(e){}}t.__esModule=!0,t.default=n},function(e,t){"use strict";function n(e,t,n){function r(){return a=!0,s?void(l=[].concat(Array.prototype.slice.call(arguments))):void n.apply(this,arguments)}function o(){if(!a&&(u=!0,!s)){for(s=!0;!a&&i<e&&u;)u=!1,t.call(this,i++,o,r);return s=!1,a?void n.apply(this,l):void(i>=e&&u&&(a=!0,n()))}}var i=0,a=!1,s=!1,u=!1,l=void 0;o()}function r(e,t,n){function r(e,t,r){a||(t?(a=!0,n(t)):(i[e]=r,a=++s===o,a&&n(null,i)))}var o=e.length,i=[];if(0===o)return n(null,i);var a=!1,s=0;e.forEach(function(e,n){t(e,n,function(e,t){r(n,e,t)})})}t.__esModule=!0,t.loopAsync=n,t.mapAsync=r},function(e,t,n){"use strict";function r(e){return"@@contextSubscriber/"+e}function o(e){var t,n,o=r(e),i=o+"/listeners",a=o+"/eventIndex",u=o+"/subscribe";return n={childContextTypes:(t={},t[o]=s.isRequired,t),getChildContext:function(){var e;return e={},e[o]={eventIndex:this[a],subscribe:this[u]},e},componentWillMount:function(){this[i]=[],this[a]=0},componentWillReceiveProps:function(){this[a]++},componentDidUpdate:function(){var e=this;this[i].forEach(function(t){return t(e[a])})}},n[u]=function(e){var t=this;return this[i].push(e),function(){t[i]=t[i].filter(function(t){return t!==e})}},n}function i(e){var t,n,o=r(e),i=o+"/lastRenderedEventIndex",a=o+"/handleContextUpdate",u=o+"/unsubscribe";return n={contextTypes:(t={},t[o]=s,t),getInitialState:function(){var e;return this.context[o]?(e={},e[i]=this.context[o].eventIndex,e):{}},componentDidMount:function(){this.context[o]&&(this[u]=this.context[o].subscribe(this[a]))},componentWillReceiveProps:function(){var e;this.context[o]&&this.setState((e={},e[i]=this.context[o].eventIndex,e))},componentWillUnmount:function(){this[u]&&(this[u](),this[u]=null)}},n[a]=function(e){if(e!==this.state[i]){var t;this.setState((t={},t[i]=e,t))}},n}t.__esModule=!0,t.ContextProvider=o,t.ContextSubscriber=i;var a=n(1),s=a.PropTypes.shape({subscribe:a.PropTypes.func.isRequired,eventIndex:a.PropTypes.number.isRequired})},function(e,t,n){"use strict";t.__esModule=!0,t.locationShape=t.routerShape=void 0;var r=n(1),o=r.PropTypes.func,i=r.PropTypes.object,a=r.PropTypes.shape,s=r.PropTypes.string;t.routerShape=a({push:o.isRequired,replace:o.isRequired,go:o.isRequired,goBack:o.isRequired,goForward:o.isRequired,setRouteLeaveHook:o.isRequired,isActive:o.isRequired}),t.locationShape=a({pathname:s.isRequired,search:s.isRequired,state:i,action:s.isRequired,key:s})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=n(17),s=r(a),u=n(1),l=r(u),c=n(1094),d=r(c),f=n(302),p=n(80),h=l.default.PropTypes,m=h.array,v=h.func,g=h.object,y=l.default.createClass({displayName:"RouterContext",mixins:[(0,f.ContextProvider)("router")],propTypes:{router:g.isRequired,location:g.isRequired,routes:m.isRequired,params:g.isRequired,components:m.isRequired,createElement:v.isRequired},getDefaultProps:function(){return{createElement:l.default.createElement}},childContextTypes:{router:g.isRequired},getChildContext:function(){return{router:this.props.router}},createElement:function(e,t){return null==e?null:this.props.createElement(e,t)},render:function(){var e=this,t=this.props,n=t.location,r=t.routes,a=t.params,u=t.components,c=t.router,f=null;return u&&(f=u.reduceRight(function(t,s,u){if(null==s)return t;var l=r[u],f=(0,d.default)(l,a),h={location:n,params:a,route:l,router:c,routeParams:f,routes:r};if((0,p.isReactChildren)(t))h.children=t;else if(t)for(var m in t)Object.prototype.hasOwnProperty.call(t,m)&&(h[m]=t[m]);if("object"===("undefined"==typeof s?"undefined":i(s))){var v={};for(var g in s)Object.prototype.hasOwnProperty.call(s,g)&&(v[g]=e.createElement(s[g],o({key:g},h)));return v}return e.createElement(s,h)},f)),null===f||f===!1||l.default.isValidElement(f)?void 0:(0,s.default)(!1),f}});t.default=y,e.exports=t.default},function(e,t){function n(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}e.exports=n},function(e,t,n){"use strict";function r(e,t,n){this.props=e,this.context=t,this.refs=a,this.updater=n||i}var o=n(126),i=n(307),a=(n(469),n(143));n(11),n(14);r.prototype.isReactComponent={},r.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e?o("85"):void 0,this.updater.enqueueSetState(this,e),t&&this.updater.enqueueCallback(this,t,"setState")},r.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this),e&&this.updater.enqueueCallback(this,e,"forceUpdate")};e.exports=r},function(e,t,n){"use strict";function r(e,t){}var o=(n(14),{isMounted:function(e){return!1},enqueueCallback:function(e,t){},enqueueForceUpdate:function(e){r(e,"forceUpdate")},enqueueReplaceState:function(e,t){r(e,"replaceState")},enqueueSetState:function(e,t){r(e,"setState")}});e.exports=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){function r(){g===v&&(g=v.slice())}function i(){return m}function s(e){if("function"!=typeof e)throw new Error("Expected listener to be a function.");var t=!0;return r(),g.push(e),function(){if(t){t=!1,r();var n=g.indexOf(e);g.splice(n,1)}}}function c(e){if(!(0,a.default)(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if("undefined"==typeof e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(y)throw new Error("Reducers may not dispatch actions.");try{y=!0,m=h(m,e)}finally{y=!1}for(var t=v=g,n=0;n<t.length;n++)t[n]();return e}function d(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");h=e,c({type:l.INIT})}function f(){var e,t=s;return e={subscribe:function(e){function n(){e.next&&e.next(i())}if("object"!=typeof e)throw new TypeError("Expected the observer to be an object.");n();var r=t(n);return{unsubscribe:r}}},e[u.default]=function(){return this},e}var p;if("function"==typeof t&&"undefined"==typeof n&&(n=t,t=void 0),"undefined"!=typeof n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(o)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var h=e,m=t,v=[],g=v,y=!1;return c({type:l.INIT}),p={dispatch:c,subscribe:s,getState:i,replaceReducer:d},p[u.default]=f,p}t.__esModule=!0,t.ActionTypes=void 0,t.default=o;var i=n(61),a=r(i),s=n(477),u=r(s),l=t.ActionTypes={INIT:"@@redux/INIT"}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.compose=t.applyMiddleware=t.bindActionCreators=t.combineReducers=t.createStore=void 0;var o=n(308),i=r(o),a=n(1138),s=r(a),u=n(1137),l=r(u),c=n(1136),d=r(c),f=n(475),p=r(f),h=n(476);r(h);t.createStore=i.default,t.combineReducers=s.default,t.bindActionCreators=l.default,t.applyMiddleware=d.default,t.compose=p.default},function(e,t){"use strict";function n(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){return e===t}function o(e){var t=arguments.length<=1||void 0===arguments[1]?r:arguments[1],n=null,o=null;return function(){for(var r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=arguments[a];return null!==n&&n.length===i.length&&i.every(function(e,r){return t(e,n[r])})||(o=e.apply(void 0,i)),n=i,o}}function i(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every(function(e){return"function"==typeof e})){var n=t.map(function(e){return typeof e}).join(", ");throw new Error("Selector creators expect all input-selectors to be functions, "+("instead received the following types: ["+n+"]"))}return t}function a(e){for(var t=arguments.length,r=Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];return function(){for(var t=arguments.length,o=Array(t),a=0;a<t;a++)o[a]=arguments[a];var s=0,u=o.pop(),l=i(o),c=e.apply(void 0,[function(){return s++,u.apply(void 0,arguments)}].concat(r)),d=function(e,t){for(var r=arguments.length,o=Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];var a=l.map(function(n){return n.apply(void 0,[e,t].concat(o))});return c.apply(void 0,n(a))};return d.resultFunc=u,d.recomputations=function(){return s},d.resetRecomputations=function(){return s=0},d}}function s(e){var t=arguments.length<=1||void 0===arguments[1]?u:arguments[1];if("object"!=typeof e)throw new Error("createStructuredSelector expects first argument to be an object where each property is a selector, instead received a "+typeof e);var n=Object.keys(e);return t(n.map(function(t){return e[t]}),function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce(function(e,t,r){return e[n[r]]=t,e},{})})}t.__esModule=!0,t.defaultMemoize=o,t.createSelectorCreator=a,t.createStructuredSelector=s;var u=t.createSelector=a(o)},function(e,t){function n(e){return null!==e&&"object"==typeof e}e.exports=n},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l=n(201),c=o(l),d=n(7),f=o(d),p=n(19),h=r(p),m=n(29),v=o(m),g=n(26),y=o(g),b=function(e){function t(n,r){i(this,t);var o=r.track,s=n.textTracks();r.label=o.label||o.language||"Unknown",r.selected=o.default||"showing"===o.mode;var l=a(this,e.call(this,n,r));if(l.track=o,s){var c=h.bind(l,l.handleTracksChange);n.on(["loadstart","texttrackchange"],c),s.addEventListener("change",c),l.on("dispose",function(){s.removeEventListener("change",c)})}if(s&&void 0===s.onchange){var d=void 0;l.on(["tap","click"],function(){if("object"!==u(v.default.Event))try{d=new v.default.Event("change")}catch(e){}d||(d=y.default.createEvent("Event"),d.initEvent("change",!0,!0)),s.dispatchEvent(d)})}return l}return s(t,e),t.prototype.handleClick=function(t){var n=this.track.kind,r=this.player_.textTracks();if(e.prototype.handleClick.call(this,t),r)for(var o=0;o<r.length;o++){var i=r[o];i.kind===n&&(i===this.track?i.mode="showing":i.mode="disabled")}},t.prototype.handleTracksChange=function(e){this.selected("showing"===this.track.mode)},t}(c.default);f.default.registerComponent("TextTrackMenuItem",b),t.default=b},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(1198),l=o(u),c=n(19),d=r(c),f=n(314),p=n(44),h=o(p),m=n(29),v=o(m),g=n(316),y=o(g),b=n(202),_=n(492),w=o(_),C=n(74),x=o(C),E=n(32),T=r(E),k=function(e,t){var n=new v.default.WebVTT.Parser(v.default,v.default.vttjs,v.default.WebVTT.StringDecoder()),r=[];n.oncue=function(e){t.addCue(e)},n.onparsingerror=function(e){r.push(e)},n.onflush=function(){t.trigger({type:"loadeddata",target:t})},n.parse(e),r.length>0&&(v.default.console&&v.default.console.groupCollapsed&&v.default.console.groupCollapsed("Text Track parsing errors for "+t.src),r.forEach(function(e){return h.default.error(e)}),v.default.console&&v.default.console.groupEnd&&v.default.console.groupEnd()),n.flush()},S=function(e,t){var n={uri:e},r=(0,b.isCrossOrigin)(e);r&&(n.cors=r),(0,w.default)(n,d.bind(this,function(e,n,r){if(e)return h.default.error(e,n);if(t.loaded_=!0,"function"!=typeof v.default.WebVTT){if(t.tech_){var o=function(){return k(r,t)};t.tech_.on("vttjsloaded",o),t.tech_.on("vttjserror",function(){h.default.error("vttjs failed to load, stopping trying to process "+t.src),t.tech_.off("vttjsloaded",o)})}}else k(r,t)}))},M=function(e){function t(){var n,r,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(i(this,t),!o.tech)throw new Error("A tech was not provided.");var s=(0,x.default)(o,{kind:f.TextTrackKind[o.kind]||"subtitles",language:o.language||o.srclang||""}),u=f.TextTrackMode[s.mode]||"disabled",c=s.default;"metadata"!==s.kind&&"chapters"!==s.kind||(u="hidden");var p=n=a(this,e.call(this,s));if(p.tech_=s.tech,T.IS_IE8)for(var h in t.prototype)"constructor"!==h&&(p[h]=t.prototype[h]);p.cues_=[],p.activeCues_=[];var m=new l.default(p.cues_),v=new l.default(p.activeCues_),g=!1,y=d.bind(p,function(){this.activeCues,g&&(this.trigger("cuechange"),g=!1)});return"disabled"!==u&&p.tech_.ready(function(){p.tech_.on("timeupdate",y)},!0),Object.defineProperty(p,"default",{get:function(){return c},set:function(){}}),Object.defineProperty(p,"mode",{get:function(){return u},set:function(e){var t=this;f.TextTrackMode[e]&&(u=e,"showing"===u&&this.tech_.ready(function(){t.tech_.on("timeupdate",y)},!0),this.trigger("modechange"))}}),Object.defineProperty(p,"cues",{get:function(){return this.loaded_?m:null},set:function(){}}),Object.defineProperty(p,"activeCues",{get:function(){if(!this.loaded_)return null;if(0===this.cues.length)return v;for(var e=this.tech_.currentTime(),t=[],n=0,r=this.cues.length;n<r;n++){var o=this.cues[n];o.startTime<=e&&o.endTime>=e?t.push(o):o.startTime===o.endTime&&o.startTime<=e&&o.startTime+.5>=e&&t.push(o)}if(g=!1,t.length!==this.activeCues_.length)g=!0;else for(var i=0;i<t.length;i++)this.activeCues_.indexOf(t[i])===-1&&(g=!0);return this.activeCues_=t,v.setCues_(this.activeCues_),v},set:function(){}}),s.src?(p.src=s.src,S(s.src,p)):p.loaded_=!0,r=p,a(n,r)}return s(t,e),t.prototype.addCue=function(e){var t=e;if(v.default.vttjs&&!(e instanceof v.default.vttjs.VTTCue)){t=new v.default.vttjs.VTTCue(e.startTime,e.endTime,e.text);for(var n in e)n in t||(t[n]=e[n]);t.id=e.id,t.originalCue_=e}var r=this.tech_.textTracks();if(r)for(var o=0;o<r.length;o++)r[o]!==this&&r[o].removeCue(t);this.cues_.push(t),this.cues.setCues_(this.cues_)},t.prototype.removeCue=function(e){for(var t=this.cues_.length;t--;){var n=this.cues_[t];if(n===e||n.originalCue_&&n.originalCue_===e){this.cues_.splice(t,1),this.cues.setCues_(this.cues_);break}}},t}(y.default);M.prototype.allowedEvents_={cuechange:"cuechange"},t.default=M},function(e,t){"use strict";t.__esModule=!0;t.VideoTrackKind={alternative:"alternative",captions:"captions",main:"main",sign:"sign",subtitles:"subtitles",commentary:"commentary"},t.AudioTrackKind={alternative:"alternative",descriptions:"descriptions",main:"main","main-desc":"main-desc",translation:"translation",commentary:"commentary"},t.TextTrackKind={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"},t.TextTrackMode={disabled:"disabled",hidden:"hidden",showing:"showing"}},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(200),l=o(u),c=n(32),d=r(c),f=n(26),p=o(f),h=function(e){function t(){var n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;i(this,t);var s=a(this,e.call(this));if(!o&&(o=s,d.IS_IE8)){o=p.default.createElement("custom");for(var u in t.prototype)"constructor"!==u&&(o[u]=t.prototype[u])}o.tracks_=[],Object.defineProperty(o,"length",{get:function(){return this.tracks_.length}});for(var l=0;l<r.length;l++)o.addTrack_(r[l]);return n=o,a(s,n)}return s(t,e),t.prototype.addTrack_=function(e){var t=this.tracks_.length;""+t in this||Object.defineProperty(this,t,{get:function(){return this.tracks_[t]}}),this.tracks_.indexOf(e)===-1&&(this.tracks_.push(e),this.trigger({track:e,type:"addtrack"}))},t.prototype.removeTrack_=function(e){for(var t=void 0,n=0,r=this.length;n<r;n++)if(this[n]===e){t=this[n],t.off&&t.off(),this.tracks_.splice(n,1);break}t&&this.trigger({track:t,type:"removetrack"})},t.prototype.getTrackById=function(e){for(var t=null,n=0,r=this.length;n<r;n++){var o=this[n];if(o.id===e){t=o;break}}return t},t}(l.default);h.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack"};for(var m in h.prototype.allowedEvents_)h.prototype["on"+m]=null;t.default=h},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(32),l=o(u),c=n(26),d=r(c),f=n(127),p=o(f),h=n(200),m=r(h),v=function(e){function t(){var n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i(this,t);var o=a(this,e.call(this)),s=o;if(l.IS_IE8){s=d.default.createElement("custom");for(var u in t.prototype)"constructor"!==u&&(s[u]=t.prototype[u])}var c={id:r.id||"vjs_track_"+p.newGUID(),kind:r.kind||"",label:r.label||"",language:r.language||""},f=function(e){Object.defineProperty(s,e,{get:function(){return c[e]},set:function(){}})};for(var h in c)f(h);return n=s,a(o,n)}return s(t,e),t}(m.default);t.default=v},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!e||!t)return"";if("function"==typeof a.default.getComputedStyle){var n=a.default.getComputedStyle(e);return n?n[t]:""}return e.currentStyle[t]||""}t.__esModule=!0,t.default=o;var i=n(29),a=r(i)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return a.default.createElement("div",{className:"loader"},e.children)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return{assessment:e,type:E.TOGGLE_PUBLISH_ASSESSMENT,apiCall:!0}}function i(e,t){return{bankId:e,assessmentId:t,apiCall:!0,type:E.GET_ASSESSMENT_PREVIEW}}function a(e){return{bankId:e,apiCall:!0,type:E.GET_ASSESSMENTS}}function s(e,t){return{bankId:e,apiCall:!0,type:E.CREATE_ASSESSMENT,body:t}}function u(e,t,n){return{bankId:e,assessment:t,item:n,apiCall:!0,type:E.CREATE_ASSESSMENT_WITH_ITEM}}function l(e,t){return{bankId:e,apiCall:!0,type:E.UPDATE_ASSESSMENT,body:t}}function c(e,t,n){return{bankId:e,assessmentId:t,apiCall:!0,type:E.UPDATE_ASSESSMENT_ITEMS,body:{itemIds:n}}}function d(e,t,n,r){return{bankId:e,assessmentId:t,itemIds:n,apiCall:!0,type:E.CREATE_ITEM_IN_ASSESSMENT,body:r}}function f(e,t){return{bankId:e,assessmentId:t,body:{dummyId:"123"},apiCall:!0,type:E.CREATE_ASSESSMENT_OFFERED}}function p(e,t){return{bankId:e,assessmentId:t,apiCall:!0,type:E.GET_ASSESSMENT_ITEMS}}function h(e,t){return{bankId:e,assessmentId:t,apiCall:!0,type:E.GET_ASSESSMENT_OFFERED}}function m(e,t){return{bankId:e,assessmentId:t,apiCall:!0,type:E.DELETE_ASSESSMENT}}function v(e,t,n){return{bankId:e,assessmentId:t,itemId:n,apiCall:!0,type:E.DELETE_ASSESSMENT_ITEM}}function g(e,t){return{bankId:e.bankId,assessmentId:e.id,assignedId:t,apiCall:!0,type:E.DELETE_ASSIGNED_ASSESSMENT}}function y(e,t){return{bankId:e.bankId,assessmentId:e.id,apiCall:!0,type:E.EDIT_OR_PUBLISH_ASSESSMENT,body:{assignedBankIds:[t]}}}function b(e,t){return{bankId:e.bankId,assessmentsOfferedId:e.id,apiCall:!0,type:E.UPDATE_SINGLE_ITEM_OR_PAGE,body:{genusTypeId:t}}}Object.defineProperty(t,"__esModule",{value:!0}),t.Constants=void 0,t.togglePublishAssessment=o,t.getAssessmentPreview=i,t.getAssessments=a,t.createAssessment=s,t.createAssessmentWithItem=u,t.updateAssessment=l,t.updateAssessmentItems=c,t.createItemInAssessment=d,t.createAssessmentOffered=f,t.getAssessmentItems=p,t.getAssessmentOffered=h,t.deleteAssessment=m,t.deleteAssessmentItem=v,t.deleteAssignedAssessment=g,t.editOrPublishAssessment=y,t.updateSingleItemOrPage=b;var _=n(55),w=r(_),C=[],x=["GET_ASSESSMENTS","UPDATE_ASSESSMENT","UPDATE_ASSESSMENT_ITEMS","CREATE_ITEM_IN_ASSESSMENT","CREATE_ASSESSMENT","CREATE_ASSESSMENT_WITH_ITEM","CREATE_ASSESSMENT_OFFERED","GET_ASSESSMENT_OFFERED","GET_ASSESSMENT_ITEMS","DELETE_ASSESSMENT","DELETE_ASSESSMENT_ITEM","EDIT_OR_PUBLISH_ASSESSMENT","DELETE_ASSIGNED_ASSESSMENT","GET_ASSESSMENT_PREVIEW","UPDATE_SINGLE_ITEM_OR_PAGE","TOGGLE_PUBLISH_ASSESSMENT"],E=t.Constants=(0,w.default)(C,x)},,function(e,t,n){e.exports={default:n(589),__esModule:!0}},[1512,85,346,345,64,210,232],[1520,137],[1533,162,48,353,84,86,106,611,157,350,34],function(e,t){},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),l=r(u),c=n(8),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),v=n(4),g=r(v),y=n(524),b=r(y),_=n(525),w=r(_),C=function(e){function t(){(0,s.default)(this,t);var e=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this));return e.state={recorder:y.RecorderCommands.stop,audioURL:"",timeoutId:null},e}return(0,p.default)(t,e),(0,l.default)(t,[{key:"componentWillUnmount",value:function(){this.state.timeoutId&&window.clearTimeout(this.state.timeoutId)}},{key:"onStop",value:function(e,t){var n=window.URL.createObjectURL(e);this.setState({audioURL:n}),g.default.isFunction(this.props.selectAnswer)&&this.props.selectAnswer(e),this.props.audioRecordStop(t)}},{key:"toggle",value:function(){var e=this;if(this.state.recorder===y.RecorderCommands.stop){var t=window.setTimeout(function(){e.setState({recorder:y.RecorderCommands.stop,timeoutId:null})},1e3*this.props.timeout);this.props.audioRecordStart(),this.setState({recorder:y.RecorderCommands.start,timeoutId:t})}else this.state.recorder===y.RecorderCommands.start&&(window.clearTimeout(this.state.timeoutId),this.setState({recorder:y.RecorderCommands.stop,timeoutId:null}))}},{key:"render",value:function(){var e=this,t=void 0,n=void 0,r=void 0;return this.state.recorder===y.RecorderCommands.start?(r="c-btn--stop",n=this.props.localizedStrings.stop,t=m.default.createElement(w.default,{localizedStrings:this.props.localizedStrings,timeout:this.props.timeout})):(n=this.props.localizedStrings.record,t=m.default.createElement("audio",{src:this.state.audioURL,type:"audio/wav",controls:!0})),m.default.createElement("div",{className:"c-record"},m.default.createElement("a",{onClick:function(){e.toggle()},className:"c-btn  c-btn--record "+(r||"")},m.default.createElement("span",null,n)),m.default.createElement("span",{className:"c-audio-holder"},t),m.default.createElement(b.default,{command:this.state.recorder,onStop:function(t,n){return e.onStop(t,n)}}))}}]),t}(m.default.Component);t.default=C},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return{connectDragSource:e.dragSource(),isDragging:t.isDragging(),connectDragPreview:e.dragPreview()}}Object.defineProperty(t,"__esModule",{value:!0}),t.Droppable=void 0;var i=n(9),a=r(i),s=n(3),u=r(s),l=n(5),c=r(l),d=n(8),f=r(d),p=n(6),h=r(p),m=n(1),v=r(m),g=n(99),y=n(190),b=n(104),_=r(b),w={beginDrag:function(e,t,n){var r=n.node.getBoundingClientRect(),o=document.getElementsByTagName("body")[0];return o.className="dragging",{height:r.height,width:r.width,droppableId:e.droppableId,droppableText:e.text,previousZoneIndex:e.zoneIndex}}},C=t.Droppable=function(e){function t(){return(0,u.default)(this,t),(0,f.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,h.default)(t,e),(0,c.default)(t,[{key:"componentDidMount",value:function(){this.props.connectDragPreview((0,y.getEmptyImage)())}},{key:"render",value:function(){var e=this,t=this.props,n=t.connectDragSource,r=t.isDragging,o=t.showWhileDragging,i=t.text,a=this.props.hide||r&&!o?"is-hidden":"";return n(v.default.createElement("div",{ref:function(t){return e.node=t},className:(this.props.className||"")+" "+a,style:this.props.style,dangerouslySetInnerHTML:{__html:i}}))}}]),t}(v.default.Component);t.default=(0,g.DragSource)(_.default.CLIX_DROPPABLE,w,o)(C)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.MovableWords=void 0;var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),l=r(u),c=n(8),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),v=n(103),g=(r(v),n(4)),y=r(g),b=n(214),_=r(b),w=n(213),C=r(w),x=n(132),E=n(517),T=r(E),k=n(211),S=r(k),M=m.default.createElement(S.default,null),O=t.MovableWords=function(e){function t(){(0,s.default)(this,t);var e=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this));return e.state={answerPositions:{}},e}return(0,p.default)(t,e),(0,l.default)(t,[{key:"dropWordsInCloud",value:function(e,t){var n=this;y.default.each(e,function(e){y.default.includes(n.props.wordChain,e)&&n.props.selectAnswer(e)})}},{key:"linkWord",value:function(e){this.props.selectAnswer(e)}},{key:"render",value:function(){var e=this,t={};y.default.each(this.props.answers,function(e){t[e.id]=e});var n=y.default.map(t,function(t){return m.default.createElement(C.default,{key:t.id,id:t.id,material:t.material,hide:y.default.includes(e.props.wordChain,t.id),wordClassName:e.props.itemClassName})});return m.default.createElement("div",{dir:"ltr"},m.default.createElement("div",{className:"c-word-box"},m.default.createElement(x.GroupDropZone,{ref:function(t){return e.groupDropZone=t;
-},dropItem:function(t,n){e.dropWordsInCloud(t,n)},className:"c-word-box__contain"},n)),m.default.createElement(T.default,{linkWord:function(t){e.linkWord(t)},answersById:t,wordChain:this.props.wordChain,itemClassName:this.props.itemClassName,answerBoxClassName:this.props.answerBoxClassName,noStartBlock:this.props.noStartBlock}),M)}}]),t}(m.default.Component);t.default=(0,_.default)(O)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=r(o),a=n(198),s=n(1130),u=r(s),l=n(1121),c=r(l);t.default=(0,a.createDevTools)(i.default.createElement(c.default,{toggleVisibilityKey:"H",changePositionKey:"Q",defaultIsVisible:!1},i.default.createElement(u.default,null)))},,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return{bankId:n,file:e,fileGuids:t,metaData:r,apiCall:!0,type:c.UPLOAD_MEDIA,body:e,timeout:2e4}}function i(e,t,n,r,o,i){return{bankId:t,file:e,itemId:n,where:r,metaData:o,newMedia:i,apiCall:!0,type:c.ADD_MEDIA_TO_QUESTION,body:e,timeout:2e4}}Object.defineProperty(t,"__esModule",{value:!0}),t.Constants=void 0,t.uploadMedia=o,t.addMediaToQuestion=i;var a=n(55),s=r(a),u=[],l=["UPLOAD_MEDIA","ADD_MEDIA_TO_QUESTION"],c=t.Constants=(0,s.default)(u,l)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){return{apiCall:!0,type:c.GET_BANKS_HIERARCHY}}function i(e,t,n){return{id:e,bank:t,back:n,type:c.UPDATE_PATH}}Object.defineProperty(t,"__esModule",{value:!0}),t.Constants=void 0,t.getBanks=o,t.updatePath=i;var a=n(55),s=r(a),u=["UPDATE_PATH"],l=["GET_BANKS_HIERARCHY","GET_MEDIA"],c=t.Constants=(0,s.default)(u,l)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return{bankId:e,apiCall:!0,type:h.GET_ITEMS}}function i(e,t){return{bankId:e,itemId:t.id,apiCall:!0,type:h.UPDATE_ITEM,body:t}}function a(e,t,n,r,o){var i={id:t,question:(0,u.default)({fileIds:r},o||"choices",{new:{id:"new"}})};return{bankId:e,itemId:t,apiCall:!0,type:h.UPDATE_ITEM,body:(0,d.scrub)(i)}}Object.defineProperty(t,"__esModule",{value:!0}),t.Constants=void 0;var s=n(101),u=r(s);t.getItems=o,t.updateItem=i,t.createChoice=a;var l=n(55),c=r(l),d=n(63),f=[],p=["GET_ITEMS","CREATE_ITEM","UPDATE_ITEM"],h=t.Constants=(0,c.default)(f,p)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(218),i=r(o),a=n(3),s=r(a),u=n(5),l=r(u),c=n(4),d=r(c),f=n(504),p=r(f),h=n(206),m=r(h),v={},g=function(){function e(){(0,s.default)(this,e)}return(0,l.default)(e,null,[{key:"get",value:function(t,n,r,o,i,a){var s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:m.default.TIMEOUT;return e.execRequest(m.default.GET,t,n,r,o,i,null,a,s)}},{key:"post",value:function(t,n,r,o,i,a,s){var u=arguments.length>7&&void 0!==arguments[7]?arguments[7]:m.default.TIMEOUT;return e.execRequest(m.default.POST,t,n,r,o,i,a,s,u)}},{key:"put",value:function(t,n,r,o,i,a,s){var u=arguments.length>7&&void 0!==arguments[7]?arguments[7]:m.default.TIMEOUT;return e.execRequest(m.default.PUT,t,n,r,o,i,a,s,u)}},{key:"del",value:function(t,n,r,o,i,a){var s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:m.default.TIMEOUT;return e.execRequest(m.default.DEL,t,n,r,o,i,null,a,s)}},{key:"execRequest",value:function(t,n,r,o,i,a,s,u){var l=arguments.length>8&&void 0!==arguments[8]?arguments[8]:m.default.TIMEOUT;return e.doRequest(e.makeUrl(""+n+e.queryStringFrom(a),r),function(e){var n=void 0;switch(t){case m.default.GET:n=p.default.get(e);break;case m.default.POST:n=p.default.post(e).send(s);break;case m.default.PUT:n=p.default.put(e).send(s);break;case m.default.DEL:n=p.default.del(e)}return n.set("Accept","application/json"),n.timeout(l),d.default.isNil(o)||n.set("Authorization","Bearer "+o),d.default.isNil(i)||n.set("X-CSRF-Token",i),d.default.isNil(u)||d.default.each(u,function(e,t){n.set(t,e)}),n},t)}},{key:"makeUrl",value:function(e,t){if(e.indexOf("http")>=0)return e;var n="/"===d.default.last(t.split(""))?"":"/",r=e;return"/"===e[0]&&(r=e.slice(1)),t+n+r}},{key:"doRequest",value:function(t,n,r){var o=e.wrapRequest(t,n,r);return o.promise?o.promise:(o.promise=e.promisify(o.request,t),o.promise.then(function(){e.disposeRequest(t)},function(){e.disposeRequest(t)}),o.promise)}},{key:"wrapRequest",value:function(e,t,n){return n===m.default.GET?(v[e]||(v[e]={request:t(e)}),v[e]):{request:t(e)}}},{key:"disposeRequest",value:function(e){delete v[e]}},{key:"promisify",value:function(e){return new i.default(function(t,n){e.end(function(e,r){e?n(e):t(r)})})}},{key:"queryStringFrom",value:function(e){var t=d.default.chain(e).map(function(e,t){return e?d.default.isArray(e)?d.default.map(e,function(e){return t+"[]="+e}).join("&"):t+"="+e:""}).compact().value();return t.length>0?"?"+t.join("&"):""}}]),e}();t.default=g},function(e,t,n){e.exports={default:n(593),__esModule:!0}},function(e,t,n){e.exports={default:n(595),__esModule:!0}},function(e,t,n){e.exports={default:n(598),__esModule:!0}},function(e,t,n){e.exports={default:n(604),__esModule:!0}},function(e,t,n){e.exports=n(547)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(321),i=r(o);t.default=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return(0,i.default)(e)}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e.default:e}t.__esModule=!0;var o=n(583);t.threezerotwofour=r(o);var i=n(550);t.apathy=r(i);var a=n(551);t.ashes=r(a);var s=n(552);t.atelierDune=r(s);var u=n(553);t.atelierForest=r(u);var l=n(554);t.atelierHeath=r(l);var c=n(555);t.atelierLakeside=r(c);var d=n(556);t.atelierSeaside=r(d);var f=n(557);t.bespin=r(f);var p=n(558);t.brewer=r(p);var h=n(559);t.bright=r(h);var m=n(560);t.chalk=r(m);var v=n(561);t.codeschool=r(v);var g=n(562);t.colors=r(g);var y=n(563);t.default=r(y);var b=n(564);t.eighties=r(b);var _=n(565);t.embers=r(_);var w=n(566);t.flat=r(w);var C=n(567);t.google=r(C);var x=n(568);t.grayscale=r(x);var E=n(569);t.greenscreen=r(E);var T=n(570);t.harmonic=r(T);var k=n(571);t.hopscotch=r(k);var S=n(572);t.isotope=r(S);var M=n(573);t.marrakesh=r(M);var O=n(574);t.mocha=r(O);var A=n(575);t.monokai=r(A);var N=n(576);t.ocean=r(N);var I=n(577);t.paraiso=r(I);var P=n(578);t.pop=r(P);var D=n(579);t.railscasts=r(D);var R=n(580);t.shapeshifter=r(R);var j=n(581);t.solarized=r(j);var L=n(582);t.summerfruit=r(L);var B=n(584);t.tomorrow=r(B);var F=n(585);t.tube=r(F);var U=n(586);t.twilight=r(U)},87,[1516,45],[1519,65,102,221],[1523,106,34],[1529,64],[1535,34],[1552,75,349],[1555,351,222],[1556,86,129,226],[1558,86,75,606,226],function(e,t,n){var r=n(84);e.exports=function(e,t,n){for(var o in t)n&&e[o]?e[o]=t[o]:r(e,o,t[o]);return e}},function(e,t,n){e.exports=n(84)},[1576,85,609,343,221,45,137],function(e,t,n){var r=n(49);e.exports=function(e,t){if("number"!=typeof e&&"Number"!=r(e))throw TypeError(t);return+e}},function(e,t,n){"use strict";var r=n(31),o=n(94),i=n(30);e.exports=[].copyWithin||function(e,t){var n=r(this),a=i(n.length),s=o(e,a),u=o(t,a),l=arguments.length>2?arguments[2]:void 0,c=Math.min((void 0===l?a:o(l,a))-u,a-s),d=1;for(u<s&&s<u+c&&(d=-1,u+=c-1,s+=c-1);c-- >0;)u in n?n[s]=n[u]:delete n[s],s+=d,u+=d;return n}},function(e,t,n){var r=n(109);e.exports=function(e,t){var n=[];return r(e,!1,n.push,n,t),n}},function(e,t,n){var r=n(38),o=n(31),i=n(141),a=n(30);e.exports=function(e,t,n,s,u){r(t);var l=o(e),c=i(l),d=a(l.length),f=u?d-1:0,p=u?-1:1;if(n<2)for(;;){if(f in c){s=c[f],f+=p;break}if(f+=p,u?f<0:d<=f)throw TypeError("Reduce of empty array with no initial value")}for(;u?f>=0:d>f;f+=p)f in c&&(s=t(s,c[f],f,l));return s}},function(e,t,n){"use strict";var r=n(38),o=n(18),i=n(169),a=[].slice,s={},u=function(e,t,n){if(!(t in s)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";s[t]=Function("F,a","return new F("+r.join(",")+")")}return s[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=a.call(arguments,1),s=function(){var r=n.concat(a.call(arguments));return this instanceof s?u(t,r.length,r):i(t,r,e)};return o(t.prototype)&&(s.prototype=t.prototype),s}},function(e,t,n){"use strict";var r=n(25).f,o=n(89),i=n(92),a=n(68),s=n(87),u=n(50),l=n(109),c=n(243),d=n(366),f=n(93),p=n(24),h=n(76).fastKey,m=p?"_s":"size",v=function(e,t){var n,r=h(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,c){var d=e(function(e,r){s(e,d,t,"_i"),e._i=o(null),e._f=void 0,e._l=void 0,e[m]=0,void 0!=r&&l(r,n,e[c],e)});return i(d.prototype,{clear:function(){for(var e=this,t=e._i,n=e._f;n;n=n.n)n.r=!0,n.p&&(n.p=n.p.n=void 0),delete t[n.i];e._f=e._l=void 0,e[m]=0},delete:function(e){var t=this,n=v(t,e);if(n){var r=n.n,o=n.p;delete t._i[n.i],n.r=!0,o&&(o.n=r),r&&(r.p=o),t._f==n&&(t._f=r),t._l==n&&(t._l=o),t[m]--}return!!n},forEach:function(e){s(this,d,"forEach");for(var t,n=a(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.n:this._f;)for(n(t.v,t.k,this);t&&t.r;)t=t.p},has:function(e){return!!v(this,e)}}),p&&r(d.prototype,"size",{get:function(){return u(this[m])}}),d},def:function(e,t,n){var r,o,i=v(e,t);return i?i.v=n:(e._l=i={i:o=h(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=i),r&&(r.n=i),e[m]++,"F"!==o&&(e._i[o]=i)),e},getEntry:v,setStrong:function(e,t,n){c(e,t,function(e,t){this._t=e,this._k=t,this._l=void 0},function(){for(var e=this,t=e._k,n=e._l;n&&n.r;)n=n.p;return e._t&&(e._l=n=n?n.n:e._t._f)?"keys"==t?d(0,n.k):"values"==t?d(0,n.v):d(0,[n.k,n.v]):(e._t=void 0,d(1))},n?"entries":"values",!n,!0),f(t)}}},function(e,t,n){var r=n(140),o=n(357);e.exports=function(e){return function(){if(r(this)!=e)throw TypeError(e+"#toJSON isn't generic");return o(this)}}},function(e,t,n){"use strict";var r=n(92),o=n(76).getWeak,i=n(12),a=n(18),s=n(87),u=n(109),l=n(58),c=n(35),d=l(5),f=l(6),p=0,h=function(e){return e._l||(e._l=new m)},m=function(){this.a=[]},v=function(e,t){return d(e.a,function(e){return e[0]===t})};m.prototype={get:function(e){var t=v(this,e);if(t)return t[1]},has:function(e){return!!v(this,e)},set:function(e,t){var n=v(this,e);n?n[1]=t:this.a.push([e,t])},delete:function(e){var t=f(this.a,function(t){return t[0]===e});return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,i){var l=e(function(e,r){s(e,l,t,"_i"),e._i=p++,e._l=void 0,void 0!=r&&u(r,n,e[i],e)});return r(l.prototype,{delete:function(e){if(!a(e))return!1;var t=o(e);return t===!0?h(this).delete(e):t&&c(t,this._i)&&delete t[this._i]},has:function(e){if(!a(e))return!1;var t=o(e);return t===!0?h(this).has(e):t&&c(t,this._i)}}),l},def:function(e,t,n){var r=o(i(t),!0);return r===!0?h(e).set(t,n):r[e._i]=n,e},ufstore:h}},[1519,24,15,235],[1526,18],[1529,12],function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t){e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},[1542,91,173,142,31,141,15],[1548,25,12,91,24],[1552,42,90],[1558,35,42,165,248],function(e,t,n){var r=n(91),o=n(42),i=n(142).f;e.exports=function(e){return function(t){for(var n,a=o(t),s=r(a),u=s.length,l=0,c=[];u>l;)i.call(a,n=s[l++])&&c.push(e?[n,a[n]]:a[n]);return c}}},function(e,t,n){var r=n(90),o=n(173),i=n(12),a=n(13).Reflect;e.exports=a&&a.ownKeys||function(e){var t=r.f(i(e)),n=o.f;return n?t.concat(n(e)):t}},function(e,t,n){var r=n(13).parseFloat,o=n(112).trim;e.exports=1/r(n(253)+"-0")!==-(1/0)?function(e){var t=o(String(e),3),n=r(t);return 0===n&&"-"==t.charAt(0)?-0:n}:r},function(e,t,n){var r=n(13).parseInt,o=n(112).trim,i=n(253),a=/^[\-+]?0[xX]/;e.exports=8!==r(i+"08")||22!==r(i+"0x16")?function(e,t){var n=o(String(e),3);return r(n,t>>>0||(a.test(n)?16:10))}:r},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},function(e,t,n){var r=n(30),o=n(252),i=n(50);e.exports=function(e,t,n,a){var s=String(i(e)),u=s.length,l=void 0===n?" ":String(n),c=r(t);if(c<=u||""==l)return s;var d=c-u,f=o.call(l,Math.ceil(d/l.length));return f.length>d&&(f=f.slice(0,d)),a?f+s:s+f}},[1591,20],function(e,t,n){"use strict";var r=n(360);e.exports=n(166)("Map",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{get:function(e){var t=r.getEntry(this,e);return t&&t.v},set:function(e,t){return r.def(this,0===e?0:e,t)}},r,!0)},function(e,t,n){n(24)&&"g"!=/./g.flags&&n(25).f(RegExp.prototype,"flags",{configurable:!0,get:n(168)})},function(e,t,n){"use strict";var r=n(360);e.exports=n(166)("Set",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return r.def(this,e=0===e?0:e,e)}},r)},function(e,t,n){"use strict";var r,o=n(58)(0),i=n(40),a=n(76),s=n(368),u=n(362),l=n(18),c=a.getWeak,d=Object.isExtensible,f=u.ufstore,p={},h=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},m={get:function(e){if(l(e)){var t=c(e);return t===!0?f(this).get(e):t?t[this._i]:void 0}},set:function(e,t){return u.def(this,e,t)}},v=e.exports=n(166)("WeakMap",h,m,u,!0,!0);7!=(new v).set((Object.freeze||Object)(p),7).get(p)&&(r=u.getConstructor(h),s(r.prototype,m),a.NEED=!0,o(["delete","has","get","set"],function(e){var t=v.prototype,n=t[e];i(t,e,function(t,o){if(l(t)&&!d(t)){this._f||(this._f=new r);var i=this._f[e](t,o);return"set"==e?this:i}return n.call(this,t,o)})}))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:f,arguments[1]),t=arguments[2];switch(e.type){case c.HOVER:break;case d.ADD_SOURCE:case d.ADD_TARGET:case d.REMOVE_TARGET:case d.REMOVE_SOURCE:return f;case c.BEGIN_DRAG:case c.PUBLISH_DRAG_SOURCE:case c.END_DRAG:case c.DROP:default:return p}var n=e.targetIds,r=t.targetIds,o=(0,s.default)(n,r),i=!1;if(0===o.length){for(var a=0;a<n.length;a++)if(n[a]!==r[a]){i=!0;break}}else i=!0;if(!i)return f;var u=r[r.length-1],l=n[n.length-1];return u!==l&&(u&&o.push(u),l&&o.push(l)),o}function i(e,t){return e!==f&&(e===p||"undefined"==typeof t||(0,l.default)(t,e).length>0)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o,t.areDirty=i;var a=n(960),s=r(a),u=n(953),l=r(u),c=n(176),d=n(177),f=[],p=[]},function(e,t,n){"use strict";function r(e,t){return e===t||e&&t&&e.x===t.x&&e.y===t.y}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l,t=arguments[1];switch(t.type){case u.BEGIN_DRAG:return{initialSourceClientOffset:t.sourceClientOffset,initialClientOffset:t.clientOffset,clientOffset:t.clientOffset};case u.HOVER:return r(e.clientOffset,t.clientOffset)?e:s({},e,{clientOffset:t.clientOffset});case u.END_DRAG:case u.DROP:return l;default:return e}}function i(e){var t=e.clientOffset,n=e.initialClientOffset,r=e.initialSourceClientOffset;return t&&n&&r?{x:t.x+r.x-n.x,y:t.y+r.y-n.y}:null}function a(e){var t=e.clientOffset,n=e.initialClientOffset;return t&&n?{x:t.x-n.x,y:t.y-n.y}:null}Object.defineProperty(t,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=o,t.getSourceClientOffset=i,t.getDifferenceFromInitialOffset=a;var u=n(176),l={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return(0,a.default)(e)?e.some(function(e){return e===t}):e===t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(37),a=r(i)},function(e,t,n){"use strict";var r=n(52),o={listen:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!1),{remove:function(){e.removeEventListener(t,n,!1)}}):e.attachEvent?(e.attachEvent("on"+t,n),{remove:function(){e.detachEvent("on"+t,n)}}):void 0},capture:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!0),{remove:function(){e.removeEventListener(t,n,!0)}}):{remove:r}},registerDefault:function(){}};e.exports=o},function(e,t){"use strict";function n(e){try{e.focus()}catch(e){}}e.exports=n},function(e,t){"use strict";function n(e){if(e=e||("undefined"!=typeof document?document:void 0),"undefined"==typeof e)return null;try{return e.activeElement||e.body}catch(t){return e.body}}e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.readState=t.saveState=void 0;var o=n(83),i=(r(o),{QuotaExceededError:!0,QUOTA_EXCEEDED_ERR:!0}),a={SecurityError:!0},s="@@History/",u=function(e){return s+e};t.saveState=function(e,t){if(window.sessionStorage)try{null==t?window.sessionStorage.removeItem(u(e)):window.sessionStorage.setItem(u(e),JSON.stringify(t))}catch(e){if(a[e.name])return;if(i[e.name]&&0===window.sessionStorage.length)return;throw e}},t.readState=function(e){var t=void 0;try{t=window.sessionStorage.getItem(u(e))}catch(e){if(a[e.name])return}if(t)try{return JSON.parse(t)}catch(e){}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(264),a=r(i),s=n(79),u=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e(t),r=t.basename,i=function(e){return e?(r&&null==e.basename&&(0===e.pathname.toLowerCase().indexOf(r.toLowerCase())?(e.pathname=e.pathname.substring(r.length),e.basename=r,""===e.pathname&&(e.pathname="/")):e.basename=""),e):e},u=function(e){if(!r)return e;var t="string"==typeof e?(0,s.parsePath)(e):e,n=t.pathname,i="/"===r.slice(-1)?r:r+"/",a="/"===n.charAt(0)?n.slice(1):n,u=i+a;return o({},t,{pathname:u})},l=function(){return i(n.getCurrentLocation())},c=function(e){return n.listenBefore(function(t,n){return(0,a.default)(e,i(t),n)})},d=function(e){return n.listen(function(t){return e(i(t))})},f=function(e){return n.push(u(e))},p=function(e){return n.replace(u(e))},h=function(e){return n.createPath(u(e))},m=function(e){return n.createHref(u(e))},v=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];return i(n.createLocation.apply(n,[u(e)].concat(r)))};return o({},n,{getCurrentLocation:l,listenBefore:c,listen:d,push:f,replace:p,createPath:h,createHref:m,createLocation:v})}};t.default=u},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(970),a=n(264),s=r(a),u=n(113),l=n(79),c=function(e){return(0,i.stringify)(e).replace(/%20/g,"+")},d=i.parse,f=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e(t),r=t.stringifyQuery,i=t.parseQueryString;"function"!=typeof r&&(r=c),"function"!=typeof i&&(i=d);var a=function(e){return e?(null==e.query&&(e.query=i(e.search.substring(1))),e):e},f=function(e,t){if(null==t)return e;var n="string"==typeof e?(0,l.parsePath)(e):e,i=r(t),a=i?"?"+i:"";return o({},n,{search:a})},p=function(){return a(n.getCurrentLocation())},h=function(e){return n.listenBefore(function(t,n){return(0,s.default)(e,a(t),n)})},m=function(e){return n.listen(function(t){return e(a(t))})},v=function(e){return n.push(f(e,e.query))},g=function(e){return n.replace(f(e,e.query))},y=function(e){return n.createPath(f(e,e.query))},b=function(e){return n.createHref(f(e,e.query))},_=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];var i=n.createLocation.apply(n,[f(e,e.query)].concat(r));return e.query&&(i.query=(0,u.createQuery)(e.query)),a(i)};return o({},n,{getCurrentLocation:p,listenBefore:h,listen:m,push:v,replace:g,createPath:y,createHref:b,createLocation:_})}};t.default=f},,function(e,t){function n(e){var t=r.call(e);return"[object Function]"===t||"function"==typeof e&&"[object RegExp]"!==t||"undefined"!=typeof window&&(e===window.setTimeout||e===window.alert||e===window.confirm||e===window.prompt)}e.exports=n;var r=Object.prototype.toString},function(e,t,n){var r=n(97),o=n(71),i=r(o,"Set");e.exports=i},function(e,t,n){function r(e){var t=this.__data__=new o(e);this.size=t.size}var o=n(180),i=n(940),a=n(941),s=n(942),u=n(943),l=n(944);r.prototype.clear=i,r.prototype.delete=a,r.prototype.get=s,r.prototype.has=u,r.prototype.set=l,e.exports=r},function(e,t){function n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}e.exports=n},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}e.exports=n},function(e,t,n){function r(e,t){var n=a(e),r=!n&&i(e),c=!n&&!r&&s(e),f=!n&&!r&&!c&&l(e),p=n||r||c||f,h=p?o(e.length,String):[],m=h.length;for(var v in e)!t&&!d.call(e,v)||p&&("length"==v||c&&("offset"==v||"parent"==v)||f&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||u(v,m))||h.push(v);return h}var o=n(890),i=n(276),a=n(37),s=n(412),u=n(273),l=n(414),c=Object.prototype,d=c.hasOwnProperty;e.exports=r},function(e,t){function n(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}e.exports=n},function(e,t,n){function r(e,t){t=o(t,e);for(var n=0,r=t.length;null!=e&&n<r;)e=e[i(t[n++])];return n&&n==r?e:void 0}var o=n(403),i=n(187);e.exports=r},function(e,t,n){function r(e,t,n,a,s){return e===t||(null==e||null==t||!i(e)&&!i(t)?e!==e&&t!==t:o(e,t,n,a,r,s))}var o=n(877),i=n(98);e.exports=r},function(e,t,n){function r(e,t,n){var r=-1,d=i,f=e.length,p=!0,h=[],m=h;if(n)p=!1,d=a;else if(f>=c){var v=t?null:u(e);if(v)return l(v);p=!1,d=s,m=new o}else m=t?[]:h;e:for(;++r<f;){var g=e[r],y=t?t(g):g;if(g=n||0!==g?g:0,p&&y===y){for(var b=m.length;b--;)if(m[b]===y)continue e;t&&m.push(y),h.push(g)}else d(m,y,n)||(m!==h&&m.push(y),h.push(g))}return h}var o=n(181),i=n(267),a=n(268),s=n(184),u=n(898),l=n(275),c=200;e.exports=r},function(e,t,n){function r(e,t){return o(e)?e:i(e,t)?[e]:a(s(e))}var o=n(37),i=n(274),a=n(946),s=n(959);e.exports=r},function(e,t,n){var r=n(97),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},function(e,t,n){function r(e,t,n,r,l,c){var d=n&s,f=e.length,p=t.length;if(f!=p&&!(d&&p>f))return!1;var h=c.get(e);if(h&&c.get(t))return h==t;var m=-1,v=!0,g=n&u?new o:void 0;for(c.set(e,t),c.set(t,e);++m<f;){var y=e[m],b=t[m];if(r)var _=d?r(b,y,m,t,e,c):r(y,b,m,e,t,c);if(void 0!==_){if(_)continue;v=!1;break}if(g){if(!i(t,function(e,t){if(!a(g,t)&&(y===e||l(y,e,n,r,c)))return g.push(t)})){v=!1;break}}else if(y!==b&&!l(y,b,n,r,c)){v=!1;break}}return c.delete(e),c.delete(t),v}var o=n(181),i=n(867),a=n(184),s=1,u=2;e.exports=r},function(e,t){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(t,function(){return this}())},function(e,t){function n(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||r;return e===n}var r=Object.prototype;e.exports=n},function(e,t,n){function r(e){return e===e&&!o(e)}var o=n(115);e.exports=r},function(e,t){function n(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}e.exports=n},function(e,t){function n(e,t){return function(n){return e(t(n))}}e.exports=n},function(e,t){function n(e){if(null!=e){try{return o.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var r=Function.prototype,o=r.toString;e.exports=n},function(e,t,n){(function(e){var r=n(71),o=n(958),i="object"==typeof t&&t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===i,u=s?r.Buffer:void 0,l=u?u.isBuffer:void 0,c=l||o;e.exports=c}).call(t,n(203)(e))},function(e,t,n){function r(e){if(!i(e))return!1;var t=o(e);return t==s||t==u||t==a||t==l}var o=n(114),i=n(115),a="[object AsyncFunction]",s="[object Function]",u="[object GeneratorFunction]",l="[object Proxy]";e.exports=r},function(e,t,n){var r=n(881),o=n(272),i=n(933),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},function(e,t,n){function r(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(i);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(r.Cache||o),n}var o=n(266),i="Expected a function";r.Cache=o,e.exports=r},function(e,t){function n(){}e.exports=n},function(e,t,n){var r=n(271),o=n(96),i=n(402),a=n(147),s=o(function(e){return i(r(e,1,a,!0))});e.exports=s},function(e,t,n){var r=n(270),o=n(96),i=n(147),a=o(function(e,t){return i(e)?r(e,t):[]});e.exports=a},function(e,t){function n(e){return e.match(r)}var r=/-?\d+(\.\d+)?%?/g;e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1);t.default={propTypes:{prefixCls:r.PropTypes.string,strokeWidth:r.PropTypes.oneOfType([r.PropTypes.number,r.PropTypes.string]),strokeColor:r.PropTypes.string,trailWidth:r.PropTypes.oneOfType([r.PropTypes.number,r.PropTypes.string]),trailColor:r.PropTypes.string,strokeLinecap:r.PropTypes.oneOf(["round","square"]),style:r.PropTypes.object,className:r.PropTypes.string},getDefaultProps:function(){return{prefixCls:"rc-progress",strokeWidth:1,strokeColor:"#2db7f5",trailWidth:1,trailColor:"#D9D9D9",strokeLinecap:"round",className:""}},componentDidUpdate:function(){var e=Date.now();this.path.style.transitionDuration="0.3s, 0.3s",this.prevTimeStamp&&e-this.prevTimeStamp<100&&(this.path.style.transitionDuration="0s, 0s"),this.prevTimeStamp=Date.now()}},e.exports=t.default},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.getBase16Theme=t.createStyling=t.invertTheme=void 0;var i=n(219),a=o(i),s=n(10),u=o(s),l=n(548),c=o(l),d=n(105),f=o(d),p=n(859),h=o(p),m=n(341),v=r(m),g=n(965),y=o(g),b=n(968),_=o(b),w=n(861),C=o(w),x=n(974),E=v.default,T=(0,f.default)(E),k=function(e){return e<.25?1:e<.5?.9-e:1.1-e},S=(0,C.default)(_.default,x.rgb2yuv,function(e){var t=(0,c.default)(e,3),n=t[0],r=t[1],o=t[2];return[k(n),r,o]},x.yuv2rgb,y.default),M=function(e){return function(t){return{className:[t.className,e.className].filter(Boolean).join(" "),style:(0,u.default)({},t.style||{},e.style||{})}}},O=function(e,t){if(void 0===e)return t;if(void 0===t)return e;var n="undefined"==typeof e?"undefined":(0,a.default)(e),r="undefined"==typeof t?"undefined":(0,a.default)(t);switch(n){case"string":switch(r){case"string":return[t,e].filter(Boolean).join(" ");case"object":return M({className:e,style:t});case"function":return function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return M({className:e})(t.apply(void 0,[n].concat(o)))}}case"object":switch(r){case"string":return M({className:t,style:e});case"object":return(0,u.default)({},t,e);case"function":return function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return M({style:e})(t.apply(void 0,[n].concat(o)))}}case"function":switch(r){case"string":return function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return e.apply(void 0,[M(n)({className:t})].concat(o))};case"object":return function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return e.apply(void 0,[M(n)({style:t})].concat(o))};case"function":return function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return e.apply(void 0,[t.apply(void 0,[n].concat(o))].concat(o))}}}},A=function(e,t){var n=(0,f.default)(t);for(var r in e)n.indexOf(r)===-1&&n.push(r);return n.reduce(function(n,r){return n[r]=O(e[r],t[r]),n},{})},N=function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];if(null===t)return e;Array.isArray(t)||(t=[t]);var i=t.map(function(t){return e[t]}).filter(Boolean),s=i.reduce(function(e,t){return"string"==typeof t?e.className=[e.className,t].filter(Boolean).join(" "):"object"===("undefined"==typeof t?"undefined":(0,a.default)(t))?e.style=(0,u.default)({},e.style,t):"function"==typeof t&&(e=(0,u.default)({},e,t.apply(void 0,[e].concat(r)))),e},{className:"",style:{}});return s.className||delete s.className,0===(0,f.default)(s.style).length&&delete s.style,s},I=t.invertTheme=function(e){return(0,f.default)(e).reduce(function(t,n){return t[n]=/^base/.test(n)?S(e[n]):"scheme"===n?e[n]+":inverted":e[n],t},{})},P=(t.createStyling=(0,h.default)(function(e){for(var t=arguments.length,n=Array(t>3?t-3:0),r=3;r<t;r++)n[r-3]=arguments[r];var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=o.defaultBase16,s=void 0===a?E:a,l=o.base16Themes,c=void 0===l?null:l,d=P(i,c);d&&(i=(0,u.default)({},d,i));var p=T.reduce(function(e,t){return e[t]=i[t]||s[t],e},{}),m=(0,f.default)(i).reduce(function(e,t){return T.indexOf(t)===-1?(e[t]=i[t],e):e},{}),v=e(p),g=A(m,v);return(0,h.default)(N,2).apply(void 0,[g].concat(n))},3),t.getBase16Theme=function(e,t){if(e&&e.extend&&(e=e.extend),"string"==typeof e){var n=e.split(":"),r=(0,c.default)(n,2),o=r[0],i=r[1];e=(t||{})[o]||v[o],"inverted"===i&&(e=I(e))}return e&&e.hasOwnProperty("base00")?e:void 0})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.isSafari=t.isFirefox=void 0;var o=n(415),i=r(o);t.isFirefox=(0,i.default)(function(){return/firefox/i.test(navigator.userAgent)}),t.isSafari=(0,i.default)(function(){return Boolean(window.safari)})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){b.default.apply(void 0,["DragDropContext","backend"].concat(Array.prototype.slice.call(arguments)));var t=C(e),n=w(t);return function(e){var t,r,s=e.displayName||e.name||"Component",c=(r=t=function(t){function r(){return o(this,r),i(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return a(r,t),l(r,[{key:"getDecoratedComponentInstance",value:function(){return(0,m.default)(this.child,"In order to access an instance of the decorated component it can not be a stateless component."),this.child}},{key:"getManager",value:function(){return n.dragDropManager}},{key:"getChildContext",value:function(){return n}},{key:"render",value:function(){var t=this;return f.default.createElement(e,u({},this.props,{ref:function(e){return t.child=e}}))}}]),r}(d.Component),t.DecoratedComponent=e,t.displayName="DragDropContext("+s+")",t.childContextTypes=_,r);return(0,g.default)(c,e)}}Object.defineProperty(t,"__esModule",{value:!0}),t.unpackBackendForEs5Users=t.createChildContext=t.CHILD_CONTEXT_TYPES=void 0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){
-return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=s;var d=n(1),f=r(d),p=n(828),h=n(17),m=r(h),v=n(144),g=r(v),y=n(191),b=r(y),_=t.CHILD_CONTEXT_TYPES={dragDropManager:d.PropTypes.object.isRequired},w=t.createChildContext=function(e,t){return{dragDropManager:new p.DragDropManager(e,t)}},C=t.unpackBackendForEs5Users=function(e){var t=e;return"object"===("undefined"==typeof t?"undefined":c(t))&&"function"==typeof t.default&&(t=t.default),(0,m.default)("function"==typeof t,"Expected the backend to be a function or an ES6 module exporting a default function. Read more: http://react-dnd.github.io/react-dnd/docs-drag-drop-context.html"),t}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return t===e||null!==t&&null!==e&&(0,a.default)(t,e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(282),a=r(i)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t,n,r=e.DecoratedComponent,s=e.createHandler,h=e.createMonitor,m=e.createConnector,g=e.registerHandler,b=e.containerDisplayName,w=e.getType,x=e.collect,E=e.options,T=E.arePropsEqual,k=void 0===T?C.default:T,S=r.displayName||r.name||"Component",M=(n=t=function(e){function t(e,n){o(this,t);var r=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.handleChange=r.handleChange.bind(r),r.handleChildRef=r.handleChildRef.bind(r),(0,v.default)("object"===l(r.context.dragDropManager),"Could not find the drag and drop manager in the context of %s. Make sure to wrap the top-level component of your app with DragDropContext. Read more: http://react-dnd.github.io/react-dnd/docs-troubleshooting.html#could-not-find-the-drag-and-drop-manager-in-the-context",S,S),r.manager=r.context.dragDropManager,r.handlerMonitor=h(r.manager),r.handlerConnector=m(r.manager.getBackend()),r.handler=s(r.handlerMonitor),r.disposable=new p.SerialDisposable,r.receiveProps(e),r.state=r.getCurrentState(),r.dispose(),r}return a(t,e),c(t,[{key:"getHandlerId",value:function(){return this.handlerId}},{key:"getDecoratedComponentInstance",value:function(){return this.decoratedComponentInstance}},{key:"shouldComponentUpdate",value:function(e,t){return!k(e,this.props)||!(0,_.default)(t,this.state)}}]),c(t,[{key:"componentDidMount",value:function(){this.isCurrentlyMounted=!0,this.disposable=new p.SerialDisposable,this.currentType=null,this.receiveProps(this.props),this.handleChange()}},{key:"componentWillReceiveProps",value:function(e){k(e,this.props)||(this.receiveProps(e),this.handleChange())}},{key:"componentWillUnmount",value:function(){this.dispose(),this.isCurrentlyMounted=!1}},{key:"receiveProps",value:function(e){this.handler.receiveProps(e),this.receiveType(w(e))}},{key:"receiveType",value:function(e){if(e!==this.currentType){this.currentType=e;var t=g(e,this.handler,this.manager),n=t.handlerId,r=t.unregister;this.handlerId=n,this.handlerMonitor.receiveHandlerId(n),this.handlerConnector.receiveHandlerId(n);var o=this.manager.getMonitor(),i=o.subscribeToStateChange(this.handleChange,{handlerIds:[n]});this.disposable.setDisposable(new p.CompositeDisposable(new p.Disposable(i),new p.Disposable(r)))}}},{key:"handleChange",value:function(){if(this.isCurrentlyMounted){var e=this.getCurrentState();(0,_.default)(e,this.state)||this.setState(e)}}},{key:"dispose",value:function(){this.disposable.dispose(),this.handlerConnector.receiveHandlerId(null)}},{key:"handleChildRef",value:function(e){this.decoratedComponentInstance=e,this.handler.receiveComponent(e)}},{key:"getCurrentState",value:function(){var e=x(this.handlerConnector.hooks,this.handlerMonitor);return e}},{key:"render",value:function(){return f.default.createElement(r,u({},this.props,this.state,{ref:this.handleChildRef}))}}]),t}(d.Component),t.DecoratedComponent=r,t.displayName=b+"("+S+")",t.contextTypes={dragDropManager:d.PropTypes.object.isRequired},n);return(0,y.default)(M,r)}Object.defineProperty(t,"__esModule",{value:!0});var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=s;var d=n(1),f=r(d),p=n(821),h=n(61),m=(r(h),n(17)),v=r(m),g=n(144),y=r(g),b=n(282),_=r(b),w=n(427),C=r(w)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return"string"==typeof e||"symbol"===("undefined"==typeof e?"undefined":i(e))||t&&(0,s.default)(e)&&e.every(function(e){return o(e,!1)})}Object.defineProperty(t,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=o;var a=n(37),s=r(a)},function(e,t){"use strict";function n(e,t){if(e===t)return!0;if("object"!==("undefined"==typeof e?"undefined":r(e))||null===e||"object"!==("undefined"==typeof t?"undefined":r(t))||null===t)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(var i=Object.prototype.hasOwnProperty,a=0;a<n.length;a+=1){if(!i.call(t,n[a]))return!1;var s=e[n[a]],u=t[n[a]];if(s!==u||"object"===("undefined"==typeof s?"undefined":r(s))||"object"===("undefined"==typeof u?"undefined":r(u)))return!1}return!0}Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if("string"!=typeof e.type){var t=e.type.displayName||e.type.name||"the component";throw new Error("Only native element nodes can now be passed to React DnD connectors."+("You can either wrap "+t+" into a <div>, or turn it into a ")+"drag source or a drop target itself.")}}function i(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!(0,s.isValidElement)(t)){var r=t;return void e(r,n)}var i=t;o(i);var a=n?function(t){return e(t,n)}:e;return(0,l.default)(i,a)}}function a(e){var t={};return Object.keys(e).forEach(function(n){var r=e[n],o=i(r);t[n]=function(){return o}}),t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var s=n(1),u=n(994),l=r(u)},function(e,t){"use strict";function n(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var r={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},o=["Webkit","ms","Moz","O"];Object.keys(r).forEach(function(e){o.forEach(function(t){r[n(t,e)]=r[e]})});var i={background:{backgroundAttachment:!0,backgroundColor:!0,backgroundImage:!0,backgroundPositionX:!0,backgroundPositionY:!0,backgroundRepeat:!0},backgroundPosition:{backgroundPositionX:!0,backgroundPositionY:!0},border:{borderWidth:!0,borderStyle:!0,borderColor:!0},borderBottom:{borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0},borderLeft:{borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0},borderRight:{borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0},borderTop:{borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0},font:{fontStyle:!0,fontVariant:!0,fontWeight:!0,fontSize:!0,lineHeight:!0,fontFamily:!0},outline:{outlineWidth:!0,outlineStyle:!0,outlineColor:!0}},a={isUnitlessNumber:r,shorthandPropertyExpansions:i};e.exports=a},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=n(16),i=n(100),a=(n(11),function(){function e(t){r(this,e),this._callbacks=null,this._contexts=null,this._arg=t}return e.prototype.enqueue=function(e,t){this._callbacks=this._callbacks||[],this._callbacks.push(e),this._contexts=this._contexts||[],this._contexts.push(t)},e.prototype.notifyAll=function(){var e=this._callbacks,t=this._contexts,n=this._arg;if(e&&t){e.length!==t.length?o("24"):void 0,this._callbacks=null,this._contexts=null;for(var r=0;r<e.length;r++)e[r].call(t[r],n);e.length=0,t.length=0}},e.prototype.checkpoint=function(){return this._callbacks?this._callbacks.length:0},e.prototype.rollback=function(e){this._callbacks&&this._contexts&&(this._callbacks.length=e,this._contexts.length=e)},e.prototype.reset=function(){this._callbacks=null,this._contexts=null},e.prototype.destructor=function(){this.reset()},e}());e.exports=i.addPoolingTo(a)},function(e,t,n){"use strict";function r(e){return!!l.hasOwnProperty(e)||!u.hasOwnProperty(e)&&(s.test(e)?(l[e]=!0,!0):(u[e]=!0,!1))}function o(e,t){return null==t||e.hasBooleanValue&&!t||e.hasNumericValue&&isNaN(t)||e.hasPositiveNumericValue&&t<1||e.hasOverloadedBooleanValue&&t===!1}var i=n(117),a=(n(27),n(53),n(1062)),s=(n(14),new RegExp("^["+i.ATTRIBUTE_NAME_START_CHAR+"]["+i.ATTRIBUTE_NAME_CHAR+"]*$")),u={},l={},c={createMarkupForID:function(e){return i.ID_ATTRIBUTE_NAME+"="+a(e)},setAttributeForID:function(e,t){e.setAttribute(i.ID_ATTRIBUTE_NAME,t)},createMarkupForRoot:function(){return i.ROOT_ATTRIBUTE_NAME+'=""'},setAttributeForRoot:function(e){e.setAttribute(i.ROOT_ATTRIBUTE_NAME,"")},createMarkupForProperty:function(e,t){var n=i.properties.hasOwnProperty(e)?i.properties[e]:null;if(n){if(o(n,t))return"";var r=n.attributeName;return n.hasBooleanValue||n.hasOverloadedBooleanValue&&t===!0?r+'=""':r+"="+a(t)}return i.isCustomAttribute(e)?null==t?"":e+"="+a(t):null},createMarkupForCustomAttribute:function(e,t){return r(e)&&null!=t?e+"="+a(t):""},setValueForProperty:function(e,t,n){var r=i.properties.hasOwnProperty(t)?i.properties[t]:null;if(r){var a=r.mutationMethod;if(a)a(e,n);else{if(o(r,n))return void this.deleteValueForProperty(e,t);if(r.mustUseProperty)e[r.propertyName]=n;else{var s=r.attributeName,u=r.attributeNamespace;u?e.setAttributeNS(u,s,""+n):r.hasBooleanValue||r.hasOverloadedBooleanValue&&n===!0?e.setAttribute(s,""):e.setAttribute(s,""+n)}}}else if(i.isCustomAttribute(t))return void c.setValueForAttribute(e,t,n)},setValueForAttribute:function(e,t,n){if(r(t)){null==n?e.removeAttribute(t):e.setAttribute(t,""+n)}},deleteValueForAttribute:function(e,t){e.removeAttribute(t)},deleteValueForProperty:function(e,t){var n=i.properties.hasOwnProperty(t)?i.properties[t]:null;if(n){var r=n.mutationMethod;if(r)r(e,void 0);else if(n.mustUseProperty){var o=n.propertyName;n.hasBooleanValue?e[o]=!1:e[o]=""}else e.removeAttribute(n.attributeName)}else i.isCustomAttribute(t)&&e.removeAttribute(t)}};e.exports=c},function(e,t){"use strict";var n={hasCachedChildNodes:1};e.exports=n},function(e,t,n){"use strict";function r(){if(this._rootNodeID&&this._wrapperState.pendingUpdate){this._wrapperState.pendingUpdate=!1;var e=this._currentElement.props,t=s.getValue(e);null!=t&&o(this,Boolean(e.multiple),t)}}function o(e,t,n){var r,o,i=u.getNodeFromInstance(e).options;if(t){for(r={},o=0;o<n.length;o++)r[""+n[o]]=!0;for(o=0;o<i.length;o++){var a=r.hasOwnProperty(i[o].value);i[o].selected!==a&&(i[o].selected=a)}}else{for(r=""+n,o=0;o<i.length;o++)if(i[o].value===r)return void(i[o].selected=!0);i.length&&(i[0].selected=!0)}}function i(e){var t=this._currentElement.props,n=s.executeOnChange(t,e);return this._rootNodeID&&(this._wrapperState.pendingUpdate=!0),l.asap(r,this),n}var a=n(21),s=n(287),u=n(27),l=n(62),c=(n(14),!1),d={getHostProps:function(e,t){return a({},t,{onChange:e._wrapperState.onChange,value:void 0})},mountWrapper:function(e,t){var n=s.getValue(t);e._wrapperState={pendingUpdate:!1,initialValue:null!=n?n:t.defaultValue,listeners:null,onChange:i.bind(e),wasMultiple:Boolean(t.multiple)},void 0===t.value||void 0===t.defaultValue||c||(c=!0)},getSelectValueContext:function(e){return e._wrapperState.initialValue},postUpdateWrapper:function(e){var t=e._currentElement.props;e._wrapperState.initialValue=void 0;var n=e._wrapperState.wasMultiple;e._wrapperState.wasMultiple=Boolean(t.multiple);var r=s.getValue(t);null!=r?(e._wrapperState.pendingUpdate=!1,o(e,Boolean(t.multiple),r)):n!==Boolean(t.multiple)&&(null!=t.defaultValue?o(e,Boolean(t.multiple),t.defaultValue):o(e,Boolean(t.multiple),t.multiple?[]:""))}};e.exports=d},function(e,t){"use strict";var n,r={injectEmptyComponentFactory:function(e){n=e}},o={create:function(e){return n(e)}};o.injection=r,e.exports=o},function(e,t){"use strict";var n={logTopLevelRenders:!1};e.exports=n},function(e,t,n){"use strict";function r(e){return s?void 0:a("111",e.type),new s(e)}function o(e){return new u(e)}function i(e){return e instanceof u}var a=n(16),s=(n(11),null),u=null,l={injectGenericComponentClass:function(e){s=e},injectTextComponentClass:function(e){u=e}},c={createInternalComponent:r,createInstanceForText:o,isTextComponent:i,injection:l};e.exports=c},function(e,t,n){"use strict";function r(e){return i(document.documentElement,e)}var o=n(1021),i=n(838),a=n(387),s=n(388),u={hasSelectionCapabilities:function(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&"text"===e.type||"textarea"===t||"true"===e.contentEditable)},getSelectionInformation:function(){var e=s();return{focusedElem:e,selectionRange:u.hasSelectionCapabilities(e)?u.getSelection(e):null}},restoreSelection:function(e){var t=s(),n=e.focusedElem,o=e.selectionRange;t!==n&&r(n)&&(u.hasSelectionCapabilities(n)&&u.setSelection(n,o),a(n))},getSelection:function(e){var t;if("selectionStart"in e)t={start:e.selectionStart,end:e.selectionEnd};else if(document.selection&&e.nodeName&&"input"===e.nodeName.toLowerCase()){var n=document.selection.createRange();n.parentElement()===e&&(t={start:-n.moveStart("character",-e.value.length),end:-n.moveEnd("character",-e.value.length)})}else t=o.getOffsets(e);return t||{start:0,end:0}},setSelection:function(e,t){var n=t.start,r=t.end;if(void 0===r&&(r=n),"selectionStart"in e)e.selectionStart=n,e.selectionEnd=Math.min(r,e.value.length);else if(document.selection&&e.nodeName&&"input"===e.nodeName.toLowerCase()){var i=e.createTextRange();i.collapse(!0),i.moveStart("character",n),i.moveEnd("character",r-n),i.select()}else o.setOffsets(e,t)}};e.exports=u},function(e,t,n){"use strict";function r(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r++)if(e.charAt(r)!==t.charAt(r))return r;return e.length===t.length?-1:n}function o(e){return e?e.nodeType===D?e.documentElement:e.firstChild:null}function i(e){return e.getAttribute&&e.getAttribute(N)||""}function a(e,t,n,r,o){var i;if(w.logTopLevelRenders){var a=e._currentElement.props.child,s=a.type;i="React mount: "+("string"==typeof s?s:s.displayName||s.name),console.time(i)}var u=E.mountComponent(e,n,null,b(e,t),o,0);i&&console.timeEnd(i),e._renderedComponent._topLevelWrapper=e,F._mountImageIntoNode(u,t,e,r,n)}function s(e,t,n,r){var o=k.ReactReconcileTransaction.getPooled(!n&&_.useCreateElement);o.perform(a,null,e,t,o,n,r),k.ReactReconcileTransaction.release(o)}function u(e,t,n){for(E.unmountComponent(e,n),t.nodeType===D&&(t=t.documentElement);t.lastChild;)t.removeChild(t.lastChild)}function l(e){var t=o(e);if(t){var n=y.getInstanceFromNode(t);return!(!n||!n._hostParent)}}function c(e){return!(!e||e.nodeType!==P&&e.nodeType!==D&&e.nodeType!==R)}function d(e){var t=o(e),n=t&&y.getInstanceFromNode(t);return n&&!n._hostParent?n:null}function f(e){var t=d(e);return t?t._hostContainerInfo._topLevelWrapper:null}var p=n(16),h=n(116),m=n(117),v=n(124),g=n(193),y=(n(73),n(27)),b=n(1015),_=n(1017),w=n(435),C=n(148),x=(n(53),n(1031)),E=n(120),T=n(290),k=n(62),S=n(143),M=n(444),O=(n(11),n(197)),A=n(297),N=(n(14),m.ID_ATTRIBUTE_NAME),I=m.ROOT_ATTRIBUTE_NAME,P=1,D=9,R=11,j={},L=1,B=function(){this.rootID=L++};B.prototype.isReactComponent={},B.prototype.render=function(){return this.props.child},B.isReactTopLevelWrapper=!0;var F={TopLevelWrapper:B,_instancesByReactRootID:j,scrollMonitor:function(e,t){t()},_updateRootComponent:function(e,t,n,r,o){return F.scrollMonitor(r,function(){T.enqueueElementInternal(e,t,n),o&&T.enqueueCallbackInternal(e,o)}),e},_renderNewRootComponent:function(e,t,n,r){c(t)?void 0:p("37"),g.ensureScrollValueMonitoring();var o=M(e,!1);k.batchedUpdates(s,o,t,n,r);var i=o._instance.rootID;return j[i]=o,o},renderSubtreeIntoContainer:function(e,t,n,r){return null!=e&&C.has(e)?void 0:p("38"),F._renderSubtreeIntoContainer(e,t,n,r)},_renderSubtreeIntoContainer:function(e,t,n,r){T.validateCallback(r,"ReactDOM.render"),v.isValidElement(t)?void 0:p("39","string"==typeof t?" Instead of passing a string like 'div', pass React.createElement('div') or <div />.":"function"==typeof t?" Instead of passing a class like Foo, pass React.createElement(Foo) or <Foo />.":null!=t&&void 0!==t.props?" This may be caused by unintentionally loading two independent copies of React.":"");var a,s=v.createElement(B,{child:t});if(e){var u=C.get(e);a=u._processChildContext(u._context)}else a=S;var c=f(n);if(c){var d=c._currentElement,h=d.props.child;if(A(h,t)){var m=c._renderedComponent.getPublicInstance(),g=r&&function(){r.call(m)};return F._updateRootComponent(c,s,a,n,g),m}F.unmountComponentAtNode(n)}var y=o(n),b=y&&!!i(y),_=l(n),w=b&&!c&&!_,x=F._renderNewRootComponent(s,n,w,a)._renderedComponent.getPublicInstance();return r&&r.call(x),x},render:function(e,t,n){return F._renderSubtreeIntoContainer(null,e,t,n)},unmountComponentAtNode:function(e){c(e)?void 0:p("40");var t=f(e);if(!t){l(e),1===e.nodeType&&e.hasAttribute(I);return!1}return delete j[t._instance.rootID],k.batchedUpdates(u,t,e,!1),!0},_mountImageIntoNode:function(e,t,n,i,a){if(c(t)?void 0:p("41"),i){var s=o(t);if(x.canReuseMarkup(e,s))return void y.precacheNode(n,s);var u=s.getAttribute(x.CHECKSUM_ATTR_NAME);s.removeAttribute(x.CHECKSUM_ATTR_NAME);var l=s.outerHTML;s.setAttribute(x.CHECKSUM_ATTR_NAME,u);var d=e,f=r(d,l),m=" (client) "+d.substring(f-20,f+20)+"\n (server) "+l.substring(f-20,f+20);t.nodeType===D?p("42",m):void 0}if(t.nodeType===D?p("43"):void 0,a.useCreateElement){for(;t.lastChild;)t.removeChild(t.lastChild);h.insertTreeBefore(t,e,null)}else O(t,e),y.precacheNode(n,t.firstChild)}};e.exports=F},function(e,t,n){"use strict";var r=n(16),o=n(124),i=(n(11),{HOST:0,COMPOSITE:1,EMPTY:2,getType:function(e){return null===e||e===!1?i.EMPTY:o.isValidElement(e)?"function"==typeof e.type?i.COMPOSITE:i.HOST:void r("26",e)}});e.exports=i},function(e,t,n){"use strict";function r(e,t){return null==t?o("30"):void 0,null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}var o=n(16);n(11);e.exports=r},function(e,t){"use strict";function n(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}e.exports=n},function(e,t,n){"use strict";function r(e){for(var t;(t=e._renderedNodeType)===o.COMPOSITE;)e=e._renderedComponent;return t===o.HOST?e._renderedComponent:t===o.EMPTY?null:void 0}var o=n(439);e.exports=r},function(e,t,n){"use strict";function r(){return!i&&o.canUseDOM&&(i="textContent"in document.documentElement?"textContent":"innerText"),i}var o=n(36),i=null;e.exports=r},function(e,t,n){"use strict";function r(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""}function o(e){return"function"==typeof e&&"undefined"!=typeof e.prototype&&"function"==typeof e.prototype.mountComponent&&"function"==typeof e.prototype.receiveComponent}function i(e,t){var n;if(null===e||e===!1)n=l.create(i);else if("object"==typeof e){var s=e,u=s.type;if("function"!=typeof u&&"string"!=typeof u){var f="";f+=r(s._owner),a("130",null==u?u:typeof u,f)}"string"==typeof s.type?n=c.createInternalComponent(s):o(s.type)?(n=new s.type(s),n.getHostNode||(n.getHostNode=n.getNativeNode)):n=new d(s)}else"string"==typeof e||"number"==typeof e?n=c.createInstanceForText(e):a("131",typeof e);return n._mountIndex=0,n._mountImage=null,n}var a=n(16),s=n(21),u=n(1012),l=n(434),c=n(436),d=(n(1059),n(11),n(14),function(e){this.construct(e)});s(d.prototype,u,{_instantiateReactComponent:i}),e.exports=i},function(e,t){"use strict";function n(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!r[e.type]:"textarea"===t}var r={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};e.exports=n},function(e,t,n){"use strict";var r=n(36),o=n(196),i=n(197),a=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t};r.canUseDOM&&("textContent"in document.documentElement||(a=function(e,t){return 3===e.nodeType?void(e.nodeValue=t):void i(e,o(t))})),e.exports=a},function(e,t,n){"use strict";function r(e,t){return e&&"object"==typeof e&&null!=e.key?l.escape(e.key):t.toString(36)}function o(e,t,n,i){var f=typeof e;if("undefined"!==f&&"boolean"!==f||(e=null),null===e||"string"===f||"number"===f||"object"===f&&e.$$typeof===s)return n(i,e,""===t?c+r(e,0):t),1;var p,h,m=0,v=""===t?c:t+d;if(Array.isArray(e))for(var g=0;g<e.length;g++)p=e[g],h=v+r(p,g),m+=o(p,h,n,i);else{var y=u(e);if(y){var b,_=y.call(e);if(y!==e.entries)for(var w=0;!(b=_.next()).done;)p=b.value,h=v+r(p,w++),m+=o(p,h,n,i);else for(;!(b=_.next()).done;){var C=b.value;C&&(p=C[1],h=v+l.escape(C[0])+d+r(p,0),m+=o(p,h,n,i))}}else if("object"===f){var x="",E=String(e);a("31","[object Object]"===E?"object with keys {"+Object.keys(e).join(", ")+"}":E,x)}}return m}function i(e,t,n){return null==e?0:o(e,"",t,n)}var a=n(16),s=(n(73),n(1027)),u=n(1058),l=(n(11),n(286)),c=(n(14),"."),d=":";e.exports=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(10),i=r(o),a=n(1),s=r(a),u=function(e){var t=e.styling,n=e.arrowStyle,r=e.expanded,o=e.nodeType,a=e.onClick;return s.default.createElement("div",(0,i.default)({},t("arrowContainer",n),{onClick:a}),s.default.createElement("div",t(["arrow","arrowSign"],o,r,n),"▶","double"===n&&s.default.createElement("div",t(["arrowSign","arrowSignInner"]),"▶")))};u.propTypes={styling:a.PropTypes.func.isRequired,arrowStyle:a.PropTypes.oneOf(["single","double"]),expanded:a.PropTypes.bool.isRequired,nodeType:a.PropTypes.string.isRequired,onClick:a.PropTypes.func.isRequired},u.defaultProps={arrowStyle:"single"},t.default=u},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(10),i=r(o),a=n(136),s=r(a),u=n(1),l=r(u),c=n(1071),d=r(c),f=n(1067),p=r(f),h=n(1065),m=r(h),v=n(1066),g=r(v),y=n(1068),b=r(y),_=function(e){var t=e.getItemString,n=e.keyPath,r=e.labelRenderer,o=e.styling,a=e.value,u=e.valueRenderer,c=e.isCustomNode,f=(0,s.default)(e,["getItemString","keyPath","labelRenderer","styling","value","valueRenderer","isCustomNode"]),h=c(a)?"Custom":(0,d.default)(a),v={getItemString:t,key:n[0],keyPath:n,labelRenderer:r,nodeType:h,styling:o,value:a,valueRenderer:u},y=(0,i.default)({},f,v,{data:a,isCustomNode:c});switch(h){case"Object":case"Error":case"WeakMap":case"WeakSet":return l.default.createElement(p.default,y);case"Array":return l.default.createElement(m.default,y);case"Iterable":case"Map":case"Set":return l.default.createElement(g.default,y);case"String":return l.default.createElement(b.default,(0,i.default)({},v,{valueGetter:function(e){return'"'+e+'"'}}));case"Number":return l.default.createElement(b.default,v);case"Boolean":return l.default.createElement(b.default,(0,i.default)({},v,{valueGetter:function(e){return e?"true":"false"}}));case"Date":return l.default.createElement(b.default,(0,i.default)({},v,{valueGetter:function(e){return e.toISOString()}}));case"Null":return l.default.createElement(b.default,(0,i.default)({},v,{valueGetter:function(){return"null"}}));case"Undefined":return l.default.createElement(b.default,(0,i.default)({},v,{valueGetter:function(){return"undefined"}}));case"Function":case"Symbol":return l.default.createElement(b.default,(0,i.default)({},v,{valueGetter:function(e){return e.toString()}}));case"Custom":return l.default.createElement(b.default,v);default:return null}};_.propTypes={getItemString:u.PropTypes.func.isRequired,keyPath:u.PropTypes.arrayOf(u.PropTypes.oneOfType([u.PropTypes.string,u.PropTypes.number])).isRequired,labelRenderer:u.PropTypes.func.isRequired,styling:u.PropTypes.func.isRequired,value:u.PropTypes.any,valueRenderer:u.PropTypes.func.isRequired,isCustomNode:u.PropTypes.func.isRequired},t.default=_},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={getArrowStyle:"arrow",getListStyle:"nestedNodeChildren",getItemStringStyle:"nestedNodeItemString",getLabelStyle:"label",getValueStyle:"valueText"},r=(0,b.default)(n).filter(function(e){return t[e]});return r.length>0&&(e="string"==typeof e?{extend:e}:(0,g.default)({},e),r.forEach(function(r){console.error('Styling method "'+r+'" is deprecated, use "theme" property instead'),e[n[r]]=function(e){for(var n=arguments.length,o=Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];var a=e.style;return{style:(0,g.default)({},a,t[r].apply(t,o))}}})),e}function i(e){var t=o(e.theme,e);return e.invertTheme&&("string"==typeof t?t+=":inverted":t&&t.extend?t="string"==typeof t?(0,g.default)({},t,{extend:t.extend+":inverted"}):(0,g.default)({},t,{extend:(0,k.invertTheme)(t.extend)}):t&&(t=(0,k.invertTheme)(t))),{styling:(0,T.default)(t)}}t.__esModule=!0,t.default=void 0;var a,s,u=n(136),l=r(u),c=n(3),d=r(c),f=n(8),p=r(f),h=n(6),m=r(h),v=n(10),g=r(v),y=n(105),b=r(y),_=n(1),w=r(_),C=n(449),x=r(C),E=n(1069),T=r(E),k=n(421),S=function(e){return e},M=function(e,t,n){return 0===n},O=function(e,t,n,r){return w.default.createElement("span",null,n," ",r)},A=function(e){var t=e[0];return w.default.createElement("span",null,t,":")},N=function(){return!1},I=(s=a=function(e){function t(n){(0,d.default)(this,t);var r=(0,p.default)(this,e.call(this,n));return r.state=i(n),r}return(0,m.default)(t,e),t.prototype.componentWillReceiveProps=function(e){var t=this;["theme","invertTheme"].find(function(n){return e[n]!==t.props[n]})&&this.setState(i(e))},t.prototype.shouldComponentUpdate=function(e){var t=this;return!!(0,b.default)(e).find(function(n){return"keyPath"===n?e[n].join("/")!==t.props[n].join("/"):e[n]!==t.props[n]})},t.prototype.render=function(){var e=this.props,t=e.data,n=e.keyPath,r=e.postprocessValue,o=e.hideRoot,i=(e.theme,e.invertTheme,(0,l.default)(e,["data","keyPath","postprocessValue","hideRoot","theme","invertTheme"])),a=this.state.styling;return w.default.createElement("ul",a("tree"),w.default.createElement(x.default,(0,g.default)({},(0,g.default)({postprocessValue:r,hideRoot:o,styling:a},i),{keyPath:o?[]:n,value:r(t)})))},t}(w.default.Component),a.propTypes={data:_.PropTypes.oneOfType([_.PropTypes.array,_.PropTypes.object]).isRequired,hideRoot:_.PropTypes.bool,theme:_.PropTypes.oneOfType([_.PropTypes.object,_.PropTypes.string]),invertTheme:_.PropTypes.bool,keyPath:_.PropTypes.arrayOf(_.PropTypes.oneOfType([_.PropTypes.string,_.PropTypes.number])),postprocessValue:_.PropTypes.func,sortObjectKeys:_.PropTypes.oneOfType([_.PropTypes.func,_.PropTypes.bool])},a.defaultProps={shouldExpandNode:M,hideRoot:!1,keyPath:["root"],getItemString:O,labelRenderer:A,valueRenderer:S,postprocessValue:S,isCustomNode:N,collectionLimit:50,invertTheme:!0},s);t.default=I},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function u(){}function l(e,t){var n={run:function(r){try{var o=e(t.getState(),r);(o!==n.props||n.error)&&(n.shouldComponentUpdate=!0,n.props=o,n.error=null)}catch(e){n.shouldComponentUpdate=!0,n.error=e}}};return n}function c(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=r.getDisplayName,f=void 0===c?function(e){return"ConnectAdvanced("+e+")"}:c,h=r.methodName,g=void 0===h?"connectAdvanced":h,C=r.renderCountProp,x=void 0===C?void 0:C,E=r.shouldHandleStateChanges,T=void 0===E||E,k=r.storeKey,S=void 0===k?"store":k,M=r.withRef,O=void 0!==M&&M,A=s(r,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef"]),N=S+"Subscription",I=_++,P=(t={},t[S]=b.storeShape,t[N]=b.subscriptionShape,t),D=(n={},n[N]=b.subscriptionShape,n);return function(t){(0,m.default)("function"==typeof t,"You must pass a component to the function returned by connect. Instead received "+JSON.stringify(t));var n=t.displayName||t.name||"Component",r=f(n),s=d({},A,{getDisplayName:f,methodName:g,renderCountProp:x,shouldHandleStateChanges:T,storeKey:S,withRef:O,displayName:r,wrappedComponentName:n,WrappedComponent:t}),c=function(n){function c(e,t){o(this,c);var a=i(this,n.call(this,e,t));return a.version=I,a.state={},a.renderCount=0,a.store=e[S]||t[S],a.propsMode=Boolean(e[S]),a.setWrappedInstance=a.setWrappedInstance.bind(a),(0,m.default)(a.store,'Could not find "'+S+'" in either the context or props of '+('"'+r+'". Either wrap the root component in a <Provider>, ')+('or explicitly pass "'+S+'" as a prop to "'+r+'".')),a.initSelector(),a.initSubscription(),a}return a(c,n),c.prototype.getChildContext=function(){var e,t=this.propsMode?null:this.subscription;return e={},e[N]=t||this.context[N],e},c.prototype.componentDidMount=function(){T&&(this.subscription.trySubscribe(),this.selector.run(this.props),this.selector.shouldComponentUpdate&&this.forceUpdate())},c.prototype.componentWillReceiveProps=function(e){this.selector.run(e)},c.prototype.shouldComponentUpdate=function(){return this.selector.shouldComponentUpdate},c.prototype.componentWillUnmount=function(){this.subscription&&this.subscription.tryUnsubscribe(),this.subscription=null,this.notifyNestedSubs=u,this.store=null,this.selector.run=u,this.selector.shouldComponentUpdate=!1},c.prototype.getWrappedInstance=function(){return(0,m.default)(O,"To access the wrapped instance, you need to specify "+("{ withRef: true } in the options argument of the "+g+"() call.")),this.wrappedInstance},c.prototype.setWrappedInstance=function(e){this.wrappedInstance=e},c.prototype.initSelector=function(){
-var t=e(this.store.dispatch,s);this.selector=l(t,this.store),this.selector.run(this.props)},c.prototype.initSubscription=function(){if(T){var e=(this.propsMode?this.props:this.context)[N];this.subscription=new y.default(this.store,e,this.onStateChange.bind(this)),this.notifyNestedSubs=this.subscription.notifyNestedSubs.bind(this.subscription)}},c.prototype.onStateChange=function(){this.selector.run(this.props),this.selector.shouldComponentUpdate?(this.componentDidUpdate=this.notifyNestedSubsOnComponentDidUpdate,this.setState(w)):this.notifyNestedSubs()},c.prototype.notifyNestedSubsOnComponentDidUpdate=function(){this.componentDidUpdate=void 0,this.notifyNestedSubs()},c.prototype.isSubscribed=function(){return Boolean(this.subscription)&&this.subscription.isSubscribed()},c.prototype.addExtraProps=function(e){if(!(O||x||this.propsMode&&this.subscription))return e;var t=d({},e);return O&&(t.ref=this.setWrappedInstance),x&&(t[x]=this.renderCount++),this.propsMode&&this.subscription&&(t[N]=this.subscription),t},c.prototype.render=function(){var e=this.selector;if(e.shouldComponentUpdate=!1,e.error)throw e.error;return(0,v.createElement)(t,this.addExtraProps(e.props))},c}(v.Component);return c.WrappedComponent=t,c.displayName=r,c.childContextTypes=D,c.contextTypes=P,c.propTypes=P,(0,p.default)(c,t)}}t.__esModule=!0;var d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=c;var f=n(144),p=r(f),h=n(17),m=r(h),v=n(1),g=n(1082),y=r(g),b=n(453),_=0,w={}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return function(t,n){function r(){return o}var o=e(t,n);return r.dependsOnOwnProps=!1,r}}function i(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function a(e,t){return function(t,n){var r=(n.displayName,function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)});return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=i(e);var o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=i(o),o=r(t,n)),o},r}}t.__esModule=!0,t.wrapMapToPropsConstant=o,t.getDependsOnOwnProps=i,t.wrapMapToPropsFunc=a;var s=n(454);r(s)},function(e,t,n){"use strict";t.__esModule=!0,t.storeShape=t.subscriptionShape=void 0;var r=n(1);t.subscriptionShape=r.PropTypes.shape({trySubscribe:r.PropTypes.func.isRequired,tryUnsubscribe:r.PropTypes.func.isRequired,notifyNestedSubs:r.PropTypes.func.isRequired,isSubscribed:r.PropTypes.func.isRequired}),t.storeShape=r.PropTypes.shape({subscribe:r.PropTypes.func.isRequired,dispatch:r.PropTypes.func.isRequired,getState:r.PropTypes.func.isRequired})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){(0,a.default)(e)||(0,u.default)(n+"() in "+t+" must return a plain object. Instead received "+e+".")}t.__esModule=!0,t.default=o;var i=n(61),a=r(i),s=n(300),u=r(s)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e){return 0===e.button}function a(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function s(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0}function u(e,t){return"function"==typeof e?e(t.location):e}t.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=n(1),d=r(c),f=n(17),p=r(f),h=n(303),m=n(302),v=d.default.PropTypes,g=v.bool,y=v.object,b=v.string,_=v.func,w=v.oneOfType,C=d.default.createClass({displayName:"Link",mixins:[(0,m.ContextSubscriber)("router")],contextTypes:{router:h.routerShape},propTypes:{to:w([b,y,_]),activeStyle:y,activeClassName:b,onlyActiveOnIndex:g.isRequired,onClick:_,target:b},getDefaultProps:function(){return{onlyActiveOnIndex:!1,style:{}}},handleClick:function(e){if(this.props.onClick&&this.props.onClick(e),!e.defaultPrevented){var t=this.context.router;t?void 0:(0,p.default)(!1),!a(e)&&i(e)&&(this.props.target||(e.preventDefault(),t.push(u(this.props.to,t))))}},render:function(){var e=this.props,t=e.to,n=e.activeClassName,r=e.activeStyle,i=e.onlyActiveOnIndex,a=o(e,["to","activeClassName","activeStyle","onlyActiveOnIndex"]),c=this.context.router;if(c){if(!t)return d.default.createElement("a",a);var f=u(t,c);a.href=c.createHref(f),(n||null!=r&&!s(r))&&c.isActive(f,i)&&(n&&(a.className?a.className+=" "+n:a.className=n),r&&(a.style=l({},a.style,r)))}return d.default.createElement("a",l({},a,{onClick:this.handleClick}))}});t.default=C,e.exports=t.default},function(e,t){"use strict";function n(e){return e&&"function"==typeof e.then}t.__esModule=!0,t.isPromise=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(1),i=r(o),a=n(17),s=r(a),u=n(80),l=n(122),c=n(150),d=i.default.PropTypes,f=d.string,p=d.object,h=i.default.createClass({displayName:"Redirect",statics:{createRouteFromReactElement:function(e){var t=(0,u.createRouteFromReactElement)(e);return t.from&&(t.path=t.from),t.onEnter=function(e,n){var r=e.location,o=e.params,i=void 0;if("/"===t.to.charAt(0))i=(0,l.formatPattern)(t.to,o);else if(t.to){var a=e.routes.indexOf(t),s=h.getRoutePattern(e.routes,a-1),u=s.replace(/\/*$/,"/")+t.to;i=(0,l.formatPattern)(u,o)}else i=r.pathname;n({pathname:i,query:t.query||r.query,state:t.state||r.state})},t},getRoutePattern:function(e,t){for(var n="",r=t;r>=0;r--){var o=e[r],i=o.path||"";if(n=i.replace(/\/*$/,"/")+n,0===i.indexOf("/"))break}return"/"+n}},propTypes:{path:f,from:f,to:f.isRequired,query:p,state:p,onEnter:c.falsy,children:c.falsy},render:function(){(0,s.default)(!1)}});t.default=h,e.exports=t.default},function(e,t){"use strict";function n(e,t,n){var i=o({},e,{setRouteLeaveHook:t.listenBeforeLeavingRoute,isActive:t.isActive});return r(i,n)}function r(e,t){var n=t.location,r=t.params,o=t.routes;return e.location=n,e.params=r,e.routes=o,e}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.createRouterObject=n,t.assignRouterState=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=(0,c.default)(e),n=function(){return t},r=(0,a.default)((0,u.default)(n))(e);return r}t.__esModule=!0,t.default=o;var i=n(391),a=r(i),s=n(390),u=r(s),l=n(855),c=r(l);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=void 0;return s&&(t=(0,a.default)(e)()),t}t.__esModule=!0,t.default=o;var i=n(463),a=r(i),s=!("undefined"==typeof window||!window.document||!window.document.createElement);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!0;return!1}function i(e,t){function n(t,n){return t=e.createLocation(t),(0,f.default)(t,n,b.location,b.routes,b.params)}function r(e,n){_&&_.location===e?i(_,n):(0,v.default)(t,e,function(t,r){t?n(t):r?i(a({},r,{location:e}),n):n()})}function i(e,t){function n(n,o){return n||o?r(n,o):void(0,h.default)(e,function(n,r){n?t(n):t(null,null,b=a({},e,{components:r}))})}function r(e,n){e?t(e):t(null,n)}var o=(0,l.default)(b,e),i=o.leaveRoutes,s=o.changeRoutes,u=o.enterRoutes;(0,c.runLeaveHooks)(i,b),i.filter(function(e){return u.indexOf(e)===-1}).forEach(m),(0,c.runChangeHooks)(s,b,e,function(t,o){return t||o?r(t,o):void(0,c.runEnterHooks)(u,e,n)})}function s(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.__id__||t&&(e.__id__=w++)}function u(e){return e.map(function(e){return C[s(e)]}).filter(function(e){return e})}function d(e,n){(0,v.default)(t,e,function(t,r){if(null==r)return void n();_=a({},r,{location:e});for(var o=u((0,l.default)(b,_).leaveRoutes),i=void 0,s=0,c=o.length;null==i&&s<c;++s)i=o[s](e);n(i)})}function p(){if(b.routes){for(var e=u(b.routes),t=void 0,n=0,r=e.length;"string"!=typeof t&&n<r;++n)t=e[n]();return t}}function m(e){var t=s(e);t&&(delete C[t],o(C)||(x&&(x(),x=null),E&&(E(),E=null)))}function g(t,n){var r=!o(C),i=s(t,!0);return C[i]=n,r&&(x=e.listenBefore(d),e.listenBeforeUnload&&(E=e.listenBeforeUnload(p))),function(){m(t)}}function y(t){function n(n){b.location===n?t(null,b):r(n,function(n,r,o){n?t(n):r?e.replace(r):o&&t(null,o)})}var o=e.listen(n);return b.location?t(null,b):n(e.getCurrentLocation()),o}var b={},_=void 0,w=1,C=Object.create(null),x=void 0,E=void 0;return{isActive:n,match:r,listenBeforeLeavingRoute:g,listen:y}}t.__esModule=!0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=i;var s=n(123),u=(r(s),n(1092)),l=r(u),c=n(1089),d=n(1096),f=r(d),p=n(1093),h=r(p),m=n(1098),v=r(m);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.createMemoryHistory=t.hashHistory=t.browserHistory=t.applyRouterMiddleware=t.formatPattern=t.useRouterHistory=t.match=t.routerShape=t.locationShape=t.RouterContext=t.createRoutes=t.Route=t.Redirect=t.IndexRoute=t.IndexRedirect=t.withRouter=t.IndexLink=t.Link=t.Router=void 0;var o=n(80);Object.defineProperty(t,"createRoutes",{enumerable:!0,get:function(){return o.createRoutes}});var i=n(303);Object.defineProperty(t,"locationShape",{enumerable:!0,get:function(){return i.locationShape}}),Object.defineProperty(t,"routerShape",{enumerable:!0,get:function(){return i.routerShape}});var a=n(122);Object.defineProperty(t,"formatPattern",{enumerable:!0,get:function(){return a.formatPattern}});var s=n(1088),u=r(s),l=n(455),c=r(l),d=n(1084),f=r(d),p=n(1099),h=r(p),m=n(1085),v=r(m),g=n(1086),y=r(g),b=n(457),_=r(b),w=n(1087),C=r(w),x=n(304),E=r(x),T=n(1097),k=r(T),S=n(463),M=r(S),O=n(1090),A=r(O),N=n(1091),I=r(N),P=n(1095),D=r(P),R=n(459),j=r(R);t.Router=u.default,t.Link=c.default,t.IndexLink=f.default,t.withRouter=h.default,t.IndexRedirect=v.default,t.IndexRoute=y.default,t.Redirect=_.default,t.Route=C.default,t.RouterContext=E.default,t.match=k.default,t.useRouterHistory=M.default,t.applyRouterMiddleware=A.default,t.browserHistory=I.default,t.hashHistory=D.default,t.createMemoryHistory=j.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return function(t){var n=(0,a.default)((0,u.default)(e))(t);return n}}t.__esModule=!0,t.default=o;var i=n(391),a=r(i),s=n(390),u=r(s);e.exports=t.default},function(e,t){function n(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},function(e,t){function n(e){return!!e&&"object"==typeof e}e.exports=n},function(e,t,n){"use strict";function r(e){var t=Function.prototype.toString,n=Object.prototype.hasOwnProperty,r=RegExp("^"+t.call(n).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");try{var o=t.call(e);return r.test(o)}catch(e){return!1}}function o(e){var t=l(e);if(t){var n=t.childIDs;c(e),n.forEach(o)}}function i(e,t,n){return"\n    in "+(e||"Unknown")+(t?" (at "+t.fileName.replace(/^.*[\\\/]/,"")+":"+t.lineNumber+")":n?" (created by "+n+")":"")}function a(e){return null==e?"#empty":"string"==typeof e||"number"==typeof e?"#text":"string"==typeof e.type?e.type:e.type.displayName||e.type.name||"Unknown"}function s(e){var t,n=T.getDisplayName(e),r=T.getElement(e),o=T.getOwnerID(e);return o&&(t=T.getDisplayName(o)),i(n,r&&r._source,t)}var u,l,c,d,f,p,h,m=n(126),v=n(73),g=(n(11),n(14),"function"==typeof Array.from&&"function"==typeof Map&&r(Map)&&null!=Map.prototype&&"function"==typeof Map.prototype.keys&&r(Map.prototype.keys)&&"function"==typeof Set&&r(Set)&&null!=Set.prototype&&"function"==typeof Set.prototype.keys&&r(Set.prototype.keys));if(g){var y=new Map,b=new Set;u=function(e,t){y.set(e,t)},l=function(e){return y.get(e)},c=function(e){y.delete(e)},d=function(){return Array.from(y.keys())},f=function(e){b.add(e)},p=function(e){b.delete(e)},h=function(){return Array.from(b.keys())}}else{var _={},w={},C=function(e){return"."+e},x=function(e){return parseInt(e.substr(1),10)};u=function(e,t){var n=C(e);_[n]=t},l=function(e){var t=C(e);return _[t]},c=function(e){var t=C(e);delete _[t]},d=function(){return Object.keys(_).map(x)},f=function(e){var t=C(e);w[t]=!0},p=function(e){var t=C(e);delete w[t]},h=function(){return Object.keys(w).map(x)}}var E=[],T={onSetChildren:function(e,t){var n=l(e);n?void 0:m("144"),n.childIDs=t;for(var r=0;r<t.length;r++){var o=t[r],i=l(o);i?void 0:m("140"),null==i.childIDs&&"object"==typeof i.element&&null!=i.element?m("141"):void 0,i.isMounted?void 0:m("71"),null==i.parentID&&(i.parentID=e),i.parentID!==e?m("142",o,i.parentID,e):void 0}},onBeforeMountComponent:function(e,t,n){var r={element:t,parentID:n,text:null,childIDs:[],isMounted:!1,updateCount:0};u(e,r)},onBeforeUpdateComponent:function(e,t){var n=l(e);n&&n.isMounted&&(n.element=t)},onMountComponent:function(e){var t=l(e);t?void 0:m("144"),t.isMounted=!0;var n=0===t.parentID;n&&f(e)},onUpdateComponent:function(e){var t=l(e);t&&t.isMounted&&t.updateCount++},onUnmountComponent:function(e){var t=l(e);if(t){t.isMounted=!1;var n=0===t.parentID;n&&p(e)}E.push(e)},purgeUnmountedComponents:function(){if(!T._preventPurging){for(var e=0;e<E.length;e++){var t=E[e];o(t)}E.length=0}},isMounted:function(e){var t=l(e);return!!t&&t.isMounted},getCurrentStackAddendum:function(e){var t="";if(e){var n=a(e),r=e._owner;t+=i(n,e._source,r&&r.getName())}var o=v.current,s=o&&o._debugID;return t+=T.getStackAddendumByID(s)},getStackAddendumByID:function(e){for(var t="";e;)t+=s(e),e=T.getParentID(e);return t},getChildIDs:function(e){var t=l(e);return t?t.childIDs:[]},getDisplayName:function(e){var t=T.getElement(e);return t?a(t):null},getElement:function(e){var t=l(e);return t?t.element:null},getOwnerID:function(e){var t=T.getElement(e);return t&&t._owner?t._owner._debugID:null},getParentID:function(e){var t=l(e);return t?t.parentID:null},getSource:function(e){var t=l(e),n=t?t.element:null,r=null!=n?n._source:null;return r},getText:function(e){var t=T.getElement(e);return"string"==typeof t?t:"number"==typeof t?""+t:null},getUpdateCount:function(e){var t=l(e);return t?t.updateCount:0},getRootIDs:h,getRegisteredIDs:d};e.exports=T},function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;e.exports=n},function(e,t,n){"use strict";var r={};e.exports=r},function(e,t,n){"use strict";var r=!1;e.exports=r},function(e,t){"use strict";function n(e){var t=e&&(r&&e[r]||e[o]);if("function"==typeof t)return t}var r="function"==typeof Symbol&&Symbol.iterator,o="@@iterator";e.exports=n},function(e,t){"use strict";function n(){return{type:a}}function r(){return{type:s}}function o(e){return{type:u,size:e}}function i(){return{type:l}}t.__esModule=!0,t.toggleVisibility=n,t.changePosition=r,t.changeSize=o,t.changeMonitor=i;var a=t.TOGGLE_VISIBILITY="@@redux-devtools-log-monitor/TOGGLE_VISIBILITY",s=t.CHANGE_POSITION="@@redux-devtools-log-monitor/CHANGE_POSITION",u=t.CHANGE_SIZE="@@redux-devtools-log-monitor/CHANGE_SIZE",l=t.CHANGE_MONITOR="@@redux-devtools-log-monitor/CHANGE_MONITOR"},function(e,t){"use strict";t.__esModule=!0;t.POSITIONS=["left","top","right","bottom"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r=n,o=void 0;try{r=e(n,t)}catch(e){o=e.toString(),"object"===("undefined"==typeof window?"undefined":p(window))&&("undefined"!=typeof window.chrome||"undefined"!=typeof window.process&&"renderer"===window.process.type)?setTimeout(function(){throw e}):console.error(e)}return{state:r,error:o}}function i(e,t,n,r){return r?o(e,t,n):{state:e(n,t)}}function a(e,t,n,r,o,a,s,u){if(!e||t===-1||t>=e.length&&e.length===a.length)return e;for(var l=e.slice(0,t),c=t;c<a.length;c++){var d=a[c],f=o[d].action,p=l[c-1],h=p?p.state:r,m=s.indexOf(d)>-1,v=void 0;v=m?p:u&&p&&p.error?{state:h,error:"Interrupted by an error up the chain"}:i(n,f,h,u),l.push(v)}return l}function s(e){return x.performAction(e)}function u(e,t,n,r){var o={monitorState:n(void 0,{}),nextActionId:1,actionsById:{0:s(E)},stagedActionIds:[0],skippedActionIds:[],committedState:t,currentStateIndex:0,computedStates:[],isLocked:r.shouldStartLocked===!0,isPaused:r.shouldRecordChanges===!1};return function(u,l){function c(e){for(var t=e,n=b.slice(1,t+1),r=0;r<n.length;r++){if(T[r+1].error){t=r,n=b.slice(1,t+1);break}delete v[n[r]]}_=_.filter(function(e){return n.indexOf(e)===-1}),b=[0].concat(b.slice(t+1)),w=T[t].state,T=T.slice(t),x=x>t?x-t:0}function d(t){var o,a=void 0;return t?(a=T[x],h=n(h,l)):a=i(e,l.action,T[x].state,!1),r.pauseActionType&&1!==y?(t&&(x===b.length-1&&x++,b=[].concat(b,[y]),y++),{monitorState:h,actionsById:f({},v,(o={},o[y-1]=s({type:r.pauseActionType}),o)),nextActionId:y,stagedActionIds:b,skippedActionIds:_,committedState:w,currentStateIndex:x,computedStates:[].concat(T.slice(0,b.length-1),[a]),isLocked:k,isPaused:!0}):{monitorState:h,actionsById:{0:s(E)},nextActionId:1,stagedActionIds:[0],skippedActionIds:[],committedState:a.state,currentStateIndex:0,computedStates:[a],isLocked:k,isPaused:!0}}var p=u||o,h=p.monitorState,v=p.actionsById,y=p.nextActionId,b=p.stagedActionIds,_=p.skippedActionIds,w=p.committedState,x=p.currentStateIndex,T=p.computedStates,k=p.isLocked,S=p.isPaused;u||(v=f({},v));var M=0;switch(l.type){case C.PERFORM_ACTION:if(k)return u||o;if(S)return d();r.maxAge&&b.length===r.maxAge&&c(1),x===b.length-1&&x++;var O=y++;v[O]=l,b=[].concat(b,[O]),M=b.length-1;break;case C.RESET:v={0:s(E)},y=1,b=[0],_=[],w=t,x=0,T=[];break;case C.COMMIT:v={0:s(E)},y=1,b=[0],_=[],w=T[x].state,x=0,T=[];break;case C.ROLLBACK:v={0:s(E)},y=1,b=[0],_=[],x=0,T=[];break;case C.TOGGLE_ACTION:var A=function(){var e=l.id,t=_.indexOf(e);return _=t===-1?[e].concat(_):_.filter(function(t){return t!==e}),M=b.indexOf(e),"break"}();if("break"===A)break;case C.SET_ACTIONS_ACTIVE:for(var N=l.start,I=l.end,P=l.active,D=[],R=N;R<I;R++)D.push(R);_=P?(0,m.default)(_,D):(0,g.default)(_,D),M=b.indexOf(N);break;case C.JUMP_TO_STATE:x=l.index,M=1/0;break;case C.JUMP_TO_ACTION:var j=b.indexOf(l.actionId);j!==-1&&(x=j),M=1/0;break;case C.SWEEP:b=(0,m.default)(b,_),_=[],x=Math.min(x,b.length-1);break;case C.REORDER_ACTION:var L=l.actionId,B=b.indexOf(L);if(B<1)break;var F=l.beforeActionId,U=b.indexOf(F);if(U<1){var H=b.length;U=F>b[H-1]?H:1}var z=B-U;z>0?(b=[].concat(b.slice(0,U),[L],b.slice(U,B),b.slice(B+1)),M=U):z<0&&(b=[].concat(b.slice(0,B),b.slice(B+1,U),[L],b.slice(U)),M=B);break;case C.IMPORT_STATE:if(Array.isArray(l.nextLiftedState))v={0:s(E)},y=1,b=[0],_=[],x=l.nextLiftedState.length,T=[],w=l.preloadedState,M=0,l.nextLiftedState.forEach(function(e){v[y]=s(e),b.push(y),y++});else{var q=l.nextLiftedState;h=q.monitorState,v=q.actionsById,y=q.nextActionId,b=q.stagedActionIds,_=q.skippedActionIds,w=q.committedState,x=q.currentStateIndex,T=q.computedStates,l.noRecompute&&(M=1/0)}break;case C.LOCK_CHANGES:k=l.status,M=1/0;break;case C.PAUSE_RECORDING:if(S=l.status)return d(!0);v={0:s(E)},y=1,b=[0],_=[],w=T[x].state,x=0,T=[];break;case"@@redux/INIT":if(r.shouldHotReload===!1&&u)return u;M=0,r.maxAge&&b.length>r.maxAge&&(T=a(T,M,e,w,v,b,_,r.shouldCatchErrors),c(b.length-r.maxAge),M=1/0);break;default:M=1/0}return T=a(T,M,e,w,v,b,_,r.shouldCatchErrors),h=n(h,l),{monitorState:h,actionsById:v,nextActionId:y,stagedActionIds:b,skippedActionIds:_,committedState:w,currentStateIndex:x,computedStates:T,isLocked:k,isPaused:S}}}function l(e){var t=e.computedStates,n=e.currentStateIndex,r=t[n].state;return r}function c(e,t){function n(){var t=l(e.getState());return void 0!==t&&(o=t),o}var r,o=void 0;return f({},e,(r={liftedStore:e,dispatch:function(t){return e.dispatch(s(t)),t},getState:n,replaceReducer:function(n){e.replaceReducer(t(n))}},r[w.default]=function(){return f({},e[w.default](),{subscribe:function(t){function r(){t.next&&t.next(n())}if("object"!==("undefined"==typeof t?"undefined":p(t)))throw new TypeError("Expected the observer to be an object.");r();var o=e.subscribe(r);return{unsubscribe:o}}})},r))}function d(){var e=arguments.length<=0||void 0===arguments[0]?function(){return null}:arguments[0],t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];if(null!=t.maxAge&&t.maxAge<2)throw new Error("DevTools.instrument({ maxAge }) option, if specified, may not be less than 2.");return function(n){return function(r,o,i){function a(n){if("function"!=typeof n){if(n&&"function"==typeof n.default)throw new Error('Expected the reducer to be a function. Instead got an object with a "default" field. Did you pass a module instead of the default export? Try passing require(...).default instead.');throw new Error("Expected the reducer to be a function.")}return u(n,o,e,t)}var s=n(a(r),i);if(s.liftedStore)throw new Error("DevTools instrumentation should not be applied more than once. Check your store configuration.");return c(s,a)}}}t.__esModule=!0,t.INIT_ACTION=t.ActionCreators=t.ActionTypes=void 0;var f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};t.liftAction=s,t.liftReducerWith=u,t.unliftState=l,t.unliftStore=c,t.default=d;var h=n(950),m=r(h),v=n(417),g=r(v),y=n(61),b=r(y),_=n(477),w=r(_),C=t.ActionTypes={PERFORM_ACTION:"PERFORM_ACTION",RESET:"RESET",ROLLBACK:"ROLLBACK",COMMIT:"COMMIT",SWEEP:"SWEEP",TOGGLE_ACTION:"TOGGLE_ACTION",SET_ACTIONS_ACTIVE:"SET_ACTIONS_ACTIVE",JUMP_TO_STATE:"JUMP_TO_STATE",JUMP_TO_ACTION:"JUMP_TO_ACTION",REORDER_ACTION:"REORDER_ACTION",IMPORT_STATE:"IMPORT_STATE",LOCK_CHANGES:"LOCK_CHANGES",PAUSE_RECORDING:"PAUSE_RECORDING"},x=t.ActionCreators={performAction:function(e){if(!(0,b.default)(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if("undefined"==typeof e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');return{type:C.PERFORM_ACTION,action:e,timestamp:Date.now()}},reset:function(){return{type:C.RESET,timestamp:Date.now()}},rollback:function(){return{type:C.ROLLBACK,timestamp:Date.now()}},commit:function(){return{type:C.COMMIT,timestamp:Date.now()}},sweep:function(){return{type:C.SWEEP}},toggleAction:function(e){return{type:C.TOGGLE_ACTION,id:e}},setActionsActive:function(e,t){var n=arguments.length<=2||void 0===arguments[2]||arguments[2];return{type:C.SET_ACTIONS_ACTIVE,start:e,end:t,active:n}},reorderAction:function(e,t){return{type:C.REORDER_ACTION,actionId:e,beforeActionId:t}},jumpToState:function(e){return{type:C.JUMP_TO_STATE,index:e}},jumpToAction:function(e){return{type:C.JUMP_TO_ACTION,actionId:e}},importState:function(e,t){return{type:C.IMPORT_STATE,nextLiftedState:e,noRecompute:t}},lockChanges:function(e){return{type:C.LOCK_CHANGES,status:e}},pauseRecording:function(e){return{type:C.PAUSE_RECORDING,status:e}}},E=t.INIT_ACTION={type:"@@INIT"}},function(e,t){"use strict";function n(e){return{type:o,scrollTop:e}}function r(e){return{type:i,id:e}}t.__esModule=!0,t.updateScrollTop=n,t.startConsecutiveToggle=r;var o=t.UPDATE_SCROLL_TOP="@@redux-devtools-log-monitor/UPDATE_SCROLL_TOP",i=t.START_CONSECUTIVE_TOGGLE="@@redux-devtools-log-monitor/START_CONSECUTIVE_TOGGLE"},function(e,t){"use strict";function n(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(0===t.length)return function(e){return e};if(1===t.length)return t[0];var r=t[t.length-1],o=t.slice(0,-1);return function(){return o.reduceRight(function(e,t){return t(e)},r.apply(void 0,arguments))}}t.__esModule=!0,t.default=n},function(e,t){"use strict";function n(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e);try{throw new Error(e)}catch(e){}}t.__esModule=!0,t.default=n},function(e,t,n){e.exports=n(1147)},function(e,t){function n(e){return e.replace(/\n\r?\s*/g,"")}e.exports=function(e){for(var t="",r=0;r<arguments.length;r++)t+=n(e[r])+(arguments[r+1]||"");return t}},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(151),l=o(u),c=n(7),d=o(c),f=n(22),p=r(f),h=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.on(n,"volumechange",o.update),n.tech_&&n.tech_.featuresVolumeControl===!1&&o.addClass("vjs-hidden"),o.on(n,"loadstart",function(){this.update(),n.tech_.featuresVolumeControl===!1?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")}),o}return s(t,e),t.prototype.buildCSSClass=function(){return"vjs-mute-control "+e.prototype.buildCSSClass.call(this)},t.prototype.handleClick=function(e){this.player_.muted(!this.player_.muted())},t.prototype.update=function(e){var t=this.player_.volume(),n=3;0===t||this.player_.muted()?n=0:t<.33?n=1:t<.67&&(n=2);var r=this.player_.muted()?"Unmute":"Mute";this.controlText()!==r&&this.controlText(r);for(var o=0;o<4;o++)p.removeElClass(this.el_,"vjs-vol-"+o);p.addElClass(this.el_,"vjs-vol-"+n)},t}(l.default);h.prototype.controlText_="Mute",d.default.registerComponent("MuteToggle",h),t.default=h},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(483),l=o(u),c=n(7),d=o(c),f=n(19),p=r(f),h=function(e){function t(n,r){i(this,t);var o=r.tracks,s=a(this,e.call(this,n,r));if(s.items.length<=1&&s.hide(),!o)return a(s);var u=p.bind(s,s.update);return o.addEventListener("removetrack",u),o.addEventListener("addtrack",u),s.player_.on("dispose",function(){o.removeEventListener("removetrack",u),o.removeEventListener("addtrack",u)}),s}return s(t,e),t}(l.default);d.default.registerComponent("TrackButton",h),t.default=h},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(487),l=o(u),c=n(7),d=o(c),f=n(19),p=r(f);n(1180);var h=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.on(n,"volumechange",o.updateARIAAttributes),n.ready(p.bind(o,o.updateARIAAttributes)),o}return s(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-volume-bar vjs-slider-bar"},{"aria-label":"volume level"})},t.prototype.handleMouseMove=function(e){this.checkMuted(),this.player_.volume(this.calculateDistance(e))},t.prototype.checkMuted=function(){this.player_.muted()&&this.player_.muted(!1)},t.prototype.getPercent=function(){return this.player_.muted()?0:this.player_.volume()},t.prototype.stepForward=function(){this.checkMuted(),this.player_.volume(this.player_.volume()+.1)},t.prototype.stepBack=function(){this.checkMuted(),this.player_.volume(this.player_.volume()-.1)},t.prototype.updateARIAAttributes=function(e){var t=(100*this.player_.volume()).toFixed(2);this.el_.setAttribute("aria-valuenow",t),this.el_.setAttribute("aria-valuetext",t+"%")},t}(l.default);h.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"},h.prototype.playerEvent="volumechange",d.default.registerComponent("VolumeBar",h),t.default=h},function(e,t,n){"use strict";function r(e){return e instanceof r?e:("number"==typeof e?this.code=e:"string"==typeof e?this.message=e:(0,o.isObject)(e)&&("number"==typeof e.code&&(this.code=e.code),(0,o.assign)(this,e)),void(this.message||(this.message=r.defaultMessages[this.code]||"")))}t.__esModule=!0;var o=n(33);r.prototype.code=0,r.prototype.message="",r.prototype.status=null,r.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"],r.defaultMessages={1:"You aborted the media playback",2:"A network error caused the media download to fail part-way.",3:"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.",4:"The media could not be loaded, either because the server or network failed or because the format is not supported.",5:"The media is encrypted and we do not have the keys to decrypt it."};for(var i=0;i<r.errorTypes.length;i++)r[r.errorTypes[i]]=i,r.prototype[r.errorTypes[i]]=i;t.default=r},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(152),l=o(u),c=n(7),d=o(c),f=n(484),p=o(f),h=n(22),m=r(h),v=n(19),g=r(v),y=n(128),b=o(y),_=function(e){function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};i(this,t);var o=a(this,e.call(this,n,r));return o.update(),o.enabled_=!0,o.el_.setAttribute("aria-haspopup","true"),o.el_.setAttribute("role","menuitem"),o.on("keydown",o.handleSubmenuKeyPress),o}return s(t,e),t.prototype.update=function(){var e=this.createMenu();this.menu&&this.removeChild(this.menu),
-this.menu=e,this.addChild(e),this.buttonPressed_=!1,this.el_.setAttribute("aria-expanded","false"),this.items&&this.items.length<=this.hideThreshold_?this.hide():this.show()},t.prototype.createMenu=function(){var e=new p.default(this.player_);if(this.hideThreshold_=0,this.options_.title){var t=m.createEl("li",{className:"vjs-menu-title",innerHTML:(0,b.default)(this.options_.title),tabIndex:-1});this.hideThreshold_+=1,e.children_.unshift(t),m.insertElFirst(t,e.contentEl())}if(this.items=this.createItems(),this.items)for(var n=0;n<this.items.length;n++)e.addItem(this.items[n]);return e},t.prototype.createItems=function(){},t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},t.prototype.buildCSSClass=function(){var t="vjs-menu-button";return t+=this.options_.inline===!0?"-inline":"-popup","vjs-menu-button "+t+" "+e.prototype.buildCSSClass.call(this)},t.prototype.handleClick=function(e){this.one(this.menu.contentEl(),"mouseleave",g.bind(this,function(e){this.unpressButton(),this.el_.blur()})),this.buttonPressed_?this.unpressButton():this.pressButton()},t.prototype.handleKeyPress=function(t){27===t.which||9===t.which?(this.buttonPressed_&&this.unpressButton(),9!==t.which&&t.preventDefault()):38===t.which||40===t.which?this.buttonPressed_||(this.pressButton(),t.preventDefault()):e.prototype.handleKeyPress.call(this,t)},t.prototype.handleSubmenuKeyPress=function(e){27!==e.which&&9!==e.which||(this.buttonPressed_&&this.unpressButton(),9!==e.which&&e.preventDefault())},t.prototype.pressButton=function(){this.enabled_&&(this.buttonPressed_=!0,this.menu.lockShowing(),this.el_.setAttribute("aria-expanded","true"),this.menu.focus())},t.prototype.unpressButton=function(){this.enabled_&&(this.buttonPressed_=!1,this.menu.unlockShowing(),this.el_.setAttribute("aria-expanded","false"),this.el_.focus())},t.prototype.disable=function(){return this.buttonPressed_=!1,this.menu.unlockShowing(),this.el_.setAttribute("aria-expanded","false"),this.enabled_=!1,e.prototype.disable.call(this)},t.prototype.enable=function(){return this.enabled_=!0,e.prototype.enable.call(this)},t}(l.default);d.default.registerComponent("MenuButton",_),t.default=_},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(7),l=o(u),c=n(22),d=r(c),f=n(19),p=r(f),h=n(81),m=r(h),v=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.focusedChild_=-1,o.on("keydown",o.handleKeyPress),o}return s(t,e),t.prototype.addItem=function(e){this.addChild(e),e.on("click",p.bind(this,function(e){this.unlockShowing()}))},t.prototype.createEl=function(){var t=this.options_.contentElType||"ul";this.contentEl_=d.createEl(t,{className:"vjs-menu-content"}),this.contentEl_.setAttribute("role","menu");var n=e.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"});return n.setAttribute("role","presentation"),n.appendChild(this.contentEl_),m.on(n,"click",function(e){e.preventDefault(),e.stopImmediatePropagation()}),n},t.prototype.handleKeyPress=function(e){37===e.which||40===e.which?(e.preventDefault(),this.stepForward()):38!==e.which&&39!==e.which||(e.preventDefault(),this.stepBack())},t.prototype.stepForward=function(){var e=0;void 0!==this.focusedChild_&&(e=this.focusedChild_+1),this.focus(e)},t.prototype.stepBack=function(){var e=0;void 0!==this.focusedChild_&&(e=this.focusedChild_-1),this.focus(e)},t.prototype.focus=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=this.children().slice(),n=t.length&&t[0].className&&/vjs-menu-title/.test(t[0].className);n&&t.shift(),t.length>0&&(e<0?e=0:e>=t.length&&(e=t.length-1),this.focusedChild_=e,t[e].el_.focus())},t}(l.default);l.default.registerComponent("Menu",v),t.default=v},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(22),l=o(u),c=n(19),d=o(c),f=n(7),p=r(f),h="vjs-modal-dialog",m=27,v=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.opened_=o.hasBeenOpened_=o.hasBeenFilled_=!1,o.closeable(!o.options_.uncloseable),o.content(o.options_.content),o.contentEl_=l.createEl("div",{className:h+"-content"},{role:"document"}),o.descEl_=l.createEl("p",{className:h+"-description vjs-offscreen",id:o.el().getAttribute("aria-describedby")}),l.textContent(o.descEl_,o.description()),o.el_.appendChild(o.descEl_),o.el_.appendChild(o.contentEl_),o}return s(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:this.buildCSSClass(),tabIndex:-1},{"aria-describedby":this.id()+"_description","aria-hidden":"true","aria-label":this.label(),role:"dialog"})},t.prototype.buildCSSClass=function(){return h+" vjs-hidden "+e.prototype.buildCSSClass.call(this)},t.prototype.handleKeyPress=function(e){e.which===m&&this.closeable()&&this.close()},t.prototype.label=function(){return this.options_.label||this.localize("Modal Window")},t.prototype.description=function(){var e=this.options_.description||this.localize("This is a modal window.");return this.closeable()&&(e+=" "+this.localize("This modal can be closed by pressing the Escape key or activating the close button.")),e},t.prototype.open=function(){if(!this.opened_){var e=this.player();this.trigger("beforemodalopen"),this.opened_=!0,(this.options_.fillAlways||!this.hasBeenOpened_&&!this.hasBeenFilled_)&&this.fill(),this.wasPlaying_=!e.paused(),this.options_.pauseOnOpen&&this.wasPlaying_&&e.pause(),this.closeable()&&this.on(this.el_.ownerDocument,"keydown",d.bind(this,this.handleKeyPress)),e.controls(!1),this.show(),this.el().setAttribute("aria-hidden","false"),this.trigger("modalopen"),this.hasBeenOpened_=!0}return this},t.prototype.opened=function(e){return"boolean"==typeof e&&this[e?"open":"close"](),this.opened_},t.prototype.close=function(){if(this.opened_){var e=this.player();this.trigger("beforemodalclose"),this.opened_=!1,this.wasPlaying_&&this.options_.pauseOnOpen&&e.play(),this.closeable()&&this.off(this.el_.ownerDocument,"keydown",d.bind(this,this.handleKeyPress)),e.controls(!0),this.hide(),this.el().setAttribute("aria-hidden","true"),this.trigger("modalclose"),this.options_.temporary&&this.dispose()}return this},t.prototype.closeable=function e(t){if("boolean"==typeof t){var e=this.closeable_=!!t,n=this.getChild("closeButton");if(e&&!n){var r=this.contentEl_;this.contentEl_=this.el_,n=this.addChild("closeButton",{controlText:"Close Modal Dialog"}),this.contentEl_=r,this.on(n,"close",this.close)}!e&&n&&(this.off(n,"close",this.close),this.removeChild(n),n.dispose())}return this.closeable_},t.prototype.fill=function(){return this.fillWith(this.content())},t.prototype.fillWith=function(e){var t=this.contentEl(),n=t.parentNode,r=t.nextSibling;return this.trigger("beforemodalfill"),this.hasBeenFilled_=!0,n.removeChild(t),this.empty(),l.insertContent(t,e),this.trigger("modalfill"),r?n.insertBefore(t,r):n.appendChild(t),this},t.prototype.empty=function(){return this.trigger("beforemodalempty"),l.emptyEl(this.contentEl()),this.trigger("modalempty"),this},t.prototype.content=function(e){return"undefined"!=typeof e&&(this.content_=e),this.content_},t}(p.default);v.prototype.options_={pauseOnOpen:!0,temporary:!0},p.default.registerComponent("ModalDialog",v),t.default=v},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(7),l=o(u),c=n(26),d=o(c),f=n(29),p=o(f),h=n(81),m=r(h),v=n(22),g=r(v),y=n(19),b=r(y),_=n(127),w=r(_),C=n(32),x=r(C),E=n(44),T=o(E),k=n(128),S=o(k),M=n(154),O=n(490),A=n(491),N=r(A),I=n(1184),P=o(I),D=n(482),R=o(D),j=n(1140),L=o(j),B=n(33),F=n(74),U=o(F),H=n(1200),z=o(H),q=n(485),W=o(q),V=n(153),G=o(V),Y=n(488),$=o(Y),K=n(489),X=o(K);n(1194),n(1192),n(1189),n(1199),n(1185),n(1150),n(1151),n(1154),n(1182),n(1202),n(1193);var Q=["progress","abort","suspend","emptied","stalled","loadedmetadata","loadeddata","timeupdate","ratechange","volumechange","texttrackchange"],J=function(e){function t(n,r,o){if(i(this,t),n.id=n.id||"vjs_video_"+w.newGUID(),r=(0,B.assign)(t.getTagSettings(n),r),r.initChildren=!1,r.createEl=!1,r.reportTouchActivity=!1,!r.language)if("function"==typeof n.closest){var s=n.closest("[lang]");s&&(r.language=s.getAttribute("lang"))}else for(var u=n;u&&1===u.nodeType;){if(g.getElAttributes(u).hasOwnProperty("lang")){r.language=u.getAttribute("lang");break}u=u.parentNode}var l=a(this,e.call(this,null,r,o));if(!l.options_||!l.options_.techOrder||!l.options_.techOrder.length)throw new Error("No techOrder specified. Did you overwrite videojs.options instead of just changing the properties you want to override?");if(l.tag=n,l.tagAttributes=n&&g.getElAttributes(n),l.language(l.options_.language),r.languages){var c={};Object.getOwnPropertyNames(r.languages).forEach(function(e){c[e.toLowerCase()]=r.languages[e]}),l.languages_=c}else l.languages_=t.prototype.options_.languages;l.cache_={},l.poster_=r.poster||"",l.controls_=!!r.controls,n.controls=!1,l.scrubbing_=!1,l.el_=l.createEl();var d=(0,U.default)(l.options_);if(r.plugins){var f=r.plugins;Object.getOwnPropertyNames(f).forEach(function(e){"function"==typeof this[e]?this[e](f[e]):T.default.error("Unable to find plugin:",e)},l)}return l.options_.playerOptions=d,l.initChildren(),l.isAudio("audio"===n.nodeName.toLowerCase()),l.controls()?l.addClass("vjs-controls-enabled"):l.addClass("vjs-controls-disabled"),l.el_.setAttribute("role","region"),l.isAudio()?l.el_.setAttribute("aria-label","audio player"):l.el_.setAttribute("aria-label","video player"),l.isAudio()&&l.addClass("vjs-audio"),l.flexNotSupported_()&&l.addClass("vjs-no-flex"),x.IS_IOS||l.addClass("vjs-workinghover"),t.players[l.id_]=l,l.userActive(!0),l.reportUserActivity(),l.listenForUserActivity_(),l.on("fullscreenchange",l.handleFullscreenChange_),l.on("stageclick",l.handleStageClick_),l}return s(t,e),t.prototype.dispose=function(){this.trigger("dispose"),this.off("dispose"),this.styleEl_&&this.styleEl_.parentNode&&this.styleEl_.parentNode.removeChild(this.styleEl_),t.players[this.id_]=null,this.tag&&this.tag.player&&(this.tag.player=null),this.el_&&this.el_.player&&(this.el_.player=null),this.tech_&&this.tech_.dispose(),e.prototype.dispose.call(this)},t.prototype.createEl=function(){var t=this.tag,n=void 0,r=this.playerElIngest_=t.parentNode&&t.parentNode.hasAttribute&&t.parentNode.hasAttribute("data-vjs-player");n=r?this.el_=t.parentNode:this.el_=e.prototype.createEl.call(this,"div"),t.setAttribute("tabindex","-1"),t.removeAttribute("width"),t.removeAttribute("height");var o=g.getElAttributes(t);if(Object.getOwnPropertyNames(o).forEach(function(e){"class"===e?n.className+=" "+o[e]:n.setAttribute(e,o[e])}),t.playerId=t.id,t.id+="_html5_api",t.className="vjs-tech",t.player=n.player=this,this.addClass("vjs-paused"),p.default.VIDEOJS_NO_DYNAMIC_STYLE!==!0){this.styleEl_=N.createStyleElement("vjs-styles-dimensions");var i=g.$(".vjs-styles-defaults"),a=g.$("head");a.insertBefore(this.styleEl_,i?i.nextSibling:a.firstChild)}this.width(this.options_.width),this.height(this.options_.height),this.fluid(this.options_.fluid),this.aspectRatio(this.options_.aspectRatio);for(var s=t.getElementsByTagName("a"),u=0;u<s.length;u++){var l=s.item(u);g.addElClass(l,"vjs-hidden"),l.setAttribute("hidden","hidden")}return t.initNetworkState_=t.networkState,t.parentNode&&!r&&t.parentNode.insertBefore(n,t),g.insertElFirst(t,n),this.children_.unshift(t),this.el_=n,n},t.prototype.width=function(e){return this.dimension("width",e)},t.prototype.height=function(e){return this.dimension("height",e)},t.prototype.dimension=function(e,t){var n=e+"_";if(void 0===t)return this[n]||0;if(""===t)this[n]=void 0;else{var r=parseFloat(t);if(isNaN(r))return T.default.error('Improper value "'+t+'" supplied for for '+e),this;this[n]=r}return this.updateStyleEl_(),this},t.prototype.fluid=function(e){return void 0===e?!!this.fluid_:(this.fluid_=!!e,e?this.addClass("vjs-fluid"):this.removeClass("vjs-fluid"),void this.updateStyleEl_())},t.prototype.aspectRatio=function(e){if(void 0===e)return this.aspectRatio_;if(!/^\d+\:\d+$/.test(e))throw new Error("Improper value supplied for aspect ratio. The format should be width:height, for example 16:9.");this.aspectRatio_=e,this.fluid(!0),this.updateStyleEl_()},t.prototype.updateStyleEl_=function(){if(p.default.VIDEOJS_NO_DYNAMIC_STYLE===!0){var e="number"==typeof this.width_?this.width_:this.options_.width,t="number"==typeof this.height_?this.height_:this.options_.height,n=this.tech_&&this.tech_.el();return void(n&&(e>=0&&(n.width=e),t>=0&&(n.height=t)))}var r=void 0,o=void 0,i=void 0,a=void 0;i=void 0!==this.aspectRatio_&&"auto"!==this.aspectRatio_?this.aspectRatio_:this.videoWidth()>0?this.videoWidth()+":"+this.videoHeight():"16:9";var s=i.split(":"),u=s[1]/s[0];r=void 0!==this.width_?this.width_:void 0!==this.height_?this.height_/u:this.videoWidth()||300,o=void 0!==this.height_?this.height_:r*u,a=/^[^a-zA-Z]/.test(this.id())?"dimensions-"+this.id():this.id()+"-dimensions",this.addClass(a),N.setTextContent(this.styleEl_,"\n      ."+a+" {\n        width: "+r+"px;\n        height: "+o+"px;\n      }\n\n      ."+a+".vjs-fluid {\n        padding-top: "+100*u+"%;\n      }\n    ")},t.prototype.loadTech_=function(e,t){var n=this;this.tech_&&this.unloadTech_(),"Html5"!==e&&this.tag&&(G.default.getTech("Html5").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null),this.techName_=e,this.isReady_=!1;var r=(0,B.assign)({source:t,nativeControlsForTouch:this.options_.nativeControlsForTouch,playerId:this.id(),techId:this.id()+"_"+e+"_api",videoTracks:this.videoTracks_,textTracks:this.textTracks_,audioTracks:this.audioTracks_,autoplay:this.options_.autoplay,preload:this.options_.preload,loop:this.options_.loop,muted:this.options_.muted,poster:this.poster(),language:this.language(),playerElIngest:this.playerElIngest_||!1,"vtt.js":this.options_["vtt.js"]},this.options_[e.toLowerCase()]);this.tag&&(r.tag=this.tag),t&&(this.currentType_=t.type,t.src===this.cache_.src&&this.cache_.currentTime>0&&(r.startTime=this.cache_.currentTime),this.cache_.sources=null,this.cache_.source=t,this.cache_.src=t.src);var o=G.default.getTech(e);o||(o=l.default.getComponent(e)),this.tech_=new o(r),this.tech_.ready(b.bind(this,this.handleTechReady_),!0),z.default.jsonToTextTracks(this.textTracksJson_||[],this.tech_),Q.forEach(function(e){n.on(n.tech_,e,n["handleTech"+(0,S.default)(e)+"_"])}),this.on(this.tech_,"loadstart",this.handleTechLoadStart_),this.on(this.tech_,"waiting",this.handleTechWaiting_),this.on(this.tech_,"canplay",this.handleTechCanPlay_),this.on(this.tech_,"canplaythrough",this.handleTechCanPlayThrough_),this.on(this.tech_,"playing",this.handleTechPlaying_),this.on(this.tech_,"ended",this.handleTechEnded_),this.on(this.tech_,"seeking",this.handleTechSeeking_),this.on(this.tech_,"seeked",this.handleTechSeeked_),this.on(this.tech_,"play",this.handleTechPlay_),this.on(this.tech_,"firstplay",this.handleTechFirstPlay_),this.on(this.tech_,"pause",this.handleTechPause_),this.on(this.tech_,"durationchange",this.handleTechDurationChange_),this.on(this.tech_,"fullscreenchange",this.handleTechFullscreenChange_),this.on(this.tech_,"error",this.handleTechError_),this.on(this.tech_,"loadedmetadata",this.updateStyleEl_),this.on(this.tech_,"posterchange",this.handleTechPosterChange_),this.on(this.tech_,"textdata",this.handleTechTextData_),this.usingNativeControls(this.techGet_("controls")),this.controls()&&!this.usingNativeControls()&&this.addTechControlsListeners_(),this.tech_.el().parentNode===this.el()||"Html5"===e&&this.tag||g.insertElFirst(this.tech_.el(),this.el()),this.tag&&(this.tag.player=null,this.tag=null)},t.prototype.unloadTech_=function(){this.videoTracks_=this.videoTracks(),this.textTracks_=this.textTracks(),this.audioTracks_=this.audioTracks(),this.textTracksJson_=z.default.textTracksToJson(this.tech_),this.isReady_=!1,this.tech_.dispose(),this.tech_=!1},t.prototype.tech=function(e){if(e&&e.IWillNotUseThisInPlugins)return this.tech_;var t="\n      Please make sure that you are not using this inside of a plugin.\n      To disable this alert and error, please pass in an object with\n      `IWillNotUseThisInPlugins` to the `tech` method. See\n      https://github.com/videojs/video.js/issues/2617 for more info.\n    ";throw p.default.alert(t),new Error(t)},t.prototype.addTechControlsListeners_=function(){this.removeTechControlsListeners_(),this.on(this.tech_,"mousedown",this.handleTechClick_),this.on(this.tech_,"touchstart",this.handleTechTouchStart_),this.on(this.tech_,"touchmove",this.handleTechTouchMove_),this.on(this.tech_,"touchend",this.handleTechTouchEnd_),this.on(this.tech_,"tap",this.handleTechTap_)},t.prototype.removeTechControlsListeners_=function(){this.off(this.tech_,"tap",this.handleTechTap_),this.off(this.tech_,"touchstart",this.handleTechTouchStart_),this.off(this.tech_,"touchmove",this.handleTechTouchMove_),this.off(this.tech_,"touchend",this.handleTechTouchEnd_),this.off(this.tech_,"mousedown",this.handleTechClick_)},t.prototype.handleTechReady_=function(){if(this.triggerReady(),this.cache_.volume&&this.techCall_("setVolume",this.cache_.volume),this.handleTechPosterChange_(),this.handleTechDurationChange_(),(this.src()||this.currentSrc())&&this.tag&&this.options_.autoplay&&this.paused()){try{delete this.tag.poster}catch(e){(0,T.default)("deleting tag.poster throws in some browsers",e)}this.play()}},t.prototype.handleTechLoadStart_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-seeking"),this.error(null),this.paused()?(this.hasStarted(!1),this.trigger("loadstart")):(this.trigger("loadstart"),this.trigger("firstplay"))},t.prototype.hasStarted=function(e){return void 0!==e?(this.hasStarted_!==e&&(this.hasStarted_=e,e?(this.addClass("vjs-has-started"),this.trigger("firstplay")):this.removeClass("vjs-has-started")),this):!!this.hasStarted_},t.prototype.handleTechPlay_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.hasStarted(!0),this.trigger("play")},t.prototype.handleTechWaiting_=function(){var e=this;this.addClass("vjs-waiting"),this.trigger("waiting"),this.one("timeupdate",function(){return e.removeClass("vjs-waiting")})},t.prototype.handleTechCanPlay_=function(){this.removeClass("vjs-waiting"),this.trigger("canplay")},t.prototype.handleTechCanPlayThrough_=function(){this.removeClass("vjs-waiting"),this.trigger("canplaythrough")},t.prototype.handleTechPlaying_=function(){this.removeClass("vjs-waiting"),this.trigger("playing")},t.prototype.handleTechSeeking_=function(){this.addClass("vjs-seeking"),this.trigger("seeking")},t.prototype.handleTechSeeked_=function(){this.removeClass("vjs-seeking"),this.trigger("seeked")},t.prototype.handleTechFirstPlay_=function(){this.options_.starttime&&(T.default.warn("Passing the `starttime` option to the player will be deprecated in 6.0"),this.currentTime(this.options_.starttime)),this.addClass("vjs-has-started"),this.trigger("firstplay")},t.prototype.handleTechPause_=function(){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.trigger("pause")},t.prototype.handleTechEnded_=function(){this.addClass("vjs-ended"),this.options_.loop?(this.currentTime(0),this.play()):this.paused()||this.pause(),this.trigger("ended")},t.prototype.handleTechDurationChange_=function(){this.duration(this.techGet_("duration"))},t.prototype.handleTechClick_=function(e){0===e.button&&this.controls()&&(this.paused()?this.play():this.pause())},t.prototype.handleTechTap_=function(){this.userActive(!this.userActive())},t.prototype.handleTechTouchStart_=function(){this.userWasActive=this.userActive()},t.prototype.handleTechTouchMove_=function(){this.userWasActive&&this.reportUserActivity()},t.prototype.handleTechTouchEnd_=function(e){e.preventDefault()},t.prototype.handleFullscreenChange_=function(){this.isFullscreen()?this.addClass("vjs-fullscreen"):this.removeClass("vjs-fullscreen")},t.prototype.handleStageClick_=function(){this.reportUserActivity()},t.prototype.handleTechFullscreenChange_=function(e,t){t&&this.isFullscreen(t.isFullscreen),this.trigger("fullscreenchange")},t.prototype.handleTechError_=function(){var e=this.tech_.error();this.error(e)},t.prototype.handleTechTextData_=function(){var e=null;arguments.length>1&&(e=arguments[1]),this.trigger("textdata",e)},t.prototype.getCache=function(){return this.cache_},t.prototype.techCall_=function(e,t){if(this.tech_&&!this.tech_.isReady_)this.tech_.ready(function(){this[e](t)},!0);else try{this.tech_&&this.tech_[e](t)}catch(e){throw(0,T.default)(e),e}},t.prototype.techGet_=function(e){if(this.tech_&&this.tech_.isReady_)try{return this.tech_[e]()}catch(t){throw void 0===this.tech_[e]?(0,T.default)("Video.js: "+e+" method not defined for "+this.techName_+" playback technology.",t):"TypeError"===t.name?((0,T.default)("Video.js: "+e+" unavailable on "+this.techName_+" playback technology element.",t),this.tech_.isReady_=!1):(0,T.default)(t),t}},t.prototype.play=function(){return this.src()||this.currentSrc()?this.techCall_("play"):this.tech_.one("loadstart",function(){this.play()}),this},t.prototype.pause=function(){return this.techCall_("pause"),this},t.prototype.paused=function(){return this.techGet_("paused")!==!1},t.prototype.scrubbing=function(e){return void 0!==e?(this.scrubbing_=!!e,e?this.addClass("vjs-scrubbing"):this.removeClass("vjs-scrubbing"),this):this.scrubbing_},t.prototype.currentTime=function(e){return void 0!==e?(this.techCall_("setCurrentTime",e),this):(this.cache_.currentTime=this.techGet_("currentTime")||0,this.cache_.currentTime)},t.prototype.duration=function(e){return void 0===e?this.cache_.duration||0:(e=parseFloat(e)||0,e<0&&(e=1/0),e!==this.cache_.duration&&(this.cache_.duration=e,e===1/0?this.addClass("vjs-live"):this.removeClass("vjs-live"),this.trigger("durationchange")),this)},t.prototype.remainingTime=function(){return this.duration()-this.currentTime()},t.prototype.buffered=function e(){var e=this.techGet_("buffered");return e&&e.length||(e=(0,M.createTimeRange)(0,0)),e},t.prototype.bufferedPercent=function(){return(0,O.bufferedPercent)(this.buffered(),this.duration())},t.prototype.bufferedEnd=function(){var e=this.buffered(),t=this.duration(),n=e.end(e.length-1);return n>t&&(n=t),n},t.prototype.volume=function(e){var t=void 0;return void 0!==e?(t=Math.max(0,Math.min(1,parseFloat(e))),this.cache_.volume=t,this.techCall_("setVolume",t),this):(t=parseFloat(this.techGet_("volume")),isNaN(t)?1:t)},t.prototype.muted=function(e){return void 0!==e?(this.techCall_("setMuted",e),this):this.techGet_("muted")||!1},t.prototype.supportsFullScreen=function(){return this.techGet_("supportsFullScreen")||!1},t.prototype.isFullscreen=function(e){return void 0!==e?(this.isFullscreen_=!!e,this):!!this.isFullscreen_},t.prototype.requestFullscreen=function(){var e=P.default;return this.isFullscreen(!0),e.requestFullscreen?(m.on(d.default,e.fullscreenchange,b.bind(this,function t(n){this.isFullscreen(d.default[e.fullscreenElement]),this.isFullscreen()===!1&&m.off(d.default,e.fullscreenchange,t),this.trigger("fullscreenchange")})),this.el_[e.requestFullscreen]()):this.tech_.supportsFullScreen()?this.techCall_("enterFullScreen"):(this.enterFullWindow(),this.trigger("fullscreenchange")),this},t.prototype.exitFullscreen=function(){var e=P.default;return this.isFullscreen(!1),e.requestFullscreen?d.default[e.exitFullscreen]():this.tech_.supportsFullScreen()?this.techCall_("exitFullScreen"):(this.exitFullWindow(),this.trigger("fullscreenchange")),this},t.prototype.enterFullWindow=function(){this.isFullWindow=!0,this.docOrigOverflow=d.default.documentElement.style.overflow,m.on(d.default,"keydown",b.bind(this,this.fullWindowOnEscKey)),d.default.documentElement.style.overflow="hidden",g.addElClass(d.default.body,"vjs-full-window"),this.trigger("enterFullWindow")},t.prototype.fullWindowOnEscKey=function(e){27===e.keyCode&&(this.isFullscreen()===!0?this.exitFullscreen():this.exitFullWindow())},t.prototype.exitFullWindow=function(){this.isFullWindow=!1,m.off(d.default,"keydown",this.fullWindowOnEscKey),d.default.documentElement.style.overflow=this.docOrigOverflow,g.removeElClass(d.default.body,"vjs-full-window"),this.trigger("exitFullWindow")},t.prototype.canPlayType=function(e){for(var t=void 0,n=0,r=this.options_.techOrder;n<r.length;n++){var o=(0,S.default)(r[n]),i=G.default.getTech(o);if(i||(i=l.default.getComponent(o)),i){if(i.isSupported()&&(t=i.canPlayType(e)))return t}else T.default.error('The "'+o+'" tech is undefined. Skipped browser support check for that tech.')}return""},t.prototype.selectSource=function(e){var t=this,n=this.options_.techOrder.map(S.default).map(function(e){return[e,G.default.getTech(e)||l.default.getComponent(e)]}).filter(function(e){var t=e[0],n=e[1];return n?n.isSupported():(T.default.error('The "'+t+'" tech is undefined. Skipped browser support check for that tech.'),!1)}),r=function(e,t,n){var r=void 0;return e.some(function(e){return t.some(function(t){if(r=n(e,t))return!0})}),r},o=void 0,i=function(e){return function(t,n){return e(n,t)}},a=function(e,n){var r=e[0],o=e[1];if(o.canPlaySource(n,t.options_[r.toLowerCase()]))return{source:n,tech:r}};return o=this.options_.sourceOrder?r(e,n,i(a)):r(n,e,a),o||!1},t.prototype.src=function(e){if(void 0===e)return this.techGet_("src");var t=G.default.getTech(this.techName_);return t||(t=l.default.getComponent(this.techName_)),Array.isArray(e)?this.sourceList_(e):"string"==typeof e?this.src({src:e}):e instanceof Object&&(e.type&&!t.canPlaySource(e,this.options_[this.techName_.toLowerCase()])?this.sourceList_([e]):(this.cache_.sources=null,this.cache_.source=e,this.cache_.src=e.src,this.currentType_=e.type||"",this.ready(function(){t.prototype.hasOwnProperty("setSource")?this.techCall_("setSource",e):this.techCall_("src",e.src),"auto"===this.options_.preload&&this.load(),this.options_.autoplay&&this.play()},!0))),this},t.prototype.sourceList_=function(e){var t=this.selectSource(e);t?(t.tech===this.techName_?this.src(t.source):this.loadTech_(t.tech,t.source),this.cache_.sources=e):(this.setTimeout(function(){this.error({code:4,message:this.localize(this.options_.notSupportedMessage)})},0),this.triggerReady())},t.prototype.load=function(){return this.techCall_("load"),this},t.prototype.reset=function(){return this.loadTech_((0,S.default)(this.options_.techOrder[0]),null),this.techCall_("reset"),this},t.prototype.currentSources=function(){var e=this.currentSource(),t=[];return 0!==Object.keys(e).length&&t.push(e),this.cache_.sources||t},t.prototype.currentSource=function(){var e={},t=this.currentSrc();return t&&(e.src=t),this.cache_.source||e},t.prototype.currentSrc=function(){return this.techGet_("currentSrc")||this.cache_.src||""},t.prototype.currentType=function(){return this.currentType_||""},t.prototype.preload=function(e){return void 0!==e?(this.techCall_("setPreload",e),this.options_.preload=e,this):this.techGet_("preload")},t.prototype.autoplay=function(e){return void 0!==e?(this.techCall_("setAutoplay",e),this.options_.autoplay=e,this):this.techGet_("autoplay",e)},t.prototype.loop=function(e){return void 0!==e?(this.techCall_("setLoop",e),this.options_.loop=e,this):this.techGet_("loop")},t.prototype.poster=function(e){return void 0===e?this.poster_:(e||(e=""),this.poster_=e,this.techCall_("setPoster",e),this.trigger("posterchange"),this)},t.prototype.handleTechPosterChange_=function(){!this.poster_&&this.tech_&&this.tech_.poster&&(this.poster_=this.tech_.poster()||"",this.trigger("posterchange"))},t.prototype.controls=function(e){return void 0!==e?(e=!!e,this.controls_!==e&&(this.controls_=e,this.usingNativeControls()&&this.techCall_("setControls",e),e?(this.removeClass("vjs-controls-disabled"),this.addClass("vjs-controls-enabled"),this.trigger("controlsenabled"),this.usingNativeControls()||this.addTechControlsListeners_()):(this.removeClass("vjs-controls-enabled"),this.addClass("vjs-controls-disabled"),this.trigger("controlsdisabled"),this.usingNativeControls()||this.removeTechControlsListeners_())),this):!!this.controls_},t.prototype.usingNativeControls=function(e){return void 0!==e?(e=!!e,this.usingNativeControls_!==e&&(this.usingNativeControls_=e,e?(this.addClass("vjs-using-native-controls"),this.trigger("usingnativecontrols")):(this.removeClass("vjs-using-native-controls"),this.trigger("usingcustomcontrols"))),this):!!this.usingNativeControls_},t.prototype.error=function(e){return void 0===e?this.error_||null:null===e?(this.error_=e,this.removeClass("vjs-error"),this.errorDisplay&&this.errorDisplay.close(),this):(this.error_=new R.default(e),this.addClass("vjs-error"),T.default.error("(CODE:"+this.error_.code+" "+R.default.errorTypes[this.error_.code]+")",this.error_.message,this.error_),this.trigger("error"),this)},t.prototype.reportUserActivity=function(e){this.userActivity_=!0},t.prototype.userActive=function(e){return void 0!==e?(e=!!e,e!==this.userActive_&&(this.userActive_=e,e?(this.userActivity_=!0,this.removeClass("vjs-user-inactive"),this.addClass("vjs-user-active"),this.trigger("useractive")):(this.userActivity_=!1,this.tech_&&this.tech_.one("mousemove",function(e){e.stopPropagation(),e.preventDefault()}),this.removeClass("vjs-user-active"),this.addClass("vjs-user-inactive"),this.trigger("userinactive"))),this):this.userActive_},t.prototype.listenForUserActivity_=function(){var e=void 0,t=void 0,n=void 0,r=b.bind(this,this.reportUserActivity),o=function(e){e.screenX===t&&e.screenY===n||(t=e.screenX,n=e.screenY,r())},i=function(){r(),this.clearInterval(e),e=this.setInterval(r,250)},a=function(t){r(),this.clearInterval(e)};this.on("mousedown",i),this.on("mousemove",o),this.on("mouseup",a),this.on("keydown",r),this.on("keyup",r);var s=void 0;this.setInterval(function(){if(this.userActivity_){this.userActivity_=!1,this.userActive(!0),this.clearTimeout(s);
-var e=this.options_.inactivityTimeout;e>0&&(s=this.setTimeout(function(){this.userActivity_||this.userActive(!1)},e))}},250)},t.prototype.playbackRate=function(e){return void 0!==e?(this.techCall_("setPlaybackRate",e),this):this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_("playbackRate"):1},t.prototype.isAudio=function(e){return void 0!==e?(this.isAudio_=!!e,this):!!this.isAudio_},t.prototype.videoTracks=function(){return this.tech_?this.tech_.videoTracks():(this.videoTracks_=this.videoTracks_||new X.default,this.videoTracks_)},t.prototype.audioTracks=function(){return this.tech_?this.tech_.audioTracks():(this.audioTracks_=this.audioTracks_||new $.default,this.audioTracks_)},t.prototype.textTracks=function(){if(this.tech_)return this.tech_.textTracks()},t.prototype.remoteTextTracks=function(){if(this.tech_)return this.tech_.remoteTextTracks()},t.prototype.remoteTextTrackEls=function(){if(this.tech_)return this.tech_.remoteTextTrackEls()},t.prototype.addTextTrack=function(e,t,n){if(this.tech_)return this.tech_.addTextTrack(e,t,n)},t.prototype.addRemoteTextTrack=function(e,t){if(this.tech_)return this.tech_.addRemoteTextTrack(e,t)},t.prototype.removeRemoteTextTrack=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.track,n=void 0===t?arguments[0]:t;if(this.tech_)return this.tech_.removeRemoteTextTrack(n)},t.prototype.videoWidth=function(){return this.tech_&&this.tech_.videoWidth&&this.tech_.videoWidth()||0},t.prototype.videoHeight=function(){return this.tech_&&this.tech_.videoHeight&&this.tech_.videoHeight()||0},t.prototype.language=function(e){return void 0===e?this.language_:(this.language_=String(e).toLowerCase(),this)},t.prototype.languages=function(){return(0,U.default)(t.prototype.options_.languages,this.languages_)},t.prototype.toJSON=function(){var e=(0,U.default)(this.options_),t=e.tracks;e.tracks=[];for(var n=0;n<t.length;n++){var r=t[n];r=(0,U.default)(r),r.player=void 0,e.tracks[n]=r}return e},t.prototype.createModal=function(e,t){var n=this;t=t||{},t.content=e||"";var r=new W.default(this,t);return this.addChild(r),r.on("dispose",function(){n.removeChild(r)}),r.open()},t.getTagSettings=function(e){var t={sources:[],tracks:[]},n=g.getElAttributes(e),r=n["data-setup"];if(g.hasElClass(e,"vjs-fluid")&&(n.fluid=!0),null!==r){var o=(0,L.default)(r||"{}"),i=o[0],a=o[1];i&&T.default.error(i),(0,B.assign)(n,a)}if((0,B.assign)(t,n),e.hasChildNodes())for(var s=e.childNodes,u=0,l=s.length;u<l;u++){var c=s[u],d=c.nodeName.toLowerCase();"source"===d?t.sources.push(g.getElAttributes(c)):"track"===d&&t.tracks.push(g.getElAttributes(c))}return t},t.prototype.flexNotSupported_=function(){var e=d.default.createElement("i");return!("flexBasis"in e.style||"webkitFlexBasis"in e.style||"mozFlexBasis"in e.style||"msFlexBasis"in e.style||"msFlexOrder"in e.style)},t}(l.default);J.players={};var Z=p.default.navigator;J.prototype.options_={techOrder:["html5","flash"],html5:{},flash:{},defaultVolume:0,inactivityTimeout:2e3,playbackRates:[],children:["mediaLoader","posterImage","textTrackDisplay","loadingSpinner","bigPlayButton","controlBar","errorDisplay","textTrackSettings"],language:Z&&(Z.languages&&Z.languages[0]||Z.userLanguage||Z.language)||"en",languages:{},notSupportedMessage:"No compatible source was found for this media."},["ended","seeking","seekable","networkState","readyState"].forEach(function(e){J.prototype[e]=function(){return this.techGet_(e)}}),Q.forEach(function(e){J.prototype["handleTech"+(0,S.default)(e)+"_"]=function(){return this.trigger(e)}}),l.default.registerComponent("Player",J),t.default=J},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(7),l=o(u),c=n(22),d=r(c),f=n(33),p=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.bar=o.getChild(o.options_.barName),o.vertical(!!o.options_.vertical),o.on("mousedown",o.handleMouseDown),o.on("touchstart",o.handleMouseDown),o.on("focus",o.handleFocus),o.on("blur",o.handleBlur),o.on("click",o.handleClick),o.on(n,"controlsvisible",o.update),o.on(n,o.playerEvent,o.update),o}return s(t,e),t.prototype.createEl=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.className=n.className+" vjs-slider",n=(0,f.assign)({tabIndex:0},n),r=(0,f.assign)({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},r),e.prototype.createEl.call(this,t,n,r)},t.prototype.handleMouseDown=function(e){var t=this.bar.el_.ownerDocument;e.preventDefault(),d.blockTextSelection(),this.addClass("vjs-sliding"),this.trigger("slideractive"),this.on(t,"mousemove",this.handleMouseMove),this.on(t,"mouseup",this.handleMouseUp),this.on(t,"touchmove",this.handleMouseMove),this.on(t,"touchend",this.handleMouseUp),this.handleMouseMove(e)},t.prototype.handleMouseMove=function(e){},t.prototype.handleMouseUp=function(){var e=this.bar.el_.ownerDocument;d.unblockTextSelection(),this.removeClass("vjs-sliding"),this.trigger("sliderinactive"),this.off(e,"mousemove",this.handleMouseMove),this.off(e,"mouseup",this.handleMouseUp),this.off(e,"touchmove",this.handleMouseMove),this.off(e,"touchend",this.handleMouseUp),this.update()},t.prototype.update=function(){if(this.el_){var e=this.getPercent(),t=this.bar;if(t){("number"!=typeof e||e!==e||e<0||e===1/0)&&(e=0);var n=(100*e).toFixed(2)+"%";this.vertical()?t.el().style.height=n:t.el().style.width=n}}},t.prototype.calculateDistance=function(e){var t=d.getPointerPosition(this.el_,e);return this.vertical()?t.y:t.x},t.prototype.handleFocus=function(){this.on(this.bar.el_.ownerDocument,"keydown",this.handleKeyPress)},t.prototype.handleKeyPress=function(e){37===e.which||40===e.which?(e.preventDefault(),this.stepBack()):38!==e.which&&39!==e.which||(e.preventDefault(),this.stepForward())},t.prototype.handleBlur=function(){this.off(this.bar.el_.ownerDocument,"keydown",this.handleKeyPress)},t.prototype.handleClick=function(e){e.stopImmediatePropagation(),e.preventDefault()},t.prototype.vertical=function(e){return void 0===e?this.vertical_||!1:(this.vertical_=!!e,this.vertical_?this.addClass("vjs-slider-vertical"):this.addClass("vjs-slider-horizontal"),this)},t}(l.default);l.default.registerComponent("Slider",p),t.default=p},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(315),l=o(u),c=n(32),d=r(c),f=n(26),p=o(f),h=function(e,t){for(var n=0;n<e.length;n++)t.id!==e[n].id&&(e[n].enabled=!1)},m=function(e){function t(){var n,r,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];i(this,t);for(var s=void 0,u=o.length-1;u>=0;u--)if(o[u].enabled){h(o,o[u]);break}if(d.IS_IE8){s=p.default.createElement("custom");for(var c in l.default.prototype)"constructor"!==c&&(s[c]=l.default.prototype[c]);for(var f in t.prototype)"constructor"!==f&&(s[f]=t.prototype[f])}return s=n=a(this,e.call(this,o,s)),s.changing_=!1,r=s,a(n,r)}return s(t,e),t.prototype.addTrack_=function(t){var n=this;t.enabled&&h(this,t),e.prototype.addTrack_.call(this,t),t.addEventListener&&t.addEventListener("enabledchange",function(){n.changing_||(n.changing_=!0,h(n,t),n.changing_=!1,n.trigger("change"))})},t.prototype.addTrack=function(e){this.addTrack_(e)},t.prototype.removeTrack=function(t){e.prototype.removeTrack_.call(this,t)},t}(l.default);t.default=m},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(315),l=o(u),c=n(32),d=r(c),f=n(26),p=o(f),h=function(e,t){for(var n=0;n<e.length;n++)t.id!==e[n].id&&(e[n].selected=!1)},m=function(e){function t(){var n,r,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];i(this,t);for(var s=void 0,u=o.length-1;u>=0;u--)if(o[u].selected){h(o,o[u]);break}if(d.IS_IE8){s=p.default.createElement("custom");for(var c in l.default.prototype)"constructor"!==c&&(s[c]=l.default.prototype[c]);for(var f in t.prototype)"constructor"!==f&&(s[f]=t.prototype[f])}return s=n=a(this,e.call(this,o,s)),s.changing_=!1,Object.defineProperty(s,"selectedIndex",{get:function(){for(var e=0;e<this.length;e++)if(this[e].selected)return e;return-1},set:function(){}}),r=s,a(n,r)}return s(t,e),t.prototype.addTrack_=function(t){var n=this;t.selected&&h(this,t),e.prototype.addTrack_.call(this,t),t.addEventListener&&t.addEventListener("selectedchange",function(){n.changing_||(n.changing_=!0,h(n,t),n.changing_=!1,n.trigger("change"))})},t.prototype.addTrack=function(e){this.addTrack_(e)},t.prototype.removeTrack=function(t){e.prototype.removeTrack_.call(this,t)},t}(l.default);t.default=m},function(e,t,n){"use strict";function r(e,t){var n=0,r=void 0,i=void 0;if(!t)return 0;e&&e.length||(e=(0,o.createTimeRange)(0,0));for(var a=0;a<e.length;a++)r=e.start(a),i=e.end(a),i>t&&(i=t),n+=i-r;return n/t}t.__esModule=!0,t.bufferedPercent=r;var o=n(154)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.setTextContent=t.createStyleElement=void 0;var o=n(26),i=r(o);t.createStyleElement=function(e){var t=i.default.createElement("style");return t.className=e,t},t.setTextContent=function(e,t){e.styleSheet?e.styleSheet.cssText=t:e.textContent=t}},function(e,t,n){"use strict";function r(e,t){for(var n=0;n<e.length;n++)t(e[n])}function o(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}function i(e,t,n){var r=e;return d(t)?(n=t,"string"==typeof e&&(r={uri:e})):r=p(t,{uri:e}),r.callback=n,r}function a(e,t,n){return t=i(e,t,n),s(t)}function s(e){function t(){4===d.readyState&&i()}function n(){var e=void 0;if(e=d.response?d.response:d.responseText||u(d),w)try{e=JSON.parse(e)}catch(e){}return e}function r(e){return clearTimeout(m),e instanceof Error||(e=new Error(""+(e||"Unknown XMLHttpRequest Error"))),e.statusCode=0,l(e,c)}function i(){if(!h){var t;clearTimeout(m),t=e.useXDR&&void 0===d.status?200:1223===d.status?204:d.status;var r=c,o=null;return 0!==t?(r={body:n(),statusCode:t,method:g,headers:{},url:v,rawRequest:d},d.getAllResponseHeaders&&(r.headers=f(d.getAllResponseHeaders()))):o=new Error("Internal XMLHttpRequest Error"),l(o,r,r.body)}}if("undefined"==typeof e.callback)throw new Error("callback argument missing");var s=!1,l=function(t,n,r){s||(s=!0,e.callback(t,n,r))},c={body:void 0,headers:{},statusCode:0,method:g,url:v,rawRequest:d},d=e.xhr||null;d||(d=e.cors||e.useXDR?new a.XDomainRequest:new a.XMLHttpRequest);var p,h,m,v=d.url=e.uri||e.url,g=d.method=e.method||"GET",y=e.body||e.data||null,b=d.headers=e.headers||{},_=!!e.sync,w=!1;if("json"in e&&(w=!0,b.accept||b.Accept||(b.Accept="application/json"),"GET"!==g&&"HEAD"!==g&&(b["content-type"]||b["Content-Type"]||(b["Content-Type"]="application/json"),y=JSON.stringify(e.json))),d.onreadystatechange=t,d.onload=i,d.onerror=r,d.onprogress=function(){},d.ontimeout=r,d.open(g,v,!_,e.username,e.password),_||(d.withCredentials=!!e.withCredentials),!_&&e.timeout>0&&(m=setTimeout(function(){h=!0,d.abort("timeout");var e=new Error("XMLHttpRequest timeout");e.code="ETIMEDOUT",r(e)},e.timeout)),d.setRequestHeader)for(p in b)b.hasOwnProperty(p)&&d.setRequestHeader(p,b[p]);else if(e.headers&&!o(e.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in e&&(d.responseType=e.responseType),"beforeSend"in e&&"function"==typeof e.beforeSend&&e.beforeSend(d),d.send(y),d}function u(e){if("document"===e.responseType)return e.responseXML;var t=204===e.status&&e.responseXML&&"parsererror"===e.responseXML.documentElement.nodeName;return""!==e.responseType||t?null:e.responseXML}function l(){}var c=n(29),d=n(393),f=n(961),p=n(1211);e.exports=a,a.XMLHttpRequest=c.XMLHttpRequest||l,a.XDomainRequest="withCredentials"in new a.XMLHttpRequest?a.XMLHttpRequest:c.XDomainRequest,r(["get","put","post","patch","head","delete"],function(e){a["delete"===e?"del":e]=function(t,n,r){return n=i(t,n,r),n.method=e.toUpperCase(),s(n)}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=(0,u.default)("./_author/images/CLIx-logo.png"),n=function(){switch(e.view){case"banks":return a.default.createElement(c.default,e);case"assessments":return a.default.createElement(f.default,e);default:return e.children}};return a.default.createElement("header",{className:"au-c-header"},a.default.createElement("div",{className:"au-c-header-top"},a.default.createElement("img",{src:t,alt:"CLI Logo",className:"au-c-logo"})),n())}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i),s=n(532),u=r(s),l=n(1302),c=r(l),d=n(1249),f=r(d)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e){return{mediaTypes:e.media,img:e.media.image,video:e.media.video,audio:e.media.audio,loadingMedia:e.media.loading,uploadedAssets:e.uploadedAssets}}Object.defineProperty(t,"__esModule",{value:!0}),t.OeaEditor=void 0;var a=n(10),s=o(a),u=n(9),l=o(u),c=n(3),d=o(c),f=n(5),p=o(f),h=n(8),m=o(h),v=n(6),g=o(v),y=n(4),b=o(y),_=n(131),w=o(_),C=n(1),x=o(C),E=n(43),T=n(495),k=o(T),S=n(1305),M=o(S),O=n(156),A=o(O),N=n(331),I=r(N),P=n(54),D=t.OeaEditor=function(e){function t(e){(0,d.default)(this,t);var n=(0,m.default)(this,(t.__proto__||(0,l.default)(t)).call(this,e));return n.state={fileGuids:{},focused:!1,editor:null,modalOpen:!1,mediaType:null,mediaGuid:null,newText:n.props.text},n}return(0,g.default)(t,e),(0,p.default)(t,[{key:"componentWillReceiveProps",value:function(e){if(!b.default.get(this.props.uploadedAssets,this.state.mediaGuid)&&b.default.get(e.uploadedAssets,this.state.mediaGuid)){var t=e.uploadedAssets[this.state.mediaGuid],n=this.getEditorContent(t);this.state.editor.insertContent(n),this.closeModal()}}},{key:"onBlur",value:function(e,t){var n=this;if(this.setState({focused:!1,newText:e}),t){var r=e,o={};r=r.replace(/autoplay/g,"autoplay-placeholder"),r=r.replace(/src="/g,'src-placeholder="');var i=(0,w.default)("<div>"+r+"</div>");(0,w.default)("img, source, track",i).each(function(e,t){var r=(0,w.default)(t),o=/.*\/(.*)\/stream$/.exec(r.attr("src-placeholder"));if(o){var i=o[1],a=n.findMediaGuid(i);a&&r.attr("src-placeholder","AssetContent:"+a)}}),(0,w.default)("source",i).each(function(e,t){var r=(0,w.default)(t),o=r.attr("src-placeholder");if(o){var i=o.match("AssetContent:(.+)");if(i){var a=i[1],s=P.types.assets.transcript.transcript,u=n.findMetaGuids(a).filter(function(e){return e.assetContentTypeId===s||e.genusTypeId===s});b.default.isEmpty(u)||r.parent().after('<transcript src="AssetContent:'+u[0].guid+'" />')}}}),b.default.each(this.state.fileGuids,function(e,t){var r=n.props.uploadedAssets[t]||n.state.fileGuids[t];if(r&&!r.error){var i=r.type&&r.extension?P.types.assets[r.type][r.extension]:r.genusTypeId;o[t]={assetId:r.id,assetContentId:r.assetContentId,assetContentTypeId:i}}}),r=i.html(),r=r.replace(/src-placeholder/g,"src"),r=r.replace(/autoplay-placeholder/g,"autoplay"),this.props.onBlur(r,o),this.setState({fileGuids:{}})}}},{key:"getEditorContent",value:function(e){var t='<video><source src="'+e.url+'" /></video>',n=b.default.isEmpty(e.altText)?"":e.altText.text,r=e.autoPlay?"autoplay":"";switch(this.state.mediaType){case"img":t='<img src="'+e.url+'" alt="'+n+'">';break;case"audio":t="<audio "+r+' name="media" controls>'+('<source src="'+e.url+'" type="'+this.state.mediaType+"/"+e.extension+'">')+"</audio>";break;case"video":var o=b.default.isEmpty(e.vtt)?"":'<track src="'+b.default.get(e,"vtt.url")+'" srclang="en">';t="<video "+r+' name="media" controls>'+('<source src="'+e.url+'" type="'+this.state.mediaType+"/"+e.extension+'">')+(o+"</video>")}return t}},{key:"findMetaGuids",value:function(e){var t=this.props,n=t.fileIds,r=t.uploadedAssets,o=this.state.fileGuids,i=(0,s.default)({},o,n,r),a=i[e],u=a.id||a.assetId;return b.default.isEmpty(a)?[]:b.default.toPairs(i).map(function(e){return(0,s.default)({guid:e[0]},e[1])}).filter(function(e){return e.assetId===u})}},{key:"findMediaGuid",value:function(e){return b.default.findKey(this.props.fileIds,function(t){return t.assetContentId===e})||b.default.findKey(this.props.uploadedAssets,function(t){return t.assetContentId===e})||b.default.findKey(this.state.fileGuids,function(t){return t.assetContentId===e})}},{key:"openModal",value:function(e,t){this.setState({editor:e,modalOpen:!0,mediaType:t})}},{key:"closeModal",value:function(){this.setState({editor:null,modalOpen:!1,mediaType:null,mediaGuid:null})}},{key:"insertMedia",value:function(e,t,n){if(!e)return void this.closeModal();var r=(0,A.default)(),o=b.default.cloneDeep(this.state.fileGuids);if(n){var i={mediaGuid:r,vttGuids:[],transcriptGuids:[]};b.default.each(t,function(e){if(e.vttFile){var t=(0,A.default)();i.vttGuids.push(t),o[t]={}}if(e.transcript){var n=(0,A.default)();i.transcriptGuids.push(n),o[n]={}}}),o[r]={},this.props.uploadMedia(e,i,this.props.bankId,t),this.setState({mediaGuid:r})}else{var a=this.getEditorContent(e);this.state.editor.insertContent(a),o[r]=e,o[(0,A.default)()]=e.vtt,o[(0,A.default)()]=e.transcript,this.closeModal()}this.setState({fileGuids:o})}},{key:"cleanText",value:function(){var e=this.props.text;if(!e)return e;e=e.replace(/autoplay/g,"autoplay-placeholder");var t=(0,w.default)("<div>"+e+"</div>");(0,w.default)(".transcriptWrapper",t).remove();var n=t.html();return n.replace(/autoplay-placeholder/g,"autoplay")}},{key:"render",value:function(){var e=this,t=this.state.focused||this.state.modalOpen,n=t?"is-focused":"no-border",r=this.state.newText||t?"is-hidden":"",o=this.props.textSize,i=b.default.get(this.props,"uploadedAssets['"+this.state.mediaGuid+"'].assetContents[0]");return x.default.createElement("div",{className:"au-c-input__contain"},x.default.createElement("div",{className:"au-c-text-input au-c-text-input--"+o+" au-c-wysiwyg "+n},x.default.createElement("div",{className:"au-c-placeholder "+r},this.props.placeholder),x.default.createElement(M.default,(0,s.default)({},this.props,{text:this.cleanText(),onBlur:function(t,n){return e.onBlur(t,n)},onFocus:function(){return e.setState({focused:!0})},openModal:function(t,n){return e.openModal(t,n)}}))),x.default.createElement("div",{className:"au-c-input__bottom "+n}),x.default.createElement(k.default,{isOpen:this.state.modalOpen,insertMedia:function(t,n,r){return e.insertMedia(t,n,r)},inProgress:this.state.mediaGuid&&!b.default.get(i,"displayName.text"),error:this.props.error,closeModal:function(){return e.closeModal()},mediaType:this.state.mediaType,media:this.props[this.state.mediaType],loading:this.props.loadingMedia}))}}]),t}(x.default.Component);t.default=(0,E.connect)(i,I)(D)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.EditorUploadModal=void 0;var o=n(10),i=r(o),a=n(9),s=r(a),u=n(3),l=r(u),c=n(8),d=r(c),f=n(5),p=r(f),h=n(6),m=r(h),v=n(1),g=r(v),y=n(1429),b=r(y),_=n(4),w=r(_),C=n(318),x=r(C),E=n(216),T=r(E),k=n(1310),S=r(k),M=n(1223),O=r(M),A=n(1307),N=r(A),I=n(28),P=r(I),D={audio:"Audio",img:"Image",video:"Video"},R={"639-2%3AENG%40ISO":"en","639-2%3AHIN%40ISO":"hi","639-2%3ATEL%40ISO":"te"},j=g.default.createElement(x.default,null),L=g.default.createElement("i",{className:"material-icons"},"close"),B=g.default.createElement("div",{className:"au-c-wysiwyg-media__upload"},g.default.createElement("i",{className:"material-icons"},"find_in_page")),F=t.EditorUploadModal=function(e){function t(){(0,l.default)(this,t);var e=(0,d.default)(this,(t.__proto__||(0,s.default)(t)).call(this));return e.state={languageMediaData:t.initLanguageMediaData(),activeItem:null,mediaAutoPlay:!1,uploadedMedia:null,selectedMedia:null,language:T.default.languageTypeId.english},e}return(0,m.default)(t,e),(0,p.default)(t,null,[{key:"initLanguageMediaData",value:function(){return w.default.reduce(T.default.languageTypeId,function(e,t){return e[t]={locale:R[t]},e},{})}}]),(0,p.default)(t,[{key:"setters",value:function(e,t){var n=this.state.languageMediaData;n[this.state.language][e]=t,this.setState({languageMediaData:n})}},{key:"mediaPrompt",value:function(){var e=this.props.localizeStrings("editorUploadModal");return{audio:e.audioFile,img:e.imgFile,video:e.videoFile}}},{key:"addMedia",value:function(){var e=(0,i.default)({},this.state.languageMediaData,{mediaType:this.props.mediaType});this.state.uploadedMedia?this.props.insertMedia(this.state.uploadedMedia,e,!0):this.state.selectedMedia&&this.props.insertMedia(this.state.selectedMedia)}},{key:"selectMedia",value:function(e){var t=e.description,n=e.altText,r=e.license,o=e.copyright;this.setState({selectedMedia:e,description:t,altText:n,license:r,copyright:o})}},{key:"metadataFileTypes",value:function(){var e=this.props.mediaType;return"video"===e?["vttFile","transcript"]:"audio"===e?["transcript"]:[]}},{key:"metadataTypes",value:function(){var e=this.props.mediaType;return"audio"===e||"video"===e?["license","copyright"]:["altText","license","copyright"]}},{key:"resetModal",value:function(){this.setState({uploadedMedia:null}),this.setState({languageMediaData:t.initLanguageMediaData()}),this.setState({language:T.default.languageTypeId.english})}},{key:"closeModal",value:function(){this.props.closeModal(),this.resetModal()}},{key:"render",value:function(){var e=this,n=this.props.localizeStrings("editorUploadModal"),r=w.default.get(this,"state.uploadedMedia.name");return this.props.inProgress&&(r=j),this.props.error&&(r=g.default.createElement("div",{className:"au-c-error-text"},n.error,": ",this.props.error)),g.default.createElement(b.default,{overlayClassName:"au-c-wysiwyg-modal-background",className:"au-c-wysiwyg-modal",isOpen:this.props.isOpen,onRequestClose:function(){return e.closeModal()},contentLabel:"Insert "+D[this.props.mediaType]+" Modal"},g.default.createElement("div",{className:"au-c-wysiwyg-modal__header"},g.default.createElement("h3",{className:"au-c-wysiwyg-modal__title"},n.insert," ",D[this.props.mediaType]),g.default.createElement(O.default,{updateItem:function(t){return e.setState(t)}}),g.default.createElement("button",{onClick:function(){return e.closeModal()},className:"au-c-wysiwyg-modal__close"},L)),g.default.createElement("div",{className:"au-c-wysiwyg-modal__main"},g.default.createElement("div",{style:{display:this.state.uploadedMedia||this.props.uploadOnly?"none":"block"}},g.default.createElement("div",{className:"au-c-drop-zone__answers__label"},t[this.props.mediaType]),g.default.createElement(S.default,{media:this.props.media,selectMedia:function(t){return e.selectMedia(t)},selectedMediaId:w.default.get(this.state.selectedMedia,"id"),loading:this.props.loading})),g.default.createElement("div",{className:"au-u-mb-md au-u-mt-md"},g.default.createElement("label",{htmlFor:"fileid",className:"au-c-input--file au-o-flex-center"},g.default.createElement("span",{className:"au-c-wysiwyg-media__label"},"Upload ",D[this.props.mediaType]),g.default.createElement("div",{className:"au-c-wysiwyg-media__source-text",tabIndex:"0"},r),g.default.createElement("input",{onChange:function(t){return e.setState({uploadedMedia:t.target.files[0]})},id:"fileid",type:"file"}),B)),this.state.uploadedMedia?g.default.createElement(N.default,{mediaType:this.props.mediaType,metadataTypes:this.metadataTypes(),metadataFileTypes:this.metadataFileTypes(),selectedLanguage:this.state.language,updateMetadata:function(t,n){return e.setters(t,n)},mediaItem:this.state.selectedMedia,metaData:this.state.languageMediaData[this.state.language]}):null),g.default.createElement("div",{className:"au-c-wysiwyg-modal__footer"},g.default.createElement("button",{onClick:function(){return e.closeModal()},className:"au-u-right  au-c-btn au-c-btn--sm au-c-btn--gray"},n.cancel),g.default.createElement("button",{onClick:function(){return e.addMedia()},className:"au-c-btn au-c-btn--sm au-c-btn--maroon au-u-ml-sm"},n.ok)))}}]),t}(g.default.Component);t.default=(0,P.default)(F)},,,,function(e,t,n){e.exports={default:n(596),__esModule:!0}},[1525,137],366,function(e,t,n){"use strict";var r=n(45),o=n(23),i=n(57),a=n(65),s=n(34)("species");e.exports=function(e){var t="function"==typeof o[e]?o[e]:r[e];a&&t&&!t[s]&&i.f(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r=n(1242),o=n(464),i=n(465),a="[object Array]",s=Object.prototype,u=s.toString,l=r(Array,"isArray"),c=l||function(e){return i(e)&&o(e.length)&&u.call(e)==a};e.exports=c},function(e,t,n){function r(){}function o(e){if(!m(e))return e;var t=[];for(var n in e)i(t,n,e[n]);return t.join("&")}function i(e,t,n){if(null!=n)if(Array.isArray(n))n.forEach(function(n){i(e,t,n)});else if(m(n))for(var r in n)i(e,t+"["+r+"]",n[r]);else e.push(encodeURIComponent(t)+"="+encodeURIComponent(n));else null===n&&e.push(encodeURIComponent(t))}function a(e){for(var t,n,r={},o=e.split("&"),i=0,a=o.length;i<a;++i)t=o[i],n=t.indexOf("="),n==-1?r[decodeURIComponent(t)]="":r[decodeURIComponent(t.slice(0,n))]=decodeURIComponent(t.slice(n+1));return r}function s(e){var t,n,r,o,i=e.split(/\r?\n/),a={};i.pop();for(var s=0,u=i.length;s<u;++s)n=i[s],t=n.indexOf(":"),r=n.slice(0,t).toLowerCase(),o=_(n.slice(t+1)),a[r]=o;return a}function u(e){return/[\/+]json\b/.test(e)}function l(e){this.req=e,this.xhr=this.req.xhr,this.text="HEAD"!=this.req.method&&(""===this.xhr.responseType||"text"===this.xhr.responseType)||"undefined"==typeof this.xhr.responseType?this.xhr.responseText:null,this.statusText=this.req.xhr.statusText;var t=this.xhr.status;1223===t&&(t=204),this._setStatusProperties(t),this.header=this.headers=s(this.xhr.getAllResponseHeaders()),this.header["content-type"]=this.xhr.getResponseHeader("content-type"),this._setHeaderProperties(this.header),null===this.text&&e._responseType?this.body=this.xhr.response:this.body="HEAD"!=this.req.method?this._parseBody(this.text?this.text:this.xhr.response):null}function c(e,t){var n=this;this._query=this._query||[],this.method=e,this.url=t,this.header={},this._header={},this.on("end",function(){var e=null,t=null;try{t=new l(n)}catch(t){return e=new Error("Parser is unable to parse the response"),e.parse=!0,e.original=t,n.xhr?(e.rawResponse="undefined"==typeof n.xhr.responseType?n.xhr.responseText:n.xhr.response,e.status=n.xhr.status?n.xhr.status:null,e.statusCode=e.status):(e.rawResponse=null,e.status=null),n.callback(e)}n.emit("response",t);var r;try{n._isResponseOK(t)||(r=new Error(t.statusText||"Unsuccessful HTTP response"),r.original=e,r.response=t,r.status=t.status)}catch(e){r=e}r?n.callback(r,t):n.callback(null,t)})}function d(e,t,n){var r=b("DELETE",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}var f;"undefined"!=typeof window?f=window:"undefined"!=typeof self?f=self:(console.warn("Using browser-only version of superagent in non-browser environment"),f=this);var p=n(587),h=n(1143),m=n(311),v=n(1142),g=n(1144),y=n(1145),b=t=e.exports=function(e,n){return"function"==typeof n?new t.Request("GET",e).end(n):1==arguments.length?new t.Request("GET",e):new t.Request(e,n)};t.Request=c,b.getXHR=function(){if(!(!f.XMLHttpRequest||f.location&&"file:"==f.location.protocol&&f.ActiveXObject))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(e){}throw Error("Browser-only verison of superagent could not find XHR")};var _="".trim?function(e){return e.trim()}:function(e){return e.replace(/(^\s*|\s*$)/g,"")};b.serializeObject=o,b.parseString=a,b.types={html:"text/html",json:"application/json",xml:"application/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},b.serialize={"application/x-www-form-urlencoded":o,"application/json":JSON.stringify},b.parse={"application/x-www-form-urlencoded":a,"application/json":JSON.parse},g(l.prototype),l.prototype._parseBody=function(e){var t=b.parse[this.type];return this.req._parser?this.req._parser(this,e):(!t&&u(this.type)&&(t=b.parse["application/json"]),t&&e&&(e.length||e instanceof Object)?t(e):null)},l.prototype.toError=function(){var e=this.req,t=e.method,n=e.url,r="cannot "+t+" "+n+" ("+this.status+")",o=new Error(r);return o.status=this.status,o.method=t,o.url=n,o},b.Response=l,p(c.prototype),h(c.prototype),c.prototype.type=function(e){return this.set("Content-Type",b.types[e]||e),this},c.prototype.accept=function(e){return this.set("Accept",b.types[e]||e),this},c.prototype.auth=function(e,t,n){switch(n||(n={type:"function"==typeof btoa?"basic":"auto"}),n.type){case"basic":this.set("Authorization","Basic "+btoa(e+":"+t));break;case"auto":this.username=e,this.password=t}return this},c.prototype.query=function(e){return"string"!=typeof e&&(e=o(e)),e&&this._query.push(e),this},c.prototype.attach=function(e,t,n){if(this._data)throw Error("superagent can't mix .send() and .attach()");return this._getFormData().append(e,t,n||t.name),this},c.prototype._getFormData=function(){return this._formData||(this._formData=new f.FormData),this._formData},c.prototype.callback=function(e,t){if(this._maxRetries&&this._retries++<this._maxRetries&&y(e,t))return this._retry();var n=this._callback;this.clearTimeout(),e&&(this._maxRetries&&(e.retries=this._retries-1),this.emit("error",e)),n(e,t)},c.prototype.crossDomainError=function(){var e=new Error("Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.");e.crossDomain=!0,e.status=this.status,e.method=this.method,e.url=this.url,this.callback(e)},c.prototype.buffer=c.prototype.ca=c.prototype.agent=function(){return console.warn("This is not supported in browser version of superagent"),
-this},c.prototype.pipe=c.prototype.write=function(){throw Error("Streaming is not supported in browser version of superagent")},c.prototype._appendQueryString=function(){var e=this._query.join("&");if(e&&(this.url+=(this.url.indexOf("?")>=0?"&":"?")+e),this._sort){var t=this.url.indexOf("?");if(t>=0){var n=this.url.substring(t+1).split("&");v(this._sort)?n.sort(this._sort):n.sort(),this.url=this.url.substring(0,t)+"?"+n.join("&")}}},c.prototype._isHost=function(e){return e&&"object"==typeof e&&!Array.isArray(e)&&"[object Object]"!==Object.prototype.toString.call(e)},c.prototype.end=function(e){return this._endCalled&&console.warn("Warning: .end() was called twice. This is not supported in superagent"),this._endCalled=!0,this._callback=e||r,this._appendQueryString(),this._end()},c.prototype._end=function(){var e=this,t=this.xhr=b.getXHR(),n=this._formData||this._data;this._setTimeouts(),t.onreadystatechange=function(){var n=t.readyState;if(n>=2&&e._responseTimeoutTimer&&clearTimeout(e._responseTimeoutTimer),4==n){var r;try{r=t.status}catch(e){r=0}if(!r){if(e.timedout||e._aborted)return;return e.crossDomainError()}e.emit("end")}};var r=function(t,n){n.total>0&&(n.percent=n.loaded/n.total*100),n.direction=t,e.emit("progress",n)};if(this.hasListeners("progress"))try{t.onprogress=r.bind(null,"download"),t.upload&&(t.upload.onprogress=r.bind(null,"upload"))}catch(e){}try{this.username&&this.password?t.open(this.method,this.url,!0,this.username,this.password):t.open(this.method,this.url,!0)}catch(e){return this.callback(e)}if(this._withCredentials&&(t.withCredentials=!0),!this._formData&&"GET"!=this.method&&"HEAD"!=this.method&&"string"!=typeof n&&!this._isHost(n)){var o=this._header["content-type"],i=this._serializer||b.serialize[o?o.split(";")[0]:""];!i&&u(o)&&(i=b.serialize["application/json"]),i&&(n=i(n))}for(var a in this.header)null!=this.header[a]&&t.setRequestHeader(a,this.header[a]);return this._responseType&&(t.responseType=this._responseType),this.emit("request",this),t.send("undefined"!=typeof n?n:null),this},b.get=function(e,t,n){var r=b("GET",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},b.head=function(e,t,n){var r=b("HEAD",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},b.options=function(e,t,n){var r=b("OPTIONS",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},b.del=d,b.delete=d,b.patch=function(e,t,n){var r=b("PATCH",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},b.post=function(e,t,n){var r=b("POST",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},b.put=function(e,t,n){var r=b("PUT",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}},function(e,t,n){"use strict";function r(){if(u.length)throw u.shift()}function o(e){var t;t=s.length?s.pop():new i,t.task=e,a(t)}function i(){this.task=null}var a=n(506),s=[],u=[],l=a.makeRequestCallFromTimer(r);e.exports=o,i.prototype.call=function(){try{this.task.call()}catch(e){o.onerror?o.onerror(e):(u.push(e),l())}finally{this.task=null,s[s.length]=this}}},function(e,t){(function(t){"use strict";function n(e){s.length||(a(),u=!0),s[s.length]=e}function r(){for(;l<s.length;){var e=l;if(l+=1,s[e].call(),l>c){for(var t=0,n=s.length-l;t<n;t++)s[t]=s[t+l];s.length-=l,l=0}}s.length=0,l=0,u=!1}function o(e){var t=1,n=new f(e),r=document.createTextNode("");return n.observe(r,{characterData:!0}),function(){t=-t,r.data=t}}function i(e){return function(){function t(){clearTimeout(n),clearInterval(r),e()}var n=setTimeout(t,0),r=setInterval(t,50)}}e.exports=n;var a,s=[],u=!1,l=0,c=1024,d="undefined"!=typeof t?t:self,f=d.MutationObserver||d.WebKitMutationObserver;a="function"==typeof f?o(r):i(r),n.requestFlush=a,n.makeRequestCallFromTimer=i}).call(t,function(){return this}())},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(321),a=o(i),s=n(9),u=o(s),l=n(3),c=o(l),d=n(5),f=o(d),p=n(8),h=o(p),m=n(6),v=o(m),g=n(1),y=o(g),b=n(4),_=o(b),w=n(1204),C=o(w),x=n(56),E=(r(x),n(508)),T=o(E),k=y.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48"},y.default.createElement("path",{d:"M24 4C12.95 4 4 12.95 4 24c0 11.04 8.95 20 20 20 11.04 0 20-8.96 20-20 0-11.05-8.96-20-20-20zm-4 30L10 24l2.83-2.83L20 28.34l15.17-15.17L38 16 20 34z"})),S=y.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48"},y.default.createElement("path",{d:"M24 4c-11.05 0-20 8.95-20 20s8.95 20 20 20 20-8.95 20-20-8.95-20-20-20zm10 27.17l-2.83 2.83-7.17-7.17-7.17 7.17-2.83-2.83 7.17-7.17-7.17-7.17 2.83-2.83 7.17 7.17 7.17-7.17 2.83 2.83-7.17 7.17 7.17 7.17z"})),M=function(e){function t(){return(0,c.default)(this,t),(0,h.default)(this,(t.__proto__||(0,u.default)(t)).apply(this,arguments))}return(0,v.default)(t,e),(0,f.default)(t,[{key:"componentDidMount",value:function(){var e=this;if("undefined"!=typeof MathJax&&MathJax.Hub.Queue(new Array("Typeset",MathJax.Hub)),_.default.isFunction(C.default)){var t=document.querySelectorAll("video.video-js");_.default.each(t,function(e){return(0,C.default)(e)});var n=document.getElementsByClassName("c-question")[0];if(void 0!==n){var r=(0,a.default)(n.querySelectorAll("img, object"));r.forEach(function(t){t.addEventListener("load",function(){return e.props.sendSize()})});var o=(0,a.default)(n.querySelectorAll("video, audio"));o.forEach(function(t){t.addEventListener("loadstart",function(){return e.props.sendSize()}),t.addEventListener("loadedmetadata",function(){return e.props.sendSize()})})}var i=document.querySelectorAll("video");_.default.each(i,function(t){t.addEventListener("play",function(t){e.props.videoPlay(t.target.id||t.target.src,t.target.currentTime)},!1),t.addEventListener("pause",function(t){e.props.videoPause(t.target.id||t.target.src,t.target.currentTime)},!1)});var s=document.querySelectorAll("audio");_.default.each(s,function(t){t.addEventListener("play",function(t){e.props.audioPlay(t.target.id||t.target.src,t.target.currentTime)},!1),t.addEventListener("pause",function(t){e.props.audioPause(t.target.id||t.target.src,t.target.currentTime)},!1)})}}},{key:"getFeedback",value:function(){var e=this.props.questionResult,t=this.props.question.question_type,n=void 0;if(e)if(e.correct===!0)switch(t){case"survey_question":n=y.default.createElement("div",{className:"c-question-feedback  c-feedback--correct"},y.default.createElement("div",{dangerouslySetInnerHTML:{__html:e.feedback}}));break;default:n=y.default.createElement("div",{className:"c-question-feedback  c-feedback--correct"},k,y.default.createElement("div",{dangerouslySetInnerHTML:{__html:e.feedback}}))}else e.correct===!1&&(n=y.default.createElement("div",{className:"c-question-feedback  c-feedback--incorrect"},S,y.default.createElement("div",{dangerouslySetInnerHTML:{__html:e.feedback}})));return y.default.createElement("div",null,n)}},{key:"render",value:function(){return y.default.createElement("div",{className:"c-question"},y.default.createElement("div",{className:"c-question-prompt"},y.default.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.question.material}})),y.default.createElement("div",{className:"c-answers"},y.default.createElement(T.default,{settings:this.props.settings,item:this.props.question,isResult:!1,selectAnswer:this.props.selectAnswer,response:this.props.response,localizedStrings:this.props.localizedStrings,audioRecordStart:this.props.audioRecordStart,audioRecordStop:this.props.audioRecordStop})),this.getFeedback())}}]),t}(y.default.Component);t.default=M},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.UNGRADED=t.INCORRECT=t.CORRECT=void 0;var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),l=r(u),c=n(8),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),v=n(4),g=r(v),y=n(326),b=r(y),_=n(509),w=r(_),C=n(512),x=r(C),E=n(514),T=r(E),k=n(510),S=r(k),M=n(515),O=r(M),A=n(518),N=r(A),I=n(519),P=r(I),D=n(328),R=r(D),j=n(522),L=r(j),B=n(523),F=r(B),U=n(526),H=r(U),z=n(527),q=r(z),W=(t.CORRECT="CORRECT",t.INCORRECT="INCORRECT",t.UNGRADED="UNGRADED",function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,l.default)(t,[{key:"wasSelected",value:function(e){return this.props.response?this.props.response.indexOf(e)>-1:null}},{key:"render",value:function(){var e=this,t=this.props,n=t.item,r=void 0;switch(n.question_type){case"edx_multiple_choice":case"multiple_choice_question":case"true_false_question":case"survey_question":var o=function(r){var o=g.default.partialRight(t.selectAnswer,!0),i=n.id+"_"+r.id;return m.default.createElement(F.default,{isDisabled:t.isResult,key:i,id:i,item:r,isHtml:n.isHtml,name:"answer-radio",checked:e.wasSelected(r.id),selectAnswer:o})};r=g.default.chunk(n.answers,2).map(function(e){return m.default.createElement("ul",{key:n.id+"_row_"+e[0].id,className:"o-grid"},e.map(o))});break;case"edx_dropdown":r=n.answers.map(function(e){return m.default.createElement(L.default,{isDisabled:t.isResult,key:n.id+"_"+e.id,item:e,name:"answer-option"})});break;case"matching_question":r=m.default.createElement(P.default,{isDisabled:t.isResult,item:n,name:"answer-option"});break;case"edx_numerical_input":case"edx_text_input":r=n.answers.map(function(e){return m.default.createElement(q.default,{isDisabled:t.isResult,key:n.id+"_"+e.id,item:e,name:"answer-text"})});break;case"text_input_question":case"text_only_question":case"short_answer_question":r=m.default.createElement("div",{className:"c-text-answer"},m.default.createElement("textarea",{placeholder:"Enter answer here...",onBlur:function(e){return t.selectAnswer(e.target.value,!0)},rows:parseInt(t.item.question_meta.expectedLines,10)||1}));break;case"numerical_input_question":r=m.default.createElement("div",{className:"c-text-answer"},m.default.createElement("textarea",{placeholder:"Enter answer here...",onBlur:function(e){return t.selectAnswer(e.target.value,!0)},rows:parseInt(t.item.question_meta.expectedLines,10)||1}));break;case"multiple_answers_question":var i=function(r){var o=g.default.partialRight(t.selectAnswer,!1),i=n.id+"_"+r.id;return m.default.createElement(w.default,{isDisabled:t.isResult,key:i,id:i,item:r,isHtml:n.isHtml,checked:e.wasSelected(r.id),selectAnswer:o})};r=g.default.chunk(n.answers,2).map(function(e){return m.default.createElement("ul",{key:n.id+"_row_"+e[0].id,className:"o-grid"},e.map(i))});break;case"edx_image_mapped_input":r=n.answers.map(function(e){return m.default.createElement(N.default,{key:n.id+"_"+e.id,item:e})});break;case"edx_drag_and_drop":r=n.answers.map(function(e){return m.default.createElement(x.default,{key:n.id+"_"+e.id,item:e})});break;case"file_upload_question":var a=g.default.curryRight(t.selectAnswer)(!0);r=m.default.createElement(T.default,{localizedStrings:this.props.localizedStrings.fileUpload,selectAnswer:a});break;case"audio_upload_question":var s=g.default.partialRight(t.selectAnswer,!0);r=m.default.createElement(b.default,{localizedStrings:this.props.localizedStrings.audioUpload,selectAnswer:s,timeout:this.props.settings.audio_recorder_timeout,audioRecordStart:this.props.audioRecordStart,audioRecordStop:this.props.audioRecordStop});break;case"movable_object_chain":var u=g.default.partialRight(t.selectAnswer,!1);r=m.default.createElement(R.default,{answers:n.answers,selectAnswer:u,wordChain:t.response,itemClassName:"c-object",answerBoxClassName:"c-object-answers",noStartBlock:!0});break;case"movable_words_sentence":var l=g.default.partialRight(t.selectAnswer,!1);r=m.default.createElement(R.default,{answers:n.answers,selectAnswer:l,wordChain:t.response,itemClassName:"c-word",answerBoxClassName:"c-word-answers"});break;case"movable_words_sandbox":var c=g.default.partialRight(t.selectAnswer,!1),d=t.response.filter(function(e){return"string"==typeof e});r=m.default.createElement(H.default,{answers:n.answers,selectAnswer:c,wordChain:d,localizedStrings:this.props.localizedStrings.audioUpload,timeout:this.props.settings.audio_recorder_timeout,itemClassName:"c-word",answerBoxClassName:"c-word-answers",audioRecordStart:this.props.audioRecordStart,audioRecordStop:this.props.audioRecordStop});break;case"fill_the_blank_question":var f=g.default.partialRight(t.selectAnswer,!1);r=m.default.createElement(O.default,{answers:n.answers,sentenceWithBlank:n.question_meta.fillTheBlankSentence,selectAnswer:f,selectedAnswer:t.response});break;case"clix_drag_and_drop":var p=g.default.partialRight(t.selectAnswer,!1);r=m.default.createElement(S.default,{answers:n.answers,zones:n.question_meta.zones,targets:n.question_meta.targets,selectAnswer:p,selectedAnswers:t.response});break;default:r=void 0}return m.default.createElement("div",null,r)}}]),t}(m.default.Component));t.default=W},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),l=r(u),c=n(8),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),v=m.default.createElement("div",{className:"c-checkbox__border"},m.default.createElement("span",null)),g=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,l.default)(t,[{key:"selectAnswer",value:function(){this.props.selectAnswer(this.props.item.id)}},{key:"renderMaterial",value:function(e,t){return t?m.default.createElement("div",{className:"c-answer-container__content",dangerouslySetInnerHTML:{__html:e}}):m.default.createElement("div",{className:"c-answer-container__content"},m.default.createElement("p",null,e))}},{key:"render",value:function(){var e=this,t="";return this.props.checked===!0&&(t="is-clicked"),m.default.createElement("li",{className:"c-answer-container "+t},m.default.createElement("label",{htmlFor:this.props.id},m.default.createElement("div",{className:"c-answer-container__radio"},m.default.createElement("div",{className:"c-checkbox"},m.default.createElement("input",{type:"checkbox",checked:this.props.checked,disabled:this.props.isDisabled,name:"answer-checkbox",onChange:function(){e.selectAnswer()},id:this.props.id}),v)),m.default.createElement("div",{className:"c-answer-container__content"},this.renderMaterial(this.props.item.material,this.props.isHtml))))}}]),t}(m.default.Component);t.default=g},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return e.dropBehaviorType.indexOf("%3Adrop%40")>-1}function i(e){var t=["c-drag-zone"];return o(e)||t.push("c-drag-zone--snap"),e.visible&&t.push("show-border"),t.join(" ")}Object.defineProperty(t,"__esModule",{value:!0}),t.ClixDragAndDrop=void 0;var a=n(10),s=r(a),u=n(9),l=r(u),c=n(3),d=r(c),f=n(5),p=r(f),h=n(8),m=r(h),v=n(6),g=r(v),y=n(1),b=r(y),_=n(4),w=r(_),C=n(214),x=r(C),E=n(511),T=r(E),k=n(327),S=r(k),M=n(211),O=r(M),A=b.default.createElement(O.default,null),N=t.ClixDragAndDrop=function(e){function t(){return(0,d.default)(this,t),(0,m.default)(this,(t.__proto__||(0,l.default)(t)).apply(this,arguments))}return(0,g.default)(t,e),(0,p.default)(t,[{key:"selectAnswer",value:function(e,t,n,r){var i=this.props.targets[n],a=this.props.zones[e],u=[];if(o(a)){var l=this["target_"+n].getBoundingClientRect();u.push(r.x-l.left),u.push(r.y-l.top)}else u.push(a.spatialUnit.coordinateValues[0]+a.spatialUnit.width/2),u.push(a.spatialUnit.coordinateValues[1]+a.spatialUnit.height/2);var c=(0,s.default)({id:{id:t.droppableId,zoneIndex:e}},t,{zoneIndex:e,containerId:i.id,coordinateValues:u});this.props.selectAnswer(c),e!==t.previousZoneIndex&&t.previousZoneIndex>-1?this.props.selectAnswer({id:{id:t.droppableId,zoneIndex:t.previousZoneIndex}}):o(a)&&e===t.previousZoneIndex&&this.props.selectAnswer(c)}},{key:"deselectAnswer",value:function(e){e.previousZoneIndex>-1&&this.props.selectAnswer({id:{id:e.droppableId,zoneIndex:e.previousZoneIndex}})}},{key:"renderZones",value:function(e){var t=this;return w.default.map(this.props.zones,function(n,r){var a=!w.default.find(t.props.selectedAnswers,{zoneIndex:r})||o(n);return b.default.createElement(T.default,{key:r,className:i(n),canDrop:a,dropItem:function(n,o){return t.selectAnswer(r,n,e,o)},style:{left:n.spatialUnit.coordinateValues[0],top:n.spatialUnit.coordinateValues[1],height:n.spatialUnit.height,width:n.spatialUnit.width}},n.name?b.default.createElement("div",{className:"c-drag-zone__name"},n.name):null)})}},{key:"renderSelectedAnswers",value:function(){return w.default.map(this.props.selectedAnswers,function(e){return b.default.createElement(S.default,{key:e.droppableId,style:{position:"absolute",left:e.coordinateValues[0]-e.width/2,top:e.coordinateValues[1]-e.height/2},className:"c-droppable-item",text:e.droppableText,zoneIndex:e.zoneIndex,droppableId:e.droppableId})})}},{key:"renderAvailableAnswers",value:function(){var e=this;return w.default.map(this.props.answers,function(t){var n=w.default.filter(e.props.selectedAnswers,{droppableId:t.id}).length;return b.default.createElement(S.default,{key:t.id,className:"c-droppable-item",hide:n>=parseInt(t.reuse,10),showWhileDragging:n<t.reuse-1,droppableId:t.id,text:t.text,zoneIndex:-1})})}},{key:"renderTargets",value:function(){var e=this;return w.default.map(this.props.targets,function(t,n){return b.default.createElement("div",{key:n,className:"c-drag-target",style:{position:"relative"}},b.default.createElement("div",{className:"c-drag-target__background",ref:function(t){return e["target_"+n]=t},dangerouslySetInnerHTML:{__html:t.text}}),e.renderZones(n),e.renderSelectedAnswers())})}},{key:"render",value:function(){var e=this;return b.default.createElement("div",{className:"c-clix-drag-and-drop"},this.renderTargets(),b.default.createElement(T.default,{canDrop:!0,className:"c-droppable-container",dropItem:function(t){return e.deselectAnswer(t)}},this.renderAvailableAnswers()),A)}}]),t}(b.default.Component);t.default=(0,x.default)(N)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return{connectDropTarget:e.dropTarget(),isOver:t.isOver()}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(99),a=n(132),s=n(104),u=r(s),l={drop:function(e,t){var n=document.getElementsByTagName("body")[0];return n.className="",e.dropItem(t.getItem(),t.getClientOffset()),t.getItem()},canDrop:function(e){return e.canDrop}};t.default=(0,i.DropTarget)(u.default.CLIX_DROPPABLE,l,o)(a.Dropzone)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),l=r(u),c=n(8),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),v=n(521),g=r(v),y=n(212),b=r(y),_=n(513),w=r(_),C=m.default.createElement("p",null,"Error: Type undefined"),x=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e="dragDrop"+this.props.item.id,t={position:"relative",display:"block",clear:"both"},n=this.props.item.draggables.map(function(e,t){return m.default.createElement(b.default,{key:"Bank"+t,item:e})});if("key"==this.props.item.type){var r=this.props.item.targets.map(function(e,t){return m.default.createElement(g.default,{key:"dropZone"+t,item:e})});return m.default.createElement("div",null,m.default.createElement("div",{id:e,style:t},m.default.createElement("img",{src:this.props.item.img,alt:"Drag and Drop image"}),r),m.default.createElement("div",null,n))}return"index"==this.props.item.type?m.default.createElement("div",{style:t},m.default.createElement(w.default,{item:this.props.item}),n):C}}]),t}(m.default.Component);t.default=x},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(9),a=o(i),s=n(3),u=o(s),l=n(5),c=o(l),d=n(8),f=o(d),p=n(6),h=o(p),m=n(1),v=o(m),g=n(56),y=(r(g),n(212)),b=(o(y),function(e){function t(){(0,u.default)(this,t);var e=(0,f.default)(this,(t.__proto__||(0,a.default)(t)).call(this));return e.x=0,e.y=0,e}return(0,h.default)(t,e),(0,c.default)(t,[{key:"allowDrop",value:function(e){e.preventDefault(),this.x=event.clientX,this.y=event.clientY}},{key:"drop",value:function(e){e.preventDefault();var t=e.target.getBoundingClientRect(),n=e.dataTransfer.getData("text"),r=document.getElementById(n);e.currentTarget.appendChild(r),document.getElementById(n).setAttribute("style","position:absolute; top:"+(this.y-t.top-Number(r.getAttribute("offsetY")))+"px; left:"+(this.x-t.left-Number(r.getAttribute("offsetX")))+"px; ")}},{key:"render",value:function(){var e=this,t={border:"1px solid #aaaaaa",position:"relative"},n={zIndex:"-1"},r="zone"+this.props.item.id;return v.default.createElement("div",{id:r,onDrop:function(t){e.drop(t)},onDragOver:function(t){e.allowDrop(t)},style:t},v.default.createElement("img",{src:this.props.item.img,alt:"Drag and Drop image",style:n}))}}]),t}(v.default.Component));t.default=b},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),l=r(u),c=n(8),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),v=n(4),g=r(v),y=function(e){function t(){(0,s.default)(this,t);var e=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this));return e.state={uplFile:""},e}return(0,p.default)(t,e),(0,l.default)(t,[{key:"handleChange",value:function(e){g.default.isFunction(this.props.selectAnswer)&&this.props.selectAnswer(e.target.files[0]),void 0!==e.target.files[0]?this.setState({uplFile:e.target.files[0].name}):this.setState({uplFile:""})}},{key:"render",value:function(){var e=this;return m.default.createElement("label",{htmlFor:"file-upload",className:"c-file-upload"},m.default.createElement("span",null,this.props.localizedStrings.chooseFile),m.default.createElement("input",{id:"file-upload",ref:function(t){e.inputField=t},onChange:function(t){return e.handleChange(t)},type:"file",className:"c-file-upload-input"}),m.default.createElement("input",{type:"text",value:this.state.uplFile?this.state.uplFile:this.props.localizedStrings.noFile,readOnly:!0}))}}]),t}(m.default.Component);t.default=y},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.FillTheBlank=void 0;var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),l=r(u),c=n(8),d=r(c),f=n(6),p=r(f),h=n(4),m=r(h),v=n(1),g=r(v),y=n(103),b=(r(y),n(214)),_=r(b),w=n(213),C=n(132),x=n(211),E=r(x),T=n(516),k=r(T),S=g.default.createElement(E.default,null),M=t.FillTheBlank=function(e){function t(){(0,s.default)(this,t);var e=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this));return e.state={answerPositions:{}},e}return(0,p.default)(t,e),(0,l.default)(t,[{key:"dropWordInCloud",value:function(e,t){m.default.includes(this.props.selectedAnswer,e)&&this.props.selectAnswer(e)}},{key:"linkWord",value:function(e){this.props.selectAnswer(e)}},{key:"render",value:function(){var e=this,t={};m.default.each(this.props.answers,function(e){t[e.id]=e});var n=m.default.map(t,function(t){return g.default.createElement(w.FillTheBlankDraggableWord,{key:t.id,id:t.id,material:t.material,hide:m.default.includes(e.props.selectedAnswer,t.id),wordClassName:"c-word c-word--blank"})});return g.default.createElement("div",{dir:"ltr"},g.default.createElement("div",{className:"c-word-box"},g.default.createElement(C.FillTheBlankWordDropZone,{ref:function(t){return e.FillTheBlankWordDropZone=t},dropItem:function(t,n){e.dropWordInCloud(t,n)},className:"c-word-box__contain"},n)),g.default.createElement("div",null,g.default.createElement(k.default,{sentenceWords:this.props.sentenceWithBlank,selectedAnswer:t[m.default.first(this.props.selectedAnswer)],linkWord:function(t){e.linkWord(t)}})),S)}}]),t}(g.default.Component);t.default=(0,_.default)(M)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),l=r(u),c=n(8),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),v=n(4),g=r(v),y=n(213),b=n(132),_=n(161),w=r(_),C=m.default.createElement("div",{className:"c-blank"}),x=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,l.default)(t,[{key:"getWords",value:function(e){var t=this;return e.map(function(e,n){return e.indexOf("interaction-placeholder")>=0?g.default.isEmpty(t.props.selectedAnswer)?m.default.createElement(b.FillTheBlankWordDropZone,{className:"c-blank-drop-zone",key:n,dropItem:function(e){t.props.linkWord(e)}},C):m.default.createElement("div",{className:"c-blank-drop-zone",key:t.props.selectedAnswer.id+"-"+n},m.default.createElement(y.FillTheBlankDraggableWord,{id:t.props.selectedAnswer.id,material:t.props.selectedAnswer.material,wordClassName:"c-word c-word--blank"})):m.default.createElement(w.default,{className:"c-word c-word--fill",key:n,material:e})})}},{key:"render",value:function(){return m.default.createElement("div",{className:"c-blank-answers"},this.getWords(this.props.sentenceWords))}}]),t}(m.default.Component);t.default=x},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),l=r(u),c=n(8),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),v=n(103),g=r(v),y=n(4),b=r(y),_=n(132),w=n(520),C=r(w),x=n(531),E=m.default.createElement("div",null),T=m.default.createElement("div",null),k=m.default.createElement("div",null),S=function(e){function t(){(0,s.default)(this,t);var e=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this));return e.state={draggingIndex:null,wrapIndexes:[0]},e}return(0,p.default)(t,e),(0,l.default)(t,[{key:"componentWillReceiveProps",value:function(e){var t=this;if(!b.default.isEqual(e.wordChain,this.props.wordChain))if(e.wordChain.length>this.props.wordChain.length){var n=g.default.findDOMNode(this.WordDropZone),r=n.getBoundingClientRect();if(r.right-r.left<100){var o=this.props.wordChain.length;this.setState({wrapIndexes:this.state.wrapIndexes.concat(o)})}}else if(e.wordChain.length<this.props.wordChain.length){var i=b.default.dropRightWhile(this.state.wrapIndexes,function(e){return e>=t.state.draggingIndex&&e>0});this.setState({wrapIndexes:i})}}},{key:"componentDidUpdate",value:function(){var e=g.default.findDOMNode(this.WordDropZone),t=e.getBoundingClientRect();if(t.right-t.left<10){var n=this.props.wordChain.length;this.setState({wrapIndexes:this.state.wrapIndexes.concat(n)})}}},{key:"beginDragging",value:function(e){this.setState({dragging:!0,draggingIndex:e})}},{key:"endDragging",value:function(){this.setState({dragging:!1,draggingIndex:null})}},{key:"getLines",value:function(){var e=this;return b.default.map(this.state.wrapIndexes,function(t,n){var r=e.props.wordChain.length;e.state.wrapIndexes[n+1]&&(r=e.state.wrapIndexes[n+1]);var o=b.default.slice(e.props.wordChain,t,r);o=o.map(function(n,r){var o=e.props.answersById[n],i=b.default.at(e.props.answersById,e.props.wordChain.slice(r+t));return m.default.createElement(C.default,{wordClassName:e.props.itemClassName,id:n,key:n,isGroupDragging:e.state.dragging&&r+t>=e.state.draggingIndex,draggableWords:i,beginDragging:function(){e.beginDragging(r+t)},endDragging:function(){e.endDragging()},material:o.material})});var i=e.props.answerBoxClassName,a="c-word c-word--starter",s=E,u=m.default.createElement(_.WordDropZone,{className:"c-drop-zone",ref:function(t){e.WordDropZone=t},dropItem:function(t){e.props.linkWord(t)},overClassName:"c-over-drop-zone"});e.state.wrapIndexes.length>1&&(0===n?(s=x.beginWrap,i+=" c-word-answers--split-top",u=T):(s=x.endWrap,a+=" u-hide",i+=" c-word-answers--split-bottom"));var l=m.default.createElement("div",{className:a});return e.props.noStartBlock&&(l=k),m.default.createElement("div",{key:t,className:i},s,l,o,u)})}},{key:"render",value:function(){var e=this.getLines();return m.default.createElement("div",null,e)}}]),t}(m.default.Component);t.default=S},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(9),a=o(i),s=n(3),u=o(s),l=n(5),c=o(l),d=n(8),f=o(d),p=n(6),h=o(p),m=n(1),v=o(m),g=n(56),y=(r(g),function(e){function t(){return(0,u.default)(this,t),(0,f.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,h.default)(t,e),(0,c.default)(t,[{key:"render",value:function(){var e="mappedImg"+this.props.item.id,t="#"+e,n=this.props.item.coordinates.toString();return v.default.createElement("div",null,v.default.createElement("img",{src:this.props.item.material,width:this.props.item.width,height:this.props.item.height,alt:e,useMap:t}),v.default.createElement("map",{name:e},v.default.createElement("area",{shape:"rect",coords:n,onClick:function(){}})))}}]),t}(v.default.Component));t.default=y},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Matching=void 0;var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),l=r(u),c=n(8),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),v=n(43),g=n(4),y=r(g),b=n(56),_=(n(536),m.default.createElement("option",{selected:null,id:"0000"},"[Select Answer]")),w=m.default.createElement("option",{selected:null,id:"0000"}),C=m.default.createElement("option",{selected:null,id:"0000"},"--------------------------------------"),x=t.Matching=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,l.default)(t,[{key:"answerSelected",value:function(e,t){var n=e.target.parentNode.firstChild.textContent,r=e.currentTarget.value,o=e.currentTarget.name,i=e.currentTarget.children[e.currentTarget.selectedIndex].id,a={id:n,selectedAnswer:r,answerNumber:o,item:this.props.item,answerId:i};this.props.answerSelected(a)}},{key:"getResponses",value:function(e){for(var t=[],n=0;n<e.correct.length;n++){for(var r={id:e.correct[n].id,material:"",answers:[]},o=0;o<e.answers.length/e.correct.length;o++)r.material=e.answers[o].matchMaterial,r.answers.push(e.answers[o]);t.push(r)}return t}},{key:"getMaterialNames",value:function(){return y.default.chain(this.props.item.answers).map(function(e,t){return e.matchMaterial}).uniq().value()}},{key:"render",value:function(){var e=this,t=this.getResponses(this.props.item),n=this.getMaterialNames(),r=t.map(function(t,r){var o,i="answer-"+r,a="response-"+t.id,s=e.props.studentAnswers?e.props.studentAnswers[r]:{selectedAnswer:""},u=t.answers.map(function(e,t){return s&&s.selectedAnswer.trim()==e.material.trim()&&(o=s.selectedAnswer.trim()),m.default.createElement("option",{key:"answer-"+e.id,value:e.material.trim(),id:e.id},e.material.trim())}),l=e.props.isDisabled?m.default.createElement("select",{disabled:"true",name:i,onChange:function(t,n){e.answerSelected(t,n)}},w,C):m.default.createElement("select",{name:i,value:o,onChange:function(t,n){e.answerSelected(t,n)}},_,u);return m.default.createElement("div",{key:a},n[r],l)});return m.default.createElement("div",null,r)}}]),t}(m.default.Component);t.default=(0,v.connect)(null,{answerSelected:b.answerSelected},null,{withRefs:!0})(x)},function(e,t,n){"use strict";
-function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return{connectDragSource:e.dragSource(),isDragging:t.isDragging(),connectDragPreview:e.dragPreview()}}Object.defineProperty(t,"__esModule",{value:!0}),t.DraggableGroupWord=void 0;var i=n(9),a=r(i),s=n(3),u=r(s),l=n(5),c=r(l),d=n(8),f=r(d),p=n(6),h=r(p),m=n(1),v=r(m),g=n(99),y=n(190),b=n(161),_=r(b),w=n(104),C=r(w),x={beginDrag:function(e){return e.beginDragging(),{itemId:e.id,words:e.draggableWords,wordClassName:e.wordClassName}},endDrag:function(e,t){e.endDragging()}},E=t.DraggableGroupWord=function(e){function t(){return(0,u.default)(this,t),(0,f.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,h.default)(t,e),(0,c.default)(t,[{key:"componentDidMount",value:function(){this.props.connectDragPreview((0,y.getEmptyImage)())}},{key:"render",value:function(){var e=this.props,t=e.connectDragSource,n=e.isGroupDragging,r=e.material;return t(v.default.createElement("div",{className:"draggable-group-word",style:{display:"inline-block",opacity:n?0:1,cursor:"move"}},v.default.createElement(_.default,{material:r,className:this.props.wordClassName})))}}]),t}(v.default.Component);t.default=(0,g.DragSource)(C.default.WORD_GROUP,x,o)(E)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(9),a=o(i),s=n(3),u=o(s),l=n(5),c=o(l),d=n(8),f=o(d),p=n(6),h=o(p),m=n(1),v=o(m),g=n(56),y=(r(g),n(212)),b=(o(y),function(e){function t(){return(0,u.default)(this,t),(0,f.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,h.default)(t,e),(0,c.default)(t,[{key:"allowDrop",value:function(e){e.preventDefault()}},{key:"drop",value:function(e){e.preventDefault();var t=e.dataTransfer.getData("text");e.target.appendChild(document.getElementById(t))}},{key:"render",value:function(){var e=this,t={position:"absolute",width:this.props.item.width.toString()+"px",height:this.props.item.height.toString()+"px",top:this.props.item.yPos.toString()+"px",left:this.props.item.xPos.toString()+"px",border:"1px solid #aaaaaa"},n="zone"+this.props.item.id;return v.default.createElement("div",{className:"dropZone",id:n,onDrop:function(t){e.props.item.onePerTarget&&document.getElementById(n).hasChildNodes()||e.drop(t)},onDragOver:function(t){e.props.item.onePerTarget&&document.getElementById(n).hasChildNodes()||e.allowDrop(t)},style:t})}}]),t}(v.default.Component));t.default=b},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(9),a=o(i),s=n(3),u=o(s),l=n(5),c=o(l),d=n(8),f=o(d),p=n(6),h=o(p),m=n(1),v=o(m),g=n(56),y=(r(g),function(e){function t(){return(0,u.default)(this,t),(0,f.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,h.default)(t,e),(0,c.default)(t,[{key:"answerSelected",value:function(){}},{key:"render",value:function(){var e=this,t=this.props.item.material.map(function(t){return v.default.createElement("option",{key:t,value:t,name:e.props.name},t)});return v.default.createElement("div",null,v.default.createElement("select",{onChange:function(){e.answerSelected()}},t))}}]),t}(v.default.Component));t.default=y},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),l=r(u),c=n(8),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),v=m.default.createElement("div",{className:"c-radio-button__border"},m.default.createElement("span",null)),g=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,l.default)(t,[{key:"selectAnswer",value:function(){this.props.selectAnswer(this.props.item.id)}},{key:"checkedStatus",value:function(){var e=null;return this.props.checked===!0?e=!0:this.props.checked===!1?e=!1:!this.props.isDisabled,e}},{key:"renderMaterial",value:function(e,t){return t?m.default.createElement("div",{className:"c-answer-container__content",dangerouslySetInnerHTML:{__html:e}}):m.default.createElement("div",{className:"c-answer-container__content"},m.default.createElement("p",null,e))}},{key:"render",value:function(){var e=this,t=this.props,n="";return this.props.checked===!0&&(n="is-clicked"),m.default.createElement("li",{className:"c-answer-container "+n},m.default.createElement("label",{htmlFor:t.id},m.default.createElement("div",{className:"c-answer-container__radio"},m.default.createElement("div",{className:"c-radio-button"},m.default.createElement("input",{type:"radio",checked:this.checkedStatus(),disabled:t.isDisabled,name:"radio",id:t.id,onChange:function(){e.selectAnswer()}}),v)),m.default.createElement("div",{className:"c-answer-container__content"},this.renderMaterial(t.item.material,t.isHtml))))}}]),t}(m.default.Component);t.default=g},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.RecorderCommands=void 0;var o=n(218),i=r(o),a=n(9),s=r(a),u=n(3),l=r(u),c=n(5),d=r(c),f=n(8),p=r(f),h=n(6),m=r(h),v=n(1),g=r(v),y=n(1118),b=r(y),_=(t.RecorderCommands={start:"start",stop:"stop"},function(e){function t(){(0,l.default)(this,t);var e=(0,p.default)(this,(t.__proto__||(0,s.default)(t)).call(this));return e.state={},e}return(0,m.default)(t,e),(0,d.default)(t,[{key:"gUMPolyfill",value:function(e){var t=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia;return t?new i.default(function(n,r){t.call(navigator,e,n,r)}):i.default.reject(new Error("getUserMedia is not implemented in this browser"))}},{key:"startRecorder",value:function(){var e=this;this.state.recorder||(void 0===navigator.mediaDevices&&(navigator.mediaDevices={}),void 0===navigator.mediaDevices.getUserMedia&&(navigator.mediaDevices.getUserMedia=this.gUMPolyfill),navigator.mediaDevices.getUserMedia({audio:!0}).then(function(t){return e.handleStream(t)}).catch(function(e){console.error(e)}))}},{key:"handleStream",value:function(e){window.AudioContext=window.AudioContext||window.webkitAudioContext;var t=new AudioContext,n=t.createMediaStreamSource(e),r=new b.default(n);this.setState({audioContext:t,recorder:r,stream:e}),r.record()}},{key:"cleanupAudioResources",value:function(){this.state.recorder.clear(),this.state.audioContext.close&&this.state.audioContext.close(),this.state.stream.stop?this.state.stream.stop():this.state.stream.getAudioTracks().forEach(function(e){return e.stop()})}},{key:"stopRecorder",value:function(){var e=this;this.state.recorder&&this.state.recorder.recording&&(this.state.recorder.stop(),this.state.recorder.exportWAV(function(t){e.props.onStop(t,e.state.audioContext.currentTime),e.cleanupAudioResources(),e.setState({recorder:null,audioContext:null,stream:null})}))}},{key:"componentWillUnmount",value:function(){this.state.recorder&&this.state.recorder.recording&&(this.state.recorder.stop(),this.cleanupAudioResources())}},{key:"render",value:function(){return"start"==this.props.command?this.startRecorder():"stop"==this.props.command&&this.stopRecorder(),null}}]),t}(g.default.Component));t.default=_},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),l=r(u),c=n(8),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),v=n(973),g=function(e){function t(){(0,s.default)(this,t);var e=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this));return e.state={minsCt:0,secsCt:0,secsStringCt:"00",prcntCt:0},e}return(0,p.default)(t,e),(0,l.default)(t,[{key:"componentDidMount",value:function(){this.handleTimerCount()}},{key:"componentWillUnmount",value:function(){this.clearTimerCount()}},{key:"tick",value:function(){var e=this;this.setState(function(t){return{prcntCt:Math.round((t.prcntCt+1)/e.props.timeout*100)}}),this.state.secsCt<9?this.setState(function(e){return{secsCt:e.secsCt+1,secsStringCt:"0"+(e.secsCt+1)}}):59===this.state.secsCt?this.setState(function(e){return{minsCt:e.minsCt+1,secsCt:0,secsStringCt:"00"}}):this.setState(function(e){return{secsCt:e.secsCt+1,secsStringCt:e.secsCt+1}})}},{key:"handleTimerCount",value:function(){var e=this;this.interval=setInterval(function(){return e.tick()},1e3)}},{key:"clearTimerCount",value:function(){clearInterval(this.interval),this.setState({minsCt:0,secsCt:0,secsStringCt:"00",prcntCt:0})}},{key:"render",value:function(){return m.default.createElement("div",null,m.default.createElement("div",{className:"c-audio-timer"},m.default.createElement("small",null,this.props.localizedStrings.recordTime)," ",this.state.minsCt,":",this.state.secsStringCt),m.default.createElement(v.Line,{percent:this.state.prcntCt,strokeWidth:"1",strokeColor:"#D0021B"}))}}]),t}(m.default.Component);t.default=g},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),l=r(u),c=n(8),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),v=n(328),g=r(v),y=n(326),b=r(y),_=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){return m.default.createElement("div",null,m.default.createElement(g.default,this.props),m.default.createElement(b.default,{timeout:this.props.timeout,localizedStrings:this.props.localizedStrings,selectAnswer:this.props.selectAnswer,audioRecordStart:this.props.audioRecordStart,audioRecordStop:this.props.audioRecordStop}))}}]),t}(m.default.Component);t.default=_},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),l=r(u),c=n(8),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),v=m.default.createElement("input",{type:"text",className:"form-control"}),g=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){return m.default.createElement("div",null,this.props.item.material,v)}}]),t}(m.default.Component);t.default=g},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments[2];if(!e)return{};var r=(0,a.default)({},e,{name:u.default.get(e,"displayName.text",""),items:t,isPublished:n});return r}Object.defineProperty(t,"__esModule",{value:!0}),t.isPublished=t.assessment=t.rawAssessment=t._assessment=t.items=t.assessmentItemIds=t.bankAssessments=t.banks=t.settings=t.assessmentItems=t.allItems=t.id=t.bankId=void 0;var i=n(10),a=r(i);t.transformAssessment=o;var s=n(4),u=r(s),l=n(310),c=t.bankId=function(e,t){return encodeURIComponent(t.params.bankId)},d=t.id=function(e,t){return encodeURIComponent(t.params.id)},f=t.allItems=function(e){return e.items},p=t.assessmentItems=function(e){return e.assessmentItems},h=t.settings=function(e){return e.settings},m=(t.banks=function(e){return e.banks},t.bankAssessments=(0,l.createSelector)(c,function(e){return e.assessments},function(e,t){return t[e]})),v=t.assessmentItemIds=(0,l.createSelector)(p,d,function(e,t){return e[t]}),g=t.items=(0,l.createSelector)(f,c,v,function(e,t,n){return u.default.compact(u.default.at(e[t],n))}),y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return u.default.includes(e.assignedBankIds,t.publishedBankId)},b=t._assessment=function(e,t,n){var r=y(e,n);return o(e,t,r)},_=t.rawAssessment=(0,l.createSelector)(m,d,function(e,t){return u.default.isUndefined(e)?{}:e[t]}),w=t.assessment=(0,l.createSelector)(_,g,h,function(e,t,n){return b(e,t,n)});t.isPublished=(0,l.createSelector)(w,h,y)},,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.endWrap=t.beginWrap=void 0;var o=n(1),i=r(o);t.beginWrap=i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48"},i.default.createElement("path",{d:"M14.83 16.42l9.17 9.17 9.17-9.17 2.83 2.83-12 12-12-12z"})),t.endWrap=i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48"},i.default.createElement("path",{d:"M14.83 16.42l9.17 9.17 9.17-9.17 2.83 2.83-12 12-12-12z"}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=n(1244)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=12e5;setInterval(function(){e((0,r.refreshJwt)(t))},n)};var r=n(215)},,,function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=(t.currentTime=function(){return(new Date).getTime()},t.makeId=function(){var e,t,n;for(e="",n=0;n<32;n++)8!=n&&12!=n&&16!=n&&20!=n||(e+="-"),t=Math.floor(16*Math.random()).toString(16).toUpperCase(),e+=t;return e},t.htmlDecode=function(e){var t=document.createElement("div");return t.innerHTML=e,0===t.childNodes.length?"":t.childNodes[0].nodeValue});t.htmlDecodeWithRoot=function(e){var t=n(e);return t&&t.length>0?"<root>"+n(e)+"</root>":null},t.getLocation=function(e){var t=document.createElement("a");return t.href=e,t}},function(e,t,n){(function(e){"use strict";function t(e,t,n){e[t]||Object[r](e,t,{writable:!0,configurable:!0,value:n})}if(n(817),n(1139),n(588),e._babelPolyfill)throw new Error("only one instance of babel-polyfill is allowed");e._babelPolyfill=!0;var r="defineProperty";t(String.prototype,"padLeft","".padStart),t(String.prototype,"padRight","".padEnd),"pop,reverse,shift,keys,values,entries,indexOf,every,some,forEach,map,filter,find,findIndex,includes,join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill".split(",").forEach(function(e){[][e]&&t(Array,e,Function.call.bind([][e]))})}).call(t,function(){return this}())},function(e,t,n){e.exports={default:n(591),__esModule:!0}},function(e,t,n){e.exports={default:n(592),__esModule:!0}},function(e,t,n){e.exports={default:n(594),__esModule:!0}},function(e,t,n){e.exports={default:n(597),__esModule:!0}},function(e,t,n){e.exports={default:n(601),__esModule:!0}},function(e,t,n){e.exports={default:n(603),__esModule:!0}},function(e,t,n){e.exports=n(3)},function(e,t,n){e.exports=n(5)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(9),i=r(o),a=n(541),s=r(a);t.default=function e(t,n,r){null===t&&(t=Function.prototype);var o=(0,s.default)(t,n);if(void 0===o){var a=(0,i.default)(t);return null===a?void 0:e(a,n,r)}if("value"in o)return o.value;var u=o.get;if(void 0!==u)return u.call(r)}},function(e,t){"use strict";t.__esModule=!0,t.default=function(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(538),i=r(o),a=n(217),s=r(a);t.default=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=(0,s.default)(e);!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&u.return&&u.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if((0,i.default)(Object(t)))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},function(e,t,n){e.exports=n(340)},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"apathy",author:"jannik siebert (https://github.com/janniks)",base00:"#031A16",base01:"#0B342D",base02:"#184E45",base03:"#2B685E",base04:"#5F9C92",base05:"#81B5AC",base06:"#A7CEC8",base07:"#D2E7E4",base08:"#3E9688",base09:"#3E7996",base0A:"#3E4C96",base0B:"#883E96",base0C:"#963E4C",base0D:"#96883E",base0E:"#4C963E",base0F:"#3E965B"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"ashes",author:"jannik siebert (https://github.com/janniks)",base00:"#1C2023",base01:"#393F45",base02:"#565E65",base03:"#747C84",base04:"#ADB3BA",base05:"#C7CCD1",base06:"#DFE2E5",base07:"#F3F4F5",base08:"#C7AE95",base09:"#C7C795",base0A:"#AEC795",base0B:"#95C7AE",base0C:"#95AEC7",base0D:"#AE95C7",base0E:"#C795AE",base0F:"#C79595"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"atelier dune",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/dune)",base00:"#20201d",base01:"#292824",base02:"#6e6b5e",base03:"#7d7a68",base04:"#999580",base05:"#a6a28c",base06:"#e8e4cf",base07:"#fefbec",base08:"#d73737",base09:"#b65611",base0A:"#cfb017",base0B:"#60ac39",base0C:"#1fad83",base0D:"#6684e1",base0E:"#b854d4",base0F:"#d43552"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"atelier forest",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/forest)",base00:"#1b1918",base01:"#2c2421",base02:"#68615e",base03:"#766e6b",base04:"#9c9491",base05:"#a8a19f",base06:"#e6e2e0",base07:"#f1efee",base08:"#f22c40",base09:"#df5320",base0A:"#d5911a",base0B:"#5ab738",base0C:"#00ad9c",base0D:"#407ee7",base0E:"#6666ea",base0F:"#c33ff3"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"atelier heath",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/heath)",base00:"#1b181b",base01:"#292329",base02:"#695d69",base03:"#776977",base04:"#9e8f9e",base05:"#ab9bab",base06:"#d8cad8",base07:"#f7f3f7",base08:"#ca402b",base09:"#a65926",base0A:"#bb8a35",base0B:"#379a37",base0C:"#159393",base0D:"#516aec",base0E:"#7b59c0",base0F:"#cc33cc"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"atelier lakeside",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/lakeside/)",base00:"#161b1d",base01:"#1f292e",base02:"#516d7b",base03:"#5a7b8c",base04:"#7195a8",base05:"#7ea2b4",base06:"#c1e4f6",base07:"#ebf8ff",base08:"#d22d72",base09:"#935c25",base0A:"#8a8a0f",base0B:"#568c3b",base0C:"#2d8f6f",base0D:"#257fad",base0E:"#5d5db1",base0F:"#b72dd2"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"atelier seaside",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/seaside/)",base00:"#131513",base01:"#242924",base02:"#5e6e5e",base03:"#687d68",base04:"#809980",base05:"#8ca68c",base06:"#cfe8cf",base07:"#f0fff0",base08:"#e6193c",base09:"#87711d",base0A:"#c3c322",base0B:"#29a329",base0C:"#1999b3",base0D:"#3d62f5",base0E:"#ad2bee",base0F:"#e619c3"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"bespin",author:"jan t. sott",base00:"#28211c",base01:"#36312e",base02:"#5e5d5c",base03:"#666666",base04:"#797977",base05:"#8a8986",base06:"#9d9b97",base07:"#baae9e",base08:"#cf6a4c",base09:"#cf7d34",base0A:"#f9ee98",base0B:"#54be0d",base0C:"#afc4db",base0D:"#5ea6ea",base0E:"#9b859d",base0F:"#937121"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"brewer",author:"timothée poisot (http://github.com/tpoisot)",base00:"#0c0d0e",base01:"#2e2f30",base02:"#515253",base03:"#737475",base04:"#959697",base05:"#b7b8b9",base06:"#dadbdc",base07:"#fcfdfe",base08:"#e31a1c",base09:"#e6550d",base0A:"#dca060",base0B:"#31a354",base0C:"#80b1d3",base0D:"#3182bd",base0E:"#756bb1",base0F:"#b15928"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"bright",author:"chris kempson (http://chriskempson.com)",base00:"#000000",base01:"#303030",base02:"#505050",base03:"#b0b0b0",base04:"#d0d0d0",base05:"#e0e0e0",base06:"#f5f5f5",base07:"#ffffff",base08:"#fb0120",base09:"#fc6d24",base0A:"#fda331",base0B:"#a1c659",base0C:"#76c7b7",base0D:"#6fb3d2",base0E:"#d381c3",base0F:"#be643c"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"chalk",author:"chris kempson (http://chriskempson.com)",base00:"#151515",base01:"#202020",base02:"#303030",base03:"#505050",base04:"#b0b0b0",base05:"#d0d0d0",base06:"#e0e0e0",base07:"#f5f5f5",base08:"#fb9fb1",base09:"#eda987",base0A:"#ddb26f",base0B:"#acc267",base0C:"#12cfc0",base0D:"#6fc2ef",base0E:"#e1a3ee",base0F:"#deaf8f"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"codeschool",author:"brettof86",base00:"#232c31",base01:"#1c3657",base02:"#2a343a",base03:"#3f4944",base04:"#84898c",base05:"#9ea7a6",base06:"#a7cfa3",base07:"#b5d8f6",base08:"#2a5491",base09:"#43820d",base0A:"#a03b1e",base0B:"#237986",base0C:"#b02f30",base0D:"#484d79",base0E:"#c59820",base0F:"#c98344"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"colors",author:"mrmrs (http://clrs.cc)",base00:"#111111",base01:"#333333",base02:"#555555",base03:"#777777",base04:"#999999",base05:"#bbbbbb",base06:"#dddddd",base07:"#ffffff",base08:"#ff4136",base09:"#ff851b",base0A:"#ffdc00",base0B:"#2ecc40",base0C:"#7fdbff",base0D:"#0074d9",base0E:"#b10dc9",base0F:"#85144b"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"default",author:"chris kempson (http://chriskempson.com)",base00:"#181818",base01:"#282828",base02:"#383838",base03:"#585858",base04:"#b8b8b8",base05:"#d8d8d8",base06:"#e8e8e8",base07:"#f8f8f8",base08:"#ab4642",base09:"#dc9656",base0A:"#f7ca88",base0B:"#a1b56c",base0C:"#86c1b9",base0D:"#7cafc2",base0E:"#ba8baf",base0F:"#a16946"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"eighties",author:"chris kempson (http://chriskempson.com)",base00:"#2d2d2d",base01:"#393939",base02:"#515151",base03:"#747369",base04:"#a09f93",base05:"#d3d0c8",base06:"#e8e6df",base07:"#f2f0ec",base08:"#f2777a",base09:"#f99157",base0A:"#ffcc66",base0B:"#99cc99",base0C:"#66cccc",base0D:"#6699cc",base0E:"#cc99cc",base0F:"#d27b53"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"embers",author:"jannik siebert (https://github.com/janniks)",base00:"#16130F",base01:"#2C2620",base02:"#433B32",base03:"#5A5047",base04:"#8A8075",base05:"#A39A90",base06:"#BEB6AE",base07:"#DBD6D1",base08:"#826D57",base09:"#828257",base0A:"#6D8257",base0B:"#57826D",base0C:"#576D82",base0D:"#6D5782",base0E:"#82576D",base0F:"#825757"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"flat",author:"chris kempson (http://chriskempson.com)",base00:"#2C3E50",base01:"#34495E",base02:"#7F8C8D",base03:"#95A5A6",base04:"#BDC3C7",base05:"#e0e0e0",base06:"#f5f5f5",base07:"#ECF0F1",base08:"#E74C3C",base09:"#E67E22",base0A:"#F1C40F",base0B:"#2ECC71",base0C:"#1ABC9C",base0D:"#3498DB",base0E:"#9B59B6",base0F:"#be643c"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"google",author:"seth wright (http://sethawright.com)",base00:"#1d1f21",base01:"#282a2e",base02:"#373b41",base03:"#969896",base04:"#b4b7b4",base05:"#c5c8c6",base06:"#e0e0e0",base07:"#ffffff",base08:"#CC342B",base09:"#F96A38",base0A:"#FBA922",base0B:"#198844",base0C:"#3971ED",base0D:"#3971ED",base0E:"#A36AC7",base0F:"#3971ED"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"grayscale",author:"alexandre gavioli (https://github.com/alexx2/)",base00:"#101010",base01:"#252525",base02:"#464646",base03:"#525252",base04:"#ababab",base05:"#b9b9b9",base06:"#e3e3e3",base07:"#f7f7f7",base08:"#7c7c7c",base09:"#999999",base0A:"#a0a0a0",base0B:"#8e8e8e",base0C:"#868686",base0D:"#686868",base0E:"#747474",base0F:"#5e5e5e"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"green screen",author:"chris kempson (http://chriskempson.com)",base00:"#001100",base01:"#003300",base02:"#005500",base03:"#007700",base04:"#009900",base05:"#00bb00",base06:"#00dd00",base07:"#00ff00",base08:"#007700",base09:"#009900",base0A:"#007700",base0B:"#00bb00",base0C:"#005500",base0D:"#009900",base0E:"#00bb00",base0F:"#005500"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"harmonic16",author:"jannik siebert (https://github.com/janniks)",base00:"#0b1c2c",base01:"#223b54",base02:"#405c79",base03:"#627e99",base04:"#aabcce",base05:"#cbd6e2",base06:"#e5ebf1",base07:"#f7f9fb",base08:"#bf8b56",base09:"#bfbf56",base0A:"#8bbf56",base0B:"#56bf8b",base0C:"#568bbf",base0D:"#8b56bf",base0E:"#bf568b",base0F:"#bf5656"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"hopscotch",author:"jan t. sott",base00:"#322931",base01:"#433b42",base02:"#5c545b",base03:"#797379",base04:"#989498",base05:"#b9b5b8",base06:"#d5d3d5",base07:"#ffffff",base08:"#dd464c",base09:"#fd8b19",base0A:"#fdcc59",base0B:"#8fc13e",base0C:"#149b93",base0D:"#1290bf",base0E:"#c85e7c",base0F:"#b33508"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"isotope",author:"jan t. sott",base00:"#000000",base01:"#404040",base02:"#606060",base03:"#808080",base04:"#c0c0c0",base05:"#d0d0d0",base06:"#e0e0e0",base07:"#ffffff",base08:"#ff0000",base09:"#ff9900",base0A:"#ff0099",base0B:"#33ff00",base0C:"#00ffff",base0D:"#0066ff",base0E:"#cc00ff",base0F:"#3300ff"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"marrakesh",author:"alexandre gavioli (http://github.com/alexx2/)",base00:"#201602",base01:"#302e00",base02:"#5f5b17",base03:"#6c6823",base04:"#86813b",base05:"#948e48",base06:"#ccc37a",base07:"#faf0a5",base08:"#c35359",base09:"#b36144",base0A:"#a88339",base0B:"#18974e",base0C:"#75a738",base0D:"#477ca1",base0E:"#8868b3",base0F:"#b3588e"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"mocha",author:"chris kempson (http://chriskempson.com)",base00:"#3B3228",base01:"#534636",base02:"#645240",base03:"#7e705a",base04:"#b8afad",base05:"#d0c8c6",base06:"#e9e1dd",base07:"#f5eeeb",base08:"#cb6077",base09:"#d28b71",base0A:"#f4bc87",base0B:"#beb55b",base0C:"#7bbda4",base0D:"#8ab3b5",base0E:"#a89bb9",base0F:"#bb9584"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"monokai",author:"wimer hazenberg (http://www.monokai.nl)",base00:"#272822",base01:"#383830",base02:"#49483e",base03:"#75715e",base04:"#a59f85",base05:"#f8f8f2",base06:"#f5f4f1",base07:"#f9f8f5",base08:"#f92672",base09:"#fd971f",base0A:"#f4bf75",base0B:"#a6e22e",base0C:"#a1efe4",base0D:"#66d9ef",base0E:"#ae81ff",base0F:"#cc6633"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"ocean",author:"chris kempson (http://chriskempson.com)",base00:"#2b303b",base01:"#343d46",base02:"#4f5b66",base03:"#65737e",base04:"#a7adba",base05:"#c0c5ce",base06:"#dfe1e8",base07:"#eff1f5",base08:"#bf616a",base09:"#d08770",base0A:"#ebcb8b",base0B:"#a3be8c",base0C:"#96b5b4",base0D:"#8fa1b3",base0E:"#b48ead",base0F:"#ab7967"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"paraiso",author:"jan t. sott",base00:"#2f1e2e",base01:"#41323f",base02:"#4f424c",base03:"#776e71",base04:"#8d8687",base05:"#a39e9b",base06:"#b9b6b0",base07:"#e7e9db",base08:"#ef6155",base09:"#f99b15",base0A:"#fec418",base0B:"#48b685",base0C:"#5bc4bf",base0D:"#06b6ef",base0E:"#815ba4",base0F:"#e96ba8"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"pop",author:"chris kempson (http://chriskempson.com)",base00:"#000000",base01:"#202020",base02:"#303030",base03:"#505050",base04:"#b0b0b0",base05:"#d0d0d0",base06:"#e0e0e0",base07:"#ffffff",base08:"#eb008a",base09:"#f29333",base0A:"#f8ca12",base0B:"#37b349",base0C:"#00aabb",base0D:"#0e5a94",base0E:"#b31e8d",base0F:"#7a2d00"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"railscasts",author:"ryan bates (http://railscasts.com)",base00:"#2b2b2b",base01:"#272935",base02:"#3a4055",base03:"#5a647e",base04:"#d4cfc9",base05:"#e6e1dc",base06:"#f4f1ed",base07:"#f9f7f3",base08:"#da4939",base09:"#cc7833",base0A:"#ffc66d",base0B:"#a5c261",base0C:"#519f50",base0D:"#6d9cbe",base0E:"#b6b3eb",base0F:"#bc9458"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"shapeshifter",author:"tyler benziger (http://tybenz.com)",base00:"#000000",base01:"#040404",base02:"#102015",base03:"#343434",base04:"#555555",base05:"#ababab",base06:"#e0e0e0",base07:"#f9f9f9",base08:"#e92f2f",base09:"#e09448",base0A:"#dddd13",base0B:"#0ed839",base0C:"#23edda",base0D:"#3b48e3",base0E:"#f996e2",base0F:"#69542d"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"solarized",author:"ethan schoonover (http://ethanschoonover.com/solarized)",base00:"#002b36",base01:"#073642",base02:"#586e75",base03:"#657b83",base04:"#839496",base05:"#93a1a1",base06:"#eee8d5",base07:"#fdf6e3",base08:"#dc322f",base09:"#cb4b16",base0A:"#b58900",base0B:"#859900",base0C:"#2aa198",base0D:"#268bd2",base0E:"#6c71c4",base0F:"#d33682"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"summerfruit",author:"christopher corley (http://cscorley.github.io/)",base00:"#151515",base01:"#202020",base02:"#303030",base03:"#505050",base04:"#B0B0B0",base05:"#D0D0D0",base06:"#E0E0E0",base07:"#FFFFFF",base08:"#FF0086",base09:"#FD8900",base0A:"#ABA800",base0B:"#00C918",base0C:"#1faaaa",base0D:"#3777E6",base0E:"#AD00A1",base0F:"#cc6633"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"threezerotwofour",author:"jan t. sott (http://github.com/idleberg)",base00:"#090300",base01:"#3a3432",base02:"#4a4543",base03:"#5c5855",base04:"#807d7c",base05:"#a5a2a2",base06:"#d6d5d4",base07:"#f7f7f7",base08:"#db2d20",base09:"#e8bbd0",base0A:"#fded02",base0B:"#01a252",base0C:"#b5e4f4",base0D:"#01a0e4",base0E:"#a16a94",base0F:"#cdab53"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"tomorrow",author:"chris kempson (http://chriskempson.com)",base00:"#1d1f21",base01:"#282a2e",base02:"#373b41",base03:"#969896",base04:"#b4b7b4",base05:"#c5c8c6",base06:"#e0e0e0",base07:"#ffffff",base08:"#cc6666",base09:"#de935f",base0A:"#f0c674",base0B:"#b5bd68",base0C:"#8abeb7",base0D:"#81a2be",base0E:"#b294bb",base0F:"#a3685a"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"london tube",author:"jan t. sott",base00:"#231f20",base01:"#1c3f95",base02:"#5a5758",base03:"#737171",base04:"#959ca1",base05:"#d9d8d8",base06:"#e7e7e8",base07:"#ffffff",base08:"#ee2e24",base09:"#f386a1",base0A:"#ffd204",base0B:"#00853e",base0C:"#85cebc",base0D:"#009ddc",base0E:"#98005d",base0F:"#b06110"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"twilight",author:"david hart (http://hart-dev.com)",base00:"#1e1e1e",base01:"#323537",base02:"#464b50",base03:"#5f5a60",base04:"#838184",base05:"#a7a7a7",base06:"#c3c3c3",base07:"#ffffff",base08:"#cf6a4c",base09:"#cda869",base0A:"#f9ee98",base0B:"#8f9d6a",base0C:"#afc4db",base0D:"#7587a6",base0E:"#9b859d",base0F:"#9b703f"},e.exports=t.default},function(e,t,n){function r(e){if(e)return o(e)}function o(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}e.exports=r,r.prototype.on=r.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},r.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=r.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},
-this;var n=this._callbacks["$"+e];if(!n)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var r,o=0;o<n.length;o++)if(r=n[o],r===t||r.fn===t){n.splice(o,1);break}return this},r.prototype.emit=function(e){this._callbacks=this._callbacks||{};var t=[].slice.call(arguments,1),n=this._callbacks["$"+e];if(n){n=n.slice(0);for(var r=0,o=n.length;r<o;++r)n[r].apply(this,t)}return this},r.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},r.prototype.hasListeners=function(e){return!!this.listeners(e).length}},function(e,t,n){n(646),e.exports=n(67).RegExp.escape},function(e,t,n){n(130),n(622),e.exports=n(23).Array.from},function(e,t,n){n(158),n(130),e.exports=n(620)},function(e,t,n){n(158),n(130),e.exports=n(621)},function(e,t,n){n(624),e.exports=n(23).Number.isSafeInteger},function(e,t,n){n(625),e.exports=n(23).Object.assign},function(e,t,n){n(626);var r=n(23).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){n(627);var r=n(23).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){n(628),e.exports=n(23).Object.freeze},function(e,t,n){n(629);var r=n(23).Object;e.exports=function(e,t){return r.getOwnPropertyDescriptor(e,t)}},function(e,t,n){n(630);var r=n(23).Object;e.exports=function(e){return r.getOwnPropertyNames(e)}},function(e,t,n){n(631),e.exports=n(23).Object.getPrototypeOf},function(e,t,n){n(632),e.exports=n(23).Object.keys},function(e,t,n){n(633),e.exports=n(23).Object.setPrototypeOf},function(e,t,n){n(325),n(130),n(158),n(634),e.exports=n(23).Promise},function(e,t,n){n(635),n(325),n(636),n(637),e.exports=n(23).Symbol},function(e,t,n){n(130),n(158),e.exports=n(231).f("iterator")},function(e,t){e.exports=function(){}},[1493,75,210,619],[1503,57,139],[1511,107,225,163],169,[1526,66],[1531,209,139,157,84,34],[1537,107,75],[1540,45,354,137],[1542,107,225,163,129,323,102],[1548,57,64,107,65],[1565,66,64,85,224],[1573,64,220,34],[1574,228,208],[1578,228],function(e,t,n){var r=n(64),o=n(232);e.exports=n(23).getIterator=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return r(t.call(e))}},function(e,t,n){var r=n(207),o=n(34)("iterator"),i=n(106);e.exports=n(23).isIterable=function(e){var t=Object(e);return void 0!==t[o]||"@@iterator"in t||i.hasOwnProperty(r(t))}},[1597,85,48,129,346,345,210,607,232,347],[1599,605,501,106,75,324],[1600,48,610],[1602,48,614],[1605,48,209],[1606,48,65,57],[1608,66,223,138],[1610,75,224,138],[1613,138,348],[1615,129,350,138],[1616,129,107,138],[1619,48,616],[1620,162,45,85,207,48,66,220,342,322,617,354,613,34,352,157,502,23,347],[1625,45,86,65,48,353,223,102,227,157,164,34,231,230,612,608,500,64,75,229,139,209,348,224,57,107,349,163,225,162,84],[1629,230],[1630,230],function(e,t,n){var r=n(18),o=n(241),i=n(20)("species");e.exports=function(e){var t;return o(e)&&(t=e.constructor,"function"!=typeof t||t!==Array&&!o(t.prototype)||(t=void 0),r(t)&&(t=t[i],null===t&&(t=void 0))),void 0===t?Array:t}},function(e,t,n){var r=n(638);e.exports=function(e,t){return new(r(e))(t)}},function(e,t,n){"use strict";var r=n(12),o=n(60),i="number";e.exports=function(e){if("string"!==e&&e!==i&&"default"!==e)throw TypeError("Incorrect hint");return o(r(this),e!=i)}},[1511,91,173,142],[1537,91,42],function(e,t,n){"use strict";var r=n(644),o=n(169),i=n(38);e.exports=function(){for(var e=i(this),t=arguments.length,n=Array(t),a=0,s=r._,u=!1;t>a;)(n[a]=arguments[a++])===s&&(u=!0);return function(){var r,i=this,a=arguments.length,l=0,c=0;if(!u&&!a)return o(e,n,i);if(r=n.slice(),u)for(;t>l;l++)r[l]===s&&(r[l]=arguments[c++]);for(;a>c;)r.push(arguments[c++]);return o(e,r,i)}}},function(e,t,n){e.exports=n(13)},function(e,t){e.exports=function(e,t){var n=t===Object(t)?function(e){return t[e]}:t;return function(t){return String(t).replace(e,n)}}},function(e,t,n){var r=n(2),o=n(645)(/[\\^$*+?.()|[\]{}]/g,"\\$&");r(r.S,"RegExp",{escape:function(e){return o(e)}})},function(e,t,n){var r=n(2);r(r.P,"Array",{copyWithin:n(356)}),n(108)("copyWithin")},function(e,t,n){"use strict";var r=n(2),o=n(58)(4);r(r.P+r.F*!n(51)([].every,!0),"Array",{every:function(e){return o(this,e,arguments[1])}})},function(e,t,n){var r=n(2);r(r.P,"Array",{fill:n(233)}),n(108)("fill")},function(e,t,n){"use strict";var r=n(2),o=n(58)(2);r(r.P+r.F*!n(51)([].filter,!0),"Array",{filter:function(e){return o(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(2),o=n(58)(6),i="findIndex",a=!0;i in[]&&Array(1)[i](function(){a=!1}),r(r.P+r.F*a,"Array",{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(108)(i)},function(e,t,n){"use strict";var r=n(2),o=n(58)(5),i="find",a=!0;i in[]&&Array(1)[i](function(){a=!1}),r(r.P+r.F*a,"Array",{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(108)(i)},function(e,t,n){"use strict";var r=n(2),o=n(58)(0),i=n(51)([].forEach,!0);r(r.P+r.F*!i,"Array",{forEach:function(e){return o(this,e,arguments[1])}})},[1597,68,2,31,365,240,30,234,257,171],function(e,t,n){"use strict";var r=n(2),o=n(165)(!1),i=[].indexOf,a=!!i&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!n(51)(i)),"Array",{indexOf:function(e){return a?i.apply(this,arguments)||0:o(this,e,arguments[1])}})},function(e,t,n){var r=n(2);r(r.S,"Array",{isArray:n(241)})},function(e,t,n){"use strict";var r=n(2),o=n(42),i=[].join;r(r.P+r.F*(n(141)!=Object||!n(51)(i)),"Array",{join:function(e){return i.call(o(this),void 0===e?",":e)}})},function(e,t,n){"use strict";var r=n(2),o=n(42),i=n(78),a=n(30),s=[].lastIndexOf,u=!!s&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(u||!n(51)(s)),"Array",{lastIndexOf:function(e){if(u)return s.apply(this,arguments)||0;var t=o(this),n=a(t.length),r=n-1;for(arguments.length>1&&(r=Math.min(r,i(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in t&&t[r]===e)return r||0;return-1}})},function(e,t,n){"use strict";var r=n(2),o=n(58)(1);r(r.P+r.F*!n(51)([].map,!0),"Array",{map:function(e){return o(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(2),o=n(234);r(r.S+r.F*n(15)(function(){function e(){}return!(Array.of.call(e)instanceof e)}),"Array",{of:function(){for(var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);t>e;)o(n,e,arguments[e++]);return n.length=t,n}})},function(e,t,n){"use strict";var r=n(2),o=n(358);r(r.P+r.F*!n(51)([].reduceRight,!0),"Array",{reduceRight:function(e){return o(this,e,arguments.length,arguments[1],!0)}})},function(e,t,n){"use strict";var r=n(2),o=n(358);r(r.P+r.F*!n(51)([].reduce,!0),"Array",{reduce:function(e){return o(this,e,arguments.length,arguments[1],!1)}})},function(e,t,n){"use strict";var r=n(2),o=n(238),i=n(49),a=n(94),s=n(30),u=[].slice;r(r.P+r.F*n(15)(function(){o&&u.call(o)}),"Array",{slice:function(e,t){var n=s(this.length),r=i(this);if(t=void 0===t?n:t,"Array"==r)return u.call(this,e,t);for(var o=a(e,n),l=a(t,n),c=s(l-o),d=Array(c),f=0;f<c;f++)d[f]="String"==r?this.charAt(o+f):this[o+f];return d}})},function(e,t,n){"use strict";var r=n(2),o=n(58)(3);r(r.P+r.F*!n(51)([].some,!0),"Array",{some:function(e){return o(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(2),o=n(38),i=n(31),a=n(15),s=[].sort,u=[1,2,3];r(r.P+r.F*(a(function(){u.sort(void 0)})||!a(function(){u.sort(null)})||!n(51)(s)),"Array",{sort:function(e){return void 0===e?s.call(i(this)):s.call(i(this),o(e))}})},function(e,t,n){n(93)("Array")},function(e,t,n){var r=n(2);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},function(e,t,n){"use strict";var r=n(2),o=n(15),i=Date.prototype.getTime,a=function(e){return e>9?e:"0"+e};r(r.P+r.F*(o(function(){return"0385-07-25T07:06:39.999Z"!=new Date(-5e13-1).toISOString()})||!o(function(){new Date(NaN).toISOString()})),"Date",{toISOString:function(){if(!isFinite(i.call(this)))throw RangeError("Invalid time value");var e=this,t=e.getUTCFullYear(),n=e.getUTCMilliseconds(),r=t<0?"-":t>9999?"+":"";return r+("00000"+Math.abs(t)).slice(r?-6:-4)+"-"+a(e.getUTCMonth()+1)+"-"+a(e.getUTCDate())+"T"+a(e.getUTCHours())+":"+a(e.getUTCMinutes())+":"+a(e.getUTCSeconds())+"."+(n>99?n:"0"+a(n))+"Z"}})},function(e,t,n){"use strict";var r=n(2),o=n(31),i=n(60);r(r.P+r.F*n(15)(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(e){var t=o(this),n=i(t);return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},function(e,t,n){var r=n(20)("toPrimitive"),o=Date.prototype;r in o||n(39)(o,r,n(640))},function(e,t,n){var r=Date.prototype,o="Invalid Date",i="toString",a=r[i],s=r.getTime;new Date(NaN)+""!=o&&n(40)(r,i,function(){var e=s.call(this);return e===e?a.call(this):o})},function(e,t,n){var r=n(2);r(r.P,"Function",{bind:n(359)})},function(e,t,n){"use strict";var r=n(18),o=n(47),i=n(20)("hasInstance"),a=Function.prototype;i in a||n(25).f(a,i,{value:function(e){if("function"!=typeof this||!r(e))return!1;if(!r(this.prototype))return e instanceof this;for(;e=o(e);)if(this.prototype===e)return!0;return!1}})},function(e,t,n){var r=n(25).f,o=n(77),i=n(35),a=Function.prototype,s=/^\s*function ([^ (]*)/,u="name",l=Object.isExtensible||function(){return!0};u in a||n(24)&&r(a,u,{configurable:!0,get:function(){try{var e=this,t=(""+e).match(s)[1];return i(e,u)||!l(e)||r(e,u,o(5,t)),t}catch(e){return""}}})},function(e,t,n){var r=n(2),o=n(367),i=Math.sqrt,a=Math.acosh;r(r.S+r.F*!(a&&710==Math.floor(a(Number.MAX_VALUE))&&a(1/0)==1/0),"Math",{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?Math.log(e)+Math.LN2:o(e-1+i(e-1)*i(e+1))}})},function(e,t,n){function r(e){return isFinite(e=+e)&&0!=e?e<0?-r(-e):Math.log(e+Math.sqrt(e*e+1)):e}var o=n(2),i=Math.asinh;o(o.S+o.F*!(i&&1/i(0)>0),"Math",{asinh:r})},function(e,t,n){var r=n(2),o=Math.atanh;r(r.S+r.F*!(o&&1/o(-0)<0),"Math",{atanh:function(e){return 0==(e=+e)?e:Math.log((1+e)/(1-e))/2}})},function(e,t,n){var r=n(2),o=n(245);r(r.S,"Math",{cbrt:function(e){return o(e=+e)*Math.pow(Math.abs(e),1/3)}})},function(e,t,n){var r=n(2);r(r.S,"Math",{clz32:function(e){return(e>>>=0)?31-Math.floor(Math.log(e+.5)*Math.LOG2E):32}})},function(e,t,n){var r=n(2),o=Math.exp;r(r.S,"Math",{cosh:function(e){return(o(e=+e)+o(-e))/2}})},function(e,t,n){var r=n(2),o=n(244);r(r.S+r.F*(o!=Math.expm1),"Math",{expm1:o})},function(e,t,n){var r=n(2),o=n(245),i=Math.pow,a=i(2,-52),s=i(2,-23),u=i(2,127)*(2-s),l=i(2,-126),c=function(e){return e+1/a-1/a};r(r.S,"Math",{fround:function(e){var t,n,r=Math.abs(e),i=o(e);return r<l?i*c(r/l/s)*l*s:(t=(1+s/a)*r,n=t-(t-r),n>u||n!=n?i*(1/0):i*n)}})},function(e,t,n){var r=n(2),o=Math.abs;r(r.S,"Math",{hypot:function(e,t){for(var n,r,i=0,a=0,s=arguments.length,u=0;a<s;)n=o(arguments[a++]),u<n?(r=u/n,i=i*r*r+1,u=n):n>0?(r=n/u,i+=r*r):i+=n;return u===1/0?1/0:u*Math.sqrt(i)}})},function(e,t,n){var r=n(2),o=Math.imul;r(r.S+r.F*n(15)(function(){return o(4294967295,5)!=-5||2!=o.length}),"Math",{imul:function(e,t){var n=65535,r=+e,o=+t,i=n&r,a=n&o;return 0|i*a+((n&r>>>16)*a+i*(n&o>>>16)<<16>>>0)}})},function(e,t,n){var r=n(2);r(r.S,"Math",{log10:function(e){return Math.log(e)/Math.LN10}})},function(e,t,n){var r=n(2);r(r.S,"Math",{log1p:n(367)})},function(e,t,n){var r=n(2);r(r.S,"Math",{log2:function(e){return Math.log(e)/Math.LN2}})},function(e,t,n){var r=n(2);r(r.S,"Math",{sign:n(245)})},function(e,t,n){var r=n(2),o=n(244),i=Math.exp;r(r.S+r.F*n(15)(function(){return!Math.sinh(-2e-17)!=-2e-17}),"Math",{sinh:function(e){return Math.abs(e=+e)<1?(o(e)-o(-e))/2:(i(e-1)-i(-e-1))*(Math.E/2)}})},function(e,t,n){var r=n(2),o=n(244),i=Math.exp;r(r.S,"Math",{tanh:function(e){var t=o(e=+e),n=o(-e);return t==1/0?1:n==1/0?-1:(t-n)/(i(e)+i(-e))}})},function(e,t,n){var r=n(2);r(r.S,"Math",{trunc:function(e){return(e>0?Math.floor:Math.ceil)(e)}})},function(e,t,n){"use strict";var r=n(13),o=n(35),i=n(49),a=n(239),s=n(60),u=n(15),l=n(90).f,c=n(46).f,d=n(25).f,f=n(112).trim,p="Number",h=r[p],m=h,v=h.prototype,g=i(n(89)(v))==p,y="trim"in String.prototype,b=function(e){var t=s(e,!1);if("string"==typeof t&&t.length>2){t=y?t.trim():f(t,3);var n,r,o,i=t.charCodeAt(0);if(43===i||45===i){if(n=t.charCodeAt(2),88===n||120===n)return NaN}else if(48===i){switch(t.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+t}for(var a,u=t.slice(2),l=0,c=u.length;l<c;l++)if(a=u.charCodeAt(l),a<48||a>o)return NaN;return parseInt(u,r)}}return+t};if(!h(" 0o1")||!h("0b1")||h("+0x1")){h=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof h&&(g?u(function(){v.valueOf.call(n)}):i(n)!=p)?a(new m(b(t)),n,h):b(t)};for(var _,w=n(24)?l(m):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),C=0;w.length>C;C++)o(m,_=w[C])&&!o(h,_)&&d(h,_,c(m,_));h.prototype=v,v.constructor=h,n(40)(r,p,h)}},function(e,t,n){var r=n(2);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(e,t,n){var r=n(2),o=n(13).isFinite;r(r.S,"Number",{isFinite:function(e){return"number"==typeof e&&o(e)}})},function(e,t,n){var r=n(2);r(r.S,"Number",{isInteger:n(364)})},function(e,t,n){var r=n(2);r(r.S,"Number",{isNaN:function(e){return e!=e}})},[1600,2,364],function(e,t,n){var r=n(2);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(e,t,n){var r=n(2);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(e,t,n){var r=n(2),o=n(374);r(r.S+r.F*(Number.parseFloat!=o),"Number",{parseFloat:o})},function(e,t,n){var r=n(2),o=n(375);r(r.S+r.F*(Number.parseInt!=o),"Number",{parseInt:o})},function(e,t,n){"use strict";var r=n(2),o=n(78),i=n(355),a=n(252),s=1..toFixed,u=Math.floor,l=[0,0,0,0,0,0],c="Number.toFixed: incorrect invocation!",d="0",f=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*l[n],l[n]=r%1e7,r=u(r/1e7)},p=function(e){for(var t=6,n=0;--t>=0;)n+=l[t],l[t]=u(n/e),n=n%e*1e7},h=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==l[e]){var n=String(l[e]);t=""===t?n:t+a.call(d,7-n.length)+n}return t},m=function(e,t,n){return 0===t?n:t%2===1?m(e,t-1,n*e):m(e*e,t/2,n)},v=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t};r(r.P+r.F*(!!s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(15)(function(){s.call({})})),"Number",{toFixed:function(e){var t,n,r,s,u=i(this,c),l=o(e),g="",y=d;if(l<0||l>20)throw RangeError(c);if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(g="-",u=-u),u>1e-21)if(t=v(u*m(2,69,1))-69,n=t<0?u*m(2,-t,1):u/m(2,t,1),n*=4503599627370496,t=52-t,t>0){for(f(0,n),r=l;r>=7;)f(1e7,0),r-=7;for(f(m(10,r,1),0),r=t-1;r>=23;)p(1<<23),r-=23;p(1<<r),f(1,1),p(2),y=h()}else f(0,n),f(1<<-t,0),y=h()+a.call(d,l);return l>0?(s=y.length,y=g+(s<=l?"0."+a.call(d,l-s)+y:y.slice(0,s-l)+"."+y.slice(s-l))):y=g+y,y}})},function(e,t,n){"use strict";var r=n(2),o=n(15),i=n(355),a=1..toPrecision;r(r.P+r.F*(o(function(){return"1"!==a.call(1,void 0)})||!o(function(){a.call({})})),"Number",{toPrecision:function(e){var t=i(this,"Number#toPrecision: incorrect invocation!");return void 0===e?a.call(t):a.call(t,e)}})},[1602,2,368],[1605,2,89],function(e,t,n){var r=n(2);r(r.S+r.F*!n(24),"Object",{defineProperties:n(369)})},[1606,2,24,25],[1608,18,76,59],[1610,42,46,59],[1613,59,370],[1615,31,47,59],function(e,t,n){var r=n(18);n(59)("isExtensible",function(e){return function(t){return!!r(t)&&(!e||e(t))}})},function(e,t,n){var r=n(18);n(59)("isFrozen",function(e){return function(t){return!r(t)||!!e&&e(t)}})},function(e,t,n){var r=n(18);n(59)("isSealed",function(e){return function(t){return!r(t)||!!e&&e(t)}})},function(e,t,n){var r=n(2);r(r.S,"Object",{is:n(376)})},[1616,31,91,59],function(e,t,n){var r=n(18),o=n(76).onFreeze;n(59)("preventExtensions",function(e){return function(t){return e&&r(t)?e(o(t)):t}})},function(e,t,n){var r=n(18),o=n(76).onFreeze;n(59)("seal",function(e){return function(t){return e&&r(t)?e(o(t)):t}})},[1619,2,247],function(e,t,n){"use strict";var r=n(140),o={};o[n(20)("toStringTag")]="z",o+""!="[object z]"&&n(40)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(e,t,n){var r=n(2),o=n(374);r(r.G+r.F*(parseFloat!=o),{parseFloat:o})},function(e,t,n){var r=n(2),o=n(375);r(r.G+r.F*(parseInt!=o),{parseInt:o})},[1620,88,13,68,140,2,18,38,87,109,249,254,246,20,92,111,93,67,171],function(e,t,n){var r=n(2),o=n(38),i=n(12),a=(n(13).Reflect||{}).apply,s=Function.apply;r(r.S+r.F*!n(15)(function(){a(function(){})}),"Reflect",{apply:function(e,t,n){var r=o(e),u=i(n);return a?a(r,t,u):s.call(r,t,u)}})},function(e,t,n){var r=n(2),o=n(89),i=n(38),a=n(12),s=n(18),u=n(15),l=n(359),c=(n(13).Reflect||{}).construct,d=u(function(){function e(){}return!(c(function(){},[],e)instanceof e)}),f=!u(function(){c(function(){})});r(r.S+r.F*(d||f),"Reflect",{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(f&&!d)return c(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(l.apply(e,r))}var u=n.prototype,p=o(s(u)?u:Object.prototype),h=Function.apply.call(e,p,t);return s(h)?h:p}})},function(e,t,n){var r=n(25),o=n(2),i=n(12),a=n(60);o(o.S+o.F*n(15)(function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(e,t,n){i(e),t=a(t,!0),i(n);try{return r.f(e,t,n),!0}catch(e){return!1}}})},function(e,t,n){var r=n(2),o=n(46).f,i=n(12);r(r.S,"Reflect",{deleteProperty:function(e,t){var n=o(i(e),t);return!(n&&!n.configurable)&&delete e[t]}})},function(e,t,n){"use strict";var r=n(2),o=n(12),i=function(e){this._t=o(e),this._i=0;var t,n=this._k=[];for(t in e)n.push(t)};n(242)(i,"Object",function(){var e,t=this,n=t._k;do if(t._i>=n.length)return{value:void 0,done:!0};while(!((e=n[t._i++])in t._t));return{value:e,done:!1}}),r(r.S,"Reflect",{enumerate:function(e){return new i(e)}})},function(e,t,n){var r=n(46),o=n(2),i=n(12);o(o.S,"Reflect",{getOwnPropertyDescriptor:function(e,t){return r.f(i(e),t)}})},function(e,t,n){var r=n(2),o=n(47),i=n(12);r(r.S,"Reflect",{getPrototypeOf:function(e){return o(i(e))}})},function(e,t,n){function r(e,t){var n,s,c=arguments.length<3?e:arguments[2];return l(e)===c?e[t]:(n=o.f(e,t))?a(n,"value")?n.value:void 0!==n.get?n.get.call(c):void 0:u(s=i(e))?r(s,t,c):void 0}var o=n(46),i=n(47),a=n(35),s=n(2),u=n(18),l=n(12);s(s.S,"Reflect",{get:r})},function(e,t,n){var r=n(2);r(r.S,"Reflect",{has:function(e,t){return t in e}})},function(e,t,n){var r=n(2),o=n(12),i=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(e){return o(e),!i||i(e)}})},function(e,t,n){var r=n(2);r(r.S,"Reflect",{ownKeys:n(373)})},function(e,t,n){var r=n(2),o=n(12),i=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(e){o(e);try{return i&&i(e),!0}catch(e){return!1}}})},function(e,t,n){var r=n(2),o=n(247);o&&r(r.S,"Reflect",{setPrototypeOf:function(e,t){o.check(e,t);try{return o.set(e,t),!0}catch(e){return!1}}})},function(e,t,n){function r(e,t,n){var u,f,p=arguments.length<4?e:arguments[3],h=i.f(c(e),t);if(!h){if(d(f=a(e)))return r(f,t,n,p);h=l(0)}return s(h,"value")?!(h.writable===!1||!d(p))&&(u=i.f(p,t)||l(0),u.value=n,o.f(p,t,u),!0):void 0!==h.set&&(h.set.call(p,n),!0)}var o=n(25),i=n(46),a=n(47),s=n(35),u=n(2),l=n(77),c=n(12),d=n(18);u(u.S,"Reflect",{set:r})},function(e,t,n){var r=n(13),o=n(239),i=n(25).f,a=n(90).f,s=n(170),u=n(168),l=r.RegExp,c=l,d=l.prototype,f=/a/g,p=/a/g,h=new l(f)!==f;if(n(24)&&(!h||n(15)(function(){return p[n(20)("match")]=!1,l(f)!=f||l(p)==p||"/a/i"!=l(f,"i")}))){l=function(e,t){var n=this instanceof l,r=s(e),i=void 0===t;return!n&&r&&e.constructor===l&&i?e:o(h?new c(r&&!i?e.source:e,t):c((r=e instanceof l)?e.source:e,r&&i?u.call(e):t),n?this:d,l)};for(var m=(function(e){e in l||i(l,e,{configurable:!0,get:function(){return c[e]},set:function(t){c[e]=t}})}),v=a(c),g=0;v.length>g;)m(v[g++]);d.constructor=l,l.prototype=d,n(40)(r,"RegExp",l)}n(93)("RegExp")},function(e,t,n){n(167)("match",1,function(e,t,n){return[function(n){"use strict";var r=e(this),o=void 0==n?void 0:n[t];return void 0!==o?o.call(n,r):new RegExp(n)[t](String(r))},n]})},function(e,t,n){n(167)("replace",2,function(e,t,n){return[function(r,o){"use strict";var i=e(this),a=void 0==r?void 0:r[t];return void 0!==a?a.call(r,i,o):n.call(String(i),r,o)},n]})},function(e,t,n){n(167)("search",1,function(e,t,n){return[function(n){"use strict";var r=e(this),o=void 0==n?void 0:n[t];return void 0!==o?o.call(n,r):new RegExp(n)[t](String(r))},n]})},function(e,t,n){n(167)("split",2,function(e,t,r){"use strict";var o=n(170),i=r,a=[].push,s="split",u="length",l="lastIndex";if("c"=="abbc"[s](/(b)*/)[1]||4!="test"[s](/(?:)/,-1)[u]||2!="ab"[s](/(?:ab)*/)[u]||4!="."[s](/(.?)(.?)/)[u]||"."[s](/()()/)[u]>1||""[s](/.?/)[u]){var c=void 0===/()??/.exec("")[1];r=function(e,t){var n=String(this);if(void 0===e&&0===t)return[];if(!o(e))return i.call(n,e,t);var r,s,d,f,p,h=[],m=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),v=0,g=void 0===t?4294967295:t>>>0,y=new RegExp(e.source,m+"g");for(c||(r=new RegExp("^"+y.source+"$(?!\\s)",m));(s=y.exec(n))&&(d=s.index+s[0][u],!(d>v&&(h.push(n.slice(v,s.index)),!c&&s[u]>1&&s[0].replace(r,function(){for(p=1;p<arguments[u]-2;p++)void 0===arguments[p]&&(s[p]=void 0)}),s[u]>1&&s.index<n[u]&&a.apply(h,s.slice(1)),f=s[0][u],v=d,h[u]>=g)));)y[l]===s.index&&y[l]++;return v===n[u]?!f&&y.test("")||h.push(""):h.push(n.slice(v)),h[u]>g?h.slice(0,g):h}}else"0"[s](void 0,0)[u]&&(r=function(e,t){return void 0===e&&0===t?[]:i.call(this,e,t)});return[function(n,o){var i=e(this),a=void 0==n?void 0:n[t];return void 0!==a?a.call(n,i,o):r.call(String(i),n,o)},r]})},function(e,t,n){"use strict";n(380);var r=n(12),o=n(168),i=n(24),a="toString",s=/./[a],u=function(e){n(40)(RegExp.prototype,a,e,!0)};n(15)(function(){return"/a/b"!=s.call({source:"a",flags:"b"})})?u(function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!i&&e instanceof RegExp?o.call(e):void 0)}):s.name!=a&&u(function(){return s.call(this)})},function(e,t,n){"use strict";n(41)("anchor",function(e){return function(t){return e(this,"a","name",t)}})},function(e,t,n){"use strict";n(41)("big",function(e){return function(){return e(this,"big","","")}})},function(e,t,n){"use strict";n(41)("blink",function(e){return function(){return e(this,"blink","","")}})},function(e,t,n){"use strict";n(41)("bold",function(e){return function(){return e(this,"b","","")}})},function(e,t,n){"use strict";var r=n(2),o=n(250)(!1);r(r.P,"String",{codePointAt:function(e){return o(this,e)}})},function(e,t,n){"use strict";var r=n(2),o=n(30),i=n(251),a="endsWith",s=""[a];r(r.P+r.F*n(237)(a),"String",{endsWith:function(e){var t=i(this,e,a),n=arguments.length>1?arguments[1]:void 0,r=o(t.length),u=void 0===n?r:Math.min(o(n),r),l=String(e);return s?s.call(t,l,u):t.slice(u-l.length,u)===l}})},function(e,t,n){"use strict";n(41)("fixed",function(e){return function(){return e(this,"tt","","")}})},function(e,t,n){"use strict";n(41)("fontcolor",function(e){return function(t){return e(this,"font","color",t)}})},function(e,t,n){"use strict";n(41)("fontsize",function(e){return function(t){return e(this,"font","size",t)}})},function(e,t,n){var r=n(2),o=n(94),i=String.fromCharCode,a=String.fromCodePoint;r(r.S+r.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(e){for(var t,n=[],r=arguments.length,a=0;r>a;){if(t=+arguments[a++],o(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?i(t):i(((t-=65536)>>10)+55296,t%1024+56320))}return n.join("")}})},function(e,t,n){"use strict";var r=n(2),o=n(251),i="includes";r(r.P+r.F*n(237)(i),"String",{includes:function(e){return!!~o(this,e,i).indexOf(e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";n(41)("italics",function(e){return function(){return e(this,"i","","")}})},[1623,250,243],function(e,t,n){"use strict";n(41)("link",function(e){return function(t){return e(this,"a","href",t)}})},function(e,t,n){var r=n(2),o=n(42),i=n(30);r(r.S,"String",{raw:function(e){for(var t=o(e.raw),n=i(t.length),r=arguments.length,a=[],s=0;n>s;)a.push(String(t[s++])),s<r&&a.push(String(arguments[s]));return a.join("")}})},function(e,t,n){var r=n(2);r(r.P,"String",{repeat:n(252)})},function(e,t,n){"use strict";n(41)("small",function(e){return function(){return e(this,"small","","")}})},function(e,t,n){"use strict";var r=n(2),o=n(30),i=n(251),a="startsWith",s=""[a];r(r.P+r.F*n(237)(a),"String",{startsWith:function(e){var t=i(this,e,a),n=o(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return s?s.call(t,r,n):t.slice(n,n+r.length)===r}})},function(e,t,n){"use strict";n(41)("strike",function(e){return function(){return e(this,"strike","","")}})},function(e,t,n){"use strict";n(41)("sub",function(e){return function(){return e(this,"sub","","")}})},function(e,t,n){"use strict";n(41)("sup",function(e){return function(){return e(this,"sup","","")}})},function(e,t,n){"use strict";n(112)("trim",function(e){return function(){return e(this,3)}})},[1625,13,35,24,2,40,76,15,174,111,95,20,378,256,642,641,241,12,42,60,77,89,370,46,25,91,90,142,173,88,39],function(e,t,n){"use strict";var r=n(2),o=n(175),i=n(255),a=n(12),s=n(94),u=n(30),l=n(18),c=n(13).ArrayBuffer,d=n(249),f=i.ArrayBuffer,p=i.DataView,h=o.ABV&&c.isView,m=f.prototype.slice,v=o.VIEW,g="ArrayBuffer";r(r.G+r.W+r.F*(c!==f),{ArrayBuffer:f}),r(r.S+r.F*!o.CONSTR,g,{isView:function(e){return h&&h(e)||l(e)&&v in e}}),r(r.P+r.U+r.F*n(15)(function(){return!new f(2).slice(1,void 0).byteLength}),g,{slice:function(e,t){if(void 0!==m&&void 0===t)return m.call(a(this),e);for(var n=a(this).byteLength,r=s(e,n),o=s(void 0===t?n:t,n),i=new(d(this,f))(u(o-r)),l=new p(this),c=new p(i),h=0;r<o;)c.setUint8(h++,l.getUint8(r++));return i}}),n(93)(g)},function(e,t,n){var r=n(2);r(r.G+r.W+r.F*!n(175).ABV,{DataView:n(255).DataView})},function(e,t,n){n(70)("Float32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(70)("Float64",8,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(70)("Int16",2,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(70)("Int32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(70)("Int8",1,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(70)("Uint16",2,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(70)("Uint32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(70)("Uint8",1,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(70)("Uint8",1,function(e){return function(t,n,r){return e(this,t,n,r)}},!0)},function(e,t,n){"use strict";var r=n(362);n(166)("WeakSet",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return r.def(this,e,!0)}},r,!1,!0)},function(e,t,n){"use strict";var r=n(2),o=n(165)(!0);r(r.P,"Array",{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(108)("includes")},function(e,t,n){var r=n(2),o=n(246)(),i=n(13).process,a="process"==n(49)(i);r(r.G,{asap:function(e){var t=a&&i.domain;o(t?t.bind(e):e)}})},function(e,t,n){var r=n(2),o=n(49);r(r.S,"Error",{isError:function(e){return"Error"===o(e)}})},function(e,t,n){var r=n(2);r(r.P+r.R,"Map",{toJSON:n(361)("Map")})},function(e,t,n){var r=n(2);r(r.S,"Math",{iaddh:function(e,t,n,r){var o=e>>>0,i=t>>>0,a=n>>>0;return i+(r>>>0)+((o&a|(o|a)&~(o+a>>>0))>>>31)|0}})},function(e,t,n){var r=n(2);r(r.S,"Math",{imulh:function(e,t){var n=65535,r=+e,o=+t,i=r&n,a=o&n,s=r>>16,u=o>>16,l=(s*a>>>0)+(i*a>>>16);return s*u+(l>>16)+((i*u>>>0)+(l&n)>>16)}})},function(e,t,n){var r=n(2);r(r.S,"Math",{isubh:function(e,t,n,r){var o=e>>>0,i=t>>>0,a=n>>>0;return i-(r>>>0)-((~o&a|~(o^a)&o-a>>>0)>>>31)|0}})},function(e,t,n){var r=n(2);r(r.S,"Math",{umulh:function(e,t){var n=65535,r=+e,o=+t,i=r&n,a=o&n,s=r>>>16,u=o>>>16,l=(s*a>>>0)+(i*a>>>16);return s*u+(l>>>16)+((i*u>>>0)+(l&n)>>>16)}})},function(e,t,n){"use strict";var r=n(2),o=n(31),i=n(38),a=n(25);n(24)&&r(r.P+n(172),"Object",{__defineGetter__:function(e,t){a.f(o(this),e,{get:i(t),enumerable:!0,configurable:!0})}})},function(e,t,n){"use strict";var r=n(2),o=n(31),i=n(38),a=n(25);n(24)&&r(r.P+n(172),"Object",{__defineSetter__:function(e,t){a.f(o(this),e,{set:i(t),enumerable:!0,configurable:!0})}})},function(e,t,n){var r=n(2),o=n(372)(!0);r(r.S,"Object",{entries:function(e){return o(e)}})},function(e,t,n){var r=n(2),o=n(373),i=n(42),a=n(46),s=n(234);r(r.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n=i(e),r=a.f,u=o(n),l={},c=0;u.length>c;)s(l,t=u[c++],r(n,t));return l}})},function(e,t,n){"use strict";var r=n(2),o=n(31),i=n(60),a=n(47),s=n(46).f;n(24)&&r(r.P+n(172),"Object",{__lookupGetter__:function(e){var t,n=o(this),r=i(e,!0);do if(t=s(n,r))return t.get;while(n=a(n))}})},function(e,t,n){"use strict";var r=n(2),o=n(31),i=n(60),a=n(47),s=n(46).f;n(24)&&r(r.P+n(172),"Object",{__lookupSetter__:function(e){var t,n=o(this),r=i(e,!0);do if(t=s(n,r))return t.set;while(n=a(n))}})},function(e,t,n){var r=n(2),o=n(372)(!1);r(r.S,"Object",{values:function(e){return o(e)}})},function(e,t,n){"use strict";var r=n(2),o=n(13),i=n(67),a=n(246)(),s=n(20)("observable"),u=n(38),l=n(12),c=n(87),d=n(92),f=n(39),p=n(109),h=p.RETURN,m=function(e){return null==e?void 0:u(e)},v=function(e){var t=e._c;t&&(e._c=void 0,t())},g=function(e){return void 0===e._o},y=function(e){g(e)||(e._o=void 0,v(e))},b=function(e,t){l(e),this._c=void 0,this._o=e,e=new _(this);try{var n=t(e),r=n;null!=n&&("function"==typeof n.unsubscribe?n=function(){r.unsubscribe()}:u(n),this._c=n)}catch(t){return void e.error(t)}g(this)&&v(this)};b.prototype=d({},{unsubscribe:function(){y(this)}});var _=function(e){this._s=e};_.prototype=d({},{next:function(e){var t=this._s;if(!g(t)){var n=t._o;try{var r=m(n.next);if(r)return r.call(n,e)}catch(e){try{y(t)}finally{throw e}}}},error:function(e){var t=this._s;if(g(t))throw e;var n=t._o;t._o=void 0;try{var r=m(n.error);if(!r)throw e;e=r.call(n,e)}catch(e){try{v(t)}finally{throw e}}return v(t),e},complete:function(e){var t=this._s;if(!g(t)){var n=t._o;t._o=void 0;try{var r=m(n.complete);e=r?r.call(n,e):void 0}catch(e){try{v(t)}finally{throw e}}return v(t),e}}});var w=function(e){c(this,w,"Observable","_f")._f=u(e)};d(w.prototype,{subscribe:function(e){return new b(e,this._f)},forEach:function(e){var t=this;return new(i.Promise||o.Promise)(function(n,r){u(e);var o=t.subscribe({next:function(t){try{return e(t)}catch(e){r(e),o.unsubscribe()}},error:r,complete:n})})}}),d(w,{from:function(e){var t="function"==typeof this?this:w,n=m(l(e)[s]);if(n){var r=l(n.call(e));return r.constructor===t?r:new t(function(e){return r.subscribe(e)})}return new t(function(t){var n=!1;return a(function(){if(!n){try{if(p(e,!1,function(e){if(t.next(e),n)return h})===h)return}catch(e){if(n)throw e;return void t.error(e)}t.complete()}}),function(){n=!0}})},of:function(){for(var e=0,t=arguments.length,n=Array(t);e<t;)n[e]=arguments[e++];return new("function"==typeof this?this:w)(function(e){var t=!1;return a(function(){if(!t){for(var r=0;r<n.length;++r)if(e.next(n[r]),t)return;e.complete()}}),function(){t=!0}})}}),f(w.prototype,s,function(){return this}),r(r.G,{Observable:w}),n(93)("Observable")},function(e,t,n){var r=n(69),o=n(12),i=r.key,a=r.set;r.exp({defineMetadata:function(e,t,n,r){a(e,t,o(n),i(r))}})},function(e,t,n){var r=n(69),o=n(12),i=r.key,a=r.map,s=r.store;r.exp({deleteMetadata:function(e,t){var n=arguments.length<3?void 0:i(arguments[2]),r=a(o(t),n,!1);if(void 0===r||!r.delete(e))return!1;if(r.size)return!0;var u=s.get(t);return u.delete(n),!!u.size||s.delete(t)}})},function(e,t,n){var r=n(381),o=n(357),i=n(69),a=n(12),s=n(47),u=i.keys,l=i.key,c=function(e,t){var n=u(e,t),i=s(e);if(null===i)return n;var a=c(i,t);return a.length?n.length?o(new r(n.concat(a))):a:n};i.exp({getMetadataKeys:function(e){
-return c(a(e),arguments.length<2?void 0:l(arguments[1]))}})},function(e,t,n){var r=n(69),o=n(12),i=n(47),a=r.has,s=r.get,u=r.key,l=function(e,t,n){var r=a(e,t,n);if(r)return s(e,t,n);var o=i(t);return null!==o?l(e,o,n):void 0};r.exp({getMetadata:function(e,t){return l(e,o(t),arguments.length<3?void 0:u(arguments[2]))}})},function(e,t,n){var r=n(69),o=n(12),i=r.keys,a=r.key;r.exp({getOwnMetadataKeys:function(e){return i(o(e),arguments.length<2?void 0:a(arguments[1]))}})},function(e,t,n){var r=n(69),o=n(12),i=r.get,a=r.key;r.exp({getOwnMetadata:function(e,t){return i(e,o(t),arguments.length<3?void 0:a(arguments[2]))}})},function(e,t,n){var r=n(69),o=n(12),i=n(47),a=r.has,s=r.key,u=function(e,t,n){var r=a(e,t,n);if(r)return!0;var o=i(t);return null!==o&&u(e,o,n)};r.exp({hasMetadata:function(e,t){return u(e,o(t),arguments.length<3?void 0:s(arguments[2]))}})},function(e,t,n){var r=n(69),o=n(12),i=r.has,a=r.key;r.exp({hasOwnMetadata:function(e,t){return i(e,o(t),arguments.length<3?void 0:a(arguments[2]))}})},function(e,t,n){var r=n(69),o=n(12),i=n(38),a=r.key,s=r.set;r.exp({metadata:function(e,t){return function(n,r){s(e,t,(void 0!==r?o:i)(n),a(r))}}})},function(e,t,n){var r=n(2);r(r.P+r.R,"Set",{toJSON:n(361)("Set")})},function(e,t,n){"use strict";var r=n(2),o=n(250)(!0);r(r.P,"String",{at:function(e){return o(this,e)}})},function(e,t,n){"use strict";var r=n(2),o=n(50),i=n(30),a=n(170),s=n(168),u=RegExp.prototype,l=function(e,t){this._r=e,this._s=t};n(242)(l,"RegExp String",function(){var e=this._r.exec(this._s);return{value:e,done:null===e}}),r(r.P,"String",{matchAll:function(e){if(o(this),!a(e))throw TypeError(e+" is not a regexp!");var t=String(this),n="flags"in u?String(e.flags):s.call(e),r=new RegExp(e.source,~n.indexOf("g")?n:"g"+n);return r.lastIndex=i(e.lastIndex),new l(r,t)}})},function(e,t,n){"use strict";var r=n(2),o=n(377);r(r.P,"String",{padEnd:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0,!1)}})},function(e,t,n){"use strict";var r=n(2),o=n(377);r(r.P,"String",{padStart:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0,!0)}})},function(e,t,n){"use strict";n(112)("trimLeft",function(e){return function(){return e(this,1)}},"trimStart")},function(e,t,n){"use strict";n(112)("trimRight",function(e){return function(){return e(this,2)}},"trimEnd")},[1629,256],[1630,256],function(e,t,n){var r=n(2);r(r.S,"System",{global:n(13)})},function(e,t,n){for(var r=n(258),o=n(40),i=n(13),a=n(39),s=n(110),u=n(20),l=u("iterator"),c=u("toStringTag"),d=s.Array,f=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],p=0;p<5;p++){var h,m=f[p],v=i[m],g=v&&v.prototype;if(g){g[l]||a(g,l,d),g[c]||a(g,c,m),s[m]=d;for(h in r)g[h]||o(g,h,r[h],!0)}}},function(e,t,n){var r=n(2),o=n(254);r(r.G+r.B,{setImmediate:o.set,clearImmediate:o.clear})},function(e,t,n){var r=n(13),o=n(2),i=n(169),a=n(643),s=r.navigator,u=!!s&&/MSIE .\./.test(s.userAgent),l=function(e){return u?function(t,n){return e(i(a,[].slice.call(arguments,2),"function"==typeof t?t:Function(t)),n)}:e};o(o.G+o.B+o.F*u,{setTimeout:l(r.setTimeout),setInterval:l(r.setInterval)})},function(e,t,n){n(766),n(705),n(707),n(706),n(709),n(711),n(716),n(710),n(708),n(718),n(717),n(713),n(714),n(712),n(704),n(715),n(719),n(720),n(672),n(674),n(673),n(722),n(721),n(692),n(702),n(703),n(693),n(694),n(695),n(696),n(697),n(698),n(699),n(700),n(701),n(675),n(676),n(677),n(678),n(679),n(680),n(681),n(682),n(683),n(684),n(685),n(686),n(687),n(688),n(689),n(690),n(691),n(753),n(758),n(765),n(756),n(748),n(749),n(754),n(759),n(761),n(744),n(745),n(746),n(747),n(750),n(751),n(752),n(755),n(757),n(760),n(762),n(763),n(764),n(667),n(669),n(668),n(671),n(670),n(656),n(654),n(660),n(657),n(663),n(665),n(653),n(659),n(650),n(664),n(648),n(662),n(661),n(655),n(658),n(647),n(649),n(652),n(651),n(666),n(258),n(738),n(743),n(380),n(739),n(740),n(741),n(742),n(723),n(379),n(381),n(382),n(778),n(767),n(768),n(773),n(776),n(777),n(771),n(774),n(772),n(775),n(769),n(770),n(724),n(725),n(726),n(727),n(728),n(731),n(729),n(730),n(732),n(733),n(734),n(735),n(737),n(736),n(779),n(805),n(808),n(807),n(809),n(810),n(806),n(811),n(812),n(790),n(793),n(789),n(787),n(788),n(791),n(792),n(782),n(804),n(813),n(781),n(783),n(785),n(784),n(786),n(795),n(796),n(798),n(797),n(800),n(799),n(801),n(802),n(803),n(780),n(794),n(816),n(815),n(814),e.exports=n(67)},function(e,t,n){"use strict";var r=function(e){return e&&e.__esModule?e:{default:e}},o=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")};t.__esModule=!0;var i=n(259),a=r(i),s=function(){function e(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];o(this,e),Array.isArray(n[0])&&1===n.length&&(n=n[0]);for(var i=0;i<n.length;i++)if(!a.default(n[i]))throw new Error("Expected a disposable");this.disposables=n,this.isDisposed=!1}return e.prototype.add=function(e){this.isDisposed?e.dispose():this.disposables.push(e)},e.prototype.remove=function(e){if(this.isDisposed)return!1;var t=this.disposables.indexOf(e);return t!==-1&&(this.disposables.splice(t,1),e.dispose(),!0)},e.prototype.dispose=function(){if(!this.isDisposed){for(var e=this.disposables.length,t=new Array(e),n=0;n<e;n++)t[n]=this.disposables[n];this.isDisposed=!0,this.disposables=[],this.length=0;for(var n=0;n<e;n++)t[n].dispose()}},e}();t.default=s,e.exports=t.default},function(e,t){"use strict";var n=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.__esModule=!0;var o=function(){},i=function(){function e(t){n(this,e),this.isDisposed=!1,this.action=t||o}return e.prototype.dispose=function(){this.isDisposed||(this.action.call(null),this.isDisposed=!0)},r(e,null,[{key:"empty",enumerable:!0,value:{dispose:o}}]),e}();t.default=i,e.exports=t.default},function(e,t,n){"use strict";var r=function(e){return e&&e.__esModule?e:{default:e}},o=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")};t.__esModule=!0;var i=n(259),a=r(i),s=function(){function e(){o(this,e),this.isDisposed=!1,this.current=null}return e.prototype.getDisposable=function(){return this.current},e.prototype.setDisposable=function(){var e=void 0===arguments[0]?null:arguments[0];if(null!=e&&!a.default(e))throw new Error("Expected either an empty value or a valid disposable");var t=this.isDisposed,n=void 0;t||(n=this.current,this.current=e),n&&n.dispose(),t&&e&&e.dispose()},e.prototype.dispose=function(){if(!this.isDisposed){this.isDisposed=!0;var e=this.current;this.current=null,e&&e.dispose()}},e}();t.default=s,e.exports=t.default},function(e,t,n){"use strict";var r=function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0;var o=n(259),i=r(o);t.isDisposable=i.default;var a=n(819),s=r(a);t.Disposable=s.default;var u=n(818),l=r(u);t.CompositeDisposable=l.default;var c=n(820),d=r(c);t.SerialDisposable=d.default},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(308),u=o(s),l=n(830),c=o(l),d=n(176),f=r(d),p=n(823),h=o(p),m=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};i(this,e);var r=(0,u.default)(c.default);this.context=n,this.store=r,this.monitor=new h.default(r),this.registry=this.monitor.registry,this.backend=t(this),r.subscribe(this.handleRefCountChange.bind(this))}return a(e,[{key:"handleRefCountChange",value:function(){var e=this.store.getState().refCount>0;e&&!this.isSetUp?(this.backend.setup(),this.isSetUp=!0):!e&&this.isSetUp&&(this.backend.teardown(),this.isSetUp=!1)}},{key:"getContext",value:function(){return this.context}},{key:"getMonitor",value:function(){return this.monitor}},{key:"getBackend",value:function(){return this.backend}},{key:"getRegistry",value:function(){return this.registry}},{key:"getActions",value:function(){function e(e){return function(){for(var r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];var a=e.apply(t,o);"undefined"!=typeof a&&n(a)}}var t=this,n=this.store.dispatch;return Object.keys(f).filter(function(e){return"function"==typeof f[e]}).reduce(function(t,n){var r=f[n];return t[n]=e(r),t},{})}}]),e}();t.default=m},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(17),s=r(a),u=n(37),l=r(u),c=n(385),d=r(c),f=n(826),p=r(f),h=n(384),m=n(383),v=function(){function e(t){o(this,e),this.store=t,this.registry=new p.default(t)}return i(e,[{key:"subscribeToStateChange",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.handlerIds;(0,s.default)("function"==typeof e,"listener must be a function."),(0,s.default)("undefined"==typeof r||(0,l.default)(r),"handlerIds, when specified, must be an array of strings.");var o=this.store.getState().stateId,i=function(){var n=t.store.getState(),i=n.stateId;try{var a=i===o||i===o+1&&!(0,m.areDirty)(n.dirtyHandlerIds,r);a||e()}finally{o=i}};return this.store.subscribe(i)}},{key:"subscribeToOffsetChange",value:function(e){var t=this;(0,s.default)("function"==typeof e,"listener must be a function.");var n=this.store.getState().dragOffset,r=function(){var r=t.store.getState().dragOffset;r!==n&&(n=r,e())};return this.store.subscribe(r)}},{key:"canDragSource",value:function(e){var t=this.registry.getSource(e);return(0,s.default)(t,"Expected to find a valid source."),!this.isDragging()&&t.canDrag(this,e)}},{key:"canDropOnTarget",value:function(e){var t=this.registry.getTarget(e);if((0,s.default)(t,"Expected to find a valid target."),!this.isDragging()||this.didDrop())return!1;var n=this.registry.getTargetType(e),r=this.getItemType();return(0,d.default)(n,r)&&t.canDrop(this,e)}},{key:"isDragging",value:function(){return Boolean(this.getItemType())}},{key:"isDraggingSource",value:function(e){var t=this.registry.getSource(e,!0);if((0,s.default)(t,"Expected to find a valid source."),!this.isDragging()||!this.isSourcePublic())return!1;var n=this.registry.getSourceType(e),r=this.getItemType();return n===r&&t.isDragging(this,e)}},{key:"isOverTarget",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{shallow:!1},n=t.shallow;if(!this.isDragging())return!1;var r=this.registry.getTargetType(e),o=this.getItemType();if(!(0,d.default)(r,o))return!1;var i=this.getTargetIds();if(!i.length)return!1;var a=i.indexOf(e);return n?a===i.length-1:a>-1}},{key:"getItemType",value:function(){return this.store.getState().dragOperation.itemType}},{key:"getItem",value:function(){return this.store.getState().dragOperation.item}},{key:"getSourceId",value:function(){return this.store.getState().dragOperation.sourceId}},{key:"getTargetIds",value:function(){return this.store.getState().dragOperation.targetIds}},{key:"getDropResult",value:function(){return this.store.getState().dragOperation.dropResult}},{key:"didDrop",value:function(){return this.store.getState().dragOperation.didDrop}},{key:"isSourcePublic",value:function(){return this.store.getState().dragOperation.isSourcePublic}},{key:"getInitialClientOffset",value:function(){return this.store.getState().dragOffset.initialClientOffset}},{key:"getInitialSourceClientOffset",value:function(){return this.store.getState().dragOffset.initialSourceClientOffset}},{key:"getClientOffset",value:function(){return this.store.getState().dragOffset.clientOffset}},{key:"getSourceClientOffset",value:function(){return(0,h.getSourceClientOffset)(this.store.getState().dragOffset)}},{key:"getDifferenceFromInitialOffset",value:function(){return(0,h.getDifferenceFromInitialOffset)(this.store.getState().dragOffset)}}]),e}();t.default=v},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(){n(this,e)}return r(e,[{key:"canDrag",value:function(){return!0}},{key:"isDragging",value:function(e,t){return t===e.getSourceId()}},{key:"endDrag",value:function(){}}]),e}();t.default=o},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(){n(this,e)}return r(e,[{key:"canDrop",value:function(){return!0}},{key:"hover",value:function(){}},{key:"drop",value:function(){}}]),e}();t.default=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e){(0,p.default)("function"==typeof e.canDrag,"Expected canDrag to be a function."),(0,p.default)("function"==typeof e.beginDrag,"Expected beginDrag to be a function."),(0,p.default)("function"==typeof e.endDrag,"Expected endDrag to be a function.")}function a(e){(0,p.default)("function"==typeof e.canDrop,"Expected canDrop to be a function."),(0,p.default)("function"==typeof e.hover,"Expected hover to be a function."),(0,p.default)("function"==typeof e.drop,"Expected beginDrag to be a function.")}function s(e,t){return t&&(0,m.default)(e)?void e.forEach(function(e){return s(e,!1)}):void(0,p.default)("string"==typeof e||"symbol"===("undefined"==typeof e?"undefined":d(e)),t?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}function u(e){var t=(0,_.default)().toString();switch(e){case w.SOURCE:return"S"+t;case w.TARGET:return"T"+t;default:(0,p.default)(!1,"Unknown role: "+e)}}function l(e){switch(e[0]){case"S":return w.SOURCE;case"T":return w.TARGET;default:(0,p.default)(!1,"Cannot parse handler ID: "+e)}}Object.defineProperty(t,"__esModule",{value:!0});var c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f=n(17),p=r(f),h=n(37),m=r(h),v=n(505),g=r(v),y=n(177),b=n(833),_=r(b),w={SOURCE:"SOURCE",TARGET:"TARGET"},C=function(){function e(t){o(this,e),this.store=t,this.types={},this.handlers={},this.pinnedSourceId=null,this.pinnedSource=null}return c(e,[{key:"addSource",value:function(e,t){s(e),i(t);var n=this.addHandler(w.SOURCE,e,t);return this.store.dispatch((0,y.addSource)(n)),n}},{key:"addTarget",value:function(e,t){s(e,!0),a(t);var n=this.addHandler(w.TARGET,e,t);return this.store.dispatch((0,y.addTarget)(n)),n}},{key:"addHandler",value:function(e,t,n){var r=u(e);return this.types[r]=t,this.handlers[r]=n,r}},{key:"containsHandler",value:function(e){var t=this;return Object.keys(this.handlers).some(function(n){return t.handlers[n]===e})}},{key:"getSource",value:function(e,t){(0,p.default)(this.isSourceId(e),"Expected a valid source ID.");var n=t&&e===this.pinnedSourceId,r=n?this.pinnedSource:this.handlers[e];return r}},{key:"getTarget",value:function(e){return(0,p.default)(this.isTargetId(e),"Expected a valid target ID."),this.handlers[e]}},{key:"getSourceType",value:function(e){return(0,p.default)(this.isSourceId(e),"Expected a valid source ID."),this.types[e]}},{key:"getTargetType",value:function(e){return(0,p.default)(this.isTargetId(e),"Expected a valid target ID."),this.types[e]}},{key:"isSourceId",value:function(e){var t=l(e);return t===w.SOURCE}},{key:"isTargetId",value:function(e){var t=l(e);return t===w.TARGET}},{key:"removeSource",value:function(e){var t=this;(0,p.default)(this.getSource(e),"Expected an existing source."),this.store.dispatch((0,y.removeSource)(e)),(0,g.default)(function(){delete t.handlers[e],delete t.types[e]})}},{key:"removeTarget",value:function(e){var t=this;(0,p.default)(this.getTarget(e),"Expected an existing target."),this.store.dispatch((0,y.removeTarget)(e)),(0,g.default)(function(){delete t.handlers[e],delete t.types[e]})}},{key:"pinSource",value:function(e){var t=this.getSource(e);(0,p.default)(t,"Expected an existing source."),this.pinnedSourceId=e,this.pinnedSource=t}},{key:"unpinSource",value:function(){(0,p.default)(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}}]),e}();t.default=C},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e){return new l(e)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=i;var s=n(416),u=r(s),l=function(){function e(t){o(this,e),this.actions=t.getActions()}return a(e,[{key:"setup",value:function(){this.didCallSetup=!0}},{key:"teardown",value:function(){this.didCallTeardown=!0}},{key:"connectDragSource",value:function(){return u.default}},{key:"connectDragPreview",value:function(){return u.default}},{key:"connectDropTarget",value:function(){return u.default}},{key:"simulateBeginDrag",value:function(e,t){this.actions.beginDrag(e,t)}},{key:"simulatePublishDragSource",value:function(){this.actions.publishDragSource()}},{key:"simulateHover",value:function(e,t){this.actions.hover(e,t)}},{key:"simulateDrop",value:function(){this.actions.drop()}},{key:"simulateEndDrag",value:function(){this.actions.endDrag()}}]),e}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(822);Object.defineProperty(t,"DragDropManager",{enumerable:!0,get:function(){return r(o).default}});var i=n(824);Object.defineProperty(t,"DragSource",{enumerable:!0,get:function(){return r(i).default}});var a=n(825);Object.defineProperty(t,"DropTarget",{enumerable:!0,get:function(){return r(a).default}});var s=n(827);Object.defineProperty(t,"createTestBackend",{enumerable:!0,get:function(){return r(s).default}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments[1];switch(t.type){case u.BEGIN_DRAG:return i({},e,{itemType:t.itemType,item:t.item,sourceId:t.sourceId,isSourcePublic:t.isSourcePublic,dropResult:null,didDrop:!1});case u.PUBLISH_DRAG_SOURCE:return i({},e,{isSourcePublic:!0});case u.HOVER:return i({},e,{targetIds:t.targetIds});case l.REMOVE_TARGET:return e.targetIds.indexOf(t.targetId)===-1?e:i({},e,{targetIds:(0,s.default)(e.targetIds,t.targetId)});case u.DROP:return i({},e,{dropResult:t.dropResult,didDrop:!0,targetIds:[]});case u.END_DRAG:return i({},e,{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=o;var a=n(418),s=r(a),u=n(176),l=n(177),c={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];return{dirtyHandlerIds:(0,f.default)(e.dirtyHandlerIds,t,e.dragOperation),dragOffset:(0,a.default)(e.dragOffset,t),refCount:(0,c.default)(e.refCount,t),dragOperation:(0,u.default)(e.dragOperation,t),stateId:(0,h.default)(e.stateId)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(384),a=r(i),s=n(829),u=r(s),l=n(831),c=r(l),d=n(383),f=r(d),p=n(832),h=r(p)},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments[1];switch(t.type){case o.ADD_SOURCE:case o.ADD_TARGET:return e+1;case o.REMOVE_SOURCE:case o.REMOVE_TARGET:return e-1;default:return e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=n(177)},function(e,t){"use strict";function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return e+1}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n},function(e,t){"use strict";function n(){return r++}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;var r=0},function(e,t,n){(function(t,r){/*!
-	 * @overview es6-promise - a tiny implementation of Promises/A+.
-	 * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
-	 * @license   Licensed under MIT license
-	 *            See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
-	 * @version   4.1.0
-	 */
-!function(t,n){e.exports=n()}(this,function(){"use strict";function e(e){return"function"==typeof e||"object"==typeof e&&null!==e}function o(e){return"function"==typeof e}function i(e){K=e}function a(e){X=e}function s(){return function(){return t.nextTick(f)}}function u(){return"undefined"!=typeof $?function(){$(f)}:d()}function l(){var e=0,t=new Z(f),n=document.createTextNode("");return t.observe(n,{characterData:!0}),function(){n.data=e=++e%2}}function c(){var e=new MessageChannel;return e.port1.onmessage=f,function(){return e.port2.postMessage(0)}}function d(){var e=setTimeout;return function(){return e(f,1)}}function f(){for(var e=0;e<Y;e+=2){var t=ne[e],n=ne[e+1];t(n),ne[e]=void 0,ne[e+1]=void 0}Y=0}function p(){try{var e=n(1212);return $=e.runOnLoop||e.runOnContext,u()}catch(e){return d()}}function h(e,t){var n=arguments,r=this,o=new this.constructor(v);void 0===o[oe]&&R(o);var i=r._state;return i?!function(){var e=n[i-1];X(function(){return I(i,o,e,r._result)})}():M(r,o,e,t),o}function m(e){var t=this;if(e&&"object"==typeof e&&e.constructor===t)return e;var n=new t(v);return E(n,e),n}function v(){}function g(){return new TypeError("You cannot resolve a promise with itself")}function y(){return new TypeError("A promises callback cannot return that same promise.")}function b(e){try{return e.then}catch(e){return ue.error=e,ue}}function _(e,t,n,r){try{e.call(t,n,r)}catch(e){return e}}function w(e,t,n){X(function(e){var r=!1,o=_(n,t,function(n){r||(r=!0,t!==n?E(e,n):k(e,n))},function(t){r||(r=!0,S(e,t))},"Settle: "+(e._label||" unknown promise"));!r&&o&&(r=!0,S(e,o))},e)}function C(e,t){t._state===ae?k(e,t._result):t._state===se?S(e,t._result):M(t,void 0,function(t){return E(e,t)},function(t){return S(e,t)})}function x(e,t,n){t.constructor===e.constructor&&n===h&&t.constructor.resolve===m?C(e,t):n===ue?(S(e,ue.error),ue.error=null):void 0===n?k(e,t):o(n)?w(e,t,n):k(e,t)}function E(t,n){t===n?S(t,g()):e(n)?x(t,n,b(n)):k(t,n)}function T(e){e._onerror&&e._onerror(e._result),O(e)}function k(e,t){e._state===ie&&(e._result=t,e._state=ae,0!==e._subscribers.length&&X(O,e))}function S(e,t){e._state===ie&&(e._state=se,e._result=t,X(T,e))}function M(e,t,n,r){var o=e._subscribers,i=o.length;e._onerror=null,o[i]=t,o[i+ae]=n,o[i+se]=r,0===i&&e._state&&X(O,e)}function O(e){var t=e._subscribers,n=e._state;if(0!==t.length){for(var r=void 0,o=void 0,i=e._result,a=0;a<t.length;a+=3)r=t[a],o=t[a+n],r?I(n,r,o,i):o(i);e._subscribers.length=0}}function A(){this.error=null}function N(e,t){try{return e(t)}catch(e){return le.error=e,le}}function I(e,t,n,r){var i=o(n),a=void 0,s=void 0,u=void 0,l=void 0;if(i){if(a=N(n,r),a===le?(l=!0,s=a.error,a.error=null):u=!0,t===a)return void S(t,y())}else a=r,u=!0;t._state!==ie||(i&&u?E(t,a):l?S(t,s):e===ae?k(t,a):e===se&&S(t,a))}function P(e,t){try{t(function(t){E(e,t)},function(t){S(e,t)})}catch(t){S(e,t)}}function D(){return ce++}function R(e){e[oe]=ce++,e._state=void 0,e._result=void 0,e._subscribers=[]}function j(e,t){this._instanceConstructor=e,this.promise=new e(v),this.promise[oe]||R(this.promise),G(t)?(this._input=t,this.length=t.length,this._remaining=t.length,this._result=new Array(this.length),0===this.length?k(this.promise,this._result):(this.length=this.length||0,this._enumerate(),0===this._remaining&&k(this.promise,this._result))):S(this.promise,L())}function L(){return new Error("Array Methods must be provided an Array")}function B(e){return new j(this,e).promise}function F(e){var t=this;return new t(G(e)?function(n,r){for(var o=e.length,i=0;i<o;i++)t.resolve(e[i]).then(n,r)}:function(e,t){return t(new TypeError("You must pass an array to race."))})}function U(e){var t=this,n=new t(v);return S(n,e),n}function H(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function z(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function q(e){this[oe]=D(),this._result=this._state=void 0,this._subscribers=[],v!==e&&("function"!=typeof e&&H(),this instanceof q?P(this,e):z())}function W(){var e=void 0;if("undefined"!=typeof r)e=r;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;if(t){var n=null;try{n=Object.prototype.toString.call(t.resolve())}catch(e){}if("[object Promise]"===n&&!t.cast)return}e.Promise=q}var V=void 0;V=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)};var G=V,Y=0,$=void 0,K=void 0,X=function(e,t){ne[Y]=e,ne[Y+1]=t,Y+=2,2===Y&&(K?K(f):re())},Q="undefined"!=typeof window?window:void 0,J=Q||{},Z=J.MutationObserver||J.WebKitMutationObserver,ee="undefined"==typeof self&&"undefined"!=typeof t&&"[object process]"==={}.toString.call(t),te="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,ne=new Array(1e3),re=void 0;re=ee?s():Z?l():te?c():void 0===Q?p():d();var oe=Math.random().toString(36).substring(16),ie=void 0,ae=1,se=2,ue=new A,le=new A,ce=0;return j.prototype._enumerate=function(){for(var e=this.length,t=this._input,n=0;this._state===ie&&n<e;n++)this._eachEntry(t[n],n)},j.prototype._eachEntry=function(e,t){var n=this._instanceConstructor,r=n.resolve;if(r===m){var o=b(e);if(o===h&&e._state!==ie)this._settledAt(e._state,t,e._result);else if("function"!=typeof o)this._remaining--,this._result[t]=e;else if(n===q){var i=new n(v);x(i,e,o),this._willSettleAt(i,t)}else this._willSettleAt(new n(function(t){return t(e)}),t)}else this._willSettleAt(r(e),t)},j.prototype._settledAt=function(e,t,n){var r=this.promise;r._state===ie&&(this._remaining--,e===se?S(r,n):this._result[t]=n),0===this._remaining&&k(r,this._result)},j.prototype._willSettleAt=function(e,t){var n=this;M(e,void 0,function(e){return n._settledAt(ae,t,e)},function(e){return n._settledAt(se,t,e)})},q.all=B,q.race=F,q.resolve=m,q.reject=U,q._setScheduler=i,q._setAsap=a,q._asap=X,q.prototype={constructor:q,then:h,catch:function(e){return this.then(null,e)}},q.polyfill=W,q.Promise=q,q})}).call(t,n(159),function(){return this}())},,function(e,t){"use strict";function n(e){return e.replace(r,function(e,t){return t.toUpperCase()})}var r=/-(.)/g;e.exports=n},function(e,t,n){"use strict";function r(e){return o(e.replace(i,"ms-"))}var o=n(836),i=/^-ms-/;e.exports=r},function(e,t,n){"use strict";function r(e,t){return!(!e||!t)&&(e===t||!o(e)&&(o(t)?r(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}var o=n(846);e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.length;if(Array.isArray(e)||"object"!=typeof e&&"function"!=typeof e?a(!1):void 0,"number"!=typeof t?a(!1):void 0,0===t||t-1 in e?void 0:a(!1),"function"==typeof e.callee?a(!1):void 0,e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var n=Array(t),r=0;r<t;r++)n[r]=e[r];return n}function o(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"length"in e&&!("setInterval"in e)&&"number"!=typeof e.nodeType&&(Array.isArray(e)||"callee"in e||"item"in e)}function i(e){return o(e)?Array.isArray(e)?e.slice():r(e):[e]}var a=n(11);e.exports=i},function(e,t,n){"use strict";function r(e){var t=e.match(c);return t&&t[1].toLowerCase()}function o(e,t){var n=l;l?void 0:u(!1);var o=r(e),i=o&&s(o);if(i){n.innerHTML=i[1]+e+i[2];for(var c=i[0];c--;)n=n.lastChild}else n.innerHTML=e;var d=n.getElementsByTagName("script");d.length&&(t?void 0:u(!1),a(d).forEach(t));for(var f=Array.from(n.childNodes);n.lastChild;)n.removeChild(n.lastChild);return f}var i=n(36),a=n(839),s=n(841),u=n(11),l=i.canUseDOM?document.createElement("div"):null,c=/^\s*<(\w+)/;e.exports=o},function(e,t,n){"use strict";function r(e){return a?void 0:i(!1),f.hasOwnProperty(e)||(e="*"),s.hasOwnProperty(e)||("*"===e?a.innerHTML="<link />":a.innerHTML="<"+e+"></"+e+">",s[e]=!a.firstChild),s[e]?f[e]:null}var o=n(36),i=n(11),a=o.canUseDOM?document.createElement("div"):null,s={},u=[1,'<select multiple="true">',"</select>"],l=[1,"<table>","</table>"],c=[3,"<table><tbody><tr>","</tr></tbody></table>"],d=[1,'<svg xmlns="http://www.w3.org/2000/svg">',"</svg>"],f={"*":[1,"?<div>","</div>"],area:[1,"<map>","</map>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],legend:[1,"<fieldset>","</fieldset>"],param:[1,"<object>","</object>"],tr:[2,"<table><tbody>","</tbody></table>"],optgroup:u,option:u,caption:l,colgroup:l,tbody:l,tfoot:l,thead:l,td:c,th:c},p=["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"];p.forEach(function(e){f[e]=d,s[e]=!0}),e.exports=r},function(e,t){"use strict";function n(e){return e.Window&&e instanceof e.Window?{x:e.pageXOffset||e.document.documentElement.scrollLeft,y:e.pageYOffset||e.document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}}e.exports=n},function(e,t){"use strict";function n(e){return e.replace(r,"-$1").toLowerCase()}var r=/([A-Z])/g;e.exports=n},function(e,t,n){"use strict";function r(e){return o(e).replace(i,"-ms-")}var o=n(843),i=/^ms-/;e.exports=r},function(e,t){"use strict";function n(e){var t=e?e.ownerDocument||e:document,n=t.defaultView||window;return!(!e||!("function"==typeof n.Node?e instanceof n.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}e.exports=n},function(e,t,n){"use strict";function r(e){return o(e)&&3==e.nodeType}var o=n(845);e.exports=r},function(e,t){"use strict";var n=function(e){var t;for(t in e)if(e.hasOwnProperty(t))return t;return null};e.exports=n},function(e,t){"use strict";function n(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}}e.exports=n},function(e,t,n){function r(e,t,n){if(!s(t))throw new TypeError("iterator must be a function");arguments.length<3&&(n=this),"[object Array]"===u.call(e)?o(e,t,n):"string"==typeof e?i(e,t,n):a(e,t,n)}function o(e,t,n){for(var r=0,o=e.length;r<o;r++)l.call(e,r)&&t.call(n,e[r],r,e)}function i(e,t,n){for(var r=0,o=e.length;r<o;r++)t.call(n,e.charAt(r),r,e)}function a(e,t,n){for(var r in e)l.call(e,r)&&t.call(n,e[r],r,e)}var s=n(393);e.exports=r;var u=Object.prototype.toString,l=Object.prototype.hasOwnProperty},function(e,t){"use strict";t.__esModule=!0;t.loopAsync=function(e,t,n){var r=0,o=!1,i=!1,a=!1,s=void 0,u=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return o=!0,i?void(s=t):void n.apply(void 0,t)},l=function l(){if(!o&&(a=!0,!i)){for(i=!0;!o&&r<e&&a;)a=!1,t(r++,l,u);return i=!1,o?void n.apply(void 0,s):void(r>=e&&a&&(o=!0,n()))}};l()}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.replaceLocation=t.pushLocation=t.startListener=t.getCurrentLocation=t.go=t.getUserConfirmation=void 0;var o=n(261);Object.defineProperty(t,"getUserConfirmation",{enumerable:!0,get:function(){return o.getUserConfirmation}}),Object.defineProperty(t,"go",{enumerable:!0,get:function(){return o.go}});var i=n(83),a=(r(i),n(113)),s=n(179),u=n(389),l=n(79),c="hashchange",d=function(){var e=window.location.href,t=e.indexOf("#");return t===-1?"":e.substring(t+1)},f=function(e){return window.location.hash=e},p=function(e){var t=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,t>=0?t:0)+"#"+e)},h=t.getCurrentLocation=function(e,t){var n=e.decodePath(d()),r=(0,l.getQueryStringValueFromPath)(n,t),o=void 0;r&&(n=(0,l.stripQueryStringValueFromPath)(n,t),o=(0,u.readState)(r));var i=(0,l.parsePath)(n);return i.state=o,(0,a.createLocation)(i,void 0,r)},m=void 0,v=(t.startListener=function(e,t,n){var r=function(){var r=d(),o=t.encodePath(r);if(r!==o)p(o);else{var i=h(t,n);if(m&&i.key&&m.key===i.key)return;m=i,e(i)}},o=d(),i=t.encodePath(o);return o!==i&&p(i),(0,s.addEventListener)(window,c,r),function(){return(0,s.removeEventListener)(window,c,r)}},function(e,t,n,r){var o=e.state,i=e.key,a=t.encodePath((0,l.createPath)(e));void 0!==o&&(a=(0,l.addQueryStringValueToPath)(a,n,i),(0,u.saveState)(i,o)),m=e,r(a)});t.pushLocation=function(e,t,n){return v(e,t,n,function(e){d()!==e&&f(e)})},t.replaceLocation=function(e,t,n){return v(e,t,n,function(e){d()!==e&&p(e)})}},function(e,t,n){"use strict";t.__esModule=!0,t.replaceLocation=t.pushLocation=t.getCurrentLocation=t.go=t.getUserConfirmation=void 0;var r=n(261);Object.defineProperty(t,"getUserConfirmation",{enumerable:!0,get:function(){return r.getUserConfirmation}}),Object.defineProperty(t,"go",{enumerable:!0,get:function(){return r.go}});var o=n(113),i=n(79);t.getCurrentLocation=function(){return(0,o.createLocation)(window.location)},t.pushLocation=function(e){return window.location.href=(0,i.createPath)(e),!1},t.replaceLocation=function(e){return window.location.replace((0,i.createPath)(e)),!1}},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(17),s=o(a),u=n(262),l=n(261),c=r(l),d=n(852),f=r(d),p=n(179),h=n(263),m=o(h),v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};u.canUseDOM?void 0:(0,s.default)(!1);var t=e.forceRefresh||!(0,p.supportsHistory)(),n=t?f:c,r=n.getUserConfirmation,o=n.getCurrentLocation,a=n.pushLocation,l=n.replaceLocation,d=n.go,h=(0,m.default)(i({getUserConfirmation:r},e,{getCurrentLocation:o,pushLocation:a,replaceLocation:l,go:d})),v=0,g=void 0,y=function(e,t){1===++v&&(g=c.startListener(h.transitionTo));var n=t?h.listenBefore(e):h.listen(e);return function(){n(),0===--v&&g()}},b=function(e){return y(e,!0)},_=function(e){return y(e,!1)};return i({},h,{listenBefore:b,listen:_})};t.default=v},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(83),s=(o(a),n(17)),u=o(s),l=n(262),c=n(179),d=n(851),f=r(d),p=n(263),h=o(p),m="_k",v=function(e){return"/"===e.charAt(0)?e:"/"+e},g={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!"+e},decodePath:function(e){return"!"===e.charAt(0)?e.substring(1):e}},noslash:{encodePath:function(e){return"/"===e.charAt(0)?e.substring(1):e},decodePath:v},slash:{encodePath:v,decodePath:v}},y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};l.canUseDOM?void 0:(0,u.default)(!1);var t=e.queryKey,n=e.hashType;"string"!=typeof t&&(t=m),null==n&&(n="slash"),n in g||(n="slash");var r=g[n],o=f.getUserConfirmation,a=function(){return f.getCurrentLocation(r,t)},s=function(e){return f.pushLocation(e,r,t)},d=function(e){return f.replaceLocation(e,r,t)},p=(0,h.default)(i({getUserConfirmation:o},e,{getCurrentLocation:a,pushLocation:s,replaceLocation:d,go:f.go})),v=0,y=void 0,b=function(e,n){1===++v&&(y=f.startListener(p.transitionTo,r,t));var o=n?p.listenBefore(e):p.listen(e);return function(){o(),0===--v&&y()}},_=function(e){return b(e,!0)},w=function(e){return b(e,!1)},C=((0,c.supportsGoWithoutReloadUsingHash)(),function(e){p.go(e)}),x=function(e){return"#"+r.encodePath(p.createHref(e))};return i({},p,{listenBefore:_,listen:w,go:C,createHref:x})};t.default=y},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(83),a=(r(i),n(17)),s=r(a),u=n(113),l=n(79),c=n(263),d=r(c),f=n(178),p=function(e){return e.filter(function(e){return e.state}).reduce(function(e,t){return e[t.key]=t.state,e},{})},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Array.isArray(e)?e={entries:e}:"string"==typeof e&&(e={entries:[e]});var t=function(){var e=m[v],t=(0,l.createPath)(e),n=void 0,r=void 0;e.key&&(n=e.key,r=b(n));var i=(0,l.parsePath)(t);return(0,u.createLocation)(o({},i,{state:r}),void 0,n)},n=function(e){var t=v+e;return t>=0&&t<m.length},r=function(e){if(e&&n(e)){v+=e;var r=t();c.transitionTo(o({},r,{action:f.POP}))}},i=function(e){v+=1,v<m.length&&m.splice(v),m.push(e),y(e.key,e.state)},a=function(e){m[v]=e,y(e.key,e.state)},c=(0,d.default)(o({},e,{getCurrentLocation:t,pushLocation:i,replaceLocation:a,go:r})),h=e,m=h.entries,v=h.current;"string"==typeof m?m=[m]:Array.isArray(m)||(m=["/"]),m=m.map(function(e){return(0,u.createLocation)(e)}),null==v?v=m.length-1:v>=0&&v<m.length?void 0:(0,s.default)(!1);var g=p(m),y=function(e,t){return g[e]=t},b=function(e){return g[e]};return o({},c,{canGo:n})};t.default=h},function(e,t,n){"use strict";e.exports=n(857)},function(e,t){(function(t){"use strict";var n=function(){function e(e,t){for(var n in t){var r=t[n];r.configurable=!0,r.value&&(r.writable=!0)}Object.defineProperties(e,t)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},o=!!(t===t.window&&t.URL&&t.Blob&&t.Worker),i=function(){function e(n,i){var a=this;if(r(this,e),o){var s=n.toString().trim().match(/^function\s*\w*\s*\([\w\s,]*\)\s*{([\w\W]*?)}$/)[1],u=t.URL.createObjectURL(new t.Blob([s],{type:"text/javascript"}));return new t.Worker(u)}this.self=i,this.self.postMessage=function(e){setTimeout(function(){a.onmessage({data:e})},0)},setTimeout(function(){n.call(i)},0)}return n(e,{postMessage:{value:function(e){var t=this;setTimeout(function(){t.self.onmessage({data:e})},0)}}}),e}();e.exports=i}).call(t,function(){return this}())},function(e,t){function n(e){return!!e&&"object"==typeof e}function r(e,t){var n=null==e?void 0:e[t];return a(n)?n:void 0}function o(e){return i(e)&&f.call(e)==s}function i(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function a(e){return null!=e&&(o(e)?p.test(c.call(e)):n(e)&&u.test(e))}var s="[object Function]",u=/^\[object .+?Constructor\]$/,l=Object.prototype,c=Function.prototype.toString,d=l.hasOwnProperty,f=l.toString,p=RegExp("^"+c.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=r},function(e,t){(function(t){function n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function r(e,t){for(var n=-1,r=e?e.length:0;++n<r&&t(e[n],n,e)!==!1;);return e}function o(e,t){var n=e?e.length:0;return!!n&&a(e,t,0)>-1}function i(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function a(e,t,n){if(t!==t)return i(e,s,n);for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}function s(e){return e!==e}function u(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&r++;return r}function l(e,t){return null==e?void 0:e[t]}function c(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function d(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n];a!==t&&a!==W||(e[n]=W,i[o++]=n)}return i}function f(e){return R(e)?Ne(e):{}}function p(e){if(!R(e)||O(e))return!1;var t=D(e)||c(e)?Ae:ve;return t.test(N(e))}function h(e,t,n,r){for(var o=-1,i=e.length,a=n.length,s=-1,u=t.length,l=Ie(i-a,0),c=Array(u+l),d=!r;++s<u;)c[s]=t[s];for(;++o<a;)(d||o<i)&&(c[n[o]]=e[o]);for(;l--;)c[s++]=e[o++];return c}function m(e,t,n,r){for(var o=-1,i=e.length,a=-1,s=n.length,u=-1,l=t.length,c=Ie(i-s,0),d=Array(c+l),f=!r;++o<c;)d[o]=e[o];for(var p=o;++u<l;)d[p+u]=t[u];for(;++a<s;)(f||o<i)&&(d[p+n[a]]=e[o++]);return d}function v(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}function g(e,t,n){function r(){var t=this&&this!==Ce&&this instanceof r?i:e;return t.apply(o?n:this,arguments)}var o=t&V,i=y(e);return r}function y(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=f(e.prototype),r=e.apply(n,t);return R(r)?r:n}}function b(e,t,r){function o(){for(var a=arguments.length,s=Array(a),u=a,l=E(o);u--;)s[u]=arguments[u];var c=a<3&&s[0]!==l&&s[a-1]!==l?[]:d(s,l);if(a-=c.length,a<r)return C(e,t,_,o.placeholder,void 0,s,c,void 0,void 0,r-a);var f=this&&this!==Ce&&this instanceof o?i:e;return n(f,this,s)}var i=y(e);return o}function _(e,t,n,r,o,i,a,s,l,c){function f(){for(var T=arguments.length,k=Array(T),S=T;S--;)k[S]=arguments[S];if(b)var M=E(f),O=u(k,M);if(r&&(k=h(k,r,o,b)),i&&(k=m(k,i,a,b)),T-=O,b&&T<c){var N=d(k,M);return C(e,t,_,f.placeholder,n,k,N,s,l,c-T)}var I=v?n:this,P=g?I[e]:e;return T=k.length,s?k=A(k,s):w&&T>1&&k.reverse(),p&&l<T&&(k.length=l),this&&this!==Ce&&this instanceof f&&(P=x||y(P)),P.apply(I,k)}var p=t&J,v=t&V,g=t&G,b=t&($|K),w=t&ee,x=g?void 0:y(e);return f}function w(e,t,r,o){function i(){for(var t=-1,u=arguments.length,l=-1,c=o.length,d=Array(c+u),f=this&&this!==Ce&&this instanceof i?s:e;++l<c;)d[l]=o[l];for(;u--;)d[l++]=arguments[++t];return n(f,a?r:this,d)}var a=t&V,s=y(e);return i}function C(e,t,n,r,o,i,a,s,u,l){var c=t&$,d=c?a:void 0,f=c?void 0:a,p=c?i:void 0,h=c?void 0:i;t|=c?X:Q,t&=~(c?Q:X),t&Y||(t&=~(V|G));var m=n(e,t,o,p,d,h,f,s,u,l);return m.placeholder=r,Re(m,e,t)}function x(e,t,n,r,o,i,a,s){var u=t&G;if(!u&&"function"!=typeof e)throw new TypeError(q);var l=r?r.length:0;if(l||(t&=~(X|Q),r=o=void 0),a=void 0===a?a:Ie(F(a),0),s=void 0===s?s:F(s),l-=o?o.length:0,t&Q){var c=r,d=o;r=o=void 0}var f=[e,t,n,r,o,c,d,i,a,s];if(e=f[0],t=f[1],n=f[2],r=f[3],o=f[4],s=f[9]=null==f[9]?u?0:e.length:Ie(f[9]-l,0),!s&&t&($|K)&&(t&=~($|K)),t&&t!=V)p=t==$||t==K?b(e,t,s):t!=X&&t!=(V|X)||o.length?_.apply(void 0,f):w(e,t,n,r);else var p=g(e,t,n);return Re(p,e,t)}function E(e){var t=e;return t.placeholder}function T(e,t){var n=l(e,t);return p(n)?n:void 0}function k(e){var t=e.match(fe);return t?t[1].split(pe):[]}function S(e,t){var n=t.length,r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(de,"{\n/* [wrapped with "+t+"] */\n")}function M(e,t){return t=null==t?ne:t,!!t&&("number"==typeof e||ye.test(e))&&e>-1&&e%1==0&&e<t}function O(e){return!!ke&&ke in e}function A(e,t){for(var n=e.length,r=Pe(t.length,n),o=v(e);r--;){var i=t[r];e[r]=M(i,n)?o[i]:void 0}return e}function N(e){if(null!=e){try{return Se.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function I(e,t){return r(ie,function(n){var r="_."+n[0];t&n[1]&&!o(e,r)&&e.push(r)}),e.sort()}function P(e,t,n){t=n?void 0:t;var r=x(e,$,void 0,void 0,void 0,void 0,void 0,t);return r.placeholder=P.placeholder,r}function D(e){var t=R(e)?Oe.call(e):"";return t==ae||t==se}function R(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function j(e){return!!e&&"object"==typeof e}function L(e){return"symbol"==typeof e||j(e)&&Oe.call(e)==ue}function B(e){if(!e)return 0===e?e:0;if(e=U(e),e===te||e===-te){var t=e<0?-1:1;return t*re}return e===e?e:0}function F(e){var t=B(e),n=t%1;return t===t?n?t-n:t:0}function U(e){if("number"==typeof e)return e;if(L(e))return oe;if(R(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=R(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(ce,"");var n=me.test(e);return n||ge.test(e)?be(e.slice(2),n?2:8):he.test(e)?oe:+e}function H(e){return function(){return e}}function z(e){return e}var q="Expected a function",W="__lodash_placeholder__",V=1,G=2,Y=4,$=8,K=16,X=32,Q=64,J=128,Z=256,ee=512,te=1/0,ne=9007199254740991,re=1.7976931348623157e308,oe=NaN,ie=[["ary",J],["bind",V],["bindKey",G],["curry",$],["curryRight",K],["flip",ee],["partial",X],["partialRight",Q],["rearg",Z]],ae="[object Function]",se="[object GeneratorFunction]",ue="[object Symbol]",le=/[\\^$.*+?()[\]{}|]/g,ce=/^\s+|\s+$/g,de=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,fe=/\{\n\/\* \[wrapped with (.+)\] \*/,pe=/,? & /,he=/^[-+]0x[0-9a-f]+$/i,me=/^0b[01]+$/i,ve=/^\[object .+?Constructor\]$/,ge=/^0o[0-7]+$/i,ye=/^(?:0|[1-9]\d*)$/,be=parseInt,_e="object"==typeof t&&t&&t.Object===Object&&t,we="object"==typeof self&&self&&self.Object===Object&&self,Ce=_e||we||Function("return this")(),xe=Function.prototype,Ee=Object.prototype,Te=Ce["__core-js_shared__"],ke=function(){var e=/[^.]+$/.exec(Te&&Te.keys&&Te.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Se=xe.toString,Me=Ee.hasOwnProperty,Oe=Ee.toString,Ae=RegExp("^"+Se.call(Me).replace(le,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ne=Object.create,Ie=Math.max,Pe=Math.min,De=function(){var e=T(Object,"defineProperty"),t=T.name;return t&&t.length>2?e:void 0}(),Re=De?function(e,t,n){var r=t+"";return De(e,"toString",{configurable:!0,enumerable:!1,value:H(S(r,I(k(r),n)))})}:z;P.placeholder={},e.exports=P}).call(t,function(){return this}())},function(e,t){(function(t){function n(e,t,n){function o(t){var n=m,r=v;return m=v=void 0,E=t,y=e.apply(r,n)}function i(e){return E=e,b=setTimeout(c,t),T?o(e):y}function u(e){var n=e-x,r=e-E,o=t-n;return k?w(o,g-r):o}function l(e){var n=e-x,r=e-E;return void 0===x||n>=t||n<0||k&&r>=g}function c(){var e=C();return l(e)?d(e):void(b=setTimeout(c,u(e)))}function d(e){return b=void 0,S&&m?o(e):(m=v=void 0,y)}function f(){void 0!==b&&clearTimeout(b),E=0,m=x=v=b=void 0}function p(){return void 0===b?y:d(C())}function h(){var e=C(),n=l(e);if(m=arguments,v=this,x=e,n){if(void 0===b)return i(x);if(k)return b=setTimeout(c,t),o(x)}return void 0===b&&(b=setTimeout(c,t)),y}var m,v,g,y,b,x,E=0,T=!1,k=!1,S=!0;if("function"!=typeof e)throw new TypeError(s);return t=a(t)||0,r(n)&&(T=!!n.leading,k="maxWait"in n,g=k?_(a(n.maxWait)||0,t):g,S="trailing"in n?!!n.trailing:S),h.cancel=f,h.flush=p,h}function r(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function o(e){return!!e&&"object"==typeof e}function i(e){return"symbol"==typeof e||o(e)&&b.call(e)==l}function a(e){if("number"==typeof e)return e;if(i(e))return u;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(c,"");var n=f.test(e);return n||p.test(e)?h(e.slice(2),n?2:8):d.test(e)?u:+e}var s="Expected a function",u=NaN,l="[object Symbol]",c=/^\s+|\s+$/g,d=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,p=/^0o[0-7]+$/i,h=parseInt,m="object"==typeof t&&t&&t.Object===Object&&t,v="object"==typeof self&&self&&self.Object===Object&&self,g=m||v||Function("return this")(),y=Object.prototype,b=y.toString,_=Math.max,w=Math.min,C=function(){return g.Date.now()};e.exports=n}).call(t,function(){return this}())},function(e,t){(function(t){function n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function r(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function o(e,t,n,i,a){var u=-1,l=e.length;for(n||(n=s),a||(a=[]);++u<l;){var c=e[u];t>0&&n(c)?t>1?o(c,t-1,n,i,a):r(a,c):i||(a[a.length]=c)}return a}function i(e,t){return t=O(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=O(r.length-t,0),a=Array(i);++o<i;)a[o]=r[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=r[o];return s[t]=a,n(e,this,s)}}function a(e){return i(function(t){t=o(t,1);var n=t.length,r=n;for(e&&t.reverse();r--;)if("function"!=typeof t[r])throw new TypeError(m);return function(){for(var e=0,r=n?t[e].apply(this,arguments):arguments[0];++e<n;)r=t[e].call(this,r);return r}})}function s(e){return A(e)||u(e)||!!(M&&e&&e[M])}function u(e){return c(e)&&E.call(e,"callee")&&(!S.call(e,"callee")||T.call(e)==g)}function l(e){return null!=e&&f(e.length)&&!d(e)}function c(e){return h(e)&&l(e)}function d(e){var t=p(e)?T.call(e):"";return t==y||t==b}function f(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=v}function p(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function h(e){return!!e&&"object"==typeof e}var m="Expected a function",v=9007199254740991,g="[object Arguments]",y="[object Function]",b="[object GeneratorFunction]",_="object"==typeof t&&t&&t.Object===Object&&t,w="object"==typeof self&&self&&self.Object===Object&&self,C=_||w||Function("return this")(),x=Object.prototype,E=x.hasOwnProperty,T=x.toString,k=C.Symbol,S=x.propertyIsEnumerable,M=k?k.isConcatSpreadable:void 0,O=Math.max,A=Array.isArray,N=a();e.exports=N}).call(t,function(){return this}())},function(e,t,n){var r=n(97),o=n(71),i=r(o,"DataView");e.exports=i},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var o=n(910),i=n(911),a=n(912),s=n(913),u=n(914);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=s,r.prototype.set=u,e.exports=r},function(e,t,n){var r=n(97),o=n(71),i=r(o,"Promise");e.exports=i},function(e,t,n){var r=n(71),o=r.Uint8Array;e.exports=o},function(e,t,n){var r=n(97),o=n(71),i=r(o,"WeakMap");e.exports=i},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}e.exports=n},function(e,t,n){function r(e,t,n){var r=e[t];s.call(e,t)&&i(r,n)&&(void 0!==n||t in e)||o(e,t,n)}var o=n(269),i=n(146),a=Object.prototype,s=a.hasOwnProperty;e.exports=r},function(e,t){function n(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}e.exports=n},function(e,t,n){var r=n(897),o=r();e.exports=o},function(e,t,n){function r(e,t){return e&&o(e,t,i)}var o=n(870),i=n(279);e.exports=r},function(e,t,n){function r(e,t,n){var r=t(e);return i(e)?r:o(r,n(e))}var o=n(399),i=n(37);e.exports=r},function(e,t){function n(e,t){return null!=e&&t in Object(e)}e.exports=n},function(e,t,n){function r(e,t,n){return t===t?a(e,t,n):o(e,i,n)}var o=n(869),i=n(879),a=n(945);e.exports=r},function(e,t,n){function r(e,t,n){for(var r=n?a:i,d=e[0].length,f=e.length,p=f,h=Array(f),m=1/0,v=[];p--;){var g=e[p];p&&t&&(g=s(g,u(t))),m=c(g.length,m),h[p]=!n&&(t||d>=120&&g.length>=120)?new o(p&&g):void 0}g=e[0];var y=-1,b=h[0];e:for(;++y<d&&v.length<m;){var _=g[y],w=t?t(_):_;if(_=n||0!==_?_:0,!(b?l(b,w):r(v,w,n))){for(p=f;--p;){var C=h[p];if(!(C?l(C,w):r(e[p],w,n)))continue e}b&&b.push(w),v.push(_)}}return v}var o=n(181),i=n(267),a=n(268),s=n(182),u=n(272),l=n(184),c=Math.min;e.exports=r},function(e,t,n){function r(e){return i(e)&&o(e)==a}var o=n(114),i=n(98),a="[object Arguments]";e.exports=r},function(e,t,n){function r(e,t,n,r,v,y){var b=l(e),_=l(t),w=b?h:u(e),C=_?h:u(t);w=w==p?m:w,C=C==p?m:C;var x=w==m,E=C==m,T=w==C;if(T&&c(e)){if(!c(t))return!1;b=!0,x=!1}if(T&&!x)return y||(y=new o),b||d(e)?i(e,t,n,r,v,y):a(e,t,w,n,r,v,y);if(!(n&f)){var k=x&&g.call(e,"__wrapped__"),S=E&&g.call(t,"__wrapped__");if(k||S){var M=k?e.value():e,O=S?t.value():t;return y||(y=new o),v(M,O,n,r,y)}}return!!T&&(y||(y=new o),s(e,t,n,r,v,y))}var o=n(395),i=n(405),a=n(900),s=n(901),u=n(907),l=n(37),c=n(412),d=n(414),f=1,p="[object Arguments]",h="[object Array]",m="[object Object]",v=Object.prototype,g=v.hasOwnProperty;e.exports=r},function(e,t,n){function r(e,t,n,r){var u=n.length,l=u,c=!r;if(null==e)return!l;for(e=Object(e);u--;){var d=n[u];if(c&&d[2]?d[1]!==e[d[0]]:!(d[0]in e))return!1}for(;++u<l;){d=n[u];var f=d[0],p=e[f],h=d[1];if(c&&d[2]){if(void 0===p&&!(f in e))return!1}else{var m=new o;if(r)var v=r(p,h,f,e,t,m);if(!(void 0===v?i(h,p,a|s,r,m):v))return!1}}return!0}var o=n(395),i=n(401),a=1,s=2;e.exports=r},function(e,t){function n(e){return e!==e}
-e.exports=n},function(e,t,n){function r(e){if(!a(e)||i(e))return!1;var t=o(e)?h:l;return t.test(s(e))}var o=n(413),i=n(918),a=n(115),s=n(411),u=/[\\^$.*+?()[\]{}|]/g,l=/^\[object .+?Constructor\]$/,c=Function.prototype,d=Object.prototype,f=c.toString,p=d.hasOwnProperty,h=RegExp("^"+f.call(p).replace(u,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=r},function(e,t,n){function r(e){return a(e)&&i(e.length)&&!!N[o(e)]}var o=n(114),i=n(277),a=n(98),s="[object Arguments]",u="[object Array]",l="[object Boolean]",c="[object Date]",d="[object Error]",f="[object Function]",p="[object Map]",h="[object Number]",m="[object Object]",v="[object RegExp]",g="[object Set]",y="[object String]",b="[object WeakMap]",_="[object ArrayBuffer]",w="[object DataView]",C="[object Float32Array]",x="[object Float64Array]",E="[object Int8Array]",T="[object Int16Array]",k="[object Int32Array]",S="[object Uint8Array]",M="[object Uint8ClampedArray]",O="[object Uint16Array]",A="[object Uint32Array]",N={};N[C]=N[x]=N[E]=N[T]=N[k]=N[S]=N[M]=N[O]=N[A]=!0,N[s]=N[u]=N[_]=N[l]=N[w]=N[c]=N[d]=N[f]=N[p]=N[h]=N[m]=N[v]=N[g]=N[y]=N[b]=!1,e.exports=r},function(e,t,n){function r(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?s(e)?i(e[0],e[1]):o(e):u(e)}var o=n(885),i=n(886),a=n(188),s=n(37),u=n(956);e.exports=r},function(e,t,n){function r(e){if(!o(e))return i(e);var t=[];for(var n in Object(e))s.call(e,n)&&"constructor"!=n&&t.push(n);return t}var o=n(407),i=n(931),a=Object.prototype,s=a.hasOwnProperty;e.exports=r},function(e,t,n){function r(e){if(!o(e))return a(e);var t=i(e),n=[];for(var r in e)("constructor"!=r||!t&&u.call(e,r))&&n.push(r);return n}var o=n(115),i=n(407),a=n(932),s=Object.prototype,u=s.hasOwnProperty;e.exports=r},function(e,t,n){function r(e){var t=i(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(n){return n===e||o(n,e,t)}}var o=n(878),i=n(903),a=n(409);e.exports=r},function(e,t,n){function r(e,t){return s(e)&&u(t)?l(c(e),t):function(n){var r=i(n,e);return void 0===r&&r===t?a(n,e):o(t,r,d|f)}}var o=n(401),i=n(951),a=n(952),s=n(274),u=n(408),l=n(409),c=n(187),d=1,f=2;e.exports=r},function(e,t){function n(e){return function(t){return null==t?void 0:t[e]}}e.exports=n},function(e,t,n){function r(e){return function(t){return o(t,e)}}var o=n(400);e.exports=r},function(e,t,n){var r=n(948),o=n(404),i=n(188),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},function(e,t){function n(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}e.exports=n},function(e,t,n){function r(e){if("string"==typeof e)return e;if(a(e))return i(e,r)+"";if(s(e))return c?c.call(e):"";var t=e+"";return"0"==t&&1/e==-u?"-0":t}var o=n(145),i=n(182),a=n(37),s=n(278),u=1/0,l=o?o.prototype:void 0,c=l?l.toString:void 0;e.exports=r},function(e,t,n){function r(e,t,n){var r=e.length;if(r<2)return r?a(e[0]):[];for(var s=-1,u=Array(r);++s<r;)for(var l=e[s],c=-1;++c<r;)c!=s&&(u[s]=o(u[s]||l,e[c],t,n));return a(i(u,1),t,n)}var o=n(270),i=n(271),a=n(402);e.exports=r},function(e,t,n){function r(e){return o(e)?e:[]}var o=n(147);e.exports=r},function(e,t,n){function r(e,t,n,r){var a=!n;n||(n={});for(var s=-1,u=t.length;++s<u;){var l=t[s],c=r?r(n[l],e[l],l,n,e):void 0;void 0===c&&(c=e[l]),a?i(n,l,c):o(n,l,c)}return n}var o=n(868),i=n(269);e.exports=r},function(e,t,n){var r=n(71),o=r["__core-js_shared__"];e.exports=o},function(e,t,n){function r(e){return o(function(t,n){var r=-1,o=n.length,a=o>1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(n[0],n[1],s)&&(a=o<3?void 0:a,o=1),t=Object(t);++r<o;){var u=n[r];u&&e(t,u,r,a)}return t})}var o=n(96),i=n(916);e.exports=r},function(e,t){function n(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),s=a.length;s--;){var u=a[e?s:++o];if(n(i[u],u,i)===!1)break}return t}}e.exports=n},function(e,t,n){var r=n(394),o=n(416),i=n(275),a=1/0,s=r&&1/i(new r([,-0]))[1]==a?function(e){return new r(e)}:o;e.exports=s},function(e,t,n){function r(e,t,n,r){return void 0===e||o(e,i[n])&&!a.call(r,n)?t:e}var o=n(146),i=Object.prototype,a=i.hasOwnProperty;e.exports=r},function(e,t,n){function r(e,t,n,r,o,x,T){switch(n){case C:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case w:return!(e.byteLength!=t.byteLength||!x(new i(e),new i(t)));case f:case p:case v:return a(+e,+t);case h:return e.name==t.name&&e.message==t.message;case g:case b:return e==t+"";case m:var k=u;case y:var S=r&c;if(k||(k=l),e.size!=t.size&&!S)return!1;var M=T.get(e);if(M)return M==t;r|=d,T.set(e,t);var O=s(k(e),k(t),r,o,x,T);return T.delete(e),O;case _:if(E)return E.call(e)==E.call(t)}return!1}var o=n(145),i=n(865),a=n(146),s=n(405),u=n(929),l=n(275),c=1,d=2,f="[object Boolean]",p="[object Date]",h="[object Error]",m="[object Map]",v="[object Number]",g="[object RegExp]",y="[object Set]",b="[object String]",_="[object Symbol]",w="[object ArrayBuffer]",C="[object DataView]",x=o?o.prototype:void 0,E=x?x.valueOf:void 0;e.exports=r},function(e,t,n){function r(e,t,n,r,a,u){var l=n&i,c=o(e),d=c.length,f=o(t),p=f.length;if(d!=p&&!l)return!1;for(var h=d;h--;){var m=c[h];if(!(l?m in t:s.call(t,m)))return!1}var v=u.get(e);if(v&&u.get(t))return v==t;var g=!0;u.set(e,t),u.set(t,e);for(var y=l;++h<d;){m=c[h];var b=e[m],_=t[m];if(r)var w=l?r(_,b,m,t,e,u):r(b,_,m,e,t,u);if(!(void 0===w?b===_||a(b,_,n,r,u):w)){g=!1;break}y||(y="constructor"==m)}if(g&&!y){var C=e.constructor,x=t.constructor;C!=x&&"constructor"in e&&"constructor"in t&&!("function"==typeof C&&C instanceof C&&"function"==typeof x&&x instanceof x)&&(g=!1)}return u.delete(e),u.delete(t),g}var o=n(902),i=1,a=Object.prototype,s=a.hasOwnProperty;e.exports=r},function(e,t,n){function r(e){return o(e,a,i)}var o=n(872),i=n(906),a=n(279);e.exports=r},function(e,t,n){function r(e){for(var t=i(e),n=t.length;n--;){var r=t[n],a=e[r];t[n]=[r,a,o(a)]}return t}var o=n(408),i=n(279);e.exports=r},function(e,t,n){var r=n(410),o=r(Object.getPrototypeOf,Object);e.exports=o},function(e,t,n){function r(e){var t=a.call(e,u),n=e[u];try{e[u]=void 0;var r=!0}catch(e){}var o=s.call(e);return r&&(t?e[u]=n:delete e[u]),o}var o=n(145),i=Object.prototype,a=i.hasOwnProperty,s=i.toString,u=o?o.toStringTag:void 0;e.exports=r},function(e,t,n){var r=n(397),o=n(957),i=Object.prototype,a=i.propertyIsEnumerable,s=Object.getOwnPropertySymbols,u=s?function(e){return null==e?[]:(e=Object(e),r(s(e),function(t){return a.call(e,t)}))}:o;e.exports=u},function(e,t,n){var r=n(862),o=n(265),i=n(864),a=n(394),s=n(866),u=n(114),l=n(411),c="[object Map]",d="[object Object]",f="[object Promise]",p="[object Set]",h="[object WeakMap]",m="[object DataView]",v=l(r),g=l(o),y=l(i),b=l(a),_=l(s),w=u;(r&&w(new r(new ArrayBuffer(1)))!=m||o&&w(new o)!=c||i&&w(i.resolve())!=f||a&&w(new a)!=p||s&&w(new s)!=h)&&(w=function(e){var t=u(e),n=t==d?e.constructor:void 0,r=n?l(n):"";if(r)switch(r){case v:return m;case g:return c;case y:return f;case b:return p;case _:return h}return t}),e.exports=w},function(e,t){function n(e,t){return null==e?void 0:e[t]}e.exports=n},function(e,t,n){function r(e,t,n){t=o(t,e);for(var r=-1,c=t.length,d=!1;++r<c;){var f=l(t[r]);if(!(d=null!=e&&n(e,f)))break;e=e[f]}return d||++r!=c?d:(c=null==e?0:e.length,!!c&&u(c)&&s(f,c)&&(a(e)||i(e)))}var o=n(403),i=n(276),a=n(37),s=n(273),u=n(277),l=n(187);e.exports=r},function(e,t,n){function r(){this.__data__=o?o(null):{},this.size=0}var o=n(186);e.exports=r},function(e,t){function n(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}e.exports=n},function(e,t,n){function r(e){var t=this.__data__;if(o){var n=t[e];return n===i?void 0:n}return s.call(t,e)?t[e]:void 0}var o=n(186),i="__lodash_hash_undefined__",a=Object.prototype,s=a.hasOwnProperty;e.exports=r},function(e,t,n){function r(e){var t=this.__data__;return o?void 0!==t[e]:a.call(t,e)}var o=n(186),i=Object.prototype,a=i.hasOwnProperty;e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=o&&void 0===t?i:t,this}var o=n(186),i="__lodash_hash_undefined__";e.exports=r},function(e,t,n){function r(e){return a(e)||i(e)||!!(s&&e&&e[s])}var o=n(145),i=n(276),a=n(37),s=o?o.isConcatSpreadable:void 0;e.exports=r},function(e,t,n){function r(e,t,n){if(!s(n))return!1;var r=typeof t;return!!("number"==r?i(n)&&a(t,n.length):"string"==r&&t in n)&&o(n[t],e)}var o=n(146),i=n(189),a=n(273),s=n(115);e.exports=r},function(e,t){function n(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=n},function(e,t,n){function r(e){return!!i&&i in e}var o=n(895),i=function(){var e=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=r},function(e,t){function n(){this.__data__=[],this.size=0}e.exports=n},function(e,t,n){function r(e){var t=this.__data__,n=o(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():a.call(t,n,1),--this.size,!0}var o=n(183),i=Array.prototype,a=i.splice;e.exports=r},function(e,t,n){function r(e){var t=this.__data__,n=o(t,e);return n<0?void 0:t[n][1]}var o=n(183);e.exports=r},function(e,t,n){function r(e){return o(this.__data__,e)>-1}var o=n(183);e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var o=n(183);e.exports=r},function(e,t,n){function r(){this.size=0,this.__data__={hash:new o,map:new(a||i),string:new o}}var o=n(863),i=n(180),a=n(265);e.exports=r},function(e,t,n){function r(e){var t=o(this,e).delete(e);return this.size-=t?1:0,t}var o=n(185);e.exports=r},function(e,t,n){function r(e){return o(this,e).get(e)}var o=n(185);e.exports=r},function(e,t,n){function r(e){return o(this,e).has(e)}var o=n(185);e.exports=r},function(e,t,n){function r(e,t){var n=o(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var o=n(185);e.exports=r},function(e,t){function n(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}e.exports=n},function(e,t,n){function r(e){var t=o(e,function(e){return n.size===i&&n.clear(),e}),n=t.cache;return t}var o=n(415),i=500;e.exports=r},function(e,t,n){var r=n(410),o=r(Object.keys,Object);e.exports=o},function(e,t){function n(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}e.exports=n},function(e,t,n){(function(e){var r=n(406),o="object"==typeof t&&t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o,s=a&&r.process,u=function(){try{return s&&s.binding&&s.binding("util")}catch(e){}}();e.exports=u}).call(t,n(203)(e))},function(e,t){function n(e){return o.call(e)}var r=Object.prototype,o=r.toString;e.exports=n},function(e,t,n){function r(e,t,n){return t=i(void 0===t?e.length-1:t,0),function(){for(var r=arguments,a=-1,s=i(r.length-t,0),u=Array(s);++a<s;)u[a]=r[t+a];a=-1;for(var l=Array(t+1);++a<t;)l[a]=r[a];return l[t]=n(u),o(e,this,l)}}var o=n(396),i=Math.max;e.exports=r},function(e,t){function n(e){return this.__data__.set(e,r),this}var r="__lodash_hash_undefined__";e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t,n){var r=n(889),o=n(939),i=o(r);e.exports=i},function(e,t){function n(e){var t=0,n=0;return function(){var a=i(),s=o-(a-n);if(n=a,s>0){if(++t>=r)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var r=800,o=16,i=Date.now;e.exports=n},function(e,t,n){function r(){this.__data__=new o,this.size=0}var o=n(180);e.exports=r},function(e,t){function n(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}e.exports=n},function(e,t){function n(e){return this.__data__.get(e)}e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t,n){function r(e,t){var n=this.__data__;if(n instanceof o){var r=n.__data__;if(!i||r.length<s-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new a(r)}return n.set(e,t),this.size=n.size,this}var o=n(180),i=n(265),a=n(266),s=200;e.exports=r},function(e,t){function n(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}e.exports=n},function(e,t,n){var r=n(930),o=/^\./,i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,s=r(function(e){var t=[];return o.test(e)&&t.push(""),e.replace(i,function(e,n,r,o){t.push(r?o.replace(a,"$1"):n||e)}),t});e.exports=s},function(e,t,n){var r=n(894),o=n(896),i=n(954),a=o(function(e,t,n,o){r(t,i(t),e,o)});e.exports=a},function(e,t){function n(e){return function(){return e}}e.exports=n},function(e,t,n){var r=n(396),o=n(947),i=n(96),a=n(899),s=i(function(e){return e.push(void 0,a),r(o,void 0,e)});e.exports=s},function(e,t,n){var r=n(270),o=n(271),i=n(96),a=n(147),s=i(function(e,t){return a(e)?r(e,o(t,1,a,!0)):[]});e.exports=s},function(e,t,n){function r(e,t,n){var r=null==e?void 0:o(e,t);return void 0===r?n:r}var o=n(400);e.exports=r},function(e,t,n){function r(e,t){return null!=e&&i(e,t,o)}var o=n(873),i=n(909);e.exports=r},function(e,t,n){var r=n(182),o=n(875),i=n(96),a=n(893),s=i(function(e){var t=r(e,a);return t.length&&t[0]===e[0]?o(t):[]});e.exports=s},function(e,t,n){function r(e){return a(e)?o(e,!0):i(e)}var o=n(398),i=n(884),a=n(189);e.exports=r},function(e,t,n){function r(e,t){var n={};return t=a(t,3),i(e,function(e,r,i){o(n,r,t(e,r,i))}),n}var o=n(269),i=n(871),a=n(882);e.exports=r},function(e,t,n){function r(e){return a(e)?o(s(e)):i(e)}var o=n(887),i=n(888),a=n(274),s=n(187);e.exports=r},function(e,t){function n(){return[]}e.exports=n},function(e,t){function n(){return!1}e.exports=n},function(e,t,n){function r(e){return null==e?"":o(e)}var o=n(891);e.exports=r},function(e,t,n){var r=n(397),o=n(96),i=n(892),a=n(147),s=o(function(e){return i(r(e,a))});e.exports=s},function(e,t,n){var r=n(1149),o=n(849),i=function(e){return"[object Array]"===Object.prototype.toString.call(e)};e.exports=function(e){if(!e)return{};var t={};return o(r(e).split("\n"),function(e){var n=e.indexOf(":"),o=r(e.slice(0,n)).toLowerCase(),a=r(e.slice(n+1));"undefined"==typeof t[o]?t[o]=a:i(t[o])?t[o].push(a):t[o]=[t[o],a]}),t}},function(e,t){e.exports={nomod:{escape:"",space:" "},ctrl:{" ":"\0",a:"",b:"",c:"",d:"",e:"",f:"",g:"",h:"\b",i:"\t",j:"\n",k:"\v",m:"\f",n:"\r",l:"",o:"",p:"",q:"",r:"",s:"",t:"",u:"",v:"",w:"",x:"",y:"",z:"","[":"","\\":"","]":"","^":"",_:"",space:"\0"}}},function(e,t,n){"use strict";function r(e){if(!/^(ctrl-|shift-|alt-|meta-){0,4}\w+$/.test(e))throw new Error('The string to parse needs to be of the format "c", "ctrl-c", "shift-ctrl-c".')}var o=n(962);e.exports=function(e){var t=e.trim().toLowerCase();r(t);var n,i={name:void 0,ctrl:!1,meta:!1,shift:!1,alt:!1,sequence:void 0},a=t.split("-");for(i.name=a.pop();n=a.pop();)i[n]=!0;return i.sequence=i.ctrl?o.ctrl[i.name]||i.name:o.nomod[i.name]||i.name,i.shift&&i.sequence&&1===i.sequence.length&&(i.sequence=i.sequence.toUpperCase()),i}},function(e,t){function n(e){var t,n,r,o,i,a=e[0]/360,s=e[1]/100,u=e[2]/100;if(0==s)return i=255*u,[i,i,i];n=u<.5?u*(1+s):u+s-u*s,t=2*u-n,o=[0,0,0];for(var l=0;l<3;l++)r=a+1/3*-(l-1),r<0&&r++,r>1&&r--,i=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,o[l]=255*i;return o}e.exports=n},function(e,t,n){function r(e){var t=Math.round(i(e,0,255)),n=t.toString(16);return 1==n.length?"0"+n:n}function o(e){return"#"+r(e[0])+r(e[1])+r(e[2])}var i=n(280);e.exports=o},function(e,t){function n(e){return 4===e.length&&(e="#"+e.charAt(1)+e.charAt(1)+e.charAt(2)+e.charAt(2)+e.charAt(3)+e.charAt(3)),[parseInt(e.substring(1,3),16),parseInt(e.substring(3,5),16),parseInt(e.substring(5,7),16)]}e.exports=n},function(e,t,n){function r(e,t){switch(e=parseFloat(e),t){case 0:return a(e,0,360);case 1:case 2:return a(e,0,100);case 3:return a(e,0,1)}}function o(e){return i(e).map(r)}var i=n(419),a=n(280);e.exports=o},function(e,t,n){function r(e){var t=i(e),n=u(t);return 4===t.length&&n.push(t[3]),n}function o(e){for(var t in l)if(0===e.indexOf(t))return l[t](e)}var i=n(967),a=n(966),s=n(969),u=n(964),l={"#":a,hsl:r,rgb:s};o.rgb=s,o.hsl=i,o.hex=a,e.exports=o},function(e,t,n){function r(e,t){return t<3?e.indexOf("%")!=-1?Math.round(255*a(parseInt(e,10),0,100)/100):a(parseInt(e,10),0,255):a(parseFloat(e),0,1)}function o(e){return i(e).map(r)}var i=n(419),a=n(280);e.exports=o},function(e,t,n){"use strict";function r(e){switch(e.arrayFormat){case"index":return function(t,n,r){return null===n?[i(t,e),"[",r,"]"].join(""):[i(t,e),"[",i(r,e),"]=",i(n,e)].join("")};case"bracket":return function(t,n){return null===n?i(t,e):[i(t,e),"[]=",i(n,e)].join("")};default:return function(t,n){return null===n?i(t,e):[i(t,e),"=",i(n,e)].join("")}}}function o(e){var t;switch(e.arrayFormat){case"index":return function(e,n,r){return t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),void(r[e][t[1]]=n)):void(r[e]=n)};case"bracket":return function(e,n,r){return t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t&&void 0!==r[e]?void(r[e]=[].concat(r[e],n)):void(r[e]=n)};default:return function(e,t,n){return void 0===n[e]?void(n[e]=t):void(n[e]=[].concat(n[e],t))}}}function i(e,t){return t.encode?t.strict?s(e):encodeURIComponent(e):e}function a(e){return Array.isArray(e)?e.sort():"object"==typeof e?a(Object.keys(e)).sort(function(e,t){return Number(e)-Number(t)}).map(function(t){return e[t]}):e}var s=n(1141),u=n(21);t.extract=function(e){return e.split("?")[1]||""},t.parse=function(e,t){t=u({arrayFormat:"none"},t);var n=o(t),r=Object.create(null);return"string"!=typeof e?r:(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach(function(e){var t=e.replace(/\+/g," ").split("="),o=t.shift(),i=t.length>0?t.join("="):void 0;i=void 0===i?null:decodeURIComponent(i),n(decodeURIComponent(o),i,r)}),Object.keys(r).sort().reduce(function(e,t){var n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=a(n):e[t]=n,e},Object.create(null))):r},t.stringify=function(e,t){var n={encode:!0,strict:!0,arrayFormat:"none"};t=u(n,t);var o=r(t);return e?Object.keys(e).sort().map(function(n){var r=e[n];if(void 0===r)return"";if(null===r)return i(n,t);if(Array.isArray(r)){var a=[];return r.slice().forEach(function(e){void 0!==e&&a.push(o(n,e,a.length))}),a.join("&")}return i(n,t)+"="+i(r,t)}).filter(function(e){return e.length>0}).join("&"):""}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(1),s=r(a),u=n(420),l=r(u);t.default=s.default.createClass({displayName:"Circle",mixins:[l.default],render:function(){var e=this,t=this.props,n=t.prefixCls,r=t.strokeWidth,a=t.trailWidth,u=t.strokeColor,l=t.trailColor,c=t.strokeLinecap,d=t.percent,f=t.style,p=t.className,h=o(t,["prefixCls","strokeWidth","trailWidth","strokeColor","trailColor","strokeLinecap","percent","style","className"]),m=50-r/2,v="M 50,50 m 0,-"+m+"\n     a "+m+","+m+" 0 1 1 0,"+2*m+"\n     a "+m+","+m+" 0 1 1 0,-"+2*m,g=2*Math.PI*m,y={strokeDasharray:g+"px "+g+"px",strokeDashoffset:(100-d)/100*g+"px",transition:"stroke-dashoffset 0.3s ease 0s, stroke 0.3s ease"};return s.default.createElement("svg",i({className:n+"-circle "+p,viewBox:"0 0 100 100",style:f},h),s.default.createElement("path",{className:n+"-circle-trail",d:v,stroke:l,strokeWidth:a||r,fillOpacity:"0"}),s.default.createElement("path",{className:n+"-circle-path",d:v,strokeLinecap:c,stroke:u,strokeWidth:r,fillOpacity:"0",ref:function(t){e.path=t},style:y}))}}),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(1),s=r(a),u=n(420),l=r(u);t.default=s.default.createClass({displayName:"Line",mixins:[l.default],render:function(){var e=this,t=this.props,n=t.prefixCls,r=t.strokeWidth,a=t.trailWidth,u=t.strokeColor,l=t.trailColor,c=t.strokeLinecap,d=t.percent,f=t.style,p=t.className,h=o(t,["prefixCls","strokeWidth","trailWidth","strokeColor","trailColor","strokeLinecap","percent","style","className"]),m={strokeDasharray:"100px, 100px",strokeDashoffset:100-d+"px",transition:"stroke-dashoffset 0.3s ease 0s, stroke 0.3s linear"},v=r/2,g=100-r/2,y="M "+v+","+v+" L "+g+","+v,b="0 0 100 "+r;return s.default.createElement("svg",i({className:n+"-line "+p,viewBox:b,preserveAspectRatio:"none",style:f},h),s.default.createElement("path",{className:n+"-line-trail",d:y,strokeLinecap:c,stroke:l,strokeWidth:a||r,fillOpacity:"0"}),s.default.createElement("path",{className:n+"-line-path",d:y,strokeLinecap:c,stroke:u,strokeWidth:r,fillOpacity:"0",ref:function(t){e.path=t},style:m}))}}),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(972),i=r(o),a=n(971),s=r(a);t.default={Line:i.default,Circle:s.default},e.exports=t.default},function(e,t){"use strict";function n(e){var t,n,r,o=e[0],i=e[1],a=e[2];return t=1*o+0*i+1.13983*a,n=1*o+i*-.39465+a*-.5806,r=1*o+2.02311*i+0*a,t=Math.min(Math.max(0,t),1),n=Math.min(Math.max(0,n),1),r=Math.min(Math.max(0,r),1),[255*t,255*n,255*r]}function r(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255,o=.299*t+.587*n+.114*r,i=t*-.14713+n*-.28886+.436*r,a=.615*t+n*-.51499+r*-.10001;return[o,i,a]}Object.defineProperty(t,"__esModule",{value:!0}),t.yuv2rgb=n,t.rgb2yuv=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(417),s=r(a),u=n(418),l=r(u),c=function(){function e(){o(this,e),this.entered=[]}return i(e,[{key:"enter",value:function(e){var t=this.entered.length,n=function(t){return document.documentElement.contains(t)&&(!t.contains||t.contains(e))};return this.entered=(0,s.default)(this.entered.filter(n),[e]),0===t&&this.entered.length>0}},{key:"leave",value:function(e){var t=this.entered.length;return this.entered=(0,l.default)(this.entered.filter(function(e){return document.documentElement.contains(e)}),e),t>0&&0===this.entered.length}},{key:"reset",value:function(){this.entered=[]}}]),e}();t.default=c},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(949),u=o(s),l=n(981),c=o(l),d=n(975),f=o(d),p=n(422),h=n(979),m=n(978),v=n(281),g=r(v),y=function(){function e(t){i(this,e),this.actions=t.getActions(),this.monitor=t.getMonitor(),this.registry=t.getRegistry(),this.context=t.getContext(),this.sourcePreviewNodes={},this.sourcePreviewNodeOptions={},this.sourceNodes={},this.sourceNodeOptions={},this.enterLeaveCounter=new f.default,this.dragStartSourceIds=[],this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.currentDragSourceNodeOffset=null,this.currentDragSourceNodeOffsetChanged=!1,this.altKeyPressed=!1,this.getSourceClientOffset=this.getSourceClientOffset.bind(this),this.handleTopDragStart=this.handleTopDragStart.bind(this),this.handleTopDragStartCapture=this.handleTopDragStartCapture.bind(this),this.handleTopDragEndCapture=this.handleTopDragEndCapture.bind(this),this.handleTopDragEnter=this.handleTopDragEnter.bind(this),this.handleTopDragEnterCapture=this.handleTopDragEnterCapture.bind(this),this.handleTopDragLeaveCapture=this.handleTopDragLeaveCapture.bind(this),this.handleTopDragOver=this.handleTopDragOver.bind(this),this.handleTopDragOverCapture=this.handleTopDragOverCapture.bind(this),this.handleTopDrop=this.handleTopDrop.bind(this),this.handleTopDropCapture=this.handleTopDropCapture.bind(this),this.handleSelectStart=this.handleSelectStart.bind(this),this.endDragIfSourceWasRemovedFromDOM=this.endDragIfSourceWasRemovedFromDOM.bind(this),this.endDragNativeItem=this.endDragNativeItem.bind(this)}return a(e,[{key:"setup",value:function(){if(void 0!==this.window){if(this.window.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");this.window.__isReactDndBackendSetUp=!0,this.addEventListeners(this.window)}}},{key:"teardown",value:function(){void 0!==this.window&&(this.window.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.window),this.clearCurrentDragSourceNode())}},{key:"addEventListeners",value:function(e){e.addEventListener("dragstart",this.handleTopDragStart),e.addEventListener("dragstart",this.handleTopDragStartCapture,!0),e.addEventListener("dragend",this.handleTopDragEndCapture,!0),e.addEventListener("dragenter",this.handleTopDragEnter),e.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.addEventListener("dragover",this.handleTopDragOver),e.addEventListener("dragover",this.handleTopDragOverCapture,!0),e.addEventListener("drop",this.handleTopDrop),e.addEventListener("drop",this.handleTopDropCapture,!0)}},{key:"removeEventListeners",value:function(e){e.removeEventListener("dragstart",this.handleTopDragStart),e.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),e.removeEventListener("dragend",this.handleTopDragEndCapture,!0),e.removeEventListener("dragenter",this.handleTopDragEnter),e.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.removeEventListener("dragover",this.handleTopDragOver),e.removeEventListener("dragover",this.handleTopDragOverCapture,!0),e.removeEventListener("drop",this.handleTopDrop),e.removeEventListener("drop",this.handleTopDropCapture,!0)}},{key:"connectDragPreview",value:function(e,t,n){var r=this;return this.sourcePreviewNodeOptions[e]=n,this.sourcePreviewNodes[e]=t,function(){delete r.sourcePreviewNodes[e],delete r.sourcePreviewNodeOptions[e]}}},{key:"connectDragSource",value:function(e,t,n){var r=this;this.sourceNodes[e]=t,this.sourceNodeOptions[e]=n;var o=function(t){return r.handleDragStart(t,e)},i=function(t){return r.handleSelectStart(t,e)};return t.setAttribute("draggable",!0),t.addEventListener("dragstart",o),t.addEventListener("selectstart",i),function(){delete r.sourceNodes[e],delete r.sourceNodeOptions[e],t.removeEventListener("dragstart",o),t.removeEventListener("selectstart",i),t.setAttribute("draggable",!1)}}},{key:"connectDropTarget",value:function(e,t){var n=this,r=function(t){return n.handleDragEnter(t,e)},o=function(t){return n.handleDragOver(t,e)},i=function(t){return n.handleDrop(t,e)};return t.addEventListener("dragenter",r),t.addEventListener("dragover",o),t.addEventListener("drop",i),function(){t.removeEventListener("dragenter",r),t.removeEventListener("dragover",o),t.removeEventListener("drop",i)}}},{key:"getCurrentSourceNodeOptions",value:function(){var e=this.monitor.getSourceId(),t=this.sourceNodeOptions[e];return(0,u.default)(t||{},{dropEffect:this.altKeyPressed?"copy":"move"})}},{key:"getCurrentDropEffect",value:function(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}},{key:"getCurrentSourcePreviewNodeOptions",value:function(){var e=this.monitor.getSourceId(),t=this.sourcePreviewNodeOptions[e];return(0,u.default)(t||{},{anchorX:.5,anchorY:.5,captureDraggingState:!1})}},{key:"getSourceClientOffset",value:function(e){return(0,h.getNodeClientOffset)(this.sourceNodes[e])}},{key:"isDraggingNativeItem",value:function(){var e=this.monitor.getItemType();return Object.keys(g).some(function(t){return g[t]===e})}},{key:"beginDragNativeItem",value:function(e){this.clearCurrentDragSourceNode();var t=(0,m.createNativeDragSource)(e);this.currentNativeSource=new t,this.currentNativeHandle=this.registry.addSource(e,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle]),(0,p.isFirefox)()&&this.window.addEventListener("mousemove",this.endDragNativeItem,!0)}},{key:"endDragNativeItem",value:function(){this.isDraggingNativeItem()&&((0,p.isFirefox)()&&this.window.removeEventListener("mousemove",this.endDragNativeItem,!0),this.actions.endDrag(),this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)}},{key:"endDragIfSourceWasRemovedFromDOM",value:function(){var e=this.currentDragSourceNode;document.body.contains(e)||this.clearCurrentDragSourceNode()&&this.actions.endDrag()}},{key:"setCurrentDragSourceNode",value:function(e){this.clearCurrentDragSourceNode(),this.currentDragSourceNode=e,this.currentDragSourceNodeOffset=(0,h.getNodeClientOffset)(e),this.currentDragSourceNodeOffsetChanged=!1,this.window.addEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)}},{key:"clearCurrentDragSourceNode",value:function(){return!!this.currentDragSourceNode&&(this.currentDragSourceNode=null,this.currentDragSourceNodeOffset=null,this.currentDragSourceNodeOffsetChanged=!1,this.window.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0),!0)}},{key:"checkIfCurrentDragSourceRectChanged",value:function(){var e=this.currentDragSourceNode;return!!e&&(!!this.currentDragSourceNodeOffsetChanged||(this.currentDragSourceNodeOffsetChanged=!(0,c.default)((0,h.getNodeClientOffset)(e),this.currentDragSourceNodeOffset),this.currentDragSourceNodeOffsetChanged))}},{key:"handleTopDragStartCapture",value:function(){this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]}},{key:"handleDragStart",value:function(e,t){this.dragStartSourceIds.unshift(t)}},{key:"handleTopDragStart",value:function(e){var t=this,n=this.dragStartSourceIds;this.dragStartSourceIds=null;var r=(0,h.getEventClientOffset)(e);this.actions.beginDrag(n,{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:r});var o=e.dataTransfer,i=(0,m.matchNativeItemType)(o);if(this.monitor.isDragging()){if("function"==typeof o.setDragImage){var a=this.monitor.getSourceId(),s=this.sourceNodes[a],u=this.sourcePreviewNodes[a]||s,l=this.getCurrentSourcePreviewNodeOptions(),c=l.anchorX,d=l.anchorY,f={anchorX:c,anchorY:d},p=(0,h.getDragPreviewOffset)(s,u,r,f);o.setDragImage(u,p.x,p.y)}try{o.setData("application/json",{})}catch(e){}this.setCurrentDragSourceNode(e.target);var v=this.getCurrentSourcePreviewNodeOptions(),g=v.captureDraggingState;g?this.actions.publishDragSource():setTimeout(function(){return t.actions.publishDragSource()})}else if(i)this.beginDragNativeItem(i);else{if(!(o.types||e.target.hasAttribute&&e.target.hasAttribute("draggable")))return;e.preventDefault()}}},{key:"handleTopDragEndCapture",value:function(){this.clearCurrentDragSourceNode()&&this.actions.endDrag()}},{key:"handleTopDragEnterCapture",value:function(e){this.dragEnterTargetIds=[];var t=this.enterLeaveCounter.enter(e.target);if(t&&!this.monitor.isDragging()){var n=e.dataTransfer,r=(0,m.matchNativeItemType)(n);r&&this.beginDragNativeItem(r);
-}}},{key:"handleDragEnter",value:function(e,t){this.dragEnterTargetIds.unshift(t)}},{key:"handleTopDragEnter",value:function(e){var t=this,n=this.dragEnterTargetIds;if(this.dragEnterTargetIds=[],this.monitor.isDragging()){this.altKeyPressed=e.altKey,(0,p.isFirefox)()||this.actions.hover(n,{clientOffset:(0,h.getEventClientOffset)(e)});var r=n.some(function(e){return t.monitor.canDropOnTarget(e)});r&&(e.preventDefault(),e.dataTransfer.dropEffect=this.getCurrentDropEffect())}}},{key:"handleTopDragOverCapture",value:function(){this.dragOverTargetIds=[]}},{key:"handleDragOver",value:function(e,t){this.dragOverTargetIds.unshift(t)}},{key:"handleTopDragOver",value:function(e){var t=this,n=this.dragOverTargetIds;if(this.dragOverTargetIds=[],!this.monitor.isDragging())return e.preventDefault(),void(e.dataTransfer.dropEffect="none");this.altKeyPressed=e.altKey,this.actions.hover(n,{clientOffset:(0,h.getEventClientOffset)(e)});var r=n.some(function(e){return t.monitor.canDropOnTarget(e)});r?(e.preventDefault(),e.dataTransfer.dropEffect=this.getCurrentDropEffect()):this.isDraggingNativeItem()?(e.preventDefault(),e.dataTransfer.dropEffect="none"):this.checkIfCurrentDragSourceRectChanged()&&(e.preventDefault(),e.dataTransfer.dropEffect="move")}},{key:"handleTopDragLeaveCapture",value:function(e){this.isDraggingNativeItem()&&e.preventDefault();var t=this.enterLeaveCounter.leave(e.target);t&&this.isDraggingNativeItem()&&this.endDragNativeItem()}},{key:"handleTopDropCapture",value:function(e){this.dropTargetIds=[],e.preventDefault(),this.isDraggingNativeItem()&&this.currentNativeSource.mutateItemByReadingDataTransfer(e.dataTransfer),this.enterLeaveCounter.reset()}},{key:"handleDrop",value:function(e,t){this.dropTargetIds.unshift(t)}},{key:"handleTopDrop",value:function(e){var t=this.dropTargetIds;this.dropTargetIds=[],this.actions.hover(t,{clientOffset:(0,h.getEventClientOffset)(e)}),this.actions.drop({dropEffect:this.getCurrentDropEffect()}),this.isDraggingNativeItem()?this.endDragNativeItem():this.endDragIfSourceWasRemovedFromDOM()}},{key:"handleSelectStart",value:function(e){var t=e.target;"function"==typeof t.dragDrop&&("INPUT"===t.tagName||"SELECT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable||(e.preventDefault(),t.dragDrop()))}},{key:"window",get:function(){return this.context&&this.context.window?this.context.window:"undefined"!=typeof window?window:void 0}}]),e}();t.default=y},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(t,r){n(this,e);for(var o=t.length,i=[],a=0;a<o;a++)i.push(a);i.sort(function(e,n){return t[e]<t[n]?-1:1});for(var s=[],u=[],l=[],c=void 0,d=void 0,f=0;f<o-1;f++)c=t[f+1]-t[f],d=r[f+1]-r[f],u.push(c),s.push(d),l.push(d/c);for(var p=[l[0]],h=0;h<u.length-1;h++){var m=l[h],v=l[h+1];if(m*v<=0)p.push(0);else{c=u[h];var g=u[h+1],y=c+g;p.push(3*y/((y+g)/m+(y+c)/v))}}p.push(l[l.length-1]);for(var b=[],_=[],w=void 0,C=0;C<p.length-1;C++){w=l[C];var x=p[C],E=1/u[C],T=x+p[C+1]-w-w;b.push((w-x-T)*E),_.push(T*E*E)}this.xs=t,this.ys=r,this.c1s=p,this.c2s=b,this.c3s=_}return r(e,[{key:"interpolate",value:function(e){var t=this.xs,n=this.ys,r=this.c1s,o=this.c2s,i=this.c3s,a=t.length-1;if(e===t[a])return n[a];for(var s=0,u=i.length-1,l=void 0;s<=u;){l=Math.floor(.5*(s+u));var c=t[l];if(c<e)s=l+1;else{if(!(c>e))return n[l];u=l-1}}a=Math.max(0,u);var d=e-t[a],f=d*d;return n[a]+r[a]*d+o[a]*f+i[a]*d*f}}]),e}();t.default=o},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e,t){for(var n in t){var r=t[n];r.configurable=r.enumerable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,n,r)}return e}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t,n){var r=t.reduce(function(t,n){return t||e.getData(n)},null);return null!=r?r:n}function u(e){var t=h[e],n=t.exposeProperty,r=t.matchesTypes,a=t.getData;return function(){function e(){var t,r;i(this,e),this.item=(t={},r={},r[n]=r[n]||{},r[n].get=function(){return console.warn("Browser doesn't allow reading \""+n+'" until the drop event.'),null},o(t,r),t)}return d(e,[{key:"mutateItemByReadingDataTransfer",value:function(e){delete this.item[n],this.item[n]=a(e,r)}},{key:"canDrag",value:function(){return!0}},{key:"beginDrag",value:function(){return this.item}},{key:"isDragging",value:function(e,t){return t===e.getSourceId()}},{key:"endDrag",value:function(){}}]),e}()}function l(e){var t=Array.prototype.slice.call(e.types||[]);return Object.keys(h).filter(function(e){var n=h[e].matchesTypes;return n.some(function(e){return t.indexOf(e)>-1})})[0]||null}Object.defineProperty(t,"__esModule",{value:!0});var c,d=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.createNativeDragSource=u,t.matchNativeItemType=l;var f=n(281),p=r(f),h=(c={},a(c,p.FILE,{exposeProperty:"files",matchesTypes:["Files"],getData:function(e){return Array.prototype.slice.call(e.files)}}),a(c,p.URL,{exposeProperty:"urls",matchesTypes:["Url","text/uri-list"],getData:function(e,t){return s(e,t,"").split("\n")}}),a(c,p.TEXT,{exposeProperty:"text",matchesTypes:["Text","text/plain"],getData:function(e,t){return s(e,t,"")}}),c)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.nodeType===c?e:e.parentElement;if(!t)return null;var n=t.getBoundingClientRect(),r=n.top,o=n.left;return{x:o,y:r}}function i(e){return{x:e.clientX,y:e.clientY}}function a(e,t,n,r){var i="IMG"===t.nodeName&&((0,s.isFirefox)()||!document.documentElement.contains(t)),a=i?e:t,u=o(a),c={x:n.x-u.x,y:n.y-u.y},d=e.offsetWidth,f=e.offsetHeight,p=r.anchorX,h=r.anchorY,m=i?t.width:d,v=i?t.height:f;(0,s.isSafari)()&&i?(v/=window.devicePixelRatio,m/=window.devicePixelRatio):(0,s.isFirefox)()&&!i&&(v*=window.devicePixelRatio,m*=window.devicePixelRatio);var g=new l.default([0,.5,1],[c.x,c.x/d*m,c.x+m-d]),y=new l.default([0,.5,1],[c.y,c.y/f*v,c.y+v-f]),b=g.interpolate(p),_=y.interpolate(h);return(0,s.isSafari)()&&i&&(_+=(window.devicePixelRatio-1)*v),{x:b,y:_}}Object.defineProperty(t,"__esModule",{value:!0}),t.getNodeClientOffset=o,t.getEventClientOffset=i,t.getDragPreviewOffset=a;var s=n(422),u=n(977),l=r(u),c=1},function(e,t){"use strict";function n(){return r||(r=new Image,r.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),r}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;var r=void 0},282,function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,s,u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(1),c=n(423),d=(s=a=function(e){function t(e,n){r(this,t);var i=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return i.backend=(0,c.unpackBackendForEs5Users)(e.backend),i}return i(t,e),u(t,[{key:"getChildContext",value:function(){var e=this,t=function(){return e.props&&e.props.window?e.props.window:e.context&&e.context.window?e.context.window:"undefined"!=typeof window?window:void 0};return(0,c.createChildContext)(this.backend,{window:t()})}},{key:"render",value:function(){return l.Children.only(this.props.children)}}]),t}(l.Component),a.propTypes={backend:l.PropTypes.oneOfType([l.PropTypes.func,l.PropTypes.object]).isRequired,children:l.PropTypes.element.isRequired,window:l.PropTypes.object},a.defaultProps={window:void 0},a.childContextTypes=c.CHILD_CONTEXT_TYPES,a.displayName="DragDropContextProvider",a.contextTypes={window:l.PropTypes.object},s);t.default=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return E.default.apply(void 0,["DragLayer","collect[, options]"].concat(Array.prototype.slice.call(arguments))),(0,y.default)("function"==typeof e,'Expected "collect" provided as the first argument to DragLayer to be a function that collects props to inject into the component. ',"Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-layer.html",e),(0,y.default)((0,v.default)(t),'Expected "options" provided as the second argument to DragLayer to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-layer.html',t),function(n){var r,s,p=t.arePropsEqual,m=void 0===p?C.default:p,v=n.displayName||n.name||"Component",g=(s=r=function(t){function r(e,t){o(this,r);var n=i(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e));return n.handleChange=n.handleChange.bind(n),n.manager=t.dragDropManager,(0,y.default)("object"===l(n.manager),"Could not find the drag and drop manager in the context of %s. Make sure to wrap the top-level component of your app with DragDropContext. Read more: http://react-dnd.github.io/react-dnd/docs-troubleshooting.html#could-not-find-the-drag-and-drop-manager-in-the-context",v,v),n.state=n.getCurrentState(),n}return a(r,t),c(r,[{key:"getDecoratedComponentInstance",value:function(){return(0,y.default)(this.child,"In order to access an instance of the decorated component it can not be a stateless component."),this.child}},{key:"shouldComponentUpdate",value:function(e,t){return!m(e,this.props)||!(0,_.default)(t,this.state)}}]),c(r,[{key:"componentDidMount",value:function(){this.isCurrentlyMounted=!0;var e=this.manager.getMonitor();this.unsubscribeFromOffsetChange=e.subscribeToOffsetChange(this.handleChange),this.unsubscribeFromStateChange=e.subscribeToStateChange(this.handleChange),this.handleChange()}},{key:"componentWillUnmount",value:function(){this.isCurrentlyMounted=!1,this.unsubscribeFromOffsetChange(),this.unsubscribeFromStateChange()}},{key:"handleChange",value:function(){if(this.isCurrentlyMounted){var e=this.getCurrentState();(0,_.default)(e,this.state)||this.setState(e)}}},{key:"getCurrentState",value:function(){var t=this.manager.getMonitor();return e(t)}},{key:"render",value:function(){var e=this;return f.default.createElement(n,u({},this.props,this.state,{ref:function(t){return e.child=t}}))}}]),r}(d.Component),r.DecoratedComponent=n,r.displayName="DragLayer("+v+")",r.contextTypes={dragDropManager:d.PropTypes.object.isRequired},s);return(0,h.default)(g,n)}}Object.defineProperty(t,"__esModule",{value:!0});var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=s;var d=n(1),f=r(d),p=n(144),h=r(p),m=n(61),v=r(m),g=n(17),y=r(g),b=n(282),_=r(b),w=n(427),C=r(w),x=n(191),E=r(x)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};c.default.apply(void 0,["DragSource","type, spec, collect[, options]"].concat(Array.prototype.slice.call(arguments)));var o=e;"function"!=typeof e&&((0,a.default)((0,C.default)(e),'Expected "type" provided as the first argument to DragSource to be a string, or a function that returns a string given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',e),o=function(){return e}),(0,a.default)((0,u.default)(t),'Expected "spec" provided as the second argument to DragSource to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',t);var i=(0,v.default)(t);return(0,a.default)("function"==typeof n,'Expected "collect" provided as the third argument to DragSource to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',n),(0,a.default)((0,u.default)(r),'Expected "options" provided as the fourth argument to DragSource to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',n),function(e){return(0,f.default)({connectBackend:function(e,t){return e.connectDragSource(t)},containerDisplayName:"DragSource",createHandler:i,registerHandler:h.default,createMonitor:y.default,createConnector:_.default,DecoratedComponent:e,getType:o,collect:n,options:r})}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(17),a=r(i),s=n(61),u=r(s),l=n(191),c=r(l),d=n(425),f=r(d),p=n(992),h=r(p),m=n(987),v=r(m),g=n(988),y=r(g),b=n(986),_=r(b),w=n(426),C=r(w)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};c.default.apply(void 0,["DropTarget","type, spec, collect[, options]"].concat(Array.prototype.slice.call(arguments)));var o=e;"function"!=typeof e&&((0,a.default)((0,C.default)(e,!0),'Expected "type" provided as the first argument to DropTarget to be a string, an array of strings, or a function that returns either given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',e),o=function(){return e}),(0,a.default)((0,u.default)(t),'Expected "spec" provided as the second argument to DropTarget to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',t);var i=(0,v.default)(t);return(0,a.default)("function"==typeof n,'Expected "collect" provided as the third argument to DropTarget to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',n),(0,a.default)((0,u.default)(r),'Expected "options" provided as the fourth argument to DropTarget to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',n),function(e){return(0,f.default)({connectBackend:function(e,t){return e.connectDropTarget(t)},containerDisplayName:"DropTarget",createHandler:i,registerHandler:h.default,createMonitor:y.default,createConnector:_.default,DecoratedComponent:e,getType:o,collect:n,options:r})}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(17),a=r(i),s=n(61),u=r(s),l=n(191),c=r(l),d=n(425),f=r(d),p=n(993),h=r(p),m=n(990),v=r(m),g=n(991),y=r(g),b=n(989),_=r(b),w=n(426),C=r(w)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){function t(){l&&(l(),l=null),o&&i&&(l=e.connectDragSource(o,i,s))}function n(){f&&(f(),f=null),o&&c&&(f=e.connectDragPreview(o,c,d))}function r(e){e!==o&&(o=e,t(),n())}var o=void 0,i=void 0,s=void 0,l=void 0,c=void 0,d=void 0,f=void 0,p=(0,a.default)({dragSource:function(e,n){e===i&&(0,u.default)(n,s)||(i=e,s=n,t())},dragPreview:function(e,t){e===c&&(0,u.default)(t,d)||(c=e,d=t,n())}});return{receiveHandlerId:r,hooks:p}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(428),a=r(i),s=n(424),u=r(s)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e){Object.keys(e).forEach(function(t){(0,u.default)(c.indexOf(t)>-1,'Expected the drag source specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',c.join(", "),t),(0,u.default)("function"==typeof e[t],"Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html",t,t,e[t])}),d.forEach(function(t){(0,u.default)("function"==typeof e[t],"Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html",t,t,e[t])});var t=function(){function t(e){o(this,t),this.monitor=e,this.props=null,this.component=null}return a(t,[{key:"receiveProps",value:function(e){this.props=e}},{key:"receiveComponent",value:function(e){this.component=e}},{key:"canDrag",value:function(){return!e.canDrag||e.canDrag(this.props,this.monitor)}},{key:"isDragging",value:function(t,n){return e.isDragging?e.isDragging(this.props,this.monitor):n===t.getSourceId()}},{key:"beginDrag",value:function(){var t=e.beginDrag(this.props,this.monitor,this.component);return t}},{key:"endDrag",value:function(){e.endDrag&&e.endDrag(this.props,this.monitor,this.component)}}]),t}();return function(e){return new t(e)}}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=i;var s=n(17),u=r(s),l=n(61),c=(r(l),["canDrag","beginDrag","isDragging","endDrag"]),d=["beginDrag"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e){return new d(e)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=i;var s=n(17),u=r(s),l=!1,c=!1,d=function(){function e(t){o(this,e),this.internalMonitor=t.getMonitor()}return a(e,[{key:"receiveHandlerId",value:function(e){this.sourceId=e}},{key:"canDrag",value:function(){(0,u.default)(!l,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source-monitor.html");try{return l=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{l=!1}}},{key:"isDragging",value:function(){(0,u.default)(!c,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source-monitor.html");try{return c=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{c=!1}}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}]),e}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){function t(){s&&(s(),s=null),r&&o&&(s=e.connectDropTarget(r,o,i))}function n(e){e!==r&&(r=e,t())}var r=void 0,o=void 0,i=void 0,s=void 0,l=(0,a.default)({dropTarget:function(e,n){e===o&&(0,u.default)(n,i)||(o=e,i=n,t())}});return{receiveHandlerId:n,hooks:l}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(428),a=r(i),s=n(424),u=r(s)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e){Object.keys(e).forEach(function(t){(0,u.default)(c.indexOf(t)>-1,'Expected the drop target specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',c.join(", "),t),(0,u.default)("function"==typeof e[t],"Expected %s in the drop target specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html",t,t,e[t])});var t=function(){function t(e){o(this,t),this.monitor=e,this.props=null,this.component=null}return a(t,[{key:"receiveProps",value:function(e){this.props=e}},{key:"receiveMonitor",value:function(e){this.monitor=e}},{key:"receiveComponent",value:function(e){this.component=e}},{key:"canDrop",value:function(){return!e.canDrop||e.canDrop(this.props,this.monitor)}},{key:"hover",value:function(){e.hover&&e.hover(this.props,this.monitor,this.component)}},{key:"drop",value:function(){if(e.drop){var t=e.drop(this.props,this.monitor,this.component);return t}}}]),t}();return function(e){return new t(e)}}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=i;var s=n(17),u=r(s),l=n(61),c=(r(l),["canDrop","hover","drop"])},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e){return new c(e)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=i;var s=n(17),u=r(s),l=!1,c=function(){function e(t){o(this,e),this.internalMonitor=t.getMonitor()}return a(e,[{key:"receiveHandlerId",value:function(e){this.targetId=e}},{key:"canDrop",value:function(){(0,u.default)(!l,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target-monitor.html");try{return l=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{l=!1}}},{key:"isOver",value:function(e){return this.internalMonitor.isOverTarget(this.targetId,e)}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}]),e}()},function(e,t){"use strict";function n(e,t,n){function r(){o.removeSource(i)}var o=n.getRegistry(),i=o.addSource(e,t);return{handlerId:i,unregister:r}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n},function(e,t){"use strict";function n(e,t,n){function r(){o.removeTarget(i)}var o=n.getRegistry(),i=o.addTarget(e,t);return{handlerId:i,unregister:r}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=e.ref;return(0,a.default)("string"!=typeof n,"Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://facebook.github.io/react/docs/more-about-refs.html#the-ref-callback-attribute"),n?(0,s.cloneElement)(e,{ref:function(e){t(e),n&&n(e)}}):(0,s.cloneElement)(e,{ref:t})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(17),a=r(i),s=n(1)},function(e,t,n){"use strict";function r(e){return m(e).reduce(function(t,n){return t[n]=(0,E.default)(e[n]),t},{})}function o(e){return["left","top","width","height"].map(function(t){return t+" "+e/1e3+"s ease-out"})}function i(e,t){function n(e){return r?100-100*c+"%":e-c+"px"}var r=e.fluid,i=e.dockStyle,a=e.dockHiddenStyle,s=e.duration,u=e.position,l=e.isVisible,c=t.size,d=t.isResizing,f=t.fullWidth,p=t.fullHeight,m=void 0,v=r?100*c+"%":c+"px";switch(u){case"left":m={width:v,left:l?0:"-"+v};break;case"right":m={left:l?n(f):f,width:v};break;case"top":m={top:l?0:"-"+v,height:v};break;case"bottom":m={top:l?n(p):p,height:v}}var g=o(s);return[T.dock,(0,E.default)({transition:[].concat(h(g),[!l&&"opacity 0.01s linear "+s/1e3+"s"]).filter(function(e){return e}).join(",")}),i,(0,E.default)(m),d&&T.dockResizing,!l&&T.dockHidden,!l&&a]}function a(e,t){var n=e.dimMode,r=e.dimStyle,o=e.duration,i=e.isVisible,a=t.isTransitionStarted;return[T.dim,(0,E.default)({transition:"opacity "+o/1e3+"s ease-out"}),r,"transparent"===n&&T.dimTransparent,!i&&T.dimHidden,a&&i&&T.dimAppear,a&&!i&&T.dimDisappear]}function s(e){var t=void 0,n=10;switch(e){case"left":t={right:-n/2,width:n,top:0,height:"100%",cursor:"col-resize"};break;case"right":t={left:-n/2,width:n,top:0,height:"100%",cursor:"col-resize"};break;case"top":t={bottom:-n/2,height:n,left:0,width:"100%",cursor:"row-resize"};break;case"bottom":t={top:-n/2,height:n,left:0,width:"100%",cursor:"row-resize"}}return[T.resizer,(0,E.default)(t)]}function u(e,t,n){return"left"===e||"right"===e?t:n}var l=n(546).default,c=n(6).default,d=n(545).default,f=n(544).default,p=n(10).default,h=n(549).default,m=n(105).default,v=n(339).default;Object.defineProperty(t,"__esModule",{value:!0});var g=n(1),y=v(g),b=n(998),_=v(b),w=n(21),C=v(w),x=n(996),E=v(x),T=r({wrapper:{position:"fixed",width:0,height:0,top:0,left:0},dim:{position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:0,background:"rgba(0, 0, 0, 0.2)",opacity:1},dimAppear:{opacity:0},dimTransparent:{pointerEvents:"none"},dimHidden:{opacity:0},dock:{position:"fixed",zIndex:1,boxShadow:"0 0 4px rgba(0, 0, 0, 0.3)",background:"white",left:0,top:0,width:"100%",height:"100%"},dockHidden:{opacity:0},dockResizing:{transition:"none"},dockContent:{width:"100%",height:"100%",overflow:"auto"},resizer:{position:"absolute",zIndex:2,opacity:0}}),k=function(e){function t(e){var n=this;f(this,t),l(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,e),this.transitionEnd=function(){n.setState({isTransitionStarted:!1})},this.hideDim=function(){n.props.isVisible||n.setState({isDimHidden:!0})},this.handleDimClick=function(){"opaque"===n.props.dimMode&&n.props.onVisibleChange&&n.props.onVisibleChange(!1)},this.handleResize=function(){window.requestAnimationFrame?window.requestAnimationFrame(n.updateWindowSize.bind(n,!0)):n.updateWindowSize(!0)},this.updateWindowSize=function(e){var t={fullWidth:window.innerWidth,fullHeight:window.innerHeight};e?(n.setState(p({},t,{isResizing:!0,isWindowResizing:e})),n.debouncedUpdateWindowSizeEnd()):n.setState(t)},this.updateWindowSizeEnd=function(){n.setState({isResizing:!1,isWindowResizing:!1})},this.debouncedUpdateWindowSizeEnd=(0,_.default)(this.updateWindowSizeEnd,30),this.handleWrapperLeave=function(){n.setState({isResizing:!1})},this.handleMouseDown=function(){n.setState({isResizing:!0})},this.handleMouseUp=function(){n.setState({isResizing:!1})},this.handleMouseMove=function(e){if(n.state.isResizing&&!n.state.isWindowResizing){e.preventDefault();var t=n.props,r=t.position,o=t.fluid,i=n.state,a=i.fullWidth,s=i.fullHeight,u=i.isControlled,l=e.clientX,c=e.clientY,d=void 0;switch(r){case"left":d=o?l/a:l;break;case"right":d=o?(a-l)/a:a-l;break;case"top":d=o?c/s:c;break;case"bottom":d=o?(s-c)/s:s-c}n.props.onSizeChange&&n.props.onSizeChange(d),u||n.setState({size:d})}},this.state={isControlled:"undefined"!=typeof e.size,size:e.size||e.defaultSize,isDimHidden:!e.isVisible,fullWidth:"undefined"!=typeof window&&window.innerWidth,fullHeight:"undefined"!=typeof window&&window.innerHeight,isTransitionStarted:!1,isWindowResizing:!1}}return c(t,e),d(t,[{key:"componentDidMount",value:function(){window.addEventListener("mouseup",this.handleMouseUp),window.addEventListener("mousemove",this.handleMouseMove),window.addEventListener("resize",this.handleResize),window.fullWidth||this.updateWindowSize()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("mouseup",this.handleMouseUp),window.removeEventListener("mousemove",this.handleMouseMove),window.removeEventListener("resize",this.handleResize)}},{key:"componentWillReceiveProps",value:function(e){var t="undefined"!=typeof e.size;this.setState({isControlled:t}),t&&this.props.size!==e.size?this.setState({size:e.size}):this.props.fluid!==e.fluid&&this.updateSize(e),this.props.isVisible!==e.isVisible&&this.setState({isTransitionStarted:!0})}},{key:"updateSize",value:function(e){var t=this.state,n=t.fullWidth,r=t.fullHeight;this.setState({size:e.fluid?this.state.size/u(e.position,n,r):u(e.position,n,r)*this.state.size})}},{key:"componentDidUpdate",value:function(e){var t=this;this.props.isVisible!==e.isVisible&&(this.props.isVisible?this.setState({isDimHidden:!1}):window.setTimeout(function(){return t.hideDim()},this.props.duration),window.setTimeout(function(){return t.setState({isTransitionStarted:!1})},0))}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.zIndex,r=e.dimMode,o=e.position,u=e.isVisible,l=this.state,c=l.isResizing,d=l.size,f=l.isDimHidden,p=C.default.apply(void 0,[{}].concat(h(a(this.props,this.state)))),m=C.default.apply(void 0,[{}].concat(h(i(this.props,this.state)))),v=C.default.apply(void 0,[{}].concat(h(s(o))));
-return y.default.createElement("div",{style:(0,C.default)({},T.wrapper,{zIndex:n})},"none"!==r&&!f&&y.default.createElement("div",{style:p,onClick:this.handleDimClick}),y.default.createElement("div",{style:m},y.default.createElement("div",{style:v,onMouseDown:this.handleMouseDown}),y.default.createElement("div",{style:T.dockContent},"function"==typeof t?t({position:o,isResizing:c,size:d,isVisible:u}):t)))}}],[{key:"propTypes",value:{position:g.PropTypes.oneOf(["left","right","top","bottom"]),zIndex:g.PropTypes.number,fluid:g.PropTypes.bool,size:g.PropTypes.number,defaultSize:g.PropTypes.number,dimMode:g.PropTypes.oneOf(["none","transparent","opaque"]),isVisible:g.PropTypes.bool,onVisibleChange:g.PropTypes.func,onSizeChange:g.PropTypes.func,dimStyle:g.PropTypes.object,dockStyle:g.PropTypes.object,duration:g.PropTypes.number},enumerable:!0},{key:"defaultProps",value:{position:"left",zIndex:99999999,fluid:!0,defaultSize:.3,dimMode:"opaque",duration:200},enumerable:!0}]),t}(g.Component);t.default=k,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){return u.reduce(function(n,r){return n[r+e[0].toUpperCase()+e.substr(1)]=t,n},{})}function o(e){return a(e).reduce(function(t,n){return s.indexOf(n)!==-1?i({},t,r(n,e[n])):t},e)}var i=n(10).default,a=n(105).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var s=["animation","animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction","appearance","backfaceVisibility","backgroundClip","borderImage","borderImageSlice","boxSizing","boxShadow","contentColumns","transform","transformOrigin","transformStyle","transition","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction","perspective","perspectiveOrigin","userSelect"],u=["Moz","Webkit","ms","O"];e.exports=t.default},function(e,t,n){"use strict";var r=n(339).default;Object.defineProperty(t,"__esModule",{value:!0});var o=n(995),i=r(o);t.default=i.default,e.exports=t.default},function(e,t,n){function r(e,t,n){function r(){g&&clearTimeout(g),p&&clearTimeout(p),b=0,p=g=y=void 0}function i(t,n){n&&clearTimeout(n),p=g=y=void 0,t&&(b=l(),h=e.apply(v,f),g||p||(f=v=void 0))}function u(){var e=t-(l()-m);e<=0||e>t?i(y,p):g=setTimeout(u,e)}function c(){i(w,g)}function d(){if(f=arguments,m=l(),v=this,y=w&&(g||!C),_===!1)var n=C&&!g;else{p||C||(b=m);var r=_-(m-b),o=r<=0||r>_;o?(p&&(p=clearTimeout(p)),b=m,h=e.apply(v,f)):p||(p=setTimeout(c,r))}return o&&g?g=clearTimeout(g):g||t===_||(g=setTimeout(u,t)),n&&(o=!0,h=e.apply(v,f)),!o||g||p||(f=v=void 0),h}var f,p,h,m,v,g,y,b=0,_=!1,w=!0;if("function"!=typeof e)throw new TypeError(a);if(t=t<0?0:+t||0,n===!0){var C=!0;w=!1}else o(n)&&(C=!!n.leading,_="maxWait"in n&&s(+n.maxWait||0,t),w="trailing"in n?!!n.trailing:w);return d.cancel=r,d}function o(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}var i=n(858),a="Expected a function",s=Math.max,u=i(Date,"now"),l=u||function(){return(new Date).getTime()};e.exports=r},function(e,t){"use strict";var n={Properties:{"aria-current":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},DOMAttributeNames:{},DOMPropertyNames:{}};e.exports=n},function(e,t,n){"use strict";var r=n(27),o=n(387),i={focusDOMComponent:function(){o(r.getNodeFromInstance(this))}};e.exports=i},function(e,t,n){"use strict";function r(){var e=window.opera;return"object"==typeof e&&"function"==typeof e.version&&parseInt(e.version(),10)<=12}function o(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function i(e){switch(e){case"topCompositionStart":return k.compositionStart;case"topCompositionEnd":return k.compositionEnd;case"topCompositionUpdate":return k.compositionUpdate}}function a(e,t){return"topKeyDown"===e&&t.keyCode===b}function s(e,t){switch(e){case"topKeyUp":return y.indexOf(t.keyCode)!==-1;case"topKeyDown":return t.keyCode!==b;case"topKeyPress":case"topMouseDown":case"topBlur":return!0;default:return!1}}function u(e){var t=e.detail;return"object"==typeof t&&"data"in t?t.data:null}function l(e,t,n,r){var o,l;if(_?o=i(e):M?s(e,n)&&(o=k.compositionEnd):a(e,n)&&(o=k.compositionStart),!o)return null;x&&(M||o!==k.compositionStart?o===k.compositionEnd&&M&&(l=M.getData()):M=m.getPooled(r));var c=v.getPooled(o,t,n,r);if(l)c.data=l;else{var d=u(n);null!==d&&(c.data=d)}return p.accumulateTwoPhaseDispatches(c),c}function c(e,t){switch(e){case"topCompositionEnd":return u(t);case"topKeyPress":var n=t.which;return n!==E?null:(S=!0,T);case"topTextInput":var r=t.data;return r===T&&S?null:r;default:return null}}function d(e,t){if(M){if("topCompositionEnd"===e||!_&&s(e,t)){var n=M.getData();return m.release(M),M=null,n}return null}switch(e){case"topPaste":return null;case"topKeyPress":return t.which&&!o(t)?String.fromCharCode(t.which):null;case"topCompositionEnd":return x?null:t.data;default:return null}}function f(e,t,n,r){var o;if(o=C?c(e,n):d(e,n),!o)return null;var i=g.getPooled(k.beforeInput,t,n,r);return i.data=o,p.accumulateTwoPhaseDispatches(i),i}var p=n(119),h=n(36),m=n(1008),v=n(1045),g=n(1048),y=[9,13,27,32],b=229,_=h.canUseDOM&&"CompositionEvent"in window,w=null;h.canUseDOM&&"documentMode"in document&&(w=document.documentMode);var C=h.canUseDOM&&"TextEvent"in window&&!w&&!r(),x=h.canUseDOM&&(!_||w&&w>8&&w<=11),E=32,T=String.fromCharCode(E),k={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["topCompositionEnd","topKeyPress","topTextInput","topPaste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:["topBlur","topCompositionEnd","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:["topBlur","topCompositionStart","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:["topBlur","topCompositionUpdate","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]}},S=!1,M=null,O={eventTypes:k,extractEvents:function(e,t,n,r){return[l(e,t,n,r),f(e,t,n,r)]}};e.exports=O},function(e,t,n){"use strict";var r=n(429),o=n(36),i=(n(53),n(837),n(1054)),a=n(844),s=n(848),u=(n(14),s(function(e){return a(e)})),l=!1,c="cssFloat";if(o.canUseDOM){var d=document.createElement("div").style;try{d.font=""}catch(e){l=!0}void 0===document.documentElement.style.cssFloat&&(c="styleFloat")}var f={createMarkupForStyles:function(e,t){var n="";for(var r in e)if(e.hasOwnProperty(r)){var o=e[r];null!=o&&(n+=u(r)+":",n+=i(r,o,t)+";")}return n||null},setValueForStyles:function(e,t,n){var o=e.style;for(var a in t)if(t.hasOwnProperty(a)){var s=i(a,t[a],n);if("float"!==a&&"cssFloat"!==a||(a=c),s)o[a]=s;else{var u=l&&r.shorthandPropertyExpansions[a];if(u)for(var d in u)o[d]="";else o[a]=""}}}};e.exports=f},function(e,t,n){"use strict";function r(e){var t=e.nodeName&&e.nodeName.toLowerCase();return"select"===t||"input"===t&&"file"===e.type}function o(e){var t=x.getPooled(S.change,O,e,E(e));b.accumulateTwoPhaseDispatches(t),C.batchedUpdates(i,t)}function i(e){y.enqueueEvents(e),y.processEventQueue(!1)}function a(e,t){M=e,O=t,M.attachEvent("onchange",o)}function s(){M&&(M.detachEvent("onchange",o),M=null,O=null)}function u(e,t){if("topChange"===e)return t}function l(e,t,n){"topFocus"===e?(s(),a(t,n)):"topBlur"===e&&s()}function c(e,t){M=e,O=t,A=e.value,N=Object.getOwnPropertyDescriptor(e.constructor.prototype,"value"),Object.defineProperty(M,"value",D),M.attachEvent?M.attachEvent("onpropertychange",f):M.addEventListener("propertychange",f,!1)}function d(){M&&(delete M.value,M.detachEvent?M.detachEvent("onpropertychange",f):M.removeEventListener("propertychange",f,!1),M=null,O=null,A=null,N=null)}function f(e){if("value"===e.propertyName){var t=e.srcElement.value;t!==A&&(A=t,o(e))}}function p(e,t){if("topInput"===e)return t}function h(e,t,n){"topFocus"===e?(d(),c(t,n)):"topBlur"===e&&d()}function m(e,t){if(("topSelectionChange"===e||"topKeyUp"===e||"topKeyDown"===e)&&M&&M.value!==A)return A=M.value,O}function v(e){return e.nodeName&&"input"===e.nodeName.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)}function g(e,t){if("topClick"===e)return t}var y=n(118),b=n(119),_=n(36),w=n(27),C=n(62),x=n(72),E=n(295),T=n(296),k=n(445),S={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:["topBlur","topChange","topClick","topFocus","topInput","topKeyDown","topKeyUp","topSelectionChange"]}},M=null,O=null,A=null,N=null,I=!1;_.canUseDOM&&(I=T("change")&&(!document.documentMode||document.documentMode>8));var P=!1;_.canUseDOM&&(P=T("input")&&(!document.documentMode||document.documentMode>11));var D={get:function(){return N.get.call(this)},set:function(e){A=""+e,N.set.call(this,e)}},R={eventTypes:S,extractEvents:function(e,t,n,o){var i,a,s=t?w.getNodeFromInstance(t):window;if(r(s)?I?i=u:a=l:k(s)?P?i=p:(i=m,a=h):v(s)&&(i=g),i){var c=i(e,t);if(c){var d=x.getPooled(S.change,c,n,o);return d.type="change",b.accumulateTwoPhaseDispatches(d),d}}a&&a(e,s,t)}};e.exports=R},function(e,t,n){"use strict";var r=n(16),o=n(116),i=n(36),a=n(840),s=n(52),u=(n(11),{dangerouslyReplaceNodeWithMarkup:function(e,t){if(i.canUseDOM?void 0:r("56"),t?void 0:r("57"),"HTML"===e.nodeName?r("58"):void 0,"string"==typeof t){var n=a(t,s)[0];e.parentNode.replaceChild(n,e)}else o.replaceChildWithTree(e,t)}});e.exports=u},function(e,t){"use strict";var n=["ResponderEventPlugin","SimpleEventPlugin","TapEventPlugin","EnterLeaveEventPlugin","ChangeEventPlugin","SelectEventPlugin","BeforeInputEventPlugin"];e.exports=n},function(e,t,n){"use strict";var r=n(119),o=n(27),i=n(194),a={mouseEnter:{registrationName:"onMouseEnter",dependencies:["topMouseOut","topMouseOver"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["topMouseOut","topMouseOver"]}},s={eventTypes:a,extractEvents:function(e,t,n,s){if("topMouseOver"===e&&(n.relatedTarget||n.fromElement))return null;if("topMouseOut"!==e&&"topMouseOver"!==e)return null;var u;if(s.window===s)u=s;else{var l=s.ownerDocument;u=l?l.defaultView||l.parentWindow:window}var c,d;if("topMouseOut"===e){c=t;var f=n.relatedTarget||n.toElement;d=f?o.getClosestInstanceFromNode(f):null}else c=null,d=t;if(c===d)return null;var p=null==c?u:o.getNodeFromInstance(c),h=null==d?u:o.getNodeFromInstance(d),m=i.getPooled(a.mouseLeave,c,n,s);m.type="mouseleave",m.target=p,m.relatedTarget=h;var v=i.getPooled(a.mouseEnter,d,n,s);return v.type="mouseenter",v.target=h,v.relatedTarget=p,r.accumulateEnterLeaveDispatches(m,v,c,d),[m,v]}};e.exports=s},function(e,t){"use strict";var n={topAbort:null,topAnimationEnd:null,topAnimationIteration:null,topAnimationStart:null,topBlur:null,topCanPlay:null,topCanPlayThrough:null,topChange:null,topClick:null,topCompositionEnd:null,topCompositionStart:null,topCompositionUpdate:null,topContextMenu:null,topCopy:null,topCut:null,topDoubleClick:null,topDrag:null,topDragEnd:null,topDragEnter:null,topDragExit:null,topDragLeave:null,topDragOver:null,topDragStart:null,topDrop:null,topDurationChange:null,topEmptied:null,topEncrypted:null,topEnded:null,topError:null,topFocus:null,topInput:null,topInvalid:null,topKeyDown:null,topKeyPress:null,topKeyUp:null,topLoad:null,topLoadedData:null,topLoadedMetadata:null,topLoadStart:null,topMouseDown:null,topMouseMove:null,topMouseOut:null,topMouseOver:null,topMouseUp:null,topPaste:null,topPause:null,topPlay:null,topPlaying:null,topProgress:null,topRateChange:null,topReset:null,topScroll:null,topSeeked:null,topSeeking:null,topSelectionChange:null,topStalled:null,topSubmit:null,topSuspend:null,topTextInput:null,topTimeUpdate:null,topTouchCancel:null,topTouchEnd:null,topTouchMove:null,topTouchStart:null,topTransitionEnd:null,topVolumeChange:null,topWaiting:null,topWheel:null},r={topLevelTypes:n};e.exports=r},function(e,t,n){"use strict";function r(e){this._root=e,this._startText=this.getText(),this._fallbackText=null}var o=n(21),i=n(100),a=n(443);o(r.prototype,{destructor:function(){this._root=null,this._startText=null,this._fallbackText=null},getText:function(){return"value"in this._root?this._root.value:this._root[a()]},getData:function(){if(this._fallbackText)return this._fallbackText;var e,t,n=this._startText,r=n.length,o=this.getText(),i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);var s=t>1?1-t:void 0;return this._fallbackText=o.slice(e,s),this._fallbackText}}),i.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";var r=n(117),o=r.injection.MUST_USE_PROPERTY,i=r.injection.HAS_BOOLEAN_VALUE,a=r.injection.HAS_NUMERIC_VALUE,s=r.injection.HAS_POSITIVE_NUMERIC_VALUE,u=r.injection.HAS_OVERLOADED_BOOLEAN_VALUE,l={isCustomAttribute:RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+r.ATTRIBUTE_NAME_CHAR+"]*$")),Properties:{accept:0,acceptCharset:0,accessKey:0,action:0,allowFullScreen:i,allowTransparency:0,alt:0,as:0,async:i,autoComplete:0,autoPlay:i,capture:i,cellPadding:0,cellSpacing:0,charSet:0,challenge:0,checked:o|i,cite:0,classID:0,className:0,cols:s,colSpan:0,content:0,contentEditable:0,contextMenu:0,controls:i,coords:0,crossOrigin:0,data:0,dateTime:0,default:i,defer:i,dir:0,disabled:i,download:u,draggable:0,encType:0,form:0,formAction:0,formEncType:0,formMethod:0,formNoValidate:i,formTarget:0,frameBorder:0,headers:0,height:0,hidden:i,high:0,href:0,hrefLang:0,htmlFor:0,httpEquiv:0,icon:0,id:0,inputMode:0,integrity:0,is:0,keyParams:0,keyType:0,kind:0,label:0,lang:0,list:0,loop:i,low:0,manifest:0,marginHeight:0,marginWidth:0,max:0,maxLength:0,media:0,mediaGroup:0,method:0,min:0,minLength:0,multiple:o|i,muted:o|i,name:0,nonce:0,noValidate:i,open:i,optimum:0,pattern:0,placeholder:0,playsInline:i,poster:0,preload:0,profile:0,radioGroup:0,readOnly:i,referrerPolicy:0,rel:0,required:i,reversed:i,role:0,rows:s,rowSpan:a,sandbox:0,scope:0,scoped:i,scrolling:0,seamless:i,selected:o|i,shape:0,size:s,sizes:0,span:s,spellCheck:0,src:0,srcDoc:0,srcLang:0,srcSet:0,start:a,step:0,style:0,summary:0,tabIndex:0,target:0,title:0,type:0,useMap:0,value:0,width:0,wmode:0,wrap:0,about:0,datatype:0,inlist:0,prefix:0,property:0,resource:0,typeof:0,vocab:0,autoCapitalize:0,autoCorrect:0,autoSave:0,color:0,itemProp:0,itemScope:i,itemType:0,itemID:0,itemRef:0,results:0,security:0,unselectable:0},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{}};e.exports=l},function(e,t,n){(function(t){"use strict";function r(e,t,n,r){var o=void 0===e[n];null!=t&&o&&(e[n]=i(t,!0))}var o=n(120),i=n(444),a=(n(286),n(297)),s=n(447);n(14);"undefined"!=typeof t&&t.env,1;var u={instantiateChildren:function(e,t,n,o){if(null==e)return null;var i={};return s(e,r,i),i},updateChildren:function(e,t,n,r,s,u,l,c,d){if(t||e){var f,p;for(f in t)if(t.hasOwnProperty(f)){p=e&&e[f];var h=p&&p._currentElement,m=t[f];if(null!=p&&a(h,m))o.receiveComponent(p,m,s,c),t[f]=p;else{p&&(r[f]=o.getHostNode(p),o.unmountComponent(p,!1));var v=i(m,!0);t[f]=v;var g=o.mountComponent(v,s,u,l,c,d);n.push(g)}}for(f in e)!e.hasOwnProperty(f)||t&&t.hasOwnProperty(f)||(p=e[f],r[f]=o.getHostNode(p),o.unmountComponent(p,!1))}},unmountChildren:function(e,t){for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];o.unmountComponent(r,t)}}};e.exports=u}).call(t,n(159))},function(e,t,n){"use strict";var r=n(283),o=n(1018),i={processChildrenUpdates:o.dangerouslyProcessChildrenUpdates,replaceNodeWithMarkup:r.dangerouslyReplaceNodeWithMarkup};e.exports=i},function(e,t,n){"use strict";function r(e){}function o(e,t){}function i(e){return!(!e.prototype||!e.prototype.isReactComponent)}function a(e){return!(!e.prototype||!e.prototype.isPureReactComponent)}var s=n(16),u=n(21),l=n(124),c=n(288),d=n(73),f=n(289),p=n(148),h=(n(53),n(439)),m=n(120),v=n(143),g=(n(11),n(260)),y=n(297),b=(n(14),{ImpureClass:0,PureClass:1,StatelessFunctional:2});r.prototype.render=function(){var e=p.get(this)._currentElement.type,t=e(this.props,this.context,this.updater);return o(e,t),t};var _=1,w={construct:function(e){this._currentElement=e,this._rootNodeID=0,this._compositeType=null,this._instance=null,this._hostParent=null,this._hostContainerInfo=null,this._updateBatchNumber=null,this._pendingElement=null,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._renderedNodeType=null,this._renderedComponent=null,this._context=null,this._mountOrder=0,this._topLevelWrapper=null,this._pendingCallbacks=null,this._calledComponentWillUnmount=!1},mountComponent:function(e,t,n,u){this._context=u,this._mountOrder=_++,this._hostParent=t,this._hostContainerInfo=n;var c,d=this._currentElement.props,f=this._processContext(u),h=this._currentElement.type,m=e.getUpdateQueue(),g=i(h),y=this._constructComponent(g,d,f,m);g||null!=y&&null!=y.render?a(h)?this._compositeType=b.PureClass:this._compositeType=b.ImpureClass:(c=y,o(h,c),null===y||y===!1||l.isValidElement(y)?void 0:s("105",h.displayName||h.name||"Component"),y=new r(h),this._compositeType=b.StatelessFunctional);y.props=d,y.context=f,y.refs=v,y.updater=m,this._instance=y,p.set(y,this);var w=y.state;void 0===w&&(y.state=w=null),"object"!=typeof w||Array.isArray(w)?s("106",this.getName()||"ReactCompositeComponent"):void 0,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1;var C;return C=y.unstable_handleError?this.performInitialMountWithErrorHandling(c,t,n,e,u):this.performInitialMount(c,t,n,e,u),y.componentDidMount&&e.getReactMountReady().enqueue(y.componentDidMount,y),C},_constructComponent:function(e,t,n,r){return this._constructComponentWithoutOwner(e,t,n,r)},_constructComponentWithoutOwner:function(e,t,n,r){var o=this._currentElement.type;return e?new o(t,n,r):o(t,n,r)},performInitialMountWithErrorHandling:function(e,t,n,r,o){var i,a=r.checkpoint();try{i=this.performInitialMount(e,t,n,r,o)}catch(s){r.rollback(a),this._instance.unstable_handleError(s),this._pendingStateQueue&&(this._instance.state=this._processPendingState(this._instance.props,this._instance.context)),a=r.checkpoint(),this._renderedComponent.unmountComponent(!0),r.rollback(a),i=this.performInitialMount(e,t,n,r,o)}return i},performInitialMount:function(e,t,n,r,o){var i=this._instance,a=0;i.componentWillMount&&(i.componentWillMount(),this._pendingStateQueue&&(i.state=this._processPendingState(i.props,i.context))),void 0===e&&(e=this._renderValidatedComponent());var s=h.getType(e);this._renderedNodeType=s;var u=this._instantiateReactComponent(e,s!==h.EMPTY);this._renderedComponent=u;var l=m.mountComponent(u,r,t,n,this._processChildContext(o),a);return l},getHostNode:function(){return m.getHostNode(this._renderedComponent)},unmountComponent:function(e){if(this._renderedComponent){var t=this._instance;if(t.componentWillUnmount&&!t._calledComponentWillUnmount)if(t._calledComponentWillUnmount=!0,e){var n=this.getName()+".componentWillUnmount()";f.invokeGuardedCallback(n,t.componentWillUnmount.bind(t))}else t.componentWillUnmount();this._renderedComponent&&(m.unmountComponent(this._renderedComponent,e),this._renderedNodeType=null,this._renderedComponent=null,this._instance=null),this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._pendingCallbacks=null,this._pendingElement=null,this._context=null,this._rootNodeID=0,this._topLevelWrapper=null,p.remove(t)}},_maskContext:function(e){var t=this._currentElement.type,n=t.contextTypes;if(!n)return v;var r={};for(var o in n)r[o]=e[o];return r},_processContext:function(e){var t=this._maskContext(e);return t},_processChildContext:function(e){var t,n=this._currentElement.type,r=this._instance;if(r.getChildContext&&(t=r.getChildContext()),t){"object"!=typeof n.childContextTypes?s("107",this.getName()||"ReactCompositeComponent"):void 0;for(var o in t)o in n.childContextTypes?void 0:s("108",this.getName()||"ReactCompositeComponent",o);return u({},e,t)}return e},_checkContextTypes:function(e,t,n){},receiveComponent:function(e,t,n){var r=this._currentElement,o=this._context;this._pendingElement=null,this.updateComponent(t,r,e,o,n)},performUpdateIfNecessary:function(e){null!=this._pendingElement?m.receiveComponent(this,this._pendingElement,e,this._context):null!==this._pendingStateQueue||this._pendingForceUpdate?this.updateComponent(e,this._currentElement,this._currentElement,this._context,this._context):this._updateBatchNumber=null},updateComponent:function(e,t,n,r,o){var i=this._instance;null==i?s("136",this.getName()||"ReactCompositeComponent"):void 0;var a,u=!1;this._context===o?a=i.context:(a=this._processContext(o),u=!0);var l=t.props,c=n.props;t!==n&&(u=!0),u&&i.componentWillReceiveProps&&i.componentWillReceiveProps(c,a);var d=this._processPendingState(c,a),f=!0;this._pendingForceUpdate||(i.shouldComponentUpdate?f=i.shouldComponentUpdate(c,d,a):this._compositeType===b.PureClass&&(f=!g(l,c)||!g(i.state,d))),this._updateBatchNumber=null,f?(this._pendingForceUpdate=!1,this._performComponentUpdate(n,c,d,a,e,o)):(this._currentElement=n,this._context=o,i.props=c,i.state=d,i.context=a)},_processPendingState:function(e,t){var n=this._instance,r=this._pendingStateQueue,o=this._pendingReplaceState;if(this._pendingReplaceState=!1,this._pendingStateQueue=null,!r)return n.state;if(o&&1===r.length)return r[0];for(var i=u({},o?r[0]:n.state),a=o?1:0;a<r.length;a++){var s=r[a];u(i,"function"==typeof s?s.call(n,i,e,t):s)}return i},_performComponentUpdate:function(e,t,n,r,o,i){var a,s,u,l=this._instance,c=Boolean(l.componentDidUpdate);c&&(a=l.props,s=l.state,u=l.context),l.componentWillUpdate&&l.componentWillUpdate(t,n,r),this._currentElement=e,this._context=i,l.props=t,l.state=n,l.context=r,this._updateRenderedComponent(o,i),c&&o.getReactMountReady().enqueue(l.componentDidUpdate.bind(l,a,s,u),l)},_updateRenderedComponent:function(e,t){var n=this._renderedComponent,r=n._currentElement,o=this._renderValidatedComponent(),i=0;if(y(r,o))m.receiveComponent(n,o,e,this._processChildContext(t));else{var a=m.getHostNode(n);m.unmountComponent(n,!1);var s=h.getType(o);this._renderedNodeType=s;var u=this._instantiateReactComponent(o,s!==h.EMPTY);this._renderedComponent=u;var l=m.mountComponent(u,e,this._hostParent,this._hostContainerInfo,this._processChildContext(t),i);this._replaceNodeWithMarkup(a,l,n)}},_replaceNodeWithMarkup:function(e,t,n){c.replaceNodeWithMarkup(e,t,n)},_renderValidatedComponentWithoutOwnerOrContext:function(){var e,t=this._instance;return e=t.render()},_renderValidatedComponent:function(){var e;if(this._compositeType!==b.StatelessFunctional){d.current=this;try{e=this._renderValidatedComponentWithoutOwnerOrContext()}finally{d.current=null}}else e=this._renderValidatedComponentWithoutOwnerOrContext();return null===e||e===!1||l.isValidElement(e)?void 0:s("109",this.getName()||"ReactCompositeComponent"),e},attachRef:function(e,t){var n=this.getPublicInstance();null==n?s("110"):void 0;var r=t.getPublicInstance(),o=n.refs===v?n.refs={}:n.refs;o[e]=r},detachRef:function(e){var t=this.getPublicInstance().refs;delete t[e]},getName:function(){var e=this._currentElement.type,t=this._instance&&this._instance.constructor;return e.displayName||t&&t.displayName||e.name||t&&t.name||null},getPublicInstance:function(){var e=this._instance;return this._compositeType===b.StatelessFunctional?null:e},_instantiateReactComponent:null};e.exports=w},function(e,t,n){"use strict";var r=n(27),o=n(1026),i=n(438),a=n(120),s=n(62),u=n(1039),l=n(1055),c=n(442),d=n(1063);n(14);o.inject();var f={findDOMNode:l,render:i.render,unmountComponentAtNode:i.unmountComponentAtNode,version:u,unstable_batchedUpdates:s.batchedUpdates,unstable_renderSubtreeIntoContainer:d};"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject&&__REACT_DEVTOOLS_GLOBAL_HOOK__.inject({ComponentTree:{getClosestInstanceFromNode:r.getClosestInstanceFromNode,getNodeFromInstance:function(e){return e._renderedComponent&&(e=c(e)),e?r.getNodeFromInstance(e):null}},Mount:i,Reconciler:a});e.exports=f},function(e,t,n){"use strict";function r(e){if(e){var t=e._currentElement._owner||null;if(t){var n=t.getName();if(n)return" This DOM node was rendered by `"+n+"`."}}return""}function o(e,t){t&&($[e._tag]&&(null!=t.children||null!=t.dangerouslySetInnerHTML?m("137",e._tag,e._currentElement._owner?" Check the render method of "+e._currentElement._owner.getName()+".":""):void 0),null!=t.dangerouslySetInnerHTML&&(null!=t.children?m("60"):void 0,"object"==typeof t.dangerouslySetInnerHTML&&z in t.dangerouslySetInnerHTML?void 0:m("61")),null!=t.style&&"object"!=typeof t.style?m("62",r(e)):void 0)}function i(e,t,n,r){if(!(r instanceof P)){var o=e._hostContainerInfo,i=o._node&&o._node.nodeType===W,s=i?o._node:o._ownerDocument;B(t,s),r.getReactMountReady().enqueue(a,{inst:e,registrationName:t,listener:n})}}function a(){var e=this;x.putListener(e.inst,e.registrationName,e.listener)}function s(){var e=this;M.postMountWrapper(e)}function u(){var e=this;N.postMountWrapper(e)}function l(){var e=this;O.postMountWrapper(e)}function c(){var e=this;e._rootNodeID?void 0:m("63");var t=L(e);switch(t?void 0:m("64"),e._tag){case"iframe":case"object":e._wrapperState.listeners=[T.trapBubbledEvent("topLoad","load",t)];break;case"video":case"audio":e._wrapperState.listeners=[];for(var n in V)V.hasOwnProperty(n)&&e._wrapperState.listeners.push(T.trapBubbledEvent(n,V[n],t));break;case"source":e._wrapperState.listeners=[T.trapBubbledEvent("topError","error",t)];break;case"img":e._wrapperState.listeners=[T.trapBubbledEvent("topError","error",t),T.trapBubbledEvent("topLoad","load",t)];break;case"form":e._wrapperState.listeners=[T.trapBubbledEvent("topReset","reset",t),T.trapBubbledEvent("topSubmit","submit",t)];break;case"input":case"select":case"textarea":e._wrapperState.listeners=[T.trapBubbledEvent("topInvalid","invalid",t)]}}function d(){A.postUpdateWrapper(this)}function f(e){Q.call(X,e)||(K.test(e)?void 0:m("65",e),X[e]=!0)}function p(e,t){return e.indexOf("-")>=0||null!=t.is}function h(e){var t=e.type;f(t),this._currentElement=e,this._tag=t.toLowerCase(),this._namespaceURI=null,this._renderedChildren=null,this._previousStyle=null,this._previousStyleCopy=null,this._hostNode=null,this._hostParent=null,this._rootNodeID=0,this._domID=0,this._hostContainerInfo=null,this._wrapperState=null,this._topLevelWrapper=null,this._flags=0}var m=n(16),v=n(21),g=n(1e3),y=n(1002),b=n(116),_=n(284),w=n(117),C=n(431),x=n(118),E=n(285),T=n(193),k=n(432),S=n(27),M=n(1019),O=n(1020),A=n(433),N=n(1023),I=(n(53),n(1032)),P=n(1037),D=(n(52),n(196)),R=(n(11),n(296),n(260),n(298),n(14),k),j=x.deleteListener,L=S.getNodeFromInstance,B=T.listenTo,F=E.registrationNameModules,U={string:!0,number:!0},H="style",z="__html",q={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null},W=11,V={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"},G={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},Y={listing:!0,pre:!0,textarea:!0},$=v({menuitem:!0},G),K=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,X={},Q={}.hasOwnProperty,J=1;h.displayName="ReactDOMComponent",h.Mixin={mountComponent:function(e,t,n,r){this._rootNodeID=J++,this._domID=n._idCounter++,this._hostParent=t,this._hostContainerInfo=n;var i=this._currentElement.props;switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":this._wrapperState={listeners:null},e.getReactMountReady().enqueue(c,this);break;case"input":M.mountWrapper(this,i,t),i=M.getHostProps(this,i),e.getReactMountReady().enqueue(c,this);break;case"option":O.mountWrapper(this,i,t),i=O.getHostProps(this,i);break;case"select":A.mountWrapper(this,i,t),i=A.getHostProps(this,i),e.getReactMountReady().enqueue(c,this);break;case"textarea":N.mountWrapper(this,i,t),i=N.getHostProps(this,i),e.getReactMountReady().enqueue(c,this)}o(this,i);var a,d;null!=t?(a=t._namespaceURI,d=t._tag):n._tag&&(a=n._namespaceURI,d=n._tag),(null==a||a===_.svg&&"foreignobject"===d)&&(a=_.html),a===_.html&&("svg"===this._tag?a=_.svg:"math"===this._tag&&(a=_.mathml)),this._namespaceURI=a;var f;if(e.useCreateElement){var p,h=n._ownerDocument;if(a===_.html)if("script"===this._tag){var m=h.createElement("div"),v=this._currentElement.type;m.innerHTML="<"+v+"></"+v+">",p=m.removeChild(m.firstChild)}else p=i.is?h.createElement(this._currentElement.type,i.is):h.createElement(this._currentElement.type);else p=h.createElementNS(a,this._currentElement.type);S.precacheNode(this,p),this._flags|=R.hasCachedChildNodes,this._hostParent||C.setAttributeForRoot(p),this._updateDOMProperties(null,i,e);var y=b(p);this._createInitialChildren(e,i,r,y),f=y}else{var w=this._createOpenTagMarkupAndPutListeners(e,i),x=this._createContentMarkup(e,i,r);f=!x&&G[this._tag]?w+"/>":w+">"+x+"</"+this._currentElement.type+">"}switch(this._tag){case"input":e.getReactMountReady().enqueue(s,this),i.autoFocus&&e.getReactMountReady().enqueue(g.focusDOMComponent,this);break;case"textarea":e.getReactMountReady().enqueue(u,this),i.autoFocus&&e.getReactMountReady().enqueue(g.focusDOMComponent,this);break;case"select":i.autoFocus&&e.getReactMountReady().enqueue(g.focusDOMComponent,this);break;case"button":i.autoFocus&&e.getReactMountReady().enqueue(g.focusDOMComponent,this);break;case"option":e.getReactMountReady().enqueue(l,this)}return f},_createOpenTagMarkupAndPutListeners:function(e,t){var n="<"+this._currentElement.type;for(var r in t)if(t.hasOwnProperty(r)){var o=t[r];if(null!=o)if(F.hasOwnProperty(r))o&&i(this,r,o,e);else{r===H&&(o&&(o=this._previousStyleCopy=v({},t.style)),o=y.createMarkupForStyles(o,this));var a=null;null!=this._tag&&p(this._tag,t)?q.hasOwnProperty(r)||(a=C.createMarkupForCustomAttribute(r,o)):a=C.createMarkupForProperty(r,o),a&&(n+=" "+a)}}return e.renderToStaticMarkup?n:(this._hostParent||(n+=" "+C.createMarkupForRoot()),n+=" "+C.createMarkupForID(this._domID))},_createContentMarkup:function(e,t,n){var r="",o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&(r=o.__html);else{var i=U[typeof t.children]?t.children:null,a=null!=i?null:t.children;if(null!=i)r=D(i);else if(null!=a){var s=this.mountChildren(a,e,n);r=s.join("")}}return Y[this._tag]&&"\n"===r.charAt(0)?"\n"+r:r},_createInitialChildren:function(e,t,n,r){var o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&b.queueHTML(r,o.__html);else{var i=U[typeof t.children]?t.children:null,a=null!=i?null:t.children;if(null!=i)""!==i&&b.queueText(r,i);else if(null!=a)for(var s=this.mountChildren(a,e,n),u=0;u<s.length;u++)b.queueChild(r,s[u])}},receiveComponent:function(e,t,n){var r=this._currentElement;
-this._currentElement=e,this.updateComponent(t,r,e,n)},updateComponent:function(e,t,n,r){var i=t.props,a=this._currentElement.props;switch(this._tag){case"input":i=M.getHostProps(this,i),a=M.getHostProps(this,a);break;case"option":i=O.getHostProps(this,i),a=O.getHostProps(this,a);break;case"select":i=A.getHostProps(this,i),a=A.getHostProps(this,a);break;case"textarea":i=N.getHostProps(this,i),a=N.getHostProps(this,a)}switch(o(this,a),this._updateDOMProperties(i,a,e),this._updateDOMChildren(i,a,e,r),this._tag){case"input":M.updateWrapper(this);break;case"textarea":N.updateWrapper(this);break;case"select":e.getReactMountReady().enqueue(d,this)}},_updateDOMProperties:function(e,t,n){var r,o,a;for(r in e)if(!t.hasOwnProperty(r)&&e.hasOwnProperty(r)&&null!=e[r])if(r===H){var s=this._previousStyleCopy;for(o in s)s.hasOwnProperty(o)&&(a=a||{},a[o]="");this._previousStyleCopy=null}else F.hasOwnProperty(r)?e[r]&&j(this,r):p(this._tag,e)?q.hasOwnProperty(r)||C.deleteValueForAttribute(L(this),r):(w.properties[r]||w.isCustomAttribute(r))&&C.deleteValueForProperty(L(this),r);for(r in t){var u=t[r],l=r===H?this._previousStyleCopy:null!=e?e[r]:void 0;if(t.hasOwnProperty(r)&&u!==l&&(null!=u||null!=l))if(r===H)if(u?u=this._previousStyleCopy=v({},u):this._previousStyleCopy=null,l){for(o in l)!l.hasOwnProperty(o)||u&&u.hasOwnProperty(o)||(a=a||{},a[o]="");for(o in u)u.hasOwnProperty(o)&&l[o]!==u[o]&&(a=a||{},a[o]=u[o])}else a=u;else if(F.hasOwnProperty(r))u?i(this,r,u,n):l&&j(this,r);else if(p(this._tag,t))q.hasOwnProperty(r)||C.setValueForAttribute(L(this),r,u);else if(w.properties[r]||w.isCustomAttribute(r)){var c=L(this);null!=u?C.setValueForProperty(c,r,u):C.deleteValueForProperty(c,r)}}a&&y.setValueForStyles(L(this),a,this)},_updateDOMChildren:function(e,t,n,r){var o=U[typeof e.children]?e.children:null,i=U[typeof t.children]?t.children:null,a=e.dangerouslySetInnerHTML&&e.dangerouslySetInnerHTML.__html,s=t.dangerouslySetInnerHTML&&t.dangerouslySetInnerHTML.__html,u=null!=o?null:e.children,l=null!=i?null:t.children,c=null!=o||null!=a,d=null!=i||null!=s;null!=u&&null==l?this.updateChildren(null,n,r):c&&!d&&this.updateTextContent(""),null!=i?o!==i&&this.updateTextContent(""+i):null!=s?a!==s&&this.updateMarkup(""+s):null!=l&&this.updateChildren(l,n,r)},getHostNode:function(){return L(this)},unmountComponent:function(e){switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":var t=this._wrapperState.listeners;if(t)for(var n=0;n<t.length;n++)t[n].remove();break;case"html":case"head":case"body":m("66",this._tag)}this.unmountChildren(e),S.uncacheNode(this),x.deleteAllListeners(this),this._rootNodeID=0,this._domID=0,this._wrapperState=null},getPublicInstance:function(){return L(this)}},v(h.prototype,h.Mixin,I.Mixin),e.exports=h},function(e,t,n){"use strict";function r(e,t){var n={_topLevelWrapper:e,_idCounter:1,_ownerDocument:t?t.nodeType===o?t:t.ownerDocument:null,_node:t,_tag:t?t.nodeName.toLowerCase():null,_namespaceURI:t?t.namespaceURI:null};return n}var o=(n(298),9);e.exports=r},function(e,t,n){"use strict";var r=n(21),o=n(116),i=n(27),a=function(e){this._currentElement=null,this._hostNode=null,this._hostParent=null,this._hostContainerInfo=null,this._domID=0};r(a.prototype,{mountComponent:function(e,t,n,r){var a=n._idCounter++;this._domID=a,this._hostParent=t,this._hostContainerInfo=n;var s=" react-empty: "+this._domID+" ";if(e.useCreateElement){var u=n._ownerDocument,l=u.createComment(s);return i.precacheNode(this,l),o(l)}return e.renderToStaticMarkup?"":"<!--"+s+"-->"},receiveComponent:function(){},getHostNode:function(){return i.getNodeFromInstance(this)},unmountComponent:function(){i.uncacheNode(this)}}),e.exports=a},function(e,t){"use strict";var n={useCreateElement:!0,useFiber:!1};e.exports=n},function(e,t,n){"use strict";var r=n(283),o=n(27),i={dangerouslyProcessChildrenUpdates:function(e,t){var n=o.getNodeFromInstance(e);r.processUpdates(n,t)}};e.exports=i},function(e,t,n){"use strict";function r(){this._rootNodeID&&d.updateWrapper(this)}function o(e){var t=this._currentElement.props,n=u.executeOnChange(t,e);c.asap(r,this);var o=t.name;if("radio"===t.type&&null!=o){for(var a=l.getNodeFromInstance(this),s=a;s.parentNode;)s=s.parentNode;for(var d=s.querySelectorAll("input[name="+JSON.stringify(""+o)+'][type="radio"]'),f=0;f<d.length;f++){var p=d[f];if(p!==a&&p.form===a.form){var h=l.getInstanceFromNode(p);h?void 0:i("90"),c.asap(r,h)}}}return n}var i=n(16),a=n(21),s=n(431),u=n(287),l=n(27),c=n(62),d=(n(11),n(14),{getHostProps:function(e,t){var n=u.getValue(t),r=u.getChecked(t),o=a({type:void 0,step:void 0,min:void 0,max:void 0},t,{defaultChecked:void 0,defaultValue:void 0,value:null!=n?n:e._wrapperState.initialValue,checked:null!=r?r:e._wrapperState.initialChecked,onChange:e._wrapperState.onChange});return o},mountWrapper:function(e,t){var n=t.defaultValue;e._wrapperState={initialChecked:null!=t.checked?t.checked:t.defaultChecked,initialValue:null!=t.value?t.value:n,listeners:null,onChange:o.bind(e)}},updateWrapper:function(e){var t=e._currentElement.props,n=t.checked;null!=n&&s.setValueForProperty(l.getNodeFromInstance(e),"checked",n||!1);var r=l.getNodeFromInstance(e),o=u.getValue(t);if(null!=o){var i=""+o;i!==r.value&&(r.value=i)}else null==t.value&&null!=t.defaultValue&&r.defaultValue!==""+t.defaultValue&&(r.defaultValue=""+t.defaultValue),null==t.checked&&null!=t.defaultChecked&&(r.defaultChecked=!!t.defaultChecked)},postMountWrapper:function(e){var t=e._currentElement.props,n=l.getNodeFromInstance(e);switch(t.type){case"submit":case"reset":break;case"color":case"date":case"datetime":case"datetime-local":case"month":case"time":case"week":n.value="",n.value=n.defaultValue;break;default:n.value=n.value}var r=n.name;""!==r&&(n.name=""),n.defaultChecked=!n.defaultChecked,n.defaultChecked=!n.defaultChecked,""!==r&&(n.name=r)}});e.exports=d},function(e,t,n){"use strict";function r(e){var t="";return i.Children.forEach(e,function(e){null!=e&&("string"==typeof e||"number"==typeof e?t+=e:u||(u=!0))}),t}var o=n(21),i=n(124),a=n(27),s=n(433),u=(n(14),!1),l={mountWrapper:function(e,t,n){var o=null;if(null!=n){var i=n;"optgroup"===i._tag&&(i=i._hostParent),null!=i&&"select"===i._tag&&(o=s.getSelectValueContext(i))}var a=null;if(null!=o){var u;if(u=null!=t.value?t.value+"":r(t.children),a=!1,Array.isArray(o)){for(var l=0;l<o.length;l++)if(""+o[l]===u){a=!0;break}}else a=""+o===u}e._wrapperState={selected:a}},postMountWrapper:function(e){var t=e._currentElement.props;if(null!=t.value){var n=a.getNodeFromInstance(e);n.setAttribute("value",t.value)}},getHostProps:function(e,t){var n=o({selected:void 0,children:void 0},t);null!=e._wrapperState.selected&&(n.selected=e._wrapperState.selected);var i=r(t.children);return i&&(n.children=i),n}};e.exports=l},function(e,t,n){"use strict";function r(e,t,n,r){return e===n&&t===r}function o(e){var t=document.selection,n=t.createRange(),r=n.text.length,o=n.duplicate();o.moveToElementText(e),o.setEndPoint("EndToStart",n);var i=o.text.length,a=i+r;return{start:i,end:a}}function i(e){var t=window.getSelection&&window.getSelection();if(!t||0===t.rangeCount)return null;var n=t.anchorNode,o=t.anchorOffset,i=t.focusNode,a=t.focusOffset,s=t.getRangeAt(0);try{s.startContainer.nodeType,s.endContainer.nodeType}catch(e){return null}var u=r(t.anchorNode,t.anchorOffset,t.focusNode,t.focusOffset),l=u?0:s.toString().length,c=s.cloneRange();c.selectNodeContents(e),c.setEnd(s.startContainer,s.startOffset);var d=r(c.startContainer,c.startOffset,c.endContainer,c.endOffset),f=d?0:c.toString().length,p=f+l,h=document.createRange();h.setStart(n,o),h.setEnd(i,a);var m=h.collapsed;return{start:m?p:f,end:m?f:p}}function a(e,t){var n,r,o=document.selection.createRange().duplicate();void 0===t.end?(n=t.start,r=n):t.start>t.end?(n=t.end,r=t.start):(n=t.start,r=t.end),o.moveToElementText(e),o.moveStart("character",n),o.setEndPoint("EndToStart",o),o.moveEnd("character",r-n),o.select()}function s(e,t){if(window.getSelection){var n=window.getSelection(),r=e[c()].length,o=Math.min(t.start,r),i=void 0===t.end?o:Math.min(t.end,r);if(!n.extend&&o>i){var a=i;i=o,o=a}var s=l(e,o),u=l(e,i);if(s&&u){var d=document.createRange();d.setStart(s.node,s.offset),n.removeAllRanges(),o>i?(n.addRange(d),n.extend(u.node,u.offset)):(d.setEnd(u.node,u.offset),n.addRange(d))}}}var u=n(36),l=n(1060),c=n(443),d=u.canUseDOM&&"selection"in document&&!("getSelection"in window),f={getOffsets:d?o:i,setOffsets:d?a:s};e.exports=f},function(e,t,n){"use strict";var r=n(16),o=n(21),i=n(283),a=n(116),s=n(27),u=n(196),l=(n(11),n(298),function(e){this._currentElement=e,this._stringText=""+e,this._hostNode=null,this._hostParent=null,this._domID=0,this._mountIndex=0,this._closingComment=null,this._commentNodes=null});o(l.prototype,{mountComponent:function(e,t,n,r){var o=n._idCounter++,i=" react-text: "+o+" ",l=" /react-text ";if(this._domID=o,this._hostParent=t,e.useCreateElement){var c=n._ownerDocument,d=c.createComment(i),f=c.createComment(l),p=a(c.createDocumentFragment());return a.queueChild(p,a(d)),this._stringText&&a.queueChild(p,a(c.createTextNode(this._stringText))),a.queueChild(p,a(f)),s.precacheNode(this,d),this._closingComment=f,p}var h=u(this._stringText);return e.renderToStaticMarkup?h:"<!--"+i+"-->"+h+"<!--"+l+"-->"},receiveComponent:function(e,t){if(e!==this._currentElement){this._currentElement=e;var n=""+e;if(n!==this._stringText){this._stringText=n;var r=this.getHostNode();i.replaceDelimitedText(r[0],r[1],n)}}},getHostNode:function(){var e=this._commentNodes;if(e)return e;if(!this._closingComment)for(var t=s.getNodeFromInstance(this),n=t.nextSibling;;){if(null==n?r("67",this._domID):void 0,8===n.nodeType&&" /react-text "===n.nodeValue){this._closingComment=n;break}n=n.nextSibling}return e=[this._hostNode,this._closingComment],this._commentNodes=e,e},unmountComponent:function(){this._closingComment=null,this._commentNodes=null,s.uncacheNode(this)}}),e.exports=l},function(e,t,n){"use strict";function r(){this._rootNodeID&&c.updateWrapper(this)}function o(e){var t=this._currentElement.props,n=s.executeOnChange(t,e);return l.asap(r,this),n}var i=n(16),a=n(21),s=n(287),u=n(27),l=n(62),c=(n(11),n(14),{getHostProps:function(e,t){null!=t.dangerouslySetInnerHTML?i("91"):void 0;var n=a({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue,onChange:e._wrapperState.onChange});return n},mountWrapper:function(e,t){var n=s.getValue(t),r=n;if(null==n){var a=t.defaultValue,u=t.children;null!=u&&(null!=a?i("92"):void 0,Array.isArray(u)&&(u.length<=1?void 0:i("93"),u=u[0]),a=""+u),null==a&&(a=""),r=a}e._wrapperState={initialValue:""+r,listeners:null,onChange:o.bind(e)}},updateWrapper:function(e){var t=e._currentElement.props,n=u.getNodeFromInstance(e),r=s.getValue(t);if(null!=r){var o=""+r;o!==n.value&&(n.value=o),null==t.defaultValue&&(n.defaultValue=o)}null!=t.defaultValue&&(n.defaultValue=t.defaultValue)},postMountWrapper:function(e){var t=u.getNodeFromInstance(e),n=t.textContent;n===e._wrapperState.initialValue&&(t.value=n)}});e.exports=c},function(e,t,n){"use strict";function r(e,t){"_hostNode"in e?void 0:u("33"),"_hostNode"in t?void 0:u("33");for(var n=0,r=e;r;r=r._hostParent)n++;for(var o=0,i=t;i;i=i._hostParent)o++;for(;n-o>0;)e=e._hostParent,n--;for(;o-n>0;)t=t._hostParent,o--;for(var a=n;a--;){if(e===t)return e;e=e._hostParent,t=t._hostParent}return null}function o(e,t){"_hostNode"in e?void 0:u("35"),"_hostNode"in t?void 0:u("35");for(;t;){if(t===e)return!0;t=t._hostParent}return!1}function i(e){return"_hostNode"in e?void 0:u("36"),e._hostParent}function a(e,t,n){for(var r=[];e;)r.push(e),e=e._hostParent;var o;for(o=r.length;o-- >0;)t(r[o],"captured",n);for(o=0;o<r.length;o++)t(r[o],"bubbled",n)}function s(e,t,n,o,i){for(var a=e&&t?r(e,t):null,s=[];e&&e!==a;)s.push(e),e=e._hostParent;for(var u=[];t&&t!==a;)u.push(t),t=t._hostParent;var l;for(l=0;l<s.length;l++)n(s[l],"bubbled",o);for(l=u.length;l-- >0;)n(u[l],"captured",i)}var u=n(16);n(11);e.exports={isAncestor:o,getLowestCommonAncestor:r,getParentInstance:i,traverseTwoPhase:a,traverseEnterLeave:s}},function(e,t,n){"use strict";function r(){this.reinitializeTransaction()}var o=n(21),i=n(62),a=n(195),s=n(52),u={initialize:s,close:function(){f.isBatchingUpdates=!1}},l={initialize:s,close:i.flushBatchedUpdates.bind(i)},c=[l,u];o(r.prototype,a,{getTransactionWrappers:function(){return c}});var d=new r,f={isBatchingUpdates:!1,batchedUpdates:function(e,t,n,r,o,i){var a=f.isBatchingUpdates;return f.isBatchingUpdates=!0,a?e(t,n,r,o,i):d.perform(e,null,t,n,r,o,i)}};e.exports=f},function(e,t,n){"use strict";function r(){x||(x=!0,y.EventEmitter.injectReactEventListener(g),y.EventPluginHub.injectEventPluginOrder(s),y.EventPluginUtils.injectComponentTree(f),y.EventPluginUtils.injectTreeTraversal(h),y.EventPluginHub.injectEventPluginsByName({SimpleEventPlugin:C,EnterLeaveEventPlugin:u,ChangeEventPlugin:a,SelectEventPlugin:w,BeforeInputEventPlugin:i}),y.HostComponent.injectGenericComponentClass(d),y.HostComponent.injectTextComponentClass(m),y.DOMProperty.injectDOMPropertyConfig(o),y.DOMProperty.injectDOMPropertyConfig(l),y.DOMProperty.injectDOMPropertyConfig(_),y.EmptyComponent.injectEmptyComponentFactory(function(e){return new p(e)}),y.Updates.injectReconcileTransaction(b),y.Updates.injectBatchingStrategy(v),y.Component.injectEnvironment(c))}var o=n(999),i=n(1001),a=n(1003),s=n(1005),u=n(1006),l=n(1009),c=n(1011),d=n(1014),f=n(27),p=n(1016),h=n(1024),m=n(1022),v=n(1025),g=n(1029),y=n(1030),b=n(1035),_=n(1040),w=n(1041),C=n(1042),x=!1;e.exports={inject:r}},467,function(e,t,n){"use strict";function r(e){o.enqueueEvents(e),o.processEventQueue(!1)}var o=n(118),i={handleTopLevel:function(e,t,n,i){var a=o.extractEvents(e,t,n,i);r(a)}};e.exports=i},function(e,t,n){"use strict";function r(e){for(;e._hostParent;)e=e._hostParent;var t=d.getNodeFromInstance(e),n=t.parentNode;return d.getClosestInstanceFromNode(n)}function o(e,t){this.topLevelType=e,this.nativeEvent=t,this.ancestors=[]}function i(e){var t=p(e.nativeEvent),n=d.getClosestInstanceFromNode(t),o=n;do e.ancestors.push(o),o=o&&r(o);while(o);for(var i=0;i<e.ancestors.length;i++)n=e.ancestors[i],m._handleTopLevel(e.topLevelType,n,e.nativeEvent,p(e.nativeEvent))}function a(e){var t=h(window);e(t)}var s=n(21),u=n(386),l=n(36),c=n(100),d=n(27),f=n(62),p=n(295),h=n(842);s(o.prototype,{destructor:function(){this.topLevelType=null,this.nativeEvent=null,this.ancestors.length=0}}),c.addPoolingTo(o,c.twoArgumentPooler);var m={_enabled:!0,_handleTopLevel:null,WINDOW_HANDLE:l.canUseDOM?window:null,setHandleTopLevel:function(e){m._handleTopLevel=e},setEnabled:function(e){m._enabled=!!e},isEnabled:function(){return m._enabled},trapBubbledEvent:function(e,t,n){return n?u.listen(n,t,m.dispatchEvent.bind(null,e)):null},trapCapturedEvent:function(e,t,n){return n?u.capture(n,t,m.dispatchEvent.bind(null,e)):null},monitorScrollValue:function(e){var t=a.bind(null,e);u.listen(window,"scroll",t)},dispatchEvent:function(e,t){if(m._enabled){var n=o.getPooled(e,t);try{f.batchedUpdates(i,n)}finally{o.release(n)}}}};e.exports=m},function(e,t,n){"use strict";var r=n(117),o=n(118),i=n(192),a=n(288),s=n(434),u=n(193),l=n(436),c=n(62),d={Component:a.injection,DOMProperty:r.injection,EmptyComponent:s.injection,EventPluginHub:o.injection,EventPluginUtils:i.injection,EventEmitter:u.injection,HostComponent:l.injection,Updates:c.injection};e.exports=d},function(e,t,n){"use strict";var r=n(1053),o=/\/?>/,i=/^<\!\-\-/,a={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var t=r(e);return i.test(e)?e:e.replace(o," "+a.CHECKSUM_ATTR_NAME+'="'+t+'"$&')},canReuseMarkup:function(e,t){var n=t.getAttribute(a.CHECKSUM_ATTR_NAME);n=n&&parseInt(n,10);var o=r(e);return o===n}};e.exports=a},function(e,t,n){"use strict";function r(e,t,n){return{type:"INSERT_MARKUP",content:e,fromIndex:null,fromNode:null,toIndex:n,afterNode:t}}function o(e,t,n){return{type:"MOVE_EXISTING",content:null,fromIndex:e._mountIndex,fromNode:f.getHostNode(e),toIndex:n,afterNode:t}}function i(e,t){return{type:"REMOVE_NODE",content:null,fromIndex:e._mountIndex,fromNode:t,toIndex:null,afterNode:null}}function a(e){return{type:"SET_MARKUP",content:e,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function s(e){return{type:"TEXT_CONTENT",content:e,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function u(e,t){return t&&(e=e||[],e.push(t)),e}function l(e,t){d.processChildrenUpdates(e,t)}var c=n(16),d=n(288),f=(n(148),n(53),n(73),n(120)),p=n(1010),h=(n(52),n(1056)),m=(n(11),{Mixin:{_reconcilerInstantiateChildren:function(e,t,n){return p.instantiateChildren(e,t,n)},_reconcilerUpdateChildren:function(e,t,n,r,o,i){var a,s=0;return a=h(t,s),p.updateChildren(e,a,n,r,o,this,this._hostContainerInfo,i,s),a},mountChildren:function(e,t,n){var r=this._reconcilerInstantiateChildren(e,t,n);this._renderedChildren=r;var o=[],i=0;for(var a in r)if(r.hasOwnProperty(a)){var s=r[a],u=0,l=f.mountComponent(s,t,this,this._hostContainerInfo,n,u);s._mountIndex=i++,o.push(l)}return o},updateTextContent:function(e){var t=this._renderedChildren;p.unmountChildren(t,!1);for(var n in t)t.hasOwnProperty(n)&&c("118");var r=[s(e)];l(this,r)},updateMarkup:function(e){var t=this._renderedChildren;p.unmountChildren(t,!1);for(var n in t)t.hasOwnProperty(n)&&c("118");var r=[a(e)];l(this,r)},updateChildren:function(e,t,n){this._updateChildren(e,t,n)},_updateChildren:function(e,t,n){var r=this._renderedChildren,o={},i=[],a=this._reconcilerUpdateChildren(r,e,i,o,t,n);if(a||r){var s,c=null,d=0,p=0,h=0,m=null;for(s in a)if(a.hasOwnProperty(s)){var v=r&&r[s],g=a[s];v===g?(c=u(c,this.moveChild(v,m,d,p)),p=Math.max(v._mountIndex,p),v._mountIndex=d):(v&&(p=Math.max(v._mountIndex,p)),c=u(c,this._mountChildAtIndex(g,i[h],m,d,t,n)),h++),d++,m=f.getHostNode(g)}for(s in o)o.hasOwnProperty(s)&&(c=u(c,this._unmountChild(r[s],o[s])));c&&l(this,c),this._renderedChildren=a}},unmountChildren:function(e){var t=this._renderedChildren;p.unmountChildren(t,e),this._renderedChildren=null},moveChild:function(e,t,n,r){if(e._mountIndex<r)return o(e,t,n)},createChild:function(e,t,n){return r(n,t,e._mountIndex)},removeChild:function(e,t){return i(e,t)},_mountChildAtIndex:function(e,t,n,r,o,i){return e._mountIndex=r,this.createChild(e,n,t)},_unmountChild:function(e,t){var n=this.removeChild(e,t);return e._mountIndex=null,n}}});e.exports=m},function(e,t,n){"use strict";function r(e){return!(!e||"function"!=typeof e.attachRef||"function"!=typeof e.detachRef)}var o=n(16),i=(n(11),{addComponentAsRefTo:function(e,t,n){r(n)?void 0:o("119"),n.attachRef(t,e)},removeComponentAsRefFrom:function(e,t,n){r(n)?void 0:o("120");var i=n.getPublicInstance();i&&i.refs[t]===e.getPublicInstance()&&n.detachRef(t)}});e.exports=i},function(e,t){"use strict";var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=n},function(e,t,n){"use strict";function r(e){this.reinitializeTransaction(),this.renderToStaticMarkup=!1,this.reactMountReady=i.getPooled(null),this.useCreateElement=e}var o=n(21),i=n(430),a=n(100),s=n(193),u=n(437),l=(n(53),n(195)),c=n(290),d={initialize:u.getSelectionInformation,close:u.restoreSelection},f={initialize:function(){var e=s.isEnabled();return s.setEnabled(!1),e},close:function(e){s.setEnabled(e)}},p={initialize:function(){this.reactMountReady.reset()},close:function(){this.reactMountReady.notifyAll()}},h=[d,f,p],m={getTransactionWrappers:function(){return h},getReactMountReady:function(){return this.reactMountReady},getUpdateQueue:function(){return c},checkpoint:function(){return this.reactMountReady.checkpoint()},rollback:function(e){this.reactMountReady.rollback(e)},destructor:function(){i.release(this.reactMountReady),this.reactMountReady=null}};o(r.prototype,l,m),a.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";function r(e,t,n){"function"==typeof e?e(t.getPublicInstance()):i.addComponentAsRefTo(t,e,n)}function o(e,t,n){"function"==typeof e?e(null):i.removeComponentAsRefFrom(t,e,n)}var i=n(1033),a={};a.attachRefs=function(e,t){if(null!==t&&"object"==typeof t){var n=t.ref;null!=n&&r(n,e,t._owner)}},a.shouldUpdateRefs=function(e,t){var n=null,r=null;null!==e&&"object"==typeof e&&(n=e.ref,r=e._owner);var o=null,i=null;return null!==t&&"object"==typeof t&&(o=t.ref,i=t._owner),n!==o||"string"==typeof o&&i!==r},a.detachRefs=function(e,t){if(null!==t&&"object"==typeof t){var n=t.ref;null!=n&&o(n,e,t._owner)}},e.exports=a},function(e,t,n){"use strict";function r(e){this.reinitializeTransaction(),this.renderToStaticMarkup=e,this.useCreateElement=!1,this.updateQueue=new s(this)}var o=n(21),i=n(100),a=n(195),s=(n(53),n(1038)),u=[],l={enqueue:function(){}},c={getTransactionWrappers:function(){return u},getReactMountReady:function(){return l},getUpdateQueue:function(){return this.updateQueue},destructor:function(){},checkpoint:function(){},rollback:function(){}};o(r.prototype,a,c),i.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){}var i=n(290),a=(n(14),function(){function e(t){r(this,e),this.transaction=t}return e.prototype.isMounted=function(e){return!1},e.prototype.enqueueCallback=function(e,t,n){this.transaction.isInTransaction()&&i.enqueueCallback(e,t,n)},e.prototype.enqueueForceUpdate=function(e){this.transaction.isInTransaction()?i.enqueueForceUpdate(e):o(e,"forceUpdate")},e.prototype.enqueueReplaceState=function(e,t){this.transaction.isInTransaction()?i.enqueueReplaceState(e,t):o(e,"replaceState")},e.prototype.enqueueSetState=function(e,t){this.transaction.isInTransaction()?i.enqueueSetState(e,t):o(e,"setState")},e}());e.exports=a},function(e,t){"use strict";e.exports="15.4.2"},function(e,t){"use strict";var n={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},r={accentHeight:"accent-height",accumulate:0,additive:0,alignmentBaseline:"alignment-baseline",allowReorder:"allowReorder",alphabetic:0,amplitude:0,arabicForm:"arabic-form",ascent:0,attributeName:"attributeName",attributeType:"attributeType",autoReverse:"autoReverse",azimuth:0,baseFrequency:"baseFrequency",baseProfile:"baseProfile",baselineShift:"baseline-shift",bbox:0,begin:0,bias:0,by:0,calcMode:"calcMode",capHeight:"cap-height",clip:0,clipPath:"clip-path",clipRule:"clip-rule",clipPathUnits:"clipPathUnits",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",contentScriptType:"contentScriptType",contentStyleType:"contentStyleType",cursor:0,cx:0,cy:0,d:0,decelerate:0,descent:0,diffuseConstant:"diffuseConstant",direction:0,display:0,divisor:0,dominantBaseline:"dominant-baseline",dur:0,dx:0,dy:0,edgeMode:"edgeMode",elevation:0,enableBackground:"enable-background",end:0,exponent:0,externalResourcesRequired:"externalResourcesRequired",fill:0,fillOpacity:"fill-opacity",fillRule:"fill-rule",filter:0,filterRes:"filterRes",filterUnits:"filterUnits",floodColor:"flood-color",floodOpacity:"flood-opacity",focusable:0,fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",glyphRef:"glyphRef",gradientTransform:"gradientTransform",gradientUnits:"gradientUnits",hanging:0,horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",ideographic:0,imageRendering:"image-rendering",in:0,in2:0,intercept:0,k:0,k1:0,k2:0,k3:0,k4:0,kernelMatrix:"kernelMatrix",kernelUnitLength:"kernelUnitLength",kerning:0,keyPoints:"keyPoints",keySplines:"keySplines",keyTimes:"keyTimes",lengthAdjust:"lengthAdjust",letterSpacing:"letter-spacing",lightingColor:"lighting-color",limitingConeAngle:"limitingConeAngle",local:0,markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",markerHeight:"markerHeight",markerUnits:"markerUnits",markerWidth:"markerWidth",mask:0,maskContentUnits:"maskContentUnits",maskUnits:"maskUnits",mathematical:0,mode:0,numOctaves:"numOctaves",offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pathLength:"pathLength",patternContentUnits:"patternContentUnits",patternTransform:"patternTransform",patternUnits:"patternUnits",pointerEvents:"pointer-events",points:0,pointsAtX:"pointsAtX",pointsAtY:"pointsAtY",pointsAtZ:"pointsAtZ",preserveAlpha:"preserveAlpha",preserveAspectRatio:"preserveAspectRatio",primitiveUnits:"primitiveUnits",r:0,radius:0,refX:"refX",refY:"refY",renderingIntent:"rendering-intent",repeatCount:"repeatCount",repeatDur:"repeatDur",requiredExtensions:"requiredExtensions",requiredFeatures:"requiredFeatures",restart:0,result:0,rotate:0,rx:0,ry:0,scale:0,seed:0,shapeRendering:"shape-rendering",slope:0,spacing:0,specularConstant:"specularConstant",specularExponent:"specularExponent",speed:0,spreadMethod:"spreadMethod",startOffset:"startOffset",stdDeviation:"stdDeviation",stemh:0,stemv:0,stitchTiles:"stitchTiles",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",string:0,stroke:0,strokeDasharray:"stroke-dasharray",strokeDashoffset:"stroke-dashoffset",strokeLinecap:"stroke-linecap",strokeLinejoin:"stroke-linejoin",strokeMiterlimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",surfaceScale:"surfaceScale",systemLanguage:"systemLanguage",tableValues:"tableValues",targetX:"targetX",targetY:"targetY",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",textLength:"textLength",to:0,transform:0,u1:0,u2:0,underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicode:0,unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",values:0,vectorEffect:"vector-effect",version:0,vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",viewBox:"viewBox",viewTarget:"viewTarget",visibility:0,widths:0,wordSpacing:"word-spacing",writingMode:"writing-mode",x:0,xHeight:"x-height",x1:0,x2:0,xChannelSelector:"xChannelSelector",xlinkActuate:"xlink:actuate",xlinkArcrole:"xlink:arcrole",xlinkHref:"xlink:href",xlinkRole:"xlink:role",xlinkShow:"xlink:show",xlinkTitle:"xlink:title",xlinkType:"xlink:type",xmlBase:"xml:base",xmlns:0,xmlnsXlink:"xmlns:xlink",xmlLang:"xml:lang",xmlSpace:"xml:space",y:0,y1:0,y2:0,yChannelSelector:"yChannelSelector",z:0,zoomAndPan:"zoomAndPan"},o={Properties:{},DOMAttributeNamespaces:{xlinkActuate:n.xlink,xlinkArcrole:n.xlink,xlinkHref:n.xlink,xlinkRole:n.xlink,xlinkShow:n.xlink,xlinkTitle:n.xlink,xlinkType:n.xlink,xmlBase:n.xml,xmlLang:n.xml,xmlSpace:n.xml},DOMAttributeNames:{}};Object.keys(r).forEach(function(e){o.Properties[e]=0,r[e]&&(o.DOMAttributeNames[e]=r[e])}),e.exports=o},function(e,t,n){"use strict";function r(e){if("selectionStart"in e&&u.hasSelectionCapabilities(e))return{start:e.selectionStart,end:e.selectionEnd};if(window.getSelection){var t=window.getSelection();return{anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}}if(document.selection){var n=document.selection.createRange();return{parentElement:n.parentElement(),text:n.text,top:n.boundingTop,left:n.boundingLeft}}}function o(e,t){if(y||null==m||m!==c())return null;var n=r(m);if(!g||!f(g,n)){g=n;var o=l.getPooled(h.select,v,e,t);return o.type="select",o.target=m,i.accumulateTwoPhaseDispatches(o),o}return null}var i=n(119),a=n(36),s=n(27),u=n(437),l=n(72),c=n(388),d=n(445),f=n(260),p=a.canUseDOM&&"documentMode"in document&&document.documentMode<=11,h={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:["topBlur","topContextMenu","topFocus","topKeyDown","topKeyUp","topMouseDown","topMouseUp","topSelectionChange"]}},m=null,v=null,g=null,y=!1,b=!1,_={eventTypes:h,extractEvents:function(e,t,n,r){if(!b)return null;var i=t?s.getNodeFromInstance(t):window;switch(e){case"topFocus":(d(i)||"true"===i.contentEditable)&&(m=i,v=t,g=null);break;case"topBlur":m=null,v=null,g=null;break;case"topMouseDown":y=!0;break;case"topContextMenu":case"topMouseUp":return y=!1,o(n,r);case"topSelectionChange":if(p)break;case"topKeyDown":case"topKeyUp":return o(n,r)}return null},didPutListener:function(e,t,n){"onSelect"===t&&(b=!0)}};e.exports=_},function(e,t,n){"use strict";function r(e){return"."+e._rootNodeID}function o(e){return"button"===e||"input"===e||"select"===e||"textarea"===e}var i=n(16),a=n(386),s=n(119),u=n(27),l=n(1043),c=n(1044),d=n(72),f=n(1047),p=n(1049),h=n(194),m=n(1046),v=n(1050),g=n(1051),y=n(121),b=n(1052),_=n(52),w=n(293),C=(n(11),{}),x={};["abort","animationEnd","animationIteration","animationStart","blur","canPlay","canPlayThrough","click","contextMenu","copy","cut","doubleClick","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","focus","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","progress","rateChange","reset","scroll","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchMove","touchStart","transitionEnd","volumeChange","waiting","wheel"].forEach(function(e){var t=e[0].toUpperCase()+e.slice(1),n="on"+t,r="top"+t,o={phasedRegistrationNames:{bubbled:n,captured:n+"Capture"},dependencies:[r]};C[e]=o,x[r]=o});var E={},T={eventTypes:C,extractEvents:function(e,t,n,r){var o=x[e];if(!o)return null;var a;switch(e){case"topAbort":case"topCanPlay":case"topCanPlayThrough":case"topDurationChange":case"topEmptied":case"topEncrypted":case"topEnded":case"topError":case"topInput":case"topInvalid":case"topLoad":case"topLoadedData":case"topLoadedMetadata":case"topLoadStart":case"topPause":case"topPlay":case"topPlaying":case"topProgress":case"topRateChange":case"topReset":case"topSeeked":case"topSeeking":case"topStalled":case"topSubmit":case"topSuspend":case"topTimeUpdate":case"topVolumeChange":case"topWaiting":a=d;break;case"topKeyPress":if(0===w(n))return null;case"topKeyDown":case"topKeyUp":a=p;break;case"topBlur":case"topFocus":a=f;break;case"topClick":if(2===n.button)return null;case"topDoubleClick":case"topMouseDown":case"topMouseMove":case"topMouseUp":case"topMouseOut":case"topMouseOver":case"topContextMenu":a=h;break;case"topDrag":case"topDragEnd":case"topDragEnter":case"topDragExit":case"topDragLeave":case"topDragOver":case"topDragStart":case"topDrop":a=m;break;case"topTouchCancel":case"topTouchEnd":case"topTouchMove":case"topTouchStart":a=v;break;case"topAnimationEnd":case"topAnimationIteration":case"topAnimationStart":a=l;break;case"topTransitionEnd":a=g;break;case"topScroll":a=y;break;case"topWheel":a=b;break;case"topCopy":case"topCut":case"topPaste":a=c}a?void 0:i("86",e);var u=a.getPooled(o,t,n,r);return s.accumulateTwoPhaseDispatches(u),u},didPutListener:function(e,t,n){if("onClick"===t&&!o(e._tag)){var i=r(e),s=u.getNodeFromInstance(e);E[i]||(E[i]=a.listen(s,"click",_))}},willDeleteListener:function(e,t){if("onClick"===t&&!o(e._tag)){var n=r(e);E[n].remove(),delete E[n]}}};e.exports=T},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(72),i={animationName:null,elapsedTime:null,pseudoElement:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(72),i={clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}};o.augmentClass(r,i),e.exports=r;
-},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(72),i={data:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(194),i={dataTransfer:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(121),i={relatedTarget:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(72),i={data:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(121),i=n(293),a=n(1057),s=n(294),u={key:a,location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:s,charCode:function(e){return"keypress"===e.type?i(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?i(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}};o.augmentClass(r,u),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(121),i=n(294),a={touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:i};o.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(72),i={propertyName:null,elapsedTime:null,pseudoElement:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(194),i={deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null};o.augmentClass(r,i),e.exports=r},function(e,t){"use strict";function n(e){for(var t=1,n=0,o=0,i=e.length,a=i&-4;o<a;){for(var s=Math.min(o+4096,a);o<s;o+=4)n+=(t+=e.charCodeAt(o))+(t+=e.charCodeAt(o+1))+(t+=e.charCodeAt(o+2))+(t+=e.charCodeAt(o+3));t%=r,n%=r}for(;o<i;o++)n+=t+=e.charCodeAt(o);return t%=r,n%=r,t|n<<16}var r=65521;e.exports=n},function(e,t,n){"use strict";function r(e,t,n){var r=null==t||"boolean"==typeof t||""===t;if(r)return"";var o=isNaN(t);if(o||0===t||i.hasOwnProperty(e)&&i[e])return""+t;if("string"==typeof t){t=t.trim()}return t+"px"}var o=n(429),i=(n(14),o.isUnitlessNumber);e.exports=r},function(e,t,n){"use strict";function r(e){if(null==e)return null;if(1===e.nodeType)return e;var t=a.get(e);return t?(t=s(t),t?i.getNodeFromInstance(t):null):void("function"==typeof e.render?o("44"):o("45",Object.keys(e)))}var o=n(16),i=(n(73),n(27)),a=n(148),s=n(442);n(11),n(14);e.exports=r},function(e,t,n){(function(t){"use strict";function r(e,t,n,r){if(e&&"object"==typeof e){var o=e,i=void 0===o[n];i&&null!=t&&(o[n]=t)}}function o(e,t){if(null==e)return e;var n={};return i(e,r,n),n}var i=(n(286),n(447));n(14);"undefined"!=typeof t&&t.env,1,e.exports=o}).call(t,n(159))},function(e,t,n){"use strict";function r(e){if(e.key){var t=i[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=o(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?a[e.keyCode]||"Unidentified":""}var o=n(293),i={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},a={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};e.exports=r},470,function(e,t){"use strict";function n(){return r++}var r=1;e.exports=n},function(e,t){"use strict";function n(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function r(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function o(e,t){for(var o=n(e),i=0,a=0;o;){if(3===o.nodeType){if(a=i+o.textContent.length,i<=t&&a>=t)return{node:o,offset:t-i};i=a}o=n(r(o))}}e.exports=o},function(e,t,n){"use strict";function r(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n["ms"+e]="MS"+t,n["O"+e]="o"+t.toLowerCase(),n}function o(e){if(s[e])return s[e];if(!a[e])return e;var t=a[e];for(var n in t)if(t.hasOwnProperty(n)&&n in u)return s[e]=t[n];return""}var i=n(36),a={animationend:r("Animation","AnimationEnd"),animationiteration:r("Animation","AnimationIteration"),animationstart:r("Animation","AnimationStart"),transitionend:r("Transition","TransitionEnd")},s={},u={};i.canUseDOM&&(u=document.createElement("div").style,"AnimationEvent"in window||(delete a.animationend.animation,delete a.animationiteration.animation,delete a.animationstart.animation),"TransitionEvent"in window||delete a.transitionend.transition),e.exports=o},function(e,t,n){"use strict";function r(e){return'"'+o(e)+'"'}var o=n(196);e.exports=r},function(e,t,n){"use strict";var r=n(438);e.exports=r.renderSubtreeIntoContainer},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.default=void 0;var o,i,a=n(10),s=r(a),u=n(3),l=r(u),c=n(8),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),v=n(448),g=r(v),y=(i=o=function(e){function t(n){(0,l.default)(this,t);var r=(0,d.default)(this,e.call(this,n));return r.state={expanded:!1},r.handleClick=r.handleClick.bind(r),r}return(0,p.default)(t,e),t.prototype.render=function(){var e=this.props,t=e.styling,n=e.from,r=e.to,o=e.renderChildNodes,i=e.nodeType;return this.state.expanded?m.default.createElement("div",t("itemRange",this.state.expanded),o(this.props,n,r)):m.default.createElement("div",(0,s.default)({},t("itemRange",this.state.expanded),{onClick:this.handleClick}),m.default.createElement(g.default,{nodeType:i,styling:t,expanded:!1,onClick:this.handleClick,arrowStyle:"double"}),n+" ... "+r)},t.prototype.handleClick=function(){this.setState({expanded:!this.state.expanded})},t}(m.default.Component),o.propTypes={styling:h.PropTypes.func.isRequired,from:h.PropTypes.number.isRequired,to:h.PropTypes.number.isRequired,renderChildNodes:h.PropTypes.func.isRequired,nodeType:h.PropTypes.string.isRequired},i);t.default=y},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return e.length+" "+(1!==e.length?"items":"item")}t.__esModule=!0;var i=n(10),a=r(i),s=n(136),u=r(s),l=n(1),c=r(l),d=n(299),f=r(d),p=function(e){var t=e.data,n=(0,u.default)(e,["data"]);return c.default.createElement(f.default,(0,a.default)({},n,{data:t,nodeType:"Array",nodeTypeIndicator:"[]",createItemString:o,expandable:t.length>0}))};p.propTypes={data:l.PropTypes.array},t.default=p},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=0,r=!1;if((0,p.default)(e.size))n=e.size;else for(var o=e,i=Array.isArray(o),a=0,o=i?o:(0,d.default)(o);;){var s;if(i){if(a>=o.length)break;s=o[a++]}else{if(a=o.next(),a.done)break;s=a.value}if(t&&n+1>t){r=!0;break}n+=1}return""+(r?">":"")+n+" "+(1!==n?"entries":"entry")}function i(e){var t=(0,l.default)(e,[]);return m.default.createElement(g.default,(0,s.default)({},t,{nodeType:"Iterable",nodeTypeIndicator:"()",createItemString:o}))}t.__esModule=!0;var a=n(10),s=r(a),u=n(136),l=r(u),c=n(217),d=r(c),f=n(539),p=r(f);t.default=i;var h=n(1),m=r(h),v=n(299),g=r(v)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=(0,c.default)(e).length;return t+" "+(1!==t?"keys":"key")}t.__esModule=!0;var i=n(10),a=r(i),s=n(136),u=r(s),l=n(337),c=r(l),d=n(1),f=r(d),p=n(299),h=r(p),m=function(e){var t=e.data,n=(0,u.default)(e,["data"]);return f.default.createElement(h.default,(0,a.default)({},n,{data:t,nodeType:"Object",nodeTypeIndicator:"Error"===n.nodeType?"Error()":"{}",createItemString:o,expandable:(0,c.default)(t).length>0}))};m.propTypes={data:d.PropTypes.object,nodeType:d.PropTypes.string},t.default=m},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(1),i=r(o),a=function(e){var t=e.nodeType,n=e.styling,r=e.labelRenderer,o=e.keyPath,a=e.valueRenderer,s=e.value,u=e.valueGetter;return i.default.createElement("li",n("value",t,o),i.default.createElement("label",n(["label","valueLabel"],t,o),r(o,t,!1,!1)),i.default.createElement("span",n("valueText",t,o),a.apply(void 0,[u(s),s].concat(o))))};a.propTypes={nodeType:o.PropTypes.string.isRequired,styling:o.PropTypes.func.isRequired,labelRenderer:o.PropTypes.func.isRequired,keyPath:o.PropTypes.arrayOf(o.PropTypes.oneOfType([o.PropTypes.string,o.PropTypes.number])).isRequired,valueRenderer:o.PropTypes.func.isRequired,value:o.PropTypes.any,valueGetter:o.PropTypes.func},a.defaultProps={valueGetter:function(e){return e}},t.default=a},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(10),i=r(o),a=n(1072),s=r(a),u=n(421),l=function(e){return{BACKGROUND_COLOR:e.base00,TEXT_COLOR:e.base07,STRING_COLOR:e.base0B,DATE_COLOR:e.base0B,NUMBER_COLOR:e.base09,BOOLEAN_COLOR:e.base09,NULL_COLOR:e.base08,UNDEFINED_COLOR:e.base08,FUNCTION_COLOR:e.base08,SYMBOL_COLOR:e.base08,LABEL_COLOR:e.base0D,ARROW_COLOR:e.base0D,ITEM_STRING_COLOR:e.base0B,ITEM_STRING_EXPANDED_COLOR:e.base03}},c=function(e){return{String:e.STRING_COLOR,Date:e.DATE_COLOR,Number:e.NUMBER_COLOR,Boolean:e.BOOLEAN_COLOR,Null:e.NULL_COLOR,Undefined:e.UNDEFINED_COLOR,Function:e.FUNCTION_COLOR,Symbol:e.SYMBOL_COLOR}},d=function(e){var t=l(e);return{tree:{border:0,padding:0,marginTop:"0.5em",marginBottom:"0.5em",marginLeft:"0.125em",marginRight:0,listStyle:"none",MozUserSelect:"none",WebkitUserSelect:"none",backgroundColor:t.BACKGROUND_COLOR},value:function(e,t,n){var r=e.style;return{style:(0,i.default)({},r,{paddingTop:"0.25em",paddingRight:0,marginLeft:"0.875em",WebkitUserSelect:"text",MozUserSelect:"text",wordWrap:"break-word",paddingLeft:n.length>1?"2.125em":"1.25em",textIndent:"-0.5em",wordBreak:"break-all"})}},label:{display:"inline-block",color:t.LABEL_COLOR},valueLabel:{margin:"0 0.5em 0 0"},valueText:function(e,n){var r=e.style;return{style:(0,i.default)({},r,{color:c(t)[n]})}},itemRange:function(e,n){e.style;return{style:{paddingTop:n?0:"0.25em",cursor:"pointer",color:t.LABEL_COLOR}}},arrow:function(e,t,n){var r=e.style;return{style:(0,i.default)({},r,{marginLeft:0,transition:"150ms",WebkitTransition:"150ms",MozTransition:"150ms",WebkitTransform:n?"rotateZ(90deg)":"rotateZ(0deg)",MozTransform:n?"rotateZ(90deg)":"rotateZ(0deg)",transform:n?"rotateZ(90deg)":"rotateZ(0deg)",transformOrigin:"45% 50%",WebkitTransformOrigin:"45% 50%",MozTransformOrigin:"45% 50%",position:"relative",lineHeight:"1.1em",fontSize:"0.75em"})}},arrowContainer:function(e,t){var n=e.style;return{style:(0,i.default)({},n,{display:"inline-block",paddingRight:"0.5em",paddingLeft:"double"===t?"1em":0,cursor:"pointer"})}},arrowSign:{color:t.ARROW_COLOR},arrowSignInner:{position:"absolute",top:0,left:"-0.4em"},nestedNode:function(e,t,n,r,o){var a=e.style;return{style:(0,i.default)({},a,{position:"relative",paddingTop:"0.25em",marginLeft:t.length>1?"0.875em":0,paddingLeft:o?0:"1.125em"})}},rootNode:{padding:0,margin:0},nestedNodeLabel:function(e,t,n,r,o){var a=e.style;return{style:(0,i.default)({},a,{margin:0,padding:0,WebkitUserSelect:o?"inherit":"text",MozUserSelect:o?"inherit":"text",cursor:o?"pointer":"default"})}},nestedNodeItemString:function(e,n,r,o){var a=e.style;return{style:(0,i.default)({},a,{paddingLeft:"0.5em",cursor:"default",color:o?t.ITEM_STRING_EXPANDED_COLOR:t.ITEM_STRING_COLOR})}},nestedNodeItemType:{marginLeft:"0.3em",marginRight:"0.3em"},nestedNodeChildren:function(e,t,n){var r=e.style;return{style:(0,i.default)({},r,{padding:0,margin:0,listStyle:"none",display:n?"block":"none"})}},rootNodeChildren:{padding:0,margin:0,listStyle:"none"}}};t.default=(0,u.createStyling)(d,{defaultBase16:s.default})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return"Object"===e?(0,h.default)(t).length:"Array"===e?t.length:1/0}function i(e){return"function"==typeof e.set}function a(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1/0,a=void 0;if("Object"===e){var s=(0,f.default)(t);"undefined"!=typeof n&&s.sort(n),s=s.slice(r,o+1),a={entries:s.map(function(e){return{key:e,value:t[e]}})}}else if("Array"===e)a={entries:t.slice(r,o+1).map(function(e,t){return{key:t+r,value:e}})};else{for(var u=0,l=[],d=!0,p=i(t),h=t,m=Array.isArray(h),v=0,h=m?h:(0,c.default)(h);;){var g;if(m){if(v>=h.length)break;g=h[v++]}else{if(v=h.next(),v.done)break;g=v.value}var y=g;if(u>o){d=!1;break}r<=u&&(p&&Array.isArray(y)?"string"==typeof y[0]||"number"==typeof y[0]?l.push({key:y[0],value:y[1]}):l.push({key:"[entry "+u+"]",value:{"[key]":y[0],"[value]":y[1]}}):l.push({key:u,value:y})),u++}a={hasMore:!d,entries:l}}return a}function s(e,t,n){for(var r=[];t-e>n*n;)n*=n;for(var o=e;o<=t;o+=n)r.push({from:o,to:Math.min(t,o+n-1)});return r}function u(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,u=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1/0,l=a.bind(null,e,t,n);if(!r)return l().entries;var c=u<1/0,d=Math.min(u-i,o(e,t));if("Iterable"!==e){if(d<=r||r<7)return l(i,u).entries}else if(d<=r&&!c)return l(i,u).entries;var f=void 0;if("Iterable"===e){var p=l(i,i+r-1),h=p.hasMore,m=p.entries;f=h?[].concat(m,s(i+r,i+2*r-1,r)):m}else f=c?s(i,u,r):[].concat(l(0,r-5).entries,s(r-4,d-5,r),l(d-4,d-1).entries);return f}t.__esModule=!0;var l=n(217),c=r(l),d=n(337),f=r(d),p=n(105),h=r(p);t.default=u},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&"function"==typeof e[a.default]?"Iterable":t}t.__esModule=!0;var i=n(338),a=r(i);t.default=o},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"solarized",author:"ethan schoonover (http://ethanschoonover.com/solarized)",base00:"#002b36",base01:"#073642",base02:"#586e75",base03:"#657b83",base04:"#839496",base05:"#93a1a1",base06:"#eee8d5",base07:"#fdf6e3",base08:"#dc322f",base09:"#cb4b16",base0A:"#b58900",base0B:"#859900",base0C:"#2aa198",base0D:"#268bd2",base0E:"#6c71c4",base0F:"#d33682"}},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(t){n(this,e);var r=navigator.language||navigator.userLanguage;this.props=t,this.setLanguage(r)}return r(e,[{key:"_getBestMatchingLanguage",value:function(e,t){if(t[e])return e;var n=e.indexOf("-");return n>=0&&(e=e.substring(0,n),t[e])?e:Object.keys(t)[0]}}]),r(e,[{key:"setLanguage",value:function(e){var t=this._getBestMatchingLanguage(e,this.props);if(this.language=t,this.props[t]){var n=this.props[this.language];for(var r in n)n.hasOwnProperty(r)&&(this[r]=n[r])}}},{key:"getLanguage",value:function(){return this.language}},{key:"getInterfaceLanguage",value:function(){return interfaceLanguage}},{key:"getAvailableLanguages",value:function(){if(!this.availableLanguages){this.availableLanguages=[];for(var e in this.props)this.availableLanguages.push(e)}return this.availableLanguages}},{key:"formatString",value:function(e){for(var t=e,n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];for(var i=0;i<r.length;i++)t=this._replaceAll("{"+i+"}",r[i],t);return t}},{key:"_replaceAll",value:function(e,t,n){return e=e.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1"),n.replace(new RegExp(e,"g"),t)}}]),e}();t.default=o,e.exports=t.default},function(e,t){"use strict";function n(e,t){if(e===t)return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=Object.prototype.hasOwnProperty.bind(t),i=0;i<n.length;i++)if(!o(n[i])||e[n[i]]!==t[n[i]])return!1;return!0}t.__esModule=!0,t.default=n,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t.default=void 0;var s=n(1),u=n(453),l=n(300),c=(r(l),function(e){function t(n,r){o(this,t);var a=i(this,e.call(this,n,r));return a.store=n.store,a}return a(t,e),t.prototype.getChildContext=function(){return{store:this.store,storeSubscription:null}},t.prototype.render=function(){return s.Children.only(this.props.children)},t}(s.Component));t.default=c,c.propTypes={store:u.storeShape.isRequired,children:s.PropTypes.element.isRequired},c.childContextTypes={store:u.storeShape.isRequired,storeSubscription:u.subscriptionShape},c.displayName="Provider"},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t,n){for(var r=t.length-1;r>=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function a(e,t){return e===t}function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.connectHOC,n=void 0===t?c.default:t,r=e.mapStateToPropsFactories,s=void 0===r?v.default:r,l=e.mapDispatchToPropsFactories,d=void 0===l?h.default:l,p=e.mergePropsFactories,m=void 0===p?y.default:p,g=e.selectorFactory,b=void 0===g?_.default:g;return function(e,t,r){var l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},c=l.pure,p=void 0===c||c,h=l.areStatesEqual,v=void 0===h?a:h,g=l.areOwnPropsEqual,y=void 0===g?f.default:g,_=l.areStatePropsEqual,w=void 0===_?f.default:_,C=l.areMergedPropsEqual,x=void 0===C?f.default:C,E=o(l,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),T=i(e,s,"mapStateToProps"),k=i(t,d,"mapDispatchToProps"),S=i(r,m,"mergeProps");return n(b,u({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:T,initMapDispatchToProps:k,initMergeProps:S,pure:p,areStatesEqual:v,areOwnPropsEqual:y,areStatePropsEqual:w,areMergedPropsEqual:x},E))}}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.createConnect=s;var l=n(451),c=r(l),d=n(1083),f=r(d),p=n(1077),h=r(p),m=n(1078),v=r(m),g=n(1079),y=r(g),b=n(1080),_=r(b);t.default=s()},function(e,t,n){"use strict";function r(e){return"function"==typeof e?(0,s.wrapMapToPropsFunc)(e,"mapDispatchToProps"):void 0}function o(e){return e?void 0:(0,s.wrapMapToPropsConstant)(function(e){return{dispatch:e}})}function i(e){return e&&"object"==typeof e?(0,s.wrapMapToPropsConstant)(function(t){return(0,a.bindActionCreators)(e,t)}):void 0}t.__esModule=!0,t.whenMapDispatchToPropsIsFunction=r,t.whenMapDispatchToPropsIsMissing=o,t.whenMapDispatchToPropsIsObject=i;var a=n(309),s=n(452);t.default=[r,o,i]},function(e,t,n){"use strict";function r(e){return"function"==typeof e?(0,i.wrapMapToPropsFunc)(e,"mapStateToProps"):void 0}function o(e){return e?void 0:(0,i.wrapMapToPropsConstant)(function(){return{}})}t.__esModule=!0,t.whenMapStateToPropsIsFunction=r,t.whenMapStateToPropsIsMissing=o;var i=n(452);t.default=[r,o]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return u({},n,e,t)}function i(e){return function(t,n){var r=(n.displayName,n.pure),o=n.areMergedPropsEqual,i=!1,a=void 0;return function(t,n,s){var u=e(t,n,s);return i?r&&o(u,a)||(a=u):(i=!0,a=u),a}}}function a(e){return"function"==typeof e?i(e):void 0}function s(e){return e?void 0:function(){return o}}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.defaultMergeProps=o,t.wrapMergePropsFunc=i,t.whenMergePropsIsFunction=a,t.whenMergePropsIsOmitted=s;var l=n(454);r(l);t.default=[a,s]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t,n,r){return function(o,i){return n(e(o,i),t(r,i),i)}}function a(e,t,n,r,o){function i(o,i){return h=o,m=i,v=e(h,m),g=t(r,m),y=n(v,g,m),p=!0,y}function a(){return v=e(h,m),t.dependsOnOwnProps&&(g=t(r,m)),y=n(v,g,m)}function s(){return e.dependsOnOwnProps&&(v=e(h,m)),t.dependsOnOwnProps&&(g=t(r,m)),y=n(v,g,m)}function u(){var t=e(h,m),r=!f(t,v);return v=t,r&&(y=n(v,g,m)),y}function l(e,t){var n=!d(t,m),r=!c(e,h);return h=e,m=t,n&&r?a():n?s():r?u():y}var c=o.areStatesEqual,d=o.areOwnPropsEqual,f=o.areStatePropsEqual,p=!1,h=void 0,m=void 0,v=void 0,g=void 0,y=void 0;return function(e,t){return p?l(e,t):i(e,t)}}function s(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,s=t.initMergeProps,u=o(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),l=n(e,u),c=r(e,u),d=s(e,u),f=u.pure?a:i;return f(l,c,d,e,u)}t.__esModule=!0,t.impureFinalPropsSelectorFactory=i,t.pureFinalPropsSelectorFactory=a,t.default=s;var u=n(1081);r(u)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){if(!e)throw new Error("Unexpected value for "+t+" in "+n+".");"mapStateToProps"!==t&&"mapDispatchToProps"!==t||e.hasOwnProperty("dependsOnOwnProps")||(0,s.default)("The selector for "+t+" of "+n+" did not specify a value for dependsOnOwnProps.")}function i(e,t,n,r){o(e,"mapStateToProps",r),o(t,"mapDispatchToProps",r),o(n,"mergeProps",r)}t.__esModule=!0,t.default=i;var a=n(300),s=r(a)},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(){var e=[],t=[];return{clear:function(){t=o,e=o},notify:function(){for(var n=e=t,r=0;r<n.length;r++)n[r]()},subscribe:function(n){var r=!0;return t===e&&(t=e.slice()),t.push(n),function(){r&&e!==o&&(r=!1,t===e&&(t=e.slice()),t.splice(t.indexOf(n),1))}}}}t.__esModule=!0;var o=null,i={notify:function(){}},a=function(){function e(t,r,o){n(this,e),this.store=t,this.parentSub=r,this.onStateChange=o,this.unsubscribe=null,this.listeners=i}return e.prototype.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},e.prototype.notifyNestedSubs=function(){this.listeners.notify()},e.prototype.isSubscribed=function(){return Boolean(this.unsubscribe)},e.prototype.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.onStateChange):this.store.subscribe(this.onStateChange),this.listeners=r())},e.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=i)},e}();t.default=a},function(e,t){"use strict";function n(e,t){return e===t?0!==e||0!==t||1/e===1/t:e!==e&&t!==t}function r(e,t){if(n(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),i=Object.keys(t);if(r.length!==i.length)return!1;for(var a=0;a<r.length;a++)if(!o.call(t,r[a])||!n(e[r[a]],t[r[a]]))return!1;return!0}t.__esModule=!0,t.default=r;var o=Object.prototype.hasOwnProperty},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(1),a=r(i),s=n(455),u=r(s),l=a.default.createClass({displayName:"IndexLink",render:function(){return a.default.createElement(u.default,o({},this.props,{onlyActiveOnIndex:!0}))}});t.default=l,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(1),i=r(o),a=n(123),s=(r(a),n(17)),u=r(s),l=n(457),c=r(l),d=n(150),f=i.default.PropTypes,p=f.string,h=f.object,m=i.default.createClass({displayName:"IndexRedirect",statics:{createRouteFromReactElement:function(e,t){t&&(t.indexRoute=c.default.createRouteFromReactElement(e))}},propTypes:{to:p.isRequired,query:h,state:h,onEnter:d.falsy,children:d.falsy},render:function(){(0,u.default)(!1)}});t.default=m,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(1),i=r(o),a=n(123),s=(r(a),n(17)),u=r(s),l=n(80),c=n(150),d=i.default.PropTypes.func,f=i.default.createClass({displayName:"IndexRoute",statics:{createRouteFromReactElement:function(e,t){t&&(t.indexRoute=(0,l.createRouteFromReactElement)(e))}},propTypes:{path:c.falsy,component:c.component,components:c.components,getComponent:d,getComponents:d},render:function(){(0,u.default)(!1)}});t.default=f,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(1),i=r(o),a=n(17),s=r(a),u=n(80),l=n(150),c=i.default.PropTypes,d=c.string,f=c.func,p=i.default.createClass({displayName:"Route",statics:{createRouteFromReactElement:u.createRouteFromReactElement},propTypes:{path:d,component:l.component,components:l.components,getComponent:f,getComponents:f},render:function(){(0,s.default)(!1)}});t.default=p,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(17),s=r(a),u=n(1),l=r(u),c=n(461),d=r(c),f=n(150),p=n(304),h=r(p),m=n(80),v=n(458),g=n(123),y=(r(g),l.default.PropTypes),b=y.func,_=y.object,w={history:_,children:f.routes,routes:f.routes,render:b,createElement:b,onError:b,onUpdate:b,matchContext:_},C=l.default.createClass({displayName:"Router",propTypes:w,getDefaultProps:function(){return{render:function(e){return l.default.createElement(h.default,e)}}},getInitialState:function(){return{location:null,routes:null,params:null,components:null}},handleError:function(e){if(!this.props.onError)throw e;this.props.onError.call(this,e)},createRouterObject:function(e){var t=this.props.matchContext;if(t)return t.router;var n=this.props.history;return(0,v.createRouterObject)(n,this.transitionManager,e)},createTransitionManager:function(){var e=this.props.matchContext;if(e)return e.transitionManager;var t=this.props.history,n=this.props,r=n.routes,o=n.children;return t.getCurrentLocation?void 0:(0,s.default)(!1),(0,d.default)(t,(0,m.createRoutes)(r||o))},componentWillMount:function(){var e=this;this.transitionManager=this.createTransitionManager(),this.router=this.createRouterObject(this.state),this._unlisten=this.transitionManager.listen(function(t,n){t?e.handleError(t):((0,v.assignRouterState)(e.router,n),e.setState(n,e.props.onUpdate))})},componentWillReceiveProps:function(e){},componentWillUnmount:function(){this._unlisten&&this._unlisten()},render:function e(){var t=this.state,n=t.location,r=t.routes,a=t.params,s=t.components,u=this.props,l=u.createElement,e=u.render,c=o(u,["createElement","render"]);return null==n?null:(Object.keys(w).forEach(function(e){return delete c[e]}),e(i({},c,{router:this.router,location:n,routes:r,params:a,components:s,createElement:l})))}});t.default=C,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t,n,r){var o=e.length<n,i=function(){for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];if(e.apply(t,r),o){var a=r[r.length-1];a()}};return r.add(i),i}function i(e){return e.reduce(function(e,t){return t.onEnter&&e.push(o(t.onEnter,t,3,p)),e},[])}function a(e){return e.reduce(function(e,t){return t.onChange&&e.push(o(t.onChange,t,4,h)),e},[])}function s(e,t,n){function r(e){o=e}if(!e)return void n();var o=void 0;(0,d.loopAsync)(e,function(e,n,i){t(e,r,function(e){e||o?i(e,o):n()})},n)}function u(e,t,n){p.clear();var r=i(e);return s(r.length,function(e,n,o){var i=function(){p.has(r[e])&&(o.apply(void 0,arguments),p.remove(r[e]))};r[e](t,n,i)},n)}function l(e,t,n,r){h.clear();var o=a(e);return s(o.length,function(e,r,i){var a=function(){h.has(o[e])&&(i.apply(void 0,arguments),h.remove(o[e]))};o[e](t,n,r,a)},r)}function c(e,t){for(var n=0,r=e.length;n<r;++n)e[n].onLeave&&e[n].onLeave.call(e[n],t)}t.__esModule=!0,t.runEnterHooks=u,t.runChangeHooks=l,t.runLeaveHooks=c;var d=n(301),f=function e(){var t=this;r(this,e),this.hooks=[],this.add=function(e){return t.hooks.push(e)},this.remove=function(e){return t.hooks=t.hooks.filter(function(t){return t!==e})},this.has=function(e){return t.hooks.indexOf(e)!==-1},this.clear=function(){return t.hooks=[]}},p=new f,h=new f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(1),a=r(i),s=n(304),u=r(s),l=n(123);r(l);t.default=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.map(function(e){return e.renderRouterContext}).filter(Boolean),s=t.map(function(e){return e.renderRouteComponent}).filter(Boolean),l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.createElement;return function(t,n){return s.reduceRight(function(e,t){return t(e,n)},e(t,n))}};return function(e){return r.reduceRight(function(t,n){return n(t,e)},a.default.createElement(u.default,o({},e,{createElement:l(e.createElement)})))}},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(853),i=r(o),a=n(460),s=r(a);t.default=(0,s.default)(i.default),e.exports=t.default},function(e,t,n){"use strict";function r(e,t,n){if(!e.path)return!1;var r=(0,i.getParamNames)(e.path);return r.some(function(e){return t.params[e]!==n.params[e]})}function o(e,t){var n=e&&e.routes,o=t.routes,i=void 0,a=void 0,s=void 0;if(n){var u=!1;i=n.filter(function(n){if(u)return!0;var i=o.indexOf(n)===-1||r(n,e,t);return i&&(u=!0),i}),i.reverse(),s=[],a=[],o.forEach(function(e){var t=n.indexOf(e)===-1,r=i.indexOf(e)!==-1;t||r?s.push(e):a.push(e)})}else i=[],a=[],s=o;return{leaveRoutes:i,changeRoutes:a,enterRoutes:s}}t.__esModule=!0;var i=n(122);t.default=o,e.exports=t.default},function(e,t,n){"use strict";function r(e,t,n){if(t.component||t.components)return void n(null,t.component||t.components);var r=t.getComponent||t.getComponents;if(r){var o=r.call(t,e,n);(0,a.isPromise)(o)&&o.then(function(e){return n(null,e)},n)}else n()}function o(e,t){(0,i.mapAsync)(e.routes,function(t,n,o){r(e,t,o)},t)}t.__esModule=!0;var i=n(301),a=n(456);t.default=o,
-e.exports=t.default},function(e,t,n){"use strict";function r(e,t){var n={};return e.path?((0,o.getParamNames)(e.path).forEach(function(e){Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e])}),n):n}t.__esModule=!0;var o=n(122);t.default=r,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(854),i=r(o),a=n(460),s=r(a);t.default=(0,s.default)(i.default),e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if(e==t)return!0;if(null==e||null==t)return!1;if(Array.isArray(e))return Array.isArray(t)&&e.length===t.length&&e.every(function(e,n){return r(e,t[n])});if("object"===("undefined"==typeof e?"undefined":u(e))){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))if(void 0===e[n]){if(void 0!==t[n])return!1}else{if(!Object.prototype.hasOwnProperty.call(t,n))return!1;if(!r(e[n],t[n]))return!1}return!0}return String(e)===String(t)}function o(e,t){return"/"!==t.charAt(0)&&(t="/"+t),"/"!==e.charAt(e.length-1)&&(e+="/"),"/"!==t.charAt(t.length-1)&&(t+="/"),t===e}function i(e,t,n){for(var r=e,o=[],i=[],a=0,s=t.length;a<s;++a){var u=t[a],c=u.path||"";if("/"===c.charAt(0)&&(r=e,o=[],i=[]),null!==r&&c){var d=(0,l.matchPattern)(c,r);if(d?(r=d.remainingPathname,o=[].concat(o,d.paramNames),i=[].concat(i,d.paramValues)):r=null,""===r)return o.every(function(e,t){return String(i[t])===String(n[e])})}}return!1}function a(e,t){return null==t?null==e:null==e||r(e,t)}function s(e,t,n,r,s){var u=e.pathname,l=e.query;return null!=n&&("/"!==u.charAt(0)&&(u="/"+u),!!(o(u,n.pathname)||!t&&i(u,r,s))&&a(l,n.query))}t.__esModule=!0;var u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=s;var l=n(122);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){var n=e.history,r=e.routes,i=e.location,u=o(e,["history","routes","location"]);n||i?void 0:(0,l.default)(!1),n=n?n:(0,d.default)(u);var c=(0,p.default)(n,(0,h.createRoutes)(r));i=i?n.createLocation(i):n.getCurrentLocation(),c.match(i,function(e,r,o){var i=void 0;if(o){var u=(0,m.createRouterObject)(n,c,o);i=a({},o,{router:u,matchContext:{transitionManager:c,router:u}})}t(e,r&&n.createLocation(r,s.REPLACE),i)})}t.__esModule=!0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(178),u=n(17),l=r(u),c=n(459),d=r(c),f=n(461),p=r(f),h=n(80),m=n(458);t.default=i,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n,r,o){if(e.childRoutes)return[null,e.childRoutes];if(!e.getChildRoutes)return[];var i=!0,a=void 0,u={location:t,params:s(n,r)},l=e.getChildRoutes(u,function(e,t){return t=!e&&(0,m.createRoutes)(t),i?void(a=[e,t]):void o(e,t)});return(0,f.isPromise)(l)&&l.then(function(e){return o(null,(0,m.createRoutes)(e))},o),i=!1,a}function i(e,t,n,r,a){if(e.indexRoute)a(null,e.indexRoute);else if(e.getIndexRoute){var u={location:t,params:s(n,r)},l=e.getIndexRoute(u,function(e,t){a(e,!e&&(0,m.createRoutes)(t)[0])});(0,f.isPromise)(l)&&l.then(function(e){return a(null,(0,m.createRoutes)(e)[0])},a)}else if(e.childRoutes||e.getChildRoutes){var c=function(e,o){if(e)return void a(e);var s=o.filter(function(e){return!e.path});(0,d.loopAsync)(s.length,function(e,o,a){i(s[e],t,n,r,function(t,n){if(t||n){var r=[s[e]].concat(Array.isArray(n)?n:[n]);a(t,r)}else o()})},function(e,t){a(null,t)})},p=o(e,t,n,r,c);p&&c.apply(void 0,p)}else a()}function a(e,t,n){return t.reduce(function(e,t,r){var o=n&&n[r];return Array.isArray(e[t])?e[t].push(o):t in e?e[t]=[e[t],o]:e[t]=o,e},e)}function s(e,t){return a({},e,t)}function u(e,t,n,r,a,u){var c=e.path||"";if("/"===c.charAt(0)&&(n=t.pathname,r=[],a=[]),null!==n&&c){try{var d=(0,p.matchPattern)(c,n);d?(n=d.remainingPathname,r=[].concat(r,d.paramNames),a=[].concat(a,d.paramValues)):n=null}catch(e){u(e)}if(""===n){var f={routes:[e],params:s(r,a)};return void i(e,t,r,a,function(e,t){if(e)u(e);else{if(Array.isArray(t)){var n;(n=f.routes).push.apply(n,t)}else t&&f.routes.push(t);u(null,f)}})}}if(null!=n||e.childRoutes){var h=function(o,i){o?u(o):i?l(i,t,function(t,n){t?u(t):n?(n.routes.unshift(e),u(null,n)):u()},n,r,a):u()},m=o(e,t,r,a,h);m&&h.apply(void 0,m)}else u()}function l(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[];void 0===r&&("/"!==t.pathname.charAt(0)&&(t=c({},t,{pathname:"/"+t.pathname})),r=t.pathname),(0,d.loopAsync)(e.length,function(n,a,s){u(e[n],t,r,o,i,function(e,t){e||t?s(e,t):a()})},n)}t.__esModule=!0;var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=l;var d=n(301),f=n(456),p=n(122),h=n(123),m=(r(h),n(80));e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return e.displayName||e.name||"Component"}function i(e,t){var n=t&&t.withRef,r=c.default.createClass({displayName:"WithRouter",mixins:[(0,p.ContextSubscriber)("router")],contextTypes:{router:h.routerShape},propTypes:{router:h.routerShape},getWrappedInstance:function(){return n?void 0:(0,u.default)(!1),this.wrappedInstance},render:function(){var t=this,r=this.props.router||this.context.router;if(!r)return c.default.createElement(e,this.props);var o=r.params,i=r.location,s=r.routes,u=a({},this.props,{router:r,params:o,location:i,routes:s});return n&&(u.ref=function(e){t.wrappedInstance=e}),c.default.createElement(e,u)}});return r.displayName="withRouter("+o(e)+")",r.WrappedComponent=e,(0,f.default)(r,e)}t.__esModule=!0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=i;var s=n(17),u=r(s),l=n(1),c=r(l),d=n(144),f=r(d),p=n(302),h=n(303);e.exports=t.default},function(e,t,n){"use strict";function r(e,t){var n=c.extractSingleTouch(t);return n?n[e.page]:e.page in t?t[e.page]:t[e.client]+d[e.envScroll]}function o(e,t){var n=r(_.x,t),o=r(_.y,t);return Math.pow(Math.pow(n-e.x,2)+Math.pow(o-e.y,2),.5)}function i(e){return{tapMoveThreshold:v,ignoreMouseThreshold:g,eventTypes:x,extractEvents:function(t,n,i,a){if(!p(t)&&!h(t))return null;if(m(t))b=E();else if(e(b,E()))return null;var s=null,c=o(y,i);return h(t)&&c<v&&(s=l.getPooled(x.touchTap,n,i,a)),p(t)?(y.x=r(_.x,i),y.y=r(_.y,i)):h(t)&&(y.x=0,y.y=0),u.accumulateTwoPhaseDispatches(s),s}}}var a=n(1007),s=n(192),u=n(119),l=n(121),c=n(1101),d=n(291),f=n(847),p=(a.topLevelTypes,s.isStartish),h=s.isEndish,m=function(e){var t=["topTouchCancel","topTouchEnd","topTouchStart","topTouchMove"];return t.indexOf(e)>=0},v=10,g=750,y={x:null,y:null},b=null,_={x:{page:"pageX",client:"clientX",envScroll:"currentPageScrollLeft"},y:{page:"pageY",client:"clientY",envScroll:"currentPageScrollTop"}},w=["topTouchStart","topTouchCancel","topTouchEnd","topTouchMove"],C=["topMouseDown","topMouseMove","topMouseUp"].concat(w),x={touchTap:{phasedRegistrationNames:{bubbled:f({onTouchTap:null}),captured:f({onTouchTapCapture:null})},dependencies:C}},E=function(){return Date.now?Date.now:function(){return+new Date}}();e.exports=i},function(e,t){var n={extractSingleTouch:function(e){var t=e.touches,n=e.changedTouches,r=t&&t.length>0,o=n&&n.length>0;return!r&&o?n[0]:r?t[0]:e}};e.exports=n},function(e,t){e.exports=function(e,t){if(e&&t-e<750)return!0}},function(e,t,n){var r=(n(11),n(1102)),o=!1;e.exports=function(e){e=e||{};var t=e.shouldRejectClick||r;o=!0,n(118).injection.injectEventPluginsByName({TapEventPlugin:n(1100)(t)})}},function(e,t,n){function r(e){return null!=e&&i(o(e))}var o=n(1454),i=n(464);e.exports=r},function(e,t){function n(e,t){return e="number"==typeof e||r.test(e)?+e:-1,t=null==t?o:t,e>-1&&e%1==0&&e<t}var r=/^\d+$/,o=9007199254740991;e.exports=n},function(e,t,n){var r=n(1242),o=n(1104),i=n(305),a=n(1459),s=r(Object,"keys"),u=s?function(e){var t=null==e?void 0:e.constructor;return"function"==typeof t&&t.prototype===e||"function"!=typeof e&&o(e)?a(e):i(e)?s(e):[]}:a;e.exports=u},286,[1634,126],function(e,t,n){"use strict";function r(e){return(""+e).replace(_,"$&/")}function o(e,t){this.func=e,this.context=t,this.count=0}function i(e,t,n){var r=e.func,o=e.context;r.call(o,t,e.count++)}function a(e,t,n){if(null==e)return e;var r=o.getPooled(t,n);g(e,i,r),o.release(r)}function s(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function u(e,t,n){var o=e.result,i=e.keyPrefix,a=e.func,s=e.context,u=a.call(s,t,e.count++);Array.isArray(u)?l(u,o,n,v.thatReturnsArgument):null!=u&&(m.isValidElement(u)&&(u=m.cloneAndReplaceKey(u,i+(!u.key||t&&t.key===u.key?"":r(u.key)+"/")+n)),o.push(u))}function l(e,t,n,o,i){var a="";null!=n&&(a=r(n)+"/");var l=s.getPooled(t,a,o,i);g(e,u,l),s.release(l)}function c(e,t,n){if(null==e)return e;var r=[];return l(e,r,null,t,n),r}function d(e,t,n){return null}function f(e,t){return g(e,d,null)}function p(e){var t=[];return l(e,t,null,v.thatReturnsArgument),t}var h=n(1108),m=n(125),v=n(52),g=n(1117),y=h.twoArgumentPooler,b=h.fourArgumentPooler,_=/\/+/g;o.prototype.destructor=function(){this.func=null,this.context=null,this.count=0},h.addPoolingTo(o,y),s.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},h.addPoolingTo(s,b);var w={forEach:a,map:c,mapIntoWithKeyPrefixInternal:l,count:f,toArray:p};e.exports=w},function(e,t,n){"use strict";function r(e){return e}function o(e,t){var n=_.hasOwnProperty(t)?_[t]:null;C.hasOwnProperty(t)&&("OVERRIDE_BASE"!==n?f("73",t):void 0),e&&("DEFINE_MANY"!==n&&"DEFINE_MANY_MERGED"!==n?f("74",t):void 0)}function i(e,t){if(t){"function"==typeof t?f("75"):void 0,m.isValidElement(t)?f("76"):void 0;var n=e.prototype,r=n.__reactAutoBindPairs;t.hasOwnProperty(y)&&w.mixins(e,t.mixins);for(var i in t)if(t.hasOwnProperty(i)&&i!==y){var a=t[i],s=n.hasOwnProperty(i);if(o(s,i),w.hasOwnProperty(i))w[i](e,a);else{var c=_.hasOwnProperty(i),d="function"==typeof a,p=d&&!c&&!s&&t.autobind!==!1;if(p)r.push(i,a),n[i]=a;else if(s){var h=_[i];!c||"DEFINE_MANY_MERGED"!==h&&"DEFINE_MANY"!==h?f("77",h,i):void 0,"DEFINE_MANY_MERGED"===h?n[i]=u(n[i],a):"DEFINE_MANY"===h&&(n[i]=l(n[i],a))}else n[i]=a}}}else;}function a(e,t){if(t)for(var n in t){var r=t[n];if(t.hasOwnProperty(n)){var o=n in w;o?f("78",n):void 0;var i=n in e;i?f("79",n):void 0,e[n]=r}}}function s(e,t){e&&t&&"object"==typeof e&&"object"==typeof t?void 0:f("80");for(var n in t)t.hasOwnProperty(n)&&(void 0!==e[n]?f("81",n):void 0,e[n]=t[n]);return e}function u(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);if(null==n)return r;if(null==r)return n;var o={};return s(o,n),s(o,r),o}}function l(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function c(e,t){var n=t.bind(e);return n}function d(e){for(var t=e.__reactAutoBindPairs,n=0;n<t.length;n+=2){var r=t[n],o=t[n+1];e[r]=c(e,o)}}var f=n(126),p=n(21),h=n(306),m=n(125),v=(n(468),n(307)),g=n(143),y=(n(11),n(14),"mixins"),b=[],_={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},w={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)i(e,t[n])},childContextTypes:function(e,t){e.childContextTypes=p({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=p({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=u(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){e.propTypes=p({},e.propTypes,t)},statics:function(e,t){a(e,t)},autobind:function(){}},C={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e),t&&this.updater.enqueueCallback(this,t,"replaceState")},isMounted:function(){return this.updater.isMounted(this)}},x=function(){};p(x.prototype,h.prototype,C);var E={createClass:function(e){var t=r(function(e,n,r){this.__reactAutoBindPairs.length&&d(this),this.props=e,this.context=n,this.refs=g,this.updater=r||v,this.state=null;var o=this.getInitialState?this.getInitialState():null;"object"!=typeof o||Array.isArray(o)?f("82",t.displayName||"ReactCompositeComponent"):void 0,this.state=o});t.prototype=new x,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],b.forEach(i.bind(null,t)),i(t,e),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),t.prototype.render?void 0:f("83");for(var n in _)t.prototype[n]||(t.prototype[n]=null);return t},injection:{injectMixin:function(e){b.push(e)}}};e.exports=E},function(e,t,n){"use strict";var r=n(125),o=r.createFactory,i={a:o("a"),abbr:o("abbr"),address:o("address"),area:o("area"),article:o("article"),aside:o("aside"),audio:o("audio"),b:o("b"),base:o("base"),bdi:o("bdi"),bdo:o("bdo"),big:o("big"),blockquote:o("blockquote"),body:o("body"),br:o("br"),button:o("button"),canvas:o("canvas"),caption:o("caption"),cite:o("cite"),code:o("code"),col:o("col"),colgroup:o("colgroup"),data:o("data"),datalist:o("datalist"),dd:o("dd"),del:o("del"),details:o("details"),dfn:o("dfn"),dialog:o("dialog"),div:o("div"),dl:o("dl"),dt:o("dt"),em:o("em"),embed:o("embed"),fieldset:o("fieldset"),figcaption:o("figcaption"),figure:o("figure"),footer:o("footer"),form:o("form"),h1:o("h1"),h2:o("h2"),h3:o("h3"),h4:o("h4"),h5:o("h5"),h6:o("h6"),head:o("head"),header:o("header"),hgroup:o("hgroup"),hr:o("hr"),html:o("html"),i:o("i"),iframe:o("iframe"),img:o("img"),input:o("input"),ins:o("ins"),kbd:o("kbd"),keygen:o("keygen"),label:o("label"),legend:o("legend"),li:o("li"),link:o("link"),main:o("main"),map:o("map"),mark:o("mark"),menu:o("menu"),menuitem:o("menuitem"),meta:o("meta"),meter:o("meter"),nav:o("nav"),noscript:o("noscript"),object:o("object"),ol:o("ol"),optgroup:o("optgroup"),option:o("option"),output:o("output"),p:o("p"),param:o("param"),picture:o("picture"),pre:o("pre"),progress:o("progress"),q:o("q"),rp:o("rp"),rt:o("rt"),ruby:o("ruby"),s:o("s"),samp:o("samp"),script:o("script"),section:o("section"),select:o("select"),small:o("small"),source:o("source"),span:o("span"),strong:o("strong"),style:o("style"),sub:o("sub"),summary:o("summary"),sup:o("sup"),table:o("table"),tbody:o("tbody"),td:o("td"),textarea:o("textarea"),tfoot:o("tfoot"),th:o("th"),thead:o("thead"),time:o("time"),title:o("title"),tr:o("tr"),track:o("track"),u:o("u"),ul:o("ul"),var:o("var"),video:o("video"),wbr:o("wbr"),circle:o("circle"),clipPath:o("clipPath"),defs:o("defs"),ellipse:o("ellipse"),g:o("g"),image:o("image"),line:o("line"),linearGradient:o("linearGradient"),mask:o("mask"),path:o("path"),pattern:o("pattern"),polygon:o("polygon"),polyline:o("polyline"),radialGradient:o("radialGradient"),rect:o("rect"),stop:o("stop"),svg:o("svg"),text:o("text"),tspan:o("tspan")};e.exports=i},function(e,t,n){"use strict";function r(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}function o(e){this.message=e,this.stack=""}function i(e){function t(t,n,r,i,a,s,u){i=i||k,s=s||r;if(null==n[r]){var l=C[a];return t?new o(null===n[r]?"The "+l+" `"+s+"` is marked as required "+("in `"+i+"`, but its value is `null`."):"The "+l+" `"+s+"` is marked as required in "+("`"+i+"`, but its value is `undefined`.")):null}return e(n,r,i,a,s)}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}function a(e){function t(t,n,r,i,a,s){var u=t[n],l=y(u);if(l!==e){var c=C[i],d=b(u);return new o("Invalid "+c+" `"+a+"` of type "+("`"+d+"` supplied to `"+r+"`, expected ")+("`"+e+"`."))}return null}return i(t)}function s(){return i(E.thatReturns(null))}function u(e){function t(t,n,r,i,a){if("function"!=typeof e)return new o("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s)){var u=C[i],l=y(s);return new o("Invalid "+u+" `"+a+"` of type "+("`"+l+"` supplied to `"+r+"`, expected an array."))}for(var c=0;c<s.length;c++){var d=e(s,c,r,i,a+"["+c+"]",x);if(d instanceof Error)return d}return null}return i(t)}function l(){function e(e,t,n,r,i){var a=e[t];if(!w.isValidElement(a)){var s=C[r],u=y(a);return new o("Invalid "+s+" `"+i+"` of type "+("`"+u+"` supplied to `"+n+"`, expected a single ReactElement."))}return null}return i(e)}function c(e){function t(t,n,r,i,a){if(!(t[n]instanceof e)){var s=C[i],u=e.name||k,l=_(t[n]);return new o("Invalid "+s+" `"+a+"` of type "+("`"+l+"` supplied to `"+r+"`, expected ")+("instance of `"+u+"`."))}return null}return i(t)}function d(e){function t(t,n,i,a,s){for(var u=t[n],l=0;l<e.length;l++)if(r(u,e[l]))return null;var c=C[a],d=JSON.stringify(e);return new o("Invalid "+c+" `"+s+"` of value `"+u+"` "+("supplied to `"+i+"`, expected one of "+d+"."))}return Array.isArray(e)?i(t):E.thatReturnsNull}function f(e){function t(t,n,r,i,a){if("function"!=typeof e)return new o("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var s=t[n],u=y(s);if("object"!==u){var l=C[i];return new o("Invalid "+l+" `"+a+"` of type "+("`"+u+"` supplied to `"+r+"`, expected an object."))}for(var c in s)if(s.hasOwnProperty(c)){var d=e(s,c,r,i,a+"."+c,x);if(d instanceof Error)return d}return null}return i(t)}function p(e){function t(t,n,r,i,a){for(var s=0;s<e.length;s++){var u=e[s];if(null==u(t,n,r,i,a,x))return null}var l=C[i];return new o("Invalid "+l+" `"+a+"` supplied to "+("`"+r+"`."))}return Array.isArray(e)?i(t):E.thatReturnsNull}function h(){function e(e,t,n,r,i){if(!v(e[t])){var a=C[r];return new o("Invalid "+a+" `"+i+"` supplied to "+("`"+n+"`, expected a ReactNode."))}return null}return i(e)}function m(e){function t(t,n,r,i,a){var s=t[n],u=y(s);if("object"!==u){var l=C[i];return new o("Invalid "+l+" `"+a+"` of type `"+u+"` "+("supplied to `"+r+"`, expected `object`."))}for(var c in e){var d=e[c];if(d){var f=d(s,c,r,i,a+"."+c,x);if(f)return f}}return null}return i(t)}function v(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(v);if(null===e||w.isValidElement(e))return!0;var t=T(e);if(!t)return!1;var n,r=t.call(e);if(t!==e.entries){for(;!(n=r.next()).done;)if(!v(n.value))return!1}else for(;!(n=r.next()).done;){var o=n.value;if(o&&!v(o[1]))return!1}return!0;default:return!1}}function g(e,t){return"symbol"===e||("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}function y(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":g(t,e)?"symbol":t}function b(e){var t=y(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function _(e){return e.constructor&&e.constructor.name?e.constructor.name:k}var w=n(125),C=n(468),x=n(1113),E=n(52),T=n(470),k=(n(14),"<<anonymous>>"),S={array:a("array"),bool:a("boolean"),func:a("function"),number:a("number"),object:a("object"),string:a("string"),symbol:a("symbol"),any:s(),arrayOf:u,element:l(),instanceOf:c,node:h(),objectOf:f,oneOf:d,oneOfType:p,shape:m};o.prototype=Error.prototype,e.exports=S},1034,function(e,t,n){"use strict";function r(e,t,n){this.props=e,this.context=t,this.refs=u,this.updater=n||s}function o(){}var i=n(21),a=n(306),s=n(307),u=n(143);o.prototype=a.prototype,r.prototype=new o,r.prototype.constructor=r,i(r.prototype,a.prototype),r.prototype.isPureReactComponent=!0,e.exports=r},1039,function(e,t,n){"use strict";function r(e){return i.isValidElement(e)?void 0:o("143"),e}var o=n(126),i=n(125);n(11);e.exports=r},function(e,t,n){"use strict";function r(e,t){return e&&"object"==typeof e&&null!=e.key?l.escape(e.key):t.toString(36)}function o(e,t,n,i){var f=typeof e;if("undefined"!==f&&"boolean"!==f||(e=null),null===e||"string"===f||"number"===f||"object"===f&&e.$$typeof===s)return n(i,e,""===t?c+r(e,0):t),1;var p,h,m=0,v=""===t?c:t+d;if(Array.isArray(e))for(var g=0;g<e.length;g++)p=e[g],h=v+r(p,g),m+=o(p,h,n,i);else{var y=u(e);if(y){var b,_=y.call(e);if(y!==e.entries)for(var w=0;!(b=_.next()).done;)p=b.value,h=v+r(p,w++),m+=o(p,h,n,i);else for(;!(b=_.next()).done;){var C=b.value;C&&(p=C[1],h=v+l.escape(C[0])+d+r(p,0),m+=o(p,h,n,i))}}else if("object"===f){var x="",E=String(e);a("31","[object Object]"===E?"object with keys {"+Object.keys(e).join(", ")+"}":E,x)}}return m}function i(e,t,n){return null==e?0:o(e,"",t,n)}var a=n(126),s=(n(73),n(467)),u=n(470),l=(n(11),n(1107)),c=(n(14),"."),d=":";e.exports=i},function(e,t,n){"use strict";e.exports=n(1119).Recorder},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0}),t.Recorder=void 0;var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(856),s=r(a),u=t.Recorder=function(){function e(t,n){var r=this;o(this,e),this.config={bufferLen:4096,numChannels:2,mimeType:"audio/wav"},this.recording=!1,this.callbacks={getBuffer:[],exportWAV:[]},Object.assign(this.config,n),this.context=t.context,this.node=(this.context.createScriptProcessor||this.context.createJavaScriptNode).call(this.context,this.config.bufferLen,this.config.numChannels,this.config.numChannels),this.node.onaudioprocess=function(e){if(r.recording){for(var t=[],n=0;n<r.config.numChannels;n++)t.push(e.inputBuffer.getChannelData(n));r.worker.postMessage({command:"record",buffer:t})}},t.connect(this.node),this.node.connect(this.context.destination);var i={};this.worker=new s.default(function(){function e(e){p=e.sampleRate,h=e.numChannels,i()}function t(e){for(var t=0;t<h;t++)f[t].push(e[t]);d+=e[0].length}function n(e){for(var t=[],n=0;n<h;n++)t.push(a(f[n],d));var r=void 0;r=2===h?s(t[0],t[1]):t[0];var o=c(r),i=new Blob([o],{type:e});this.postMessage({command:"exportWAV",data:i})}function r(){for(var e=[],t=0;t<h;t++)e.push(a(f[t],d));this.postMessage({command:"getBuffer",data:e})}function o(){d=0,f=[],i()}function i(){for(var e=0;e<h;e++)f[e]=[]}function a(e,t){for(var n=new Float32Array(t),r=0,o=0;o<e.length;o++)n.set(e[o],r),r+=e[o].length;return n}function s(e,t){for(var n=e.length+t.length,r=new Float32Array(n),o=0,i=0;o<n;)r[o++]=e[i],r[o++]=t[i],i++;return r}function u(e,t,n){for(var r=0;r<n.length;r++,t+=2){var o=Math.max(-1,Math.min(1,n[r]));e.setInt16(t,o<0?32768*o:32767*o,!0)}}function l(e,t,n){for(var r=0;r<n.length;r++)e.setUint8(t+r,n.charCodeAt(r))}function c(e){var t=new ArrayBuffer(44+2*e.length),n=new DataView(t);return l(n,0,"RIFF"),n.setUint32(4,36+2*e.length,!0),l(n,8,"WAVE"),l(n,12,"fmt "),n.setUint32(16,16,!0),n.setUint16(20,1,!0),n.setUint16(22,h,!0),n.setUint32(24,p,!0),n.setUint32(28,4*p,!0),n.setUint16(32,2*h,!0),n.setUint16(34,16,!0),l(n,36,"data"),n.setUint32(40,2*e.length,!0),u(n,44,e),n}var d=0,f=[],p=void 0,h=void 0;this.onmessage=function(i){switch(i.data.command){case"init":e(i.data.config);break;case"record":t(i.data.buffer);break;case"exportWAV":n(i.data.type);break;case"getBuffer":r();break;case"clear":o()}}},i),this.worker.postMessage({command:"init",config:{sampleRate:this.context.sampleRate,numChannels:this.config.numChannels}}),this.worker.onmessage=function(e){var t=r.callbacks[e.data.command].pop();"function"==typeof t&&t(e.data.data)}}return i(e,[{key:"record",value:function(){this.recording=!0}},{key:"stop",value:function(){this.recording=!1}},{key:"clear",value:function(){this.worker.postMessage({command:"clear"})}},{key:"getBuffer",value:function(e){if(e=e||this.config.callback,!e)throw new Error("Callback not set");this.callbacks.getBuffer.push(e),this.worker.postMessage({command:"getBuffer"})}},{key:"exportWAV",value:function(e,t){if(t=t||this.config.mimeType,e=e||this.config.callback,!e)throw new Error("Callback not set");this.callbacks.exportWAV.push(e),this.worker.postMessage({command:"exportWAV",type:t})}}],[{key:"forceDownload",value:function(e,t){var n=(window.URL||window.webkitURL).createObjectURL(e),r=window.document.createElement("a");r.href=n,r.download=t||"output.wav";var o=document.createEvent("Event");o.initEvent("click",!0,!0),r.dispatchEvent(o)}}]),e}();t.default=u},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=n(1),c=r(l),d=n(997),f=r(d),p=n(472),h=n(471),m=n(1122),v=r(m),g=n(963),y=r(g),b=function(e){function t(n){i(this,t);var r=a(this,e.call(this,n));r.handleKeyDown=r.handleKeyDown.bind(r),r.handleSizeChange=r.handleSizeChange.bind(r);var o=l.Children.count(n.children);return 0===o?console.error("<DockMonitor> requires at least one monitor inside. Why don’t you try <LogMonitor>? You can get it at https://github.com/gaearon/redux-devtools-log-monitor."):o>1&&!n.changeMonitorKey&&console.error('You specified multiple monitors inside <DockMonitor> but did not provide `changeMonitorKey` prop to change them. Try specifying <DockMonitor changeMonitorKey="ctrl-m" /> and then press Ctrl-M.'),r}return s(t,e),t.prototype.componentDidMount=function(){window.addEventListener("keydown",this.handleKeyDown)},t.prototype.componentWillUnmount=function(){window.removeEventListener("keydown",this.handleKeyDown)},t.prototype.matchesKey=function(e,t){if(!e)return!1;var n=t.keyCode||t.which,r=String.fromCharCode(n);return e.name.toUpperCase()===r.toUpperCase()&&e.alt===t.altKey&&e.ctrl===t.ctrlKey&&e.meta===t.metaKey&&e.shift===t.shiftKey},t.prototype.handleKeyDown=function(e){if(e.ctrlKey||e.metaKey||e.altKey||"INPUT"!==e.target.tagName&&"SELECT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&!e.target.isContentEditable){var t=(0,y.default)(this.props.toggleVisibilityKey),n=(0,y.default)(this.props.changePositionKey),r=void 0;this.props.changeMonitorKey&&(r=(0,y.default)(this.props.changeMonitorKey)),this.matchesKey(t,e)?(e.preventDefault(),this.props.dispatch((0,h.toggleVisibility)())):this.matchesKey(n,e)?(e.preventDefault(),this.props.dispatch((0,h.changePosition)())):this.matchesKey(r,e)&&(e.preventDefault(),this.props.dispatch((0,h.changeMonitor)()))}},t.prototype.handleSizeChange=function(e){this.props.dispatch((0,h.changeSize)(e))},t.prototype.renderChild=function(e,t,n){var r=this.props.monitorState,o=r.childMonitorIndex,i=r.childMonitorStates;return t!==o?null:(0,l.cloneElement)(e,u({monitorState:i[t]},n))},t.prototype.render=function(){var e=this,t=this.props,n=t.monitorState,r=t.children,i=t.fluid,a=o(t,["monitorState","children","fluid"]),s=n.position,u=n.isVisible,d=n.size;return c.default.createElement(f.default,{position:s,isVisible:u,size:d,fluid:i,onSizeChange:this.handleSizeChange,dimMode:"none"},l.Children.map(r,function(t,n){return e.renderChild(t,n,a)}))},t}(l.Component);b.update=v.default,b.propTypes={defaultPosition:l.PropTypes.oneOf(p.POSITIONS).isRequired,defaultIsVisible:l.PropTypes.bool.isRequired,defaultSize:l.PropTypes.number.isRequired,toggleVisibilityKey:l.PropTypes.string.isRequired,changePositionKey:l.PropTypes.string.isRequired,changeMonitorKey:l.PropTypes.string,fluid:l.PropTypes.bool,dispatch:l.PropTypes.func,monitorState:l.PropTypes.shape({position:l.PropTypes.oneOf(p.POSITIONS).isRequired,size:l.PropTypes.number.isRequired,isVisible:l.PropTypes.bool.isRequired,childMonitorState:l.PropTypes.any})},b.defaultProps={defaultIsVisible:!0,defaultPosition:"right",defaultSize:.3,fluid:!0},t.default=b},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.default=void 0;var o=n(1120),i=r(o);t.default=i.default},function(e,t,n){"use strict";function r(e){var t=arguments.length<=1||void 0===arguments[1]?e.defaultPosition:arguments[1],n=arguments[2];return n.type===l.CHANGE_POSITION?c.POSITIONS[(c.POSITIONS.indexOf(t)+1)%c.POSITIONS.length]:t}function o(e){var t=arguments.length<=1||void 0===arguments[1]?e.defaultSize:arguments[1],n=arguments[2];return n.type===l.CHANGE_SIZE?n.size:t}function i(e){var t=arguments.length<=1||void 0===arguments[1]?e.defaultIsVisible:arguments[1],n=arguments[2];return n.type===l.TOGGLE_VISIBILITY?!t:t}function a(e){var t=arguments.length<=1||void 0===arguments[1]?[]:arguments[1],n=arguments[2];return d.Children.map(e.children,function(e,r){return e.type.update(e.props,t[r],n)})}function s(e){var t=arguments.length<=1||void 0===arguments[1]?0:arguments[1],n=arguments[2];switch(n.type){case l.CHANGE_MONITOR:return(t+1)%d.Children.count(e.children);default:return t}}function u(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=arguments[2];return t.childMonitorStates||d.Children.forEach(e.children,function(e,t){"function"!=typeof e.type.update&&console.error("Child of <DockMonitor> with the index "+t+" "+("("+(e.type.displayName||e.type.name||e.type)+") ")+"does not appear to be a valid Redux DevTools monitor.")}),{position:r(e,t.position,n),isVisible:i(e,t.isVisible,n),size:o(e,t.size,n),childMonitorIndex:s(e,t.childMonitorIndex,n),childMonitorStates:a(e,t.childMonitorStates,n)}}t.__esModule=!0,t.default=u;var l=n(471),c=n(472),d=n(1)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=n(1),c=o(l),d=n(149),f=o(d),p=n(1132),h=r(p),m=n(198),v=n(474),g=n(1131),y=o(g),b=n(1125),_=o(b),w=n(1128),C=o(w),x=n(860),E=o(x),T=m.ActionCreators.toggleAction,k=m.ActionCreators.setActionsActive,S={container:{fontFamily:"monaco, Consolas, Lucida Console, monospace",position:"relative",overflowY:"hidden",width:"100%",height:"100%",minWidth:300,direction:"ltr"},elements:{
-position:"absolute",left:0,right:0,top:0,bottom:0,overflowX:"hidden",overflowY:"auto"}},M=function(e){function t(n){i(this,t);var r=a(this,e.call(this,n));return r.shouldComponentUpdate=f.default,r.updateScrollTop=(0,E.default)(function(){var e=r.node;r.props.dispatch((0,v.updateScrollTop)(e?e.scrollTop:0))},500),r.handleToggleAction=r.handleToggleAction.bind(r),r.handleToggleConsecutiveAction=r.handleToggleConsecutiveAction.bind(r),r.getRef=r.getRef.bind(r),r}return s(t,e),t.prototype.scroll=function(){var e=this.node;if(e&&this.scrollDown){var t=e.offsetHeight,n=e.scrollHeight;e.scrollTop=n-t,this.scrollDown=!1}},t.prototype.componentDidMount=function(){var e=this.node;e&&this.props.monitorState&&(this.props.preserveScrollTop?(e.scrollTop=this.props.monitorState.initialScrollTop,e.addEventListener("scroll",this.updateScrollTop)):(this.scrollDown=!0,this.scroll()))},t.prototype.componentWillUnmount=function(){var e=this.node;e&&this.props.preserveScrollTop&&e.removeEventListener("scroll",this.updateScrollTop)},t.prototype.componentWillReceiveProps=function(e){var t=this.node;if(t)if(this.props.stagedActionIds.length<e.stagedActionIds.length){var n=t.scrollTop,r=t.offsetHeight,o=t.scrollHeight;this.scrollDown=Math.abs(o-(n+r))<20}else this.scrollDown=!1;else this.scrollDown=!0},t.prototype.componentDidUpdate=function(){this.scroll()},t.prototype.handleToggleAction=function(e){this.props.dispatch(T(e))},t.prototype.handleToggleConsecutiveAction=function(e){var t=this.props,n=t.monitorState,r=t.actionsById,o=n.consecutiveToggleStartId;if(o&&r[o]){var i=this.props.skippedActionIds,a=Math.min(o,e),s=Math.max(o,e),u=i.indexOf(o)>-1;this.props.dispatch(k(a,s+1,u)),this.props.dispatch((0,v.startConsecutiveToggle)(null))}else e>0&&this.props.dispatch((0,v.startConsecutiveToggle)(e))},t.prototype.getTheme=function(){var e=this.props.theme;return"string"!=typeof e?e:"undefined"!=typeof h[e]?h[e]:(console.warn("DevTools theme "+e+" not found, defaulting to nicinabox"),h.nicinabox)},t.prototype.getRef=function(e){this.node=e},t.prototype.render=function(){var e=this.getTheme(),t=this.props.monitorState.consecutiveToggleStartId,n=this.props,r=n.dispatch,o=n.actionsById,i=n.skippedActionIds,a=n.stagedActionIds,s=n.computedStates,l=n.currentStateIndex,d=n.select,f=n.expandActionRoot,p=n.expandStateRoot,h=n.markStateDiff,m={theme:e,actionsById:o,skippedActionIds:i,stagedActionIds:a,computedStates:s,currentStateIndex:l,consecutiveToggleStartId:t,select:d,expandActionRoot:f,expandStateRoot:p,markStateDiff:h,onActionClick:this.handleToggleAction,onActionShiftClick:this.handleToggleConsecutiveAction};return c.default.createElement("div",{style:u({},S.container,{backgroundColor:e.base00})},!this.props.hideMainButtons&&c.default.createElement(_.default,{theme:e,dispatch:r,hasStates:s.length>1,hasSkippedActions:i.length>0}),c.default.createElement("div",{style:this.props.hideMainButtons?S.elements:u({},S.elements,{top:30}),ref:this.getRef},c.default.createElement(C.default,m)))},t}(l.Component);M.update=y.default,M.propTypes={dispatch:l.PropTypes.func,computedStates:l.PropTypes.array,actionsById:l.PropTypes.object,stagedActionIds:l.PropTypes.array,skippedActionIds:l.PropTypes.array,monitorState:l.PropTypes.shape({initialScrollTop:l.PropTypes.number,consecutiveToggleStartId:l.PropTypes.number}),preserveScrollTop:l.PropTypes.bool,select:l.PropTypes.func,theme:l.PropTypes.oneOfType([l.PropTypes.object,l.PropTypes.string]),expandActionRoot:l.PropTypes.bool,expandStateRoot:l.PropTypes.bool,markStateDiff:l.PropTypes.bool,hideMainButtons:l.PropTypes.bool},M.defaultProps={select:function(e){return e},theme:"nicinabox",preserveScrollTop:!0,expandActionRoot:!0,expandStateRoot:!0,markStateDiff:!1},t.default=M},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=n(1),l=r(u),c=n(1129),d=r(c),f=n(149),p=r(f),h={base:{cursor:"pointer",fontWeight:"bold",borderRadius:3,padding:4,marginLeft:3,marginRight:3,marginTop:5,marginBottom:5,flexGrow:1,display:"inline-block",fontSize:"0.8em",color:"white",textDecoration:"none"}},m=function(e){function t(n){o(this,t);var r=i(this,e.call(this,n));return r.shouldComponentUpdate=p.default,r.handleMouseEnter=r.handleMouseEnter.bind(r),r.handleMouseLeave=r.handleMouseLeave.bind(r),r.handleMouseDown=r.handleMouseDown.bind(r),r.handleMouseUp=r.handleMouseUp.bind(r),r.onClick=r.onClick.bind(r),r.state={hovered:!1,active:!1},r}return a(t,e),t.prototype.handleMouseEnter=function(){this.setState({hovered:!0})},t.prototype.handleMouseLeave=function(){this.setState({hovered:!1})},t.prototype.handleMouseDown=function(){this.setState({active:!0})},t.prototype.handleMouseUp=function(){this.setState({active:!1})},t.prototype.onClick=function(){this.props.enabled&&this.props.onClick&&this.props.onClick()},t.prototype.render=function(){var e=s({},h.base,{backgroundColor:this.props.theme.base02});return this.props.enabled&&this.state.hovered&&(e=s({},e,{backgroundColor:(0,d.default)(this.props.theme.base02,.2)})),this.props.enabled||(e=s({},e,{opacity:.2,cursor:"text",backgroundColor:"transparent"})),l.default.createElement("a",{onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,onClick:this.onClick,style:e},this.props.children)},t}(l.default.Component);t.default=m},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=n(1),l=r(u),c=n(149),d=r(c),f=n(198),p=n(1124),h=r(p),m=f.ActionCreators.reset,v=f.ActionCreators.rollback,g=f.ActionCreators.commit,y=f.ActionCreators.sweep,b={textAlign:"center",borderBottomWidth:1,borderBottomStyle:"solid",borderColor:"transparent",zIndex:1,display:"flex",flexDirection:"row"},_=function(e){function t(n){o(this,t);var r=i(this,e.call(this,n));return r.shouldComponentUpdate=d.default,r.handleReset=r.handleReset.bind(r),r.handleRollback=r.handleRollback.bind(r),r.handleSweep=r.handleSweep.bind(r),r.handleCommit=r.handleCommit.bind(r),r}return a(t,e),t.prototype.handleRollback=function(){this.props.dispatch(v())},t.prototype.handleSweep=function(){this.props.dispatch(y())},t.prototype.handleCommit=function(){this.props.dispatch(g())},t.prototype.handleReset=function(){this.props.dispatch(m())},t.prototype.render=function(){var e=this.props,t=e.theme,n=e.hasStates,r=e.hasSkippedActions;return l.default.createElement("div",{style:s({},b,{borderColor:t.base02})},l.default.createElement(h.default,{theme:t,onClick:this.handleReset,enabled:!0},"Reset"),l.default.createElement(h.default,{theme:t,onClick:this.handleRollback,enabled:n},"Revert"),l.default.createElement(h.default,{theme:t,onClick:this.handleSweep,enabled:r},"Sweep"),l.default.createElement(h.default,{theme:t,onClick:this.handleCommit,enabled:n},"Commit"))},t}(u.Component);_.propTypes={dispatch:u.PropTypes.func,theme:u.PropTypes.object},t.default=_},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=n(1),c=r(l),d=n(450),f=r(d),p=n(1127),h=r(p),m=n(149),v=r(m),g={entry:{display:"block",WebkitUserSelect:"none"},root:{marginLeft:0},changedData:{backgroundColor:"rgba(128, 128, 128, 0.3)"}},y=function(e,t){return t.reduce(function(e,t){return e&&e[t]},e)},b=function(e,t,n){var r=[].concat(n).reverse().slice(1);return y(e,r)===y(t,r)},_=function(e){function t(n){o(this,t);var r=i(this,e.call(this,n));return r.shouldComponentUpdate=v.default,r.handleActionClick=r.handleActionClick.bind(r),r.shouldExpandNode=r.shouldExpandNode.bind(r),r}return a(t,e),t.prototype.printState=function(e,t){var n=this,r=t;if(!r)try{var o=function(){var t=n.props.select(e),r=n.props.theme;return n.props.markStateDiff&&!function(){var e="undefined"!=typeof n.props.previousState?n.props.select(n.props.previousState):void 0,o=function(n,r,o){var i=n.style;return{style:u({},i,b(t,e,o)?{}:g.changedData)}},i=function(e,t){var n=e.style;return{style:u({},n,t.length>1?{}:g.root)}};r={extend:n.props.theme,tree:g.tree,value:o,nestedNode:i}}(),{v:c.default.createElement(f.default,{theme:r,data:t,invertTheme:!1,keyPath:["state"],shouldExpandNode:n.shouldExpandNode})}}();if("object"===("undefined"==typeof o?"undefined":s(o)))return o.v}catch(e){r="Error selecting state."}return c.default.createElement("div",{style:{color:this.props.theme.base08,paddingTop:20,paddingLeft:30,paddingRight:30,paddingBottom:35}},r)},t.prototype.handleActionClick=function(e){var t=this.props,n=t.actionId,r=t.onActionClick,o=t.onActionShiftClick;n>0&&(e.shiftKey?o(n):r(n))},t.prototype.shouldExpandNode=function(e,t,n){return this.props.expandStateRoot&&0===n},t.prototype.render=function(){var e=this.props,t=e.actionId,n=e.error,r=e.action,o=e.state,i=e.collapsed,a=e.selected,s=e.inFuture,l={opacity:i?.5:1,cursor:t>0?"pointer":"default"};return c.default.createElement("div",{style:{opacity:a?.4:s?.6:1,textDecoration:i?"line-through":"none",color:this.props.theme.base06}},c.default.createElement(h.default,{theme:this.props.theme,collapsed:i,action:r,expandActionRoot:this.props.expandActionRoot,onClick:this.handleActionClick,style:u({},g.entry,l)}),!i&&c.default.createElement("div",{style:{paddingLeft:16}},this.printState(o,n)))},t}(l.Component);_.propTypes={state:l.PropTypes.object.isRequired,action:l.PropTypes.object.isRequired,actionId:l.PropTypes.number.isRequired,select:l.PropTypes.func.isRequired,inFuture:l.PropTypes.bool,error:l.PropTypes.string,onActionClick:l.PropTypes.func.isRequired,onActionShiftClick:l.PropTypes.func.isRequired,collapsed:l.PropTypes.bool,selected:l.PropTypes.bool,expandActionRoot:l.PropTypes.bool,expandStateRoot:l.PropTypes.bool},t.default=_},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=n(1),c=r(l),d=n(450),f=r(d),p={actionBar:{paddingTop:8,paddingBottom:7,paddingLeft:16},payload:{margin:0,paddingLeft:16,overflow:"auto"}},h=function(e){function t(n){i(this,t);var r=a(this,e.call(this,n));return r.shouldExpandNode=r.shouldExpandNode.bind(r),r}return s(t,e),t.prototype.renderPayload=function(e){return c.default.createElement("div",{style:u({},p.payload,{backgroundColor:this.props.theme.base00})},Object.keys(e).length>0?c.default.createElement(f.default,{theme:this.props.theme,invertTheme:!1,keyPath:["action"],data:e,shouldExpandNode:this.shouldExpandNode}):"")},t.prototype.shouldExpandNode=function(e,t,n){return this.props.expandActionRoot&&0===n},t.prototype.render=function(){var e=this.props.action,t=e.type,n=o(e,["type"]);return c.default.createElement("div",{style:u({backgroundColor:this.props.theme.base02,color:this.props.theme.base06},this.props.style)},c.default.createElement("div",{style:p.actionBar,onClick:this.props.onClick},null!==t&&t.toString()),this.props.collapsed?"":this.renderPayload(n))},t}(l.Component);t.default=h},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(1),u=r(s),l=n(1126),c=r(l),d=n(149),f=r(d),p=function(e){function t(){var n,r,a;o(this,t);for(var s=arguments.length,u=Array(s),l=0;l<s;l++)u[l]=arguments[l];return n=r=i(this,e.call.apply(e,[this].concat(u))),r.shouldComponentUpdate=f.default,a=n,i(r,a)}return a(t,e),t.prototype.render=function(){for(var e=[],t=this.props,n=t.theme,r=t.actionsById,o=t.computedStates,i=t.currentStateIndex,a=t.consecutiveToggleStartId,s=t.select,l=t.skippedActionIds,d=t.stagedActionIds,f=t.expandActionRoot,p=t.expandStateRoot,h=t.markStateDiff,m=t.onActionClick,v=t.onActionShiftClick,g=0;g<d.length;g++){var y=d[g],b=r[y].action,_=o[g],w=_.state,C=_.error,x=void 0;g>0&&(x=o[g-1].state),e.push(u.default.createElement(c.default,{key:y,theme:n,select:s,action:b,actionId:y,state:w,previousState:x,collapsed:l.indexOf(y)>-1,inFuture:g>i,selected:a===g,error:C,expandActionRoot:f,expandStateRoot:p,markStateDiff:h,onActionClick:m,onActionShiftClick:v}))}return u.default.createElement("div",null,e)},t}(s.Component);p.propTypes={actionsById:s.PropTypes.object,computedStates:s.PropTypes.array,stagedActionIds:s.PropTypes.array,skippedActionIds:s.PropTypes.array,currentStateIndex:s.PropTypes.number,consecutiveToggleStartId:s.PropTypes.number,select:s.PropTypes.func.isRequired,onActionClick:s.PropTypes.func.isRequired,theme:s.PropTypes.oneOfType([s.PropTypes.object,s.PropTypes.string]),expandActionRoot:s.PropTypes.bool,expandStateRoot:s.PropTypes.bool},t.default=p},function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){var n=String(e).replace(/[^0-9a-f]/gi,"");n.length<6&&(n=n.replace(/(.)/g,"$1$1"));for(var r=t||0,o="#",i=void 0,a=0;a<3;++a)i=parseInt(n.substr(2*a,2),16),i=Math.round(Math.min(Math.max(0,i+i*r),255)).toString(16),o+=("00"+i).substr(i.length);return o}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.default=void 0;var o=n(1123),i=r(o);t.default=i.default},function(e,t,n){"use strict";function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments[2];return e.preserveScrollTop?n.type===a.UPDATE_SCROLL_TOP?n.scrollTop:t:0}function o(e,t,n){return n.type===a.START_CONSECUTIVE_TOGGLE?n.id:t}function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];return{initialScrollTop:r(e,t.initialScrollTop,n),consecutiveToggleStartId:o(e,t.consecutiveToggleStartId,n)}}t.__esModule=!0,t.default=i;var a=n(474)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e.default:e}function o(e,t){var n=t({},e);return delete n.default,n}function i(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r<n.length;r++){var o=n[r],i=Object.getOwnPropertyDescriptor(t,o);i&&i.configurable&&void 0===e[o]&&Object.defineProperty(e,o,i)}return e}t.__esModule=!0;var a=n(341);i(t,o(a,i));var s=n(1133);t.nicinabox=r(s)},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"nicinabox",author:"nicinabox (http://github.com/nicinabox)",base00:"#2A2F3A",base01:"#3C444F",base02:"#4F5A65",base03:"#BEBEBE",base04:"#b0b0b0",base05:"#d0d0d0",base06:"#FFFFFF",base07:"#f5f5f5",base08:"#fb9fb1",base09:"#FC6D24",base0A:"#ddb26f",base0B:"#A1C659",base0C:"#12cfc0",base0D:"#6FB3D2",base0E:"#D381C3",base0F:"#deaf8f"},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t,n,r=l.Children.only(e),s=r.props,f=r.type,h=(0,d.connect)(function(e){return e})(f);return n=t=function(e){function t(n,r){o(this,t);var a=i(this,e.call(this,n,r));return n.store||r.store?(r.store?a.liftedStore=r.store.liftedStore:a.liftedStore=n.store.liftedStore,a.liftedStore||console.error("Redux DevTools could not render. Did you forget to include DevTools.instrument() in your store enhancer chain before using createStore()?"),a):(console.error('Redux DevTools could not render. You must pass the Redux store to <DevTools> either as a "store" prop or by wrapping it in a <Provider store={store}>.'),i(a))}return a(t,e),t.prototype.render=function(){return this.liftedStore?c.default.createElement(h,u({},s,{store:this.liftedStore})):null},t}(l.Component),t.contextTypes={store:l.PropTypes.object},t.propTypes={store:l.PropTypes.object},t.instrument=function(e){return(0,p.default)(function(e,t){return f.update(s,e,t)},e)},n}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=s;var l=n(1),c=r(l),d=n(43),f=n(473),p=r(f)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){function t(e){return i({},e,{actionsById:(0,s.default)(e.actionsById,function(e){return i({},e,{action:r(e.action)})}),committedState:n(e.committedState),computedStates:e.computedStates.map(function(e){return i({},e,{state:n(e.state)})})})}var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.default;return e?function(n){return function(r,o,a){var s="redux-dev-session-"+e,u=void 0;try{var l=localStorage.getItem(s);l&&(u=t(JSON.parse(l))||o,n(r,o))}catch(e){console.warn("Could not read debug session from localStorage:",e);try{localStorage.removeItem(s)}finally{u=void 0}}var c=n(r,u,a);return i({},c,{dispatch:function(e){c.dispatch(e);try{localStorage.setItem(s,JSON.stringify(c.getState()))}catch(e){console.warn("Could not write debug session to localStorage:",e)}return e}})}}:function(e){return function(){return e.apply(void 0,arguments)}}}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=o;var a=n(955),s=r(a),u=n(188),l=r(u)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(n,r,o){var a=e(n,r,o),u=a.dispatch,l=[],c={getState:a.getState,dispatch:function(e){return u(e)}};return l=t.map(function(e){return e(c)}),u=s.default.apply(void 0,l)(a.dispatch),i({},a,{dispatch:u})}}}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=o;var a=n(475),s=r(a)},function(e,t){"use strict";function n(e,t){return function(){return t(e.apply(void 0,arguments))}}function r(e,t){if("function"==typeof e)return n(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');for(var r=Object.keys(e),o={},i=0;i<r.length;i++){var a=r[i],s=e[a];"function"==typeof s&&(o[a]=n(s,t))}return o}t.__esModule=!0,t.default=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=t&&t.type,r=n&&'"'+n.toString()+'"'||"an action";return"Given action "+r+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state.'}function i(e){Object.keys(e).forEach(function(t){var n=e[t],r=n(void 0,{type:s.ActionTypes.INIT});if("undefined"==typeof r)throw new Error('Reducer "'+t+'" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined.');var o="@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".");if("undefined"==typeof n(void 0,{type:o}))throw new Error('Reducer "'+t+'" returned undefined when probed with a random type. '+("Don't try to handle "+s.ActionTypes.INIT+' or other actions in "redux/*" ')+"namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined.")})}function a(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var a=t[r];"function"==typeof e[a]&&(n[a]=e[a])}var s,u=Object.keys(n);try{i(n)}catch(e){s=e}return function(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],t=arguments[1];if(s)throw s;for(var r=!1,i={},a=0;a<u.length;a++){var l=u[a],c=n[l],d=e[l],f=c(d,t);if("undefined"==typeof f){var p=o(l,t);throw new Error(p)}i[l]=f,r=r||f!==d}return r?i:e}}t.__esModule=!0,t.default=a;var s=n(308),u=n(61),l=(r(u),n(476));r(l)},function(e,t,n){(function(t,n){!function(t){"use strict";function r(e,t,n,r){var o=t&&t.prototype instanceof i?t:i,a=Object.create(o.prototype),s=new h(r||[]);return a._invoke=c(e,n,s),a}function o(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function i(){}function a(){}function s(){}function u(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function l(e){function t(n,r,i,a){var s=o(e[n],e,r);if("throw"!==s.type){var u=s.arg,l=u.value;return l&&"object"==typeof l&&b.call(l,"__await")?Promise.resolve(l.__await).then(function(e){t("next",e,i,a)},function(e){t("throw",e,i,a)}):Promise.resolve(l).then(function(e){u.value=e,i(u)},a)}a(s.arg)}function r(e,n){function r(){return new Promise(function(r,o){t(e,n,r,o)})}return i=i?i.then(r,r):r()}"object"==typeof n&&n.domain&&(t=n.domain.bind(t));var i;this._invoke=r}function c(e,t,n){var r=T;return function(i,a){if(r===S)throw new Error("Generator is already running");if(r===M){if("throw"===i)throw a;return v()}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var u=d(s,n);if(u){if(u===O)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===T)throw r=M,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=S;var l=o(e,t,n);if("normal"===l.type){if(r=n.done?M:k,l.arg===O)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=M,n.method="throw",n.arg=l.arg)}}}function d(e,t){var n=e.iterator[t.method];if(n===g){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=g,d(e,t),"throw"===t.method))return O;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return O}var r=o(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,O;var i=r.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=g),t.delegate=null,O):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,O)}function f(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function p(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function h(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(f,this),this.reset(!0)}function m(e){if(e){var t=e[w];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(b.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=g,t.done=!0,t};return r.next=r}}return{next:v}}function v(){return{value:g,done:!0}}var g,y=Object.prototype,b=y.hasOwnProperty,_="function"==typeof Symbol?Symbol:{},w=_.iterator||"@@iterator",C=_.toStringTag||"@@toStringTag",x="object"==typeof e,E=t.regeneratorRuntime;if(E)return void(x&&(e.exports=E));E=t.regeneratorRuntime=x?e.exports:{},E.wrap=r;var T="suspendedStart",k="suspendedYield",S="executing",M="completed",O={},A={};A[w]=function(){return this};var N=Object.getPrototypeOf,I=N&&N(N(m([])));I&&I!==y&&b.call(I,w)&&(A=I);var P=s.prototype=i.prototype=Object.create(A);a.prototype=P.constructor=s,s.constructor=a,s[C]=a.displayName="GeneratorFunction",E.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===a||"GeneratorFunction"===(t.displayName||t.name))},E.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,C in e||(e[C]="GeneratorFunction")),e.prototype=Object.create(P),e},E.awrap=function(e){return{__await:e}},u(l.prototype),E.AsyncIterator=l,E.async=function(e,t,n,o){var i=new l(r(e,t,n,o));return E.isGeneratorFunction(t)?i:i.next().then(function(e){return e.done?e.value:i.next()})},u(P),P[C]="Generator",P.toString=function(){return"[object Generator]"},E.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},E.values=m,h.prototype={constructor:h,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=g,this.done=!1,this.delegate=null,this.method="next",this.arg=g,this.tryEntries.forEach(p),!e)for(var t in this)"t"===t.charAt(0)&&b.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=g)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){function t(t,r){return i.type="throw",i.arg=e,n.next=t,r&&(n.method="next",n.arg=g),!!r}if(this.done)throw e;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],i=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var a=b.call(o,"catchLoc"),s=b.call(o,"finallyLoc");if(a&&s){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&b.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,O):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),O},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),p(n),O}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;p(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:m(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=g),O}}}("object"==typeof t?t:"object"==typeof window?window:"object"==typeof self?self:this)}).call(t,function(){return this}(),n(159))},function(e,t){function n(e,t){var n,r=null;try{n=JSON.parse(e,t)}catch(e){r=e}return[r,n]}e.exports=n},function(e,t){"use strict";e.exports=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}},function(e,t,n){function r(e){var t=o(e)?Object.prototype.toString.call(e):"";return"[object Function]"===t}var o=n(311);e.exports=r},function(e,t,n){function r(e){if(e)return o(e)}function o(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}var i=n(311);e.exports=r,r.prototype.clearTimeout=function(){return clearTimeout(this._timer),clearTimeout(this._responseTimeoutTimer),delete this._timer,delete this._responseTimeoutTimer,this},r.prototype.parse=function(e){return this._parser=e,this},r.prototype.responseType=function(e){return this._responseType=e,this},r.prototype.serialize=function(e){return this._serializer=e,this},r.prototype.timeout=function(e){return e&&"object"==typeof e?("undefined"!=typeof e.deadline&&(this._timeout=e.deadline),"undefined"!=typeof e.response&&(this._responseTimeout=e.response),this):(this._timeout=e,this._responseTimeout=0,this)},r.prototype.retry=function(e){return 0!==arguments.length&&e!==!0||(e=1),e<=0&&(e=0),this._maxRetries=e,this._retries=0,this},r.prototype._retry=function(){return this.clearTimeout(),this.req&&(this.req=null,this.req=this.request()),this._aborted=!1,this.timedout=!1,this._end()},r.prototype.then=function(e,t){if(!this._fullfilledPromise){var n=this;this._endCalled&&console.warn("Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises"),this._fullfilledPromise=new Promise(function(e,t){n.end(function(n,r){
-n?t(n):e(r)})})}return this._fullfilledPromise.then(e,t)},r.prototype.catch=function(e){return this.then(void 0,e)},r.prototype.use=function(e){return e(this),this},r.prototype.ok=function(e){if("function"!=typeof e)throw Error("Callback required");return this._okCallback=e,this},r.prototype._isResponseOK=function(e){return!!e&&(this._okCallback?this._okCallback(e):e.status>=200&&e.status<300)},r.prototype.get=function(e){return this._header[e.toLowerCase()]},r.prototype.getHeader=r.prototype.get,r.prototype.set=function(e,t){if(i(e)){for(var n in e)this.set(n,e[n]);return this}return this._header[e.toLowerCase()]=t,this.header[e]=t,this},r.prototype.unset=function(e){return delete this._header[e.toLowerCase()],delete this.header[e],this},r.prototype.field=function(e,t){if(null===e||void 0===e)throw new Error(".field(name, val) name can not be empty");if(this._data&&console.error(".field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()"),i(e)){for(var n in e)this.field(n,e[n]);return this}if(Array.isArray(t)){for(var r in t)this.field(e,t[r]);return this}if(null===t||void 0===t)throw new Error(".field(name, val) val can not be empty");return"boolean"==typeof t&&(t=""+t),this._getFormData().append(e,t),this},r.prototype.abort=function(){return this._aborted?this:(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req&&this.req.abort(),this.clearTimeout(),this.emit("abort"),this)},r.prototype.withCredentials=function(){return this._withCredentials=!0,this},r.prototype.redirects=function(e){return this._maxRedirects=e,this},r.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},r.prototype.send=function(e){var t=i(e),n=this._header["content-type"];if(this._formData&&console.error(".send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()"),t&&!this._data)Array.isArray(e)?this._data=[]:this._isHost(e)||(this._data={});else if(e&&this._data&&this._isHost(this._data))throw Error("Can't merge these send calls");if(t&&i(this._data))for(var r in e)this._data[r]=e[r];else"string"==typeof e?(n||this.type("form"),n=this._header["content-type"],"application/x-www-form-urlencoded"==n?this._data=this._data?this._data+"&"+e:e:this._data=(this._data||"")+e):this._data=e;return!t||this._isHost(e)?this:(n||this.type("json"),this)},r.prototype.sortQuery=function(e){return this._sort="undefined"==typeof e||e,this},r.prototype._timeoutError=function(e,t){if(!this._aborted){var n=new Error(e+t+"ms exceeded");n.timeout=t,n.code="ECONNABORTED",this.timedout=!0,this.abort(),this.callback(n)}},r.prototype._setTimeouts=function(){var e=this;this._timeout&&!this._timer&&(this._timer=setTimeout(function(){e._timeoutError("Timeout of ",e._timeout)},this._timeout)),this._responseTimeout&&!this._responseTimeoutTimer&&(this._responseTimeoutTimer=setTimeout(function(){e._timeoutError("Response timeout of ",e._responseTimeout)},this._responseTimeout))}},function(e,t,n){function r(e){if(e)return o(e)}function o(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}var i=n(1146);e.exports=r,r.prototype.get=function(e){return this.header[e.toLowerCase()]},r.prototype._setHeaderProperties=function(e){var t=e["content-type"]||"";this.type=i.type(t);var n=i.params(t);for(var r in n)this[r]=n[r];this.links={};try{e.link&&(this.links=i.parseLinks(e.link))}catch(e){}},r.prototype._setStatusProperties=function(e){var t=e/100|0;this.status=this.statusCode=e,this.statusType=t,this.info=1==t,this.ok=2==t,this.redirect=3==t,this.clientError=4==t,this.serverError=5==t,this.error=(4==t||5==t)&&this.toError(),this.accepted=202==e,this.noContent=204==e,this.badRequest=400==e,this.unauthorized=401==e,this.notAcceptable=406==e,this.forbidden=403==e,this.notFound=404==e}},function(e,t){var n=["ECONNRESET","ETIMEDOUT","EADDRINFO","ESOCKETTIMEDOUT"];e.exports=function(e,t){return!!(e&&e.code&&~n.indexOf(e.code))||(!!(t&&t.status&&t.status>=500)||!!(e&&"timeout"in e&&"ECONNABORTED"==e.code))}},function(e,t){t.type=function(e){return e.split(/ *; */).shift()},t.params=function(e){return e.split(/ *; */).reduce(function(e,t){var n=t.split(/ *= */),r=n.shift(),o=n.shift();return r&&o&&(e[r]=o),e},{})},t.parseLinks=function(e){return e.split(/ *, */).reduce(function(e,t){var n=t.split(/ *; */),r=n[0].slice(1,-1),o=n[1].split(/ *= */)[1].slice(1,-1);return e[o]=r,e},{})},t.cleanHeader=function(e,t){return delete e["content-type"],delete e["content-length"],delete e["transfer-encoding"],delete e.host,t&&delete e.cookie,e}},function(e,t,n){(function(e,r){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i,a=n(1148),s=o(a);i="undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof e?e:r;var u=(0,s.default)(i);t.default=u}).call(t,function(){return this}(),n(203)(e))},function(e,t){"use strict";function n(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n},function(e,t){function n(e){return e.replace(/^\s*|\s*$/g,"")}t=e.exports=n,t.left=function(e){return e.replace(/^\s*/,"")},t.right=function(e){return e.replace(/\s*$/,"")}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(151),u=r(s),l=n(7),c=r(l),d=function(e){function t(){return o(this,t),i(this,e.apply(this,arguments))}return a(t,e),t.prototype.buildCSSClass=function(){return"vjs-big-play-button"},t.prototype.handleClick=function(e){this.player_.play();var t=this.player_.getChild("controlBar"),n=t&&t.getChild("playToggle");return n?void this.setTimeout(function(){n.focus()},1):void this.player_.focus()},t}(u.default);d.prototype.controlText_="Play Video",c.default.registerComponent("BigPlayButton",d),t.default=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(151),u=r(s),l=n(7),c=r(l),d=function(e){function t(n,r){o(this,t);var a=i(this,e.call(this,n,r));return a.controlText(r&&r.controlText||a.localize("Close")),a}return a(t,e),t.prototype.buildCSSClass=function(){return"vjs-close-button "+e.prototype.buildCSSClass.call(this)},t.prototype.handleClick=function(e){this.trigger({type:"close",bubbles:!1})},t}(u.default);c.default.registerComponent("CloseButton",d),t.default=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(480),u=r(s),l=n(7),c=r(l),d=n(1153),f=r(d),p=function(e){function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o(this,t),r.tracks=n.audioTracks&&n.audioTracks();var a=i(this,e.call(this,n,r));return a.el_.setAttribute("aria-label","Audio Menu"),a}return a(t,e),t.prototype.buildCSSClass=function(){return"vjs-audio-button "+e.prototype.buildCSSClass.call(this)},t.prototype.createItems=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.hideThreshold_=1;var t=this.player_.audioTracks&&this.player_.audioTracks();if(!t)return e;for(var n=0;n<t.length;n++){var r=t[n];e.push(new f.default(this.player_,{track:r,selectable:!0}))}return e},t}(u.default);p.prototype.controlText_="Audio Track",c.default.registerComponent("AudioTrackButton",p),t.default=p},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(201),l=o(u),c=n(7),d=o(c),f=n(19),p=r(f),h=function(e){function t(n,r){i(this,t);var o=r.track,s=n.audioTracks();r.label=o.label||o.language||"Unknown",r.selected=o.enabled;var u=a(this,e.call(this,n,r));if(u.track=o,s){var l=p.bind(u,u.handleTracksChange);s.addEventListener("change",l),u.on("dispose",function(){s.removeEventListener("change",l)})}return u}return s(t,e),t.prototype.handleClick=function(t){var n=this.player_.audioTracks();if(e.prototype.handleClick.call(this,t),n)for(var r=0;r<n.length;r++){var o=n[r];o.enabled=o===this.track}},t.prototype.handleTracksChange=function(e){this.selected(this.track.enabled)},t}(l.default);d.default.registerComponent("AudioTrackMenuItem",h),t.default=h},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(7),u=r(s);n(1157),n(1175),n(1176),n(1178),n(1177),n(1156),n(1163),n(1155),n(1179),n(1181),n(479),n(1170),n(1172),n(1174),n(1169),n(1152),n(1158),n(1166);var l=function(e){function t(){return o(this,t),i(this,e.apply(this,arguments))}return a(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-control-bar",dir:"ltr"},{role:"group"})},t}(u.default);l.prototype.options_={children:["playToggle","volumeMenuButton","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subtitlesButton","captionsButton","audioTrackButton","fullscreenToggle"]},u.default.registerComponent("ControlBar",l),t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(151),u=r(s),l=n(7),c=r(l),d=function(e){function t(n,r){o(this,t);var a=i(this,e.call(this,n,r));return a.on(n,"fullscreenchange",a.handleFullscreenChange),a}return a(t,e),t.prototype.buildCSSClass=function(){return"vjs-fullscreen-control "+e.prototype.buildCSSClass.call(this)},t.prototype.handleFullscreenChange=function(e){this.player_.isFullscreen()?this.controlText("Non-Fullscreen"):this.controlText("Fullscreen")},t.prototype.handleClick=function(e){this.player_.isFullscreen()?this.player_.exitFullscreen():this.player_.requestFullscreen()},t}(u.default);d.prototype.controlText_="Fullscreen",c.default.registerComponent("FullscreenToggle",d),t.default=d},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(7),l=o(u),c=n(22),d=r(c),f=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.updateShowing(),o.on(o.player(),"durationchange",o.updateShowing),o}return s(t,e),t.prototype.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-live-control vjs-control"});return this.contentEl_=d.createEl("div",{className:"vjs-live-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Stream Type")+"</span>"+this.localize("LIVE")},{"aria-live":"off"}),t.appendChild(this.contentEl_),t},t.prototype.updateShowing=function(e){this.player().duration()===1/0?this.show():this.hide()},t}(l.default);l.default.registerComponent("LiveDisplay",f),t.default=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(151),u=r(s),l=n(7),c=r(l),d=function(e){function t(n,r){o(this,t);var a=i(this,e.call(this,n,r));return a.on(n,"play",a.handlePlay),a.on(n,"pause",a.handlePause),a}return a(t,e),t.prototype.buildCSSClass=function(){return"vjs-play-control "+e.prototype.buildCSSClass.call(this)},t.prototype.handleClick=function(e){this.player_.paused()?this.player_.play():this.player_.pause()},t.prototype.handlePlay=function(e){this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.controlText("Pause")},t.prototype.handlePause=function(e){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.controlText("Play")},t}(u.default);d.prototype.controlText_="Play",c.default.registerComponent("PlayToggle",d),t.default=d},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(483),l=o(u),c=n(484),d=o(c),f=n(1159),p=o(f),h=n(7),m=o(h),v=n(22),g=r(v),y=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.updateVisibility(),o.updateLabel(),o.on(n,"loadstart",o.updateVisibility),o.on(n,"ratechange",o.updateLabel),o}return s(t,e),t.prototype.createEl=function(){var t=e.prototype.createEl.call(this);return this.labelEl_=g.createEl("div",{className:"vjs-playback-rate-value",innerHTML:1}),t.appendChild(this.labelEl_),t},t.prototype.buildCSSClass=function(){return"vjs-playback-rate "+e.prototype.buildCSSClass.call(this)},t.prototype.createMenu=function(){var e=new d.default(this.player()),t=this.playbackRates();if(t)for(var n=t.length-1;n>=0;n--)e.addChild(new p.default(this.player(),{rate:t[n]+"x"}));return e},t.prototype.updateARIAAttributes=function(){this.el().setAttribute("aria-valuenow",this.player().playbackRate())},t.prototype.handleClick=function(e){for(var t=this.player().playbackRate(),n=this.playbackRates(),r=n[0],o=0;o<n.length;o++)if(n[o]>t){r=n[o];break}this.player().playbackRate(r)},t.prototype.playbackRates=function(){return this.options_.playbackRates||this.options_.playerOptions&&this.options_.playerOptions.playbackRates},t.prototype.playbackRateSupported=function(){return this.player().tech_&&this.player().tech_.featuresPlaybackRate&&this.playbackRates()&&this.playbackRates().length>0},t.prototype.updateVisibility=function(e){this.playbackRateSupported()?this.removeClass("vjs-hidden"):this.addClass("vjs-hidden")},t.prototype.updateLabel=function(e){this.playbackRateSupported()&&(this.labelEl_.innerHTML=this.player().playbackRate()+"x")},t}(l.default);y.prototype.controlText_="Playback Rate",m.default.registerComponent("PlaybackRateMenuButton",y),t.default=y},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(201),u=r(s),l=n(7),c=r(l),d=function(e){function t(n,r){o(this,t);var a=r.rate,s=parseFloat(a,10);r.label=a,r.selected=1===s,r.selectable=!0;var u=i(this,e.call(this,n,r));return u.label=a,u.rate=s,u.on(n,"ratechange",u.update),u}return a(t,e),t.prototype.handleClick=function(t){e.prototype.handleClick.call(this),this.player().playbackRate(this.rate)},t.prototype.update=function(e){this.selected(this.player().playbackRate()===this.rate)},t}(u.default);d.prototype.contentElType="button",c.default.registerComponent("PlaybackRateMenuItem",d),t.default=d},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(7),l=o(u),c=n(22),d=r(c),f=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.partEls_=[],o.on(n,"progress",o.update),o}return s(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-load-progress",innerHTML:'<span class="vjs-control-text"><span>'+this.localize("Loaded")+"</span>: 0%</span>"})},t.prototype.update=function(e){var t=this.player_.buffered(),n=this.player_.duration(),r=this.player_.bufferedEnd(),o=this.partEls_,i=function(e,t){var n=e/t||0;return 100*(n>=1?1:n)+"%"};this.el_.style.width=i(r,n);for(var a=0;a<t.length;a++){var s=t.start(a),u=t.end(a),l=o[a];l||(l=this.el_.appendChild(d.createEl()),o[a]=l),l.style.left=i(s,r),l.style.width=i(u-s,r)}for(var c=o.length;c>t.length;c--)this.el_.removeChild(o[c-1]);o.length=t.length},t}(l.default);l.default.registerComponent("LoadProgressBar",f),t.default=f},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(7),l=o(u),c=n(22),d=r(c),f=n(19),p=r(f),h=n(82),m=o(h),v=n(317),g=o(v),y=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return r.playerOptions&&r.playerOptions.controlBar&&r.playerOptions.controlBar.progressControl&&r.playerOptions.controlBar.progressControl.keepTooltipsInside&&(o.keepTooltipsInside=r.playerOptions.controlBar.progressControl.keepTooltipsInside),o.keepTooltipsInside&&(o.tooltip=d.createEl("div",{className:"vjs-time-tooltip"}),o.el().appendChild(o.tooltip),o.addClass("vjs-keep-tooltips-inside")),o.update(0,0),n.on("ready",function(){o.on(n.controlBar.progressControl.el(),"mousemove",p.throttle(p.bind(o,o.handleMouseMove),25))}),o}return s(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},t.prototype.handleMouseMove=function(e){var t=this.player_.duration(),n=this.calculateDistance(e)*t,r=e.pageX-d.findElPosition(this.el().parentNode).left;this.update(n,r)},t.prototype.update=function(e,t){var n=(0,m.default)(e,this.player_.duration());if(this.el().style.left=t+"px",this.el().setAttribute("data-current-time",n),this.keepTooltipsInside){var r=this.clampPosition_(t),o=t-r+1,i=parseFloat((0,g.default)(this.tooltip,"width")),a=i/2;this.tooltip.innerHTML=n,this.tooltip.style.right="-"+(a-o)+"px"}},t.prototype.calculateDistance=function(e){return d.getPointerPosition(this.el().parentNode,e).x},t.prototype.clampPosition_=function(e){if(!this.keepTooltipsInside)return e;var t=parseFloat((0,g.default)(this.player().el(),"width")),n=parseFloat((0,g.default)(this.tooltip,"width")),r=n/2,o=e;return e<r?o=Math.ceil(r):e>t-r&&(o=Math.floor(t-r)),o},t}(l.default);l.default.registerComponent("MouseTimeDisplay",y),t.default=y},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(7),l=o(u),c=n(19),d=r(c),f=n(82),p=o(f),h=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.updateDataAttr(),o.on(n,"timeupdate",o.updateDataAttr),n.ready(d.bind(o,o.updateDataAttr)),r.playerOptions&&r.playerOptions.controlBar&&r.playerOptions.controlBar.progressControl&&r.playerOptions.controlBar.progressControl.keepTooltipsInside&&(o.keepTooltipsInside=r.playerOptions.controlBar.progressControl.keepTooltipsInside),o.keepTooltipsInside&&o.addClass("vjs-keep-tooltips-inside"),o}return s(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-play-progress vjs-slider-bar",innerHTML:'<span class="vjs-control-text"><span>'+this.localize("Progress")+"</span>: 0%</span>"})},t.prototype.updateDataAttr=function(e){var t=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();this.el_.setAttribute("data-current-time",(0,p.default)(t,this.player_.duration()))},t}(l.default);l.default.registerComponent("PlayProgressBar",h),t.default=h},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(7),u=r(s);n(1164),n(1161);var l=function(e){function t(){return o(this,t),i(this,e.apply(this,arguments))}return a(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-progress-control vjs-control"})},t}(u.default);l.prototype.options_={children:["seekBar"]},u.default.registerComponent("ProgressControl",l),t.default=l},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(487),l=o(u),c=n(7),d=o(c),f=n(19),p=r(f),h=n(82),m=o(h),v=n(317),g=o(v);n(1160),n(1162),n(1165);var y=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.on(n,"timeupdate",o.updateProgress),o.on(n,"ended",o.updateProgress),n.ready(p.bind(o,o.updateProgress)),r.playerOptions&&r.playerOptions.controlBar&&r.playerOptions.controlBar.progressControl&&r.playerOptions.controlBar.progressControl.keepTooltipsInside&&(o.keepTooltipsInside=r.playerOptions.controlBar.progressControl.keepTooltipsInside),o.keepTooltipsInside&&(o.tooltipProgressBar=o.addChild("TooltipProgressBar")),o}return s(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-progress-holder"},{"aria-label":"progress bar"})},t.prototype.updateProgress=function(e){if(this.updateAriaAttributes(this.el_),this.keepTooltipsInside){this.updateAriaAttributes(this.tooltipProgressBar.el_),this.tooltipProgressBar.el_.style.width=this.bar.el_.style.width;var t=parseFloat((0,g.default)(this.player().el(),"width")),n=parseFloat((0,g.default)(this.tooltipProgressBar.tooltip,"width")),r=this.tooltipProgressBar.el().style;r.maxWidth=Math.floor(t-n/2)+"px",r.minWidth=Math.ceil(n/2)+"px",r.right="-"+n/2+"px"}},t.prototype.updateAriaAttributes=function(e){var t=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();e.setAttribute("aria-valuenow",(100*this.getPercent()).toFixed(2)),e.setAttribute("aria-valuetext",(0,m.default)(t,this.player_.duration()))},t.prototype.getPercent=function(){var e=this.player_.currentTime()/this.player_.duration();return e>=1?1:e},t.prototype.handleMouseDown=function(t){this.player_.scrubbing(!0),this.videoWasPlaying=!this.player_.paused(),this.player_.pause(),e.prototype.handleMouseDown.call(this,t)},t.prototype.handleMouseMove=function(e){var t=this.calculateDistance(e)*this.player_.duration();t===this.player_.duration()&&(t-=.1),this.player_.currentTime(t)},t.prototype.handleMouseUp=function(t){e.prototype.handleMouseUp.call(this,t),this.player_.scrubbing(!1),this.videoWasPlaying&&this.player_.play()},t.prototype.stepForward=function(){this.player_.currentTime(this.player_.currentTime()+5)},t.prototype.stepBack=function(){this.player_.currentTime(this.player_.currentTime()-5)},t}(l.default);y.prototype.options_={children:["loadProgressBar","mouseTimeDisplay","playProgressBar"],barName:"playProgressBar"},y.prototype.playerEvent="timeupdate",d.default.registerComponent("SeekBar",y),t.default=y},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(7),l=o(u),c=n(19),d=r(c),f=n(82),p=o(f),h=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.updateDataAttr(),o.on(n,"timeupdate",o.updateDataAttr),n.ready(d.bind(o,o.updateDataAttr)),o}return s(t,e),t.prototype.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-tooltip-progress-bar vjs-slider-bar",innerHTML:'<div class="vjs-time-tooltip"></div>\n        <span class="vjs-control-text"><span>'+this.localize("Progress")+"</span>: 0%</span>"
-});return this.tooltip=t.querySelector(".vjs-time-tooltip"),t},t.prototype.updateDataAttr=function(e){var t=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),n=(0,p.default)(t,this.player_.duration());this.el_.setAttribute("data-current-time",n),this.tooltip.innerHTML=n},t}(l.default);l.default.registerComponent("TooltipProgressBar",h),t.default=h},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(1167),u=r(s),l=n(7),c=r(l),d=function(e){function t(){return o(this,t),i(this,e.apply(this,arguments))}return a(t,e),t.prototype.buildCSSClass=function(){return"vjs-custom-control-spacer "+e.prototype.buildCSSClass.call(this)},t.prototype.createEl=function(){var t=e.prototype.createEl.call(this,{className:this.buildCSSClass()});return t.innerHTML="&nbsp;",t},t}(u.default);c.default.registerComponent("CustomControlSpacer",d),t.default=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(7),u=r(s),l=function(e){function t(){return o(this,t),i(this,e.apply(this,arguments))}return a(t,e),t.prototype.buildCSSClass=function(){return"vjs-spacer "+e.prototype.buildCSSClass.call(this)},t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},t}(u.default);u.default.registerComponent("Spacer",l),t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(312),u=r(s),l=n(7),c=r(l),d=function(e){function t(n,r){o(this,t),r.track={player:n,kind:r.kind,label:r.kind+" settings",selectable:!1,default:!1,mode:"disabled"},r.selectable=!1;var a=i(this,e.call(this,n,r));return a.addClass("vjs-texttrack-settings"),a.controlText(", opens "+r.kind+" settings dialog"),a}return a(t,e),t.prototype.handleClick=function(e){this.player().getChild("textTrackSettings").show(),this.player().getChild("textTrackSettings").el_.focus()},t}(u.default);c.default.registerComponent("CaptionSettingsMenuItem",d),t.default=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(199),u=r(s),l=n(7),c=r(l),d=n(1168),f=r(d),p=function(e){function t(n,r,a){o(this,t);var s=i(this,e.call(this,n,r,a));return s.el_.setAttribute("aria-label","Captions Menu"),s}return a(t,e),t.prototype.buildCSSClass=function(){return"vjs-captions-button "+e.prototype.buildCSSClass.call(this)},t.prototype.createItems=function(){var t=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||(t.push(new f.default(this.player_,{kind:this.kind_})),this.hideThreshold_+=1),e.prototype.createItems.call(this,t)},t}(u.default);p.prototype.kind_="captions",p.prototype.controlText_="Captions",c.default.registerComponent("CaptionsButton",p),t.default=p},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(199),u=r(s),l=n(7),c=r(l),d=n(1171),f=r(d),p=n(128),h=r(p),m=function(e){function t(n,r,a){o(this,t);var s=i(this,e.call(this,n,r,a));return s.el_.setAttribute("aria-label","Chapters Menu"),s}return a(t,e),t.prototype.buildCSSClass=function(){return"vjs-chapters-button "+e.prototype.buildCSSClass.call(this)},t.prototype.update=function(t){this.track_&&(!t||"addtrack"!==t.type&&"removetrack"!==t.type)||this.setTrack(this.findChaptersTrack()),e.prototype.update.call(this)},t.prototype.setTrack=function(e){if(this.track_!==e){if(this.updateHandler_||(this.updateHandler_=this.update.bind(this)),this.track_){var t=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);t&&t.removeEventListener("load",this.updateHandler_),this.track_=null}if(this.track_=e,this.track_){this.track_.mode="hidden";var n=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);n&&n.addEventListener("load",this.updateHandler_)}}},t.prototype.findChaptersTrack=function(){for(var e=this.player_.textTracks()||[],t=e.length-1;t>=0;t--){var n=e[t];if(n.kind===this.kind_)return n}},t.prototype.getMenuCaption=function(){return this.track_&&this.track_.label?this.track_.label:this.localize((0,h.default)(this.kind_))},t.prototype.createMenu=function(){return this.options_.title=this.getMenuCaption(),e.prototype.createMenu.call(this)},t.prototype.createItems=function(){var e=[];if(!this.track_)return e;var t=this.track_.cues;if(!t)return e;for(var n=0,r=t.length;n<r;n++){var o=t[n],i=new f.default(this.player_,{track:this.track_,cue:o});e.push(i)}return e},t}(u.default);m.prototype.kind_="chapters",m.prototype.controlText_="Chapters",c.default.registerComponent("ChaptersButton",m),t.default=m},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(201),l=o(u),c=n(7),d=o(c),f=n(19),p=r(f),h=function(e){function t(n,r){i(this,t);var o=r.track,s=r.cue,u=n.currentTime();r.selectable=!0,r.label=s.text,r.selected=s.startTime<=u&&u<s.endTime;var l=a(this,e.call(this,n,r));return l.track=o,l.cue=s,o.addEventListener("cuechange",p.bind(l,l.update)),l}return s(t,e),t.prototype.handleClick=function(t){e.prototype.handleClick.call(this),this.player_.currentTime(this.cue.startTime),this.update(this.cue.startTime)},t.prototype.update=function(e){var t=this.cue,n=this.player_.currentTime();this.selected(t.startTime<=n&&n<t.endTime)},t}(l.default);d.default.registerComponent("ChaptersTrackMenuItem",h),t.default=h},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(199),l=o(u),c=n(7),d=o(c),f=n(19),p=r(f),h=function(e){function t(n,r,o){i(this,t);var s=a(this,e.call(this,n,r,o));s.el_.setAttribute("aria-label","Descriptions Menu");var u=n.textTracks();if(u){var l=p.bind(s,s.handleTracksChange);u.addEventListener("change",l),s.on("dispose",function(){u.removeEventListener("change",l)})}return s}return s(t,e),t.prototype.handleTracksChange=function(e){for(var t=this.player().textTracks(),n=!1,r=0,o=t.length;r<o;r++){var i=t[r];if(i.kind!==this.kind_&&"showing"===i.mode){n=!0;break}}n?this.disable():this.enable()},t.prototype.buildCSSClass=function(){return"vjs-descriptions-button "+e.prototype.buildCSSClass.call(this)},t}(l.default);h.prototype.kind_="descriptions",h.prototype.controlText_="Descriptions",d.default.registerComponent("DescriptionsButton",h),t.default=h},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(312),u=r(s),l=n(7),c=r(l),d=function(e){function t(n,r){o(this,t),r.track={player:n,kind:r.kind,label:r.kind+" off",default:!1,mode:"disabled"},r.selectable=!0;var a=i(this,e.call(this,n,r));return a.selected(!0),a}return a(t,e),t.prototype.handleTracksChange=function(e){for(var t=this.player().textTracks(),n=!0,r=0,o=t.length;r<o;r++){var i=t[r];if(i.kind===this.track.kind&&"showing"===i.mode){n=!1;break}}this.selected(n)},t}(u.default);c.default.registerComponent("OffTextTrackMenuItem",d),t.default=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(199),u=r(s),l=n(7),c=r(l),d=function(e){function t(n,r,a){o(this,t);var s=i(this,e.call(this,n,r,a));return s.el_.setAttribute("aria-label","Subtitles Menu"),s}return a(t,e),t.prototype.buildCSSClass=function(){return"vjs-subtitles-button "+e.prototype.buildCSSClass.call(this)},t}(u.default);d.prototype.kind_="subtitles",d.prototype.controlText_="Subtitles",c.default.registerComponent("SubtitlesButton",d),t.default=d},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(7),l=o(u),c=n(22),d=r(c),f=n(82),p=o(f),h=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.on(n,"timeupdate",o.updateContent),o}return s(t,e),t.prototype.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-current-time vjs-time-control vjs-control"});return this.contentEl_=d.createEl("div",{className:"vjs-current-time-display",innerHTML:'<span class="vjs-control-text">Current Time </span>0:00'},{"aria-live":"off"}),t.appendChild(this.contentEl_),t},t.prototype.updateContent=function(e){var t=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),n=this.localize("Current Time"),r=(0,p.default)(t,this.player_.duration());r!==this.formattedTime_&&(this.formattedTime_=r,this.contentEl_.innerHTML='<span class="vjs-control-text">'+n+"</span> "+r)},t}(l.default);l.default.registerComponent("CurrentTimeDisplay",h),t.default=h},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(7),l=o(u),c=n(22),d=r(c),f=n(82),p=o(f),h=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.on(n,"durationchange",o.updateContent),o.on(n,"timeupdate",o.updateContent),o.on(n,"loadedmetadata",o.updateContent),o}return s(t,e),t.prototype.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-duration vjs-time-control vjs-control"});return this.contentEl_=d.createEl("div",{className:"vjs-duration-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Duration Time")+"</span> 0:00"},{"aria-live":"off"}),t.appendChild(this.contentEl_),t},t.prototype.updateContent=function(e){var t=this.player_.duration();if(t&&this.duration_!==t){this.duration_=t;var n=this.localize("Duration Time"),r=(0,p.default)(t);this.contentEl_.innerHTML='<span class="vjs-control-text">'+n+"</span> "+r}},t}(l.default);l.default.registerComponent("DurationDisplay",h),t.default=h},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(7),l=o(u),c=n(22),d=r(c),f=n(82),p=o(f),h=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.on(n,"timeupdate",o.updateContent),o.on(n,"durationchange",o.updateContent),o}return s(t,e),t.prototype.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-remaining-time vjs-time-control vjs-control"});return this.contentEl_=d.createEl("div",{className:"vjs-remaining-time-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Remaining Time")+"</span> -0:00"},{"aria-live":"off"}),t.appendChild(this.contentEl_),t},t.prototype.updateContent=function(e){if(this.player_.duration()){var t=this.localize("Remaining Time"),n=(0,p.default)(this.player_.remainingTime());n!==this.formattedTime_&&(this.formattedTime_=n,this.contentEl_.innerHTML='<span class="vjs-control-text">'+t+"</span> -"+n)}},t}(l.default);l.default.registerComponent("RemainingTimeDisplay",h),t.default=h},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(7),u=r(s),l=function(e){function t(){return o(this,t),i(this,e.apply(this,arguments))}return a(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-time-control vjs-time-divider",innerHTML:"<div><span>/</span></div>"})},t}(u.default);u.default.registerComponent("TimeDivider",l),t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(7),u=r(s);n(481);var l=function(e){function t(n,r){o(this,t);var a=i(this,e.call(this,n,r));return n.tech_&&n.tech_.featuresVolumeControl===!1&&a.addClass("vjs-hidden"),a.on(n,"loadstart",function(){n.tech_.featuresVolumeControl===!1?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")}),a}return a(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-volume-control vjs-control"})},t}(u.default);l.prototype.options_={children:["volumeBar"]},u.default.registerComponent("VolumeControl",l),t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(7),u=r(s),l=function(e){function t(){return o(this,t),i(this,e.apply(this,arguments))}return a(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-volume-level",innerHTML:'<span class="vjs-control-text"></span>'})},t}(u.default);u.default.registerComponent("VolumeLevel",l),t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(19),l=o(u),c=n(7),d=r(c),f=n(1188),p=r(f),h=n(1187),m=r(h),v=n(479),g=r(v),y=n(481),b=r(y),_=function(e){function t(n){function r(){n.tech_&&n.tech_.featuresVolumeControl===!1?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")}var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};i(this,t),void 0===o.inline&&(o.inline=!0),void 0===o.vertical&&(o.inline?o.vertical=!1:o.vertical=!0),o.volumeBar=o.volumeBar||{},o.volumeBar.vertical=!!o.vertical;var s=a(this,e.call(this,n,o));return s.on(n,"volumechange",s.volumeUpdate),s.on(n,"loadstart",s.volumeUpdate),r.call(s),s.on(n,"loadstart",r),s.on(s.volumeBar,["slideractive","focus"],function(){this.addClass("vjs-slider-active")}),s.on(s.volumeBar,["sliderinactive","blur"],function(){this.removeClass("vjs-slider-active")}),s.on(s.volumeBar,["focus"],function(){this.addClass("vjs-lock-showing")}),s.on(s.volumeBar,["blur"],function(){this.removeClass("vjs-lock-showing")}),s}return s(t,e),t.prototype.buildCSSClass=function(){var t="";return t=this.options_.vertical?"vjs-volume-menu-button-vertical":"vjs-volume-menu-button-horizontal","vjs-volume-menu-button "+e.prototype.buildCSSClass.call(this)+" "+t},t.prototype.createPopup=function(){var e=new p.default(this.player_,{contentElType:"div"}),t=new b.default(this.player_,this.options_.volumeBar);return e.addChild(t),this.menuContent=e,this.volumeBar=t,this.attachVolumeBarEvents(),e},t.prototype.handleClick=function(t){g.default.prototype.handleClick.call(this),e.prototype.handleClick.call(this)},t.prototype.attachVolumeBarEvents=function(){this.menuContent.on(["mousedown","touchdown"],l.bind(this,this.handleMouseDown))},t.prototype.handleMouseDown=function(e){this.on(["mousemove","touchmove"],l.bind(this.volumeBar,this.volumeBar.handleMouseMove)),this.on(this.el_.ownerDocument,["mouseup","touchend"],this.handleMouseUp)},t.prototype.handleMouseUp=function(e){this.off(["mousemove","touchmove"],l.bind(this.volumeBar,this.volumeBar.handleMouseMove))},t}(m.default);_.prototype.volumeUpdate=g.default.prototype.update,_.prototype.controlText_="Mute",d.default.registerComponent("VolumeMenuButton",_),t.default=_},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(7),u=r(s),l=n(485),c=r(l),d=n(74),f=r(d),p=function(e){function t(n,r){o(this,t);var a=i(this,e.call(this,n,r));return a.on(n,"error",a.open),a}return a(t,e),t.prototype.buildCSSClass=function(){return"vjs-error-display "+e.prototype.buildCSSClass.call(this)},t.prototype.content=function(){var e=this.player().error();return e?this.localize(e.message):""},t}(c.default);p.prototype.options_=(0,f.default)(c.default.prototype.options_,{pauseOnOpen:!1,fillAlways:!0,temporary:!1,uncloseable:!0}),u.default.registerComponent("ErrorDisplay",p),t.default=p},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=n(44),a=r(i),s=n(33),u=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+("undefined"==typeof t?"undefined":o(t)));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(e.super_=t)},l=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=function(){e.apply(this,arguments)},r={};(0,s.isObject)(t)?("function"==typeof t.init&&(a.default.warn("Constructor logic via init() is deprecated; please use constructor() instead."),t.constructor=t.init),t.constructor!==Object.prototype.constructor&&(n=t.constructor),r=t):"function"==typeof t&&(n=t),u(n,e);for(var o in r)r.hasOwnProperty(o)&&(n.prototype[o]=r[o]);return n};t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;for(var o=n(26),i=r(o),a={},s=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],u=s[0],l=void 0,c=0;c<s.length;c++)if(s[c][1]in i.default){l=s[c];break}if(l)for(var d=0;d<l.length;d++)a[u[d]]=l[d];t.default=a},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(7),u=r(s),l=function(e){function t(){return o(this,t),i(this,e.apply(this,arguments))}return a(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-loading-spinner",dir:"ltr"})},t}(u.default);u.default.registerComponent("LoadingSpinner",l),t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(486),i=r(o),a=function(e,t){i.default.prototype[e]=t};t.default=a},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(152),u=r(s),l=n(7),c=r(l),d=function(e){function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o(this,t);var a=i(this,e.call(this,n,r));return a.update(),a}return a(t,e),t.prototype.update=function(){var e=this.createPopup();this.popup&&this.removeChild(this.popup),this.popup=e,this.addChild(e),this.items&&0===this.items.length?this.hide():this.items&&this.items.length>1&&this.show()},t.prototype.createPopup=function(){},t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},t.prototype.buildCSSClass=function(){var t="vjs-menu-button";return t+=this.options_.inline===!0?"-inline":"-popup","vjs-menu-button "+t+" "+e.prototype.buildCSSClass.call(this)},t}(u.default);c.default.registerComponent("PopupButton",d),t.default=d},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(7),l=o(u),c=n(22),d=r(c),f=n(19),p=r(f),h=n(81),m=r(h),v=function(e){function t(){return i(this,t),a(this,e.apply(this,arguments))}return s(t,e),t.prototype.addItem=function(e){this.addChild(e),e.on("click",p.bind(this,function(){this.unlockShowing()}))},t.prototype.createEl=function(){var t=this.options_.contentElType||"ul";this.contentEl_=d.createEl(t,{className:"vjs-menu-content"});var n=e.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"});return n.appendChild(this.contentEl_),m.on(n,"click",function(e){e.preventDefault(),e.stopImmediatePropagation()}),n},t}(l.default);l.default.registerComponent("Popup",v),t.default=v},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,
-t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(152),l=o(u),c=n(7),d=o(c),f=n(19),p=r(f),h=n(22),m=r(h),v=n(32),g=r(v),y=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.update(),n.on("posterchange",p.bind(o,o.update)),o}return s(t,e),t.prototype.dispose=function(){this.player().off("posterchange",this.update),e.prototype.dispose.call(this)},t.prototype.createEl=function(){var e=m.createEl("div",{className:"vjs-poster",tabIndex:-1});return g.BACKGROUND_SIZE_SUPPORTED||(this.fallbackImg_=m.createEl("img"),e.appendChild(this.fallbackImg_)),e},t.prototype.update=function(e){var t=this.player().poster();this.setSrc(t),t?this.show():this.hide()},t.prototype.setSrc=function(e){if(this.fallbackImg_)this.fallbackImg_.src=e;else{var t="";e&&(t='url("'+e+'")'),this.el_.style.backgroundImage=t}},t.prototype.handleClick=function(e){this.player_.controls()&&(this.player_.paused()?this.player_.play():this.player_.pause())},t}(l.default);d.default.registerComponent("PosterImage",y),t.default=y},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e,t){t&&(m=t),p.default.setTimeout(v,e)}t.__esModule=!0,t.hasLoaded=t.autoSetupTimeout=t.autoSetup=void 0;var a=n(22),s=o(a),u=n(81),l=o(u),c=n(26),d=r(c),f=n(29),p=r(f),h=!1,m=void 0,v=function(){if(s.isReal()){var e=d.default.getElementsByTagName("video"),t=d.default.getElementsByTagName("audio"),n=[];if(e&&e.length>0)for(var r=0,o=e.length;r<o;r++)n.push(e[r]);if(t&&t.length>0)for(var a=0,u=t.length;a<u;a++)n.push(t[a]);if(n&&n.length>0)for(var l=0,c=n.length;l<c;l++){var f=n[l];if(!f||!f.getAttribute){i(1);break}if(void 0===f.player){var p=f.getAttribute("data-setup");null!==p&&m(f)}}else h||i(1)}};s.isReal()&&"complete"===d.default.readyState?h=!0:l.one(p.default,"load",function(){h=!0});var g=function(){return h};t.autoSetup=v,t.autoSetupTimeout=i,t.hasLoaded=g},function(e,t){"use strict";function n(e){return e.streamingFormats={"rtmp/mp4":"MP4","rtmp/flv":"FLV"},e.streamFromParts=function(e,t){return e+"&"+t},e.streamToParts=function(e){var t={connection:"",stream:""};if(!e)return t;var n=e.search(/&(?!\w+=)/),r=void 0;return n!==-1?r=n+1:(n=r=e.lastIndexOf("/")+1,0===n&&(n=r=e.length)),t.connection=e.substring(0,n),t.stream=e.substring(r,e.length),t},e.isStreamingType=function(t){return t in e.streamingFormats},e.RTMP_RE=/^rtmp[set]?:\/\//i,e.isStreamingSrc=function(t){return e.RTMP_RE.test(t)},e.rtmpSourceHandler={},e.rtmpSourceHandler.canPlayType=function(t){return e.isStreamingType(t)?"maybe":""},e.rtmpSourceHandler.canHandleSource=function(t,n){var r=e.rtmpSourceHandler.canPlayType(t.type);return r?r:e.isStreamingSrc(t.src)?"maybe":""},e.rtmpSourceHandler.handleSource=function(t,n,r){var o=e.streamToParts(t.src);n.setRtmpConnection(o.connection),n.setRtmpStream(o.stream)},e.registerSourceHandler(e.rtmpSourceHandler),e}t.__esModule=!0,t.default=n},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function u(e){var t=e.charAt(0).toUpperCase()+e.slice(1);k["set"+t]=function(t){return this.el_.vjs_setProperty(e,t)}}function l(e){k[e]=function(){return this.el_.vjs_getProperty(e)}}t.__esModule=!0;for(var c=n(153),d=o(c),f=n(22),p=r(f),h=n(202),m=r(h),v=n(154),g=n(1191),y=o(g),b=n(7),_=o(b),w=n(29),C=o(w),x=n(33),E=C.default.navigator,T=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return n.source&&o.ready(function(){this.setSource(n.source)},!0),n.startTime&&o.ready(function(){this.load(),this.play(),this.currentTime(n.startTime)},!0),C.default.videojs=C.default.videojs||{},C.default.videojs.Flash=C.default.videojs.Flash||{},C.default.videojs.Flash.onReady=t.onReady,C.default.videojs.Flash.onEvent=t.onEvent,C.default.videojs.Flash.onError=t.onError,o.on("seeked",function(){this.lastSeekTarget_=void 0}),o}return s(t,e),t.prototype.createEl=function(){var e=this.options_;if(!e.swf){var n="5.3.0";e.swf="//vjs.zencdn.net/swf/"+n+"/video-js.swf"}var r=e.techId,o=(0,x.assign)({readyFunction:"videojs.Flash.onReady",eventProxyFunction:"videojs.Flash.onEvent",errorEventProxyFunction:"videojs.Flash.onError",autoplay:e.autoplay,preload:e.preload,loop:e.loop,muted:e.muted},e.flashVars),i=(0,x.assign)({wmode:"opaque",bgcolor:"#000000"},e.params),a=(0,x.assign)({id:r,name:r,class:"vjs-tech"},e.attributes);return this.el_=t.embed(e.swf,o,i,a),this.el_.tech=this,this.el_},t.prototype.play=function(){this.ended()&&this.setCurrentTime(0),this.el_.vjs_play()},t.prototype.pause=function(){this.el_.vjs_pause()},t.prototype.src=function(e){return void 0===e?this.currentSrc():this.setSrc(e)},t.prototype.setSrc=function(e){var t=this;e=m.getAbsoluteURL(e),this.el_.vjs_src(e),this.autoplay()&&this.setTimeout(function(){return t.play()},0)},t.prototype.seeking=function(){return void 0!==this.lastSeekTarget_},t.prototype.setCurrentTime=function(t){var n=this.seekable();n.length&&(t=t>n.start(0)?t:n.start(0),t=t<n.end(n.length-1)?t:n.end(n.length-1),this.lastSeekTarget_=t,this.trigger("seeking"),this.el_.vjs_setProperty("currentTime",t),e.prototype.setCurrentTime.call(this))},t.prototype.currentTime=function(){return this.seeking()?this.lastSeekTarget_||0:this.el_.vjs_getProperty("currentTime")},t.prototype.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.vjs_getProperty("currentSrc")},t.prototype.duration=function e(){if(0===this.readyState())return NaN;var e=this.el_.vjs_getProperty("duration");return e>=0?e:1/0},t.prototype.load=function(){this.el_.vjs_load()},t.prototype.poster=function(){this.el_.vjs_getProperty("poster")},t.prototype.setPoster=function(){},t.prototype.seekable=function(){var e=this.duration();return 0===e?(0,v.createTimeRange)():(0,v.createTimeRange)(0,e)},t.prototype.buffered=function(){var e=this.el_.vjs_getProperty("buffered");return 0===e.length?(0,v.createTimeRange)():(0,v.createTimeRange)(e[0][0],e[0][1])},t.prototype.supportsFullScreen=function(){return!1},t.prototype.enterFullScreen=function(){return!1},t}(d.default),k=T.prototype,S="rtmpConnection,rtmpStream,preload,defaultPlaybackRate,playbackRate,autoplay,loop,mediaGroup,controller,controls,volume,muted,defaultMuted".split(","),M="networkState,readyState,initialTime,startOffsetTime,paused,ended,videoWidth,videoHeight".split(","),O=0;O<S.length;O++)l(S[O]),u(S[O]);for(var A=0;A<M.length;A++)l(M[A]);T.isSupported=function(){return T.version()[0]>=10},d.default.withSourceHandlers(T),T.nativeSourceHandler={},T.nativeSourceHandler.canPlayType=function(e){return e in T.formats?"maybe":""},T.nativeSourceHandler.canHandleSource=function(e,t){function n(e){var t=m.getFileExtension(e);return t?"video/"+t:""}var r=void 0;return r=e.type?e.type.replace(/;.*/,"").toLowerCase():n(e.src),T.nativeSourceHandler.canPlayType(r)},T.nativeSourceHandler.handleSource=function(e,t,n){t.setSrc(e.src)},T.nativeSourceHandler.dispose=function(){},T.registerSourceHandler(T.nativeSourceHandler),T.formats={"video/flv":"FLV","video/x-flv":"FLV","video/mp4":"MP4","video/m4v":"MP4"},T.onReady=function(e){var t=p.getEl(e),n=t&&t.tech;n&&n.el()&&T.checkReady(n)},T.checkReady=function(e){e.el()&&(e.el().vjs_getProperty?e.triggerReady():this.setTimeout(function(){T.checkReady(e)},50))},T.onEvent=function(e,t){var n=p.getEl(e).tech,r=Array.prototype.slice.call(arguments,2);n.setTimeout(function(){n.trigger(t,r)},1)},T.onError=function(e,t){var n=p.getEl(e).tech;return"srcnotfound"===t?n.error(4):void n.error("FLASH: "+t)},T.version=function(){var e="0,0,0";try{e=new C.default.ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version").replace(/\D+/g,",").match(/^,?(.+),?$/)[1]}catch(t){try{E.mimeTypes["application/x-shockwave-flash"].enabledPlugin&&(e=(E.plugins["Shockwave Flash 2.0"]||E.plugins["Shockwave Flash"]).description.replace(/\D+/g,",").match(/^,?(.+),?$/)[1])}catch(e){}}return e.split(",")},T.embed=function(e,t,n,r){var o=T.getEmbedCode(e,t,n,r),i=p.createEl("div",{innerHTML:o}).childNodes[0];return i},T.getEmbedCode=function(e,t,n,r){var o='<object type="application/x-shockwave-flash" ',i="",a="",s="";return t&&Object.getOwnPropertyNames(t).forEach(function(e){i+=e+"="+t[e]+"&amp;"}),n=(0,x.assign)({movie:e,flashvars:i,allowScriptAccess:"always",allowNetworking:"all"},n),Object.getOwnPropertyNames(n).forEach(function(e){a+='<param name="'+e+'" value="'+n[e]+'" />'}),r=(0,x.assign)({data:e,width:"100%",height:"100%"},r),Object.getOwnPropertyNames(r).forEach(function(e){s+=e+'="'+r[e]+'" '}),""+o+s+">"+a+"</object>"},(0,y.default)(T),_.default.registerComponent("Flash",T),d.default.registerTech("Flash",T),t.default=T},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return e.raw=t,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var l=i(["Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.\n            This may prevent text tracks from loading."],["Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.\n            This may prevent text tracks from loading."]),c=n(153),d=o(c),f=n(7),p=o(f),h=n(22),m=r(h),v=n(202),g=r(v),y=n(19),b=r(y),_=n(44),w=o(_),C=n(478),x=o(C),E=n(32),T=r(E),k=n(26),S=o(k),M=n(29),O=o(M),A=n(33),N=n(74),I=o(N),P=n(128),D=o(P),R=function(e){function t(n,r){a(this,t);var o=s(this,e.call(this,n,r)),i=n.source,u=!1;if(i&&(o.el_.currentSrc!==i.src||n.tag&&3===n.tag.initNetworkState_)?o.setSource(i):o.handleLateInit_(o.el_),o.el_.hasChildNodes()){for(var c=o.el_.childNodes,d=c.length,f=[];d--;){var p=c[d],h=p.nodeName.toLowerCase();"track"===h&&(o.featuresNativeTextTracks?(o.remoteTextTrackEls().addTrackElement_(p),o.remoteTextTracks().addTrack_(p.track),u||o.el_.hasAttribute("crossorigin")||!g.isCrossOrigin(p.src)||(u=!0)):f.push(p))}for(var m=0;m<f.length;m++)o.el_.removeChild(f[m])}var v=["audio","video"];return v.forEach(function(e){var t=o.el()[e+"Tracks"],n=o[e+"Tracks"](),r=(0,D.default)(e);o["featuresNative"+r+"Tracks"]&&t&&t.addEventListener&&(o["handle"+r+"TrackChange_"]=function(e){n.trigger({type:"change",target:n,currentTarget:n,srcElement:n})},o["handle"+r+"TrackAdd_"]=function(e){return n.addTrack(e.track)},o["handle"+r+"TrackRemove_"]=function(e){return n.removeTrack(e.track)},t.addEventListener("change",o["handle"+r+"TrackChange_"]),t.addEventListener("addtrack",o["handle"+r+"TrackAdd_"]),t.addEventListener("removetrack",o["handle"+r+"TrackRemove_"]),o["removeOld"+r+"Tracks_"]=function(e){return o.removeOldTracks_(n,t)},o.on("loadstart",o["removeOld"+r+"Tracks_"]))}),o.featuresNativeTextTracks&&(u&&w.default.warn((0,x.default)(l)),o.handleTextTrackChange_=b.bind(o,o.handleTextTrackChange),o.handleTextTrackAdd_=b.bind(o,o.handleTextTrackAdd),o.handleTextTrackRemove_=b.bind(o,o.handleTextTrackRemove),o.proxyNativeTextTracks_()),(T.TOUCH_ENABLED||T.IS_IPHONE||T.IS_NATIVE_ANDROID)&&n.nativeControlsForTouch===!0&&o.setControls(!0),o.proxyWebkitFullscreen_(),o.triggerReady(),o}return u(t,e),t.prototype.dispose=function(){var n=this;["audio","video","text"].forEach(function(e){var t=(0,D.default)(e),r=n.el_[e+"Tracks"];r&&r.removeEventListener&&(r.removeEventListener("change",n["handle"+t+"TrackChange_"]),r.removeEventListener("addtrack",n["handle"+t+"TrackAdd_"]),r.removeEventListener("removetrack",n["handle"+t+"TrackRemove_"])),r&&n.off("loadstart",n["removeOld"+t+"Tracks_"])}),t.disposeMediaElement(this.el_),e.prototype.dispose.call(this)},t.prototype.createEl=function(){var e=this.options_.tag;if(!e||!this.options_.playerElIngest&&!this.movingMediaElementInDOM){if(e){var n=e.cloneNode(!0);e.parentNode&&e.parentNode.insertBefore(n,e),t.disposeMediaElement(e),e=n}else{e=S.default.createElement("video");var r=this.options_.tag&&m.getElAttributes(this.options_.tag),o=(0,I.default)({},r);T.TOUCH_ENABLED&&this.options_.nativeControlsForTouch===!0||delete o.controls,m.setElAttributes(e,(0,A.assign)(o,{id:this.options_.techId,class:"vjs-tech"}))}e.playerId=this.options_.playerId}for(var i=["autoplay","preload","loop","muted"],a=i.length-1;a>=0;a--){var s=i[a],u={};"undefined"!=typeof this.options_[s]&&(u[s]=this.options_[s]),m.setElAttributes(e,u)}return e},t.prototype.handleLateInit_=function(e){if(0!==e.networkState&&3!==e.networkState){if(0===e.readyState){var t=!1,n=function(){t=!0};this.on("loadstart",n);var r=function(){t||this.trigger("loadstart")};return this.on("loadedmetadata",r),void this.ready(function(){this.off("loadstart",n),this.off("loadedmetadata",r),t||this.trigger("loadstart")})}var o=["loadstart"];o.push("loadedmetadata"),e.readyState>=2&&o.push("loadeddata"),e.readyState>=3&&o.push("canplay"),e.readyState>=4&&o.push("canplaythrough"),this.ready(function(){o.forEach(function(e){this.trigger(e)},this)})}},t.prototype.proxyNativeTextTracks_=function(){var e=this.el().textTracks;if(e){for(var t=0;t<e.length;t++)this.textTracks().addTrack_(e[t]);e.addEventListener&&(e.addEventListener("change",this.handleTextTrackChange_),e.addEventListener("addtrack",this.handleTextTrackAdd_),e.addEventListener("removetrack",this.handleTextTrackRemove_)),this.on("loadstart",this.removeOldTextTracks_)}},t.prototype.handleTextTrackChange=function(e){var t=this.textTracks();this.textTracks().trigger({type:"change",target:t,currentTarget:t,srcElement:t})},t.prototype.handleTextTrackAdd=function(e){this.textTracks().addTrack_(e.track)},t.prototype.handleTextTrackRemove=function(e){this.textTracks().removeTrack_(e.track)},t.prototype.removeOldTracks_=function(e,t){var n=[];if(t){for(var r=0;r<e.length;r++){for(var o=e[r],i=!1,a=0;a<t.length;a++)if(t[a]===o){i=!0;break}i||n.push(o)}for(var s=0;s<n.length;s++){var u=n[s];e.removeTrack_(u)}}},t.prototype.removeOldTextTracks_=function(e){var t=this.textTracks(),n=this.el().textTracks;this.removeOldTracks_(t,n)},t.prototype.play=function(){var e=this.el_.play();void 0!==e&&"function"==typeof e.then&&e.then(null,function(e){})},t.prototype.setCurrentTime=function(e){try{this.el_.currentTime=e}catch(e){(0,w.default)(e,"Video is not ready. (Video.js)")}},t.prototype.duration=function(){var e=this;if(this.el_.duration===1/0&&T.IS_ANDROID&&T.IS_CHROME&&0===this.el_.currentTime){var t=function t(){e.el_.currentTime>0&&(e.el_.duration===1/0&&e.trigger("durationchange"),e.off("timeupdate",t))};return this.on("timeupdate",t),NaN}return this.el_.duration||NaN},t.prototype.width=function(){return this.el_.offsetWidth},t.prototype.height=function(){return this.el_.offsetHeight},t.prototype.proxyWebkitFullscreen_=function(){var e=this;if("webkitDisplayingFullscreen"in this.el_){var t=function(){this.trigger("fullscreenchange",{isFullscreen:!1})},n=function(){this.one("webkitendfullscreen",t),this.trigger("fullscreenchange",{isFullscreen:!0})};this.on("webkitbeginfullscreen",n),this.on("dispose",function(){e.off("webkitbeginfullscreen",n),e.off("webkitendfullscreen",t)})}},t.prototype.supportsFullScreen=function(){if("function"==typeof this.el_.webkitEnterFullScreen){var e=O.default.navigator&&O.default.navigator.userAgent||"";if(/Android/.test(e)||!/Chrome|Mac OS X 10.5/.test(e))return!0}return!1},t.prototype.enterFullScreen=function(){var e=this.el_;e.paused&&e.networkState<=e.HAVE_METADATA?(this.el_.play(),this.setTimeout(function(){e.pause(),e.webkitEnterFullScreen()},0)):e.webkitEnterFullScreen()},t.prototype.exitFullScreen=function(){this.el_.webkitExitFullScreen()},t.prototype.src=function(e){return void 0===e?this.el_.src:void this.setSrc(e)},t.prototype.reset=function(){t.resetMediaElement(this.el_)},t.prototype.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.currentSrc},t.prototype.setControls=function(e){this.el_.controls=!!e},t.prototype.addTextTrack=function(t,n,r){return this.featuresNativeTextTracks?this.el_.addTextTrack(t,n,r):e.prototype.addTextTrack.call(this,t,n,r)},t.prototype.createRemoteTextTrack=function(t){if(!this.featuresNativeTextTracks)return e.prototype.createRemoteTextTrack.call(this,t);var n=S.default.createElement("track");return t.kind&&(n.kind=t.kind),t.label&&(n.label=t.label),(t.language||t.srclang)&&(n.srclang=t.language||t.srclang),t.default&&(n.default=t.default),t.id&&(n.id=t.id),t.src&&(n.src=t.src),n},t.prototype.addRemoteTextTrack=function(t,n){var r=e.prototype.addRemoteTextTrack.call(this,t,n);return this.featuresNativeTextTracks&&this.el().appendChild(r),r},t.prototype.removeRemoteTextTrack=function(t){if(e.prototype.removeRemoteTextTrack.call(this,t),this.featuresNativeTextTracks)for(var n=this.$$("track"),r=n.length;r--;)t!==n[r]&&t!==n[r].track||this.el().removeChild(n[r])},t}(d.default);if(m.isReal()){R.TEST_VID=S.default.createElement("video");var j=S.default.createElement("track");j.kind="captions",j.srclang="en",j.label="English",R.TEST_VID.appendChild(j)}R.isSupported=function(){try{R.TEST_VID.volume=.5}catch(e){return!1}return!(!R.TEST_VID||!R.TEST_VID.canPlayType)},R.canControlVolume=function(){try{var e=R.TEST_VID.volume;return R.TEST_VID.volume=e/2+.1,e!==R.TEST_VID.volume}catch(e){return!1}},R.canControlPlaybackRate=function(){if(T.IS_ANDROID&&T.IS_CHROME)return!1;try{var e=R.TEST_VID.playbackRate;return R.TEST_VID.playbackRate=e/2+.1,e!==R.TEST_VID.playbackRate}catch(e){return!1}},R.supportsNativeTextTracks=function(){return T.IS_ANY_SAFARI},R.supportsNativeVideoTracks=function(){return!(!R.TEST_VID||!R.TEST_VID.videoTracks)},R.supportsNativeAudioTracks=function(){return!(!R.TEST_VID||!R.TEST_VID.audioTracks)},R.Events=["loadstart","suspend","abort","error","emptied","stalled","loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","seeking","seeked","ended","durationchange","timeupdate","progress","play","pause","ratechange","volumechange"],R.prototype.featuresVolumeControl=R.canControlVolume(),R.prototype.featuresPlaybackRate=R.canControlPlaybackRate(),R.prototype.movingMediaElementInDOM=!T.IS_IOS,R.prototype.featuresFullscreenResize=!0,R.prototype.featuresProgressEvents=!0,R.prototype.featuresTimeupdateEvents=!0,R.prototype.featuresNativeTextTracks=R.supportsNativeTextTracks(),R.prototype.featuresNativeVideoTracks=R.supportsNativeVideoTracks(),R.prototype.featuresNativeAudioTracks=R.supportsNativeAudioTracks();var L=R.TEST_VID&&R.TEST_VID.constructor.prototype.canPlayType,B=/^application\/(?:x-|vnd\.apple\.)mpegurl/i,F=/^video\/mp4/i;R.patchCanPlayType=function(){T.ANDROID_VERSION>=4&&!T.IS_FIREFOX?R.TEST_VID.constructor.prototype.canPlayType=function(e){return e&&B.test(e)?"maybe":L.call(this,e)}:T.IS_OLD_ANDROID&&(R.TEST_VID.constructor.prototype.canPlayType=function(e){return e&&F.test(e)?"maybe":L.call(this,e)})},R.unpatchCanPlayType=function(){var e=R.TEST_VID.constructor.prototype.canPlayType;return R.TEST_VID.constructor.prototype.canPlayType=L,e},R.patchCanPlayType(),R.disposeMediaElement=function(e){if(e){for(e.parentNode&&e.parentNode.removeChild(e);e.hasChildNodes();)e.removeChild(e.firstChild);e.removeAttribute("src"),"function"==typeof e.load&&!function(){try{e.load()}catch(e){}}()}},R.resetMediaElement=function(e){if(e){for(var t=e.querySelectorAll("source"),n=t.length;n--;)e.removeChild(t[n]);e.removeAttribute("src"),"function"==typeof e.load&&!function(){try{e.load()}catch(e){}}()}},["paused","currentTime","buffered","volume","muted","poster","preload","autoplay","controls","loop","error","seeking","seekable","ended","defaultMuted","playbackRate","played","networkState","readyState","videoWidth","videoHeight"].forEach(function(e){R.prototype[e]=function(){return this.el_[e]}}),["volume","muted","src","poster","preload","autoplay","loop","playbackRate"].forEach(function(e){R.prototype["set"+(0,D.default)(e)]=function(t){this.el_[e]=t}}),["pause","load"].forEach(function(e){R.prototype[e]=function(){return this.el_[e]()}}),d.default.withSourceHandlers(R),R.nativeSourceHandler={},R.nativeSourceHandler.canPlayType=function(e){try{return R.TEST_VID.canPlayType(e)}catch(e){return""}},R.nativeSourceHandler.canHandleSource=function(e,t){if(e.type)return R.nativeSourceHandler.canPlayType(e.type);if(e.src){var n=g.getFileExtension(e.src);return R.nativeSourceHandler.canPlayType("video/"+n)}return""},R.nativeSourceHandler.handleSource=function(e,t,n){t.setSrc(e.src)},R.nativeSourceHandler.dispose=function(){},R.registerSourceHandler(R.nativeSourceHandler),p.default.registerComponent("Html5",R),d.default.registerTech("Html5",R),t.default=R},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(7),u=r(s),l=n(153),c=r(l),d=n(128),f=r(d),p=function(e){function t(n,r,a){o(this,t);var s=i(this,e.call(this,n,r,a));if(r.playerOptions.sources&&0!==r.playerOptions.sources.length)n.src(r.playerOptions.sources);else for(var l=0,d=r.playerOptions.techOrder;l<d.length;l++){var p=(0,f.default)(d[l]),h=c.default.getTech(p);if(p||(h=u.default.getComponent(p)),h&&h.isSupported()){n.loadTech_(p);break}}return s}return a(t,e),t}(u.default);u.default.registerComponent("MediaLoader",p),t.default=p},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(314),l=n(316),c=o(l),d=n(74),f=o(d),p=n(32),h=r(p),m=function(e){function t(){var n,r,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i(this,t);var s=(0,f.default)(o,{kind:u.AudioTrackKind[o.kind]||""}),l=n=a(this,e.call(this,s)),c=!1;if(h.IS_IE8)for(var d in t.prototype)"constructor"!==d&&(l[d]=t.prototype[d]);return Object.defineProperty(l,"enabled",{get:function(){return c},set:function(e){"boolean"==typeof e&&e!==c&&(c=e,this.trigger("enabledchange"))}}),s.enabled&&(l.enabled=s.enabled),l.loaded_=!0,r=l,a(n,r)}return s(t,e),t}(c.default);t.default=m},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var a=n(32),s=o(a),u=n(26),l=r(u),c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];i(this,e);var n=this;if(s.IS_IE8){n=l.default.createElement("custom");for(var r in e.prototype)"constructor"!==r&&(n[r]=e.prototype[r])}n.trackElements_=[],Object.defineProperty(n,"length",{get:function(){return this.trackElements_.length}});for(var o=0,a=t.length;o<a;o++)n.addTrackElement_(t[o]);if(s.IS_IE8)return n}return e.prototype.addTrackElement_=function(e){var t=this.trackElements_.length;""+t in this||Object.defineProperty(this,t,{get:function(){return this.trackElements_[t]}}),this.trackElements_.indexOf(e)===-1&&this.trackElements_.push(e)},e.prototype.getTrackElementByTrack_=function(e){for(var t=void 0,n=0,r=this.trackElements_.length;n<r;n++)if(e===this.trackElements_[n].track){t=this.trackElements_[n];break}return t},e.prototype.removeTrackElement_=function(e){for(var t=0,n=this.trackElements_.length;t<n;t++)if(e===this.trackElements_[t]){this.trackElements_.splice(t,1);break}},e}();t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(32),l=o(u),c=n(26),d=r(c),f=n(200),p=r(f),h=n(313),m=r(h),v=0,g=1,y=2,b=3,_=function(e){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i(this,t);var r=a(this,e.call(this)),o=void 0,s=r;if(l.IS_IE8){s=d.default.createElement("custom");for(var u in t.prototype)"constructor"!==u&&(s[u]=t.prototype[u])}var c=new m.default(n);if(s.kind=c.kind,s.src=c.src,s.srclang=c.language,s.label=c.label,s.default=c.default,Object.defineProperty(s,"readyState",{get:function(){return o}}),Object.defineProperty(s,"track",{get:function(){return c}}),o=v,c.addEventListener("loadeddata",function(){o=y,s.trigger({type:"load",target:s})}),l.IS_IE8){var f;return f=s,a(r,f)}return r}return s(t,e),t}(p.default);_.prototype.allowedEvents_={load:"load"},_.NONE=v,_.LOADING=g,_.LOADED=y,_.ERROR=b,t.default=_},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var a=n(32),s=o(a),u=n(26),l=r(u),c=function(){function e(t){i(this,e);var n=this;if(s.IS_IE8){n=l.default.createElement("custom");for(var r in e.prototype)"constructor"!==r&&(n[r]=e.prototype[r])}if(e.prototype.setCues_.call(n,t),Object.defineProperty(n,"length",{get:function(){return this.length_}}),s.IS_IE8)return n}return e.prototype.setCues_=function(e){var t=this.length||0,n=0,r=e.length;this.cues_=e,this.length_=e.length;var o=function(e){""+e in this||Object.defineProperty(this,""+e,{get:function(){return this.cues_[e]}})};if(t<r)for(n=t;n<r;n++)o.call(this,n)},e.prototype.getCueById=function(e){for(var t=null,n=0,r=this.length;n<r;n++){var o=this[n];if(o.id===e){t=o;break}}return t},e}();t.default=c},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function u(e,t){return"rgba("+parseInt(e[1]+e[1],16)+","+parseInt(e[2]+e[2],16)+","+parseInt(e[3]+e[3],16)+","+t+")"}function l(e,t,n){try{e.style[t]=n}catch(e){return}}t.__esModule=!0;var c=n(7),d=o(c),f=n(19),p=r(f),h=n(29),m=o(h),v="#222",g="#ccc",y={monospace:"monospace",sansSerif:"sans-serif",serif:"serif",monospaceSansSerif:'"Andale Mono", "Lucida Console", monospace',monospaceSerif:'"Courier New", monospace',proportionalSansSerif:"sans-serif",proportionalSerif:"serif",casual:'"Comic Sans MS", Impact, fantasy',script:'"Monotype Corsiva", cursive',smallcaps:'"Andale Mono", "Lucida Console", monospace, sans-serif'},b=function(e){function t(n,r,o){i(this,t);var s=a(this,e.call(this,n,r,o));return n.on("loadstart",p.bind(s,s.toggleDisplay)),n.on("texttrackchange",p.bind(s,s.updateDisplay)),n.ready(p.bind(s,function(){if(n.tech_&&n.tech_.featuresNativeTextTracks)return void this.hide();n.on("fullscreenchange",p.bind(this,this.updateDisplay));for(var e=this.options_.playerOptions.tracks||[],t=0;t<e.length;t++)this.player_.addRemoteTextTrack(e[t],!0);var r={captions:1,subtitles:1},o=this.player_.textTracks(),i=void 0,a=void 0;if(o){for(var s=0;s<o.length;s++){var u=o[s];u.default&&("descriptions"!==u.kind||i?u.kind in r&&!a&&(a=u):i=u)}a?a.mode="showing":i&&(i.mode="showing")}})),s}return s(t,e),t.prototype.toggleDisplay=function(){this.player_.tech_&&this.player_.tech_.featuresNativeTextTracks?this.hide():this.show()},t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-text-track-display"},{"aria-live":"off","aria-atomic":"true"})},t.prototype.clearDisplay=function(){"function"==typeof m.default.WebVTT&&m.default.WebVTT.processCues(m.default,[],this.el_)},t.prototype.updateDisplay=function(){var e=this.player_.textTracks();if(this.clearDisplay(),e){for(var t=null,n=null,r=e.length;r--;){var o=e[r];"showing"===o.mode&&("descriptions"===o.kind?t=o:n=o)}n?("off"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","off"),this.updateForTrack(n)):t&&("assertive"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","assertive"),
-this.updateForTrack(t))}},t.prototype.updateForTrack=function(e){if("function"==typeof m.default.WebVTT&&e.activeCues){for(var t=this.player_.textTrackSettings.getValues(),n=[],r=0;r<e.activeCues.length;r++)n.push(e.activeCues[r]);m.default.WebVTT.processCues(m.default,n,this.el_);for(var o=n.length;o--;){var i=n[o];if(i){var a=i.displayState;if(t.color&&(a.firstChild.style.color=t.color),t.textOpacity&&l(a.firstChild,"color",u(t.color||"#fff",t.textOpacity)),t.backgroundColor&&(a.firstChild.style.backgroundColor=t.backgroundColor),t.backgroundOpacity&&l(a.firstChild,"backgroundColor",u(t.backgroundColor||"#000",t.backgroundOpacity)),t.windowColor&&(t.windowOpacity?l(a,"backgroundColor",u(t.windowColor,t.windowOpacity)):a.style.backgroundColor=t.windowColor),t.edgeStyle&&("dropshadow"===t.edgeStyle?a.firstChild.style.textShadow="2px 2px 3px "+v+", 2px 2px 4px "+v+", 2px 2px 5px "+v:"raised"===t.edgeStyle?a.firstChild.style.textShadow="1px 1px "+v+", 2px 2px "+v+", 3px 3px "+v:"depressed"===t.edgeStyle?a.firstChild.style.textShadow="1px 1px "+g+", 0 1px "+g+", -1px -1px "+v+", 0 -1px "+v:"uniform"===t.edgeStyle&&(a.firstChild.style.textShadow="0 0 4px "+v+", 0 0 4px "+v+", 0 0 4px "+v+", 0 0 4px "+v)),t.fontPercent&&1!==t.fontPercent){var s=m.default.parseFloat(a.style.fontSize);a.style.fontSize=s*t.fontPercent+"px",a.style.height="auto",a.style.top="auto",a.style.bottom="2px"}t.fontFamily&&"default"!==t.fontFamily&&("small-caps"===t.fontFamily?a.firstChild.style.fontVariant="small-caps":a.firstChild.style.fontFamily=y[t.fontFamily])}}}},t}(d.default);d.default.registerComponent("TextTrackDisplay",b),t.default=b},function(e,t){"use strict";t.__esModule=!0;var n=function(e){var t=["kind","label","language","id","inBandMetadataTrackDispatchType","mode","src"].reduce(function(t,n,r){return e[n]&&(t[n]=e[n]),t},{cues:e.cues&&Array.prototype.map.call(e.cues,function(e){return{startTime:e.startTime,endTime:e.endTime,text:e.text,id:e.id}})});return t},r=function(e){var t=e.$$("track"),r=Array.prototype.map.call(t,function(e){return e.track}),o=Array.prototype.map.call(t,function(e){var t=n(e.track);return e.src&&(t.src=e.src),t});return o.concat(Array.prototype.filter.call(e.textTracks(),function(e){return r.indexOf(e)===-1}).map(n))},o=function(e,t){return e.forEach(function(e){var n=t.addRemoteTextTrack(e).track;!e.src&&e.cues&&e.cues.forEach(function(e){return n.addCue(e)})}),t.textTracks()};t.default={textTracksToJson:r,jsonToTextTracks:o,trackToJson_:n}},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(315),l=o(u),c=n(19),d=r(c),f=n(32),p=r(f),h=n(26),m=o(h),v=function(e){function t(){var n,r,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];i(this,t);var s=void 0;if(p.IS_IE8){s=m.default.createElement("custom");for(var u in l.default.prototype)"constructor"!==u&&(s[u]=l.default.prototype[u]);for(var c in t.prototype)"constructor"!==c&&(s[c]=t.prototype[c])}return s=n=a(this,e.call(this,o,s)),r=s,a(n,r)}return s(t,e),t.prototype.addTrack_=function(t){e.prototype.addTrack_.call(this,t),t.addEventListener("modechange",d.bind(this,function(){this.trigger("change")}))},t}(l.default);t.default=v},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function u(e,t){if(t&&(e=t(e)),e&&"none"!==e)return e}function l(e,t){var n=e.options[e.options.selectedIndex].value;return u(n,t)}function c(e,t,n){if(t)for(var r=0;r<e.options.length;r++)if(u(e.options[r].value,n)===t){e.selectedIndex=r;break}}t.__esModule=!0;var d=n(29),f=o(d),p=n(7),h=o(p),m=n(22),v=n(19),g=r(v),y=n(33),b=r(y),_=n(44),w=o(_),C="vjs-text-track-settings",x=["#000","Black"],E=["#00F","Blue"],T=["#0FF","Cyan"],k=["#0F0","Green"],S=["#F0F","Magenta"],M=["#F00","Red"],O=["#FFF","White"],A=["#FF0","Yellow"],N=["1","Opaque"],I=["0.5","Semi-Transparent"],P=["0","Transparent"],D={backgroundColor:{selector:".vjs-bg-color > select",id:"captions-background-color-%s",label:"Color",options:[x,O,M,k,E,A,S,T]},backgroundOpacity:{selector:".vjs-bg-opacity > select",id:"captions-background-opacity-%s",label:"Transparency",options:[N,I,P]},color:{selector:".vjs-fg-color > select",id:"captions-foreground-color-%s",label:"Color",options:[O,x,M,k,E,A,S,T]},edgeStyle:{selector:".vjs-edge-style > select",id:"%s",label:"Text Edge Style",options:[["none","None"],["raised","Raised"],["depressed","Depressed"],["uniform","Uniform"],["dropshadow","Dropshadow"]]},fontFamily:{selector:".vjs-font-family > select",id:"captions-font-family-%s",label:"Font Family",options:[["proportionalSansSerif","Proportional Sans-Serif"],["monospaceSansSerif","Monospace Sans-Serif"],["proportionalSerif","Proportional Serif"],["monospaceSerif","Monospace Serif"],["casual","Casual"],["script","Script"],["small-caps","Small Caps"]]},fontPercent:{selector:".vjs-font-percent > select",id:"captions-font-size-%s",label:"Font Size",options:[["0.50","50%"],["0.75","75%"],["1.00","100%"],["1.25","125%"],["1.50","150%"],["1.75","175%"],["2.00","200%"],["3.00","300%"],["4.00","400%"]],default:2,parser:function(e){return"1.00"===e?null:Number(e)}},textOpacity:{selector:".vjs-text-opacity > select",id:"captions-foreground-opacity-%s",label:"Transparency",options:[N,I]},windowColor:{selector:".vjs-window-color > select",id:"captions-window-color-%s",label:"Color"},windowOpacity:{selector:".vjs-window-opacity > select",id:"captions-window-opacity-%s",label:"Transparency",options:[P,I,N]}};D.windowColor.options=D.backgroundColor.options;var R=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.setDefaults(),o.hide(),o.updateDisplay=g.bind(o,o.updateDisplay),void 0===r.persistTextTrackSettings&&(o.options_.persistTextTrackSettings=o.options_.playerOptions.persistTextTrackSettings),o.on(o.$(".vjs-done-button"),"click",function(){o.saveSettings(),o.hide()}),o.on(o.$(".vjs-default-button"),"click",function(){o.setDefaults(),o.updateDisplay()}),b.each(D,function(e){o.on(o.$(e.selector),"change",o.updateDisplay)}),o.options_.persistTextTrackSettings&&o.restoreSettings(),o}return s(t,e),t.prototype.createElSelect_=function(e){var t=this,n=D[e],r=n.id.replace("%s",this.id_);return[(0,m.createEl)("label",{className:"vjs-label",textContent:n.label},{for:r}),(0,m.createEl)("select",{id:r},void 0,n.options.map(function(e){return(0,m.createEl)("option",{textContent:t.localize(e[1]),value:e[0]})}))]},t.prototype.createElFgColor_=function(){var e=(0,m.createEl)("legend",{textContent:this.localize("Text")}),t=this.createElSelect_("color"),n=(0,m.createEl)("span",{className:"vjs-text-opacity vjs-opacity"},void 0,this.createElSelect_("textOpacity"));return(0,m.createEl)("fieldset",{className:"vjs-fg-color vjs-tracksetting"},void 0,[e].concat(t,n))},t.prototype.createElBgColor_=function(){var e=(0,m.createEl)("legend",{textContent:this.localize("Background")}),t=this.createElSelect_("backgroundColor"),n=(0,m.createEl)("span",{className:"vjs-bg-opacity vjs-opacity"},void 0,this.createElSelect_("backgroundOpacity"));return(0,m.createEl)("fieldset",{className:"vjs-bg-color vjs-tracksetting"},void 0,[e].concat(t,n))},t.prototype.createElWinColor_=function(){var e=(0,m.createEl)("legend",{textContent:this.localize("Window")}),t=this.createElSelect_("windowColor"),n=(0,m.createEl)("span",{className:"vjs-window-opacity vjs-opacity"},void 0,this.createElSelect_("windowOpacity"));return(0,m.createEl)("fieldset",{className:"vjs-window-color vjs-tracksetting"},void 0,[e].concat(t,n))},t.prototype.createElColors_=function(){return(0,m.createEl)("div",{className:"vjs-tracksettings-colors"},void 0,[this.createElFgColor_(),this.createElBgColor_(),this.createElWinColor_()])},t.prototype.createElFont_=function(){var e=(0,m.createEl)("div",{className:"vjs-font-percent vjs-tracksetting"},void 0,this.createElSelect_("fontPercent")),t=(0,m.createEl)("div",{className:"vjs-edge-style vjs-tracksetting"},void 0,this.createElSelect_("edgeStyle")),n=(0,m.createEl)("div",{className:"vjs-font-family vjs-tracksetting"},void 0,this.createElSelect_("fontFamily"));return(0,m.createEl)("div",{className:"vjs-tracksettings-font"},void 0,[e,t,n])},t.prototype.createElControls_=function(){var e=(0,m.createEl)("button",{className:"vjs-default-button",textContent:this.localize("Defaults")}),t=(0,m.createEl)("button",{className:"vjs-done-button",textContent:"Done"});return(0,m.createEl)("div",{className:"vjs-tracksettings-controls"},void 0,[e,t])},t.prototype.createEl=function(){var e=(0,m.createEl)("div",{className:"vjs-tracksettings"},void 0,[this.createElColors_(),this.createElFont_(),this.createElControls_()]),t=(0,m.createEl)("div",{className:"vjs-control-text",id:"TTsettingsDialogLabel-"+this.id_,textContent:"Caption Settings Dialog"},{"aria-level":"1",role:"heading"}),n=(0,m.createEl)("div",{className:"vjs-control-text",id:"TTsettingsDialogDescription-"+this.id_,textContent:"Beginning of dialog window. Escape will cancel and close the window."}),r=(0,m.createEl)("div",void 0,{role:"document"},[t,n,e]);return(0,m.createEl)("div",{className:"vjs-caption-settings vjs-modal-overlay",tabIndex:-1},{role:"dialog","aria-labelledby":t.id,"aria-describedby":n.id},r)},t.prototype.getValues=function(){var e=this;return b.reduce(D,function(t,n,r){var o=l(e.$(n.selector),n.parser);return void 0!==o&&(t[r]=o),t},{})},t.prototype.setValues=function(e){var t=this;b.each(D,function(n,r){c(t.$(n.selector),e[r],n.parser)})},t.prototype.setDefaults=function(){var e=this;b.each(D,function(t){var n=t.hasOwnProperty("default")?t.default:0;e.$(t.selector).selectedIndex=n})},t.prototype.restoreSettings=function(){var e=void 0;try{e=JSON.parse(f.default.localStorage.getItem(C))}catch(e){w.default.warn(e)}e&&this.setValues(e)},t.prototype.saveSettings=function(){if(this.options_.persistTextTrackSettings){var e=this.getValues();try{Object.keys(e).length?f.default.localStorage.setItem(C,JSON.stringify(e)):f.default.localStorage.removeItem(C)}catch(e){w.default.warn(e)}}},t.prototype.updateDisplay=function(){var e=this.player_.getChild("textTrackDisplay");e&&e.updateDisplay()},t}(h.default);h.default.registerComponent("TextTrackSettings",R),t.default=R},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(314),l=n(316),c=o(l),d=n(74),f=o(d),p=n(32),h=r(p),m=function(e){function t(){var n,r,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i(this,t);var s=(0,f.default)(o,{kind:u.VideoTrackKind[o.kind]||""}),l=n=a(this,e.call(this,s)),c=!1;if(h.IS_IE8)for(var d in t.prototype)"constructor"!==d&&(l[d]=t.prototype[d]);return Object.defineProperty(l,"selected",{get:function(){return c},set:function(e){"boolean"==typeof e&&e!==c&&(c=e,this.trigger("selectedchange"))}}),s.selected&&(l.selected=s.selected),r=l,a(n,r)}return s(t,e),t}(c.default);t.default=m},function(e,t,n){function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t,n){var r=void 0;if("string"==typeof e){if(0===e.indexOf("#")&&(e=e.slice(1)),i.getPlayers()[e])return t&&U.default.warn('Player "'+e+'" is already initialised. Options will not be applied.'),n&&i.getPlayers()[e].ready(n),i.getPlayers()[e];r=z.getEl(e)}else r=e;if(!r||!r.nodeName)throw new TypeError("The element or ID supplied is not valid. (videojs)");if(r.player||x.default.players[r.playerId])return r.player||x.default.players[r.playerId];t=t||{},i.hooks("beforesetup").forEach(function(e){var n=e(r,(0,S.default)(t));return!(0,Y.isObject)(n)||Array.isArray(n)?void U.default.error("please return an object in beforesetup hooks"):void(t=(0,S.default)(t,n))});var o=g.default.getComponent("Player"),a=new o(r,t,n);return i.hooks("setup").forEach(function(e){return e(a)}),a}var a,s;t.__esModule=!0;var u=("function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(29)),l=o(u),c=n(26),d=o(c),f=n(1190),p=r(f),h=n(491),m=r(h),v=n(7),g=o(v),y=n(200),b=o(y),_=n(81),w=r(_),C=n(486),x=o(C),E=n(1186),T=o(E),k=n(74),S=o(k),M=n(19),O=r(M),A=n(313),N=o(A),I=n(1195),P=o(I),D=n(1203),R=o(D),j=n(154),L=n(82),B=o(L),F=n(44),U=o(F),H=n(22),z=r(H),q=n(32),W=r(q),V=n(202),G=r(V),Y=n(33),$=n(317),K=o($),X=n(1183),Q=o(X),J=n(492),Z=o(J),ee=n(153),te=o(ee);if("undefined"==typeof HTMLVideoElement&&z.isReal()&&(d.default.createElement("video"),d.default.createElement("audio"),d.default.createElement("track")),i.hooks_={},i.hooks=function(e,t){return i.hooks_[e]=i.hooks_[e]||[],t&&(i.hooks_[e]=i.hooks_[e].concat(t)),i.hooks_[e]},i.hook=function(e,t){i.hooks(e,t)},i.removeHook=function(e,t){var n=i.hooks(e).indexOf(t);return!(n<=-1)&&(i.hooks_[e]=i.hooks_[e].slice(),i.hooks_[e].splice(n,1),!0)},l.default.VIDEOJS_NO_DYNAMIC_STYLE!==!0&&z.isReal()){var ne=z.$(".vjs-styles-defaults");if(!ne){ne=m.createStyleElement("vjs-styles-defaults");var re=z.$("head");re&&re.insertBefore(ne,re.firstChild),m.setTextContent(ne,"\n      .video-js {\n        width: 300px;\n        height: 150px;\n      }\n\n      .vjs-fluid {\n        padding-top: 56.25%\n      }\n    ")}}p.autoSetupTimeout(1,i),i.VERSION="5.19.1",i.options=x.default.prototype.options_,i.getPlayers=function(){return x.default.players},i.players=x.default.players,i.getComponent=g.default.getComponent,i.registerComponent=function(e,t){te.default.isTech(t)&&U.default.warn("The "+e+" tech was registered as a component. It should instead be registered using videojs.registerTech(name, tech)"),g.default.registerComponent.call(g.default,e,t)},i.getTech=te.default.getTech,i.registerTech=te.default.registerTech,i.browser=W,i.TOUCH_ENABLED=W.TOUCH_ENABLED,i.extend=Q.default,i.mergeOptions=S.default,i.bind=O.bind,i.plugin=T.default,i.addLanguage=function(e,t){var n;return e=(""+e).toLowerCase(),i.options.languages=(0,S.default)(i.options.languages,(n={},n[e]=t,n)),i.options.languages[e]},i.log=U.default,i.createTimeRange=i.createTimeRanges=j.createTimeRanges,i.formatTime=B.default,i.parseUrl=G.parseUrl,i.isCrossOrigin=G.isCrossOrigin,i.EventTarget=b.default,i.on=w.on,i.one=w.one,i.off=w.off,i.trigger=w.trigger,i.xhr=Z.default,i.TextTrack=N.default,i.AudioTrack=P.default,i.VideoTrack=R.default,i.isEl=z.isEl,i.isTextNode=z.isTextNode,i.createEl=z.createEl,i.hasClass=z.hasElClass,i.addClass=z.addElClass,i.removeClass=z.removeElClass,i.toggleClass=z.toggleElClass,i.setAttributes=z.setElAttributes,i.getAttributes=z.getElAttributes,i.emptyEl=z.emptyEl,i.appendContent=z.appendContent,i.insertContent=z.insertContent,i.computedStyle=K.default,a=[],s=function(){return i}.apply(t,a),!(void 0!==s&&(e.exports=s)),t.default=i},function(e,t,n){var r=e.exports={WebVTT:n(1206).WebVTT,VTTCue:n(1207).VTTCue,VTTRegion:n(1209).VTTRegion};window.vttjs=r,window.WebVTT=r.WebVTT;var o=r.VTTCue,i=r.VTTRegion,a=window.VTTCue,s=window.VTTRegion;r.shim=function(){window.VTTCue=o,window.VTTRegion=i},r.restore=function(){window.VTTCue=a,window.VTTRegion=s},window.VTTCue||r.shim()},function(e,t){!function(e){function t(e,t){this.name="ParsingError",this.code=e.code,this.message=t||e.message}function n(e){function t(e,t,n,r){return 3600*(0|e)+60*(0|t)+(0|n)+(0|r)/1e3}var n=e.match(/^(\d+):(\d{2})(:\d{2})?\.(\d{3})/);return n?n[3]?t(n[1],n[2],n[3].replace(":",""),n[4]):n[1]>59?t(n[1],n[2],0,n[4]):t(0,n[1],n[2],n[4]):null}function r(){this.values=m(null)}function o(e,t,n,r){var o=r?e.split(r):[e];for(var i in o)if("string"==typeof o[i]){var a=o[i].split(n);if(2===a.length){var s=a[0],u=a[1];t(s,u)}}}function i(e,i,a){function s(){var r=n(e);if(null===r)throw new t(t.Errors.BadTimeStamp,"Malformed timestamp: "+c);return e=e.replace(/^[^\sa-zA-Z-]+/,""),r}function u(e,t){var n=new r;o(e,function(e,t){switch(e){case"region":for(var r=a.length-1;r>=0;r--)if(a[r].id===t){n.set(e,a[r].region);break}break;case"vertical":n.alt(e,t,["rl","lr"]);break;case"line":var o=t.split(","),i=o[0];n.integer(e,i),n.percent(e,i)?n.set("snapToLines",!1):null,n.alt(e,i,["auto"]),2===o.length&&n.alt("lineAlign",o[1],["start","middle","end"]);break;case"position":o=t.split(","),n.percent(e,o[0]),2===o.length&&n.alt("positionAlign",o[1],["start","middle","end"]);break;case"size":n.percent(e,t);break;case"align":n.alt(e,t,["start","middle","end","left","right"])}},/:/,/\s/),t.region=n.get("region",null),t.vertical=n.get("vertical",""),t.line=n.get("line","auto"),t.lineAlign=n.get("lineAlign","start"),t.snapToLines=n.get("snapToLines",!0),t.size=n.get("size",100),t.align=n.get("align","middle"),t.position=n.get("position",{start:0,left:0,middle:50,end:100,right:100},t.align),t.positionAlign=n.get("positionAlign",{start:"start",left:"start",middle:"middle",end:"end",right:"end"},t.align)}function l(){e=e.replace(/^\s+/,"")}var c=e;if(l(),i.startTime=s(),l(),"-->"!==e.substr(0,3))throw new t(t.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '-->'): "+c);e=e.substr(3),l(),i.endTime=s(),l(),u(e,i)}function a(e,t){function r(){function e(e){return t=t.substr(e.length),e}if(!t)return null;var n=t.match(/^([^<]*)(<[^>]+>?)?/);return e(n[1]?n[1]:n[2])}function o(e){return v[e]}function i(e){for(;h=e.match(/&(amp|lt|gt|lrm|rlm|nbsp);/);)e=e.replace(h[0],o);return e}function a(e,t){return!b[t.localName]||b[t.localName]===e.localName}function s(t,n){var r=g[t];if(!r)return null;var o=e.document.createElement(r);o.localName=r;var i=y[t];return i&&n&&(o[i]=n.trim()),o}for(var u,l=e.document.createElement("div"),c=l,d=[];null!==(u=r());)if("<"!==u[0])c.appendChild(e.document.createTextNode(i(u)));else{if("/"===u[1]){d.length&&d[d.length-1]===u.substr(2).replace(">","")&&(d.pop(),c=c.parentNode);continue}var f,p=n(u.substr(1,u.length-2));if(p){f=e.document.createProcessingInstruction("timestamp",p),c.appendChild(f);continue}var h=u.match(/^<([^.\s\/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!h)continue;if(f=s(h[1],h[3]),!f)continue;if(!a(c,f))continue;h[2]&&(f.className=h[2].substr(1).replace("."," ")),d.push(h[1]),c.appendChild(f),c=f}return l}function s(e){for(var t=0;t<_.length;t++){var n=_[t];if(e>=n[0]&&e<=n[1])return!0}return!1}function u(e){function t(e,t){for(var n=t.childNodes.length-1;n>=0;n--)e.push(t.childNodes[n])}function n(e){if(!e||!e.length)return null;var r=e.pop(),o=r.textContent||r.innerText;if(o){var i=o.match(/^.*(\n|\r)/);return i?(e.length=0,i[0]):o}return"ruby"===r.tagName?n(e):r.childNodes?(t(e,r),n(e)):void 0}var r,o=[],i="";if(!e||!e.childNodes)return"ltr";for(t(o,e);i=n(o);)for(var a=0;a<i.length;a++)if(r=i.charCodeAt(a),s(r))return"rtl";return"ltr"}function l(e){if("number"==typeof e.line&&(e.snapToLines||e.line>=0&&e.line<=100))return e.line;if(!e.track||!e.track.textTrackList||!e.track.textTrackList.mediaElement)return-1;for(var t=e.track,n=t.textTrackList,r=0,o=0;o<n.length&&n[o]!==t;o++)"showing"===n[o].mode&&r++;return++r*-1}function c(){}function d(e,t,n){var r=/MSIE\s8\.0/.test(navigator.userAgent),o="rgba(255, 255, 255, 1)",i="rgba(0, 0, 0, 0.8)";r&&(o="rgb(255, 255, 255)",i="rgb(0, 0, 0)"),c.call(this),this.cue=t,this.cueDiv=a(e,t.text);var s={color:o,backgroundColor:i,position:"relative",left:0,right:0,top:0,bottom:0,display:"inline"};r||(s.writingMode=""===t.vertical?"horizontal-tb":"lr"===t.vertical?"vertical-lr":"vertical-rl",s.unicodeBidi="plaintext"),this.applyStyles(s,this.cueDiv),this.div=e.document.createElement("div"),s={textAlign:"middle"===t.align?"center":t.align,font:n.font,whiteSpace:"pre-line",position:"absolute"},r||(s.direction=u(this.cueDiv),s.writingMode=""===t.vertical?"horizontal-tb":"lr"===t.vertical?"vertical-lr":"vertical-rl".stylesunicodeBidi="plaintext"),this.applyStyles(s),this.div.appendChild(this.cueDiv);var l=0;switch(t.positionAlign){case"start":l=t.position;break;case"middle":l=t.position-t.size/2;break;case"end":l=t.position-t.size}""===t.vertical?this.applyStyles({left:this.formatStyle(l,"%"),width:this.formatStyle(t.size,"%")}):this.applyStyles({top:this.formatStyle(l,"%"),height:this.formatStyle(t.size,"%")}),this.move=function(e){this.applyStyles({top:this.formatStyle(e.top,"px"),bottom:this.formatStyle(e.bottom,"px"),left:this.formatStyle(e.left,"px"),right:this.formatStyle(e.right,"px"),height:this.formatStyle(e.height,"px"),width:this.formatStyle(e.width,"px")})}}function f(e){var t,n,r,o,i=/MSIE\s8\.0/.test(navigator.userAgent);if(e.div){n=e.div.offsetHeight,r=e.div.offsetWidth,o=e.div.offsetTop;var a=(a=e.div.childNodes)&&(a=a[0])&&a.getClientRects&&a.getClientRects();e=e.div.getBoundingClientRect(),t=a?Math.max(a[0]&&a[0].height||0,e.height/a.length):0}this.left=e.left,this.right=e.right,this.top=e.top||o,this.height=e.height||n,this.bottom=e.bottom||o+(e.height||n),this.width=e.width||r,this.lineHeight=void 0!==t?t:e.lineHeight,i&&!this.lineHeight&&(this.lineHeight=13)}function p(e,t,n,r){function o(e,t){for(var o,i=new f(e),a=1,s=0;s<t.length;s++){for(;e.overlapsOppositeAxis(n,t[s])||e.within(n)&&e.overlapsAny(r);)e.move(t[s]);if(e.within(n))return e;var u=e.intersectPercentage(n);a>u&&(o=new f(e),a=u),e=new f(i)}return o||i}var i=new f(t),a=t.cue,s=l(a),u=[];if(a.snapToLines){var c;switch(a.vertical){case"":u=["+y","-y"],c="height";break;case"rl":u=["+x","-x"],c="width";break;case"lr":u=["-x","+x"],c="width"}var d=i.lineHeight,p=d*Math.round(s),h=n[c]+d,m=u[0];Math.abs(p)>h&&(p=p<0?-1:1,p*=Math.ceil(h/d)*d),s<0&&(p+=""===a.vertical?n.height:n.width,u=u.reverse()),i.move(m,p)}else{var v=i.lineHeight/n.height*100;switch(a.lineAlign){case"middle":s-=v/2;break;case"end":s-=v}switch(a.vertical){case"":t.applyStyles({top:t.formatStyle(s,"%")});break;case"rl":t.applyStyles({left:t.formatStyle(s,"%")});break;case"lr":t.applyStyles({right:t.formatStyle(s,"%")})}u=["+y","-x","+x","-y"],i=new f(t)}var g=o(i,u);t.move(g.toCSSCompatValues(n))}function h(){}var m=Object.create||function(){function e(){}return function(t){if(1!==arguments.length)throw new Error("Object.create shim only accepts one parameter.");return e.prototype=t,new e}}();t.prototype=m(Error.prototype),t.prototype.constructor=t,t.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}},r.prototype={set:function(e,t){this.get(e)||""===t||(this.values[e]=t)},get:function(e,t,n){return n?this.has(e)?this.values[e]:t[n]:this.has(e)?this.values[e]:t},has:function(e){return e in this.values},alt:function(e,t,n){for(var r=0;r<n.length;++r)if(t===n[r]){this.set(e,t);break}},integer:function(e,t){/^-?\d+$/.test(t)&&this.set(e,parseInt(t,10))},percent:function(e,t){var n;return!!((n=t.match(/^([\d]{1,3})(\.[\d]*)?%$/))&&(t=parseFloat(t),t>=0&&t<=100))&&(this.set(e,t),!0)}};var v={"&amp;":"&","&lt;":"<","&gt;":">","&lrm;":"‎","&rlm;":"‏","&nbsp;":" "},g={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},y={v:"title",lang:"lang"},b={rt:"ruby"},_=[[1470,1470],[1472,1472],[1475,1475],[1478,1478],[1488,1514],[1520,1524],[1544,1544],[1547,1547],[1549,1549],[1563,1563],[1566,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],[1969,1969],[1984,2026],[2036,2037],[2042,2042],[2048,2069],[2074,2074],[2084,2084],[2088,2088],[2096,2110],[2112,2136],[2142,2142],[2208,2208],[2210,2220],[8207,8207],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64449],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[67584,67589],[67592,67592],[67594,67637],[67639,67640],[67644,67644],[67647,67669],[67671,67679],[67840,67867],[67872,67897],[67903,67903],[67968,68023],[68030,68031],[68096,68096],[68112,68115],[68117,68119],[68121,68147],[68160,68167],[68176,68184],[68192,68223],[68352,68405],[68416,68437],[68440,68466],[68472,68479],[68608,68680],[126464,126467],[126469,126495],[126497,126498],[126500,126500],[126503,126503],[126505,126514],[126516,126519],[126521,126521],[126523,126523],[126530,126530],[126535,126535],[126537,126537],[126539,126539],[126541,126543],[126545,126546],[126548,126548],[126551,126551],[126553,126553],[126555,126555],[126557,126557],[126559,126559],[126561,126562],[126564,126564],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126590,126590],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[1114109,1114109]];c.prototype.applyStyles=function(e,t){t=t||this.div;for(var n in e)e.hasOwnProperty(n)&&(t.style[n]=e[n])},c.prototype.formatStyle=function(e,t){return 0===e?0:e+t},d.prototype=m(c.prototype),d.prototype.constructor=d,f.prototype.move=function(e,t){switch(t=void 0!==t?t:this.lineHeight,e){case"+x":this.left+=t,this.right+=t;break;case"-x":this.left-=t,this.right-=t;break;case"+y":this.top+=t,this.bottom+=t;break;case"-y":this.top-=t,this.bottom-=t}},f.prototype.overlaps=function(e){return this.left<e.right&&this.right>e.left&&this.top<e.bottom&&this.bottom>e.top},f.prototype.overlapsAny=function(e){for(var t=0;t<e.length;t++)if(this.overlaps(e[t]))return!0;return!1},f.prototype.within=function(e){return this.top>=e.top&&this.bottom<=e.bottom&&this.left>=e.left&&this.right<=e.right},f.prototype.overlapsOppositeAxis=function(e,t){switch(t){case"+x":return this.left<e.left;case"-x":return this.right>e.right;case"+y":return this.top<e.top;case"-y":return this.bottom>e.bottom}},f.prototype.intersectPercentage=function(e){var t=Math.max(0,Math.min(this.right,e.right)-Math.max(this.left,e.left)),n=Math.max(0,Math.min(this.bottom,e.bottom)-Math.max(this.top,e.top)),r=t*n;return r/(this.height*this.width)},f.prototype.toCSSCompatValues=function(e){return{top:this.top-e.top,bottom:e.bottom-this.bottom,left:this.left-e.left,right:e.right-this.right,height:this.height,width:this.width}},f.getSimpleBoxPosition=function(e){var t=e.div?e.div.offsetHeight:e.tagName?e.offsetHeight:0,n=e.div?e.div.offsetWidth:e.tagName?e.offsetWidth:0,r=e.div?e.div.offsetTop:e.tagName?e.offsetTop:0;e=e.div?e.div.getBoundingClientRect():e.tagName?e.getBoundingClientRect():e;var o={left:e.left,right:e.right,top:e.top||r,height:e.height||t,bottom:e.bottom||r+(e.height||t),width:e.width||n};return o},h.StringDecoder=function(){return{decode:function(e){if(!e)return"";if("string"!=typeof e)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(e))}}},h.convertCueToDOMTree=function(e,t){return e&&t?a(e,t):null};var w=.05,C="sans-serif",x="1.5%";h.processCues=function(e,t,n){function r(e){for(var t=0;t<e.length;t++)if(e[t].hasBeenReset||!e[t].displayState)return!0;return!1}if(!e||!t||!n)return null;for(;n.firstChild;)n.removeChild(n.firstChild);var o=e.document.createElement("div");if(o.style.position="absolute",o.style.left="0",o.style.right="0",o.style.top="0",o.style.bottom="0",o.style.margin=x,n.appendChild(o),r(t)){var i=[],a=f.getSimpleBoxPosition(o),s=Math.round(a.height*w*100)/100,u={font:s+"px "+C};!function(){for(var n,r,s=0;s<t.length;s++)r=t[s],n=new d(e,r,u),o.appendChild(n.div),p(e,n,a,i),r.displayState=n.div,i.push(f.getSimpleBoxPosition(n))}()}else for(var l=0;l<t.length;l++)o.appendChild(t[l].displayState)},h.Parser=function(e,t,n){n||(n=t,t={}),t||(t={}),this.window=e,this.vttjs=t,this.state="INITIAL",this.buffer="",this.decoder=n||new TextDecoder("utf8"),this.regionList=[]},h.Parser.prototype={reportOrThrowError:function(e){if(!(e instanceof t))throw e;this.onparsingerror&&this.onparsingerror(e)},parse:function(e){function a(){for(var e=c.buffer,t=0;t<e.length&&"\r"!==e[t]&&"\n"!==e[t];)++t;var n=e.substr(0,t);return"\r"===e[t]&&++t,"\n"===e[t]&&++t,c.buffer=e.substr(t),n}function s(e){var t=new r;if(o(e,function(e,n){switch(e){case"id":t.set(e,n);break;case"width":t.percent(e,n);break;case"lines":t.integer(e,n);break;case"regionanchor":case"viewportanchor":var o=n.split(",");if(2!==o.length)break;var i=new r;if(i.percent("x",o[0]),i.percent("y",o[1]),!i.has("x")||!i.has("y"))break;t.set(e+"X",i.get("x")),t.set(e+"Y",i.get("y"));break;case"scroll":t.alt(e,n,["up"])}},/=/,/\s/),t.has("id")){var n=new(c.vttjs.VTTRegion||c.window.VTTRegion);n.width=t.get("width",100),n.lines=t.get("lines",3),n.regionAnchorX=t.get("regionanchorX",0),n.regionAnchorY=t.get("regionanchorY",100),n.viewportAnchorX=t.get("viewportanchorX",0),n.viewportAnchorY=t.get("viewportanchorY",100),n.scroll=t.get("scroll",""),c.onregion&&c.onregion(n),c.regionList.push({id:t.get("id"),region:n})}}function u(e){var t=new r;o(e,function(e,r){switch(e){case"MPEGT":t.integer(e+"S",r);break;case"LOCA":t.set(e+"L",n(r))}},/[^\d]:/,/,/),c.ontimestampmap&&c.ontimestampmap({MPEGTS:t.get("MPEGTS"),LOCAL:t.get("LOCAL")})}function l(e){e.match(/X-TIMESTAMP-MAP/)?o(e,function(e,t){switch(e){case"X-TIMESTAMP-MAP":u(t)}},/=/):o(e,function(e,t){switch(e){case"Region":s(t)}},/:/)}var c=this;e&&(c.buffer+=c.decoder.decode(e,{stream:!0}));try{var d;if("INITIAL"===c.state){if(!/\r\n|\n/.test(c.buffer))return this;d=a();var f=d.match(/^WEBVTT([ \t].*)?$/);if(!f||!f[0])throw new t(t.Errors.BadSignature);c.state="HEADER"}for(var p=!1;c.buffer;){if(!/\r\n|\n/.test(c.buffer))return this;switch(p?p=!1:d=a(),c.state){case"HEADER":/:/.test(d)?l(d):d||(c.state="ID");continue;case"NOTE":d||(c.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(d)){c.state="NOTE";break}if(!d)continue;if(c.cue=new(c.vttjs.VTTCue||c.window.VTTCue)(0,0,""),c.state="CUE",d.indexOf("-->")===-1){c.cue.id=d;continue}case"CUE":try{i(d,c.cue,c.regionList)}catch(e){c.reportOrThrowError(e),c.cue=null,c.state="BADCUE";continue}c.state="CUETEXT";continue;case"CUETEXT":var h=d.indexOf("-->")!==-1;if(!d||h&&(p=!0)){c.oncue&&c.oncue(c.cue),c.cue=null,c.state="ID";continue}c.cue.text&&(c.cue.text+="\n"),c.cue.text+=d;continue;case"BADCUE":d||(c.state="ID");continue}}}catch(e){
-c.reportOrThrowError(e),"CUETEXT"===c.state&&c.cue&&c.oncue&&c.oncue(c.cue),c.cue=null,c.state="INITIAL"===c.state?"BADWEBVTT":"BADCUE"}return this},flush:function(){var e=this;try{if(e.buffer+=e.decoder.decode(),(e.cue||"HEADER"===e.state)&&(e.buffer+="\n\n",e.parse()),"INITIAL"===e.state)throw new t(t.Errors.BadSignature)}catch(t){e.reportOrThrowError(t)}return e.onflush&&e.onflush(),this}},e.WebVTT=h}(this,this.vttjs||{})},function(e,t,n){"undefined"!=typeof e&&e.exports&&(this.VTTCue=this.VTTCue||n(1208).VTTCue),function(e){e.VTTCue.prototype.toJSON=function(){var e={},t=this;return Object.keys(this).forEach(function(n){"getCueAsHTML"!==n&&"hasBeenReset"!==n&&"displayState"!==n&&(e[n]=t[n])}),e},e.VTTCue.create=function(t){if(!t.hasOwnProperty("startTime")||!t.hasOwnProperty("endTime")||!t.hasOwnProperty("text"))throw new Error("You must at least have start time, end time, and text.");var n=new e.VTTCue(t.startTime,t.endTime,t.text);for(var r in t)n.hasOwnProperty(r)&&(n[r]=t[r]);return n},e.VTTCue.fromJSON=function(e){return this.create(JSON.parse(e))}}(this)},function(e,t){!function(e,t){function n(e){if("string"!=typeof e)return!1;var t=s[e.toLowerCase()];return!!t&&e.toLowerCase()}function r(e){if("string"!=typeof e)return!1;var t=u[e.toLowerCase()];return!!t&&e.toLowerCase()}function o(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}function i(e,t,i){var s=this,u=/MSIE\s8\.0/.test(navigator.userAgent),l={};u?s=document.createElement("custom"):l.enumerable=!0,s.hasBeenReset=!1;var c="",d=!1,f=e,p=t,h=i,m=null,v="",g=!0,y="auto",b="start",_=50,w="middle",C=50,x="middle";if(Object.defineProperty(s,"id",o({},l,{get:function(){return c},set:function(e){c=""+e}})),Object.defineProperty(s,"pauseOnExit",o({},l,{get:function(){return d},set:function(e){d=!!e}})),Object.defineProperty(s,"startTime",o({},l,{get:function(){return f},set:function(e){if("number"!=typeof e)throw new TypeError("Start time must be set to a number.");f=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"endTime",o({},l,{get:function(){return p},set:function(e){if("number"!=typeof e)throw new TypeError("End time must be set to a number.");p=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"text",o({},l,{get:function(){return h},set:function(e){h=""+e,this.hasBeenReset=!0}})),Object.defineProperty(s,"region",o({},l,{get:function(){return m},set:function(e){m=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"vertical",o({},l,{get:function(){return v},set:function(e){var t=n(e);if(t===!1)throw new SyntaxError("An invalid or illegal string was specified.");v=t,this.hasBeenReset=!0}})),Object.defineProperty(s,"snapToLines",o({},l,{get:function(){return g},set:function(e){g=!!e,this.hasBeenReset=!0}})),Object.defineProperty(s,"line",o({},l,{get:function(){return y},set:function(e){if("number"!=typeof e&&e!==a)throw new SyntaxError("An invalid number or illegal string was specified.");y=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"lineAlign",o({},l,{get:function(){return b},set:function(e){var t=r(e);if(!t)throw new SyntaxError("An invalid or illegal string was specified.");b=t,this.hasBeenReset=!0}})),Object.defineProperty(s,"position",o({},l,{get:function(){return _},set:function(e){if(e<0||e>100)throw new Error("Position must be between 0 and 100.");_=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"positionAlign",o({},l,{get:function(){return w},set:function(e){var t=r(e);if(!t)throw new SyntaxError("An invalid or illegal string was specified.");w=t,this.hasBeenReset=!0}})),Object.defineProperty(s,"size",o({},l,{get:function(){return C},set:function(e){if(e<0||e>100)throw new Error("Size must be between 0 and 100.");C=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"align",o({},l,{get:function(){return x},set:function(e){var t=r(e);if(!t)throw new SyntaxError("An invalid or illegal string was specified.");x=t,this.hasBeenReset=!0}})),s.displayState=void 0,u)return s}var a="auto",s={"":!0,lr:!0,rl:!0},u={start:!0,middle:!0,end:!0,left:!0,right:!0};i.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},e.VTTCue=e.VTTCue||i,t.VTTCue=i}(this,this.vttjs||{})},function(e,t,n){"undefined"!=typeof e&&e.exports&&(this.VTTRegion=n(1210).VTTRegion),function(e){e.VTTRegion.create=function(t){var n=new e.VTTRegion;for(var r in t)n.hasOwnProperty(r)&&(n[r]=t[r]);return n},e.VTTRegion.fromJSON=function(e){return this.create(JSON.parse(e))}}(this)},function(e,t){!function(e,t){function n(e){if("string"!=typeof e)return!1;var t=i[e.toLowerCase()];return!!t&&e.toLowerCase()}function r(e){return"number"==typeof e&&e>=0&&e<=100}function o(){var e=100,t=3,o=0,i=100,a=0,s=100,u="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return e},set:function(t){if(!r(t))throw new Error("Width must be between 0 and 100.");e=t}},lines:{enumerable:!0,get:function(){return t},set:function(e){if("number"!=typeof e)throw new TypeError("Lines must be set to a number.");t=e}},regionAnchorY:{enumerable:!0,get:function(){return i},set:function(e){if(!r(e))throw new Error("RegionAnchorX must be between 0 and 100.");i=e}},regionAnchorX:{enumerable:!0,get:function(){return o},set:function(e){if(!r(e))throw new Error("RegionAnchorY must be between 0 and 100.");o=e}},viewportAnchorY:{enumerable:!0,get:function(){return s},set:function(e){if(!r(e))throw new Error("ViewportAnchorY must be between 0 and 100.");s=e}},viewportAnchorX:{enumerable:!0,get:function(){return a},set:function(e){if(!r(e))throw new Error("ViewportAnchorX must be between 0 and 100.");a=e}},scroll:{enumerable:!0,get:function(){return u},set:function(e){var t=n(e);if(t===!1)throw new SyntaxError("An invalid or illegal string was specified.");u=t}}})}var i={"":!0,up:!0};e.VTTRegion=e.VTTRegion||o,t.VTTRegion=o}(this,this.vttjs||{})},function(e,t){function n(){for(var e={},t=0;t<arguments.length;t++){var n=arguments[t];for(var o in n)r.call(n,o)&&(e[o]=n[o])}return e}e.exports=n;var r=Object.prototype.hasOwnProperty},function(e,t){},1212,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),l=r(u),c=n(8),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),v=n(4),g=r(v),y=n(1250),b=r(y),_=n(1248),w=r(_),C=n(1251),x=r(C),E=n(28),T=r(E),k=m.default.createElement("div",{className:"au-c-input__bottom has-error"}),S=m.default.createElement("div",{className:"au-c-input__bottom"}),M=function(e){function t(){(0,s.default)(this,t);var e=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this));return e.state={addingItem:!1,activeItem:"",reorderActive:!1,title:"start"},e}return(0,p.default)(t,e),(0,l.default)(t,[{key:"componentWillUpdate",value:function(e){this.props.items&&this.props.items.length+1===e.items.length&&this.setState({activeItem:g.default.last(e.items).id})}},{key:"createItem",value:function(e){this.props.createItem(e),this.setState({addingItem:!1})}},{key:"showNewModal",value:function(){return this.props.name&&(this.state.addingItem||g.default.isEmpty(this.props.items))}},{key:"activateItem",value:function(e){e===this.state.activeItem||this.state.reorderActive||this.setState({activeItem:e,reorderActive:!1})}},{key:"moveItem",value:function(e,t){var n=g.default.map(this.props.items,"id"),r=n[t];n[t]=n[e],n[e]=r,this.props.updateItemOrder(n)}},{key:"showSinglePageOption",value:function(){var e=this;if(this.props.publishedAndOffered){var t=this.props.localizeStrings("assessmentForm");return m.default.createElement("div",{className:"au-o-item__top"},m.default.createElement("div",{className:"au-c-checkbox au-u-right"},m.default.createElement("input",{type:"checkbox",id:"assessmentFormCheck01",name:"check",onChange:function(t){return e.props.updateSingleItemOrPage(t.target.checked)}}),m.default.createElement("label",{htmlFor:"assessmentFormCheck01"},t.singlePageAssessment)))}return null}},{key:"newItem",value:function(){var e=this;return m.default.createElement(b.default,{cancel:function(){return e.setState({addingItem:!1})},create:function(t){return e.createItem(t)}})}},{key:"updateAssessment",value:function(e){e.target.value&&this.props.updateAssessment({name:e.target.value})}},{key:"render",value:function(){var e=this,t=this.state.reorderActive,n=!this.state.addingItem&&this.props.name,r=this.props.localizeStrings("assessmentForm");return m.default.createElement("div",{className:"au-o-contain"},m.default.createElement("div",{className:"au-o-item"},this.showSinglePageOption(),m.default.createElement("div",{className:"au-c-assessment-title"},m.default.createElement("label",{htmlFor:"title_field",className:"au-c-input test_label"},m.default.createElement("div",{className:"au-c-input__contain"},m.default.createElement("input",{key:this.props.name,defaultValue:this.props.name,className:"au-c-text-input au-c-text-input--large",type:"text",id:"title_field",placeholder:r.placeholder,onChange:function(t){return e.setState({title:t.target.value})},onBlur:function(t){return e.updateAssessment(t)}}),g.default.isEmpty(this.state.title)?m.default.createElement("div",null,k,m.default.createElement("div",{className:"au-c-error-text"},r.nameRequired)):S)))),this.props.name?g.default.map(g.default.compact(this.props.items),function(n,r){return m.default.createElement(x.default,{key:"question_"+r,item:n,bankId:e.props.bankId,itemIndex:r,topItem:0===r,bottomItem:r===e.props.items.length-1,isActive:e.state.activeItem===n.id,reorderActive:t,activateItem:function(t){return e.activateItem(t)},toggleReorder:function(){return e.setState({reorderActive:!t})},deleteAssessmentItem:e.props.deleteAssessmentItem,moveItem:function(t,n){return e.moveItem(t,n)}})}):null,this.showNewModal()?this.newItem():null,n?m.default.createElement(w.default,{newItem:function(){return e.setState({addingItem:!0})}}):null)}}]),t}(m.default.Component);t.default=(0,T.default)(M)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.localizeStrings("commonAddOption");return a.default.createElement("div",{className:"au-c-answer au-o-flex-center au-c-answer--add",onClick:e.createChoice,tabIndex:"0",onKeyDown:function(t){13===t.keyCode&&e.createChoice(t)}},a.default.createElement("div",{className:"au-c-input"},l,a.default.createElement("div",{className:"au-c-input__contain"},a.default.createElement("input",{className:"au-c-text-input au-c-text-input--small au-c-wysiwyg au-c-option",id:"option2",type:"text",value:t.addOption,disabled:!0}),c)))}Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),a=r(i),s=n(28),u=r(s),l=a.default.createElement("label",{htmlFor:"option2"}),c=a.default.createElement("div",{className:"au-c-input__bottom no-border"});t.default=(0,u.default)(o)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(9),i=r(o),a=n(3),s=r(a),u=n(8),l=r(u),c=n(5),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),v=n(4),g=r(v),y=n(133),b=n(28),_=r(b),w=m.default.createElement("span",null,"Audio record limit"),C=m.default.createElement("label",{htmlFor:"audio-limit"}),x=function(e){function t(e){(0,s.default)(this,t);var n=(0,l.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e)),r=t.getAudioLimit(e.item)||y.audioLimit,o=r>y.audioLimit;return n.state={timeLimit:g.default.toString(r),displayWarning:o},n}return(0,p.default)(t,e),(0,d.default)(t,null,[{key:"getAudioLimit",value:function(e){var t=g.default.get(e,["question","timeValue"],{hours:"00",minutes:"00",seconds:g.default.toString(y.audioLimit)}),n=g.default.mapValues(t,function(e){return parseInt(e,10)}),r=3600*n.hours+60*n.minutes+n.seconds;return r}}]),(0,d.default)(t,[{key:"rangeWarning",value:function(){var e=this.props.localizeStrings("audioLimit");return m.default.createElement("span",{className:"au-c-inline-error"},e.rangeWarning," ",""+y.audioLimit)}},{key:"handleTimeLimitUpdate",value:function(e){var t=e.target.value,n=parseInt(t,10),r=!1;n>y.audioLimit?(t=g.default.toString(y.audioLimit),r=!0):(g.default.isNaN(n)||n<0)&&(r=!0),this.setState({timeLimit:t,displayWarning:r})}},{key:"render",value:function(){var e=this;return m.default.createElement("div",{className:"au-c-file-upload__audio-settings is-active"},w,m.default.createElement("div",{className:"au-c-input au-c-input--inline"},C,m.default.createElement("div",{className:"au-c-input__contain"},m.default.createElement("input",{className:"au-c-text-input au-c-text-input--smaller",id:"audio-limit",type:"text",maxLength:"3",value:this.state.timeLimit,onChange:function(t){return e.handleTimeLimitUpdate(t)},onBlur:function(t){return e.props.handleBlur(t)}}),m.default.createElement("div",{className:"au-c-input__bottom "+(this.state.displayWarning?"has-error":"")}))),m.default.createElement("span",null,"seconds. (",""+y.audioLimit," maximum)"),this.state.displayWarning?this.rangeWarning():null)}}]),t}(m.default.Component);t.default=(0,_.default)(x)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return a.default.createElement("div",{className:"au-c-checkbox"},a.default.createElement("input",{type:"checkbox",id:"option_checkbox_"+e.id,name:"option_checkbox_"+e.itemId,tabIndex:"0",checked:e.isCorrect,onChange:function(t){return e.updateChoice({isCorrect:t.target.checked})}}),a.default.createElement("label",{htmlFor:"option_checkbox_"+e.id}))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return a.default.createElement("div",{className:"au-c-radio"},a.default.createElement("input",{type:"radio",id:"option_radio_"+e.id,name:"option_radio_"+e.itemId,tabIndex:"0",checked:e.isCorrect,onChange:function(t){return e.updateChoice({isCorrect:t.target.checked})}}),a.default.createElement("label",{htmlFor:"option_radio_"+e.id}))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.localizeStrings("saveOption");return a.default.createElement("button",{className:"au-c-btn au-c-btn--sm au-c-btn--maroon au-u-ml-md",onClick:e.save},t.saveOptions)}Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),a=r(i),s=n(28),u=r(s);t.default=(0,u.default)(o)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return a.default.createElement("div",{className:"au-c-dropdown au-c-dropdown--smaller au-u-ml-sm "+(e.wordType?"is-ordered":null)},a.default.createElement("label",{htmlFor:"option_word_"+e.id}),a.default.createElement("select",{name:"",id:"option_word_"+e.id,value:e.wordType,onChange:function(t){return e.updateChoice({wordType:t.target.value})}},s,u,l,c,d,f,p))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i),s=a.default.createElement("option",{value:"other"},"Other"),u=a.default.createElement("option",{value:"verb"},"Verb"),l=a.default.createElement("option",{value:"adverb"},"Adverb"),c=a.default.createElement("option",{value:"noun"},"Noun"),d=a.default.createElement("option",{value:"pronoun"},"Pronoun"),f=a.default.createElement("option",{value:"adjective"},"Adjective"),p=a.default.createElement("option",{value:"preposition"},"Preposition")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.selectItem,n=e.bank,r=e.onFocus;return a.default.createElement("tr",{onClick:function(){return t()},onKeyDown:function(e){13===e.keyCode&&t()},tabIndex:"0",role:"button","aria-label":n.displayName?n.displayName.text:"bank item",onFocus:function(){return r(!0)},onMouseEnter:function(){return r(!0)},onMouseLeave:function(){return r(!1)},className:e.focused?"focused":""},e.children)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.localizeStrings("backButton");return a.default.createElement("button",{onClick:function(){return e.handleClick()},className:"au-c-btn au-c-btn--sm au-c-btn--outline au-c-btn--back"},l,t.back)}Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),a=r(i),s=n(28),u=r(s),l=a.default.createElement("i",{className:"material-icons"},"keyboard_arrow_left");t.default=(0,u.default)(o)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return a.default.createElement("div",{className:"au-c-dropdown au-c-dropdown--small au-u-ml-md"},a.default.createElement("select",{name:"",id:"",tabIndex:"0",value:u.default.languageTypeId[e.language],onChange:function(t){return e.updateItem({language:t.target.value})}},a.default.createElement("option",{value:u.default.languageTypeId.english},"English"),a.default.createElement("option",{value:u.default.languageTypeId.hindi},"Hindi"),a.default.createElement("option",{value:u.default.languageTypeId.telugu},"Telugu")))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i),s=n(216),u=r(s)},,,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){for(var e={},t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return u.default.forEach(n,function(t){return e=(0,a.default)({},e,t)}),e}Object.defineProperty(t,"__esModule",{value:!0});var i=n(10),a=r(i);t.getInitialSettings=o;var s=n(4),u=r(s);t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.settings=function(e){return e.settings},t.assessments=function(e){return e.assessments}},,,,,,,,,,,function(e,t){function n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function r(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function o(e,t){return function(n){return e(t(n))}}function i(e,t){var n=R(e)||m(e)?r(e.length,String):[],o=n.length,i=!!o;for(var a in e)!t&&!O.call(e,a)||i&&("length"==a||d(a,o))||n.push(a);return n}function a(e,t,n){var r=e[t];O.call(e,t)&&h(r,n)&&(void 0!==n||t in e)||(e[t]=n)}function s(e){if(!p(e))return I(e);var t=[];for(var n in Object(e))O.call(e,n)&&"constructor"!=n&&t.push(n);return t}function u(e,t){return t=P(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=P(r.length-t,0),a=Array(i);++o<i;)a[o]=r[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=r[o];return s[t]=a,n(e,this,s)}}function l(e,t,n,r){n||(n={});for(var o=-1,i=t.length;++o<i;){var s=t[o],u=r?r(n[s],e[s],s,n,e):void 0;a(n,s,void 0===u?e[s]:u)}return n}function c(e){return u(function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(o--,i):void 0,a&&f(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),t=Object(t);++r<o;){var s=n[r];s&&e(t,s,r,i)}return t})}function d(e,t){return t=null==t?x:t,!!t&&("number"==typeof e||S.test(e))&&e>-1&&e%1==0&&e<t}function f(e,t,n){if(!_(n))return!1;var r=typeof t;return!!("number"==r?v(n)&&d(t,n.length):"string"==r&&t in n)&&h(n[t],e)}function p(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||M;return e===n}function h(e,t){return e===t||e!==e&&t!==t}function m(e){return g(e)&&O.call(e,"callee")&&(!N.call(e,"callee")||A.call(e)==E)}function v(e){return null!=e&&b(e.length)&&!y(e)}function g(e){return w(e)&&v(e)}function y(e){var t=_(e)?A.call(e):"";return t==T||t==k}function b(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=x}function _(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function w(e){return!!e&&"object"==typeof e}function C(e){return v(e)?i(e):s(e)}var x=9007199254740991,E="[object Arguments]",T="[object Function]",k="[object GeneratorFunction]",S=/^(?:0|[1-9]\d*)$/,M=Object.prototype,O=M.hasOwnProperty,A=M.toString,N=M.propertyIsEnumerable,I=o(Object.keys,Object),P=Math.max,D=!N.call({valueOf:1},"valueOf"),R=Array.isArray,j=c(function(e,t){if(D||p(t)||v(t))return void l(t,C(t),e);for(var n in t)O.call(t,n)&&a(e,n,t[n])});e.exports=j},function(e,t){/*!
-	 * Adapted from jQuery UI core
-	 *
-	 * http://jqueryui.com
-	 *
-	 * Copyright 2014 jQuery Foundation and other contributors
-	 * Released under the MIT license.
-	 * http://jquery.org/license
-	 *
-	 * http://api.jqueryui.com/category/ui-core/
-	 */
-function n(e,t){var n=e.nodeName.toLowerCase();return(/input|select|textarea|button|object/.test(n)?!e.disabled:"a"===n?e.href||t:t)&&o(e)}function r(e){return e.offsetWidth<=0&&e.offsetHeight<=0||"none"===e.style.display}function o(e){for(;e&&e!==document.body;){if(r(e))return!1;e=e.parentNode}return!0}function i(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var r=isNaN(t);return(r||t>=0)&&n(e,!r)}function a(e){return[].slice.call(e.querySelectorAll("*"),0).filter(function(e){return i(e)})}e.exports=a},function(e,t,n){function r(e,t,n){if("function"!=typeof e)return o;if(void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,o){return e.call(t,n,r,o)};case 4:return function(n,r,o,i){return e.call(t,n,r,o,i)};case 5:return function(n,r,o,i,a){return e.call(t,n,r,o,i,a)}}return function(){return e.apply(t,arguments)}}var o=n(1467);e.exports=r},function(e,t,n){function r(e,t){var n=null==e?void 0:e[t];return o(n)?n:void 0}var o=n(1464);e.exports=r},function(e,t,n){function r(e){return i(e)&&o(e)&&s.call(e,"callee")&&!u.call(e,"callee")}var o=n(1104),i=n(465),a=Object.prototype,s=a.hasOwnProperty,u=a.propertyIsEnumerable;e.exports=r},function(e,t,n){function r(e){return n(o(e))}function o(e){return i[e]||function(){throw new Error("Cannot find module '"+e+"'.")}()}var i={"./_author/images/CLIx-logo.png":1482,"./_author/images/audio-thumbnail.png":1483,"./_author/images/border.png":1484,"./_author/images/video-thumbnail.png":1485,"./images/atomicjolt.jpg":1486,"./images/atomicjolt.png":1487,"./images/atomicjolt.svg":1488,"./images/border.png":1489};r.keys=function(){return Object.keys(i)},r.resolve=o,e.exports=r,r.id=1244},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e){return{bank:e.banks,settings:e.settings}}Object.defineProperty(t,"__esModule",{value:!0}),t.Index=void 0;var a=n(10),s=o(a),u=n(9),l=o(u),c=n(3),d=o(c),f=n(5),p=o(f),h=n(8),m=o(h),v=n(6),g=o(v),y=n(1),b=o(y),_=n(43),w=n(332),C=r(w),x=t.Index=function(e){function t(){return(0,d.default)(this,t),(0,m.default)(this,(t.__proto__||(0,l.default)(t)).apply(this,arguments))}return(0,g.default)(t,e),(0,p.default)(t,[{key:"componentWillMount",value:function(){this.props.getBanks()}},{key:"render",value:function(){return b.default.createElement("div",null,this.props.children)}}]),t}(b.default.Component);t.default=(0,_.connect)(i,(0,s.default)({},C))(x)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return{assessment:k.assessment(e,t),items:k.items(e,t),settings:k.settings(e,t),banks:k.banks(e,t),isPublished:k.isPublished(e,t),params:{bankId:k.bankId(e,t),id:k.id(e,t)}}}Object.defineProperty(t,"__esModule",{value:!0}),t.EditAssessment=void 0;var a=n(10),s=o(a),u=n(9),l=o(u),c=n(3),d=o(c),f=n(5),p=o(f),h=n(8),m=o(h),v=n(6),g=o(v),y=n(1),b=o(y),_=n(43),w=n(4),C=o(w),x=n(204),E=o(x),T=n(528),k=r(T),S=n(493),M=o(S),O=n(1214),A=o(O),N=n(332),I=r(N),P=n(319),D=r(P),R=n(333),j=r(R),L=n(28),B=o(L),F=t.EditAssessment=function(e){function t(){return(0,d.default)(this,t),(0,m.default)(this,(t.__proto__||(0,l.default)(t)).apply(this,arguments))}return(0,g.default)(t,e),(0,p.default)(t,[{key:"componentDidMount",value:function(){this.props.getAssessments(this.props.params.bankId),this.props.getAssessmentItems(this.props.params.bankId,this.props.params.id)}},{key:"getBankChildren",value:function(e){var t={},n=this.flattenBanks(this.props.banks,t);this.props.updatePath(e,n[e],!0),this.props.getAssessments(e),this.props.getItems(e),E.default.push("/")}},{key:"deleteAssessmentItem",value:function(e){var t=this.props.localizeStrings("editAssessment");confirm(t.confirm)&&this.props.deleteAssessmentItem(this.props.params.bankId,this.props.params.id,e)}},{key:"createItem",value:function(e){this.props.createItemInAssessment(this.props.params.bankId,this.props.params.id,C.default.map(this.props.items,"id"),e)}},{key:"updateItemOrder",value:function(e){this.props.updateAssessmentItems(this.props.params.bankId,this.props.params.id,e)}},{key:"updateSingleItemOrPage",value:function(e){var t=this.props,n=t.settings,r=t.assessment,o=r.assessmentOffered,i=e?n.single_page:n.one_item_per_page;this.props.updateSingleItemOrPage(o[0],i)}},{key:"flattenBanks",value:function(e,t){var n=this;return C.default.forEach(e,function(e){t[e.id]=e,C.default.isEmpty(e.childNodes)||n.flattenBanks(e.childNodes,t)}),t}},{key:"updateItem",value:function(e){this.props.updateItem(this.props.params.bankId,e)}},{key:"updateAssessment",value:function(e){var t=(0,s.default)({id:this.props.params.id},e);this.props.updateAssessment(this.props.params.bankId,t)}},{key:"render",value:function(){var e=this,t=this.props,n=t.assessment,r=t.isPublished,o=r&&!C.default.isUndefined(n.assessmentOffered);return b.default.createElement("div",null,b.default.createElement(M.default,{view:"assessments",togglePublishAssessment:function(){return e.props.togglePublishAssessment(e.props.assessment)},isPublished:r,assessment:this.props.assessment,items:this.props.items,getBankChildren:function(t){return e.getBankChildren(t)}}),b.default.createElement(A.default,(0,s.default)({bankId:this.props.params.bankId,publishedAndOffered:o,updateSingleItemOrPage:function(t){return e.updateSingleItemOrPage(t)}},this.props.assessment,{updateAssessment:function(t){return e.updateAssessment(t)},updateItemOrder:function(t){return e.updateItemOrder(t)},items:this.props.items,createItem:function(t){return e.createItem(t)},deleteAssessmentItem:function(t){return e.deleteAssessmentItem(t)}})))}}]),t}(b.default.Component);t.default=(0,_.connect)(i,(0,s.default)({},I,D,j))((0,B.default)(F))},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e){return{editableBankId:e.settings.editableBankId,banks:e.banks}}Object.defineProperty(t,"__esModule",{value:!0}),t.NewAssessment=void 0;var a=n(10),s=o(a),u=n(9),l=o(u),c=n(3),d=o(c),f=n(5),p=o(f),h=n(8),m=o(h),v=n(6),g=o(v),y=n(1),b=o(y),_=n(43),w=n(4),C=o(w),x=n(1214),E=o(x),T=n(204),k=o(T),S=n(493),M=o(S),O=n(332),A=r(O),N=n(319),I=r(N),P=n(333),D=r(P),R=t.NewAssessment=function(e){function t(e){(0,d.default)(this,t);var n=(0,m.default)(this,(t.__proto__||(0,l.default)(t)).call(this,e));return n.state={assessment:{assignedBankIds:[n.props.editableBankId]}},n}return(0,g.default)(t,e),(0,p.default)(t,[{key:"getBankChildren",value:function(e){var t=encodeURIComponent(e),n={},r=this.flattenBanks(this.props.banks,n);this.props.updatePath(t,r[t],!0),this.props.getAssessments(t),this.props.getItems(t),k.default.push("/")}},{key:"createAssessment",value:function(e){this.props.createAssessment(this.props.params.id,e)}},{key:"createItem",value:function(e){this.props.createAssessmentWithItem(this.props.params.id,this.state.assessment,e)}},{key:"flattenBanks",value:function(e,t){var n=this;return C.default.forEach(e,function(e){t[e.id]=e,C.default.isEmpty(e.childNodes)||n.flattenBanks(e.childNodes,t)}),t}},{key:"render",value:function(){var e=this;return b.default.createElement("div",null,b.default.createElement(M.default,{view:"assessments",isPublished:!1,assessment:{bankId:this.props.params.id,assessmentId:null},items:[],getBankChildren:function(t){return e.getBankChildren(t)}}),b.default.createElement(E.default,{updateAssessment:function(t){return e.createAssessment(t)},createItem:function(t){return e.createItem(t)},createChoice:function(){},bankId:""}))}}]),t}(b.default.Component);t.default=(0,_.connect)(i,(0,s.default)({},A,I,D))(R)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.localizeStrings("addQuestionButton");return a.default.createElement("div",{className:"au-c-question-add"},a.default.createElement("button",{onClick:e.newItem,className:"au-c-question-add__button"},t.addQuestion))}Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),a=r(i),s=n(28),u=r(s);t.default=(0,u.default)(o)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),l=r(u),c=n(8),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),v=n(4),g=r(v),y=n(1292),b=r(y),_=n(1222),w=r(_),C=n(28),x=r(C),E=n(204),T=r(E),k=m.default.createElement("i",{className:"material-icons"},"remove_red_eye"),S=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,l.default)(t,[{key:"publishButton",value:function(){var e=this,t=this.props.localizeStrings("navigationBarContent");return g.default.isEmpty(this.props.items)?null:m.default.createElement("button",{className:"au-c-btn au-c-btn--sm au-c-btn--green",onClick:function(){e.props.togglePublishAssessment("navigationBarContent"),T.default.push("/")}},m.default.createElement(b.default,{type:this.props.isPublished?"Published":"Publish"}),this.props.isPublished?t.unpublish:t.publish)}},{key:"backButton",value:function(e){this.props.getBankChildren(e)}},{key:"render",value:function(){var e=this,t=this.props.assessment,n=t.bankId,r=t.id,o=this.props.localizeStrings("navigationBarContent");return m.default.createElement("div",{className:"au-c-header-bottom"},m.default.createElement("div",{className:"au-c-header-bottom__left"},m.default.createElement(w.default,{handleClick:function(){return e.backButton(n)}})),m.default.createElement("div",{className:"au-c-header-bottom__right"},this.publishButton(),this.props.isPublished?m.default.createElement("button",{className:"au-c-btn au-c-btn--sm au-c-btn--maroon au-u-ml-md",onClick:function(){return T.default.push("banks/"+n+"/assessments/"+r+"/preview")}},k,o.preview):null))}}]),t}(m.default.Component);t.default=(0,x.default)(S)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(10),i=r(o),a=n(9),s=r(a),u=n(3),l=r(u),c=n(5),d=r(c),f=n(8),p=r(f),h=n(6),m=r(h),v=n(1),g=r(v),y=n(4),b=r(y),_=n(133),w=r(_),C=n(216),x=r(C),E=n(28),T=r(E),k=g.default.createElement("div",{className:"au-c-question__number"}),S=g.default.createElement("div",{className:"au-c-input__bottom"}),M=g.default.createElement("label",{htmlFor:"questionType"}),O=function(e){function t(){(0,l.default)(this,t);var e=(0,p.default)(this,(t.__proto__||(0,s.default)(t)).call(this));return e.state={name:"",type:w.default.multipleChoice,language:x.default.languageTypeId.english,question:{type:w.default.multipleChoice}},e}return(0,m.default)(t,e),(0,d.default)(t,[{key:"updateType",value:function(e){this.setState({type:e,question:(0,i.default)({},this.state.question,{type:e})})}},{key:"updateName",value:function(e){this.setState({name:e})}},{key:"render",value:function(){var e=this,t=this.props.localizeStrings("newItemForm");return g.default.createElement("div",{className:"au-o-item au-c-question is-active"},g.default.createElement("div",{className:"au-o-item__top"},g.default.createElement("div",{className:"au-o-left"},k,g.default.createElement("div",{className:"au-c-question__type"},t.addQuestion))),g.default.createElement("div",{className:"au-c-question__content"},g.default.createElement("div",{className:"au-o-row"},g.default.createElement("div",{className:"au-o-half"},g.default.createElement("div",{className:"au-c-input au-c-input-label--left au-c-input-label--large"},g.default.createElement("label",{htmlFor:"name2"},t.name),g.default.createElement("div",{className:"au-c-input__contain"},g.default.createElement("input",{onChange:function(t){return e.updateName(t.target.value)},className:"au-c-text-input au-c-text-input--small",id:"name2",type:"text"}),S))),g.default.createElement("div",{className:"au-o-half"},g.default.createElement("div",{className:"au-c-input"},M,g.default.createElement("div",{className:"au-c-dropdown au-c-dropdown--medium"},g.default.createElement("select",{defaultValue:this.state.type,onChange:function(t){return e.updateType(t.target.value)},name:"",id:"questionType"},b.default.map(w.default,function(e){return g.default.createElement("option",{key:"new_item_"+e,value:e},t[e])})))))),g.default.createElement("div",{className:"au-o-flex-contain au-c-question-add__buttons"},g.default.createElement("div",{className:"au-o-right au-u-right"},g.default.createElement("button",{onClick:this.props.cancel,className:"au-c-btn au-c-btn--md au-c-btn--gray"},t.cancel),g.default.createElement("button",{onClick:function(){return e.props.create(e.state)},className:"au-c-btn au-c-btn--md au-c-btn--maroon au-u-ml-md"},t.saveNewQuestion)))))}}]),t}(g.default.Component);t.default=(0,T.default)(O)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return{media:(0,ae.bankMedia)(e,t)}}Object.defineProperty(t,"__esModule",{value:!0}),t.Question=void 0;var a,s,u,l=n(101),c=o(l),d=n(10),f=o(d),p=n(9),h=o(p),m=n(3),v=o(m),g=n(5),y=o(g),b=n(8),_=o(b),w=n(6),C=o(w),x=n(1),E=o(x),T=n(43),k=n(4),S=o(k),M=n(333),O=r(M),A=n(1267),N=o(A),I=n(1277),P=o(I),D=n(1281),R=o(D),j=n(1285),L=o(j),B=n(1287),F=o(B),U=n(1252),H=o(U),z=n(1262),q=o(z),W=n(1263),V=o(W),G=n(1288),Y=o(G),$=n(1269),K=o($),X=n(1272),Q=o(X),J=n(1253),Z=o(J),ee=n(133),te=o(ee),ne=n(216),re=o(ne),oe=n(1280),ie=o(oe),ae=n(1343),se=n(28),ue=o(se),le=t.Question=(s=a=function(e){function t(e){(0,v.default)(this,t);var n=(0,_.default)(this,(t.__proto__||(0,h.default)(t)).call(this,e));return n.state={reorderActive:!1,language:re.default.languageTypeId.english,preview:!1,activeChoice:null,item:{question:{choices:{}}}},n}return(0,C.default)(t,e),(0,y.default)(t,[{key:"getClassName",value:function(){return this.props.isActive&&(this.props.reorderActive||this.state.preview)?"reorder-active":this.props.isActive?"is-active":""}},{key:"moveQuestionUp",value:function(){this.props.moveItem(this.props.itemIndex,this.props.itemIndex-1)}},{key:"moveQuestionDown",value:function(){this.props.moveItem(this.props.itemIndex,this.props.itemIndex+1)}},{key:"updateItem",value:function(e,n){var r=this.props.item;e.language&&this.state.language!==e.language?this.setState({language:e.language}):S.default.includes(t.stateDrivenTypes,r.type)&&!n?this.setState((0,f.default)({},r,e)):this.props.updateItem(this.props.bankId,(0,f.default)({id:r.id,language:e.language||this.state.language},e))}},{key:"updateChoice",value:function(e,n,r,o,i){var a,s=this.props.item,u={id:e,question:(a={},(0,c.default)(a,i||"choices",(0,c.default)({},n,r)),(0,c.default)(a,"fileIds",o),a)};S.default.includes(t.stateDrivenTypes,s.type)?this.setState({item:S.default.merge(this.state.item,u)}):this.updateItem(u)}},{key:"saveStateItem",value:function(){var e=this.props.item,t=S.default.cloneDeep(this.state.item);t.id=e.id,this.props.updateItem(this.props.bankId,t)}},{key:"changeType",value:function(e){this.props.updateItem(this.props.bankId,{id:this.props.item.id,type:e,question:{type:e,choices:{}}})}},{key:"makeReflection",value:function(){var e=this.props.item,t="multipleChoice";e.type===te.default.multipleChoice?t=te.default.reflection:e.type===te.default.reflection?t=te.default.multipleChoice:e.type===te.default.multipleReflection?t=te.default.multipleAnswer:e.type===te.default.multipleAnswer&&(t=te.default.multipleReflection),this.changeType(t)}},{key:"makeMultipleAnswer",value:function(){var e=this.props.item,t="multipleChoice";e.type===te.default.multipleChoice?t=te.default.multipleAnswer:e.type===te.default.reflection?t=te.default.multipleReflection:e.type===te.default.multipleReflection?t=te.default.reflection:e.type===te.default.multipleAnswer&&(t=te.default.multipleChoice),this.changeType(t)}},{key:"selectChoice",value:function(e){this.setState({activeChoice:e})}},{key:"blurOptions",value:function(e){var t=this,n=e.currentTarget;setTimeout(function(){n.contains(document.activeElement)&&n!==document.activeElement||t.selectChoice(null)},0)}},{key:"deleteChoice",value:function(e){var t=this.props.localizeStrings("question");confirm(t.confirm)&&this.updateItem({question:{choices:this.markedForDeletion(e)}},!0)}},{key:"markedForDeletion",value:function(e){var t=S.default.cloneDeep(this.props.item.question.choices);return t[e.id].delete=!0,t}},{key:"content",value:function(){var e=this,n=this.props,r=n.bankId,o=n.item,i=t.questionComponents[this.props.item.type];return i?E.default.createElement(i,{item:S.default.merge(o,this.state.item),updateItem:function(t,n){return e.updateItem(t,n)},updateChoice:function(t,n,r,o,i){return e.updateChoice(t,n,r,o,i)},isActive:this.props.isActive,activeChoice:this.state.activeChoice,selectChoice:function(t){return e.selectChoice(t)},blurOptions:function(t){return e.blurOptions(t)},createChoice:function(t,n,i){return e.props.createChoice(r,o.id,t,n,i)},deleteChoice:function(t){return e.deleteChoice(t)},save:function(){return e.saveStateItem()}}):null}},{key:"editContent",value:function(){var e=this,t=this.props.item,n=t.name,r=t.type,o=t.id,i=t.question,a=t.bankId,s=te.default.multipleAnswer,u=te.default.multipleReflection,l=te.default.reflection,c=this.state.language,d=S.default.find(t.question.texts,function(e){return e.languageTypeId===c}),f=S.default.get(d,"text",""),p=S.default.get(d,"languageTypeId")||c;return E.default.createElement("div",null,E.default.createElement(L.default,{id:o,updateItem:function(t){return e.updateItem(t)},defaultName:n,language:this.state.language,shuffle:i.shuffle,multipleAnswer:t.type===s||t.type===u,reflection:S.default.includes([l,u],t.type),makeReflection:function(t){return e.makeReflection(t)},makeMultipleAnswer:function(t){return e.makeMultipleAnswer(t)},type:r}),E.default.createElement("div",{className:"au-c-question__content "+(this.props.reorderActive?"is-reordering":"")},E.default.createElement(F.default,{itemType:r,fileIds:i.fileIds,itemId:o,editorKey:p,text:f,updateItem:function(t){return e.updateItem(t,!0)},bankId:a}),this.content()))}},{key:"previewContent",value:function(){return E.default.createElement(ie.default,{item:this.props.item})}},{key:"render",value:function(){var e=this,t=this.props.item,n=t.name,r=t.type,o=t.id,i=this.getClassName();return E.default.createElement("div",{className:"au-o-item au-c-question "+i,onClick:function(){return e.props.activateItem(o)},onFocus:function(){return e.props.activateItem(o)}},E.default.createElement(R.default,{name:n,type:r,deleteAssessmentItem:this.props.deleteAssessmentItem,id:o,index:this.props.itemIndex,topItem:this.props.topItem,bottomItem:this.props.bottomItem,toggleReorder:this.props.toggleReorder,reorderActive:this.props.isActive&&this.props.reorderActive,moveUp:function(){return e.moveQuestionUp()},moveDown:function(){return e.moveQuestionDown()},togglePreview:function(){return e.setState({preview:!e.state.preview})},itemIndex:this.props.itemIndex,preview:this.state.preview}),this.state.preview&&this.props.isActive?this.previewContent():this.editContent())}}]),t}(E.default.Component),a.questionComponents=(u={},(0,c.default)(u,te.default.audioUpload,H.default),(0,c.default)(u,te.default.fileUpload,q.default),(0,c.default)(u,te.default.movableFillBlank,N.default),(0,c.default)(u,te.default.movableWordSandbox,Q.default),(0,c.default)(u,te.default.movableWordSentence,K.default),(0,c.default)(u,te.default.multipleAnswer,P.default),(0,c.default)(u,te.default.multipleChoice,P.default),(0,c.default)(u,te.default.multipleReflection,P.default),(0,c.default)(u,te.default.reflection,P.default),(0,c.default)(u,te.default.shortAnswer,Y.default),(0,c.default)(u,te.default.fileUpload,q.default),(0,c.default)(u,te.default.audioUpload,H.default),(0,c.default)(u,te.default.movableWordSandbox,Q.default),(0,c.default)(u,te.default.movableWordSentence,K.default),(0,c.default)(u,te.default.dragAndDrop,Z.default),(0,c.default)(u,te.default.imageSequence,V.default),u),a.stateDrivenTypes=[te.default.movableWordSentence,te.default.imageSequence],s);t.default=(0,T.connect)(i,O)((0,ue.default)(le))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),l=r(u),c=n(8),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),v=n(4),g=r(v),y=n(1216),b=r(y),_=n(54),w=r(_),C=n(160),x=r(C),E=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,l.default)(t,[{key:"handleBlur",value:function(e){this.props.updateItem({question:{genusTypeId:w.default.question.audioUpload,timeValue:{hours:0,minutes:0,seconds:parseInt(e.target.value,10)}}})}},{key:"render",value:function(){var e=this;return m.default.createElement("div",null,m.default.createElement("div",{className:"au-c-question__answers au-o-row",role:"radiogroup"},m.default.createElement(b.default,{handleBlur:function(t){return e.handleBlur(t)},item:this.props.item})),m.default.createElement("div",{className:"au-c-question__feedback"},m.default.createElement(x.default,{feedbackType:"correctFeedback",feedback:g.default.get(this.props.item,"question.correctFeedback"),updateItem:this.props.updateItem,labelText:"Feedback",bankId:this.props.item.bankId})))}}]),t}(m.default.Component);t.default=E},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e){return{loadingMedia:e.media.loading,images:e.media.image}}Object.defineProperty(t,"__esModule",{value:!0}),t.DragAndDrop=void 0;var a=n(9),s=o(a),u=n(3),l=o(u),c=n(5),d=o(c),f=n(8),p=o(f),h=n(6),m=o(h),v=n(1),g=o(v),y=n(43),b=n(331),_=r(b),w=n(1258),C=o(w),x=n(1255),E=o(x),T=n(160),k=o(T),S=n(28),M=o(S),O=t.DragAndDrop=function(e){function t(){(0,l.default)(this,t);var e=(0,p.default)(this,(t.__proto__||(0,s.default)(t)).call(this));return e.state={},e}return(0,m.default)(t,e),(0,d.default)(t,[{key:"uploadMedia",value:function(e,t,n,r){this.props.addMediaToQuestion(e,this.props.item.bankId,this.props.item.id,"question."+t,n,r)}},{key:"render",value:function(){var e=this,t=this.props.item,n=t.question,r=t.id,o=t.bankId,i=this.props.localizeStrings("dragAndDrop");return g.default.createElement("div",null,g.default.createElement(C.default,{id:r,question:n,loadingMedia:this.props.loadingMedia,images:this.props.images,uploadMedia:function(t,n,r,o){return e.uploadMedia(t,n,r,o)},visibleZones:n.visibleZones,setVisible:function(t){return e.props.updateItem({question:{visibleZones:t}},!0)},editZone:function(t,n){return e.props.updateChoice(r,t,n,null,"zones")}}),g.default.createElement("div",{className:"au-c-drop-zone__answers__label"},i.draggableAnswers),g.default.createElement(E.default,{dropObjects:n.dropObjects,zones:n.zones,updateDropObject:function(t,n,o){return e.props.updateChoice(r,t,n,o,"dropObjects")},loadingMedia:this.props.loadingMedia,images:this.props.images,uploadMedia:function(t,n,r,o){return e.uploadMedia(t,n,r,o)}}),g.default.createElement("div",{className:"au-c-question__feedback"},g.default.createElement(k.default,{updateItem:this.props.updateItem,feedbackType:"correctFeedback",feedback:n.correctFeedback,labelText:"Correct Feedback",bankId:o}),g.default.createElement(k.default,{updateItem:this.props.updateItem,feedbackType:"incorrectFeedback",feedback:n.incorrectFeedback,labelText:"Incorrect Feedback",bankId:o})))}}]),t}(g.default.Component);t.default=(0,y.connect)(i,_)((0,M.default)(O))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.localizeStrings("addZoneDropDown");return a.default.createElement("ul",{className:"au-c-button-dropdown au-u-ml-sm"},a.default.createElement("li",null,a.default.createElement("button",{className:"au-c-btn au-c-btn--sm au-c-btn--dropdown",onClick:e.toggle},e.text,l),a.default.createElement("ul",{className:"au-c-button-dropdown__dropdown "+(e.active?"is-active":"")},a.default.createElement("li",null,a.default.createElement("button",{id:"reg_"+e.text,className:"au-c-btn au-c-btn--sm au-c-btn--dropdown-item",onClick:e.addByRegion},c,t.byRegion)),a.default.createElement("li",null,a.default.createElement("button",{id:"image_"+e.text,className:"au-c-btn au-c-btn--sm au-c-btn--dropdown-item",onClick:e.addByImage},d,t.byImage)))))}Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),a=r(i),s=n(28),u=r(s),l=a.default.createElement("i",{className:"material-icons"},"arrow_drop_down"),c=a.default.createElement("i",{className:"material-icons"},"open_in_new"),d=a.default.createElement("i",{className:"material-icons"},"image");t.default=(0,u.default)(o)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),l=r(u),c=n(8),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),v=n(4),g=r(v),y=n(1256),b=r(y),_=n(495),w=r(_),C=n(28),x=r(C),E=function(e){function t(){(0,s.default)(this,t);var e=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this));return e.state={activeObject:null,showModal:!1},e}return(0,p.default)(t,e),(0,l.default)(t,[{key:"insertMedia",value:function(e,t,n){this.props.uploadMedia(e,"dropObjects.new",t,n),this.setState({showModal:!1})}},{key:"render",value:function(){var e=this,t=this.props.localizeStrings("dragArea");return m.default.createElement("div",{className:"au-c-drop-zone__answers au-o-row"},g.default.map(this.props.dropObjects,function(t){return m.default.createElement(b.default,{key:"drop_object_"+t.id,object:t,zones:e.props.zones,setActive:function(){return e.setState({activeObject:t.id})},isActive:e.state.activeObject===t.id,updateObject:function(n){return e.props.updateDropObject(t.id,n)}})}),m.default.createElement("div",{className:"au-o-quarter"},m.default.createElement("div",{className:"au-c-drop-zone-answer-add"},m.default.createElement("button",{className:"au-c-drop-zone-answer-add__button",onClick:function(){return e.setState({showModal:!0})}},t.addImage))),m.default.createElement(w.default,{isOpen:this.state.showModal,closeModal:function(){return e.setState({showModal:!1})},loading:this.props.loadingMedia,media:this.props.images,mediaType:"img",insertMedia:function(t,n,r){return e.insertMedia(t,n,r)}}))}}]),t}(m.default.Component);t.default=(0,x.default)(E)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.object,n=e.zones,r=e.updateObject,o=e.setActive,i=e.isActive,s=(0,c.default)("./_author/images/CLIx-logo.png"),l=e.localizeStrings("dropObject");return a.default.createElement("div",{className:"au-o-quarter au-set-active",onClick:function(){return o()}},a.default.createElement("div",{className:"au-c-drop-zone-answer "+(i?"is-active":""),tabIndex:"0"},a.default.createElement("div",{className:"au-c-drop-zone-answer__top"},a.default.createElement("div",{className:"au-c-dropdown au-c-dropdown--small"},a.default.createElement("label",{htmlFor:"drag_object_dropDown_"+t.id}),a.default.createElement("select",{name:"",id:"drag_object_dropDown_"+t.id,onChange:function(e){return r({correctZone:e.target.value})},value:t.correctZone},a.default.createElement("option",{value:null},l.selectAnswer),u.default.map(n,function(e){return a.default.createElement("option",{value:e.id,key:"drop_zone_selector_"+e.id},u.default.capitalize(e.type)," ",String.fromCharCode(e.index+65))}))),a.default.createElement("button",{className:"au-c-answer--delete",onClick:function(){return r({delete:!0})}},p)),a.default.createElement("div",{className:"au-c-input au-c-input-label--left"},a.default.createElement("label",{htmlFor:"drag_object_label_"+t.id},l.label),a.default.createElement("div",{className:"au-c-input__contain"},a.default.createElement("input",{id:"drag_object_label_"+t.id,className:"au-c-text-input au-c-text-input--smaller",type:"text",defaultValue:t.label,onBlur:function(e){return r({label:e.target.value})}}),h)),a.default.createElement("div",{className:"au-c-drop-zone-answer__image"},a.default.createElement("img",{src:t.image||s,alt:"default"}))))}Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),a=r(i),s=n(4),u=r(s),l=n(532),c=r(l),d=n(28),f=r(d),p=a.default.createElement("i",{className:"material-icons"},"close"),h=a.default.createElement("div",{className:"au-c-input__bottom"});t.default=(0,f.default)(o)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.DropZone=void 0;var o=n(9),i=r(o),a=n(3),s=r(a),u=n(8),l=r(u),c=n(5),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),v=n(4),g=r(v),y=n(28),b=r(y),_=m.default.createElement("div",{className:"au-c-input__bottom"}),w=m.default.createElement("i",{className:"material-icons"},"delete"),C=t.DropZone=function(e){function t(e){(0,s.default)(this,t);var n=(0,l.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.state=t.saveZoneToState(e.zone),n}return(0,p.default)(t,e),(0,d.default)(t,null,[{key:"saveZoneToState",value:function(e){var t=e.xPos||20,n=e.yPos||20;return{leftPos:t,topPos:n,rightPos:t+e.width,bottomPos:n+e.height,initialX:null,initialY:null}}},{key:"boundaryCheck",value:function(e,t){return e<0?0:e>t?t:e}}]),(0,d.default)(t,[{key:"zonePosition",value:function(){var e=this.state,t=e.leftPos,n=e.topPos,r=e.rightPos,o=e.bottomPos;return{position:"absolute",top:n+"px",left:t+"px",height:o-n+"px",width:r-t+"px"}}},{key:"moveCorner",value:function(e,n,r){var o=this.state,i=o.leftPos,a=o.topPos,s=o.rightPos,u=o.bottomPos,l=this.props.target.getBoundingClientRect(),c=l.top+window.scrollY,d=l.left+window.scrollX,f=c+l.height,p=d+l.width,h=t.boundaryCheck(r-c,f-c),m=t.boundaryCheck(n-d,p-d),v=a<u?h:u,g=u<a?a:h,y=i<s?m:s,b=s<i?i:m;if(v&&g&&y&&b)switch(e){case"topLeft":this.setState({topPos:v,leftPos:y});break;case"topRight":this.setState({topPos:v,rightPos:b});break;case"bottomLeft":this.setState({bottomPos:g,leftPos:y});break;case"bottomRight":this.setState({bottomPos:g,rightPos:b})}}},{key:"moveZone",value:function(e,n){var r=this.state,o=r.leftPos,i=r.topPos,a=r.rightPos,s=r.bottomPos,u=r.initialX,l=r.initialY,c=this.props.target.getBoundingClientRect();if(e&&n){var d=e-u,f=n-l,p=t.boundaryCheck(o+d,c.right-c.left),h=t.boundaryCheck(i+f,c.bottom-c.top),m=t.boundaryCheck(a+d,c.right-c.left),v=t.boundaryCheck(s+f,c.bottom-c.top),g={initialX:e,initialY:n};p&&(g.rightPos=m),h&&(g.bottomPos=v),m!==c.right-c.left&&(g.leftPos=p),v!==c.bottom-c.top&&(g.topPos=h),this.setState(g)}}},{key:"updateZone",value:function(){var e=this.state,t=e.leftPos,n=e.topPos,r=e.rightPos,o=e.bottomPos;this.props.editZone(this.props.zone.id,{xPos:t,yPos:n,height:o-n,width:r-t})}},{key:"render",value:function(){var e=this,t=this.props,n=t.zone,r=t.isActive,o=["topLeft","topRight","bottomLeft","bottomRight"],i=this.props.localizeStrings("dropZone");return m.default.createElement("div",{className:"au-c-drop-zone "+(r?"is-active":""),style:this.zonePosition(),onClick:this.props.setActive},m.default.createElement("div",{className:"au-c-zone "+(r?"is-active":"")},g.default.map(o,function(t){return m.default.createElement("div",{className:"au-c-zone-corner-"+t+" au-c-zone-position",key:"zone_corner_"+n.id+"_"+t,draggable:!0,onDrag:function(n){return e.moveCorner(t,n.pageX,n.pageY)},onDragEnd:function(){return e.updateZone()}})}),m.default.createElement("div",{className:"au-c-zone-middle",draggable:!0,
-onMouseDown:function(t){return e.setState({initialX:t.pageX,initialY:t.pageY})},onDrag:function(t){return e.moveZone(t.pageX,t.pageY)},onDragEnd:function(){e.setState({initialX:null,initialY:null}),e.updateZone()}})),m.default.createElement("div",{className:"au-c-drop-zone__tag"},g.default.capitalize(n.type)," ",String.fromCharCode(n.index+65)),m.default.createElement("div",{className:"au-c-drop-zone__tool-tip is-right"},m.default.createElement("div",{className:"au-c-input au-c-input-label--left au-c-input--white"},m.default.createElement("label",{htmlFor:"dropZone_"+n.id},i.label),m.default.createElement("div",{className:"au-c-input__contain"},m.default.createElement("input",{id:"dropZone_"+n.id,className:"au-c-text-input au-c-text-input--smaller",defaultValue:n.label,onBlur:function(t){return e.props.editZone(n.id,{label:t.target.value})},type:"text"}),_)),m.default.createElement("button",{className:"au-c-btn au-c-btn--square",onClick:function(){return e.props.editZone(n.id,{delete:!0})}},w)))}}]),t}(m.default.Component);t.default=(0,b.default)(C)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),l=r(u),c=n(8),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),v=n(4),g=r(v),y=n(1259),b=r(y),_=n(1261),w=r(_),C=n(495),x=r(C),E=function(e){function t(){(0,s.default)(this,t);var e=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this));return e.state={add:null,showModal:!1},e}return(0,p.default)(t,e),(0,l.default)(t,[{key:"replaceImage",value:function(e,t,n){this.props.uploadMedia(e,"target",t,n)}},{key:"selectImage",value:function(e,t,n){var r=this,o=this.state.add;if("snap"===o||"drop"===o){var i=new Image;i.src=URL.createObjectURL(e),i.onload=function(){r.props.editZone("new",{type:o,height:i.height,width:i.width})},this.props.uploadMedia(e,"dropObjects.new",t,n)}else this.replaceImage(e,t,n);this.setState({showModal:!1,add:null})}},{key:"addByRegion",value:function(){this.props.editZone("new",{type:this.state.add}),this.setState({add:null})}},{key:"render",value:function(){var e=this;return m.default.createElement("div",{className:"au-c-drag-and-drop__target-area"},m.default.createElement(b.default,{id:this.props.question.id,hasTarget:!g.default.isEmpty(this.props.question.target),openModal:function(){return e.setState({showModal:!0})},addType:this.state.add,toggleAdd:function(t){return e.setState({add:e.state.add!==t?t:null})},addByRegion:function(){return e.addByRegion()},toggleVisible:this.props.setVisible,visibleZones:this.props.visibleZones}),m.default.createElement(w.default,{target:this.props.question.target,zones:this.props.question.zones,editZone:this.props.editZone,openModal:function(){return e.setState({showModal:!0})}}),m.default.createElement(x.default,{isOpen:this.state.showModal,closeModal:function(){return e.setState({showModal:!1})},loading:this.props.loadingMedia,media:this.props.images,mediaType:"img",insertMedia:function(t,n,r){return e.selectImage(t,n,r)},uploadOnly:!!this.state.add}))}}]),t}(m.default.Component);t.default=E},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.localizeStrings("targetMenu");return a.default.createElement("div",{className:"au-o-item__top"},a.default.createElement("div",{className:"au-o-left"},a.default.createElement("div",{className:"au-c-question__type"},t.targetImage)),a.default.createElement("div",{className:"au-o-right"},a.default.createElement("div",{className:"au-c-checkbox au-u-ml-md au-u-mr-sm"},a.default.createElement("input",{id:"toggle_show_zone_"+e.id,type:"checkbox",tabIndex:"0",checked:e.visibleZones,onChange:function(t){return e.toggleVisible(t.target.checked)}}),a.default.createElement("label",{htmlFor:"toggle_show_zone_"+e.id},t.showZones)),a.default.createElement("button",{className:"au-c-btn au-c-btn--sm au-c-btn--gray",onClick:e.openModal},e.hasTarget?t.replace:t.addImage),a.default.createElement(u.default,{active:"snap"===e.addType,text:t.addSnap,toggle:function(){return e.toggleAdd("snap")},addByRegion:e.addByRegion,addByImage:e.openModal}),a.default.createElement(u.default,{active:"drop"===e.addType,text:t.addDrop,toggle:function(){return e.toggleAdd("drop")},addByRegion:e.addByRegion,addByImage:e.openModal})))}Object.defineProperty(t,"__esModule",{value:!0}),t.targetMenu=o;var i=n(1),a=r(i),s=n(1254),u=r(s),l=n(28),c=r(l);t.default=(0,c.default)(o)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.localizeStrings("targetPlaceholder");return a.default.createElement("div",{className:"au-c-drag-and-drop__target-image-placeholder",onClick:e.onClick},t.addImg)}Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),a=r(i),s=n(28),u=r(s);t.default=(0,u.default)(o)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),l=r(u),c=n(8),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),v=n(4),g=r(v),y=n(1257),b=r(y),_=n(1260),w=r(_),C=function(e){function t(){(0,s.default)(this,t);var e=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this));return e.target=null,e.state={activeZone:null},e}return(0,p.default)(t,e),(0,l.default)(t,[{key:"setActiveZone",value:function(e,t){e.stopPropagation(),this.setState({activeZone:t})}},{key:"render",value:function(){var e=this,t=this.props,n=t.target,r=t.zones,o=t.editZone;return m.default.createElement("div",{className:"au-c-drag-and-drop__target-image",ref:function(t){e.target=t},onClick:function(){return e.setState({activeZone:null})}},g.default.isEmpty(n)?m.default.createElement(w.default,{onClick:this.props.openModal}):m.default.createElement("img",{src:n.image,alt:"target"}),g.default.map(r,function(t){return m.default.createElement(b.default,{key:"drop_zone_"+t.id,zone:t,target:e.target,editZone:o,setActive:function(n){return e.setActiveZone(n,t.id)},isActive:e.state.activeZone===t.id})}))}}]),t}(m.default.Component);t.default=C},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return a.default.createElement("div",{className:"au-c-question__feedback"},a.default.createElement(c.default,{bankId:e.item.bankId,feedbackType:"correctFeedback",feedback:u.default.get(e.item,"question.correctFeedback"),updateItem:e.updateItem,labelText:"Feedback"}))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i),s=n(4),u=r(s),l=n(160),c=r(l)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(10),i=r(o),a=n(9),s=r(a),u=n(3),l=r(u),c=n(5),d=r(c),f=n(8),p=r(f),h=n(6),m=r(h),v=n(1),g=r(v),y=n(160),b=r(y),_=n(1266),w=r(_),C=n(1219),x=r(C),E=n(28),T=r(E),k=function(e){function t(e){(0,l.default)(this,t);var n=(0,p.default)(this,(t.__proto__||(0,s.default)(t)).call(this,e));return n.state={choiceId:null},n}return(0,m.default)(t,e),(0,d.default)(t,[{key:"getFeedback",value:function(){var e=this,t=this.props.item.question,n=this.props.localizeStrings("imageSequence");return g.default.createElement("div",{className:"au-c-question__feedback"},g.default.createElement(b.default,{updateItem:function(t){return e.props.updateItem(t,!0)},feedbackType:"correctFeedback",feedback:t.correctFeedback,labelText:n.correctFeedback,bankId:this.props.item.bankId}),g.default.createElement(b.default,{updateItem:function(t){return e.props.updateItem(t,!0)},feedbackType:"incorrectFeedback",feedback:t.incorrectFeedback,labelText:n.incorrectFeedback,bankId:this.props.item.bankId}))}},{key:"activateChoice",value:function(e){this.setState({activeChoice:e})}},{key:"render",value:function(){var e=this;return g.default.createElement("div",null,g.default.createElement(w.default,(0,i.default)({},this.props,{activateChoice:function(t){return e.activateChoice(t)},activeChoice:this.state.activeChoice})),g.default.createElement(x.default,{save:this.props.save}),g.default.createElement("div",{className:"au-c-question__feedback"},this.getFeedback()))}}]),t}(g.default.Component);t.default=(0,T.default)(k)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e){return{loadingMedia:e.media.loading,images:e.media.image}}Object.defineProperty(t,"__esModule",{value:!0}),t.AddImage=void 0;var a=n(9),s=o(a),u=n(3),l=o(u),c=n(5),d=o(c),f=n(8),p=o(f),h=n(6),m=o(h),v=n(1),g=o(v),y=n(43),b=n(331),_=r(b),w=n(495),C=o(w),x=n(28),E=o(x),T=g.default.createElement("i",{className:"material-icons"},"find_in_page"),k=t.AddImage=function(e){function t(){(0,l.default)(this,t);var e=(0,p.default)(this,(t.__proto__||(0,s.default)(t)).call(this));return e.state={mediaGuid:null,modal:!1},e}return(0,m.default)(t,e),(0,d.default)(t,[{key:"getImageFile",value:function(){var e=this;return g.default.createElement("div",null,g.default.createElement("input",{onChange:function(t){return e.uploadMedia(t.target.files[0])},id:"newImageId-"+this.props.item.id,type:"file"}),g.default.createElement("label",{htmlFor:"newImageId-"+this.props.item.id},T))}},{key:"uploadMedia",value:function(e,t,n){this.setState({modal:!1}),this.props.addMediaToQuestion(e,this.props.item.bankId,this.props.item.id,"question.choices.new",t,n)}},{key:"render",value:function(){var e=this,t=this.props.localizeStrings("addImage");return g.default.createElement("div",{className:"au-c-image-sequence-answer-add"},g.default.createElement("button",{className:"au-c-image-sequence-answer-add__button",onClick:function(){return e.setState({modal:!0})}},g.default.createElement(C.default,{isOpen:this.state.modal,id:this.props.item.id,closeModal:function(){return e.setState({modal:!1})},mediaType:"img",mediaName:"",media:this.props.images,loading:this.props.loadingMedia,insertMedia:function(t,n,r){return e.uploadMedia(t,n,r)},inProgress:!1,error:null}),t.addImage))}}]),t}(g.default.Component);t.default=(0,y.connect)(i,_)((0,E.default)(k))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.activateChoice,n=e.updateChoice,r=e.deleteChoice,o=e.id,i=e.order,s=e.numChoices,l=e.localizeStrings("imageOption");return a.default.createElement("div",{className:"au-c-image-sequence-answer is-active",tabIndex:"0",onClick:function(){return t(o)}},a.default.createElement("div",{className:"au-c-image-sequence-answer__top"},a.default.createElement("div",{className:"au-c-dropdown au-c-dropdown--tiny"},d,a.default.createElement("select",{name:"",id:"image_option_order",onChange:function(e){return n({id:o,order:parseInt(e.target.value,10)})},defaultValue:i},a.default.createElement("option",{key:"option_key_null",value:null},l.NA),u.default.map(u.default.range(1,s+1),function(e,t){return a.default.createElement("option",{key:"option_key_"+t,value:e},e)}))),a.default.createElement("button",{className:"au-c-answer--delete au-u-right",onClick:function(){return r(e)}},f)),a.default.createElement("div",{className:"au-c-input au-c-input-label--left"},a.default.createElement("label",{htmlFor:"label_"+o},"Label"),a.default.createElement("div",{className:"au-c-input__contain"},a.default.createElement("input",{defaultValue:e.labelText,onBlur:function(t){return e.updateChoice({labelText:t.target.value},null)},className:"au-c-text-input au-c-text-input--smaller",type:"text",id:"label_"+o}),p)),a.default.createElement("div",{className:"au-c-image-sequence-answer__image"},a.default.createElement("img",{src:e.text,alt:""})))}Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),a=r(i),s=n(4),u=r(s),l=n(28),c=r(l),d=a.default.createElement("label",{htmlFor:"image_option_order"}),f=a.default.createElement("i",{className:"material-icons"},"close"),p=a.default.createElement("div",{className:"au-c-input__bottom"});t.default=(0,c.default)(o)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.item.question.choices;return a.default.createElement("div",{className:"au-c-image-sequence__answers au-o-row"},u.default.map(t,function(n,r){return a.default.createElement("div",{key:r,className:"au-o-quarter"},a.default.createElement(c.default,{id:r,text:n.text,order:n.order,labelText:n.labelText,updateChoice:function(t,r){return e.updateChoice(e.item.id,n.id,t,r)},activateChoice:e.activateChoice,activeChoice:e.activeChoice,deleteChoice:e.deleteChoice,numChoices:u.default.size(t)}))}),a.default.createElement("div",{className:"au-o-quarter"},a.default.createElement(f.default,{item:e.item})))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i),s=n(4),u=r(s),l=n(1265),c=r(l),d=n(1264),f=r(d)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(10),i=r(o),a=n(9),s=r(a),u=n(3),l=r(u),c=n(5),d=r(c),f=n(8),p=r(f),h=n(6),m=r(h),v=n(1),g=r(v),y=n(4),b=r(y),_=n(1268),w=r(_),C=n(1215),x=r(C),E=n(160),T=r(E),k=n(28),S=r(k),M=function(e){function t(){return(0,l.default)(this,t),(0,p.default)(this,(t.__proto__||(0,s.default)(t)).apply(this,arguments))}return(0,m.default)(t,e),(0,d.default)(t,[{key:"render",value:function(){var e=this,t=this.props.item,n=t.question,r=t.id,o=this.props.localizeStrings("movableFillBlank");return g.default.createElement("div",null,g.default.createElement("div",{className:"au-c-question__answers au-c-fill-in-the-blank__answers"},g.default.createElement("div",{className:"au-no-outline",onBlur:function(t){return e.props.blurOptions(t)},tabIndex:"-1"},b.default.map(b.default.orderBy(n.choices,"order"),function(t){return g.default.createElement(w.default,(0,i.default)({key:"assessmentChoice_"+t.id},t,{updateChoice:function(n){return e.props.updateChoice(r,t.id,n)},deleteChoice:function(){return e.props.deleteChoice(t)},setActiveChoice:e.props.selectChoice,isActive:e.props.isActive&&t.id===e.props.activeChoice}))}),this.props.isActive?g.default.createElement(x.default,{createChoice:function(){return e.props.createChoice(r)}}):null)),g.default.createElement("div",{className:"au-c-question__feedback"},g.default.createElement(T.default,{updateItem:this.props.updateItem,feedbackType:"correctFeedback",feedback:n.correctFeedback,labelText:o.correctFeedback,bankId:this.props.item.bankId}),g.default.createElement(T.default,{updateItem:this.props.updateItem,feedbackType:"incorrectFeedback",feedback:n.incorrectFeedback,labelText:o.incorrectFeedback,bankId:this.props.item.bankId})))}}]),t}(g.default.Component);t.default=(0,S.default)(M)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if("new"===e.id)return a.default.createElement("div",{className:"au-c-answer "+(e.isActive?"is-active":"")},p);var t=e.isActive?"is-active":"";return a.default.createElement("div",{onFocus:function(){return e.setActiveChoice(e.id)},onClick:function(){return e.setActiveChoice(e.id)},className:"au-c-answer au-o-flex-center "+t},a.default.createElement("div",{className:"au-c-input"},a.default.createElement(c.default,{id:e.id,itemId:e.itemId,isCorrect:e.isCorrect,updateChoice:e.updateChoice}),a.default.createElement("label",{htmlFor:e.id+"_text"}),a.default.createElement("div",{className:"au-c-input__contain"},a.default.createElement("input",{className:"au-c-text-input au-c-text-input--small",id:e.id+"_text",type:"text",defaultValue:e.text,onBlur:function(t){return e.updateChoice({text:t.target.value})}}),h)),a.default.createElement(f.default,{id:e.id,wordType:e.wordType,updateChoice:e.updateChoice}),a.default.createElement("button",{className:"au-c-answer--delete",tabIndex:"0",onClick:e.deleteChoice},m))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i),s=n(318),u=r(s),l=n(1218),c=r(l),d=n(1220),f=r(d),p=a.default.createElement("div",{className:"au-c-input"},a.default.createElement(u.default,null)),h=a.default.createElement("div",{className:"au-c-input__bottom"}),m=a.default.createElement("i",{className:"material-icons"},"close")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(10),i=r(o),a=n(9),s=r(a),u=n(3),l=r(u),c=n(5),d=r(c),f=n(8),p=r(f),h=n(6),m=r(h),v=n(1),g=r(v),y=n(4),b=r(y),_=n(1270),w=r(_),C=n(1215),x=r(C),E=n(160),T=r(E),k=n(1219),S=r(k),M=n(28),O=r(M),A=function(e){function t(){return(0,l.default)(this,t),(0,p.default)(this,(t.__proto__||(0,s.default)(t)).apply(this,arguments))}return(0,m.default)(t,e),(0,d.default)(t,[{key:"render",value:function(){var e=this,t=this.props.item,n=t.question,r=t.id,o=this.props.localizeStrings("movableWordSentence");return g.default.createElement("div",null,g.default.createElement("div",{className:"au-c-question__answers au-c-movable__answers",onBlur:function(t){return e.props.blurOptions(t)},tabIndex:"-1"},b.default.map(n.choices,function(t){return g.default.createElement(w.default,(0,i.default)({key:"assessmentChoice_"+t.id},t,{updateChoice:function(n,o){return e.props.updateChoice(r,t.id,n,o)},isActive:e.props.isActive&&t.id===e.props.activeChoice,deleteChoice:function(){return e.props.deleteChoice(t)},selectChoice:function(){return e.props.selectChoice(t.id)},itemCount:b.default.size(n.choices)}))}),g.default.createElement(x.default,{createChoice:function(){return e.props.createChoice()}}),g.default.createElement(S.default,{save:this.props.save})),g.default.createElement("div",{className:"au-c-question__feedback"},g.default.createElement(T.default,{updateItem:function(t){return e.props.updateItem(t,!0)},feedbackType:"correctFeedback",feedback:n.correctFeedback,labelText:o.correctFeedback,bankId:this.props.item.bankId}),g.default.createElement(T.default,{updateItem:function(t){return e.props.updateItem(t,!0)},feedbackType:"incorrectFeedback",feedback:n.incorrectFeedback,labelText:o.incorrectFeedback,bankId:this.props.item.bankId})))}}]),t}(g.default.Component);t.default=(0,O.default)(A)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.localizeStrings("movableWordSentanceOption");return a.default.createElement("div",{onFocus:e.selectChoice,onClick:e.selectChoice,className:"au-c-answer au-o-flex-center "+(e.isActive?"is-active":"")},a.default.createElement("div",{className:"au-c-dropdown au-c-dropdown--tiny au-u-mr-sm "+(u.default.isNil(e.answerOrder)||""===e.answerOrder?"":"is-ordered")},a.default.createElement("label",{htmlFor:"option_order_"+e.id}),a.default.createElement("select",{name:"",id:"option_order_"+e.id,value:e.answerOrder,onChange:function(t){return e.updateChoice({answerOrder:t.target.value})}},a.default.createElement("option",{value:""},t.NA),u.default.map(u.default.range(0,e.itemCount),function(t){return a.default.createElement("option",{key:"movableWordOrderOption_"+e.id+"_"+t,value:t},t+1)}))),a.default.createElement("div",{className:"au-c-input"},a.default.createElement("label",{htmlFor:"option_text_"+e.id}),a.default.createElement("div",{className:"au-c-input__contain"},a.default.createElement("input",{defaultValue:e.text,onBlur:function(t){return e.updateChoice({text:t.target.value})},className:"au-c-text-input au-c-text-input--small au-c-wysiwyg",id:"option_text_"+e.id,type:"text",placeholder:t.newOption}),p)),a.default.createElement(c.default,{id:e.id,wordType:e.wordType,updateChoice:e.updateChoice}),a.default.createElement("button",{onClick:e.deleteChoice,className:"au-c-answer--delete"},h))}Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),a=r(i),s=n(4),u=r(s),l=n(1220),c=r(l),d=n(28),f=r(d),p=a.default.createElement("div",{className:"au-c-input__bottom"}),h=a.default.createElement("i",{className:"material-icons"},"close");t.default=(0,f.default)(o)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.localizeStrings("addOption");return a.default.createElement("div",{className:"au-c-answer au-o-flex-center au-c-answer--add",tabIndex:"0",onClick:function(){return e.updateChoice()}},a.default.createElement("div",{className:"au-c-input"},l,a.default.createElement("div",{className:"au-c-input__contain"},a.default.createElement("input",{className:"au-c-text-input au-c-text-input--small au-c-wysiwyg au-c-option",id:"option2",type:"text",defaultValue:t.addOption}),c)))}Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),a=r(i),s=n(28),u=r(s),l=a.default.createElement("label",{htmlFor:"option2"}),c=a.default.createElement("div",{className:"au-c-input__bottom no-border"});t.default=(0,u.default)(o)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),l=r(u),c=n(8),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),v=n(4),g=r(v),y=n(1216),b=r(y),_=n(1273),w=r(_),C=n(1271),x=r(C),E=n(160),T=r(E),k=n(28),S=r(k),M=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,l.default)(t,[{key:"getChoices",value:function(e){var t=this,n=this.props.item.id;return g.default.map(e,function(e,r){return m.default.createElement(w.default,{key:e.id,choice:e,index:r,selectChoice:function(){return t.props.selectChoice(e.id)},updateChoice:function(r,o){return t.props.updateChoice(n,e.id,r,o)},deleteChoice:function(){return t.props.deleteChoice(e)},isActive:t.props.isActive&&e.id===t.props.activeChoice})})}},{key:"handleBlur",value:function(e){this.props.updateItem({question:{timeValue:{hours:0,minutes:0,seconds:parseInt(e.target.value,10)}}})}},{key:"render",value:function(){var e=this,t=this.props.item,n=t.question,r=t.id,o=this.props.localizeStrings("mwSandbox");return m.default.createElement("div",{onBlur:function(t){return e.props.blurOptions(t)}},m.default.createElement("div",{className:"au-c-movable__audio-settings is-active"},m.default.createElement(b.default,{item:this.props.item,handleBlur:function(t){return e.handleBlur(t)}})),m.default.createElement("div",{className:"au-c-question__answers au-c-movable__answers"},this.getChoices(g.default.get(this.props.item,"question.choices",{})),m.default.createElement(x.default,{updateChoice:function(){return e.props.createChoice(r)}})),m.default.createElement("div",{className:"au-c-question__feedback"},m.default.createElement(T.default,{updateItem:this.props.updateItem,feedbackType:"correctFeedback",feedback:n.correctFeedback,labelText:o.feedback,bankId:this.props.item.bankId})))}}]),t}(m.default.Component);t.default=(0,S.default)(M)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.isActive?"is-active":"",n=e.choice.id;return"new"===n?a.default.createElement("div",{className:"au-c-answer "+t},l):a.default.createElement("div",{onFocus:e.selectChoice,onClick:e.selectChoice,className:"au-c-answer au-o-flex-center "+t},a.default.createElement("div",{className:"au-c-input"},c,a.default.createElement("div",{className:"au-c-input__contain"},a.default.createElement("input",{className:"au-c-text-input au-c-text-input--small au-c-wysiwyg",id:n,type:"text",defaultValue:e.choice.text,placeholder:"Option "+e.index,onBlur:function(t){return e.updateChoice({id:e.choice.id,text:t.target.value})}}),d)),a.default.createElement("div",{className:"au-c-dropdown au-c-dropdown--smaller au-u-ml-sm is-ordered"},f,a.default.createElement("select",{name:"",id:"word_drop_down",value:e.choice.wordType,onChange:function(t){return e.updateChoice({id:e.choice.id,wordType:t.target.value})}},p,h,m,v,g,y,b)),a.default.createElement("button",{className:"au-c-answer--delete",onClick:function(){return e.deleteChoice()}},_))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i),s=n(318),u=r(s),l=a.default.createElement("div",{className:"au-c-input"},a.default.createElement(u.default,null)),c=a.default.createElement("label",{htmlFor:"option1"}),d=a.default.createElement("div",{className:"au-c-input__bottom"}),f=a.default.createElement("label",{htmlFor:"word_drop_down"}),p=a.default.createElement("option",{value:null},"Other"),h=a.default.createElement("option",{value:"verb"},"Verb"),m=a.default.createElement("option",{value:"adverb"},"Adverb"),v=a.default.createElement("option",{value:"noun"},"Noun"),g=a.default.createElement("option",{value:"pronoun"},"Pronoun"),y=a.default.createElement("option",{value:"adjective"},"Adjective"),b=a.default.createElement("option",{value:"preposition"},"Preposition"),_=a.default.createElement("i",{className:"material-icons"},"close")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.localizeStrings("mcAddOption");return a.default.createElement("div",{className:"au-c-answer au-c-answer--add",onClick:function(){return e.createChoice()},onKeyDown:function(t){13===t.keyCode&&e.createChoice()},tabIndex:"0"},a.default.createElement("div",{className:"au-c-input"},l,c,a.default.createElement("div",{className:"au-c-input__contain"},a.default.createElement("input",{className:"au-c-text-input au-c-text-input--small au-c-wysiwyg au-c-option",id:"addOption",type:"text",placeholder:t.addOption,tabIndex:"-1"}),d)))}Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),a=r(i),s=n(28),u=r(s),l=a.default.createElement("div",{className:"au-c-radio"},a.default.createElement("input",{type:"radio",id:"radio1",name:"radio",tabIndex:"-1"}),a.default.createElement("label",{htmlFor:"radio1"})),c=a.default.createElement("label",{htmlFor:"addOption"}),d=a.default.createElement("div",{className:"au-c-input__bottom no-border"});t.default=(0,u.default)(o)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=s;e.shuffle&&(t=null);var n=a.default.createElement("button",{className:"au-c-answer__icons__spacer",tabIndex:"0",onClick:e.moveUp},u),r=a.default.createElement("button",{className:"au-c-answer__icons__spacer",tabIndex:"0",onClick:e.moveDown},l);return a.default.createElement("div",{className:"au-c-answer__icons"},e.first||e.shuffle?t:n,e.last||e.shuffle?t:r,a.default.createElement("button",{className:"au-c-answer__icons__spacer",tabIndex:"0",onClick:e.deleteChoice},c))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i),s=a.default.createElement("button",{tabIndex:"-1",className:"au-c-answer__icons__spacer inactive"}),u=a.default.createElement("i",{className:"material-icons"},"arrow_upward"),l=a.default.createElement("i",{className:"material-icons"},"arrow_downward"),c=a.default.createElement("i",{className:"material-icons"},"close")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return u.default.includes([c.default.reflection,c.default.multipleReflection],e.itemType)?null:e.itemType===c.default.multipleAnswer?a.default.createElement(h.default,{id:e.id,itemId:e.itemId,isCorrect:e.isCorrect,updateChoice:e.updateChoice}):a.default.createElement(f.default,{id:e.id,itemId:e.itemId,isCorrect:e.isCorrect,updateChoice:e.updateChoice})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i),s=n(4),u=r(s),l=n(133),c=r(l),d=n(1218),f=r(d),p=n(1217),h=r(p)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(10),i=r(o),a=n(9),s=r(a),u=n(3),l=r(u),c=n(5),d=r(c),f=n(8),p=r(f),h=n(6),m=r(h),v=n(1),g=r(v),y=n(4),b=r(y),_=n(1278),w=r(_),C=n(1274),x=r(C),E=n(160),T=r(E),k=n(133),S=r(k),M=n(28),O=r(M),A=function(e){function t(){(0,l.default)(this,t);var e=(0,p.default)(this,(t.__proto__||(0,s.default)(t)).call(this));return e.state={newChoice:!1},e}return(0,m.default)(t,e),(0,d.default)(t,[{key:"componentWillReceiveProps",value:function(e){!this.state.newChoice&&b.default.has(e,"item.question.choices.new")?this.setState({newChoice:!0}):this.state.newChoice&&this.setState({newChoice:!1})}},{key:"getFeedback",value:function(){var e=this.props.item,t=e.question,n=e.type,r=this.props.localizeStrings("multipleChoice");if(n!==S.default.multipleChoice){var o=b.default.includes([S.default.reflection,S.default.multipleReflection],n)?r.feedback:r.correctFeedback;return g.default.createElement("div",{className:"au-c-question__feedback"},g.default.createElement(T.default,{updateItem:this.props.updateItem,feedbackType:"correctFeedback",feedback:t.correctFeedback,labelText:o,bankId:this.props.item.bankId}),n===S.default.reflection||n===S.default.multipleReflection?null:g.default.createElement(T.default,{updateItem:this.props.updateItem,feedbackType:"incorrectFeedback",feedback:t.incorrectFeedback,labelText:r.incorrectFeedback,bankId:this.props.item.bankId}))}return null}},{key:"moveChoice",value:function(e,t){var n=b.default.cloneDeep(this.props.item.question.choices),r=e.order,o=t?r-1:r+1,i=b.default.find(n,{order:o});n[e.id].order=o,n[i.id].order=r,this.props.updateItem({question:{choices:n}})}},{key:"render",value:function(){var e=this,t=this.props.item,n=t.question,r=t.id,o=t.type;return g.default.createElement("div",null,g.default.createElement("div",{className:"au-c-question__answers au-c-question__answers--maintain"},g.default.createElement("div",{className:"au-no-outline",onBlur:function(t){return e.props.blurOptions(t)},tabIndex:"-1"},b.default.map(b.default.orderBy(n.choices,"order"),function(t){return g.default.createElement(w.default,(0,i.default)({key:"assessmentChoice_"+t.id},t,{itemType:o,multipleAnswer:b.default.get(n,"multipleAnswer",!1),updateChoice:function(n,o){return e.props.updateChoice(r,t.id,n,o)},updateItem:function(){return e.props.updateItem({question:n})},deleteChoice:function(){return e.props.deleteChoice(t)},shuffle:n.shuffle,moveUp:function(){return e.moveChoice(t,!0)},moveDown:function(){return e.moveChoice(t)},first:0===t.order,last:!n||t.order===b.default.size(n.choices)-1,bankId:e.props.item.bankId,itemId:e.props.item.id,questionFileIds:n.fileIds,setActiveChoice:function(t){return e.props.selectChoice(t)},isActive:e.props.isActive&&t.id===e.props.activeChoice}))}),!this.state.newChoice&&this.props.isActive?g.default.createElement(x.default,{createChoice:function(){return e.props.createChoice(r)}}):null)),g.default.createElement("div",{className:"au-c-question__feedback"},this.getFeedback()))}}]),t}(g.default.Component);t.default=(0,O.default)(A)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.localizeStrings("multipleChoiceOptions"),n=e.itemType!==u.default.multipleChoice||!(e.isActive||e.feedback);if("new"===e.id)return a.default.createElement("div",{className:"au-c-answer "+(e.isActive?"is-active":"")},w);var r=e.isActive?"is-active":"",o=e.shuffle?"is-ordered":"";return a.default.createElement("div",{onFocus:function(){return e.setActiveChoice(e.id)},onClick:function(){return e.setActiveChoice(e.id)},className:"au-c-answer "+r+" "+o},a.default.createElement("div",{className:"au-c-input"},a.default.createElement(h.default,{itemType:e.itemType,id:e.id,itemId:e.itemId,isCorrect:e.isCorrect,updateChoice:e.updateChoice}),C,a.default.createElement(c.default,{textSize:"small",isActive:e.isActive,fileIds:e.questionFileIds,placeholder:t.optionText,text:e.text,bankId:e.bankId,onBlur:function(t,n){return e.updateChoice({text:t},n)}}),a.default.createElement(v.default,{first:e.first,last:e.last,moveUp:e.moveUp,moveDown:e.moveDown,shuffle:e.shuffle,deleteChoice:e.deleteChoice})),a.default.createElement(y.default,{feedback:e.feedback,bankId:e.bankId,itemId:e.itemId,updateChoice:e.updateChoice,fileIds:e.fileIds,hidden:n}))}Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),a=r(i),s=n(133),u=r(s),l=n(494),c=r(l),d=n(318),f=r(d),p=n(1276),h=r(p),m=n(1275),v=r(m),g=n(1279),y=r(g),b=n(28),_=r(b),w=a.default.createElement("div",{className:"au-c-input"
-},a.default.createElement(f.default,null)),C=a.default.createElement("label",{htmlFor:"option1"});t.default=(0,_.default)(o)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),l=r(u),c=n(8),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),v=n(494),g=r(v),y=n(28),b=r(y),_=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e=this,t=this.props.hidden?"is-hidden":"",n=this.props.localizeStrings("optionFeedback");return m.default.createElement("div",{className:"au-c-input au-c-input-label--left au-c-feedback "+t},m.default.createElement("label",{htmlFor:"feedback1"},n.feedback),m.default.createElement(g.default,{textSize:"smaller",fileIds:this.props.fileIds,text:this.props.feedback,bankId:this.props.bankId,onBlur:function(t,n){return e.props.updateChoice({feedback:t,fileIds:n})}}))}}]),t}(m.default.Component);t.default=(0,b.default)(_)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(9),i=r(o),a=n(3),s=r(a),u=n(8),l=r(u),c=n(5),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),v=n(4),g=r(v),y=n(507),b=r(y),_=n(133),w=r(_),C=n(28),x=r(C),E={multiple_choice_question:!0,multiple_answers_question:!1,movable_words_sentence:!1,fill_the_blank_question:!0,movable_words_sandbox:!1,movable_object_chain:!1,clix_drag_and_drop:!1},T=function(e){function t(){(0,s.default)(this,t);var e=(0,l.default)(this,(t.__proto__||(0,i.default)(t)).call(this));return e.state={response:[]},e}return(0,p.default)(t,e),(0,d.default)(t,null,[{key:"convertType",value:function(e){switch(e){case w.default.multipleChoice:case w.default.reflection:return"multiple_choice_question";case w.default.multipleAnswer:case w.default.multipleReflection:return"multiple_answers_question";case w.default.shortAnswer:return"short_answer_question";case w.default.fileUpload:return"file_upload_question";case w.default.audioUpload:return"audio_upload_question";case w.default.movableWordSentence:return"movable_words_sentence";case w.default.movableFillBlank:return"fill_the_blank_question";case w.default.movableWordSandbox:return"movable_words_sandbox";case w.default.imageSequence:return"movable_object_chain";case w.default.dragAndDrop:return"clix_drag_and_drop";default:return null}}}]),(0,d.default)(t,[{key:"serializeForPlayer",value:function(e){var n=t.convertType(e.type);switch(e.type){case w.default.movableFillBlank:return{id:e.id,question_type:n,material:e.question.text,isHtml:!0,answers:g.default.map(e.question.choices,function(e){return{id:e.id,material:'<p class="'+e.wordType+'">'+e.text+"</p>"}}),question_meta:{fillTheBlankSentence:g.default.map(e.question.text.split(" "),function(e){return"[_]"===e?'<p class="interaction-placeholder"></p>':'<p class="other">'+e+"</p>"}),expectedLines:1}};case w.default.imageSequence:return{id:e.id,question_type:n,material:e.question.text,isHtml:!0,answers:g.default.map(e.question.choices,function(e){return{id:e.id,material:'<p><img src="'+e.text+'"></p>'}}),question_meta:{expectedLines:1}};case w.default.movableWordSandbox:case w.default.movableWordSentence:return{id:e.id,question_type:n,material:e.question.text,isHtml:!0,answers:g.default.map(e.question.choices,function(e){return{id:e.id,material:'<p class="'+e.wordType+'">'+e.text+"</p>"}})};case w.default.dragAndDrop:return{id:e.id,response:this.state.response,question_type:n,material:e.question.text,isHtml:!0,answers:g.default.map(e.question.dropObjects,function(e){return{id:e.id,text:'<img src="'+e.image+'">',reuse:1}}),question_meta:{targets:[{id:e.question.target.id,text:'<img src="'+e.question.target.image+'">'}],zones:g.default.map(e.question.zones,function(e){return{id:e.id,spatialUnit:{height:e.height,width:e.width,coordinateValues:[e.xPos,e.yPos]},name:e.label,dropBehaviorType:"%3A"+e.type+"%40",visible:e.visible}})}};default:return{id:e.id,question_type:n,material:e.question.text,isHtml:!0,answers:g.default.map(e.question.choices,function(e){return{id:e.id,material:e.text}}),question_meta:{expectedLines:1}}}}},{key:"selectAnswer",value:function(e){var n=E[t.convertType(this.props.item.type)],r=void 0;r=n?[]:g.default.cloneDeep(this.state.response);var o=g.default.findIndex(this.state.response,function(t){return"string"==typeof e||"number"==typeof e?e===t:g.default.isEqual(t.id,e.id)});return o>-1?n||g.default.pullAt(r,o):r.push(e),this.setState({response:r})}},{key:"render",value:function(){var e=this,t=this.serializeForPlayer(this.props.item);return m.default.createElement("div",null,m.default.createElement(b.default,{settings:{},question:t,response:this.state.response,currentItemIndex:1,questionCount:1,questionResult:{},selectAnswer:function(t){return e.selectAnswer(t)},localizedStrings:this.props.localizeStrings("previewQuestion"),sendSize:function(){},videoPlay:function(){},videoPause:function(){},audioPlay:function(){},audioPause:function(){},audioRecordStart:function(){},audioRecordStop:function(){},createChoice:function(){},deleteChoice:function(){}}))}}]),t}(m.default.Component);t.default=(0,x.default)(T)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=u.default.words(u.default.upperFirst(e.type)).join(" "),n=a.default.createElement(c.default,e);return e.reorderActive&&(n=a.default.createElement(f.default,e)),e.preview&&(n=a.default.createElement(h.default,e)),a.default.createElement("div",{className:"au-o-item__top"},a.default.createElement("div",{className:"au-o-left"},a.default.createElement("h3",{className:"au-c-question__number"},e.index+1),a.default.createElement("div",{className:"au-c-question__type"},t)),n)}Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),a=r(i),s=n(4),u=r(s),l=n(1282),c=r(l),d=n(1284),f=r(d),p=n(1283),h=r(p),m=n(28),v=r(m);t.default=(0,v.default)(o)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return a.default.createElement("div",{className:"au-o-right au-c-question-icons"},a.default.createElement("button",{className:"au-c-btn au-c-btn--square",tabIndex:"0",onClick:e.togglePreview},s),a.default.createElement("button",{className:"au-c-btn au-c-btn--square",tabIndex:"0",onClick:e.toggleReorder},u),a.default.createElement("button",{className:"au-c-btn au-c-btn--square",tabIndex:"0",onClick:function(){return e.deleteAssessmentItem(e.id)}},l))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i),s=a.default.createElement("i",{className:"material-icons"},"remove_red_eye"),u=a.default.createElement("i",{className:"material-icons"},"swap_vert"),l=a.default.createElement("i",{className:"material-icons"},"delete")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.localizeStrings("previewHeader");return a.default.createElement("div",{className:"au-o-right au-c-question-icons au-c-question-icons--reorder"},a.default.createElement("button",{onClick:e.togglePreview,className:"au-c-btn au-c-btn--sm au-c-btn--white"},t.closePreview))}Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),a=r(i),s=n(28),u=r(s);t.default=(0,u.default)(o)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),l=r(u),c=n(8),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),v=n(28),g=r(v),y=m.default.createElement("i",{className:"material-icons"},"arrow_upward"),b=m.default.createElement("i",{className:"material-icons"},"arrow_downward"),_=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,l.default)(t,[{key:"componentDidMount",value:function(){this.header.scrollIntoView()}},{key:"render",value:function(){var e=this,t=this.props.topItem?"is-hidden":"",n=this.props.bottomItem?"is-hidden":"",r=this.props.localizeStrings("reorderHeader");return m.default.createElement("div",{ref:function(t){return e.header=t},className:"au-o-right au-c-question-icons au-c-question-icons--reorder"},m.default.createElement("button",{className:"au-c-btn au-c-btn--square "+t,onClick:!this.props.topItem&&this.props.moveUp},y),m.default.createElement("button",{className:"au-c-btn au-c-btn--square "+n,onClick:!this.props.bottomItem&&this.props.moveDown},b),m.default.createElement("button",{onClick:this.props.toggleReorder,className:"au-c-btn au-c-btn--sm au-c-btn--white"},r.done))}}]),t}(m.default.Component);t.default=(0,g.default)(_)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.localizeStrings("questionSettings"),n=[c.default.multipleChoice,c.default.reflection,c.default.multipleReflection,c.default.multipleAnswer];return a.default.createElement("div",{className:"au-c-question-settings"},a.default.createElement("div",{className:"au-o-left"},a.default.createElement("div",{className:"au-c-input au-c-input-label--left"},a.default.createElement("label",{htmlFor:"question_name_"+e.id},t.name),a.default.createElement("div",{className:"au-c-input__contain"},a.default.createElement("input",{className:"au-c-text-input au-c-text-input--smaller",id:"question_name_"+e.id,type:"text",tabIndex:"0",defaultValue:e.defaultName,onBlur:function(t){return e.updateItem({name:t.target.value})}}),g)),a.default.createElement(f.default,{language:e.language,updateItem:e.updateItem})),u.default.includes(n,e.type)?a.default.createElement(h.default,e):null)}Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),a=r(i),s=n(4),u=r(s),l=n(133),c=r(l),d=n(1223),f=r(d),p=n(1286),h=r(p),m=n(28),v=r(m),g=a.default.createElement("div",{className:"au-c-input__bottom"});t.default=(0,v.default)(o)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.localizeStrings("settingsCheckbox");return a.default.createElement("div",{className:"au-o-right"},a.default.createElement("div",{className:"au-c-checkbox au-u-ml-md"},a.default.createElement("input",{type:"checkbox",id:"check02_"+e.id,name:"check",tabIndex:"0",onChange:function(t){return e.updateItem({question:{shuffle:!t.target.checked}})},checked:!e.shuffle}),a.default.createElement("label",{htmlFor:"check02_"+e.id},t.maintainChoiceOrder)),a.default.createElement("div",{className:"au-c-checkbox au-u-ml-md"},a.default.createElement("input",{type:"checkbox",id:"check03_"+e.id,name:"check",tabIndex:"0",onChange:function(){return e.makeMultipleAnswer()},checked:e.multipleAnswer?"checked":null}),a.default.createElement("label",{htmlFor:"check03_"+e.id},t.multipleAnswer)),a.default.createElement("div",{className:"au-c-checkbox au-u-ml-md"},a.default.createElement("input",{type:"checkbox",id:"check04_"+e.id,name:"check",tabIndex:"0",onChange:function(t){return e.makeReflection(t.target.checked)},checked:e.reflection?"checked":null}),a.default.createElement("label",{htmlFor:"check04_"+e.id},t.reflection)))}Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),a=r(i),s=n(28),u=r(s);t.default=(0,u.default)(o)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),l=r(u),c=n(8),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),v=n(494),g=r(v),y=n(133),b=r(y),_=n(28),w=r(_),C=m.default.createElement("div",{className:"au-c-input__bottom"}),x=function(e){function t(e){(0,s.default)(this,t);var n=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.state={text:n.props.text},n}return(0,p.default)(t,e),(0,l.default)(t,[{key:"componentWillReceiveProps",value:function(e){e.text!==this.props.text&&this.setState({text:e.text})}},{key:"render",value:function(){var e=this,t=this.props.localizeStrings("questionText");switch(this.props.itemType){case b.default.movableFillBlank:return m.default.createElement("div",null,m.default.createElement("div",{className:"au-c-movable__answers__label"},t.instructions),m.default.createElement("div",{className:"au-c-input au-c-fill-in-the-blank-text"},m.default.createElement("label",{htmlFor:"fillBlankText_"+this.props.itemId}),m.default.createElement("div",{className:"au-c-input__contain"},m.default.createElement("input",{className:"au-c-text-input au-c-text-input--medium au-c-wysiwyg",type:"text",placeholder:t.fitbPlaceholder,onBlur:function(t){return e.props.updateItem({question:{text:t.target.value}})},onChange:function(t){return e.setState({text:t.target.value})},value:this.state.text,id:"fillBlankText_"+this.props.itemId}),C)));default:return m.default.createElement("div",{className:"au-c-input au-c-question__text"},m.default.createElement("label",{htmlFor:"question_text_"+this.props.itemId}),m.default.createElement(g.default,{textSize:"medium",fileIds:this.props.fileIds,text:this.state.text,placeholder:t.otherPlaceholder,editorKey:this.props.editorKey,onBlur:function(t,n){return e.props.updateItem({question:{text:t,fileIds:n}})},bankId:this.props.bankId}))}}}]),t}(m.default.Component);t.default=(0,w.default)(x)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return f.default.findKey(g,function(n){return e===n.expectedLines&&t===n.expectedLength})||"large"}function i(e,t){t({question:(0,u.default)({},g[e.target.value])})}function a(e){var t=e.item.question,n=t&&t.expectedLines,r=t&&t.expectedLength,a=o(n,r),s=e.localizeStrings("shortAnswer");return c.default.createElement("div",null,c.default.createElement("div",{className:"au-c-question__answers au-c-short-answer__answers"},c.default.createElement("div",{className:"au-c-dropdown au-c-dropdown--medium au-c-input-label--top"},c.default.createElement("label",{htmlFor:"short-answer-size"},s.answerBox),c.default.createElement("select",{value:a,onChange:function(t){return i(t,e.updateItem)},id:"short-answer-size"},c.default.createElement("option",{value:"small"},s.small),c.default.createElement("option",{value:"medium"},s.medium),c.default.createElement("option",{value:"large"},s.large))),c.default.createElement("div",{className:"au-c-short-answer__example is-"+a},c.default.createElement("span",null,s[a]," ",s.box))),c.default.createElement("div",{className:"au-c-question__feedback"},c.default.createElement(h.default,{feedbackType:"correctFeedback",feedback:t.correctFeedback,updateItem:e.updateItem,labelText:s.feedback,bankId:e.item.bankId})))}Object.defineProperty(t,"__esModule",{value:!0});var s=n(10),u=r(s),l=n(1),c=r(l),d=n(4),f=r(d),p=n(160),h=r(p),m=n(28),v=r(m),g={small:{expectedLines:1,expectedLength:50,maxStrings:1},medium:{expectedLines:1,expectedLength:200,maxStrings:1},large:{expectedLines:5,expectedLength:200,maxStrings:1}};t.default=(0,v.default)(a)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e){return{path:j.path(e),currentBankId:j.currentBankId(e),banks:j.banks(e),settings:B.settings(e),assessments:j.bankAssessments(e),banksLoaded:j.banksLoaded(e)}}Object.defineProperty(t,"__esModule",{value:!0}),t.BankNavigator=void 0;var a=n(10),s=o(a),u=n(101),l=o(u),c=n(9),d=o(c),f=n(3),p=o(f),h=n(5),m=o(h),v=n(8),g=o(v),y=n(6),b=o(y),_=n(1),w=o(_),C=n(4),x=o(C),E=n(43),T=n(332),k=r(T),S=n(319),M=r(S),O=n(333),A=r(O),N=n(493),I=o(N),P=n(1293),D=o(P),R=n(1342),j=r(R),L=n(1228),B=r(L),F=t.BankNavigator=function(e){function t(){(0,p.default)(this,t);var e=(0,g.default)(this,(t.__proto__||(0,d.default)(t)).call(this));return e.state={sortName:null,sortPublished:null},e}return(0,b.default)(t,e),(0,m.default)(t,[{key:"getBankChildren",value:function(e){var t=x.default.find(this.props.banks,function(t){return t.id===e});t&&this.props.updatePath(e,t),this.props.getAssessments(e),this.props.getItems(e)}},{key:"getEmbedCode",value:function(e){var t=e.assessmentOffered?e.assessmentOffered[0]:"";x.default.isEmpty(t)&&this.props.getAssessmentOffered(e.bankId,e.id)}},{key:"sortBy",value:function(e){var t=this.state[e];t?"asc"===t?this.setState((0,l.default)({},e,"desc")):this.setState((0,l.default)({},e,null)):this.setState((0,l.default)({},e,"asc"))}},{key:"sortBanks",value:function(){var e=this,t=this.state,n=t.sortName,r=t.sortPublished;if(!n&&!r)return this.props.banks;var o=this.props.banks;return n&&(o=x.default.orderBy(o,function(e){return x.default.lowerCase(e.displayName.text)},n)),r&&(o=x.default.orderBy(o,function(t){return x.default.includes(t.assignedBankIds,e.props.settings.publishedBankId)},r)),o}},{key:"deleteAssessment",value:function(e,t){this.props.deleteAssessment(e,t)}},{key:"render",value:function(){var e=this,t=this.props,n=t.createAssessment,r=t.currentBankId,o=t.updatePath,i=t.settings;return w.default.createElement("div",null,w.default.createElement(I.default,{view:"banks",path:this.props.path,createAssessment:n,currentBankId:r,updatePath:o,getBankChildren:function(t){return e.getBankChildren(t)}}),w.default.createElement(D.default,{assessments:this.props.assessments,baseEmbedUrl:i.baseEmbedUrl,banks:this.sortBanks(),banksLoaded:this.props.banksLoaded,getEmbedCode:function(t,n){e.getEmbedCode(t,n)},publishedBankId:i.publishedBankId,getBankChildren:function(t){return e.getBankChildren(t)},sortBy:function(t){return e.sortBy(t)},sortName:this.state.sortName,sortPublished:this.state.sortPublished,deleteAssessment:function(t,n){return e.deleteAssessment(t,n)},togglePublishAssessment:function(t){return e.props.togglePublishAssessment(t)}}))}}]),t}(w.default.Component);t.default=(0,E.connect)(i,(0,s.default)({},k,M,A))(F)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(10),i=r(o),a=n(9),s=r(a),u=n(3),l=r(u),c=n(5),d=r(c),f=n(8),p=r(f),h=n(6),m=r(h),v=n(1),g=r(v),y=n(4),b=r(y),_=n(204),w=r(_),C=n(1221),x=r(C),E=n(1300),T=r(E),k=n(1298),S=r(k),M=n(1297),O=r(M),A=n(1296),N=r(A),I=n(1299),P=r(I),D=n(318),R=r(D),j=g.default.createElement("td",{className:"au-deleting-assessment"},g.default.createElement(R.default,null)),L=g.default.createElement("td",null,g.default.createElement("i",{className:"material-icons"},"description")),B=function(e){function t(){(0,l.default)(this,t);var e=(0,p.default)(this,(t.__proto__||(0,s.default)(t)).call(this));return e.state={deleting:!1},e}return(0,m.default)(t,e),(0,d.default)(t,[{key:"deleteAssessment",value:function(){var e;this.setState({deleting:!0}),(e=this.props).deleteAssessment.apply(e,arguments)}},{key:"selectItem",value:function(){var e=this.props.assessment;return e.isPublished?void w.default.push("banks/"+e.bankId+"/assessments/"+e.id+"/preview"):void w.default.push("banks/"+e.bankId+"/assessments/"+e.id)}},{key:"render",value:function(){var e=this,t=this.props,n=t.assessment,r=t.togglePublishAssessment,o=b.default.get(n,"displayName.text");return this.state.deleting?g.default.createElement(x.default,(0,i.default)({},this.props,{selectItem:function(){},onFocus:function(){}}),j):g.default.createElement(x.default,(0,i.default)({},this.props,{bank:this.props.assessment,selectItem:function(){return e.selectItem()},onFocus:this.props.onFocus}),L,g.default.createElement("td",null,o),g.default.createElement("td",null,g.default.createElement(T.default,{assessment:n,togglePublishAssessment:r,onFocus:this.props.onFocus})),g.default.createElement("td",null,g.default.createElement("div",{className:"au-c-table__icons"},g.default.createElement(S.default,this.props),g.default.createElement(O.default,this.props),g.default.createElement(P.default,this.props),g.default.createElement(N.default,(0,i.default)({},this.props,{deleteAssessment:function(){return e.deleteAssessment.apply(e,arguments)}})))))}}]),t}(g.default.Component);t.default=B},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.bank,n=c.default.get(t,"displayName.text");return u.default.createElement(f.default,(0,a.default)({},e,{selectItem:function(){return e.getBankChildren(t.id)},onFocus:e.onFocus}),p,u.default.createElement("td",null,n),h,m)}Object.defineProperty(t,"__esModule",{value:!0});var i=n(10),a=r(i);t.default=o;var s=n(1),u=r(s),l=n(4),c=r(l),d=n(1221),f=r(d),p=u.default.createElement("td",null,u.default.createElement("i",{className:"material-icons"},"folder")),h=u.default.createElement("td",null),m=u.default.createElement("td",null)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){switch(e.type){case"Bank":case"OsidNode":return s;case"Assessment":return u;case"Publish":return l;case"Published":return c;default:return null}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i),s=a.default.createElement("i",{className:"material-icons"},"folder"),u=a.default.createElement("i",{className:"material-icons"},"description"),l=a.default.createElement("i",{className:"material-icons"},"cloud_upload"),c=a.default.createElement("i",{className:"material-icons is-published"},"cloud_done")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),l=r(u),c=n(8),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),v=n(4),g=r(v),y=n(1294),b=r(y),_=n(1304),w=r(_),C=n(1290),x=r(C),E=n(1291),T=r(E),k=n(1301),S=r(k),M=m.default.createElement(w.default,null),O=m.default.createElement(S.default,null),A=function(e){function t(){(0,s.default)(this,t);var e=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this));return e.state={focusedItem:null},e}return(0,p.default)(t,e),(0,l.default)(t,[{key:"content",value:function(){var e=this,t=g.default.isEmpty(this.props.banks)&&g.default.isEmpty(this.props.assessments);return this.props.banksLoaded?t?O:m.default.createElement("table",{className:"au-c-table"},m.default.createElement("tbody",null,g.default.map(this.props.banks,function(t){return m.default.createElement(T.default,{key:"bank_"+t.id,bank:t,getBankChildren:e.props.getBankChildren,focused:e.state.focusedItem===t.id,onFocus:function(n){return e.focusItem(n,t.id)}})}),g.default.map(this.props.assessments,function(t){return m.default.createElement(x.default,{baseEmbedUrl:e.props.baseEmbedUrl,getEmbedCode:e.props.getEmbedCode,key:"bank_"+t.id,bank:t,assessment:t,publishedBankId:e.props.publishedBankId,getBankChildren:e.props.getBankChildren,deleteAssessment:e.props.deleteAssessment,togglePublishAssessment:e.props.togglePublishAssessment,focused:e.state.focusedItem===t.id,onFocus:function(n){return e.focusItem(n,t.id)}})}))):M}},{key:"focusItem",value:function(e,t){e?this.setState({focusedItem:t}):this.setState({focusedItem:null})}},{key:"render",value:function(){return m.default.createElement("div",{className:"au-o-contain"},m.default.createElement("div",{className:"au-o-item"},m.default.createElement(b.default,{sortBy:this.props.sortBy,sortName:this.props.sortName,sortPublished:this.props.sortPublished}),m.default.createElement("div",{className:"au-c-scrollable"},this.content())))}}]),t}(m.default.Component);t.default=A},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.localizeStrings("bankListHeader");return a.default.createElement("table",{className:"au-c-table"},a.default.createElement("thead",null,a.default.createElement("tr",null,l,a.default.createElement("th",null,a.default.createElement("button",{className:e.sortName?"au-c-table__filter is-active":"au-c-table__filter",onClick:function(){return e.sortBy("sortName")}},t.name,a.default.createElement("i",{className:"desc"===e.sortName?"material-icons top is-active":"material-icons top"},"keyboard_arrow_up"),a.default.createElement("i",{className:"asc"===e.sortName?"material-icons bottom is-active":"material-icons bottom"},"keyboard_arrow_down"))),a.default.createElement("th",null,a.default.createElement("button",{className:e.sortPublished?"au-c-table__filter is-active":"au-c-table__filter",onClick:function(){return e.sortBy("sortPublished")}},t.published,a.default.createElement("i",{className:"desc"===e.sortPublished?"material-icons top is-active":"material-icons top"},"keyboard_arrow_up"),a.default.createElement("i",{className:"asc"===e.sortPublished?"material-icons bottom is-active":"material-icons bottom"},"keyboard_arrow_down"))),c)))}Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),a=r(i),s=n(28),u=r(s),l=a.default.createElement("th",null),c=a.default.createElement("th",null);t.default=(0,u.default)(o)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.name,n=e.id,r=function(){e.updatePath(n,t,-1),e.getBankChildren(n)};return a.default.createElement("span",{className:"au-o-flex-center"},s,a.default.createElement("button",{className:e.current?"au-c-btn au-c-btn--breadcrumb is-active":"au-c-btn au-c-btn--breadcrumb",onClick:function(){return r()}},t))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i),s=a.default.createElement("span",{className:"au-c-breadcrumb__divider"},"/")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.deleteAssessment,n=e.assessment,r=e.onFocus,o=n.isPublished;return a.default.createElement("button",{className:"au-c-btn au-c-btn--square au-c-btn--table "+(o?"is-inactive":""),onClick:function(e){e.stopPropagation(),t(n.bankId,n.id)},onFocus:r},s)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i),s=a.default.createElement("i",{className:"material-icons"},"delete")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.assessment.isPublished;return a.default.createElement("button",{className:"au-c-btn au-c-btn--square au-c-btn--table "+(t?"is-inactive":""),onFocus:e.onFocus},s)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i),s=a.default.createElement("i",{className:"material-icons"},"edit")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.assessment,n=e.baseEmbedUrl,r=e.getEmbedCode,o=t.isPublished,i=u.default.get(t,"assessmentOffered[0]");if(o){if(i){var s=n+"&bank="+i.bankId+"&assessment_offered_id="+i.id+"#/assessment";return a.default.createElement("div",{className:"au-c-embed-contain"},a.default.createElement("label",{className:"au-c-input--purple",htmlFor:"embedInput"},a.default.createElement("input",{id:"embedInput",onClick:function(e){return e.stopPropagation()},className:"au-c-text-input au-c-text-input--smaller",readOnly:!0,type:"text",value:'<iframe src="'+s+'"/>'})),a.default.createElement(c.default,{text:'<iframe src="'+s+'"/>'},a.default.createElement("button",{className:"au-c-btn au-c-btn--square au-c-btn--embed ",onClick:function(e){return e.stopPropagation()},onFocus:e.onFocus},d)))}return a.default.createElement("button",{className:"au-c-btn au-c-btn--sm au-c-btn--table",onClick:function(e){e.stopPropagation(),r(t)},onFocus:e.onFocus},"embed code")}return null}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i),s=n(4),u=r(s),l=n(1423),c=r(l),d=a.default.createElement("i",{className:"material-icons"},"content_paste")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.assessment.isPublished;return a.default.createElement("button",{className:"au-c-btn au-c-btn--square au-c-btn--table "+(t?"":"is-inactive"),onClick:function(t){t.stopPropagation(),window.open(window.location.href+"banks/"+e.assessment.bankId+"/assessments/"+e.assessment.id+"/preview")},onFocus:e.onFocus},s)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i),s=a.default.createElement("i",{className:"material-icons"},"remove_red_eye")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.togglePublishAssessment,n=e.assessment,r=n.isPublished,o=r?s:u;return a.default.createElement("button",{className:"au-c-btn au-c-btn--square au-c-publish "+(r?"is-published":""),onClick:function(e){e.stopPropagation(),t(n)},onFocus:e.onFocus},o)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i),s=a.default.createElement("i",{className:"material-icons is-published"},"cloud_done"),u=a.default.createElement("i",{className:"material-icons"},"cloud_upload")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){return s}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i),s=a.default.createElement("table",{className:"au-c-table is-empty"},a.default.createElement("tbody",null,a.default.createElement("tr",null,a.default.createElement("td",null,a.default.createElement("div",null,"Add a new assessment to get started.")))))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.localizeStrings("navigationBarContent"),n=e.currentBankId?u.default.createElement("button",{className:"au-c-btn au-c-btn--sm au-c-btn--maroon au-c-btn--new u-ml-md",onClick:function(){return f.default.push("banks/"+e.currentBankId+"/new_assessment")}},t.new):null;return u.default.createElement("div",{className:"au-c-header-bottom"},u.default.createElement("div",{className:"au-c-header-bottom__left"},u.default.createElement("button",{onClick:function(){return e.updatePath(null)},className:e.currentBankId?"au-c-btn au-c-btn--breadcrumb":"au-c-btn au-c-btn--breadcrumb is-active"},g,t.assessment),c.default.map(e.path,function(t){return u.default.createElement(h.default,(0,a.default)({key:"folder_"+t.id},t,{current:e.currentBankId===t.id,updatePath:e.updatePath,getBankChildren:e.getBankChildren}))})),u.default.createElement("div",{className:"au-c-header-bottom__right"},n))}Object.defineProperty(t,"__esModule",{value:!0});var i=n(10),a=r(i),s=n(1),u=r(s),l=n(4),c=r(l),d=n(204),f=r(d),p=n(1295),h=r(p),m=n(28),v=r(m),g=u.default.createElement("i",{className:"material-icons"},"home");t.default=(0,v.default)(o)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=r(o),a=i.default.createElement("div",null,i.default.createElement("h1",null,"Page Not Found"),i.default.createElement("p",null,"Sorry, but the page you were trying to view does not exist."));t.default=function(){return a}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return a.default.createElement("div",{className:"spinner"},e.children)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),l=r(u),c=n(8),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),v=n(1437),g=r(v);n(1480),n(1479),n(1470),n(1477),n(1474),n(1472),n(1476),n(1473),n(1471),n(1475),n(1478);var y=n(156),b=r(y),_=function(e){function t(){(0,s.default)(this,t);var e=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this));return e.id=(0,b.default)(),e}return(0,p.default)(t,e),(0,l.default)(t,[{key:"shouldComponentUpdate",value:function(e){return e.editorKey!==this.props.editorKey}},{key:"tinyMCEConfig",value:function(){var e=this;return{fixed_toolbar_container:"#"+this.id,skin:!1,menubar:!1,statusbar:!1,plugins:"autolink link lists paste code charmap media image table",toolbar:"bold italic removeformat | bullist numlist  blockquote table | code charmap subscript superscript | insert_image audio video",inline:!0,paste_data_images:!0,browser_spellcheck:!0,setup:function(t){t.addButton("insert_image",{
-text:"",icon:"image",tooltip:"Insert Image",onclick:function(){e.props.openModal(t,"img")}}),t.addButton("audio",{text:"",icon:"audio",tooltip:"Insert Audio",onclick:function(){e.props.openModal(t,"audio")}}),t.addButton("video",{text:"",icon:"video",tooltip:"Insert Video",onclick:function(){e.props.openModal(t,"video")}})}}}},{key:"render",value:function(){var e=this;return m.default.createElement("div",null,m.default.createElement("label",{htmlFor:this.id+"-tinymce"}),m.default.createElement("div",{id:this.id}),m.default.createElement(g.default,{id:this.id+"-tinymce",content:this.props.text,config:this.tinyMCEConfig(),onBlur:function(t){e.props.onBlur(t.target.getContent(),t.target.isDirty())},onFocus:this.props.onFocus}))}}]),t}(m.default.Component);t.default=_},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return a.default.createElement("div",{className:"au-c-modal-media__results"},a.default.createElement("table",null,a.default.createElement("tbody",null,u.default.map(e.media,function(t){return a.default.createElement("tr",{key:"media_item_"+t.id,className:e.selectedMediaId===t.id?"is-active":"",onClick:function(){return e.selectMedia(t)}},a.default.createElement("td",null,a.default.createElement("div",{className:"au-c-modal-media__thumbnail"},d[t.type]||a.default.createElement("img",{src:t.url,alt:t.altText.text}))),a.default.createElement("td",null,t.description.text),a.default.createElement("td",null,t.license.text))}))))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i),s=n(4),u=r(s),l=n(532),c=r(l),d={video:a.default.createElement("img",{alt:"placeholder",src:(0,c.default)("./_author/images/video-thumbnail.png")}),audio:a.default.createElement("img",{alt:"placeholder",src:(0,c.default)("./_author/images/audio-thumbnail.png")})}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(3),s=r(a),u=n(8),l=r(u),c=n(5),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),v=n(1217),g=r(v),y=n(1309),b=r(y),_=n(1308),w=r(_),C=m.default.createElement("label",{htmlFor:"meta_upload_desc"},"Description"),x=m.default.createElement("div",{className:"au-c-input__bottom"}),E=function(e){function t(){(0,s.default)(this,t);var e=(0,l.default)(this,(t.__proto__||(0,i.default)(t)).call(this));return e.textArea=null,e.state={baseScrollHeight:null},e}return(0,p.default)(t,e),(0,d.default)(t,null,[{key:"labelName",value:function(e){switch(e){case"altText":return"Alt Text";case"license":return"License";case"copyright":return"Copyright";case"vttFile":return"vtt File";case"transcript":return"Transcript";default:return""}}}]),(0,d.default)(t,[{key:"areaResize",value:function(){var e=1;this.textArea.rows=e;var t=this.textArea.scrollHeight;this.state.baseScrollHeight||this.setState({baseScrollHeight:t});var n=Math.ceil((t-(this.state.baseScrollHeight||t))/17);this.textArea.rows=n+e}},{key:"autoPlayOption",value:function(e){var t=this;return m.default.createElement(g.default,{id:"uniqueId",itemId:"uniqueItemId",isCorrect:e.autoPlay,updateChoice:function(e){return t.props.updateMetadata("autoPlay",e.isCorrect)}})}},{key:"render",value:function(){var e=this;return m.default.createElement("div",null,m.default.createElement("div",{className:"au-c-input au-c-input-label--left"},C,m.default.createElement("div",{className:"au-c-input__contain"},m.default.createElement("textarea",{value:this.props.metaData.description||"",ref:function(t){e.textArea=t},className:"au-c-textarea au-c-text-input--smaller",id:"meta_upload_desc",type:"text",tabIndex:"0",onChange:function(t){e.areaResize(),e.props.updateMetadata("description",t.target.value)},rows:"1"}),x)),m.default.createElement(w.default,{selectedLanguage:this.props.selectedLanguage,updateMetadata:this.props.updateMetadata,metadataTypes:this.props.metadataTypes,labelName:t.labelName,metaData:this.props.metaData}),"img"!==this.props.mediaType&&"639-2%3AENG%40ISO"===this.props.selectedLanguage?m.default.createElement("div",null,"Auto-play ",this.autoPlayOption(this.props.metaData)):null,m.default.createElement(b.default,{metadataFileTypes:this.props.metadataFileTypes,updateMetadata:this.props.updateMetadata,labelName:t.labelName,metaData:this.props.metaData}))}}]),t}(m.default.Component);t.default=E},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return a.default.createElement("div",null,u.default.map(e.metadataTypes,function(t){return e.selectedLanguage===c.default.languageTypeId.english?a.default.createElement("div",{className:"au-c-input au-c-input-label--left",key:"metadata_input_"+t},a.default.createElement("label",{htmlFor:"meta_upload_"+t},e.labelName(t)),a.default.createElement("div",{className:"au-c-input__contain"},a.default.createElement("input",{value:e.metaData[t]||"",className:"au-c-text-input au-c-text-input--smaller",id:"meta_upload_"+t,type:"text",tabIndex:"0",onChange:function(n){return e.updateMetadata(t,n.target.value)}}),d)):null}))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i),s=n(4),u=r(s),l=n(216),c=r(l),d=a.default.createElement("div",{className:"au-c-input__bottom"})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return a.default.createElement("div",null,u.default.map(e.metadataFileTypes,function(t){return a.default.createElement("div",{className:"au-c-input au-c-input-label--left",key:"metadata_input_"+t},a.default.createElement("label",{htmlFor:"meta_upload_"+t},e.labelName(t)),a.default.createElement("div",{className:"au-c-input__contain"},a.default.createElement("input",{className:"",id:"meta_upload_"+t,type:"file",tabIndex:"0",onChange:function(n){return e.updateMetadata(t,n.target.files[0])}}),l))}))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i),s=n(4),u=r(s),l=a.default.createElement("div",{className:"au-c-input__bottom"})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),l=r(u),c=n(8),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),v=n(4),g=r(v),y=n(1433),b=r(y),_=n(1306),w=r(_),C=n(318),x=r(C),E=8,T=m.default.createElement("label",{htmlFor:"name2"}),k=m.default.createElement("i",{className:"material-icons"},"search"),S=m.default.createElement(x.default,null),M=m.default.createElement("i",{className:"material-icons"},"keyboard_arrow_left"),O=m.default.createElement("i",{className:"material-icons"},"keyboard_arrow_right"),A=m.default.createElement("span",null,"..."),N=function(e){function t(){(0,s.default)(this,t);var e=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this));return e.state={searchText:"",offset:0},e}return(0,p.default)(t,e),(0,l.default)(t,[{key:"paginateMedia",value:function(e){return g.default.slice(g.default.toArray(e),this.state.offset,this.state.offset+E)}},{key:"searchMedia",value:function(){var e=this.state.searchText;return e?g.default.filter(this.props.media,function(t){return g.default.includes(t.description.text,e)||g.default.includes(t.altText.text,e)||g.default.includes(t.license.text,e)}):this.props.media}},{key:"handlePageClick",value:function(e){var t=e.selected,n=Math.ceil(t*E);this.setState({offset:n})}},{key:"render",value:function(){var e=this,t=this.searchMedia(this.props.media);return m.default.createElement("div",{className:"au-c-wysiwyg-modal__media"},m.default.createElement("div",{className:"au-c-modal-media__search"},m.default.createElement("div",{className:"au-c-input au-c-input--search"},T,m.default.createElement("div",{className:"au-c-input__contain"},k,m.default.createElement("input",{value:this.state.searchText,onChange:function(t){return e.setState({searchText:t.target.value})},className:"au-c-text-input au-c-text-input--small",id:"name2",type:"text",placeholder:"Search..."})))),this.props.loading?S:m.default.createElement(w.default,{media:this.paginateMedia(t),selectMedia:function(t){return e.props.selectMedia(t)},activeItem:this.state.activeItem,selectedMediaId:this.props.selectedMediaId}),m.default.createElement(b.default,{previousLabel:M,nextLabel:O,breakLabel:A,pageCount:g.default.size(t)/8,marginPagesDisplayed:1,pageRangeDisplayed:5,onPageChange:function(t){return e.handlePageClick(t)},containerClassName:"au-c-modal-media__pagination",pageClassName:"au-c-modal-media__pagination-pages",breakClassName:"au-c-modal-media__pagination-break",activeClassName:"is-active",previousClassName:"au-c-modal-media__pagination-previous "+(this.props.loading?"inactive":""),nextClassName:"au-c-modal-media__pagination-next "+(this.props.loading?"inactive":""),pageLinkClassName:"au-c-modal-media__pagination-page"}))}}]),t}(m.default.Component);t.default=N},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){var e=function(){f.default.push("/")};return a.default.createElement(u.default,null,a.default.createElement("div",{className:"au-c-header-bottom"},a.default.createElement("div",{className:"au-c-header-bottom__left"},a.default.createElement(c.default,{handleClick:e}))))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1),a=r(i),s=n(493),u=r(s),l=n(1222),c=r(l),d=n(204),f=r(d)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n=encodeURIComponent(t.params.bankId),r=encodeURIComponent(t.params.id),o=w.default.get(e.assessments,[n,r]);return{assessment:(0,T.transformAssessment)(o),settings:e.settings,previewItems:e.preview,parsedParams:{bankId:n,assessmentId:r}}}Object.defineProperty(t,"__esModule",{value:!0}),t.PreviewAssessment=void 0;var a=n(10),s=o(a),u=n(9),l=o(u),c=n(3),d=o(c),f=n(5),p=o(f),h=n(8),m=o(h),v=n(6),g=o(v),y=n(1),b=o(y),_=n(4),w=o(_),C=n(43),x=n(319),E=r(x),T=n(528),k=n(1313),S=o(k),M=n(1311),O=o(M),A=b.default.createElement("div",{className:"not-loaded"},"Loading Preview..."),N=b.default.createElement(O.default,null),I=t.PreviewAssessment=function(e){function t(){return(0,d.default)(this,t),(0,m.default)(this,(t.__proto__||(0,l.default)(t)).apply(this,arguments))}return(0,g.default)(t,e),(0,p.default)(t,[{key:"componentDidMount",value:function(){w.default.isEmpty(this.props.assessment)&&(this.props.getAssessments(this.props.parsedParams.bankId),this.props.getAssessmentItems(this.props.parsedParams.bankId,this.props.parsedParams.assessmentId))}},{key:"render",value:function(){return w.default.isEmpty(this.props.assessment)?A:b.default.createElement("div",null,N,b.default.createElement(S.default,{assessment:this.props.assessment,assessmentPlayerUrl:this.props.settings.assessmentPlayerUrl,apiUrl:this.props.settings.api_url,getAssessmentOffered:this.props.getAssessmentOffered,unlockNext:this.props.settings.unlock_next}))}}]),t}(b.default.Component);t.default=(0,C.connect)(i,(0,s.default)({},E))(I)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),l=r(u),c=n(8),d=r(c),f=n(6),p=r(f),h=n(1),m=r(h),v=n(4),g=r(v),y=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,l.default)(t,[{key:"componentDidMount",value:function(){var e=this.props.assessment;t.hasOffered(e)||this.props.getAssessmentOffered(e.bankId,e.id)}},{key:"buildEmbedUrl",value:function(){var e=this.props,t=e.assessmentPlayerUrl,n=e.apiUrl,r=e.assessment,o=e.unlockNext,i=r.bankId,a=g.default.get(r,"assessmentOffered[0].id"),s=["unlock_next="+o].join("&");return t+"?"+s+"&api_url="+n+"&bank="+i+"&assessment_offered_id="+a+"#/assessment"}},{key:"render",value:function(){return t.hasOffered(this.props.assessment)?m.default.createElement("iframe",{height:"10000",width:"100%",src:this.buildEmbedUrl()}):null}}],[{key:"hasOffered",value:function(e){return!(g.default.isUndefined(e.assessmentOffered)||g.default.isEmpty(e.assessmentOffered[0]))}}]),t}(m.default.Component);t.default=y},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=r(o),a=n(462),s=n(204),u=r(s),l=n(1245),c=r(l),d=n(1289),f=r(d),p=n(1247),h=r(p),m=n(1246),v=r(m),g=n(1312),y=r(g),b=n(1303),_=r(b);t.default=i.default.createElement(a.Router,{history:u.default},i.default.createElement(a.Route,{path:"/",component:c.default},i.default.createElement(a.IndexRoute,{component:f.default}),i.default.createElement(a.Route,{path:"banks/:id/new_assessment",component:h.default}),i.default.createElement(a.Route,{path:"banks/:bankId/assessments/:id",component:v.default}),i.default.createElement(a.Route,{path:"banks/:bankId/assessments/:id/preview",component:y.default})),i.default.createElement(a.Route,{path:"*",component:_.default}))},,,,,,,,,,,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=f.default.map(e,function(e){var n=t[e.id];return{id:e.id,text:f.default.get(n,"text",e.text),order:f.default.get(n,"order",e.order),delete:f.default.get(n,"delete")}});return t.new&&n.push({id:(0,b.default)(),text:"",order:n.length}),n}function i(e,t){var n={multiAnswer:t.multiAnswer,shuffle:t.shuffle,timeValue:t.timeValue,choices:null};return t.choices&&(n.choices=o(e.choices,t.choices)),(0,m.scrub)(n)}function a(e,t,n){return[{id:f.default.get(f.default.find(t,{genusTypeId:g.default.answer.rightAnswer}),"id"),genusTypeId:g.default.answer.rightAnswer,feedback:n,type:g.default.answer.multipleAnswer,choiceIds:f.default.map(e,"id")}]}function s(e){return f.default.map(e,function(e){return{id:e.id,delete:!0}})}function u(e,t){var n=(0,h.default)(e,t),r=t.question;return r&&(n.question=(0,c.default)({},n.question,i(e.question,r)),(r.choices||r.correctFeedback)&&(t.type&&e.type!==t.type?n.answers=s(f.default.get(e,"originalItem.answers")):n.answers=a(e.question.choices,f.default.get(e,"originalItem.answers"),f.default.get(r,"correctFeedback.text")))),(0,m.scrub)(n)}Object.defineProperty(t,"__esModule",{value:!0});var l=n(10),c=r(l);t.default=u;var d=n(4),f=r(d),p=n(135),h=r(p),m=n(63),v=n(54),g=r(v),y=n(156),b=r(y)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(10),i=r(o),a={audioUpload:"Audio Record",fileUpload:"File Upload",movableWordSandbox:"Movable Word -- Sandbox",movableWordSentence:"Movable Word -- Sentence",movableFillBlank:"Movable Word -- Fill in the Blank",shortAnswer:"Short Answer",imageSequence:"Image Sequence",multipleChoice:"Multiple Choice",reflection:"Multiple Choice -- Reflection",multipleAnswer:"Multiple Choice -- Multiple Select",multipleReflection:"Multiple Choice -- Multiple Select & Reflection",dragAndDrop:"Drag and Drop"},s={correctFeedback:"Correct Feedback",incorrectFeedback:"Incorrect Feedback",feedback:"Feedback"};t.default={en:{name:"English",dir:"ltr",addImage:{addImage:"Add Image"},addOption:{addOption:"Add Option"},addQuestionButton:{addQuestion:"Add Question"},assessmentForm:{singlePageAssessment:"Single page assessment",nameRequired:"Name is required in order to edit",placeholder:"Untitled Assessment"},audioLimit:{rangeWarning:"Please enter a positive number under"},backButton:{back:"Back"},bankListHeader:{name:"Name",published:"Published"},commonAddOption:{addOption:"Add Option"},editAssessment:{confirm:"Are you sure you want to delete this item?"},editorUploadModal:{cancel:"Cancel",ok:"OK",error:"Error",insert:"Insert",audioFile:"Select an Audio file",imgFile:"Select an Image",videoFile:"Select a Video file"},imageOption:{NA:"N/A"},imageSequence:(0,i.default)({},s),mcAddOption:{addOption:"Add Option"},movableFillBlank:(0,i.default)({},s),movableWordSentanceOption:{NA:"N/A",newOption:"New Option"},movableWordSentence:(0,i.default)({},s),multipleChoice:(0,i.default)({},s),multipleChoiceOptions:{optionText:"Option Text"},mwSandbox:{feedback:"Feedback"},navigationBarContent:{new:"NEW",publish:"Publish",unpublish:"Unpublish",preview:"Preview Assessment",assessment:"Assessment"},newItemForm:(0,i.default)({addQuestion:"Add Question",name:"Name",cancel:"Cancel",saveNewQuestion:"Save New Question"},a),optionFeedback:{feedback:"Feedback"},previewHeader:{closePreview:"Close Preview"},previewQuestion:{fileUpload:{chooseFile:"Choose File"},audioUpload:{stop:"Stop",record:"Record"}},reorderHeader:{done:"Done"},saveOption:{saveOptions:"Save Options"},settingsCheckbox:{maintainChoiceOrder:"Maintain choice order",multipleAnswer:"Multiple answer",reflection:"Reflection"},shortAnswer:{answerBox:"Answer Box",small:"Small",medium:"Medium",large:"Large",box:"Box",feedback:"Feedback"},question:{confirm:"Are you sure you want to delete this option?"},questionHeader:{question:"Question"},questionSettings:{name:"Name",english:"English",hindi:"Hindi",telugu:"Telugu"},questionText:{instructions:"To insert blank, add [ _ ] where you want the blank to show up.",fitbPlaceholder:"Fill in the [ _ ] Text",otherPlaceholder:"Question Text"},dragAndDrop:{draggableAnswers:"Draggable answers"},addZoneDropDown:{byRegion:"by region",byImage:"by image"},dragArea:{addImage:"Add Image"},dropObject:{label:"Label",selectAnswer:"Select Answer"},dropZone:{label:"Label"},targetMenu:{replace:"Replace Image",targetImage:"Target Image",addSnap:"Add Snap Zone",addDrop:"Add Drop Zone",addImage:"Add Image",showZones:"Show Zones"},targetPlaceholder:{addImg:"Add Target Image"}}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={hi:{name:"Hindi",dir:"ltr"}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){return y.getAvailableLanguages().map(function(e){return[e,g[e].name]})}Object.defineProperty(t,"__esModule",{value:!0});var i=n(499),a=r(i),s=n(10),u=r(s);t.availableLocales=o;var l=n(1073),c=r(l),d=n(1327),f=r(d),p=n(1328),h=r(p),m=n(1330),v=r(m),g=(0,u.default)({},f.default,h.default,v.default);(0,a.default)(g);var y=new c.default(g);t.default=y},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={te:{name:"Telugu",dir:"ltr"}}},function(e,t){"use strict";function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r,t=arguments[1];switch(t.type){default:return e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;var r={}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments[1];switch(t.type){case"GET_ASSESSMENT_ITEMS_DONE":case"UPDATE_ASSESSMENT_ITEMS_DONE":case"CREATE_ITEM_IN_ASSESSMENT_DONE":var n=a.default.cloneDeep(e);return n[t.original.assessmentId]=a.default.map(t.payload,"id"),n;case"CREATE_ITEM_IN_ASSESSMENT":var r=a.default.cloneDeep(e);return t.newItemId&&r[t.original.assessmentId].push(t.newItemId),r;case"DELETE_ASSESSMENT_ITEM_DONE":var o=a.default.cloneDeep(e);return a.default.pull(o[t.original.assessmentId],t.original.itemId),o;case"CREATE_ASSESSMENT_WITH_ITEM_DONE":var i=a.default.cloneDeep(e);return i[t.assessmentId]=a.default.map(t.payload,"id"),i;default:return e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(4),a=r(i),s={}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments[1];switch(t.type){case"GET_ASSESSMENTS_DONE":var n=a.default.cloneDeep(e);return a.default.forEach(t.payload,function(e){a.default.forEach(e.assignedBankIds,function(t){n[t]||(n[t]={}),n[t][e.id]=e})}),n;case"UPDATE_ASSESSMENT_DONE":var r=a.default.cloneDeep(e),o=t.payload.bankId;return r[o]||(r[o]={}),r[o][t.payload.id]=t.payload,r;case"EDIT_OR_PUBLISH_ASSESSMENT_DONE":var i=a.default.cloneDeep(e),u=t.original.body.assignedBankIds[0],l=t.original.bankId,c=t.original.assessmentId;return i[l][c].assignedBankIds.push(u),i;case"DELETE_ASSIGNED_ASSESSMENT_DONE":var d=a.default.cloneDeep(e),f=t.original.assignedId,p=t.original.bankId,h=t.original.assessmentId,m=d[p][h].assignedBankIds.indexOf(f);return d[p][h].assignedBankIds.splice(m,1),d;case"CREATE_ASSESSMENT_DONE":var v=a.default.cloneDeep(e),g=t.payload.bankId;return v[g]||(v[g]={}),v[g][t.payload.id]=t.payload,v;case"CREATE_ASSESSMENT_OFFERED_DONE":case"GET_ASSESSMENT_OFFERED_DONE":var y=a.default.cloneDeep(e);return y[t.original.bankId][t.original.assessmentId].assessmentOffered=t.payload,y;case"DELETE_ASSESSMENT_DONE":var b=a.default.cloneDeep(e),_=t.original.bankId;return delete b[_][t.original.assessmentId],b;default:return e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(4),a=r(i),s={}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={id:e.id,name:e.displayName.text};e.parent?(t.unshift(n),o(e.parent,t)):t.unshift(n)}function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments[1];switch(t.type){case"GET_BANKS_HIERARCHY":return(0,s.default)({},e,{loading:!0});case"GET_BANKS_HIERARCHY_DONE":return(0,s.default)({},e,{loading:!1});case"UPDATE_PATH":if(!t.id)return(0,s.default)({},e,{location:[]});var n=[],r=l.default.findIndex(e.location,{id:t.id}),i=l.default.cloneDeep(e).location;return r>-1?(i.length=r+1,i[r].back=t.back):i.push({id:t.id,name:t.bank.displayName.text,back:t.back}),t.back!==-1?(o(t.bank,n),(0,s.default)({},e,{location:n})):(0,s.default)({},e,{location:i});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(10),s=r(a);t.default=i;var u=n(4),l=r(u),c={loading:!1,location:[]}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=s.default.last(t);s.default.forEach(e,function(e){e&&(e.parent=n,t.push(e),o(e.childNodes,t))})}function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u,t=arguments[1];switch(t.type){case"GET_BANKS_HIERARCHY_DONE":var n=[];return o(t.payload,n),t.payload;default:return e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var a=n(4),s=r(a),u=[]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(309),i=n(1227),a=r(i),s=n(1331),u=r(s),l=n(1338),c=r(l),d=n(1335),f=r(d),p=n(1334),h=r(p),m=n(1333),v=r(m),g=n(1337),y=r(g),b=n(1332),_=r(b),w=n(1341),C=r(w),x=n(1340),E=r(x),T=n(1339),k=r(T),S=(0,o.combineReducers)({settings:a.default,jwt:c.default,application:u.default,banks:f.default,bankNavigation:h.default,assessments:v.default,items:y.default,assessmentItems:_.default,uploadedAssets:C.default,preview:E.default,media:k.default});t.default=S},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments[1];switch(t.type){case"GET_ASSESSMENT_ITEMS_DONE":var n=a.default.cloneDeep(e),r=t.original.bankId;return n[r]||(n[r]={}),a.default.each(t.payload,function(e){n[r][e.id]=e}),n;case"UPDATE_ITEM_DONE":case"CREATE_ITEM_DONE":var o=a.default.cloneDeep(e),i=t.original.bankId;return o[i]||(o[i]={}),o[i][t.payload.id]=t.payload,o;case"UPDATE_ITEM":var u=a.default.cloneDeep(e),l=t.bankId,c=t.itemId;u[l]||(u[l]={});var d=u[l][c];return u[l][c]=a.default.merge(d,t.body),u;default:return e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(4),a=r(i),s={}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(215),o={};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments[1];switch(t.type){case r.Constants.REFRESH_JWT_DONE:return t.payload.jwt;default:return e}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(10),i=r(o),a={loading:!0,image:{},audio:{},video:{}};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments[1];switch(t.type){case"GET_MEDIA_DONE":return(0,i.default)({},t.payload,{loading:!1});default:return e}}},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u,t=arguments[1];switch(t.type){case a.Constants.GET_ASSESSMENT_PREVIEW+s.DONE:return t.payload;default:return e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(319),a=r(i),s=n(55),u=[]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(4),i=r(o),a=n(331),s={};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments[1];switch(t.type){case a.Constants.UPLOAD_MEDIA_DONE:var n=i.default.cloneDeep(e),r=t.original.fileGuids,o=r.vttGuids,u=r.transcriptGuids,l=r.mediaGuid;return t.error?(n[l]={error:t.error},i.default.each(o.concat(u),function(e){n[e]={error:t.error}}),n):(n[l]=t.payload,i.default.isEmpty(t.payload.transcript)||i.default.each(u,function(e){n[e]=t.payload.transcript}),i.default.isEmpty(t.payload.vtt)||i.default.each(o,function(e){n[e]=t.payload.vtt}),n);default:return e}}},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.banksLoaded=t.banks=t.bankAssessments=t.rawAssessments=t.currentBankId=t.path=void 0;var i=n(4),a=o(i),s=n(310),u=n(1228),l=r(u),c=n(528),d=t.path=function(e){return e.bankNavigation.location},f=t.currentBankId=(0,s.createSelector)(d,function(e){return a.default.isEmpty(e)?null:a.default.last(e).id}),p=t.rawAssessments=(0,s.createSelector)(l.assessments,f,function(e,t){return a.default.get(e,t,{})});t.bankAssessments=(0,s.createSelector)(p,l.settings,function(e,t){var n=a.default.map(e,function(e){return(0,c._assessment)(e,[],t)}),r=a.default.reduce(n,function(e,t){return e[t.id]=t,e},{});return r}),t.banks=(0,s.createSelector)(d,function(e){return e.banks},function(e,t){var n=t;return a.default.forEach(e,function(e){var t=a.default.find(n,{id:e.id});n=t.childNodes}),a.default.merge(n)}),t.banksLoaded=(0,s.createSelector)(function(e){return e.banks},function(e){return!a.default.isEmpty(e)})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.bankMedia=t.media=t.bankId=void 0;var o=n(4),i=(r(o),n(310)),a=t.bankId=function(e,t){return encodeURIComponent(t.bankId)},s=t.media=function(e){return e.media};t.bankMedia=(0,i.createSelector)(s,a,function(e,t){return e[t]})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(340),i=r(o);t.default=function(e){var t=a.compose.apply(void 0,(0,i.default)(p))(a.createStore)(u.default,e);return t};var a=n(309),s=(n(198),n(1336)),u=r(s),l=n(329),c=(r(l),n(1365)),d=r(c),f=[d.default],p=[a.applyMiddleware.apply(void 0,f)]},,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(4),i=r(o),a=n(1366),s=r(a),u=n(1367),l=r(u),c=function(e){return function(t){return function(n){if(n.method)(0,s.default)(e,n,n.method,n.url,n.params,n.body);else if(n.apiCall){var r=l.default[n.type];if(i.default.isFunction(r))r(e,n);else{if(!i.default.isObject(r))throw"No handler implemented for "+n.type;var o=e.getState();(0,s.default)(e,n,r.method,r.url(o.settings.api_url,n),r.params?r.params(n):n.params,r.body?r.body(n):n.body,r.timeout?r.timeout:n.timeout)}}t(n)}}};t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n,r,o,i,u){var l=e.getState(),c=a.default.execRequest(n,r,l.settings.api_url,l.jwt,l.settings.csrf_token,o,i,null,u);c&&c.then(function(n){e.dispatch({type:t.type+s.DONE,payload:n.body,original:t,response:n})},function(n){e.dispatch({type:t.type+s.DONE,payload:{},original:t,error:n})})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(334),a=r(i),s=n(55)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t,n){var r="assessment/banks/"+t+"/assessments/"+n+"/assessmentsoffered";return M.default.get(r,e.settings.api_url,e.jwt,e.settings.csrf_token)}function a(e,t,n){var r="assessment/banks/"+t+"/assessmentsoffered/",o=[];return C.default.each(n,function(t){var n=t.id+"/assessmentstaken";o.push(new _.default(function(t){M.default.get(r+n,e.settings.api_url,e.jwt,e.settings.csrf_token).then(function(e){return t(e.body)})}))}),_.default.all(o)}function s(e,t){var n=new FormData;return n.append("inputFile",t.body),n.append("returnUrl",!0),n.append("createNew",!0),n.append("mediaDescription",t.metaData["639-2%3AENG%40ISO"].description||""),n.append("locale",t.metaData["639-2%3AENG%40ISO"].locale),n.append("license",t.metaData["639-2%3AENG%40ISO"].license||""),n.append("copyright",t.metaData["639-2%3AENG%40ISO"].copyright||""),"audio"===t.metaData.mediaType?n.append("transcriptFile",t.metaData["639-2%3AENG%40ISO"].transcript||""):"img"===t.metaData.mediaType?n.append("altText",t.metaData["639-2%3AENG%40ISO"].altText||""):"video"===t.metaData.mediaType&&(n.append("vttFile",t.metaData["639-2%3AENG%40ISO"].vttFile||""),n.append("transcriptFile",t.metaData["639-2%3AENG%40ISO"].transcript||"")),M.default.post("repository/repositories/"+t.bankId+"/assets",e.settings.api_url,e.jwt,e.settings.csrf_token,null,n,null,t.timeout)}function u(e,t,n,r,o){var i=new FormData;return i.append("mediaDescription",t.description||""),i.append("locale",t.locale),"audio"===o?i.append("transcriptFile",t.transcript||""):"img"===o?i.append("altText",t.altText||""):"video"===o&&(i.append("vttFile",t.vttFile||""),i.append("transcriptFile",t.transcript||"")),M.default.put("repository/repositories/"+n+"/assets/"+r,e.settings.api_url,e.jwt,e.settings.csrf_token,null,i,null,2e4)}function l(e,t){var n=e.getState(),r=n.items[t.bankId][t.itemId],o=t.body,i=(0,B.default)(o.type||r.type)(r,o);M.default.put("assessment/banks/"+t.bankId+"/items/"+t.itemId,n.settings.api_url,n.jwt,n.settings.csrf_token,null,i).then(function(n){e.dispatch({type:t.type+N.DONE,original:t,payload:(0,U.default)(n.body.genusTypeId)(n.body)})})}function c(e,t,n){var r=void 0,o=void 0,i=void 0;n?(r=C.default.get(n,"body.assetContents[0].id"),o=C.default.get(n,"body.assetContents[0].assetId"),i=C.default.get(n,"body.assetContents[0].genusTypeId")):(r=C.default.get(t,"body.original.assetContents[0].id"),o=C.default.get(t,"body.original.assetContents[0].assetId"),i=C.default.get(t,"body.original.assetContents[0].genusTypeId"));var a=(0,V.default)(),s={id:t.itemId,question:{fileIds:(0,y.default)({},a,{assetContentId:r,assetId:o,assetContentTypeId:i})}};s=C.default.set(s,t.where,{text:"AssetContent:"+a,altText:t.file.altText,id:C.default.last(t.where.split("."))});var u=(0,R.updateItem)(t.bankId,s);l(e,u)}function d(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",o="assessment/banks/"+t+"/assessmentstaken/",i=[];return C.default.each(C.default.flatten(n),function(t){r&&t.takingAgentId!==r||i.push(new _.default(function(n){M.default.del(o+t.id,e.settings.api_url,e.jwt,e.settings.csrf_token).then(function(e){
-return n(e.body)})}))}),_.default.all(i)}function f(e,t,n){var r="assessment/banks/"+t+"/assessmentsoffered/",o=[];return C.default.each(n,function(t){o.push(new _.default(function(n){M.default.del(r+t.id,e.settings.api_url,e.jwt,e.settings.csrf_token).then(function(e){return n(e.body)})}))}),_.default.all(o)}function p(e,t,n,r,o,i){var a=e.getState();M.default.post("assessment/banks/"+t+"/items",a.settings.api_url,a.jwt,a.settings.csrf_token,null,(0,H.scrub)((0,B.default)(r.type)({question:{}},r))).then(function(r){e.dispatch({type:R.Constants.CREATE_ITEM+N.DONE,original:i,payload:(0,U.default)(r.body.genusTypeId)(r.body)});var s=r.body.id;return e.dispatch({type:P.Constants.CREATE_ITEM_IN_ASSESSMENT,original:i,newItemId:s}),M.default.post("assessment/banks/"+t+"/assessments/"+n+"/items",a.settings.api_url,a.jwt,a.settings.csrf_token,null,{itemIds:o.concat(s)})}).then(function(t){e.dispatch({type:i.type+N.DONE,assessmentId:n,original:i,payload:t.body})})}Object.defineProperty(t,"__esModule",{value:!0});var h,m=n(10),v=o(m),g=n(101),y=o(g),b=n(218),_=o(b),w=n(4),C=o(w),x=n(206),E=o(x),T=n(1391),k=o(T),S=n(334),M=o(S),O=n(204),A=o(O),N=n(55),I=n(332),P=n(319),D=r(P),R=n(333),j=n(331),L=n(1382),B=o(L),F=n(1370),U=o(F),H=n(63),z=n(1373),q=n(1392),W=n(156),V=o(W),G=(h={},(0,y.default)(h,I.Constants.GET_BANKS_HIERARCHY,function(e,t){var n=e.getState();M.default.get(n.settings.lambda_url,null,n.jwt,n.settings.csrf_token,null,null).then(function(r){e.dispatch({type:t.type+N.DONE,original:t,payload:r.body});var o=r.body[0].id;M.default.get("/repository/repositories/"+o+"/assets?fullUrls",n.settings.api_url,n.jwt,n.settings.csrf_token,null,null).then(function(t){e.dispatch({type:"GET_MEDIA_DONE",original:{bankId:o},payload:(0,z.deserializeMedia)(t.body)})})})}),(0,y.default)(h,P.Constants.GET_ASSESSMENT_PREVIEW,{method:E.default.GET,url:function(e,t){var n=encodeURIComponent(t.bankId),r=encodeURIComponent(t.assessmentId);return e+"/assessment/banks/"+n+"/assessments/"+r+"/items?qti"}}),(0,y.default)(h,P.Constants.GET_ASSESSMENTS,{method:E.default.GET,url:function(e,t){return e+"/assessment/banks/"+t.bankId+"/assessments?isolated"}}),(0,y.default)(h,P.Constants.CREATE_ASSESSMENT_OFFERED,{method:E.default.POST,url:function(e,t){return e+"/assessment/banks/"+t.bankId+"/assessments/"+t.assessmentId+"/assessmentsoffered"}}),(0,y.default)(h,P.Constants.GET_ASSESSMENT_OFFERED,{method:E.default.GET,url:function(e,t){return e+"/assessment/banks/"+t.bankId+"/assessments/"+t.assessmentId+"/assessmentsoffered"}}),(0,y.default)(h,P.Constants.GET_ASSESSMENT_ITEMS,function(e,t){var n=e.getState();M.default.get("assessment/banks/"+t.bankId+"/assessments/"+t.assessmentId+"/items?wronganswers",n.settings.api_url,n.jwt,n.settings.csrf_token,null,null).then(function(n){e.dispatch({type:t.type+N.DONE,original:t,payload:C.default.map(n.body,function(e){return(0,U.default)(e.genusTypeId)(e)})})})}),(0,y.default)(h,P.Constants.EDIT_OR_PUBLISH_ASSESSMENT,{method:E.default.POST,url:function(e,t){return e+"/assessment/banks/"+t.bankId+"/assessments/"+t.assessmentId+"/assignedbankids"}}),(0,y.default)(h,P.Constants.DELETE_ASSIGNED_ASSESSMENT,function(e,t){var n=e.getState(),r=t.bankId,o=t.assessmentId,s=t.assignedId;M.default.del("assessment/banks/"+r+"/assessments/"+o+"/assignedbankids/"+s,n.settings.api_url,n.jwt,n.settings.csrf_token,null,null).then(function(s){e.dispatch({type:t.type+N.DONE,original:t,payload:s.body}),t.assignedId===n.settings.publishedBankId&&i(n,r,o).then(function(e){return a(n,r,e.body).then(function(e){return d(n,r,e,"osid.agent.Agent%3A"+n.settings.eid+"%40MIT-ODL")})})})}),(0,y.default)(h,P.Constants.UPDATE_ASSESSMENT,{method:E.default.PUT,url:function(e,t){return e+"/assessment/banks/"+t.bankId+"/assessments/"+t.body.id}}),(0,y.default)(h,P.Constants.UPDATE_SINGLE_ITEM_OR_PAGE,{method:E.default.PUT,url:function(e,t){return e+"/assessment/banks/"+t.bankId+"/assessmentsoffered/"+t.assessmentsOfferedId}}),(0,y.default)(h,P.Constants.UPDATE_ASSESSMENT_ITEMS,{method:E.default.PUT,url:function(e,t){return e+"/assessment/banks/"+t.bankId+"/assessments/"+t.assessmentId+"/items"}}),(0,y.default)(h,P.Constants.DELETE_ASSESSMENT_ITEM,{method:E.default.DEL,url:function(e,t){return e+"/assessment/banks/"+t.bankId+"/assessments/"+t.assessmentId+"/items/"+t.itemId}}),(0,y.default)(h,R.Constants.GET_ITEMS,{method:E.default.GET,url:function(e,t){return e+"/assessment/banks/"+t.bankId+"/items"}}),(0,y.default)(h,R.Constants.CREATE_ITEM,{method:E.default.POST,url:function(e,t){return e+"/assessment/banks/"+t.bankId+"/items"}}),(0,y.default)(h,R.Constants.UPDATE_ITEM,l),(0,y.default)(h,P.Constants.CREATE_ITEM_IN_ASSESSMENT,function(e,t){p(e,t.bankId,t.assessmentId,t.body,t.itemIds,t)}),(0,y.default)(h,P.Constants.CREATE_ASSESSMENT,function(e,t){var n=e.getState();M.default.post("assessment/banks/"+t.bankId+"/assessments",n.settings.api_url,n.jwt,n.settings.csrf_token,null,t.body).then(function(n){A.default.push("banks/"+t.bankId+"/assessments/"+n.body.id),e.dispatch({type:t.type+N.DONE,original:t,payload:n.body})})}),(0,y.default)(h,P.Constants.CREATE_ASSESSMENT_WITH_ITEM,function(e,t){var n=e.getState();M.default.post("assessment/banks/"+t.bankId+"/assessments?genusTypeId=assessment-bank-genus%3Aeditable%40ODL.MIT.EDU",n.settings.api_url,n.jwt,n.settings.csrf_token,null,t.assessment).then(function(n){A.default.push("banks/"+t.bankId+"/assessments/"+n.body.id),e.dispatch({type:P.Constants.CREATE_ASSESSMENT+N.DONE,original:t,payload:n.body}),p(e,t.bankId,decodeURIComponent(n.body.id),t.item,[],t)})}),(0,y.default)(h,P.Constants.DELETE_ASSESSMENT,function(e,t){var n=e.getState(),r=t.bankId,o=t.assessmentId;i(n,r,o).then(function(i){var s=i.body;a(n,r,s).then(function(e){return d(n,r,e)}).then(function(){return f(n,r,s)}).then(function(){return M.default.del("assessment/banks/"+r+"/assessments/"+o,n.settings.api_url,n.jwt,n.settings.csrf_token)}).then(function(){return e.dispatch({type:t.type+N.DONE,original:t})})})}),(0,y.default)(h,P.Constants.TOGGLE_PUBLISH_ASSESSMENT,function(e,t){var n=e.getState(),r=t.assessment,o=n.settings,i=o.publishedBankId,a=o.editableBankId;if(r.isPublished)(0,q.dispatchMany)([D.deleteAssignedAssessment(r,i),D.editOrPublishAssessment(r,a)],e);else{var s=[];C.default.includes(r.assignedBankIds,a)&&s.push(D.deleteAssignedAssessment(r,a)),C.default.isEmpty(r.assessmentOffered)&&s.push(D.createAssessmentOffered(r.bankId,r.id)),s.push(D.editOrPublishAssessment(r,i)),(0,q.dispatchMany)(s,e)}}),(0,y.default)(h,j.Constants.UPLOAD_MEDIA,function(e,t){var n=e.getState();s(n,t).then(function(r){var o=C.default.filter(t.metaData,function(e){return!C.default.isUndefined(e.locale)&&"en"!==e.locale}),i=r.body,a=i.repositoryId,s=i.id;C.default.forEach(o,function(e){return u(n,e,a,s,t.metaData.mediaType)}),e.dispatch({type:t.type+N.DONE,original:t,payload:(0,z.deserializeSingleMedia)(r.body,t.metaData["639-2%3AENG%40ISO"].autoPlay)})},function(n){e.dispatch({type:t.type+N.DONE,payload:{},original:t,error:n})})}),(0,y.default)(h,j.Constants.ADD_MEDIA_TO_QUESTION,function(e,t){var n=e.getState();t.newMedia?s(n,t).then(function(n){return c(e,t,n)}):c(e,t)}),h);t.default=(0,v.default)({},k.default,G)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=(0,c.default)(e),n=u.default.get(e,"question.timeValue",{hours:"00",minutes:"00",seconds:"100"});return t.question=(0,a.default)({},t.question,{timeValue:n,correctFeedback:(0,d.createSingleCorrectFeedback)(e)}),t}Object.defineProperty(t,"__esModule",{value:!0});var i=n(10),a=r(i);t.default=o;var s=n(4),u=r(s),l=n(134),c=r(l),d=n(63)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e[0];return t?{id:t.id,image:(0,m.getImageUrl)(t.text)}:{}}function i(e){var t={};return d.default.forEach(e,function(e,n){t[e.id]={id:e.id,label:e.name,height:e.spatialUnit.height,width:e.spatialUnit.width,xPos:e.spatialUnit.coordinateValues[0],yPos:e.spatialUnit.coordinateValues[1],type:(0,h.getQbankType)(e.dropBehaviorType),index:n}}),t}function a(e,t){var n={};return d.default.forEach(e,function(e){n[e.id]={id:e.id,label:e.name,image:(0,m.getImageUrl)(e.text),type:(0,h.getQbankType)(e.dropBehaviorType),correctZone:d.default.get(d.default.find(t,{droppableId:e.id}),"zoneId")}}),n}function s(e){var t=(0,p.default)(e),n=d.default.find(e.answers,{genusTypeId:h.types.answer.rightAnswer}),r=d.default.find(e.answers,{genusTypeId:h.types.answer.wrongAnswer});return t.question=(0,l.default)({},t.question,{target:o(d.default.get(e,"question.targets")),zones:i(d.default.get(e,"question.zones")),visibleZones:d.default.get(e,"question.zones[0].visible"),dropObjects:a(d.default.get(e,"question.droppables"),d.default.get(n,"zoneConditions")),correctFeedback:{text:d.default.get(n,"feedback.text"),answerId:d.default.get(n,"id"),fileIds:d.default.get(n,"fileIds")},incorrectFeedback:{text:d.default.get(r,"feedback.text"),answerId:d.default.get(r,"id"),fileIds:d.default.get(r,"fileIds")}}),t}Object.defineProperty(t,"__esModule",{value:!0});var u=n(10),l=r(u);t.default=s;var c=n(4),d=r(c),f=n(134),p=r(f),h=n(54),m=n(63)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){switch(e){case h.default.item.multipleChoice:return E.default;case h.default.item.multipleAnswer:case h.default.item.reflection:case h.default.item.multipleReflection:return C.default;case h.default.item.audioUpload:return a.default;case h.default.item.shortAnswer:return k.default;case h.default.item.fileUpload:return f.default;case h.default.item.movableFillBlank:return y.default;case h.default.item.movableWordSandbox:return _.default;case h.default.item.movableWordSentence:return M.default;case h.default.item.imageSequence:return v.default;case h.default.item.dragAndDrop:return c.default;default:return u.default}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1368),a=r(i),s=n(134),u=r(s),l=n(1369),c=r(l),d=n(1371),f=r(d),p=n(54),h=r(p),m=n(1372),v=r(m),g=n(1374),y=r(g),b=n(1376),_=r(b),w=n(1377),C=r(w),x=n(1378),E=r(x),T=n(1379),k=r(T),S=n(1375),M=r(S)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=(0,a.default)(e);return t.question.correctFeedback=(0,s.createSingleCorrectFeedback)(e),t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(134),a=r(i),s=n(63)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r={};return l.default.forEach(e,function(e,o){var i=t.choiceIds.indexOf(e.id),a=i>=0,s=(0,d.default)("<div>").html(e.text),u=(0,d.default)("img",s),l=(0,d.default)("p",s);r[e.id]={id:e.id,answerId:a?t.id:n,text:u?u.attr("src"):"",altText:u?u.attr("alt"):"",order:o+1,labelText:l?l.text():""}}),r}function i(e){var t=(0,p.default)(e),n=l.default.find(e.answers,{genusTypeId:m.default.answer.rightAnswer}),r=l.default.find(e.answers,{genusTypeId:m.default.answer.wrongAnswer});return t.question=(0,s.default)({},t.question,{shuffle:l.default.get(e,"question.shuffle"),choices:o(l.default.get(e,"question.choices"),n,l.default.get(r,"id")),correctFeedback:{text:l.default.get(n,"feedback.text"),answerId:l.default.get(n,"id"),fileIds:l.default.get(n,"fileIds")},incorrectFeedback:{text:l.default.get(r,"feedback.text"),answerId:l.default.get(r,"id"),fileIds:l.default.get(r,"fileIds")}}),t}Object.defineProperty(t,"__esModule",{value:!0});var a=n(10),s=r(a);t.default=i;var u=n(4),l=r(u),c=n(131),d=r(c),f=n(134),p=r(f),h=n(54),m=r(h)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n={id:e.id,type:"",url:"",autoPlay:t,altText:{},description:e.description,license:e.license,copyright:e.copyright,original:e,assetContentId:"",extension:""};return l.default.each(e.assetContents,function(e){var t=(0,c.getQbankMediaType)(e.genusTypeId);switch(t){case"image":case"video":case"audio":var r=/%3A(.*)%40/;n.extension=l.default.get(r.exec(e.genusTypeId),"[1]",""),n.type=t,n.url=e.url,n.assetContentId=e.id;break;case"altText":n.altText=e.altText;break;case"description":n.description=e.mediaDescription;break;case"vtt":n.vtt=(0,s.default)({},e,{assetContentId:e.id,id:e.assetId});break;case"transcript":n.transcript=(0,s.default)({},e,{assetContentId:e.id,id:e.assetId});break;default:console.log(e.genusTypeId)}}),n}function i(e){var t={image:{},audio:{},video:{}};return l.default.each(e,function(e){var n=o(e);n.type&&(t[n.type][n.id]=n)}),t}Object.defineProperty(t,"__esModule",{value:!0});var a=n(10),s=r(a);t.deserializeSingleMedia=o,t.deserializeMedia=i;var u=n(4),l=r(u),c=n(54)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r={};return p.default.forEach(e,function(e,o){r[e.id]={id:e.id,answerId:null,text:(0,_.parseChoiceText)(e.text),wordType:(0,_.parseChoiceWordType)(e.text),isCorrect:!1,blankId:n},p.default.forEach(t,function(t){p.default.includes(p.default.get(t,"inlineRegions."+n+".choiceIds"),e.id)&&(r[e.id]=(0,d.default)({},r[e.id],{feedback:p.default.get(t,"feedback.text"),isCorrect:t.genusTypeId===b.default.answer.rightAnswer,answerId:t.id}))})}),r}function i(e){var t=(0,m.default)("<div></div>").html(e),n=(0,m.default)("p, inlineChoiceInteraction",t).map(function(e,t){return"INLINECHOICEINTERACTION"===t.nodeName?"[_]":t.textContent});return n.toArray().join(" ")}function a(e){return p.default.map(e,function(e){var t=p.default.cloneDeep(e);return t.text=i(t.text),t})}function s(e){var t=(0,m.default)("<div></div>").html(e);return(0,m.default)("inlineChoiceInteraction",t).attr("id")}function u(e){var t=p.default.first(p.default.keys(p.default.get(e,"question.choices")));if(t)return t;var n=p.default.get(e,"question.texts");return p.default.each(n,function(e){return t=s(e.text),!t}),t}function l(e){var t=(0,g.default)(e),n=p.default.find(e.answers,{genusTypeId:b.default.answer.rightAnswer}),r=p.default.find(e.answers,{genusTypeId:b.default.answer.wrongAnswer}),s=u(e);return t.question=(0,d.default)({},t.question,{text:i(t.question.text),texts:a(t.question.texts),choices:o(p.default.get(e,'question.choices["'+s+'"]'),e.answers,s),inlineRegionId:s,correctFeedback:{text:p.default.get(n,"feedback.text"),answerId:p.default.get(n,"id"),fileIds:p.default.get(n,"fileIds")},incorrectFeedback:{text:p.default.get(r,"feedback.text"),answerId:p.default.get(r,"id"),fileIds:p.default.get(r,"fileIds")}}),t}Object.defineProperty(t,"__esModule",{value:!0});var c=n(10),d=r(c);t.default=l;var f=n(4),p=r(f),h=n(131),m=r(h),v=n(134),g=r(v),y=n(54),b=r(y),_=n(63)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r={};return l.default.forEach(e,function(e,o){var i=t.choiceIds.indexOf(e.id),a=i>=0;r[e.id]={id:e.id,answerId:a?t.id:n,text:(0,h.parseChoiceText)(e.text),wordType:(0,h.parseChoiceWordType)(e.text),order:o,answerOrder:a?i:""}}),r}function i(e){var t=(0,d.default)(e),n=l.default.find(e.answers,{genusTypeId:p.default.answer.rightAnswer}),r=l.default.find(e.answers,{genusTypeId:p.default.answer.wrongAnswer});return t.question=(0,s.default)({},t.question,{shuffle:l.default.get(e,"question.shuffle"),choices:o(l.default.get(e,"question.choices"),n,l.default.get(r,"id")),correctFeedback:{text:l.default.get(n,"feedback.text"),answerId:l.default.get(n,"id"),fileIds:l.default.get(n,"fileIds")},incorrectFeedback:{text:l.default.get(r,"feedback.text"),answerId:l.default.get(r,"id"),fileIds:l.default.get(r,"fileIds")}}),t}Object.defineProperty(t,"__esModule",{value:!0});var a=n(10),s=r(a);t.default=i;var u=n(4),l=r(u),c=n(134),d=r(c),f=n(54),p=r(f),h=n(63)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return e.reduce(function(e,t){var n=f.default.parseHTML(t.text);return e[t.id]={id:t.id,text:(0,f.default)(n).text(),wordType:(0,f.default)(n).attr("class")},e},{})}function i(e){return c.default.reduce(e,function(e,t){return t.genusTypeId===v.default.answer.rightAnswer?e.correctFeedback={id:t.id,text:t.feedback.text,fileIds:t.fileIds}:t.genusTypeId===v.default.answer.wrongAnswer&&(e.incorrectFeedback={id:t.id,text:t.feedback.text,fileIds:t.fileIds}),e},{})}function a(e){var t=(0,h.default)(e),n=c.default.get(e,"question.timeValue",{hours:"00",minutes:"00",seconds:c.default.toString(g.audioLimit)}),r=o(c.default.get(e,"question.choices",{})),a=i(c.default.get(e,"answers",[]));return t.question=(0,u.default)({},t.question,{timeValue:n,choices:r},a),t}Object.defineProperty(t,"__esModule",{value:!0});var s=n(10),u=r(s);t.deserializeChoices=o,t.deserializeFeedback=i,t.default=a;var l=n(4),c=r(l),d=n(131),f=r(d),p=n(134),h=r(p),m=n(54),v=r(m),g=n(133)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};return l.default.forEach(e,function(e,r){n[e.id]={id:e.id,answerId:null,text:e.text,order:r,isCorrect:!1},l.default.forEach(t,function(t){l.default.includes(t.choiceIds,e.id)&&(n[e.id]=(0,s.default)({},n[e.id],{feedback:l.default.get(t,"feedback.text"),isCorrect:t.genusTypeId===p.default.answer.rightAnswer,answerId:t.id}))})}),n}function i(e){var t=(0,d.default)(e),n=l.default.find(e.answers,{genusTypeId:p.default.answer.rightAnswer}),r=l.default.find(e.answers,{genusTypeId:p.default.answer.wrongAnswer});return t.question=(0,s.default)({},t.question,{shuffle:l.default.get(e,"question.shuffle"),choices:o(l.default.get(e,"question.choices"),e.answers),correctFeedback:{text:l.default.get(n,"feedback.text"),answerId:l.default.get(n,"id"),fileIds:l.default.get(n,"fileIds")},incorrectFeedback:{text:l.default.get(r,"feedback.text"),answerId:l.default.get(r,"id"),fileIds:l.default.get(r,"fileIds")}}),t}Object.defineProperty(t,"__esModule",{value:!0});var a=n(10),s=r(a);t.default=i;var u=n(4),l=r(u),c=n(134),d=r(c),f=n(54),p=r(f)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};return l.default.forEach(e,function(e,r){n[e.id]={id:e.id,answerId:null,text:e.text,order:r,feedback:null,fileIds:{},isCorrect:!1},l.default.forEach(t,function(t){l.default.includes(t.choiceIds,e.id)&&(n[e.id]=(0,s.default)({},n[e.id],{feedback:l.default.get(t,"feedback.text"),isCorrect:t.genusTypeId===p.default.answer.rightAnswer,answerId:t.id,fileIds:(0,s.default)({},n[e.id].fileIds,t.fileIds)}))})}),n}function i(e){var t=(0,d.default)(e);return t.question=(0,s.default)({},t.question,{shuffle:l.default.get(e,"question.shuffle"),choices:o(l.default.get(e,"question.choices"),e.answers)}),t}Object.defineProperty(t,"__esModule",{value:!0});var a=n(10),s=r(a);t.default=i;var u=n(4),l=r(u),c=n(134),d=r(c),f=n(54),p=r(f)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=(0,c.default)(e);return t.question=(0,a.default)({},t.question,{correctFeedback:(0,d.createSingleCorrectFeedback)(e),maxStrings:u.default.get(e,"question.maxStrings"),expectedLength:u.default.get(e,"question.expectedLength"),expectedLines:u.default.get(e,"question.expectedLines")}),t}Object.defineProperty(t,"__esModule",{value:!0});var i=n(10),a=r(i);t.default=o;var s=n(4),u=r(s),l=n(134),c=r(l),d=n(63)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=t.question,r=(0,s.baseItem)(e,t);return n&&(n.correctFeedback&&(r.answers=[(0,u.getSingleCorrectAnswer)(e,n)]),a.default.isEmpty(a.default.get(t,"question.timeValue",{}))||(r.question.timeValue=a.default.merge({},t.question.timeValue))),(0,u.scrub)(r)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(4),a=r(i),s=n(135),u=n(63)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r=/.*\/(.*)\/stream$/.exec(e),o=e;if(r){var i=h.default.findKey(n,{assetContentId:r[1]});o="AssetContent:"+i}return'<img src="'+o+'" alt="'+t+'"/>'}function i(e,t,n){return t?[(0,g.scrub)({id:h.default.get(e,"id"),text:o(h.default.get(t,"text",e.image),h.default.get(t,"altText"),n),name:h.default.get(t,"altText"),dropBehaviorType:b.default.target.reject})]:null}function a(e,t,n,r){if(!t&&h.default.isNil(r))return null;var o=h.default.map(e,function(e){var o=h.default.get(t,"["+e.id+"]");return(0,g.scrub)({id:h.default.get(e,"id"),spatialUnit:{height:h.default.get(o,"height",e.height),width:h.default.get(o,"width",e.width),coordinateValues:[h.default.get(o,"xPos",e.xPos),h.default.get(o,"yPos",e.yPos)],recordType:b.default.zone.rectangle},reuse:0,dropBehaviorType:b.default.zone[h.default.get(o,"type",e.type)],name:h.default.get(o,"label",e.label),visible:r,containerId:n,delete:h.default.get(o,"delete")})});return t&&t.new&&o.push({spatialUnit:{height:t.new.height||100,width:t.new.width||100,coordinateValues:[20,20],recordType:b.default.zone.rectangle},reuse:0,dropBehaviorType:b.default.zone[t.new.type],visible:r,containerId:n,name:"",description:"A new zone"}),o}function s(e,t,n){if(!t)return null;var r=h.default.map(e,function(e){var r=t[e.id];return(0,g.scrub)({id:e.id,text:o(h.default.get(r,"image",e.image),h.default.get(r,"label",e.label),n),dropBehaviorType:b.default.zone[h.default.get(r,"type",e.type)],name:h.default.get(r,"label",e.label),reuse:1,delete:h.default.get(r,"delete")})});return t&&t.new&&r.push({text:o(t.new.text,t.new.altText,n),dropBehaviorType:b.default.zone.snap,reuse:1}),r}function u(e,t){var n=(0,f.default)({},e.fileIds,t.fileIds),r={targets:i(e.target,t.target,n),droppables:s(e.dropObjects,t.dropObjects,n),zones:a(e.zones,t.zones,h.default.get(e,"target.id"),h.default.get(t,"visibleZones"))};return(0,g.scrub)(r)}function l(e,t,n,r,o){var i=[],a={id:h.default.get(h.default.find(n,{genusTypeId:b.default.answer.rightAnswer}),"id"),genusTypeId:b.default.answer.rightAnswer,feedback:h.default.get(r,"text"),fileIds:h.default.get(r,"fileIds"),zoneConditions:(0,g.scrub)(h.default.map(e,function(e){var n=h.default.get(t,"["+e.id+"].correctZone",e.correctZone);return n?{droppableId:e.id,zoneId:n}:null}))},s={id:h.default.get(h.default.find(n,{genusTypeId:b.default.answer.wrongAnswer}),"id"),genusTypeId:b.default.answer.wrongAnswer,feedback:h.default.get(o,"text"),fileIds:h.default.get(o,"fileIds"),zoneConditions:[]};return a=(0,g.scrub)(a),s=(0,g.scrub)(s),i.push(a),i.push(s),i}function c(e,t){var n=(0,v.default)(e,t),r=t.question;return r&&(n.question=(0,f.default)({},n.question,u(e.question,r))),(r.zones||r.dropObjects||r.correctFeedback||r.incorrectFeedback)&&(n.answers=l(e.question.dropObjects,r.dropObjects,h.default.get(e,"originalItem.answers"),h.default.get(r,"correctFeedback"),h.default.get(r,"incorrectFeedback"))),(0,g.scrub)(n)}Object.defineProperty(t,"__esModule",{value:!0});var d=n(10),f=r(d);t.default=c;var p=n(4),h=r(p),m=n(135),v=r(m),g=n(63),y=n(54),b=r(y)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){switch(e){case k.default.multipleChoice:return v.default;case k.default.shortAnswer:return y.default;case k.default.audioUpload:return a.default;case k.default.reflection:case k.default.multipleReflection:return _.default;case k.default.multipleAnswer:return h.default;case k.default.fileUpload:return u.default;case k.default.movableFillBlank:return c.default;case k.default.movableWordSandbox:return f.default;case k.default.movableWordSentence:return C.default;case k.default.imageSequence:return M.default;case k.default.dragAndDrop:return E.default;default:throw"We could not find a type for serializing"}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1380),a=r(i),s=n(1383),u=r(s),l=n(1385),c=r(l),d=n(1387),f=r(d),p=n(1388),h=r(p),m=n(1389),v=r(m),g=n(1390),y=r(g),b=n(1326),_=r(b),w=n(1386),C=r(w),x=n(1381),E=r(x),T=n(133),k=r(T),S=n(1384),M=r(S)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=(0,a.default)(e,t),r=t.question;return r&&r.correctFeedback&&(n.answers=[(0,s.getSingleCorrectAnswer)(e,r)]),(0,s.scrub)(n)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(135),a=r(i),s=n(63)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=d.default.map(e,function(e){var n=t[e.id],r=d.default.get(n,"order"),o=d.default.get(n,"labelText",e.labelText),i=e.text,a=e.altText,s="<p>"+o+"</p><img src='"+i+"' alt='"+a+"'>";return{id:e.id,text:s,order:d.default.isNil(r)?e.order:r,delete:d.default.get(n,"delete")}});return t.new&&n.push({id:(0,y.default)(),text:"<p></p><img src='"+t.new.text+"' alt='"+t.new.altText+"'>",order:n.length}),n}function i(e,t){var n={choices:null};return t.choices&&(n.choices=o(e.choices,t.choices)),(0,h.scrub)(n)}function a(e,t,n,r,o){var i=[],a=d.default.cloneDeep(e);d.default.forEach(t,function(e,t){a[t]=(0,l.default)({},a[t],e)});var s={id:d.default.get(d.default.find(n,{genusTypeId:v.default.answer.rightAnswer}),"id"),genusTypeId:v.default.answer.rightAnswer,feedback:d.default.get(r,"text"),type:v.default.answer.multipleAnswer,choiceIds:d.default.map(d.default.orderBy(d.default.filter(a,function(e){return""!==e.order}),"order"),"id"),fileIds:d.default.get(r,"fileIds")},u={id:d.default.get(d.default.find(n,{genusTypeId:v.default.answer.wrongAnswer}),"id"),genusTypeId:v.default.answer.wrongAnswer,feedback:d.default.get(o,"text"),type:v.default.answer.multipleAnswer,choiceIds:[],fileIds:d.default.get(o,"fileIds")};return s=(0,h.scrub)(s),u=(0,h.scrub)(u),u.choiceIds=[],i.push(s),i.push(u),i}function s(e,t){var n=(0,p.default)(e,t),r=t.question;return r&&(n.question=(0,l.default)({},n.question,i(e.question,r)),(r.choices||r.correctFeedback||r.incorrectFeedback)&&(n.answers=a(e.question.choices,r.choices,d.default.get(e,"originalItem.answers"),d.default.get(r,"correctFeedback"),d.default.get(r,"incorrectFeedback")))),(0,h.scrub)(n)}Object.defineProperty(t,"__esModule",{value:!0});var u=n(10),l=r(u);t.default=s;var c=n(4),d=r(c),f=n(135),p=r(f),h=n(63),m=n(54),v=r(m),g=n(156),y=r(g)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r=p.default.map(e,function(e){var n=t[e.id];return{id:e.id,text:(0,v.buildChoiceText)(p.default.get(n,"text")||e.text,p.default.get(n,"wordType")||e.wordType||"other"),delete:p.default.get(n,"delete")}});return t.new&&r.push({id:(0,_.default)(),text:"",order:r.length}),(0,d.default)({},n,{choices:r})}function i(e,t,n){var r={inlineRegions:null},i=e.inlineRegionId||(0,_.default)();if(t.choices?r.inlineRegions=o(e.choices,t.choices,i):e.inlineRegionId||(r.inlineRegions=(0,d.default)({},i,{choices:[]})),n){var a=p.default.cloneDeep(n),s=a.text.replace("[ _ ]","[_]").split(" ");a.text=p.default.map(s,function(e){return"[_]"===e?'<inlineChoiceInteraction responseIdentifier="'+i+'"></inlineChoiceInteraction>':(0,v.buildChoiceText)(e,"other")}).join(""),r.questionString=a}return(0,v.scrub)(r)}function a(e,t,n,r,o){var i=p.default.get(p.default.values(e),"[0].blankId"),a=p.default.findKey(t,function(e){return e.isCorrect})||p.default.findKey(e,function(e){return e.isCorrect}),s=[],u={id:p.default.get(p.default.find(n,{genusTypeId:y.default.answer.rightAnswer}),"id"),genusTypeId:y.default.answer.rightAnswer,feedback:p.default.get(r,"text"),choiceIds:[],fileIds:p.default.get(r,"fileIds"),region:i},l={id:p.default.get(p.default.find(n,{genusTypeId:y.default.answer.wrongAnswer}),"id"),genusTypeId:y.default.answer.wrongAnswer,feedback:p.default.get(o,"text"),choiceIds:[],fileIds:p.default.get(o,"fileIds"),region:i};return p.default.each(e,function(e){e.id===a?u.choiceIds.push(e.id):l.choiceIds.push(e.id)}),u=(0,v.scrub)(u,["choiceIds"]),l=(0,v.scrub)(l,["choiceIds"]),s.push(u),s.push(l),s}function s(e,t){var n=(0,m.default)(e,t),r=t.question;return r&&(n.question=(0,l.default)({},n.question,i(e.question,r,n.question.questionString)),(r.choices||r.correctFeedback||r.incorrectFeedback)&&(n.answers=a(e.question.choices,r.choices,p.default.get(e,"originalItem.answers"),p.default.get(r,"correctFeedback"),p.default.get(r,"incorrectFeedback")))),(0,v.scrub)(n)}Object.defineProperty(t,"__esModule",{value:!0});var u=n(10),l=r(u),c=n(101),d=r(c);t.default=s;var f=n(4),p=r(f),h=n(135),m=r(h),v=n(63),g=n(54),y=r(g),b=n(156),_=r(b)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=d.default.map(e,function(e){var n=t[e.id],r=d.default.get(n,"order"),o=d.default.get(n,"wordType");return{id:e.id,text:(0,h.buildChoiceText)(d.default.get(n,"text")||e.text,o||e.wordType||b),order:d.default.isNil(r)?e.order:r,delete:d.default.get(n,"delete")}});return t.new&&n.push({id:(0,y.default)(),text:"",order:n.length}),n}function i(e,t){var n={shuffle:d.default.isNil(t.shuffle)?null:t.shuffle,choices:null};return t.choices&&(n.choices=o(e.choices,t.choices)),(0,h.scrub)(n)}function a(e,t,n,r,o){var i=[],a=d.default.cloneDeep(e);d.default.forEach(t,function(e,t){a[t]=(0,l.default)({},a[t],e)});var s={id:d.default.get(d.default.find(n,{genusTypeId:v.default.answer.rightAnswer}),"id"),genusTypeId:v.default.answer.rightAnswer,feedback:d.default.get(r,"text"),type:v.default.answer.multipleAnswer,choiceIds:(0,d.default)(a).filter(function(e){return!d.default.isNil(e.answerOrder)&&""!==e.answerOrder}).orderBy("answerOrder").map("id").value(),fileIds:d.default.get(r,"fileIds")},u={id:d.default.get(d.default.find(n,{genusTypeId:v.default.answer.wrongAnswer}),"id"),genusTypeId:v.default.answer.wrongAnswer,feedback:d.default.get(o,"text"),type:v.default.answer.multipleAnswer,choiceIds:d.default.map(d.default.filter(a,{answerOrder:null}),"id"),fileIds:d.default.get(o,"fileIds")};return s=(0,h.scrub)(s),u=(0,h.scrub)(u),i.push(s),i.push(u),i}function s(e,t){var n=(0,p.default)(e,t),r=t.question;return r&&(n.question=(0,l.default)({},n.question,i(e.question,r)),(r.choices||r.correctFeedback||r.incorrectFeedback)&&(n.answers=a(e.question.choices,r.choices,d.default.get(e,"originalItem.answers"),d.default.get(r,"correctFeedback"),d.default.get(r,"incorrectFeedback")))),(0,h.scrub)(n)}Object.defineProperty(t,"__esModule",{value:!0});var u=n(10),l=r(u);t.default=s;var c=n(4),d=r(c),f=n(135),p=r(f),h=n(63),m=n(54),v=r(m),g=n(156),y=r(g),b="other"},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return d.default.map(e,function(e){return b(e)})}function i(e,t){return(0,l.default)({},d.default.get(e,"fileIds",{}),d.default.get(t,"fileIds",{}))}function a(e,t,n){var r=d.default.get(n,"question.correctFeedback",{}),o=d.default.get(n,"question.incorrectFeedback",{});return[{id:r.id,genusTypeId:g.default.answer.rightAnswer,feedback:d.default.get(e,"text")||r.text,fileIds:d.default.get(e,"fileIds",{})},{id:o.id,genusTypeId:g.default.answer.wrongAnswer,feedback:d.default.get(t,"text","")||o.text,fileIds:d.default.get(t,"fileIds",{})}].map(p.scrub)}function s(e,t){var n=(0,f.baseItem)(e,t);d.default.isEmpty(d.default.get(t,"question.timeValue",{}))||(n.question.timeValue=d.default.merge({},t.question.timeValue));var r=d.default.get(n,"question.choices",{}),i=d.default.get(t,"question.choices",{});if(i.new){var s=(0,m.default)();r[s]={id:s,text:""}}else d.default.isEmpty(i)||(r=d.default.merge({},d.default.get(e,"question.choices",{}),r,i));d.default.isEmpty(r)||d.default.set(n,"question.choices",o(r));var u=d.default.get(t,"question.correctFeedback"),l=d.default.get(t,"question.incorrectFeedback");if(u||l){var c=a(u,l,e);n.answers=c}return n}Object.defineProperty(t,"__esModule",{value:!0});var u=n(10),l=r(u);t.serializeChoices=o,t.serializeFileIds=i,t.serializeAnswers=a,t.default=s;var c=n(4),d=r(c),f=n(135),p=n(63),h=n(156),m=r(h),v=n(54),g=r(v),y=function(e){return e.wordType?"<p class='"+e.wordType+"'>"+e.text+"</p>":"<p>"+e.text+"</p>"},b=function(e){return(0,p.scrub)({delete:e.delete,id:e.id,text:y(e)})}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e
-}}function o(e,t){var n=f.default.map(e,function(e){var n=t[e.id],r=f.default.get(n,"order");return{id:e.id,text:f.default.get(n,"text")||e.text,order:f.default.isNil(r)?e.order:r,delete:f.default.get(n,"delete")}});return t.new&&n.push({id:(0,b.default)(),text:"",order:n.length}),n}function i(e,t){var n={multiAnswer:t.multiAnswer,shuffle:t.shuffle,timeValue:t.timeValue,choices:null};return t.choices&&(n.choices=o(e.choices,t.choices)),(0,m.scrub)(n)}function a(e,t,n,r,o){var i=[],a={id:f.default.get(f.default.find(n,{genusTypeId:g.default.answer.rightAnswer}),"id"),genusTypeId:g.default.answer.rightAnswer,feedback:f.default.get(r,"text"),type:g.default.answer.multipleAnswer,choiceIds:[],fileIds:f.default.get(r,"fileIds")},s={id:f.default.get(f.default.find(n,{genusTypeId:g.default.answer.wrongAnswer}),"id"),genusTypeId:g.default.answer.wrongAnswer,feedback:f.default.get(o,"text"),type:g.default.answer.multipleAnswer,choiceIds:[],fileIds:f.default.get(o,"fileIds")};return f.default.forEach(e,function(e){var n=f.default.get(t,"["+e.id+"].isCorrect");f.default.isNil(n)?e.isCorrect?a.choiceIds.push(e.id):s.choiceIds.push(e.id):n?a.choiceIds.push(e.id):s.choiceIds.push(e.id)}),a=(0,m.scrub)(a,["choiceIds"]),s=(0,m.scrub)(s,["choiceIds"]),i.push(a),i.push(s),i}function s(e){return f.default.map(e,function(e){return{id:e.id,delete:!0}})}function u(e,t){var n=(0,h.default)(e,t),r=t.question;return r&&(n.question=(0,c.default)({},n.question,i(e.question,r)),(r.choices||r.correctFeedback||r.incorrectFeedback)&&(t.type&&e.type!==t.type?n.answers=s(f.default.get(e,"originalItem.answers")):n.answers=a(e.question.choices,r.choices,f.default.get(e,"originalItem.answers"),f.default.get(r,"correctFeedback"),f.default.get(r,"incorrectFeedback")))),(0,m.scrub)(n)}Object.defineProperty(t,"__esModule",{value:!0});var l=n(10),c=r(l);t.default=u;var d=n(4),f=r(d),p=n(135),h=r(p),m=n(63),v=n(54),g=r(v),y=n(156),b=r(y)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=p.default.map(e,function(e){var n=t[e.id],r=p.default.get(n,"order");return{id:e.id,text:p.default.get(n,"text")||e.text,order:p.default.isNil(r)?e.order:r,delete:p.default.get(n,"delete")}});return t.new&&n.push({id:(0,_.default)(),text:"",order:n.length}),n}function i(e,t){var n={shuffle:p.default.isNil(t.shuffle)?null:t.shuffle,timeValue:t.timeValue,choices:null};return t.choices&&(n.choices=o(e.choices,t.choices)),(0,v.scrub)(n)}function a(e,t,n){return p.default.isNil(e)?n?y.default.answer.rightAnswer:y.default.answer.wrongAnswer:e===t?y.default.answer.rightAnswer:y.default.answer.wrongAnswer}function s(e,t){var n=null;return p.default.forEach(t,function(e,t){p.default.get(e,"isCorrect")&&(n=t)}),p.default.map(e,function(e){var r=t[e.id];return(0,v.scrub)({id:e.answerId,genusTypeId:a(n,e.id,e.isCorrect),feedback:p.default.get(r,"feedback")||e.feedback,type:y.default.answer.multipleChoice,choiceIds:[e.id],fileIds:p.default.get(r,"fileIds"),delete:p.default.get(r,"delete")})})}function u(e){return p.default.map(e,function(e){return{id:e.id,delete:!0}})}function l(e,t){var n=(0,m.default)(e,t),r=t.question;return r&&(n.question=(0,d.default)({},n.question,i(e.question,r)),r.choices&&(t.type&&e.type!==t.type?n.answers=u(p.default.get(e,"originalItem.answers")):n.answers=s(e.question.choices,r.choices))),(0,v.scrub)(n)}Object.defineProperty(t,"__esModule",{value:!0});var c=n(10),d=r(c);t.default=l;var f=n(4),p=r(f),h=n(135),m=r(h),v=n(63),g=n(54),y=r(g),b=n(156),_=r(b)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=(0,c.default)(e,t),r=t.question;return r&&(r.correctFeedback&&(n.answers=[(0,d.getSingleCorrectAnswer)(e,r)]),r.expectedLines&&(n.question=(0,a.default)({},n.question,{maxStrings:u.default.get(t,"question.maxStrings"),expectedLength:u.default.get(t,"question.expectedLength"),expectedLines:u.default.get(t,"question.expectedLines")}))),(0,d.scrub)(n)}Object.defineProperty(t,"__esModule",{value:!0});var i=n(10),a=r(i);t.default=o;var s=n(4),u=r(s),l=n(135),c=r(l),d=n(63)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(101),i=r(o),a=n(206),s=r(a),u=n(215);t.default=(0,i.default)({},u.Constants.REFRESH_JWT,{method:s.default.GET,url:function(e){return"api/sessions/"+e.userId}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){a.default.each(e,function(e){return t.dispatch(e)})}Object.defineProperty(t,"__esModule",{value:!0}),t.dispatchMany=o;var i=n(4),a=r(i)},,,,,,,,function(e,t,n){var r,o;/*!
-	  Copyright (c) 2016 Jed Watson.
-	  Licensed under the MIT License (MIT), see
-	  http://jedwatson.github.io/classnames
-	*/
-!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r))e.push(n.apply(null,r));else if("object"===o)for(var a in r)i.call(r,a)&&r[a]&&e.push(a)}}return e.join(" ")}var i={}.hasOwnProperty;"undefined"!=typeof e&&e.exports?e.exports=n:(r=[],o=function(){return n}.apply(t,r),!(void 0!==o&&(e.exports=o)))}()},function(e,t,n){"use strict";function r(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}function o(e,t){var n,o,s,u,l,c,d=!1;t||(t={}),n=t.debug||!1;try{s=i(),u=document.createRange(),l=document.getSelection(),c=document.createElement("span"),c.textContent=e,c.setAttribute("style",["all: unset","position: fixed","top: 0","clip: rect(0, 0, 0, 0)","white-space: pre","-webkit-user-select: text","-moz-user-select: text","-ms-user-select: text","user-select: text"].join(";")),document.body.appendChild(c),u.selectNode(c),l.addRange(u);var f=document.execCommand("copy");if(!f)throw new Error("copy command was unsuccessful");d=!0}catch(i){n&&console.error("unable to copy using execCommand: ",i),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData("text",e),d=!0}catch(i){n&&console.error("unable to copy using clipboardData: ",i),n&&console.error("falling back to prompt"),o=r("message"in t?t.message:a),window.prompt(o,e)}}finally{l&&("function"==typeof l.removeRange?l.removeRange(u):l.removeAllRanges()),c&&document.body.removeChild(c),s()}return d}var i=n(1481),a="Copy to clipboard: #{key}, Enter";e.exports=o},,,,,,,,,,,,function(e,t){function n(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function r(e){if(!(this instanceof r))return new r(e);e||(e={}),e.nodeType&&(e={el:e}),this.opts=e,this.el=e.el||document.body,"object"!=typeof this.el&&(this.el=document.querySelector(this.el))}e.exports=function(e){return new r(e)},r.prototype.add=function(e){var t=this.el;if(t){if(""===t.className)return t.className=e;var r=t.className.split(" ");return n(r,e)>-1?r:(r.push(e),t.className=r.join(" "),r)}},r.prototype.remove=function(e){var t=this.el;if(t&&""!==t.className){var r=t.className.split(" "),o=n(r,e);return o>-1&&r.splice(o,1),t.className=r.join(" "),r}},r.prototype.has=function(e){var t=this.el;if(t){var r=t.className.split(" ");return n(r,e)>-1}},r.prototype.toggle=function(e){var t=this.el;t&&(this.has(e)?this.remove(e):this.add(e))}},function(e,t,n){var r;/*!
-	  Copyright (c) 2015 Jed Watson.
-	  Based on code that is Copyright 2013-2015, Facebook, Inc.
-	  All rights reserved.
-	*/
-!function(){"use strict";var o=!("undefined"==typeof window||!window.document||!window.document.createElement),i={canUseDOM:o,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:o&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:o&&!!window.screen};r=function(){return i}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}()},,,,,,,function(e,t,n){"use strict";function r(e){return function(){return e}}function o(e,t,n,r,o,i,a,s){if(b(t),!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,o,i,a,s],c=0;u=new Error(t.replace(/%s/g,function(){return l[c++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}}function i(e){var t=e&&(x&&e[x]||e[E]);if("function"==typeof t)return t}function a(e){var t=/[=:]/g,n={"=":"=0",":":"=2"},r=(""+e).replace(t,function(e){return n[e]});return"$"+r}function s(e,t){return e&&"object"==typeof e&&null!=e.key?a(e.key):t.toString(36)}function u(e,t,n,r){var a=typeof e;if("undefined"!==a&&"boolean"!==a||(e=null),null===e||"string"===a||"number"===a||"object"===a&&e.$$typeof===g)return n(r,e,""===t?w+s(e,0):t),1;var l,c,d=0,f=""===t?w:t+C;if(Array.isArray(e))for(var p=0;p<e.length;p++)l=e[p],c=f+s(l,p),d+=u(l,c,n,r);else{var h=i(e);if(h)for(var m,v=h.call(e),y=0;!(m=v.next()).done;)l=m.value,c=f+s(l,y++),d+=u(l,c,n,r);else if("object"===a){var b="",_=""+e;o(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===_?"object with keys {"+Object.keys(e).join(", ")+"}":_,b)}}return d}function l(e,t,n){return null==e?0:u(e,"",t,n)}function c(e){return(""+e).replace(T,"$&/")}function d(e,t){return v.cloneElement(e,{key:t},void 0!==e.props?e.props.children:void 0)}function f(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function p(e,t,n){var r=e.result,o=e.keyPrefix,i=e.func,a=e.context,s=i.call(a,t,e.count++);Array.isArray(s)?h(s,r,n,y.thatReturnsArgument):null!=s&&(v.isValidElement(s)&&(s=d(s,o+(!s.key||t&&t.key===s.key?"":c(s.key)+"/")+n)),r.push(s))}function h(e,t,n,r,o){var i="";null!=n&&(i=c(n)+"/");var a=f.getPooled(t,i,r,o);l(e,p,a),f.release(a)}function m(e){if("object"!=typeof e||!e||Array.isArray(e))return _(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(v.isValidElement(e))return _(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;o(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)h(e[n],t,n,y.thatReturnsArgument);return t}var v=n(1),g="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,y=function(){};y.thatReturns=r,y.thatReturnsFalse=r(!1),y.thatReturnsTrue=r(!0),y.thatReturnsNull=r(null),y.thatReturnsThis=function(){return this},y.thatReturnsArgument=function(e){return e};var b=function(e){},_=y,w=".",C=":",x="function"==typeof Symbol&&Symbol.iterator,E="@@iterator",T=/\/+/g,k=10,S=M,M=function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)},O=function(e,t){var n=e;return n.instancePool=[],n.getPooled=t||S,n.poolSize||(n.poolSize=k),n.release=A,n},A=function(e){var t=this;o(e instanceof t,"Trying to release an instance into a pool of a different type."),e.destructor(),t.instancePool.length<t.poolSize&&t.instancePool.push(e)},N=function(e,t,n,r){var o=this;if(o.instancePool.length){var i=o.instancePool.pop();return o.call(i,e,t,n,r),i}return new o(e,t,n,r)};f.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},O(f,N);e.exports=m},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}Object.defineProperty(t,"__esModule",{value:!0}),t.CopyToClipboard=void 0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(1),s=r(a),u=n(1401),l=r(u);t.CopyToClipboard=s.default.createClass({displayName:"CopyToClipboard",propTypes:{text:s.default.PropTypes.string.isRequired,children:s.default.PropTypes.element.isRequired,onCopy:s.default.PropTypes.func,options:s.default.PropTypes.shape({debug:s.default.PropTypes.bool,message:s.default.PropTypes.string})},onClick:function(e){var t=this.props,n=t.text,r=t.onCopy,o=t.children,i=t.options,a=s.default.Children.only(o);(0,l.default)(n,i),r&&r(n),a&&a.props&&"function"==typeof a.props.onClick&&a.props.onClick(e)},render:function(){var e=this.props,t=(e.text,e.onCopy,e.options,e.children),n=o(e,["text","onCopy","options","children"]),r=s.default.Children.only(t);return s.default.cloneElement(r,i({},n,{onClick:this.onClick}))}})},function(e,t,n){"use strict";var r=n(1422),o=r.CopyToClipboard;e.exports=o},function(e,t,n){function r(e){return e()}var o=n(1),i=n(103),a=n(1414),s=o.createFactory(n(1425)),u=n(1426),l=n(1413),c=n(103).unstable_renderSubtreeIntoContainer,d=n(1239),f=a.canUseDOM?window.HTMLElement:{},p=a.canUseDOM?document.body:{appendChild:function(){}},h=o.createClass({displayName:"Modal",statics:{setAppElement:function(e){p=u.setElement(e)},injectCSS:function(){}},propTypes:{isOpen:o.PropTypes.bool.isRequired,style:o.PropTypes.shape({content:o.PropTypes.object,overlay:o.PropTypes.object}),portalClassName:o.PropTypes.string,appElement:o.PropTypes.instanceOf(f),onAfterOpen:o.PropTypes.func,onRequestClose:o.PropTypes.func,closeTimeoutMS:o.PropTypes.number,ariaHideApp:o.PropTypes.bool,shouldCloseOnOverlayClick:o.PropTypes.bool,parentSelector:o.PropTypes.func,role:o.PropTypes.string,contentLabel:o.PropTypes.string.isRequired},getDefaultProps:function(){return{isOpen:!1,portalClassName:"ReactModalPortal",ariaHideApp:!0,closeTimeoutMS:0,shouldCloseOnOverlayClick:!0,parentSelector:function(){return document.body}}},componentDidMount:function(){this.node=document.createElement("div"),this.node.className=this.props.portalClassName;var e=r(this.props.parentSelector);e.appendChild(this.node),this.renderPortal(this.props)},componentWillReceiveProps:function(e){var t=r(this.props.parentSelector),n=r(e.parentSelector);n!==t&&(t.removeChild(this.node),n.appendChild(this.node)),this.renderPortal(e)},componentWillUnmount:function(){this.props.ariaHideApp&&u.show(this.props.appElement);var e=this.portal.state,t=Date.now(),n=e.isOpen&&this.props.closeTimeoutMS&&(e.closesAt||t+this.props.closeTimeoutMS);if(n){e.beforeClose||this.portal.closeWithTimeout();var r=this;setTimeout(function(){r.removePortal()},n-t)}else this.removePortal()},removePortal:function(){i.unmountComponentAtNode(this.node);var e=r(this.props.parentSelector);e.removeChild(this.node),l(document.body).remove("ReactModal__Body--open")},renderPortal:function(e){e.isOpen?l(document.body).add("ReactModal__Body--open"):l(document.body).remove("ReactModal__Body--open"),e.ariaHideApp&&u.toggle(e.isOpen,e.appElement),this.portal=c(this,s(d({},e,{defaultStyles:h.defaultStyles})),this.node)},render:function(){return o.DOM.noscript()}});h.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},e.exports=h},function(e,t,n){var r=n(1),o=r.DOM.div,i=n(1427),a=n(1428),s=n(1239),u={overlay:{base:"ReactModal__Overlay",afterOpen:"ReactModal__Overlay--after-open",beforeClose:"ReactModal__Overlay--before-close"},content:{base:"ReactModal__Content",afterOpen:"ReactModal__Content--after-open",beforeClose:"ReactModal__Content--before-close"}};e.exports=r.createClass({displayName:"ModalPortal",shouldClose:null,getDefaultProps:function(){return{style:{overlay:{},content:{}}}},getInitialState:function(){return{afterOpen:!1,beforeClose:!1}},componentDidMount:function(){this.props.isOpen&&(this.setFocusAfterRender(!0),this.open())},componentWillUnmount:function(){clearTimeout(this.closeTimer)},componentWillReceiveProps:function(e){!this.props.isOpen&&e.isOpen?(this.setFocusAfterRender(!0),this.open()):this.props.isOpen&&!e.isOpen&&this.close()},componentDidUpdate:function(){this.focusAfterRender&&(this.focusContent(),this.setFocusAfterRender(!1))},setFocusAfterRender:function(e){this.focusAfterRender=e},afterClose:function(){i.returnFocus(),i.teardownScopedFocus()},open:function(){this.state.afterOpen&&this.state.beforeClose?(clearTimeout(this.closeTimer),this.setState({beforeClose:!1})):(i.setupScopedFocus(this.node),i.markForFocusLater(),this.setState({isOpen:!0},function(){this.setState({afterOpen:!0}),this.props.isOpen&&this.props.onAfterOpen&&this.props.onAfterOpen()}.bind(this)))},close:function(){this.props.closeTimeoutMS>0?this.closeWithTimeout():this.closeWithoutTimeout()},focusContent:function(){this.contentHasFocus()||this.refs.content.focus()},closeWithTimeout:function(){var e=Date.now()+this.props.closeTimeoutMS;this.setState({beforeClose:!0,closesAt:e},function(){this.closeTimer=setTimeout(this.closeWithoutTimeout,this.state.closesAt-Date.now())}.bind(this))},closeWithoutTimeout:function(){this.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},this.afterClose)},handleKeyDown:function(e){9==e.keyCode&&a(this.refs.content,e),27==e.keyCode&&(e.preventDefault(),this.requestClose(e))},handleOverlayOnClick:function(e){null===this.shouldClose&&(this.shouldClose=!0),this.shouldClose&&this.props.shouldCloseOnOverlayClick&&(this.ownerHandlesClose()?this.requestClose(e):this.focusContent()),this.shouldClose=null},handleContentOnClick:function(){this.shouldClose=!1},requestClose:function(e){this.ownerHandlesClose()&&this.props.onRequestClose(e)},ownerHandlesClose:function(){return this.props.onRequestClose},shouldBeClosed:function(){return!this.state.isOpen&&!this.state.beforeClose},contentHasFocus:function(){return document.activeElement===this.refs.content||this.refs.content.contains(document.activeElement)},buildClassName:function(e,t){var n=u[e].base;return this.state.afterOpen&&(n+=" "+u[e].afterOpen),this.state.beforeClose&&(n+=" "+u[e].beforeClose),t?n+" "+t:n},render:function(){var e=this.props.className?{}:this.props.defaultStyles.content,t=this.props.overlayClassName?{}:this.props.defaultStyles.overlay;return this.shouldBeClosed()?o():o({ref:"overlay",className:this.buildClassName("overlay",this.props.overlayClassName),style:s({},t,this.props.style.overlay||{}),onClick:this.handleOverlayOnClick},o({ref:"content",style:s({},e,this.props.style.content||{}),className:this.buildClassName("content",this.props.className),tabIndex:"-1",onKeyDown:this.handleKeyDown,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.props.children))}})},function(e,t){function n(e){if("string"==typeof e){var t=document.querySelectorAll(e);e="length"in t?t[0]:t}return u=e||u}function r(e){a(e),(e||u).setAttribute("aria-hidden","true")}function o(e){a(e),(e||u).removeAttribute("aria-hidden")}function i(e,t){e?r(t):o(t)}function a(e){if(!e&&!u)throw new Error("react-modal: You must set an element with `Modal.setAppElement(el)` to make this accessible")}function s(){u=document.body}var u="undefined"!=typeof document?document.body:null;t.toggle=i,t.setElement=n,t.show=o,t.hide=r,t.resetForTesting=s},function(e,t,n){function r(e){u=!0}function o(e){if(u){if(u=!1,!s)return;setTimeout(function(){if(!s.contains(document.activeElement)){var e=i(s)[0]||s;e.focus()}},0)}}var i=n(1240),a=[],s=null,u=!1;t.markForFocusLater=function(){a.push(document.activeElement)},t.returnFocus=function(){var e=null;try{return e=a.pop(),void e.focus()}catch(t){console.warn("You tried to return focus to "+e+" but it is not in the DOM anymore")}},t.setupScopedFocus=function(e){s=e,window.addEventListener?(window.addEventListener("blur",r,!1),document.addEventListener("focus",o,!0)):(window.attachEvent("onBlur",r),document.attachEvent("onFocus",o))},t.teardownScopedFocus=function(){s=null,window.addEventListener?(window.removeEventListener("blur",r),document.removeEventListener("focus",o)):(window.detachEvent("onBlur",r),document.detachEvent("onFocus",o))}},function(e,t,n){var r=n(1240);e.exports=function(e,t){var n=r(e);if(!n.length)return void t.preventDefault();var o=n[t.shiftKey?0:n.length-1],i=o===document.activeElement||e===document.activeElement;if(i){t.preventDefault();var a=n[t.shiftKey?n.length-1:0];a.focus()}}},function(e,t,n){e.exports=n(1424)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(1),l=r(u),c=function(e){function t(){return o(this,t),i(this,Object.getPrototypeOf(t).apply(this,arguments))}return a(t,e),s(t,[{key:"render",value:function(){var e=this.props.breakLabel,t=this.props.breakClassName||"break";return l.default.createElement("li",{className:t},e)}}]),t}(l.default.Component);t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(1),l=r(u),c=function(e){function t(){return o(this,t),i(this,Object.getPrototypeOf(t).apply(this,arguments))}return a(t,e),s(t,[{key:"render",value:function(){var e=this.props.pageClassName,t=this.props.pageLinkClassName,n=this.props.onClick,r=this.props.href,o="Page "+this.props.page+(this.props.extraAriaContext?" "+this.props.extraAriaContext:""),i=null;return this.props.selected&&(i="page",o="Page "+this.props.page+" is your current page",e="undefined"!=typeof e?e+" "+this.props.activeClassName:this.props.activeClassName),l.default.createElement("li",{className:e},l.default.createElement("a",{onClick:n,className:t,href:r,tabIndex:"0","aria-label":o,"aria-current":i,onKeyPress:n},this.props.page))}}]),t}(l.default.Component);t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(1),c=r(l),d=n(1400),f=r(d),p=n(1421),h=r(p),m=n(1431),v=r(m),g=n(1430),y=r(g),b=function(e){function t(e){i(this,t);var n=a(this,Object.getPrototypeOf(t).call(this,e));return n.handlePreviousPage=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1,n.state.selected>0&&n.handlePageSelected(n.state.selected-1,e)},n.handleNextPage=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1,n.state.selected<n.props.pageCount-1&&n.handlePageSelected(n.state.selected+1,e)},n.handlePageSelected=function(e,t){t.preventDefault?t.preventDefault():t.returnValue=!1,n.state.selected!==e&&(n.setState({selected:e}),n.callCallback(e))},n.callCallback=function(e){"undefined"!=typeof n.props.onPageChange&&"function"==typeof n.props.onPageChange&&n.props.onPageChange({selected:e})},n.pagination=function(){var e={};if(n.props.pageCount<=n.props.pageRangeDisplayed)for(var t=0;t<n.props.pageCount;t++)e["key"+t]=n.getPageElement(t);else{var r=n.props.pageRangeDisplayed/2,o=n.props.pageRangeDisplayed-r;n.state.selected>n.props.pageCount-n.props.pageRangeDisplayed/2?(o=n.props.pageCount-n.state.selected,r=n.props.pageRangeDisplayed-o):n.state.selected<n.props.pageRangeDisplayed/2&&(r=n.state.selected,o=n.props.pageRangeDisplayed-r);var i=void 0,a=void 0,s=void 0;for(i=0;i<n.props.pageCount;i++){a=i+1;var u=n.getPageElement(i);if(a<=n.props.marginPagesDisplayed)e["key"+i]=u;else if(a>n.props.pageCount-n.props.marginPagesDisplayed)e["key"+i]=u;else if(i>=n.state.selected-r&&i<=n.state.selected+o)e["key"+i]=u;else{var l=Object.keys(e),d=l[l.length-1],f=e[d];n.props.breakLabel&&f!==s&&(s=c.default.createElement(y.default,{breakLabel:n.props.breakLabel,breakClassName:n.props.breakClassName}),e["key"+i]=s)}}}return e},n.state={selected:e.initialPage?e.initialPage:e.forcePage?e.forcePage:0},n}return s(t,e),u(t,[{key:"componentDidMount",value:function(){"undefined"==typeof this.props.initialPage||this.props.disableInitialCallback||this.callCallback(this.props.initialPage)}},{key:"componentWillReceiveProps",value:function(e){"undefined"!=typeof e.forcePage&&this.props.forcePage!==e.forcePage&&this.setState({selected:e.forcePage})}},{key:"hrefBuilder",value:function(e){if(this.props.hrefBuilder&&e!==this.state.selected&&e>=0&&e<this.props.pageCount)return this.props.hrefBuilder(e+1)}},{key:"getPageElement",value:function(e){return c.default.createElement(v.default,{onClick:this.handlePageSelected.bind(null,e),selected:this.state.selected===e,pageClassName:this.props.pageClassName,pageLinkClassName:this.props.pageLinkClassName,activeClassName:this.props.activeClassName,extraAriaContext:this.props.extraAriaContext,href:this.hrefBuilder(e),page:e+1})}},{key:"render",value:function(){var e=this.props.disabledClassName,t=(0,f.default)(this.props.previousClassName,o({},e,0===this.state.selected)),n=(0,f.default)(this.props.nextClassName,o({},e,this.state.selected===this.props.pageCount-1));return c.default.createElement("ul",{className:this.props.containerClassName},c.default.createElement("li",{className:t},c.default.createElement("a",{onClick:this.handlePreviousPage,className:this.props.previousLinkClassName,href:this.hrefBuilder(this.state.selected-1),tabIndex:"0",onKeyPress:this.handlePreviousPage},this.props.previousLabel)),(0,h.default)(this.pagination()),c.default.createElement("li",{className:n},c.default.createElement("a",{onClick:this.handleNextPage,className:this.props.nextLinkClassName,href:this.hrefBuilder(this.state.selected+1),tabIndex:"0",onKeyPress:this.handleNextPage},this.props.nextLabel)))}}]),t}(l.Component);b.propTypes={pageCount:l.PropTypes.number.isRequired,pageRangeDisplayed:l.PropTypes.number.isRequired,marginPagesDisplayed:l.PropTypes.number.isRequired,previousLabel:l.PropTypes.node,nextLabel:l.PropTypes.node,breakLabel:l.PropTypes.node,hrefBuilder:l.PropTypes.func,onPageChange:l.PropTypes.func,initialPage:l.PropTypes.number,forcePage:l.PropTypes.number,disableInitialCallback:l.PropTypes.bool,containerClassName:l.PropTypes.string,pageClassName:l.PropTypes.string,pageLinkClassName:l.PropTypes.string,activeClassName:l.PropTypes.string,previousClassName:l.PropTypes.string,nextClassName:l.PropTypes.string,previousLinkClassName:l.PropTypes.string,nextLinkClassName:l.PropTypes.string,disabledClassName:l.PropTypes.string,breakClassName:l.PropTypes.string},b.defaultProps={pageCount:10,pageRangeDisplayed:2,marginPagesDisplayed:3,activeClassName:"selected",previousClassName:"previous",nextClassName:"next",previousLabel:"Previous",nextLabel:"Next",breakLabel:"...",disabledClassName:"disabled",disableInitialCallback:!1},t.default=b},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var o=n(1432),i=r(o);e.exports=i.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var o=n(1),i=r(o),a=n(103),s=n(1462),u=r(s),l=n(1461),c=r(l),d=n(1436),f=r(d),p=n(1435),h=r(p),m=["focusin","focusout","click","dblclick","mousedown","mouseup","mousemove","mouseover","beforepaste","paste","cut","copy","selectionchange","mouseout","mouseenter","mouseleave","keydown","keypress","keyup","contextmenu","dragend","dragover","draggesture","dragdrop","drop","drag","BeforeRenderUI","SetAttrib","PreInit","PostRender","init","deactivate","activate","NodeChange","BeforeExecCommand","ExecCommand","show","hide","ProgressState","LoadContent","SaveContent","BeforeSetContent","SetContent","BeforeGetContent","GetContent","VisualAid","remove","submit","reset","BeforeAddUndo","AddUndo","change","undo","redo","ClearUndos","ObjectSelected","ObjectResizeStart","ObjectResized","PreProcess","PostProcess","focus","blur","dirty"],v=m.map(function(e){return"on"+(0,h.default)(e)}),g=i.default.createClass({displayName:"TinyMCE",propTypes:{config:i.default.PropTypes.object,content:i.default.PropTypes.string,id:i.default.PropTypes.string,className:i.default.PropTypes.string},getDefaultProps:function(){return{config:{},content:""}},componentWillMount:function(){this.id=this.id||this.props.id||(0,f.default)()},componentDidMount:function(){var e=(0,c.default)(this.props.config);this._init(e)},componentWillReceiveProps:function(e){(0,u.default)(this.props.config,e.config)||this._init(e.config,e.content),(0,u.default)(this.props.id,e.id)||(this.id=e.id)},shouldComponentUpdate:function(e){return!(0,u.default)(this.props.content,e.content)||!(0,u.default)(this.props.config,e.config)},componentWillUnmount:function(){this._remove()},render:function(){return this.props.config.inline?i.default.createElement("div",{id:this.id,className:this.props.className,dangerouslySetInnerHTML:{__html:this.props.content}}):i.default.createElement("textarea",{id:this.id,className:this.props.className,defaultValue:this.props.content})},_init:function(e,t){var n=this;this._isInit&&this._remove(),(0,a.findDOMNode)(this).style.hidden="hidden";var r=e.setup,o="function"==typeof r;e.selector="#"+this.id,e.setup=function(e){m.forEach(function(t,r){var o=n.props[v[r]];"function"==typeof o&&e.on(t,function(t){o(t,e)})}),t&&e.on("init",function(){e.setContent(t)}),o&&r(e)},tinymce.init(e),(0,a.findDOMNode)(this).style.hidden="",this._isInit=!0},_remove:function(){tinymce.EditorManager.execCommand("mceRemoveEditor",!0,this.id),this._isInit=!1}});v.forEach(function(e){g.propTypes[e]=i.default.PropTypes.func}),e.exports=g},function(e,t){"use strict";function n(e){return e[0].toUpperCase()+e.substring(1)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n,e.exports=t.default},function(e,t){"use strict";var n=0;e.exports=function(){return"react-tinymce-"+n++}},function(e,t,n){"use strict";e.exports=n(1434)},function(e,t){function n(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}e.exports=n},function(e,t){function n(e,t){for(var n=-1,r=e.length;++n<r&&t(e[n],n,e)!==!1;);return e}e.exports=n},function(e,t){function n(e,t){for(var n=-1,r=e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}e.exports=n},function(e,t,n){function r(e,t){return null==t?e:o(t,i(t),e)}var o=n(1443),i=n(1106);e.exports=r},function(e,t,n){function r(e,t,n,h,m,v,g){var b;if(n&&(b=m?n(e,h,m):n(e)),void 0!==b)return b;if(!f(e))return e;var _=d(e);if(_){if(b=u(e),!t)return o(e,b)}else{var C=B.call(e),x=C==y;if(C!=w&&C!=p&&(!x||m))return j[C]?l(e,C,t):m?e:{};if(b=c(x?{}:e),!t)return a(b,e)}v||(v=[]),g||(g=[]);for(var E=v.length;E--;)if(v[E]==e)return g[E];return v.push(e),g.push(b),(_?i:s)(e,function(o,i){b[i]=r(o,t,n,i,e,v,g)}),b}var o=n(1438),i=n(1439),a=n(1441),s=n(1445),u=n(1455),l=n(1456),c=n(1457),d=n(503),f=n(305),p="[object Arguments]",h="[object Array]",m="[object Boolean]",v="[object Date]",g="[object Error]",y="[object Function]",b="[object Map]",_="[object Number]",w="[object Object]",C="[object RegExp]",x="[object Set]",E="[object String]",T="[object WeakMap]",k="[object ArrayBuffer]",S="[object Float32Array]",M="[object Float64Array]",O="[object Int8Array]",A="[object Int16Array]",N="[object Int32Array]",I="[object Uint8Array]",P="[object Uint8ClampedArray]",D="[object Uint16Array]",R="[object Uint32Array]",j={};j[p]=j[h]=j[k]=j[m]=j[v]=j[S]=j[M]=j[O]=j[A]=j[N]=j[_]=j[w]=j[C]=j[E]=j[I]=j[P]=j[D]=j[R]=!0,j[g]=j[y]=j[b]=j[x]=j[T]=!1;var L=Object.prototype,B=L.toString;e.exports=r},function(e,t){function n(e,t,n){n||(n={});for(var r=-1,o=t.length;++r<o;){var i=t[r];n[i]=e[i]}return n}e.exports=n},function(e,t,n){var r=n(1450),o=r();e.exports=o},function(e,t,n){function r(e,t){return o(e,t,i)}var o=n(1444),i=n(1106);e.exports=r},function(e,t,n){function r(e,t,n,s,u,l){return e===t||(null==e||null==t||!i(e)&&!a(t)?e!==e&&t!==t:o(e,t,r,n,s,u,l))}var o=n(1447),i=n(305),a=n(465);e.exports=r},function(e,t,n){function r(e,t,n,r,f,m,v){var g=s(e),y=s(t),b=c,_=c;g||(b=h.call(e),b==l?b=d:b!=d&&(g=u(e))),y||(_=h.call(t),_==l?_=d:_!=d&&(y=u(t)));var w=b==d,C=_==d,x=b==_;if(x&&!g&&!w)return i(e,t,b);if(!f){var E=w&&p.call(e,"__wrapped__"),T=C&&p.call(t,"__wrapped__");if(E||T)return n(E?e.value():e,T?t.value():t,r,f,m,v)}if(!x)return!1;m||(m=[]),v||(v=[]);for(var k=m.length;k--;)if(m[k]==e)return v[k]==t;m.push(e),v.push(t);var S=(g?o:a)(e,t,n,r,f,m,v);return m.pop(),v.pop(),S}var o=n(1451),i=n(1452),a=n(1453),s=n(503),u=n(1465),l="[object Arguments]",c="[object Array]",d="[object Object]",f=Object.prototype,p=f.hasOwnProperty,h=f.toString;e.exports=r},function(e,t){function n(e){return function(t){return null==t?void 0:t[e]}}e.exports=n},function(e,t){(function(t){function n(e){var t=new r(e.byteLength),n=new o(t);return n.set(new o(e)),t}var r=t.ArrayBuffer,o=t.Uint8Array;e.exports=n}).call(t,function(){return this}())},function(e,t,n){function r(e){return function(t,n,r){for(var i=o(t),a=r(t),s=a.length,u=e?s:-1;e?u--:++u<s;){var l=a[u];if(n(i[l],l,i)===!1)break}return t}}var o=n(1460);e.exports=r},function(e,t,n){function r(e,t,n,r,i,a,s){var u=-1,l=e.length,c=t.length;if(l!=c&&!(i&&c>l))return!1;for(;++u<l;){var d=e[u],f=t[u],p=r?r(i?f:d,i?d:f,u):void 0;if(void 0!==p){if(p)continue;return!1}if(i){if(!o(t,function(e){return d===e||n(d,e,r,i,a,s)}))return!1}else if(d!==f&&!n(d,f,r,i,a,s))return!1}return!0}var o=n(1440);e.exports=r},function(e,t){function n(e,t,n){switch(n){case r:case o:return+e==+t;case i:return e.name==t.name&&e.message==t.message;case a:return e!=+e?t!=+t:e==+t;case s:case u:return e==t+""}return!1}var r="[object Boolean]",o="[object Date]",i="[object Error]",a="[object Number]",s="[object RegExp]",u="[object String]";e.exports=n},function(e,t,n){function r(e,t,n,r,i,s,u){var l=o(e),c=l.length,d=o(t),f=d.length;if(c!=f&&!i)return!1;for(var p=c;p--;){var h=l[p];if(!(i?h in t:a.call(t,h)))return!1}for(var m=i;++p<c;){h=l[p];var v=e[h],g=t[h],y=r?r(i?g:v,i?v:g,h):void 0;if(!(void 0===y?n(v,g,r,i,s,u):y))return!1;m||(m="constructor"==h)}if(!m){var b=e.constructor,_=t.constructor;if(b!=_&&"constructor"in e&&"constructor"in t&&!("function"==typeof b&&b instanceof b&&"function"==typeof _&&_ instanceof _))return!1}return!0}var o=n(1106),i=Object.prototype,a=i.hasOwnProperty;e.exports=r},function(e,t,n){var r=n(1448),o=r("length");e.exports=o},function(e,t){function n(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&o.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var r=Object.prototype,o=r.hasOwnProperty;e.exports=n},function(e,t,n){function r(e,t,n){var r=e.constructor;switch(t){case c:return o(e);case i:case a:return new r(+e);case d:case f:case p:case h:case m:case v:case g:case y:case b:var w=e.buffer;return new r(n?o(w):w,e.byteOffset,e.length);case s:case l:return new r(e);case u:var C=new r(e.source,_.exec(e));C.lastIndex=e.lastIndex}return C}var o=n(1449),i="[object Boolean]",a="[object Date]",s="[object Number]",u="[object RegExp]",l="[object String]",c="[object ArrayBuffer]",d="[object Float32Array]",f="[object Float64Array]",p="[object Int8Array]",h="[object Int16Array]",m="[object Int32Array]",v="[object Uint8Array]",g="[object Uint8ClampedArray]",y="[object Uint16Array]",b="[object Uint32Array]",_=/\w*$/;e.exports=r},function(e,t){function n(e){var t=e.constructor;return"function"==typeof t&&t instanceof t||(t=Object),new t}e.exports=n},function(e,t,n){function r(e,t,n){if(!a(n))return!1;var r=typeof t;if("number"==r?o(n)&&i(t,n.length):"string"==r&&t in n){var s=n[t];return e===e?e===s:s!==s}return!1}var o=n(1104),i=n(1105),a=n(305);e.exports=r},function(e,t,n){function r(e){for(var t=u(e),n=t.length,r=n&&e.length,l=!!r&&s(r)&&(i(e)||o(e)),d=-1,f=[];++d<n;){var p=t[d];(l&&a(p,r)||c.call(e,p))&&f.push(p)}return f}var o=n(1243),i=n(503),a=n(1105),s=n(464),u=n(1466),l=Object.prototype,c=l.hasOwnProperty;e.exports=r},function(e,t,n){function r(e){return o(e)?e:Object(e)}var o=n(305);e.exports=r},function(e,t,n){function r(e,t,n,r){return t&&"boolean"!=typeof t&&a(e,t,n)?t=!1:"function"==typeof t&&(r=n,n=t,t=!1),"function"==typeof n?o(e,t,i(n,r,3)):o(e,t)}var o=n(1442),i=n(1241),a=n(1458);e.exports=r},function(e,t,n){function r(e,t,n,r){n="function"==typeof n?i(n,r,3):void 0;var a=n?n(e,t):void 0;return void 0===a?o(e,t,n):!!a}var o=n(1446),i=n(1241);e.exports=r},function(e,t,n){function r(e){return o(e)&&s.call(e)==i}var o=n(305),i="[object Function]",a=Object.prototype,s=a.toString;e.exports=r},function(e,t,n){function r(e){return null!=e&&(o(e)?c.test(u.call(e)):i(e)&&a.test(e))}var o=n(1463),i=n(465),a=/^\[object .+?Constructor\]$/,s=Object.prototype,u=Function.prototype.toString,l=s.hasOwnProperty,c=RegExp("^"+u.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=r},function(e,t,n){function r(e){return i(e)&&o(e.length)&&!!O[N.call(e)]}var o=n(464),i=n(465),a="[object Arguments]",s="[object Array]",u="[object Boolean]",l="[object Date]",c="[object Error]",d="[object Function]",f="[object Map]",p="[object Number]",h="[object Object]",m="[object RegExp]",v="[object Set]",g="[object String]",y="[object WeakMap]",b="[object ArrayBuffer]",_="[object Float32Array]",w="[object Float64Array]",C="[object Int8Array]",x="[object Int16Array]",E="[object Int32Array]",T="[object Uint8Array]",k="[object Uint8ClampedArray]",S="[object Uint16Array]",M="[object Uint32Array]",O={};O[_]=O[w]=O[C]=O[x]=O[E]=O[T]=O[k]=O[S]=O[M]=!0,
-O[a]=O[s]=O[b]=O[u]=O[l]=O[c]=O[d]=O[f]=O[p]=O[h]=O[m]=O[v]=O[g]=O[y]=!1;var A=Object.prototype,N=A.toString;e.exports=r},function(e,t,n){function r(e){if(null==e)return[];u(e)||(e=Object(e));var t=e.length;t=t&&s(t)&&(i(e)||o(e))&&t||0;for(var n=e.constructor,r=-1,l="function"==typeof n&&n.prototype===e,d=Array(t),f=t>0;++r<t;)d[r]=r+"";for(var p in e)f&&a(p,t)||"constructor"==p&&(l||!c.call(e,p))||d.push(p);return d}var o=n(1243),i=n(503),a=n(1105),s=n(464),u=n(305),l=Object.prototype,c=l.hasOwnProperty;e.exports=r},function(e,t){function n(e){return e}e.exports=n},function(e,t,n){(function(e,t){!function(e,n){"use strict";function r(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var r={callback:e,args:t};return m[h]=r,p(h),h++}function o(e){delete m[e]}function i(e){var t=e.callback,r=e.args;switch(r.length){case 0:t();break;case 1:t(r[0]);break;case 2:t(r[0],r[1]);break;case 3:t(r[0],r[1],r[2]);break;default:t.apply(n,r)}}function a(e){if(v)setTimeout(a,0,e);else{var t=m[e];if(t){v=!0;try{i(t)}finally{o(e),v=!1}}}}function s(){p=function(e){t.nextTick(function(){a(e)})}}function u(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}function l(){var t="setImmediate$"+Math.random()+"$",n=function(n){n.source===e&&"string"==typeof n.data&&0===n.data.indexOf(t)&&a(+n.data.slice(t.length))};e.addEventListener?e.addEventListener("message",n,!1):e.attachEvent("onmessage",n),p=function(n){e.postMessage(t+n,"*")}}function c(){var e=new MessageChannel;e.port1.onmessage=function(e){var t=e.data;a(t)},p=function(t){e.port2.postMessage(t)}}function d(){var e=g.documentElement;p=function(t){var n=g.createElement("script");n.onreadystatechange=function(){a(t),n.onreadystatechange=null,e.removeChild(n),n=null},e.appendChild(n)}}function f(){p=function(e){setTimeout(a,0,e)}}if(!e.setImmediate){var p,h=1,m={},v=!1,g=e.document,y=Object.getPrototypeOf&&Object.getPrototypeOf(e);y=y&&y.setTimeout?y:e,"[object process]"==={}.toString.call(e.process)?s():u()?l():e.MessageChannel?c():g&&"onreadystatechange"in g.createElement("script")?d():f(),y.setImmediate=r,y.clearImmediate=o}}("undefined"==typeof self?"undefined"==typeof e?this:e:self)}).call(t,function(){return this}(),n(159))},function(e,t,n){function r(e,t){this._id=e,this._clearFn=t}var o=Function.prototype.apply;t.setTimeout=function(){return new r(o.call(setTimeout,window,arguments),clearTimeout)},t.setInterval=function(){return new r(o.call(setInterval,window,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(window,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n(1468),t.setImmediate=setImmediate,t.clearImmediate=clearImmediate},function(e,t){tinymce.PluginManager.add("autolink",function(e){function t(e){o(e,-1,"(",!0)}function n(e){o(e,0,"",!0)}function r(e){o(e,-1,"",!1)}function o(e,t,n){function r(e,t){if(t<0&&(t=0),3==e.nodeType){var n=e.data.length;t>n&&(t=n)}return t}function o(e,t){1!=e.nodeType||e.hasChildNodes()?s.setStart(e,r(e,t)):s.setStartBefore(e)}function i(e,t){1!=e.nodeType||e.hasChildNodes()?s.setEnd(e,r(e,t)):s.setEndAfter(e)}var s,u,l,c,d,f,p,h,m,v;if("A"!=e.selection.getNode().tagName){if(s=e.selection.getRng(!0).cloneRange(),s.startOffset<5){if(h=s.endContainer.previousSibling,!h){if(!s.endContainer.firstChild||!s.endContainer.firstChild.nextSibling)return;h=s.endContainer.firstChild.nextSibling}if(m=h.length,o(h,m),i(h,m),s.endOffset<5)return;u=s.endOffset,c=h}else{if(c=s.endContainer,3!=c.nodeType&&c.firstChild){for(;3!=c.nodeType&&c.firstChild;)c=c.firstChild;3==c.nodeType&&(o(c,0),i(c,c.nodeValue.length))}u=1==s.endOffset?2:s.endOffset-1-t}l=u;do o(c,u>=2?u-2:0),i(c,u>=1?u-1:0),u-=1,v=s.toString();while(" "!=v&&""!==v&&160!=v.charCodeAt(0)&&u-2>=0&&v!=n);s.toString()==n||160==s.toString().charCodeAt(0)?(o(c,u),i(c,l),u+=1):0===s.startOffset?(o(c,0),i(c,l)):(o(c,u),i(c,l)),f=s.toString(),"."==f.charAt(f.length-1)&&i(c,l-1),f=s.toString(),p=f.match(a),p&&("www."==p[1]?p[1]="http://www.":/@$/.test(p[1])&&!/^mailto:/.test(p[1])&&(p[1]="mailto:"+p[1]),d=e.selection.getBookmark(),e.selection.setRng(s),e.execCommand("createlink",!1,p[1]+p[2]),e.settings.default_link_target&&e.dom.setAttrib(e.selection.getNode(),"target",e.settings.default_link_target),e.selection.moveToBookmark(d),e.nodeChanged())}}var i,a=/^(https?:\/\/|ssh:\/\/|ftp:\/\/|file:\/|www\.|(?:mailto:)?[A-Z0-9._%+\-]+@)(.+)$/i;return e.settings.autolink_pattern&&(a=e.settings.autolink_pattern),e.on("keydown",function(t){if(13==t.keyCode)return r(e)}),tinymce.Env.ie?void e.on("focus",function(){if(!i){i=!0;try{e.execCommand("AutoUrlDetect",!1,!0)}catch(e){}}}):(e.on("keypress",function(n){if(41==n.keyCode)return t(e)}),void e.on("keyup",function(t){if(32==t.keyCode)return n(e)}))})},function(e,t){tinymce.PluginManager.add("charmap",function(e){function t(){return[["160","no-break space"],["173","soft hyphen"],["34","quotation mark"],["162","cent sign"],["8364","euro sign"],["163","pound sign"],["165","yen sign"],["169","copyright sign"],["174","registered sign"],["8482","trade mark sign"],["8240","per mille sign"],["181","micro sign"],["183","middle dot"],["8226","bullet"],["8230","three dot leader"],["8242","minutes / feet"],["8243","seconds / inches"],["167","section sign"],["182","paragraph sign"],["223","sharp s / ess-zed"],["8249","single left-pointing angle quotation mark"],["8250","single right-pointing angle quotation mark"],["171","left pointing guillemet"],["187","right pointing guillemet"],["8216","left single quotation mark"],["8217","right single quotation mark"],["8220","left double quotation mark"],["8221","right double quotation mark"],["8218","single low-9 quotation mark"],["8222","double low-9 quotation mark"],["60","less-than sign"],["62","greater-than sign"],["8804","less-than or equal to"],["8805","greater-than or equal to"],["8211","en dash"],["8212","em dash"],["175","macron"],["8254","overline"],["164","currency sign"],["166","broken bar"],["168","diaeresis"],["161","inverted exclamation mark"],["191","turned question mark"],["710","circumflex accent"],["732","small tilde"],["176","degree sign"],["8722","minus sign"],["177","plus-minus sign"],["247","division sign"],["8260","fraction slash"],["215","multiplication sign"],["185","superscript one"],["178","superscript two"],["179","superscript three"],["188","fraction one quarter"],["189","fraction one half"],["190","fraction three quarters"],["402","function / florin"],["8747","integral"],["8721","n-ary sumation"],["8734","infinity"],["8730","square root"],["8764","similar to"],["8773","approximately equal to"],["8776","almost equal to"],["8800","not equal to"],["8801","identical to"],["8712","element of"],["8713","not an element of"],["8715","contains as member"],["8719","n-ary product"],["8743","logical and"],["8744","logical or"],["172","not sign"],["8745","intersection"],["8746","union"],["8706","partial differential"],["8704","for all"],["8707","there exists"],["8709","diameter"],["8711","backward difference"],["8727","asterisk operator"],["8733","proportional to"],["8736","angle"],["180","acute accent"],["184","cedilla"],["170","feminine ordinal indicator"],["186","masculine ordinal indicator"],["8224","dagger"],["8225","double dagger"],["192","A - grave"],["193","A - acute"],["194","A - circumflex"],["195","A - tilde"],["196","A - diaeresis"],["197","A - ring above"],["256","A - macron"],["198","ligature AE"],["199","C - cedilla"],["200","E - grave"],["201","E - acute"],["202","E - circumflex"],["203","E - diaeresis"],["274","E - macron"],["204","I - grave"],["205","I - acute"],["206","I - circumflex"],["207","I - diaeresis"],["298","I - macron"],["208","ETH"],["209","N - tilde"],["210","O - grave"],["211","O - acute"],["212","O - circumflex"],["213","O - tilde"],["214","O - diaeresis"],["216","O - slash"],["332","O - macron"],["338","ligature OE"],["352","S - caron"],["217","U - grave"],["218","U - acute"],["219","U - circumflex"],["220","U - diaeresis"],["362","U - macron"],["221","Y - acute"],["376","Y - diaeresis"],["562","Y - macron"],["222","THORN"],["224","a - grave"],["225","a - acute"],["226","a - circumflex"],["227","a - tilde"],["228","a - diaeresis"],["229","a - ring above"],["257","a - macron"],["230","ligature ae"],["231","c - cedilla"],["232","e - grave"],["233","e - acute"],["234","e - circumflex"],["235","e - diaeresis"],["275","e - macron"],["236","i - grave"],["237","i - acute"],["238","i - circumflex"],["239","i - diaeresis"],["299","i - macron"],["240","eth"],["241","n - tilde"],["242","o - grave"],["243","o - acute"],["244","o - circumflex"],["245","o - tilde"],["246","o - diaeresis"],["248","o slash"],["333","o macron"],["339","ligature oe"],["353","s - caron"],["249","u - grave"],["250","u - acute"],["251","u - circumflex"],["252","u - diaeresis"],["363","u - macron"],["253","y - acute"],["254","thorn"],["255","y - diaeresis"],["563","y - macron"],["913","Alpha"],["914","Beta"],["915","Gamma"],["916","Delta"],["917","Epsilon"],["918","Zeta"],["919","Eta"],["920","Theta"],["921","Iota"],["922","Kappa"],["923","Lambda"],["924","Mu"],["925","Nu"],["926","Xi"],["927","Omicron"],["928","Pi"],["929","Rho"],["931","Sigma"],["932","Tau"],["933","Upsilon"],["934","Phi"],["935","Chi"],["936","Psi"],["937","Omega"],["945","alpha"],["946","beta"],["947","gamma"],["948","delta"],["949","epsilon"],["950","zeta"],["951","eta"],["952","theta"],["953","iota"],["954","kappa"],["955","lambda"],["956","mu"],["957","nu"],["958","xi"],["959","omicron"],["960","pi"],["961","rho"],["962","final sigma"],["963","sigma"],["964","tau"],["965","upsilon"],["966","phi"],["967","chi"],["968","psi"],["969","omega"],["8501","alef symbol"],["982","pi symbol"],["8476","real part symbol"],["978","upsilon - hook symbol"],["8472","Weierstrass p"],["8465","imaginary part"],["8592","leftwards arrow"],["8593","upwards arrow"],["8594","rightwards arrow"],["8595","downwards arrow"],["8596","left right arrow"],["8629","carriage return"],["8656","leftwards double arrow"],["8657","upwards double arrow"],["8658","rightwards double arrow"],["8659","downwards double arrow"],["8660","left right double arrow"],["8756","therefore"],["8834","subset of"],["8835","superset of"],["8836","not a subset of"],["8838","subset of or equal to"],["8839","superset of or equal to"],["8853","circled plus"],["8855","circled times"],["8869","perpendicular"],["8901","dot operator"],["8968","left ceiling"],["8969","right ceiling"],["8970","left floor"],["8971","right floor"],["9001","left-pointing angle bracket"],["9002","right-pointing angle bracket"],["9674","lozenge"],["9824","black spade suit"],["9827","black club suit"],["9829","black heart suit"],["9830","black diamond suit"],["8194","en space"],["8195","em space"],["8201","thin space"],["8204","zero width non-joiner"],["8205","zero width joiner"],["8206","left-to-right mark"],["8207","right-to-left mark"]]}function n(e){return tinymce.util.Tools.grep(e,function(e){return u(e)&&2==e.length})}function r(e){return u(e)?[].concat(n(e)):"function"==typeof e?e():[]}function o(t){var n=e.settings;return n.charmap&&(t=r(n.charmap)),n.charmap_append?[].concat(t).concat(r(n.charmap_append)):t}function i(){return o(t())}function a(t){e.fire("insertCustomChar",{chr:t}).chr,e.execCommand("mceInsertContent",!1,t)}function s(){function t(e){for(;e;){if("TD"==e.nodeName)return e;e=e.parentNode}}var n,r,o,s;n='<table role="presentation" cellspacing="0" class="mce-charmap"><tbody>';var u=i(),l=Math.min(u.length,25),c=Math.ceil(u.length/l);for(o=0;o<c;o++){for(n+="<tr>",r=0;r<l;r++){var d=o*l+r;if(d<u.length){var f=u[d],p=f?String.fromCharCode(parseInt(f[0],10)):"&nbsp;";n+='<td title="'+f[1]+'"><div tabindex="-1" title="'+f[1]+'" role="button" data-chr="'+p+'">'+p+"</div></td>"}else n+="<td />"}n+="</tr>"}n+="</tbody></table>";var h={type:"container",html:n,onclick:function(e){var n=e.target;/^(TD|DIV)$/.test(n.nodeName)&&t(n).firstChild&&(a(n.getAttribute("data-chr")),e.ctrlKey||s.close())},onmouseover:function(e){var n=t(e.target);n&&n.firstChild?(s.find("#preview").text(n.firstChild.firstChild.data),s.find("#previewTitle").text(n.title)):(s.find("#preview").text(" "),s.find("#previewTitle").text(" "))}};s=e.windowManager.open({title:"Special character",spacing:10,padding:10,items:[h,{type:"container",layout:"flex",direction:"column",align:"center",spacing:5,minWidth:160,minHeight:160,items:[{type:"label",name:"preview",text:" ",style:"font-size: 40px; text-align: center",border:1,minWidth:140,minHeight:80},{type:"label",name:"previewTitle",text:" ",style:"text-align: center",border:1,minWidth:140,minHeight:80}]}],buttons:[{text:"Close",onclick:function(){s.close()}}]})}var u=tinymce.util.Tools.isArray;return e.addCommand("mceShowCharmap",s),e.addButton("charmap",{icon:"charmap",tooltip:"Special character",cmd:"mceShowCharmap"}),e.addMenuItem("charmap",{icon:"charmap",text:"Special character",cmd:"mceShowCharmap",context:"insert"}),{getCharMap:i,insertChar:a}})},function(e,t){tinymce.PluginManager.add("code",function(e){function t(){var t=e.windowManager.open({title:"Source code",body:{type:"textbox",name:"code",multiline:!0,minWidth:e.getParam("code_dialog_width",600),minHeight:e.getParam("code_dialog_height",Math.min(tinymce.DOM.getViewPort().h-200,500)),spellcheck:!1,style:"direction: ltr; text-align: left"},onSubmit:function(t){e.focus(),e.undoManager.transact(function(){e.setContent(t.data.code)}),e.selection.setCursorLocation(),e.nodeChanged()}});t.find("#code").value(e.getContent({source_view:!0}))}e.addCommand("mceCodeEditor",t),e.addButton("code",{icon:"code",tooltip:"Source code",onclick:t}),e.addMenuItem("code",{icon:"code",text:"Source code",context:"tools",onclick:t})})},function(e,t){tinymce.PluginManager.add("image",function(e){function t(e,t){function n(e,n){r.parentNode&&r.parentNode.removeChild(r),t({width:e,height:n})}var r=document.createElement("img");r.onload=function(){n(Math.max(r.width,r.clientWidth),Math.max(r.height,r.clientHeight))},r.onerror=function(){n()};var o=r.style;o.visibility="hidden",o.position="fixed",o.bottom=o.left=0,o.width=o.height="auto",document.body.appendChild(r),r.src=e}function n(e,t,n){function r(e,n){return n=n||[],tinymce.each(e,function(e){var o={text:e.text||e.title};e.menu?o.menu=r(e.menu):(o.value=e.value,t(o)),n.push(o)}),n}return r(e,n||[])}function r(t){return function(){var n=e.settings.image_list;"string"==typeof n?tinymce.util.XHR.send({url:n,success:function(e){t(tinymce.util.JSON.parse(e))}}):"function"==typeof n?n(t):t(n)}}function o(r){function o(){var e,t,n,r;e=f.find("#width")[0],t=f.find("#height")[0],e&&t&&(n=e.value(),r=t.value(),f.find("#constrain")[0].checked()&&m&&v&&n&&r&&(m!=n?(r=Math.round(n/m*r),isNaN(r)||t.value(r)):(n=Math.round(r/v*n),isNaN(n)||e.value(n))),m=n,v=r)}function i(){function t(t){function n(){t.onload=t.onerror=null,e.selection&&(e.selection.select(t),e.nodeChanged())}t.onload=function(){b.width||b.height||!w||_.setAttribs(t,{width:t.clientWidth,height:t.clientHeight}),n()},t.onerror=n}var n,r;c(),o(),b=tinymce.extend(b,f.toJSON()),b.alt||(b.alt=""),b.title||(b.title=""),""===b.width&&(b.width=null),""===b.height&&(b.height=null),b.style||(b.style=null),b={src:b.src,alt:b.alt,title:b.title,width:b.width,height:b.height,style:b.style,caption:b.caption,class:b.class},e.undoManager.transact(function(){function o(t){return e.schema.getTextBlockElements()[t.nodeName]}if(!b.src)return void(p&&(_.remove(p),e.focus(),e.nodeChanged()));if(""===b.title&&(b.title=null),p?_.setAttribs(p,b):(b.id="__mcenew",e.focus(),e.selection.setContent(_.createHTML("img",b)),p=_.get("__mcenew"),_.setAttrib(p,"id",null)),e.editorUpload.uploadImagesAuto(),b.caption===!1&&_.is(p.parentNode,"figure.image")&&(n=p.parentNode,_.insertAfter(p,n),_.remove(n)),b.caption!==!0)t(p);else if(!_.is(p.parentNode,"figure.image")){r=p,p=p.cloneNode(!0),n=_.create("figure",{class:"image"}),n.appendChild(p),n.appendChild(_.create("figcaption",{contentEditable:!0},"Caption")),n.contentEditable=!1;var i=_.getParent(r,o);i?_.split(i,r,n):_.replace(n,r),e.selection.select(n)}})}function a(e){return e&&(e=e.replace(/px$/,"")),e}function s(n){var r,o,i,a=n.meta||{};g&&g.value(e.convertURL(this.value(),"src")),tinymce.each(a,function(e,t){f.find("#"+t).value(e)}),a.width||a.height||(r=e.convertURL(this.value(),"src"),o=e.settings.image_prepend_url,i=new RegExp("^(?:[a-z]+:)?//","i"),o&&!i.test(r)&&r.substring(0,o.length)!==o&&(r=o+r),this.value(r),t(e.documentBaseURI.toAbsolute(this.value()),function(e){e.width&&e.height&&w&&(m=e.width,v=e.height,f.find("#width").value(m),f.find("#height").value(v))}))}function u(e){e.meta=f.toJSON()}function l(e){if(e.margin){var t=e.margin.split(" ");switch(t.length){case 1:e["margin-top"]=e["margin-top"]||t[0],e["margin-right"]=e["margin-right"]||t[0],e["margin-bottom"]=e["margin-bottom"]||t[0],e["margin-left"]=e["margin-left"]||t[0];break;case 2:e["margin-top"]=e["margin-top"]||t[0],e["margin-right"]=e["margin-right"]||t[1],e["margin-bottom"]=e["margin-bottom"]||t[0],e["margin-left"]=e["margin-left"]||t[1];break;case 3:e["margin-top"]=e["margin-top"]||t[0],e["margin-right"]=e["margin-right"]||t[1],e["margin-bottom"]=e["margin-bottom"]||t[2],e["margin-left"]=e["margin-left"]||t[1];break;case 4:e["margin-top"]=e["margin-top"]||t[0],e["margin-right"]=e["margin-right"]||t[1],e["margin-bottom"]=e["margin-bottom"]||t[2],e["margin-left"]=e["margin-left"]||t[3]}delete e.margin}return e}function c(){function t(e){return e.length>0&&/^[0-9]+$/.test(e)&&(e+="px"),e}if(e.settings.image_advtab){var n=f.toJSON(),r=_.parseStyle(n.style);r=l(r),n.vspace&&(r["margin-top"]=r["margin-bottom"]=t(n.vspace)),n.hspace&&(r["margin-left"]=r["margin-right"]=t(n.hspace)),n.border&&(r["border-width"]=t(n.border)),f.find("#style").value(_.serializeStyle(_.parseStyle(_.serializeStyle(r))))}}function d(){if(e.settings.image_advtab){var t=f.toJSON(),n=_.parseStyle(t.style);f.find("#vspace").value(""),f.find("#hspace").value(""),n=l(n),(n["margin-top"]&&n["margin-bottom"]||n["margin-right"]&&n["margin-left"])&&(n["margin-top"]===n["margin-bottom"]?f.find("#vspace").value(a(n["margin-top"])):f.find("#vspace").value(""),n["margin-right"]===n["margin-left"]?f.find("#hspace").value(a(n["margin-right"])):f.find("#hspace").value("")),n["border-width"]&&f.find("#border").value(a(n["border-width"])),f.find("#style").value(_.serializeStyle(_.parseStyle(_.serializeStyle(n))))}}var f,p,h,m,v,g,y,b={},_=e.dom,w=e.settings.image_dimensions!==!1;p=e.selection.getNode(),h=_.getParent(p,"figure.image"),h&&(p=_.select("img",h)[0]),p&&("IMG"!=p.nodeName||p.getAttribute("data-mce-object")||p.getAttribute("data-mce-placeholder"))&&(p=null),p&&(m=_.getAttrib(p,"width"),v=_.getAttrib(p,"height"),b={src:_.getAttrib(p,"src"),alt:_.getAttrib(p,"alt"),title:_.getAttrib(p,"title"),class:_.getAttrib(p,"class"),width:m,height:v,caption:!!h}),r&&(g={type:"listbox",label:"Image list",values:n(r,function(t){t.value=e.convertURL(t.value||t.url,"src")},[{text:"None",value:""}]),value:b.src&&e.convertURL(b.src,"src"),onselect:function(e){var t=f.find("#alt");(!t.value()||e.lastControl&&t.value()==e.lastControl.text())&&t.value(e.control.text()),f.find("#src").value(e.control.value()).fire("change")},onPostRender:function(){g=this}}),e.settings.image_class_list&&(y={name:"class",type:"listbox",label:"Class",values:n(e.settings.image_class_list,function(t){t.value&&(t.textStyle=function(){return e.formatter.getCssText({inline:"img",classes:[t.value]})})})});var C=[{name:"src",type:"filepicker",filetype:"image",label:"Source",autofocus:!0,onchange:s,onbeforecall:u},g];e.settings.image_description!==!1&&C.push({name:"alt",type:"textbox",label:"Image description"}),e.settings.image_title&&C.push({name:"title",type:"textbox",label:"Image Title"}),w&&C.push({type:"container",label:"Dimensions",layout:"flex",direction:"row",align:"center",spacing:5,items:[{name:"width",type:"textbox",maxLength:5,size:3,onchange:o,ariaLabel:"Width"},{type:"label",text:"x"},{name:"height",type:"textbox",maxLength:5,size:3,onchange:o,ariaLabel:"Height"},{name:"constrain",type:"checkbox",checked:!0,text:"Constrain proportions"}]}),C.push(y),e.settings.image_caption&&tinymce.Env.ceFalse&&C.push({name:"caption",type:"checkbox",label:"Caption"}),e.settings.image_advtab?(p&&(p.style.marginLeft&&p.style.marginRight&&p.style.marginLeft===p.style.marginRight&&(b.hspace=a(p.style.marginLeft)),p.style.marginTop&&p.style.marginBottom&&p.style.marginTop===p.style.marginBottom&&(b.vspace=a(p.style.marginTop)),p.style.borderWidth&&(b.border=a(p.style.borderWidth)),b.style=e.dom.serializeStyle(e.dom.parseStyle(e.dom.getAttrib(p,"style")))),f=e.windowManager.open({title:"Insert/edit image",data:b,bodyType:"tabpanel",body:[{title:"General",type:"form",items:C},{title:"Advanced",type:"form",pack:"start",items:[{label:"Style",name:"style",type:"textbox",onchange:d},{type:"form",layout:"grid",packV:"start",columns:2,padding:0,alignH:["left","right"],defaults:{type:"textbox",maxWidth:50,onchange:c},items:[{label:"Vertical space",name:"vspace"},{label:"Horizontal space",name:"hspace"},{label:"Border",name:"border"}]}]}],onSubmit:i})):f=e.windowManager.open({title:"Insert/edit image",data:b,body:C,onSubmit:i})}e.on("preInit",function(){function t(e){var t=e.attr("class");return t&&/\bimage\b/.test(t)}function n(e){return function(n){function r(t){t.attr("contenteditable",e?"true":null)}for(var o,i=n.length;i--;)o=n[i],t(o)&&(o.attr("contenteditable",e?"false":null),tinymce.each(o.getAll("figcaption"),r))}}e.parser.addNodeFilter("figure",n(!0)),e.serializer.addNodeFilter("figure",n(!1))}),e.addButton("image",{icon:"image",tooltip:"Insert/edit image",onclick:r(o),stateSelector:"img:not([data-mce-object],[data-mce-placeholder]),figure.image"}),e.addMenuItem("image",{icon:"image",text:"Image",onclick:r(o),context:"insert",prependToContext:!0}),e.addCommand("mceImage",r(o))})},function(e,t){tinymce.PluginManager.add("link",function(e){function t(e){return e&&"A"===e.nodeName&&e.href}function n(e){return tinymce.util.Tools.grep(e,t).length>0}function r(t){return e.dom.getParent(t,"a[href]")}function o(){return r(e.selection.getStart())}function i(e){var t=e.getAttribute("data-mce-href");return t?t:e.getAttribute("href")}function a(){var t=e.plugins.contextmenu;return!!t&&t.isContextMenuVisible()}function s(n){var r,o,i;return!!(e.settings.link_context_toolbar&&!a()&&t(n)&&(r=e.selection,o=r.getRng(),i=o.startContainer,3==i.nodeType&&r.isCollapsed()&&o.startOffset>0&&o.startOffset<i.data.length))}function u(e,t){document.body.appendChild(e),e.dispatchEvent(t),document.body.removeChild(e)}function l(e){if(!tinymce.Env.ie||tinymce.Env.ie>10){var t=document.createElement("a");t.target="_blank",t.href=e,t.rel="noreferrer noopener";var n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),u(t,n)}else{var r=window.open("","_blank");if(r){r.opener=null;var o=r.document;o.open(),o.write('<meta http-equiv="refresh" content="0; url='+tinymce.DOM.encode(e)+'">'),o.close()}}}function c(t){if(t){var n=i(t);if(/^#/.test(n)){var r=e.$(n);r.length&&e.selection.scrollIntoView(r[0],!0)}else l(t.href)}}function d(){c(o())}function f(){var t=this,r=function(e){n(e.parents)?t.show():t.hide()};n(e.dom.getParents(e.selection.getStart()))||t.hide(),e.on("nodechange",r),t.on("remove",function(){e.off("nodechange",r)})}function p(t){return function(){var n=e.settings.link_list;"string"==typeof n?tinymce.util.XHR.send({url:n,success:function(e){t(tinymce.util.JSON.parse(e))}}):"function"==typeof n?n(t):t(n)}}function h(e,t,n){function r(e,n){return n=n||[],tinymce.each(e,function(e){var o={text:e.text||e.title};e.menu?o.menu=r(e.menu):(o.value=e.value,t&&t(o)),n.push(o)}),n}return r(e,n||[])}function m(t){function n(e){var t=d.find("#text");(!t.value()||e.lastControl&&t.value()==e.lastControl.text())&&t.value(e.control.text()),d.find("#href").value(e.control.value())}function r(t){var r=[];if(tinymce.each(e.dom.select("a:not([href])"),function(e){var n=e.name||e.id;n&&r.push({text:n,value:"#"+n,selected:t.indexOf("#"+n)!=-1})}),r.length)return r.unshift({text:"None",value:""}),{name:"anchor",type:"listbox",label:"Anchors",values:r,onselect:n}}function o(){!c&&0===C.text.length&&f&&this.parent().parent().find("#text")[0].value(this.value())}function i(t){var n=t.meta||{};m&&m.value(e.convertURL(this.value(),"href")),tinymce.each(t.meta,function(e,t){var n=d.find("#"+t);"text"===t?0===c.length&&(n.value(e),C.text=e):n.value(e)}),n.attach&&(v={href:this.value(),attach:n.attach}),n.text||o.call(this)}function a(e){var t=x.getContent();if(/</.test(t)&&(!/^<a [^>]+>[^<]+<\/a>$/.test(t)||t.indexOf("href=")==-1))return!1;if(e){var n,r=e.childNodes;if(0===r.length)return!1;for(n=r.length-1;n>=0;n--)if(3!=r[n].nodeType)return!1}return!0}function s(e){e.meta=d.toJSON()}var u,l,c,d,f,p,m,g,y,b,_,w,C={},x=e.selection,E=e.dom;u=x.getNode(),l=E.getParent(u,"a[href]"),f=a(),C.text=c=l?l.innerText||l.textContent:x.getContent({format:"text"}),C.href=l?E.getAttrib(l,"href"):"",l?C.target=E.getAttrib(l,"target"):e.settings.default_link_target&&(C.target=e.settings.default_link_target),(w=E.getAttrib(l,"rel"))&&(C.rel=w),(w=E.getAttrib(l,"class"))&&(C.class=w),(w=E.getAttrib(l,"title"))&&(C.title=w),f&&(p={name:"text",type:"textbox",size:40,label:"Text to display",onchange:function(){C.text=this.value()}}),t&&(m={type:"listbox",label:"Link list",values:h(t,function(t){t.value=e.convertURL(t.value||t.url,"href")},[{text:"None",value:""}]),onselect:n,value:e.convertURL(C.href,"href"),onPostRender:function(){m=this}}),e.settings.target_list!==!1&&(e.settings.target_list||(e.settings.target_list=[{text:"None",value:""},{text:"New window",value:"_blank"}]),y={name:"target",type:"listbox",label:"Target",values:h(e.settings.target_list)}),e.settings.rel_list&&(g={name:"rel",type:"listbox",label:"Rel",values:h(e.settings.rel_list)}),e.settings.link_class_list&&(b={name:"class",type:"listbox",label:"Class",values:h(e.settings.link_class_list,function(t){t.value&&(t.textStyle=function(){return e.formatter.getCssText({inline:"a",classes:[t.value]})})})}),e.settings.link_title!==!1&&(_={name:"title",type:"textbox",label:"Title",value:C.title}),d=e.windowManager.open({title:"Insert link",data:C,body:[{name:"href",type:"filepicker",filetype:"file",size:40,autofocus:!0,label:"Url",onchange:i,onkeyup:o,onbeforecall:s},p,_,r(C.href),m,g,y,b],onSubmit:function(t){function n(t,n){var r=e.selection.getRng();tinymce.util.Delay.setEditorTimeout(e,function(){e.windowManager.confirm(t,function(t){e.selection.setRng(r),n(t)})})}function r(e,t){function n(e){return e=r(e),e?[e,o].join(" "):o}function r(e){var t=new RegExp("("+o.replace(" ","|")+")","g");return e&&(e=tinymce.trim(e.replace(t,""))),e?e:null}var o="noopener noreferrer";return t?n(e):r(e)}function o(){var t={href:a,target:C.target?C.target:null,rel:C.rel?C.rel:null,class:C.class?C.class:null,title:C.title?C.title:null};e.settings.allow_unsafe_link_target||(t.rel=r(t.rel,"_blank"==t.target)),a===v.href&&(v.attach(),v={}),l?(e.focus(),f&&C.text!=c&&("innerText"in l?l.innerText=C.text:l.textContent=C.text),E.setAttribs(l,t),x.select(l),e.undoManager.add()):f?e.insertContent(E.createHTML("a",t,E.encode(C.text))):e.execCommand("mceInsertLink",!1,t)}function i(){e.undoManager.transact(o)}var a;return C=tinymce.extend(C,t.data),(a=C.href)?a.indexOf("@")>0&&a.indexOf("//")==-1&&a.indexOf("mailto:")==-1?void n("The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?",function(e){e&&(a="mailto:"+a),i()}):e.settings.link_assume_external_targets&&!/^\w+:/i.test(a)||!e.settings.link_assume_external_targets&&/^\s*www[\.|\d\.]/i.test(a)?void n("The URL you entered seems to be an external link. Do you want to add the required http:// prefix?",function(e){e&&(a="http://"+a),i()}):void i():void e.execCommand("unlink")}})}var v={},g=function(e){return e.altKey===!0&&e.shiftKey===!1&&e.ctrlKey===!1&&e.metaKey===!1};e.addButton("link",{icon:"link",tooltip:"Insert/edit link",shortcut:"Meta+K",onclick:p(m),stateSelector:"a[href]"}),e.addButton("unlink",{icon:"unlink",tooltip:"Remove link",cmd:"unlink",stateSelector:"a[href]"}),e.addContextToolbar&&(e.addButton("openlink",{icon:"newtab",tooltip:"Open link",onclick:d}),e.addContextToolbar(s,"openlink | link unlink")),e.addShortcut("Meta+K","",p(m)),e.addCommand("mceLink",p(m)),e.on("click",function(e){var t=r(e.target);t&&tinymce.util.VK.metaKeyPressed(e)&&(e.preventDefault(),c(t))}),e.on("keydown",function(e){var t=o();t&&13===e.keyCode&&g(e)&&(e.preventDefault(),c(t))}),this.showDialog=m,e.addMenuItem("openlink",{text:"Open link",icon:"newtab",onclick:d,onPostRender:f,prependToContext:!0}),e.addMenuItem("link",{icon:"link",text:"Link",shortcut:"Meta+K",onclick:p(m),stateSelector:"a[href]",context:"insert",prependToContext:!0})})},function(e,t){!function(){var e={},t=function(t){for(var n=e[t],o=n.deps,i=n.defn,a=o.length,s=new Array(a),u=0;u<a;++u)s[u]=r(o[u]);var l=i.apply(null,s);if(void 0===l)throw"module ["+t+"] returned undefined";n.instance=l},n=function(t,n,r){if("string"!=typeof t)throw"module id must be a string";if(void 0===n)throw"no dependencies for "+t;if(void 0===r)throw"no definition function for "+t;e[t]={deps:n,defn:r,instance:void 0}},r=function(n){var r=e[n];if(void 0===r)throw"module ["+n+"] was undefined";return void 0===r.instance&&t(n),r.instance},o=function(e,t){for(var n=e.length,o=new Array(n),i=0;i<n;++i)o.push(r(e[i]));t.apply(null,t)},i={};i.bolt={module:{api:{define:n,require:o,demand:r}}};var a=n,s=function(e,t){a(e,[],function(){return t})};s("global!tinymce.PluginManager",tinymce.PluginManager),s("global!tinymce.util.Tools",tinymce.util.Tools),s("global!tinymce.util.VK",tinymce.util.VK),a("tinymce.lists.core.NodeType",[],function(){var e=function(e){return e&&3===e.nodeType},t=function(e){return e&&/^(OL|UL|DL)$/.test(e.nodeName)},n=function(e){return e&&/^(LI|DT|DD)$/.test(e.nodeName)},r=function(e){return e&&"BR"===e.nodeName},o=function(e){return e.parentNode.firstChild===e},i=function(e){return e.parentNode.lastChild===e},a=function(e,t){return t&&!!e.schema.getTextBlockElements()[t.nodeName]},s=function(e,t){return!!r(t)&&!(!e.isBlock(t.nextSibling)||r(t.previousSibling))},u=function(e,t,n){var r=e.isEmpty(t);return!(n&&e.select("span[data-mce-type=bookmark]",t).length>0)&&r},l=function(e,t){return e.isChildOf(t,e.getRoot())};return{isTextNode:e,isListNode:t,isListItemNode:n,isBr:r,isFirstChild:o,isLastChild:i,isTextBlock:a,isBogusBr:s,isEmpty:u,isChildOfBody:l}}),s("global!tinymce.dom.TreeWalker",tinymce.dom.TreeWalker),s("global!tinymce.dom.RangeUtils",tinymce.dom.RangeUtils),a("tinymce.lists.core.Selection",["global!tinymce.util.Tools","tinymce.lists.core.NodeType"],function(e,t){var n=function(n){return e.grep(n.selection.getSelectedBlocks(),function(e){return t.isListItemNode(e)})};return{getSelectedListItems:n}}),s("global!tinymce.dom.DOMUtils.DOM",tinymce.dom.DOMUtils.DOM),a("tinymce.lists.core.Range",["global!tinymce.dom.RangeUtils","tinymce.lists.core.NodeType"],function(e,t){var n=function(n,r){var o=e.getNode(n,r);if(t.isListItemNode(n)&&t.isTextNode(o)){var i=r>=n.childNodes.length?o.data.length:0;return{container:o,offset:i}}return{container:n,offset:r}},r=function(e){var t=e.cloneRange(),r=n(e.startContainer,e.startOffset);t.setStart(r.container,r.offset);var o=n(e.endContainer,e.endOffset);return t.setEnd(o.container,o.offset),
-t};return{getNormalizedEndPoint:n,normalizeRange:r}}),a("tinymce.lists.core.Bookmark",["global!tinymce.dom.DOMUtils.DOM","tinymce.lists.core.NodeType","tinymce.lists.core.Range"],function(e,t,n){var r=function(t){var n={},r=function(r){var o,i,a;i=t[r?"startContainer":"endContainer"],a=t[r?"startOffset":"endOffset"],1===i.nodeType&&(o=e.create("span",{"data-mce-type":"bookmark"}),i.hasChildNodes()?(a=Math.min(a,i.childNodes.length-1),r?i.insertBefore(o,i.childNodes[a]):e.insertAfter(o,i.childNodes[a])):i.appendChild(o),i=o,a=0),n[r?"startContainer":"endContainer"]=i,n[r?"startOffset":"endOffset"]=a};return r(!0),t.collapsed||r(),n},o=function(t){function r(n){var r,o,i,a=function(e){for(var t=e.parentNode.firstChild,n=0;t;){if(t===e)return n;1===t.nodeType&&"bookmark"===t.getAttribute("data-mce-type")||n++,t=t.nextSibling}return-1};r=i=t[n?"startContainer":"endContainer"],o=t[n?"startOffset":"endOffset"],r&&(1===r.nodeType&&(o=a(r),r=r.parentNode,e.remove(i)),t[n?"startContainer":"endContainer"]=r,t[n?"startOffset":"endOffset"]=o)}r(!0),r();var o=e.createRng();return o.setStart(t.startContainer,t.startOffset),t.endContainer&&o.setEnd(t.endContainer,t.endOffset),n.normalizeRange(o)};return{createBookmark:r,resolveBookmark:o}}),a("tinymce.lists.core.NormalizeLists",["global!tinymce.dom.DOMUtils.DOM","global!tinymce.util.Tools","tinymce.lists.core.NodeType"],function(e,t,n){var r=function(t,r){var o,i=r.parentNode;"LI"===i.nodeName&&i.firstChild===r&&(o=i.previousSibling,o&&"LI"===o.nodeName?(o.appendChild(r),n.isEmpty(t,i)&&e.remove(i)):e.setStyle(i,"listStyleType","none")),n.isListNode(i)&&(o=i.previousSibling,o&&"LI"===o.nodeName&&o.appendChild(r))},o=function(e,n){t.each(t.grep(e.select("ol,ul",n)),function(t){r(e,t)})};return{normalizeList:r,normalizeLists:o}}),s("global!tinymce.dom.BookmarkManager",tinymce.dom.BookmarkManager),s("global!tinymce.Env",tinymce.Env),a("tinymce.lists.core.TextBlock",["global!tinymce.dom.DOMUtils.DOM","global!tinymce.Env"],function(e,t){var n=function(n,r,o){var i,a,s,u=e.createFragment(),l=n.schema.getBlockElements();if(n.settings.forced_root_block&&(o=o||n.settings.forced_root_block),o&&(a=e.create(o),a.tagName===n.settings.forced_root_block&&e.setAttribs(a,n.settings.forced_root_block_attrs),u.appendChild(a)),r)for(;i=r.firstChild;){var c=i.nodeName;s||"SPAN"===c&&"bookmark"===i.getAttribute("data-mce-type")||(s=!0),l[c]?(u.appendChild(i),a=null):o?(a||(a=e.create(o),u.appendChild(a)),a.appendChild(i)):u.appendChild(i)}return n.settings.forced_root_block?s||t.ie&&!(t.ie>10)||a.appendChild(e.create("br",{"data-mce-bogus":"1"})):u.appendChild(e.create("br")),u};return{createNewTextBlock:n}}),a("tinymce.lists.core.SplitList",["global!tinymce.dom.DOMUtils.DOM","global!tinymce.util.Tools","tinymce.lists.core.TextBlock","tinymce.lists.core.NodeType"],function(e,t,n,r){var o=function(o,i,a,s){var u,l,c,d,f=function(n){t.each(c,function(e){n.parentNode.insertBefore(e,a.parentNode)}),e.remove(n)};for(c=e.select('span[data-mce-type="bookmark"]',i),s=s||n.createNewTextBlock(o,a),u=e.createRng(),u.setStartAfter(a),u.setEndAfter(i),l=u.extractContents(),d=l.firstChild;d;d=d.firstChild)if("LI"===d.nodeName&&o.dom.isEmpty(d)){e.remove(d);break}o.dom.isEmpty(l)||e.insertAfter(l,i),e.insertAfter(s,i),r.isEmpty(o.dom,a.parentNode)&&f(a.parentNode),e.remove(a),r.isEmpty(o.dom,i)&&e.remove(i)};return{splitList:o}}),a("tinymce.lists.actions.Outdent",["global!tinymce.dom.DOMUtils.DOM","tinymce.lists.core.NodeType","tinymce.lists.core.Bookmark","tinymce.lists.core.Selection","tinymce.lists.core.SplitList","tinymce.lists.core.NormalizeLists","tinymce.lists.core.TextBlock"],function(e,t,n,r,o,i,a){var s=function(n,r){t.isEmpty(n,r)&&e.remove(r)},u=function(n,r){var u,l=r.parentNode,c=l.parentNode;return l===n.getBody()||("DD"===r.nodeName?(e.rename(r,"DT"),!0):t.isFirstChild(r)&&t.isLastChild(r)?("LI"===c.nodeName?(e.insertAfter(r,c),s(n.dom,c),e.remove(l)):t.isListNode(c)?e.remove(l,!0):(c.insertBefore(a.createNewTextBlock(n,r),l),e.remove(l)),!0):t.isFirstChild(r)?("LI"===c.nodeName?(e.insertAfter(r,c),r.appendChild(l),s(n.dom,c)):t.isListNode(c)?c.insertBefore(r,l):(c.insertBefore(a.createNewTextBlock(n,r),l),e.remove(r)),!0):t.isLastChild(r)?("LI"===c.nodeName?e.insertAfter(r,c):t.isListNode(c)?e.insertAfter(r,l):(e.insertAfter(a.createNewTextBlock(n,r),l),e.remove(r)),!0):("LI"===c.nodeName?(l=c,u=a.createNewTextBlock(n,r,"LI")):u=t.isListNode(c)?a.createNewTextBlock(n,r,"LI"):a.createNewTextBlock(n,r),o.splitList(n,l,r,u),i.normalizeLists(n.dom,l.parentNode),!0))},l=function(e){var t=r.getSelectedListItems(e);if(t.length){var o,i,a=n.createBookmark(e.selection.getRng(!0)),s=e.getBody();for(o=t.length;o--;)for(var l=t[o].parentNode;l&&l!==s;){for(i=t.length;i--;)if(t[i]===l){t.splice(o,1);break}l=l.parentNode}for(o=0;o<t.length&&(u(e,t[o])||0!==o);o++);return e.selection.setRng(n.resolveBookmark(a)),e.nodeChanged(),!0}};return{outdent:u,outdentSelection:l}}),a("tinymce.lists.actions.ToggleList",["global!tinymce.util.Tools","global!tinymce.dom.BookmarkManager","tinymce.lists.core.Selection","tinymce.lists.core.NodeType","tinymce.lists.core.Bookmark","tinymce.lists.core.SplitList","tinymce.lists.core.NormalizeLists","tinymce.lists.actions.Outdent"],function(e,t,n,r,o,i,a,s){var u=function(e,t,n){var r=n["list-style-type"]?n["list-style-type"]:null;e.setStyle(t,"list-style-type",r)},l=function(t,n){e.each(n,function(e,n){t.setAttribute(n,e)})},c=function(t,n,r){l(n,r["list-attributes"]),e.each(t.select("li",n),function(e){l(e,r["list-item-attributes"])})},d=function(e,t,n){u(e,t,n),c(e,t,n)},f=function(e,t,n){var o,i,a=e.getBody();for(o=t[n?"startContainer":"endContainer"],i=t[n?"startOffset":"endOffset"],1===o.nodeType&&(o=o.childNodes[Math.min(i,o.childNodes.length-1)]||o);o.parentNode!==a;){if(r.isTextBlock(e,o))return o;if(/^(TD|TH)$/.test(o.parentNode.nodeName))return o;o=o.parentNode}return o},p=function(n,o){for(var i,a=[],s=n.getBody(),u=n.dom,l=f(n,o,!0),c=f(n,o,!1),d=[],p=l;p&&(d.push(p),p!==c);p=p.nextSibling);return e.each(d,function(e){if(r.isTextBlock(n,e))return a.push(e),void(i=null);if(u.isBlock(e)||r.isBr(e))return r.isBr(e)&&u.remove(e),void(i=null);var o=e.nextSibling;return t.isBookmarkNode(e)&&(r.isTextBlock(n,o)||!o&&e.parentNode===s)?void(i=null):(i||(i=u.create("p"),e.parentNode.insertBefore(i,e),a.push(i)),void i.appendChild(e))}),a},h=function(t,n,i){var a,s=t.selection.getRng(!0),u="LI",l=t.dom;i=i?i:{},"false"!==l.getContentEditable(t.selection.getNode())&&(n=n.toUpperCase(),"DL"===n&&(u="DT"),a=o.createBookmark(s),e.each(p(t,s),function(e){var o,a,s=function(e){var t=l.getStyle(e,"list-style-type"),n=i?i["list-style-type"]:"";return n=null===n?"":n,t===n};a=e.previousSibling,a&&r.isListNode(a)&&a.nodeName===n&&s(a)?(o=a,e=l.rename(e,u),a.appendChild(e)):(o=l.create(n),e.parentNode.insertBefore(o,e),o.appendChild(e),e=l.rename(e,u)),d(l,o,i),_(t.dom,o)}),t.selection.setRng(o.resolveBookmark(a)))},m=function(t){var u=o.createBookmark(t.selection.getRng(!0)),l=t.getBody(),c=n.getSelectedListItems(t),d=e.grep(c,function(e){return t.dom.isEmpty(e)});c=e.grep(c,function(e){return!t.dom.isEmpty(e)}),e.each(d,function(e){if(r.isEmpty(t.dom,e))return void s.outdent(t,e)}),e.each(c,function(e){var n,o;if(e.parentNode!==t.getBody()){for(n=e;n&&n!==l;n=n.parentNode)r.isListNode(n)&&(o=n);i.splitList(t,o,e),a.normalizeLists(t.dom,o.parentNode)}}),t.selection.setRng(o.resolveBookmark(u))},v=function(e,t){return e&&t&&r.isListNode(e)&&e.nodeName===t.nodeName},g=function(e,t,n){var r=e.getStyle(t,"list-style-type",!0),o=e.getStyle(n,"list-style-type",!0);return r===o},y=function(e,t){return e.className===t.className},b=function(e,t,n){return v(t,n)&&g(e,t,n)&&y(t,n)},_=function(e,t){var n,r;if(n=t.nextSibling,b(e,t,n)){for(;r=n.firstChild;)t.appendChild(r);e.remove(n)}if(n=t.previousSibling,b(e,t,n)){for(;r=n.lastChild;)t.insertBefore(r,t.firstChild);e.remove(n)}},w=function(e,t,n){var r=e.dom.getParent(e.selection.getStart(),"OL,UL,DL");if(n=n?n:{},r!==e.getBody())if(r)if(r.nodeName===t)m(e,t);else{var i=o.createBookmark(e.selection.getRng(!0));d(e.dom,r,n),_(e.dom,e.dom.rename(r,t)),e.selection.setRng(o.resolveBookmark(i))}else h(e,t,n)};return{toggleList:w,removeList:m,mergeWithAdjacentLists:_}}),a("tinymce.lists.core.Delete",["global!tinymce.dom.TreeWalker","global!tinymce.dom.RangeUtils","global!tinymce.util.VK","tinymce.lists.core.Selection","tinymce.lists.core.NodeType","tinymce.lists.core.Bookmark","tinymce.lists.core.Range","tinymce.lists.core.NormalizeLists","tinymce.lists.actions.ToggleList"],function(e,t,n,r,o,i,a,s,u){var l=function(n,r,i){var a,s,u=r.startContainer,l=r.startOffset;if(3===u.nodeType&&(i?l<u.data.length:l>0))return u;for(a=n.schema.getNonEmptyElements(),1===u.nodeType&&(u=t.getNode(u,l)),s=new e(u,n.getBody()),i&&o.isBogusBr(n.dom,u)&&s.next();u=s[i?"next":"prev2"]();){if("LI"===u.nodeName&&!u.hasChildNodes())return u;if(a[u.nodeName])return u;if(3===u.nodeType&&u.data.length>0)return u}},c=function(e,t,n){var r,i,a=t.parentNode;if(o.isChildOfBody(e,t)&&o.isChildOfBody(e,n)){if(o.isListNode(n.lastChild)&&(i=n.lastChild),a===n.lastChild&&o.isBr(a.previousSibling)&&e.remove(a.previousSibling),r=n.lastChild,r&&o.isBr(r)&&t.hasChildNodes()&&e.remove(r),o.isEmpty(e,n,!0)&&e.$(n).empty(),!o.isEmpty(e,t,!0))for(;r=t.firstChild;)n.appendChild(r);i&&n.appendChild(i),e.remove(t),o.isEmpty(e,a)&&a!==e.getRoot()&&e.remove(a)}},d=function(e,t){var n,r,s,d=e.dom,f=e.selection,p=d.getParent(f.getStart(),"LI");if(p){if(n=p.parentNode,n===e.getBody()&&o.isEmpty(d,n))return!0;if(r=a.normalizeRange(f.getRng(!0)),s=d.getParent(l(e,r,t),"LI"),s&&s!==p){var h=i.createBookmark(r);return t?c(d,s,p):c(d,p,s),e.selection.setRng(i.resolveBookmark(h)),!0}if(!s&&!t&&u.removeList(e,n.nodeName))return!0}return!1},f=function(e,t){var n=e.dom,r=n.getParent(e.selection.getStart(),n.isBlock);if(r&&n.isEmpty(r)){var o=a.normalizeRange(e.selection.getRng(!0)),i=n.getParent(l(e,o,t),"LI");if(i)return e.undoManager.transact(function(){n.remove(r),u.mergeWithAdjacentLists(n,i.parentNode),e.selection.select(i,!0),e.selection.collapse(t)}),!0}return!1},p=function(e,t){return d(e,t)||f(e,t)},h=function(e){var t=e.dom.getParent(e.selection.getStart(),"LI,DT,DD");return!!(t||r.getSelectedListItems(e).length>0)&&(e.undoManager.transact(function(){e.execCommand("Delete"),s.normalizeLists(e.dom,e.getBody())}),!0)},m=function(e,t){return e.selection.isCollapsed()?p(e,t):h(e)},v=function(e){e.on("keydown",function(t){t.keyCode===n.BACKSPACE?m(e,!1)&&t.preventDefault():t.keyCode===n.DELETE&&m(e,!0)&&t.preventDefault()})};return{setup:v,backspaceDelete:m}}),a("tinymce.lists.actions.Indent",["global!tinymce.dom.DOMUtils.DOM","tinymce.lists.core.NodeType","tinymce.lists.core.Bookmark","tinymce.lists.core.Selection"],function(e,t,n,r){var o=function(n,r){var o;if(t.isListNode(n)){for(;o=n.firstChild;)r.appendChild(o);e.remove(n)}},i=function(n){var r,i,a;return"DT"===n.nodeName?(e.rename(n,"DD"),!0):(r=n.previousSibling,r&&t.isListNode(r)?(r.appendChild(n),!0):r&&"LI"===r.nodeName&&t.isListNode(r.lastChild)?(r.lastChild.appendChild(n),o(n.lastChild,r.lastChild),!0):(r=n.nextSibling,r&&t.isListNode(r)?(r.insertBefore(n,r.firstChild),!0):(r=n.previousSibling,!(!r||"LI"!==r.nodeName)&&(i=e.create(n.parentNode.nodeName),a=e.getStyle(n.parentNode,"listStyleType"),a&&e.setStyle(i,"listStyleType",a),r.appendChild(i),i.appendChild(n),o(n.lastChild,i),!0))))},a=function(e){var t=r.getSelectedListItems(e);if(t.length){for(var o=n.createBookmark(e.selection.getRng(!0)),a=0;a<t.length&&(i(t[a])||0!==a);a++);return e.selection.setRng(n.resolveBookmark(o)),e.nodeChanged(),!0}};return{indentSelection:a}}),a("tinymce.lists.Plugin",["global!tinymce.PluginManager","global!tinymce.util.Tools","global!tinymce.util.VK","tinymce.lists.core.NodeType","tinymce.lists.core.Delete","tinymce.lists.actions.Indent","tinymce.lists.actions.Outdent","tinymce.lists.actions.ToggleList"],function(e,t,n,r,o,i,a,s){var u=function(e,t){return function(){var n=e.dom.getParent(e.selection.getStart(),"UL,OL,DL");return n&&n.nodeName===t}},l=function(e){e.on("BeforeExecCommand",function(t){var n,r=t.command.toLowerCase();if("indent"===r?i.indentSelection(e)&&(n=!0):"outdent"===r&&a.outdentSelection(e)&&(n=!0),n)return e.fire("ExecCommand",{command:t.command}),t.preventDefault(),!0}),e.addCommand("InsertUnorderedList",function(t,n){s.toggleList(e,"UL",n)}),e.addCommand("InsertOrderedList",function(t,n){s.toggleList(e,"OL",n)}),e.addCommand("InsertDefinitionList",function(t,n){s.toggleList(e,"DL",n)})},c=function(e){e.addQueryStateHandler("InsertUnorderedList",u(e,"UL")),e.addQueryStateHandler("InsertOrderedList",u(e,"OL")),e.addQueryStateHandler("InsertDefinitionList",u(e,"DL"))},d=function(e){e.on("keydown",function(t){9!==t.keyCode||n.metaKeyPressed(t)||e.dom.getParent(e.selection.getStart(),"LI,DT,DD")&&(t.preventDefault(),t.shiftKey?a.outdentSelection(e):i.indentSelection(e))})},f=function(e){var n=function(n){return function(){var o=this;e.on("NodeChange",function(e){var i=t.grep(e.parents,r.isListNode);o.active(i.length>0&&i[0].nodeName===n)})}},o=function(e,n){var r=e.settings.plugins?e.settings.plugins:"";return t.inArray(r.split(/[ ,]/),n)!==-1};o(e,"advlist")||(e.addButton("numlist",{title:"Numbered list",cmd:"InsertOrderedList",onPostRender:n("OL")}),e.addButton("bullist",{title:"Bullet list",cmd:"InsertUnorderedList",onPostRender:n("UL")})),e.addButton("indent",{icon:"indent",title:"Increase indent",cmd:"Indent",onPostRender:function(t){var n=t.control;e.on("nodechange",function(){for(var t=e.selection.getSelectedBlocks(),o=!1,i=0,a=t.length;!o&&i<a;i++){var s=t[i].nodeName;o="LI"===s&&r.isFirstChild(t[i])||"UL"===s||"OL"===s||"DD"===s}n.disabled(o)})}})};return e.add("lists",function(e){return f(e),o.setup(e),e.on("init",function(){l(e),c(e),d(e)}),{backspaceDelete:function(t){o.backspaceDelete(e,t)}}}),function(){}}),r("tinymce.lists.Plugin")()}()},function(e,t){!function(){var e={},t=function(t){for(var n=e[t],o=n.deps,i=n.defn,a=o.length,s=new Array(a),u=0;u<a;++u)s[u]=r(o[u]);var l=i.apply(null,s);if(void 0===l)throw"module ["+t+"] returned undefined";n.instance=l},n=function(t,n,r){if("string"!=typeof t)throw"module id must be a string";if(void 0===n)throw"no dependencies for "+t;if(void 0===r)throw"no definition function for "+t;e[t]={deps:n,defn:r,instance:void 0}},r=function(n){var r=e[n];if(void 0===r)throw"module ["+n+"] was undefined";return void 0===r.instance&&t(n),r.instance},o=function(e,t){for(var n=e.length,o=new Array(n),i=0;i<n;++i)o.push(r(e[i]));t.apply(null,t)},i={};i.bolt={module:{api:{define:n,require:o,demand:r}}};var a=n,s=function(e,t){a(e,[],function(){return t})};s("global!tinymce.PluginManager",tinymce.PluginManager),s("global!tinymce.util.Delay",tinymce.util.Delay),s("global!tinymce.util.Tools",tinymce.util.Tools),s("global!tinymce.html.SaxParser",tinymce.html.SaxParser),s("global!tinymce.html.Schema",tinymce.html.Schema),s("global!tinymce.dom.DOMUtils.DOM",tinymce.dom.DOMUtils.DOM),a("tinymce.media.core.VideoScript",[],function(){var e=function(e,t){if(e)for(var n=0;n<e.length;n++)if(t.indexOf(e[n].filter)!==-1)return e[n]};return{getVideoScriptMatch:e}}),a("tinymce.media.core.Size",[],function(){var e=function(e){return e.replace(/px$/,"")},t=function(e){return/^[0-9.]+$/.test(e)?e+"px":e},n=function(t){return function(n){return n?e(n.style[t]):""}},r=function(e){return function(n,r){n&&(n.style[e]=t(r))}};return{getMaxWidth:n("maxWidth"),getMaxHeight:n("maxHeight"),setMaxWidth:r("maxWidth"),setMaxHeight:r("maxHeight")}}),a("tinymce.media.core.HtmlToData",["global!tinymce.util.Tools","global!tinymce.html.SaxParser","global!tinymce.html.Schema","global!tinymce.dom.DOMUtils.DOM","tinymce.media.core.VideoScript","tinymce.media.core.Size"],function(e,t,n,r,o,i){var a=function(e){return r.getAttrib(e,"data-ephox-embed-iri")},s=function(e){var t=r.createFragment(e);return""!==a(t.firstChild)},u=function(n,r){var i={};return new t({validate:!1,allow_conditional_comments:!0,special:"script,noscript",start:function(t,r){if(i.source1||"param"!==t||(i.source1=r.map.movie),"iframe"!==t&&"object"!==t&&"embed"!==t&&"video"!==t&&"audio"!==t||(i.type||(i.type=t),i=e.extend(r.map,i)),"script"===t){var a=o.getVideoScriptMatch(n,r.map.src);if(!a)return;i={type:"script",source1:r.map.src,width:a.width,height:a.height}}"source"===t&&(i.source1?i.source2||(i.source2=r.map.src):i.source1=r.map.src),"img"!==t||i.poster||(i.poster=r.map.src)}}).parse(r),i.source1=i.source1||i.src||i.data,i.source2=i.source2||"",i.poster=i.poster||"",i},l=function(e){var t=r.createFragment(e),n=t.firstChild;return{type:"ephox-embed-iri",source1:a(n),source2:"",poster:"",width:i.getMaxWidth(n),height:i.getMaxHeight(n)}},c=function(e,t){return s(t)?l(t):u(e,t)};return{htmlToData:c}}),s("global!tinymce.html.Writer",tinymce.html.Writer),a("tinymce.media.core.UpdateHtml",["global!tinymce.html.Writer","global!tinymce.html.SaxParser","global!tinymce.html.Schema","global!tinymce.dom.DOMUtils.DOM","tinymce.media.core.Size"],function(e,t,n,r,o){var i=function(e,t){var n,r,o,i;for(n in t)if(o=""+t[n],e.map[n])for(r=e.length;r--;)i=e[r],i.name===n&&(o?(e.map[n]=o,i.value=o):(delete e.map[n],e.splice(r,1)));else o&&(e.push({name:n,value:o}),e.map[n]=o)},a=function(n){var r=new e,o=new t(r);return o.parse(n),r.getContent()},s=function(r,o,a){var s,u=new e,l=0;return new t({validate:!1,allow_conditional_comments:!0,special:"script,noscript",comment:function(e){u.comment(e)},cdata:function(e){u.cdata(e)},text:function(e,t){u.text(e,t)},start:function(e,t,n){switch(e){case"video":case"object":case"embed":case"img":case"iframe":i(t,{width:o.width,height:o.height})}if(a)switch(e){case"video":i(t,{poster:o.poster,src:""}),o.source2&&i(t,{src:""});break;case"iframe":i(t,{src:o.source1});break;case"source":if(l++,l<=2&&(i(t,{src:o["source"+l],type:o["source"+l+"mime"]}),!o["source"+l]))return;break;case"img":if(!o.poster)return;s=!0}u.start(e,t,n)},end:function(e){if("video"===e&&a)for(var t=1;t<=2;t++)if(o["source"+t]){var n=[];n.map={},l<t&&(i(n,{src:o["source"+t],type:o["source"+t+"mime"]}),u.start("source",n,!0))}if(o.poster&&"object"===e&&a&&!s){var r=[];r.map={},i(r,{src:o.poster,width:o.width,height:o.height}),u.start("img",r,!0)}u.end(e)}},new n({})).parse(r),u.getContent()},u=function(e){var t=r.createFragment(e);return""!==r.getAttrib(t.firstChild,"data-ephox-embed-iri")},l=function(e,t){var n=r.createFragment(e),i=n.firstChild;return o.setMaxWidth(i,t.width),o.setMaxHeight(i,t.height),a(i.outerHTML)},c=function(e,t,n){return u(e)?l(e,t):s(e,t,n)};return{updateHtml:c}}),a("tinymce.media.core.Mime",[],function(){var e=function(e){var t={mp3:"audio/mpeg",wav:"audio/wav",mp4:"video/mp4",webm:"video/webm",ogg:"video/ogg",swf:"application/x-shockwave-flash"},n=e.toLowerCase().split(".").pop(),r=t[n];return r?r:""};return{guess:e}}),a("tinymce.media.core.UrlPatterns",[],function(){var e=[{regex:/youtu\.be\/([\w\-.]+)/,type:"iframe",w:560,h:314,url:"//www.youtube.com/embed/$1",allowFullscreen:!0},{regex:/youtube\.com(.+)v=([^&]+)/,type:"iframe",w:560,h:314,url:"//www.youtube.com/embed/$2",allowFullscreen:!0},{regex:/youtube.com\/embed\/([a-z0-9\-_]+(?:\?.+)?)/i,type:"iframe",w:560,h:314,url:"//www.youtube.com/embed/$1",allowFullscreen:!0},{regex:/vimeo\.com\/([0-9]+)/,type:"iframe",w:425,h:350,url:"//player.vimeo.com/video/$1?title=0&byline=0&portrait=0&color=8dc7dc",allowfullscreen:!0},{regex:/vimeo\.com\/(.*)\/([0-9]+)/,type:"iframe",w:425,h:350,url:"//player.vimeo.com/video/$2?title=0&amp;byline=0",allowfullscreen:!0},{regex:/maps\.google\.([a-z]{2,3})\/maps\/(.+)msid=(.+)/,type:"iframe",w:425,h:350,url:'//maps.google.com/maps/ms?msid=$2&output=embed"',allowFullscreen:!1},{regex:/dailymotion\.com\/video\/([^_]+)/,type:"iframe",w:480,h:270,url:"//www.dailymotion.com/embed/video/$1",allowFullscreen:!0}];return{urlPatterns:e}}),a("tinymce.media.core.DataToHtml",["tinymce.media.core.Mime","tinymce.media.core.HtmlToData","tinymce.media.core.UrlPatterns","tinymce.media.core.VideoScript","tinymce.media.core.UpdateHtml","global!tinymce.util.Tools"],function(e,t,n,r,o,i){var a=function(a,s){var u="",l=i.extend({},s);if(!l.source1&&(i.extend(l,t.htmlToData(a.settings.media_scripts,l.embed)),!l.source1))return"";if(l.source2||(l.source2=""),l.poster||(l.poster=""),l.source1=a.convertURL(l.source1,"source"),l.source2=a.convertURL(l.source2,"source"),l.source1mime=e.guess(l.source1),l.source2mime=e.guess(l.source2),l.poster=a.convertURL(l.poster,"poster"),i.each(n.urlPatterns,function(e){var t,n,r=e.regex.exec(l.source1);if(r){for(n=e.url,t=0;r[t];t++)n=n.replace("$"+t,function(){return r[t]});l.source1=n,l.type=e.type,l.allowFullscreen=e.allowFullscreen,l.width=l.width||e.w,l.height=l.height||e.h}}),l.embed)u=o.updateHtml(l.embed,l,!0);else{var c=r.getVideoScriptMatch(a.settings.media_scripts,l.source1);if(c&&(l.type="script",l.width=c.width,l.height=c.height),l.width=l.width||300,l.height=l.height||150,i.each(l,function(e,t){l[t]=a.dom.encode(e)}),"iframe"===l.type){var d=l.allowFullscreen?' allowFullscreen="1"':"";u+='<iframe src="'+l.source1+'" width="'+l.width+'" height="'+l.height+'"'+d+"></iframe>"}else"application/x-shockwave-flash"===l.source1mime?(u+='<object data="'+l.source1+'" width="'+l.width+'" height="'+l.height+'" type="application/x-shockwave-flash">',l.poster&&(u+='<img src="'+l.poster+'" width="'+l.width+'" height="'+l.height+'" />'),u+="</object>"):l.source1mime.indexOf("audio")!==-1?a.settings.audio_template_callback?u=a.settings.audio_template_callback(l):u+='<audio controls="controls" src="'+l.source1+'">'+(l.source2?'\n<source src="'+l.source2+'"'+(l.source2mime?' type="'+l.source2mime+'"':"")+" />\n":"")+"</audio>":"script"===l.type?u+='<script src="'+l.source1+'"></script>':u=a.settings.video_template_callback?a.settings.video_template_callback(l):'<video width="'+l.width+'" height="'+l.height+'"'+(l.poster?' poster="'+l.poster+'"':"")+' controls="controls">\n<source src="'+l.source1+'"'+(l.source1mime?' type="'+l.source1mime+'"':"")+" />\n"+(l.source2?'<source src="'+l.source2+'"'+(l.source2mime?' type="'+l.source2mime+'"':"")+" />\n":"")+"</video>"}return u};return{dataToHtml:a}}),s("global!tinymce.util.Promise",tinymce.util.Promise),a("tinymce.media.core.Service",["tinymce.media.core.DataToHtml","global!tinymce.util.Promise"],function(e,t){var n=function(e,n,r){var o={};return new t(function(t,i){var a=function(r){return r.html&&(o[e.source1]=r),t({url:e.source1,html:r.html?r.html:n(e)})};o[e.source1]?a(o[e.source1]):r({url:e.source1},a,i)})},r=function(e,n){return new t(function(t){t({html:n(e),url:e.source1})})},o=function(t){return function(n){return e.dataToHtml(t,n)}},i=function(e,t){var i=e.settings.media_url_resolver;return i?n(t,o(e),i):r(t,o(e))};return{getEmbedHtml:i}}),s("global!tinymce.Env",tinymce.Env),a("tinymce.media.ui.SizeManager",[],function(){var e=function(e,t){e.state.set("oldVal",e.value()),t.state.set("oldVal",t.value())},t=function(e,t){var n=e.find("#width")[0],r=e.find("#height")[0],o=e.find("#constrain")[0];n&&r&&o&&t(n,r,o.checked())},n=function(t,n,r){var o=t.state.get("oldVal"),i=n.state.get("oldVal"),a=t.value(),s=n.value();r&&o&&i&&a&&s&&(a!==o?(s=Math.round(a/o*s),isNaN(s)||n.value(s)):(a=Math.round(s/i*a),isNaN(a)||t.value(a))),e(t,n)},r=function(n){t(n,e)},o=function(e){t(e,n)},i=function(e){var t=function(){e(function(e){o(e)})};return{type:"container",label:"Dimensions",layout:"flex",align:"center",spacing:5,items:[{name:"width",type:"textbox",maxLength:5,size:5,onchange:t,ariaLabel:"Width"},{type:"label",text:"x"},{name:"height",type:"textbox",maxLength:5,size:5,onchange:t,ariaLabel:"Height"},{name:"constrain",type:"checkbox",checked:!0,text:"Constrain proportions"}]}};return{createUi:i,syncSize:r,updateSize:o}}),a("tinymce.media.ui.Dialog",["global!tinymce.util.Delay","tinymce.media.core.HtmlToData","tinymce.media.core.UpdateHtml","tinymce.media.core.Service","tinymce.media.core.Size","global!tinymce.util.Tools","global!tinymce.Env","tinymce.media.ui.SizeManager"],function(e,t,n,r,o,i,a,s){var u=a.ie&&a.ie<=8?"onChange":"onInput",l=function(e){return function(t){var n=t&&t.msg?"Media embed handler error: "+t.msg:"Media embed handler threw unknown error.";e.notificationManager.open({type:"error",text:n})}},c=function(e){var n=e.selection.getNode(),r=n.getAttribute("data-ephox-embed-iri");return r?{source1:r,"data-ephox-embed-iri":r,width:o.getMaxWidth(n),height:o.getMaxHeight(n)}:n.getAttribute("data-mce-object")?t.htmlToData(e.settings.media_scripts,e.serializer.serialize(n,{selection:!0})):{}},d=function(e){var t=e.selection.getNode();if(t.getAttribute("data-mce-object")||t.getAttribute("data-ephox-embed-iri"))return e.selection.getContent()},f=function(e,n){return function(r){var o=r.html,a=e.find("#embed")[0],u=i.extend(t.htmlToData(n.settings.media_scripts,o),{source1:r.url});e.fromJSON(u),a&&(a.value(o),s.updateSize(e))}},p=function(e,t){var n,r,o=e.dom.select("img[data-mce-object]");for(n=0;n<t.length;n++)for(r=o.length-1;r>=0;r--)t[n]===o[r]&&o.splice(r,1);e.selection.select(o[0])},h=function(e,t){var n=e.dom.select("img[data-mce-object]");e.insertContent(t),p(e,n),e.nodeChanged()},m=function(e,t){var o=e.toJSON();o.embed=n.updateHtml(o.embed,o),o.embed?h(t,o.embed):r.getEmbedHtml(t,o).then(function(e){h(t,e.html)}).catch(l(t))},v=function(e,t){i.each(t,function(t,n){e.find("#"+n).value(t)})},g=function(e){var o,a,p=[{name:"source1",type:"filepicker",filetype:"media",size:40,autofocus:!0,label:"Source",onpaste:function(){setTimeout(function(){r.getEmbedHtml(e,o.toJSON()).then(f(o,e)).catch(l(e))},1)},onchange:function(t){r.getEmbedHtml(e,o.toJSON()).then(f(o,e)).catch(l(e)),v(o,t.meta)},onbeforecall:function(e){e.meta=o.toJSON()}}],h=[],g=function(e){e(o),a=o.toJSON(),o.find("#embed").value(n.updateHtml(a.embed,a))};if(e.settings.media_alt_source!==!1&&h.push({name:"source2",type:"filepicker",filetype:"media",size:40,label:"Alternative source"}),e.settings.media_poster!==!1&&h.push({name:"poster",type:"filepicker",filetype:"image",size:40,label:"Poster"}),e.settings.media_dimensions!==!1){var y=s.createUi(g);p.push(y)}a=c(e);var b={id:"mcemediasource",type:"textbox",flex:1,name:"embed",value:d(e),multiline:!0,rows:5,label:"Source"},_=function(){a=i.extend({},t.htmlToData(e.settings.media_scripts,this.value())),this.parent().parent().fromJSON(a)};b[u]=_,o=e.windowManager.open({title:"Insert/edit media",data:a,bodyType:"tabpanel",body:[{title:"General",type:"form",items:p},{title:"Embed",type:"container",layout:"flex",direction:"column",align:"stretch",padding:10,spacing:10,items:[{type:"label",text:"Paste your embed code below:",forId:"mcemediasource"},b]},{title:"Advanced",type:"form",items:h}],onSubmit:function(){s.updateSize(o),m(o,e)}}),s.syncSize(o)};return{showDialog:g}}),a("tinymce.media.core.Sanitize",["global!tinymce.util.Tools","global!tinymce.html.Writer","global!tinymce.html.SaxParser","global!tinymce.html.Schema"],function(e,t,n,r){var o=function(e,o){if(e.settings.media_filter_html===!1)return o;var i,a=new t;return new n({validate:!1,allow_conditional_comments:!1,special:"script,noscript",comment:function(e){a.comment(e)},cdata:function(e){a.cdata(e)},text:function(e,t){a.text(e,t)},start:function(t,n,r){if(i=!0,"script"!==t&&"noscript"!==t){for(var o=0;o<n.length;o++){if(0===n[o].name.indexOf("on"))return;"style"===n[o].name&&(n[o].value=e.dom.serializeStyle(e.dom.parseStyle(n[o].value),t))}a.start(t,n,r),i=!1}},end:function(e){i||a.end(e)}},new r({})).parse(o),a.getContent()};return{sanitize:o}}),s("global!tinymce.html.Node",tinymce.html.Node),a("tinymce.media.core.Nodes",["tinymce.media.core.Sanitize","tinymce.media.core.VideoScript","global!tinymce.html.Node","global!tinymce.Env"],function(e,t,n,r){var o=function(e,t){var o,i=t.name;return o=new n("img",1),o.shortEnded=!0,a(e,t,o),o.attr({width:t.attr("width")||"300",height:t.attr("height")||("audio"===i?"30":"150"),style:t.attr("style"),src:r.transparentSrc,"data-mce-object":i,class:"mce-object mce-object-"+i}),o},i=function(e,t){var r,o,i,s=t.name;return r=new n("span",1),r.attr({contentEditable:"false",style:t.attr("style"),"data-mce-object":s,class:"mce-preview-object mce-object-"+s}),a(e,t,r),o=new n(s,1),o.attr({src:t.attr("src"),allowfullscreen:t.attr("allowfullscreen"),width:t.attr("width")||"300",height:t.attr("height")||("audio"===s?"30":"150"),frameborder:"0"}),i=new n("span",1),i.attr("class","mce-shim"),r.append(o),r.append(i),r},a=function(t,n,r){var o,i,a,s,u;for(a=n.attributes,s=a.length;s--;)o=a[s].name,i=a[s].value,"width"!==o&&"height"!==o&&"style"!==o&&("data"!==o&&"src"!==o||(i=t.convertURL(i,o)),r.attr("data-mce-p-"+o,i));u=n.firstChild&&n.firstChild.value,u&&(r.attr("data-mce-html",escape(e.sanitize(t,u))),r.firstChild=null)},s=function(e){for(;e=e.parent;)if(e.attr("data-ephox-embed-iri"))return!0;return!1},u=function(e){return function(n){for(var a,u,l=n.length;l--;)a=n[l],a.parent&&(a.parent.attr("data-mce-object")||("script"!==a.name||(u=t.getVideoScriptMatch(e.settings.media_scripts,a.attr("src"))))&&(u&&(u.width&&a.attr("width",u.width.toString()),u.height&&a.attr("height",u.height.toString())),"iframe"===a.name&&e.settings.media_live_embeds!==!1&&r.ceFalse?s(a)||a.replace(i(e,a)):s(a)||a.replace(o(e,a))))}};return{createPreviewIframeNode:i,createPlaceholderNode:o,placeHolderConverter:u}}),a("tinymce.media.Plugin",["global!tinymce.PluginManager","tinymce.media.ui.Dialog","tinymce.media.core.Sanitize","tinymce.media.core.UpdateHtml","tinymce.media.core.Nodes"],function(e,t,n,r,o){var i=function(e){e.on("ResolveName",function(e){var t;1===e.target.nodeType&&(t=e.target.getAttribute("data-mce-object"))&&(e.name=t)}),e.on("preInit",function(){var t=e.schema.getSpecialElements();tinymce.each("video audio iframe object".split(" "),function(e){t[e]=new RegExp("</"+e+"[^>]*>","gi")});var r=e.schema.getBoolAttrs();tinymce.each("webkitallowfullscreen mozallowfullscreen allowfullscreen".split(" "),function(e){r[e]={}}),e.parser.addNodeFilter("iframe,video,audio,object,embed,script",o.placeHolderConverter(e)),e.serializer.addAttributeFilter("data-mce-object",function(t,r){for(var o,i,a,s,u,l,c,d,f=t.length;f--;)if(o=t[f],o.parent){for(c=o.attr(r),i=new tinymce.html.Node(c,1),"audio"!==c&&"script"!==c&&(d=o.attr("class"),d&&d.indexOf("mce-preview-object")!==-1?i.attr({width:o.firstChild.attr("width"),height:o.firstChild.attr("height")}):i.attr({width:o.attr("width"),height:o.attr("height")})),i.attr({style:o.attr("style")}),s=o.attributes,a=s.length;a--;){var p=s[a].name;0===p.indexOf("data-mce-p-")&&i.attr(p.substr(11),s[a].value)}"script"===c&&i.attr("type","text/javascript"),u=o.attr("data-mce-html"),u&&(l=new tinymce.html.Node("#text",3),l.raw=!0,l.value=n.sanitize(e,unescape(u)),i.append(l)),o.replace(i)}})}),e.on("click keyup",function(){var t=e.selection.getNode();t&&e.dom.hasClass(t,"mce-preview-object")&&e.dom.getAttrib(t,"data-mce-selected")&&t.setAttribute("data-mce-selected","2")}),e.on("ObjectSelected",function(e){var t=e.target.getAttribute("data-mce-object");"audio"!==t&&"script"!==t||e.preventDefault()}),e.on("objectResized",function(e){var t,n=e.target;n.getAttribute("data-mce-object")&&(t=n.getAttribute("data-mce-html"),t&&(t=unescape(t),n.setAttribute("data-mce-html",escape(r.updateHtml(t,{width:e.width,height:e.height})))))}),this.showDialog=function(){t.showDialog(e)},e.addButton("media",{tooltip:"Insert/edit media",onclick:this.showDialog,stateSelector:["img[data-mce-object]","span[data-mce-object]","div[data-ephox-embed-iri]"]}),e.addMenuItem("media",{icon:"media",text:"Media",onclick:this.showDialog,context:"insert",prependToContext:!0}),e.on("setContent",function(){e.$("span.mce-preview-object").each(function(t,n){var r=e.$(n);0===r.find("span.mce-shim",n).length&&r.append('<span class="mce-shim"></span>')})}),e.addCommand("mceMedia",this.showDialog)};return e.add("media",i),
-function(){}}),r("tinymce.media.Plugin")()}()},function(e,t){!function(e,t){"use strict";function n(e,t){for(var n,r=[],i=0;i<e.length;++i){if(n=a[e[i]]||o(e[i]),!n)throw"module definition dependecy not found: "+e[i];r.push(n)}t.apply(null,r)}function r(e,r,o){if("string"!=typeof e)throw"invalid module definition, module id must be defined and be a string";if(r===t)throw"invalid module definition, dependencies must be specified";if(o===t)throw"invalid module definition, definition function must be specified";n(r,function(){a[e]=o.apply(null,arguments)})}function o(t){for(var n=e,r=t.split(/[.\/]/),o=0;o<r.length;++o){if(!n[r[o]])return;n=n[r[o]]}return n}function i(n){var r,o,i,s,u;for(r=0;r<n.length;r++){o=e,i=n[r],s=i.split(/[.\/]/);for(var l=0;l<s.length-1;++l)o[s[l]]===t&&(o[s[l]]={}),o=o[s[l]];o[s[s.length-1]]=a[i]}if(e.AMDLC_TESTS){u=e.privateModules||{};for(i in a)u[i]=a[i];for(r=0;r<n.length;r++)delete u[n[r]];e.privateModules=u}}var a={};r("tinymce/pasteplugin/Utils",["tinymce/util/Tools","tinymce/html/DomParser","tinymce/html/Schema"],function(e,t,n){function r(t,n){return e.each(n,function(e){t=e.constructor==RegExp?t.replace(e,""):t.replace(e[0],e[1])}),t}function o(o){function i(e){var t=e.name,n=e;if("br"===t)return void(u+="\n");if(l[t]&&(u+=" "),c[t])return void(u+=" ");if(3==e.type&&(u+=e.value),!e.shortEnded&&(e=e.firstChild))do i(e);while(e=e.next);d[t]&&n.next&&(u+="\n","p"==t&&(u+="\n"))}var a=new n,s=new t({},a),u="",l=a.getShortEndedElements(),c=e.makeMap("script noscript style textarea video audio iframe object"," "),d=a.getBlockElements();return o=r(o,[/<!\[[^\]]+\]>/g]),i(s.parse(o)),u}function i(e){function t(e,t,n){return t||n?" ":" "}return e=r(e,[/^[\s\S]*<body[^>]*>\s*|\s*<\/body[^>]*>[\s\S]*$/g,/<!--StartFragment-->|<!--EndFragment-->/g,[/( ?)<span class="Apple-converted-space">\u00a0<\/span>( ?)/g,t],/<br class="Apple-interchange-newline">/g,/<br>$/i])}function a(e){var t=0;return function(){return e+t++}}return{filter:r,innerText:o,trimHtml:i,createIdGenerator:a}}),r("tinymce/pasteplugin/SmartPaste",["tinymce/util/Tools"],function(e){var t=function(e){return/^https?:\/\/[\w\?\-\/+=.&%@~#]+$/i.test(e)},n=function(e){return t(e)&&/.(gif|jpe?g|png)$/.test(e)},r=function(e,t,n){return e.undoManager.extra(function(){n(e,t)},function(){e.insertContent('<img src="'+t+'">')}),!0},o=function(e,t,n){return e.undoManager.extra(function(){n(e,t)},function(){e.execCommand("mceInsertLink",!1,t)}),!0},i=function(e,n,r){return!(e.selection.isCollapsed()!==!1||!t(n))&&o(e,n,r)},a=function(e,t,o){return!!n(t)&&r(e,t,o)},s=function(e,t){return e.insertContent(t,{merge:e.settings.paste_merge_formats!==!1,paste:!0}),!0},u=function(t,n){e.each([i,a,s],function(e){return e(t,n,s)!==!0})},l=function(e,t){e.settings.smart_paste===!1?s(e,t):u(e,t)};return{isImageUrl:n,isAbsoluteUrl:t,insertContent:l}}),r("tinymce/pasteplugin/Clipboard",["tinymce/Env","tinymce/dom/RangeUtils","tinymce/util/VK","tinymce/pasteplugin/Utils","tinymce/pasteplugin/SmartPaste","tinymce/util/Delay"],function(e,t,n,r,o,i){return function(a){function s(e){var t,n=a.dom;if(t=a.fire("BeforePastePreProcess",{content:e}),t=a.fire("PastePreProcess",t),e=t.content,!t.isDefaultPrevented()){if(a.hasEventListeners("PastePostProcess")&&!t.isDefaultPrevented()){var r=n.add(a.getBody(),"div",{style:"display:none"},e);t=a.fire("PastePostProcess",{node:r}),n.remove(r),e=t.node.innerHTML}t.isDefaultPrevented()||o.insertContent(a,e)}}function u(e){e=a.dom.encode(e).replace(/\r\n/g,"\n");var t,n=a.dom.getParent(a.selection.getStart(),a.dom.isBlock),o=a.settings.forced_root_block;o&&(t=a.dom.createHTML(o,a.settings.forced_root_block_attrs),t=t.substr(0,t.length-3)+">"),n&&/^(PRE|DIV)$/.test(n.nodeName)||!o?e=r.filter(e,[[/\n/g,"<br>"]]):(e=r.filter(e,[[/\n\n/g,"</p>"+t],[/^(.*<\/p>)(<p>)$/,t+"$1"],[/\n/g,"<br />"]]),e.indexOf("<p>")!=-1&&(e=t+e)),s(e)}function l(){function t(e){var t,n,o,i=e.startContainer;if(t=e.getClientRects(),t.length)return t[0];if(e.collapsed&&1==i.nodeType){for(o=i.childNodes[T.startOffset];o&&3==o.nodeType&&!o.data.length;)o=o.nextSibling;if(o)return"BR"==o.tagName&&(n=r.doc.createTextNode("\ufeff"),o.parentNode.insertBefore(n,o),e=r.createRng(),e.setStartBefore(n),e.setEndAfter(n),t=e.getClientRects(),r.remove(n)),t.length?t[0]:void 0}}var n,r=a.dom,o=a.getBody(),i=a.dom.getViewPort(a.getWin()),s=i.y,u=20;if(T=a.selection.getRng(),a.inline&&(n=a.selection.getScrollContainer(),n&&n.scrollTop>0&&(s=n.scrollTop)),T.getClientRects){var l=t(T);if(l)u=s+(l.top-r.getPos(o).y);else{u=s;var c=T.startContainer;c&&(3==c.nodeType&&c.parentNode!=o&&(c=c.parentNode),1==c.nodeType&&(u=r.getPos(c,n||o).y))}}E=r.add(a.getBody(),"div",{id:"mcepastebin",contentEditable:!0,"data-mce-bogus":"all",style:"position: absolute; top: "+u+"px;width: 10px; height: 10px; overflow: hidden; opacity: 0"},A),(e.ie||e.gecko)&&r.setStyle(E,"left","rtl"==r.getStyle(o,"direction",!0)?65535:-65535),r.bind(E,"beforedeactivate focusin focusout",function(e){e.stopPropagation()}),E.focus(),a.selection.select(E,!0)}function c(){if(E){for(var e;e=a.dom.get("mcepastebin");)a.dom.remove(e),a.dom.unbind(e);T&&a.selection.setRng(T)}E=T=null}function d(){var e,t,n,r,o="";for(e=a.dom.select("div[id=mcepastebin]"),t=0;t<e.length;t++)n=e[t],n.firstChild&&"mcepastebin"==n.firstChild.id&&(n=n.firstChild),r=n.innerHTML,o!=A&&(o+=r);return o}function f(e){var t={};if(e){if(e.getData){var n=e.getData("Text");n&&n.length>0&&n.indexOf(N)==-1&&(t["text/plain"]=n)}if(e.types)for(var r=0;r<e.types.length;r++){var o=e.types[r];t[o]=e.getData(o)}}return t}function p(e){return f(e.clipboardData||a.getDoc().dataTransfer)}function h(e){return w(e,"text/html")||w(e,"text/plain")}function m(e){var t;return t=e.indexOf(","),t!==-1?e.substr(t+1):null}function v(e,t){return!e.images_dataimg_filter||e.images_dataimg_filter(t)}function g(e,t,n){e&&(a.selection.setRng(e),e=null);var r=t.result,o=m(r),i=new Image;if(i.src=r,v(a.settings,i)){var u,l,c=a.editorUpload.blobCache;l=c.findFirst(function(e){return e.base64()===o}),l?u=l:(u=c.create(I(),n,o),c.add(u)),s('<img src="'+u.blobUri()+'">')}else s('<img src="'+r+'">')}function y(e,t){function n(n){var r,o,i,a=!1;if(n)for(r=0;r<n.length;r++)if(o=n[r],/^image\/(jpeg|png|gif|bmp)$/.test(o.type)){var s=o.getAsFile?o.getAsFile():o;i=new FileReader,i.onload=g.bind(null,t,i,s),i.readAsDataURL(s),e.preventDefault(),a=!0}return a}var r=e.clipboardData||e.dataTransfer;if(a.settings.paste_data_images&&r)return n(r.items)||n(r.files)}function b(e){var t=e.clipboardData;return navigator.userAgent.indexOf("Android")!=-1&&t&&t.items&&0===t.items.length}function _(e){return t.getCaretRangeFromPoint(e.clientX,e.clientY,a.getDoc())}function w(e,t){return t in e&&e[t].length>0}function C(e){return n.metaKeyPressed(e)&&86==e.keyCode||e.shiftKey&&45==e.keyCode}function x(){function t(e,t,n){var o;return w(e,"text/html")?o=e["text/html"]:(o=d(),o==A&&(n=!0)),o=r.trimHtml(o),E&&E.firstChild&&"mcepastebin"===E.firstChild.id&&(n=!0),c(),o.length||(n=!0),n&&(o=w(e,"text/plain")&&o.indexOf("</p>")==-1?e["text/plain"]:r.innerText(o)),o==A?void(t||a.windowManager.alert("Please use Ctrl+V/Cmd+V keyboard shortcuts to paste contents.")):void(n?u(o):s(o))}function n(e){var t=e["text/plain"];return!!t&&0===t.indexOf("file://")}a.on("keydown",function(t){function n(e){C(e)&&!e.isDefaultPrevented()&&c()}if(C(t)&&!t.isDefaultPrevented()){if(k=t.shiftKey&&86==t.keyCode,k&&e.webkit&&navigator.userAgent.indexOf("Version/")!=-1)return;if(t.stopImmediatePropagation(),M=(new Date).getTime(),e.ie&&k)return t.preventDefault(),void a.fire("paste",{ieFake:!0});c(),l(),a.once("keyup",n),a.once("paste",function(){a.off("keyup",n)})}});var o=function(){return T||a.selection.getRng()};a.on("paste",function(n){var r=(new Date).getTime(),s=p(n),u=(new Date).getTime()-r,f=(new Date).getTime()-M-u<1e3,m="text"==S.pasteFormat||k;return k=!1,n.isDefaultPrevented()||b(n)?void c():!h(s)&&y(n,o())?void c():(f||n.preventDefault(),!e.ie||f&&!n.ieFake||(l(),a.dom.bind(E,"paste",function(e){e.stopPropagation()}),a.getDoc().execCommand("Paste",!1,null),s["text/html"]=d()),void(w(s,"text/html")?(n.preventDefault(),t(s,f,m)):i.setEditorTimeout(a,function(){t(s,f,m)},0)))}),a.on("dragstart dragend",function(e){O="dragstart"==e.type}),a.on("drop",function(e){var t,o;if(o=_(e),!e.isDefaultPrevented()&&!O&&(t=f(e.dataTransfer),(h(t)&&!n(t)||!y(e,o))&&o&&a.settings.paste_filter_drop!==!1)){var l=t["mce-internal"]||t["text/html"]||t["text/plain"];l&&(e.preventDefault(),i.setEditorTimeout(a,function(){a.undoManager.transact(function(){t["mce-internal"]&&a.execCommand("Delete"),a.selection.setRng(o),l=r.trimHtml(l),t["text/html"]?s(l):u(l)})}))}}),a.on("dragover dragend",function(e){a.settings.paste_data_images&&e.preventDefault()})}var E,T,k,S=this,M=0,O=!1,A="%MCEPASTEBIN%",N="data:text/mce-internal,",I=r.createIdGenerator("mceclip");S.pasteHtml=s,S.pasteText=u,S.pasteImageData=y,a.on("preInit",function(){x(),a.parser.addNodeFilter("img",function(t,n,r){function o(e){return e.data&&e.data.paste===!0}function i(t){t.attr("data-mce-object")||c===e.transparentSrc||t.remove()}function s(e){return 0===e.indexOf("webkit-fake-url")}function u(e){return 0===e.indexOf("data:")}if(!a.settings.paste_data_images&&o(r))for(var l=t.length;l--;){var c=t[l].attributes.map.src;c&&(s(c)?i(t[l]):!a.settings.allow_html_data_urls&&u(c)&&i(t[l]))}})})}}),r("tinymce/pasteplugin/WordFilter",["tinymce/util/Tools","tinymce/html/DomParser","tinymce/html/Schema","tinymce/html/Serializer","tinymce/html/Node","tinymce/pasteplugin/Utils"],function(e,t,n,r,o,i){function a(e){return/<font face="Times New Roman"|class="?Mso|style="[^"]*\bmso-|style='[^'']*\bmso-|w:WordDocument/i.test(e)||/class="OutlineElement/.test(e)||/id="?docs\-internal\-guid\-/.test(e)}function s(t){var n,r;return r=[/^[IVXLMCD]{1,2}\.[ \u00a0]/,/^[ivxlmcd]{1,2}\.[ \u00a0]/,/^[a-z]{1,2}[\.\)][ \u00a0]/,/^[A-Z]{1,2}[\.\)][ \u00a0]/,/^[0-9]+\.[ \u00a0]/,/^[\u3007\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d]+\.[ \u00a0]/,/^[\u58f1\u5f10\u53c2\u56db\u4f0d\u516d\u4e03\u516b\u4e5d\u62fe]+\.[ \u00a0]/],t=t.replace(/^[\u00a0 ]+/,""),e.each(r,function(e){if(e.test(t))return n=!0,!1}),n}function u(e){return/^[\s\u00a0]*[\u2022\u00b7\u00a7\u25CF]\s*/.test(e)}function l(l){var c=l.settings;l.on("BeforePastePreProcess",function(d){function f(e){function t(e){var n="";if(3===e.type)return e.value;if(e=e.firstChild)do n+=t(e);while(e=e.next);return n}function n(e,t){if(3===e.type&&t.test(e.value))return e.value=e.value.replace(t,""),!1;if(e=e.firstChild)do if(!n(e,t))return!1;while(e=e.next);return!0}function r(e){if(e._listIgnore)return void e.remove();if(e=e.firstChild)do r(e);while(e=e.next)}function i(e,t,i){var s=e._listLevel||c;s!=c&&(s<c?a&&(a=a.parent.parent):(l=a,a=null)),a&&a.name==t?a.append(e):(l=l||a,a=new o(t,1),i>1&&a.attr("start",""+i),e.wrap(a)),e.name="li",s>c&&l&&l.lastChild.append(a),c=s,r(e),n(e,/^\u00a0+/),n(e,/^\s*([\u2022\u00b7\u00a7\u25CF]|\w+\.)/),n(e,/^\u00a0+/)}for(var a,l,c=1,d=[],f=e.firstChild;"undefined"!=typeof f&&null!==f;)if(d.push(f),f=f.walk(),null!==f)for(;"undefined"!=typeof f&&f.parent!==e;)f=f.walk();for(var p=0;p<d.length;p++)if(e=d[p],"p"==e.name&&e.firstChild){var h=t(e);if(u(h)){i(e,"ul");continue}if(s(h)){var m=/([0-9]+)\./.exec(h),v=1;m&&(v=parseInt(m[1],10)),i(e,"ol",v);continue}if(e._listLevel){i(e,"ul",1);continue}a=null}else l=a,a=null}function p(t,n){var r,i={},a=l.dom.parseStyle(n);return e.each(a,function(e,o){switch(o){case"mso-list":r=/\w+ \w+([0-9]+)/i.exec(n),r&&(t._listLevel=parseInt(r[1],10)),/Ignore/i.test(e)&&t.firstChild&&(t._listIgnore=!0,t.firstChild._listIgnore=!0);break;case"horiz-align":o="text-align";break;case"vert-align":o="vertical-align";break;case"font-color":case"mso-foreground":o="color";break;case"mso-background":case"mso-highlight":o="background";break;case"font-weight":case"font-style":return void("normal"!=e&&(i[o]=e));case"mso-element":if(/^(comment|comment-list)$/i.test(e))return void t.remove()}return 0===o.indexOf("mso-comment")?void t.remove():void(0!==o.indexOf("mso-")&&("all"==h||m&&m[o])&&(i[o]=e))}),/(bold)/i.test(i["font-weight"])&&(delete i["font-weight"],t.wrap(new o("b",1))),/(italic)/i.test(i["font-style"])&&(delete i["font-style"],t.wrap(new o("i",1))),i=l.dom.serializeStyle(i,t.name),i?i:null}var h,m,v=d.content;if(v=v.replace(/<b[^>]+id="?docs-internal-[^>]*>/gi,""),v=v.replace(/<br class="?Apple-interchange-newline"?>/gi,""),h=c.paste_retain_style_properties,h&&(m=e.makeMap(h.split(/[, ]/))),c.paste_enable_default_filters!==!1&&a(d.content)){d.wordContent=!0,v=i.filter(v,[/<!--[\s\S]+?-->/gi,/<(!|script[^>]*>.*?<\/script(?=[>\s])|\/?(\?xml(:\w+)?|img|meta|link|style|\w:\w+)(?=[\s\/>]))[^>]*>/gi,[/<(\/?)s>/gi,"<$1strike>"],[/&nbsp;/gi," "],[/<span\s+style\s*=\s*"\s*mso-spacerun\s*:\s*yes\s*;?\s*"\s*>([\s\u00a0]*)<\/span>/gi,function(e,t){return t.length>0?t.replace(/./," ").slice(Math.floor(t.length/2)).split("").join(" "):""}]]);var g=c.paste_word_valid_elements;g||(g="-strong/b,-em/i,-u,-span,-p,-ol,-ul,-li,-h1,-h2,-h3,-h4,-h5,-h6,-p/div,-a[href|name],sub,sup,strike,br,del,table[width],tr,td[colspan|rowspan|width],th[colspan|rowspan|width],thead,tfoot,tbody");var y=new n({valid_elements:g,valid_children:"-li[p]"});e.each(y.elements,function(e){e.attributes.class||(e.attributes.class={},e.attributesOrder.push("class")),e.attributes.style||(e.attributes.style={},e.attributesOrder.push("style"))});var b=new t({},y);b.addAttributeFilter("style",function(e){for(var t,n=e.length;n--;)t=e[n],t.attr("style",p(t,t.attr("style"))),"span"==t.name&&t.parent&&!t.attributes.length&&t.unwrap()}),b.addAttributeFilter("class",function(e){for(var t,n,r=e.length;r--;)t=e[r],n=t.attr("class"),/^(MsoCommentReference|MsoCommentText|msoDel)$/i.test(n)&&t.remove(),t.attr("class",null)}),b.addNodeFilter("del",function(e){for(var t=e.length;t--;)e[t].remove()}),b.addNodeFilter("a",function(e){for(var t,n,r,o=e.length;o--;)if(t=e[o],n=t.attr("href"),r=t.attr("name"),n&&n.indexOf("#_msocom_")!=-1)t.remove();else if(n&&0===n.indexOf("file://")&&(n=n.split("#")[1],n&&(n="#"+n)),n||r){if(r&&!/^_?(?:toc|edn|ftn)/i.test(r)){t.unwrap();continue}t.attr({href:n,name:r})}else t.unwrap()});var _=b.parse(v);c.paste_convert_word_fake_lists!==!1&&f(_),d.content=new r({validate:c.validate},y).serialize(_)}})}return l.isWordContent=a,l}),r("tinymce/pasteplugin/Quirks",["tinymce/Env","tinymce/util/Tools","tinymce/pasteplugin/WordFilter","tinymce/pasteplugin/Utils"],function(e,t,n,r){return function(o){function i(e){o.on("BeforePastePreProcess",function(t){t.content=e(t.content)})}function a(e){o.on("PastePostProcess",function(t){e(t.node)})}function s(e){if(!n.isWordContent(e))return e;var i=[];t.each(o.schema.getBlockElements(),function(e,t){i.push(t)});var a=new RegExp("(?:<br>&nbsp;[\\s\\r\\n]+|<br>)*(<\\/?("+i.join("|")+")[^>]*>)(?:<br>&nbsp;[\\s\\r\\n]+|<br>)*","g");return e=r.filter(e,[[a,"$1"]]),e=r.filter(e,[[/<br><br>/g,"<BR><BR>"],[/<br>/g," "],[/<BR><BR>/g,"<br>"]])}function u(e){if(n.isWordContent(e))return e;var t=o.settings.paste_webkit_styles;if(o.settings.paste_remove_styles_if_webkit===!1||"all"==t)return e;if(t&&(t=t.split(/[, ]/)),t){var r=o.dom,i=o.selection.getNode();e=e.replace(/(<[^>]+) style="([^"]*)"([^>]*>)/gi,function(e,n,o,a){var s=r.parseStyle(o,"span"),u={};if("none"===t)return n+a;for(var l=0;l<t.length;l++){var c=s[t[l]],d=r.getStyle(i,t[l],!0);/color/.test(t[l])&&(c=r.toHex(c),d=r.toHex(d)),d!=c&&(u[t[l]]=c)}return u=r.serializeStyle(u,"span"),u?n+' style="'+u+'"'+a:n+a})}else e=e.replace(/(<[^>]+) style="([^"]*)"([^>]*>)/gi,"$1$3");return e=e.replace(/(<[^>]+) data-mce-style="([^"]+)"([^>]*>)/gi,function(e,t,n,r){return t+' style="'+n+'"'+r})}function l(e){o.$("a",e).find("font,u").each(function(e,t){o.dom.remove(t,!0)})}e.webkit&&i(u),e.ie&&(i(s),a(l))}}),r("tinymce/pasteplugin/Plugin",["tinymce/PluginManager","tinymce/pasteplugin/Clipboard","tinymce/pasteplugin/WordFilter","tinymce/pasteplugin/Quirks"],function(e,t,n,r){var o;e.add("paste",function(i){function a(){return o||i.settings.paste_plaintext_inform===!1}function s(){if("text"==l.pasteFormat)l.pasteFormat="html",i.fire("PastePlainTextToggle",{state:!1});else if(l.pasteFormat="text",i.fire("PastePlainTextToggle",{state:!0}),!a()){var e=i.translate("Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.");i.notificationManager.open({text:e,type:"info"}),o=!0}i.focus()}function u(){var e=this;e.active("text"===l.pasteFormat),i.on("PastePlainTextToggle",function(t){e.active(t.state)})}var l,c=this,d=i.settings;return/(^|[ ,])powerpaste([, ]|$)/.test(d.plugins)&&e.get("powerpaste")?void("undefined"!=typeof console&&console.log&&console.log("PowerPaste is incompatible with Paste plugin! Remove 'paste' from the 'plugins' option.")):(c.clipboard=l=new t(i),c.quirks=new r(i),c.wordFilter=new n(i),i.settings.paste_as_text&&(c.clipboard.pasteFormat="text"),d.paste_preprocess&&i.on("PastePreProcess",function(e){d.paste_preprocess.call(c,c,e)}),d.paste_postprocess&&i.on("PastePostProcess",function(e){d.paste_postprocess.call(c,c,e)}),i.addCommand("mceInsertClipboardContent",function(e,t){t.content&&c.clipboard.pasteHtml(t.content),t.text&&c.clipboard.pasteText(t.text)}),i.settings.paste_block_drop&&i.on("dragend dragover draggesture dragdrop drop drag",function(e){e.preventDefault(),e.stopPropagation()}),i.settings.paste_data_images||i.on("drop",function(e){var t=e.dataTransfer;t&&t.files&&t.files.length>0&&e.preventDefault()}),i.addCommand("mceTogglePlainTextPaste",s),i.addButton("pastetext",{icon:"pastetext",tooltip:"Paste as text",onclick:s,onPostRender:u}),void i.addMenuItem("pastetext",{text:"Paste as text",selectable:!0,active:l.pasteFormat,onclick:s,onPostRender:u}))})}),i(["tinymce/pasteplugin/Utils"])}(window)},function(e,t){!function(e,t){"use strict";function n(e,t){for(var n,r=[],a=0;a<e.length;++a){if(n=i[e[a]]||o(e[a]),!n)throw"module definition dependecy not found: "+e[a];r.push(n)}t.apply(null,r)}function r(e,r,o){if("string"!=typeof e)throw"invalid module definition, module id must be defined and be a string";if(r===t)throw"invalid module definition, dependencies must be specified";if(o===t)throw"invalid module definition, definition function must be specified";n(r,function(){i[e]=o.apply(null,arguments)})}function o(t){for(var n=e,r=t.split(/[.\/]/),o=0;o<r.length;++o){if(!n[r[o]])return;n=n[r[o]]}return n}var i={};r("tinymce/tableplugin/Utils",["tinymce/Env"],function(e){function t(t){(!e.ie||e.ie>9)&&(t.hasChildNodes()||(t.innerHTML='<br data-mce-bogus="1" />'))}var n=function(e){return function(t,n){t&&(n=parseInt(n,10),1===n||0===n?t.removeAttribute(e,1):t.setAttribute(e,n,1))}},r=function(e){return function(t){return parseInt(t.getAttribute(e)||1,10)}};return{setColSpan:n("colSpan"),setRowSpan:n("rowspan"),getColSpan:r("colSpan"),getRowSpan:r("rowSpan"),setSpanVal:function(e,t,r){n(t)(e,r)},getSpanVal:function(e,t){return r(t)(e)},paddCell:t}}),r("tinymce/tableplugin/SplitCols",["tinymce/util/Tools","tinymce/tableplugin/Utils"],function(e,t){var n=function(e,t,n){return e[n]?e[n][t]:null},r=function(e,t,r){var o=n(e,t,r);return o?o.elm:null},o=function(e,t,o,i){var a,s,u=0,l=r(e,t,o);for(a=o;(i>0?a<e.length:a>=0)&&(s=n(e,t,a),l===s.elm);a+=i)u++;return u},i=function(e,t,n){for(var r,o=e[n],i=t;i<o.length;i++)if(r=o[i],r.real)return r.elm;return null},a=function(e,n){for(var r,i=[],a=e[n],s=0;s<a.length;s++)r=a[s],i.push({elm:r.elm,above:o(e,s,n,-1)-1,below:o(e,s,n,1)-1}),s+=t.getColSpan(r.elm)-1;return i},s=function(e,n){var r=e.elm.ownerDocument,o=r.createElement("td");return t.setColSpan(o,t.getColSpan(e.elm)),t.setRowSpan(o,n),t.paddCell(o),o},u=function(e,t,n,r){var o=i(e,n+1,r);o?o.parentNode.insertBefore(t,o):(o=i(e,0,r),o.parentNode.appendChild(t))},l=function(e,n,r,o){if(0!==n.above){t.setRowSpan(n.elm,n.above);var i=s(n,n.below+1);return u(e,i,r,o),i}return null},c=function(e,n,r,o){if(0!==n.below){t.setRowSpan(n.elm,n.above+1);var i=s(n,n.below);return u(e,i,r,o+1),i}return null},d=function(t,n,o,i){var s=a(t,o),u=r(t,n,o).parentNode,d=[];return e.each(s,function(e,n){var r=i?l(t,e,n,o):c(t,e,n,o);null!==r&&d.push(d)}),{cells:d,row:u}};return{splitAt:d}}),r("tinymce/tableplugin/TableGrid",["tinymce/util/Tools","tinymce/Env","tinymce/tableplugin/Utils","tinymce/tableplugin/SplitCols"],function(e,n,r,o){var i=e.each,a=r.getSpanVal,s=r.setSpanVal;return function(u,l,c){function d(){u.$("td[data-mce-selected],th[data-mce-selected]").removeAttr("data-mce-selected")}function f(e){return e===u.getBody()}function p(t,n){return t?(n=e.map(n.split(","),function(e){return e.toLowerCase()}),e.grep(t.childNodes,function(t){return e.inArray(n,t.nodeName.toLowerCase())!==-1})):[]}function h(){var e=0;J=[],Z=0,i(["thead","tbody","tfoot"],function(t){var n=p(l,t)[0],r=p(n,"tr");i(r,function(n,r){r+=e,i(p(n,"td,th"),function(e,n){var o,i,s,u;if(J[r])for(;J[r][n];)n++;for(s=a(e,"rowspan"),u=a(e,"colspan"),i=r;i<r+s;i++)for(J[i]||(J[i]=[]),o=n;o<n+u;o++)J[i][o]={part:t,real:i==r&&o==n,elm:e,rowspan:s,colspan:u};Z=Math.max(Z,n+1)})}),e+=r.length})}function m(e){return u.fire("newrow",{node:e}),e}function v(e){return u.fire("newcell",{node:e}),e}function g(e,t){return e=e.cloneNode(t),e.removeAttribute("id"),e}function y(e,t){var n;if(n=J[t])return n[e]}function b(e,t){return e[t]?e[t]:null}function _(e,t){for(var n=[],r=0;r<e.length;r++)n.push(y(t,r));return n}function w(e){return e&&(!!re.getAttrib(e.elm,"data-mce-selected")||e==c)}function C(){var e=[];return i(l.rows,function(t){i(t.cells,function(n){if(re.getAttrib(n,"data-mce-selected")||c&&n==c.elm)return e.push(t),!1})}),e}function x(){var e=0;return i(J,function(t){if(i(t,function(t){w(t)&&e++}),e)return!1}),e}function E(){var e=re.createRng();f(l)||(e.setStartAfter(l),e.setEndAfter(l),ne.setRng(e),re.remove(l))}function T(t){var o,a={};return u.settings.table_clone_elements!==!1&&(a=e.makeMap((u.settings.table_clone_elements||"strong em b i span font h1 h2 h3 h4 h5 h6 p div").toUpperCase(),/[ ,]/)),e.walk(t,function(e){var r;if(3==e.nodeType)return i(re.getParents(e.parentNode,null,t).reverse(),function(e){a[e.nodeName]&&(e=g(e,!1),o?r&&r.appendChild(e):o=r=e,r=e)}),r&&(r.innerHTML=n.ie&&n.ie<10?"&nbsp;":'<br data-mce-bogus="1" />'),!1},"childNodes"),t=g(t,!1),v(t),s(t,"rowSpan",1),s(t,"colSpan",1),o?t.appendChild(o):r.paddCell(t),t}function k(){var e,t=re.createRng();return i(re.select("tr",l),function(e){0===e.cells.length&&re.remove(e)}),0===re.select("tr",l).length?(t.setStartBefore(l),t.setEndBefore(l),ne.setRng(t),void re.remove(l)):(i(re.select("thead,tbody,tfoot",l),function(e){0===e.rows.length&&re.remove(e)}),h(),void(ee&&(e=J[Math.min(J.length-1,ee.y)],e&&(ne.select(e[Math.min(e.length-1,ee.x)].elm,!0),ne.collapse(!0)))))}function S(e,t,n,r){var o,i,a,s,u;for(o=J[t][e].elm.parentNode,a=1;a<=n;a++)if(o=re.getNext(o,"tr")){for(i=e;i>=0;i--)if(u=J[t+a][i].elm,u.parentNode==o){for(s=1;s<=r;s++)re.insertAfter(T(u),u);break}if(i==-1)for(s=1;s<=r;s++)o.insertBefore(T(o.cells[0]),o.cells[0])}}function M(){i(J,function(e,t){i(e,function(e,n){var r,o,i;if(w(e)&&(e=e.elm,r=a(e,"colspan"),o=a(e,"rowspan"),r>1||o>1)){for(s(e,"rowSpan",1),s(e,"colSpan",1),i=0;i<r-1;i++)re.insertAfter(T(e),e);S(n,t,o-1,r)}})})}function O(e,t,n){for(var r=[],o=0;o<e.length;o++)(o<t||o>n)&&r.push(e[o]);return r}function A(t){return e.grep(t,function(e){return e.real===!1})}function N(e){for(var t=[],n=0;n<e.length;n++){var r=e[n].elm;t[t.length-1]!==r&&t.push(r)}return t}function I(t,n,o,i,a){var s=0;if(a-o<1)return 0;for(var u=o+1;u<=a;u++){var l=O(b(t,u),n,i),c=A(l);l.length===c.length&&(e.each(N(c),function(e){r.setRowSpan(e,r.getRowSpan(e)-1)}),s++)}return s}function P(t,n,o,i,a){var s=0;if(i-n<1)return 0;for(var u=n+1;u<=i;u++){var l=O(_(t,u),o,a),c=A(l);l.length===c.length&&(e.each(N(c),function(e){r.setColSpan(e,r.getColSpan(e)-1)}),s++)}return s}function D(t,n,r){var o,a,u,l,c,d,f,p,m,v,g,b,_;if(t?(o=G(t),a=o.x,u=o.y,l=a+(n-1),c=u+(r-1)):(ee=te=null,i(J,function(e,t){i(e,function(e,n){w(e)&&(ee||(ee={x:n,y:t}),te={x:n,y:t})})}),ee&&(a=ee.x,u=ee.y,l=te.x,c=te.y)),p=y(a,u),m=y(l,c),p&&m&&p.part==m.part){M(),h(),b=I(J,a,u,l,c),_=P(J,a,u,l,c),p=y(a,u).elm;var C=l-a-_+1,x=c-u-b+1;for(C===Z&&x===J.length&&(C=1,x=1),C===Z&&x>1&&(x=1),s(p,"colSpan",C),s(p,"rowSpan",x),f=u;f<=c;f++)for(d=a;d<=l;d++)J[f]&&J[f][d]&&(t=J[f][d].elm,t!=p&&(v=e.grep(t.childNodes),i(v,function(e){p.appendChild(e)}),v.length&&(v=e.grep(p.childNodes),g=0,i(v,function(e){"BR"==e.nodeName&&g++<v.length-1&&p.removeChild(e)})),re.remove(t)));k()}}function R(e){var n,r,o,u,l,c,d,f,p,h;if(i(J,function(r,o){if(i(r,function(t){if(w(t)&&(t=t.elm,l=t.parentNode,c=m(g(l,!1)),n=o,e))return!1}),e)return n===t}),n!==t){for(u=0,h=0;u<J[0].length;u+=h)if(J[n][u]&&(r=J[n][u].elm,h=a(r,"colspan"),r!=o)){if(e){if(n>0&&J[n-1][u]&&(f=J[n-1][u].elm,p=a(f,"rowSpan"),p>1)){s(f,"rowSpan",p+1);continue}}else if(p=a(r,"rowspan"),p>1){s(r,"rowSpan",p+1);continue}d=T(r),s(d,"colSpan",r.colSpan),c.appendChild(d),o=r}c.hasChildNodes()&&(e?l.parentNode.insertBefore(c,l):re.insertAfter(c,l))}}function j(e,t){t=t||C().length||1;for(var n=0;n<t;n++)R(e)}function L(e){var n,r;i(J,function(r){if(i(r,function(t,r){if(w(t)&&(n=r,e))return!1}),e)return n===t}),i(J,function(t,o){var i,u,l;t[n]&&(i=t[n].elm,i!=r&&(l=a(i,"colspan"),u=a(i,"rowspan"),1==l?e?(i.parentNode.insertBefore(T(i),i),S(n,o,u-1,l)):(re.insertAfter(T(i),i),S(n,o,u-1,l)):s(i,"colSpan",i.colSpan+1),r=i))})}function B(e,t){t=t||x()||1;for(var n=0;n<t;n++)L(e)}function F(t){return e.grep(U(t),w)}function U(e){var t=[];return i(e,function(e){i(e,function(e){t.push(e)})}),t}function H(){var t=[];if(f(l)){if(1==J[0].length)return;if(F(J).length==U(J).length)return}i(J,function(n){i(n,function(n,r){w(n)&&e.inArray(t,r)===-1&&(i(J,function(e){var t,n=e[r].elm;t=a(n,"colSpan"),t>1?s(n,"colSpan",t-1):re.remove(n)}),t.push(r))})}),k()}function z(){function e(e){var t,n;i(e.cells,function(e){var n=a(e,"rowSpan");n>1&&(s(e,"rowSpan",n-1),t=G(e),S(t.x,t.y,1,1))}),t=G(e.cells[0]),i(J[t.y],function(e){var t;e=e.elm,e!=n&&(t=a(e,"rowSpan"),t<=1?re.remove(e):s(e,"rowSpan",t-1),n=e)})}var t;t=C(),f(l)&&t.length==l.rows.length||(i(t.reverse(),function(t){e(t)}),k())}function q(){var e=C();if(!f(l)||e.length!=l.rows.length)return re.remove(e),k(),e}function W(){var e=C();return i(e,function(t,n){e[n]=g(t,!0)}),e}function V(t,n){var r,a,u;t&&(r=o.splitAt(J,ee.x,ee.y,n),a=r.row,e.each(r.cells,v),u=e.map(t,function(e){return e.cloneNode(!0)}),n||u.reverse(),i(u,function(e){var t,r,o=e.cells.length;for(m(e),t=0;t<o;t++)r=e.cells[t],v(r),s(r,"colSpan",1),s(r,"rowSpan",1);for(t=o;t<Z;t++)e.appendChild(v(T(e.cells[o-1])));for(t=Z;t<o;t++)re.remove(e.cells[t]);n?a.parentNode.insertBefore(e,a):re.insertAfter(e,a)}),d())}function G(e){var t;return i(J,function(n,r){return i(n,function(n,o){if(n.elm==e)return t={x:o,y:r},!1}),!t}),t}function Y(e){ee=G(e)}function $(){var e,t;return e=t=0,i(J,function(n,r){i(n,function(n,o){var i,a;w(n)&&(n=J[r][o],o>e&&(e=o),r>t&&(t=r),n.real&&(i=n.colspan-1,a=n.rowspan-1,i&&o+i>e&&(e=o+i),a&&r+a>t&&(t=r+a)))})}),{x:e,y:t}}function K(e){var t,n,r,o,i,a,s,u,l,c;if(te=G(e),ee&&te){for(t=Math.min(ee.x,te.x),n=Math.min(ee.y,te.y),r=Math.max(ee.x,te.x),o=Math.max(ee.y,te.y),i=r,a=o,c=n;c<=o;c++)for(l=t;l<=r;l++)e=J[c][l],e.real&&(s=e.colspan-1,u=e.rowspan-1,s&&l+s>i&&(i=l+s),u&&c+u>a&&(a=c+u));for(d(),c=n;c<=a;c++)for(l=t;l<=i;l++)J[c][l]&&re.setAttrib(J[c][l].elm,"data-mce-selected","1")}}function X(e,t){var n,r,o;n=G(e),r=n.y*Z+n.x;do{if(r+=t,o=y(r%Z,Math.floor(r/Z)),!o)break;if(o.elm!=e)return ne.select(o.elm,!0),re.isEmpty(o.elm)&&ne.collapse(!0),!0}while(o.elm==e);return!1}function Q(t){if(ee){var n=o.splitAt(J,ee.x,ee.y,t);e.each(n.cells,v)}}var J,Z,ee,te,ne=u.selection,re=ne.dom;l=l||re.getParent(ne.getStart(!0),"table"),h(),c=c||re.getParent(ne.getStart(!0),"th,td"),c&&(ee=G(c),te=$(),c=y(ee.x,ee.y)),e.extend(this,{deleteTable:E,split:M,merge:D,insertRow:R,insertRows:j,insertCol:L,insertCols:B,splitCols:Q,deleteCols:H,deleteRows:z,cutRows:q,copyRows:W,pasteRows:V,getPos:G,setStartCell:Y,setEndCell:K,moveRelIdx:X,refresh:h})}}),r("tinymce/tableplugin/Quirks",["tinymce/util/VK","tinymce/util/Delay","tinymce/Env","tinymce/util/Tools","tinymce/tableplugin/Utils"],function(e,t,n,r,o){var i=r.each,a=o.getSpanVal;return function(s){function u(){function n(n){function r(e,t){var r=e?"previousSibling":"nextSibling",i=s.dom.getParent(t,"tr"),a=i[r];if(a)return g(s,t,a,e),n.preventDefault(),!0;var u=s.dom.getParent(i,"table"),d=i.parentNode,f=d.nodeName.toLowerCase();if("tbody"===f||f===(e?"tfoot":"thead")){var p=o(e,u,d,"tbody");if(null!==p)return l(e,p,t)}return c(e,i,r,u)}function o(e,t,n,r){var o=s.dom.select(">"+r,t),i=o.indexOf(n);if(e&&0===i||!e&&i===o.length-1)return u(e,t);if(i===-1){var a="thead"===n.tagName.toLowerCase()?0:o.length-1;return o[a]}return o[i+(e?-1:1)]}function u(e,t){var n=e?"thead":"tfoot",r=s.dom.select(">"+n,t);return 0!==r.length?r[0]:null}function l(e,t,r){var o=d(t,e);return o&&g(s,r,o,e),n.preventDefault(),!0}function c(e,t,o,i){var a=i[o];if(a)return f(a),!0;var u=s.dom.getParent(i,"td,th");if(u)return r(e,u,n);var l=d(t,!e);return f(l),n.preventDefault(),!1}function d(e,t){var n=e&&e[t?"lastChild":"firstChild"];return n&&"BR"===n.nodeName?s.dom.getParent(n,"td,th"):n}function f(e){s.selection.setCursorLocation(e,0)}function p(){return _==e.UP||_==e.DOWN}function h(e){var t=e.selection.getNode(),n=e.dom.getParent(t,"tr");return null!==n}function m(e){for(var t=0,n=e;n.previousSibling;)n=n.previousSibling,t+=a(n,"colspan");return t}function v(e,t){var n=0,r=0;return i(e.children,function(e,o){if(n+=a(e,"colspan"),r=o,n>t)return!1}),r}function g(e,t,n,r){var o=m(s.dom.getParent(t,"td,th")),i=v(n,o),a=n.childNodes[i],u=d(a,r);f(u||a)}function y(e){var t=s.selection.getNode(),n=s.dom.getParent(t,"td,th"),r=s.dom.getParent(e,"td,th");return n&&n!==r&&b(n,r)}function b(e,t){return s.dom.getParent(e,"TABLE")===s.dom.getParent(t,"TABLE")}var _=n.keyCode;if(p()&&h(s)){var w=s.selection.getNode();t.setEditorTimeout(s,function(){y(w)&&r(!n.shiftKey&&_===e.UP,w,n)},0)}}s.on("KeyDown",function(e){n(e)})}function l(){function e(e,t){var n,r=t.ownerDocument,o=r.createRange();return o.setStartBefore(t),o.setEnd(e.endContainer,e.endOffset),n=r.createElement("body"),n.appendChild(o.cloneContents()),0===n.innerHTML.replace(/<(br|img|object|embed|input|textarea)[^>]*>/gi,"-").replace(/<[^>]+>/g,"").length}s.on("KeyDown",function(t){var n,r,o=s.dom;37!=t.keyCode&&38!=t.keyCode||(n=s.selection.getRng(),r=o.getParent(n.startContainer,"table"),r&&s.getBody().firstChild==r&&e(n,r)&&(n=o.createRng(),n.setStartBefore(r),n.setEndBefore(r),s.selection.setRng(n),t.preventDefault()))})}function c(){s.on("KeyDown SetContent VisualAid",function(){var e;for(e=s.getBody().lastChild;e;e=e.previousSibling)if(3==e.nodeType){if(e.nodeValue.length>0)break}else if(1==e.nodeType&&("BR"==e.tagName||!e.getAttribute("data-mce-bogus")))break;e&&"TABLE"==e.nodeName&&(s.settings.forced_root_block?s.dom.add(s.getBody(),s.settings.forced_root_block,s.settings.forced_root_block_attrs,n.ie&&n.ie<10?"&nbsp;":'<br data-mce-bogus="1" />'):s.dom.add(s.getBody(),"br",{"data-mce-bogus":"1"}))}),s.on("PreProcess",function(e){var t=e.node.lastChild;t&&("BR"==t.nodeName||1==t.childNodes.length&&("BR"==t.firstChild.nodeName||" "==t.firstChild.nodeValue))&&t.previousSibling&&"TABLE"==t.previousSibling.nodeName&&s.dom.remove(t)})}function d(){function e(e,t,n,r){var o,i,a,s=3,u=e.dom.getParent(t.startContainer,"TABLE");return u&&(o=u.parentNode),i=t.startContainer.nodeType==s&&0===t.startOffset&&0===t.endOffset&&r&&("TR"==n.nodeName||n==o),a=("TD"==n.nodeName||"TH"==n.nodeName)&&!r,i||a}function t(){var t=s.selection.getRng(),n=s.selection.getNode(),r=s.dom.getParent(t.startContainer,"TD,TH");if(e(s,t,n,r)){r||(r=n);for(var o=r.lastChild;o.lastChild;)o=o.lastChild;
-3==o.nodeType&&(t.setEnd(o,o.data.length),s.selection.setRng(t))}}s.on("KeyDown",function(){t()}),s.on("MouseDown",function(e){2!=e.button&&t()})}function f(){function t(e){s.selection.select(e,!0),s.selection.collapse(!0)}function n(e){s.$(e).empty(),o.paddCell(e)}s.on("keydown",function(o){if((o.keyCode==e.DELETE||o.keyCode==e.BACKSPACE)&&!o.isDefaultPrevented()){var i,a,u,l;if(i=s.dom.getParent(s.selection.getStart(),"table")){if(a=s.dom.select("td,th",i),u=r.grep(a,function(e){return!!s.dom.getAttrib(e,"data-mce-selected")}),0===u.length)return l=s.dom.getParent(s.selection.getStart(),"td,th"),void(s.selection.isCollapsed()&&l&&s.dom.isEmpty(l)&&(o.preventDefault(),n(l),t(l)));o.preventDefault(),s.undoManager.transact(function(){a.length==u.length?s.execCommand("mceTableDelete"):(r.each(u,n),t(u[0]))})}}})}function p(){var t=function(e){return e&&"CAPTION"==e.nodeName&&"TABLE"==e.parentNode.nodeName},r=function(e,t){var n=s.selection.getRng(),r=e.ownerDocument.createTextNode(" ");n.startOffset?e.insertBefore(r,e.firstChild):e.appendChild(r),t&&(s.selection.select(r,!0),s.selection.collapse(!0))},o=function(t){return(t.keyCode==e.DELETE||t.keyCode==e.BACKSPACE)&&!t.isDefaultPrevented()},i=function(e){return e.firstChild===e.lastChild&&e.firstChild},a=function(e){return e&&3===e.nodeType},u=function(e){var t=i(e);return a(t)&&1===t.data.length?t.data:null},l=function(e){var t=i(e),n=u(e);return t&&!a(t)||n&&!d(n)},c=function(e){return s.dom.isEmpty(e)||d(u(e))},d=function(e){return" "===e};s.on("keydown",function(e){if(o(e)){var i=s.dom.getParent(s.selection.getStart(),"caption");t(i)&&(n.ie&&(s.selection.isCollapsed()?l(i)&&r(i):(s.undoManager.transact(function(){s.execCommand("Delete"),c(i)&&r(i,!0)}),e.preventDefault())),c(i)&&e.preventDefault())}})}f(),p(),n.webkit&&(u(),d()),n.gecko&&(l(),c()),n.ie>9&&(l(),c())}}),r("tinymce/tableplugin/CellSelection",["tinymce/tableplugin/TableGrid","tinymce/dom/TreeWalker","tinymce/util/Tools"],function(e,t,n){return function(r,o){function i(e){r.getBody().style.webkitUserSelect="",(e||m)&&(r.$("td[data-mce-selected],th[data-mce-selected]").removeAttr("data-mce-selected"),m=!1)}function a(e,t){return!(!e||!t)&&e===h.getParent(t,"table")}function s(t){var n,i,s=t.target;if(!f&&!p&&s!==d&&(d=s,c&&l)){if(i=h.getParent(s,"td,th"),a(c,i)||(i=h.getParent(c,"td,th")),l===i&&!m)return;if(o(!0),a(c,i)){t.preventDefault(),u||(u=new e(r,c,l),r.getBody().style.webkitUserSelect="none"),u.setEndCell(i),m=!0,n=r.selection.getSel();try{n.removeAllRanges?n.removeAllRanges():n.empty()}catch(e){}}}}var u,l,c,d,f,p,h=r.dom,m=!0,v=function(){l=u=c=d=null,o(!1)};return r.on("SelectionChange",function(e){m&&e.stopImmediatePropagation()},!0),r.on("MouseDown",function(e){2==e.button||f||p||(i(),l=h.getParent(e.target,"td,th"),c=h.getParent(l,"table"))}),r.on("mouseover",s),r.on("remove",function(){h.unbind(r.getDoc(),"mouseover",s),i()}),r.on("MouseUp",function(){function e(e,r){var i=new t(e,e);do{if(3==e.nodeType&&0!==n.trim(e.nodeValue).length)return void(r?o.setStart(e,0):o.setEnd(e,e.nodeValue.length));if("BR"==e.nodeName)return void(r?o.setStartBefore(e):o.setEndBefore(e))}while(e=r?i.next():i.prev())}var o,i,a,s,c,d=r.selection;if(l){if(u&&(r.getBody().style.webkitUserSelect=""),i=h.select("td[data-mce-selected],th[data-mce-selected]"),i.length>0){o=h.createRng(),s=i[0],o.setStartBefore(s),o.setEndAfter(s),e(s,1),a=new t(s,h.getParent(i[0],"table"));do if("TD"==s.nodeName||"TH"==s.nodeName){if(!h.getAttrib(s,"data-mce-selected"))break;c=s}while(s=a.next());e(c),d.setRng(o)}r.nodeChanged(),v()}}),r.on("KeyUp Drop SetContent",function(e){i("setcontent"==e.type),v(),f=!1}),r.on("ObjectResizeStart ObjectResized",function(e){f="objectresized"!=e.type}),r.on("dragstart",function(){p=!0}),r.on("drop dragend",function(){p=!1}),{clear:i}}}),r("tinymce/tableplugin/Dialogs",["tinymce/util/Tools","tinymce/Env"],function(e,t){var n=e.each;return function(r){function o(){var e=r.settings.color_picker_callback;if(e)return function(){var t=this;e.call(r,function(e){t.value(e).fire("change")},t.value())}}function i(e){return{title:"Advanced",type:"form",defaults:{onchange:function(){d(e,this.parents().reverse()[0],"style"==this.name())}},items:[{label:"Style",name:"style",type:"textbox"},{type:"form",padding:0,formItemDefaults:{layout:"grid",alignH:["start","right"]},defaults:{size:7},items:[{label:"Border color",type:"colorbox",name:"borderColor",onaction:o()},{label:"Background color",type:"colorbox",name:"backgroundColor",onaction:o()}]}]}}function a(e){return e?e.replace(/px$/,""):""}function s(e){return/^[0-9]+$/.test(e)&&(e+="px"),e}function u(e){n("left center right".split(" "),function(t){r.formatter.remove("align"+t,{},e)})}function l(e){n("top middle bottom".split(" "),function(t){r.formatter.remove("valign"+t,{},e)})}function c(t,n,r){function o(t,r){return r=r||[],e.each(t,function(e){var t={text:e.text||e.title};e.menu?t.menu=o(e.menu):(t.value=e.value,n&&n(t)),r.push(t)}),r}return o(t,r||[])}function d(e,t,n){var r=t.toJSON(),o=e.parseStyle(r.style);n?(t.find("#borderColor").value(o["border-color"]||"")[0].fire("change"),t.find("#backgroundColor").value(o["background-color"]||"")[0].fire("change")):(o["border-color"]=r.borderColor,o["background-color"]=r.backgroundColor),t.find("#style").value(e.serializeStyle(e.parseStyle(e.serializeStyle(o))))}function f(e,t,n){var r=e.parseStyle(e.getAttrib(n,"style"));r["border-color"]&&(t.borderColor=r["border-color"]),r["background-color"]&&(t.backgroundColor=r["background-color"]),t.style=e.serializeStyle(r)}function p(e,t,r){var o=e.parseStyle(e.getAttrib(t,"style"));n(r,function(e){o[e.name]=e.value}),e.setAttrib(t,"style",e.serializeStyle(e.parseStyle(e.serializeStyle(o))))}var h=this;h.tableProps=function(){h.table(!0)},h.table=function(o){function l(){function n(e,t,r){if("TD"===e.tagName||"TH"===e.tagName)w.setStyle(e,t,r);else if(e.children)for(var o=0;o<e.children.length;o++)n(e.children[o],t,r)}var o;d(w,this),C=e.extend(C,this.toJSON()),C.class===!1&&delete C.class,r.undoManager.transact(function(){if(m||(m=r.plugins.table.insertTable(C.cols||1,C.rows||1)),r.dom.setAttribs(m,{style:C.style,class:C.class}),r.settings.table_style_by_css){if(_=[],_.push({name:"border",value:C.border}),_.push({name:"border-spacing",value:s(C.cellspacing)}),p(w,m,_),w.setAttribs(m,{"data-mce-border-color":C.borderColor,"data-mce-cell-padding":C.cellpadding,"data-mce-border":C.border}),m.children)for(var e=0;e<m.children.length;e++)n(m.children[e],"border",C.border),n(m.children[e],"padding",s(C.cellpadding))}else r.dom.setAttribs(m,{border:C.border,cellpadding:C.cellpadding,cellspacing:C.cellspacing});w.getAttrib(m,"width")&&!r.settings.table_style_by_css?w.setAttrib(m,"width",a(C.width)):w.setStyle(m,"width",s(C.width)),w.setStyle(m,"height",s(C.height)),o=w.select("caption",m)[0],o&&!C.caption&&w.remove(o),!o&&C.caption&&(o=w.create("caption"),o.innerHTML=t.ie?" ":'<br data-mce-bogus="1"/>',m.insertBefore(o,m.firstChild)),u(m),C.align&&r.formatter.apply("align"+C.align,{},m),r.focus(),r.addVisual()})}function h(e,t){function n(e,n){for(var r=0;r<n.length;r++){var o=w.getStyle(n[r],t);if("undefined"==typeof e&&(e=o),e!=o)return""}return e}var o,i=r.dom.select("td,th",e);return o=n(o,i)}var m,v,g,y,b,_,w=r.dom,C={};o===!0?(m=w.getParent(r.selection.getStart(),"table"),m&&(C={width:a(w.getStyle(m,"width")||w.getAttrib(m,"width")),height:a(w.getStyle(m,"height")||w.getAttrib(m,"height")),cellspacing:a(w.getStyle(m,"border-spacing")||w.getAttrib(m,"cellspacing")),cellpadding:w.getAttrib(m,"data-mce-cell-padding")||w.getAttrib(m,"cellpadding")||h(m,"padding"),border:w.getAttrib(m,"data-mce-border")||w.getAttrib(m,"border")||h(m,"border"),borderColor:w.getAttrib(m,"data-mce-border-color"),caption:!!w.select("caption",m)[0],class:w.getAttrib(m,"class")},n("left center right".split(" "),function(e){r.formatter.matchNode(m,"align"+e)&&(C.align=e)}))):(v={label:"Cols",name:"cols"},g={label:"Rows",name:"rows"}),r.settings.table_class_list&&(C.class&&(C.class=C.class.replace(/\s*mce\-item\-table\s*/g,"")),y={name:"class",type:"listbox",label:"Class",values:c(r.settings.table_class_list,function(e){e.value&&(e.textStyle=function(){return r.formatter.getCssText({block:"table",classes:[e.value]})})})}),b={type:"form",layout:"flex",direction:"column",labelGapCalc:"children",padding:0,items:[{type:"form",labelGapCalc:!1,padding:0,layout:"grid",columns:2,defaults:{type:"textbox",maxWidth:50},items:r.settings.table_appearance_options!==!1?[v,g,{label:"Width",name:"width"},{label:"Height",name:"height"},{label:"Cell spacing",name:"cellspacing"},{label:"Cell padding",name:"cellpadding"},{label:"Border",name:"border"},{label:"Caption",name:"caption",type:"checkbox"}]:[v,g,{label:"Width",name:"width"},{label:"Height",name:"height"}]},{label:"Alignment",name:"align",type:"listbox",text:"None",values:[{text:"None",value:""},{text:"Left",value:"left"},{text:"Center",value:"center"},{text:"Right",value:"right"}]},y]},r.settings.table_advtab!==!1?(f(w,C,m),r.windowManager.open({title:"Table properties",data:C,bodyType:"tabpanel",body:[{title:"General",type:"form",items:b},i(w)],onsubmit:l})):r.windowManager.open({title:"Table properties",data:C,body:b,onsubmit:l})},h.merge=function(e,t){r.windowManager.open({title:"Merge cells",body:[{label:"Cols",name:"cols",type:"textbox",value:"1",size:10},{label:"Rows",name:"rows",type:"textbox",value:"1",size:10}],onsubmit:function(){var n=this.toJSON();r.undoManager.transact(function(){e.merge(t,n.cols,n.rows)})}})},h.cell=function(){function t(e,t,n){(1===y.length||n)&&g.setAttrib(e,t,n)}function o(e,t,n){(1===y.length||n)&&g.setStyle(e,t,n)}function p(){d(g,this),m=e.extend(m,this.toJSON()),r.undoManager.transact(function(){n(y,function(e){t(e,"scope",m.scope),t(e,"style",m.style),t(e,"class",m.class),o(e,"width",s(m.width)),o(e,"height",s(m.height)),m.type&&e.nodeName.toLowerCase()!==m.type&&(e=g.rename(e,m.type)),1===y.length&&(u(e),l(e)),m.align&&r.formatter.apply("align"+m.align,{},e),m.valign&&r.formatter.apply("valign"+m.valign,{},e)}),r.focus()})}var h,m,v,g=r.dom,y=[];if(y=r.dom.select("td[data-mce-selected],th[data-mce-selected]"),h=r.dom.getParent(r.selection.getStart(),"td,th"),!y.length&&h&&y.push(h),h=h||y[0]){y.length>1?m={width:"",height:"",scope:"",class:"",align:"",style:"",type:h.nodeName.toLowerCase()}:(m={width:a(g.getStyle(h,"width")||g.getAttrib(h,"width")),height:a(g.getStyle(h,"height")||g.getAttrib(h,"height")),scope:g.getAttrib(h,"scope"),class:g.getAttrib(h,"class")},m.type=h.nodeName.toLowerCase(),n("left center right".split(" "),function(e){r.formatter.matchNode(h,"align"+e)&&(m.align=e)}),n("top middle bottom".split(" "),function(e){r.formatter.matchNode(h,"valign"+e)&&(m.valign=e)}),f(g,m,h)),r.settings.table_cell_class_list&&(v={name:"class",type:"listbox",label:"Class",values:c(r.settings.table_cell_class_list,function(e){e.value&&(e.textStyle=function(){return r.formatter.getCssText({block:"td",classes:[e.value]})})})});var b={type:"form",layout:"flex",direction:"column",labelGapCalc:"children",padding:0,items:[{type:"form",layout:"grid",columns:2,labelGapCalc:!1,padding:0,defaults:{type:"textbox",maxWidth:50},items:[{label:"Width",name:"width"},{label:"Height",name:"height"},{label:"Cell type",name:"type",type:"listbox",text:"None",minWidth:90,maxWidth:null,values:[{text:"Cell",value:"td"},{text:"Header cell",value:"th"}]},{label:"Scope",name:"scope",type:"listbox",text:"None",minWidth:90,maxWidth:null,values:[{text:"None",value:""},{text:"Row",value:"row"},{text:"Column",value:"col"},{text:"Row group",value:"rowgroup"},{text:"Column group",value:"colgroup"}]},{label:"H Align",name:"align",type:"listbox",text:"None",minWidth:90,maxWidth:null,values:[{text:"None",value:""},{text:"Left",value:"left"},{text:"Center",value:"center"},{text:"Right",value:"right"}]},{label:"V Align",name:"valign",type:"listbox",text:"None",minWidth:90,maxWidth:null,values:[{text:"None",value:""},{text:"Top",value:"top"},{text:"Middle",value:"middle"},{text:"Bottom",value:"bottom"}]}]},v]};r.settings.table_cell_advtab!==!1?r.windowManager.open({title:"Cell properties",bodyType:"tabpanel",data:m,body:[{title:"General",type:"form",items:b},i(g)],onsubmit:p}):r.windowManager.open({title:"Cell properties",data:m,body:b,onsubmit:p})}},h.row=function(){function t(e,t,n){(1===_.length||n)&&b.setAttrib(e,t,n)}function o(e,t,n){(1===_.length||n)&&b.setStyle(e,t,n)}function l(){var i,a,l;d(b,this),g=e.extend(g,this.toJSON()),r.undoManager.transact(function(){var e=g.type;n(_,function(n){t(n,"scope",g.scope),t(n,"style",g.style),t(n,"class",g.class),o(n,"height",s(g.height)),e!==n.parentNode.nodeName.toLowerCase()&&(i=b.getParent(n,"table"),a=n.parentNode,l=b.select(e,i)[0],l||(l=b.create(e),i.firstChild?i.insertBefore(l,i.firstChild):i.appendChild(l)),l.appendChild(n),a.hasChildNodes()||b.remove(a)),1===_.length&&u(n),g.align&&r.formatter.apply("align"+g.align,{},n)}),r.focus()})}var p,h,m,v,g,y,b=r.dom,_=[];p=r.dom.getParent(r.selection.getStart(),"table"),h=r.dom.getParent(r.selection.getStart(),"td,th"),n(p.rows,function(e){n(e.cells,function(t){if(b.getAttrib(t,"data-mce-selected")||t==h)return _.push(e),!1})}),m=_[0],m&&(_.length>1?g={height:"",scope:"",class:"",align:"",type:m.parentNode.nodeName.toLowerCase()}:(g={height:a(b.getStyle(m,"height")||b.getAttrib(m,"height")),scope:b.getAttrib(m,"scope"),class:b.getAttrib(m,"class")},g.type=m.parentNode.nodeName.toLowerCase(),n("left center right".split(" "),function(e){r.formatter.matchNode(m,"align"+e)&&(g.align=e)}),f(b,g,m)),r.settings.table_row_class_list&&(v={name:"class",type:"listbox",label:"Class",values:c(r.settings.table_row_class_list,function(e){e.value&&(e.textStyle=function(){return r.formatter.getCssText({block:"tr",classes:[e.value]})})})}),y={type:"form",columns:2,padding:0,defaults:{type:"textbox"},items:[{type:"listbox",name:"type",label:"Row type",text:"Header",maxWidth:null,values:[{text:"Header",value:"thead"},{text:"Body",value:"tbody"},{text:"Footer",value:"tfoot"}]},{type:"listbox",name:"align",label:"Alignment",text:"None",maxWidth:null,values:[{text:"None",value:""},{text:"Left",value:"left"},{text:"Center",value:"center"},{text:"Right",value:"right"}]},{label:"Height",name:"height"},v]},r.settings.table_row_advtab!==!1?r.windowManager.open({title:"Row properties",data:g,bodyType:"tabpanel",body:[{title:"General",type:"form",items:y},i(b)],onsubmit:l}):r.windowManager.open({title:"Row properties",data:g,body:y,onsubmit:l}))}}}),r("tinymce/tableplugin/ResizeBars",["tinymce/util/Tools","tinymce/util/VK"],function(e,n){var r;return function(o){function i(e,t){return{index:e,y:o.dom.getPos(t).y}}function a(e,t){return{index:e,y:o.dom.getPos(t).y+t.offsetHeight}}function s(e,t){return{index:e,x:o.dom.getPos(t).x}}function u(e,t){return{index:e,x:o.dom.getPos(t).x+t.offsetWidth}}function l(){var e=o.getBody().dir;return"rtl"===e}function c(){return o.inline}function d(){return c?o.getBody().ownerDocument.body:o.getBody()}function f(e,t){return l()?u(e,t):s(e,t)}function p(e,t){return l()?s(e,t):u(e,t)}function h(e,t){return m(e,"width")/m(t,"width")*100}function m(e,t){var n=o.dom.getStyle(e,t,!0),r=parseInt(n,10);return r}function v(e){var t=m(e,"width"),n=m(e.parentElement,"width");return t/n*100}function g(e,t){var n=m(e,"width");return t/n*100}function y(e,t){var n=m(e.parentElement,"width");return t/n*100}function b(e,t,n){for(var r=[],o=1;o<n.length;o++){var i=n[o].element;r.push(e(o-1,i))}var a=n[n.length-1];return r.push(t(n.length-1,a.element)),r}function _(){var t=o.dom.select("."+fe,d());e.each(t,function(e){o.dom.remove(e)})}function w(e){_(),N(e)}function C(e,t,n,r,o,i,a,s){var u={"data-mce-bogus":"all",class:fe+" "+e,unselectable:"on","data-mce-resize":!1,style:"cursor: "+t+"; margin: 0; padding: 0; position: absolute; left: "+n+"px; top: "+r+"px; height: "+o+"px; width: "+i+"px; "};return u[a]=s,u}function x(t,n,r){e.each(t,function(e){var t=r.x,i=e.y-we/2,a=we,s=n;o.dom.add(d(),"div",C(pe,he,t,i,a,s,me,e.index))})}function E(t,n,r){e.each(t,function(e){var t=e.x-we/2,i=r.y,a=n,s=we;o.dom.add(d(),"div",C(ge,ye,t,i,a,s,be,e.index))})}function T(t){return e.map(t.rows,function(t){var n=e.map(t.cells,function(e){var t=e.hasAttribute("rowspan")?parseInt(e.getAttribute("rowspan"),10):1,n=e.hasAttribute("colspan")?parseInt(e.getAttribute("colspan"),10):1;return{element:e,rowspan:t,colspan:n}});return{element:t,cells:n}})}function k(n){function r(e,t){return e+","+t}function o(e,t){return s[r(e,t)]}function i(){var t=[];return e.each(u,function(e){t=t.concat(e.cells)}),t}function a(){return u}var s={},u=[],l=0,c=0;return e.each(n,function(n,o){var i=[];e.each(n.cells,function(e){for(var n=0;s[r(o,n)]!==t;)n++;for(var a={element:e.element,colspan:e.colspan,rowspan:e.rowspan,rowIndex:o,colIndex:n},u=0;u<e.colspan;u++)for(var d=0;d<e.rowspan;d++){var f=o+d,p=n+u;s[r(f,p)]=a,l=Math.max(l,f+1),c=Math.max(c,p+1)}i.push(a)}),u.push({element:n.element,cells:i})}),{grid:{maxRows:l,maxCols:c},getAt:o,getAllCells:i,getAllRows:a}}function S(e,t){for(var n=[],r=e;r<t;r++)n.push(r);return n}function M(e,t,n){for(var r,o=e(),i=0;i<o.length;i++)t(o[i])&&(r=o[i]);return r?r:n()}function O(t){var n=S(0,t.grid.maxCols),r=S(0,t.grid.maxRows);return e.map(n,function(e){function n(){for(var n=[],o=0;o<r.length;o++){var i=t.getAt(o,e);i&&i.colIndex===e&&n.push(i)}return n}function o(e){return 1===e.colspan}function i(){for(var n,o=0;o<r.length;o++)if(n=t.getAt(o,e))return n;return null}return M(n,o,i)})}function A(t){var n=S(0,t.grid.maxCols),r=S(0,t.grid.maxRows);return e.map(r,function(e){function r(){for(var r=[],o=0;o<n.length;o++){var i=t.getAt(e,o);i&&i.rowIndex===e&&r.push(i)}return r}function o(e){return 1===e.rowspan}function i(){return t.getAt(e,0)}return M(r,o,i)})}function N(e){var t=T(e),n=k(t),r=A(n),s=O(n),u=o.dom.getPos(e),l=r.length>0?b(i,a,r):[],c=s.length>0?b(f,p,s):[];x(l,e.offsetWidth,u),E(c,e.offsetHeight,u)}function I(e,t,n,r){if(t<0||t>=e.length-1)return"";var o=e[t];if(o)o={value:o,delta:0};else for(var i=e.slice(0,t).reverse(),a=0;a<i.length;a++)i[a]&&(o={value:i[a],delta:a+1});var s=e[t+1];if(s)s={value:s,delta:1};else for(var u=e.slice(t+1),l=0;l<u.length;l++)u[l]&&(s={value:u[l],delta:l+1});var c=s.delta-o.delta,d=Math.abs(s.value-o.value)/c;return n?d/m(r,"width")*100:d}function P(e,t){var n=o.dom.getStyle(e,t);return n||(n=o.dom.getAttrib(e,t)),n||(n=o.dom.getStyle(e,t,!0)),n}function D(e,t,n){var r=P(e,"width"),o=parseInt(r,10),i=t?h(e,n):m(e,"width");return(t&&!q(r)||!t&&!W(r))&&(o=0),!isNaN(o)&&o>0?o:i}function R(t,n,r){for(var o=O(t),i=e.map(o,function(e){return f(e.colIndex,e.element).x}),a=[],s=0;s<o.length;s++){var u=o[s].element.hasAttribute("colspan")?parseInt(o[s].element.getAttribute("colspan"),10):1,l=u>1?I(i,s):D(o[s].element,n,r);l=l?l:Ce,a.push(l)}return a}function j(e){var t=P(e,"height"),n=parseInt(t,10);return q(t)&&(n=0),!isNaN(n)&&n>0?n:m(e,"height")}function L(t){for(var n=A(t),r=e.map(n,function(e){return i(e.rowIndex,e.element).y}),o=[],a=0;a<n.length;a++){var s=n[a].element.hasAttribute("rowspan")?parseInt(n[a].element.getAttribute("rowspan"),10):1,u=s>1?I(r,a):j(n[a].element);u=u?u:xe,o.push(u)}return o}function B(t,n,r,o,i){function a(t){return e.map(t,function(){return 0})}function s(){var e;if(i)e=[100-d[0]];else{var t=Math.max(o,d[0]+r);e=[t-d[0]]}return e}function u(e,t){var n,i=a(d.slice(0,e)),s=a(d.slice(t+1));if(r>=0){var u=Math.max(o,d[t]-r);n=i.concat([r,u-d[t]]).concat(s)}else{var l=Math.max(o,d[e]+r),c=d[e]-l;n=i.concat([l-d[e],c]).concat(s)}return n}function l(e,t){var n,i=a(d.slice(0,t));if(r>=0)n=i.concat([r]);else{var s=Math.max(o,d[t]+r);n=i.concat([s-d[t]])}return n}var c,d=t.slice(0);return c=0===t.length?[]:1===t.length?s():0===n?u(0,1):n>0&&n<t.length-1?u(n,n+1):n===t.length-1?l(n-1,n):[]}function F(e,t,n){for(var r=0,o=e;o<t;o++)r+=n[o];return r}function U(t,n){var r=t.getAllCells();return e.map(r,function(e){var t=F(e.colIndex,e.colIndex+e.colspan,n);return{element:e.element,width:t,colspan:e.colspan}})}function H(t,n){var r=t.getAllCells();return e.map(r,function(e){var t=F(e.rowIndex,e.rowIndex+e.rowspan,n);return{element:e.element,height:t,rowspan:e.rowspan}})}function z(t,n){var r=t.getAllRows();return e.map(r,function(e,t){return{element:e.element,height:n[t]}})}function q(e){return Te.test(e)}function W(e){return ke.test(e)}function V(t,n,r){function i(t,n){e.each(t,function(e){o.dom.setStyle(e.element,"width",e.width+n),o.dom.setAttrib(e.element,"width",null)})}function a(){return r<c.grid.maxCols-1?v(t):v(t)+y(t,n)}function s(){return r<c.grid.maxCols-1?m(t,"width"):m(t,"width")+n}function u(e,n,i){r!=c.grid.maxCols-1&&i||(o.dom.setStyle(t,"width",e+n),o.dom.setAttrib(t,"width",null))}for(var l=T(t),c=k(l),d=q(t.width)||q(t.style.width),f=R(c,d,t),p=d?g(t,n):n,h=B(f,r,p,Ce,d,t),b=[],_=0;_<h.length;_++)b.push(h[_]+f[_]);var w=U(c,b),C=d?"%":"px",x=d?a():s();o.undoManager.transact(function(){i(w,C),u(x,C,d)})}function G(t,n,r){for(var i=T(t),a=k(i),s=L(a),u=[],l=0,c=0;c<s.length;c++)u.push(c===r?n+s[c]:s[c]),l+=l[c];var d=H(a,u),f=z(a,u);o.undoManager.transact(function(){e.each(f,function(e){o.dom.setStyle(e.element,"height",e.height+"px"),o.dom.setAttrib(e.element,"height",null)}),e.each(d,function(e){o.dom.setStyle(e.element,"height",e.height+"px"),o.dom.setAttrib(e.element,"height",null)}),o.dom.setStyle(t,"height",l+"px"),o.dom.setAttrib(t,"height",null)})}function Y(){ae=setTimeout(function(){Q()},200)}function $(){clearTimeout(ae)}function K(){var e=document.createElement("div");return e.setAttribute("style","margin: 0; padding: 0; position: fixed; left: 0px; top: 0px; height: 100%; width: 100%;"),e.setAttribute("data-mce-bogus","all"),e}function X(e,t){o.dom.bind(e,"mouseup",function(){Q()}),o.dom.bind(e,"mousemove",function(e){$(),se&&t(e)}),o.dom.bind(e,"mouseout",function(){Y()})}function Q(){if(o.dom.remove(ue),se){o.dom.removeClass(le,Ee),se=!1;var e,t;if(Z(le)){var n=parseInt(o.dom.getAttrib(le,_e),10),i=o.dom.getPos(le).x;e=parseInt(o.dom.getAttrib(le,be),10),t=l()?n-i:i-n,Math.abs(t)>=1&&V(r,t,e)}else if(ee(le)){var a=parseInt(o.dom.getAttrib(le,ve),10),s=o.dom.getPos(le).y;e=parseInt(o.dom.getAttrib(le,me),10),t=s-a,Math.abs(t)>=1&&G(r,t,e)}w(r),o.nodeChanged()}}function J(e,t){ue=ue?ue:K(),se=!0,o.dom.addClass(e,Ee),le=e,X(ue,t),o.dom.add(d(),ue)}function Z(e){return o.dom.hasClass(e,ge)}function ee(e){return o.dom.hasClass(e,pe)}function te(e){ce=ce!==t?ce:e.clientX;var n=e.clientX-ce;ce=e.clientX;var r=o.dom.getPos(le).x;o.dom.setStyle(le,"left",r+n+"px")}function ne(e){de=de!==t?de:e.clientY;var n=e.clientY-de;de=e.clientY;var r=o.dom.getPos(le).y;o.dom.setStyle(le,"top",r+n+"px")}function re(e){ce=t,J(e,te)}function oe(e){de=t,J(e,ne)}function ie(e){var t=e.target,n=o.getBody();if(o.$.contains(n,r)||r===n)if(Z(t)){e.preventDefault();var i=o.dom.getPos(t).x;o.dom.setAttrib(t,_e,i),re(t)}else if(ee(t)){e.preventDefault();var a=o.dom.getPos(t).y;o.dom.setAttrib(t,ve,a),oe(t)}else _()}var ae,se,ue,le,ce,de,fe="mce-resize-bar",pe="mce-resize-bar-row",he="row-resize",me="data-row",ve="data-initial-top",ge="mce-resize-bar-col",ye="col-resize",be="data-col",_e="data-initial-left",we=4,Ce=10,xe=10,Ee="mce-resize-bar-dragging",Te=new RegExp(/(\d+(\.\d+)?%)/),ke=new RegExp(/px|em/);return o.on("init",function(){o.dom.bind(d(),"mousedown",ie)}),o.on("ObjectResized",function(t){var n=t.target;if("TABLE"===n.nodeName){var r=[];e.each(n.rows,function(t){e.each(t.cells,function(e){var t=o.dom.getStyle(e,"width",!0);r.push({cell:e,width:t})})}),e.each(r,function(e){o.dom.setStyle(e.cell,"width",e.width),o.dom.setAttrib(e.cell,"width",null)})}}),o.on("mouseover",function(e){if(!se){var t=o.dom.getParent(e.target,"table");("TABLE"===e.target.nodeName||t)&&(r=t,w(t))}}),o.on("keydown",function(e){switch(e.keyCode){case n.LEFT:case n.RIGHT:case n.UP:case n.DOWN:_()}}),o.on("remove",function(){_(),o.dom.unbind(d(),"mousedown",ie)}),{adjustWidth:V,adjustHeight:G,clearBars:_,drawBars:N,determineDeltas:B,getTableGrid:k,getTableDetails:T,getWidths:R,getPixelHeights:L,isPercentageBasedSize:q,isPixelBasedSize:W,recalculateWidths:U,recalculateCellHeights:H,recalculateRowHeights:z}}}),r("tinymce/tableplugin/Plugin",["tinymce/tableplugin/TableGrid","tinymce/tableplugin/Quirks","tinymce/tableplugin/CellSelection","tinymce/tableplugin/Dialogs","tinymce/tableplugin/ResizeBars","tinymce/util/Tools","tinymce/dom/TreeWalker","tinymce/Env","tinymce/PluginManager"],function(e,t,n,r,o,i,a,s,u){function l(i){function a(e){return function(){i.execCommand(e)}}function u(e,t){var n,r,o,a;for(o='<table id="__mce"><tbody>',n=0;n<t;n++){for(o+="<tr>",r=0;r<e;r++)o+="<td>"+(s.ie&&s.ie<10?"&nbsp;":"<br>")+"</td>";o+="</tr>"}return o+="</tbody></table>",i.undoManager.transact(function(){i.insertContent(o),a=i.dom.get("__mce"),i.dom.setAttrib(a,"id",null),i.$("tr",a).each(function(e,t){i.fire("newrow",{node:t}),i.$("th,td",t).each(function(e,t){i.fire("newcell",{node:t})})}),i.dom.setAttribs(a,i.settings.table_default_attributes||{}),i.dom.setStyles(a,i.settings.table_default_styles||{})}),a}function l(e,t,n){function r(){var r,o,a,s={},u=0;o=i.dom.select("td[data-mce-selected],th[data-mce-selected]"),r=o[0],r||(r=i.selection.getStart()),n&&o.length>0?(c(o,function(e){return s[e.parentNode.parentNode.nodeName]=1}),c(s,function(e){u+=e}),a=1!==u):a=!i.dom.getParent(r,t),e.disabled(a),i.selection.selectorChanged(t,function(t){e.disabled(!t)})}i.initialized?r():i.on("init",r)}function d(){l(this,"table")}function f(){l(this,"td,th")}function p(){l(this,"td,th",!0)}function h(){var e="";e='<table role="grid" class="mce-grid mce-grid-border" aria-readonly="true">';for(var t=0;t<10;t++){e+="<tr>";for(var n=0;n<10;n++)e+='<td role="gridcell" tabindex="-1"><a id="mcegrid'+(10*t+n)+'" href="#" data-mce-x="'+n+'" data-mce-y="'+t+'"></a></td>';e+="</tr>"}return e+="</table>",e+='<div class="mce-text-center" role="presentation">1 x 1</div>'}function m(e,t,n){var r,o,a,s,u,l=n.getEl().getElementsByTagName("table")[0],c=n.isRtl()||"tl-tr"==n.parent().rel;for(l.nextSibling.innerHTML=e+1+" x "+(t+1),c&&(e=9-e),o=0;o<10;o++)for(r=0;r<10;r++)s=l.rows[o].childNodes[r].firstChild,u=(c?r>=e:r<=e)&&o<=t,i.dom.toggleClass(s,"mce-active",u),u&&(a=s);return a.parentNode}function v(){i.addButton("tableprops",{title:"Table properties",onclick:E.tableProps,icon:"table"}),i.addButton("tabledelete",{title:"Delete table",onclick:a("mceTableDelete")}),i.addButton("tablecellprops",{title:"Cell properties",onclick:a("mceTableCellProps")}),i.addButton("tablemergecells",{title:"Merge cells",onclick:a("mceTableMergeCells")}),i.addButton("tablesplitcells",{title:"Split cell",onclick:a("mceTableSplitCells")}),i.addButton("tableinsertrowbefore",{title:"Insert row before",onclick:a("mceTableInsertRowBefore")}),i.addButton("tableinsertrowafter",{title:"Insert row after",onclick:a("mceTableInsertRowAfter")}),i.addButton("tabledeleterow",{title:"Delete row",onclick:a("mceTableDeleteRow")}),i.addButton("tablerowprops",{title:"Row properties",onclick:a("mceTableRowProps")}),i.addButton("tablecutrow",{title:"Cut row",onclick:a("mceTableCutRow")}),i.addButton("tablecopyrow",{title:"Copy row",onclick:a("mceTableCopyRow")}),i.addButton("tablepasterowbefore",{title:"Paste row before",onclick:a("mceTablePasteRowBefore")}),i.addButton("tablepasterowafter",{title:"Paste row after",onclick:a("mceTablePasteRowAfter")}),i.addButton("tableinsertcolbefore",{title:"Insert column before",onclick:a("mceTableInsertColBefore")}),i.addButton("tableinsertcolafter",{title:"Insert column after",onclick:a("mceTableInsertColAfter")}),i.addButton("tabledeletecol",{title:"Delete column",onclick:a("mceTableDeleteCol")})}function g(e){var t=i.dom.is(e,"table")&&i.getBody().contains(e);return t}function y(){var e=i.settings.table_toolbar;""!==e&&e!==!1&&(e||(e="tableprops tabledelete | tableinsertrowbefore tableinsertrowafter tabledeleterow | tableinsertcolbefore tableinsertcolafter tabledeletecol"),i.addContextToolbar(g,e))}function b(){return w}function _(e){w=e}var w,C,x=this,E=new r(i);!i.settings.object_resizing||i.settings.table_resize_bars===!1||i.settings.object_resizing!==!0&&"table"!==i.settings.object_resizing||(C=o(i)),i.settings.table_grid===!1?i.addMenuItem("inserttable",{text:"Table",icon:"table",context:"table",onclick:E.table}):i.addMenuItem("inserttable",{text:"Table",icon:"table",context:"table",ariaHideMenu:!0,onclick:function(e){e.aria&&(this.parent().hideAll(),e.stopImmediatePropagation(),E.table())},onshow:function(){m(0,0,this.menu.items()[0])},onhide:function(){var e=this.menu.items()[0].getEl().getElementsByTagName("a");i.dom.removeClass(e,"mce-active"),i.dom.addClass(e[0],"mce-active")},menu:[{type:"container",html:h(),onPostRender:function(){this.lastX=this.lastY=0},onmousemove:function(e){var t,n,r=e.target;"A"==r.tagName.toUpperCase()&&(t=parseInt(r.getAttribute("data-mce-x"),10),n=parseInt(r.getAttribute("data-mce-y"),10),(this.isRtl()||"tl-tr"==this.parent().rel)&&(t=9-t),t===this.lastX&&n===this.lastY||(m(t,n,e.control),this.lastX=t,this.lastY=n))},onclick:function(e){var t=this;"A"==e.target.tagName.toUpperCase()&&(e.preventDefault(),e.stopPropagation(),t.parent().cancel(),i.undoManager.transact(function(){u(t.lastX+1,t.lastY+1)}),i.addVisual())}}]}),i.addMenuItem("tableprops",{text:"Table properties",context:"table",onPostRender:d,onclick:E.tableProps}),i.addMenuItem("deletetable",{text:"Delete table",context:"table",onPostRender:d,cmd:"mceTableDelete"}),i.addMenuItem("cell",{separator:"before",text:"Cell",context:"table",menu:[{text:"Cell properties",onclick:a("mceTableCellProps"),onPostRender:f},{text:"Merge cells",onclick:a("mceTableMergeCells"),onPostRender:p},{text:"Split cell",onclick:a("mceTableSplitCells"),onPostRender:f}]}),i.addMenuItem("row",{text:"Row",context:"table",menu:[{text:"Insert row before",onclick:a("mceTableInsertRowBefore"),onPostRender:f},{text:"Insert row after",onclick:a("mceTableInsertRowAfter"),onPostRender:f},{text:"Delete row",onclick:a("mceTableDeleteRow"),onPostRender:f},{text:"Row properties",onclick:a("mceTableRowProps"),onPostRender:f},{text:"-"},{text:"Cut row",onclick:a("mceTableCutRow"),onPostRender:f},{text:"Copy row",onclick:a("mceTableCopyRow"),onPostRender:f},{text:"Paste row before",onclick:a("mceTablePasteRowBefore"),onPostRender:f},{text:"Paste row after",onclick:a("mceTablePasteRowAfter"),onPostRender:f}]}),i.addMenuItem("column",{text:"Column",context:"table",menu:[{text:"Insert column before",onclick:a("mceTableInsertColBefore"),onPostRender:f},{text:"Insert column after",onclick:a("mceTableInsertColAfter"),onPostRender:f},{text:"Delete column",onclick:a("mceTableDeleteCol"),onPostRender:f}]});var T=[];c("inserttable tableprops deletetable | cell row column".split(" "),function(e){"|"==e?T.push({text:"-"}):T.push(i.menuItems[e])}),i.addButton("table",{type:"menubutton",title:"Table",menu:T}),s.isIE||i.on("click",function(e){e=e.target,"TABLE"===e.nodeName&&(i.selection.select(e),i.nodeChanged())}),x.quirks=new t(i),i.on("Init",function(){x.cellSelection=new n(i,function(e){e&&C&&C.clearBars()}),x.resizeBars=C}),i.on("PreInit",function(){i.serializer.addAttributeFilter("data-mce-cell-padding,data-mce-border,data-mce-border-color",function(e,t){for(var n=e.length;n--;)e[n].attr(t,null)})}),c({mceTableSplitCells:function(e){e.split()},mceTableMergeCells:function(e){var t;t=i.dom.getParent(i.selection.getStart(),"th,td"),i.dom.select("td[data-mce-selected],th[data-mce-selected]").length?e.merge():E.merge(e,t)},mceTableInsertRowBefore:function(e){e.insertRows(!0)},mceTableInsertRowAfter:function(e){e.insertRows()},mceTableInsertColBefore:function(e){e.insertCols(!0)},mceTableInsertColAfter:function(e){e.insertCols()},mceTableDeleteCol:function(e){e.deleteCols()},mceTableDeleteRow:function(e){e.deleteRows()},mceTableCutRow:function(e){w=e.cutRows()},mceTableCopyRow:function(e){w=e.copyRows()},mceTablePasteRowBefore:function(e){
-e.pasteRows(w,!0)},mceTablePasteRowAfter:function(e){e.pasteRows(w)},mceSplitColsBefore:function(e){e.splitCols(!0)},mceSplitColsAfter:function(e){e.splitCols(!1)},mceTableDelete:function(e){C&&C.clearBars(),e.deleteTable()}},function(t,n){i.addCommand(n,function(){var n=new e(i);n&&(t(n),i.execCommand("mceRepaint"),x.cellSelection.clear())})}),c({mceInsertTable:E.table,mceTableProps:function(){E.table(!0)},mceTableRowProps:E.row,mceTableCellProps:E.cell},function(e,t){i.addCommand(t,function(t,n){e(n)})}),v(),y(),i.settings.table_tab_navigation!==!1&&i.on("keydown",function(t){var n,r,o;9==t.keyCode&&(n=i.dom.getParent(i.selection.getStart(),"th,td"),n&&(t.preventDefault(),r=new e(i),o=t.shiftKey?-1:1,i.undoManager.transact(function(){!r.moveRelIdx(n,o)&&o>0&&(r.insertRow(),r.refresh(),r.moveRelIdx(n,o))})))}),x.insertTable=u,x.setClipboardRows=_,x.getClipboardRows=b}var c=i.each;u.add("table",l)})}(window)},function(e,t){!function(){var e={},t=function(t){for(var n=e[t],o=n.deps,i=n.defn,a=o.length,s=new Array(a),u=0;u<a;++u)s[u]=r(o[u]);var l=i.apply(null,s);if(void 0===l)throw"module ["+t+"] returned undefined";n.instance=l},n=function(t,n,r){if("string"!=typeof t)throw"module id must be a string";if(void 0===n)throw"no dependencies for "+t;if(void 0===r)throw"no definition function for "+t;e[t]={deps:n,defn:r,instance:void 0}},r=function(n){var r=e[n];if(void 0===r)throw"module ["+n+"] was undefined";return void 0===r.instance&&t(n),r.instance},o=function(e,t){for(var n=e.length,o=new Array(n),i=0;i<n;++i)o.push(r(e[i]));t.apply(null,t)},i={};i.bolt={module:{api:{define:n,require:o,demand:r}}};var a=n,s=function(e,t){a(e,[],function(){return t})};s("global!tinymce.Env",tinymce.Env),s("global!tinymce.EditorManager",tinymce.EditorManager),s("global!tinymce.ThemeManager",tinymce.ThemeManager),s("global!tinymce.util.Tools",tinymce.util.Tools),s("global!tinymce.ui.Factory",tinymce.ui.Factory),s("global!tinymce.DOM",tinymce.DOM),a("tinymce.modern.ui.Toolbar",["global!tinymce.util.Tools","global!tinymce.ui.Factory"],function(e,t){var n="undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image",r=function(n,r,o){var i,a=[];if(r)return e.each(r.split(/[ ,]/),function(e){var r,s=function(){var t=n.selection;e.settings.stateSelector&&t.selectorChanged(e.settings.stateSelector,function(t){e.active(t)},!0),e.settings.disabledStateSelector&&t.selectorChanged(e.settings.disabledStateSelector,function(t){e.disabled(t)})};"|"==e?i=null:t.has(e)?(e={type:e,size:o},a.push(e),i=null):(i||(i={type:"buttongroup",items:[]},a.push(i)),n.buttons[e]&&(r=e,e=n.buttons[r],"function"==typeof e&&(e=e()),e.type=e.type||"button",e.size=o,e=t.create(e),i.items.push(e),n.initialized?s():n.on("init",s)))}),{type:"toolbar",layout:"flow",items:a}},o=function(t,o){var i=[],a=t.settings,s=function(e){if(e)return i.push(r(t,e,o)),!0};if(e.isArray(a.toolbar)){if(0===a.toolbar.length)return;e.each(a.toolbar,function(e,t){a["toolbar"+(t+1)]=e}),delete a.toolbar}for(var u=1;u<10&&s(a["toolbar"+u]);u++);if(i.length||a.toolbar===!1||s(a.toolbar||n),i.length)return{type:"panel",layout:"stack",classes:"toolbar-grp",ariaRoot:!0,ariaRemember:!0,items:i}};return{createToolbar:r,createToolbars:o}}),a("tinymce.modern.ui.Menubar",["global!tinymce.util.Tools"],function(e){var t={file:{title:"File",items:"newdocument"},edit:{title:"Edit",items:"undo redo | cut copy paste pastetext | selectall"},insert:{title:"Insert",items:"|"},view:{title:"View",items:"visualaid |"},format:{title:"Format",items:"bold italic underline strikethrough superscript subscript | formats | removeformat"},table:{title:"Table"},tools:{title:"Tools"}},n=function(e,t){var n;return"|"==t?{text:"|"}:n=e[t]},r=function(r,o,i){var a,s,u,l,c;if(c=e.makeMap((o.removed_menuitems||"").split(/[ ,]/)),o.menu?(s=o.menu[i],l=!0):s=t[i],s){a={text:s.title},u=[],e.each((s.items||"").split(/[ ,]/),function(e){var t=n(r,e);t&&!c[e]&&u.push(n(r,e))}),l||e.each(r,function(e){e.context==i&&("before"==e.separator&&u.push({text:"|"}),e.prependToContext?u.unshift(e):u.push(e),"after"==e.separator&&u.push({text:"|"}))});for(var d=0;d<u.length;d++)"|"==u[d].text&&(0!==d&&d!=u.length-1||u.splice(d,1));if(a.menu=u,!a.menu.length)return null}return a},o=function(e){var n,o=[],i=e.settings,a=[];if(i.menu)for(n in i.menu)a.push(n);else for(n in t)a.push(n);for(var s="string"==typeof i.menubar?i.menubar.split(/[ ,]/):a,u=0;u<s.length;u++){var l=s[u];l=r(e.menuItems,e.settings,l),l&&o.push(l)}return o};return{createMenuButtons:o}}),s("global!tinymce.util.Delay",tinymce.util.Delay),s("global!tinymce.geom.Rect",tinymce.geom.Rect),a("tinymce.modern.ui.ContextToolbars",["global!tinymce.DOM","global!tinymce.util.Tools","global!tinymce.util.Delay","tinymce.modern.ui.Toolbar","global!tinymce.ui.Factory","global!tinymce.geom.Rect"],function(e,t,n,r,o,i){var a=function(e){return{left:e.x,top:e.y,width:e.w,height:e.h,right:e.x+e.w,bottom:e.y+e.h}},s=function(e){t.each(e.contextToolbars,function(e){e.panel&&e.panel.hide()})},u=function(e,t){e.moveTo(t.left,t.top)},l=function(e,n,r){n=n?n.substr(0,2):"",t.each({t:"down",b:"up"},function(t,o){e.classes.toggle("arrow-"+t,r(o,n.substr(0,1)))}),t.each({l:"left",r:"right"},function(t,o){e.classes.toggle("arrow-"+t,r(o,n.substr(1,1)))})},c=function(e,t,n,r,o,i){return i=a({x:t,y:n,w:i.w,h:i.h}),e&&(i=e({elementRect:a(r),contentAreaRect:a(o),panelRect:i})),i},d=function(a){var d,f=a.settings,p=function(){return a.contextToolbars||[]},h=function(t){var n,r,o;return n=e.getPos(a.getContentAreaContainer()),r=a.dom.getRect(t),o=a.dom.getRoot(),"BODY"===o.nodeName&&(r.x-=o.ownerDocument.documentElement.scrollLeft||o.scrollLeft,r.y-=o.ownerDocument.documentElement.scrollTop||o.scrollTop),r.x+=n.x,r.y+=n.y,r},m=function(t,n){var r,o,d,p,m,v,g,y,b=f.inline_toolbar_position_handler;if(!a.removed){if(!t||!t.toolbar.panel)return void s(a);g=["bc-tc","tc-bc","tl-bl","bl-tl","tr-br","br-tr"],m=t.toolbar.panel,n&&m.show(),d=h(t.element),o=e.getRect(m.getEl()),p=e.getRect(a.getContentAreaContainer()||a.getBody()),y=25,"inline"!==e.getStyle(t.element,"display",!0)&&(d.w=t.element.clientWidth,d.h=t.element.clientHeight),a.inline||(p.w=a.getDoc().documentElement.offsetWidth),a.selection.controlSelection.isResizable(t.element)&&d.w<y&&(d=i.inflate(d,0,8)),r=i.findBestRelativePosition(o,d,p,g),d=i.clamp(d,p),r?(v=i.relativePosition(o,d,r),u(m,c(b,v.x,v.y,d,p,o))):(p.h+=o.h,d=i.intersect(p,d),d?(r=i.findBestRelativePosition(o,d,p,["bc-tc","bl-tl","br-tr"]),r?(v=i.relativePosition(o,d,r),u(m,c(b,v.x,v.y,d,p,o))):u(m,c(b,d.x,d.y,d,p,o))):m.hide()),l(m,r,function(e,t){return e===t})}},v=function(e){return function(){var t=function(){a.selection&&m(_(a.selection.getNode()),e)};n.requestAnimationFrame(t)}},g=function(){d||(d=a.selection.getScrollContainer()||a.getWin(),e.bind(d,"scroll",v(!0)),a.on("remove",function(){e.unbind(d,"scroll")}))},y=function(e){var t;return e.toolbar.panel?(e.toolbar.panel.show(),void m(e)):(g(),t=o.create({type:"floatpanel",role:"dialog",classes:"tinymce tinymce-inline arrow",ariaLabel:"Inline toolbar",layout:"flex",direction:"column",align:"stretch",autohide:!1,autofix:!0,fixed:!0,border:1,items:r.createToolbar(a,e.toolbar.items),oncancel:function(){a.focus()}}),e.toolbar.panel=t,t.renderTo(document.body).reflow(),void m(e))},b=function(){t.each(p(),function(e){e.panel&&e.panel.hide()})},_=function(e){var t,n,r,o=p();for(r=a.$(e).parents().add(e),t=r.length-1;t>=0;t--)for(n=o.length-1;n>=0;n--)if(o[n].predicate(r[t]))return{toolbar:o[n],element:r[t]};return null};a.on("click keyup setContent ObjectResized",function(e){("setcontent"!==e.type||e.selection)&&n.setEditorTimeout(a,function(){var e;e=_(a.selection.getNode()),e?(b(),y(e)):b()})}),a.on("blur hide contextmenu",b),a.on("ObjectResizeStart",function(){var e=_(a.selection.getNode());e&&e.toolbar.panel&&e.toolbar.panel.hide()}),a.on("ResizeEditor ResizeWindow",v(!0)),a.on("nodeChange",v(!1)),a.on("remove",function(){t.each(p(),function(e){e.panel&&e.panel.remove()}),a.contextToolbars={}}),a.shortcuts.add("ctrl+shift+e > ctrl+shift+p","",function(){var e=_(a.selection.getNode());e&&e.toolbar.panel&&e.toolbar.panel.items()[0].focus()})};return{addContextualToolbars:d}}),a("tinymce.modern.ui.A11y",[],function(){var e=function(e,t){return function(){var n=e.find(t)[0];n&&n.focus(!0)}},t=function(t,n){t.shortcuts.add("Alt+F9","",e(n,"menubar")),t.shortcuts.add("Alt+F10,F10","",e(n,"toolbar")),t.shortcuts.add("Alt+F11","",e(n,"elementpath")),n.on("cancel",function(){t.focus()})};return{addKeys:t}}),a("tinymce.modern.ui.Sidebar",["global!tinymce.util.Tools","global!tinymce.ui.Factory","global!tinymce.Env"],function(e,t,n){var r=function(e){return{element:function(){return e}}},o=function(e,t,n){var o=e.settings[n];o&&o(r(t.getEl("body")))},i=function(t,n,r){e.each(r,function(e){var r=n.items().filter("#"+e.name)[0];r&&r.visible()&&e.name!==t&&(o(e,r,"onhide"),r.visible(!1))})},a=function(e){e.items().each(function(e){e.active(!1)})},s=function(t,n){return e.grep(t,function(e){return e.name===n})[0]},u=function(e,n,r){return function(u){var l=u.control,c=l.parents().filter("panel")[0],d=c.find("#"+n)[0],f=s(r,n);i(n,c,r),a(l.parent()),d&&d.visible()?(o(f,d,"onhide"),d.hide(),l.active(!1)):(d?(d.show(),o(f,d,"onshow")):(d=t.create({type:"container",name:n,layout:"stack",classes:"sidebar-panel",html:""}),c.prepend(d),o(f,d,"onrender"),o(f,d,"onshow")),l.active(!0)),e.fire("ResizeEditor")}},l=function(){return!n.ie||n.ie>=11},c=function(e){return!(!l()||!e.sidebars)&&e.sidebars.length>0},d=function(t){var n=e.map(t.sidebars,function(e){var n=e.settings;return{type:"button",icon:n.icon,image:n.image,tooltip:n.tooltip,onclick:u(t,e.name,t.sidebars)}});return{type:"panel",name:"sidebar",layout:"stack",classes:"sidebar",items:[{type:"toolbar",layout:"stack",classes:"sidebar-toolbar",items:n}]}};return{hasSidebar:c,createSidebar:d}}),a("tinymce.modern.ui.SkinLoaded",[],function(){var e=function(e){var t=function(){e._skinLoaded=!0,e.fire("SkinLoaded")};return function(){e.initialized?t():e.on("init",t)}};return{fireSkinLoaded:e}}),a("tinymce.modern.ui.Resize",["global!tinymce.DOM"],function(e){var t=function(e){return{width:e.clientWidth,height:e.clientHeight}},n=function(n,r,o){var i,a,s,u,l=n.settings;i=n.getContainer(),a=n.getContentAreaContainer().firstChild,s=t(i),u=t(a),null!==r&&(r=Math.max(l.min_width||100,r),r=Math.min(l.max_width||65535,r),e.setStyle(i,"width",r+(s.width-u.width)),e.setStyle(a,"width",r)),o=Math.max(l.min_height||100,o),o=Math.min(l.max_height||65535,o),e.setStyle(a,"height",o),n.fire("ResizeEditor")},r=function(e,t,r){var o=e.getContentAreaContainer();n(e,o.clientWidth+t,o.clientHeight+r)};return{resizeTo:n,resizeBy:r}}),a("tinymce.modern.modes.Iframe",["global!tinymce.util.Tools","global!tinymce.ui.Factory","global!tinymce.DOM","tinymce.modern.ui.Toolbar","tinymce.modern.ui.Menubar","tinymce.modern.ui.ContextToolbars","tinymce.modern.ui.A11y","tinymce.modern.ui.Sidebar","tinymce.modern.ui.SkinLoaded","tinymce.modern.ui.Resize"],function(e,t,n,r,o,i,a,s,u,l){var c=function(e){return function(t){e.find("*").disabled("readonly"===t.mode)}},d=function(e){return{type:"panel",name:"iframe",layout:"stack",classes:"edit-area",border:e,html:""}},f=function(e){return{type:"panel",layout:"stack",classes:"edit-aria-container",border:"1 0 0 0",items:[d("0"),s.createSidebar(e)]}},p=function(e,p,h){var m,v,g,y=e.settings;return h.skinUiCss&&n.styleSheetLoader.load(h.skinUiCss,u.fireSkinLoaded(e)),m=p.panel=t.create({type:"panel",role:"application",classes:"tinymce",style:"visibility: hidden",layout:"stack",border:1,items:[y.menubar===!1?null:{type:"menubar",border:"0 0 1 0",items:o.createMenuButtons(e)},r.createToolbars(e,y.toolbar_items_size),s.hasSidebar(e)?f(e):d("1 0 0 0")]}),y.resize!==!1&&(v={type:"resizehandle",direction:y.resize,onResizeStart:function(){var t=e.getContentAreaContainer().firstChild;g={width:t.clientWidth,height:t.clientHeight}},onResize:function(t){"both"===y.resize?l.resizeTo(e,g.width+t.deltaX,g.height+t.deltaY):l.resizeTo(e,null,g.height+t.deltaY)}}),y.statusbar!==!1&&m.add({type:"panel",name:"statusbar",classes:"statusbar",layout:"flow",border:"1 0 0 0",ariaRoot:!0,items:[{type:"elementpath",editor:e},v]}),e.fire("BeforeRenderUI"),e.on("SwitchMode",c(m)),m.renderBefore(h.targetNode).reflow(),y.readonly&&e.setMode("readonly"),y.width&&n.setStyle(m.getEl(),"width",y.width),e.on("remove",function(){m.remove(),m=null}),a.addKeys(e,m),i.addContextualToolbars(e),{iframeContainer:m.find("#iframe")[0].getEl(),editorContainer:m.getEl()}};return{render:p}}),s("global!tinymce.ui.FloatPanel",tinymce.ui.FloatPanel),a("tinymce.modern.modes.Inline",["global!tinymce.util.Tools","global!tinymce.ui.Factory","global!tinymce.DOM","global!tinymce.ui.FloatPanel","tinymce.modern.ui.Toolbar","tinymce.modern.ui.Menubar","tinymce.modern.ui.ContextToolbars","tinymce.modern.ui.A11y","tinymce.modern.ui.SkinLoaded"],function(e,t,n,r,o,i,a,s,u){var l=function(e,l,c){var d,f,p=e.settings;p.fixed_toolbar_container&&(f=n.select(p.fixed_toolbar_container)[0]);var h=function(){if(d&&d.moveRel&&d.visible()&&!d._fixed){var t=e.selection.getScrollContainer(),r=e.getBody(),o=0,i=0;if(t){var a=n.getPos(r),s=n.getPos(t);o=Math.max(0,s.x-a.x),i=Math.max(0,s.y-a.y)}d.fixed(!1).moveRel(r,e.rtl?["tr-br","br-tr"]:["tl-bl","bl-tl","tr-br"]).moveBy(o,i)}},m=function(){d&&(d.show(),h(),n.addClass(e.getBody(),"mce-edit-focus"))},v=function(){d&&(d.hide(),r.hideAll(),n.removeClass(e.getBody(),"mce-edit-focus"))},g=function(){return d?void(d.visible()||m()):(d=l.panel=t.create({type:f?"panel":"floatpanel",role:"application",classes:"tinymce tinymce-inline",layout:"flex",direction:"column",align:"stretch",autohide:!1,autofix:!0,fixed:!!f,border:1,items:[p.menubar===!1?null:{type:"menubar",border:"0 0 1 0",items:i.createMenuButtons(e)},o.createToolbars(e,p.toolbar_items_size)]}),e.fire("BeforeRenderUI"),d.renderTo(f||document.body).reflow(),s.addKeys(e,d),m(),a.addContextualToolbars(e),e.on("nodeChange",h),e.on("activate",m),e.on("deactivate",v),void e.nodeChanged())};return p.content_editable=!0,e.on("focus",function(){c.skinUiCss?n.styleSheetLoader.load(c.skinUiCss,g,g):g()}),e.on("blur hide",v),e.on("remove",function(){d&&(d.remove(),d=null)}),c.skinUiCss&&n.styleSheetLoader.load(c.skinUiCss,u.fireSkinLoaded(e)),{}};return{render:l}}),s("global!tinymce.ui.Throbber",tinymce.ui.Throbber),a("tinymce.modern.ui.ProgressState",["global!tinymce.ui.Throbber"],function(e){var t=function(t,n){var r;t.on("ProgressState",function(t){r=r||new e(n.panel.getEl("body")),t.state?r.show(t.time):r.hide()})};return{setup:t}}),a("tinymce.modern.Theme",["global!tinymce.Env","global!tinymce.EditorManager","global!tinymce.ThemeManager","tinymce.modern.modes.Iframe","tinymce.modern.modes.Inline","tinymce.modern.ui.Resize","tinymce.modern.ui.ProgressState"],function(e,t,n,r,o,i,a){var s=function(n,i,s){var u=n.settings,l=u.skin!==!1&&(u.skin||"lightgray");if(l){var c=u.skin_url;c=c?n.documentBaseURI.toAbsolute(c):t.baseURL+"/skins/"+l,e.documentMode<=7?s.skinUiCss=c+"/skin.ie7.min.css":s.skinUiCss=c+"/skin.min.css",n.contentCSS.push(c+"/content"+(n.inline?".inline":"")+".min.css")}return a.setup(n,i),u.inline?o.render(n,i,s):r.render(n,i,s)};return n.add("modern",function(e){return{renderUI:function(t){return s(e,this,t)},resizeTo:function(t,n){return i.resizeTo(e,t,n)},resizeBy:function(t,n){return i.resizeBy(e,t,n)}}}),function(){}}),r("tinymce.modern.Theme")()}()},function(e,t,n){(function(t){!function(n,r){"use strict";function o(e,t){for(var n,r=[],o=0;o<e.length;++o){if(n=u[e[o]]||a(e[o]),!n)throw"module definition dependecy not found: "+e[o];r.push(n)}t.apply(null,r)}function i(e,t,n){if("string"!=typeof e)throw"invalid module definition, module id must be defined and be a string";if(t===r)throw"invalid module definition, dependencies must be specified";if(n===r)throw"invalid module definition, definition function must be specified";o(t,function(){u[e]=n.apply(null,arguments)})}function a(e){for(var t=n,r=e.split(/[.\/]/),o=0;o<r.length;++o){if(!t[r[o]])return;t=t[r[o]]}return t}function s(e){var t,o,i,a,s;for(t=0;t<e.length;t++){o=n,i=e[t],a=i.split(/[.\/]/);for(var l=0;l<a.length-1;++l)o[a[l]]===r&&(o[a[l]]={}),o=o[a[l]];o[a[a.length-1]]=u[i]}if(n.AMDLC_TESTS){s=n.privateModules||{};for(i in u)s[i]=u[i];for(t=0;t<e.length;t++)delete s[e[t]];n.privateModules=s}}var u={};i("tinymce/geom/Rect",[],function(){function e(e,t,n){var r,o,a,s,u,c;return r=t.x,o=t.y,a=e.w,s=e.h,u=t.w,c=t.h,n=(n||"").split(""),"b"===n[0]&&(o+=c),"r"===n[1]&&(r+=u),"c"===n[0]&&(o+=l(c/2)),"c"===n[1]&&(r+=l(u/2)),"b"===n[3]&&(o-=s),"r"===n[4]&&(r-=a),"c"===n[3]&&(o-=l(s/2)),"c"===n[4]&&(r-=l(a/2)),i(r,o,a,s)}function t(t,n,r,o){var i,a;for(a=0;a<o.length;a++)if(i=e(t,n,o[a]),i.x>=r.x&&i.x+i.w<=r.w+r.x&&i.y>=r.y&&i.y+i.h<=r.h+r.y)return o[a];return null}function n(e,t,n){return i(e.x-t,e.y-n,e.w+2*t,e.h+2*n)}function r(e,t){var n,r,o,a;return n=u(e.x,t.x),r=u(e.y,t.y),o=s(e.x+e.w,t.x+t.w),a=s(e.y+e.h,t.y+t.h),o-n<0||a-r<0?null:i(n,r,o-n,a-r)}function o(e,t,n){var r,o,a,s,l,c,d,f,p,h;return l=e.x,c=e.y,d=e.x+e.w,f=e.y+e.h,p=t.x+t.w,h=t.y+t.h,r=u(0,t.x-l),o=u(0,t.y-c),a=u(0,d-p),s=u(0,f-h),l+=r,c+=o,n&&(d+=r,f+=o,l-=a,c-=s),d-=a,f-=s,i(l,c,d-l,f-c)}function i(e,t,n,r){return{x:e,y:t,w:n,h:r}}function a(e){return i(e.left,e.top,e.width,e.height)}var s=Math.min,u=Math.max,l=Math.round;return{inflate:n,relativePosition:e,findBestRelativePosition:t,intersect:r,clamp:o,create:i,fromClientRect:a}}),i("tinymce/util/Promise",[],function(){function e(e,t){return function(){e.apply(t,arguments)}}function n(t){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=null,this._value=null,this._deferreds=[],u(t,e(o,this),e(i,this))}function r(e){var t=this;return null===this._state?void this._deferreds.push(e):void l(function(){var n=t._state?e.onFulfilled:e.onRejected;if(null===n)return void(t._state?e.resolve:e.reject)(t._value);var r;try{r=n(t._value)}catch(t){return void e.reject(t)}e.resolve(r)})}function o(t){try{if(t===this)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var n=t.then;if("function"==typeof n)return void u(e(n,t),e(o,this),e(i,this))}this._state=!0,this._value=t,a.call(this)}catch(e){i.call(this,e)}}function i(e){this._state=!1,this._value=e,a.call(this)}function a(){for(var e=0,t=this._deferreds.length;e<t;e++)r.call(this,this._deferreds[e]);this._deferreds=null}function s(e,t,n,r){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.resolve=n,this.reject=r}function u(e,t,n){var r=!1;try{e(function(e){r||(r=!0,t(e))},function(e){r||(r=!0,n(e))})}catch(e){if(r)return;r=!0,n(e)}}if(window.Promise)return window.Promise;var l=n.immediateFn||"function"==typeof t&&t||function(e){setTimeout(e,1)},c=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};return n.prototype.catch=function(e){return this.then(null,e)},n.prototype.then=function(e,t){var o=this;return new n(function(n,i){r.call(o,new s(e,t,n,i))})},n.all=function(){var e=Array.prototype.slice.call(1===arguments.length&&c(arguments[0])?arguments[0]:arguments);return new n(function(t,n){function r(i,a){try{if(a&&("object"==typeof a||"function"==typeof a)){var s=a.then;if("function"==typeof s)return void s.call(a,function(e){r(i,e)},n)}e[i]=a,0===--o&&t(e)}catch(e){n(e)}}if(0===e.length)return t([]);for(var o=e.length,i=0;i<e.length;i++)r(i,e[i])})},n.resolve=function(e){return e&&"object"==typeof e&&e.constructor===n?e:new n(function(t){t(e)})},n.reject=function(e){return new n(function(t,n){n(e)})},n.race=function(e){return new n(function(t,n){for(var r=0,o=e.length;r<o;r++)e[r].then(t,n)})},n}),i("tinymce/util/Delay",["tinymce/util/Promise"],function(e){function t(e,t){function n(e){window.setTimeout(e,0)}var r,o=window.requestAnimationFrame,i=["ms","moz","webkit"];for(r=0;r<i.length&&!o;r++)o=window[i[r]+"RequestAnimationFrame"];o||(o=n),o(e,t)}function n(e,t){return"number"!=typeof t&&(t=0),setTimeout(e,t)}function r(e,t){return"number"!=typeof t&&(t=1),setInterval(e,t)}function o(e){return clearTimeout(e)}function i(e){return clearInterval(e)}function a(e,t){var r,o;return o=function(){var o=arguments;clearTimeout(r),r=n(function(){e.apply(this,o)},t)},o.stop=function(){clearTimeout(r)},o}var s;return{requestAnimationFrame:function(n,r){return s?void s.then(n):void(s=new e(function(e){r||(r=document.body),t(e,r)}).then(n))},setTimeout:n,setInterval:r,setEditorTimeout:function(e,t,r){return n(function(){e.removed||t()},r)},setEditorInterval:function(e,t,n){var o;return o=r(function(){e.removed?clearInterval(o):t()},n)},debounce:a,throttle:a,clearInterval:i,clearTimeout:o}}),i("tinymce/Env",[],function(){function e(e){return"matchMedia"in window&&matchMedia(e).matches}var t,n,r,o,i,a,s,u,l,c,d,f,p,h=navigator,m=h.userAgent;t=window.opera&&window.opera.buildNumber,l=/Android/.test(m),n=/WebKit/.test(m),r=!n&&!t&&/MSIE/gi.test(m)&&/Explorer/gi.test(h.appName),r=r&&/MSIE (\w+)\./.exec(m)[1],o=m.indexOf("Trident/")!=-1&&(m.indexOf("rv:")!=-1||h.appName.indexOf("Netscape")!=-1)&&11,i=m.indexOf("Edge/")!=-1&&!r&&!o&&12,r=r||o||i,a=!n&&!o&&/Gecko/.test(m),s=m.indexOf("Mac")!=-1,u=/(iPad|iPhone)/.test(m),c="FormData"in window&&"FileReader"in window&&"URL"in window&&!!URL.createObjectURL,d=e("only screen and (max-device-width: 480px)")&&(l||u),f=e("only screen and (min-width: 800px)")&&(l||u),p=m.indexOf("Windows Phone")!=-1,i&&(n=!1);var v=!u||c||m.match(/AppleWebKit\/(\d*)/)[1]>=534;return{opera:t,webkit:n,ie:r,gecko:a,mac:s,iOS:u,android:l,contentEditable:v,transparentSrc:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",caretAfter:8!=r,range:window.getSelection&&"Range"in window,documentMode:r&&!i?document.documentMode||7:10,fileApi:c,ceFalse:r===!1||r>8,canHaveCSP:r===!1||r>11,desktop:!d&&!f,windowsPhone:p}}),i("tinymce/dom/EventUtils",["tinymce/util/Delay","tinymce/Env"],function(e,t){function n(e,t,n,r){e.addEventListener?e.addEventListener(t,n,r||!1):e.attachEvent&&e.attachEvent("on"+t,n)}function r(e,t,n,r){e.removeEventListener?e.removeEventListener(t,n,r||!1):e.detachEvent&&e.detachEvent("on"+t,n)}function o(e,t){var n,r=t;return n=e.path,n&&n.length>0&&(r=n[0]),e.deepPath&&(n=e.deepPath(),n&&n.length>0&&(r=n[0])),r}function i(e,n){function r(){return!1}function i(){return!0}var a,s,u=n||{};for(a in e)c[a]||(u[a]=e[a]);if(u.target||(u.target=u.srcElement||document),t.experimentalShadowDom&&(u.target=o(e,u.target)),e&&l.test(e.type)&&e.pageX===s&&e.clientX!==s){var d=u.target.ownerDocument||document,f=d.documentElement,p=d.body;u.pageX=e.clientX+(f&&f.scrollLeft||p&&p.scrollLeft||0)-(f&&f.clientLeft||p&&p.clientLeft||0),u.pageY=e.clientY+(f&&f.scrollTop||p&&p.scrollTop||0)-(f&&f.clientTop||p&&p.clientTop||0)}return u.preventDefault=function(){u.isDefaultPrevented=i,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},u.stopPropagation=function(){u.isPropagationStopped=i,e&&(e.stopPropagation?e.stopPropagation():e.cancelBubble=!0)},u.stopImmediatePropagation=function(){u.isImmediatePropagationStopped=i,u.stopPropagation()},u.isDefaultPrevented||(u.isDefaultPrevented=r,u.isPropagationStopped=r,u.isImmediatePropagationStopped=r),"undefined"==typeof u.metaKey&&(u.metaKey=!1),u}function a(t,o,i){function a(){i.domLoaded||(i.domLoaded=!0,o(c))}function s(){("complete"===l.readyState||"interactive"===l.readyState&&l.body)&&(r(l,"readystatechange",s),a())}function u(){try{l.documentElement.doScroll("left")}catch(t){return void e.setTimeout(u)}a()}var l=t.document,c={type:"ready"};return i.domLoaded?void o(c):(l.addEventListener?"complete"===l.readyState?a():n(t,"DOMContentLoaded",a):(n(l,"readystatechange",s),l.documentElement.doScroll&&t.self===t.top&&u()),void n(t,"load",a))}function s(){function e(e,t){var n,r,o,i,a=f[t];if(n=a&&a[e.type])for(r=0,o=n.length;r<o;r++)if(i=n[r],i&&i.func.call(i.scope,e)===!1&&e.preventDefault(),e.isImmediatePropagationStopped())return}var t,o,s,l,c,d=this,f={};o=u+(+new Date).toString(32),l="onmouseenter"in document.documentElement,s="onfocusin"in document.documentElement,c={mouseenter:"mouseover",mouseleave:"mouseout"},t=1,d.domLoaded=!1,d.events=f,d.bind=function(r,u,p,h){function m(t){e(i(t||x.event),v)}var v,g,y,b,_,w,C,x=window;if(r&&3!==r.nodeType&&8!==r.nodeType){for(r[o]?v=r[o]:(v=t++,r[o]=v,f[v]={}),h=h||r,u=u.split(" "),y=u.length;y--;)b=u[y],w=m,_=C=!1,"DOMContentLoaded"===b&&(b="ready"),d.domLoaded&&"ready"===b&&"complete"==r.readyState?p.call(h,i({type:b})):(l||(_=c[b],_&&(w=function(t){var n,r;if(n=t.currentTarget,r=t.relatedTarget,r&&n.contains)r=n.contains(r);else for(;r&&r!==n;)r=r.parentNode;r||(t=i(t||x.event),t.type="mouseout"===t.type?"mouseleave":"mouseenter",t.target=n,e(t,v))})),s||"focusin"!==b&&"focusout"!==b||(C=!0,_="focusin"===b?"focus":"blur",w=function(t){t=i(t||x.event),t.type="focus"===t.type?"focusin":"focusout",e(t,v)}),g=f[v][b],g?"ready"===b&&d.domLoaded?p({type:b}):g.push({func:p,scope:h}):(f[v][b]=g=[{func:p,scope:h}],g.fakeName=_,g.capture=C,g.nativeHandler=w,"ready"===b?a(r,w,d):n(r,_||b,w,C)));return r=g=0,p}},d.unbind=function(e,t,n){var i,a,s,u,l,c;if(!e||3===e.nodeType||8===e.nodeType)return d;if(i=e[o]){if(c=f[i],t){for(t=t.split(" "),s=t.length;s--;)if(l=t[s],a=c[l]){if(n)for(u=a.length;u--;)if(a[u].func===n){var p=a.nativeHandler,h=a.fakeName,m=a.capture;a=a.slice(0,u).concat(a.slice(u+1)),a.nativeHandler=p,a.fakeName=h,a.capture=m,c[l]=a}n&&0!==a.length||(delete c[l],r(e,a.fakeName||l,a.nativeHandler,a.capture))}}else{for(l in c)a=c[l],r(e,a.fakeName||l,a.nativeHandler,a.capture);c={}}for(l in c)return d;delete f[i];try{delete e[o]}catch(t){e[o]=null}}return d},d.fire=function(t,n,r){var a;if(!t||3===t.nodeType||8===t.nodeType)return d;r=i(null,r),r.type=n,r.target=t;do a=t[o],a&&e(r,a),t=t.parentNode||t.ownerDocument||t.defaultView||t.parentWindow;while(t&&!r.isPropagationStopped());return d},d.clean=function(e){var t,n,r=d.unbind;if(!e||3===e.nodeType||8===e.nodeType)return d;if(e[o]&&r(e),e.getElementsByTagName||(e=e.document),e&&e.getElementsByTagName)for(r(e),n=e.getElementsByTagName("*"),t=n.length;t--;)e=n[t],e[o]&&r(e);return d},d.destroy=function(){f={}},d.cancel=function(e){return e&&(e.preventDefault(),e.stopImmediatePropagation()),!1}}var u="mce-data-",l=/^(?:mouse|contextmenu)|click/,c={keyLocation:1,layerX:1,layerY:1,returnValue:1,webkitMovementX:1,webkitMovementY:1,keyIdentifier:1};return s.Event=new s,s.Event.bind(window,"ready",function(){}),s}),i("tinymce/dom/Sizzle",[],function(){function e(e,t,n,r){var o,i,a,s,u,l,d,p,h,m;if((t?t.ownerDocument||t:U)!==I&&N(t),t=t||I,n=n||[],!e||"string"!=typeof e)return n;if(1!==(s=t.nodeType)&&9!==s)return[];if(D&&!r){if(o=ge.exec(e))if(a=o[1]){if(9===s){if(i=t.getElementById(a),!i||!i.parentNode)return n;if(i.id===a)return n.push(i),n}else if(t.ownerDocument&&(i=t.ownerDocument.getElementById(a))&&B(t,i)&&i.id===a)return n.push(i),n}else{if(o[2])return Z.apply(n,t.getElementsByTagName(e)),n;if((a=o[3])&&w.getElementsByClassName)return Z.apply(n,t.getElementsByClassName(a)),n}if(w.qsa&&(!R||!R.test(e))){if(p=d=F,h=t,m=9===s&&e,1===s&&"object"!==t.nodeName.toLowerCase()){for(l=T(e),(d=t.getAttribute("id"))?p=d.replace(be,"\\$&"):t.setAttribute("id",p),p="[id='"+p+"'] ",u=l.length;u--;)l[u]=p+f(l[u]);h=ye.test(e)&&c(t.parentNode)||t,m=l.join(",")}if(m)try{return Z.apply(n,h.querySelectorAll(m)),n}catch(e){}finally{d||t.removeAttribute("id")}}}return S(e.replace(se,"$1"),t,n,r)}function t(){function e(n,r){return t.push(n+" ")>C.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function n(e){return e[F]=!0,e}function o(e){var t=I.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function i(e,t){for(var n=e.split("|"),r=e.length;r--;)C.attrHandle[n[r]]=t}function a(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||$)-(~e.sourceIndex||$);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function u(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function l(e){return n(function(t){return t=+t,n(function(n,r){for(var o,i=e([],n.length,t),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))})})}function c(e){return e&&typeof e.getElementsByTagName!==Y&&e}function d(){}function f(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function p(e,t,n){var r=t.dir,o=n&&"parentNode"===r,i=z++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||o)return e(t,n,i)}:function(t,n,a){var s,u,l=[H,i];if(a){for(;t=t[r];)if((1===t.nodeType||o)&&e(t,n,a))return!0}else for(;t=t[r];)if(1===t.nodeType||o){if(u=t[F]||(t[F]={}),(s=u[r])&&s[0]===H&&s[1]===i)return l[2]=s[2];if(u[r]=l,l[2]=e(t,n,a))return!0}}}function h(e){return e.length>1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function m(t,n,r){for(var o=0,i=n.length;o<i;o++)e(t,n[o],r);return r}function v(e,t,n,r,o){for(var i,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(i=e[s])&&(n&&!n(i,r,o)||(a.push(i),l&&t.push(s)));return a}function g(e,t,r,o,i,a){return o&&!o[F]&&(o=g(o)),i&&!i[F]&&(i=g(i,a)),n(function(n,a,s,u){var l,c,d,f=[],p=[],h=a.length,g=n||m(t||"*",s.nodeType?[s]:s,[]),y=!e||!n&&t?g:v(g,f,e,s,u),b=r?i||(n?e:h||o)?[]:a:y;if(r&&r(y,b,s,u),o)for(l=v(b,p),o(l,[],s,u),c=l.length;c--;)(d=l[c])&&(b[p[c]]=!(y[p[c]]=d));if(n){if(i||e){if(i){for(l=[],c=b.length;c--;)(d=b[c])&&l.push(y[c]=d);i(null,b=[],l,u)}for(c=b.length;c--;)(d=b[c])&&(l=i?te.call(n,d):f[c])>-1&&(n[l]=!(a[l]=d))}}else b=v(b===a?b.splice(h,b.length):b),i?i(null,a,b,u):Z.apply(a,b)})}function y(e){for(var t,n,r,o=e.length,i=C.relative[e[0].type],a=i||C.relative[" "],s=i?1:0,u=p(function(e){return e===t},a,!0),l=p(function(e){return te.call(t,e)>-1},a,!0),c=[function(e,n,r){return!i&&(r||n!==M)||((t=n).nodeType?u(e,n,r):l(e,n,r))}];s<o;s++)if(n=C.relative[e[s].type])c=[p(h(c),n)];else{if(n=C.filter[e[s].type].apply(null,e[s].matches),n[F]){for(r=++s;r<o&&!C.relative[e[r].type];r++);return g(s>1&&h(c),s>1&&f(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(se,"$1"),n,s<r&&y(e.slice(s,r)),r<o&&y(e=e.slice(r)),r<o&&f(e))}c.push(n)}return h(c)}function b(t,r){var o=r.length>0,i=t.length>0,a=function(n,a,s,u,l){var c,d,f,p=0,h="0",m=n&&[],g=[],y=M,b=n||i&&C.find.TAG("*",l),_=H+=null==y?1:Math.random()||.1,w=b.length;for(l&&(M=a!==I&&a);h!==w&&null!=(c=b[h]);h++){if(i&&c){for(d=0;f=t[d++];)if(f(c,a,s)){u.push(c);break}l&&(H=_)}o&&((c=!f&&c)&&p--,n&&m.push(c))}if(p+=h,o&&h!==p){for(d=0;f=r[d++];)f(m,g,a,s);if(n){if(p>0)for(;h--;)m[h]||g[h]||(g[h]=Q.call(u));g=v(g)}Z.apply(u,g),l&&!n&&g.length>0&&p+r.length>1&&e.uniqueSort(u)}return l&&(H=_,M=y),m};return o?n(a):a}var _,w,C,x,E,T,k,S,M,O,A,N,I,P,D,R,j,L,B,F="sizzle"+-new Date,U=window.document,H=0,z=0,q=t(),W=t(),V=t(),G=function(e,t){return e===t&&(A=!0),0},Y=typeof r,$=1<<31,K={}.hasOwnProperty,X=[],Q=X.pop,J=X.push,Z=X.push,ee=X.slice,te=X.indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(this[t]===e)return t;return-1},ne="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",re="[\\x20\\t\\r\\n\\f]",oe="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ie="\\["+re+"*("+oe+")(?:"+re+"*([*^$|!~]?=)"+re+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+oe+"))|)"+re+"*\\]",ae=":("+oe+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ie+")*)|.*)\\)|)",se=new RegExp("^"+re+"+|((?:^|[^\\\\])(?:\\\\.)*)"+re+"+$","g"),ue=new RegExp("^"+re+"*,"+re+"*"),le=new RegExp("^"+re+"*([>+~]|"+re+")"+re+"*"),ce=new RegExp("="+re+"*([^\\]'\"]*?)"+re+"*\\]","g"),de=new RegExp(ae),fe=new RegExp("^"+oe+"$"),pe={
-ID:new RegExp("^#("+oe+")"),CLASS:new RegExp("^\\.("+oe+")"),TAG:new RegExp("^("+oe+"|[*])"),ATTR:new RegExp("^"+ie),PSEUDO:new RegExp("^"+ae),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+re+"*(even|odd|(([+-]|)(\\d*)n|)"+re+"*(?:([+-]|)"+re+"*(\\d+)|))"+re+"*\\)|)","i"),bool:new RegExp("^(?:"+ne+")$","i"),needsContext:new RegExp("^"+re+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+re+"*((?:-\\d)?\\d*)"+re+"*\\)|)(?=[^-]|$)","i")},he=/^(?:input|select|textarea|button)$/i,me=/^h\d$/i,ve=/^[^{]+\{\s*\[native \w/,ge=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ye=/[+~]/,be=/'|\\/g,_e=new RegExp("\\\\([\\da-f]{1,6}"+re+"?|("+re+")|.)","ig"),we=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)};try{Z.apply(X=ee.call(U.childNodes),U.childNodes),X[U.childNodes.length].nodeType}catch(e){Z={apply:X.length?function(e,t){J.apply(e,ee.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}w=e.support={},E=e.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},N=e.setDocument=function(e){function t(e){try{return e.top}catch(e){}return null}var n,r=e?e.ownerDocument||e:U,i=r.defaultView;return r!==I&&9===r.nodeType&&r.documentElement?(I=r,P=r.documentElement,D=!E(r),i&&i!==t(i)&&(i.addEventListener?i.addEventListener("unload",function(){N()},!1):i.attachEvent&&i.attachEvent("onunload",function(){N()})),w.attributes=o(function(e){return e.className="i",!e.getAttribute("className")}),w.getElementsByTagName=o(function(e){return e.appendChild(r.createComment("")),!e.getElementsByTagName("*").length}),w.getElementsByClassName=ve.test(r.getElementsByClassName),w.getById=o(function(e){return P.appendChild(e).id=F,!r.getElementsByName||!r.getElementsByName(F).length}),w.getById?(C.find.ID=function(e,t){if(typeof t.getElementById!==Y&&D){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},C.filter.ID=function(e){var t=e.replace(_e,we);return function(e){return e.getAttribute("id")===t}}):(delete C.find.ID,C.filter.ID=function(e){var t=e.replace(_e,we);return function(e){var n=typeof e.getAttributeNode!==Y&&e.getAttributeNode("id");return n&&n.value===t}}),C.find.TAG=w.getElementsByTagName?function(e,t){if(typeof t.getElementsByTagName!==Y)return t.getElementsByTagName(e)}:function(e,t){var n,r=[],o=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[o++];)1===n.nodeType&&r.push(n);return r}return i},C.find.CLASS=w.getElementsByClassName&&function(e,t){if(D)return t.getElementsByClassName(e)},j=[],R=[],(w.qsa=ve.test(r.querySelectorAll))&&(o(function(e){e.innerHTML="<select msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&R.push("[*^$]="+re+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||R.push("\\["+re+"*(?:value|"+ne+")"),e.querySelectorAll(":checked").length||R.push(":checked")}),o(function(e){var t=r.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&R.push("name"+re+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||R.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),R.push(",.*:")})),(w.matchesSelector=ve.test(L=P.matches||P.webkitMatchesSelector||P.mozMatchesSelector||P.oMatchesSelector||P.msMatchesSelector))&&o(function(e){w.disconnectedMatch=L.call(e,"div"),L.call(e,"[s!='']:x"),j.push("!=",ae)}),R=R.length&&new RegExp(R.join("|")),j=j.length&&new RegExp(j.join("|")),n=ve.test(P.compareDocumentPosition),B=n||ve.test(P.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},G=n?function(e,t){if(e===t)return A=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n?n:(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!w.sortDetached&&t.compareDocumentPosition(e)===n?e===r||e.ownerDocument===U&&B(U,e)?-1:t===r||t.ownerDocument===U&&B(U,t)?1:O?te.call(O,e)-te.call(O,t):0:4&n?-1:1)}:function(e,t){if(e===t)return A=!0,0;var n,o=0,i=e.parentNode,s=t.parentNode,u=[e],l=[t];if(!i||!s)return e===r?-1:t===r?1:i?-1:s?1:O?te.call(O,e)-te.call(O,t):0;if(i===s)return a(e,t);for(n=e;n=n.parentNode;)u.unshift(n);for(n=t;n=n.parentNode;)l.unshift(n);for(;u[o]===l[o];)o++;return o?a(u[o],l[o]):u[o]===U?-1:l[o]===U?1:0},r):I},e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if((t.ownerDocument||t)!==I&&N(t),n=n.replace(ce,"='$1']"),w.matchesSelector&&D&&(!j||!j.test(n))&&(!R||!R.test(n)))try{var r=L.call(t,n);if(r||w.disconnectedMatch||t.document&&11!==t.document.nodeType)return r}catch(e){}return e(n,I,null,[t]).length>0},e.contains=function(e,t){return(e.ownerDocument||e)!==I&&N(e),B(e,t)},e.attr=function(e,t){(e.ownerDocument||e)!==I&&N(e);var n=C.attrHandle[t.toLowerCase()],o=n&&K.call(C.attrHandle,t.toLowerCase())?n(e,t,!D):r;return o!==r?o:w.attributes||!D?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},e.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},e.uniqueSort=function(e){var t,n=[],r=0,o=0;if(A=!w.detectDuplicates,O=!w.sortStable&&e.slice(0),e.sort(G),A){for(;t=e[o++];)t===e[o]&&(r=n.push(o));for(;r--;)e.splice(n[r],1)}return O=null,e},x=e.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=x(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=x(t);return n},C=e.selectors={cacheLength:50,createPseudo:n,match:pe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(_e,we),e[3]=(e[3]||e[4]||e[5]||"").replace(_e,we),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(e){var t,n=!e[6]&&e[2];return pe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&de.test(n)&&(t=T(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(_e,we).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=q[e+" "];return t||(t=new RegExp("(^|"+re+")"+e+"("+re+"|$)"))&&q(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==Y&&e.getAttribute("class")||"")})},ATTR:function(t,n,r){return function(o){var i=e.attr(o,t);return null==i?"!="===n:!n||(i+="","="===n?i===r:"!="===n?i!==r:"^="===n?r&&0===i.indexOf(r):"*="===n?r&&i.indexOf(r)>-1:"$="===n?r&&i.slice(-r.length)===r:"~="===n?(" "+i+" ").indexOf(r)>-1:"|="===n&&(i===r||i.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,n,r,o){var i="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,u){var l,c,d,f,p,h,m=i!==a?"nextSibling":"previousSibling",v=t.parentNode,g=s&&t.nodeName.toLowerCase(),y=!u&&!s;if(v){if(i){for(;m;){for(d=t;d=d[m];)if(s?d.nodeName.toLowerCase()===g:1===d.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?v.firstChild:v.lastChild],a&&y){for(c=v[F]||(v[F]={}),l=c[e]||[],p=l[0]===H&&l[1],f=l[0]===H&&l[2],d=p&&v.childNodes[p];d=++p&&d&&d[m]||(f=p=0)||h.pop();)if(1===d.nodeType&&++f&&d===t){c[e]=[H,p,f];break}}else if(y&&(l=(t[F]||(t[F]={}))[e])&&l[0]===H)f=l[1];else for(;(d=++p&&d&&d[m]||(f=p=0)||h.pop())&&((s?d.nodeName.toLowerCase()!==g:1!==d.nodeType)||!++f||(y&&((d[F]||(d[F]={}))[e]=[H,f]),d!==t)););return f-=o,f===r||f%r===0&&f/r>=0}}},PSEUDO:function(t,r){var o,i=C.pseudos[t]||C.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return i[F]?i(r):i.length>1?(o=[t,t,"",r],C.setFilters.hasOwnProperty(t.toLowerCase())?n(function(e,t){for(var n,o=i(e,r),a=o.length;a--;)n=te.call(e,o[a]),e[n]=!(t[n]=o[a])}):function(e){return i(e,0,o)}):i}},pseudos:{not:n(function(e){var t=[],r=[],o=k(e.replace(se,"$1"));return o[F]?n(function(e,t,n,r){for(var i,a=o(e,null,r,[]),s=e.length;s--;)(i=a[s])&&(e[s]=!(t[s]=i))}):function(e,n,i){return t[0]=e,o(t,null,i,r),!r.pop()}}),has:n(function(t){return function(n){return e(t,n).length>0}}),contains:n(function(e){return e=e.replace(_e,we),function(t){return(t.textContent||t.innerText||x(t)).indexOf(e)>-1}}),lang:n(function(t){return fe.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(_e,we).toLowerCase(),function(e){var n;do if(n=D?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return n=n.toLowerCase(),n===t||0===n.indexOf(t+"-");while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=window.location&&window.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===P},focus:function(e){return e===I.activeElement&&(!I.hasFocus||I.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!C.pseudos.empty(e)},header:function(e){return me.test(e.nodeName)},input:function(e){return he.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:l(function(){return[0]}),last:l(function(e,t){return[t-1]}),eq:l(function(e,t,n){return[n<0?n+t:n]}),even:l(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:l(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:l(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:l(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}},C.pseudos.nth=C.pseudos.eq;for(_ in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})C.pseudos[_]=s(_);for(_ in{submit:!0,reset:!0})C.pseudos[_]=u(_);return d.prototype=C.filters=C.pseudos,C.setFilters=new d,T=e.tokenize=function(t,n){var r,o,i,a,s,u,l,c=W[t+" "];if(c)return n?0:c.slice(0);for(s=t,u=[],l=C.preFilter;s;){r&&!(o=ue.exec(s))||(o&&(s=s.slice(o[0].length)||s),u.push(i=[])),r=!1,(o=le.exec(s))&&(r=o.shift(),i.push({value:r,type:o[0].replace(se," ")}),s=s.slice(r.length));for(a in C.filter)!(o=pe[a].exec(s))||l[a]&&!(o=l[a](o))||(r=o.shift(),i.push({value:r,type:a,matches:o}),s=s.slice(r.length));if(!r)break}return n?s.length:s?e.error(t):W(t,u).slice(0)},k=e.compile=function(e,t){var n,r=[],o=[],i=V[e+" "];if(!i){for(t||(t=T(e)),n=t.length;n--;)i=y(t[n]),i[F]?r.push(i):o.push(i);i=V(e,b(o,r)),i.selector=e}return i},S=e.select=function(e,t,n,r){var o,i,a,s,u,l="function"==typeof e&&e,d=!r&&T(e=l.selector||e);if(n=n||[],1===d.length){if(i=d[0]=d[0].slice(0),i.length>2&&"ID"===(a=i[0]).type&&w.getById&&9===t.nodeType&&D&&C.relative[i[1].type]){if(t=(C.find.ID(a.matches[0].replace(_e,we),t)||[])[0],!t)return n;l&&(t=t.parentNode),e=e.slice(i.shift().value.length)}for(o=pe.needsContext.test(e)?0:i.length;o--&&(a=i[o],!C.relative[s=a.type]);)if((u=C.find[s])&&(r=u(a.matches[0].replace(_e,we),ye.test(i[0].type)&&c(t.parentNode)||t))){if(i.splice(o,1),e=r.length&&f(i),!e)return Z.apply(n,r),n;break}}return(l||k(e,d))(r,t,!D,n,ye.test(e)&&c(t.parentNode)||t),n},w.sortStable=F.split("").sort(G).join("")===F,w.detectDuplicates=!!A,N(),w.sortDetached=o(function(e){return 1&e.compareDocumentPosition(I.createElement("div"))}),o(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||i("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),w.attributes&&o(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||i("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),o(function(e){return null==e.getAttribute("disabled")})||i(ne,function(e,t,n){var r;if(!n)return e[t]===!0?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),e}),i("tinymce/util/Arr",[],function(){function e(e){var t,n,r=e;if(!c(e))for(r=[],t=0,n=e.length;t<n;t++)r[t]=e[t];return r}function t(e,t,n){var o,i;if(!e)return 0;if(n=n||e,e.length!==r){for(o=0,i=e.length;o<i;o++)if(t.call(n,e[o],o,e)===!1)return 0}else for(o in e)if(e.hasOwnProperty(o)&&t.call(n,e[o],o,e)===!1)return 0;return 1}function n(e,n){var r=[];return t(e,function(t,o){r.push(n(t,o,e))}),r}function o(e,n){var r=[];return t(e,function(t,o){n&&!n(t,o,e)||r.push(t)}),r}function i(e,t){var n,r;if(e)for(n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function a(e,t,n,r){var o=0;for(arguments.length<3&&(n=e[0]);o<e.length;o++)n=t.call(r,n,e[o],o);return n}function s(e,t,n){var r,o;for(r=0,o=e.length;r<o;r++)if(t.call(n,e[r],r,e))return r;return-1}function u(e,t,n){var o=s(e,t,n);return o!==-1?e[o]:r}function l(e){return e[e.length-1]}var c=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};return{isArray:c,toArray:e,each:t,map:n,filter:o,indexOf:i,reduce:a,findIndex:s,find:u,last:l}}),i("tinymce/util/Tools",["tinymce/Env","tinymce/util/Arr"],function(e,t){function n(e){return null===e||e===r?"":(""+e).replace(h,"")}function o(e,n){return n?!("array"!=n||!t.isArray(e))||typeof e==n:e!==r}function i(e,t,n){var r;for(e=e||[],t=t||",","string"==typeof e&&(e=e.split(t)),n=n||{},r=e.length;r--;)n[e[r]]={};return n}function a(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function s(e,t,n){var r,o,i,a,s,u=this,l=0;if(e=/^((static) )?([\w.]+)(:([\w.]+))?/.exec(e),i=e[3].match(/(^|\.)(\w+)$/i)[2],o=u.createNS(e[3].replace(/\.\w+$/,""),n),!o[i]){if("static"==e[2])return o[i]=t,void(this.onCreate&&this.onCreate(e[2],e[3],o[i]));t[i]||(t[i]=function(){},l=1),o[i]=t[i],u.extend(o[i].prototype,t),e[5]&&(r=u.resolve(e[5]).prototype,a=e[5].match(/\.(\w+)$/i)[1],s=o[i],l?o[i]=function(){return r[a].apply(this,arguments)}:o[i]=function(){return this.parent=r[a],s.apply(this,arguments)},o[i].prototype[i]=o[i],u.each(r,function(e,t){o[i].prototype[t]=r[t]}),u.each(t,function(e,t){r[t]?o[i].prototype[t]=function(){return this.parent=r[t],e.apply(this,arguments)}:t!=i&&(o[i].prototype[t]=e)})),u.each(t.static,function(e,t){o[i][t]=e})}}function u(e,t){var n,o,i,a,s=arguments;for(n=1,o=s.length;n<o;n++){t=s[n];for(i in t)t.hasOwnProperty(i)&&(a=t[i],a!==r&&(e[i]=a))}return e}function l(e,n,r,o){o=o||this,e&&(r&&(e=e[r]),t.each(e,function(e,t){return n.call(o,e,t,r)!==!1&&void l(e,n,r,o)}))}function c(e,t){var n,r;for(t=t||window,e=e.split("."),n=0;n<e.length;n++)r=e[n],t[r]||(t[r]={}),t=t[r];return t}function d(e,t){var n,r;for(t=t||window,e=e.split("."),n=0,r=e.length;n<r&&(t=t[e[n]],t);n++);return t}function f(e,r){return!e||o(e,"array")?e:t.map(e.split(r||","),n)}function p(t){var n=e.cacheSuffix;return n&&(t+=(t.indexOf("?")===-1?"?":"&")+n),t}var h=/^\s*|\s*$/g;return{trim:n,isArray:t.isArray,is:o,toArray:t.toArray,makeMap:i,each:t.each,map:t.map,grep:t.filter,inArray:t.indexOf,hasOwn:a,extend:u,create:s,walk:l,createNS:c,resolve:d,explode:f,_addCacheSuffix:p}}),i("tinymce/dom/DomQuery",["tinymce/dom/EventUtils","tinymce/dom/Sizzle","tinymce/util/Tools","tinymce/Env"],function(e,t,n,o){function i(e){return"undefined"!=typeof e}function a(e){return"string"==typeof e}function s(e){return e&&e==e.window}function u(e,t){var n,r,o;for(t=t||x,o=t.createElement("div"),n=t.createDocumentFragment(),o.innerHTML=e;r=o.firstChild;)n.appendChild(r);return n}function l(e,t,n,r){var o;if(a(t))t=u(t,g(e[0]));else if(t.length&&!t.nodeType){if(t=f.makeArray(t),r)for(o=t.length-1;o>=0;o--)l(e,t[o],n,r);else for(o=0;o<t.length;o++)l(e,t[o],n,r);return e}if(t.nodeType)for(o=e.length;o--;)n.call(e[o],t);return e}function c(e,t){return e&&t&&(" "+e.className+" ").indexOf(" "+t+" ")!==-1}function d(e,t,n){var r,o;return t=f(t)[0],e.each(function(){var e=this;n&&r==e.parentNode?o.appendChild(e):(r=e.parentNode,o=t.cloneNode(!1),e.parentNode.insertBefore(o,e),o.appendChild(e))}),e}function f(e,t){return new f.fn.init(e,t)}function p(e,t){var n;if(t.indexOf)return t.indexOf(e);for(n=t.length;n--;)if(t[n]===e)return n;return-1}function h(e){return null===e||e===C?"":(""+e).replace(R,"")}function m(e,t){var n,r,o,i,a;if(e)if(n=e.length,n===i){for(r in e)if(e.hasOwnProperty(r)&&(a=e[r],t.call(a,r,a)===!1))break}else for(o=0;o<n&&(a=e[o],t.call(a,o,a)!==!1);o++);return e}function v(e,t){var n=[];return m(e,function(e,r){t(r,e)&&n.push(r)}),n}function g(e){return e?9==e.nodeType?e:e.ownerDocument:x}function y(e,t,n){var o=[],i=e[t];for("string"!=typeof n&&n instanceof f&&(n=n[0]);i&&9!==i.nodeType;){if(n!==r){if(i===n)break;if("string"==typeof n&&f(i).is(n))break}1===i.nodeType&&o.push(i),i=i[t]}return o}function b(e,t,n,o){var i=[];for(o instanceof f&&(o=o[0]);e;e=e[t])if(!n||e.nodeType===n){if(o!==r){if(e===o)break;if("string"==typeof o&&f(e).is(o))break}i.push(e)}return i}function _(e,t,n){for(e=e[t];e;e=e[t])if(e.nodeType==n)return e;return null}function w(e,t,n){m(n,function(n,r){e[n]=e[n]||{},e[n][t]=r})}var C,x=document,E=Array.prototype.push,T=Array.prototype.slice,k=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,S=e.Event,M=n.makeMap("children,contents,next,prev"),O=n.makeMap("fillOpacity fontWeight lineHeight opacity orphans widows zIndex zoom"," "),A=n.makeMap("checked compact declare defer disabled ismap multiple nohref noshade nowrap readonly selected"," "),N={for:"htmlFor",class:"className",readonly:"readOnly"},I={float:"cssFloat"},P={},D={},R=/^\s*|\s*$/g;return f.fn=f.prototype={constructor:f,selector:"",context:null,length:0,init:function(e,t){var n,r,o=this;if(!e)return o;if(e.nodeType)return o.context=o[0]=e,o.length=1,o;if(t&&t.nodeType)o.context=t;else{if(t)return f(e).attr(t);o.context=t=document}if(a(e)){if(o.selector=e,n="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:k.exec(e),!n)return f(t).find(e);if(n[1])for(r=u(e,g(t)).firstChild;r;)E.call(o,r),r=r.nextSibling;else{if(r=g(t).getElementById(n[2]),!r)return o;if(r.id!==n[2])return o.find(e);o.length=1,o[0]=r}}else this.add(e,!1);return o},toArray:function(){return n.toArray(this)},add:function(e,t){var n,r,o=this;if(a(e))return o.add(f(e));if(t!==!1)for(n=f.unique(o.toArray().concat(f.makeArray(e))),o.length=n.length,r=0;r<n.length;r++)o[r]=n[r];else E.apply(o,f.makeArray(e));return o},attr:function(e,t){var n,r=this;if("object"==typeof e)m(e,function(e,t){r.attr(e,t)});else{if(!i(t)){if(r[0]&&1===r[0].nodeType){if(n=P[e],n&&n.get)return n.get(r[0],e);if(A[e])return r.prop(e)?e:C;t=r[0].getAttribute(e,2),null===t&&(t=C)}return t}this.each(function(){var n;if(1===this.nodeType){if(n=P[e],n&&n.set)return void n.set(this,t);null===t?this.removeAttribute(e,2):this.setAttribute(e,t,2)}})}return r},removeAttr:function(e){return this.attr(e,null)},prop:function(e,t){var n=this;if(e=N[e]||e,"object"==typeof e)m(e,function(e,t){n.prop(e,t)});else{if(!i(t))return n[0]&&n[0].nodeType&&e in n[0]?n[0][e]:t;this.each(function(){1==this.nodeType&&(this[e]=t)})}return n},css:function(e,t){function n(e){return e.replace(/-(\D)/g,function(e,t){return t.toUpperCase()})}function r(e){return e.replace(/[A-Z]/g,function(e){return"-"+e})}var o,a,s=this;if("object"==typeof e)m(e,function(e,t){s.css(e,t)});else if(i(t))e=n(e),"number"!=typeof t||O[e]||(t+="px"),s.each(function(){var n=this.style;if(a=D[e],a&&a.set)return void a.set(this,t);try{this.style[I[e]||e]=t}catch(e){}null!==t&&""!==t||(n.removeProperty?n.removeProperty(r(e)):n.removeAttribute(e))});else{if(o=s[0],a=D[e],a&&a.get)return a.get(o);if(o.ownerDocument.defaultView)try{return o.ownerDocument.defaultView.getComputedStyle(o,null).getPropertyValue(r(e))}catch(e){return C}else if(o.currentStyle)return o.currentStyle[n(e)]}return s},remove:function(){for(var e,t=this,n=this.length;n--;)e=t[n],S.clean(e),e.parentNode&&e.parentNode.removeChild(e);return this},empty:function(){for(var e,t=this,n=this.length;n--;)for(e=t[n];e.firstChild;)e.removeChild(e.firstChild);return this},html:function(e){var t,n=this;if(i(e)){t=n.length;try{for(;t--;)n[t].innerHTML=e}catch(r){f(n[t]).empty().append(e)}return n}return n[0]?n[0].innerHTML:""},text:function(e){var t,n=this;if(i(e)){for(t=n.length;t--;)"innerText"in n[t]?n[t].innerText=e:n[0].textContent=e;return n}return n[0]?n[0].innerText||n[0].textContent:""},append:function(){return l(this,arguments,function(e){(1===this.nodeType||this.host&&1===this.host.nodeType)&&this.appendChild(e)})},prepend:function(){return l(this,arguments,function(e){(1===this.nodeType||this.host&&1===this.host.nodeType)&&this.insertBefore(e,this.firstChild)},!0)},before:function(){var e=this;return e[0]&&e[0].parentNode?l(e,arguments,function(e){this.parentNode.insertBefore(e,this)}):e},after:function(){var e=this;return e[0]&&e[0].parentNode?l(e,arguments,function(e){this.parentNode.insertBefore(e,this.nextSibling)},!0):e},appendTo:function(e){return f(e).append(this),this},prependTo:function(e){return f(e).prepend(this),this},replaceWith:function(e){return this.before(e).remove()},wrap:function(e){return d(this,e)},wrapAll:function(e){return d(this,e,!0)},wrapInner:function(e){return this.each(function(){f(this).contents().wrapAll(e)}),this},unwrap:function(){return this.parent().each(function(){f(this).replaceWith(this.childNodes)})},clone:function(){var e=[];return this.each(function(){e.push(this.cloneNode(!0))}),f(e)},addClass:function(e){return this.toggleClass(e,!0)},removeClass:function(e){return this.toggleClass(e,!1)},toggleClass:function(e,t){var n=this;return"string"!=typeof e?n:(e.indexOf(" ")!==-1?m(e.split(" "),function(){n.toggleClass(this,t)}):n.each(function(n,r){var o,i;i=c(r,e),i!==t&&(o=r.className,i?r.className=h((" "+o+" ").replace(" "+e+" "," ")):r.className+=o?" "+e:e)}),n)},hasClass:function(e){return c(this[0],e)},each:function(e){return m(this,e)},on:function(e,t){return this.each(function(){S.bind(this,e,t)})},off:function(e,t){return this.each(function(){S.unbind(this,e,t)})},trigger:function(e){return this.each(function(){"object"==typeof e?S.fire(this,e.type,e):S.fire(this,e)})},show:function(){return this.css("display","")},hide:function(){return this.css("display","none")},slice:function(){return new f(T.apply(this,arguments))},eq:function(e){return e===-1?this.slice(e):this.slice(e,+e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},find:function(e){var t,n,r=[];for(t=0,n=this.length;t<n;t++)f.find(e,this[t],r);return f(r)},filter:function(e){return f("function"==typeof e?v(this.toArray(),function(t,n){return e(n,t)}):f.filter(e,this.toArray()))},closest:function(e){var t=[];return e instanceof f&&(e=e[0]),this.each(function(n,r){for(;r;){if("string"==typeof e&&f(r).is(e)){t.push(r);break}if(r==e){t.push(r);break}r=r.parentNode}}),f(t)},offset:function(e){var t,n,r,o,i=0,a=0;return e?this.css(e):(t=this[0],t&&(n=t.ownerDocument,r=n.documentElement,t.getBoundingClientRect&&(o=t.getBoundingClientRect(),i=o.left+(r.scrollLeft||n.body.scrollLeft)-r.clientLeft,a=o.top+(r.scrollTop||n.body.scrollTop)-r.clientTop)),{left:i,top:a})},push:E,sort:[].sort,splice:[].splice},n.extend(f,{extend:n.extend,makeArray:function(e){return s(e)||e.nodeType?[e]:n.toArray(e)},inArray:p,isArray:n.isArray,each:m,trim:h,grep:v,find:t,expr:t.selectors,unique:t.uniqueSort,text:t.getText,contains:t.contains,filter:function(e,t,n){var r=t.length;for(n&&(e=":not("+e+")");r--;)1!=t[r].nodeType&&t.splice(r,1);return t=1===t.length?f.find.matchesSelector(t[0],e)?[t[0]]:[]:f.find.matches(e,t)}}),m({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return y(e,"parentNode")},next:function(e){return _(e,"nextSibling",1)},prev:function(e){return _(e,"previousSibling",1)},children:function(e){return b(e.firstChild,"nextSibling",1)},contents:function(e){return n.toArray(("iframe"===e.nodeName?e.contentDocument||e.contentWindow.document:e).childNodes)}},function(e,t){f.fn[e]=function(n){var r=this,o=[];return r.each(function(){var e=t.call(o,this,n,o);e&&(f.isArray(e)?o.push.apply(o,e):o.push(e))}),this.length>1&&(M[e]||(o=f.unique(o)),0===e.indexOf("parents")&&(o=o.reverse())),o=f(o),n?o.filter(n):o}}),m({parentsUntil:function(e,t){return y(e,"parentNode",t)},nextUntil:function(e,t){return b(e,"nextSibling",1,t).slice(1)},prevUntil:function(e,t){return b(e,"previousSibling",1,t).slice(1)}},function(e,t){f.fn[e]=function(n,r){var o=this,i=[];return o.each(function(){var e=t.call(i,this,n,i);e&&(f.isArray(e)?i.push.apply(i,e):i.push(e))}),this.length>1&&(i=f.unique(i),0!==e.indexOf("parents")&&"prevUntil"!==e||(i=i.reverse())),i=f(i),r?i.filter(r):i}}),f.fn.is=function(e){return!!e&&this.filter(e).length>0},f.fn.init.prototype=f.fn,f.overrideDefaults=function(e){function t(r,o){return n=n||e(),0===arguments.length&&(r=n.element),o||(o=n.context),new t.fn.init(r,o)}var n;return f.extend(t,this),t},o.ie&&o.ie<8&&(w(P,"get",{maxlength:function(e){var t=e.maxLength;return 2147483647===t?C:t},size:function(e){var t=e.size;return 20===t?C:t},class:function(e){return e.className},style:function(e){var t=e.style.cssText;return 0===t.length?C:t}}),w(P,"set",{class:function(e,t){e.className=t},style:function(e,t){e.style.cssText=t}})),o.ie&&o.ie<9&&(I.float="styleFloat",w(D,"set",{opacity:function(e,t){var n=e.style;null===t||""===t?n.removeAttribute("filter"):(n.zoom=1,n.filter="alpha(opacity="+100*t+")")}})),f.attrHooks=P,f.cssHooks=D,f}),i("tinymce/html/Styles",[],function(){return function(e,t){function n(e,t,n,r){function o(e){return e=parseInt(e,10).toString(16),e.length>1?e:"0"+e}return"#"+o(t)+o(n)+o(r)}var r,o,i,a,s=/rgb\s*\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*\)/gi,u=/(?:url(?:(?:\(\s*\"([^\"]+)\"\s*\))|(?:\(\s*\'([^\']+)\'\s*\))|(?:\(\s*([^)\s]+)\s*\))))|(?:\'([^\']+)\')|(?:\"([^\"]+)\")/gi,l=/\s*([^:]+):\s*([^;]+);?/g,c=/\s+$/,d={},f="\ufeff";for(e=e||{},t&&(i=t.getValidStyles(),a=t.getInvalidStyles()),o=("\\\" \\' \\; \\: ; : "+f).split(" "),r=0;r<o.length;r++)d[o[r]]=f+r,d[f+r]=o[r];return{toHex:function(e){return e.replace(s,n)},parse:function(t){function o(e,t,n){var o,i,a,s;if(o=C[e+"-top"+t],o&&(i=C[e+"-right"+t],i&&(a=C[e+"-bottom"+t],a&&(s=C[e+"-left"+t])))){var u=[o,i,a,s];for(r=u.length-1;r--&&u[r]===u[r+1];);r>-1&&n||(C[e+t]=r==-1?u[0]:u.join(" "),delete C[e+"-top"+t],delete C[e+"-right"+t],delete C[e+"-bottom"+t],delete C[e+"-left"+t])}}function i(e){var t,n=C[e];if(n){for(n=n.split(" "),t=n.length;t--;)if(n[t]!==n[0])return!1;return C[e]=n[0],!0}}function a(e,t,n,r){i(t)&&i(n)&&i(r)&&(C[e]=C[t]+" "+C[n]+" "+C[r],delete C[t],delete C[n],delete C[r])}function p(e){return w=!0,d[e]}function h(e,t){return w&&(e=e.replace(/\uFEFF[0-9]/g,function(e){return d[e]})),t||(e=e.replace(/\\([\'\";:])/g,"$1")),e}function m(e){return String.fromCharCode(parseInt(e.slice(1),16))}function v(e){return e.replace(/\\[0-9a-f]+/gi,m)}function g(t,n,r,o,i,a){if(i=i||a)return i=h(i),"'"+i.replace(/\'/g,"\\'")+"'";if(n=h(n||r||o),!e.allow_script_urls){var s=n.replace(/[\s\r\n]+/g,"");if(/(java|vb)script:/i.test(s))return"";if(!e.allow_svg_data_urls&&/^data:image\/svg/i.test(s))return""}return x&&(n=x.call(E,n,"style")),"url('"+n.replace(/\'/g,"\\'")+"')"}var y,b,_,w,C={},x=e.url_converter,E=e.url_converter_scope||this;if(t){for(t=t.replace(/[\u0000-\u001F]/g,""),t=t.replace(/\\[\"\';:\uFEFF]/g,p).replace(/\"[^\"]+\"|\'[^\']+\'/g,function(e){return e.replace(/[;:]/g,p)});y=l.exec(t);)if(l.lastIndex=y.index+y[0].length,b=y[1].replace(c,"").toLowerCase(),_=y[2].replace(c,""),b&&_){if(b=v(b),_=v(_),b.indexOf(f)!==-1||b.indexOf('"')!==-1)continue;if(!e.allow_script_urls&&("behavior"==b||/expression\s*\(|\/\*|\*\//.test(_)))continue;"font-weight"===b&&"700"===_?_="bold":"color"!==b&&"background-color"!==b||(_=_.toLowerCase()),_=_.replace(s,n),_=_.replace(u,g),C[b]=w?h(_,!0):_}o("border","",!0),o("border","-width"),o("border","-color"),o("border","-style"),o("padding",""),o("margin",""),a("border","border-width","border-style","border-color"),"medium none"===C.border&&delete C.border,"none"===C["border-image"]&&delete C["border-image"]}return C},serialize:function(e,t){function n(t){var n,r,o,a;if(n=i[t])for(r=0,o=n.length;r<o;r++)t=n[r],a=e[t],a&&(u+=(u.length>0?" ":"")+t+": "+a+";")}function r(e,t){var n;return n=a["*"],(!n||!n[e])&&(n=a[t],!n||!n[e])}var o,s,u="";if(t&&i)n("*"),n(t);else for(o in e)s=e[o],!s||a&&!r(o,t)||(u+=(u.length>0?" ":"")+o+": "+s+";");return u}}}}),i("tinymce/dom/TreeWalker",[],function(){return function(e,t){function n(e,n,r,o){var i,a;if(e){if(!o&&e[n])return e[n];if(e!=t){if(i=e[r])return i;for(a=e.parentNode;a&&a!=t;a=a.parentNode)if(i=a[r])return i}}}function r(e,n,r,o){var i,a,s;if(e){if(i=e[r],t&&i===t)return;if(i){if(!o)for(s=i[n];s;s=s[n])if(!s[n])return s;return i}if(a=e.parentNode,a&&a!==t)return a}}var o=e;this.current=function(){return o},this.next=function(e){return o=n(o,"firstChild","nextSibling",e)},this.prev=function(e){return o=n(o,"lastChild","previousSibling",e)},this.prev2=function(e){return o=r(o,"lastChild","previousSibling",e)}}}),i("tinymce/dom/Range",["tinymce/util/Tools"],function(e){function t(n){function r(){return R.createDocumentFragment()}function o(e,t){x(F,e,t)}function i(e,t){x(U,e,t)}function a(e){o(e.parentNode,G(e))}function s(e){o(e.parentNode,G(e)+1)}function u(e){i(e.parentNode,G(e))}function l(e){i(e.parentNode,G(e)+1)}function c(e){e?(D[q]=D[z],D[W]=D[H]):(D[z]=D[q],D[H]=D[W]),D.collapsed=F}function d(e){a(e),l(e)}function f(e){o(e,0),i(e,1===e.nodeType?e.childNodes.length:e.nodeValue.length)}function p(e,t){var n=D[z],r=D[H],o=D[q],i=D[W],a=t.startContainer,s=t.startOffset,u=t.endContainer,l=t.endOffset;return 0===e?C(n,r,a,s):1===e?C(o,i,a,s):2===e?C(o,i,u,l):3===e?C(n,r,u,l):void 0}function h(){E(B)}function m(){return E(j)}function v(){return E(L)}function g(e){var t,r,o=this[z],i=this[H];3!==o.nodeType&&4!==o.nodeType||!o.nodeValue?(o.childNodes.length>0&&(r=o.childNodes[i]),r?o.insertBefore(e,r):3==o.nodeType?n.insertAfter(e,o):o.appendChild(e)):i?i>=o.nodeValue.length?n.insertAfter(e,o):(t=o.splitText(i),o.parentNode.insertBefore(e,t)):o.parentNode.insertBefore(e,o)}function y(e){var t=D.extractContents();D.insertNode(e),e.appendChild(t),D.selectNode(e)}function b(){return V(new t(n),{startContainer:D[z],startOffset:D[H],endContainer:D[q],endOffset:D[W],collapsed:D.collapsed,commonAncestorContainer:D.commonAncestorContainer})}function _(e,t){var n;if(3==e.nodeType)return e;if(t<0)return e;for(n=e.firstChild;n&&t>0;)--t,n=n.nextSibling;return n?n:e}function w(){return D[z]==D[q]&&D[H]==D[W]}function C(e,t,r,o){var i,a,s,u,l,c;if(e==r)return t==o?0:t<o?-1:1;for(i=r;i&&i.parentNode!=e;)i=i.parentNode;if(i){for(a=0,s=e.firstChild;s!=i&&a<t;)a++,s=s.nextSibling;return t<=a?-1:1}for(i=e;i&&i.parentNode!=r;)i=i.parentNode;if(i){for(a=0,s=r.firstChild;s!=i&&a<o;)a++,s=s.nextSibling;return a<o?-1:1}for(u=n.findCommonAncestor(e,r),l=e;l&&l.parentNode!=u;)l=l.parentNode;for(l||(l=u),c=r;c&&c.parentNode!=u;)c=c.parentNode;if(c||(c=u),l==c)return 0;for(s=u.firstChild;s;){if(s==l)return-1;if(s==c)return 1;s=s.nextSibling}}function x(e,t,r){var o,i;for(e?(D[z]=t,D[H]=r):(D[q]=t,D[W]=r),o=D[q];o.parentNode;)o=o.parentNode;for(i=D[z];i.parentNode;)i=i.parentNode;i==o?C(D[z],D[H],D[q],D[W])>0&&D.collapse(e):D.collapse(e),D.collapsed=w(),
-D.commonAncestorContainer=n.findCommonAncestor(D[z],D[q])}function E(e){var t,n,r,o,i,a,s,u=0,l=0;if(D[z]==D[q])return T(e);for(t=D[q],n=t.parentNode;n;t=n,n=n.parentNode){if(n==D[z])return k(t,e);++u}for(t=D[z],n=t.parentNode;n;t=n,n=n.parentNode){if(n==D[q])return S(t,e);++l}for(r=l-u,o=D[z];r>0;)o=o.parentNode,r--;for(i=D[q];r<0;)i=i.parentNode,r++;for(a=o.parentNode,s=i.parentNode;a!=s;a=a.parentNode,s=s.parentNode)o=a,i=s;return M(o,i,e)}function T(e){var t,n,o,i,a,s,u,l,c;if(e!=B&&(t=r()),D[H]==D[W])return t;if(3==D[z].nodeType){if(n=D[z].nodeValue,o=n.substring(D[H],D[W]),e!=L&&(i=D[z],l=D[H],c=D[W]-D[H],0===l&&c>=i.nodeValue.length-1?i.parentNode.removeChild(i):i.deleteData(l,c),D.collapse(F)),e==B)return;return o.length>0&&t.appendChild(R.createTextNode(o)),t}for(i=_(D[z],D[H]),a=D[W]-D[H];i&&a>0;)s=i.nextSibling,u=I(i,e),t&&t.appendChild(u),--a,i=s;return e!=L&&D.collapse(F),t}function k(e,t){var n,o,i,a,s,u;if(t!=B&&(n=r()),o=O(e,t),n&&n.appendChild(o),i=G(e),a=i-D[H],a<=0)return t!=L&&(D.setEndBefore(e),D.collapse(U)),n;for(o=e.previousSibling;a>0;)s=o.previousSibling,u=I(o,t),n&&n.insertBefore(u,n.firstChild),--a,o=s;return t!=L&&(D.setEndBefore(e),D.collapse(U)),n}function S(e,t){var n,o,i,a,s,u;for(t!=B&&(n=r()),i=A(e,t),n&&n.appendChild(i),o=G(e),++o,a=D[W]-o,i=e.nextSibling;i&&a>0;)s=i.nextSibling,u=I(i,t),n&&n.appendChild(u),--a,i=s;return t!=L&&(D.setStartAfter(e),D.collapse(F)),n}function M(e,t,n){var o,i,a,s,u,l,c;for(n!=B&&(i=r()),o=A(e,n),i&&i.appendChild(o),a=G(e),s=G(t),++a,u=s-a,l=e.nextSibling;u>0;)c=l.nextSibling,o=I(l,n),i&&i.appendChild(o),l=c,--u;return o=O(t,n),i&&i.appendChild(o),n!=L&&(D.setStartAfter(e),D.collapse(F)),i}function O(e,t){var n,r,o,i,a,s=_(D[q],D[W]-1),u=s!=D[q];if(s==e)return N(s,u,U,t);for(n=s.parentNode,r=N(n,U,U,t);n;){for(;s;)o=s.previousSibling,i=N(s,u,U,t),t!=B&&r.insertBefore(i,r.firstChild),u=F,s=o;if(n==e)return r;s=n.previousSibling,n=n.parentNode,a=N(n,U,U,t),t!=B&&a.appendChild(r),r=a}}function A(e,t){var n,r,o,i,a,s=_(D[z],D[H]),u=s!=D[z];if(s==e)return N(s,u,F,t);for(n=s.parentNode,r=N(n,U,F,t);n;){for(;s;)o=s.nextSibling,i=N(s,u,F,t),t!=B&&r.appendChild(i),u=F,s=o;if(n==e)return r;s=n.nextSibling,n=n.parentNode,a=N(n,U,F,t),t!=B&&a.appendChild(r),r=a}}function N(e,t,r,o){var i,a,s,u,l;if(t)return I(e,o);if(3==e.nodeType){if(i=e.nodeValue,r?(u=D[H],a=i.substring(u),s=i.substring(0,u)):(u=D[W],a=i.substring(0,u),s=i.substring(u)),o!=L&&(e.nodeValue=s),o==B)return;return l=n.clone(e,U),l.nodeValue=a,l}if(o!=B)return n.clone(e,U)}function I(e,t){return t!=B?t==L?n.clone(e,F):e:void e.parentNode.removeChild(e)}function P(){return n.create("body",null,v()).outerText}var D=this,R=n.doc,j=0,L=1,B=2,F=!0,U=!1,H="startOffset",z="startContainer",q="endContainer",W="endOffset",V=e.extend,G=n.nodeIndex;return V(D,{startContainer:R,startOffset:0,endContainer:R,endOffset:0,collapsed:F,commonAncestorContainer:R,START_TO_START:0,START_TO_END:1,END_TO_END:2,END_TO_START:3,setStart:o,setEnd:i,setStartBefore:a,setStartAfter:s,setEndBefore:u,setEndAfter:l,collapse:c,selectNode:d,selectNodeContents:f,compareBoundaryPoints:p,deleteContents:h,extractContents:m,cloneContents:v,insertNode:g,surroundContents:y,cloneRange:b,toStringIE:P}),D}return t.prototype.toString=function(){return this.toStringIE()},t}),i("tinymce/html/Entities",["tinymce/util/Tools"],function(e){function t(e){var t;return t=document.createElement("div"),t.innerHTML=e,t.textContent||t.innerText||e}function n(e,t){var n,r,i,a={};if(e){for(e=e.split(","),t=t||10,n=0;n<e.length;n+=2)r=String.fromCharCode(parseInt(e[n],t)),o[r]||(i="&"+e[n+1]+";",a[r]=i,a[i]=r);return a}}var r,o,i,a=e.makeMap,s=/[&<>\"\u0060\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,u=/[<>&\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=/[<>&\"\']/g,c=/&#([a-z0-9]+);?|&([a-z0-9]+);/gi,d={128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"};o={'"':"&quot;","'":"&#39;","<":"&lt;",">":"&gt;","&":"&amp;","`":"&#96;"},i={"&lt;":"<","&gt;":">","&amp;":"&","&quot;":'"',"&apos;":"'"},r=n("50,nbsp,51,iexcl,52,cent,53,pound,54,curren,55,yen,56,brvbar,57,sect,58,uml,59,copy,5a,ordf,5b,laquo,5c,not,5d,shy,5e,reg,5f,macr,5g,deg,5h,plusmn,5i,sup2,5j,sup3,5k,acute,5l,micro,5m,para,5n,middot,5o,cedil,5p,sup1,5q,ordm,5r,raquo,5s,frac14,5t,frac12,5u,frac34,5v,iquest,60,Agrave,61,Aacute,62,Acirc,63,Atilde,64,Auml,65,Aring,66,AElig,67,Ccedil,68,Egrave,69,Eacute,6a,Ecirc,6b,Euml,6c,Igrave,6d,Iacute,6e,Icirc,6f,Iuml,6g,ETH,6h,Ntilde,6i,Ograve,6j,Oacute,6k,Ocirc,6l,Otilde,6m,Ouml,6n,times,6o,Oslash,6p,Ugrave,6q,Uacute,6r,Ucirc,6s,Uuml,6t,Yacute,6u,THORN,6v,szlig,70,agrave,71,aacute,72,acirc,73,atilde,74,auml,75,aring,76,aelig,77,ccedil,78,egrave,79,eacute,7a,ecirc,7b,euml,7c,igrave,7d,iacute,7e,icirc,7f,iuml,7g,eth,7h,ntilde,7i,ograve,7j,oacute,7k,ocirc,7l,otilde,7m,ouml,7n,divide,7o,oslash,7p,ugrave,7q,uacute,7r,ucirc,7s,uuml,7t,yacute,7u,thorn,7v,yuml,ci,fnof,sh,Alpha,si,Beta,sj,Gamma,sk,Delta,sl,Epsilon,sm,Zeta,sn,Eta,so,Theta,sp,Iota,sq,Kappa,sr,Lambda,ss,Mu,st,Nu,su,Xi,sv,Omicron,t0,Pi,t1,Rho,t3,Sigma,t4,Tau,t5,Upsilon,t6,Phi,t7,Chi,t8,Psi,t9,Omega,th,alpha,ti,beta,tj,gamma,tk,delta,tl,epsilon,tm,zeta,tn,eta,to,theta,tp,iota,tq,kappa,tr,lambda,ts,mu,tt,nu,tu,xi,tv,omicron,u0,pi,u1,rho,u2,sigmaf,u3,sigma,u4,tau,u5,upsilon,u6,phi,u7,chi,u8,psi,u9,omega,uh,thetasym,ui,upsih,um,piv,812,bull,816,hellip,81i,prime,81j,Prime,81u,oline,824,frasl,88o,weierp,88h,image,88s,real,892,trade,89l,alefsym,8cg,larr,8ch,uarr,8ci,rarr,8cj,darr,8ck,harr,8dl,crarr,8eg,lArr,8eh,uArr,8ei,rArr,8ej,dArr,8ek,hArr,8g0,forall,8g2,part,8g3,exist,8g5,empty,8g7,nabla,8g8,isin,8g9,notin,8gb,ni,8gf,prod,8gh,sum,8gi,minus,8gn,lowast,8gq,radic,8gt,prop,8gu,infin,8h0,ang,8h7,and,8h8,or,8h9,cap,8ha,cup,8hb,int,8hk,there4,8hs,sim,8i5,cong,8i8,asymp,8j0,ne,8j1,equiv,8j4,le,8j5,ge,8k2,sub,8k3,sup,8k4,nsub,8k6,sube,8k7,supe,8kl,oplus,8kn,otimes,8l5,perp,8m5,sdot,8o8,lceil,8o9,rceil,8oa,lfloor,8ob,rfloor,8p9,lang,8pa,rang,9ea,loz,9j0,spades,9j3,clubs,9j5,hearts,9j6,diams,ai,OElig,aj,oelig,b0,Scaron,b1,scaron,bo,Yuml,m6,circ,ms,tilde,802,ensp,803,emsp,809,thinsp,80c,zwnj,80d,zwj,80e,lrm,80f,rlm,80j,ndash,80k,mdash,80o,lsquo,80p,rsquo,80q,sbquo,80s,ldquo,80t,rdquo,80u,bdquo,810,dagger,811,Dagger,81g,permil,81p,lsaquo,81q,rsaquo,85c,euro",32);var f={encodeRaw:function(e,t){return e.replace(t?s:u,function(e){return o[e]||e})},encodeAllRaw:function(e){return(""+e).replace(l,function(e){return o[e]||e})},encodeNumeric:function(e,t){return e.replace(t?s:u,function(e){return e.length>1?"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";":o[e]||"&#"+e.charCodeAt(0)+";"})},encodeNamed:function(e,t,n){return n=n||r,e.replace(t?s:u,function(e){return o[e]||n[e]||e})},getEncodeFunc:function(e,t){function i(e,n){return e.replace(n?s:u,function(e){return o[e]||t[e]||"&#"+e.charCodeAt(0)+";"||e})}function l(e,n){return f.encodeNamed(e,n,t)}return t=n(t)||r,e=a(e.replace(/\+/g,",")),e.named&&e.numeric?i:e.named?t?l:f.encodeNamed:e.numeric?f.encodeNumeric:f.encodeRaw},decode:function(e){return e.replace(c,function(e,n){return n?(n="x"===n.charAt(0).toLowerCase()?parseInt(n.substr(1),16):parseInt(n,10),n>65535?(n-=65536,String.fromCharCode(55296+(n>>10),56320+(1023&n))):d[n]||String.fromCharCode(n)):i[e]||r[e]||t(e)})}};return f}),i("tinymce/dom/StyleSheetLoader",["tinymce/util/Tools","tinymce/util/Delay"],function(e,t){return function(n,r){function o(e){n.getElementsByTagName("head")[0].appendChild(e)}function i(r,i,l){function c(){for(var e=b.passed,t=e.length;t--;)e[t]();b.status=2,b.passed=[],b.failed=[]}function d(){for(var e=b.failed,t=e.length;t--;)e[t]();b.status=3,b.passed=[],b.failed=[]}function f(){var e=navigator.userAgent.match(/WebKit\/(\d*)/);return!!(e&&e[1]<536)}function p(e,n){e()||((new Date).getTime()-y<a?t.setTimeout(n):d())}function h(){p(function(){for(var e,t,r=n.styleSheets,o=r.length;o--;)if(e=r[o],t=e.ownerNode?e.ownerNode:e.owningElement,t&&t.id===v.id)return c(),!0},h)}function m(){p(function(){try{var e=g.sheet.cssRules;return c(),!!e}catch(e){}},m)}var v,g,y,b;if(r=e._addCacheSuffix(r),u[r]?b=u[r]:(b={passed:[],failed:[]},u[r]=b),i&&b.passed.push(i),l&&b.failed.push(l),1!=b.status){if(2==b.status)return void c();if(3==b.status)return void d();if(b.status=1,v=n.createElement("link"),v.rel="stylesheet",v.type="text/css",v.id="u"+s++,v.async=!1,v.defer=!1,y=(new Date).getTime(),"onload"in v&&!f())v.onload=h,v.onerror=d;else{if(navigator.userAgent.indexOf("Firefox")>0)return g=n.createElement("style"),g.textContent='@import "'+r+'"',m(),void o(g);h()}o(v),v.href=r}}var a,s=0,u={};r=r||{},a=r.maxLoadTime||5e3,this.load=i}}),i("tinymce/dom/DOMUtils",["tinymce/dom/Sizzle","tinymce/dom/DomQuery","tinymce/html/Styles","tinymce/dom/EventUtils","tinymce/dom/TreeWalker","tinymce/dom/Range","tinymce/html/Entities","tinymce/Env","tinymce/util/Tools","tinymce/dom/StyleSheetLoader"],function(e,t,n,o,i,a,s,u,l,c){function d(e,t){var n,r={},o=t.keep_values;return n={set:function(n,r,o){t.url_converter&&(r=t.url_converter.call(t.url_converter_scope||e,r,o,n[0])),n.attr("data-mce-"+o,r).attr(o,r)},get:function(e,t){return e.attr("data-mce-"+t)||e.attr(t)}},r={style:{set:function(e,t){return null!==t&&"object"==typeof t?void e.css(t):(o&&e.attr("data-mce-style",t),void e.attr("style",t))},get:function(t){var n=t.attr("data-mce-style")||t.attr("style");return n=e.serializeStyle(e.parseStyle(n),t[0].nodeName)}}},o&&(r.href=r.src=n),r}function f(e,t){var n=t.attr("style");n=e.serializeStyle(e.parseStyle(n),t[0].nodeName),n||(n=null),t.attr("data-mce-style",n)}function p(e,t){var n,r,o=0;if(e)for(n=e.nodeType,e=e.previousSibling;e;e=e.previousSibling)r=e.nodeType,(!t||3!=r||r!=n&&e.nodeValue.length)&&(o++,n=r);return o}function h(e,r){var i,a=this;a.doc=e,a.win=window,a.files={},a.counter=0,a.stdMode=!b||e.documentMode>=8,a.boxModel=!b||"CSS1Compat"==e.compatMode||a.stdMode,a.styleSheetLoader=new c(e),a.boundEvents=[],a.settings=r=r||{},a.schema=r.schema,a.styles=new n({url_converter:r.url_converter,url_converter_scope:r.url_converter_scope},r.schema),a.fixDoc(e),a.events=r.ownEvents?new o(r.proxy):o.Event,a.attrHooks=d(a,r),i=r.schema?r.schema.getBlockElements():{},a.$=t.overrideDefaults(function(){return{context:e,element:a.getRoot()}}),a.isBlock=function(e){if(!e)return!1;var t=e.nodeType;return t?!(1!==t||!i[e.nodeName]):!!i[e]}}var m=l.each,v=l.is,g=l.grep,y=l.trim,b=u.ie,_=/^([a-z0-9],?)+$/i,w=/^[ \t\r\n]*$/;return h.prototype={$$:function(e){return"string"==typeof e&&(e=this.get(e)),this.$(e)},root:null,fixDoc:function(e){var t,n=this.settings;if(b&&n.schema){"abbr article aside audio canvas details figcaption figure footer header hgroup mark menu meter nav output progress section summary time video".replace(/\w+/g,function(t){e.createElement(t)});for(t in n.schema.getCustomElements())e.createElement(t)}},clone:function(e,t){var n,r,o=this;return!b||1!==e.nodeType||t?e.cloneNode(t):(r=o.doc,t?n.firstChild:(n=r.createElement(e.nodeName),m(o.getAttribs(e),function(t){o.setAttrib(n,t.nodeName,o.getAttrib(e,t.nodeName))}),n))},getRoot:function(){var e=this;return e.settings.root_element||e.doc.body},getViewPort:function(e){var t,n;return e=e?e:this.win,t=e.document,n=this.boxModel?t.documentElement:t.body,{x:e.pageXOffset||n.scrollLeft,y:e.pageYOffset||n.scrollTop,w:e.innerWidth||n.clientWidth,h:e.innerHeight||n.clientHeight}},getRect:function(e){var t,n,r=this;return e=r.get(e),t=r.getPos(e),n=r.getSize(e),{x:t.x,y:t.y,w:n.w,h:n.h}},getSize:function(e){var t,n,r=this;return e=r.get(e),t=r.getStyle(e,"width"),n=r.getStyle(e,"height"),t.indexOf("px")===-1&&(t=0),n.indexOf("px")===-1&&(n=0),{w:parseInt(t,10)||e.offsetWidth||e.clientWidth,h:parseInt(n,10)||e.offsetHeight||e.clientHeight}},getParent:function(e,t,n){return this.getParents(e,t,n,!1)},getParents:function(e,t,n,o){var i,a=this,s=[];for(e=a.get(e),o=o===r,n=n||("BODY"!=a.getRoot().nodeName?a.getRoot().parentNode:null),v(t,"string")&&(i=t,t="*"===t?function(e){return 1==e.nodeType}:function(e){return a.is(e,i)});e&&e!=n&&e.nodeType&&9!==e.nodeType;){if(!t||t(e)){if(!o)return e;s.push(e)}e=e.parentNode}return o?s:null},get:function(e){var t;return e&&this.doc&&"string"==typeof e&&(t=e,e=this.doc.getElementById(e),e&&e.id!==t)?this.doc.getElementsByName(t)[1]:e},getNext:function(e,t){return this._findSib(e,t,"nextSibling")},getPrev:function(e,t){return this._findSib(e,t,"previousSibling")},select:function(t,n){var r=this;return e(t,r.get(n)||r.settings.root_element||r.doc,[])},is:function(t,n){var o;if(t.length===r){if("*"===n)return 1==t.nodeType;if(_.test(n)){for(n=n.toLowerCase().split(/,/),t=t.nodeName.toLowerCase(),o=n.length-1;o>=0;o--)if(n[o]==t)return!0;return!1}}if(t.nodeType&&1!=t.nodeType)return!1;var i=t.nodeType?[t]:t;return e(n,i[0].ownerDocument||i[0],null,i).length>0},add:function(e,t,n,r,o){var i=this;return this.run(e,function(e){var a;return a=v(t,"string")?i.doc.createElement(t):t,i.setAttribs(a,n),r&&(r.nodeType?a.appendChild(r):i.setHTML(a,r)),o?a:e.appendChild(a)})},create:function(e,t,n){return this.add(this.doc.createElement(e),e,t,n,1)},createHTML:function(e,t,n){var r,o="";o+="<"+e;for(r in t)t.hasOwnProperty(r)&&null!==t[r]&&"undefined"!=typeof t[r]&&(o+=" "+r+'="'+this.encode(t[r])+'"');return"undefined"!=typeof n?o+">"+n+"</"+e+">":o+" />"},createFragment:function(e){var t,n,r,o=this.doc;for(r=o.createElement("div"),t=o.createDocumentFragment(),e&&(r.innerHTML=e);n=r.firstChild;)t.appendChild(n);return t},remove:function(e,t){return e=this.$$(e),t?e.each(function(){for(var e;e=this.firstChild;)3==e.nodeType&&0===e.data.length?this.removeChild(e):this.parentNode.insertBefore(e,this)}).remove():e.remove(),e.length>1?e.toArray():e[0]},setStyle:function(e,t,n){e=this.$$(e).css(t,n),this.settings.update_styles&&f(this,e)},getStyle:function(e,t,n){return e=this.$$(e),n?e.css(t):(t=t.replace(/-(\D)/g,function(e,t){return t.toUpperCase()}),"float"==t&&(t=u.ie&&u.ie<12?"styleFloat":"cssFloat"),e[0]&&e[0].style?e[0].style[t]:r)},setStyles:function(e,t){e=this.$$(e).css(t),this.settings.update_styles&&f(this,e)},removeAllAttribs:function(e){return this.run(e,function(e){var t,n=e.attributes;for(t=n.length-1;t>=0;t--)e.removeAttributeNode(n.item(t))})},setAttrib:function(e,t,n){var r,o,i=this,a=i.settings;""===n&&(n=null),e=i.$$(e),r=e.attr(t),e.length&&(o=i.attrHooks[t],o&&o.set?o.set(e,n,t):e.attr(t,n),r!=n&&a.onSetAttrib&&a.onSetAttrib({attrElm:e,attrName:t,attrValue:n}))},setAttribs:function(e,t){var n=this;n.$$(e).each(function(e,r){m(t,function(e,t){n.setAttrib(r,t,e)})})},getAttrib:function(e,t,n){var r,o,i=this;return e=i.$$(e),e.length&&(r=i.attrHooks[t],o=r&&r.get?r.get(e,t):e.attr(t)),"undefined"==typeof o&&(o=n||""),o},getPos:function(e,n){var r,o,i=this,a=0,s=0,u=i.doc,l=u.body;if(e=i.get(e),n=n||l,e){if(n===l&&e.getBoundingClientRect&&"static"===t(l).css("position"))return o=e.getBoundingClientRect(),n=i.boxModel?u.documentElement:l,a=o.left+(u.documentElement.scrollLeft||l.scrollLeft)-n.clientLeft,s=o.top+(u.documentElement.scrollTop||l.scrollTop)-n.clientTop,{x:a,y:s};for(r=e;r&&r!=n&&r.nodeType;)a+=r.offsetLeft||0,s+=r.offsetTop||0,r=r.offsetParent;for(r=e.parentNode;r&&r!=n&&r.nodeType;)a-=r.scrollLeft||0,s-=r.scrollTop||0,r=r.parentNode}return{x:a,y:s}},parseStyle:function(e){return this.styles.parse(e)},serializeStyle:function(e,t){return this.styles.serialize(e,t)},addStyle:function(e){var t,n,r=this,o=r.doc;if(r!==h.DOM&&o===document){var i=h.DOM.addedStyles;if(i=i||[],i[e])return;i[e]=!0,h.DOM.addedStyles=i}n=o.getElementById("mceDefaultStyles"),n||(n=o.createElement("style"),n.id="mceDefaultStyles",n.type="text/css",t=o.getElementsByTagName("head")[0],t.firstChild?t.insertBefore(n,t.firstChild):t.appendChild(n)),n.styleSheet?n.styleSheet.cssText+=e:n.appendChild(o.createTextNode(e))},loadCSS:function(e){var t,n=this,r=n.doc;return n!==h.DOM&&r===document?void h.DOM.loadCSS(e):(e||(e=""),t=r.getElementsByTagName("head")[0],void m(e.split(","),function(e){var o;e=l._addCacheSuffix(e),n.files[e]||(n.files[e]=!0,o=n.create("link",{rel:"stylesheet",href:e}),b&&r.documentMode&&r.recalc&&(o.onload=function(){r.recalc&&r.recalc(),o.onload=null}),t.appendChild(o))}))},addClass:function(e,t){this.$$(e).addClass(t)},removeClass:function(e,t){this.toggleClass(e,t,!1)},hasClass:function(e,t){return this.$$(e).hasClass(t)},toggleClass:function(e,n,r){this.$$(e).toggleClass(n,r).each(function(){""===this.className&&t(this).attr("class",null)})},show:function(e){this.$$(e).show()},hide:function(e){this.$$(e).hide()},isHidden:function(e){return"none"==this.$$(e).css("display")},uniqueId:function(e){return(e?e:"mce_")+this.counter++},setHTML:function(e,n){e=this.$$(e),b?e.each(function(e,r){if(r.canHaveHTML!==!1){for(;r.firstChild;)r.removeChild(r.firstChild);try{r.innerHTML="<br>"+n,r.removeChild(r.firstChild)}catch(e){t("<div></div>").html("<br>"+n).contents().slice(1).appendTo(r)}return n}}):e.html(n)},getOuterHTML:function(e){return e=this.get(e),1==e.nodeType&&"outerHTML"in e?e.outerHTML:t("<div></div>").append(t(e).clone()).html()},setOuterHTML:function(e,n){var r=this;r.$$(e).each(function(){try{if("outerHTML"in this)return void(this.outerHTML=n)}catch(e){}r.remove(t(this).html(n),!0)})},decode:s.decode,encode:s.encodeAllRaw,insertAfter:function(e,t){return t=this.get(t),this.run(e,function(e){var n,r;return n=t.parentNode,r=t.nextSibling,r?n.insertBefore(e,r):n.appendChild(e),e})},replace:function(e,t,n){var r=this;return r.run(t,function(t){return v(t,"array")&&(e=e.cloneNode(!0)),n&&m(g(t.childNodes),function(t){e.appendChild(t)}),t.parentNode.replaceChild(e,t)})},rename:function(e,t){var n,r=this;return e.nodeName!=t.toUpperCase()&&(n=r.create(t),m(r.getAttribs(e),function(t){r.setAttrib(n,t.nodeName,r.getAttrib(e,t.nodeName))}),r.replace(n,e,1)),n||e},findCommonAncestor:function(e,t){for(var n,r=e;r;){for(n=t;n&&r!=n;)n=n.parentNode;if(r==n)break;r=r.parentNode}return!r&&e.ownerDocument?e.ownerDocument.documentElement:r},toHex:function(e){return this.styles.toHex(l.trim(e))},run:function(e,t,n){var r,o=this;return"string"==typeof e&&(e=o.get(e)),!!e&&(n=n||this,e.nodeType||!e.length&&0!==e.length?t.call(n,e):(r=[],m(e,function(e,i){e&&("string"==typeof e&&(e=o.get(e)),r.push(t.call(n,e,i)))}),r))},getAttribs:function(e){var t;if(e=this.get(e),!e)return[];if(b){if(t=[],"OBJECT"==e.nodeName)return e.attributes;"OPTION"===e.nodeName&&this.getAttrib(e,"selected")&&t.push({specified:1,nodeName:"selected"});var n=/<\/?[\w:\-]+ ?|=[\"][^\"]+\"|=\'[^\']+\'|=[\w\-]+|>/gi;return e.cloneNode(!1).outerHTML.replace(n,"").replace(/[\w:\-]+/gi,function(e){t.push({specified:1,nodeName:e})}),t}return e.attributes},isEmpty:function(e,t){var n,r,o,a,s,u,l=this,c=0;if(e=e.firstChild){s=new i(e,e.parentNode),t=t||(l.schema?l.schema.getNonEmptyElements():null),a=l.schema?l.schema.getWhiteSpaceElements():{};do{if(o=e.nodeType,1===o){var d=e.getAttribute("data-mce-bogus");if(d){e=s.next("all"===d);continue}if(u=e.nodeName.toLowerCase(),t&&t[u]){if("br"===u){c++,e=s.next();continue}return!1}for(r=l.getAttribs(e),n=r.length;n--;)if(u=r[n].nodeName,"name"===u||"data-mce-bookmark"===u)return!1}if(8==o)return!1;if(3===o&&!w.test(e.nodeValue))return!1;if(3===o&&e.parentNode&&a[e.parentNode.nodeName]&&w.test(e.nodeValue))return!1;e=s.next()}while(e)}return c<=1},createRng:function(){var e=this.doc;return e.createRange?e.createRange():new a(this)},nodeIndex:p,split:function(e,t,n){function r(e){function t(e){var t=e.previousSibling&&"SPAN"==e.previousSibling.nodeName,n=e.nextSibling&&"SPAN"==e.nextSibling.nodeName;return t&&n}var n,o=e.childNodes,i=e.nodeType;if(1!=i||"bookmark"!=e.getAttribute("data-mce-type")){for(n=o.length-1;n>=0;n--)r(o[n]);if(9!=i){if(3==i&&e.nodeValue.length>0){var a=y(e.nodeValue).length;if(!s.isBlock(e.parentNode)||a>0||0===a&&t(e))return}else if(1==i&&(o=e.childNodes,1==o.length&&o[0]&&1==o[0].nodeType&&"bookmark"==o[0].getAttribute("data-mce-type")&&e.parentNode.insertBefore(o[0],e),o.length||/^(br|hr|input|img)$/i.test(e.nodeName)))return;s.remove(e)}return e}}var o,i,a,s=this,u=s.createRng();if(e&&t)return u.setStart(e.parentNode,s.nodeIndex(e)),u.setEnd(t.parentNode,s.nodeIndex(t)),o=u.extractContents(),u=s.createRng(),u.setStart(t.parentNode,s.nodeIndex(t)+1),u.setEnd(e.parentNode,s.nodeIndex(e)+1),i=u.extractContents(),a=e.parentNode,a.insertBefore(r(o),e),n?a.insertBefore(n,e):a.insertBefore(t,e),a.insertBefore(r(i),e),s.remove(e),n||t},bind:function(e,t,n,r){var o=this;if(l.isArray(e)){for(var i=e.length;i--;)e[i]=o.bind(e[i],t,n,r);return e}return!o.settings.collect||e!==o.doc&&e!==o.win||o.boundEvents.push([e,t,n,r]),o.events.bind(e,t,n,r||o)},unbind:function(e,t,n){var r,o=this;if(l.isArray(e)){for(r=e.length;r--;)e[r]=o.unbind(e[r],t,n);return e}if(o.boundEvents&&(e===o.doc||e===o.win))for(r=o.boundEvents.length;r--;){var i=o.boundEvents[r];e!=i[0]||t&&t!=i[1]||n&&n!=i[2]||this.events.unbind(i[0],i[1],i[2])}return this.events.unbind(e,t,n)},fire:function(e,t,n){return this.events.fire(e,t,n)},getContentEditable:function(e){var t;return e&&1==e.nodeType?(t=e.getAttribute("data-mce-contenteditable"),t&&"inherit"!==t?t:"inherit"!==e.contentEditable?e.contentEditable:null):null},getContentEditableParent:function(e){for(var t=this.getRoot(),n=null;e&&e!==t&&(n=this.getContentEditable(e),null===n);e=e.parentNode);return n},destroy:function(){var t=this;if(t.boundEvents){for(var n=t.boundEvents.length;n--;){var r=t.boundEvents[n];this.events.unbind(r[0],r[1],r[2])}t.boundEvents=null}e.setDocument&&e.setDocument(),t.win=t.doc=t.root=t.events=t.frag=null},isChildOf:function(e,t){for(;e;){if(t===e)return!0;e=e.parentNode}return!1},dumpRng:function(e){return"startContainer: "+e.startContainer.nodeName+", startOffset: "+e.startOffset+", endContainer: "+e.endContainer.nodeName+", endOffset: "+e.endOffset},_findSib:function(e,t,n){var r=this,o=t;if(e)for("string"==typeof o&&(o=function(e){return r.is(e,t)}),e=e[n];e;e=e[n])if(o(e))return e;return null}},h.DOM=new h(document),h.nodeIndex=p,h}),i("tinymce/dom/ScriptLoader",["tinymce/dom/DOMUtils","tinymce/util/Tools"],function(e,t){function n(){function e(e,n,o){function i(){c.remove(l),u&&(u.onreadystatechange=u.onload=u=null),n()}function s(){a(o)?o():"undefined"!=typeof console&&console.log&&console.log("Failed to load script: "+e)}var u,l,c=r;l=c.uniqueId(),u=document.createElement("script"),u.id=l,u.type="text/javascript",u.src=t._addCacheSuffix(e),"onreadystatechange"in u?u.onreadystatechange=function(){/loaded|complete/.test(u.readyState)&&i()}:u.onload=i,u.onerror=s,(document.getElementsByTagName("head")[0]||document.body).appendChild(u)}var n,s=0,u=1,l=2,c=3,d={},f=[],p={},h=[],m=0;this.isDone=function(e){return d[e]==l},this.markDone=function(e){d[e]=l},this.add=this.load=function(e,t,r,o){var i=d[e];i==n&&(f.push(e),d[e]=s),t&&(p[e]||(p[e]=[]),p[e].push({success:t,failure:o,scope:r||this}))},this.remove=function(e){delete d[e],delete p[e]},this.loadQueue=function(e,t,n){this.loadScripts(f,e,t,n)},this.loadScripts=function(t,r,s,f){function v(e,t){o(p[t],function(t){a(t[e])&&t[e].call(t.scope)}),p[t]=n}var g,y=[];h.push({success:r,failure:f,scope:s||this}),(g=function(){var n=i(t);t.length=0,o(n,function(t){return d[t]===l?void v("success",t):d[t]===c?void v("failure",t):void(d[t]!==u&&(d[t]=u,m++,e(t,function(){d[t]=l,m--,v("success",t),g()},function(){d[t]=c,m--,y.push(t),v("failure",t),g()})))}),m||(o(h,function(e){0===y.length?a(e.success)&&e.success.call(e.scope):a(e.failure)&&e.failure.call(e.scope,y)}),h.length=0)})()}}var r=e.DOM,o=t.each,i=t.grep,a=function(e){return"function"==typeof e};return n.ScriptLoader=new n,n}),i("tinymce/AddOnManager",["tinymce/dom/ScriptLoader","tinymce/util/Tools"],function(e,t){function n(){var e=this;e.items=[],e.urls={},e.lookup={}}var o=t.each;return n.prototype={get:function(e){return this.lookup[e]?this.lookup[e].instance:r},dependencies:function(e){var t;return this.lookup[e]&&(t=this.lookup[e].dependencies),t||[]},requireLangPack:function(t,r){var o=n.language;if(o&&n.languageLoad!==!1){if(r)if(r=","+r+",",r.indexOf(","+o.substr(0,2)+",")!=-1)o=o.substr(0,2);else if(r.indexOf(","+o+",")==-1)return;e.ScriptLoader.add(this.urls[t]+"/langs/"+o+".js")}},add:function(e,t,n){return this.items.push(t),this.lookup[e]={instance:t,dependencies:n},t},remove:function(e){delete this.urls[e],delete this.lookup[e]},createUrl:function(e,t){return"object"==typeof t?t:{prefix:e.prefix,resource:t,suffix:e.suffix}},addComponents:function(t,n){var r=this.urls[t];o(n,function(t){e.ScriptLoader.add(r+"/"+t)})},load:function(t,i,a,s,u){function l(){var n=c.dependencies(t);o(n,function(e){var t=c.createUrl(i,e);c.load(t.resource,t,r,r)}),a&&(s?a.call(s):a.call(e))}var c=this,d=i;c.urls[t]||("object"==typeof i&&(d=i.prefix+i.resource+i.suffix),0!==d.indexOf("/")&&d.indexOf("://")==-1&&(d=n.baseURL+"/"+d),c.urls[t]=d.substring(0,d.lastIndexOf("/")),c.lookup[t]?l():e.ScriptLoader.add(d,l,s,u))}},n.PluginManager=new n,n.ThemeManager=new n,n}),i("tinymce/dom/NodeType",[],function(){function e(e){return function(t){return!!t&&t.nodeType==e}}function t(e){return e=e.toLowerCase().split(" "),function(t){var n,r;if(t&&t.nodeType)for(r=t.nodeName.toLowerCase(),n=0;n<e.length;n++)if(r===e[n])return!0;return!1}}function n(e,t){return t=t.toLowerCase().split(" "),function(n){var r,o;if(s(n))for(r=0;r<t.length;r++)if(o=getComputedStyle(n,null).getPropertyValue(e),o===t[r])return!0;return!1}}function r(e,t){return function(n){return s(n)&&n[e]===t}}function o(e,t){return function(n){return s(n)&&n.getAttribute(e)===t}}function i(e){return s(e)&&e.hasAttribute("data-mce-bogus")}function a(e){return function(t){if(s(t)){if(t.contentEditable===e)return!0;if(t.getAttribute("data-mce-contenteditable")===e)return!0}return!1}}var s=e(1);return{isText:e(3),isElement:s,isComment:e(8),isBr:t("br"),isContentEditableTrue:a("true"),isContentEditableFalse:a("false"),matchNodeNames:t,hasPropValue:r,hasAttributeValue:o,matchStyleValues:n,isBogus:i}}),i("tinymce/text/Zwsp",[],function(){function e(e){return e==n}function t(e){return e.replace(new RegExp(n,"g"),"")}var n="\ufeff";return{isZwsp:e,ZWSP:n,trim:t}}),i("tinymce/caret/CaretContainer",["tinymce/dom/NodeType","tinymce/text/Zwsp"],function(e,t){function n(e){return y(e)&&(e=e.parentNode),g(e)&&e.hasAttribute("data-mce-caret")}function r(e){return y(e)&&t.isZwsp(e.data)}function o(e){return n(e)||r(e)}function i(e){var t=e.parentNode;t&&t.removeChild(e)}function a(e){try{return e.nodeValue}catch(e){return""}}function s(e,t){0===t.length?i(e):e.nodeValue=t}function u(e,n){var r,i,a,s;if(r=e.ownerDocument,a=r.createTextNode(t.ZWSP),s=e.parentNode,n){if(i=e.previousSibling,y(i)){if(o(i))return i;if(h(i))return i.splitText(i.data.length-1)}s.insertBefore(a,e)}else{if(i=e.nextSibling,y(i)){if(o(i))return i;if(p(i))return i.splitText(1),i}e.nextSibling?s.insertBefore(a,e.nextSibling):s.appendChild(a)}return a}function l(){var e=document.createElement("br");return e.setAttribute("data-mce-bogus","1"),e}function c(e,t,n){var r,o,i;return r=t.ownerDocument,o=r.createElement(e),o.setAttribute("data-mce-caret",n?"before":"after"),o.setAttribute("data-mce-bogus","all"),o.appendChild(l()),i=t.parentNode,n?i.insertBefore(o,t):t.nextSibling?i.insertBefore(o,t.nextSibling):i.appendChild(o),o}function d(t){return t.firstChild!==t.lastChild||!e.isBr(t.firstChild)}function f(e){if(g(e)&&o(e)&&(d(e)?e.removeAttribute("data-mce-caret"):i(e)),y(e)){var n=t.trim(a(e));s(e,n)}}function p(e){return y(e)&&e.data[0]==t.ZWSP}function h(e){return y(e)&&e.data[e.data.length-1]==t.ZWSP}function m(t){var n=t.getElementsByTagName("br"),r=n[n.length-1];e.isBogus(r)&&r.parentNode.removeChild(r)}function v(e){return e&&e.hasAttribute("data-mce-caret")?(m(e),e.removeAttribute("data-mce-caret"),e.removeAttribute("data-mce-bogus"),e.removeAttribute("style"),e.removeAttribute("_moz_abspos"),e):null}var g=e.isElement,y=e.isText;return{isCaretContainer:o,isCaretContainerBlock:n,isCaretContainerInline:r,showCaretContainerBlock:v,insertInline:u,insertBlock:c,hasContent:d,remove:f,startsWithCaretContainer:p,endsWithCaretContainer:h}}),i("tinymce/dom/RangeUtils",["tinymce/util/Tools","tinymce/dom/TreeWalker","tinymce/dom/NodeType","tinymce/dom/Range","tinymce/caret/CaretContainer"],function(e,t,n,r,o){function i(e){return m(e)||v(e)}function a(e,t){var n=e.childNodes;return t--,t>n.length-1?t=n.length-1:t<0&&(t=0),n[t]||e}function s(e,t,n){for(;e&&e!==t;){if(n(e))return e;e=e.parentNode}return null}function u(e,t,n){return null!==s(e,t,n)}function l(e){return"_mce_caret"===e.id}function c(e,t){return g(e)&&u(e,t,l)===!1}function d(e){this.walk=function(t,n){function r(e){var t;return t=e[0],3===t.nodeType&&t===v&&g>=t.nodeValue.length&&e.splice(0,1),t=e[e.length-1],0===b&&e.length>0&&t===y&&3===t.nodeType&&e.splice(e.length-1,1),e}function o(e,t,n){for(var r=[];e&&e!=n;e=e[t])r.push(e);return r}function i(e,t){do{if(e.parentNode==t)return e;e=e.parentNode}while(e)}function s(e,t,i){var a=i?"nextSibling":"previousSibling";for(d=e,f=d.parentNode;d&&d!=t;d=f)f=d.parentNode,p=o(d==e?d:d[a],a),p.length&&(i||p.reverse(),n(r(p)))}var u,l,c,d,f,p,m,v=t.startContainer,g=t.startOffset,y=t.endContainer,b=t.endOffset;if(m=e.select("td[data-mce-selected],th[data-mce-selected]"),m.length>0)return void h(m,function(e){n([e])});if(1==v.nodeType&&v.hasChildNodes()&&(v=v.childNodes[g]),1==y.nodeType&&y.hasChildNodes()&&(y=a(y,b)),v==y)return n(r([v]));for(u=e.findCommonAncestor(v,y),d=v;d;d=d.parentNode){if(d===y)return s(v,u,!0);if(d===u)break}for(d=y;d;d=d.parentNode){if(d===v)return s(y,u);if(d===u)break}l=i(v,u)||v,c=i(y,u)||y,s(v,l,!0),p=o(l==v?l:l.nextSibling,"nextSibling",c==y?c.nextSibling:c),p.length&&n(r(p)),s(y,c)},this.split=function(e){function t(e,t){return e.splitText(t)}var n=e.startContainer,r=e.startOffset,o=e.endContainer,i=e.endOffset;return n==o&&3==n.nodeType?r>0&&r<n.nodeValue.length&&(o=t(n,r),n=o.previousSibling,i>r?(i-=r,n=o=t(o,i).previousSibling,i=o.nodeValue.length,r=0):i=0):(3==n.nodeType&&r>0&&r<n.nodeValue.length&&(n=t(n,r),r=0),3==o.nodeType&&i>0&&i<o.nodeValue.length&&(o=t(o,i).previousSibling,i=o.nodeValue.length)),{startContainer:n,startOffset:r,endContainer:o,endOffset:i}},this.normalize=function(n){function r(r){function a(e){return e&&/^(TD|TH|CAPTION)$/.test(e.nodeName)}function s(n,r){for(var o=new t(n,e.getParent(n.parentNode,e.isBlock)||w);n=o[r?"prev":"next"]();)if("BR"===n.nodeName)return!0}function u(e){for(;e&&e!=w;){if(v(e))return!0;e=e.parentNode}return!1}function l(e,t){return e.previousSibling&&e.previousSibling.nodeName==t}function d(n,r){var a,s,u;if(r=r||f,u=e.getParent(r.parentNode,e.isBlock)||w,n&&"BR"==r.nodeName&&_&&e.isEmpty(u))return f=r.parentNode,p=e.nodeIndex(r),void(o=!0);for(a=new t(r,u);m=a[n?"prev":"next"]();){if("false"===e.getContentEditableParent(m)||c(m,e.getRoot()))return;if(3===m.nodeType&&m.nodeValue.length>0)return f=m,p=n?m.nodeValue.length:0,void(o=!0);if(e.isBlock(m)||y[m.nodeName.toLowerCase()])return;s=m}i&&s&&(f=s,o=!0,p=0)}var f,p,h,m,y,b,_,w=e.getRoot();if(f=n[(r?"start":"end")+"Container"],p=n[(r?"start":"end")+"Offset"],_=1==f.nodeType&&p===f.childNodes.length,y=e.schema.getNonEmptyElements(),b=r,!g(f)){if(1==f.nodeType&&p>f.childNodes.length-1&&(b=!1),9===f.nodeType&&(f=e.getRoot(),p=0),f===w){if(b&&(m=f.childNodes[p>0?p-1:0])){if(g(m))return;if(y[m.nodeName]||"TABLE"==m.nodeName)return}if(f.hasChildNodes()){if(p=Math.min(!b&&p>0?p-1:p,f.childNodes.length-1),f=f.childNodes[p],p=0,!i&&f===w.lastChild&&"TABLE"===f.nodeName)return;if(u(f)||g(f))return;if(f.hasChildNodes()&&!/TABLE/.test(f.nodeName)){m=f,h=new t(f,w);do{if(v(m)||g(m)){o=!1;break}if(3===m.nodeType&&m.nodeValue.length>0){p=b?0:m.nodeValue.length,f=m,o=!0;break}if(y[m.nodeName.toLowerCase()]&&!a(m)){p=e.nodeIndex(m),
-f=m.parentNode,"IMG"!=m.nodeName||b||p++,o=!0;break}}while(m=b?h.next():h.prev())}}}i&&(3===f.nodeType&&0===p&&d(!0),1===f.nodeType&&(m=f.childNodes[p],m||(m=f.childNodes[p-1]),!m||"BR"!==m.nodeName||l(m,"A")||s(m)||s(m,!0)||d(!0,m))),b&&!i&&3===f.nodeType&&p===f.nodeValue.length&&d(!1),o&&n["set"+(r?"Start":"End")](f,p)}}var o,i;return i=n.collapsed,r(!0),i||r(),o&&i&&n.collapse(!0),o}}function f(t,n,r){var o,i,a;if(o=r.elementFromPoint(t,n),i=r.body.createTextRange(),o&&"HTML"!=o.tagName||(o=r.body),i.moveToElementText(o),a=e.toArray(i.getClientRects()),a=a.sort(function(e,t){return e=Math.abs(Math.max(e.top-n,e.bottom-n)),t=Math.abs(Math.max(t.top-n,t.bottom-n)),e-t}),a.length>0){n=(a[0].bottom+a[0].top)/2;try{return i.moveToPoint(t,n),i.collapse(!0),i}catch(e){}}return null}function p(e,t){var n=e&&e.parentElement?e.parentElement():null;return v(s(n,t,i))?null:e}var h=e.each,m=n.isContentEditableTrue,v=n.isContentEditableFalse,g=o.isCaretContainer;return d.compareRanges=function(e,t){if(e&&t){if(!e.item&&!e.duplicate)return e.startContainer==t.startContainer&&e.startOffset==t.startOffset;if(e.item&&t.item&&e.item(0)===t.item(0))return!0;if(e.isEqual&&t.isEqual&&t.isEqual(e))return!0}return!1},d.getCaretRangeFromPoint=function(e,t,n){var r,o;if(n.caretPositionFromPoint)o=n.caretPositionFromPoint(e,t),r=n.createRange(),r.setStart(o.offsetNode,o.offset),r.collapse(!0);else if(n.caretRangeFromPoint)r=n.caretRangeFromPoint(e,t);else if(n.body.createTextRange){r=n.body.createTextRange();try{r.moveToPoint(e,t),r.collapse(!0)}catch(o){r=f(e,t,n)}return p(r,n.body)}return r},d.getSelectedNode=function(e){var t=e.startContainer,n=e.startOffset;return t.hasChildNodes()&&e.endOffset==n+1?t.childNodes[n]:null},d.getNode=function(e,t){return 1==e.nodeType&&e.hasChildNodes()&&(t>=e.childNodes.length&&(t=e.childNodes.length-1),e=e.childNodes[t]),e},d}),i("tinymce/NodeChange",["tinymce/dom/RangeUtils","tinymce/Env","tinymce/util/Delay"],function(e,t,n){return function(r){function o(e){var t,n;if(n=r.$(e).parentsUntil(r.getBody()).add(e),n.length===a.length){for(t=n.length;t>=0&&n[t]===a[t];t--);if(t===-1)return a=n,!0}return a=n,!1}var i,a=[];"onselectionchange"in r.getDoc()||r.on("NodeChange Click MouseUp KeyUp Focus",function(t){var n,o;n=r.selection.getRng(),o={startContainer:n.startContainer,startOffset:n.startOffset,endContainer:n.endContainer,endOffset:n.endOffset},"nodechange"!=t.type&&e.compareRanges(o,i)||r.fire("SelectionChange"),i=o}),r.on("contextmenu",function(){r.fire("SelectionChange")}),r.on("SelectionChange",function(){var e=r.selection.getStart(!0);!t.range&&r.selection.isCollapsed()||!o(e)&&r.dom.isChildOf(e,r.getBody())&&r.nodeChanged({selectionChange:!0})}),r.on("MouseUp",function(e){e.isDefaultPrevented()||("IMG"==r.selection.getNode().nodeName?n.setEditorTimeout(r,function(){r.nodeChanged()}):r.nodeChanged())}),this.nodeChanged=function(e){var t,n,o,i=r.selection;r.initialized&&i&&!r.settings.disable_nodechange&&!r.readonly&&(o=r.getBody(),t=i.getStart()||o,t.ownerDocument==r.getDoc()&&r.dom.isChildOf(t,o)||(t=o),"IMG"==t.nodeName&&i.isCollapsed()&&(t=t.parentNode),n=[],r.dom.getParent(t,function(e){return e===o||void n.push(e)}),e=e||{},e.element=t,e.parents=n,r.fire("NodeChange",e))}}}),i("tinymce/html/Node",[],function(){function e(e,t,n){var r,o,i=n?"lastChild":"firstChild",a=n?"prev":"next";if(e[i])return e[i];if(e!==t){if(r=e[a])return r;for(o=e.parent;o&&o!==t;o=o.parent)if(r=o[a])return r}}function t(e,t){this.name=e,this.type=t,1===t&&(this.attributes=[],this.attributes.map={})}var n=/^[ \t\r\n]*$/,r={"#text":3,"#comment":8,"#cdata":4,"#pi":7,"#doctype":10,"#document-fragment":11};return t.prototype={replace:function(e){var t=this;return e.parent&&e.remove(),t.insert(e,t),t.remove(),t},attr:function(e,t){var n,r,o,i=this;if("string"!=typeof e){for(r in e)i.attr(r,e[r]);return i}if(n=i.attributes){if(t!==o){if(null===t){if(e in n.map)for(delete n.map[e],r=n.length;r--;)if(n[r].name===e)return n=n.splice(r,1),i;return i}if(e in n.map){for(r=n.length;r--;)if(n[r].name===e){n[r].value=t;break}}else n.push({name:e,value:t});return n.map[e]=t,i}return n.map[e]}},clone:function(){var e,n,r,o,i,a=this,s=new t(a.name,a.type);if(r=a.attributes){for(i=[],i.map={},e=0,n=r.length;e<n;e++)o=r[e],"id"!==o.name&&(i[i.length]={name:o.name,value:o.value},i.map[o.name]=o.value);s.attributes=i}return s.value=a.value,s.shortEnded=a.shortEnded,s},wrap:function(e){var t=this;return t.parent.insert(e,t),e.append(t),t},unwrap:function(){var e,t,n=this;for(e=n.firstChild;e;)t=e.next,n.insert(e,n,!0),e=t;n.remove()},remove:function(){var e=this,t=e.parent,n=e.next,r=e.prev;return t&&(t.firstChild===e?(t.firstChild=n,n&&(n.prev=null)):r.next=n,t.lastChild===e?(t.lastChild=r,r&&(r.next=null)):n.prev=r,e.parent=e.next=e.prev=null),e},append:function(e){var t,n=this;return e.parent&&e.remove(),t=n.lastChild,t?(t.next=e,e.prev=t,n.lastChild=e):n.lastChild=n.firstChild=e,e.parent=n,e},insert:function(e,t,n){var r;return e.parent&&e.remove(),r=t.parent||this,n?(t===r.firstChild?r.firstChild=e:t.prev.next=e,e.prev=t.prev,e.next=t,t.prev=e):(t===r.lastChild?r.lastChild=e:t.next.prev=e,e.next=t.next,e.prev=t,t.next=e),e.parent=r,e},getAll:function(t){var n,r=this,o=[];for(n=r.firstChild;n;n=e(n,r))n.name===t&&o.push(n);return o},empty:function(){var t,n,r,o=this;if(o.firstChild){for(t=[],r=o.firstChild;r;r=e(r,o))t.push(r);for(n=t.length;n--;)r=t[n],r.parent=r.firstChild=r.lastChild=r.next=r.prev=null}return o.firstChild=o.lastChild=null,o},isEmpty:function(t,r){var o,i,a=this,s=a.firstChild;if(r=r||{},s)do{if(1===s.type){if(s.attributes.map["data-mce-bogus"])continue;if(t[s.name])return!1;for(o=s.attributes.length;o--;)if(i=s.attributes[o].name,"name"===i||0===i.indexOf("data-mce-bookmark"))return!1}if(8===s.type)return!1;if(3===s.type&&!n.test(s.value))return!1;if(3===s.type&&s.parent&&r[s.parent.name]&&n.test(s.value))return!1}while(s=e(s,a));return!0},walk:function(t){return e(this,null,t)}},t.create=function(e,n){var o,i;if(o=new t(e,r[e]||1),n)for(i in n)o.attr(i,n[i]);return o},t}),i("tinymce/html/Schema",["tinymce/util/Tools"],function(e){function t(t,n){return t=e.trim(t),t?t.split(n||" "):[]}function n(e){function n(e,n,r){function o(e,t){var n,r,o={};for(n=0,r=e.length;n<r;n++)o[e[n]]=t||{};return o}var s,u,l;for(r=r||[],n=n||"","string"==typeof r&&(r=t(r)),e=t(e),s=e.length;s--;)u=t([a,n].join(" ")),l={attributes:o(u),attributesOrder:u,children:o(r,i)},p[e[s]]=l}function r(e,n){var r,o,i,a;for(e=t(e),r=e.length,n=t(n);r--;)for(o=p[e[r]],i=0,a=n.length;i<a;i++)o.attributes[n[i]]={},o.attributesOrder.push(n[i])}var a,u,l,c,d,f,p={};return o[e]?o[e]:(a="id accesskey class dir lang style tabindex title",u="address blockquote div dl fieldset form h1 h2 h3 h4 h5 h6 hr menu ol p pre table ul",l="a abbr b bdo br button cite code del dfn em embed i iframe img input ins kbd label map noscript object q s samp script select small span strong sub sup textarea u var #text #comment","html4"!=e&&(a+=" contenteditable contextmenu draggable dropzone hidden spellcheck translate",u+=" article aside details dialog figure header footer hgroup section nav",l+=" audio canvas command datalist mark meter output picture progress time wbr video ruby bdi keygen"),"html5-strict"!=e&&(a+=" xml:lang",f="acronym applet basefont big font strike tt",l=[l,f].join(" "),s(t(f),function(e){n(e,"",l)}),d="center dir isindex noframes",u=[u,d].join(" "),c=[u,l].join(" "),s(t(d),function(e){n(e,"",c)})),c=c||[u,l].join(" "),n("html","manifest","head body"),n("head","","base command link meta noscript script style title"),n("title hr noscript br"),n("base","href target"),n("link","href rel media hreflang type sizes hreflang"),n("meta","name http-equiv content charset"),n("style","media type scoped"),n("script","src async defer type charset"),n("body","onafterprint onbeforeprint onbeforeunload onblur onerror onfocus onhashchange onload onmessage onoffline ononline onpagehide onpageshow onpopstate onresize onscroll onstorage onunload",c),n("address dt dd div caption","",c),n("h1 h2 h3 h4 h5 h6 pre p abbr code var samp kbd sub sup i b u bdo span legend em strong small s cite dfn","",l),n("blockquote","cite",c),n("ol","reversed start type","li"),n("ul","","li"),n("li","value",c),n("dl","","dt dd"),n("a","href target rel media hreflang type",l),n("q","cite",l),n("ins del","cite datetime",c),n("img","src sizes srcset alt usemap ismap width height"),n("iframe","src name width height",c),n("embed","src type width height"),n("object","data type typemustmatch name usemap form width height",[c,"param"].join(" ")),n("param","name value"),n("map","name",[c,"area"].join(" ")),n("area","alt coords shape href target rel media hreflang type"),n("table","border","caption colgroup thead tfoot tbody tr"+("html4"==e?" col":"")),n("colgroup","span","col"),n("col","span"),n("tbody thead tfoot","","tr"),n("tr","","td th"),n("td","colspan rowspan headers",c),n("th","colspan rowspan headers scope abbr",c),n("form","accept-charset action autocomplete enctype method name novalidate target",c),n("fieldset","disabled form name",[c,"legend"].join(" ")),n("label","form for",l),n("input","accept alt autocomplete checked dirname disabled form formaction formenctype formmethod formnovalidate formtarget height list max maxlength min multiple name pattern readonly required size src step type value width"),n("button","disabled form formaction formenctype formmethod formnovalidate formtarget name type value","html4"==e?c:l),n("select","disabled form multiple name required size","option optgroup"),n("optgroup","disabled label","option"),n("option","disabled label selected value"),n("textarea","cols dirname disabled form maxlength name readonly required rows wrap"),n("menu","type label",[c,"li"].join(" ")),n("noscript","",c),"html4"!=e&&(n("wbr"),n("ruby","",[l,"rt rp"].join(" ")),n("figcaption","",c),n("mark rt rp summary bdi","",l),n("canvas","width height",c),n("video","src crossorigin poster preload autoplay mediagroup loop muted controls width height buffered",[c,"track source"].join(" ")),n("audio","src crossorigin preload autoplay mediagroup loop muted controls buffered volume",[c,"track source"].join(" ")),n("picture","","img source"),n("source","src srcset type media sizes"),n("track","kind src srclang label default"),n("datalist","",[l,"option"].join(" ")),n("article section nav aside header footer","",c),n("hgroup","","h1 h2 h3 h4 h5 h6"),n("figure","",[c,"figcaption"].join(" ")),n("time","datetime",l),n("dialog","open",c),n("command","type label icon disabled checked radiogroup command"),n("output","for form name",l),n("progress","value max",l),n("meter","value min max low high optimum",l),n("details","open",[c,"summary"].join(" ")),n("keygen","autofocus challenge disabled form keytype name")),"html5-strict"!=e&&(r("script","language xml:space"),r("style","xml:space"),r("object","declare classid code codebase codetype archive standby align border hspace vspace"),r("embed","align name hspace vspace"),r("param","valuetype type"),r("a","charset name rev shape coords"),r("br","clear"),r("applet","codebase archive code object alt name width height align hspace vspace"),r("img","name longdesc align border hspace vspace"),r("iframe","longdesc frameborder marginwidth marginheight scrolling align"),r("font basefont","size color face"),r("input","usemap align"),r("select","onchange"),r("textarea"),r("h1 h2 h3 h4 h5 h6 div p legend caption","align"),r("ul","type compact"),r("li","type"),r("ol dl menu dir","compact"),r("pre","width xml:space"),r("hr","align noshade size width"),r("isindex","prompt"),r("table","summary width frame rules cellspacing cellpadding align bgcolor"),r("col","width align char charoff valign"),r("colgroup","width align char charoff valign"),r("thead","align char charoff valign"),r("tr","align char charoff valign bgcolor"),r("th","axis align char charoff valign nowrap bgcolor width height"),r("form","accept"),r("td","abbr axis scope align char charoff valign nowrap bgcolor width height"),r("tfoot","align char charoff valign"),r("tbody","align char charoff valign"),r("area","nohref"),r("body","background bgcolor text link vlink alink")),"html4"!=e&&(r("input button select textarea","autofocus"),r("input textarea","placeholder"),r("a","download"),r("link script img","crossorigin"),r("iframe","sandbox seamless allowfullscreen")),s(t("a form meter progress dfn"),function(e){p[e]&&delete p[e].children[e]}),delete p.caption.children.table,delete p.script,o[e]=p,p)}function r(e,t){var n;return e&&(n={},"string"==typeof e&&(e={"*":e}),s(e,function(e,r){n[r]=n[r.toUpperCase()]="map"==t?a(e,/[, ]/):l(e,/[, ]/)})),n}var o={},i={},a=e.makeMap,s=e.each,u=e.extend,l=e.explode,c=e.inArray;return function(e){function i(t,n,r){var i=e[t];return i?i=a(i,/[, ]/,a(i.toUpperCase(),/[, ]/)):(i=o[t],i||(i=a(n," ",a(n.toUpperCase()," ")),i=u(i,r),o[t]=i)),i}function d(e){return new RegExp("^"+e.replace(/([?+*])/g,".$1")+"$")}function f(e){var n,r,o,i,s,u,l,f,p,h,m,v,g,y,b,_,w,C,x,E=/^([#+\-])?([^\[!\/]+)(?:\/([^\[!]+))?(?:(!?)\[([^\]]+)\])?$/,T=/^([!\-])?(\w+::\w+|[^=:<]+)?(?:([=:<])(.*))?$/,k=/[*?+]/;if(e)for(e=t(e,","),N["@"]&&(_=N["@"].attributes,w=N["@"].attributesOrder),n=0,r=e.length;n<r;n++)if(s=E.exec(e[n])){if(y=s[1],p=s[2],b=s[3],f=s[5],v={},g=[],u={attributes:v,attributesOrder:g},"#"===y&&(u.paddEmpty=!0),"-"===y&&(u.removeEmpty=!0),"!"===s[4]&&(u.removeEmptyAttrs=!0),_){for(C in _)v[C]=_[C];g.push.apply(g,w)}if(f)for(f=t(f,"|"),o=0,i=f.length;o<i;o++)if(s=T.exec(f[o])){if(l={},m=s[1],h=s[2].replace(/::/g,":"),y=s[3],x=s[4],"!"===m&&(u.attributesRequired=u.attributesRequired||[],u.attributesRequired.push(h),l.required=!0),"-"===m){delete v[h],g.splice(c(g,h),1);continue}y&&("="===y&&(u.attributesDefault=u.attributesDefault||[],u.attributesDefault.push({name:h,value:x}),l.defaultValue=x),":"===y&&(u.attributesForced=u.attributesForced||[],u.attributesForced.push({name:h,value:x}),l.forcedValue=x),"<"===y&&(l.validValues=a(x,"?"))),k.test(h)?(u.attributePatterns=u.attributePatterns||[],l.pattern=d(h),u.attributePatterns.push(l)):(v[h]||g.push(h),v[h]=l)}_||"@"!=p||(_=v,w=g),b&&(u.outputName=p,N[b]=u),k.test(p)?(u.pattern=d(p),P.push(u)):N[p]=u}}function p(e){N={},P=[],f(e),s(b,function(e,t){I[t]=e.children})}function h(e){var n=/^(~)?(.+)$/;e&&(o.text_block_elements=o.block_elements=null,s(t(e,","),function(e){var t=n.exec(e),r="~"===t[1],o=r?"span":"div",i=t[2];if(I[i]=I[o],D[i]=o,r||(T[i.toUpperCase()]={},T[i]={}),!N[i]){var a=N[o];a=u({},a),delete a.removeEmptyAttrs,delete a.removeEmpty,N[i]=a}s(I,function(e,t){e[o]&&(I[t]=e=u({},I[t]),e[i]=e[o])})}))}function m(n){var r=/^([+\-]?)(\w+)\[([^\]]+)\]$/;o[e.schema]=null,n&&s(t(n,","),function(e){var n,o,i=r.exec(e);i&&(o=i[1],n=o?I[i[2]]:I[i[2]]={"#comment":{}},n=I[i[2]],s(t(i[3],"|"),function(e){"-"===o?delete n[e]:n[e]={}}))})}function v(e){var t,n=N[e];if(n)return n;for(t=P.length;t--;)if(n=P[t],n.pattern.test(e))return n}var g,y,b,_,w,C,x,E,T,k,S,M,O,A=this,N={},I={},P=[],D={},R={};e=e||{},b=n(e.schema),e.verify_html===!1&&(e.valid_elements="*[*]"),g=r(e.valid_styles),y=r(e.invalid_styles,"map"),E=r(e.valid_classes,"map"),_=i("whitespace_elements","pre script noscript style textarea video audio iframe object code"),w=i("self_closing_elements","colgroup dd dt li option p td tfoot th thead tr"),C=i("short_ended_elements","area base basefont br col frame hr img input isindex link meta param embed source wbr track"),x=i("boolean_attributes","checked compact declare defer disabled ismap multiple nohref noresize noshade nowrap readonly selected autoplay loop controls"),k=i("non_empty_elements","td th iframe video audio object script pre code",C),S=i("move_caret_before_on_enter_elements","table",k),M=i("text_block_elements","h1 h2 h3 h4 h5 h6 p div address pre form blockquote center dir fieldset header footer article section hgroup aside nav figure"),T=i("block_elements","hr table tbody thead tfoot th tr td li ol ul caption dl dt dd noscript menu isindex option datalist select optgroup figcaption",M),O=i("text_inline_elements","span strong b em i font strike u var cite dfn code mark q sup sub samp"),s((e.special||"script noscript style textarea").split(" "),function(e){R[e]=new RegExp("</"+e+"[^>]*>","gi")}),e.valid_elements?p(e.valid_elements):(s(b,function(e,t){N[t]={attributes:e.attributes,attributesOrder:e.attributesOrder},I[t]=e.children}),"html5"!=e.schema&&s(t("strong/b em/i"),function(e){e=t(e,"/"),N[e[1]].outputName=e[0]}),s(t("ol ul sub sup blockquote span font a table tbody tr strong em b i"),function(e){N[e]&&(N[e].removeEmpty=!0)}),s(t("p h1 h2 h3 h4 h5 h6 th td pre div address caption"),function(e){N[e].paddEmpty=!0}),s(t("span"),function(e){N[e].removeEmptyAttrs=!0})),h(e.custom_elements),m(e.valid_children),f(e.extended_valid_elements),m("+ol[ul|ol],+ul[ul|ol]"),s({dd:"dl",dt:"dl",li:"ul ol",td:"tr",th:"tr",tr:"tbody thead tfoot",tbody:"table",thead:"table",tfoot:"table",legend:"fieldset",area:"map",param:"video audio object"},function(e,n){N[n]&&(N[n].parentsRequired=t(e))}),e.invalid_elements&&s(l(e.invalid_elements),function(e){N[e]&&delete N[e]}),v("span")||f("span[!data-mce-type|*]"),A.children=I,A.getValidStyles=function(){return g},A.getInvalidStyles=function(){return y},A.getValidClasses=function(){return E},A.getBoolAttrs=function(){return x},A.getBlockElements=function(){return T},A.getTextBlockElements=function(){return M},A.getTextInlineElements=function(){return O},A.getShortEndedElements=function(){return C},A.getSelfClosingElements=function(){return w},A.getNonEmptyElements=function(){return k},A.getMoveCaretBeforeOnEnterElements=function(){return S},A.getWhiteSpaceElements=function(){return _},A.getSpecialElements=function(){return R},A.isValidChild=function(e,t){var n=I[e];return!(!n||!n[t])},A.isValid=function(e,t){var n,r,o=v(e);if(o){if(!t)return!0;if(o.attributes[t])return!0;if(n=o.attributePatterns)for(r=n.length;r--;)if(n[r].pattern.test(e))return!0}return!1},A.getElementRule=v,A.getCustomElements=function(){return D},A.addValidElements=f,A.setValidElements=p,A.addCustomElements=h,A.addValidChildren=m,A.elements=N}}),i("tinymce/html/SaxParser",["tinymce/html/Schema","tinymce/html/Entities","tinymce/util/Tools"],function(e,t,n){function r(e,t,n){var r,o,i,a,s=1;for(a=e.getShortEndedElements(),i=/<([!?\/])?([A-Za-z0-9\-_\:\.]+)((?:\s+[^"\'>]+(?:(?:"[^"]*")|(?:\'[^\']*\')|[^>]*))*|\/|\s+)>/g,i.lastIndex=r=n;o=i.exec(t);){if(r=i.lastIndex,"/"===o[1])s--;else if(!o[1]){if(o[2]in a)continue;s++}if(0===s)break}return r}function o(o,a){function s(){}var u=this;o=o||{},u.schema=a=a||new e,o.fix_self_closing!==!1&&(o.fix_self_closing=!0),i("comment cdata text start end pi doctype".split(" "),function(e){e&&(u[e]=o[e]||s)}),u.parse=function(e){function i(e){var t,n;for(t=F.length;t--&&F[t].name!==e;);if(t>=0){for(n=F.length-1;n>=t;n--)e=F[n],e.valid&&L.end(e.name);F.length=t}}function s(e,t,n,r,i){var a,s,u=/[\s\u0000-\u001F]+/g;if(t=t.toLowerCase(),n=t in y?t:H(n||r||i||""),_&&!m&&0!==t.indexOf("data-")){if(a=T[t],!a&&k){for(s=k.length;s--&&(a=k[s],!a.pattern.test(t)););s===-1&&(a=null)}if(!a)return;if(a.validValues&&!(n in a.validValues))return}if(z[t]&&!o.allow_script_urls){var l=n.replace(u,"");try{l=decodeURIComponent(l)}catch(e){l=unescape(l)}if(q.test(l))return;if(!o.allow_html_data_urls&&W.test(l)&&!/^data:image\//i.test(l))return}d.map[t]=n,d.push({name:t,value:n})}var u,l,c,d,f,p,h,m,v,g,y,b,_,w,C,x,E,T,k,S,M,O,A,N,I,P,D,R,j,L=this,B=0,F=[],U=0,H=t.decode,z=n.makeMap("src,href,data,background,formaction,poster"),q=/((java|vb)script|mhtml):/i,W=/^data:/i;for(I=new RegExp("<(?:(?:!--([\\w\\W]*?)-->)|(?:!\\[CDATA\\[([\\w\\W]*?)\\]\\]>)|(?:!DOCTYPE([\\w\\W]*?)>)|(?:\\?([^\\s\\/<>]+) ?([\\w\\W]*?)[?/]>)|(?:\\/([^>]+)>)|(?:([A-Za-z0-9\\-_\\:\\.]+)((?:\\s+[^\"'>]+(?:(?:\"[^\"]*\")|(?:'[^']*')|[^>]*))*|\\/|\\s+)>))","g"),P=/([\w:\-]+)(?:\s*=\s*(?:(?:\"((?:[^\"])*)\")|(?:\'((?:[^\'])*)\')|([^>\s]+)))?/g,g=a.getShortEndedElements(),N=o.self_closing_elements||a.getSelfClosingElements(),y=a.getBoolAttrs(),_=o.validate,v=o.remove_internals,j=o.fix_self_closing,D=a.getSpecialElements();u=I.exec(e);){if(B<u.index&&L.text(H(e.substr(B,u.index-B))),l=u[6])l=l.toLowerCase(),":"===l.charAt(0)&&(l=l.substr(1)),i(l);else if(l=u[7]){if(l=l.toLowerCase(),":"===l.charAt(0)&&(l=l.substr(1)),b=l in g,j&&N[l]&&F.length>0&&F[F.length-1].name===l&&i(l),!_||(w=a.getElementRule(l))){if(C=!0,_&&(T=w.attributes,k=w.attributePatterns),(E=u[8])?(m=E.indexOf("data-mce-type")!==-1,m&&v&&(C=!1),d=[],d.map={},E.replace(P,s)):(d=[],d.map={}),_&&!m){if(S=w.attributesRequired,M=w.attributesDefault,O=w.attributesForced,A=w.removeEmptyAttrs,A&&!d.length&&(C=!1),O)for(f=O.length;f--;)x=O[f],h=x.name,R=x.value,"{$uid}"===R&&(R="mce_"+U++),d.map[h]=R,d.push({name:h,value:R});if(M)for(f=M.length;f--;)x=M[f],h=x.name,h in d.map||(R=x.value,"{$uid}"===R&&(R="mce_"+U++),d.map[h]=R,d.push({name:h,value:R}));if(S){for(f=S.length;f--&&!(S[f]in d.map););f===-1&&(C=!1)}if(x=d.map["data-mce-bogus"]){if("all"===x){B=r(a,e,I.lastIndex),I.lastIndex=B;continue}C=!1}}C&&L.start(l,d,b)}else C=!1;if(c=D[l]){c.lastIndex=B=u.index+u[0].length,(u=c.exec(e))?(C&&(p=e.substr(B,u.index-B)),B=u.index+u[0].length):(p=e.substr(B),B=e.length),C&&(p.length>0&&L.text(p,!0),L.end(l)),I.lastIndex=B;continue}b||(E&&E.indexOf("/")==E.length-1?C&&L.end(l):F.push({name:l,valid:C}))}else(l=u[1])?(">"===l.charAt(0)&&(l=" "+l),o.allow_conditional_comments||"[if"!==l.substr(0,3).toLowerCase()||(l=" "+l),L.comment(l)):(l=u[2])?L.cdata(l):(l=u[3])?L.doctype(l):(l=u[4])&&L.pi(l,u[5]);B=u.index+u[0].length}for(B<e.length&&L.text(H(e.substr(B))),f=F.length-1;f>=0;f--)l=F[f],l.valid&&L.end(l.name)}}var i=n.each;return o.findEndTag=r,o}),i("tinymce/html/DomParser",["tinymce/html/Node","tinymce/html/Schema","tinymce/html/SaxParser","tinymce/util/Tools"],function(e,t,n,r){var o=r.makeMap,i=r.each,a=r.explode,s=r.extend,u=function(t,n){t.padd_empty_with_br?n.empty().append(new e("br","1")).shortEnded=!0:n.empty().append(new e("#text","3")).value=" "},l=function(e,t){return e&&e.firstChild===e.lastChild&&e.firstChild.name===t};return function(c,d){function f(t){var n,r,i,a,s,u,c,f,h,m,v,g,y,b,_,w;for(g=o("tr,td,th,tbody,thead,tfoot,table"),m=d.getNonEmptyElements(),v=d.getWhiteSpaceElements(),y=d.getTextBlockElements(),b=d.getSpecialElements(),n=0;n<t.length;n++)if(r=t[n],r.parent&&!r.fixed)if(y[r.name]&&"li"==r.parent.name){for(_=r.next;_&&y[_.name];)_.name="li",_.fixed=!0,r.parent.insert(_,r.parent),_=_.next;r.unwrap(r)}else{for(a=[r],i=r.parent;i&&!d.isValidChild(i.name,r.name)&&!g[i.name];i=i.parent)a.push(i);if(i&&a.length>1){for(a.reverse(),s=u=p.filterNode(a[0].clone()),h=0;h<a.length-1;h++){for(d.isValidChild(u.name,a[h].name)?(c=p.filterNode(a[h].clone()),u.append(c)):c=u,f=a[h].firstChild;f&&f!=a[h+1];)w=f.next,c.append(f),f=w;u=c}s.isEmpty(m,v)?i.insert(r,a[0],!0):(i.insert(s,a[0],!0),i.insert(r,s)),i=a[0],(i.isEmpty(m,v)||l(i,"br"))&&i.empty().remove()}else if(r.parent){if("li"===r.name){if(_=r.prev,_&&("ul"===_.name||"ul"===_.name)){_.append(r);continue}if(_=r.next,_&&("ul"===_.name||"ul"===_.name)){_.insert(r,_.firstChild,!0);continue}r.wrap(p.filterNode(new e("ul",1)));continue}d.isValidChild(r.parent.name,"div")&&d.isValidChild("div",r.name)?r.wrap(p.filterNode(new e("div",1))):b[r.name]?r.empty().remove():r.unwrap()}}}var p=this,h={},m=[],v={},g={};c=c||{},c.validate=!("validate"in c)||c.validate,c.root_name=c.root_name||"body",p.schema=d=d||new t,p.filterNode=function(e){var t,n,r;n in h&&(r=v[n],r?r.push(e):v[n]=[e]),t=m.length;for(;t--;)n=m[t].name,n in e.attributes.map&&(r=g[n],r?r.push(e):g[n]=[e]);return e},p.addNodeFilter=function(e,t){i(a(e),function(e){var n=h[e];n||(h[e]=n=[]),n.push(t)})},p.addAttributeFilter=function(e,t){i(a(e),function(e){var n;for(n=0;n<m.length;n++)if(m[n].name===e)return void m[n].callbacks.push(t);m.push({name:e,callbacks:[t]})})},p.parse=function(t,r){function i(){function e(e){e&&(r=e.firstChild,r&&3==r.type&&(r.value=r.value.replace(A,"")),r=e.lastChild,r&&3==r.type&&(r.value=r.value.replace(I,"")))}var t,n,r=b.firstChild;if(d.isValidChild(b.name,B.toLowerCase())){for(;r;)t=r.next,3==r.type||1==r.type&&"p"!==r.name&&!O[r.name]&&!r.attr("data-mce-type")?n?n.append(r):(n=a(B,1),n.attr(c.forced_root_block_attrs),b.insert(n,r),n.append(r)):(e(n),n=null),r=t;e(n)}}function a(t,n){var r,o=new e(t,n);return t in h&&(r=v[t],r?r.push(o):v[t]=[o]),o}function l(e){var t,n,r,o,i=d.getBlockElements();for(t=e.prev;t&&3===t.type;){if(r=t.value.replace(I,""),r.length>0)return void(t.value=r);if(n=t.next){if(3==n.type&&n.value.length){t=t.prev;continue}if(!i[n.name]&&"script"!=n.name&&"style"!=n.name){t=t.prev;continue}}o=t.prev,t.remove(),t=o}}function p(e){var t,n={};for(t in e)"li"!==t&&"p"!=t&&(n[t]=e[t]);return n}var y,b,_,w,C,x,E,T,k,S,M,O,A,N,I,P,D,R,j,L,B,F=[];if(r=r||{},v={},g={},O=s(o("script,style,head,html,body,title,meta,param"),d.getBlockElements()),L=d.getNonEmptyElements(),j=d.children,M=c.validate,B="forced_root_block"in r?r.forced_root_block:c.forced_root_block,R=d.getWhiteSpaceElements(),A=/^[ \t\r\n]+/,I=/[ \t\r\n]+$/,P=/[ \t\r\n]+/g,D=/^[ \t\r\n]+$/,y=new n({validate:M,allow_script_urls:c.allow_script_urls,allow_conditional_comments:c.allow_conditional_comments,self_closing_elements:p(d.getSelfClosingElements()),cdata:function(e){_.append(a("#cdata",4)).value=e},text:function(e,t){var n;N||(e=e.replace(P," "),_.lastChild&&O[_.lastChild.name]&&(e=e.replace(A,""))),0!==e.length&&(n=a("#text",3),n.raw=!!t,_.append(n).value=e)},comment:function(e){_.append(a("#comment",8)).value=e},pi:function(e,t){_.append(a(e,7)).value=t,l(_)},doctype:function(e){var t;t=_.append(a("#doctype",10)),t.value=e,l(_)},start:function(e,t,n){var r,o,i,s,u;if(i=M?d.getElementRule(e):{}){for(r=a(i.outputName||e,1),r.attributes=t,r.shortEnded=n,_.append(r),u=j[_.name],u&&j[r.name]&&!u[r.name]&&F.push(r),o=m.length;o--;)s=m[o].name,s in t.map&&(k=g[s],k?k.push(r):g[s]=[r]);O[e]&&l(r),n||(_=r),!N&&R[e]&&(N=!0)}},end:function(e){var t,n,r,o,i;if(n=M?d.getElementRule(e):{}){if(O[e]&&!N){if(t=_.firstChild,t&&3===t.type)if(r=t.value.replace(A,""),r.length>0)t.value=r,t=t.next;else for(o=t.next,t.remove(),t=o;t&&3===t.type;)r=t.value,o=t.next,(0===r.length||D.test(r))&&(t.remove(),t=o),t=o;if(t=_.lastChild,t&&3===t.type)if(r=t.value.replace(I,""),r.length>0)t.value=r,t=t.prev;else for(o=t.prev,t.remove(),t=o;t&&3===t.type;)r=t.value,o=t.prev,(0===r.length||D.test(r))&&(t.remove(),t=o),t=o}if(N&&R[e]&&(N=!1),(n.removeEmpty||n.paddEmpty)&&_.isEmpty(L,R))if(n.paddEmpty)u(c,_);else if(!_.attributes.map.name&&!_.attributes.map.id)return i=_.parent,O[_.name]?_.empty().remove():_.unwrap(),void(_=i);_=_.parent}}},d),b=_=new e(r.context||c.root_name,11),y.parse(t),M&&F.length&&(r.context?r.invalid=!0:f(F)),B&&("body"==b.name||r.isRootContent)&&i(),!r.invalid){for(S in v){for(k=h[S],w=v[S],E=w.length;E--;)w[E].parent||w.splice(E,1);for(C=0,x=k.length;C<x;C++)k[C](w,S,r)}for(C=0,x=m.length;C<x;C++)if(k=m[C],k.name in g){for(w=g[k.name],E=w.length;E--;)w[E].parent||w.splice(E,1);for(E=0,T=k.callbacks.length;E<T;E++)k.callbacks[E](w,k.name,r)}}return b},c.remove_trailing_brs&&p.addNodeFilter("br",function(t){var n,r,o,i,a,l,f,p,h=t.length,m=s({},d.getBlockElements()),v=d.getNonEmptyElements(),g=d.getNonEmptyElements();for(m.body=1,n=0;n<h;n++)if(r=t[n],o=r.parent,m[r.parent.name]&&r===o.lastChild){for(a=r.prev;a;){if(l=a.name,"span"!==l||"bookmark"!==a.attr("data-mce-type")){if("br"!==l)break;if("br"===l){r=null;break}}a=a.prev}r&&(r.remove(),o.isEmpty(v,g)&&(f=d.getElementRule(o.name),f&&(f.removeEmpty?o.remove():f.paddEmpty&&u(c,o))))}else{for(i=r;o&&o.firstChild===i&&o.lastChild===i&&(i=o,!m[o.name]);)o=o.parent;i===o&&c.padd_empty_with_br!==!0&&(p=new e("#text",3),p.value=" ",r.replace(p))}}),c.allow_unsafe_link_target||p.addAttributeFilter("href",function(e){function t(e){return e=n(e),e?[e,u].join(" "):u}function n(e){var t=new RegExp("("+u.replace(" ","|")+")","g");return e&&(e=r.trim(e.replace(t,""))),e?e:null}function o(e,r){return r?t(e):n(e)}for(var i,a,s=e.length,u="noopener noreferrer";s--;)i=e[s],a=i.attr("rel"),"a"===i.name&&i.attr("rel",o(a,"_blank"==i.attr("target")))}),c.allow_html_in_named_anchor||p.addAttributeFilter("id,name",function(e){for(var t,n,r,o,i=e.length;i--;)if(o=e[i],"a"===o.name&&o.firstChild&&!o.attr("href")){r=o.parent,t=o.lastChild;do n=t.prev,r.insert(t,o),t=n;while(t)}}),c.fix_list_elements&&p.addNodeFilter("ul,ol",function(t){for(var n,r,o=t.length;o--;)if(n=t[o],r=n.parent,"ul"===r.name||"ol"===r.name)if(n.prev&&"li"===n.prev.name)n.prev.append(n);else{var i=new e("li",1);i.attr("style","list-style-type: none"),n.wrap(i)}}),c.validate&&d.getValidClasses()&&p.addAttributeFilter("class",function(e){for(var t,n,r,o,i,a,s,u=e.length,l=d.getValidClasses();u--;){for(t=e[u],n=t.attr("class").split(" "),i="",r=0;r<n.length;r++)o=n[r],s=!1,a=l["*"],a&&a[o]&&(s=!0),a=l[t.name],!s&&a&&a[o]&&(s=!0),s&&(i&&(i+=" "),i+=o);i.length||(i=null),t.attr("class",i)}})}}),i("tinymce/html/Writer",["tinymce/html/Entities","tinymce/util/Tools"],function(e,t){var n=t.makeMap;return function(t){var r,o,i,a,s,u=[];return t=t||{},r=t.indent,o=n(t.indent_before||""),i=n(t.indent_after||""),a=e.getEncodeFunc(t.entity_encoding||"raw",t.entities),s="html"==t.element_format,{start:function(e,t,n){var l,c,d,f;if(r&&o[e]&&u.length>0&&(f=u[u.length-1],f.length>0&&"\n"!==f&&u.push("\n")),u.push("<",e),t)for(l=0,c=t.length;l<c;l++)d=t[l],u.push(" ",d.name,'="',a(d.value,!0),'"');!n||s?u[u.length]=">":u[u.length]=" />",n&&r&&i[e]&&u.length>0&&(f=u[u.length-1],f.length>0&&"\n"!==f&&u.push("\n"))},end:function(e){var t;u.push("</",e,">"),r&&i[e]&&u.length>0&&(t=u[u.length-1],t.length>0&&"\n"!==t&&u.push("\n"))},text:function(e,t){e.length>0&&(u[u.length]=t?e:a(e))},cdata:function(e){u.push("<![CDATA[",e,"]]>")},comment:function(e){u.push("<!--",e,"-->")},pi:function(e,t){t?u.push("<?",e," ",a(t),"?>"):u.push("<?",e,"?>"),r&&u.push("\n")},doctype:function(e){u.push("<!DOCTYPE",e,">",r?"\n":"")},reset:function(){u.length=0},getContent:function(){return u.join("").replace(/\n$/,"")}}}}),i("tinymce/html/Serializer",["tinymce/html/Writer","tinymce/html/Schema"],function(e,t){return function(n,r){var o=this,i=new e(n);n=n||{},n.validate=!("validate"in n)||n.validate,o.schema=r=r||new t,o.writer=i,o.serialize=function(e){function t(e){var n,s,u,l,c,d,f,p,h,m=o[e.type];if(m)m(e);else{if(n=e.name,s=e.shortEnded,u=e.attributes,a&&u&&u.length>1&&(d=[],d.map={},h=r.getElementRule(e.name))){for(f=0,p=h.attributesOrder.length;f<p;f++)l=h.attributesOrder[f],l in u.map&&(c=u.map[l],d.map[l]=c,d.push({name:l,value:c}));for(f=0,p=u.length;f<p;f++)l=u[f].name,l in d.map||(c=u.map[l],d.map[l]=c,d.push({name:l,value:c}));u=d}if(i.start(e.name,u,s),!s){if(e=e.firstChild)do t(e);while(e=e.next);i.end(n)}}}var o,a;return a=n.validate,o={3:function(e){i.text(e.value,e.raw)},8:function(e){i.comment(e.value)},7:function(e){i.pi(e.name,e.value)},10:function(e){i.doctype(e.value)},4:function(e){i.cdata(e.value)},11:function(e){if(e=e.firstChild)do t(e);while(e=e.next)}},i.reset(),1!=e.type||n.inner?o[11](e):t(e),i.getContent()}}}),i("tinymce/dom/Serializer",["tinymce/dom/DOMUtils","tinymce/html/DomParser","tinymce/html/SaxParser","tinymce/html/Entities","tinymce/html/Serializer","tinymce/html/Node","tinymce/html/Schema","tinymce/Env","tinymce/util/Tools","tinymce/text/Zwsp"],function(e,t,n,r,o,i,a,s,u,l){function c(e){function t(e){return e&&"br"===e.name}var n,r;n=e.lastChild,t(n)&&(r=n.prev,t(r)&&(n.remove(),r.remove()))}var d=u.each,f=u.trim,p=e.DOM;return function(e,i){function h(e){var t=new RegExp(["<span[^>]+data-mce-bogus[^>]+>[​\ufeff]+<\\/span>","\\s?("+w.join("|")+')="[^"]+"'].join("|"),"gi");return e=l.trim(e.replace(t,""))}function m(e){var t,r,o,a,s,u=e,l=/<(\w+) [^>]*data-mce-bogus="all"[^>]*>/g,c=i.schema;for(u=h(u),s=c.getShortEndedElements();a=l.exec(u);)r=l.lastIndex,o=a[0].length,
-t=s[a[1]]?r:n.findEndTag(c,u,r),u=u.substring(0,r-o)+u.substring(t),l.lastIndex=r-o;return u}function v(){return m(i.getBody().innerHTML)}function g(e){u.inArray(w,e)===-1&&(_.addAttributeFilter(e,function(e,t){for(var n=e.length;n--;)e[n].attr(t,null)}),w.push(e))}var y,b,_,w=["data-mce-selected"];return i&&(y=i.dom,b=i.schema),y=y||p,b=b||new a(e),e.entity_encoding=e.entity_encoding||"named",e.remove_trailing_brs=!("remove_trailing_brs"in e)||e.remove_trailing_brs,_=new t(e,b),_.addAttributeFilter("data-mce-tabindex",function(e,t){for(var n,r=e.length;r--;)n=e[r],n.attr("tabindex",n.attributes.map["data-mce-tabindex"]),n.attr(t,null)}),_.addAttributeFilter("src,href,style",function(t,n){for(var r,o,i,a=t.length,s="data-mce-"+n,u=e.url_converter,l=e.url_converter_scope;a--;)r=t[a],o=r.attributes.map[s],o!==i?(r.attr(n,o.length>0?o:null),r.attr(s,null)):(o=r.attributes.map[n],"style"===n?o=y.serializeStyle(y.parseStyle(o),r.name):u&&(o=u.call(l,o,n,r.name)),r.attr(n,o.length>0?o:null))}),_.addAttributeFilter("class",function(e){for(var t,n,r=e.length;r--;)t=e[r],n=t.attr("class"),n&&(n=t.attr("class").replace(/(?:^|\s)mce-item-\w+(?!\S)/g,""),t.attr("class",n.length>0?n:null))}),_.addAttributeFilter("data-mce-type",function(e,t,n){for(var r,o=e.length;o--;)r=e[o],"bookmark"!==r.attributes.map["data-mce-type"]||n.cleanup||r.remove()}),_.addNodeFilter("noscript",function(e){for(var t,n=e.length;n--;)t=e[n].firstChild,t&&(t.value=r.decode(t.value))}),_.addNodeFilter("script,style",function(e,t){function n(e){return e.replace(/(<!--\[CDATA\[|\]\]-->)/g,"\n").replace(/^[\r\n]*|[\r\n]*$/g,"").replace(/^\s*((<!--)?(\s*\/\/)?\s*<!\[CDATA\[|(<!--\s*)?\/\*\s*<!\[CDATA\[\s*\*\/|(\/\/)?\s*<!--|\/\*\s*<!--\s*\*\/)\s*[\r\n]*/gi,"").replace(/\s*(\/\*\s*\]\]>\s*\*\/(-->)?|\s*\/\/\s*\]\]>(-->)?|\/\/\s*(-->)?|\]\]>|\/\*\s*-->\s*\*\/|\s*-->\s*)\s*$/g,"")}for(var r,o,i,a=e.length;a--;)r=e[a],o=r.firstChild?r.firstChild.value:"","script"===t?(i=r.attr("type"),i&&r.attr("type","mce-no/type"==i?null:i.replace(/^mce\-/,"")),o.length>0&&(r.firstChild.value="// <![CDATA[\n"+n(o)+"\n// ]]>")):o.length>0&&(r.firstChild.value="<!--\n"+n(o)+"\n-->")}),_.addNodeFilter("#comment",function(e){for(var t,n=e.length;n--;)t=e[n],0===t.value.indexOf("[CDATA[")?(t.name="#cdata",t.type=4,t.value=t.value.replace(/^\[CDATA\[|\]\]$/g,"")):0===t.value.indexOf("mce:protected ")&&(t.name="#text",t.type=3,t.raw=!0,t.value=unescape(t.value).substr(14))}),_.addNodeFilter("xml:namespace,input",function(e,t){for(var n,r=e.length;r--;)n=e[r],7===n.type?n.remove():1===n.type&&("input"!==t||"type"in n.attributes.map||n.attr("type","text"))}),_.addAttributeFilter("data-mce-src,data-mce-href,data-mce-style,data-mce-selected,data-mce-expando,data-mce-type,data-mce-resize",function(e,t){for(var n=e.length;n--;)e[n].attr(t,null)}),{schema:b,addNodeFilter:_.addNodeFilter,addAttributeFilter:_.addAttributeFilter,serialize:function(t,n){var r,i,a,u,p,h,m=this;return s.ie&&y.select("script,style,select,map").length>0?(p=t.innerHTML,t=t.cloneNode(!1),y.setHTML(t,p)):t=t.cloneNode(!0),r=document.implementation,r.createHTMLDocument&&(i=r.createHTMLDocument(""),d("BODY"==t.nodeName?t.childNodes:[t],function(e){i.body.appendChild(i.importNode(e,!0))}),t="BODY"!=t.nodeName?i.body.firstChild:i.body,a=y.doc,y.doc=i),n=n||{},n.format=n.format||"html",n.selection&&(n.forced_root_block=""),n.no_events||(n.node=t,m.onPreProcess(n)),h=_.parse(f(n.getInner?t.innerHTML:y.getOuterHTML(t)),n),c(h),u=new o(e,b),n.content=u.serialize(h),n.cleanup||(n.content=l.trim(n.content),n.content=n.content.replace(/\uFEFF/g,"")),n.no_events||m.onPostProcess(n),a&&(y.doc=a),n.node=null,n.content},addRules:function(e){b.addValidElements(e)},setRules:function(e){b.setValidElements(e)},onPreProcess:function(e){i&&i.fire("PreProcess",e)},onPostProcess:function(e){i&&i.fire("PostProcess",e)},addTempAttr:g,trimHtml:h,getTrimmedContent:v,trimContent:m}}}),i("tinymce/dom/TridentSelection",[],function(){function e(e){function t(t,n){var r,o,i,a,s,u,l,c,d=0,f=-1;if(r=t.duplicate(),r.collapse(n),c=r.parentElement(),c.ownerDocument===e.dom.doc){for(;"false"===c.contentEditable;)c=c.parentNode;if(!c.hasChildNodes())return{node:c,inside:1};for(a=c.children,o=a.length-1;d<=o;)if(l=Math.floor((d+o)/2),s=a[l],r.moveToElementText(s),f=r.compareEndPoints(n?"StartToStart":"EndToEnd",t),f>0)o=l-1;else{if(!(f<0))return{node:s};d=l+1}if(f<0)for(s?r.collapse(!1):(r.moveToElementText(c),r.collapse(!0),s=c,i=!0),u=0;0!==r.compareEndPoints(n?"StartToStart":"StartToEnd",t)&&0!==r.move("character",1)&&c==r.parentElement();)u++;else for(r.collapse(!0),u=0;0!==r.compareEndPoints(n?"StartToStart":"StartToEnd",t)&&0!==r.move("character",-1)&&c==r.parentElement();)u++;return{node:s,position:f,offset:u,inside:i}}}function n(){function n(e){var n,r,o,i,a,s=t(c,e),u=0;if(n=s.node,r=s.offset,s.inside&&!n.hasChildNodes())return void d[e?"setStart":"setEnd"](n,0);if(r===i)return void d[e?"setStartBefore":"setEndAfter"](n);if(s.position<0){if(o=s.inside?n.firstChild:n.nextSibling,!o)return void d[e?"setStartAfter":"setEndAfter"](n);if(!r)return void(3==o.nodeType?d[e?"setStart":"setEnd"](o,0):d[e?"setStartBefore":"setEndBefore"](o));for(;o;){if(3==o.nodeType&&(a=o.nodeValue,u+=a.length,u>=r)){n=o,u-=r,u=a.length-u;break}o=o.nextSibling}}else{if(o=n.previousSibling,!o)return d[e?"setStartBefore":"setEndBefore"](n);if(!r)return void(3==n.nodeType?d[e?"setStart":"setEnd"](o,n.nodeValue.length):d[e?"setStartAfter":"setEndAfter"](o));for(;o;){if(3==o.nodeType&&(u+=o.nodeValue.length,u>=r)){n=o,u-=r;break}o=o.previousSibling}}d[e?"setStart":"setEnd"](n,u)}var i,a,s,u,l,c=e.getRng(),d=o.createRng();if(i=c.item?c.item(0):c.parentElement(),i.ownerDocument!=o.doc)return d;if(a=e.isCollapsed(),c.item)return d.setStart(i.parentNode,o.nodeIndex(i)),d.setEnd(d.startContainer,d.startOffset+1),d;try{n(!0),a||n()}catch(t){if(t.number!=-2147024809)throw t;l=r.getBookmark(2),s=c.duplicate(),s.collapse(!0),i=s.parentElement(),a||(s=c.duplicate(),s.collapse(!1),u=s.parentElement(),u.innerHTML=u.innerHTML),i.innerHTML=i.innerHTML,r.moveToBookmark(l),c=e.getRng(),n(!0),a||n()}return d}var r=this,o=e.dom,i=!1;this.getBookmark=function(n){function r(e){var t,n,r,i,a=[];for(t=e.parentNode,n=o.getRoot().parentNode;t!=n&&9!==t.nodeType;){for(r=t.children,i=r.length;i--;)if(e===r[i]){a.push(i);break}e=t,t=t.parentNode}return a}function i(e){var n;if(n=t(a,e))return{position:n.position,offset:n.offset,indexes:r(n.node),inside:n.inside}}var a=e.getRng(),s={};return 2===n&&(a.item?s.start={ctrl:!0,indexes:r(a.item(0))}:(s.start=i(!0),e.isCollapsed()||(s.end=i()))),s},this.moveToBookmark=function(e){function t(e){var t,n,r,i;for(t=o.getRoot(),n=e.length-1;n>=0;n--)i=t.children,r=e[n],r<=i.length-1&&(t=i[r]);return t}function n(n){var o,a,s,u,l=e[n?"start":"end"];l&&(o=l.position>0,a=i.createTextRange(),a.moveToElementText(t(l.indexes)),u=l.offset,u!==s?(a.collapse(l.inside||o),a.moveStart("character",o?-u:u)):a.collapse(n),r.setEndPoint(n?"StartToStart":"EndToStart",a),n&&r.collapse(!0))}var r,i=o.doc.body;e.start&&(e.start.ctrl?(r=i.createControlRange(),r.addElement(t(e.start.indexes)),r.select()):(r=i.createTextRange(),n(!0),n(),r.select()))},this.addRange=function(t){function n(e){var t,n,a,d,f;a=o.create("a"),t=e?s:l,n=e?u:c,d=r.duplicate(),t!=h&&t!=h.documentElement||(t=m,n=0),3==t.nodeType?(t.parentNode.insertBefore(a,t),d.moveToElementText(a),d.moveStart("character",n),o.remove(a),r.setEndPoint(e?"StartToStart":"EndToEnd",d)):(f=t.childNodes,f.length?(n>=f.length?o.insertAfter(a,f[f.length-1]):t.insertBefore(a,f[n]),d.moveToElementText(a)):t.canHaveHTML&&(t.innerHTML="<span>&#xFEFF;</span>",a=t.firstChild,d.moveToElementText(a),d.collapse(i)),r.setEndPoint(e?"StartToStart":"EndToEnd",d),o.remove(a))}var r,a,s,u,l,c,d,f,p,h=e.dom.doc,m=h.body;if(s=t.startContainer,u=t.startOffset,l=t.endContainer,c=t.endOffset,r=m.createTextRange(),s==l&&1==s.nodeType){if(u==c&&!s.hasChildNodes()){if(s.canHaveHTML)return d=s.previousSibling,d&&!d.hasChildNodes()&&o.isBlock(d)?d.innerHTML="&#xFEFF;":d=null,s.innerHTML="<span>&#xFEFF;</span><span>&#xFEFF;</span>",r.moveToElementText(s.lastChild),r.select(),o.doc.selection.clear(),s.innerHTML="",void(d&&(d.innerHTML=""));u=o.nodeIndex(s),s=s.parentNode}if(u==c-1)try{if(p=s.childNodes[u],a=m.createControlRange(),a.addElement(p),a.select(),f=e.getRng(),f.item&&p===f.item(0))return}catch(e){}}n(!0),n(),r.select()},this.getRangeAt=n}return e}),i("tinymce/util/VK",["tinymce/Env"],function(e){return{BACKSPACE:8,DELETE:46,DOWN:40,ENTER:13,LEFT:37,RIGHT:39,SPACEBAR:32,TAB:9,UP:38,modifierPressed:function(e){return e.shiftKey||e.ctrlKey||e.altKey||this.metaKeyPressed(e)},metaKeyPressed:function(t){return e.mac?t.metaKey:t.ctrlKey&&!t.altKey}}}),i("tinymce/dom/ControlSelection",["tinymce/util/VK","tinymce/util/Tools","tinymce/util/Delay","tinymce/Env","tinymce/dom/NodeType"],function(e,t,n,r,o){function i(e,t){for(;t&&t!=e;){if(s(t)||a(t))return t;t=t.parentNode}return null}var a=o.isContentEditableFalse,s=o.isContentEditableTrue;return function(o,s){function u(e){var t=s.settings.object_resizing;return t!==!1&&!r.iOS&&("string"!=typeof t&&(t="table,img,div"),"false"!==e.getAttribute("data-mce-resize")&&(e!=s.getBody()&&s.dom.is(e,t)))}function l(t){var n,r,o,i,a;n=t.screenX-N,r=t.screenY-I,F=n*O[2]+R,U=r*O[3]+j,F=F<5?5:F,U=U<5?5:U,o="IMG"==T.nodeName&&s.settings.resize_img_proportional!==!1?!e.modifierPressed(t):e.modifierPressed(t)||"IMG"==T.nodeName&&O[2]*O[3]!==0,o&&($(n)>$(r)?(U=K(F*L),F=K(U/L)):(F=K(U/L),U=K(F*L))),q.setStyles(k,{width:F,height:U}),i=O.startPos.x+n,a=O.startPos.y+r,i=i>0?i:0,a=a>0?a:0,q.setStyles(S,{left:i,top:a,display:"block"}),S.innerHTML=F+" &times; "+U,O[2]<0&&k.clientWidth<=F&&q.setStyle(k,"left",P+(R-F)),O[3]<0&&k.clientHeight<=U&&q.setStyle(k,"top",D+(j-U)),n=X.scrollWidth-H,r=X.scrollHeight-z,n+r!==0&&q.setStyles(S,{left:i-n,top:a-r}),B||(s.fire("ObjectResizeStart",{target:T,width:R,height:j}),B=!0)}function c(){function e(e,t){t&&(T.style[e]||!s.schema.isValid(T.nodeName.toLowerCase(),e)?q.setStyle(T,e,t):q.setAttrib(T,e,t))}B=!1,e("width",F),e("height",U),q.unbind(V,"mousemove",l),q.unbind(V,"mouseup",c),G!=V&&(q.unbind(G,"mousemove",l),q.unbind(G,"mouseup",c)),q.remove(k),q.remove(S),Y&&"TABLE"!=T.nodeName||d(T),s.fire("ObjectResized",{target:T,width:F,height:U}),q.setAttrib(T,"style",q.getAttrib(T,"style")),s.nodeChanged()}function d(e,t,n){var o,i,a,d,p;f(),w(),o=q.getPos(e,X),P=o.x,D=o.y,p=e.getBoundingClientRect(),i=p.width||p.right-p.left,a=p.height||p.bottom-p.top,T!=e&&(_(),T=e,F=U=0),d=s.fire("ObjectSelected",{target:e}),u(e)&&!d.isDefaultPrevented()?W(M,function(e,o){function s(t){N=t.screenX,I=t.screenY,R=T.clientWidth,j=T.clientHeight,L=j/R,O=e,e.startPos={x:i*e[0]+P,y:a*e[1]+D},H=X.scrollWidth,z=X.scrollHeight,k=T.cloneNode(!0),q.addClass(k,"mce-clonedresizable"),q.setAttrib(k,"data-mce-bogus","all"),k.contentEditable=!1,k.unSelectabe=!0,q.setStyles(k,{left:P,top:D,margin:0}),k.removeAttribute("data-mce-selected"),X.appendChild(k),q.bind(V,"mousemove",l),q.bind(V,"mouseup",c),G!=V&&(q.bind(G,"mousemove",l),q.bind(G,"mouseup",c)),S=q.add(X,"div",{class:"mce-resize-helper","data-mce-bogus":"all"},R+" &times; "+j)}var u;return t?void(o==t&&s(n)):(u=q.get("mceResizeHandle"+o),u&&q.remove(u),u=q.add(X,"div",{id:"mceResizeHandle"+o,"data-mce-bogus":"all",class:"mce-resizehandle",unselectable:!0,style:"cursor:"+o+"-resize; margin:0; padding:0"}),r.ie&&(u.contentEditable=!1),q.bind(u,"mousedown",function(e){e.stopImmediatePropagation(),e.preventDefault(),s(e)}),e.elm=u,void q.setStyles(u,{left:i*e[0]+P-u.offsetWidth/2,top:a*e[1]+D-u.offsetHeight/2}))}):f(),T.setAttribute("data-mce-selected","1")}function f(){var e,t;w(),T&&T.removeAttribute("data-mce-selected");for(e in M)t=q.get("mceResizeHandle"+e),t&&(q.unbind(t),q.remove(t))}function p(e){function t(e,t){if(e)do if(e===t)return!0;while(e=e.parentNode)}var n,r;if(!B&&!s.removed)return W(q.select("img[data-mce-selected],hr[data-mce-selected]"),function(e){e.removeAttribute("data-mce-selected")}),r="mousedown"==e.type?e.target:o.getNode(),r=q.$(r).closest(Y?"table":"table,img,hr")[0],t(r,X)&&(C(),n=o.getStart(!0),t(n,r)&&t(o.getEnd(!0),r)&&(!Y||r!=n&&"IMG"!==n.nodeName))?void d(r):void f()}function h(e,t,n){e&&e.attachEvent&&e.attachEvent("on"+t,n)}function m(e,t,n){e&&e.detachEvent&&e.detachEvent("on"+t,n)}function v(e){var t,n,r,o,i,a,u,l=e.srcElement;t=l.getBoundingClientRect(),a=A.clientX-t.left,u=A.clientY-t.top;for(n in M)if(r=M[n],o=l.offsetWidth*r[0],i=l.offsetHeight*r[1],$(o-a)<8&&$(i-u)<8){O=r;break}B=!0,s.fire("ObjectResizeStart",{target:T,width:T.clientWidth,height:T.clientHeight}),s.getDoc().selection.empty(),d(l,n,A)}function g(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function y(e){return a(i(s.getBody(),e))}function b(e){var t=e.srcElement;if(y(t))return void g(e);if(t!=T){if(s.fire("ObjectSelected",{target:t}),_(),0===t.id.indexOf("mceResizeHandle"))return void(e.returnValue=!1);"IMG"!=t.nodeName&&"TABLE"!=t.nodeName||(f(),T=t,h(t,"resizestart",v))}}function _(){m(T,"resizestart",v)}function w(){for(var e in M){var t=M[e];t.elm&&(q.unbind(t.elm),delete t.elm)}}function C(){try{s.getDoc().execCommand("enableObjectResizing",!1,!1)}catch(e){}}function x(e){var t;if(Y){t=V.body.createControlRange();try{return t.addElement(e),t.select(),!0}catch(e){}}}function E(){T=k=null,Y&&(_(),m(X,"controlselect",b))}var T,k,S,M,O,A,N,I,P,D,R,j,L,B,F,U,H,z,q=s.dom,W=t.each,V=s.getDoc(),G=document,Y=r.ie&&r.ie<11,$=Math.abs,K=Math.round,X=s.getBody();M={nw:[0,0,-1,-1],ne:[1,0,1,-1],se:[1,1,1,1],sw:[0,1,-1,1]};var Q=".mce-content-body";return s.contentStyles.push(Q+" div.mce-resizehandle {position: absolute;border: 1px solid black;box-sizing: box-sizing;background: #FFF;width: 7px;height: 7px;z-index: 10000}"+Q+" .mce-resizehandle:hover {background: #000}"+Q+" img[data-mce-selected],"+Q+" hr[data-mce-selected] {outline: 1px solid black;resize: none}"+Q+" .mce-clonedresizable {position: absolute;"+(r.gecko?"":"outline: 1px dashed black;")+"opacity: .5;filter: alpha(opacity=50);z-index: 10000}"+Q+" .mce-resize-helper {background: #555;background: rgba(0,0,0,0.75);border-radius: 3px;border: 1px;color: white;display: none;font-family: sans-serif;font-size: 12px;white-space: nowrap;line-height: 14px;margin: 5px 10px;padding: 5px;position: absolute;z-index: 10001}"),s.on("init",function(){Y?(s.on("ObjectResized",function(e){"TABLE"!=e.target.nodeName&&(f(),x(e.target))}),h(X,"controlselect",b),s.on("mousedown",function(e){A=e})):(C(),r.ie>=11&&(s.on("mousedown click",function(e){var t=e.target,n=t.nodeName;B||!/^(TABLE|IMG|HR)$/.test(n)||y(t)||(s.selection.select(t,"TABLE"==n),"mousedown"==e.type&&s.nodeChanged())}),s.dom.bind(X,"mscontrolselect",function(e){function t(e){n.setEditorTimeout(s,function(){s.selection.select(e)})}return y(e.target)?(e.preventDefault(),void t(e.target)):void(/^(TABLE|IMG|HR)$/.test(e.target.nodeName)&&(e.preventDefault(),"IMG"==e.target.tagName&&t(e.target)))})));var e=n.throttle(function(e){s.composing||p(e)});s.on("nodechange ResizeEditor ResizeWindow drop",e),s.on("keyup compositionend",function(t){T&&"TABLE"==T.nodeName&&e(t)}),s.on("hide blur",f)}),s.on("remove",w),{isResizable:u,showResizeRect:d,hideResizeRect:f,updateResizeRect:p,controlSelect:x,destroy:E}}}),i("tinymce/util/Fun",[],function(){function e(e){return function(){return e}}function t(e){return function(t){return!e(t)}}function n(e,t){return function(n){return e(t(n))}}function r(){var e=s.call(arguments);return function(t){for(var n=0;n<e.length;n++)if(e[n](t))return!0;return!1}}function o(){var e=s.call(arguments);return function(t){for(var n=0;n<e.length;n++)if(!e[n](t))return!1;return!0}}function i(e){var t=s.call(arguments);return t.length-1>=e.length?e.apply(this,t.slice(1)):function(){var e=t.concat([].slice.call(arguments));return i.apply(this,e)}}function a(){}var s=[].slice;return{constant:e,negate:t,and:o,or:r,curry:i,compose:n,noop:a}}),i("tinymce/caret/CaretCandidate",["tinymce/dom/NodeType","tinymce/util/Arr","tinymce/caret/CaretContainer"],function(e,t,n){function r(e){return!m(e)&&(d(e)?!f(e.parentNode):p(e)||c(e)||h(e)||l(e))}function o(e,t){for(e=e.parentNode;e&&e!=t;e=e.parentNode){if(l(e))return!1;if(u(e))return!0}return!0}function i(e){return!!l(e)&&t.reduce(e.getElementsByTagName("*"),function(e,t){return e||u(t)},!1)!==!0}function a(e){return p(e)||i(e)}function s(e,t){return r(e)&&o(e,t)}var u=e.isContentEditableTrue,l=e.isContentEditableFalse,c=e.isBr,d=e.isText,f=e.matchNodeNames("script style textarea"),p=e.matchNodeNames("img input textarea hr iframe video audio object"),h=e.matchNodeNames("table"),m=n.isCaretContainer;return{isCaretCandidate:r,isInEditable:o,isAtomic:a,isEditableCaretCandidate:s}}),i("tinymce/geom/ClientRect",[],function(){function e(e){return e?{left:c(e.left),top:c(e.top),bottom:c(e.bottom),right:c(e.right),width:c(e.width),height:c(e.height)}:{left:0,top:0,bottom:0,right:0,width:0,height:0}}function t(t,n){return t=e(t),n?t.right=t.left:(t.left=t.left+t.width,t.right=t.left),t.width=0,t}function n(e,t){return e.left===t.left&&e.top===t.top&&e.bottom===t.bottom&&e.right===t.right}function r(e,t,n){return e>=0&&e<=Math.min(t.height,n.height)/2}function o(e,t){return e.bottom<t.top||!(e.top>t.bottom)&&r(t.top-e.bottom,e,t)}function i(e,t){return e.top>t.bottom||!(e.bottom<t.top)&&r(t.bottom-e.top,e,t)}function a(e,t){return e.left<t.left}function s(e,t){return e.right>t.right}function u(e,t){return o(e,t)?-1:i(e,t)?1:a(e,t)?-1:s(e,t)?1:0}function l(e,t,n){return t>=e.left&&t<=e.right&&n>=e.top&&n<=e.bottom}var c=Math.round;return{clone:e,collapse:t,isEqual:n,isAbove:o,isBelow:i,isLeft:a,isRight:s,compare:u,containsXY:l}}),i("tinymce/text/ExtendingChar",[],function(){function e(e){return"string"==typeof e&&e.charCodeAt(0)>=768&&t.test(e)}var t=new RegExp("[̀-ͯ҃-҇҈-҉֑-ֽֿׁ-ׂׄ-ׇׅؐ-ًؚ-ٰٟۖ-ۜ۟-ۤۧ-۪ۨ-ܑۭܰ-݊ަ-ް߫-߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࣣ-ंऺ़ु-ै्॑-ॗॢ-ॣঁ়াু-ৄ্ৗৢ-ৣਁ-ਂ਼ੁ-ੂੇ-ੈੋ-੍ੑੰ-ੱੵઁ-ં઼ુ-ૅે-ૈ્ૢ-ૣଁ଼ାିୁ-ୄ୍ୖୗୢ-ୣஂாீ்ௗఀా-ీె-ైొ-్ౕ-ౖౢ-ౣಁ಼ಿೂೆೌ-್ೕ-ೖೢ-ೣഁാു-ൄ്ൗൢ-ൣ්ාි-ුූෟัิ-ฺ็-๎ັິ-ູົ-ຼ່-ໍ༘-ཱ༹༙༵༷-ཾྀ-྄྆-྇ྍ-ྗྙ-ྼ࿆ိ-ူဲ-့္-်ွ-ှၘ-ၙၞ-ၠၱ-ၴႂႅ-ႆႍႝ፝-፟ᜒ-᜔ᜲ-᜴ᝒ-ᝓᝲ-ᝳ឴-឵ិ-ួំ៉-៓៝᠋-᠍ᢩᤠ-ᤢᤧ-ᤨᤲ᤹-᤻ᨗ-ᨘᨛᩖᩘ-ᩞ᩠ᩢᩥ-ᩬᩳ-᩿᩼᪰-᪽᪾ᬀ-ᬃ᬴ᬶ-ᬺᬼᭂ᭫-᭳ᮀ-ᮁᮢ-ᮥᮨ-ᮩ᮫-ᮭ᯦ᯨ-ᯩᯭᯯ-ᯱᰬ-ᰳᰶ-᰷᳐-᳔᳒-᳢᳠-᳨᳭᳴᳸-᳹᷀-᷵᷼-᷿‌-‍⃐-⃜⃝-⃠⃡⃢-⃤⃥-⃰⳯-⵿⳱ⷠ-〪ⷿ-〭〮-゙〯-゚꙯꙰-꙲ꙴ-꙽ꚞ-ꚟ꛰-꛱ꠂ꠆ꠋꠥ-ꠦ꣄꣠-꣱ꤦ-꤭ꥇ-ꥑꦀ-ꦂ꦳ꦶ-ꦹꦼꧥꨩ-ꨮꨱ-ꨲꨵ-ꨶꩃꩌꩼꪰꪲ-ꪴꪷ-ꪸꪾ-꪿꫁ꫬ-ꫭ꫶ꯥꯨ꯭ﬞ︀-️︠-︯ﾞ-ﾟ]");return{isExtendingChar:e}}),i("tinymce/caret/CaretPosition",["tinymce/util/Fun","tinymce/dom/NodeType","tinymce/dom/DOMUtils","tinymce/dom/RangeUtils","tinymce/caret/CaretCandidate","tinymce/geom/ClientRect","tinymce/text/ExtendingChar"],function(e,t,n,r,o,i,a){function s(e){return"createRange"in e?e.createRange():n.DOM.createRng()}function u(e){return e&&/[\r\n\t ]/.test(e)}function l(e){var t,n=e.startContainer,r=e.startOffset;return!!(u(e.toString())&&g(n.parentNode)&&(t=n.data,u(t[r-1])||u(t[r+1])))}function c(e){function t(e){var t,n=e.ownerDocument,r=s(n),o=n.createTextNode(" "),a=e.parentNode;return a.insertBefore(o,e),r.setStart(o,0),r.setEnd(o,1),t=i.clone(r.getBoundingClientRect()),a.removeChild(o),t}function n(e){var n,r;return r=e.getClientRects(),n=r.length>0?i.clone(r[0]):i.clone(e.getBoundingClientRect()),b(e)&&0===n.left?t(e):n}function r(e,t){return e=i.collapse(e,t),e.width=1,e.right=e.left+1,e}function o(e){0!==e.height&&(p.length>0&&i.isEqual(e,p[p.length-1])||p.push(e))}function u(e,t){var i=s(e.ownerDocument);if(t<e.data.length){if(a.isExtendingChar(e.data[t]))return p;if(a.isExtendingChar(e.data[t-1])&&(i.setStart(e,t),i.setEnd(e,t+1),!l(i)))return o(r(n(i),!1)),p}t>0&&(i.setStart(e,t-1),i.setEnd(e,t),l(i)||o(r(n(i),!1))),t<e.data.length&&(i.setStart(e,t),i.setEnd(e,t+1),l(i)||o(r(n(i),!0)))}var c,d,p=[];if(y(e.container()))return u(e.container(),e.offset()),p;if(f(e.container()))if(e.isAtEnd())d=w(e.container(),e.offset()),y(d)&&u(d,d.data.length),v(d)&&!b(d)&&o(r(n(d),!1));else{if(d=w(e.container(),e.offset()),y(d)&&u(d,0),v(d)&&e.isAtEnd())return o(r(n(d),!1)),p;c=w(e.container(),e.offset()-1),v(c)&&!b(c)&&(h(c)||h(d)||!v(d))&&o(r(n(c),!1)),v(d)&&o(r(n(d),!0))}return p}function d(t,n,r){function o(){return y(t)?0===n:0===n}function i(){return y(t)?n>=t.data.length:n>=t.childNodes.length}function a(){var e;return e=s(t.ownerDocument),e.setStart(t,n),e.setEnd(t,n),e}function u(){return r||(r=c(new d(t,n))),r}function l(){return u().length>0}function f(e){return e&&t===e.container()&&n===e.offset()}function p(e){return w(t,e?n-1:n)}return{container:e.constant(t),offset:e.constant(n),toRange:a,getClientRects:u,isVisible:l,isAtStart:o,isAtEnd:i,isEqual:f,getNode:p}}var f=t.isElement,p=o.isCaretCandidate,h=t.matchStyleValues("display","block table"),m=t.matchStyleValues("float","left right"),v=e.and(f,p,e.negate(m)),g=e.negate(t.matchStyleValues("white-space","pre pre-line pre-wrap")),y=t.isText,b=t.isBr,_=n.nodeIndex,w=r.getNode;return d.fromRangeStart=function(e){return new d(e.startContainer,e.startOffset)},d.fromRangeEnd=function(e){return new d(e.endContainer,e.endOffset)},d.after=function(e){return new d(e.parentNode,_(e)+1)},d.before=function(e){return new d(e.parentNode,_(e))},d}),i("tinymce/caret/CaretBookmark",["tinymce/dom/NodeType","tinymce/dom/DOMUtils","tinymce/util/Fun","tinymce/util/Arr","tinymce/caret/CaretPosition"],function(e,t,n,r,o){function i(e){var t=e.parentNode;return g(t)?i(t):t}function a(e){return e?r.reduce(e.childNodes,function(e,t){return g(t)&&"BR"!=t.nodeName?e=e.concat(a(t)):e.push(t),e},[]):[]}function s(e,t){for(;(e=e.previousSibling)&&v(e);)t+=e.data.length;return t}function u(e){return function(t){return e===t}}function l(t){var n,o,s;return n=a(i(t)),o=r.findIndex(n,u(t),t),n=n.slice(0,o+1),s=r.reduce(n,function(e,t,r){return v(t)&&v(n[r-1])&&e++,e},0),n=r.filter(n,e.matchNodeNames(t.nodeName)),o=r.findIndex(n,u(t),t),o-s}function c(e){var t;return t=v(e)?"text()":e.nodeName.toLowerCase(),t+"["+l(e)+"]"}function d(e,t,n){var r=[];for(t=t.parentNode;t!=e&&(!n||!n(t));t=t.parentNode)r.push(t);return r}function f(t,o){var i,a,u,l,f,p=[];return i=o.container(),a=o.offset(),v(i)?u=s(i,a):(l=i.childNodes,a>=l.length?(u="after",a=l.length-1):u="before",i=l[a]),p.push(c(i)),f=d(t,i),f=r.filter(f,n.negate(e.isBogus)),p=p.concat(r.map(f,function(e){return c(e)})),p.reverse().join("/")+","+u}function p(t,n,o){var i=a(t);return i=r.filter(i,function(e,t){return!v(e)||!v(i[t-1])}),i=r.filter(i,e.matchNodeNames(n)),i[o]}function h(e,t){for(var n,r=e,i=0;v(r);){if(n=r.data.length,t>=i&&t<=i+n){e=r,t-=i;break}if(!v(r.nextSibling)){e=r,t=n;break}i+=n,r=r.nextSibling}return t>e.data.length&&(t=e.data.length),new o(e,t)}function m(e,t){var n,i,a;return t?(n=t.split(","),t=n[0].split("/"),a=n.length>1?n[1]:"before",i=r.reduce(t,function(e,t){return(t=/([\w\-\(\)]+)\[([0-9]+)\]/.exec(t))?("text()"===t[1]&&(t[1]="#text"),p(e,t[1],parseInt(t[2],10))):null},e),i?v(i)?h(i,parseInt(a,10)):(a="after"===a?y(i)+1:y(i),new o(i.parentNode,a)):null):null}var v=e.isText,g=e.isBogus,y=t.nodeIndex;return{create:f,resolve:m}}),i("tinymce/dom/BookmarkManager",["tinymce/Env","tinymce/util/Tools","tinymce/caret/CaretContainer","tinymce/caret/CaretBookmark","tinymce/caret/CaretPosition","tinymce/dom/NodeType","tinymce/dom/RangeUtils"],function(e,t,n,r,o,i,a){function s(s){var l=s.dom;this.getBookmark=function(e,c){function d(e,n){var r=0;return t.each(l.select(e),function(e){if("all"!==e.getAttribute("data-mce-bogus"))return e!=n&&void r++}),r}function f(e){function t(t){var n,r,o,i=t?"start":"end";n=e[i+"Container"],r=e[i+"Offset"],1==n.nodeType&&"TR"==n.nodeName&&(o=n.childNodes,n=o[Math.min(t?r:r-1,o.length-1)],n&&(r=t?0:n.childNodes.length,e["set"+(t?"Start":"End")](n,r)))}return t(!0),t(),e}function p(e){function t(e,t){var r,o,i=e[t?"startContainer":"endContainer"],a=e[t?"startOffset":"endOffset"],s=[],u=0;if(3==i.nodeType){if(c)for(r=i.previousSibling;r&&3==r.nodeType;r=r.previousSibling)a+=r.nodeValue.length;s.push(a)}else o=i.childNodes,a>=o.length&&o.length&&(u=1,a=Math.max(0,o.length-1)),s.push(l.nodeIndex(o[a],c)+u);for(;i&&i!=n;i=i.parentNode)s.push(l.nodeIndex(i,c));return s}var n=l.getRoot(),r={};return r.start=t(e,!0),s.isCollapsed()||(r.end=t(e)),r}function h(e){function t(e,t){var r;if(i.isElement(e)&&(e=a.getNode(e,t),u(e)))return e;if(n.isCaretContainer(e)){if(i.isText(e)&&n.isCaretContainerBlock(e)&&(e=e.parentNode),r=e.previousSibling,u(r))return r;if(r=e.nextSibling,u(r))return r}}return t(e.startContainer,e.startOffset)||t(e.endContainer,e.endOffset)}var m,v,g,y,b,_,w,C="&#xFEFF;";if(2==e)return _=s.getNode(),b=_?_.nodeName:null,m=s.getRng(),u(_)||"IMG"==b?{name:b,index:d(b,_)}:s.tridentSel?s.tridentSel.getBookmark(e):(_=h(m),_?(b=_.tagName,{name:b,index:d(b,_)}):p(m));if(3==e)return m=s.getRng(),{start:r.create(l.getRoot(),o.fromRangeStart(m)),end:r.create(l.getRoot(),o.fromRangeEnd(m))};if(e)return{rng:s.getRng()};if(m=s.getRng(),g=l.uniqueId(),y=s.isCollapsed(),w="overflow:hidden;line-height:0px",m.duplicate||m.item){if(m.item)return _=m.item(0),b=_.nodeName,{name:b,index:d(b,_)};v=m.duplicate();try{m.collapse(),m.pasteHTML('<span data-mce-type="bookmark" id="'+g+'_start" style="'+w+'">'+C+"</span>"),y||(v.collapse(!1),m.moveToElementText(v.parentElement()),0===m.compareEndPoints("StartToEnd",v)&&v.move("character",-1),v.pasteHTML('<span data-mce-type="bookmark" id="'+g+'_end" style="'+w+'">'+C+"</span>"))}catch(e){return null}}else{if(_=s.getNode(),b=_.nodeName,"IMG"==b)return{name:b,index:d(b,_)};v=f(m.cloneRange()),y||(v.collapse(!1),v.insertNode(l.create("span",{"data-mce-type":"bookmark",id:g+"_end",style:w},C))),m=f(m),m.collapse(!0),m.insertNode(l.create("span",{"data-mce-type":"bookmark",id:g+"_start",style:w},C))}return s.moveToBookmark({id:g,keep:1}),{id:g}},this.moveToBookmark=function(n){function o(e){var t,r,o,i,a=n[e?"start":"end"];if(a){for(o=a[0],r=d,t=a.length-1;t>=1;t--){if(i=r.childNodes,a[t]>i.length-1)return;r=i[a[t]]}3===r.nodeType&&(o=Math.min(a[0],r.nodeValue.length)),1===r.nodeType&&(o=Math.min(a[0],r.childNodes.length)),e?c.setStart(r,o):c.setEnd(r,o)}return!0}function i(r){var o,i,a,s,u=l.get(n.id+"_"+r),c=n.keep;if(u&&(o=u.parentNode,"start"==r?(c?(o=u.firstChild,i=1):i=l.nodeIndex(u),f=p=o,h=m=i):(c?(o=u.firstChild,i=1):i=l.nodeIndex(u),p=o,m=i),!c)){for(s=u.previousSibling,a=u.nextSibling,t.each(t.grep(u.childNodes),function(e){3==e.nodeType&&(e.nodeValue=e.nodeValue.replace(/\uFEFF/g,""))});u=l.get(n.id+"_"+r);)l.remove(u,1);s&&a&&s.nodeType==a.nodeType&&3==s.nodeType&&!e.opera&&(i=s.nodeValue.length,s.appendData(a.nodeValue),l.remove(a),"start"==r?(f=p=s,h=m=i):(p=s,m=i))}}function a(t){return!l.isBlock(t)||t.innerHTML||e.ie||(t.innerHTML='<br data-mce-bogus="1" />'),t}function u(){var e,t;return e=l.createRng(),t=r.resolve(l.getRoot(),n.start),e.setStart(t.container(),t.offset()),t=r.resolve(l.getRoot(),n.end),e.setEnd(t.container(),t.offset()),e}var c,d,f,p,h,m;if(n)if(t.isArray(n.start)){if(c=l.createRng(),d=l.getRoot(),s.tridentSel)return s.tridentSel.moveToBookmark(n);o(!0)&&o()&&s.setRng(c)}else"string"==typeof n.start?s.setRng(u(n)):n.id?(i("start"),i("end"),f&&(c=l.createRng(),c.setStart(a(f),h),c.setEnd(a(p),m),s.setRng(c))):n.name?s.select(l.select(n.name)[n.index]):n.rng&&s.setRng(n.rng)}}var u=i.isContentEditableFalse;return s.isBookmarkNode=function(e){return e&&"SPAN"===e.tagName&&"bookmark"===e.getAttribute("data-mce-type")},s}),i("tinymce/dom/Selection",["tinymce/dom/TreeWalker","tinymce/dom/TridentSelection","tinymce/dom/ControlSelection","tinymce/dom/RangeUtils","tinymce/dom/BookmarkManager","tinymce/dom/NodeType","tinymce/Env","tinymce/util/Tools","tinymce/caret/CaretPosition"],function(e,t,n,o,i,a,s,u,l){function c(e,r,o,a){var s=this;s.dom=e,s.win=r,s.serializer=o,s.editor=a,s.bookmarkManager=new i(s),s.controlSelection=new n(s,a),s.win.getSelection||(s.tridentSel=new t(s))}var d=u.each,f=u.trim,p=s.ie;return c.prototype={setCursorLocation:function(e,t){var n=this,r=n.dom.createRng();e?(r.setStart(e,t),r.setEnd(e,t),n.setRng(r),n.collapse(!1)):(n._moveEndPoint(r,n.editor.getBody(),!0),n.setRng(r))},getContent:function(e){var t,n,o,i=this,a=i.getRng(),s=i.dom.create("body"),u=i.getSel();return e=e||{},t=n="",e.get=!0,e.format=e.format||"html",e.selection=!0,i.editor.fire("BeforeGetContent",e),"text"==e.format?i.isCollapsed()?"":a.text||(u.toString?u.toString():""):(a.cloneContents?(o=a.cloneContents(),o&&s.appendChild(o)):a.item!==r||a.htmlText!==r?(s.innerHTML="<br>"+(a.item?a.item(0).outerHTML:a.htmlText),s.removeChild(s.firstChild)):s.innerHTML=a.toString(),/^\s/.test(s.innerHTML)&&(t=" "),/\s+$/.test(s.innerHTML)&&(n=" "),e.getInner=!0,e.content=i.isCollapsed()?"":t+i.serializer.serialize(s,e)+n,i.editor.fire("GetContent",e),e.content)},setContent:function(e,t){var n,r,o,i=this,a=i.getRng(),s=i.win.document;if(t=t||{format:"html"},t.set=!0,t.selection=!0,t.content=e,t.no_events||i.editor.fire("BeforeSetContent",t),e=t.content,a.insertNode){e+='<span id="__caret">_</span>',a.startContainer==s&&a.endContainer==s?s.body.innerHTML=e:(a.deleteContents(),0===s.body.childNodes.length?s.body.innerHTML=e:a.createContextualFragment?a.insertNode(a.createContextualFragment(e)):(r=s.createDocumentFragment(),o=s.createElement("div"),r.appendChild(o),o.outerHTML=e,a.insertNode(r))),n=i.dom.get("__caret"),a=s.createRange(),a.setStartBefore(n),a.setEndBefore(n),i.setRng(a),i.dom.remove("__caret");try{i.setRng(a)}catch(e){}}else a.item&&(s.execCommand("Delete",!1,null),a=i.getRng()),/^\s+/.test(e)?(a.pasteHTML('<span id="__mce_tmp">_</span>'+e),i.dom.remove("__mce_tmp")):a.pasteHTML(e);t.no_events||i.editor.fire("SetContent",t)},getStart:function(e){var t,n,r,o,i=this,a=i.getRng();if(a.duplicate||a.item){if(a.item)return a.item(0);for(r=a.duplicate(),r.collapse(1),t=r.parentElement(),t.ownerDocument!==i.dom.doc&&(t=i.dom.getRoot()),n=o=a.parentElement();o=o.parentNode;)if(o==t){t=n;break}return t}return t=a.startContainer,1==t.nodeType&&t.hasChildNodes()&&(e&&a.collapsed||(t=t.childNodes[Math.min(t.childNodes.length-1,a.startOffset)])),t&&3==t.nodeType?t.parentNode:t},getEnd:function(e){var t,n,r=this,o=r.getRng();return o.duplicate||o.item?o.item?o.item(0):(o=o.duplicate(),o.collapse(0),t=o.parentElement(),t.ownerDocument!==r.dom.doc&&(t=r.dom.getRoot()),t&&"BODY"==t.nodeName?t.lastChild||t:t):(t=o.endContainer,n=o.endOffset,1==t.nodeType&&t.hasChildNodes()&&(e&&o.collapsed||(t=t.childNodes[n>0?n-1:n])),t&&3==t.nodeType?t.parentNode:t)},getBookmark:function(e,t){return this.bookmarkManager.getBookmark(e,t)},moveToBookmark:function(e){return this.bookmarkManager.moveToBookmark(e)},select:function(e,t){var n,r=this,o=r.dom,i=o.createRng();if(r.lastFocusBookmark=null,e){if(!t&&r.controlSelection.controlSelect(e))return;n=o.nodeIndex(e),i.setStart(e.parentNode,n),i.setEnd(e.parentNode,n+1),t&&(r._moveEndPoint(i,e,!0),r._moveEndPoint(i,e)),r.setRng(i)}return e},isCollapsed:function(){var e=this,t=e.getRng(),n=e.getSel();return!(!t||t.item)&&(t.compareEndPoints?0===t.compareEndPoints("StartToEnd",t):!n||t.collapsed)},collapse:function(e){var t,n=this,r=n.getRng();r.item&&(t=r.item(0),r=n.win.document.body.createTextRange(),r.moveToElementText(t)),r.collapse(!!e),n.setRng(r)},getSel:function(){var e=this.win;return e.getSelection?e.getSelection():e.document.selection},getRng:function(e){function t(e,t,n){try{return t.compareBoundaryPoints(e,n)}catch(e){return-1}}var n,r,o,i,a,s,u=this;if(!u.win)return null;if(i=u.win.document,"undefined"==typeof i||null===i)return null;if(!e&&u.lastFocusBookmark){var l=u.lastFocusBookmark;return l.startContainer?(r=i.createRange(),r.setStart(l.startContainer,l.startOffset),r.setEnd(l.endContainer,l.endOffset)):r=l,r}if(e&&u.tridentSel)return u.tridentSel.getRangeAt(0);try{(n=u.getSel())&&(r=n.rangeCount>0?n.getRangeAt(0):n.createRange?n.createRange():i.createRange())}catch(e){}if(s=u.editor.fire("GetSelectionRange",{range:r}),s.range!==r)return s.range;if(p&&r&&r.setStart&&i.selection){try{a=i.selection.createRange()}catch(e){}a&&a.item&&(o=a.item(0),
-r=i.createRange(),r.setStartBefore(o),r.setEndAfter(o))}return r||(r=i.createRange?i.createRange():i.body.createTextRange()),r.setStart&&9===r.startContainer.nodeType&&r.collapsed&&(o=u.dom.getRoot(),r.setStart(o,0),r.setEnd(o,0)),u.selectedRange&&u.explicitRange&&(0===t(r.START_TO_START,r,u.selectedRange)&&0===t(r.END_TO_END,r,u.selectedRange)?r=u.explicitRange:(u.selectedRange=null,u.explicitRange=null)),r},setRng:function(e,t){var n,r,o,i=this;if(e)if(e.select){i.explicitRange=null;try{e.select()}catch(e){}}else if(i.tridentSel){if(e.cloneRange)try{i.tridentSel.addRange(e)}catch(e){}}else{if(n=i.getSel(),o=i.editor.fire("SetSelectionRange",{range:e}),e=o.range,n){i.explicitRange=e;try{n.removeAllRanges(),n.addRange(e)}catch(e){}t===!1&&n.extend&&(n.collapse(e.endContainer,e.endOffset),n.extend(e.startContainer,e.startOffset)),i.selectedRange=n.rangeCount>0?n.getRangeAt(0):null}e.collapsed||e.startContainer!=e.endContainer||!n.setBaseAndExtent||s.ie||e.endOffset-e.startOffset<2&&e.startContainer.hasChildNodes()&&(r=e.startContainer.childNodes[e.startOffset],r&&"IMG"==r.tagName&&(n.setBaseAndExtent(e.startContainer,e.startOffset,e.endContainer,e.endOffset),n.anchorNode===e.startContainer&&n.focusNode===e.endContainer||n.setBaseAndExtent(r,0,r,1))),i.editor.fire("AfterSetSelectionRange",{range:e})}},setNode:function(e){var t=this;return t.setContent(t.dom.getOuterHTML(e)),e},getNode:function(){function e(e,t){for(var n=e;e&&3===e.nodeType&&0===e.length;)e=t?e.nextSibling:e.previousSibling;return e||n}var t,n,r,o,i,a=this,s=a.getRng(),u=a.dom.getRoot();return s?(n=s.startContainer,r=s.endContainer,o=s.startOffset,i=s.endOffset,s.setStart?(t=s.commonAncestorContainer,!s.collapsed&&(n==r&&i-o<2&&n.hasChildNodes()&&(t=n.childNodes[o]),3===n.nodeType&&3===r.nodeType&&(n=n.length===o?e(n.nextSibling,!0):n.parentNode,r=0===i?e(r.previousSibling,!1):r.parentNode,n&&n===r))?n:t&&3==t.nodeType?t.parentNode:t):(t=s.item?s.item(0):s.parentElement(),t.ownerDocument!==a.win.document&&(t=u),t)):u},getSelectedBlocks:function(t,n){var r,o,i=this,a=i.dom,s=[];if(o=a.getRoot(),t=a.getParent(t||i.getStart(),a.isBlock),n=a.getParent(n||i.getEnd(),a.isBlock),t&&t!=o&&s.push(t),t&&n&&t!=n){r=t;for(var u=new e(t,o);(r=u.next())&&r!=n;)a.isBlock(r)&&s.push(r)}return n&&t!=n&&n!=o&&s.push(n),s},isForward:function(){var e,t,n=this.dom,r=this.getSel();return!(r&&r.anchorNode&&r.focusNode)||(e=n.createRng(),e.setStart(r.anchorNode,r.anchorOffset),e.collapse(!0),t=n.createRng(),t.setStart(r.focusNode,r.focusOffset),t.collapse(!0),e.compareBoundaryPoints(e.START_TO_START,t)<=0)},normalize:function(){var e=this,t=e.getRng();return s.range&&new o(e.dom).normalize(t)&&e.setRng(t,e.isForward()),t},selectorChanged:function(e,t){var n,r=this;return r.selectorChangedData||(r.selectorChangedData={},n={},r.editor.on("NodeChange",function(e){var t=e.element,o=r.dom,i=o.getParents(t,null,o.getRoot()),a={};d(r.selectorChangedData,function(e,t){d(i,function(r){if(o.is(r,t))return n[t]||(d(e,function(e){e(!0,{node:r,selector:t,parents:i})}),n[t]=e),a[t]=e,!1})}),d(n,function(e,r){a[r]||(delete n[r],d(e,function(e){e(!1,{node:t,selector:r,parents:i})}))})})),r.selectorChangedData[e]||(r.selectorChangedData[e]=[]),r.selectorChangedData[e].push(t),r},getScrollContainer:function(){for(var e,t=this.dom.getRoot();t&&"BODY"!=t.nodeName;){if(t.scrollHeight>t.clientHeight){e=t;break}t=t.parentNode}return e},scrollIntoView:function(e,t){function n(e){for(var t=0,n=0,r=e;r&&r.nodeType;)t+=r.offsetLeft||0,n+=r.offsetTop||0,r=r.offsetParent;return{x:t,y:n}}var r,o,i,s,u=this,l=u.dom,c=l.getRoot(),d=0;if(a.isElement(e)){if(t===!1&&(d=e.offsetHeight),"BODY"!=c.nodeName){var f=u.getScrollContainer();if(f)return r=n(e).y-n(f).y+d,s=f.clientHeight,i=f.scrollTop,void((r<i||r+25>i+s)&&(f.scrollTop=r<i?r:r-s+25))}o=l.getViewPort(u.editor.getWin()),r=l.getPos(e).y+d,i=o.y,s=o.h,(r<o.y||r+25>i+s)&&u.editor.getWin().scrollTo(0,r<i?r:r-s+25)}},placeCaretAt:function(e,t){this.setRng(o.getCaretRangeFromPoint(e,t,this.editor.getDoc()))},_moveEndPoint:function(t,n,r){var o=n,i=new e(n,o),a=this.dom.schema.getNonEmptyElements();do{if(3==n.nodeType&&0!==f(n.nodeValue).length)return void(r?t.setStart(n,0):t.setEnd(n,n.nodeValue.length));if(a[n.nodeName]&&!/^(TD|TH)$/.test(n.nodeName))return void(r?t.setStartBefore(n):"BR"==n.nodeName?t.setEndBefore(n):t.setEndAfter(n));if(s.ie&&s.ie<11&&this.dom.isBlock(n)&&this.dom.isEmpty(n))return void(r?t.setStart(n,0):t.setEnd(n,0))}while(n=r?i.next():i.prev());"BODY"==o.nodeName&&(r?t.setStart(o,0):t.setEnd(o,o.childNodes.length))},getBoundingClientRect:function(){var e=this.getRng();return e.collapsed?l.fromRangeStart(e).getClientRects()[0]:e.getBoundingClientRect()},destroy:function(){this.win=null,this.controlSelection.destroy()}},c}),i("tinymce/dom/ElementUtils",["tinymce/dom/BookmarkManager","tinymce/util/Tools"],function(e,t){function n(t){this.compare=function(n,o){function i(e){var n={};return r(t.getAttribs(e),function(r){var o=r.nodeName.toLowerCase();0!==o.indexOf("_")&&"style"!==o&&0!==o.indexOf("data-")&&(n[o]=t.getAttrib(e,o))}),n}function a(e,t){var n,r;for(r in e)if(e.hasOwnProperty(r)){if(n=t[r],"undefined"==typeof n)return!1;if(e[r]!=n)return!1;delete t[r]}for(r in t)if(t.hasOwnProperty(r))return!1;return!0}return n.nodeName==o.nodeName&&(!!a(i(n),i(o))&&(!!a(t.parseStyle(t.getAttrib(n,"style")),t.parseStyle(t.getAttrib(o,"style")))&&(!e.isBookmarkNode(n)&&!e.isBookmarkNode(o))))}}var r=t.each;return n}),i("tinymce/fmt/Preview",["tinymce/dom/DOMUtils","tinymce/util/Tools","tinymce/html/Schema"],function(e,t,n){function r(e,r){function o(e,t){t.classes.length&&l.addClass(e,t.classes.join(" ")),l.setAttribs(e,t.attrs)}function i(e){var t;return c="string"==typeof e?{name:e,classes:[],attrs:{}}:e,t=l.create(c.name),o(t,c),t}function a(e,n){var r="string"!=typeof e?e.nodeName.toLowerCase():e,o=f.getElementRule(r),i=o.parentsRequired;return!(!i||!i.length)&&(n&&t.inArray(i,n)!==-1?n:i[0])}function s(e,n,r){var o,u,c,d=n.length&&n[0],f=d&&d.name;if(c=a(e,f))f==c?(u=n[0],n=n.slice(1)):u=c;else if(d)u=n[0],n=n.slice(1);else if(!r)return e;return u&&(o=i(u),o.appendChild(e)),r&&(o||(o=l.create("div"),o.appendChild(e)),t.each(r,function(t){var n=i(t);o.insertBefore(n,e)})),s(o,n,u&&u.siblings)}var u,c,d,f=r&&r.schema||new n({});return e&&e.length?(c=e[0],u=i(c),d=l.create("div"),d.appendChild(s(u,e.slice(1),c.siblings)),d):""}function o(e,t){return r(a(e),t)}function i(e){var n,r={classes:[],attrs:{}};return e=r.selector=t.trim(e),"*"!==e&&(n=e.replace(/(?:([#\.]|::?)([\w\-]+)|(\[)([^\]]+)\]?)/g,function(e,n,o,i,a){switch(n){case"#":r.attrs.id=o;break;case".":r.classes.push(o);break;case":":t.inArray("checked disabled enabled read-only required".split(" "),o)!==-1&&(r.attrs[o]=o)}if("["==i){var s=a.match(/([\w\-]+)(?:\=\"([^\"]+))?/);s&&(r.attrs[s[1]]=s[2])}return""})),r.name=n||"div",r}function a(e){return e&&"string"==typeof e?(e=e.split(/\s*,\s*/)[0],e=e.replace(/\s*(~\+|~|\+|>)\s*/g,"$1"),t.map(e.split(/(?:>|\s+(?![^\[\]]+\]))/),function(e){var n=t.map(e.split(/(?:~\+|~|\+)/),i),r=n.pop();return n.length&&(r.siblings=n),r}).reverse()):[]}function s(e,t){function n(e){return e.replace(/%(\w+)/g,"")}var o,i,s,c,d,f,p="";if(f=e.settings.preview_styles,f===!1)return"";if("string"!=typeof f&&(f="font-family font-size font-weight font-style text-decoration text-transform color background-color border border-radius outline text-shadow"),"string"==typeof t){if(t=e.formatter.get(t),!t)return;t=t[0]}return"preview"in t&&(f=t.preview,f===!1)?"":(o=t.block||t.inline||"span",c=a(t.selector),c.length?(c[0].name||(c[0].name=o),o=t.selector,i=r(c,e)):i=r([o],e),s=l.select(o,i)[0]||i.firstChild,u(t.styles,function(e,t){e=n(e),e&&l.setStyle(s,t,e)}),u(t.attributes,function(e,t){e=n(e),e&&l.setAttrib(s,t,e)}),u(t.classes,function(e){e=n(e),l.hasClass(s,e)||l.addClass(s,e)}),e.fire("PreviewFormats"),l.setStyles(i,{position:"absolute",left:-65535}),e.getBody().appendChild(i),d=l.getStyle(e.getBody(),"fontSize",!0),d=/px$/.test(d)?parseInt(d,10):0,u(f.split(" "),function(t){var n=l.getStyle(s,t,!0);if(!("background-color"==t&&/transparent|rgba\s*\([^)]+,\s*0\)/.test(n)&&(n=l.getStyle(e.getBody(),t,!0),"#ffffff"==l.toHex(n).toLowerCase())||"color"==t&&"#000000"==l.toHex(n).toLowerCase())){if("font-size"==t&&/em|%$/.test(n)){if(0===d)return;n=parseFloat(n,10)/(/%$/.test(n)?100:1),n=n*d+"px"}"border"==t&&n&&(p+="padding:0 2px;"),p+=t+":"+n+";"}}),e.fire("AfterPreviewFormats"),l.remove(i),p)}var u=t.each,l=e.DOM;return{getCssText:s,parseSelector:a,selectorToHtml:o}}),i("tinymce/fmt/Hooks",["tinymce/util/Arr","tinymce/dom/NodeType","tinymce/dom/DomQuery"],function(e,t,n){function r(e,t){var n=i[e];n||(i[e]=n=[]),i[e].push(t)}function o(e,t){s(i[e],function(e){e(t)})}var i={},a=e.filter,s=e.each;return r("pre",function(r){function o(t){return u(t.previousSibling)&&e.indexOf(l,t.previousSibling)!=-1}function i(e,t){n(t).remove(),n(e).append("<br><br>").append(t.childNodes)}var u,l,c=r.selection.getRng();u=t.matchNodeNames("pre"),c.collapsed||(l=r.selection.getSelectedBlocks(),s(a(a(l,u),o),function(e){i(e.previousSibling,e)}))}),{postProcess:o}}),i("tinymce/Formatter",["tinymce/dom/TreeWalker","tinymce/dom/RangeUtils","tinymce/dom/BookmarkManager","tinymce/dom/ElementUtils","tinymce/util/Fun","tinymce/util/Tools","tinymce/fmt/Preview","tinymce/fmt/Hooks"],function(e,t,n,r,o,i,a,s){return function(u){function l(e){return e.nodeType&&(e=e.nodeName),!!u.schema.getTextBlockElements()[e.toLowerCase()]}function c(e){return/^(TH|TD)$/.test(e.nodeName)}function d(e){return e&&/^(IMG)$/.test(e.nodeName)}function f(e,t){return ne.getParents(e,t,ne.getRoot())}function p(e){return 1===e.nodeType&&"_mce_caret"===e.id}function h(){g({valigntop:[{selector:"td,th",styles:{verticalAlign:"top"}}],valignmiddle:[{selector:"td,th",styles:{verticalAlign:"middle"}}],valignbottom:[{selector:"td,th",styles:{verticalAlign:"bottom"}}],alignleft:[{selector:"figure.image",collapsed:!1,classes:"align-left",ceFalseOverride:!0,preview:"font-family font-size"},{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"left"},inherit:!1,preview:!1,defaultBlock:"div"},{selector:"img,table",collapsed:!1,styles:{float:"left"},preview:"font-family font-size"}],aligncenter:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"center"},inherit:!1,preview:!1,defaultBlock:"div"},{selector:"figure.image",collapsed:!1,classes:"align-center",ceFalseOverride:!0,preview:"font-family font-size"},{selector:"img",collapsed:!1,styles:{display:"block",marginLeft:"auto",marginRight:"auto"},preview:!1},{selector:"table",collapsed:!1,styles:{marginLeft:"auto",marginRight:"auto"},preview:"font-family font-size"}],alignright:[{selector:"figure.image",collapsed:!1,classes:"align-right",ceFalseOverride:!0,preview:"font-family font-size"},{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"right"},inherit:!1,preview:"font-family font-size",defaultBlock:"div"},{selector:"img,table",collapsed:!1,styles:{float:"right"},preview:"font-family font-size"}],alignjustify:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"justify"},inherit:!1,defaultBlock:"div",preview:"font-family font-size"}],bold:[{inline:"strong",remove:"all"},{inline:"span",styles:{fontWeight:"bold"}},{inline:"b",remove:"all"}],italic:[{inline:"em",remove:"all"},{inline:"span",styles:{fontStyle:"italic"}},{inline:"i",remove:"all"}],underline:[{inline:"span",styles:{textDecoration:"underline"},exact:!0},{inline:"u",remove:"all"}],strikethrough:[{inline:"span",styles:{textDecoration:"line-through"},exact:!0},{inline:"strike",remove:"all"}],forecolor:{inline:"span",styles:{color:"%value"},links:!0,remove_similar:!0},hilitecolor:{inline:"span",styles:{backgroundColor:"%value"},links:!0,remove_similar:!0},fontname:{inline:"span",styles:{fontFamily:"%value"}},fontsize:{inline:"span",styles:{fontSize:"%value"}},fontsize_class:{inline:"span",attributes:{class:"%value"}},blockquote:{block:"blockquote",wrapper:1,remove:"all"},subscript:{inline:"sub"},superscript:{inline:"sup"},code:{inline:"code"},link:{inline:"a",selector:"a",remove:"all",split:!0,deep:!0,onmatch:function(){return!0},onformat:function(e,t,n){me(n,function(t,n){ne.setAttrib(e,n,t)})}},removeformat:[{selector:"b,strong,em,i,font,u,strike,sub,sup,dfn,code,samp,kbd,var,cite,mark,q,del,ins",remove:"all",split:!0,expand:!1,block_expand:!0,deep:!0},{selector:"span",attributes:["style","class"],remove:"empty",split:!0,expand:!1,deep:!0},{selector:"*",attributes:["style","class"],split:!1,expand:!1,deep:!0}]}),me("p h1 h2 h3 h4 h5 h6 div address pre div dt dd samp".split(/\s/),function(e){g(e,{block:e,remove:"all"})}),g(u.settings.formats)}function m(){u.addShortcut("meta+b","bold_desc","Bold"),u.addShortcut("meta+i","italic_desc","Italic"),u.addShortcut("meta+u","underline_desc","Underline");for(var e=1;e<=6;e++)u.addShortcut("access+"+e,"",["FormatBlock",!1,"h"+e]);u.addShortcut("access+7","",["FormatBlock",!1,"p"]),u.addShortcut("access+8","",["FormatBlock",!1,"div"]),u.addShortcut("access+9","",["FormatBlock",!1,"address"])}function v(e){return e?te[e]:te}function g(e,t){e&&("string"!=typeof e?me(e,function(e,t){g(t,e)}):(t=t.length?t:[t],me(t,function(e){e.deep===J&&(e.deep=!e.selector),e.split===J&&(e.split=!e.selector||e.inline),e.remove===J&&e.selector&&!e.inline&&(e.remove="none"),e.selector&&e.inline&&(e.mixed=!0,e.block_expand=!0),"string"==typeof e.classes&&(e.classes=e.classes.split(/\s+/))}),te[e]=t))}function y(e){return e&&te[e]&&delete te[e],te}function b(e,t){var n=v(t);if(n)for(var r=0;r<n.length;r++)if(n[r].inherit===!1&&ne.is(e,n[r].selector))return!0;return!1}function _(e){var t;return u.dom.getParent(e,function(e){return t=u.dom.getStyle(e,"text-decoration"),t&&"none"!==t}),t}function w(e){var t;1===e.nodeType&&e.parentNode&&1===e.parentNode.nodeType&&(t=_(e.parentNode),u.dom.getStyle(e,"color")&&t?u.dom.setStyle(e,"text-decoration",t):u.dom.getStyle(e,"text-decoration")===t&&u.dom.setStyle(e,"text-decoration",null))}function C(t,n,r){function o(e,t){if(t=t||m,e){if(t.onformat&&t.onformat(e,t,n,r),me(t.styles,function(t,r){ne.setStyle(e,r,F(t,n))}),t.styles){var o=ne.getAttrib(e,"style");o&&e.setAttribute("data-mce-style",o)}me(t.attributes,function(t,r){ne.setAttrib(e,r,F(t,n))}),me(t.classes,function(t){t=F(t,n),ne.hasClass(e,t)||ne.addClass(e,t)})}}function i(e,t){var n=!1;return!!m.selector&&(me(e,function(e){if(!("collapsed"in e&&e.collapsed!==g))return ne.is(t,e.selector)&&!p(t)?(o(t,e),n=!0,!1):void 0}),n)}function a(){function t(t,n){var o=new e(n);for(r=o.prev2();r;r=o.prev2()){if(3==r.nodeType&&r.data.length>0)return r;if(r.childNodes.length>1||r==t||"BR"==r.tagName)return r}}var n=u.selection.getRng(),o=n.startContainer,i=n.endContainer;if(o!=i&&0===n.endOffset){var a=t(o,i),s=3==a.nodeType?a.data.length:a.childNodes.length;n.setEnd(a,s)}return n}function c(e,r,a){var s,u,c=[],d=!0;s=m.inline||m.block,u=ne.create(s),o(u),oe.walk(e,function(e){function r(e){var v,g,y,b;if(b=d,v=e.nodeName.toLowerCase(),g=e.parentNode.nodeName.toLowerCase(),1===e.nodeType&&pe(e)&&(b=d,d="true"===pe(e),y=!0),I(v,"br"))return f=0,void(m.block&&ne.remove(e));if(m.wrapper&&T(e,t,n))return void(f=0);if(d&&!y&&m.block&&!m.wrapper&&l(v)&&ie(g,s))return e=ne.rename(e,s),o(e),c.push(e),void(f=0);if(m.selector){var _=i(h,e);if(!m.inline||_)return void(f=0)}!d||y||!ie(s,v)||!ie(g,s)||!a&&3===e.nodeType&&1===e.nodeValue.length&&65279===e.nodeValue.charCodeAt(0)||p(e)||m.inline&&ae(e)?(f=0,me(ve(e.childNodes),r),y&&(d=b),f=0):(f||(f=ne.clone(u,de),e.parentNode.insertBefore(f,e),c.push(f)),f.appendChild(e))}var f;me(e,r)}),m.links===!0&&me(c,function(e){function t(e){"A"===e.nodeName&&o(e,m),me(ve(e.childNodes),t)}t(e)}),me(c,function(e){function r(e){var t=0;return me(e.childNodes,function(e){U(e)||he(e)||t++}),t}function i(e){var t=!1;return me(e.childNodes,function(e){if(D(e))return t=e,!1}),t}function a(e,t){do{if(1!==r(e))break;if(e=i(e),!e)break;if(t(e))return e}while(e);return null}function s(e){var t,n;return t=i(e),t&&!he(t)&&N(t,m)&&(n=ne.clone(t,de),o(n),ne.replace(n,e,fe),ne.remove(t,1)),n||e}var u;if(u=r(e),(c.length>1||!ae(e))&&0===u)return void ne.remove(e,1);if(m.inline||m.wrapper){if(m.exact||1!==u||(e=s(e)),me(h,function(t){me(ne.select(t.inline,e),function(e){he(e)||W(t,n,e,t.exact?e:null)})}),T(e.parentNode,t,n)&&W(m,n,e)&&(e=0),m.merge_with_parents&&ne.getParent(e.parentNode,function(r){if(T(r,t,n))return W(m,n,e)&&(e=0),fe}),!ae(e)&&!L(e,"fontSize")){var l=a(e,R("fontSize"));l&&C("fontsize",{value:L(l,"fontSize")},e)}e&&m.merge_siblings!==!1&&(e=Y(G(e),e),e=Y(e,G(e,fe)))}})}var d,f,h=v(t),m=h[0],g=!r&&re.isCollapsed();if("false"!==pe(re.getNode())){if(m){if(r)r.nodeType?i(h,r)||(f=ne.createRng(),f.setStartBefore(r),f.setEndAfter(r),c(z(f,h),null,!0)):c(r,null,!0);else if(g&&m.inline&&!ne.select("td[data-mce-selected],th[data-mce-selected]").length)K("apply",t,n);else{var y=u.selection.getNode();se||!h[0].defaultBlock||ne.getParent(y,ne.isBlock)||C(h[0].defaultBlock),u.selection.setRng(a()),d=re.getBookmark(),c(z(re.getRng(fe),h),d),m.styles&&((m.styles.color||m.styles.textDecoration)&&(ge(y,w,"childNodes"),w(y)),m.styles.backgroundColor&&P(y,R("fontSize"),j("backgroundColor",F(m.styles.backgroundColor,n)))),re.moveToBookmark(d),X(re.getRng(fe)),u.nodeChanged()}s.postProcess(t,u)}}else{r=re.getNode();for(var b=0,_=h.length;b<_;b++)if(h[b].ceFalseOverride&&ne.is(r,h[b].selector))return void o(r,h[b])}}function x(e,t,n,r){function o(e){var n,r,i,a,s;if(1===e.nodeType&&pe(e)&&(a=y,y="true"===pe(e),s=!0),n=ve(e.childNodes),y&&!s)for(r=0,i=m.length;r<i&&!W(m[r],t,e,e);r++);if(g.deep&&n.length){for(r=0,i=n.length;r<i;r++)o(n[r]);s&&(y=a)}}function i(n){var o;return me(f(n.parentNode).reverse(),function(n){var i;o||"_start"==n.id||"_end"==n.id||(i=T(n,e,t,r),i&&i.split!==!1&&(o=n))}),o}function a(e,n,r,o){var i,a,s,u,l,c;if(e){for(c=e.parentNode,i=n.parentNode;i&&i!=c;i=i.parentNode){for(a=ne.clone(i,de),l=0;l<m.length;l++)if(W(m[l],t,a,a)){a=0;break}a&&(s&&a.appendChild(s),u||(u=a),s=a)}!o||g.mixed&&ae(e)||(n=ne.split(e,n)),s&&(r.parentNode.insertBefore(s,r),u.appendChild(r))}return n}function s(e){return a(i(e),e,e,!0)}function l(e){var t=ne.get(e?"_start":"_end"),n=t[e?"firstChild":"lastChild"];return he(n)&&(n=n[e?"firstChild":"lastChild"]),3==n.nodeType&&0===n.data.length&&(n=e?t.previousSibling||t.nextSibling:t.nextSibling||t.previousSibling),ne.remove(t,!0),n}function d(e){var t,n,r=e.commonAncestorContainer;if(e=z(e,m,fe),g.split){if(t=$(e,fe),n=$(e),t!=n){if(/^(TR|TH|TD)$/.test(t.nodeName)&&t.firstChild&&(t="TR"==t.nodeName?t.firstChild.firstChild||t:t.firstChild||t),r&&/^T(HEAD|BODY|FOOT|R)$/.test(r.nodeName)&&c(n)&&n.firstChild&&(n=n.firstChild||n),ne.isChildOf(t,n)&&!ae(n)&&!c(t)&&!c(n))return t=H(t,"span",{id:"_start","data-mce-type":"bookmark"}),s(t),void(t=l(fe));t=H(t,"span",{id:"_start","data-mce-type":"bookmark"}),n=H(n,"span",{id:"_end","data-mce-type":"bookmark"}),s(t),s(n),t=l(fe),n=l()}else t=n=s(t);e.startContainer=t.parentNode?t.parentNode:t,e.startOffset=ue(t),e.endContainer=n.parentNode?n.parentNode:n,e.endOffset=ue(n)+1}oe.walk(e,function(e){me(e,function(e){o(e),1===e.nodeType&&"underline"===u.dom.getStyle(e,"text-decoration")&&e.parentNode&&"underline"===_(e.parentNode)&&W({deep:!1,exact:!0,inline:"span",styles:{textDecoration:"underline"}},null,e)})})}var p,h,m=v(e),g=m[0],y=!0;if(n)return void(n.nodeType?(h=ne.createRng(),h.setStartBefore(n),h.setEndAfter(n),d(h)):d(n));if("false"!==pe(re.getNode()))re.isCollapsed()&&g.inline&&!ne.select("td[data-mce-selected],th[data-mce-selected]").length?K("remove",e,t,r):(p=re.getBookmark(),d(re.getRng(fe)),re.moveToBookmark(p),g.inline&&k(e,t,re.getStart())&&X(re.getRng(!0)),u.nodeChanged());else{n=re.getNode();for(var b=0,w=m.length;b<w&&(!m[b].ceFalseOverride||!W(m[b],t,n,n));b++);}}function E(e,t,n){var r=v(e);!k(e,t,n)||"toggle"in r[0]&&!r[0].toggle?C(e,t,n):x(e,t,n)}function T(e,t,n,r){function o(e,t,o){var i,a,s,u=t[o];if(t.onmatch)return t.onmatch(e,t,o);if(u)if(u.length===J){for(i in u)if(u.hasOwnProperty(i)){if(a="attributes"===o?ne.getAttrib(e,i):L(e,i),r&&!a&&!t.exact)return;if((!r||t.exact)&&!I(a,B(F(u[i],n),i)))return}}else for(s=0;s<u.length;s++)if("attributes"===o?ne.getAttrib(e,u[s]):L(e,u[s]))return t;return t}var i,a,s,u=v(t);if(u&&e)for(a=0;a<u.length;a++)if(i=u[a],N(e,i)&&o(e,i,"attributes")&&o(e,i,"styles")){if(s=i.classes)for(a=0;a<s.length;a++)if(!ne.hasClass(e,s[a]))return;return i}}function k(e,t,n){function r(n){var r=ne.getRoot();return n!==r&&(n=ne.getParent(n,function(n){return!!b(n,e)||(n.parentNode===r||!!T(n,e,t,!0))}),T(n,e,t))}var o;return n?r(n):(n=re.getNode(),r(n)?fe:(o=re.getStart(),o!=n&&r(o)?fe:de))}function S(e,t){var n,r=[],o={};return n=re.getStart(),ne.getParent(n,function(n){var i,a;for(i=0;i<e.length;i++)a=e[i],!o[a]&&T(n,a,t)&&(o[a]=!0,r.push(a))},ne.getRoot()),r}function M(e){var t,n,r,o,i,a=v(e);if(a)for(t=re.getStart(),n=f(t),o=a.length-1;o>=0;o--){if(i=a[o].selector,!i||a[o].defaultBlock)return fe;for(r=n.length-1;r>=0;r--)if(ne.is(n[r],i))return fe}return de}function O(e,t,n){var r;return Q||(Q={},r={},u.on("NodeChange",function(e){var t=f(e.element),n={};t=i.grep(t,function(e){return 1==e.nodeType&&!e.getAttribute("data-mce-bogus")}),me(Q,function(e,o){me(t,function(i){return T(i,o,{},e.similar)?(r[o]||(me(e,function(e){e(!0,{node:i,format:o,parents:t})}),r[o]=e),n[o]=e,!1):!b(i,o)&&void 0})}),me(r,function(o,i){n[i]||(delete r[i],me(o,function(n){n(!1,{node:e.element,format:i,parents:t})}))})})),me(e.split(","),function(e){Q[e]||(Q[e]=[],Q[e].similar=n),Q[e].push(t)}),this}function A(e){return a.getCssText(u,e)}function N(e,t){return I(e,t.inline)?fe:I(e,t.block)?fe:t.selector?1==e.nodeType&&ne.is(e,t.selector):void 0}function I(e,t){return e=e||"",t=t||"",e=""+(e.nodeName||e),t=""+(t.nodeName||t),e.toLowerCase()==t.toLowerCase()}function P(e,t,n){me(e.childNodes,function(e){D(e)&&(t(e)&&n(e),e.hasChildNodes()&&P(e,t,n))})}function D(e){return 1==e.nodeType&&!he(e)&&!U(e)&&!p(e)}function R(e){return o.curry(function(e,t){return!(!t||!L(t,e))},e)}function j(e,t){return o.curry(function(e,t,n){ne.setStyle(n,e,t)},e,t)}function L(e,t){return B(ne.getStyle(e,t),t)}function B(e,t){return"color"!=t&&"backgroundColor"!=t||(e=ne.toHex(e)),"fontWeight"==t&&700==e&&(e="bold"),"fontFamily"==t&&(e=e.replace(/[\'\"]/g,"").replace(/,\s+/g,",")),""+e}function F(e,t){return"string"!=typeof e?e=e(t):t&&(e=e.replace(/%(\w+)/g,function(e,n){return t[n]||e})),e}function U(e){return e&&3===e.nodeType&&/^([\t \r\n]+|)$/.test(e.nodeValue)}function H(e,t,n){var r=ne.create(t,n);return e.parentNode.insertBefore(r,e),r.appendChild(e),r}function z(t,n,r){function o(e){function t(e){return"BR"==e.nodeName&&e.getAttribute("data-mce-bogus")&&!e.nextSibling}var r,o,i,a,s;if(r=o=e?v:y,a=e?"previousSibling":"nextSibling",s=ne.getRoot(),3==r.nodeType&&!U(r)&&(e?g>0:b<r.nodeValue.length))return r;for(;;){if(!n[0].block_expand&&ae(o))return o;for(i=o[a];i;i=i[a])if(!he(i)&&!U(i)&&!t(i))return o;if(o==s||o.parentNode==s){r=o;break}o=o.parentNode}return r}function i(e,t){for(t===J&&(t=3===e.nodeType?e.length:e.childNodes.length);e&&e.hasChildNodes();)e=e.childNodes[t],e&&(t=3===e.nodeType?e.length:e.childNodes.length);return{node:e,offset:t}}function a(e){for(var t=e;t;){if(1===t.nodeType&&pe(t))return"false"===pe(t)?t:e;t=t.parentNode}return e}function s(t,n,o){function i(e,t){var n,i,a=e.nodeValue;return"undefined"==typeof t&&(t=o?a.length:0),o?(n=a.lastIndexOf(" ",t),i=a.lastIndexOf(" ",t),n=n>i?n:i,n===-1||r||n++):(n=a.indexOf(" ",t),i=a.indexOf(" ",t),n=n!==-1&&(i===-1||n<i)?n:i),n}var a,s,l,c;if(3===t.nodeType){if(l=i(t,n),l!==-1)return{container:t,offset:l};c=t}for(a=new e(t,ne.getParent(t,ae)||u.getBody());s=a[o?"prev":"next"]();)if(3===s.nodeType){if(c=s,l=i(s),l!==-1)return{container:s,offset:l}}else if(ae(s))break;if(c)return n=o?0:c.length,{container:c,offset:n}}function c(e,r){var o,i,a,s;for(3==e.nodeType&&0===e.nodeValue.length&&e[r]&&(e=e[r]),o=f(e),i=0;i<o.length;i++)for(a=0;a<n.length;a++)if(s=n[a],!("collapsed"in s&&s.collapsed!==t.collapsed)&&ne.is(o[i],s.selector))return o[i];return e}function d(e,t){var r,o=ne.getRoot();if(n[0].wrapper||(r=ne.getParent(e,n[0].block,o)),r||(r=ne.getParent(3==e.nodeType?e.parentNode:e,function(e){return e!=o&&l(e)})),r&&n[0].wrapper&&(r=f(r,"ul,ol").reverse()[0]||r),!r)for(r=e;r[t]&&!ae(r[t])&&(r=r[t],!I(r,"br")););return r||e}var p,h,m,v=t.startContainer,g=t.startOffset,y=t.endContainer,b=t.endOffset;if(1==v.nodeType&&v.hasChildNodes()&&(p=v.childNodes.length-1,v=v.childNodes[g>p?p:g],3==v.nodeType&&(g=0)),1==y.nodeType&&y.hasChildNodes()&&(p=y.childNodes.length-1,y=y.childNodes[b>p?p:b-1],3==y.nodeType&&(b=y.nodeValue.length)),v=a(v),y=a(y),(he(v.parentNode)||he(v))&&(v=he(v)?v:v.parentNode,v=v.nextSibling||v,3==v.nodeType&&(g=0)),(he(y.parentNode)||he(y))&&(y=he(y)?y:y.parentNode,y=y.previousSibling||y,3==y.nodeType&&(b=y.length)),n[0].inline&&(t.collapsed&&(m=s(v,g,!0),m&&(v=m.container,g=m.offset),m=s(y,b),m&&(y=m.container,b=m.offset)),h=i(y,b),h.node)){for(;h.node&&0===h.offset&&h.node.previousSibling;)h=i(h.node.previousSibling);h.node&&h.offset>0&&3===h.node.nodeType&&" "===h.node.nodeValue.charAt(h.offset-1)&&h.offset>1&&(y=h.node,y.splitText(h.offset-1))}return(n[0].inline||n[0].block_expand)&&(n[0].inline&&3==v.nodeType&&0!==g||(v=o(!0)),n[0].inline&&3==y.nodeType&&b!==y.nodeValue.length||(y=o())),n[0].selector&&n[0].expand!==de&&!n[0].inline&&(v=c(v,"previousSibling"),y=c(y,"nextSibling")),(n[0].block||n[0].selector)&&(v=d(v,"previousSibling"),y=d(y,"nextSibling"),n[0].block&&(ae(v)||(v=o(!0)),ae(y)||(y=o()))),1==v.nodeType&&(g=ue(v),v=v.parentNode),1==y.nodeType&&(b=ue(y)+1,y=y.parentNode),{startContainer:v,startOffset:g,endContainer:y,endOffset:b}}function q(e,t){return t.links&&"A"==e.tagName}function W(e,t,n,r){var o,i,a;if(!N(n,e)&&!q(n,e))return de;if("all"!=e.remove)for(me(e.styles,function(o,i){o=B(F(o,t),i),"number"==typeof i&&(i=o,r=0),(e.remove_similar||!r||I(L(r,i),o))&&ne.setStyle(n,i,""),a=1}),a&&""===ne.getAttrib(n,"style")&&(n.removeAttribute("style"),n.removeAttribute("data-mce-style")),me(e.attributes,function(e,o){var i;if(e=F(e,t),"number"==typeof o&&(o=e,r=0),!r||I(ne.getAttrib(r,o),e)){if("class"==o&&(e=ne.getAttrib(n,o),e&&(i="",me(e.split(/\s+/),function(e){/mce\-\w+/.test(e)&&(i+=(i?" ":"")+e)}),i)))return void ne.setAttrib(n,o,i);"class"==o&&n.removeAttribute("className"),ce.test(o)&&n.removeAttribute("data-mce-"+o),n.removeAttribute(o)}}),me(e.classes,function(e){e=F(e,t),r&&!ne.hasClass(r,e)||ne.removeClass(n,e)}),i=ne.getAttribs(n),o=0;o<i.length;o++){var s=i[o].nodeName;if(0!==s.indexOf("_")&&0!==s.indexOf("data-"))return de}return"none"!=e.remove?(V(n,e),fe):void 0}function V(e,t){function n(e,t,n){return e=G(e,t,n),!e||"BR"==e.nodeName||ae(e)}var r,o=e.parentNode;t.block&&(se?o==ne.getRoot()&&(t.list_block&&I(e,t.list_block)||me(ve(e.childNodes),function(e){ie(se,e.nodeName.toLowerCase())?r?r.appendChild(e):(r=H(e,se),ne.setAttribs(r,u.settings.forced_root_block_attrs)):r=0})):ae(e)&&!ae(o)&&(n(e,de)||n(e.firstChild,fe,1)||e.insertBefore(ne.create("br"),e.firstChild),n(e,fe)||n(e.lastChild,de,1)||e.appendChild(ne.create("br")))),t.selector&&t.inline&&!I(t.inline,e)||ne.remove(e,1)}function G(e,t,n){if(e)for(t=t?"nextSibling":"previousSibling",e=n?e:e[t];e;e=e[t])if(1==e.nodeType||!U(e))return e}function Y(e,t){function n(e,t){for(o=e;o;o=o[t]){if(3==o.nodeType&&0!==o.nodeValue.length)return e;if(1==o.nodeType&&!he(o))return o}return e}var o,i,a=new r(ne);if(e&&t&&(e=n(e,"previousSibling"),t=n(t,"nextSibling"),a.compare(e,t))){for(o=e.nextSibling;o&&o!=t;)i=o,o=o.nextSibling,e.appendChild(i);return ne.remove(t),me(ve(t.childNodes),function(t){e.appendChild(t)}),e}return t}function $(t,n){var r,o,i;return r=t[n?"startContainer":"endContainer"],o=t[n?"startOffset":"endOffset"],1==r.nodeType&&(i=r.childNodes.length-1,!n&&o&&o--,r=r.childNodes[o>i?i:o]),3===r.nodeType&&n&&o>=r.nodeValue.length&&(r=new e(r,u.getBody()).next()||r),3!==r.nodeType||n||0!==o||(r=new e(r,u.getBody()).prev()||r),r}function K(t,n,r,o){function i(e){var t=ne.create("span",{id:m,"data-mce-bogus":!0,style:g?"color:red":""});return e&&t.appendChild(u.getDoc().createTextNode(le)),t}function a(e,t){for(;e;){if(3===e.nodeType&&e.nodeValue!==le||e.childNodes.length>1)return!1;t&&1===e.nodeType&&t.push(e),e=e.firstChild}return!0}function s(e){for(;e;){if(e.id===m)return e;e=e.parentNode}}function c(t){var n;if(t)for(n=new e(t,t),t=n.current();t;t=n.next())if(3===t.nodeType)return t}function d(e,t){var n,r;if(e)r=re.getRng(!0),a(e)?(t!==!1&&(r.setStartBefore(e),r.setEndBefore(e)),ne.remove(e)):(n=c(e),n.nodeValue.charAt(0)===le&&(n.deleteData(0,1),r.startContainer==n&&r.startOffset>0&&r.setStart(n,r.startOffset-1),r.endContainer==n&&r.endOffset>0&&r.setEnd(n,r.endOffset-1)),ne.remove(e,1)),re.setRng(r);else if(e=s(re.getStart()),!e)for(;e=ne.get(m);)d(e,!1)}function f(){var e,t,o,a,u,l,d;e=re.getRng(!0),a=e.startOffset,l=e.startContainer,d=l.nodeValue,t=s(re.getStart()),t&&(o=c(t));var f=/[^\s\u00a0\u00ad\u200b\ufeff]/;d&&a>0&&a<d.length&&f.test(d.charAt(a))&&f.test(d.charAt(a-1))?(u=re.getBookmark(),e.collapse(!0),e=z(e,v(n)),e=oe.split(e),C(n,r,e),re.moveToBookmark(u)):(t&&o.nodeValue===le?C(n,r,t):(t=i(!0),o=t.firstChild,e.insertNode(t),a=1,C(n,r,t)),re.setCursorLocation(o,a))}function p(){var e,t,a,s,u,c,d,f,p=re.getRng(!0),h=[];for(e=p.startContainer,t=p.startOffset,u=e,3==e.nodeType&&(t!=e.nodeValue.length&&(s=!0),u=u.parentNode);u;){if(T(u,n,r,o)){c=u;break}u.nextSibling&&(s=!0),h.push(u),u=u.parentNode}if(c)if(s)a=re.getBookmark(),p.collapse(!0),p=z(p,v(n),!0),p=oe.split(p),x(n,r,p),re.moveToBookmark(a);else{for(f=i(),u=f,d=h.length-1;d>=0;d--)u.appendChild(ne.clone(h[d],!1)),u=u.firstChild;u.appendChild(ne.doc.createTextNode(le)),u=u.firstChild;var m=ne.getParent(c,l);m&&ne.isEmpty(m)?c.parentNode.replaceChild(f,c):ne.insertAfter(f,c),re.setCursorLocation(u,1),ne.isEmpty(c)&&ne.remove(c)}}function h(){var e;e=s(re.getStart()),e&&!ne.isEmpty(e)&&ge(e,function(e){1!=e.nodeType||e.id===m||ne.isEmpty(e)||ne.setAttrib(e,"data-mce-bogus",null)},"childNodes")}var m="_mce_caret",g=u.settings.caret_debug;u._hasCaretEvents||(ee=function(){var e,t=[];if(a(s(re.getStart()),t))for(e=t.length;e--;)ne.setAttrib(t[e],"data-mce-bogus","1")},Z=function(e){var t=e.keyCode;d(),8==t&&re.isCollapsed()&&re.getStart().innerHTML==le&&d(s(re.getStart())),37!=t&&39!=t||d(s(re.getStart())),h()},u.on("SetContent",function(e){e.selection&&h()}),u._hasCaretEvents=!0),"apply"==t?f():p()}function X(t){var n,r,o,i,a,s=t.startContainer,u=t.startOffset;if((t.startContainer!=t.endContainer||!d(t.startContainer.childNodes[t.startOffset]))&&(3==s.nodeType&&u>=s.nodeValue.length&&(u=ue(s),s=s.parentNode,n=!0),1==s.nodeType))for(i=s.childNodes,s=i[Math.min(u,i.length-1)],r=new e(s,ne.getParent(s,ne.isBlock)),(u>i.length-1||n)&&r.next(),o=r.current();o;o=r.next())if(3==o.nodeType&&!U(o))return a=ne.create("a",{"data-mce-bogus":"all"},le),o.parentNode.insertBefore(a,o),t.setStart(o,0),re.setRng(t),void ne.remove(a)}var Q,J,Z,ee,te={},ne=u.dom,re=u.selection,oe=new t(ne),ie=u.schema.isValidChild,ae=ne.isBlock,se=u.settings.forced_root_block,ue=ne.nodeIndex,le="\ufeff",ce=/^(src|href|style)$/,de=!1,fe=!0,pe=ne.getContentEditable,he=n.isBookmarkNode,me=i.each,ve=i.grep,ge=i.walk,ye=i.extend;ye(this,{get:v,register:g,unregister:y,apply:C,remove:x,toggle:E,match:k,matchAll:S,matchNode:T,canApply:M,formatChanged:O,getCssText:A}),h(),m(),u.on("BeforeGetContent",function(e){ee&&"raw"!=e.format&&ee()}),u.on("mouseup keydown",function(e){Z&&Z(e)})}}),i("tinymce/undo/Diff",[],function(){var e=0,t=1,n=2,r=function(r,o){var i=r.length+o.length+2,a=new Array(i),s=new Array(i),u=function(e,t,n){return{start:e,end:t,diag:n}},l=function(i,a,s,u,c){var f=d(i,a,s,u);if(null===f||f.start===a&&f.diag===a-u||f.end===i&&f.diag===i-s)for(var p=i,h=s;p<a||h<u;)p<a&&h<u&&r[p]===o[h]?(c.push([e,r[p]]),
-++p,++h):a-i>u-s?(c.push([n,r[p]]),++p):(c.push([t,o[h]]),++h);else{l(i,f.start,s,f.start-f.diag,c);for(var m=f.start;m<f.end;++m)c.push([e,r[m]]);l(f.end,a,f.end-f.diag,u,c)}},c=function(e,t,n,i){for(var a=e;a-t<i&&a<n&&r[a]===o[a-t];)++a;return u(e,a,t)},d=function(e,t,n,i){var u=t-e,l=i-n;if(0===u||0===l)return null;var d=u-l,f=l+u,p=(f%2===0?f:f+1)/2;a[1+p]=e,s[1+p]=t+1;for(var h=0;h<=p;++h){for(var m=-h;m<=h;m+=2){var v=m+p;m===-h||m!=h&&a[v-1]<a[v+1]?a[v]=a[v+1]:a[v]=a[v-1]+1;for(var g=a[v],y=g-e+n-m;g<t&&y<i&&r[g]===o[y];)a[v]=++g,++y;if(d%2!=0&&d-h<=m&&m<=d+h&&s[v-d]<=a[v])return c(s[v-d],m+e-n,t,i)}for(m=d-h;m<=d+h;m+=2){for(v=m+p-d,m===d-h||m!=d+h&&s[v+1]<=s[v-1]?s[v]=s[v+1]-1:s[v]=s[v-1],g=s[v]-1,y=g-e+n-m;g>=e&&y>=n&&r[g]===o[y];)s[v]=g--,y--;if(d%2===0&&-h<=m&&m<=h&&s[v]<=a[v+d])return c(s[v],m+e-n,t,i)}}},f=[];return l(0,r.length,0,o.length,f),f};return{KEEP:e,DELETE:n,INSERT:t,diff:r}}),i("tinymce/undo/Fragments",["tinymce/util/Arr","tinymce/html/Entities","tinymce/undo/Diff"],function(e,t,n){var r=function(e){return 1===e.nodeType?e.outerHTML:3===e.nodeType?t.encodeRaw(e.data,!1):8===e.nodeType?"<!--"+e.data+"-->":""},o=function(e){var t,n,r;for(r=document.createElement("div"),t=document.createDocumentFragment(),e&&(r.innerHTML=e);n=r.firstChild;)t.appendChild(n);return t},i=function(e,t,n){var r=o(t);if(e.hasChildNodes()&&n<e.childNodes.length){var i=e.childNodes[n];i.parentNode.insertBefore(r,i)}else e.appendChild(r)},a=function(e,t){if(e.hasChildNodes()&&t<e.childNodes.length){var n=e.childNodes[t];n.parentNode.removeChild(n)}},s=function(t,r){var o=0;e.each(t,function(e){e[0]===n.KEEP?o++:e[0]===n.INSERT?(i(r,e[1],o),o++):e[0]===n.DELETE&&a(r,o)})},u=function(t){return e.map(t.childNodes,r)},l=function(t,o){var i=e.map(o.childNodes,r);return s(n.diff(i,t),o),o};return{read:u,write:l}}),i("tinymce/undo/Levels",["tinymce/util/Arr","tinymce/undo/Fragments"],function(e,t){var n=function(e){return e.indexOf("</iframe>")!==-1},r=function(e){return{type:"fragmented",fragments:e,content:"",bookmark:null,beforeBookmark:null}},o=function(e){return{type:"complete",fragments:null,content:e,bookmark:null,beforeBookmark:null}},i=function(i){var a,s,u;return a=t.read(i.getBody()),u=e.map(a,function(e){return i.serializer.trimContent(e)}),s=u.join(""),n(s)?r(u):o(s)},a=function(e,n,r){"fragmented"===n.type?t.write(n.fragments,e.getBody()):e.setContent(n.content,{format:"raw"}),e.selection.moveToBookmark(r?n.beforeBookmark:n.bookmark)},s=function(e){return"fragmented"===e.type?e.fragments.join(""):e.content},u=function(e,t){return s(e)===s(t)};return{createFragmentedLevel:r,createCompleteLevel:o,createFromEditor:i,applyToEditor:a,isEq:u}}),i("tinymce/UndoManager",["tinymce/util/VK","tinymce/util/Tools","tinymce/undo/Levels"],function(e,t,n){return function(e){function r(t){e.setDirty(t)}function o(e){u.typing=!1,u.add({},e)}function i(){u.typing&&(u.typing=!1,u.add())}var a,s,u=this,l=0,c=[],d=0;return e.on("init",function(){u.add()}),e.on("BeforeExecCommand",function(e){var t=e.command;"Undo"!==t&&"Redo"!==t&&"mceRepaint"!==t&&(i(),u.beforeChange())}),e.on("ExecCommand",function(e){var t=e.command;"Undo"!==t&&"Redo"!==t&&"mceRepaint"!==t&&o(e)}),e.on("ObjectResizeStart Cut",function(){u.beforeChange()}),e.on("SaveContent ObjectResized blur",o),e.on("DragEnd",o),e.on("KeyUp",function(t){var i=t.keyCode;t.isDefaultPrevented()||((i>=33&&i<=36||i>=37&&i<=40||45===i||t.ctrlKey)&&(o(),e.nodeChanged()),46!==i&&8!==i||e.nodeChanged(),s&&u.typing&&(e.isDirty()||(r(c[0]&&!n.isEq(n.createFromEditor(e),c[0])),e.isDirty()&&e.fire("change",{level:c[0],lastLevel:null})),e.fire("TypingUndo"),s=!1,e.nodeChanged()))}),e.on("KeyDown",function(e){var t=e.keyCode;if(!e.isDefaultPrevented()){if(t>=33&&t<=36||t>=37&&t<=40||45===t)return void(u.typing&&o(e));var n=e.ctrlKey&&!e.altKey||e.metaKey;!(t<16||t>20)||224===t||91===t||u.typing||n||(u.beforeChange(),u.typing=!0,u.add({},e),s=!0)}}),e.on("MouseDown",function(e){u.typing&&o(e)}),e.addShortcut("meta+z","","Undo"),e.addShortcut("meta+y,meta+shift+z","","Redo"),e.on("AddUndo Undo Redo ClearUndos",function(t){t.isDefaultPrevented()||e.nodeChanged()}),u={data:c,typing:!1,beforeChange:function(){d||(a=e.selection.getBookmark(2,!0))},add:function(o,i){var s,u,f,p=e.settings;if(f=n.createFromEditor(e),o=o||{},o=t.extend(o,f),d||e.removed)return null;if(u=c[l],e.fire("BeforeAddUndo",{level:o,lastLevel:u,originalEvent:i}).isDefaultPrevented())return null;if(u&&n.isEq(u,o))return null;if(c[l]&&(c[l].beforeBookmark=a),p.custom_undo_redo_levels&&c.length>p.custom_undo_redo_levels){for(s=0;s<c.length-1;s++)c[s]=c[s+1];c.length--,l=c.length}o.bookmark=e.selection.getBookmark(2,!0),l<c.length-1&&(c.length=l+1),c.push(o),l=c.length-1;var h={level:o,lastLevel:u,originalEvent:i};return e.fire("AddUndo",h),l>0&&(r(!0),e.fire("change",h)),o},undo:function(){var t;return u.typing&&(u.add(),u.typing=!1),l>0&&(t=c[--l],n.applyToEditor(e,t,!0),r(!0),e.fire("undo",{level:t})),t},redo:function(){var t;return l<c.length-1&&(t=c[++l],n.applyToEditor(e,t,!1),r(!0),e.fire("redo",{level:t})),t},clear:function(){c=[],l=0,u.typing=!1,u.data=c,e.fire("ClearUndos")},hasUndo:function(){return l>0||u.typing&&c[0]&&!n.isEq(n.createFromEditor(e),c[0])},hasRedo:function(){return l<c.length-1&&!u.typing},transact:function(e){i(),u.beforeChange();try{d++,e()}finally{d--}return u.add()},extra:function(t,r){var o,i;u.transact(t)&&(i=c[l].bookmark,o=c[l-1],n.applyToEditor(e,o,!0),u.transact(r)&&(c[l-1].beforeBookmark=i))}}}}),i("tinymce/EnterKey",["tinymce/dom/TreeWalker","tinymce/dom/RangeUtils","tinymce/caret/CaretContainer","tinymce/Env"],function(e,t,n,r){var o=r.ie&&r.ie<11;return function(i){function a(a){function h(e){return e&&s.isBlock(e)&&!/^(TD|TH|CAPTION|FORM)$/.test(e.nodeName)&&!/^(fixed|absolute)/i.test(e.style.position)&&"true"!==s.getContentEditable(e)}function m(e){return e&&/^(TD|TH|CAPTION)$/.test(e.nodeName)}function v(e){var t;s.isBlock(e)&&(t=u.getRng(),e.appendChild(s.create("span",null," ")),u.select(e),e.lastChild.outerHTML="",u.setRng(t))}function g(e){var t,n=e,r=[];if(n){for(;n=n.firstChild;){if(s.isBlock(n))return;1!=n.nodeType||f[n.nodeName.toLowerCase()]||r.push(n)}for(t=r.length;t--;)n=r[t],!n.hasChildNodes()||n.firstChild==n.lastChild&&""===n.firstChild.nodeValue?s.remove(n):"A"==n.nodeName&&" "===(n.innerText||n.textContent)&&s.remove(n)}}function y(t){function n(e){for(;e;){if(1==e.nodeType||3==e.nodeType&&e.data&&/[\r\n\s]/.test(e.data))return e;e=e.nextSibling}}var o,i,a,l,c=t;if(t){if(r.ie&&r.ie<9&&R&&R.firstChild&&R.firstChild==R.lastChild&&"BR"==R.firstChild.tagName&&s.remove(R.firstChild),/^(LI|DT|DD)$/.test(t.nodeName)){var d=n(t.firstChild);d&&/^(UL|OL|DL)$/.test(d.nodeName)&&t.insertBefore(s.doc.createTextNode(" "),t.firstChild)}if(a=s.createRng(),r.ie||t.normalize(),t.hasChildNodes()){for(o=new e(t,t);i=o.current();){if(3==i.nodeType){a.setStart(i,0),a.setEnd(i,0);break}if(p[i.nodeName.toLowerCase()]){a.setStartBefore(i),a.setEndBefore(i);break}c=i,i=o.next()}i||(a.setStart(c,0),a.setEnd(c,0))}else"BR"==t.nodeName?t.nextSibling&&s.isBlock(t.nextSibling)?((!j||j<9)&&(l=s.create("br"),t.parentNode.insertBefore(l,t)),a.setStartBefore(t),a.setEndBefore(t)):(a.setStartAfter(t),a.setEndAfter(t)):(a.setStart(t,0),a.setEnd(t,0));u.setRng(a),s.remove(l),u.scrollIntoView(t)}}function b(e){var t=l.forced_root_block;t&&t.toLowerCase()===e.tagName.toLowerCase()&&s.setAttribs(e,l.forced_root_block_attrs)}function _(e){e.innerHTML=o?"":'<br data-mce-bogus="1">'}function w(e){var t,n,r,i=P,a=d.getTextInlineElements();if(e||"TABLE"==H?(t=s.create(e||q),b(t)):t=R.cloneNode(!1),r=t,l.keep_styles!==!1)do if(a[i.nodeName]){if("_mce_caret"==i.id)continue;n=i.cloneNode(!1),s.setAttrib(n,"id",""),t.hasChildNodes()?(n.appendChild(t.firstChild),t.appendChild(n)):(r=n,t.appendChild(n))}while((i=i.parentNode)&&i!=I);return o||(r.innerHTML='<br data-mce-bogus="1">'),t}function C(t){var n,r,o;if(3==P.nodeType&&(t?D>0:D<P.nodeValue.length))return!1;if(P.parentNode==R&&W&&!t)return!0;if(t&&1==P.nodeType&&P==R.firstChild)return!0;if("TABLE"===P.nodeName||P.previousSibling&&"TABLE"==P.previousSibling.nodeName)return W&&!t||!W&&t;for(n=new e(P,R),3==P.nodeType&&(t&&0===D?n.prev():t||D!=P.nodeValue.length||n.next());r=n.current();){if(1===r.nodeType){if(!r.getAttribute("data-mce-bogus")&&(o=r.nodeName.toLowerCase(),f[o]&&"br"!==o))return!1}else if(3===r.nodeType&&!/^[ \t\r\n]*$/.test(r.nodeValue))return!1;t?n.prev():n.next()}return!0}function x(e,t){var n,r,o,a,u,l,c=q||"P";if(r=s.getParent(e,s.isBlock),!r||!h(r)){if(r=r||I,l=r==i.getBody()||m(r)?r.nodeName.toLowerCase():r.parentNode.nodeName.toLowerCase(),!r.hasChildNodes())return n=s.create(c),b(n),r.appendChild(n),A.setStart(n,0),A.setEnd(n,0),n;for(a=e;a.parentNode!=r;)a=a.parentNode;for(;a&&!s.isBlock(a);)o=a,a=a.previousSibling;if(o&&d.isValidChild(l,c.toLowerCase())){for(n=s.create(c),b(n),o.parentNode.insertBefore(n,o),a=o;a&&!s.isBlock(a);)u=a.nextSibling,n.appendChild(a),a=u;A.setStart(e,t),A.setEnd(e,t)}}return e}function E(){function e(e){for(var t=U[e?"firstChild":"lastChild"];t&&1!=t.nodeType;)t=t[e?"nextSibling":"previousSibling"];return t===R}function t(){var e=U.parentNode;return/^(LI|DT|DD)$/.test(e.nodeName)?e:U}if(U!=i.getBody()){var n=U.parentNode.nodeName;/^(OL|UL|LI)$/.test(n)&&(q="LI"),B=q?w(q):s.create("BR"),e(!0)&&e()?"LI"==n?s.insertAfter(B,t()):s.replace(B,U):e(!0)?"LI"==n?(s.insertAfter(B,t()),B.appendChild(s.doc.createTextNode(" ")),B.appendChild(U)):U.parentNode.insertBefore(B,U):e()?(s.insertAfter(B,t()),v(B)):(U=t(),N=A.cloneRange(),N.setStartAfter(R),N.setEndAfter(U),F=N.extractContents(),"LI"==q&&"LI"==F.firstChild.nodeName?(B=F.firstChild,s.insertAfter(F,U)):(s.insertAfter(F,U),s.insertAfter(B,U))),s.remove(R),y(B),c.add()}}function T(){i.execCommand("InsertLineBreak",!1,a)}function k(e){do 3===e.nodeType&&(e.nodeValue=e.nodeValue.replace(/^[\r\n]+/,"")),e=e.firstChild;while(e)}function S(e){var t,n,r=s.getRoot();for(t=e;t!==r&&"false"!==s.getContentEditable(t);)"true"===s.getContentEditable(t)&&(n=t),t=t.parentNode;return t!==r?n:r}function M(e){var t;o||(e.normalize(),t=e.lastChild,t&&!/^(left|right)$/gi.test(s.getStyle(t,"float",!0))||s.add(e,"br"))}function O(){B=/^(H[1-6]|PRE|FIGURE)$/.test(H)&&"HGROUP"!=z?w(q):w(),l.end_container_on_empty_block&&h(U)&&s.isEmpty(R)?B=s.split(U,R):s.insertAfter(B,R),y(B)}var A,N,I,P,D,R,j,L,B,F,U,H,z,q,W;if(A=u.getRng(!0),!a.isDefaultPrevented()){if(!A.collapsed)return void i.execCommand("Delete");if(new t(s).normalize(A),P=A.startContainer,D=A.startOffset,q=(l.force_p_newlines?"p":"")||l.forced_root_block,q=q?q.toUpperCase():"",j=s.doc.documentMode,L=a.shiftKey,1==P.nodeType&&P.hasChildNodes()&&(W=D>P.childNodes.length-1,P=P.childNodes[Math.min(D,P.childNodes.length-1)]||P,D=W&&3==P.nodeType?P.nodeValue.length:0),I=S(P)){if(c.beforeChange(),!s.isBlock(I)&&I!=s.getRoot())return void(q&&!L||T());if((q&&!L||!q&&L)&&(P=x(P,D)),R=s.getParent(P,s.isBlock),U=R?s.getParent(R.parentNode,s.isBlock):null,H=R?R.nodeName.toUpperCase():"",z=U?U.nodeName.toUpperCase():"","LI"!=z||a.ctrlKey||(R=U,H=z),i.undoManager.typing&&(i.undoManager.typing=!1,i.undoManager.add()),/^(LI|DT|DD)$/.test(H)){if(!q&&L)return void T();if(s.isEmpty(R))return void E()}if("PRE"==H&&l.br_in_pre!==!1){if(!L)return void T()}else if(!q&&!L&&"LI"!=H||q&&L)return void T();q&&R===i.getBody()||(q=q||"P",n.isCaretContainerBlock(R)?(B=n.showCaretContainerBlock(R),s.isEmpty(R)&&_(R),y(B)):C()?O():C(!0)?(B=R.parentNode.insertBefore(w(),R),v(B),y(R)):(N=A.cloneRange(),N.setEndAfter(R),F=N.extractContents(),k(F),B=F.firstChild,s.insertAfter(F,R),g(B),M(R),s.isEmpty(R)&&_(R),B.normalize(),s.isEmpty(B)?(s.remove(B),O()):y(B)),s.setAttrib(B,"id",""),i.fire("NewBlock",{newBlock:B}),c.typing=!1,c.add())}}}var s=i.dom,u=i.selection,l=i.settings,c=i.undoManager,d=i.schema,f=d.getNonEmptyElements(),p=d.getMoveCaretBeforeOnEnterElements();i.on("keydown",function(e){13==e.keyCode&&a(e)!==!1&&e.preventDefault()})}}),i("tinymce/ForceBlocks",[],function(){return function(e){function t(){var t,s,u,l,c,d,f,p,h,m,v,g,y=o.getStart(),b=e.getBody(),_=-16777215;if(g=n.forced_root_block,y&&1===y.nodeType&&g){for(;y&&y!=b;){if(a[y.nodeName])return;y=y.parentNode}if(t=o.getRng(),t.setStart){s=t.startContainer,u=t.startOffset,l=t.endContainer,c=t.endOffset;try{h=e.getDoc().activeElement===b}catch(e){}}else t.item&&(y=t.item(0),t=e.getDoc().body.createTextRange(),t.moveToElementText(y)),h=t.parentElement().ownerDocument===e.getDoc(),m=t.duplicate(),m.collapse(!0),u=m.move("character",_)*-1,m.collapsed||(m=t.duplicate(),m.collapse(!1),c=m.move("character",_)*-1-u);for(y=b.firstChild,v=b.nodeName.toLowerCase();y;)if((3===y.nodeType||1==y.nodeType&&!a[y.nodeName])&&i.isValidChild(v,g.toLowerCase())){if(3===y.nodeType&&0===y.nodeValue.length){f=y,y=y.nextSibling,r.remove(f);continue}d||(d=r.create(g,e.settings.forced_root_block_attrs),y.parentNode.insertBefore(d,y),p=!0),f=y,y=y.nextSibling,d.appendChild(f)}else d=null,y=y.nextSibling;if(p&&h){if(t.setStart)t.setStart(s,u),t.setEnd(l,c),o.setRng(t);else try{t=e.getDoc().body.createTextRange(),t.moveToElementText(b),t.collapse(!0),t.moveStart("character",u),c>0&&t.moveEnd("character",c),t.select()}catch(e){}e.nodeChanged()}}}var n=e.settings,r=e.dom,o=e.selection,i=e.schema,a=i.getBlockElements();n.forced_root_block&&e.on("NodeChange",t)}}),i("tinymce/caret/CaretUtils",["tinymce/util/Fun","tinymce/dom/TreeWalker","tinymce/dom/NodeType","tinymce/caret/CaretPosition","tinymce/caret/CaretContainer","tinymce/caret/CaretCandidate"],function(e,t,n,r,o,i){function a(e){return e>0}function s(e){return e<0}function u(e,t){for(var n;n=e(t);)if(!E(n))return n;return null}function l(e,n,r,o,i){var l=new t(e,o);if(s(n)){if((w(e)||E(e))&&(e=u(l.prev,!0),r(e)))return e;for(;e=u(l.prev,i);)if(r(e))return e}if(a(n)){if((w(e)||E(e))&&(e=u(l.next,!0),r(e)))return e;for(;e=u(l.next,i);)if(r(e))return e}return null}function c(e,t){for(e=e.parentNode;e&&e!=t;e=e.parentNode)if(_(e))return e;return t}function d(e,t){for(;e&&e!=t;){if(C(e))return e;e=e.parentNode}return null}function f(e,t,n){return d(e.container(),n)==d(t.container(),n)}function p(e,t,n){return c(e.container(),n)==c(t.container(),n)}function h(e,t){var n,r;return t?(n=t.container(),r=t.offset(),k(n)?n.childNodes[r+e]:null):null}function m(e,t){var n=t.ownerDocument.createRange();return e?(n.setStartBefore(t),n.setEndBefore(t)):(n.setStartAfter(t),n.setEndAfter(t)),n}function v(e,t,n){return d(t,e)==d(n,e)}function g(e,t,n){var r,o;for(o=e?"previousSibling":"nextSibling";n&&n!=t;){if(r=n[o],x(r)&&(r=r[o]),w(r)){if(v(t,r,n))return r;break}if(S(r))break;n=n.parentNode}return null}function y(e,t,r){var i,a,s,u,l=T(g,!0,t),c=T(g,!1,t);if(a=r.startContainer,s=r.startOffset,o.isCaretContainerBlock(a)){if(k(a)||(a=a.parentNode),u=a.getAttribute("data-mce-caret"),"before"==u&&(i=a.nextSibling,w(i)))return M(i);if("after"==u&&(i=a.previousSibling,w(i)))return O(i)}if(!r.collapsed)return r;if(n.isText(a)){if(x(a)){if(1===e){if(i=c(a))return M(i);if(i=l(a))return O(i)}if(e===-1){if(i=l(a))return O(i);if(i=c(a))return M(i)}return r}if(o.endsWithCaretContainer(a)&&s>=a.data.length-1)return 1===e&&(i=c(a))?M(i):r;if(o.startsWithCaretContainer(a)&&s<=1)return e===-1&&(i=l(a))?O(i):r;if(s===a.data.length)return i=c(a),i?M(i):r;if(0===s)return i=l(a),i?O(i):r}return r}function b(e,t){return w(h(e,t))}var _=n.isContentEditableTrue,w=n.isContentEditableFalse,C=n.matchStyleValues("display","block table table-cell table-caption"),x=o.isCaretContainer,E=o.isCaretContainerBlock,T=e.curry,k=n.isElement,S=i.isCaretCandidate,M=T(m,!0),O=T(m,!1);return{isForwards:a,isBackwards:s,findNode:l,getEditingHost:c,getParentBlock:d,isInSameBlock:f,isInSameEditingHost:p,isBeforeContentEditableFalse:T(b,0),isAfterContentEditableFalse:T(b,-1),normalizeRange:y}}),i("tinymce/caret/CaretWalker",["tinymce/dom/NodeType","tinymce/caret/CaretCandidate","tinymce/caret/CaretPosition","tinymce/caret/CaretUtils","tinymce/util/Arr","tinymce/util/Fun"],function(e,t,n,r,o,i){function a(e,t){for(var n=[];e&&e!=t;)n.push(e),e=e.parentNode;return n}function s(e,t){return e.hasChildNodes()&&t<e.childNodes.length?e.childNodes[t]:null}function u(e,t){if(m(e)){if(g(t.previousSibling)&&!f(t.previousSibling))return n.before(t);if(f(t))return n(t,0)}if(v(e)){if(g(t.nextSibling)&&!f(t.nextSibling))return n.after(t);if(f(t))return n(t,t.data.length)}return v(e)?h(t)?n.before(t):n.after(t):n.before(t)}function l(t,o){var i;return!!e.isBr(t)&&(i=c(1,n.after(t),o),!!i&&!r.isInSameBlock(n.before(t),n.before(i),o))}function c(e,t,h){var _,w,C,x,E,T,k;if(!p(h)||!t)return null;if(k=t,_=k.container(),w=k.offset(),f(_)){if(v(e)&&w>0)return n(_,--w);if(m(e)&&w<_.length)return n(_,++w);C=_}else{if(v(e)&&w>0&&(x=s(_,w-1),g(x)))return!y(x)&&(E=r.findNode(x,e,b,x))?f(E)?n(E,E.data.length):n.after(E):f(x)?n(x,x.data.length):n.before(x);if(m(e)&&w<_.childNodes.length&&(x=s(_,w),g(x)))return l(x,h)?c(e,n.after(x),h):!y(x)&&(E=r.findNode(x,e,b,x))?f(E)?n(E,0):n.before(E):f(x)?n(x,0):n.after(x);C=k.getNode()}return(m(e)&&k.isAtEnd()||v(e)&&k.isAtStart())&&(C=r.findNode(C,e,i.constant(!0),h,!0),b(C))?u(e,C):(x=r.findNode(C,e,b,h),T=o.last(o.filter(a(_,h),d)),!T||x&&T.contains(x)?x?u(e,x):null:k=m(e)?n.after(T):n.before(T))}var d=e.isContentEditableFalse,f=e.isText,p=e.isElement,h=e.isBr,m=r.isForwards,v=r.isBackwards,g=t.isCaretCandidate,y=t.isAtomic,b=t.isEditableCaretCandidate;return function(e){return{next:function(t){return c(1,t,e)},prev:function(t){return c(-1,t,e)}}}}),i("tinymce/InsertList",["tinymce/util/Tools","tinymce/caret/CaretWalker","tinymce/caret/CaretPosition"],function(e,t,n){var r=function(e){var t=e.firstChild,n=e.lastChild;return t&&"meta"===t.name&&(t=t.next),n&&"mce_marker"===n.attr("id")&&(n=n.prev),!(!t||t!==n)&&("ul"===t.name||"ol"===t.name)},o=function(e){var t=e.firstChild,n=e.lastChild;return t&&"META"===t.nodeName&&t.parentNode.removeChild(t),n&&"mce_marker"===n.id&&n.parentNode.removeChild(n),e},i=function(e,t,n){var r=t.serialize(n),i=e.createFragment(r);return o(i)},a=function(t){return e.grep(t.childNodes,function(e){return"LI"===e.nodeName})},s=function(e){return!e.firstChild},u=function(e){return e.length>0&&s(e[e.length-1])?e.slice(0,-1):e},l=function(e,t){var n=e.getParent(t,e.isBlock);return n&&"LI"===n.nodeName?n:null},c=function(e,t){return!!l(e,t)},d=function(e,t){var n=t.cloneRange(),r=t.cloneRange();return n.setStartBefore(e),r.setEndAfter(e),[n.cloneContents(),r.cloneContents()]},f=function(e,r){var o=n.before(e),i=new t(r),a=i.next(o);return a?a.toRange():null},p=function(e,r){var o=n.after(e),i=new t(r),a=i.prev(o);return a?a.toRange():null},h=function(t,n,r,o){var i=d(t,o),a=t.parentNode;return a.insertBefore(i[0],t),e.each(n,function(e){a.insertBefore(e,t)}),a.insertBefore(i[1],t),a.removeChild(t),p(n[n.length-1],r)},m=function(t,n,r){var o=t.parentNode;return e.each(n,function(e){o.insertBefore(e,t)}),f(t,r)},v=function(e,t,n,r){return r.insertAfter(t.reverse(),e),p(t[0],n)},g=function(e,r,o,s){var c=i(r,e,s),d=l(r,o.startContainer),f=u(a(c.firstChild)),p=1,g=2,y=r.getRoot(),b=function(e){var i=n.fromRangeStart(o),a=new t(r.getRoot()),s=e===p?a.prev(i):a.next(i);return!s||l(r,s.getNode())!==d};return b(p)?m(d,f,y):b(g)?v(d,f,y,r):h(d,f,y,o)};return{isListFragment:r,insertAtCaret:g,isParentBlockLi:c,trimListItems:u,listItems:a}}),i("tinymce/InsertContent",["tinymce/Env","tinymce/util/Tools","tinymce/html/Serializer","tinymce/caret/CaretWalker","tinymce/caret/CaretPosition","tinymce/dom/ElementUtils","tinymce/dom/NodeType","tinymce/InsertList"],function(e,t,n,r,o,i,a,s){var u=a.matchNodeNames("td th"),l=function(e,t,n){if("all"===n.getAttribute("data-mce-bogus"))n.parentNode.insertBefore(e.dom.createFragment(t),n);else{var r=n.firstChild,o=n.lastChild;!r||r===o&&"BR"===r.nodeName?e.dom.setHTML(n,t):e.selection.setContent(t)}},c=function(a,c,d){function f(e){function t(e){return r[e]&&3==r[e].nodeType}var n,r,o;return n=P.getRng(!0),r=n.startContainer,o=n.startOffset,3==r.nodeType&&(o>0?e=e.replace(/^&nbsp;/," "):t("previousSibling")||(e=e.replace(/^ /,"&nbsp;")),o<r.length?e=e.replace(/&nbsp;(<br>|)$/," "):t("nextSibling")||(e=e.replace(/(&nbsp;| )(<br>|)$/,"&nbsp;"))),e}function p(){var e,t,n;e=P.getRng(!0),t=e.startContainer,n=e.startOffset,3==t.nodeType&&e.collapsed&&(" "===t.data[n]?(t.deleteData(n,1),/[\u00a0| ]$/.test(c)||(c+=" ")):" "===t.data[n-1]&&(t.deleteData(n-1,1),/[\u00a0| ]$/.test(c)||(c=" "+c)))}function h(){if(N){var e=a.getBody(),n=new i(D);t.each(D.select("*[data-mce-fragment]"),function(t){for(var r=t.parentNode;r&&r!=e;r=r.parentNode)I[t.nodeName.toLowerCase()]&&n.compare(r,t)&&D.remove(t,!0)})}}function m(e){for(var t=e;t=t.walk();)1===t.type&&t.attr("data-mce-fragment","1")}function v(e){t.each(e.getElementsByTagName("*"),function(e){e.removeAttribute("data-mce-fragment")})}function g(e){return!!e.getAttribute("data-mce-fragment")}function y(e){return e&&!a.schema.getShortEndedElements()[e.nodeName]}function b(t){function n(e){for(var t=a.getBody();e&&e!==t;e=e.parentNode)if("false"===a.dom.getContentEditable(e))return e;return null}function i(e){var t=o.fromRangeStart(e),n=new r(a.getBody());if(t=n.next(t))return t.toRange()}var s,l,c;if(t){if(P.scrollIntoView(t),s=n(t))return D.remove(t),void P.select(s);S=D.createRng(),M=t.previousSibling,M&&3==M.nodeType?(S.setStart(M,M.nodeValue.length),e.ie||(O=t.nextSibling,O&&3==O.nodeType&&(M.appendData(O.data),O.parentNode.removeChild(O)))):(S.setStartBefore(t),S.setEndBefore(t)),l=D.getParent(t,D.isBlock),D.remove(t),l&&D.isEmpty(l)&&(a.$(l).empty(),S.setStart(l,0),S.setEnd(l,0),u(l)||g(l)||!(c=i(S))?D.add(l,D.create("br",{"data-mce-bogus":"1"})):(S=c,D.remove(l))),P.setRng(S)}}var _,w,C,x,E,T,k,S,M,O,A,N,I=a.schema.getTextInlineElements(),P=a.selection,D=a.dom;/^ | $/.test(c)&&(c=f(c)),_=a.parser,N=d.merge,w=new n({validate:a.settings.validate},a.schema),A='<span id="mce_marker" data-mce-type="bookmark">&#xFEFF;&#x200B;</span>',T={content:c,format:"html",selection:!0},a.fire("BeforeSetContent",T),c=T.content,c.indexOf("{$caret}")==-1&&(c+="{$caret}"),c=c.replace(/\{\$caret\}/,A),S=P.getRng();var R=S.startContainer||(S.parentElement?S.parentElement():null),j=a.getBody();R===j&&P.isCollapsed()&&D.isBlock(j.firstChild)&&y(j.firstChild)&&D.isEmpty(j.firstChild)&&(S=D.createRng(),S.setStart(j.firstChild,0),S.setEnd(j.firstChild,0),P.setRng(S)),P.isCollapsed()||(a.selection.setRng(a.selection.getRng()),a.getDoc().execCommand("Delete",!1,null),p()),C=P.getNode();var L={context:C.nodeName.toLowerCase(),data:d.data};if(E=_.parse(c,L),d.paste===!0&&s.isListFragment(E)&&s.isParentBlockLi(D,C))return S=s.insertAtCaret(w,D,a.selection.getRng(!0),E),a.selection.setRng(S),void a.fire("SetContent",T);if(m(E),M=E.lastChild,"mce_marker"==M.attr("id"))for(k=M,M=M.prev;M;M=M.walk(!0))if(3==M.type||!D.isBlock(M.name)){a.schema.isValidChild(M.parent.name,"span")&&M.parent.insert(k,M,"br"===M.name);break}if(a._selectionOverrides.showBlockCaretContainer(C),L.invalid){for(P.setContent(A),C=P.getNode(),x=a.getBody(),9==C.nodeType?C=M=x:M=C;M!==x;)C=M,M=M.parentNode;c=C==x?x.innerHTML:D.getOuterHTML(C),c=w.serialize(_.parse(c.replace(/<span (id="mce_marker"|id=mce_marker).+?<\/span>/i,function(){return w.serialize(E)}))),C==x?D.setHTML(x,c):D.setOuterHTML(C,c)}else c=w.serialize(E),l(a,c,C);h(),b(D.get("mce_marker")),v(a.getBody()),a.fire("SetContent",T),a.addVisual()},d=function(e){var n;return"string"!=typeof e?(n=t.extend({paste:e.paste,data:{paste:e.paste}},e),{content:e.content,details:n}):{content:e,details:{}}},f=function(e,t){var n=d(t);c(e,n.content,n.details)};return{insertAtCaret:f}}),i("tinymce/EditorCommands",["tinymce/Env","tinymce/util/Tools","tinymce/dom/RangeUtils","tinymce/dom/TreeWalker","tinymce/InsertContent","tinymce/dom/NodeType"],function(e,t,n,o,i,a){var s=t.each,u=t.extend,l=t.map,c=t.inArray,d=t.explode,f=e.ie&&e.ie<11,p=!0,h=!1;return function(t){function m(e,n,r,o){var i,a,u=0;if(/^(mceAddUndoLevel|mceEndUndoLevel|mceBeginUndoLevel|mceRepaint)$/.test(e)||o&&o.skip_focus||t.focus(),o=t.fire("BeforeExecCommand",{command:e,ui:n,value:r}),o.isDefaultPrevented())return!1;if(a=e.toLowerCase(),i=P.exec[a])return i(a,n,r),t.fire("ExecCommand",{command:e,ui:n,value:r}),!0;if(s(t.plugins,function(o){if(o.execCommand&&o.execCommand(e,n,r))return t.fire("ExecCommand",{command:e,ui:n,value:r}),u=!0,!1}),u)return u;if(t.theme&&t.theme.execCommand&&t.theme.execCommand(e,n,r))return t.fire("ExecCommand",{command:e,ui:n,value:r}),!0;try{u=t.getDoc().execCommand(e,n,r)}catch(e){}return!!u&&(t.fire("ExecCommand",{command:e,ui:n,value:r}),!0)}function v(e){var n;if(!t.quirks.isHidden()){if(e=e.toLowerCase(),n=P.state[e])return n(e);try{return t.getDoc().queryCommandState(e)}catch(e){}return!1}}function g(e){var n;if(!t.quirks.isHidden()){if(e=e.toLowerCase(),n=P.value[e])return n(e);try{return t.getDoc().queryCommandValue(e)}catch(e){}}}function y(e,t){t=t||"exec",s(e,function(e,n){s(n.toLowerCase().split(","),function(n){P[t][n]=e})})}function b(e,n,r){e=e.toLowerCase(),P.exec[e]=function(e,o,i,a){return n.call(r||t,o,i,a)}}function _(e){if(e=e.toLowerCase(),P.exec[e])return!0;try{return t.getDoc().queryCommandSupported(e)}catch(e){}return!1}function w(e,n,r){e=e.toLowerCase(),P.state[e]=function(){return n.call(r||t)}}function C(e,n,r){e=e.toLowerCase(),P.value[e]=function(){return n.call(r||t)}}function x(e){return e=e.toLowerCase(),!!P.exec[e]}function E(e,n,o){return n===r&&(n=h),o===r&&(o=null),t.getDoc().execCommand(e,n,o)}function T(e){return N.match(e)}function k(e,n){N.toggle(e,n?{value:n}:r),t.nodeChanged()}function S(e){I=A.getBookmark(e)}function M(){A.moveToBookmark(I)}var O,A,N,I,P={state:{},exec:{},value:{}},D=t.settings;t.on("PreInit",function(){O=t.dom,A=t.selection,D=t.settings,N=t.formatter}),u(this,{execCommand:m,queryCommandState:v,queryCommandValue:g,queryCommandSupported:_,addCommands:y,addCommand:b,addQueryStateHandler:w,addQueryValueHandler:C,hasCustomCommand:x}),y({"mceResetDesignMode,mceBeginUndoLevel":function(){},"mceEndUndoLevel,mceAddUndoLevel":function(){t.undoManager.add()},"Cut,Copy,Paste":function(n){var r,o=t.getDoc();try{E(n)}catch(e){r=p}if("paste"!==n||o.queryCommandEnabled(n)||(r=!0),r||!o.queryCommandSupported(n)){var i=t.translate("Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X/C/V keyboard shortcuts instead.");e.mac&&(i=i.replace(/Ctrl\+/g,"⌘+")),t.notificationManager.open({text:i,type:"error"})}},unlink:function(){if(A.isCollapsed()){var e=t.dom.getParent(t.selection.getStart(),"a");return void(e&&t.dom.remove(e,!0))}N.remove("link")},"JustifyLeft,JustifyCenter,JustifyRight,JustifyFull,JustifyNone":function(e){var t=e.substring(7);"full"==t&&(t="justify"),s("left,center,right,justify".split(","),function(e){t!=e&&N.remove("align"+e)}),"none"!=t&&k("align"+t)},"InsertUnorderedList,InsertOrderedList":function(e){var t,n;E(e),t=O.getParent(A.getNode(),"ol,ul"),t&&(n=t.parentNode,/^(H[1-6]|P|ADDRESS|PRE)$/.test(n.nodeName)&&(S(),O.split(n,t),M()))},"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":function(e){k(e)},"ForeColor,HiliteColor,FontName":function(e,t,n){k(e,n)},FontSize:function(e,t,n){var r,o;n>=1&&n<=7&&(o=d(D.font_size_style_values),r=d(D.font_size_classes),n=r?r[n-1]||n:o[n-1]||n),k(e,n)},RemoveFormat:function(e){N.remove(e)},mceBlockQuote:function(){k("blockquote")},FormatBlock:function(e,t,n){return k(n||"p")},mceCleanup:function(){var e=A.getBookmark();t.setContent(t.getContent({cleanup:p}),{cleanup:p}),A.moveToBookmark(e)},mceRemoveNode:function(e,n,r){var o=r||A.getNode();o!=t.getBody()&&(S(),t.dom.remove(o,p),M())},mceSelectNodeDepth:function(e,n,r){var o=0;O.getParent(A.getNode(),function(e){if(1==e.nodeType&&o++==r)return A.select(e),h},t.getBody())},mceSelectNode:function(e,t,n){A.select(n)},mceInsertContent:function(e,n,r){i.insertAtCaret(t,r)},mceInsertRawHTML:function(e,n,r){A.setContent("tiny_mce_marker"),t.setContent(t.getContent().replace(/tiny_mce_marker/g,function(){return r}))},mceToggleFormat:function(e,t,n){k(n)},mceSetContent:function(e,n,r){t.setContent(r)},"Indent,Outdent":function(e){var n,r,o;n=D.indentation,r=/[a-z%]+$/i.exec(n),n=parseInt(n,10),v("InsertUnorderedList")||v("InsertOrderedList")?E(e):(D.forced_root_block||O.getParent(A.getNode(),O.isBlock)||N.apply("div"),s(A.getSelectedBlocks(),function(i){if("false"!==O.getContentEditable(i)&&"LI"!==i.nodeName){var a=t.getParam("indent_use_margin",!1)?"margin":"padding";a="TABLE"===i.nodeName?"margin":a,a+="rtl"==O.getStyle(i,"direction",!0)?"Right":"Left","outdent"==e?(o=Math.max(0,parseInt(i.style[a]||0,10)-n),O.setStyle(i,a,o?o+r:"")):(o=parseInt(i.style[a]||0,10)+n+r,O.setStyle(i,a,o))}}))},mceRepaint:function(){},InsertHorizontalRule:function(){t.execCommand("mceInsertContent",!1,"<hr />")},mceToggleVisualAid:function(){t.hasVisual=!t.hasVisual,t.addVisual()},mceReplaceContent:function(e,n,r){t.execCommand("mceInsertContent",!1,r.replace(/\{\$selection\}/g,A.getContent({format:"text"})))},mceInsertLink:function(e,t,n){var r;"string"==typeof n&&(n={href:n}),r=O.getParent(A.getNode(),"a"),n.href=n.href.replace(" ","%20"),r&&n.href||N.remove("link"),n.href&&N.apply("link",n,r)},selectAll:function(){var e,t=O.getRoot();if(A.getRng().setStart){var n=O.getParent(A.getStart(),a.isContentEditableTrue);n&&(e=O.createRng(),e.selectNodeContents(n),A.setRng(e))}else e=A.getRng(),e.item||(e.moveToElementText(t),e.select())},delete:function(){E("Delete");var e=t.getBody();O.isEmpty(e)&&(t.setContent(""),e.firstChild&&O.isBlock(e.firstChild)?t.selection.setCursorLocation(e.firstChild,0):t.selection.setCursorLocation(e,0))},mceNewDocument:function(){t.setContent("")},InsertLineBreak:function(e,r,i){function a(){for(var e,n=new o(m,g),r=t.schema.getNonEmptyElements();e=n.next();)if(r[e.nodeName.toLowerCase()]||e.length>0)return!0}var s,u,l,c=i,d=A.getRng(!0);new n(O).normalize(d);var h=d.startOffset,m=d.startContainer;if(1==m.nodeType&&m.hasChildNodes()){var v=h>m.childNodes.length-1;m=m.childNodes[Math.min(h,m.childNodes.length-1)]||m,h=v&&3==m.nodeType?m.nodeValue.length:0}var g=O.getParent(m,O.isBlock),y=g?g.nodeName.toUpperCase():"",b=g?O.getParent(g.parentNode,O.isBlock):null,_=b?b.nodeName.toUpperCase():"",w=c&&c.ctrlKey;"LI"!=_||w||(g=b,y=_),m&&3==m.nodeType&&h>=m.nodeValue.length&&(f||a()||(s=O.create("br"),d.insertNode(s),d.setStartAfter(s),d.setEndAfter(s),u=!0)),s=O.create("br"),d.insertNode(s);var C=O.doc.documentMode;return f&&"PRE"==y&&(!C||C<8)&&s.parentNode.insertBefore(O.doc.createTextNode("\r"),s),l=O.create("span",{},"&nbsp;"),s.parentNode.insertBefore(l,s),A.scrollIntoView(l),O.remove(l),u?(d.setStartBefore(s),d.setEndBefore(s)):(d.setStartAfter(s),d.setEndAfter(s)),A.setRng(d),t.undoManager.add(),p}}),y({"JustifyLeft,JustifyCenter,JustifyRight,JustifyFull":function(e){var t="align"+e.substring(7),n=A.isCollapsed()?[O.getParent(A.getNode(),O.isBlock)]:A.getSelectedBlocks(),r=l(n,function(e){return!!N.matchNode(e,t)});return c(r,p)!==-1},"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":function(e){return T(e)},mceBlockQuote:function(){return T("blockquote")},Outdent:function(){var e;if(D.inline_styles){if((e=O.getParent(A.getStart(),O.isBlock))&&parseInt(e.style.paddingLeft,10)>0)return p;if((e=O.getParent(A.getEnd(),O.isBlock))&&parseInt(e.style.paddingLeft,10)>0)return p}return v("InsertUnorderedList")||v("InsertOrderedList")||!D.inline_styles&&!!O.getParent(A.getNode(),"BLOCKQUOTE")},"InsertUnorderedList,InsertOrderedList":function(e){var t=O.getParent(A.getNode(),"ul,ol");return t&&("insertunorderedlist"===e&&"UL"===t.tagName||"insertorderedlist"===e&&"OL"===t.tagName)}},"state"),y({"FontSize,FontName":function(e){var t,n=0;return(t=O.getParent(A.getNode(),"span"))&&(n="fontsize"==e?t.style.fontSize:t.style.fontFamily.replace(/, /g,",").replace(/[\'\"]/g,"").toLowerCase()),n}},"value"),y({Undo:function(){t.undoManager.undo()},Redo:function(){
-t.undoManager.redo()}})}}),i("tinymce/util/URI",["tinymce/util/Tools"],function(e){function t(e,i){var a,s,u=this;if(e=r(e),i=u.settings=i||{},a=i.base_uri,/^([\w\-]+):([^\/]{2})/i.test(e)||/^\s*#/.test(e))return void(u.source=e);var l=0===e.indexOf("//");0!==e.indexOf("/")||l||(e=(a?a.protocol||"http":"http")+"://mce_host"+e),/^[\w\-]*:?\/\//.test(e)||(s=i.base_uri?i.base_uri.path:new t(location.href).directory,""===i.base_uri.protocol?e="//mce_host"+u.toAbsPath(s,e):(e=/([^#?]*)([#?]?.*)/.exec(e),e=(a&&a.protocol||"http")+"://mce_host"+u.toAbsPath(s,e[1])+e[2])),e=e.replace(/@@/g,"(mce_at)"),e=/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@\/]*):?([^:@\/]*))?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/.exec(e),n(o,function(t,n){var r=e[n];r&&(r=r.replace(/\(mce_at\)/g,"@@")),u[t]=r}),a&&(u.protocol||(u.protocol=a.protocol),u.userInfo||(u.userInfo=a.userInfo),u.port||"mce_host"!==u.host||(u.port=a.port),u.host&&"mce_host"!==u.host||(u.host=a.host),u.source=""),l&&(u.protocol="")}var n=e.each,r=e.trim,o="source protocol authority userInfo user password host port relative path directory file query anchor".split(" "),i={ftp:21,http:80,https:443,mailto:25};return t.prototype={setPath:function(e){var t=this;e=/^(.*?)\/?(\w+)?$/.exec(e),t.path=e[0],t.directory=e[1],t.file=e[2],t.source="",t.getURI()},toRelative:function(e){var n,r=this;if("./"===e)return e;if(e=new t(e,{base_uri:r}),"mce_host"!=e.host&&r.host!=e.host&&e.host||r.port!=e.port||r.protocol!=e.protocol&&""!==e.protocol)return e.getURI();var o=r.getURI(),i=e.getURI();return o==i||"/"==o.charAt(o.length-1)&&o.substr(0,o.length-1)==i?o:(n=r.toRelPath(r.path,e.path),e.query&&(n+="?"+e.query),e.anchor&&(n+="#"+e.anchor),n)},toAbsolute:function(e,n){return e=new t(e,{base_uri:this}),e.getURI(n&&this.isSameOrigin(e))},isSameOrigin:function(e){if(this.host==e.host&&this.protocol==e.protocol){if(this.port==e.port)return!0;var t=i[this.protocol];if(t&&(this.port||t)==(e.port||t))return!0}return!1},toRelPath:function(e,t){var n,r,o,i=0,a="";if(e=e.substring(0,e.lastIndexOf("/")),e=e.split("/"),n=t.split("/"),e.length>=n.length)for(r=0,o=e.length;r<o;r++)if(r>=n.length||e[r]!=n[r]){i=r+1;break}if(e.length<n.length)for(r=0,o=n.length;r<o;r++)if(r>=e.length||e[r]!=n[r]){i=r+1;break}if(1===i)return t;for(r=0,o=e.length-(i-1);r<o;r++)a+="../";for(r=i-1,o=n.length;r<o;r++)a+=r!=i-1?"/"+n[r]:n[r];return a},toAbsPath:function(e,t){var r,o,i,a=0,s=[];for(o=/\/$/.test(t)?"/":"",e=e.split("/"),t=t.split("/"),n(e,function(e){e&&s.push(e)}),e=s,r=t.length-1,s=[];r>=0;r--)0!==t[r].length&&"."!==t[r]&&(".."!==t[r]?a>0?a--:s.push(t[r]):a++);return r=e.length-a,i=r<=0?s.reverse().join("/"):e.slice(0,r).join("/")+"/"+s.reverse().join("/"),0!==i.indexOf("/")&&(i="/"+i),o&&i.lastIndexOf("/")!==i.length-1&&(i+=o),i},getURI:function(e){var t,n=this;return n.source&&!e||(t="",e||(t+=n.protocol?n.protocol+"://":"//",n.userInfo&&(t+=n.userInfo+"@"),n.host&&(t+=n.host),n.port&&(t+=":"+n.port)),n.path&&(t+=n.path),n.query&&(t+="?"+n.query),n.anchor&&(t+="#"+n.anchor),n.source=t),n.source}},t.parseDataUri=function(e){var t,n;return e=decodeURIComponent(e).split(","),n=/data:([^;]+)/.exec(e[0]),n&&(t=n[1]),{type:t,data:e[1]}},t.getDocumentBaseUrl=function(e){var t;return t=0!==e.protocol.indexOf("http")&&"file:"!==e.protocol?e.href:e.protocol+"//"+e.host+e.pathname,/^[^:]+:\/\/\/?[^\/]+\//.test(t)&&(t=t.replace(/[\?#].*$/,"").replace(/[\/\\][^\/]+$/,""),/[\/\\]$/.test(t)||(t+="/")),t},t}),i("tinymce/util/Class",["tinymce/util/Tools"],function(e){function t(){}var n,r,o=e.each,i=e.extend;return t.extend=n=function(e){function t(){var e,t,n,o=this;if(!r&&(o.init&&o.init.apply(o,arguments),t=o.Mixins))for(e=t.length;e--;)n=t[e],n.init&&n.init.apply(o,arguments)}function a(){return this}function s(e,t){return function(){var n,r=this,o=r._super;return r._super=f[e],n=t.apply(r,arguments),r._super=o,n}}var u,l,c,d=this,f=d.prototype;r=!0,u=new d,r=!1,e.Mixins&&(o(e.Mixins,function(t){for(var n in t)"init"!==n&&(e[n]=t[n])}),f.Mixins&&(e.Mixins=f.Mixins.concat(e.Mixins))),e.Methods&&o(e.Methods.split(","),function(t){e[t]=a}),e.Properties&&o(e.Properties.split(","),function(t){var n="_"+t;e[t]=function(e){var t,r=this;return e!==t?(r[n]=e,r):r[n]}}),e.Statics&&o(e.Statics,function(e,n){t[n]=e}),e.Defaults&&f.Defaults&&(e.Defaults=i({},f.Defaults,e.Defaults));for(l in e)c=e[l],"function"==typeof c&&f[l]?u[l]=s(l,c):u[l]=c;return t.prototype=u,t.constructor=t,t.extend=n,t},t}),i("tinymce/util/EventDispatcher",["tinymce/util/Tools"],function(e){function t(t){function n(){return!1}function r(){return!0}function o(e,o){var i,s,u,c;if(e=e.toLowerCase(),o=o||{},o.type=e,o.target||(o.target=l),o.preventDefault||(o.preventDefault=function(){o.isDefaultPrevented=r},o.stopPropagation=function(){o.isPropagationStopped=r},o.stopImmediatePropagation=function(){o.isImmediatePropagationStopped=r},o.isDefaultPrevented=n,o.isPropagationStopped=n,o.isImmediatePropagationStopped=n),t.beforeFire&&t.beforeFire(o),i=f[e])for(s=0,u=i.length;s<u;s++){if(c=i[s],c.once&&a(e,c.func),o.isImmediatePropagationStopped())return o.stopPropagation(),o;if(c.func.call(l,o)===!1)return o.preventDefault(),o}return o}function i(t,r,o,i){var a,s,u;if(r===!1&&(r=n),r)for(r={func:r},i&&e.extend(r,i),s=t.toLowerCase().split(" "),u=s.length;u--;)t=s[u],a=f[t],a||(a=f[t]=[],c(t,!0)),o?a.unshift(r):a.push(r);return d}function a(e,t){var n,r,o,i,a;if(e)for(i=e.toLowerCase().split(" "),n=i.length;n--;){if(e=i[n],r=f[e],!e){for(o in f)c(o,!1),delete f[o];return d}if(r){if(t)for(a=r.length;a--;)r[a].func===t&&(r=r.slice(0,a).concat(r.slice(a+1)),f[e]=r);else r.length=0;r.length||(c(e,!1),delete f[e])}}else{for(e in f)c(e,!1);f={}}return d}function s(e,t,n){return i(e,t,n,{once:!0})}function u(e){return e=e.toLowerCase(),!(!f[e]||0===f[e].length)}var l,c,d=this,f={};t=t||{},l=t.scope||d,c=t.toggleEvent||n,d.fire=o,d.on=i,d.off=a,d.once=s,d.has=u}var n=e.makeMap("focus blur focusin focusout click dblclick mousedown mouseup mousemove mouseover beforepaste paste cut copy selectionchange mouseout mouseenter mouseleave wheel keydown keypress keyup input contextmenu dragstart dragend dragover draggesture dragdrop drop drag submit compositionstart compositionend compositionupdate touchstart touchmove touchend"," ");return t.isNative=function(e){return!!n[e.toLowerCase()]},t}),i("tinymce/data/Binding",[],function(){function e(e){this.create=e.create}return e.create=function(t,n){return new e({create:function(e,r){function o(t){e.set(r,t.value)}function i(e){t.set(n,e.value)}var a;return e.on("change:"+r,i),t.on("change:"+n,o),a=e._bindings,a||(a=e._bindings=[],e.on("destroy",function(){for(var e=a.length;e--;)a[e]()})),a.push(function(){t.off("change:"+n,o)}),t.get(n)}})},e}),i("tinymce/util/Observable",["tinymce/util/EventDispatcher"],function(e){function t(t){return t._eventDispatcher||(t._eventDispatcher=new e({scope:t,toggleEvent:function(n,r){e.isNative(n)&&t.toggleNativeEvent&&t.toggleNativeEvent(n,r)}})),t._eventDispatcher}return{fire:function(e,n,r){var o=this;if(o.removed&&"remove"!==e)return n;if(n=t(o).fire(e,n,r),r!==!1&&o.parent)for(var i=o.parent();i&&!n.isPropagationStopped();)i.fire(e,n,!1),i=i.parent();return n},on:function(e,n,r){return t(this).on(e,n,r)},off:function(e,n){return t(this).off(e,n)},once:function(e,n){return t(this).once(e,n)},hasEventListeners:function(e){return t(this).has(e)}}}),i("tinymce/data/ObservableObject",["tinymce/data/Binding","tinymce/util/Observable","tinymce/util/Class","tinymce/util/Tools"],function(e,t,n,r){function o(e){return e.nodeType>0}function i(e,t){var n,a;if(e===t)return!0;if(null===e||null===t)return e===t;if("object"!=typeof e||"object"!=typeof t)return e===t;if(r.isArray(t)){if(e.length!==t.length)return!1;for(n=e.length;n--;)if(!i(e[n],t[n]))return!1}if(o(e)||o(t))return e===t;a={};for(n in t){if(!i(e[n],t[n]))return!1;a[n]=!0}for(n in e)if(!a[n]&&!i(e[n],t[n]))return!1;return!0}return n.extend({Mixins:[t],init:function(t){var n,r;t=t||{};for(n in t)r=t[n],r instanceof e&&(t[n]=r.create(this,n));this.data=t},set:function(t,n){var r,o,a=this.data[t];if(n instanceof e&&(n=n.create(this,t)),"object"==typeof t){for(r in t)this.set(r,t[r]);return this}return i(a,n)||(this.data[t]=n,o={target:this,name:t,value:n,oldValue:a},this.fire("change:"+t,o),this.fire("change",o)),this},get:function(e){return this.data[e]},has:function(e){return e in this.data},bind:function(t){return e.create(this,t)},destroy:function(){this.fire("destroy")}})}),i("tinymce/ui/Selector",["tinymce/util/Class"],function(e){function t(e){for(var t,n=[],r=e.length;r--;)t=e[r],t.__checked||(n.push(t),t.__checked=1);for(r=n.length;r--;)delete n[r].__checked;return n}var n,r=/^([\w\\*]+)?(?:#([\w\-\\]+))?(?:\.([\w\\\.]+))?(?:\[\@?([\w\\]+)([\^\$\*!~]?=)([\w\\]+)\])?(?:\:(.+))?/i,o=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,i=/^\s*|\s*$/g,a=e.extend({init:function(e){function t(e){if(e)return e=e.toLowerCase(),function(t){return"*"===e||t.type===e}}function n(e){if(e)return function(t){return t._name===e}}function a(e){if(e)return e=e.split("."),function(t){for(var n=e.length;n--;)if(!t.classes.contains(e[n]))return!1;return!0}}function s(e,t,n){if(e)return function(r){var o=r[e]?r[e]():"";return t?"="===t?o===n:"*="===t?o.indexOf(n)>=0:"~="===t?(" "+o+" ").indexOf(" "+n+" ")>=0:"!="===t?o!=n:"^="===t?0===o.indexOf(n):"$="===t&&o.substr(o.length-n.length)===n:!!n}}function u(e){var t;if(e)return e=/(?:not\((.+)\))|(.+)/i.exec(e),e[1]?(t=c(e[1],[]),function(e){return!d(e,t)}):(e=e[2],function(t,n,r){return"first"===e?0===n:"last"===e?n===r-1:"even"===e?n%2===0:"odd"===e?n%2===1:!!t[e]&&t[e]()})}function l(e,o,l){function c(e){e&&o.push(e)}var d;return d=r.exec(e.replace(i,"")),c(t(d[1])),c(n(d[2])),c(a(d[3])),c(s(d[4],d[5],d[6])),c(u(d[7])),o.pseudo=!!d[7],o.direct=l,o}function c(e,t){var n,r,i,a=[];do if(o.exec(""),r=o.exec(e),r&&(e=r[3],a.push(r[1]),r[2])){n=r[3];break}while(r);for(n&&c(n,t),e=[],i=0;i<a.length;i++)">"!=a[i]&&e.push(l(a[i],[],">"===a[i-1]));return t.push(e),t}var d=this.match;this._selectors=c(e,[])},match:function(e,t){var n,r,o,i,a,s,u,l,c,d,f,p,h;for(t=t||this._selectors,n=0,r=t.length;n<r;n++){for(a=t[n],i=a.length,h=e,p=0,o=i-1;o>=0;o--)for(l=a[o];h;){if(l.pseudo)for(f=h.parent().items(),c=d=f.length;c--&&f[c]!==h;);for(s=0,u=l.length;s<u;s++)if(!l[s](h,c,d)){s=u+1;break}if(s===u){p++;break}if(o===i-1)break;h=h.parent()}if(p===i)return!0}return!1},find:function(e){function r(e,t,n){var o,i,a,u,l,c=t[n];for(o=0,i=e.length;o<i;o++){for(l=e[o],a=0,u=c.length;a<u;a++)if(!c[a](l,o,i)){a=u+1;break}if(a===u)n==t.length-1?s.push(l):l.items&&r(l.items(),t,n+1);else if(c.direct)return;l.items&&r(l.items(),t,n)}}var o,i,s=[],u=this._selectors;if(e.items){for(o=0,i=u.length;o<i;o++)r(e.items(),u[o],0);i>1&&(s=t(s))}return n||(n=a.Collection),new n(s)}});return a}),i("tinymce/ui/Collection",["tinymce/util/Tools","tinymce/ui/Selector","tinymce/util/Class"],function(e,t,n){var r,o,i=Array.prototype.push,a=Array.prototype.slice;return o={length:0,init:function(e){e&&this.add(e)},add:function(t){var n=this;return e.isArray(t)?i.apply(n,t):t instanceof r?n.add(t.toArray()):i.call(n,t),n},set:function(e){var t,n=this,r=n.length;for(n.length=0,n.add(e),t=n.length;t<r;t++)delete n[t];return n},filter:function(e){var n,o,i,a,s=this,u=[];for("string"==typeof e?(e=new t(e),a=function(t){return e.match(t)}):a=e,n=0,o=s.length;n<o;n++)i=s[n],a(i)&&u.push(i);return new r(u)},slice:function(){return new r(a.apply(this,arguments))},eq:function(e){return e===-1?this.slice(e):this.slice(e,+e+1)},each:function(t){return e.each(this,t),this},toArray:function(){return e.toArray(this)},indexOf:function(e){for(var t=this,n=t.length;n--&&t[n]!==e;);return n},reverse:function(){return new r(e.toArray(this).reverse())},hasClass:function(e){return!!this[0]&&this[0].classes.contains(e)},prop:function(e,t){var n,r,o=this;return t!==n?(o.each(function(n){n[e]&&n[e](t)}),o):(r=o[0],r&&r[e]?r[e]():void 0)},exec:function(t){var n=this,r=e.toArray(arguments).slice(1);return n.each(function(e){e[t]&&e[t].apply(e,r)}),n},remove:function(){for(var e=this.length;e--;)this[e].remove();return this},addClass:function(e){return this.each(function(t){t.classes.add(e)})},removeClass:function(e){return this.each(function(t){t.classes.remove(e)})}},e.each("fire on off show hide append prepend before after reflow".split(" "),function(t){o[t]=function(){var n=e.toArray(arguments);return this.each(function(e){t in e&&e[t].apply(e,n)}),this}}),e.each("text name disabled active selected checked visible parent value data".split(" "),function(e){o[e]=function(t){return this.prop(e,t)}}),r=n.extend(o),t.Collection=r,r}),i("tinymce/ui/DomUtils",["tinymce/Env","tinymce/util/Tools","tinymce/dom/DOMUtils"],function(e,t,n){var r=0,o={id:function(){return"mceu_"+r++},create:function(e,r,o){var i=document.createElement(e);return n.DOM.setAttribs(i,r),"string"==typeof o?i.innerHTML=o:t.each(o,function(e){e.nodeType&&i.appendChild(e)}),i},createFragment:function(e){return n.DOM.createFragment(e)},getWindowSize:function(){return n.DOM.getViewPort()},getSize:function(e){var t,n;if(e.getBoundingClientRect){var r=e.getBoundingClientRect();t=Math.max(r.width||r.right-r.left,e.offsetWidth),n=Math.max(r.height||r.bottom-r.bottom,e.offsetHeight)}else t=e.offsetWidth,n=e.offsetHeight;return{width:t,height:n}},getPos:function(e,t){return n.DOM.getPos(e,t||o.getContainer())},getContainer:function(){return e.container?e.container:document.body},getViewPort:function(e){return n.DOM.getViewPort(e)},get:function(e){return document.getElementById(e)},addClass:function(e,t){return n.DOM.addClass(e,t)},removeClass:function(e,t){return n.DOM.removeClass(e,t)},hasClass:function(e,t){return n.DOM.hasClass(e,t)},toggleClass:function(e,t,r){return n.DOM.toggleClass(e,t,r)},css:function(e,t,r){return n.DOM.setStyle(e,t,r)},getRuntimeStyle:function(e,t){return n.DOM.getStyle(e,t,!0)},on:function(e,t,r,o){return n.DOM.bind(e,t,r,o)},off:function(e,t,r){return n.DOM.unbind(e,t,r)},fire:function(e,t,r){return n.DOM.fire(e,t,r)},innerHtml:function(e,t){n.DOM.setHTML(e,t)}};return o}),i("tinymce/ui/BoxUtils",[],function(){return{parseBox:function(e){var t,n=10;if(e)return"number"==typeof e?(e=e||0,{top:e,left:e,bottom:e,right:e}):(e=e.split(" "),t=e.length,1===t?e[1]=e[2]=e[3]=e[0]:2===t?(e[2]=e[0],e[3]=e[1]):3===t&&(e[3]=e[1]),{top:parseInt(e[0],n)||0,right:parseInt(e[1],n)||0,bottom:parseInt(e[2],n)||0,left:parseInt(e[3],n)||0})},measureBox:function(e,t){function n(t){var n=document.defaultView;return n?(t=t.replace(/[A-Z]/g,function(e){return"-"+e}),n.getComputedStyle(e,null).getPropertyValue(t)):e.currentStyle[t]}function r(e){var t=parseFloat(n(e),10);return isNaN(t)?0:t}return{top:r(t+"TopWidth"),right:r(t+"RightWidth"),bottom:r(t+"BottomWidth"),left:r(t+"LeftWidth")}}}}),i("tinymce/ui/ClassList",["tinymce/util/Tools"],function(e){function t(){}function n(e){this.cls=[],this.cls._map={},this.onchange=e||t,this.prefix=""}return e.extend(n.prototype,{add:function(e){return e&&!this.contains(e)&&(this.cls._map[e]=!0,this.cls.push(e),this._change()),this},remove:function(e){if(this.contains(e)){for(var t=0;t<this.cls.length&&this.cls[t]!==e;t++);this.cls.splice(t,1),delete this.cls._map[e],this._change()}return this},toggle:function(e,t){var n=this.contains(e);return n!==t&&(n?this.remove(e):this.add(e),this._change()),this},contains:function(e){return!!this.cls._map[e]},_change:function(){delete this.clsValue,this.onchange.call(this)}}),n.prototype.toString=function(){var e;if(this.clsValue)return this.clsValue;e="";for(var t=0;t<this.cls.length;t++)t>0&&(e+=" "),e+=this.prefix+this.cls[t];return e},n}),i("tinymce/ui/ReflowQueue",["tinymce/util/Delay"],function(e){var t,n={};return{add:function(r){var o=r.parent();if(o){if(!o._layout||o._layout.isNative())return;n[o._id]||(n[o._id]=o),t||(t=!0,e.requestAnimationFrame(function(){var e,r;t=!1;for(e in n)r=n[e],r.state.get("rendered")&&r.reflow();n={}},document.body))}},remove:function(e){n[e._id]&&delete n[e._id]}}}),i("tinymce/ui/Control",["tinymce/util/Class","tinymce/util/Tools","tinymce/util/EventDispatcher","tinymce/data/ObservableObject","tinymce/ui/Collection","tinymce/ui/DomUtils","tinymce/dom/DomQuery","tinymce/ui/BoxUtils","tinymce/ui/ClassList","tinymce/ui/ReflowQueue"],function(e,t,n,r,o,i,a,s,u,l){function c(e){return e._eventDispatcher||(e._eventDispatcher=new n({scope:e,toggleEvent:function(t,r){r&&n.isNative(t)&&(e._nativeEvents||(e._nativeEvents={}),e._nativeEvents[t]=!0,e.state.get("rendered")&&d(e))}})),e._eventDispatcher}function d(e){function t(t){var n=e.getParentCtrl(t.target);n&&n.fire(t.type,t)}function n(){var e=l._lastHoverCtrl;e&&(e.fire("mouseleave",{target:e.getEl()}),e.parents().each(function(e){e.fire("mouseleave",{target:e.getEl()})}),l._lastHoverCtrl=null)}function r(t){var n,r,o,i=e.getParentCtrl(t.target),a=l._lastHoverCtrl,s=0;if(i!==a){if(l._lastHoverCtrl=i,r=i.parents().toArray().reverse(),r.push(i),a){for(o=a.parents().toArray().reverse(),o.push(a),s=0;s<o.length&&r[s]===o[s];s++);for(n=o.length-1;n>=s;n--)a=o[n],a.fire("mouseleave",{target:a.getEl()})}for(n=s;n<r.length;n++)i=r[n],i.fire("mouseenter",{target:i.getEl()})}}function o(t){t.preventDefault(),"mousewheel"==t.type?(t.deltaY=-.025*t.wheelDelta,t.wheelDeltaX&&(t.deltaX=-.025*t.wheelDeltaX)):(t.deltaX=0,t.deltaY=t.detail),t=e.fire("wheel",t)}var i,s,u,l,c,d;if(c=e._nativeEvents){for(u=e.parents().toArray(),u.unshift(e),i=0,s=u.length;!l&&i<s;i++)l=u[i]._eventsRoot;for(l||(l=u[u.length-1]||e),e._eventsRoot=l,s=i,i=0;i<s;i++)u[i]._eventsRoot=l;var f=l._delegates;f||(f=l._delegates={});for(d in c){if(!c)return!1;"wheel"!==d||h?("mouseenter"===d||"mouseleave"===d?l._hasMouseEnter||(a(l.getEl()).on("mouseleave",n).on("mouseover",r),l._hasMouseEnter=1):f[d]||(a(l.getEl()).on(d,t),f[d]=!0),c[d]=!1):p?a(e.getEl()).on("mousewheel",o):a(e.getEl()).on("DOMMouseScroll",o)}}}var f,p="onmousewheel"in document,h=!1,m="mce-",v=0,g={Statics:{classPrefix:m},isRtl:function(){return f.rtl},classPrefix:m,init:function(e){function n(e){var t;for(e=e.split(" "),t=0;t<e.length;t++)l.classes.add(e[t])}var o,i,l=this;l.settings=e=t.extend({},l.Defaults,e),l._id=e.id||"mceu_"+v++,l._aria={role:e.role},l._elmCache={},l.$=a,l.state=new r({visible:!0,active:!1,disabled:!1,value:""}),l.data=new r(e.data),l.classes=new u(function(){l.state.get("rendered")&&(l.getEl().className=this.toString())}),l.classes.prefix=l.classPrefix,o=e.classes,o&&(l.Defaults&&(i=l.Defaults.classes,i&&o!=i&&n(i)),n(o)),t.each("title text name visible disabled active value".split(" "),function(t){t in e&&l[t](e[t])}),l.on("click",function(){if(l.disabled())return!1}),l.settings=e,l.borderBox=s.parseBox(e.border),l.paddingBox=s.parseBox(e.padding),l.marginBox=s.parseBox(e.margin),e.hidden&&l.hide()},Properties:"parent,name",getContainerElm:function(){return i.getContainer()},getParentCtrl:function(e){for(var t,n=this.getRoot().controlIdLookup;e&&n&&!(t=n[e.id]);)e=e.parentNode;return t},initLayoutRect:function(){var e,t,n,r,o,a,u,l,c,d,f=this,p=f.settings,h=f.getEl();e=f.borderBox=f.borderBox||s.measureBox(h,"border"),f.paddingBox=f.paddingBox||s.measureBox(h,"padding"),f.marginBox=f.marginBox||s.measureBox(h,"margin"),d=i.getSize(h),l=p.minWidth,c=p.minHeight,o=l||d.width,a=c||d.height,n=p.width,r=p.height,u=p.autoResize,u="undefined"!=typeof u?u:!n&&!r,n=n||o,r=r||a;var m=e.left+e.right,v=e.top+e.bottom,g=p.maxWidth||65535,y=p.maxHeight||65535;return f._layoutRect=t={x:p.x||0,y:p.y||0,w:n,h:r,deltaW:m,deltaH:v,contentW:n-m,contentH:r-v,innerW:n-m,innerH:r-v,startMinWidth:l||0,startMinHeight:c||0,minW:Math.min(o,g),minH:Math.min(a,y),maxW:g,maxH:y,autoResize:u,scrollW:0},f._lastLayoutRect={},t},layoutRect:function(e){var t,n,r,o,i,a,s=this,u=s._layoutRect;return u||(u=s.initLayoutRect()),e?(r=u.deltaW,o=u.deltaH,e.x!==i&&(u.x=e.x),e.y!==i&&(u.y=e.y),e.minW!==i&&(u.minW=e.minW),e.minH!==i&&(u.minH=e.minH),n=e.w,n!==i&&(n=n<u.minW?u.minW:n,n=n>u.maxW?u.maxW:n,u.w=n,u.innerW=n-r),n=e.h,n!==i&&(n=n<u.minH?u.minH:n,n=n>u.maxH?u.maxH:n,u.h=n,u.innerH=n-o),n=e.innerW,n!==i&&(n=n<u.minW-r?u.minW-r:n,n=n>u.maxW-r?u.maxW-r:n,u.innerW=n,u.w=n+r),n=e.innerH,n!==i&&(n=n<u.minH-o?u.minH-o:n,n=n>u.maxH-o?u.maxH-o:n,u.innerH=n,u.h=n+o),e.contentW!==i&&(u.contentW=e.contentW),e.contentH!==i&&(u.contentH=e.contentH),t=s._lastLayoutRect,t.x===u.x&&t.y===u.y&&t.w===u.w&&t.h===u.h||(a=f.repaintControls,a&&a.map&&!a.map[s._id]&&(a.push(s),a.map[s._id]=!0),t.x=u.x,t.y=u.y,t.w=u.w,t.h=u.h),s):u},repaint:function(){var e,t,n,r,o,i,a,s,u,l,c=this;u=document.createRange?function(e){return e}:Math.round,e=c.getEl().style,r=c._layoutRect,s=c._lastRepaintRect||{},o=c.borderBox,i=o.left+o.right,a=o.top+o.bottom,r.x!==s.x&&(e.left=u(r.x)+"px",s.x=r.x),r.y!==s.y&&(e.top=u(r.y)+"px",s.y=r.y),r.w!==s.w&&(l=u(r.w-i),e.width=(l>=0?l:0)+"px",s.w=r.w),r.h!==s.h&&(l=u(r.h-a),e.height=(l>=0?l:0)+"px",s.h=r.h),c._hasBody&&r.innerW!==s.innerW&&(l=u(r.innerW),n=c.getEl("body"),n&&(t=n.style,t.width=(l>=0?l:0)+"px"),s.innerW=r.innerW),c._hasBody&&r.innerH!==s.innerH&&(l=u(r.innerH),n=n||c.getEl("body"),n&&(t=t||n.style,t.height=(l>=0?l:0)+"px"),s.innerH=r.innerH),c._lastRepaintRect=s,c.fire("repaint",{},!1)},updateLayoutRect:function(){var e=this;e.parent()._lastRect=null,i.css(e.getEl(),{width:"",height:""}),e._layoutRect=e._lastRepaintRect=e._lastLayoutRect=null,e.initLayoutRect()},on:function(e,t){function n(e){var t,n;return"string"!=typeof e?e:function(o){return t||r.parentsAndSelf().each(function(r){var o=r.settings.callbacks;if(o&&(t=o[e]))return n=r,!1}),t?t.call(n,o):(o.action=e,void this.fire("execute",o))}}var r=this;return c(r).on(e,n(t)),r},off:function(e,t){return c(this).off(e,t),this},fire:function(e,t,n){var r=this;if(t=t||{},t.control||(t.control=r),t=c(r).fire(e,t),n!==!1&&r.parent)for(var o=r.parent();o&&!t.isPropagationStopped();)o.fire(e,t,!1),o=o.parent();return t},hasEventListeners:function(e){return c(this).has(e)},parents:function(e){var t,n=this,r=new o;for(t=n.parent();t;t=t.parent())r.add(t);return e&&(r=r.filter(e)),r},parentsAndSelf:function(e){return new o(this).add(this.parents(e))},next:function(){var e=this.parent().items();return e[e.indexOf(this)+1]},prev:function(){var e=this.parent().items();return e[e.indexOf(this)-1]},innerHtml:function(e){return this.$el.html(e),this},getEl:function(e){var t=e?this._id+"-"+e:this._id;return this._elmCache[t]||(this._elmCache[t]=a("#"+t)[0]),this._elmCache[t]},show:function(){return this.visible(!0)},hide:function(){return this.visible(!1)},focus:function(){try{this.getEl().focus()}catch(e){}return this},blur:function(){return this.getEl().blur(),this},aria:function(e,t){var n=this,r=n.getEl(n.ariaTarget);return"undefined"==typeof t?n._aria[e]:(n._aria[e]=t,n.state.get("rendered")&&r.setAttribute("role"==e?e:"aria-"+e,t),n)},encode:function(e,t){return t!==!1&&(e=this.translate(e)),(e||"").replace(/[&<>"]/g,function(e){return"&#"+e.charCodeAt(0)+";"})},translate:function(e){return f.translate?f.translate(e):e},before:function(e){var t=this,n=t.parent();return n&&n.insert(e,n.items().indexOf(t),!0),t},after:function(e){var t=this,n=t.parent();return n&&n.insert(e,n.items().indexOf(t)),t},remove:function(){var e,t,n=this,r=n.getEl(),o=n.parent();if(n.items){var i=n.items().toArray();for(t=i.length;t--;)i[t].remove()}o&&o.items&&(e=[],o.items().each(function(t){t!==n&&e.push(t)}),o.items().set(e),o._lastRect=null),n._eventsRoot&&n._eventsRoot==n&&a(r).off();var s=n.getRoot().controlIdLookup;return s&&delete s[n._id],r&&r.parentNode&&r.parentNode.removeChild(r),n.state.set("rendered",!1),n.state.destroy(),n.fire("remove"),n},renderBefore:function(e){return a(e).before(this.renderHtml()),this.postRender(),this},renderTo:function(e){return a(e||this.getContainerElm()).append(this.renderHtml()),this.postRender(),this},preRender:function(){},render:function(){},renderHtml:function(){return'<div id="'+this._id+'" class="'+this.classes+'"></div>'},postRender:function(){var e,t,n,r,o,i=this,s=i.settings;i.$el=a(i.getEl()),i.state.set("rendered",!0);for(r in s)0===r.indexOf("on")&&i.on(r.substr(2),s[r]);if(i._eventsRoot){for(n=i.parent();!o&&n;n=n.parent())o=n._eventsRoot;if(o)for(r in o._nativeEvents)i._nativeEvents[r]=!0}d(i),s.style&&(e=i.getEl(),e&&(e.setAttribute("style",s.style),e.style.cssText=s.style)),i.settings.border&&(t=i.borderBox,i.$el.css({"border-top-width":t.top,"border-right-width":t.right,"border-bottom-width":t.bottom,"border-left-width":t.left}));var u=i.getRoot();u.controlIdLookup||(u.controlIdLookup={}),u.controlIdLookup[i._id]=i;for(var c in i._aria)i.aria(c,i._aria[c]);i.state.get("visible")===!1&&(i.getEl().style.display="none"),i.bindStates(),i.state.on("change:visible",function(e){var t,n=e.value;i.state.get("rendered")&&(i.getEl().style.display=n===!1?"none":"",i.getEl().getBoundingClientRect()),t=i.parent(),t&&(t._lastRect=null),i.fire(n?"show":"hide"),l.add(i)}),i.fire("postrender",{},!1)},bindStates:function(){},scrollIntoView:function(e){function t(e,t){var n,r,o=e;for(n=r=0;o&&o!=t&&o.nodeType;)n+=o.offsetLeft||0,r+=o.offsetTop||0,o=o.offsetParent;return{x:n,y:r}}var n,r,o,i,a,s,u=this.getEl(),l=u.parentNode,c=t(u,l);return n=c.x,r=c.y,o=u.offsetWidth,i=u.offsetHeight,a=l.clientWidth,s=l.clientHeight,"end"==e?(n-=a-o,r-=s-i):"center"==e&&(n-=a/2-o/2,r-=s/2-i/2),l.scrollLeft=n,l.scrollTop=r,this},getRoot:function(){for(var e,t=this,n=[];t;){if(t.rootControl){e=t.rootControl;break}n.push(t),e=t,t=t.parent()}e||(e=this);for(var r=n.length;r--;)n[r].rootControl=e;return e},reflow:function(){l.remove(this);var e=this.parent();return e._layout&&!e._layout.isNative()&&e.reflow(),this}};return t.each("text title visible disabled active value".split(" "),function(e){g[e]=function(t){return 0===arguments.length?this.state.get(e):("undefined"!=typeof t&&this.state.set(e,t),this)}}),f=e.extend(g)}),i("tinymce/ui/Factory",[],function(){var e,t={};return{add:function(e,n){t[e.toLowerCase()]=n},has:function(e){return!!t[e.toLowerCase()]},create:function(n,r){var o,i,a;if(!e){a=tinymce.ui;for(i in a)t[i.toLowerCase()]=a[i];e=!0}if("string"==typeof n?(r=r||{},r.type=n):(r=n,n=r.type),n=n.toLowerCase(),o=t[n],!o)throw new Error("Could not find control by type: "+n);return o=new o(r),o.type=n,o}}}),i("tinymce/ui/KeyboardNavigation",[],function(){return function(e){function t(e){return e&&1===e.nodeType}function n(e){return e=e||b,t(e)?e.getAttribute("role"):null}function r(e){for(var t,r=e||b;r=r.parentNode;)if(t=n(r))return t}function o(e){var n=b;if(t(n))return n.getAttribute("aria-"+e)}function i(e){var t=e.tagName.toUpperCase();return"INPUT"==t||"TEXTAREA"==t||"SELECT"==t}function a(e){return!(!i(e)||e.hidden)||!!/^(button|menuitem|checkbox|tab|menuitemcheckbox|option|gridcell|slider)$/.test(n(e))}function s(e){function t(e){if(1==e.nodeType&&"none"!=e.style.display&&!e.disabled){a(e)&&n.push(e);for(var r=0;r<e.childNodes.length;r++)t(e.childNodes[r])}}var n=[];return t(e||w.getEl()),n}function u(e){var t,n;e=e||_,n=e.parents().toArray(),n.unshift(e);for(var r=0;r<n.length&&(t=n[r],!t.settings.ariaRoot);r++);return t}function l(e){var t=u(e),n=s(t.getEl());t.settings.ariaRemember&&"lastAriaIndex"in t?c(t.lastAriaIndex,n):c(0,n)}function c(e,t){return e<0?e=t.length-1:e>=t.length&&(e=0),t[e]&&t[e].focus(),e}function d(e,t){var n=-1,r=u();t=t||s(r.getEl());for(var o=0;o<t.length;o++)t[o]===b&&(n=o);n+=e,r.lastAriaIndex=c(n,t)}function f(){var e=r();"tablist"==e?d(-1,s(b.parentNode)):_.parent().submenu?g():d(-1)}function p(){var e=n(),t=r();"tablist"==t?d(1,s(b.parentNode)):"menuitem"==e&&"menu"==t&&o("haspopup")?y():d(1)}function h(){d(-1)}function m(){var e=n(),t=r();"menuitem"==e&&"menubar"==t?y():"button"==e&&o("haspopup")?y({key:"down"}):d(1)}function v(e){var t=r();if("tablist"==t){var n=s(_.getEl("body"))[0];n&&n.focus()}else d(e.shiftKey?-1:1)}function g(){_.fire("cancel")}function y(e){e=e||{},_.fire("click",{target:b,aria:e})}var b,_,w=e.root;try{b=document.activeElement}catch(e){b=document.body}return _=w.getParentCtrl(b),w.on("keydown",function(e){function t(e,t){i(b)||"slider"!==n(b)&&t(e)!==!1&&e.preventDefault()}if(!e.isDefaultPrevented())switch(e.keyCode){case 37:t(e,f);break;case 39:t(e,p);break;case 38:t(e,h);break;case 40:t(e,m);break;case 27:g();break;case 14:case 13:case 32:t(e,y);break;case 9:v(e)!==!1&&e.preventDefault()}}),w.on("focusin",function(e){b=e.target,_=e.control}),{focusFirst:l}}}),i("tinymce/ui/Container",["tinymce/ui/Control","tinymce/ui/Collection","tinymce/ui/Selector","tinymce/ui/Factory","tinymce/ui/KeyboardNavigation","tinymce/util/Tools","tinymce/dom/DomQuery","tinymce/ui/ClassList","tinymce/ui/ReflowQueue"],function(e,t,n,r,o,i,a,s,u){var l={};return e.extend({init:function(e){var n=this;n._super(e),e=n.settings,e.fixed&&n.state.set("fixed",!0),n._items=new t,n.isRtl()&&n.classes.add("rtl"),n.bodyClasses=new s(function(){n.state.get("rendered")&&(n.getEl("body").className=this.toString())}),n.bodyClasses.prefix=n.classPrefix,n.classes.add("container"),n.bodyClasses.add("container-body"),e.containerCls&&n.classes.add(e.containerCls),n._layout=r.create((e.layout||"")+"layout"),n.settings.items?n.add(n.settings.items):n.add(n.render()),n._hasBody=!0},items:function(){return this._items},find:function(e){return e=l[e]=l[e]||new n(e),e.find(this)},add:function(e){var t=this;return t.items().add(t.create(e)).parent(t),t},focus:function(e){var t,n,r,o=this;return e&&(n=o.keyboardNav||o.parents().eq(-1)[0].keyboardNav)?void n.focusFirst(o):(r=o.find("*"),o.statusbar&&r.add(o.statusbar.items()),r.each(function(e){return e.settings.autofocus?(t=null,!1):void(e.canFocus&&(t=t||e))}),t&&t.focus(),o)},replace:function(e,t){for(var n,r=this.items(),o=r.length;o--;)if(r[o]===e){r[o]=t;break}o>=0&&(n=t.getEl(),n&&n.parentNode.removeChild(n),n=e.getEl(),n&&n.parentNode.removeChild(n)),t.parent(this)},create:function(t){var n,o=this,a=[];return i.isArray(t)||(t=[t]),i.each(t,function(t){t&&(t instanceof e||("string"==typeof t&&(t={type:t}),n=i.extend({},o.settings.defaults,t),t.type=n.type=n.type||t.type||o.settings.defaultType||(n.defaults?n.defaults.type:null),t=r.create(n)),a.push(t))}),a},renderNew:function(){var e=this;return e.items().each(function(t,n){var r;t.parent(e),t.state.get("rendered")||(r=e.getEl("body"),r.hasChildNodes()&&n<=r.childNodes.length-1?a(r.childNodes[n]).before(t.renderHtml()):a(r).append(t.renderHtml()),t.postRender(),u.add(t))}),e._layout.applyClasses(e.items().filter(":visible")),e._lastRect=null,e},append:function(e){return this.add(e).renderNew()},prepend:function(e){var t=this;return t.items().set(t.create(e).concat(t.items().toArray())),t.renderNew()},insert:function(e,t,n){var r,o,i,a=this;return e=a.create(e),r=a.items(),!n&&t<r.length-1&&(t+=1),t>=0&&t<r.length&&(o=r.slice(0,t).toArray(),i=r.slice(t).toArray(),r.set(o.concat(e,i))),a.renderNew()},fromJSON:function(e){var t=this;for(var n in e)t.find("#"+n).value(e[n]);return t},toJSON:function(){var e=this,t={};return e.find("*").each(function(e){var n=e.name(),r=e.value();n&&"undefined"!=typeof r&&(t[n]=r)}),t},renderHtml:function(){var e=this,t=e._layout,n=this.settings.role;return e.preRender(),t.preRender(e),'<div id="'+e._id+'" class="'+e.classes+'"'+(n?' role="'+this.settings.role+'"':"")+'><div id="'+e._id+'-body" class="'+e.bodyClasses+'">'+(e.settings.html||"")+t.renderHtml(e)+"</div></div>"},postRender:function(){var e,t=this;return t.items().exec("postRender"),t._super(),t._layout.postRender(t),t.state.set("rendered",!0),t.settings.style&&t.$el.css(t.settings.style),t.settings.border&&(e=t.borderBox,t.$el.css({"border-top-width":e.top,"border-right-width":e.right,"border-bottom-width":e.bottom,"border-left-width":e.left})),t.parent()||(t.keyboardNav=new o({root:t})),
-t},initLayoutRect:function(){var e=this,t=e._super();return e._layout.recalc(e),t},recalc:function(){var e=this,t=e._layoutRect,n=e._lastRect;if(!n||n.w!=t.w||n.h!=t.h)return e._layout.recalc(e),t=e.layoutRect(),e._lastRect={x:t.x,y:t.y,w:t.w,h:t.h},!0},reflow:function(){var t;if(u.remove(this),this.visible()){for(e.repaintControls=[],e.repaintControls.map={},this.recalc(),t=e.repaintControls.length;t--;)e.repaintControls[t].repaint();"flow"!==this.settings.layout&&"stack"!==this.settings.layout&&this.repaint(),e.repaintControls=[]}return this}})}),i("tinymce/ui/DragHelper",["tinymce/dom/DomQuery"],function(e){function t(e){var t,n,r,o,i,a,s,u,l=Math.max;return t=e.documentElement,n=e.body,r=l(t.scrollWidth,n.scrollWidth),o=l(t.clientWidth,n.clientWidth),i=l(t.offsetWidth,n.offsetWidth),a=l(t.scrollHeight,n.scrollHeight),s=l(t.clientHeight,n.clientHeight),u=l(t.offsetHeight,n.offsetHeight),{width:r<i?o:r,height:a<u?s:a}}function n(e){var t,n;if(e.changedTouches)for(t="screenX screenY pageX pageY clientX clientY".split(" "),n=0;n<t.length;n++)e[t[n]]=e.changedTouches[0][t[n]]}return function(r,o){function i(){return p.getElementById(o.handle||r)}var a,s,u,l,c,d,f,p=o.document||document;o=o||{},u=function(r){var u,h,m=t(p);n(r),r.preventDefault(),s=r.button,u=i(),d=r.screenX,f=r.screenY,h=window.getComputedStyle?window.getComputedStyle(u,null).getPropertyValue("cursor"):u.runtimeStyle.cursor,a=e("<div></div>").css({position:"absolute",top:0,left:0,width:m.width,height:m.height,zIndex:2147483647,opacity:1e-4,cursor:h}).appendTo(p.body),e(p).on("mousemove touchmove",c).on("mouseup touchend",l),o.start(r)},c=function(e){return n(e),e.button!==s?l(e):(e.deltaX=e.screenX-d,e.deltaY=e.screenY-f,e.preventDefault(),void o.drag(e))},l=function(t){n(t),e(p).off("mousemove touchmove",c).off("mouseup touchend",l),a.remove(),o.stop&&o.stop(t)},this.destroy=function(){e(i()).off()},e(i()).on("mousedown touchstart",u)}}),i("tinymce/ui/Scrollable",["tinymce/dom/DomQuery","tinymce/ui/DragHelper"],function(e,t){return{init:function(){var e=this;e.on("repaint",e.renderScroll)},renderScroll:function(){function n(){function t(t,a,s,u,l,c){var d,f,p,h,m,v,g,y,b;if(f=o.getEl("scroll"+t)){if(y=a.toLowerCase(),b=s.toLowerCase(),e(o.getEl("absend")).css(y,o.layoutRect()[u]-1),!l)return void e(f).css("display","none");e(f).css("display","block"),d=o.getEl("body"),p=o.getEl("scroll"+t+"t"),h=d["client"+s]-2*i,h-=n&&r?f["client"+c]:0,m=d["scroll"+s],v=h/m,g={},g[y]=d["offset"+a]+i,g[b]=h,e(f).css(g),g={},g[y]=d["scroll"+a]*v,g[b]=h*v,e(p).css(g)}}var n,r,a;a=o.getEl("body"),n=a.scrollWidth>a.clientWidth,r=a.scrollHeight>a.clientHeight,t("h","Left","Width","contentW",n,"Height"),t("v","Top","Height","contentH",r,"Width")}function r(){function n(n,r,a,s,u){var l,c=o._id+"-scroll"+n,d=o.classPrefix;e(o.getEl()).append('<div id="'+c+'" class="'+d+"scrollbar "+d+"scrollbar-"+n+'"><div id="'+c+'t" class="'+d+'scrollbar-thumb"></div></div>'),o.draghelper=new t(c+"t",{start:function(){l=o.getEl("body")["scroll"+r],e("#"+c).addClass(d+"active")},drag:function(e){var t,c,d,f,p=o.layoutRect();c=p.contentW>p.innerW,d=p.contentH>p.innerH,f=o.getEl("body")["client"+a]-2*i,f-=c&&d?o.getEl("scroll"+n)["client"+u]:0,t=f/o.getEl("body")["scroll"+a],o.getEl("body")["scroll"+r]=l+e["delta"+s]/t},stop:function(){e("#"+c).removeClass(d+"active")}})}o.classes.add("scroll"),n("v","Top","Height","Y","Width"),n("h","Left","Width","X","Height")}var o=this,i=2;o.settings.autoScroll&&(o._hasScroll||(o._hasScroll=!0,r(),o.on("wheel",function(e){var t=o.getEl("body");t.scrollLeft+=10*(e.deltaX||0),t.scrollTop+=10*e.deltaY,n()}),e(o.getEl("body")).on("scroll",n)),n())}}}),i("tinymce/ui/Panel",["tinymce/ui/Container","tinymce/ui/Scrollable"],function(e,t){return e.extend({Defaults:{layout:"fit",containerCls:"panel"},Mixins:[t],renderHtml:function(){var e=this,t=e._layout,n=e.settings.html;return e.preRender(),t.preRender(e),"undefined"==typeof n?n='<div id="'+e._id+'-body" class="'+e.bodyClasses+'">'+t.renderHtml(e)+"</div>":("function"==typeof n&&(n=n.call(e)),e._hasBody=!1),'<div id="'+e._id+'" class="'+e.classes+'" hidefocus="1" tabindex="-1" role="group">'+(e._preBodyHtml||"")+n+"</div>"}})}),i("tinymce/ui/Movable",["tinymce/ui/DomUtils"],function(e){function t(t,n,r){var o,i,a,s,u,l,c,d,f,p;return f=e.getViewPort(),i=e.getPos(n),a=i.x,s=i.y,t.state.get("fixed")&&"static"==e.getRuntimeStyle(document.body,"position")&&(a-=f.x,s-=f.y),o=t.getEl(),p=e.getSize(o),u=p.width,l=p.height,p=e.getSize(n),c=p.width,d=p.height,r=(r||"").split(""),"b"===r[0]&&(s+=d),"r"===r[1]&&(a+=c),"c"===r[0]&&(s+=Math.round(d/2)),"c"===r[1]&&(a+=Math.round(c/2)),"b"===r[3]&&(s-=l),"r"===r[4]&&(a-=u),"c"===r[3]&&(s-=Math.round(l/2)),"c"===r[4]&&(a-=Math.round(u/2)),{x:a,y:s,w:u,h:l}}return{testMoveRel:function(n,r){for(var o=e.getViewPort(),i=0;i<r.length;i++){var a=t(this,n,r[i]);if(this.state.get("fixed")){if(a.x>0&&a.x+a.w<o.w&&a.y>0&&a.y+a.h<o.h)return r[i]}else if(a.x>o.x&&a.x+a.w<o.w+o.x&&a.y>o.y&&a.y+a.h<o.h+o.y)return r[i]}return r[0]},moveRel:function(e,n){"string"!=typeof n&&(n=this.testMoveRel(e,n));var r=t(this,e,n);return this.moveTo(r.x,r.y)},moveBy:function(e,t){var n=this,r=n.layoutRect();return n.moveTo(r.x+e,r.y+t),n},moveTo:function(t,n){function r(e,t,n){return e<0?0:e+n>t?(e=t-n,e<0?0:e):e}var o=this;if(o.settings.constrainToViewport){var i=e.getViewPort(window),a=o.layoutRect();t=r(t,i.w+i.x,a.w),n=r(n,i.h+i.y,a.h)}return o.state.get("rendered")?o.layoutRect({x:t,y:n}).repaint():(o.settings.x=t,o.settings.y=n),o.fire("move",{x:t,y:n}),o}}}),i("tinymce/ui/Resizable",["tinymce/ui/DomUtils"],function(e){return{resizeToContent:function(){this._layoutRect.autoResize=!0,this._lastRect=null,this.reflow()},resizeTo:function(t,n){if(t<=1||n<=1){var r=e.getWindowSize();t=t<=1?t*r.w:t,n=n<=1?n*r.h:n}return this._layoutRect.autoResize=!1,this.layoutRect({minW:t,minH:n,w:t,h:n}).reflow()},resizeBy:function(e,t){var n=this,r=n.layoutRect();return n.resizeTo(r.w+e,r.h+t)}}}),i("tinymce/ui/FloatPanel",["tinymce/ui/Panel","tinymce/ui/Movable","tinymce/ui/Resizable","tinymce/ui/DomUtils","tinymce/dom/DomQuery","tinymce/util/Delay"],function(e,t,n,r,o,i){function a(e,t){for(;e;){if(e==t)return!0;e=e.parent()}}function s(e){for(var t=y.length;t--;){var n=y[t],r=n.getParentCtrl(e.target);if(n.settings.autohide){if(r&&(a(r,n)||n.parent()===r))continue;e=n.fire("autohide",{target:e.target}),e.isDefaultPrevented()||n.hide()}}}function u(){h||(h=function(e){2!=e.button&&s(e)},o(document).on("click touchstart",h))}function l(){m||(m=function(){var e;for(e=y.length;e--;)d(y[e])},o(window).on("scroll",m))}function c(){if(!v){var e=document.documentElement,t=e.clientWidth,n=e.clientHeight;v=function(){document.all&&t==e.clientWidth&&n==e.clientHeight||(t=e.clientWidth,n=e.clientHeight,_.hideAll())},o(window).on("resize",v)}}function d(e){function t(t,n){for(var r,o=0;o<y.length;o++)if(y[o]!=e)for(r=y[o].parent();r&&(r=r.parent());)r==e&&y[o].fixed(t).moveBy(0,n).repaint()}var n=r.getViewPort().y;e.settings.autofix&&(e.state.get("fixed")?e._autoFixY>n&&(e.fixed(!1).layoutRect({y:e._autoFixY}).repaint(),t(!1,e._autoFixY-n)):(e._autoFixY=e.layoutRect().y,e._autoFixY<n&&(e.fixed(!0).layoutRect({y:0}).repaint(),t(!0,n-e._autoFixY))))}function f(e,t){var n,r,i=_.zIndex||65535;if(e)b.push(t);else for(n=b.length;n--;)b[n]===t&&b.splice(n,1);if(b.length)for(n=0;n<b.length;n++)b[n].modal&&(i++,r=b[n]),b[n].getEl().style.zIndex=i,b[n].zIndex=i,i++;var a=o("#"+t.classPrefix+"modal-block",t.getContainerElm())[0];r?o(a).css("z-index",r.zIndex-1):a&&(a.parentNode.removeChild(a),g=!1),_.currentZIndex=i}function p(e){var t;for(t=y.length;t--;)y[t]===e&&y.splice(t,1);for(t=b.length;t--;)b[t]===e&&b.splice(t,1)}var h,m,v,g,y=[],b=[],_=e.extend({Mixins:[t,n],init:function(e){var t=this;t._super(e),t._eventsRoot=t,t.classes.add("floatpanel"),e.autohide&&(u(),c(),y.push(t)),e.autofix&&(l(),t.on("move",function(){d(this)})),t.on("postrender show",function(e){if(e.control==t){var n,r=t.classPrefix;t.modal&&!g&&(n=o("#"+r+"modal-block",t.getContainerElm()),n[0]||(n=o('<div id="'+r+'modal-block" class="'+r+"reset "+r+'fade"></div>').appendTo(t.getContainerElm())),i.setTimeout(function(){n.addClass(r+"in"),o(t.getEl()).addClass(r+"in")}),g=!0),f(!0,t)}}),t.on("show",function(){t.parents().each(function(e){if(e.state.get("fixed"))return t.fixed(!0),!1})}),e.popover&&(t._preBodyHtml='<div class="'+t.classPrefix+'arrow"></div>',t.classes.add("popover").add("bottom").add(t.isRtl()?"end":"start")),t.aria("label",e.ariaLabel),t.aria("labelledby",t._id),t.aria("describedby",t.describedBy||t._id+"-none")},fixed:function(e){var t=this;if(t.state.get("fixed")!=e){if(t.state.get("rendered")){var n=r.getViewPort();e?t.layoutRect().y-=n.y:t.layoutRect().y+=n.y}t.classes.toggle("fixed",e),t.state.set("fixed",e)}return t},show:function(){var e,t=this,n=t._super();for(e=y.length;e--&&y[e]!==t;);return e===-1&&y.push(t),n},hide:function(){return p(this),f(!1,this),this._super()},hideAll:function(){_.hideAll()},close:function(){var e=this;return e.fire("close").isDefaultPrevented()||(e.remove(),f(!1,e)),e},remove:function(){p(this),this._super()},postRender:function(){var e=this;return e.settings.bodyRole&&this.getEl("body").setAttribute("role",e.settings.bodyRole),e._super()}});return _.hideAll=function(){for(var e=y.length;e--;){var t=y[e];t&&t.settings.autohide&&(t.hide(),y.splice(e,1))}},_}),i("tinymce/ui/Window",["tinymce/ui/FloatPanel","tinymce/ui/Panel","tinymce/ui/DomUtils","tinymce/dom/DomQuery","tinymce/ui/DragHelper","tinymce/ui/BoxUtils","tinymce/Env","tinymce/util/Delay"],function(e,t,n,r,o,i,a,s){function u(e){var t,n="width=device-width,initial-scale=1.0,user-scalable=0,minimum-scale=1.0,maximum-scale=1.0",o=r("meta[name=viewport]")[0];a.overrideViewPort!==!1&&(o||(o=document.createElement("meta"),o.setAttribute("name","viewport"),document.getElementsByTagName("head")[0].appendChild(o)),t=o.getAttribute("content"),t&&"undefined"!=typeof p&&(p=t),o.setAttribute("content",e?n:p))}function l(e,t){c()&&t===!1&&r([document.documentElement,document.body]).removeClass(e+"fullscreen")}function c(){for(var e=0;e<f.length;e++)if(f[e]._fullscreen)return!0;return!1}function d(){function e(){var e,t,r=n.getWindowSize();for(e=0;e<f.length;e++)t=f[e].layoutRect(),f[e].moveTo(f[e].settings.x||Math.max(0,r.w/2-t.w/2),f[e].settings.y||Math.max(0,r.h/2-t.h/2))}if(!a.desktop){var t={w:window.innerWidth,h:window.innerHeight};s.setInterval(function(){var e=window.innerWidth,n=window.innerHeight;t.w==e&&t.h==n||(t={w:e,h:n},r(window).trigger("resize"))},100)}r(window).on("resize",e)}var f=[],p="",h=e.extend({modal:!0,Defaults:{border:1,layout:"flex",containerCls:"panel",role:"dialog",callbacks:{submit:function(){this.fire("submit",{data:this.toJSON()})},close:function(){this.close()}}},init:function(e){var r=this;r._super(e),r.isRtl()&&r.classes.add("rtl"),r.classes.add("window"),r.bodyClasses.add("window-body"),r.state.set("fixed",!0),e.buttons&&(r.statusbar=new t({layout:"flex",border:"1 0 0 0",spacing:3,padding:10,align:"center",pack:r.isRtl()?"start":"end",defaults:{type:"button"},items:e.buttons}),r.statusbar.classes.add("foot"),r.statusbar.parent(r)),r.on("click",function(e){var t=r.classPrefix+"close";(n.hasClass(e.target,t)||n.hasClass(e.target.parentNode,t))&&r.close()}),r.on("cancel",function(){r.close()}),r.aria("describedby",r.describedBy||r._id+"-none"),r.aria("label",e.title),r._fullscreen=!1},recalc:function(){var e,t,r,o,i=this,a=i.statusbar;i._fullscreen&&(i.layoutRect(n.getWindowSize()),i.layoutRect().contentH=i.layoutRect().innerH),i._super(),e=i.layoutRect(),i.settings.title&&!i._fullscreen&&(t=e.headerW,t>e.w&&(r=e.x-Math.max(0,t/2),i.layoutRect({w:t,x:r}),o=!0)),a&&(a.layoutRect({w:i.layoutRect().innerW}).recalc(),t=a.layoutRect().minW+e.deltaW,t>e.w&&(r=e.x-Math.max(0,t-e.w),i.layoutRect({w:t,x:r}),o=!0)),o&&i.recalc()},initLayoutRect:function(){var e,t=this,r=t._super(),o=0;if(t.settings.title&&!t._fullscreen){e=t.getEl("head");var i=n.getSize(e);r.headerW=i.width,r.headerH=i.height,o+=r.headerH}t.statusbar&&(o+=t.statusbar.layoutRect().h),r.deltaH+=o,r.minH+=o,r.h+=o;var a=n.getWindowSize();return r.x=t.settings.x||Math.max(0,a.w/2-r.w/2),r.y=t.settings.y||Math.max(0,a.h/2-r.h/2),r},renderHtml:function(){var e=this,t=e._layout,n=e._id,r=e.classPrefix,o=e.settings,i="",a="",s=o.html;return e.preRender(),t.preRender(e),o.title&&(i='<div id="'+n+'-head" class="'+r+'window-head"><div id="'+n+'-title" class="'+r+'title">'+e.encode(o.title)+'</div><div id="'+n+'-dragh" class="'+r+'dragh"></div><button type="button" class="'+r+'close" aria-hidden="true"><i class="mce-ico mce-i-remove"></i></button></div>'),o.url&&(s='<iframe src="'+o.url+'" tabindex="-1"></iframe>'),"undefined"==typeof s&&(s=t.renderHtml(e)),e.statusbar&&(a=e.statusbar.renderHtml()),'<div id="'+n+'" class="'+e.classes+'" hidefocus="1"><div class="'+e.classPrefix+'reset" role="application">'+i+'<div id="'+n+'-body" class="'+e.bodyClasses+'">'+s+"</div>"+a+"</div></div>"},fullscreen:function(e){var t,o,a=this,u=document.documentElement,l=a.classPrefix;if(e!=a._fullscreen)if(r(window).on("resize",function(){var e;if(a._fullscreen)if(t)a._timer||(a._timer=s.setTimeout(function(){var e=n.getWindowSize();a.moveTo(0,0).resizeTo(e.w,e.h),a._timer=0},50));else{e=(new Date).getTime();var r=n.getWindowSize();a.moveTo(0,0).resizeTo(r.w,r.h),(new Date).getTime()-e>50&&(t=!0)}}),o=a.layoutRect(),a._fullscreen=e,e){a._initial={x:o.x,y:o.y,w:o.w,h:o.h},a.borderBox=i.parseBox("0"),a.getEl("head").style.display="none",o.deltaH-=o.headerH+2,r([u,document.body]).addClass(l+"fullscreen"),a.classes.add("fullscreen");var c=n.getWindowSize();a.moveTo(0,0).resizeTo(c.w,c.h)}else a.borderBox=i.parseBox(a.settings.border),a.getEl("head").style.display="",o.deltaH+=o.headerH,r([u,document.body]).removeClass(l+"fullscreen"),a.classes.remove("fullscreen"),a.moveTo(a._initial.x,a._initial.y).resizeTo(a._initial.w,a._initial.h);return a.reflow()},postRender:function(){var e,t=this;setTimeout(function(){t.classes.add("in"),t.fire("open")},0),t._super(),t.statusbar&&t.statusbar.postRender(),t.focus(),this.dragHelper=new o(t._id+"-dragh",{start:function(){e={x:t.layoutRect().x,y:t.layoutRect().y}},drag:function(n){t.moveTo(e.x+n.deltaX,e.y+n.deltaY)}}),t.on("submit",function(e){e.isDefaultPrevented()||t.close()}),f.push(t),u(!0)},submit:function(){return this.fire("submit",{data:this.toJSON()})},remove:function(){var e,t=this;for(t.dragHelper.destroy(),t._super(),t.statusbar&&this.statusbar.remove(),l(t.classPrefix,!1),e=f.length;e--;)f[e]===t&&f.splice(e,1);u(f.length>0)},getContentWindow:function(){var e=this.getEl().getElementsByTagName("iframe")[0];return e?e.contentWindow:null}});return d(),h}),i("tinymce/ui/MessageBox",["tinymce/ui/Window"],function(e){var t=e.extend({init:function(e){e={border:1,padding:20,layout:"flex",pack:"center",align:"center",containerCls:"panel",autoScroll:!0,buttons:{type:"button",text:"Ok",action:"ok"},items:{type:"label",multiline:!0,maxWidth:500,maxHeight:200}},this._super(e)},Statics:{OK:1,OK_CANCEL:2,YES_NO:3,YES_NO_CANCEL:4,msgBox:function(n){function r(e,t,n){return{type:"button",text:e,subtype:n?"primary":"",onClick:function(e){e.control.parents()[1].close(),i(t)}}}var o,i=n.callback||function(){};switch(n.buttons){case t.OK_CANCEL:o=[r("Ok",!0,!0),r("Cancel",!1)];break;case t.YES_NO:case t.YES_NO_CANCEL:o=[r("Yes",1,!0),r("No",0)],n.buttons==t.YES_NO_CANCEL&&o.push(r("Cancel",-1));break;default:o=[r("Ok",!0,!0)]}return new e({padding:20,x:n.x,y:n.y,minWidth:300,minHeight:100,layout:"flex",pack:"center",align:"center",buttons:o,title:n.title,role:"alertdialog",items:{type:"label",multiline:!0,maxWidth:500,maxHeight:200,text:n.text},onPostRender:function(){this.aria("describedby",this.items()[0]._id)},onClose:n.onClose,onCancel:function(){i(!1)}}).renderTo(document.body).reflow()},alert:function(e,n){return"string"==typeof e&&(e={text:e}),e.callback=n,t.msgBox(e)},confirm:function(e,n){return"string"==typeof e&&(e={text:e}),e.callback=n,e.buttons=t.OK_CANCEL,t.msgBox(e)}}});return t}),i("tinymce/WindowManager",["tinymce/ui/Window","tinymce/ui/MessageBox"],function(e,t){return function(n){function r(){if(s.length)return s[s.length-1]}function o(e){n.fire("OpenWindow",{win:e})}function i(e){n.fire("CloseWindow",{win:e})}var a=this,s=[];a.windows=s,n.on("remove",function(){for(var e=s.length;e--;)s[e].close()}),a.open=function(t,r){var a;return n.editorManager.setActive(n),t.title=t.title||" ",t.url=t.url||t.file,t.url&&(t.width=parseInt(t.width||320,10),t.height=parseInt(t.height||240,10)),t.body&&(t.items={defaults:t.defaults,type:t.bodyType||"form",items:t.body,data:t.data,callbacks:t.commands}),t.url||t.buttons||(t.buttons=[{text:"Ok",subtype:"primary",onclick:function(){a.find("form")[0].submit()}},{text:"Cancel",onclick:function(){a.close()}}]),a=new e(t),s.push(a),a.on("close",function(){for(var e=s.length;e--;)s[e]===a&&s.splice(e,1);s.length||n.focus(),i(a)}),t.data&&a.on("postRender",function(){this.find("*").each(function(e){var n=e.name();n in t.data&&e.value(t.data[n])})}),a.features=t||{},a.params=r||{},1===s.length&&n.nodeChanged(),a=a.renderTo().reflow(),o(a),a},a.alert=function(e,r,a){var s;s=t.alert(e,function(){r?r.call(a||this):n.focus()}),s.on("close",function(){i(s)}),o(s)},a.confirm=function(e,n,r){var a;a=t.confirm(e,function(e){n.call(r||this,e)}),a.on("close",function(){i(a)}),o(a)},a.close=function(){r()&&r().close()},a.getParams=function(){return r()?r().params:null},a.setParams=function(e){r()&&(r().params=e)},a.getWindows=function(){return s}}}),i("tinymce/ui/Tooltip",["tinymce/ui/Control","tinymce/ui/Movable"],function(e,t){return e.extend({Mixins:[t],Defaults:{classes:"widget tooltip tooltip-n"},renderHtml:function(){var e=this,t=e.classPrefix;return'<div id="'+e._id+'" class="'+e.classes+'" role="presentation"><div class="'+t+'tooltip-arrow"></div><div class="'+t+'tooltip-inner">'+e.encode(e.state.get("text"))+"</div></div>"},bindStates:function(){var e=this;return e.state.on("change:text",function(t){e.getEl().lastChild.innerHTML=e.encode(t.value)}),e._super()},repaint:function(){var e,t,n=this;e=n.getEl().style,t=n._layoutRect,e.left=t.x+"px",e.top=t.y+"px",e.zIndex=131070}})}),i("tinymce/ui/Widget",["tinymce/ui/Control","tinymce/ui/Tooltip"],function(e,t){var n,r=e.extend({init:function(e){var t=this;t._super(e),e=t.settings,t.canFocus=!0,e.tooltip&&r.tooltips!==!1&&(t.on("mouseenter",function(n){var r=t.tooltip().moveTo(-65535);if(n.control==t){var o=r.text(e.tooltip).show().testMoveRel(t.getEl(),["bc-tc","bc-tl","bc-tr"]);r.classes.toggle("tooltip-n","bc-tc"==o),r.classes.toggle("tooltip-nw","bc-tl"==o),r.classes.toggle("tooltip-ne","bc-tr"==o),r.moveRel(t.getEl(),o)}else r.hide()}),t.on("mouseleave mousedown click",function(){t.tooltip().hide()})),t.aria("label",e.ariaLabel||e.tooltip)},tooltip:function(){return n||(n=new t({type:"tooltip"}),n.renderTo()),n},postRender:function(){var e=this,t=e.settings;e._super(),e.parent()||!t.width&&!t.height||(e.initLayoutRect(),e.repaint()),t.autofocus&&e.focus()},bindStates:function(){function e(e){n.aria("disabled",e),n.classes.toggle("disabled",e)}function t(e){n.aria("pressed",e),n.classes.toggle("active",e)}var n=this;return n.state.on("change:disabled",function(t){e(t.value)}),n.state.on("change:active",function(e){t(e.value)}),n.state.get("disabled")&&e(!0),n.state.get("active")&&t(!0),n._super()},remove:function(){this._super(),n&&(n.remove(),n=null)}});return r}),i("tinymce/ui/Progress",["tinymce/ui/Widget"],function(e){return e.extend({Defaults:{value:0},init:function(e){var t=this;t._super(e),t.classes.add("progress"),t.settings.filter||(t.settings.filter=function(e){return Math.round(e)})},renderHtml:function(){var e=this,t=e._id,n=this.classPrefix;return'<div id="'+t+'" class="'+e.classes+'"><div class="'+n+'bar-container"><div class="'+n+'bar"></div></div><div class="'+n+'text">0%</div></div>'},postRender:function(){var e=this;return e._super(),e.value(e.settings.value),e},bindStates:function(){function e(e){e=t.settings.filter(e),t.getEl().lastChild.innerHTML=e+"%",t.getEl().firstChild.firstChild.style.width=e+"%"}var t=this;return t.state.on("change:value",function(t){e(t.value)}),e(t.state.get("value")),t._super()}})}),i("tinymce/ui/Notification",["tinymce/ui/Control","tinymce/ui/Movable","tinymce/ui/Progress","tinymce/util/Delay"],function(e,t,n,r){return e.extend({Mixins:[t],Defaults:{classes:"widget notification"},init:function(e){var t=this;t._super(e),e.text&&t.text(e.text),e.icon&&(t.icon=e.icon),e.color&&(t.color=e.color),e.type&&t.classes.add("notification-"+e.type),e.timeout&&(e.timeout<0||e.timeout>0)&&!e.closeButton?t.closeButton=!1:(t.classes.add("has-close"),t.closeButton=!0),e.progressBar&&(t.progressBar=new n),t.on("click",function(e){e.target.className.indexOf(t.classPrefix+"close")!=-1&&t.close()})},renderHtml:function(){var e=this,t=e.classPrefix,n="",r="",o="",i="";return e.icon&&(n='<i class="'+t+"ico "+t+"i-"+e.icon+'"></i>'),e.color&&(i=' style="background-color: '+e.color+'"'),e.closeButton&&(r='<button type="button" class="'+t+'close" aria-hidden="true">×</button>'),e.progressBar&&(o=e.progressBar.renderHtml()),'<div id="'+e._id+'" class="'+e.classes+'"'+i+' role="presentation">'+n+'<div class="'+t+'notification-inner">'+e.state.get("text")+"</div>"+o+r+"</div>"},postRender:function(){var e=this;return r.setTimeout(function(){e.$el.addClass(e.classPrefix+"in")}),e._super()},bindStates:function(){var e=this;return e.state.on("change:text",function(t){e.getEl().childNodes[1].innerHTML=t.value}),e.progressBar&&e.progressBar.bindStates(),e._super()},close:function(){var e=this;return e.fire("close").isDefaultPrevented()||e.remove(),e},repaint:function(){var e,t,n=this;e=n.getEl().style,t=n._layoutRect,e.left=t.x+"px",e.top=t.y+"px",e.zIndex=65534}})}),i("tinymce/NotificationManager",["tinymce/ui/Notification","tinymce/util/Delay","tinymce/util/Tools"],function(e,t,n){return function(r){function o(){if(f.length)return f[f.length-1]}function i(){t.requestAnimationFrame(function(){a(),s()})}function a(){for(var e=0;e<f.length;e++)f[e].moveTo(0,0)}function s(){if(f.length>0){var e=f.slice(0,1)[0],t=r.inline?r.getElement():r.getContentAreaContainer();if(e.moveRel(t,"tc-tc"),f.length>1)for(var n=1;n<f.length;n++)f[n].moveRel(f[n-1].getEl(),"bc-tc")}}function u(e,t){if(!c(t))return null;var r=n.grep(e,function(e){return l(t,e)});return 0===r.length?null:r[0]}function l(e,t){return e.type===t.settings.type&&e.text===t.settings.text}function c(e){return!e.progressBar&&!e.timeout}var d=this,f=[];d.notifications=f,r.on("remove",function(){for(var e=f.length;e--;)f[e].close()}),r.on("ResizeEditor",s),r.on("ResizeWindow",i),d.open=function(t){if(!r.removed){var n;r.editorManager.setActive(r);var o=u(f,t);return null===o?(n=new e(t),f.push(n),t.timeout>0&&(n.timer=setTimeout(function(){n.close()},t.timeout)),n.on("close",function(){var e=f.length;for(n.timer&&r.getWin().clearTimeout(n.timer);e--;)f[e]===n&&f.splice(e,1);s()}),n.renderTo(),s()):n=o,n}},d.close=function(){o()&&o().close()},d.getNotifications=function(){return f},r.on("SkinLoaded",function(){var e=r.settings.service_message;e&&r.notificationManager.open({text:e,type:"warning",timeout:0,icon:""})})}}),i("tinymce/dom/NodePath",["tinymce/dom/DOMUtils"],function(e){function t(t,n,r){for(var o=[];n&&n!=t;n=n.parentNode)o.push(e.nodeIndex(n,r));return o}function n(e,t){var n,r,o;for(r=e,n=t.length-1;n>=0;n--){if(o=r.childNodes,t[n]>o.length-1)return null;r=o[t[n]]}return r}return{create:t,resolve:n}}),i("tinymce/util/Quirks",["tinymce/util/VK","tinymce/dom/RangeUtils","tinymce/dom/TreeWalker","tinymce/dom/NodePath","tinymce/html/Node","tinymce/html/Entities","tinymce/Env","tinymce/util/Tools","tinymce/util/Delay","tinymce/caret/CaretContainer","tinymce/caret/CaretPosition","tinymce/caret/CaretWalker"],function(e,t,n,r,o,i,a,s,u,l,c,d){return function(f){function p(e,t){try{f.getDoc().execCommand(e,!1,t)}catch(e){}}function h(){var e=f.getDoc().documentMode;return e?e:6}function m(e){return e.isDefaultPrevented()}function v(e){var t,n;e.dataTransfer&&(f.selection.isCollapsed()&&"IMG"==e.target.tagName&&re.select(e.target),t=f.selection.getContent(),t.length>0&&(n=ce+escape(f.id)+","+escape(t),e.dataTransfer.setData(de,n)))}function g(e){var t;return e.dataTransfer&&(t=e.dataTransfer.getData(de),t&&t.indexOf(ce)>=0)?(t=t.substr(ce.length).split(","),{id:unescape(t[0]),html:unescape(t[1])}):null}function y(e){f.queryCommandSupported("mceInsertClipboardContent")?f.execCommand("mceInsertClipboardContent",!1,{content:e}):f.execCommand("mceInsertContent",!1,e)}function b(){function o(e){var t=x.schema.getBlockElements(),n=f.getBody();if("BR"!=e.nodeName)return!1;for(;e!=n&&!t[e.nodeName];e=e.parentNode)if(e.nextSibling)return!1;return!0}function i(e,t){var n;for(n=e.nextSibling;n&&n!=t;n=n.nextSibling)if((3!=n.nodeType||0!==Z.trim(n.data).length)&&n!==t)return!1;return n===t}function a(e,t,r){var i,a,s;if(x.isChildOf(e,f.getBody()))for(s=x.schema.getNonEmptyElements(),i=new n(r||e,e);a=i[t?"next":"prev"]();){if(s[a.nodeName]&&!o(a))return a;if(3==a.nodeType&&a.data.length>0)return a}}function l(e){var n,r,o,i,s;if(!e.collapsed&&(n=x.getParent(t.getNode(e.startContainer,e.startOffset),x.isBlock),r=x.getParent(t.getNode(e.endContainer,e.endOffset),x.isBlock),s=f.schema.getTextBlockElements(),n!=r&&s[n.nodeName]&&s[r.nodeName]&&"false"!==x.getContentEditable(n)&&"false"!==x.getContentEditable(r)))return e.deleteContents(),o=a(n,!1),i=a(r,!0),x.isEmpty(r)||Z(n).append(r.childNodes),Z(r).remove(),o?1==o.nodeType?"BR"==o.nodeName?(e.setStartBefore(o),e.setEndBefore(o)):(e.setStartAfter(o),e.setEndAfter(o)):(e.setStart(o,o.data.length),e.setEnd(o,o.data.length)):i&&(1==i.nodeType?(e.setStartBefore(i),e.setEndBefore(i)):(e.setStart(i,0),e.setEnd(i,0))),E.setRng(e),!0}function c(e,n){var r,o,s,u,l,c;if(!e.collapsed)return e;if(l=e.startContainer,c=e.startOffset,3==l.nodeType)if(n){if(c<l.data.length)return e}else if(c>0)return e;r=t.getNode(l,c),s=x.getParent(r,x.isBlock),o=a(f.getBody(),n,r),u=x.getParent(o,x.isBlock);var d=1===l.nodeType&&c>l.childNodes.length-1;if(!r||!o)return e;if(u&&s!=u)if(n){if(!i(s,u))return e;1==r.nodeType?"BR"==r.nodeName?e.setStartBefore(r):e.setStartAfter(r):e.setStart(r,r.data.length),1==o.nodeType?e.setEnd(o,0):e.setEndBefore(o)}else{if(!i(u,s))return e;1==o.nodeType?"BR"==o.nodeName?e.setStartBefore(o):e.setStartAfter(o):e.setStart(o,o.data.length),1==r.nodeType&&d?e.setEndAfter(r):e.setEndBefore(r)}return e}function d(e){var t=E.getRng();if(t=c(t,e),l(t))return!0}function p(e,t){function n(e,n){return m=Z(n).parents().filter(function(e,t){return!!f.schema.getTextInlineElements()[t.nodeName]}),u=e.cloneNode(!1),m=s.map(m,function(e){return e=e.cloneNode(!1),u.hasChildNodes()?(e.appendChild(u.firstChild),u.appendChild(e)):u.appendChild(e),u.appendChild(e),e}),m.length?(h=x.create("br"),m[0].appendChild(h),x.replace(u,e),t.setStartBefore(h),t.setEndBefore(h),f.selection.setRng(t),h):null}function o(e){return e&&f.schema.getTextBlockElements()[e.tagName]}var i,a,u,l,c,d,p,h,m;if(t.collapsed&&(d=t.startContainer,p=t.startOffset,a=x.getParent(d,x.isBlock),o(a)))if(1==d.nodeType){if(d=d.childNodes[p],d&&"BR"!=d.tagName)return;if(c=e?a.nextSibling:a.previousSibling,x.isEmpty(a)&&o(c)&&x.isEmpty(c)&&n(a,d))return x.remove(c),!0}else if(3==d.nodeType){if(i=r.create(a,d),l=a.cloneNode(!0),d=r.resolve(l,i),e){if(p>=d.data.length)return;d.deleteData(p,1)}else{if(p<=0)return;d.deleteData(p-1,1)}if(x.isEmpty(l))return n(a,d)}}function h(e){var t,n,r;d(e)||(s.each(f.getBody().getElementsByTagName("*"),function(e){"SPAN"==e.tagName&&e.setAttribute("mce-data-marked",1),!e.hasAttribute("data-mce-style")&&e.hasAttribute("style")&&f.dom.setAttrib(e,"style",f.dom.getAttrib(e,"style"))}),t=new T(function(){}),t.observe(f.getDoc(),{childList:!0,attributes:!0,subtree:!0,attributeFilter:["style"]}),f.getDoc().execCommand(e?"ForwardDelete":"Delete",!1,null),n=f.selection.getRng(),r=n.startContainer.parentNode,s.each(t.takeRecords(),function(e){if(x.isChildOf(e.target,f.getBody())){if("style"==e.attributeName){var t=e.target.getAttribute("data-mce-style");t?e.target.setAttribute("style",t):e.target.removeAttribute("style")}s.each(e.addedNodes,function(e){if("SPAN"==e.nodeName&&!e.getAttribute("mce-data-marked")){var t,o;e==r&&(t=n.startOffset,o=e.firstChild),x.remove(e,!0),o&&(n.setStart(o,t),n.setEnd(o,t),f.selection.setRng(n))}})}}),t.disconnect(),s.each(f.dom.select("span[mce-data-marked]"),function(e){e.removeAttribute("mce-data-marked")}))}function b(e){f.undoManager.transact(function(){h(e)})}var _,w,C=f.getDoc(),x=f.dom,E=f.selection,T=window.MutationObserver;T||(_=!0,T=function(){function e(e){var t=e.relatedNode||e.target;r.push({target:t,addedNodes:[t]})}function t(e){var t=e.relatedNode||e.target;r.push({target:t,attributeName:e.attrName})}var n,r=[];this.observe=function(r){n=r,n.addEventListener("DOMSubtreeModified",e,!1),n.addEventListener("DOMNodeInsertedIntoDocument",e,!1),n.addEventListener("DOMNodeInserted",e,!1),n.addEventListener("DOMAttrModified",t,!1)},this.disconnect=function(){n.removeEventListener("DOMSubtreeModified",e,!1),n.removeEventListener("DOMNodeInsertedIntoDocument",e,!1),n.removeEventListener("DOMNodeInserted",e,!1),n.removeEventListener("DOMAttrModified",t,!1)},this.takeRecords=function(){return r}}),f.on("keydown",function(e){var t=e.keyCode==te,n=e.ctrlKey||e.metaKey;if(!m(e)&&(t||e.keyCode==ee)){var r=f.selection.getRng(),o=r.startContainer,i=r.startOffset;if(t&&e.shiftKey)return;if(p(t,r))return void e.preventDefault();if(!n&&r.collapsed&&3==o.nodeType&&(t?i<o.data.length:i>0))return;e.preventDefault(),n&&f.selection.getSel().modify("extend",t?"forward":"backward",e.metaKey?"lineboundary":"word"),h(t)}}),f.on("keypress",function(t){if(!m(t)&&!E.isCollapsed()&&t.charCode>31&&!e.metaKeyPressed(t)){var n,r,o,i,a,s;n=f.selection.getRng(),s=String.fromCharCode(t.charCode),t.preventDefault(),r=Z(n.startContainer).parents().filter(function(e,t){return!!f.schema.getTextInlineElements()[t.nodeName]}),h(!0),r=r.filter(function(e,t){return!Z.contains(f.getBody(),t)}),r.length?(o=x.createFragment(),r.each(function(e,t){t=t.cloneNode(!1),o.hasChildNodes()?(t.appendChild(o.firstChild),o.appendChild(t)):(a=t,o.appendChild(t)),o.appendChild(t)}),a.appendChild(f.getDoc().createTextNode(s)),i=x.getParent(n.startContainer,x.isBlock),x.isEmpty(i)?Z(i).empty().append(o):n.insertNode(o),n.setStart(a.firstChild,1),n.setEnd(a.firstChild,1),f.selection.setRng(n)):f.selection.setContent(s)}}),f.addCommand("Delete",function(){h()}),f.addCommand("ForwardDelete",function(){h(!0)}),_||(f.on("dragstart",function(e){w=E.getRng(),v(e)}),f.on("drop",function(e){if(!m(e)){var n=g(e);n&&(e.preventDefault(),u.setEditorTimeout(f,function(){var r=t.getCaretRangeFromPoint(e.x,e.y,C);w&&(E.setRng(w),w=null,b()),E.setRng(r),y(n.html)}))}}),f.on("cut",function(e){m(e)||!e.clipboardData||f.selection.isCollapsed()||(e.preventDefault(),e.clipboardData.clearData(),e.clipboardData.setData("text/html",f.selection.getContent()),e.clipboardData.setData("text/plain",f.selection.getContent({format:"text"})),u.setEditorTimeout(f,function(){b(!0)}))}))}function _(){function e(e){var t=ne.create("body"),n=e.cloneContents();return t.appendChild(n),re.serializer.serialize(t,{format:"html"})}function n(n){if(!n.setStart){if(n.item)return!1;var r=n.duplicate();return r.moveToElementText(f.getBody()),t.compareRanges(n,r)}var o=e(n),i=ne.createRng();i.selectNode(f.getBody());var a=e(i);return o===a}f.on("keydown",function(e){var t,r,o=e.keyCode;if(!m(e)&&(o==te||o==ee)){if(t=f.selection.isCollapsed(),r=f.getBody(),t&&!ne.isEmpty(r))return;if(!t&&!n(f.selection.getRng()))return;e.preventDefault(),f.setContent(""),r.firstChild&&ne.isBlock(r.firstChild)?f.selection.setCursorLocation(r.firstChild,0):f.selection.setCursorLocation(r,0),
-f.nodeChanged()}})}function w(){f.shortcuts.add("meta+a",null,"SelectAll")}function C(){f.settings.content_editable||ne.bind(f.getDoc(),"mousedown mouseup",function(e){var t;if(e.target==f.getDoc().documentElement)if(t=re.getRng(),f.getBody().focus(),"mousedown"==e.type){if(l.isCaretContainer(t.startContainer))return;re.placeCaretAt(e.clientX,e.clientY)}else re.setRng(t)})}function x(){f.on("keydown",function(e){if(!m(e)&&e.keyCode===ee){if(!f.getBody().getElementsByTagName("hr").length)return;if(re.isCollapsed()&&0===re.getRng(!0).startOffset){var t=re.getNode(),n=t.previousSibling;if("HR"==t.nodeName)return ne.remove(t),void e.preventDefault();n&&n.nodeName&&"hr"===n.nodeName.toLowerCase()&&(ne.remove(n),e.preventDefault())}}})}function E(){window.Range.prototype.getClientRects||f.on("mousedown",function(e){if(!m(e)&&"HTML"===e.target.nodeName){var t=f.getBody();t.blur(),u.setEditorTimeout(f,function(){t.focus()})}})}function T(){f.on("click",function(e){var t=e.target;/^(IMG|HR)$/.test(t.nodeName)&&"false"!==ne.getContentEditableParent(t)&&(e.preventDefault(),re.select(t),f.nodeChanged()),"A"==t.nodeName&&ne.hasClass(t,"mce-item-anchor")&&(e.preventDefault(),re.select(t))})}function k(){function e(){var e=ne.getAttribs(re.getStart().cloneNode(!1));return function(){var t=re.getStart();t!==f.getBody()&&(ne.setAttrib(t,"style",null),J(e,function(e){t.setAttributeNode(e.cloneNode(!0))}))}}function t(){return!re.isCollapsed()&&ne.getParent(re.getStart(),ne.isBlock)!=ne.getParent(re.getEnd(),ne.isBlock)}f.on("keypress",function(n){var r;if(!m(n)&&(8==n.keyCode||46==n.keyCode)&&t())return r=e(),f.getDoc().execCommand("delete",!1,null),r(),n.preventDefault(),!1}),ne.bind(f.getDoc(),"cut",function(n){var r;!m(n)&&t()&&(r=e(),u.setEditorTimeout(f,function(){r()}))})}function S(){document.body.setAttribute("role","application")}function M(){f.on("keydown",function(e){if(!m(e)&&e.keyCode===ee&&re.isCollapsed()&&0===re.getRng(!0).startOffset){var t=re.getNode().previousSibling;if(t&&t.nodeName&&"table"===t.nodeName.toLowerCase())return e.preventDefault(),!1}})}function O(){h()>7||(p("RespectVisibilityInDesign",!0),f.contentStyles.push(".mceHideBrInPre pre br {display: none}"),ne.addClass(f.getBody(),"mceHideBrInPre"),ie.addNodeFilter("pre",function(e){for(var t,n,r,i,a=e.length;a--;)for(t=e[a].getAll("br"),n=t.length;n--;)r=t[n],i=r.prev,i&&3===i.type&&"\n"!=i.value.charAt(i.value-1)?i.value+="\n":r.parent.insert(new o("#text",3),r,!0).value="\n"}),ae.addNodeFilter("pre",function(e){for(var t,n,r,o,i=e.length;i--;)for(t=e[i].getAll("br"),n=t.length;n--;)r=t[n],o=r.prev,o&&3==o.type&&(o.value=o.value.replace(/\r?\n$/,""))}))}function A(){ne.bind(f.getBody(),"mouseup",function(){var e,t=re.getNode();"IMG"==t.nodeName&&((e=ne.getStyle(t,"width"))&&(ne.setAttrib(t,"width",e.replace(/[^0-9%]+/g,"")),ne.setStyle(t,"width","")),(e=ne.getStyle(t,"height"))&&(ne.setAttrib(t,"height",e.replace(/[^0-9%]+/g,"")),ne.setStyle(t,"height","")))})}function N(){f.on("keydown",function(t){var n,r,o,i,a;if(!m(t)&&t.keyCode==e.BACKSPACE&&(n=re.getRng(),r=n.startContainer,o=n.startOffset,i=ne.getRoot(),a=r,n.collapsed&&0===o)){for(;a&&a.parentNode&&a.parentNode.firstChild==a&&a.parentNode!=i;)a=a.parentNode;"BLOCKQUOTE"===a.tagName&&(f.formatter.toggle("blockquote",null,a),n=ne.createRng(),n.setStart(r,0),n.setEnd(r,0),re.setRng(n))}})}function I(){function e(){K(),p("StyleWithCSS",!1),p("enableInlineTableEditing",!1),oe.object_resizing||p("enableObjectResizing",!1)}oe.readonly||f.on("BeforeExecCommand MouseDown",e)}function P(){function e(){J(ne.select("a"),function(e){var t=e.parentNode,n=ne.getRoot();if(t.lastChild===e){for(;t&&!ne.isBlock(t);){if(t.parentNode.lastChild!==t||t===n)return;t=t.parentNode}ne.add(t,"br",{"data-mce-bogus":1})}})}f.on("SetContent ExecCommand",function(t){"setcontent"!=t.type&&"mceInsertLink"!==t.command||e()})}function D(){oe.forced_root_block&&f.on("init",function(){p("DefaultParagraphSeparator",oe.forced_root_block)})}function R(){f.on("keydown",function(e){var t;m(e)||e.keyCode!=ee||(t=f.getDoc().selection.createRange(),t&&t.item&&(e.preventDefault(),f.undoManager.beforeChange(),ne.remove(t.item(0)),f.undoManager.add()))})}function j(){var e;h()>=10&&(e="",J("p div h1 h2 h3 h4 h5 h6".split(" "),function(t,n){e+=(n>0?",":"")+t+":empty"}),f.contentStyles.push(e+"{padding-right: 1px !important}"))}function L(){h()<9&&(ie.addNodeFilter("noscript",function(e){for(var t,n,r=e.length;r--;)t=e[r],n=t.firstChild,n&&t.attr("data-mce-innertext",n.value)}),ae.addNodeFilter("noscript",function(e){for(var t,n,r,a=e.length;a--;)t=e[a],n=e[a].firstChild,n?n.value=i.decode(n.value):(r=t.attributes.map["data-mce-innertext"],r&&(t.attr("data-mce-innertext",null),n=new o("#text",3),n.value=r,n.raw=!0,t.append(n)))}))}function B(){function e(e,t){var n=s.createTextRange();try{n.moveToPoint(e,t)}catch(e){n=null}return n}function t(t){var r;t.button?(r=e(t.x,t.y),r&&(r.compareEndPoints("StartToStart",o)>0?r.setEndPoint("StartToStart",o):r.setEndPoint("EndToEnd",o),r.select())):n()}function n(){var e=a.selection.createRange();o&&!e.item&&0===e.compareEndPoints("StartToEnd",e)&&o.select(),ne.unbind(a,"mouseup",n),ne.unbind(a,"mousemove",t),o=r=0}var r,o,i,a=ne.doc,s=a.body;a.documentElement.unselectable=!0,ne.bind(a,"mousedown contextmenu",function(s){if("HTML"===s.target.nodeName){if(r&&n(),i=a.documentElement,i.scrollHeight>i.clientHeight)return;r=1,o=e(s.x,s.y),o&&(ne.bind(a,"mouseup",n),ne.bind(a,"mousemove",t),ne.getRoot().focus(),o.select())}})}function F(){f.on("keyup focusin mouseup",function(t){65==t.keyCode&&e.metaKeyPressed(t)||re.normalize()},!0)}function U(){f.contentStyles.push("img:-moz-broken {-moz-force-broken-image-icon:1;min-width:24px;min-height:24px}")}function H(){f.inline||f.on("keydown",function(){document.activeElement==document.body&&f.getWin().focus()})}function z(){f.inline||(f.contentStyles.push("body {min-height: 150px}"),f.on("click",function(e){var t;if("HTML"==e.target.nodeName){if(a.ie>11)return void f.getBody().focus();t=f.selection.getRng(),f.getBody().focus(),f.selection.setRng(t),f.selection.normalize(),f.nodeChanged()}}))}function q(){a.mac&&f.on("keydown",function(t){!e.metaKeyPressed(t)||t.shiftKey||37!=t.keyCode&&39!=t.keyCode||(t.preventDefault(),f.selection.getSel().modify("move",37==t.keyCode?"backward":"forward","lineboundary"))})}function W(){p("AutoUrlDetect",!1)}function V(){f.on("click",function(e){var t=e.target;do if("A"===t.tagName)return void e.preventDefault();while(t=t.parentNode)}),f.contentStyles.push(".mce-content-body {-webkit-touch-callout: none}")}function G(){f.on("init",function(){f.dom.bind(f.getBody(),"submit",function(e){e.preventDefault()})})}function Y(){ie.addNodeFilter("br",function(e){for(var t=e.length;t--;)"Apple-interchange-newline"==e[t].attr("class")&&e[t].remove()})}function $(){f.on("dragstart",function(e){v(e)}),f.on("drop",function(e){if(!m(e)){var n=g(e);if(n&&n.id!=f.id){e.preventDefault();var r=t.getCaretRangeFromPoint(e.x,e.y,f.getDoc());re.setRng(r),y(n.html)}}})}function K(){}function X(){var e;return se?(e=f.selection.getSel(),!e||!e.rangeCount||0===e.rangeCount):0}function Q(){function t(e){var t=new d(e.getBody()),n=e.selection.getRng(),r=c.fromRangeStart(n),o=c.fromRangeEnd(n),i=t.prev(r),a=t.next(o);return!e.selection.isCollapsed()&&(!i||i.isAtStart()&&r.isEqual(i))&&(!a||a.isAtEnd()&&r.isEqual(a))}f.on("keypress",function(n){!m(n)&&!re.isCollapsed()&&n.charCode>31&&!e.metaKeyPressed(n)&&t(f)&&(n.preventDefault(),f.setContent(String.fromCharCode(n.charCode)),f.selection.select(f.getBody(),!0),f.selection.collapse(!1),f.nodeChanged())}),f.on("keydown",function(e){var n=e.keyCode;m(e)||n!=te&&n!=ee||t(f)&&(e.preventDefault(),f.setContent(""),f.nodeChanged())})}var J=s.each,Z=f.$,ee=e.BACKSPACE,te=e.DELETE,ne=f.dom,re=f.selection,oe=f.settings,ie=f.parser,ae=f.serializer,se=a.gecko,ue=a.ie,le=a.webkit,ce="data:text/mce-internal,",de=ue?"Text":"URL";return N(),_(),a.windowsPhone||F(),le&&(Q(),b(),C(),T(),D(),G(),M(),Y(),a.iOS?(H(),z(),V()):w()),ue&&a.ie<11&&(x(),S(),O(),A(),R(),j(),L(),B()),a.ie>=11&&(z(),M()),a.ie&&(w(),W(),$()),se&&(Q(),x(),E(),k(),I(),P(),U(),q(),M()),{refreshContentEditable:K,isHidden:X}}}),i("tinymce/EditorObservable",["tinymce/util/Observable","tinymce/dom/DOMUtils","tinymce/util/Tools"],function(e,t,n){function r(e,t){return"selectionchange"==t?e.getDoc():!e.inline&&/^mouse|touch|click|contextmenu|drop|dragover|dragend/.test(t)?e.getDoc().documentElement:e.settings.event_root?(e.eventRoot||(e.eventRoot=a.select(e.settings.event_root)[0]),e.eventRoot):e.getBody()}function o(e,t){function n(e){return!e.hidden&&!e.readonly}var o,s=r(e,t);if(e.delegates||(e.delegates={}),!e.delegates[t])if(e.settings.event_root){if(i||(i={},e.editorManager.on("removeEditor",function(){var t;if(!e.editorManager.activeEditor&&i){for(t in i)e.dom.unbind(r(e,t));i=null}})),i[t])return;o=function(r){for(var o=r.target,i=e.editorManager.editors,s=i.length;s--;){var u=i[s].getBody();(u===o||a.isChildOf(o,u))&&n(i[s])&&i[s].fire(t,r)}},i[t]=o,a.bind(s,t,o)}else o=function(r){n(e)&&e.fire(t,r)},a.bind(s,t,o),e.delegates[t]=o}var i,a=t.DOM,s={bindPendingEventDelegates:function(){var e=this;n.each(e._pendingNativeEvents,function(t){o(e,t)})},toggleNativeEvent:function(e,t){var n=this;"focus"!=e&&"blur"!=e&&(t?n.initialized?o(n,e):n._pendingNativeEvents?n._pendingNativeEvents.push(e):n._pendingNativeEvents=[e]:n.initialized&&(n.dom.unbind(r(n,e),e,n.delegates[e]),delete n.delegates[e]))},unbindAllNativeEvents:function(){var e,t=this;if(t.delegates){for(e in t.delegates)t.dom.unbind(r(t,e),e,t.delegates[e]);delete t.delegates}t.inline||(t.getBody().onload=null,t.dom.unbind(t.getWin()),t.dom.unbind(t.getDoc())),t.dom.unbind(t.getBody()),t.dom.unbind(t.getContainer())}};return s=n.extend({},e,s)}),i("tinymce/Mode",[],function(){function e(e,t,n){try{e.getDoc().execCommand(t,!1,n)}catch(e){}}function t(e){var t,n;return t=e.getBody(),n=function(t){e.dom.getParents(t.target,"a").length>0&&t.preventDefault()},e.dom.bind(t,"click",n),{unbind:function(){e.dom.unbind(t,"click",n)}}}function n(n,r){n._clickBlocker&&(n._clickBlocker.unbind(),n._clickBlocker=null),r?(n._clickBlocker=t(n),n.selection.controlSelection.hideResizeRect(),n.readonly=!0,n.getBody().contentEditable=!1):(n.readonly=!1,n.getBody().contentEditable=!0,e(n,"StyleWithCSS",!1),e(n,"enableInlineTableEditing",!1),e(n,"enableObjectResizing",!1),n.focus(),n.nodeChanged())}function r(e,t){var r=e.readonly?"readonly":"design";t!=r&&(e.initialized?n(e,"readonly"==t):e.on("init",function(){n(e,"readonly"==t)}),e.fire("SwitchMode",{mode:t}))}return{setMode:r}}),i("tinymce/Shortcuts",["tinymce/util/Tools","tinymce/Env"],function(e,t){var n=e.each,r=e.explode,o={f9:120,f10:121,f11:122},i=e.makeMap("alt,ctrl,shift,meta,access");return function(a){function s(e){var a,s,u={};n(r(e,"+"),function(e){e in i?u[e]=!0:/^[0-9]{2,}$/.test(e)?u.keyCode=parseInt(e,10):(u.charCode=e.charCodeAt(0),u.keyCode=o[e]||e.toUpperCase().charCodeAt(0))}),a=[u.keyCode];for(s in i)u[s]?a.push(s):u[s]=!1;return u.id=a.join(","),u.access&&(u.alt=!0,t.mac?u.ctrl=!0:u.shift=!0),u.meta&&(t.mac?u.meta=!0:(u.ctrl=!0,u.meta=!1)),u}function u(t,n,o,i){var u;return u=e.map(r(t,">"),s),u[u.length-1]=e.extend(u[u.length-1],{func:o,scope:i||a}),e.extend(u[0],{desc:a.translate(n),subpatterns:u.slice(1)})}function l(e){return e.altKey||e.ctrlKey||e.metaKey}function c(e){return"keydown"===e.type&&e.keyCode>=112&&e.keyCode<=123}function d(e,t){return!!t&&(t.ctrl==e.ctrlKey&&t.meta==e.metaKey&&(t.alt==e.altKey&&t.shift==e.shiftKey&&(!!(e.keyCode==t.keyCode||e.charCode&&e.charCode==t.charCode)&&(e.preventDefault(),!0))))}function f(e){return e.func?e.func.call(e.scope):null}var p=this,h={},m=[];a.on("keyup keypress keydown",function(e){!l(e)&&!c(e)||e.isDefaultPrevented()||(n(h,function(t){if(d(e,t))return m=t.subpatterns.slice(0),"keydown"==e.type&&f(t),!0}),d(e,m[0])&&(1===m.length&&"keydown"==e.type&&f(m[0]),m.shift()))}),p.add=function(t,o,i,s){var l;return l=i,"string"==typeof i?i=function(){a.execCommand(l,!1,null)}:e.isArray(l)&&(i=function(){a.execCommand(l[0],l[1],l[2])}),n(r(e.trim(t.toLowerCase())),function(e){var t=u(e,o,i,s);h[t.id]=t}),!0},p.remove=function(e){var t=u(e);return!!h[t.id]&&(delete h[t.id],!0)}}}),i("tinymce/file/Uploader",["tinymce/util/Promise","tinymce/util/Tools","tinymce/util/Fun"],function(e,t,n){return function(r,o){function i(e){var t,n;return n={"image/jpeg":"jpg","image/jpg":"jpg","image/gif":"gif","image/png":"png"},t=n[e.blob().type.toLowerCase()]||"dat",e.filename()+"."+t}function a(e,t){return e?e.replace(/\/$/,"")+"/"+t.replace(/^\//,""):t}function s(e){return{id:e.id,blob:e.blob,base64:e.base64,filename:n.constant(i(e))}}function u(e,t,n,r){var i,s;i=new XMLHttpRequest,i.open("POST",o.url),i.withCredentials=o.credentials,i.upload.onprogress=function(e){r(e.loaded/e.total*100)},i.onerror=function(){n("Image upload failed due to a XHR Transport error. Code: "+i.status)},i.onload=function(){var e;return 200!=i.status?void n("HTTP Error: "+i.status):(e=JSON.parse(i.responseText),e&&"string"==typeof e.location?void t(a(o.basePath,e.location)):void n("Invalid JSON: "+i.responseText))},s=new FormData,s.append("file",e.blob(),e.filename()),i.send(s)}function l(){return new e(function(e){e([])})}function c(e,t){return{url:t,blobInfo:e,status:!0}}function d(e,t){return{url:"",blobInfo:e,status:!1,error:t}}function f(e,n){t.each(y[e],function(e){e(n)}),delete y[e]}function p(t,n,o){return r.markPending(t.blobUri()),new e(function(e){var i,a,u=function(){};try{var l=function(){i&&(i.close(),a=u)},p=function(n){l(),r.markUploaded(t.blobUri(),n),f(t.blobUri(),c(t,n)),e(c(t,n))},h=function(n){l(),r.removeFailed(t.blobUri()),f(t.blobUri(),d(t,n)),e(d(t,n))};a=function(e){e<0||e>100||(i||(i=o()),i.progressBar.value(e))},n(s(t),p,h,a)}catch(n){e(d(t,n.message))}})}function h(e){return e===u}function m(t){var n=t.blobUri();return new e(function(e){y[n]=y[n]||[],y[n].push(e)})}function v(n,i){return n=t.grep(n,function(e){return!r.isUploaded(e.blobUri())}),e.all(t.map(n,function(e){return r.isPending(e.blobUri())?m(e):p(e,o.handler,i)}))}function g(e,t){return!o.url&&h(o.handler)?l():v(e,t)}var y={};return o=t.extend({credentials:!1,handler:u},o),{upload:g}}}),i("tinymce/file/Conversions",["tinymce/util/Promise"],function(e){function t(t){return new e(function(e){var n=new XMLHttpRequest;n.open("GET",t,!0),n.responseType="blob",n.onload=function(){200==this.status&&e(this.response)},n.send()})}function n(e){var t,n;return e=decodeURIComponent(e).split(","),n=/data:([^;]+)/.exec(e[0]),n&&(t=n[1]),{type:t,data:e[1]}}function r(t){return new e(function(e){var r,o,i;t=n(t);try{r=atob(t.data)}catch(t){return void e(new Blob([]))}for(o=new Uint8Array(r.length),i=0;i<o.length;i++)o[i]=r.charCodeAt(i);e(new Blob([o],{type:t.type}))})}function o(e){return 0===e.indexOf("blob:")?t(e):0===e.indexOf("data:")?r(e):null}function i(t){return new e(function(e){var n=new FileReader;n.onloadend=function(){e(n.result)},n.readAsDataURL(t)})}return{uriToBlob:o,blobToDataUri:i,parseDataUri:n}}),i("tinymce/file/ImageScanner",["tinymce/util/Promise","tinymce/util/Arr","tinymce/util/Fun","tinymce/file/Conversions","tinymce/Env"],function(e,t,n,r,o){var i=0,a=function(e){return(e||"blobid")+i++};return function(i,s){function u(u,c){function d(e,t){var n,o;return 0===e.src.indexOf("blob:")?(o=s.getByUri(e.src),void(o?t({image:e,blobInfo:o}):r.uriToBlob(e.src).then(function(i){r.blobToDataUri(i).then(function(u){n=r.parseDataUri(u).data,o=s.create(a(),i,n),s.add(o),t({image:e,blobInfo:o})})}))):(n=r.parseDataUri(e.src).data,o=s.findFirst(function(e){return e.base64()===n}),void(o?t({image:e,blobInfo:o}):r.uriToBlob(e.src).then(function(r){o=s.create(a(),r,n),s.add(o),t({image:e,blobInfo:o})})))}var f,p;return c||(c=n.constant(!0)),f=t.filter(u.getElementsByTagName("img"),function(e){var t=e.src;return!!o.fileApi&&(!e.hasAttribute("data-mce-bogus")&&(!e.hasAttribute("data-mce-placeholder")&&(!(!t||t==o.transparentSrc)&&(0===t.indexOf("blob:")?!i.isUploaded(t):0===t.indexOf("data:")&&c(e)))))}),p=t.map(f,function(t){var n;return l[t.src]?new e(function(e){l[t.src].then(function(n){e({image:t,blobInfo:n.blobInfo})})}):(n=new e(function(e){d(t,e)}).then(function(e){return delete l[e.image.src],e}).catch(function(e){return delete l[t.src],e}),l[t.src]=n,n)}),e.all(p)}var l={};return{findAll:u}}}),i("tinymce/file/BlobCache",["tinymce/util/Arr","tinymce/util/Fun"],function(e,t){return function(){function n(e,t,n,r){return{id:c(e),filename:c(r||e),blob:c(t),base64:c(n),blobUri:c(URL.createObjectURL(t))}}function r(e){o(e.id())||l.push(e)}function o(e){return i(function(t){return t.id()===e})}function i(t){return e.filter(l,t)[0]}function a(e){return i(function(t){return t.blobUri()==e})}function s(t){l=e.filter(l,function(e){return e.blobUri()!==t||(URL.revokeObjectURL(e.blobUri()),!1)})}function u(){e.each(l,function(e){URL.revokeObjectURL(e.blobUri())}),l=[]}var l=[],c=t.constant;return{create:n,add:r,get:o,getByUri:a,findFirst:i,removeByUri:s,destroy:u}}}),i("tinymce/file/UploadStatus",[],function(){return function(){function e(e,t){return{status:e,resultUri:t}}function t(e){return e in d}function n(e){var t=d[e];return t?t.resultUri:null}function r(e){return!!t(e)&&d[e].status===l}function o(e){return!!t(e)&&d[e].status===c}function i(t){d[t]=e(l,null)}function a(t,n){d[t]=e(c,n)}function s(e){delete d[e]}function u(){d={}}var l=1,c=2,d={};return{hasBlobUri:t,getResultUri:n,isPending:r,isUploaded:o,markPending:i,markUploaded:a,removeFailed:s,destroy:u}}}),i("tinymce/ErrorReporter",["tinymce/AddOnManager"],function(e){var t=e.PluginManager,n=function(e,n){for(var r in t.urls){var o=t.urls[r]+"/plugin"+n+".js";if(o===e)return r}return null},r=function(e,t){var r=n(t,e.suffix);return r?"Failed to load plugin: "+r+" from url "+t:"Failed to load plugin url: "+t},o=function(e,t){e.notificationManager.open({type:"error",text:t})},i=function(e,t){e._skinLoaded?o(e,t):e.on("SkinLoaded",function(){o(e,t)})},a=function(e,t){i(e,"Failed to upload image: "+t)},s=function(e,t){i(e,r(e,t))};return{pluginLoadError:s,uploadError:a}}),i("tinymce/EditorUpload",["tinymce/util/Arr","tinymce/file/Uploader","tinymce/file/ImageScanner","tinymce/file/BlobCache","tinymce/file/UploadStatus","tinymce/ErrorReporter"],function(e,t,n,r,o,i){return function(a){function s(e){return function(t){return a.selection?e(t):[]}}function u(){return"?"+(new Date).getTime()}function l(e,t,n){var r=0;do r=e.indexOf(t,r),r!==-1&&(e=e.substring(0,r)+n+e.substr(r+t.length),r+=n.length-t.length+1);while(r!==-1);return e}function c(e,t,n){return e=l(e,'src="'+t+'"','src="'+n+'"'),e=l(e,'data-mce-src="'+t+'"','data-mce-src="'+n+'"')}function d(t,n){e.each(a.undoManager.data,function(r){"fragmented"===r.type?r.fragments=e.map(r.fragments,function(e){return c(e,t,n)}):r.content=c(r.content,t,n)})}function f(){return a.notificationManager.open({text:a.translate("Image uploading..."),type:"info",timeout:-1,progressBar:!0})}function p(e,t){C.removeByUri(e.src),d(e.src,t),a.$(e).attr({src:x.images_reuse_filename?t+u():t,"data-mce-src":a.convertURL(t,"src")})}function h(n){return _||(_=new t(E,{url:x.images_upload_url,basePath:x.images_upload_base_path,credentials:x.images_upload_credentials,handler:x.images_upload_handler})),g().then(s(function(t){var r;return r=e.map(t,function(e){return e.blobInfo}),_.upload(r,f).then(s(function(r){return r=e.map(r,function(e,n){var r=t[n].image;return e.status&&a.settings.images_replace_blob_uris!==!1?p(r,e.url):e.error&&i.uploadError(a,e.error),{element:r,status:e.status}}),n&&n(r),r}))}))}function m(e){if(x.automatic_uploads!==!1)return h(e)}function v(e){return!x.images_dataimg_filter||x.images_dataimg_filter(e)}function g(){return w||(w=new n(E,C)),w.findAll(a.getBody(),v).then(s(function(t){return e.each(t,function(e){d(e.image.src,e.blobInfo.blobUri()),e.image.src=e.blobInfo.blobUri(),e.image.removeAttribute("data-mce-src")}),t}))}function y(){C.destroy(),E.destroy(),w=_=null}function b(t){return t.replace(/src="(blob:[^"]+)"/g,function(t,n){var r=E.getResultUri(n);if(r)return'src="'+r+'"';var o=C.getByUri(n);return o||(o=e.reduce(a.editorManager.editors,function(e,t){return e||t.editorUpload.blobCache.getByUri(n)},null)),o?'src="data:'+o.blob().type+";base64,"+o.base64()+'"':t})}var _,w,C=new r,x=a.settings,E=new o;return a.on("setContent",function(){a.settings.automatic_uploads!==!1?m():g()}),a.on("RawSaveContent",function(e){e.content=b(e.content)}),a.on("getContent",function(e){e.source_view||"raw"==e.format||(e.content=b(e.content))}),a.on("PostRender",function(){a.parser.addNodeFilter("img",function(t){e.each(t,function(e){var t=e.attr("src");if(!C.getByUri(t)){var n=E.getResultUri(t);n&&e.attr("src",n)}})})}),{blobCache:C,uploadImages:h,uploadImagesAuto:m,scanForImages:g,destroy:y}}}),i("tinymce/caret/FakeCaret",["tinymce/caret/CaretContainer","tinymce/caret/CaretPosition","tinymce/dom/NodeType","tinymce/dom/RangeUtils","tinymce/dom/DomQuery","tinymce/geom/ClientRect","tinymce/util/Delay"],function(e,t,n,r,o,i,a){var s=n.isContentEditableFalse;return function(t,n){function r(e,n){var r,o,a,s,u,l=i.collapse(e.getBoundingClientRect(),n);return"BODY"==t.tagName?(r=t.ownerDocument.documentElement,o=t.scrollLeft||r.scrollLeft,a=t.scrollTop||r.scrollTop):(u=t.getBoundingClientRect(),o=t.scrollLeft-u.left,a=t.scrollTop-u.top),l.left+=o,l.right+=o,l.top+=a,l.bottom+=a,l.width=1,s=e.offsetWidth-e.clientWidth,s>0&&(n&&(s*=-1),l.left+=s,l.right+=s),l}function u(){var n,r,i,a,s;for(n=o("*[contentEditable=false]",t),a=0;a<n.length;a++)r=n[a],i=r.previousSibling,e.endsWithCaretContainer(i)&&(s=i.data,1==s.length?i.parentNode.removeChild(i):i.deleteData(s.length-1,1)),i=r.nextSibling,e.startsWithCaretContainer(i)&&(s=i.data,1==s.length?i.parentNode.removeChild(i):i.deleteData(0,1));return null}function l(i,a){var u,l;return c(),n(a)?(v=e.insertBlock("p",a,i),u=r(a,i),o(v).css("top",u.top),m=o('<div class="mce-visual-caret" data-mce-bogus="all"></div>').css(u).appendTo(t),i&&m.addClass("mce-visual-caret-before"),d(),l=a.ownerDocument.createRange(),l.setStart(v,0),l.setEnd(v,0),l):(v=e.insertInline(a,i),l=a.ownerDocument.createRange(),s(v.nextSibling)?(l.setStart(v,0),l.setEnd(v,0)):(l.setStart(v,1),l.setEnd(v,1)),l)}function c(){u(),v&&(e.remove(v),v=null),m&&(m.remove(),m=null),clearInterval(h)}function d(){h=a.setInterval(function(){o("div.mce-visual-caret",t).toggleClass("mce-visual-caret-hidden")},500)}function f(){a.clearInterval(h)}function p(){return".mce-visual-caret {position: absolute;background-color: black;background-color: currentcolor;}.mce-visual-caret-hidden {display: none;}*[data-mce-caret] {position: absolute;left: -1000px;right: auto;top: 0;margin: 0;padding: 0;}"}var h,m,v;return{show:l,hide:c,getCss:p,destroy:f}}}),i("tinymce/dom/Dimensions",["tinymce/util/Arr","tinymce/dom/NodeType","tinymce/geom/ClientRect"],function(e,t,n){function r(o){function i(t){return e.map(t,function(e){return e=n.clone(e),e.node=o,e})}if(e.isArray(o))return e.reduce(o,function(e,t){return e.concat(r(t))},[]);if(t.isElement(o))return i(o.getClientRects());if(t.isText(o)){var a=o.ownerDocument.createRange();return a.setStart(o,0),a.setEnd(o,o.data.length),i(a.getClientRects())}}return{getClientRects:r}}),i("tinymce/caret/LineWalker",["tinymce/util/Fun","tinymce/util/Arr","tinymce/dom/Dimensions","tinymce/caret/CaretCandidate","tinymce/caret/CaretUtils","tinymce/caret/CaretWalker","tinymce/caret/CaretPosition","tinymce/geom/ClientRect"],function(e,t,n,r,o,i,a,s){function u(e,t,n,i){for(;i=o.findNode(i,e,r.isEditableCaretCandidate,t);)if(n(i))return}function l(e,r,o,i,a,s){function l(i){var s,u,l;for(l=n.getClientRects(i),e==-1&&(l=l.reverse()),s=0;s<l.length;s++)if(u=l[s],!o(u,d)){if(p.length>0&&r(u,t.last(p))&&f++,u.line=f,a(u))return!0;p.push(u)}}var c,d,f=0,p=[];return(d=t.last(s.getClientRects()))?(c=s.getNode(),l(c),u(e,i,l,c),p):p}function c(e,t){return t.line>e}function d(e,t){return t.line===e}function f(e,n,r,o){function u(n){return 1==e?t.last(n.getClientRects()):t.last(n.getClientRects())}var l,c,d,f,p,h,m=new i(n),v=[],g=0;1==e?(l=m.next,c=s.isBelow,d=s.isAbove,f=a.after(o)):(l=m.prev,c=s.isAbove,d=s.isBelow,f=a.before(o)),h=u(f);do if(f.isVisible()&&(p=u(f),!d(p,h))){if(v.length>0&&c(p,t.last(v))&&g++,p=s.clone(p),p.position=f,p.line=g,r(p))return v;v.push(p)}while(f=l(f));return v}var p=e.curry,h=p(l,-1,s.isAbove,s.isBelow),m=p(l,1,s.isBelow,s.isAbove);return{upUntil:h,downUntil:m,positionsUntil:f,isAboveLine:p(c),isLine:p(d)}}),i("tinymce/caret/LineUtils",["tinymce/util/Fun","tinymce/util/Arr","tinymce/dom/NodeType","tinymce/dom/Dimensions","tinymce/geom/ClientRect","tinymce/caret/CaretUtils","tinymce/caret/CaretCandidate"],function(e,t,n,r,o,i,a){function s(e,t){return Math.abs(e.left-t)}function u(e,t){return Math.abs(e.right-t)}function l(e,n){function r(e,t){return e>=t.left&&e<=t.right}return t.reduce(e,function(e,t){var o,i;return o=Math.min(s(e,n),u(e,n)),i=Math.min(s(t,n),u(t,n)),r(n,t)?t:r(n,e)?e:i==o&&m(t.node)?t:i<o?t:e})}function c(e,t,n,r){for(;r=v(r,e,a.isEditableCaretCandidate,t);)if(n(r))return}function d(e,n){function i(e,o){var i;return i=t.filter(r.getClientRects(o),function(t){return!e(t,n)}),a=a.concat(i),0===i.length}var a=[];return a.push(n),c(-1,e,g(i,o.isAbove),n.node),c(1,e,g(i,o.isBelow),n.node),a}function f(e){return t.filter(t.toArray(e.getElementsByTagName("*")),m)}function p(e,t){return{node:e.node,before:s(e,t)<u(e,t)}}function h(e,n,o){var i,a;return i=r.getClientRects(f(e)),i=t.filter(i,function(e){return o>=e.top&&o<=e.bottom}),a=l(i,n),a&&(a=l(d(e,a),n),a&&m(a.node))?p(a,n):null}var m=n.isContentEditableFalse,v=i.findNode,g=e.curry;return{findClosestClientRect:l,findLineNodeRects:d,closestCaret:h}}),i("tinymce/dom/MousePosition",[],function(){var e=function(e){var t,n,r,o;return o=e.getBoundingClientRect(),t=e.ownerDocument,n=t.documentElement,r=t.defaultView,{top:o.top+r.pageYOffset-n.clientTop,left:o.left+r.pageXOffset-n.clientLeft}},t=function(t){return t.inline?e(t.getBody()):{left:0,top:0}},n=function(e){var t=e.getBody();return e.inline?{left:t.scrollLeft,top:t.scrollTop}:{left:0,top:0}},r=function(e){var t=e.getBody(),n=e.getDoc().documentElement,r={left:t.scrollLeft,top:t.scrollTop},o={left:t.scrollLeft||n.scrollLeft,top:t.scrollTop||n.scrollTop};return e.inline?r:o},o=function(t,n){if(n.target.ownerDocument!==t.getDoc()){var o=e(t.getContentAreaContainer()),i=r(t);return{left:n.pageX-o.left+i.left,top:n.pageY-o.top+i.top}}return{left:n.pageX,top:n.pageY}},i=function(e,t,n){return{pageX:n.left-e.left+t.left,pageY:n.top-e.top+t.top}},a=function(e,r){return i(t(e),n(e),o(e,r))};return{calc:a}}),i("tinymce/DragDropOverrides",["tinymce/dom/NodeType","tinymce/util/Arr","tinymce/util/Fun","tinymce/util/Delay","tinymce/dom/DOMUtils","tinymce/dom/MousePosition"],function(e,t,n,r,o,i){var a=e.isContentEditableFalse,s=e.isContentEditableTrue,u=function(e,t){return a(t)&&t!==e},l=function(e,t,n){return t!==n&&!e.dom.isChildOf(t,n)&&!a(t)},c=function(e){var t=e.cloneNode(!0);return t.removeAttribute("data-mce-selected"),t},d=function(e,t,n,r){var o=t.cloneNode(!0);e.dom.setStyles(o,{width:n,height:r}),e.dom.setAttrib(o,"data-mce-selected",null);var i=e.dom.create("div",{class:"mce-drag-container","data-mce-bogus":"all",unselectable:"on",contenteditable:"false"});return e.dom.setStyles(i,{position:"absolute",opacity:.5,overflow:"hidden",border:0,padding:0,margin:0,width:n,height:r}),e.dom.setStyles(o,{margin:0,boxSizing:"border-box"}),i.appendChild(o),i},f=function(e,t){e.parentNode!==t&&t.appendChild(e)},p=function(e,t,n,r,o,i){var a=0,s=0;e.style.left=t.pageX+"px",e.style.top=t.pageY+"px",t.pageX+n>o&&(a=t.pageX+n-o),t.pageY+r>i&&(s=t.pageY+r-i),e.style.width=n-a+"px",e.style.height=r-s+"px"},h=function(e){e&&e.parentNode&&e.parentNode.removeChild(e)},m=function(e){return 0===e.button},v=function(e){return e.element},g=function(e,t){return{pageX:t.pageX-e.relX,pageY:t.pageY+5}},y=function(e,r){return function(o){if(m(o)){var i=t.find(r.dom.getParents(o.target),n.or(a,s));if(u(r.getBody(),i)){var l=r.dom.getPos(i),c=r.getBody(),f=r.getDoc().documentElement;e.element=i,e.screenX=o.screenX,e.screenY=o.screenY,e.maxX=(r.inline?c.scrollWidth:f.offsetWidth)-2,e.maxY=(r.inline?c.scrollHeight:f.offsetHeight)-2,e.relX=o.pageX-l.x,e.relY=o.pageY-l.y,e.width=i.offsetWidth,e.height=i.offsetHeight,e.ghost=d(r,i,e.width,e.height)}}}},b=function(e,t){var n=r.throttle(function(e,n){t._selectionOverrides.hideFakeCaret(),t.selection.placeCaretAt(e,n)},0);return function(r){var o=Math.max(Math.abs(r.screenX-e.screenX),Math.abs(r.screenY-e.screenY));if(v(e)&&!e.dragging&&o>10){var a=t.fire("dragstart",{target:e.element});if(a.isDefaultPrevented())return;e.dragging=!0,t.focus()}if(e.dragging){var s=g(e,i.calc(t,r));f(e.ghost,t.getBody()),p(e.ghost,s,e.width,e.height,e.maxX,e.maxY),n(r.clientX,r.clientY)}}},_=function(e){var t=e.getSel().getRangeAt(0),n=t.startContainer;return 3===n.nodeType?n.parentNode:n},w=function(e,t){return function(n){if(e.dragging&&l(t,_(t.selection),e.element)){var r=c(e.element),o=t.fire("drop",{targetClone:r,clientX:n.clientX,clientY:n.clientY});o.isDefaultPrevented()||(r=o.targetClone,t.undoManager.transact(function(){h(e.element),t.insertContent(t.dom.getOuterHTML(r)),t._selectionOverrides.hideFakeCaret()}))}x(e)}},C=function(e,t){return function(){x(e),e.dragging&&t.fire("dragend")}},x=function(e){e.dragging=!1,e.element=null,h(e.ghost)},E=function(e){var t,n,r,i,a,s,u={};t=o.DOM,s=document,n=y(u,e),r=b(u,e),i=w(u,e),a=C(u,e),e.on("mousedown",n),e.on("mousemove",r),e.on("mouseup",i),t.bind(s,"mousemove",r),t.bind(s,"mouseup",a),e.on("remove",function(){t.unbind(s,"mousemove",r),t.unbind(s,"mouseup",a)})},T=function(e){e.on("drop",function(t){var n="undefined"!=typeof t.clientX?e.getDoc().elementFromPoint(t.clientX,t.clientY):null;(a(n)||a(e.dom.getContentEditableParent(n)))&&t.preventDefault()})},k=function(e){E(e),T(e)};return{init:k}}),i("tinymce/SelectionOverrides",["tinymce/Env","tinymce/caret/CaretWalker","tinymce/caret/CaretPosition","tinymce/caret/CaretContainer","tinymce/caret/CaretUtils","tinymce/caret/FakeCaret","tinymce/caret/LineWalker","tinymce/caret/LineUtils","tinymce/dom/NodeType","tinymce/dom/RangeUtils","tinymce/geom/ClientRect","tinymce/util/VK","tinymce/util/Fun","tinymce/util/Arr","tinymce/util/Delay","tinymce/DragDropOverrides"],function(e,t,n,r,o,i,a,s,u,l,c,d,f,p,h,m){function v(e,t){for(;t=e(t);)if(t.isVisible())return t;return t}function g(l){function g(e){return l.dom.hasClass(e,"mce-offscreen-selection")}function T(){var e=l.dom.get(le);return e?e.getElementsByTagName("*")[0]:e}function k(e){return l.dom.isBlock(e)}function S(e){e&&l.selection.setRng(e)}function M(){return l.selection.getRng()}function O(e,t){l.selection.scrollIntoView(e,t)}function A(e,t,n){var r;return r=l.fire("ShowCaret",{target:t,direction:e,before:n}),r.isDefaultPrevented()?null:(O(t,e===-1),ue.show(n,t))}function N(e){var t;return t=l.fire("BeforeObjectSelected",{target:e}),t.isDefaultPrevented()?null:I(e)}function I(e){var t=e.ownerDocument.createRange();return t.selectNode(e),t}function P(e,t){var n=o.isInSameBlock(e,t);return!(n||!u.isBr(e.getNode()))||n}function D(e,t){return t=o.normalizeRange(e,oe,t),e==-1?n.fromRangeStart(t):n.fromRangeEnd(t)}function R(e){return r.isCaretContainerBlock(e.startContainer)}function j(e,t,n,r){var o,i,a,s;return!r.collapsed&&(o=E(r),_(o))?A(e,o,e==-1):(s=R(r),i=D(e,r),n(i)?N(i.getNode(e==-1)):(i=t(i))?n(i)?A(e,i.getNode(e==-1),1==e):(a=t(i),n(a)&&P(i,a)?A(e,a.getNode(e==-1),1==e):s?W(i.toRange()):null):s?r:null)}function L(e,t,n){var r,o,i,u,l,c,d,f,h;if(h=E(n),r=D(e,n),o=t(oe,a.isAboveLine(1),r),i=p.filter(o,a.isLine(1)),l=p.last(r.getClientRects()),x(r)&&(h=r.getNode()),C(r)&&(h=r.getNode(!0)),!l)return null;if(c=l.left,u=s.findClosestClientRect(i,c),u&&_(u.node))return d=Math.abs(c-u.left),
-f=Math.abs(c-u.right),A(e,u.node,d<f);if(h){var m=a.positionsUntil(e,oe,a.isAboveLine(1),h);if(u=s.findClosestClientRect(p.filter(m,a.isLine(1)),c))return W(u.position.toRange());if(u=p.last(p.filter(m,a.isLine(0))))return W(u.position.toRange())}}function B(t,r){function o(){var t=l.dom.create(l.settings.forced_root_block);return(!e.ie||e.ie>=11)&&(t.innerHTML='<br data-mce-bogus="1">'),t}var i,a,s;if(r.collapsed&&l.settings.forced_root_block){if(i=l.dom.getParent(r.startContainer,"PRE"),!i)return;a=1==t?ae(n.fromRangeStart(r)):se(n.fromRangeStart(r)),a||(s=o(),1==t?l.$(i).after(s):l.$(i).before(s),l.selection.select(s,!0),l.selection.collapse())}}function F(e,t,n,r){var o;return(o=j(e,t,n,r))?o:(o=B(e,r),o?o:null)}function U(e,t,n){var r;return(r=L(e,t,n))?r:(r=B(e,n),r?r:null)}function H(){return ce("*[data-mce-caret]")[0]}function z(e){e.hasAttribute("data-mce-caret")&&(r.showCaretContainerBlock(e),S(M()),O(e[0]))}function q(e){var t,r;return e=o.normalizeRange(1,oe,e),t=n.fromRangeStart(e),_(t.getNode())?A(1,t.getNode(),!t.isAtEnd()):_(t.getNode(!0))?A(1,t.getNode(!0),!1):(r=l.dom.getParent(t.getNode(),f.or(_,b)),_(r)?A(1,r,!1):null)}function W(e){var t;return e&&e.collapsed?(t=q(e),t?t:e):e}function V(e){var t,o,i,a;return _(e)?(_(e.previousSibling)&&(i=e.previousSibling),o=se(n.before(e)),o||(t=ae(n.after(e))),t&&w(t.getNode())&&(a=t.getNode()),r.remove(e.previousSibling),r.remove(e.nextSibling),l.dom.remove(e),l.dom.isEmpty(l.getBody())?(l.setContent(""),void l.focus()):i?n.after(i).toRange():a?n.before(a).toRange():o?o.toRange():t?t.toRange():null):null}function G(e){var t=l.schema.getTextBlockElements();return e.nodeName in t}function Y(e){return l.dom.isEmpty(e)}function $(e,t,r){var o,i,a,s,u=l.dom;if(o=u.getParent(t.getNode(),u.isBlock),i=u.getParent(r.getNode(),u.isBlock),e===-1){if(s=r.getNode(!0),C(r)&&k(s))return G(o)?(Y(o)&&u.remove(o),n.after(s).toRange()):V(r.getNode(!0))}else if(s=t.getNode(),x(t)&&k(s))return G(i)?(Y(i)&&u.remove(i),n.before(s).toRange()):V(t.getNode());if(o===i||!G(o)||!G(i))return null;for(;a=o.firstChild;)i.appendChild(a);return l.dom.remove(o),r.toRange()}function K(e,t,n,o){var i,a,s,u;return!o.collapsed&&(i=E(o),_(i))?W(V(i)):(a=D(e,o),n(a)&&r.isCaretContainerBlock(o.startContainer)?(u=e==-1?ie.prev(a):ie.next(a),u?W(u.toRange()):o):t(a)?W(V(a.getNode(e==-1))):(s=e==-1?ie.prev(a):ie.next(a),t(s)?e===-1?$(e,a,s):$(e,s,a):void 0))}function X(){function o(e,t){var n=t(M());n&&!e.isDefaultPrevented()&&(e.preventDefault(),S(n))}function i(e){for(var t=l.getBody();e&&e!=t;){if(b(e)||_(e))return e;e=e.parentNode}return null}function u(e,t,n){return!n.collapsed&&p.reduce(n.getClientRects(),function(n,r){return n||c.containsXY(r,e,t)},!1)}function f(e){var t=!1;e.on("touchstart",function(){t=!1}),e.on("touchmove",function(){t=!0}),e.on("touchend",function(e){var n=i(e.target);_(n)&&(t||(e.preventDefault(),Z(N(n))))})}function v(){var e,t=i(l.selection.getNode());b(t)&&k(t)&&l.dom.isEmpty(t)&&(e=l.dom.create("br",{"data-mce-bogus":"1"}),l.$(t).empty().append(e),l.selection.setRng(n.before(e).toRange()))}function w(e){var t=H();if(t)return"compositionstart"==e.type?(e.preventDefault(),e.stopPropagation(),void z(t)):void(r.hasContent(t)&&z(t))}function E(e){var t;switch(e.keyCode){case d.DELETE:t=v();break;case d.BACKSPACE:t=v()}t&&e.preventDefault()}var O=y(F,1,ae,x),I=y(F,-1,se,C),P=y(K,1,x,C),D=y(K,-1,C,x),R=y(U,-1,a.upUntil),j=y(U,1,a.downUntil);l.on("mouseup",function(){var e=M();e.collapsed&&S(q(e))}),l.on("click",function(e){var t;t=i(e.target),t&&(_(t)&&(e.preventDefault(),l.focus()),b(t)&&l.dom.isChildOf(t,l.selection.getNode())&&ee())}),l.on("blur NewBlock",function(){ee(),ne()});var L=function(e){var r=new t(e);if(!e.firstChild)return!1;var o=n.before(e.firstChild),i=r.next(o);return i&&!x(i)&&!C(i)},B=function(e,t){var n=l.dom.getParent(e,l.dom.isBlock),r=l.dom.getParent(t,l.dom.isBlock);return n===r},G=function(e){return!(e.keyCode>=112&&e.keyCode<=123)},Y=function(e,t){var n=l.dom.getParent(e,l.dom.isBlock),r=l.dom.getParent(t,l.dom.isBlock);return n&&!B(n,r)&&L(n)};f(l),l.on("mousedown",function(e){var t;if(t=i(e.target))_(t)?(e.preventDefault(),Z(N(t))):u(e.clientX,e.clientY,l.selection.getRng())||l.selection.placeCaretAt(e.clientX,e.clientY);else{ee(),ne();var n=s.closestCaret(oe,e.clientX,e.clientY);n&&(Y(e.target,n.node)||(e.preventDefault(),l.getBody().focus(),S(A(1,n.node,n.before))))}}),l.on("keydown",function(e){if(!d.modifierPressed(e))switch(e.keyCode){case d.RIGHT:o(e,O);break;case d.DOWN:o(e,j);break;case d.LEFT:o(e,I);break;case d.UP:o(e,R);break;case d.DELETE:o(e,P);break;case d.BACKSPACE:o(e,D);break;default:_(l.selection.getNode())&&G(e)&&e.preventDefault()}}),l.on("keyup compositionstart",function(e){w(e),E(e)},!0),l.on("cut",function(){var e=l.selection.getNode();_(e)&&h.setEditorTimeout(l,function(){S(W(V(e)))})}),l.on("getSelectionRange",function(e){var t=e.range;if(re){if(!re.parentNode)return void(re=null);t=t.cloneRange(),t.selectNode(re),e.range=t}}),l.on("setSelectionRange",function(e){var t;t=Z(e.range),t&&(e.range=t)}),l.on("AfterSetSelectionRange",function(e){var t=e.range;J(t)||ne(),g(t.startContainer.parentNode)||ee()}),l.on("focus",function(){h.setEditorTimeout(l,function(){l.selection.setRng(W(l.selection.getRng()))},0)}),l.on("copy",function(t){var n=t.clipboardData;if(!t.isDefaultPrevented()&&t.clipboardData&&!e.ie){var r=T();r&&(t.preventDefault(),n.clearData(),n.setData("text/html",r.outerHTML),n.setData("text/plain",r.outerText))}}),m.init(l)}function Q(){var e=l.contentStyles,t=".mce-content-body";e.push(ue.getCss()),e.push(t+" .mce-offscreen-selection {position: absolute;left: -9999999999px;max-width: 1000000px;}"+t+" *[contentEditable=false] {cursor: default;}"+t+" *[contentEditable=true] {cursor: text;}")}function J(e){return r.isCaretContainer(e.startContainer)||r.isCaretContainer(e.endContainer)}function Z(t){var n,r,o,i,a,s,u,c,d,f,p=l.$,h=l.dom;if(!t)return null;if(t.collapsed){if(!J(t)){if(c=D(1,t),_(c.getNode()))return A(1,c.getNode(),!c.isAtEnd());if(_(c.getNode(!0)))return A(1,c.getNode(!0),!1)}return null}return i=t.startContainer,a=t.startOffset,s=t.endOffset,3==i.nodeType&&0==a&&_(i.parentNode)&&(i=i.parentNode,a=h.nodeIndex(i),i=i.parentNode),1!=i.nodeType?null:(s==a+1&&(n=i.childNodes[a]),_(n)?(d=f=n.cloneNode(!0),u=l.fire("ObjectSelected",{target:n,targetClone:d}),u.isDefaultPrevented()?null:(d=u.targetClone,r=p("#"+le),0===r.length&&(r=p('<div data-mce-bogus="all" class="mce-offscreen-selection"></div>').attr("id",le),r.appendTo(l.getBody())),t=l.dom.createRng(),d===f&&e.ie?(r.empty().append('<p style="font-size: 0" data-mce-bogus="all"> </p>').append(d),t.setStartAfter(r[0].firstChild.firstChild),t.setEndAfter(d)):(r.empty().append(" ").append(d).append(" "),t.setStart(r[0].firstChild,1),t.setEnd(r[0].lastChild,0)),r.css({top:h.getPos(n,l.getBody()).y}),r[0].focus(),o=l.selection.getSel(),o.removeAllRanges(),o.addRange(t),l.$("*[data-mce-selected]").removeAttr("data-mce-selected"),n.setAttribute("data-mce-selected",1),re=n,ne(),t)):null)}function ee(){re&&(re.removeAttribute("data-mce-selected"),l.$("#"+le).remove(),re=null)}function te(){ue.destroy(),re=null}function ne(){ue.hide()}var re,oe=l.getBody(),ie=new t(oe),ae=y(v,ie.next),se=y(v,ie.prev),ue=new i(l.getBody(),k),le="sel-"+l.dom.uniqueId(),ce=l.$;return e.ceFalse&&(X(),Q()),{showBlockCaretContainer:z,hideFakeCaret:ne,destroy:te}}var y=f.curry,b=u.isContentEditableTrue,_=u.isContentEditableFalse,w=u.isElement,C=o.isAfterContentEditableFalse,x=o.isBeforeContentEditableFalse,E=l.getSelectedNode;return g}),i("tinymce/util/Uuid",[],function(){var e=0,t=function(){var e=function(){return Math.round(4294967295*Math.random()).toString(36)},t=(new Date).getTime();return"s"+t.toString(36)+e()+e()+e()},n=function(n){return n+e++ +t()};return{uuid:n}}),i("tinymce/ui/Sidebar",[],function(){var e=function(e,t,n){var r=e.sidebars?e.sidebars:[];r.push({name:t,settings:n}),e.sidebars=r};return{add:e}}),i("tinymce/Editor",["tinymce/dom/DOMUtils","tinymce/dom/DomQuery","tinymce/AddOnManager","tinymce/NodeChange","tinymce/html/Node","tinymce/dom/Serializer","tinymce/html/Serializer","tinymce/dom/Selection","tinymce/Formatter","tinymce/UndoManager","tinymce/EnterKey","tinymce/ForceBlocks","tinymce/EditorCommands","tinymce/util/URI","tinymce/dom/ScriptLoader","tinymce/dom/EventUtils","tinymce/WindowManager","tinymce/NotificationManager","tinymce/html/Schema","tinymce/html/DomParser","tinymce/util/Quirks","tinymce/Env","tinymce/util/Tools","tinymce/util/Delay","tinymce/EditorObservable","tinymce/Mode","tinymce/Shortcuts","tinymce/EditorUpload","tinymce/SelectionOverrides","tinymce/util/Uuid","tinymce/ui/Sidebar","tinymce/ErrorReporter"],function(e,t,n,o,i,a,s,u,l,c,d,f,p,h,m,v,g,y,b,_,w,C,x,E,T,k,S,M,O,A,N,I){function P(e,r,o){var i,a,s,u=this;i=u.documentBaseUrl=o.documentBaseURL,a=o.baseURI,s=o.defaultSettings,r=L({id:e,theme:"modern",delta_width:0,delta_height:0,popup_css:"",plugins:"",document_base_url:i,add_form_submit_trigger:!0,submit_patch:!0,add_unload_trigger:!0,convert_urls:!0,relative_urls:!0,remove_script_host:!0,object_resizing:!0,doctype:"<!DOCTYPE html>",visual:!0,font_size_style_values:"xx-small,x-small,small,medium,large,x-large,xx-large",font_size_legacy_values:"xx-small,small,medium,large,x-large,xx-large,300%",forced_root_block:"p",hidden_input:!0,padd_empty_editor:!0,render_ui:!0,indentation:"30px",inline_styles:!0,convert_fonts_to_spans:!0,indent:"simple",indent_before:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,article,hgroup,aside,figure,figcaption,option,optgroup,datalist",indent_after:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,article,hgroup,aside,figure,figcaption,option,optgroup,datalist",validate:!0,entity_encoding:"named",url_converter:u.convertURL,url_converter_scope:u,ie7_compat:!0},s,r),s&&s.external_plugins&&r.external_plugins&&(r.external_plugins=L({},s.external_plugins,r.external_plugins)),u.settings=r,n.language=r.language||"en",n.languageLoad=r.language_load,n.baseURL=o.baseURL,u.id=r.id=e,u.setDirty(!1),u.plugins={},u.documentBaseURI=new h(r.document_base_url||i,{base_uri:a}),u.baseURI=a,u.contentCSS=[],u.contentStyles=[],u.shortcuts=new S(u),u.loadedCSS={},u.editorCommands=new p(u),u.suffix=o.suffix,u.editorManager=o,u.inline=r.inline,u.settings.content_editable=u.inline,r.cache_suffix&&(C.cacheSuffix=r.cache_suffix.replace(/^[\?\&]+/,"")),r.override_viewport===!1&&(C.overrideViewPort=!1),o.fire("SetupEditor",u),u.execCallback("setup",u),u.$=t.overrideDefaults(function(){return{context:u.inline?u.getBody():u.getDoc(),element:u.getBody()}})}var D=e.DOM,R=n.ThemeManager,j=n.PluginManager,L=x.extend,B=x.each,F=x.explode,U=x.inArray,H=x.trim,z=x.resolve,q=v.Event,W=C.gecko,V=C.ie;return P.prototype={render:function(){function e(){D.unbind(window,"ready",e),n.render()}function t(){var e=m.ScriptLoader;if(r.language&&"en"!=r.language&&!r.language_url&&(r.language_url=n.editorManager.baseURL+"/langs/"+r.language+".js"),r.language_url&&e.add(r.language_url),r.theme&&"function"!=typeof r.theme&&"-"!=r.theme.charAt(0)&&!R.urls[r.theme]){var t=r.theme_url;t=t?n.documentBaseURI.toAbsolute(t):"themes/"+r.theme+"/theme"+i+".js",R.load(r.theme,t)}x.isArray(r.plugins)&&(r.plugins=r.plugins.join(" ")),B(r.external_plugins,function(e,t){j.load(t,e),r.plugins+=" "+t}),B(r.plugins.split(/[ ,]/),function(e){if(e=H(e),e&&!j.urls[e])if("-"==e.charAt(0)){e=e.substr(1,e.length);var t=j.dependencies(e);B(t,function(e){var t={prefix:"plugins/",resource:e,suffix:"/plugin"+i+".js"};e=j.createUrl(t,e),j.load(e.resource,e)})}else j.load(e,{prefix:"plugins/",resource:e,suffix:"/plugin"+i+".js"})}),e.loadQueue(function(){n.removed||n.init()},n,function(e){I.pluginLoadError(n,e[0]),n.removed||n.init()})}var n=this,r=n.settings,o=n.id,i=n.suffix;if(!q.domLoaded)return void D.bind(window,"ready",e);if(n.getElement()&&C.contentEditable){r.inline?n.inline=!0:(n.orgVisibility=n.getElement().style.visibility,n.getElement().style.visibility="hidden");var a=n.getElement().form||D.getParent(o,"form");a&&(n.formElement=a,r.hidden_input&&!/TEXTAREA|INPUT/i.test(n.getElement().nodeName)&&(D.insertAfter(D.create("input",{type:"hidden",name:o}),o),n.hasHiddenInput=!0),n.formEventDelegate=function(e){n.fire(e.type,e)},D.bind(a,"submit reset",n.formEventDelegate),n.on("reset",function(){n.setContent(n.startContent,{format:"raw"})}),!r.submit_patch||a.submit.nodeType||a.submit.length||a._mceOldSubmit||(a._mceOldSubmit=a.submit,a.submit=function(){return n.editorManager.triggerSave(),n.setDirty(!1),a._mceOldSubmit(a)})),n.windowManager=new g(n),n.notificationManager=new y(n),"xml"==r.encoding&&n.on("GetContent",function(e){e.save&&(e.content=D.encode(e.content))}),r.add_form_submit_trigger&&n.on("submit",function(){n.initialized&&n.save()}),r.add_unload_trigger&&(n._beforeUnload=function(){!n.initialized||n.destroyed||n.isHidden()||n.save({format:"raw",no_events:!0,set_dirty:!1})},n.editorManager.on("BeforeUnload",n._beforeUnload)),n.editorManager.add(n),t()}},init:function(){function e(t){var n,r,o=j.get(t);if(n=j.urls[t]||f.documentBaseUrl.replace(/\/$/,""),t=H(t),o&&U(m,t)===-1){if(B(j.dependencies(t),function(t){e(t)}),f.plugins[t])return;r=new o(f,n,f.$),f.plugins[t]=r,r.init&&(r.init(f,n),m.push(t))}}var t,n,r,o,i,a,s,u,l,c,d,f=this,p=f.settings,h=f.getElement(),m=[];if(f.rtl=p.rtl_ui||f.editorManager.i18n.rtl,f.editorManager.i18n.setCode(p.language),p.aria_label=p.aria_label||D.getAttrib(h,"aria-label",f.getLang("aria.rich_text_area")),f.fire("ScriptsLoaded"),p.theme&&("function"!=typeof p.theme?(p.theme=p.theme.replace(/-/,""),a=R.get(p.theme),f.theme=new a(f,R.urls[p.theme]),f.theme.init&&f.theme.init(f,R.urls[p.theme]||f.documentBaseUrl.replace(/\/$/,""),f.$)):f.theme=p.theme),B(p.plugins.replace(/\-/g,"").split(/[ ,]/),e),p.render_ui&&f.theme&&(f.orgDisplay=h.style.display,"function"!=typeof p.theme?(t=p.width||h.style.width||h.offsetWidth,n=p.height||h.style.height||h.offsetHeight,r=p.min_height||100,c=/^[0-9\.]+(|px)$/i,c.test(""+t)&&(t=Math.max(parseInt(t,10),100)),c.test(""+n)&&(n=Math.max(parseInt(n,10),r)),i=f.theme.renderUI({targetNode:h,width:t,height:n,deltaWidth:p.delta_width,deltaHeight:p.delta_height}),p.content_editable||(n=(i.iframeHeight||n)+("number"==typeof n?i.deltaHeight||0:""),n<r&&(n=r))):(i=p.theme(f,h),i.editorContainer.nodeType&&(i.editorContainer.id=i.editorContainer.id||f.id+"_parent"),i.iframeContainer.nodeType&&(i.iframeContainer.id=i.iframeContainer.id||f.id+"_iframecontainer"),n=i.iframeHeight||h.offsetHeight),f.editorContainer=i.editorContainer),p.content_css&&B(F(p.content_css),function(e){f.contentCSS.push(f.documentBaseURI.toAbsolute(e))}),p.content_style&&f.contentStyles.push(p.content_style),p.content_editable)return h=o=i=null,f.initContentBody();if(f.iframeHTML=p.doctype+"<html><head>",p.document_base_url!=f.documentBaseUrl&&(f.iframeHTML+='<base href="'+f.documentBaseURI.getURI()+'" />'),!C.caretAfter&&p.ie7_compat&&(f.iframeHTML+='<meta http-equiv="X-UA-Compatible" content="IE=7" />'),f.iframeHTML+='<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />',!/#$/.test(document.location.href))for(d=0;d<f.contentCSS.length;d++){var v=f.contentCSS[d];f.iframeHTML+='<link type="text/css" rel="stylesheet" href="'+x._addCacheSuffix(v)+'" />',f.loadedCSS[v]=!0}u=p.body_id||"tinymce",u.indexOf("=")!=-1&&(u=f.getParam("body_id","","hash"),u=u[f.id]||u),l=p.body_class||"",l.indexOf("=")!=-1&&(l=f.getParam("body_class","","hash"),l=l[f.id]||""),p.content_security_policy&&(f.iframeHTML+='<meta http-equiv="Content-Security-Policy" content="'+p.content_security_policy+'" />'),f.iframeHTML+='</head><body id="'+u+'" class="mce-content-body '+l+'" data-id="'+f.id+'"><br></body></html>';var g='javascript:(function(){document.open();document.domain="'+document.domain+'";var ed = window.parent.tinymce.get("'+f.id+'");document.write(ed.iframeHTML);document.close();ed.initContentBody(true);})()';document.domain!=location.hostname&&C.ie&&C.ie<12&&(s=g);var y=D.create("iframe",{id:f.id+"_ifr",frameBorder:"0",allowTransparency:"true",title:f.editorManager.translate("Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help"),style:{width:"100%",height:n,display:"block"}});if(y.onload=function(){y.onload=null,f.fire("load")},D.setAttrib(y,"src",s||'javascript:""'),f.contentAreaContainer=i.iframeContainer,f.iframeElement=y,o=D.add(i.iframeContainer,y),V)try{f.getDoc()}catch(e){o.src=s=g}i.editorContainer&&(D.get(i.editorContainer).style.display=f.orgDisplay,f.hidden=D.isHidden(i.editorContainer)),f.getElement().style.display="none",D.setAttrib(f.id,"aria-hidden",!0),s||f.initContentBody(),h=o=i=null},initContentBody:function(t){var n,r,s=this,p=s.settings,h=s.getElement(),m=s.getDoc();p.inline||(s.getElement().style.visibility=s.orgVisibility),t||p.content_editable||(m.open(),m.write(s.iframeHTML),m.close()),p.content_editable&&(s.on("remove",function(){var e=this.getBody();D.removeClass(e,"mce-content-body"),D.removeClass(e,"mce-edit-focus"),D.setAttrib(e,"contentEditable",null)}),D.addClass(h,"mce-content-body"),s.contentDocument=m=p.content_document||document,s.contentWindow=p.content_window||window,s.bodyElement=h,p.content_document=p.content_window=null,p.root_name=h.nodeName.toLowerCase()),n=s.getBody(),n.disabled=!0,s.readonly=p.readonly,s.readonly||(s.inline&&"static"==D.getStyle(n,"position",!0)&&(n.style.position="relative"),n.contentEditable=s.getParam("content_editable_state",!0)),n.disabled=!1,s.editorUpload=new M(s),s.schema=new b(p),s.dom=new e(m,{keep_values:!0,url_converter:s.convertURL,url_converter_scope:s,hex_colors:p.force_hex_style_colors,class_filter:p.class_filter,update_styles:!0,root_element:s.inline?s.getBody():null,collect:p.content_editable,schema:s.schema,onSetAttrib:function(e){s.fire("SetAttrib",e)}}),s.parser=new _(p,s.schema),s.parser.addAttributeFilter("src,href,style,tabindex",function(e,t){for(var n,r,o,i=e.length,a=s.dom;i--;)if(n=e[i],r=n.attr(t),o="data-mce-"+t,!n.attributes.map[o]){if(0===r.indexOf("data:")||0===r.indexOf("blob:"))continue;"style"===t?(r=a.serializeStyle(a.parseStyle(r),n.name),r.length||(r=null),n.attr(o,r),n.attr(t,r)):"tabindex"===t?(n.attr(o,r),n.attr(t,null)):n.attr(o,s.convertURL(r,t,n.name))}}),s.parser.addNodeFilter("script",function(e){for(var t,n,r=e.length;r--;)t=e[r],n=t.attr("type")||"no/type",0!==n.indexOf("mce-")&&t.attr("type","mce-"+n)}),s.parser.addNodeFilter("#cdata",function(e){for(var t,n=e.length;n--;)t=e[n],t.type=8,t.name="#comment",t.value="[CDATA["+t.value+"]]"}),s.parser.addNodeFilter("p,h1,h2,h3,h4,h5,h6,div",function(e){for(var t,n=e.length,r=s.schema.getNonEmptyElements();n--;)t=e[n],t.isEmpty(r)&&0===t.getAll("br").length&&(t.append(new i("br",1)).shortEnded=!0)}),s.serializer=new a(p,s),s.selection=new u(s.dom,s.getWin(),s.serializer,s),s.formatter=new l(s),s.undoManager=new c(s),s.forceBlocks=new f(s),s.enterKey=new d(s),s._nodeChangeDispatcher=new o(s),s._selectionOverrides=new O(s),s.fire("PreInit"),p.browser_spellcheck||p.gecko_spellcheck||(m.body.spellcheck=!1,D.setAttrib(n,"spellcheck","false")),s.quirks=new w(s),s.fire("PostRender"),p.directionality&&(n.dir=p.directionality),p.nowrap&&(n.style.whiteSpace="nowrap"),p.protect&&s.on("BeforeSetContent",function(e){B(p.protect,function(t){e.content=e.content.replace(t,function(e){return"<!--mce:protected "+escape(e)+"-->"})})}),s.on("SetContent",function(){s.addVisual(s.getBody())}),p.padd_empty_editor&&s.on("PostProcess",function(e){e.content=e.content.replace(/^(<p[^>]*>(&nbsp;|&#160;|\s|\u00a0|<br \/>|)<\/p>[\r\n]*|<br \/>[\r\n]*)$/,"")}),s.load({initial:!0,format:"html"}),s.startContent=s.getContent({format:"raw"}),s.initialized=!0,s.bindPendingEventDelegates(),s.fire("init"),s.focus(!0),s.nodeChanged({initial:!0}),s.execCallback("init_instance_callback",s),s.on("compositionstart compositionend",function(e){s.composing="compositionstart"===e.type}),s.contentStyles.length>0&&(r="",B(s.contentStyles,function(e){r+=e+"\r\n"}),s.dom.addStyle(r)),B(s.contentCSS,function(e){s.loadedCSS[e]||(s.dom.loadCSS(e),s.loadedCSS[e]=!0)}),p.auto_focus&&E.setEditorTimeout(s,function(){var e;e=p.auto_focus===!0?s:s.editorManager.get(p.auto_focus),e.destroyed||e.focus()},100),h=m=n=null},focus:function(e){function t(e){return i.dom.getParent(e,function(e){return"true"===i.dom.getContentEditable(e)})}var n,r,o,i=this,a=i.selection,s=i.settings.content_editable,u=i.getDoc(),l=i.getBody();if(!e){if(n=a.getRng(),n.item&&(r=n.item(0)),i.quirks.refreshContentEditable(),o=t(a.getNode()),i.$.contains(l,o))return o.focus(),a.normalize(),void i.editorManager.setActive(i);if(s||(C.opera||i.getBody().focus(),i.getWin().focus()),W||s){if(l.setActive)try{l.setActive()}catch(e){l.focus()}else l.focus();s&&a.normalize()}r&&r.ownerDocument==u&&(n=u.body.createControlRange(),n.addElement(r),n.select())}i.editorManager.setActive(i)},execCallback:function(e){var t,n=this,r=n.settings[e];if(r)return n.callbackLookup&&(t=n.callbackLookup[e])&&(r=t.func,t=t.scope),"string"==typeof r&&(t=r.replace(/\.\w+$/,""),t=t?z(t):0,r=z(r),n.callbackLookup=n.callbackLookup||{},n.callbackLookup[e]={func:r,scope:t}),r.apply(t||n,Array.prototype.slice.call(arguments,1))},translate:function(e){var t=this.settings.language||"en",n=this.editorManager.i18n;return e?(e=n.data[t+"."+e]||e.replace(/\{\#([^\}]+)\}/g,function(e,r){return n.data[t+"."+r]||"{#"+r+"}"}),this.editorManager.translate(e)):""},getLang:function(e,t){return this.editorManager.i18n.data[(this.settings.language||"en")+"."+e]||(t!==r?t:"{#"+e+"}")},getParam:function(e,t,n){var r,o=e in this.settings?this.settings[e]:t;return"hash"===n?(r={},"string"==typeof o?B(o.indexOf("=")>0?o.split(/[;,](?![^=;,]*(?:[;,]|$))/):o.split(","),function(e){e=e.split("="),e.length>1?r[H(e[0])]=H(e[1]):r[H(e[0])]=H(e)}):r=o,r):o},nodeChanged:function(e){this._nodeChangeDispatcher.nodeChanged(e)},addButton:function(e,t){var n=this;t.cmd&&(t.onclick=function(){n.execCommand(t.cmd)}),t.text||t.icon||(t.icon=e),n.buttons=n.buttons||{},t.tooltip=t.tooltip||t.title,n.buttons[e]=t},addSidebar:function(e,t){return N.add(this,e,t)},addMenuItem:function(e,t){var n=this;t.cmd&&(t.onclick=function(){n.execCommand(t.cmd)}),n.menuItems=n.menuItems||{},n.menuItems[e]=t},addContextToolbar:function(e,t){var n,r=this;r.contextToolbars=r.contextToolbars||[],"string"==typeof e&&(n=e,e=function(e){return r.dom.is(e,n)}),r.contextToolbars.push({id:A.uuid("mcet"),predicate:e,items:t})},addCommand:function(e,t,n){this.editorCommands.addCommand(e,t,n)},addQueryStateHandler:function(e,t,n){this.editorCommands.addQueryStateHandler(e,t,n)},addQueryValueHandler:function(e,t,n){this.editorCommands.addQueryValueHandler(e,t,n)},addShortcut:function(e,t,n,r){this.shortcuts.add(e,t,n,r)},execCommand:function(e,t,n,r){return this.editorCommands.execCommand(e,t,n,r)},queryCommandState:function(e){return this.editorCommands.queryCommandState(e)},queryCommandValue:function(e){return this.editorCommands.queryCommandValue(e)},queryCommandSupported:function(e){return this.editorCommands.queryCommandSupported(e)},show:function(){var e=this;e.hidden&&(e.hidden=!1,e.inline?e.getBody().contentEditable=!0:(D.show(e.getContainer()),D.hide(e.id)),e.load(),e.fire("show"))},hide:function(){var e=this,t=e.getDoc();e.hidden||(V&&t&&!e.inline&&t.execCommand("SelectAll"),e.save(),e.inline?(e.getBody().contentEditable=!1,e==e.editorManager.focusedEditor&&(e.editorManager.focusedEditor=null)):(D.hide(e.getContainer()),D.setStyle(e.id,"display",e.orgDisplay)),e.hidden=!0,e.fire("hide"))},isHidden:function(){return!!this.hidden},setProgressState:function(e,t){this.fire("ProgressState",{state:e,time:t})},load:function(e){var t,n=this,o=n.getElement();if(o)return e=e||{},e.load=!0,t=n.setContent(o.value!==r?o.value:o.innerHTML,e),e.element=o,e.no_events||n.fire("LoadContent",e),e.element=o=null,t},save:function(e){var t,n,r=this,o=r.getElement();if(o&&r.initialized)return e=e||{},e.save=!0,e.element=o,t=e.content=r.getContent(e),e.no_events||r.fire("SaveContent",e),"raw"==e.format&&r.fire("RawSaveContent",e),t=e.content,/TEXTAREA|INPUT/i.test(o.nodeName)?o.value=t:(r.inline||(o.innerHTML=t),(n=D.getParent(r.id,"form"))&&B(n.elements,function(e){if(e.name==r.id)return e.value=t,!1})),e.element=o=null,e.set_dirty!==!1&&r.setDirty(!1),t},setContent:function(e,t){var n,r,o=this,i=o.getBody();return t=t||{},t.format=t.format||"html",t.set=!0,t.content=e,t.no_events||o.fire("BeforeSetContent",t),e=t.content,0===e.length||/^\s+$/.test(e)?(r=V&&V<11?"":'<br data-mce-bogus="1">',"TABLE"==i.nodeName?e="<tr><td>"+r+"</td></tr>":/^(UL|OL)$/.test(i.nodeName)&&(e="<li>"+r+"</li>"),n=o.settings.forced_root_block,n&&o.schema.isValidChild(i.nodeName.toLowerCase(),n.toLowerCase())?(e=r,e=o.dom.createHTML(n,o.settings.forced_root_block_attrs,e)):V||e||(e='<br data-mce-bogus="1">'),o.dom.setHTML(i,e),o.fire("SetContent",t)):("raw"!==t.format&&(e=new s({validate:o.validate},o.schema).serialize(o.parser.parse(e,{isRootContent:!0}))),t.content=H(e),o.dom.setHTML(i,t.content),t.no_events||o.fire("SetContent",t)),t.content},getContent:function(e){var t,n=this,r=n.getBody();return e=e||{},e.format=e.format||"html",e.get=!0,e.getInner=!0,e.no_events||n.fire("BeforeGetContent",e),t="raw"==e.format?x.trim(n.serializer.getTrimmedContent()):"text"==e.format?r.innerText||r.textContent:n.serializer.serialize(r,e),"text"!=e.format?e.content=H(t):e.content=t,e.no_events||n.fire("GetContent",e),e.content},insertContent:function(e,t){t&&(e=L({content:e},t)),this.execCommand("mceInsertContent",!1,e)},isDirty:function(){return!this.isNotDirty},setDirty:function(e){var t=!this.isNotDirty;this.isNotDirty=!e,e&&e!=t&&this.fire("dirty")},setMode:function(e){k.setMode(this,e)},getContainer:function(){var e=this;return e.container||(e.container=D.get(e.editorContainer||e.id+"_parent")),e.container},getContentAreaContainer:function(){return this.contentAreaContainer},getElement:function(){return this.targetElm||(this.targetElm=D.get(this.id)),this.targetElm},getWin:function(){var e,t=this;return t.contentWindow||(e=t.iframeElement,e&&(t.contentWindow=e.contentWindow)),t.contentWindow},getDoc:function(){var e,t=this;return t.contentDocument||(e=t.getWin(),e&&(t.contentDocument=e.document)),t.contentDocument},getBody:function(){var e=this.getDoc();return this.bodyElement||(e?e.body:null)},convertURL:function(e,t,n){var r=this,o=r.settings;return o.urlconverter_callback?r.execCallback("urlconverter_callback",e,n,!0,t):!o.convert_urls||n&&"LINK"==n.nodeName||0===e.indexOf("file:")||0===e.length?e:o.relative_urls?r.documentBaseURI.toRelative(e):e=r.documentBaseURI.toAbsolute(e,o.remove_script_host)},addVisual:function(e){var t,n=this,o=n.settings,i=n.dom;e=e||n.getBody(),n.hasVisual===r&&(n.hasVisual=o.visual),B(i.select("table,a",e),function(e){var r;switch(e.nodeName){case"TABLE":return t=o.visual_table_class||"mce-item-table",r=i.getAttrib(e,"border"),void(r&&"0"!=r||!n.hasVisual?i.removeClass(e,t):i.addClass(e,t));case"A":return void(i.getAttrib(e,"href",!1)||(r=i.getAttrib(e,"name")||e.id,t=o.visual_anchor_class||"mce-item-anchor",r&&n.hasVisual?i.addClass(e,t):i.removeClass(e,t)))}}),n.fire("VisualAid",{element:e,hasVisual:n.hasVisual})},remove:function(){var e=this;e.removed||(e.save(),e.removed=1,e.unbindAllNativeEvents(),e.hasHiddenInput&&D.remove(e.getElement().nextSibling),e.inline||(V&&V<10&&e.getDoc().execCommand("SelectAll",!1,null),D.setStyle(e.id,"display",e.orgDisplay),e.getBody().onload=null),e.fire("remove"),e.editorManager.remove(e),D.remove(e.getContainer()),e._selectionOverrides.destroy(),e.editorUpload.destroy(),e.destroy())},destroy:function(e){var t,n=this;if(!n.destroyed){if(!e&&!n.removed)return void n.remove();e||(n.editorManager.off("beforeunload",n._beforeUnload),n.theme&&n.theme.destroy&&n.theme.destroy(),n.selection.destroy(),n.dom.destroy()),t=n.formElement,t&&(t._mceOldSubmit&&(t.submit=t._mceOldSubmit,t._mceOldSubmit=null),D.unbind(t,"submit reset",n.formEventDelegate)),n.contentAreaContainer=n.formElement=n.container=n.editorContainer=null,n.bodyElement=n.contentDocument=n.contentWindow=null,n.iframeElement=n.targetElm=null,n.selection&&(n.selection=n.selection.win=n.selection.dom=n.selection.dom.doc=null),n.destroyed=1}},uploadImages:function(e){return this.editorUpload.uploadImages(e)},_scanForImages:function(){return this.editorUpload.scanForImages()}},L(P.prototype,T),P}),i("tinymce/util/I18n",["tinymce/util/Tools"],function(e){var t={},n="en";return{setCode:function(e){e&&(n=e,this.rtl=!!this.data[e]&&"rtl"===this.data[e]._dir)},getCode:function(){return n},rtl:!1,add:function(e,n){var r=t[e];r||(t[e]=r={});for(var o in n)r[o]=n[o];this.setCode(e)},translate:function(r){function o(t){return e.is(t,"function")?Object.prototype.toString.call(t):i(t)?"":""+t}function i(t){return""===t||null===t||e.is(t,"undefined")}function a(t){return t=o(t),e.hasOwn(s,t)?o(s[t]):t}var s=t[n]||{};if(i(r))return"";if(e.is(r,"object")&&e.hasOwn(r,"raw"))return o(r.raw);if(e.is(r,"array")){var u=r.slice(1);r=a(r[0]).replace(/\{([0-9]+)\}/g,function(t,n){return e.hasOwn(u,n)?o(u[n]):t})}return a(r).replace(/{context:\w+}$/,"")},data:t}}),i("tinymce/FocusManager",["tinymce/dom/DOMUtils","tinymce/util/Delay","tinymce/Env"],function(e,t,n){function r(e){function r(){try{return document.activeElement}catch(e){return document.body}}function l(e,t){if(t&&t.startContainer){if(!e.isChildOf(t.startContainer,e.getRoot())||!e.isChildOf(t.endContainer,e.getRoot()))return;return{startContainer:t.startContainer,startOffset:t.startOffset,endContainer:t.endContainer,endOffset:t.endOffset}}return t}function c(e,t){var n;return t.startContainer?(n=e.getDoc().createRange(),n.setStart(t.startContainer,t.startOffset),n.setEnd(t.endContainer,t.endOffset)):n=t,n}function d(d){var f=d.editor;f.on("init",function(){(f.inline||n.ie)&&("onbeforedeactivate"in document&&n.ie<9?f.dom.bind(f.getBody(),"beforedeactivate",function(e){if(e.target==f.getBody())try{f.lastRng=f.selection.getRng()}catch(e){}}):f.on("nodechange mouseup keyup",function(e){var t=r();"nodechange"==e.type&&e.selectionChange||(t&&t.id==f.id+"_ifr"&&(t=f.getBody()),f.dom.isChildOf(t,f.getBody())&&(f.lastRng=f.selection.getRng()))}),n.webkit&&!o&&(o=function(){var t=e.activeEditor;if(t&&t.selection){var n=t.selection.getRng();n&&!n.collapsed&&(f.lastRng=n)}},s.bind(document,"selectionchange",o)))}),f.on("setcontent",function(){f.lastRng=null}),f.on("mousedown",function(){f.selection.lastFocusBookmark=null}),f.on("focusin",function(){var t,n=e.focusedEditor;f.selection.lastFocusBookmark&&(t=c(f,f.selection.lastFocusBookmark),f.selection.lastFocusBookmark=null,f.selection.setRng(t)),n!=f&&(n&&n.fire("blur",{focusedEditor:f}),e.setActive(f),e.focusedEditor=f,f.fire("focus",{blurredEditor:n}),f.focus(!0)),f.lastRng=null}),f.on("focusout",function(){t.setEditorTimeout(f,function(){var t=e.focusedEditor;u(f,r())||t!=f||(f.fire("blur",{focusedEditor:null}),e.focusedEditor=null,f.selection&&(f.selection.lastFocusBookmark=null))})}),i||(i=function(t){var n,r=e.activeEditor;n=t.target,r&&n.ownerDocument==document&&(r.selection&&n!=r.getBody()&&(r.selection.lastFocusBookmark=l(r.dom,r.lastRng)),n==document.body||u(r,n)||e.focusedEditor!=r||(r.fire("blur",{focusedEditor:null}),e.focusedEditor=null))},s.bind(document,"focusin",i)),f.inline&&!a&&(a=function(t){var n=e.activeEditor,r=n.dom;if(n.inline&&r&&!r.isChildOf(t.target,n.getBody())){var o=n.selection.getRng();o.collapsed||(n.lastRng=o)}},s.bind(document,"mouseup",a))}function f(t){e.focusedEditor==t.editor&&(e.focusedEditor=null),e.activeEditor||(s.unbind(document,"selectionchange",o),s.unbind(document,"focusin",i),s.unbind(document,"mouseup",a),o=i=a=null)}e.on("AddEditor",d),e.on("RemoveEditor",f)}var o,i,a,s=e.DOM,u=function(e,t){
-var n=e?e.settings.custom_ui_selector:"",o=s.getParent(t,function(t){return r.isEditorUIElement(t)||!!n&&e.dom.is(t,n)});return null!==o};return r.isEditorUIElement=function(e){return e.className.toString().indexOf("mce-")!==-1},r._isUIElement=u,r}),i("tinymce/EditorManager",["tinymce/Editor","tinymce/dom/DomQuery","tinymce/dom/DOMUtils","tinymce/util/URI","tinymce/Env","tinymce/util/Tools","tinymce/util/Promise","tinymce/util/Observable","tinymce/util/I18n","tinymce/FocusManager","tinymce/AddOnManager"],function(e,t,n,r,o,i,a,s,u,l,c){function d(e){b(v.editors,function(t){"scroll"===e.type?t.fire("ScrollWindow",e):t.fire("ResizeWindow",e)})}function f(e,n){n!==C&&(n?t(window).on("resize scroll",d):t(window).off("resize scroll",d),C=n)}function p(e){var t,n=v.editors;delete n[e.id];for(var r=0;r<n.length;r++)if(n[r]==e){n.splice(r,1),t=!0;break}return v.activeEditor==e&&(v.activeEditor=n[0]),v.focusedEditor==e&&(v.focusedEditor=null),t}function h(e){return e&&e.initialized&&!(e.getContainer()||e.getBody()).parentNode&&(p(e),e.unbindAllNativeEvents(),e.destroy(!0),e.removed=!0,e=null),e}var m,v,g=n.DOM,y=i.explode,b=i.each,_=i.extend,w=0,C=!1;return v={$:t,majorVersion:"4",minorVersion:"5.6",releaseDate:"2017-03-30",editors:[],i18n:u,activeEditor:null,setup:function(){var e,t,n,o,i=this,a="";if(t=r.getDocumentBaseUrl(document.location),/^[^:]+:\/\/\/?[^\/]+\//.test(t)&&(t=t.replace(/[\?#].*$/,"").replace(/[\/\\][^\/]+$/,""),/[\/\\]$/.test(t)||(t+="/")),n=window.tinymce||window.tinyMCEPreInit)e=n.base||n.baseURL,a=n.suffix;else{for(var s=document.getElementsByTagName("script"),u=0;u<s.length;u++){o=s[u].src;var c=o.substring(o.lastIndexOf("/"));if(/tinymce(\.full|\.jquery|)(\.min|\.dev|)\.js/.test(o)){c.indexOf(".min")!=-1&&(a=".min"),e=o.substring(0,o.lastIndexOf("/"));break}}!e&&document.currentScript&&(o=document.currentScript.src,o.indexOf(".min")!=-1&&(a=".min"),e=o.substring(0,o.lastIndexOf("/")))}i.baseURL=new r(t).toAbsolute(e),i.documentBaseURL=t,i.baseURI=new r(i.baseURL),i.suffix=a,i.focusManager=new l(i)},overrideDefaults:function(e){var t,n;t=e.base_url,t&&(this.baseURL=new r(this.documentBaseURL).toAbsolute(t.replace(/\/+$/,"")),this.baseURI=new r(this.baseURL)),n=e.suffix,e.suffix&&(this.suffix=n),this.defaultSettings=e;var o=e.plugin_base_urls;for(var i in o)c.PluginManager.urls[i]=o[i]},init:function(n){function r(e,t){return e.inline&&t.tagName.toLowerCase()in p}function o(e,t){window.console&&!window.test&&window.console.log(e,t)}function s(e){var t=e.id;return t||(t=e.name,t=t&&!g.get(t)?e.name:g.uniqueId(),e.setAttribute("id",t)),t}function u(e){var t=n[e];if(t)return t.apply(m,Array.prototype.slice.call(arguments,2))}function l(e,t){return t.constructor===RegExp?t.test(e.className):g.hasClass(e,t)}function c(e){var t,n=[];if(e.types)return b(e.types,function(e){n=n.concat(g.select(e.selector))}),n;if(e.selector)return g.select(e.selector);if(e.target)return[e.target];switch(e.mode){case"exact":t=e.elements||"",t.length>0&&b(y(t),function(e){var t;(t=g.get(e))?n.push(t):b(document.forms,function(t){b(t.elements,function(t){t.name===e&&(e="mce_editor_"+w++,g.setAttrib(t,"id",e),n.push(t))})})});break;case"textareas":case"specific_textareas":b(g.select("textarea"),function(t){e.editor_deselector&&l(t,e.editor_deselector)||e.editor_selector&&!l(t,e.editor_selector)||n.push(t)})}return n}function d(){function a(t,n,r){var o=new e(t,n,m);p.push(o),o.on("init",function(){++f===l.length&&v(p)}),o.targetElm=o.targetElm||r,o.render()}var l,f=0,p=[];return g.unbind(window,"ready",d),u("onpageload"),l=t.unique(c(n)),n.types?void b(n.types,function(e){i.each(l,function(t){return!g.is(t,e.selector)||(a(s(t),_({},n,e),t),!1)})}):(i.each(l,function(e){h(m.get(e.id))}),l=i.grep(l,function(e){return!m.get(e.id)}),void b(l,function(e){r(n,e)?o("Could not initialize inline editor on invalid inline target element",e):a(s(e),n,e)}))}var f,p,m=this;p=i.makeMap("area base basefont br col frame hr img input isindex link meta param embed source wbr track colgroup option tbody tfoot thead tr script noscript style textarea video audio iframe object menu"," ");var v=function(e){f=e};return m.settings=n,g.bind(window,"ready",d),new a(function(e){f?e(f):v=function(t){e(t)}})},get:function(e){return arguments.length?e in this.editors?this.editors[e]:null:this.editors},add:function(e){var t=this,n=t.editors;return n[e.id]=e,n.push(e),f(n,!0),t.activeEditor=e,t.fire("AddEditor",{editor:e}),m||(m=function(){t.fire("BeforeUnload")},g.bind(window,"beforeunload",m)),e},createEditor:function(t,n){return this.add(new e(t,n,this))},remove:function(e){var t,n,r=this,o=r.editors;{if(e)return"string"==typeof e?(e=e.selector||e,void b(g.select(e),function(e){n=o[e.id],n&&r.remove(n)})):(n=e,o[n.id]?(p(n)&&r.fire("RemoveEditor",{editor:n}),o.length||g.unbind(window,"beforeunload",m),n.remove(),f(o,o.length>0),n):null);for(t=o.length-1;t>=0;t--)r.remove(o[t])}},execCommand:function(t,n,r){var o=this,i=o.get(r);switch(t){case"mceAddEditor":return o.get(r)||new e(r,o.settings,o).render(),!0;case"mceRemoveEditor":return i&&i.remove(),!0;case"mceToggleEditor":return i?(i.isHidden()?i.show():i.hide(),!0):(o.execCommand("mceAddEditor",0,r),!0)}return!!o.activeEditor&&o.activeEditor.execCommand(t,n,r)},triggerSave:function(){b(this.editors,function(e){e.save()})},addI18n:function(e,t){u.add(e,t)},translate:function(e){return u.translate(e)},setActive:function(e){var t=this.activeEditor;this.activeEditor!=e&&(t&&t.fire("deactivate",{relatedTarget:e}),e.fire("activate",{relatedTarget:t})),this.activeEditor=e}},_(v,s),v.setup(),window.tinymce=window.tinyMCE=v,v}),i("tinymce/LegacyInput",["tinymce/EditorManager","tinymce/util/Tools"],function(e,t){var n=t.each,r=t.explode;e.on("AddEditor",function(e){var t=e.editor;t.on("preInit",function(){function e(e,t){n(t,function(t,n){t&&s.setStyle(e,n,t)}),s.rename(e,"span")}function o(e){s=t.dom,u.convert_fonts_to_spans&&n(s.select("font,u,strike",e.node),function(e){i[e.nodeName.toLowerCase()](s,e)})}var i,a,s,u=t.settings;u.inline_styles&&(a=r(u.font_size_legacy_values),i={font:function(t,n){e(n,{backgroundColor:n.style.backgroundColor,color:n.color,fontFamily:n.face,fontSize:a[parseInt(n.size,10)-1]})},u:function(n,r){"html4"===t.settings.schema&&e(r,{textDecoration:"underline"})},strike:function(t,n){e(n,{textDecoration:"line-through"})}},t.on("PreProcess SetContent",o))})})}),i("tinymce/util/XHR",["tinymce/util/Observable","tinymce/util/Tools"],function(e,t){var n={send:function(e){function r(){!e.async||4==o.readyState||i++>1e4?(e.success&&i<1e4&&200==o.status?e.success.call(e.success_scope,""+o.responseText,o,e):e.error&&e.error.call(e.error_scope,i>1e4?"TIMED_OUT":"GENERAL",o,e),o=null):setTimeout(r,10)}var o,i=0;if(e.scope=e.scope||this,e.success_scope=e.success_scope||e.scope,e.error_scope=e.error_scope||e.scope,e.async=e.async!==!1,e.data=e.data||"",n.fire("beforeInitialize",{settings:e}),o=new XMLHttpRequest){if(o.overrideMimeType&&o.overrideMimeType(e.content_type),o.open(e.type||(e.data?"POST":"GET"),e.url,e.async),e.crossDomain&&(o.withCredentials=!0),e.content_type&&o.setRequestHeader("Content-Type",e.content_type),e.requestheaders&&t.each(e.requestheaders,function(e){o.setRequestHeader(e.key,e.value)}),o.setRequestHeader("X-Requested-With","XMLHttpRequest"),o=n.fire("beforeSend",{xhr:o,settings:e}).xhr,o.send(e.data),!e.async)return r();setTimeout(r,10)}}};return t.extend(n,e),n}),i("tinymce/util/JSON",[],function(){function e(t,n){var r,o,i,a;if(n=n||'"',null===t)return"null";if(i=typeof t,"string"==i)return o="\bb\tt\nn\ff\rr\"\"''\\\\",n+t.replace(/([\u0080-\uFFFF\x00-\x1f\"\'\\])/g,function(e,t){return'"'===n&&"'"===e?e:(r=o.indexOf(t),r+1?"\\"+o.charAt(r+1):(e=t.charCodeAt().toString(16),"\\u"+"0000".substring(e.length)+e))})+n;if("object"==i){if(t.hasOwnProperty&&"[object Array]"===Object.prototype.toString.call(t)){for(r=0,o="[";r<t.length;r++)o+=(r>0?",":"")+e(t[r],n);return o+"]"}o="{";for(a in t)t.hasOwnProperty(a)&&(o+="function"!=typeof t[a]?(o.length>1?","+n:n)+a+n+":"+e(t[a],n):"");return o+"}"}return""+t}return{serialize:e,parse:function(e){try{return window[String.fromCharCode(101)+"val"]("("+e+")")}catch(e){}}}}),i("tinymce/util/JSONRequest",["tinymce/util/JSON","tinymce/util/XHR","tinymce/util/Tools"],function(e,t,n){function r(e){this.settings=o({},e),this.count=0}var o=n.extend;return r.sendRPC=function(e){return(new r).send(e)},r.prototype={send:function(n){var r=n.error,i=n.success;n=o(this.settings,n),n.success=function(t,o){t=e.parse(t),"undefined"==typeof t&&(t={error:"JSON Parse error."}),t.error?r.call(n.error_scope||n.scope,t.error,o):i.call(n.success_scope||n.scope,t.result)},n.error=function(e,t){r&&r.call(n.error_scope||n.scope,e,t)},n.data=e.serialize({id:n.id||"c"+this.count++,method:n.method,params:n.params}),n.content_type="application/json",t.send(n)}},r}),i("tinymce/util/JSONP",["tinymce/dom/DOMUtils"],function(e){return{callbacks:{},count:0,send:function(t){var n=this,o=e.DOM,i=t.count!==r?t.count:n.count,a="tinymce_jsonp_"+i;n.callbacks[i]=function(e){o.remove(a),delete n.callbacks[i],t.callback(e)},o.add(o.doc.body,"script",{id:a,src:t.url,type:"text/javascript"}),n.count++}}}),i("tinymce/util/LocalStorage",[],function(){function e(){s=[];for(var e in a)s.push(e);o.length=s.length}function t(){function t(e){var t,n;return n=e!==r?c+e:o.indexOf(",",c),n===-1||n>o.length?null:(t=o.substring(c,n),c=n+1,t)}var n,o,s,c=0;if(a={},l){i.load(u),o=i.getAttribute(u)||"";do{var d=t();if(null===d)break;if(n=t(parseInt(d,32)||0),null!==n){if(d=t(),null===d)break;s=t(parseInt(d,32)||0),n&&(a[n]=s)}}while(null!==n);e()}}function n(){var t,n="";if(l){for(var r in a)t=a[r],n+=(n?",":"")+r.length.toString(32)+","+r+","+t.length.toString(32)+","+t;i.setAttribute(u,n);try{i.save(u)}catch(e){}e()}}var o,i,a,s,u,l;try{if(window.localStorage)return localStorage}catch(e){}return u="tinymce",i=document.documentElement,l=!!i.addBehavior,l&&i.addBehavior("#default#userData"),o={key:function(e){return s[e]},getItem:function(e){return e in a?a[e]:null},setItem:function(e,t){a[e]=""+t,n()},removeItem:function(e){delete a[e],n()},clear:function(){a={},n()}},t(),o}),i("tinymce/Compat",["tinymce/dom/DOMUtils","tinymce/dom/EventUtils","tinymce/dom/ScriptLoader","tinymce/AddOnManager","tinymce/util/Tools","tinymce/Env"],function(e,t,n,r,o,i){var a=window.tinymce;return a.DOM=e.DOM,a.ScriptLoader=n.ScriptLoader,a.PluginManager=r.PluginManager,a.ThemeManager=r.ThemeManager,a.dom=a.dom||{},a.dom.Event=t.Event,o.each("trim isArray is toArray makeMap each map grep inArray extend create walk createNS resolve explode _addCacheSuffix".split(" "),function(e){a[e]=o[e]}),o.each("isOpera isWebKit isIE isGecko isMac".split(" "),function(e){a[e]=i[e.substr(2).toLowerCase()]}),{}}),i("tinymce/ui/Layout",["tinymce/util/Class","tinymce/util/Tools"],function(e,t){return e.extend({Defaults:{firstControlClass:"first",lastControlClass:"last"},init:function(e){this.settings=t.extend({},this.Defaults,e)},preRender:function(e){e.bodyClasses.add(this.settings.containerClass)},applyClasses:function(e){var t,n,r,o,i=this,a=i.settings;t=a.firstControlClass,n=a.lastControlClass,e.each(function(e){e.classes.remove(t).remove(n).add(a.controlClass),e.visible()&&(r||(r=e),o=e)}),r&&r.classes.add(t),o&&o.classes.add(n)},renderHtml:function(e){var t=this,n="";return t.applyClasses(e.items()),e.items().each(function(e){n+=e.renderHtml()}),n},recalc:function(){},postRender:function(){},isNative:function(){return!1}})}),i("tinymce/ui/AbsoluteLayout",["tinymce/ui/Layout"],function(e){return e.extend({Defaults:{containerClass:"abs-layout",controlClass:"abs-layout-item"},recalc:function(e){e.items().filter(":visible").each(function(e){var t=e.settings;e.layoutRect({x:t.x,y:t.y,w:t.w,h:t.h}),e.recalc&&e.recalc()})},renderHtml:function(e){return'<div id="'+e._id+'-absend" class="'+e.classPrefix+'abs-end"></div>'+this._super(e)}})}),i("tinymce/ui/Button",["tinymce/ui/Widget"],function(e){return e.extend({Defaults:{classes:"widget btn",role:"button"},init:function(e){var t,n=this;n._super(e),e=n.settings,t=n.settings.size,n.on("click mousedown",function(e){e.preventDefault()}),n.on("touchstart",function(e){n.fire("click",e),e.preventDefault()}),e.subtype&&n.classes.add(e.subtype),t&&n.classes.add("btn-"+t),e.icon&&n.icon(e.icon)},icon:function(e){return arguments.length?(this.state.set("icon",e),this):this.state.get("icon")},repaint:function(){var e,t=this.getEl().firstChild;t&&(e=t.style,e.width=e.height="100%"),this._super()},renderHtml:function(){var e,t=this,n=t._id,r=t.classPrefix,o=t.state.get("icon"),i=t.state.get("text"),a="";return e=t.settings.image,e?(o="none","string"!=typeof e&&(e=window.getSelection?e[0]:e[1]),e=" style=\"background-image: url('"+e+"')\""):e="",i&&(t.classes.add("btn-has-text"),a='<span class="'+r+'txt">'+t.encode(i)+"</span>"),o=o?r+"ico "+r+"i-"+o:"",'<div id="'+n+'" class="'+t.classes+'" tabindex="-1" aria-labelledby="'+n+'"><button role="presentation" type="button" tabindex="-1">'+(o?'<i class="'+o+'"'+e+"></i>":"")+a+"</button></div>"},bindStates:function(){function e(e){var o=n("span."+r,t.getEl());e?(o[0]||(n("button:first",t.getEl()).append('<span class="'+r+'"></span>'),o=n("span."+r,t.getEl())),o.html(t.encode(e))):o.remove(),t.classes.toggle("btn-has-text",!!e)}var t=this,n=t.$,r=t.classPrefix+"txt";return t.state.on("change:text",function(t){e(t.value)}),t.state.on("change:icon",function(n){var r=n.value,o=t.classPrefix;t.settings.icon=r,r=r?o+"ico "+o+"i-"+t.settings.icon:"";var i=t.getEl().firstChild,a=i.getElementsByTagName("i")[0];r?(a&&a==i.firstChild||(a=document.createElement("i"),i.insertBefore(a,i.firstChild)),a.className=r):a&&i.removeChild(a),e(t.state.get("text"))}),t._super()}})}),i("tinymce/ui/ButtonGroup",["tinymce/ui/Container"],function(e){return e.extend({Defaults:{defaultType:"button",role:"group"},renderHtml:function(){var e=this,t=e._layout;return e.classes.add("btn-group"),e.preRender(),t.preRender(e),'<div id="'+e._id+'" class="'+e.classes+'"><div id="'+e._id+'-body">'+(e.settings.html||"")+t.renderHtml(e)+"</div></div>"}})}),i("tinymce/ui/Checkbox",["tinymce/ui/Widget"],function(e){return e.extend({Defaults:{classes:"checkbox",role:"checkbox",checked:!1},init:function(e){var t=this;t._super(e),t.on("click mousedown",function(e){e.preventDefault()}),t.on("click",function(e){e.preventDefault(),t.disabled()||t.checked(!t.checked())}),t.checked(t.settings.checked)},checked:function(e){return arguments.length?(this.state.set("checked",e),this):this.state.get("checked")},value:function(e){return arguments.length?this.checked(e):this.checked()},renderHtml:function(){var e=this,t=e._id,n=e.classPrefix;return'<div id="'+t+'" class="'+e.classes+'" unselectable="on" aria-labelledby="'+t+'-al" tabindex="-1"><i class="'+n+"ico "+n+'i-checkbox"></i><span id="'+t+'-al" class="'+n+'label">'+e.encode(e.state.get("text"))+"</span></div>"},bindStates:function(){function e(e){t.classes.toggle("checked",e),t.aria("checked",e)}var t=this;return t.state.on("change:text",function(e){t.getEl("al").firstChild.data=t.translate(e.value)}),t.state.on("change:checked change:value",function(n){t.fire("change"),e(n.value)}),t.state.on("change:icon",function(e){var n=e.value,r=t.classPrefix;if("undefined"==typeof n)return t.settings.icon;t.settings.icon=n,n=n?r+"ico "+r+"i-"+t.settings.icon:"";var o=t.getEl().firstChild,i=o.getElementsByTagName("i")[0];n?(i&&i==o.firstChild||(i=document.createElement("i"),o.insertBefore(i,o.firstChild)),i.className=n):i&&o.removeChild(i)}),t.state.get("checked")&&e(!0),t._super()}})}),i("tinymce/ui/ComboBox",["tinymce/ui/Widget","tinymce/ui/Factory","tinymce/ui/DomUtils","tinymce/dom/DomQuery","tinymce/util/VK","tinymce/util/Tools"],function(e,t,n,r,o,i){return e.extend({init:function(e){var t=this;t._super(e),e=t.settings,t.classes.add("combobox"),t.subinput=!0,t.ariaTarget="inp",e.menu=e.menu||e.values,e.menu&&(e.icon="caret"),t.on("click",function(n){var o=n.target,i=t.getEl();if(r.contains(i,o)||o==i)for(;o&&o!=i;)o.id&&o.id.indexOf("-open")!=-1&&(t.fire("action"),e.menu&&(t.showMenu(),n.aria&&t.menu.items()[0].focus())),o=o.parentNode}),t.on("keydown",function(e){var n;13==e.keyCode&&"INPUT"===e.target.nodeName&&(e.preventDefault(),t.parents().reverse().each(function(e){if(e.toJSON)return n=e,!1}),t.fire("submit",{data:n.toJSON()}))}),t.on("keyup",function(e){if("INPUT"==e.target.nodeName){var n=t.state.get("value"),r=e.target.value;r!==n&&(t.state.set("value",r),t.fire("autocomplete",e))}}),t.on("mouseover",function(e){var n=t.tooltip().moveTo(-65535);if(t.statusLevel()&&e.target.className.indexOf(t.classPrefix+"status")!==-1){var r=t.statusMessage()||"Ok",o=n.text(r).show().testMoveRel(e.target,["bc-tc","bc-tl","bc-tr"]);n.classes.toggle("tooltip-n","bc-tc"==o),n.classes.toggle("tooltip-nw","bc-tl"==o),n.classes.toggle("tooltip-ne","bc-tr"==o),n.moveRel(e.target,o)}})},statusLevel:function(e){return arguments.length>0&&this.state.set("statusLevel",e),this.state.get("statusLevel")},statusMessage:function(e){return arguments.length>0&&this.state.set("statusMessage",e),this.state.get("statusMessage")},showMenu:function(){var e,n=this,r=n.settings;n.menu||(e=r.menu||[],e.length?e={type:"menu",items:e}:e.type=e.type||"menu",n.menu=t.create(e).parent(n).renderTo(n.getContainerElm()),n.fire("createmenu"),n.menu.reflow(),n.menu.on("cancel",function(e){e.control===n.menu&&n.focus()}),n.menu.on("show hide",function(e){e.control.items().each(function(e){e.active(e.value()==n.value())})}).fire("show"),n.menu.on("select",function(e){n.value(e.control.value())}),n.on("focusin",function(e){"INPUT"==e.target.tagName.toUpperCase()&&n.menu.hide()}),n.aria("expanded",!0)),n.menu.show(),n.menu.layoutRect({w:n.layoutRect().w}),n.menu.moveRel(n.getEl(),n.isRtl()?["br-tr","tr-br"]:["bl-tl","tl-bl"])},focus:function(){this.getEl("inp").focus()},repaint:function(){var e,t,o=this,i=o.getEl(),a=o.getEl("open"),s=o.layoutRect(),u=0,l=i.firstChild;o.statusLevel()&&"none"!==o.statusLevel()&&(u=parseInt(n.getRuntimeStyle(l,"padding-right"),10)-parseInt(n.getRuntimeStyle(l,"padding-left"),10)),e=a?s.w-n.getSize(a).width-10:s.w-10;var c=document;return c.all&&(!c.documentMode||c.documentMode<=8)&&(t=o.layoutRect().h-2+"px"),r(l).css({width:e-u,lineHeight:t}),o._super(),o},postRender:function(){var e=this;return r(this.getEl("inp")).on("change",function(t){e.state.set("value",t.target.value),e.fire("change",t)}),e._super()},renderHtml:function(){var e,t,n=this,r=n._id,o=n.settings,i=n.classPrefix,a=n.state.get("value")||"",s="",u="",l="";return"spellcheck"in o&&(u+=' spellcheck="'+o.spellcheck+'"'),o.maxLength&&(u+=' maxlength="'+o.maxLength+'"'),o.size&&(u+=' size="'+o.size+'"'),o.subtype&&(u+=' type="'+o.subtype+'"'),l='<i id="'+r+'-status" class="mce-status mce-ico" style="display: none"></i>',n.disabled()&&(u+=' disabled="disabled"'),e=o.icon,e&&"caret"!=e&&(e=i+"ico "+i+"i-"+o.icon),t=n.state.get("text"),(e||t)&&(s='<div id="'+r+'-open" class="'+i+"btn "+i+'open" tabIndex="-1" role="button"><button id="'+r+'-action" type="button" hidefocus="1" tabindex="-1">'+("caret"!=e?'<i class="'+e+'"></i>':'<i class="'+i+'caret"></i>')+(t?(e?" ":"")+t:"")+"</button></div>",n.classes.add("has-open")),'<div id="'+r+'" class="'+n.classes+'"><input id="'+r+'-inp" class="'+i+'textbox" value="'+n.encode(a,!1)+'" hidefocus="1"'+u+' placeholder="'+n.encode(o.placeholder)+'" />'+l+s+"</div>"},value:function(e){return arguments.length?(this.state.set("value",e),this):(this.state.get("rendered")&&this.state.set("value",this.getEl("inp").value),this.state.get("value"))},showAutoComplete:function(e,n){var r=this;if(0===e.length)return void r.hideMenu();var o=function(e,t){return function(){r.fire("selectitem",{title:t,value:e})}};r.menu?r.menu.items().remove():r.menu=t.create({type:"menu",classes:"combobox-menu",layout:"flow"}).parent(r).renderTo(),i.each(e,function(e){r.menu.add({text:e.title,url:e.previewUrl,match:n,classes:"menu-item-ellipsis",onclick:o(e.value,e.title)})}),r.menu.renderNew(),r.hideMenu(),r.menu.on("cancel",function(e){e.control.parent()===r.menu&&(e.stopPropagation(),r.focus(),r.hideMenu())}),r.menu.on("select",function(){r.focus()});var a=r.layoutRect().w;r.menu.layoutRect({w:a,minW:0,maxW:a}),r.menu.reflow(),r.menu.show(),r.menu.moveRel(r.getEl(),r.isRtl()?["br-tr","tr-br"]:["bl-tl","tl-bl"])},hideMenu:function(){this.menu&&this.menu.hide()},bindStates:function(){var e=this;e.state.on("change:value",function(t){e.getEl("inp").value!=t.value&&(e.getEl("inp").value=t.value)}),e.state.on("change:disabled",function(t){e.getEl("inp").disabled=t.value}),e.state.on("change:statusLevel",function(t){var r=e.getEl("status"),o=e.classPrefix,i=t.value;n.css(r,"display","none"===i?"none":""),n.toggleClass(r,o+"i-checkmark","ok"===i),n.toggleClass(r,o+"i-warning","warn"===i),n.toggleClass(r,o+"i-error","error"===i),e.classes.toggle("has-status","none"!==i),e.repaint()}),n.on(e.getEl("status"),"mouseleave",function(){e.tooltip().hide()}),e.on("cancel",function(t){e.menu&&e.menu.visible()&&(t.stopPropagation(),e.hideMenu())});var t=function(e,t){t&&t.items().length>0&&t.items().eq(e)[0].focus()};return e.on("keydown",function(n){var r=n.keyCode;"INPUT"===n.target.nodeName&&(r===o.DOWN?(n.preventDefault(),e.fire("autocomplete"),t(0,e.menu)):r===o.UP&&(n.preventDefault(),t(-1,e.menu)))}),e._super()},remove:function(){r(this.getEl("inp")).off(),this.menu&&this.menu.remove(),this._super()}})}),i("tinymce/ui/ColorBox",["tinymce/ui/ComboBox"],function(e){return e.extend({init:function(e){var t=this;e.spellcheck=!1,e.onaction&&(e.icon="none"),t._super(e),t.classes.add("colorbox"),t.on("change keyup postrender",function(){t.repaintColor(t.value())})},repaintColor:function(e){var t=this.getEl("open"),n=t?t.getElementsByTagName("i")[0]:null;if(n)try{n.style.background=e}catch(e){}},bindStates:function(){var e=this;return e.state.on("change:value",function(t){e.state.get("rendered")&&e.repaintColor(t.value)}),e._super()}})}),i("tinymce/ui/PanelButton",["tinymce/ui/Button","tinymce/ui/FloatPanel"],function(e,t){return e.extend({showPanel:function(){var e=this,n=e.settings;if(e.active(!0),e.panel)e.panel.show();else{var r=n.panel;r.type&&(r={layout:"grid",items:r}),r.role=r.role||"dialog",r.popover=!0,r.autohide=!0,r.ariaRoot=!0,e.panel=new t(r).on("hide",function(){e.active(!1)}).on("cancel",function(t){t.stopPropagation(),e.focus(),e.hidePanel()}).parent(e).renderTo(e.getContainerElm()),e.panel.fire("show"),e.panel.reflow()}e.panel.moveRel(e.getEl(),n.popoverAlign||(e.isRtl()?["bc-tr","bc-tc"]:["bc-tl","bc-tc"]))},hidePanel:function(){var e=this;e.panel&&e.panel.hide()},postRender:function(){var e=this;return e.aria("haspopup",!0),e.on("click",function(t){t.control===e&&(e.panel&&e.panel.visible()?e.hidePanel():(e.showPanel(),e.panel.focus(!!t.aria)))}),e._super()},remove:function(){return this.panel&&(this.panel.remove(),this.panel=null),this._super()}})}),i("tinymce/ui/ColorButton",["tinymce/ui/PanelButton","tinymce/dom/DOMUtils"],function(e,t){var n=t.DOM;return e.extend({init:function(e){this._super(e),this.classes.add("colorbutton")},color:function(e){return e?(this._color=e,this.getEl("preview").style.backgroundColor=e,this):this._color},resetColor:function(){return this._color=null,this.getEl("preview").style.backgroundColor=null,this},renderHtml:function(){var e=this,t=e._id,n=e.classPrefix,r=e.state.get("text"),o=e.settings.icon?n+"ico "+n+"i-"+e.settings.icon:"",i=e.settings.image?" style=\"background-image: url('"+e.settings.image+"')\"":"",a="";return r&&(e.classes.add("btn-has-text"),a='<span class="'+n+'txt">'+e.encode(r)+"</span>"),'<div id="'+t+'" class="'+e.classes+'" role="button" tabindex="-1" aria-haspopup="true"><button role="presentation" hidefocus="1" type="button" tabindex="-1">'+(o?'<i class="'+o+'"'+i+"></i>":"")+'<span id="'+t+'-preview" class="'+n+'preview"></span>'+a+'</button><button type="button" class="'+n+'open" hidefocus="1" tabindex="-1"> <i class="'+n+'caret"></i></button></div>'},postRender:function(){var e=this,t=e.settings.onclick;return e.on("click",function(r){r.aria&&"down"==r.aria.key||r.control!=e||n.getParent(r.target,"."+e.classPrefix+"open")||(r.stopImmediatePropagation(),t.call(e,r))}),delete e.settings.onclick,e._super()}})}),i("tinymce/util/Color",[],function(){function e(e){function o(e,o,i){var a,s,u,l,c,d;return a=0,s=0,u=0,e/=255,o/=255,i/=255,c=t(e,t(o,i)),d=n(e,n(o,i)),c==d?(u=c,{h:0,s:0,v:100*u}):(l=e==c?o-i:i==c?e-o:i-e,a=e==c?3:i==c?1:5,a=60*(a-l/(d-c)),s=(d-c)/d,u=d,{h:r(a),s:r(100*s),v:r(100*u)})}function i(e,o,i){var a,s,u,l;if(e=(parseInt(e,10)||0)%360,o=parseInt(o,10)/100,i=parseInt(i,10)/100,o=n(0,t(o,1)),i=n(0,t(i,1)),0===o)return void(d=f=p=r(255*i));switch(a=e/60,s=i*o,u=s*(1-Math.abs(a%2-1)),l=i-s,Math.floor(a)){case 0:d=s,f=u,p=0;break;case 1:d=u,f=s,p=0;break;case 2:d=0,f=s,p=u;break;case 3:d=0,f=u,p=s;break;case 4:d=u,f=0,p=s;break;case 5:d=s,f=0,p=u;break;default:d=f=p=0}d=r(255*(d+l)),f=r(255*(f+l)),p=r(255*(p+l))}function a(){function e(e){return e=parseInt(e,10).toString(16),e.length>1?e:"0"+e}return"#"+e(d)+e(f)+e(p)}function s(){return{r:d,g:f,b:p}}function u(){return o(d,f,p)}function l(e){var t;return"object"==typeof e?"r"in e?(d=e.r,f=e.g,p=e.b):"v"in e&&i(e.h,e.s,e.v):(t=/rgb\s*\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)[^\)]*\)/gi.exec(e))?(d=parseInt(t[1],10),f=parseInt(t[2],10),p=parseInt(t[3],10)):(t=/#([0-F]{2})([0-F]{2})([0-F]{2})/gi.exec(e))?(d=parseInt(t[1],16),f=parseInt(t[2],16),p=parseInt(t[3],16)):(t=/#([0-F])([0-F])([0-F])/gi.exec(e))&&(d=parseInt(t[1]+t[1],16),f=parseInt(t[2]+t[2],16),p=parseInt(t[3]+t[3],16)),d=d<0?0:d>255?255:d,f=f<0?0:f>255?255:f,p=p<0?0:p>255?255:p,c}var c=this,d=0,f=0,p=0;e&&l(e),c.toRgb=s,c.toHsv=u,c.toHex=a,c.parse=l}var t=Math.min,n=Math.max,r=Math.round;return e}),i("tinymce/ui/ColorPicker",["tinymce/ui/Widget","tinymce/ui/DragHelper","tinymce/ui/DomUtils","tinymce/util/Color"],function(e,t,n,r){return e.extend({Defaults:{classes:"widget colorpicker"},init:function(e){this._super(e)},postRender:function(){function e(e,t){var r,o,i=n.getPos(e);return r=t.pageX-i.x,o=t.pageY-i.y,r=Math.max(0,Math.min(r/e.clientWidth,1)),o=Math.max(0,Math.min(o/e.clientHeight,1)),{x:r,y:o}}function o(e,t){var o=(360-e.h)/360;n.css(l,{top:100*o+"%"}),t||n.css(d,{left:e.s+"%",top:100-e.v+"%"}),c.style.background=new r({s:100,v:100,h:e.h}).toHex(),f.color().parse({s:e.s,v:e.v,h:e.h})}function i(t){var n;n=e(c,t),s.s=100*n.x,s.v=100*(1-n.y),o(s),f.fire("change")}function a(t){var n;n=e(u,t),s=p.toHsv(),s.h=360*(1-n.y),o(s,!0),f.fire("change")}var s,u,l,c,d,f=this,p=f.color();u=f.getEl("h"),l=f.getEl("hp"),c=f.getEl("sv"),d=f.getEl("svp"),f._repaint=function(){s=p.toHsv(),o(s)},f._super(),f._svdraghelper=new t(f._id+"-sv",{start:i,drag:i}),f._hdraghelper=new t(f._id+"-h",{start:a,drag:a}),f._repaint()},rgb:function(){return this.color().toRgb()},value:function(e){var t=this;return arguments.length?(t.color().parse(e),void(t._rendered&&t._repaint())):t.color().toHex()},color:function(){return this._color||(this._color=new r),this._color},renderHtml:function(){function e(){var e,t,n,r,a="";for(n="filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=",r=i.split(","),e=0,t=r.length-1;e<t;e++)a+='<div class="'+o+'colorpicker-h-chunk" style="height:'+100/t+"%;"+n+r[e]+",endColorstr="+r[e+1]+");-ms-"+n+r[e]+",endColorstr="+r[e+1]+')"></div>';return a}var t,n=this,r=n._id,o=n.classPrefix,i="#ff0000,#ff0080,#ff00ff,#8000ff,#0000ff,#0080ff,#00ffff,#00ff80,#00ff00,#80ff00,#ffff00,#ff8000,#ff0000",a="background: -ms-linear-gradient(top,"+i+");background: linear-gradient(to bottom,"+i+");";return t='<div id="'+r+'-h" class="'+o+'colorpicker-h" style="'+a+'">'+e()+'<div id="'+r+'-hp" class="'+o+'colorpicker-h-marker"></div></div>','<div id="'+r+'" class="'+n.classes+'"><div id="'+r+'-sv" class="'+o+'colorpicker-sv"><div class="'+o+'colorpicker-overlay1"><div class="'+o+'colorpicker-overlay2"><div id="'+r+'-svp" class="'+o+'colorpicker-selector1"><div class="'+o+'colorpicker-selector2"></div></div></div></div></div>'+t+"</div>"}})}),i("tinymce/ui/Path",["tinymce/ui/Widget"],function(e){return e.extend({init:function(e){var t=this;e.delimiter||(e.delimiter="»"),t._super(e),t.classes.add("path"),t.canFocus=!0,t.on("click",function(e){var n,r=e.target;(n=r.getAttribute("data-index"))&&t.fire("select",{value:t.row()[n],index:n})}),t.row(t.settings.row)},focus:function(){var e=this;return e.getEl().firstChild.focus(),e},row:function(e){return arguments.length?(this.state.set("row",e),this):this.state.get("row")},renderHtml:function(){var e=this;return'<div id="'+e._id+'" class="'+e.classes+'">'+e._getDataPathHtml(e.state.get("row"))+"</div>"},bindStates:function(){var e=this;return e.state.on("change:row",function(t){e.innerHtml(e._getDataPathHtml(t.value))}),e._super()},_getDataPathHtml:function(e){var t,n,r=this,o=e||[],i="",a=r.classPrefix;for(t=0,n=o.length;t<n;t++)i+=(t>0?'<div class="'+a+'divider" aria-hidden="true"> '+r.settings.delimiter+" </div>":"")+'<div role="button" class="'+a+"path-item"+(t==n-1?" "+a+"last":"")+'" data-index="'+t+'" tabindex="-1" id="'+r._id+"-"+t+'" aria-level="'+(t+1)+'">'+o[t].name+"</div>";return i||(i='<div class="'+a+'path-item"> </div>'),i}})}),i("tinymce/ui/ElementPath",["tinymce/ui/Path"],function(e){return e.extend({postRender:function(){function e(e){if(1===e.nodeType){if("BR"==e.nodeName||e.getAttribute("data-mce-bogus"))return!0;if("bookmark"===e.getAttribute("data-mce-type"))return!0}return!1}var t=this,n=t.settings.editor;return n.settings.elementpath!==!1&&(t.on("select",function(e){n.focus(),n.selection.select(this.row()[e.index].element),n.nodeChanged()}),n.on("nodeChange",function(r){for(var o=[],i=r.parents,a=i.length;a--;)if(1==i[a].nodeType&&!e(i[a])){var s=n.fire("ResolveName",{name:i[a].nodeName.toLowerCase(),target:i[a]});if(s.isDefaultPrevented()||o.push({name:s.name,element:i[a]}),s.isPropagationStopped())break}t.row(o)})),t._super()}})}),i("tinymce/ui/FormItem",["tinymce/ui/Container"],function(e){return e.extend({Defaults:{layout:"flex",align:"center",defaults:{flex:1}},renderHtml:function(){var e=this,t=e._layout,n=e.classPrefix;return e.classes.add("formitem"),t.preRender(e),'<div id="'+e._id+'" class="'+e.classes+'" hidefocus="1" tabindex="-1">'+(e.settings.title?'<div id="'+e._id+'-title" class="'+n+'title">'+e.settings.title+"</div>":"")+'<div id="'+e._id+'-body" class="'+e.bodyClasses+'">'+(e.settings.html||"")+t.renderHtml(e)+"</div></div>"}})}),i("tinymce/ui/Form",["tinymce/ui/Container","tinymce/ui/FormItem","tinymce/util/Tools"],function(e,t,n){return e.extend({Defaults:{containerCls:"form",layout:"flex",direction:"column",align:"stretch",flex:1,padding:20,labelGap:30,spacing:10,callbacks:{submit:function(){this.submit()}}},preRender:function(){var e=this,r=e.items();e.settings.formItemDefaults||(e.settings.formItemDefaults={layout:"flex",autoResize:"overflow",defaults:{flex:1}}),r.each(function(r){var o,i=r.settings.label;i&&(o=new t(n.extend({items:{type:"label",id:r._id+"-l",text:i,flex:0,forId:r._id,disabled:r.disabled()}},e.settings.formItemDefaults)),o.type="formitem",r.aria("labelledby",r._id+"-l"),"undefined"==typeof r.settings.flex&&(r.settings.flex=1),e.replace(r,o),o.add(r))})},submit:function(){return this.fire("submit",{data:this.toJSON()})},postRender:function(){var e=this;e._super(),e.fromJSON(e.settings.data)},bindStates:function(){function e(){var e,n,r,o=0,i=[];if(t.settings.labelGapCalc!==!1)for(r="children"==t.settings.labelGapCalc?t.find("formitem"):t.items(),r.filter("formitem").each(function(e){var t=e.items()[0],n=t.getEl().clientWidth;o=n>o?n:o,i.push(t)}),n=t.settings.labelGap||0,e=i.length;e--;)i[e].settings.minWidth=o+n}var t=this;t._super(),t.on("show",e),e()}})}),i("tinymce/ui/FieldSet",["tinymce/ui/Form"],function(e){return e.extend({Defaults:{containerCls:"fieldset",layout:"flex",
-direction:"column",align:"stretch",flex:1,padding:"25 15 5 15",labelGap:30,spacing:10,border:1},renderHtml:function(){var e=this,t=e._layout,n=e.classPrefix;return e.preRender(),t.preRender(e),'<fieldset id="'+e._id+'" class="'+e.classes+'" hidefocus="1" tabindex="-1">'+(e.settings.title?'<legend id="'+e._id+'-title" class="'+n+'fieldset-title">'+e.settings.title+"</legend>":"")+'<div id="'+e._id+'-body" class="'+e.bodyClasses+'">'+(e.settings.html||"")+t.renderHtml(e)+"</div></fieldset>"}})}),i("tinymce/content/LinkTargets",["tinymce/dom/DOMUtils","tinymce/util/Fun","tinymce/util/Arr","tinymce/util/Uuid","tinymce/util/Tools","tinymce/dom/NodeType"],function(e,t,n,r,o,i){var a=o.trim,s=function(e,t,n,r,o){return{type:e,title:t,url:n,level:r,attach:o}},u=function(e){for(;e=e.parentNode;){var t=e.contentEditable;if(t&&"inherit"!==t)return i.isContentEditableTrue(e)}return!1},l=function(t,n){return e.DOM.select(t,n)},c=function(e){return e.innerText||e.textContent},d=function(e){return e.id?e.id:r.uuid("h")},f=function(e){return e&&"A"===e.nodeName&&(e.id||e.name)},p=function(e){return f(e)&&m(e)},h=function(e){return e&&/^(H[1-6])$/.test(e.nodeName)},m=function(e){return u(e)&&!i.isContentEditableFalse(e)},v=function(e){return h(e)&&m(e)},g=function(e){return h(e)?parseInt(e.nodeName.substr(1),10):0},y=function(e){var t=d(e),n=function(){e.id=t};return s("header",c(e),"#"+t,g(e),n)},b=function(e){var n=e.id||e.name,r=c(e);return s("anchor",r?r:"#"+n,"#"+n,0,t.noop)},_=function(e){return n.map(n.filter(e,v),y)},w=function(e){return n.map(n.filter(e,p),b)},C=function(e){var t=l("h1,h2,h3,h4,h5,h6,a:not([href])",e);return t},x=function(e){return a(e.title).length>0},E=function(e){var t=C(e);return n.filter(_(t).concat(w(t)),x)};return{find:E}}),i("tinymce/ui/FilePicker",["tinymce/ui/ComboBox","tinymce/util/Tools","tinymce/util/Arr","tinymce/util/Fun","tinymce/util/VK","tinymce/content/LinkTargets"],function(e,t,n,r,o,i){var a={},s=5,u=function(e){return{title:e.title,value:{title:{raw:e.title},url:e.url,attach:e.attach}}},l=function(e){return t.map(e,u)},c=function(e,t){return{title:e,value:{title:e,url:t,attach:r.noop}}},d=function(e,t){var r=n.find(t,function(t){return t.url===e});return!r},f=function(e,t,n){var r=t in e?e[t]:n;return r===!1?null:r},p=function(e,o,i,s){var u={title:"-"},p=function(e){var a=n.filter(e[i],function(e){return d(e,o)});return t.map(a,function(e){return{title:e,value:{title:e,url:e,attach:r.noop}}})},h=function(e){var t=n.filter(o,function(t){return t.type==e});return l(t)},v=function(){var e=h("anchor"),t=f(s,"anchor_top","#top"),n=f(s,"anchor_bottom","#bottom");return null!==t&&e.unshift(c("<top>",t)),null!==n&&e.push(c("<bottom>",n)),e},g=function(e){return n.reduce(e,function(e,t){var n=0===e.length||0===t.length;return n?e.concat(t):e.concat(u,t)},[])};return s.typeahead_urls===!1?[]:"file"===i?g([m(e,p(a)),m(e,h("header")),m(e,v())]):m(e,p(a))},h=function(e,t){var r=a[t];/^https?/.test(e)&&(r?n.indexOf(r,e)===-1&&(a[t]=r.slice(0,s).concat(e)):a[t]=[e])},m=function(e,n){var r=e.toLowerCase(),o=t.grep(n,function(e){return e.title.toLowerCase().indexOf(r)!==-1});return 1===o.length&&o[0].title===e?[]:o},v=function(e){var t=e.title;return t.raw?t.raw:t},g=function(e,t,n,r){var o=function(o){var a=i.find(n),s=p(o,a,r,t);e.showAutoComplete(s,o)};e.on("autocomplete",function(){o(e.value())}),e.on("selectitem",function(t){var n=t.value;e.value(n.url);var o=v(n);"image"===r?e.fire("change",{meta:{alt:o,attach:n.attach}}):e.fire("change",{meta:{text:o,attach:n.attach}}),e.focus()}),e.on("click",function(t){0===e.value().length&&"INPUT"===t.target.nodeName&&o("")}),e.on("PostRender",function(){e.getRoot().on("submit",function(t){t.isDefaultPrevented()||h(e.value(),r)})})},y=function(e){var t=e.status,n=e.message;return"valid"===t?{status:"ok",message:n}:"unknown"===t?{status:"warn",message:n}:"invalid"===t?{status:"warn",message:n}:{status:"none",message:""}},b=function(e,t,n){var r=t.filepicker_validator_handler;if(r){var o=function(t){return 0===t.length?void e.statusLevel("none"):void r({url:t,type:n},function(t){var n=y(t);e.statusMessage(n.message),e.statusLevel(n.status)})};e.state.on("change:value",function(e){o(e.value)})}};return e.extend({init:function(e){var n,r,o,i=this,a=tinymce.activeEditor,s=a.settings,u=e.filetype;e.spellcheck=!1,o=s.file_picker_types||s.file_browser_callback_types,o&&(o=t.makeMap(o,/[, ]/)),o&&!o[u]||(r=s.file_picker_callback,!r||o&&!o[u]?(r=s.file_browser_callback,!r||o&&!o[u]||(n=function(){r(i.getEl("inp").id,i.value(),u,window)})):n=function(){var e=i.fire("beforecall").meta;e=t.extend({filetype:u},e),r.call(a,function(e,t){i.value(e).fire("change",{meta:t})},i.value(),e)}),n&&(e.icon="browse",e.onaction=n),i._super(e),g(i,s,a.getBody(),u),b(i,s,u)}})}),i("tinymce/ui/FitLayout",["tinymce/ui/AbsoluteLayout"],function(e){return e.extend({recalc:function(e){var t=e.layoutRect(),n=e.paddingBox;e.items().filter(":visible").each(function(e){e.layoutRect({x:n.left,y:n.top,w:t.innerW-n.right-n.left,h:t.innerH-n.top-n.bottom}),e.recalc&&e.recalc()})}})}),i("tinymce/ui/FlexLayout",["tinymce/ui/AbsoluteLayout"],function(e){return e.extend({recalc:function(e){var t,n,r,o,i,a,s,u,l,c,d,f,p,h,m,v,g,y,b,_,w,C,x,E,T,k,S,M,O,A,N,I,P,D,R,j,L,B,F=[],U=Math.max,H=Math.min;for(r=e.items().filter(":visible"),o=e.layoutRect(),i=e.paddingBox,a=e.settings,f=e.isRtl()?a.direction||"row-reversed":a.direction,s=a.align,u=e.isRtl()?a.pack||"end":a.pack,l=a.spacing||0,"row-reversed"!=f&&"column-reverse"!=f||(r=r.set(r.toArray().reverse()),f=f.split("-")[0]),"column"==f?(T="y",x="h",E="minH",k="maxH",M="innerH",S="top",O="deltaH",A="contentH",R="left",P="w",N="x",I="innerW",D="minW",j="right",L="deltaW",B="contentW"):(T="x",x="w",E="minW",k="maxW",M="innerW",S="left",O="deltaW",A="contentW",R="top",P="h",N="y",I="innerH",D="minH",j="bottom",L="deltaH",B="contentH"),d=o[M]-i[S]-i[S],C=c=0,t=0,n=r.length;t<n;t++)p=r[t],h=p.layoutRect(),m=p.settings,v=m.flex,d-=t<n-1?l:0,v>0&&(c+=v,h[k]&&F.push(p),h.flex=v),d-=h[E],g=i[R]+h[D]+i[j],g>C&&(C=g);if(_={},d<0?_[E]=o[E]-d+o[O]:_[E]=o[M]-d+o[O],_[D]=C+o[L],_[A]=o[M]-d,_[B]=C,_.minW=H(_.minW,o.maxW),_.minH=H(_.minH,o.maxH),_.minW=U(_.minW,o.startMinWidth),_.minH=U(_.minH,o.startMinHeight),!o.autoResize||_.minW==o.minW&&_.minH==o.minH){for(b=d/c,t=0,n=F.length;t<n;t++)p=F[t],h=p.layoutRect(),y=h[k],g=h[E]+h.flex*b,g>y?(d-=h[k]-h[E],c-=h.flex,h.flex=0,h.maxFlexSize=y):h.maxFlexSize=0;for(b=d/c,w=i[S],_={},0===c&&("end"==u?w=d+i[S]:"center"==u?(w=Math.round(o[M]/2-(o[M]-d)/2)+i[S],w<0&&(w=i[S])):"justify"==u&&(w=i[S],l=Math.floor(d/(r.length-1)))),_[N]=i[R],t=0,n=r.length;t<n;t++)p=r[t],h=p.layoutRect(),g=h.maxFlexSize||h[E],"center"===s?_[N]=Math.round(o[I]/2-h[P]/2):"stretch"===s?(_[P]=U(h[D]||0,o[I]-i[R]-i[j]),_[N]=i[R]):"end"===s&&(_[N]=o[I]-h[P]-i.top),h.flex>0&&(g+=h.flex*b),_[x]=g,_[T]=w,p.layoutRect(_),p.recalc&&p.recalc(),w+=g+l}else if(_.w=_.minW,_.h=_.minH,e.layoutRect(_),this.recalc(e),null===e._lastRect){var z=e.parent();z&&(z._lastRect=null,z.recalc())}}})}),i("tinymce/ui/FlowLayout",["tinymce/ui/Layout"],function(e){return e.extend({Defaults:{containerClass:"flow-layout",controlClass:"flow-layout-item",endClass:"break"},recalc:function(e){e.items().filter(":visible").each(function(e){e.recalc&&e.recalc()})},isNative:function(){return!0}})}),i("tinymce/fmt/FontInfo",["tinymce/dom/DOMUtils"],function(e){var t=function(e,t,n){for(;n!==t;){if(n.style[e])return n.style[e];n=n.parentNode}return""},n=function(e){return/[0-9.]+px$/.test(e)?Math.round(72*parseInt(e,10)/96)+"pt":e},o=function(e){return e.replace(/[\'\"]/g,"").replace(/,\s+/g,",")},i=function(t,n){return e.DOM.getStyle(n,t,!0)},a=function(e,n){var r=t("fontSize",e,n);return""!==r?r:i("fontSize",n)},s=function(e,n){var a=t("fontFamily",e,n),s=""!==a?a:i("fontFamily",n);return s!==r?o(s):""};return{getFontSize:a,getFontFamily:s,toPt:n}}),i("tinymce/ui/FormatControls",["tinymce/ui/Control","tinymce/ui/Widget","tinymce/ui/FloatPanel","tinymce/util/Tools","tinymce/util/Arr","tinymce/dom/DOMUtils","tinymce/EditorManager","tinymce/Env","tinymce/fmt/FontInfo"],function(e,t,n,r,o,i,a,s,u){function l(e){e.settings.ui_container&&(s.container=i.DOM.select(e.settings.ui_container)[0])}function c(t){t.on("ScriptsLoaded",function(){t.rtl&&(e.rtl=!0)})}function d(e){function t(t,n){return function(){var r=this;e.on("nodeChange",function(o){var i=e.formatter,a=null;f(o.parents,function(e){if(f(t,function(t){if(n?i.matchNode(e,n,{value:t.value})&&(a=t.value):i.matchNode(e,t.value)&&(a=t.value),a)return!1}),a)return!1}),r.value(a)})}}function o(t){return function(){var n=this,r=function(e){return e?e.split(",")[0]:""};e.on("nodeChange",function(o){var i,a=null;i=u.getFontFamily(e.getBody(),o.element),f(t,function(e){e.value.toLowerCase()===i.toLowerCase()&&(a=e.value)}),f(t,function(e){a||r(e.value).toLowerCase()!==r(i).toLowerCase()||(a=e.value)}),n.value(a),!a&&i&&n.text(r(i))})}}function i(t){return function(){var n=this;e.on("nodeChange",function(r){var o,i,a=null;o=u.getFontSize(e.getBody(),r.element),i=u.toPt(o),f(t,function(e){e.value===o?a=o:e.value===i&&(a=i)}),n.value(a),a||n.text(i)})}}function a(e){e=e.replace(/;$/,"").split(";");for(var t=e.length;t--;)e[t]=e[t].split("=");return e}function s(){function t(e){var n=[];if(e)return f(e,function(e){var i={text:e.title,icon:e.icon};if(e.items)i.menu=t(e.items);else{var a=e.format||"custom"+r++;e.format||(e.name=a,o.push(e)),i.format=a,i.cmd=e.cmd}n.push(i)}),n}function n(){var n;return n=t(e.settings.style_formats_merge?e.settings.style_formats?i.concat(e.settings.style_formats):i:e.settings.style_formats||i)}var r=0,o=[],i=[{title:"Headings",items:[{title:"Heading 1",format:"h1"},{title:"Heading 2",format:"h2"},{title:"Heading 3",format:"h3"},{title:"Heading 4",format:"h4"},{title:"Heading 5",format:"h5"},{title:"Heading 6",format:"h6"}]},{title:"Inline",items:[{title:"Bold",icon:"bold",format:"bold"},{title:"Italic",icon:"italic",format:"italic"},{title:"Underline",icon:"underline",format:"underline"},{title:"Strikethrough",icon:"strikethrough",format:"strikethrough"},{title:"Superscript",icon:"superscript",format:"superscript"},{title:"Subscript",icon:"subscript",format:"subscript"},{title:"Code",icon:"code",format:"code"}]},{title:"Blocks",items:[{title:"Paragraph",format:"p"},{title:"Blockquote",format:"blockquote"},{title:"Div",format:"div"},{title:"Pre",format:"pre"}]},{title:"Alignment",items:[{title:"Left",icon:"alignleft",format:"alignleft"},{title:"Center",icon:"aligncenter",format:"aligncenter"},{title:"Right",icon:"alignright",format:"alignright"},{title:"Justify",icon:"alignjustify",format:"alignjustify"}]}];return e.on("init",function(){f(o,function(t){e.formatter.register(t.name,t)})}),{type:"menu",items:n(),onPostRender:function(t){e.fire("renderFormatsMenu",{control:t.control})},itemDefaults:{preview:!0,textStyle:function(){if(this.settings.format)return e.formatter.getCssText(this.settings.format)},onPostRender:function(){var t=this;t.parent().on("show",function(){var n,r;n=t.settings.format,n&&(t.disabled(!e.formatter.canApply(n)),t.active(e.formatter.match(n))),r=t.settings.cmd,r&&t.active(e.queryCommandState(r))})},onclick:function(){this.settings.format&&h(this.settings.format),this.settings.cmd&&e.execCommand(this.settings.cmd)}}}}function l(t){return function(){var n=this;e.formatter?e.formatter.formatChanged(t,function(e){n.active(e)}):e.on("init",function(){e.formatter.formatChanged(t,function(e){n.active(e)})})}}function c(t){return function(){function n(){var n="redo"==t?"hasRedo":"hasUndo";return!!e.undoManager&&e.undoManager[n]()}var r=this;r.disabled(!n()),e.on("Undo Redo AddUndo TypingUndo ClearUndos SwitchMode",function(){r.disabled(e.readonly||!n())})}}function d(){var t=this;e.on("VisualAid",function(e){t.active(e.hasVisual)}),t.active(e.hasVisual)}function h(t){t.control&&(t=t.control.value()),t&&e.execCommand("mceToggleFormat",!1,t)}function m(t){var n=t.length;return r.each(t,function(t){t.menu&&(t.hidden=0===m(t.menu));var r=t.format;r&&(t.hidden=!e.formatter.canApply(r)),t.hidden&&n--}),n}function v(t){var n=t.items().length;return t.items().each(function(t){t.menu&&t.visible(v(t.menu)>0),!t.menu&&t.settings.menu&&t.visible(m(t.settings.menu)>0);var r=t.settings.format;r&&t.visible(e.formatter.canApply(r)),t.visible()||n--}),n}var g;g=s(),f({bold:"Bold",italic:"Italic",underline:"Underline",strikethrough:"Strikethrough",subscript:"Subscript",superscript:"Superscript"},function(t,n){e.addButton(n,{tooltip:t,onPostRender:l(n),onclick:function(){h(n)}})}),f({outdent:["Decrease indent","Outdent"],indent:["Increase indent","Indent"],cut:["Cut","Cut"],copy:["Copy","Copy"],paste:["Paste","Paste"],help:["Help","mceHelp"],selectall:["Select all","SelectAll"],removeformat:["Clear formatting","RemoveFormat"],visualaid:["Visual aids","mceToggleVisualAid"],newdocument:["New document","mceNewDocument"]},function(t,n){e.addButton(n,{tooltip:t[0],cmd:t[1]})}),f({blockquote:["Blockquote","mceBlockQuote"],subscript:["Subscript","Subscript"],superscript:["Superscript","Superscript"],alignleft:["Align left","JustifyLeft"],aligncenter:["Align center","JustifyCenter"],alignright:["Align right","JustifyRight"],alignjustify:["Justify","JustifyFull"],alignnone:["No alignment","JustifyNone"]},function(t,n){e.addButton(n,{tooltip:t[0],cmd:t[1],onPostRender:l(n)})});var y=function(e){var t=e;return t.length>0&&"-"===t[0].text&&(t=t.slice(1)),t.length>0&&"-"===t[t.length-1].text&&(t=t.slice(0,t.length-1)),t},b=function(t){var n,o;if("string"==typeof t)o=t.split(" ");else if(r.isArray(t))return p(r.map(t,b));return n=r.grep(o,function(t){return"|"===t||t in e.menuItems}),r.map(n,function(t){return"|"===t?{text:"-"}:e.menuItems[t]})},_=function(t){var n=[{text:"-"}],o=r.grep(e.menuItems,function(e){return e.context===t});return r.each(o,function(e){"before"==e.separator&&n.push({text:"|"}),e.prependToContext?n.unshift(e):n.push(e),"after"==e.separator&&n.push({text:"|"})}),n},w=function(e){return y(e.insert_button_items?b(e.insert_button_items):_("insert"))};e.addButton("undo",{tooltip:"Undo",onPostRender:c("undo"),cmd:"undo"}),e.addButton("redo",{tooltip:"Redo",onPostRender:c("redo"),cmd:"redo"}),e.addMenuItem("newdocument",{text:"New document",icon:"newdocument",cmd:"mceNewDocument"}),e.addMenuItem("undo",{text:"Undo",icon:"undo",shortcut:"Meta+Z",onPostRender:c("undo"),cmd:"undo"}),e.addMenuItem("redo",{text:"Redo",icon:"redo",shortcut:"Meta+Y",onPostRender:c("redo"),cmd:"redo"}),e.addMenuItem("visualaid",{text:"Visual aids",selectable:!0,onPostRender:d,cmd:"mceToggleVisualAid"}),e.addButton("remove",{tooltip:"Remove",icon:"remove",cmd:"Delete"}),e.addButton("insert",{type:"menubutton",icon:"insert",menu:[],oncreatemenu:function(){this.menu.add(w(e.settings)),this.menu.renderNew()}}),f({cut:["Cut","Cut","Meta+X"],copy:["Copy","Copy","Meta+C"],paste:["Paste","Paste","Meta+V"],selectall:["Select all","SelectAll","Meta+A"],bold:["Bold","Bold","Meta+B"],italic:["Italic","Italic","Meta+I"],underline:["Underline","Underline","Meta+U"],strikethrough:["Strikethrough","Strikethrough"],subscript:["Subscript","Subscript"],superscript:["Superscript","Superscript"],removeformat:["Clear formatting","RemoveFormat"]},function(t,n){e.addMenuItem(n,{text:t[0],icon:n,shortcut:t[2],cmd:t[1]})}),e.on("mousedown",function(){n.hideAll()}),e.addButton("styleselect",{type:"menubutton",text:"Formats",menu:g,onShowMenu:function(){e.settings.style_formats_autohide&&v(this.menu)}}),e.addButton("formatselect",function(){var n=[],r=a(e.settings.block_formats||"Paragraph=p;Heading 1=h1;Heading 2=h2;Heading 3=h3;Heading 4=h4;Heading 5=h5;Heading 6=h6;Preformatted=pre");return f(r,function(t){n.push({text:t[0],value:t[1],textStyle:function(){return e.formatter.getCssText(t[1])}})}),{type:"listbox",text:r[0][0],values:n,fixedWidth:!0,onselect:h,onPostRender:t(n)}}),e.addButton("fontselect",function(){var t="Andale Mono=andale mono,monospace;Arial=arial,helvetica,sans-serif;Arial Black=arial black,sans-serif;Book Antiqua=book antiqua,palatino,serif;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,palatino,serif;Helvetica=helvetica,arial,sans-serif;Impact=impact,sans-serif;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco,monospace;Times New Roman=times new roman,times,serif;Trebuchet MS=trebuchet ms,geneva,sans-serif;Verdana=verdana,geneva,sans-serif;Webdings=webdings;Wingdings=wingdings,zapf dingbats",n=[],r=a(e.settings.font_formats||t);return f(r,function(e){n.push({text:{raw:e[0]},value:e[1],textStyle:e[1].indexOf("dings")==-1?"font-family:"+e[1]:""})}),{type:"listbox",text:"Font Family",tooltip:"Font Family",values:n,fixedWidth:!0,onPostRender:o(n),onselect:function(t){t.control.settings.value&&e.execCommand("FontName",!1,t.control.settings.value)}}}),e.addButton("fontsizeselect",function(){var t=[],n="8pt 10pt 12pt 14pt 18pt 24pt 36pt",r=e.settings.fontsize_formats||n;return f(r.split(" "),function(e){var n=e,r=e,o=e.split("=");o.length>1&&(n=o[0],r=o[1]),t.push({text:n,value:r})}),{type:"listbox",text:"Font Sizes",tooltip:"Font Sizes",values:t,fixedWidth:!0,onPostRender:i(t),onclick:function(t){t.control.settings.value&&e.execCommand("FontSize",!1,t.control.settings.value)}}}),e.addMenuItem("formats",{text:"Formats",menu:g})}var f=r.each,p=function(e){return o.reduce(e,function(e,t){return e.concat(t)},[])};a.on("AddEditor",function(e){var t=e.editor;c(t),d(t),l(t)}),e.translate=function(e){return a.translate(e)},t.tooltips=!s.iOS}),i("tinymce/ui/GridLayout",["tinymce/ui/AbsoluteLayout"],function(e){return e.extend({recalc:function(e){var t,n,r,o,i,a,s,u,l,c,d,f,p,h,m,v,g,y,b,_,w,C,x,E,T,k,S,M,O,A=[],N=[];t=e.settings,o=e.items().filter(":visible"),i=e.layoutRect(),r=t.columns||Math.ceil(Math.sqrt(o.length)),n=Math.ceil(o.length/r),y=t.spacingH||t.spacing||0,b=t.spacingV||t.spacing||0,_=t.alignH||t.align,w=t.alignV||t.align,v=e.paddingBox,M="reverseRows"in t?t.reverseRows:e.isRtl(),_&&"string"==typeof _&&(_=[_]),w&&"string"==typeof w&&(w=[w]);for(d=0;d<r;d++)A.push(0);for(f=0;f<n;f++)N.push(0);for(f=0;f<n;f++)for(d=0;d<r&&(c=o[f*r+d],c);d++)l=c.layoutRect(),E=l.minW,T=l.minH,A[d]=E>A[d]?E:A[d],N[f]=T>N[f]?T:N[f];for(k=i.innerW-v.left-v.right,C=0,d=0;d<r;d++)C+=A[d]+(d>0?y:0),k-=(d>0?y:0)+A[d];for(S=i.innerH-v.top-v.bottom,x=0,f=0;f<n;f++)x+=N[f]+(f>0?b:0),S-=(f>0?b:0)+N[f];if(C+=v.left+v.right,x+=v.top+v.bottom,u={},u.minW=C+(i.w-i.innerW),u.minH=x+(i.h-i.innerH),u.contentW=u.minW-i.deltaW,u.contentH=u.minH-i.deltaH,u.minW=Math.min(u.minW,i.maxW),u.minH=Math.min(u.minH,i.maxH),u.minW=Math.max(u.minW,i.startMinWidth),u.minH=Math.max(u.minH,i.startMinHeight),!i.autoResize||u.minW==i.minW&&u.minH==i.minH){i.autoResize&&(u=e.layoutRect(u),u.contentW=u.minW-i.deltaW,u.contentH=u.minH-i.deltaH);var I;I="start"==t.packV?0:S>0?Math.floor(S/n):0;var P=0,D=t.flexWidths;if(D)for(d=0;d<D.length;d++)P+=D[d];else P=r;var R=k/P;for(d=0;d<r;d++)A[d]+=D?D[d]*R:R;for(h=v.top,f=0;f<n;f++){for(p=v.left,s=N[f]+I,d=0;d<r&&(O=M?f*r+r-1-d:f*r+d,c=o[O],c);d++)m=c.settings,l=c.layoutRect(),a=Math.max(A[d],l.startMinWidth),l.x=p,l.y=h,g=m.alignH||(_?_[d]||_[0]:null),"center"==g?l.x=p+a/2-l.w/2:"right"==g?l.x=p+a-l.w:"stretch"==g&&(l.w=a),g=m.alignV||(w?w[d]||w[0]:null),"center"==g?l.y=h+s/2-l.h/2:"bottom"==g?l.y=h+s-l.h:"stretch"==g&&(l.h=s),c.layoutRect(l),p+=a+y,c.recalc&&c.recalc();h+=s+b}}else if(u.w=u.minW,u.h=u.minH,e.layoutRect(u),this.recalc(e),null===e._lastRect){var j=e.parent();j&&(j._lastRect=null,j.recalc())}}})}),i("tinymce/ui/Iframe",["tinymce/ui/Widget","tinymce/util/Delay"],function(e,t){return e.extend({renderHtml:function(){var e=this;return e.classes.add("iframe"),e.canFocus=!1,'<iframe id="'+e._id+'" class="'+e.classes+'" tabindex="-1" src="'+(e.settings.url||"javascript:''")+'" frameborder="0"></iframe>'},src:function(e){this.getEl().src=e},html:function(e,n){var r=this,o=this.getEl().contentWindow.document.body;return o?(o.innerHTML=e,n&&n()):t.setTimeout(function(){r.html(e)}),this}})}),i("tinymce/ui/InfoBox",["tinymce/ui/Widget"],function(e){return e.extend({init:function(e){var t=this;t._super(e),t.classes.add("widget").add("infobox"),t.canFocus=!1},severity:function(e){this.classes.remove("error"),this.classes.remove("warning"),this.classes.remove("success"),this.classes.add(e)},help:function(e){this.state.set("help",e)},renderHtml:function(){var e=this,t=e.classPrefix;return'<div id="'+e._id+'" class="'+e.classes+'"><div id="'+e._id+'-body">'+e.encode(e.state.get("text"))+'<button role="button" tabindex="-1"><i class="'+t+"ico "+t+'i-help"></i></button></div></div>'},bindStates:function(){var e=this;return e.state.on("change:text",function(t){e.getEl("body").firstChild.data=e.encode(t.value),e.state.get("rendered")&&e.updateLayoutRect()}),e.state.on("change:help",function(t){e.classes.toggle("has-help",t.value),e.state.get("rendered")&&e.updateLayoutRect()}),e._super()}})}),i("tinymce/ui/Label",["tinymce/ui/Widget","tinymce/ui/DomUtils"],function(e,t){return e.extend({init:function(e){var t=this;t._super(e),t.classes.add("widget").add("label"),t.canFocus=!1,e.multiline&&t.classes.add("autoscroll"),e.strong&&t.classes.add("strong")},initLayoutRect:function(){var e=this,n=e._super();if(e.settings.multiline){var r=t.getSize(e.getEl());r.width>n.maxW&&(n.minW=n.maxW,e.classes.add("multiline")),e.getEl().style.width=n.minW+"px",n.startMinH=n.h=n.minH=Math.min(n.maxH,t.getSize(e.getEl()).height)}return n},repaint:function(){var e=this;return e.settings.multiline||(e.getEl().style.lineHeight=e.layoutRect().h+"px"),e._super()},severity:function(e){this.classes.remove("error"),this.classes.remove("warning"),this.classes.remove("success"),this.classes.add(e)},renderHtml:function(){var e,t,n=this,r=n.settings.forId;return!r&&(t=n.settings.forName)&&(e=n.getRoot().find("#"+t)[0],e&&(r=e._id)),r?'<label id="'+n._id+'" class="'+n.classes+'"'+(r?' for="'+r+'"':"")+">"+n.encode(n.state.get("text"))+"</label>":'<span id="'+n._id+'" class="'+n.classes+'">'+n.encode(n.state.get("text"))+"</span>"},bindStates:function(){var e=this;return e.state.on("change:text",function(t){e.innerHtml(e.encode(t.value)),e.state.get("rendered")&&e.updateLayoutRect()}),e._super()}})}),i("tinymce/ui/Toolbar",["tinymce/ui/Container"],function(e){return e.extend({Defaults:{role:"toolbar",layout:"flow"},init:function(e){var t=this;t._super(e),t.classes.add("toolbar")},postRender:function(){var e=this;return e.items().each(function(e){e.classes.add("toolbar-item")}),e._super()}})}),i("tinymce/ui/MenuBar",["tinymce/ui/Toolbar"],function(e){return e.extend({Defaults:{role:"menubar",containerCls:"menubar",ariaRoot:!0,defaults:{type:"menubutton"}}})}),i("tinymce/ui/MenuButton",["tinymce/ui/Button","tinymce/ui/Factory","tinymce/ui/MenuBar"],function(e,t,n){function r(e,t){for(;e;){if(t===e)return!0;e=e.parentNode}return!1}var o=e.extend({init:function(e){var t=this;t._renderOpen=!0,t._super(e),e=t.settings,t.classes.add("menubtn"),e.fixedWidth&&t.classes.add("fixed-width"),t.aria("haspopup",!0),t.state.set("menu",e.menu||t.render())},showMenu:function(e){var n,r=this;return r.menu&&r.menu.visible()&&e!==!1?r.hideMenu():(r.menu||(n=r.state.get("menu")||[],n.length?n={type:"menu",items:n}:n.type=n.type||"menu",n.renderTo?r.menu=n.parent(r).show().renderTo():r.menu=t.create(n).parent(r).renderTo(),r.fire("createmenu"),r.menu.reflow(),r.menu.on("cancel",function(e){e.control.parent()===r.menu&&(e.stopPropagation(),r.focus(),r.hideMenu())}),r.menu.on("select",function(){r.focus()}),r.menu.on("show hide",function(e){e.control==r.menu&&r.activeMenu("show"==e.type),r.aria("expanded","show"==e.type)}).fire("show")),r.menu.show(),r.menu.layoutRect({w:r.layoutRect().w}),r.menu.moveRel(r.getEl(),r.isRtl()?["br-tr","tr-br"]:["bl-tl","tl-bl"]),void r.fire("showmenu"))},hideMenu:function(){var e=this;e.menu&&(e.menu.items().each(function(e){e.hideMenu&&e.hideMenu()}),e.menu.hide())},activeMenu:function(e){this.classes.toggle("active",e)},renderHtml:function(){var e,t=this,r=t._id,o=t.classPrefix,i=t.settings.icon,a=t.state.get("text"),s="";return e=t.settings.image,e?(i="none","string"!=typeof e&&(e=window.getSelection?e[0]:e[1]),e=" style=\"background-image: url('"+e+"')\""):e="",a&&(t.classes.add("btn-has-text"),s='<span class="'+o+'txt">'+t.encode(a)+"</span>"),i=t.settings.icon?o+"ico "+o+"i-"+i:"",t.aria("role",t.parent()instanceof n?"menuitem":"button"),'<div id="'+r+'" class="'+t.classes+'" tabindex="-1" aria-labelledby="'+r+'"><button id="'+r+'-open" role="presentation" type="button" tabindex="-1">'+(i?'<i class="'+i+'"'+e+"></i>":"")+s+' <i class="'+o+'caret"></i></button></div>'},postRender:function(){var e=this;return e.on("click",function(t){t.control===e&&r(t.target,e.getEl())&&(e.focus(),e.showMenu(!t.aria),t.aria&&e.menu.items().filter(":visible")[0].focus())}),e.on("mouseenter",function(t){var n,r=t.control,i=e.parent();r&&i&&r instanceof o&&r.parent()==i&&(i.items().filter("MenuButton").each(function(e){e.hideMenu&&e!=r&&(e.menu&&e.menu.visible()&&(n=!0),e.hideMenu())}),n&&(r.focus(),r.showMenu()))}),e._super()},bindStates:function(){var e=this;return e.state.on("change:menu",function(){e.menu&&e.menu.remove(),e.menu=null}),e._super()},remove:function(){this._super(),this.menu&&this.menu.remove()}});return o}),i("tinymce/ui/MenuItem",["tinymce/ui/Widget","tinymce/ui/Factory","tinymce/Env","tinymce/util/Delay"],function(e,t,n,r){return e.extend({Defaults:{border:0,role:"menuitem"},init:function(e){var t,n=this;n._super(e),e=n.settings,n.classes.add("menu-item"),e.menu&&n.classes.add("menu-item-expand"),e.preview&&n.classes.add("menu-item-preview"),t=n.state.get("text"),"-"!==t&&"|"!==t||(n.classes.add("menu-item-sep"),n.aria("role","separator"),n.state.set("text","-")),e.selectable&&(n.aria("role","menuitemcheckbox"),n.classes.add("menu-item-checkbox"),e.icon="selected"),e.preview||e.selectable||n.classes.add("menu-item-normal"),n.on("mousedown",function(e){e.preventDefault()}),e.menu&&!e.ariaHideMenu&&n.aria("haspopup",!0)},hasMenus:function(){return!!this.settings.menu},showMenu:function(){var e,n=this,r=n.settings,o=n.parent();if(o.items().each(function(e){e!==n&&e.hideMenu()}),r.menu){e=n.menu,e?e.show():(e=r.menu,e.length?e={type:"menu",items:e}:e.type=e.type||"menu",o.settings.itemDefaults&&(e.itemDefaults=o.settings.itemDefaults),e=n.menu=t.create(e).parent(n).renderTo(),e.reflow(),e.on("cancel",function(t){t.stopPropagation(),n.focus(),e.hide()}),e.on("show hide",function(e){e.control.items&&e.control.items().each(function(e){e.active(e.settings.selected)})}).fire("show"),e.on("hide",function(t){t.control===e&&n.classes.remove("selected")}),e.submenu=!0),e._parentMenu=o,e.classes.add("menu-sub");var i=e.testMoveRel(n.getEl(),n.isRtl()?["tl-tr","bl-br","tr-tl","br-bl"]:["tr-tl","br-bl","tl-tr","bl-br"]);e.moveRel(n.getEl(),i),e.rel=i,i="menu-sub-"+i,e.classes.remove(e._lastRel).add(i),e._lastRel=i,n.classes.add("selected"),n.aria("expanded",!0)}},hideMenu:function(){var e=this;return e.menu&&(e.menu.items().each(function(e){e.hideMenu&&e.hideMenu()}),e.menu.hide(),e.aria("expanded",!1)),e},renderHtml:function(){function e(e){var t,r,o={};for(o=n.mac?{alt:"&#x2325;",ctrl:"&#x2318;",shift:"&#x21E7;",meta:"&#x2318;"}:{meta:"Ctrl"},e=e.split("+"),t=0;t<e.length;t++)r=o[e[t].toLowerCase()],r&&(e[t]=r);return e.join("+")}function t(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function r(e){var n=s.match||"";return n?e.replace(new RegExp(t(n),"gi"),function(e){return"!mce~match["+e+"]mce~match!"}):e}function o(e){return e.replace(new RegExp(t("!mce~match["),"g"),"<b>").replace(new RegExp(t("]mce~match!"),"g"),"</b>")}var i=this,a=i._id,s=i.settings,u=i.classPrefix,l=i.state.get("text"),c=i.settings.icon,d="",f=s.shortcut,p=i.encode(s.url),h="";return c&&i.parent().classes.add("menu-has-icons"),s.image&&(d=" style=\"background-image: url('"+s.image+"')\""),f&&(f=e(f)),c=u+"ico "+u+"i-"+(i.settings.icon||"none"),h="-"!==l?'<i class="'+c+'"'+d+"></i> ":"",l=o(i.encode(r(l))),p=o(i.encode(r(p))),'<div id="'+a+'" class="'+i.classes+'" tabindex="-1">'+h+("-"!==l?'<span id="'+a+'-text" class="'+u+'text">'+l+"</span>":"")+(f?'<div id="'+a+'-shortcut" class="'+u+'menu-shortcut">'+f+"</div>":"")+(s.menu?'<div class="'+u+'caret"></div>':"")+(p?'<div class="'+u+'menu-item-link">'+p+"</div>":"")+"</div>"},postRender:function(){var e=this,t=e.settings,n=t.textStyle;if("function"==typeof n&&(n=n.call(this)),n){var o=e.getEl("text");o&&o.setAttribute("style",n)}return e.on("mouseenter click",function(n){n.control===e&&(t.menu||"click"!==n.type?(e.showMenu(),n.aria&&e.menu.focus(!0)):(e.fire("select"),r.requestAnimationFrame(function(){e.parent().hideAll()})))}),e._super(),e},hover:function(){var e=this;return e.parent().items().each(function(e){e.classes.remove("selected")}),e.classes.toggle("selected",!0),e},active:function(e){return"undefined"!=typeof e&&this.aria("checked",e),this._super(e)},remove:function(){this._super(),this.menu&&this.menu.remove()}})}),i("tinymce/ui/Throbber",["tinymce/dom/DomQuery","tinymce/ui/Control","tinymce/util/Delay"],function(e,t,n){return function(r,o){var i,a,s=this,u=t.classPrefix;s.show=function(t,l){function c(){i&&(e(r).append('<div class="'+u+"throbber"+(o?" "+u+"throbber-inline":"")+'"></div>'),l&&l())}return s.hide(),i=!0,t?a=n.setTimeout(c,t):c(),s},s.hide=function(){var e=r.lastChild;return n.clearTimeout(a),e&&e.className.indexOf("throbber")!=-1&&e.parentNode.removeChild(e),i=!1,s}}}),i("tinymce/ui/Menu",["tinymce/ui/FloatPanel","tinymce/ui/MenuItem","tinymce/ui/Throbber","tinymce/util/Tools"],function(e,t,n,r){return e.extend({Defaults:{defaultType:"menuitem",border:1,layout:"stack",role:"application",bodyRole:"menu",ariaRoot:!0},init:function(e){var t=this;if(e.autohide=!0,e.constrainToViewport=!0,"function"==typeof e.items&&(e.itemsFactory=e.items,e.items=[]),e.itemDefaults)for(var n=e.items,o=n.length;o--;)n[o]=r.extend({},e.itemDefaults,n[o]);t._super(e),t.classes.add("menu")},repaint:function(){return this.classes.toggle("menu-align",!0),this._super(),this.getEl().style.height="",this.getEl("body").style.height="",this},cancel:function(){var e=this;e.hideAll(),e.fire("select")},load:function(){function e(){o.throbber&&(o.throbber.hide(),o.throbber=null)}var t,r,o=this;r=o.settings.itemsFactory,r&&(o.throbber||(o.throbber=new n(o.getEl("body"),!0),0===o.items().length?(o.throbber.show(),o.fire("loading")):o.throbber.show(100,function(){o.items().remove(),o.fire("loading")}),o.on("hide close",e)),o.requestTime=t=(new Date).getTime(),o.settings.itemsFactory(function(n){return 0===n.length?void o.hide():void(o.requestTime===t&&(o.getEl().style.width="",o.getEl("body").style.width="",e(),o.items().remove(),o.getEl("body").innerHTML="",o.add(n),o.renderNew(),o.fire("loaded")))}))},hideAll:function(){var e=this;return this.find("menuitem").exec("hideMenu"),e._super()},preRender:function(){var e=this;return e.items().each(function(t){var n=t.settings;if(n.icon||n.image||n.selectable)return e._hasIcons=!0,!1}),e.settings.itemsFactory&&e.on("postrender",function(){e.settings.itemsFactory&&e.load()}),e._super()}})}),i("tinymce/ui/ListBox",["tinymce/ui/MenuButton","tinymce/ui/Menu"],function(e,t){return e.extend({init:function(e){function t(n){for(var i=0;i<n.length;i++){if(r=n[i].selected||e.value===n[i].value)return o=o||n[i].text,a.state.set("value",n[i].value),!0;if(n[i].menu&&t(n[i].menu))return!0}}var n,r,o,i,a=this;a._super(e),e=a.settings,a._values=n=e.values,n&&("undefined"!=typeof e.value&&t(n),!r&&n.length>0&&(o=n[0].text,a.state.set("value",n[0].value)),a.state.set("menu",n)),a.state.set("text",e.text||o),a.classes.add("listbox"),a.on("select",function(t){var n=t.control;i&&(t.lastControl=i),e.multiple?n.active(!n.active()):a.value(t.control.value()),i=n})},bindStates:function(){function e(e,n){e instanceof t&&e.items().each(function(e){e.hasMenus()||e.active(e.value()===n);
-})}function n(e,t){var r;if(e)for(var o=0;o<e.length;o++){if(e[o].value===t)return e[o];if(e[o].menu&&(r=n(e[o].menu,t)))return r}}var r=this;return r.on("show",function(t){e(t.control,r.value())}),r.state.on("change:value",function(e){var t=n(r.state.get("menu"),e.value);t?r.text(t.text):r.text(r.settings.text)}),r._super()}})}),i("tinymce/ui/Radio",["tinymce/ui/Checkbox"],function(e){return e.extend({Defaults:{classes:"radio",role:"radio"}})}),i("tinymce/ui/ResizeHandle",["tinymce/ui/Widget","tinymce/ui/DragHelper"],function(e,t){return e.extend({renderHtml:function(){var e=this,t=e.classPrefix;return e.classes.add("resizehandle"),"both"==e.settings.direction&&e.classes.add("resizehandle-both"),e.canFocus=!1,'<div id="'+e._id+'" class="'+e.classes+'"><i class="'+t+"ico "+t+'i-resize"></i></div>'},postRender:function(){var e=this;e._super(),e.resizeDragHelper=new t(this._id,{start:function(){e.fire("ResizeStart")},drag:function(t){"both"!=e.settings.direction&&(t.deltaX=0),e.fire("Resize",t)},stop:function(){e.fire("ResizeEnd")}})},remove:function(){return this.resizeDragHelper&&this.resizeDragHelper.destroy(),this._super()}})}),i("tinymce/ui/SelectBox",["tinymce/ui/Widget"],function(e){function t(e){var t="";if(e)for(var n=0;n<e.length;n++)t+='<option value="'+e[n]+'">'+e[n]+"</option>";return t}return e.extend({Defaults:{classes:"selectbox",role:"selectbox",options:[]},init:function(e){var t=this;t._super(e),t.settings.size&&(t.size=t.settings.size),t.settings.options&&(t._options=t.settings.options),t.on("keydown",function(e){var n;13==e.keyCode&&(e.preventDefault(),t.parents().reverse().each(function(e){if(e.toJSON)return n=e,!1}),t.fire("submit",{data:n.toJSON()}))})},options:function(e){return arguments.length?(this.state.set("options",e),this):this.state.get("options")},renderHtml:function(){var e,n=this,r="";return e=t(n._options),n.size&&(r=' size = "'+n.size+'"'),'<select id="'+n._id+'" class="'+n.classes+'"'+r+">"+e+"</select>"},bindStates:function(){var e=this;return e.state.on("change:options",function(n){e.getEl().innerHTML=t(n.value)}),e._super()}})}),i("tinymce/ui/Slider",["tinymce/ui/Widget","tinymce/ui/DragHelper","tinymce/ui/DomUtils"],function(e,t,n){function r(e,t,n){return e<t&&(e=t),e>n&&(e=n),e}function o(e,t,n){e.setAttribute("aria-"+t,n)}function i(e,t){var r,i,a,s,u,l;"v"==e.settings.orientation?(s="top",a="height",i="h"):(s="left",a="width",i="w"),l=e.getEl("handle"),r=(e.layoutRect()[i]||100)-n.getSize(l)[a],u=r*((t-e._minValue)/(e._maxValue-e._minValue))+"px",l.style[s]=u,l.style.height=e.layoutRect().h+"px",o(l,"valuenow",t),o(l,"valuetext",""+e.settings.previewFilter(t)),o(l,"valuemin",e._minValue),o(l,"valuemax",e._maxValue)}return e.extend({init:function(e){var t=this;e.previewFilter||(e.previewFilter=function(e){return Math.round(100*e)/100}),t._super(e),t.classes.add("slider"),"v"==e.orientation&&t.classes.add("vertical"),t._minValue=e.minValue||0,t._maxValue=e.maxValue||100,t._initValue=t.state.get("value")},renderHtml:function(){var e=this,t=e._id,n=e.classPrefix;return'<div id="'+t+'" class="'+e.classes+'"><div id="'+t+'-handle" class="'+n+'slider-handle" role="slider" tabindex="-1"></div></div>'},reset:function(){this.value(this._initValue).repaint()},postRender:function(){function e(e,t,n){return(n+e)/(t-e)}function o(e,t,n){return n*(t-e)-e}function i(t,n){function i(i){var a;a=p.value(),a=o(t,n,e(t,n,a)+.05*i),a=r(a,t,n),p.value(a),p.fire("dragstart",{value:a}),p.fire("drag",{value:a}),p.fire("dragend",{value:a})}p.on("keydown",function(e){switch(e.keyCode){case 37:case 38:i(-1);break;case 39:case 40:i(1)}})}function a(e,o,i){var a,s,u,h,m;p._dragHelper=new t(p._id,{handle:p._id+"-handle",start:function(e){a=e[l],s=parseInt(p.getEl("handle").style[c],10),u=(p.layoutRect()[f]||100)-n.getSize(i)[d],p.fire("dragstart",{value:m})},drag:function(t){var n=t[l]-a;h=r(s+n,0,u),i.style[c]=h+"px",m=e+h/u*(o-e),p.value(m),p.tooltip().text(""+p.settings.previewFilter(m)).show().moveRel(i,"bc tc"),p.fire("drag",{value:m})},stop:function(){p.tooltip().hide(),p.fire("dragend",{value:m})}})}var s,u,l,c,d,f,p=this;s=p._minValue,u=p._maxValue,"v"==p.settings.orientation?(l="screenY",c="top",d="height",f="h"):(l="screenX",c="left",d="width",f="w"),p._super(),i(s,u,p.getEl("handle")),a(s,u,p.getEl("handle"))},repaint:function(){this._super(),i(this,this.value())},bindStates:function(){var e=this;return e.state.on("change:value",function(t){i(e,t.value)}),e._super()}})}),i("tinymce/ui/Spacer",["tinymce/ui/Widget"],function(e){return e.extend({renderHtml:function(){var e=this;return e.classes.add("spacer"),e.canFocus=!1,'<div id="'+e._id+'" class="'+e.classes+'"></div>'}})}),i("tinymce/ui/SplitButton",["tinymce/ui/MenuButton","tinymce/ui/DomUtils","tinymce/dom/DomQuery"],function(e,t,n){return e.extend({Defaults:{classes:"widget btn splitbtn",role:"button"},repaint:function(){var e,r,o=this,i=o.getEl(),a=o.layoutRect();return o._super(),e=i.firstChild,r=i.lastChild,n(e).css({width:a.w-t.getSize(r).width,height:a.h-2}),n(r).css({height:a.h-2}),o},activeMenu:function(e){var t=this;n(t.getEl().lastChild).toggleClass(t.classPrefix+"active",e)},renderHtml:function(){var e,t=this,n=t._id,r=t.classPrefix,o=t.state.get("icon"),i=t.state.get("text"),a="";return e=t.settings.image,e?(o="none","string"!=typeof e&&(e=window.getSelection?e[0]:e[1]),e=" style=\"background-image: url('"+e+"')\""):e="",o=t.settings.icon?r+"ico "+r+"i-"+o:"",i&&(t.classes.add("btn-has-text"),a='<span class="'+r+'txt">'+t.encode(i)+"</span>"),'<div id="'+n+'" class="'+t.classes+'" role="button" tabindex="-1"><button type="button" hidefocus="1" tabindex="-1">'+(o?'<i class="'+o+'"'+e+"></i>":"")+a+'</button><button type="button" class="'+r+'open" hidefocus="1" tabindex="-1">'+(t._menuBtnText?(o?" ":"")+t._menuBtnText:"")+' <i class="'+r+'caret"></i></button></div>'},postRender:function(){var e=this,t=e.settings.onclick;return e.on("click",function(e){var n=e.target;if(e.control==this)for(;n;){if(e.aria&&"down"!=e.aria.key||"BUTTON"==n.nodeName&&n.className.indexOf("open")==-1)return e.stopImmediatePropagation(),void(t&&t.call(this,e));n=n.parentNode}}),delete e.settings.onclick,e._super()}})}),i("tinymce/ui/StackLayout",["tinymce/ui/FlowLayout"],function(e){return e.extend({Defaults:{containerClass:"stack-layout",controlClass:"stack-layout-item",endClass:"break"},isNative:function(){return!0}})}),i("tinymce/ui/TabPanel",["tinymce/ui/Panel","tinymce/dom/DomQuery","tinymce/ui/DomUtils"],function(e,t,n){return e.extend({Defaults:{layout:"absolute",defaults:{type:"panel"}},activateTab:function(e){var n;this.activeTabId&&(n=this.getEl(this.activeTabId),t(n).removeClass(this.classPrefix+"active"),n.setAttribute("aria-selected","false")),this.activeTabId="t"+e,n=this.getEl("t"+e),n.setAttribute("aria-selected","true"),t(n).addClass(this.classPrefix+"active"),this.items()[e].show().fire("showtab"),this.reflow(),this.items().each(function(t,n){e!=n&&t.hide()})},renderHtml:function(){var e=this,t=e._layout,n="",r=e.classPrefix;return e.preRender(),t.preRender(e),e.items().each(function(t,o){var i=e._id+"-t"+o;t.aria("role","tabpanel"),t.aria("labelledby",i),n+='<div id="'+i+'" class="'+r+'tab" unselectable="on" role="tab" aria-controls="'+t._id+'" aria-selected="false" tabIndex="-1">'+e.encode(t.settings.title)+"</div>"}),'<div id="'+e._id+'" class="'+e.classes+'" hidefocus="1" tabindex="-1"><div id="'+e._id+'-head" class="'+r+'tabs" role="tablist">'+n+'</div><div id="'+e._id+'-body" class="'+e.bodyClasses+'">'+t.renderHtml(e)+"</div></div>"},postRender:function(){var e=this;e._super(),e.settings.activeTab=e.settings.activeTab||0,e.activateTab(e.settings.activeTab),this.on("click",function(t){var n=t.target.parentNode;if(n&&n.id==e._id+"-head")for(var r=n.childNodes.length;r--;)n.childNodes[r]==t.target&&e.activateTab(r)})},initLayoutRect:function(){var e,t,r,o=this;t=n.getSize(o.getEl("head")).width,t=t<0?0:t,r=0,o.items().each(function(e){t=Math.max(t,e.layoutRect().minW),r=Math.max(r,e.layoutRect().minH)}),o.items().each(function(e){e.settings.x=0,e.settings.y=0,e.settings.w=t,e.settings.h=r,e.layoutRect({x:0,y:0,w:t,h:r})});var i=n.getSize(o.getEl("head")).height;return o.settings.minWidth=t,o.settings.minHeight=r+i,e=o._super(),e.deltaH+=i,e.innerH=e.h-e.deltaH,e}})}),i("tinymce/ui/TextBox",["tinymce/ui/Widget","tinymce/util/Tools","tinymce/ui/DomUtils"],function(e,t,n){return e.extend({init:function(e){var t=this;t._super(e),t.classes.add("textbox"),e.multiline?t.classes.add("multiline"):(t.on("keydown",function(e){var n;13==e.keyCode&&(e.preventDefault(),t.parents().reverse().each(function(e){if(e.toJSON)return n=e,!1}),t.fire("submit",{data:n.toJSON()}))}),t.on("keyup",function(e){t.state.set("value",e.target.value)}))},repaint:function(){var e,t,n,r,o,i=this,a=0;e=i.getEl().style,t=i._layoutRect,o=i._lastRepaintRect||{};var s=document;return!i.settings.multiline&&s.all&&(!s.documentMode||s.documentMode<=8)&&(e.lineHeight=t.h-a+"px"),n=i.borderBox,r=n.left+n.right+8,a=n.top+n.bottom+(i.settings.multiline?8:0),t.x!==o.x&&(e.left=t.x+"px",o.x=t.x),t.y!==o.y&&(e.top=t.y+"px",o.y=t.y),t.w!==o.w&&(e.width=t.w-r+"px",o.w=t.w),t.h!==o.h&&(e.height=t.h-a+"px",o.h=t.h),i._lastRepaintRect=o,i.fire("repaint",{},!1),i},renderHtml:function(){var e,r,o=this,i=o.settings;return e={id:o._id,hidefocus:"1"},t.each(["rows","spellcheck","maxLength","size","readonly","min","max","step","list","pattern","placeholder","required","multiple"],function(t){e[t]=i[t]}),o.disabled()&&(e.disabled="disabled"),i.subtype&&(e.type=i.subtype),r=n.create(i.multiline?"textarea":"input",e),r.value=o.state.get("value"),r.className=o.classes,r.outerHTML},value:function(e){return arguments.length?(this.state.set("value",e),this):(this.state.get("rendered")&&this.state.set("value",this.getEl().value),this.state.get("value"))},postRender:function(){var e=this;e.getEl().value=e.state.get("value"),e._super(),e.$el.on("change",function(t){e.state.set("value",t.target.value),e.fire("change",t)})},bindStates:function(){var e=this;return e.state.on("change:value",function(t){e.getEl().value!=t.value&&(e.getEl().value=t.value)}),e.state.on("change:disabled",function(t){e.getEl().disabled=t.value}),e._super()},remove:function(){this.$el.off(),this._super()}})}),i("tinymce/Register",[],function(){var t=this||window,n=function(){return t.tinymce};return"function"==typeof t.define&&(t.define.amd||t.define("ephox/tinymce",[],n)),e.exports=window.tinymce,{}}),s(["tinymce/geom/Rect","tinymce/util/Promise","tinymce/util/Delay","tinymce/Env","tinymce/dom/EventUtils","tinymce/dom/Sizzle","tinymce/util/Tools","tinymce/dom/DomQuery","tinymce/html/Styles","tinymce/dom/TreeWalker","tinymce/html/Entities","tinymce/dom/DOMUtils","tinymce/dom/ScriptLoader","tinymce/AddOnManager","tinymce/dom/RangeUtils","tinymce/html/Node","tinymce/html/Schema","tinymce/html/SaxParser","tinymce/html/DomParser","tinymce/html/Writer","tinymce/html/Serializer","tinymce/dom/Serializer","tinymce/util/VK","tinymce/dom/ControlSelection","tinymce/dom/BookmarkManager","tinymce/dom/Selection","tinymce/Formatter","tinymce/UndoManager","tinymce/EditorCommands","tinymce/util/URI","tinymce/util/Class","tinymce/util/EventDispatcher","tinymce/util/Observable","tinymce/ui/Selector","tinymce/ui/Collection","tinymce/ui/ReflowQueue","tinymce/ui/Control","tinymce/ui/Factory","tinymce/ui/KeyboardNavigation","tinymce/ui/Container","tinymce/ui/DragHelper","tinymce/ui/Scrollable","tinymce/ui/Panel","tinymce/ui/Movable","tinymce/ui/Resizable","tinymce/ui/FloatPanel","tinymce/ui/Window","tinymce/ui/MessageBox","tinymce/WindowManager","tinymce/ui/Tooltip","tinymce/ui/Widget","tinymce/ui/Progress","tinymce/ui/Notification","tinymce/NotificationManager","tinymce/EditorObservable","tinymce/Shortcuts","tinymce/Editor","tinymce/util/I18n","tinymce/FocusManager","tinymce/EditorManager","tinymce/util/XHR","tinymce/util/JSON","tinymce/util/JSONRequest","tinymce/util/JSONP","tinymce/util/LocalStorage","tinymce/Compat","tinymce/ui/Layout","tinymce/ui/AbsoluteLayout","tinymce/ui/Button","tinymce/ui/ButtonGroup","tinymce/ui/Checkbox","tinymce/ui/ComboBox","tinymce/ui/ColorBox","tinymce/ui/PanelButton","tinymce/ui/ColorButton","tinymce/util/Color","tinymce/ui/ColorPicker","tinymce/ui/Path","tinymce/ui/ElementPath","tinymce/ui/FormItem","tinymce/ui/Form","tinymce/ui/FieldSet","tinymce/ui/FilePicker","tinymce/ui/FitLayout","tinymce/ui/FlexLayout","tinymce/ui/FlowLayout","tinymce/ui/FormatControls","tinymce/ui/GridLayout","tinymce/ui/Iframe","tinymce/ui/InfoBox","tinymce/ui/Label","tinymce/ui/Toolbar","tinymce/ui/MenuBar","tinymce/ui/MenuButton","tinymce/ui/MenuItem","tinymce/ui/Throbber","tinymce/ui/Menu","tinymce/ui/ListBox","tinymce/ui/Radio","tinymce/ui/ResizeHandle","tinymce/ui/SelectBox","tinymce/ui/Slider","tinymce/ui/Spacer","tinymce/ui/SplitButton","tinymce/ui/StackLayout","tinymce/ui/TabPanel","tinymce/ui/TextBox"])}(window)}).call(t,n(1469).setImmediate)},function(e,t){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach(function(t){e.addRange(t)}),t&&t.focus()}}},function(e,t,n){e.exports=n.p+"CLIx-logo-c7c1dd18cd5003b1aaeb5354d833c7d9.png"},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADMAAAAzCAYAAAA6oTAqAAAAAXNSR0IArs4c6QAAA49JREFUaAXtWNFx2zAMjX29xH/1CB7BG9TdwJ0gygRRP+Lkr+lfYn/UnSDyBHEniDpBnQnqbND8Jf5w+l5PzFEwaJkWdVHvxDueCBAE8QAQonRw0LTGA40HGg80HqiZB1pvYc/FxcXg5eXlBn3earXS6+vrHyHsaIdQUqTj7Oysr8j0ACQGf35+fn5HgIqMF6tyMDD0BkYPC6xipO4yUL0CWed0pWAIBDtHzt03Jwbr9frXaDQqAr+5EpzKwGwD8vT0tMDe39EfpVWIYhf9FmkXybkiupICIIEghb6Ox+NLzRhEIYbxnHsv58E/ubq6SiTfRQePjATi2tjwAXL6/PzcA71R0eCEG58IBQXjC8QAmk6nf1CeeU6YermGM/QNgHo5poMIBmZfILZdABQjGjObxzPECNk81zgImBBAjIFIuwhjmXKDXdLtnVGy73MfIDCM75VjnJXPTDG5N/jR0dHREvzXooB0OwWdoDtbqcjsA8SyJDo8PLyL47hr8f4NCRDpFdt80H06webJsTMyKJkpFHyQC0LSNDAD9FFGiCUZzppiPzs6EegUXW2lIqNq9GRmgGi01hKbWeTcNwdDY2HksVZ+wZ/bYDDuaXJGphZgaAwKQu6MkIdUS/HIXXlQCPqc01qdwKjnEyAXwvD6g+HZEUZ7k7WJjLflyoIGjOKUEKz7skrqFJlUA6O8W2RBeF1WGzAwevpqVTbQri/tdtsJxnmdkYqrpFF+Z7j+L+Ue4A9tHugHTc7IOMHAUwssNnLqU0kBVa6Aeb9arWJNBvsfYw97KrUJOXaC4YeSFJY00iDChjt9OMm1GX2P6/5AXjI5l+nu2uuQYolNy3GpM8ObLTx3IpXuQsMJMxcQfhbwc9nWA/mf2fXGZufGzsjkpLYQBAQv8m61c4Qyo1KXWnwW8MehV1Soq1RkjDFlImR0mCc/+ABkaGg+s6gkNk8bBwFDxSEA4YOQqRVRn9UecVYii3YOg4HhDvsC4hkBkFtEZKPokAe9SycCayIoGOr1BYS0OsUZ+S1Ti7rA8/qjWboAcFPZCGhbUWAkAOAL1kXo/LcsVXgDoYLgkTFWbYtQp9PpM33QcxUrW/uIA/+J642uXZ+VgaEB2wBpBrJqAWAfPwLn2nwRr5I0szclIO3fmC1DEKhYl7h1pDbfd1w5GBqkXVcA4AFRmONNn0wmk4Wv4Y1844HGA40HGg/8Fx74C71bYa8bcP+fAAAAAElFTkSuQmCC"},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAASCAYAAAC5DOVpAAAAAXNSR0IArs4c6QAAAGJJREFUOBFjPHPmzH8GNPD///9GU1PTBjRhOPf06dMNjIyM9XABIAOo5yATsgClbEaYy0xMTBjJMQzmSpBvqOoyqhpGjs9G9YyGAKkhMEKyEwssXGClB4hPTnkG1OZA1YwOAE0iMJqvX6f2AAAAAElFTkSuQmCC"},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAQZJREFUaAXtl9ENgyAURYVJHKUjdAS7hSO4RTtKR2lH6ASUl/SL5D6BVHITL3+CvHfPMRKdJg0ZkAEZkAEZkAEZOK+BgNDXdb2klO55fUb3/Gn+FUK4bdv27KkX0aZB4a39/OuFokxZ5oIWIYAVRpsOmIe9LLwH6AEckLOt5F54q0YLUBOeFqA2PCVAS3g6gNbwVAA94akAvKPSgqJBewqhwOW8AEojo6/1BEYbL/vRPAH7pC7D1VzTAOT/gUcPBA2A2e6BoALogaADaIWgBGiBoAWohfAAPlZkxMgfcm/UZ+/FhgD5SLt6hVHD1nnrEWNcvH0G4a1rTQZkQAZkQAZkQAbOauALydJeLJzy5N0AAAAASUVORK5CYII="},function(e,t){e.exports="data:image/jpeg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAAA8AAD/4QMxaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/PiA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjYtYzExMSA3OS4xNTgzMjUsIDIwMTUvMDkvMTAtMDE6MTA6MjAgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE1IChNYWNpbnRvc2gpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjhBMDlGMEVGQjBEODExRTU4Q0Y4RTJCOTU4QTNFMzM2IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjhBMDlGMEYwQjBEODExRTU4Q0Y4RTJCOTU4QTNFMzM2Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6OEEwOUYwRURCMEQ4MTFFNThDRjhFMkI5NThBM0UzMzYiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6OEEwOUYwRUVCMEQ4MTFFNThDRjhFMkI5NThBM0UzMzYiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7/7gAOQWRvYmUAZMAAAAAB/9sAhAAGBAQEBQQGBQUGCQYFBgkLCAYGCAsMCgoLCgoMEAwMDAwMDBAMDg8QDw4MExMUFBMTHBsbGxwfHx8fHx8fHx8fAQcHBw0MDRgQEBgaFREVGh8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx//wAARCABFAGQDAREAAhEBAxEB/8QAiQABAAMBAQADAAAAAAAAAAAAAAQFBgcDAQIIAQEBAQAAAAAAAAAAAAAAAAAAAQIQAAAEBAQEAgYFBREAAAAAAAECAwQAEQUGIRITBzEiFBVBFlFhgTJCI3FSchcIYjNDJCax8YKSU2OT00SUJTXFVoYYSBEBAQEBAAAAAAAAAAAAAAAAAAERQf/aAAwDAQACEQMRAD8A/VMAgEAgEBiN1r6c21R0GNHT6q664p0dCZhIRFU0gMsYB+BLNMZ4TlPCcFjje3Fw7n2KrcBHgHuShUKoqN68xTMZR03A/P1rfPiZNTmMYo/SMpiaItfom3LkotyUdvWKM5K7YOQmmqWYCAhgYpijiUxRwEBisrKAQCAQCAQCAQCAhVqs06i0l3VqksDdiyTMs4VN4FKHgHiI8ADxHCA5xtZRqjctbc7o3EiKTmoEFC2WCmPSU7HKf7a05z9AiPA0gLWMvol0t9465alqnKk4vtkyO9dgbFokgB0llZBwNpEN6+bDEQiK1mxTIttVS8rC1DnTolQTcsjKyzi2epAYnAAAZAmAjLxGKldbghAIBAIBAIBAIDj9xHPujfnlRsYTWTbKpVrjXKMiPHpR+WzAQ4lIIc/t8QKMFb2+7ypVk2s4q7ooCCIAixZkwMsuYJJIkAPTLwDAoCPhBHF21r121Lwsa/LjXOe4rkqiraulER00e4Igm1bgHAoIlzfucChEabmpf4F+ISlOvdbXZSFmR58BcsTawG+nTApQ+mKnHUoIQCAQCAQCAQFbcrKrvrfqLOjuysKo4bqJs3hgEwJKGLIpsMfb4cZDwgOcbFVqjUmhOLKfNQotzUEVFay1XME18w5jPSqD75DBLH4Ql8MhgteNrpKbn3z5yeEHybbqp0LXbHAQK6dFGSj0xR4gUQ5PXLxKaYWn4h2wn2ydP0jlI8pDlrUGYmEA+YisADKfjkOaBEDeh6l5ZtO/mn5ui1JjUDHDH9TdSKoXD62YgQI60UxTFAxRASiEwEOAgMEIBAIBAIBAIBAc73g2laXzSRXZnBjcrRI5GL8oiTUTOAgdssJcRTOBhD8mfoEQEsrAbfONzLrTcWsnXmdjlt3K0cUJi0Ez0qRAAAOBlzG5TD+kIcccfEJxa15tk9tadKq3jUXNbXJiZ/XnxtMB4jhmSJL1GnFTVTuNubtdUbKqVlUNc1UdOGYtadT6Q3OuQh0yh0+USACeQhyF90w4QJHR9uXFUXsOgnqrZVpUiskUnaDghk1QUSLpmExTSEBNlzY+mCVo4BAIBAIBAIBAIDD31tYyuaqM62wqLi37haAKXdmHKso3MAgZI+JZ8eUfCC6rqf8Ah/2/TcA8rJXlyVAMRd1d0o4MI+PKUSEEPtAMDW9pdEo1Ib9PSmLdg3/kmyRES4eogFCCJkAgEAgEBDe1mlsXjFk7cERdVNQyLFIw8ypyJmVMBfoIQf3xCAzNxbxbb25V1qPWqyVpUW4EFZuKLg4lBQgHLzJpnLiUwDxguPYm623praG5u9IlogKmbg7OVQmZUoTEhEzFBQ5pYyKUYJj1tHcyxrvUVRt6rJvHCIZlW4lURVAs5ZtNYqZxLjxAJQMXtNqlPqbQrunuCOWxjGICqYzDMmYSHKPoEpgEBAeAwEKq3dbdJRqSz9+mkSkJpLVOQGUMgRcRBITlIBjc2UZBKfjAR67f1n0Gitq1V6ok0pzwhVGipwOJ1SnKBw00igKhuUQGQFw8YD4tHcCz7vRWVt2ppvunEAXTAp01ST4CZJUpDgAywGUoCWvdNBQuRvbSrrLW3aBnbdpkUHMiQRAx84F0wxKOAmnAZ6tb1bX0WrHpNRryKb5I2RZMiayxUzzkJVFEiHIUQHiAmw8YLi9fXnbDJOkqOKgnpV1ZNtSVUwMqRdVb82UhkwOXmnxEZQRCu3cqybQXbt7iqZWCzohlG5RSWUzFKMhH5RDyx9MDFB/2F2d/3ET+7O/6mC45PuZWLmu69ajW7dp1QetLOOVtQnrIgHbkft1U1naqsxATAJS5AAs5hlGIsazd26GV07U2lX2cgRf1mnqCSc8igAqVRMfWQ4CX2RUiduspT2G7djVe5gL5USI5RIusE2yL8xREh1Z8pZ8khH6s/hGBEe7anQa7vVY5rRXRfVlmZdWtvWJiqEKwygGRdVOZRmAnAoCOE/yggMltuz3TZN7grFkqIvUXtbfU55SnYyTQUmUUnxBEfgFT5geIAGA/DFqGjSX1Itbein1B8epP0O3dU/U95VU4nOc2M8MxsPVAaVuvS6XudZVUu4xE6GpbDZGgu3MgaovylIJ8xjchT5BHmH0l9lR1q3LjsCqV2qpW86ZOquQEj1VVoBTGOEhKmJ1iBlUy8MDDl4DKCMJdxHan4gqQRmbI8NbTsrY44SUEy4EH+NBeKrZe4tuKPte5pdxOGbGpt1HRLnYvxIVwqpqn99M/Or8vKUAABxw4wKxNFBen2Xty6qAmZ0kbxB1TBdGyAlTxOUxTGMYeUuYDmmOEseERXat0a/QqttXdg0qotagCLBTW6VZNbJmAcubTMaU8oynFSPP/AM7/APEf9MgdbC2/K3bf2Z6Htmof/LdHQ1Pj/Mcmb0+MEVA/dV2BvLsfl/rA6XL0nR9bjl05fL1uPDmgq6uLy72hx5j6Ts8g6nr9Pp5Twz6vJx9MEVVj/dt06/kntelMOq7XoTn8OrpY/RmgJ1r+Uuld+Wej6Xq1et6HJk6vl1dTJhqe7mnjAQF/u1/aLqe1Sml5p1dDLOQ6PWZsPs54CVXPI3lonfO3eWsiej1ej0eTL8rJn+X7vuS9kB9bK8h9tP5M7d2/N83tmjkzy/SaXxS+tjAc8tMj8N8Xhr1VzXUNMHsaTVMC04rAFRzCkoZQyxlRNmmByBLm48sFay5vuY7+TzL2HvvLLrul6j8jPqc32c3sgLS7vu97e183dq7dn/Uu6dPo58v6LW5Z5fq+EEV9F+53tFW7L2Ds+mTvnSdJ0+nzZOq0+TL70s/rgrQ/s55b/snlvo/5vouh0v6LR0v4OX1QR//Z"},function(e,t,n){e.exports=n.p+"atomicjolt-92b4dadbb4b4c6bc62bcd225dbefa9d3.png"},function(e,t){e.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxOS4xLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9Ii0zOTIgNDc3LjcgMjE0IDQ3LjMiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgLTM5MiA0NzcuNyAyMTQgNDcuMzsiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4NCgkuc3Qwe2ZpbGw6I0ZDQ0MwRjt9DQo8L3N0eWxlPg0KPGc+DQoJPHBhdGggY2xhc3M9InN0MCIgZD0iTS0yMTcuNCw0OTEuNWM1LjEtMC4xLDkuMiwzLjksOS4zLDlzLTMuOSw5LjEtOS4xLDkuMmMtNS4yLDAuMS05LjItMy44LTkuMy05DQoJCUMtMjI2LjYsNDk1LjQtMjIyLjgsNDkxLjYtMjE3LjQsNDkxLjV6IE0tMjExLjgsNTAwLjZjMC0xLjItMC4zLTIuMy0xLTMuM2MtMi4yLTMuNS02LjktMy42LTktMC4xYy0xLjQsMi4yLTEuMiw1LjMsMC4zLDcuMw0KCQljMS44LDIuNSw1LjMsMi44LDcuNiwwLjhDLTIxMi41LDUwNC0yMTEuOSw1MDIuNC0yMTEuOCw1MDAuNnoiLz4NCgk8cGF0aCBjbGFzcz0ic3QwIiBkPSJNLTI0Ni4zLDUwNC40bDIuNCwxLjljMC4xLDAuMSwwLjEsMC4zLDAsMC40Yy0yLjMsMi41LTYuMiwzLjktMTAsMi41Yy0zLjktMS40LTYuNC01LjEtNi4yLTkuMQ0KCQljMC4yLTMuOCwzLjItNy4yLDcuMi04LjNjMy4yLTAuOCw3LjEsMC40LDguNywyLjdjMC4xLDAuMSwwLDAuMy0wLjEsMC4zbC0yLjQsMS45Yy0wLjEsMC4xLTAuMywwLjEtMC40LTAuMQ0KCQljLTAuMS0wLjEtMC4xLTAuMi0wLjItMC4zYy0yLjYtMi44LTUuOC0xLjktNy42LDAuMmMtMi4zLDIuNi0yLDYuNywwLjcsOC45YzIuMSwxLjcsNC44LDEuNSw2LjgtMC40YzAuMi0wLjIsMC40LTAuNCwwLjctMC42DQoJCUMtMjQ2LjUsNTA0LjMtMjQ2LjQsNTA0LjMtMjQ2LjMsNTA0LjR6Ii8+DQoJPHBhdGggY2xhc3M9InN0MCIgZD0iTS0yMDQuOSw0OTEuOGgzYzAuMiwwLDAuMywwLjEsMC4zLDAuM3YxNGMwLDAuMiwwLjEsMC4zLDAuMywwLjNoNy40YzAuMiwwLDAuMywwLjEsMC4zLDAuM3YyLjMNCgkJYzAsMC4yLTAuMSwwLjMtMC4zLDAuM0gtMjA1Yy0wLjIsMC0wLjMtMC4xLTAuMy0wLjN2LTE2LjlDLTIwNS4zLDQ5Mi0yMDUuMSw0OTEuOC0yMDQuOSw0OTEuOHoiLz4NCgk8cGF0aCBjbGFzcz0ic3QwIiBkPSJNLTI4NS41LDUwOS42aC0zLjRjLTAuMSwwLTAuMS0wLjEtMC4xLTAuMXYtMTcuNmMwLTAuMSwwLjEtMC4yLDAuMi0wLjFjMywzLjEsNS45LDYuMSw4LjgsOS4xDQoJCWMwLDAuMSwwLjEsMC4xLDAuMiwwYzIuOS0zLDUuOC02LDguNy05LjFjMC4xLTAuMSwwLjIsMCwwLjIsMC4xdjE3LjZjMCwwLjEtMC4xLDAuMS0wLjEsMC4xaC0zLjNjLTAuMSwwLTAuMS0wLjEtMC4xLTAuMXYtOS4yDQoJCWMtMC4yLTAuMS0wLjItMC4xLTAuMy0wLjFjLTEuNywxLjctMy40LDMuNC01LjEsNS4yYzAsMC0wLjEsMC0wLjIsMGMtMS43LTEuNy0zLjQtMy41LTUuMS01LjNjLTAuMS0wLjEtMC4yLDAtMC4yLDAuMXY5LjQNCgkJQy0yODUuNCw1MDkuNS0yODUuNCw1MDkuNi0yODUuNSw1MDkuNnoiLz4NCgk8cGF0aCBjbGFzcz0ic3QwIiBkPSJNLTMwMS4zLDQ5MS41YzUuMS0wLjEsOS4yLDMuOSw5LjMsOXMtMy45LDkuMS05LjEsOS4yYy01LjIsMC4xLTkuMi0zLjgtOS4zLTkuMQ0KCQlDLTMxMC41LDQ5NS40LTMwNi43LDQ5MS42LTMwMS4zLDQ5MS41eiBNLTMwNi44LDUwMC42YzAuMSwwLjYsMC4xLDEuMywwLjMsMS45YzAuNiwyLDEuOCwzLjQsMy44LDRjMiwwLjUsMy43LDAsNS4yLTEuNQ0KCQljMi4xLTIuMiwyLjItNS44LDAuMy04LjJjLTEuMy0xLjYtMy0yLjQtNS4yLTJDLTMwNSw0OTUuMy0zMDYuNyw0OTcuNi0zMDYuOCw1MDAuNnoiLz4NCgk8cGF0aCBjbGFzcz0ic3QwIiBkPSJNLTMzMi44LDQ5MS40YzIuOCw1LjksNS42LDExLjcsOC40LDE3LjVjMC4xLDAuMSwwLDAuMi0wLjEsMC4yYy0wLjcsMC0xLjMsMC0yLDBjLTAuNSwwLTEuMiwwLjItMS41LTAuMQ0KCQljLTAuNC0wLjItMC41LTAuOS0wLjctMS40Yy0wLjMtMC43LTAuNi0xLjQtMC45LTJjLTAuMS0wLjItMC4zLTAuMy0wLjUtMC4zYy0xLjksMC0zLjcsMC01LjYsMGMtMC4zLDAtMC41LDAuMS0wLjYsMC40DQoJCWMtMC40LDEtMC44LDEuOS0xLjIsMi45Yy0wLjEsMC4zLTAuNSwwLjUtMC44LDAuNWMtMSwwLTIsMC0zLDBjLTAuMSwwLTAuMi0wLjEtMC4xLTAuMmMyLjgtNS45LDUuNi0xMS42LDguNC0xNy41DQoJCUMtMzMzLDQ5MS4zLTMzMi44LDQ5MS4zLTMzMi44LDQ5MS40eiBNLTMzMyw0OTguNGwtMS43LDMuOGMwLDAuMSwwLDAuMiwwLjEsMC4yaDMuM2MwLjEsMCwwLjItMC4xLDAuMS0wLjJsLTEuNi0zLjgNCgkJQy0zMzIuOCw0OTguMy0zMzMsNDk4LjMtMzMzLDQ5OC40eiIvPg0KCTxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik0tMzI1LjEsNDk0LjZ2LTIuNWMwLTAuMSwwLjEtMC4yLDAuMi0wLjJoMTMuMWMwLjEsMCwwLjIsMC4xLDAuMiwwLjJ2Mi41YzAsMC4xLTAuMSwwLjItMC4yLDAuMmgtNC41DQoJCWMtMC4xLDAtMC4yLDAuMS0wLjIsMC4ydjE0LjFjMCwwLjEtMC4xLDAuMi0wLjIsMC4yaC0zLjJjLTAuMSwwLTAuMi0wLjEtMC4yLTAuMlY0OTVjMC0wLjEtMC4xLTAuMi0wLjItMC4yaC00LjUNCgkJQy0zMjUsNDk0LjgtMzI1LjEsNDk0LjctMzI1LjEsNDk0LjZ6Ii8+DQoJPHBhdGggY2xhc3M9InN0MCIgZD0iTS0yMzMsNDkxLjdoMy4yYzAuMSwwLDAuMywwLjEsMC4zLDAuM2MwLDAuMSwwLDAuMiwwLDAuMmMwLDQuOSwwLDEwLjMsMCwxNS4zYzAsMy44LTIuNSw3LTYuMSw3LjkNCgkJYy0wLjYsMC4yLTEuMywwLjItMiwwLjNjLTAuMiwwLTAuMy0wLjEtMC4zLTAuM3YtMi42YzAtMC4xLDAuMS0wLjMsMC4yLTAuM2MwLjMsMCwwLjYsMCwwLjktMC4xYzEuOC0wLjQsMy4yLTIsMy40LTQNCgkJYzAtMC40LDAuMS0wLjksMC4xLTEuM2MwLTQuOCwwLTEwLDAtMTQuOHYtMC40Qy0yMzMuMyw0OTEuOS0yMzMuMiw0OTEuNy0yMzMsNDkxLjd6Ii8+DQoJPHBhdGggY2xhc3M9InN0MCIgZD0iTS0yNjYuNiw0OTEuOGgzLjJjMC4xLDAsMC4yLDAuMSwwLjIsMC4ydjE3LjFjMCwwLjEtMC4xLDAuMi0wLjIsMC4yaC0zLjJjLTAuMSwwLTAuMi0wLjEtMC4yLTAuMlY0OTINCgkJQy0yNjYuOCw0OTEuOS0yNjYuOCw0OTEuOC0yNjYuNiw0OTEuOHoiLz4NCgk8Zz4NCgkJPHBhdGggY2xhc3M9InN0MCIgZD0iTS0xODkuNCw0OTQuOGgtNC41Yy0wLjEsMC0wLjItMC4xLTAuMi0wLjJ2LTIuNWMwLTAuMSwwLjEtMC4yLDAuMi0wLjJoMTMuMWMwLjEsMCwwLjIsMC4xLDAuMiwwLjJ2Mi41DQoJCQljMCwwLjEtMC4xLDAuMi0wLjIsMC4yaC00LjVjLTAuMSwwLTAuMiwwLjEtMC4yLDAuMnYxNC4xYzAsMC4xLTAuMSwwLjItMC4yLDAuMmgtMy4yYy0wLjEsMC0wLjItMC4xLTAuMi0wLjJWNDk1DQoJCQlDLTE4OS4xLDQ5NC45LTE4OS4yLDQ5NC44LTE4OS40LDQ5NC44eiIvPg0KCTwvZz4NCjwvZz4NCjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik0tMzYyLDQ4NS44bC04LjctN2MtMC4xLTAuMS0wLjItMC4xLTAuMywwbC0xOC4zLDI2LjVjLTAuMSwwLjEsMCwwLjIsMCwwLjJsMTUsMTZjMCwwLjEsMC4xLDAuMSwwLjIsMC4xDQoJbDE5LjItNS4xYzAuMSwwLDAuMi0wLjEsMC4xLTAuMmwtNy4zLTMwLjRDLTM2MS45LDQ4NS45LTM2Miw0ODUuOS0zNjIsNDg1Ljh6IE0tMzc5LjcsNTEyLjVsMTEuMi0xNmMwLjEtMC4xLDAuMy0wLjEsMC40LDAuMQ0KCWwyLjcsMTIuOWMwLDAuMSwwLDAuMi0wLjEsMC4ybC0xMy4zLDMuN2MtMC4xLDAtMC4xLDAtMC4yLTAuMWwtMC41LTAuNUMtMzc5LjgsNTEyLjctMzc5LjgsNTEyLjYtMzc5LjcsNTEyLjV6IE0tMzY3LjMsNDkxDQoJTC0zNjcuMyw0OTFsLTEuNy03LjdjMC0wLjIsMC4yLTAuMywwLjMtMC4ybDQuMywzLjRjMC4xLDAuMSwwLjEsMC4yLDAsMC4zTC0zNjcuMyw0OTFMLTM2Ny4zLDQ5MXogTS0zNzEuMSw0ODMuM2wyLjIsMTANCgljMCwwLjEsMCwwLjEsMCwwLjJsLTEyLjIsMTcuNGMtMC4xLDAuMS0wLjIsMC4xLTAuMywwbC01LjEtNS41Yy0wLjEtMC4xLTAuMS0wLjIsMC0wLjJsMTUuMi0yMg0KCUMtMzcxLjQsNDgzLjEtMzcxLjEsNDgzLjEtMzcxLjEsNDgzLjN6IE0tMzc3LjIsNTE1bDEzLjktMy45YzAuMSwwLDAuMi0wLjEsMC4xLTAuMmwtMy41LTE3YzAtMC4xLDAtMC4xLDAtMC4ybDMuMS00LjQNCgljMC4xLTAuMSwwLjMtMC4xLDAuNCwwLjFsNi4yLDI1LjVjMCwwLjEsMCwwLjItMC4xLDAuMmwtMTYuMSw0LjNjLTAuMSwwLTAuMSwwLTAuMi0wLjFsLTMuOC00Qy0zNzcuNCw1MTUuMi0zNzcuNCw1MTUtMzc3LjIsNTE1eiINCgkvPg0KPC9zdmc+DQo="},1484,function(e,t,n,r){var o=n(r);e.exports=function(e){if(!o(e))throw TypeError(e+" is not an object!");return e}},,,function(e,t,n,r,o,i){var a=n(r),s=n(o),u=n(i);e.exports=function(e){return function(t,n,r){var o,i=a(t),l=s(i.length),c=u(r,l);if(e&&n!=n){for(;l>c;)if(o=i[c++],o!=o)return!0}else for(;l>c;c++)if((e||c in i)&&i[c]===n)return e||c||0;return!e&&-1}}},,,,,function(e,t,n,r,o){var i=n(r),a=n(o)("toStringTag"),s="Arguments"==i(function(){return arguments}()),u=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=u(t=Object(e),a))?n:s?i(t):"Object"==(r=i(t))&&"function"==typeof t.callee?"Arguments":r}},,,,,function(e,t,n,r,o){"use strict";var i=n(r),a=n(o);e.exports=function(e,t,n){t in e?i.f(e,t,a(0,n)):e[t]=n}},,function(e,t,n,r){var o=n(r);e.exports=function(e,t,n){if(o(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},,function(e,t,n,r){e.exports=!n(r)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},,function(e,t,n,r,o){var i=n(r),a=n(o).document,s=i(a)&&i(a.createElement);e.exports=function(e){return s?a.createElement(e):{}}},,function(e,t,n,r,o,i){var a=n(r),s=n(o),u=n(i);e.exports=function(e){var t=a(e),n=s.f;if(n)for(var r,o=n(e),i=u.f,l=0;o.length>l;)i.call(e,r=o[l++])&&t.push(r);return t}},function(e,t,n,r,o,i,a,s,u){var l=n(r),c=n(o),d=n(i),f=n(a),p=n(s),h=n(u),m={},v={},t=e.exports=function(e,t,n,r,o){var i,a,s,u,g=o?function(){return e}:h(e),y=l(n,r,t?2:1),b=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(d(g)){for(i=p(e.length);i>b;b++)if(u=t?y(f(a=e[b])[0],a[1]):y(e[b]),u===m||u===v)return u}else for(s=g.call(e);!(a=s.next()).done;)if(u=c(s,y,a.value,t),u===m||u===v)return u};t.BREAK=m,t.RETURN=v},,function(e,t,n,r,o,i){var a=n(r),s=n(o);e.exports=n(i)?function(e,t,n){return a.f(e,t,s(1,n))}:function(e,t,n){return e[t]=n,e}},,function(e,t,n,r){e.exports=n(r).document&&document.documentElement},,,function(e,t,n,r,o,i){e.exports=!n(r)&&!n(o)(function(){return 7!=Object.defineProperty(n(i)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n,r){var o=n(r);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==o(e)?e.split(""):Object(e)}},,,function(e,t,n,r,o){var i=n(r),a=n(o)("iterator"),s=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||s[a]===e)}},,function(e,t,n,r){var o=n(r);e.exports=Array.isArray||function(e){return"Array"==o(e)}},function(e,t,n,r){var o=n(r),i=Math.floor;e.exports=function(e){return!o(e)&&isFinite(e)&&i(e)===e}},,,function(e,t,n,r){var o=n(r);e.exports=function(e,t,n,r){try{return r?t(o(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&o(i.call(e)),t}}},,function(e,t,n,r,o,i,a,s){"use strict";var u=n(r),l=n(o),c=n(i),d={};n(a)(d,n(s)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=u(d,{next:l(1,n)}),c(e,t+" Iterator")}},,function(e,t,n,r,o,i,a,s,u,l,c,d,f){"use strict";var p=n(r),h=n(o),m=n(i),v=n(a),g=n(s),y=n(u),b=n(l),_=n(c),w=n(d),C=n(f)("iterator"),x=!([].keys&&"next"in[].keys()),E="@@iterator",T="keys",k="values",S=function(){return this};e.exports=function(e,t,n,r,o,i,a){b(n,t,r);var s,u,l,c=function(e){if(!x&&e in O)return O[e];switch(e){case T:return function(){return new n(this,e)};case k:return function(){return new n(this,e)}}return function(){return new n(this,e)}},d=t+" Iterator",f=o==k,M=!1,O=e.prototype,A=O[C]||O[E]||o&&O[o],N=A||c(o),I=o?f?c("entries"):N:void 0,P="Array"==t?O.entries||A:A;if(P&&(l=w(P.call(new e)),l!==Object.prototype&&(_(l,d,!0),p||g(l,C)||v(l,C,S))),f&&A&&A.name!==k&&(M=!0,N=function(){return A.call(this)}),p&&!a||!x&&!M&&O[C]||v(O,C,N),y[t]=N,y[d]=S,o)if(s={values:f?N:c(k),keys:i?N:c(T),entries:I},a)for(u in s)u in O||m(O,u,s[u]);else h(h.P+h.F*(x||M),t,s);return s}},,function(e,t,n,r){var o=n(r)("iterator"),i=!1;try{var a=[7][o]();a.return=function(){i=!0},Array.from(a,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var r=[7],a=r[o]();a.next=function(){return{done:n=!0}},r[o]=function(){return a},e(r)}catch(e){}return n}},,function(e,t,n,r,o){var i=n(r),a=n(o);e.exports=function(e,t){for(var n,r=a(e),o=i(r),s=o.length,u=0;s>u;)if(r[n=o[u++]]===t)return n}},,function(e,t,n,r,o,i,a,s){var u=n(r)("meta"),l=n(o),c=n(i),d=n(a).f,f=0,p=Object.isExtensible||function(){return!0},h=!n(s)(function(){return p(Object.preventExtensions({}))}),m=function(e){d(e,u,{value:{i:"O"+ ++f,w:{}}})},v=function(e,t){if(!l(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!c(e,u)){if(!p(e))return"F";if(!t)return"E";m(e)}return e[u].i},g=function(e,t){if(!c(e,u)){if(!p(e))return!0;if(!t)return!1;m(e)}return e[u].w},y=function(e){return h&&b.NEED&&p(e)&&!c(e,u)&&m(e),e},b=e.exports={KEY:u,NEED:!1,fastKey:v,getWeak:g,onFreeze:y}},function(e,t,n,r,o,i){var a=n(r),s=n(o).set,u=a.MutationObserver||a.WebKitMutationObserver,l=a.process,c=a.Promise,d="process"==n(i)(l);e.exports=function(){var e,t,n,r=function(){var r,o;for(d&&(r=l.domain)&&r.exit();e;){o=e.fn,e=e.next;try{o()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(d)n=function(){l.nextTick(r)};else if(u){var o=!0,i=document.createTextNode("");new u(r).observe(i,{characterData:!0}),n=function(){i.data=o=!o}}else if(c&&c.resolve){var f=c.resolve();n=function(){f.then(r)}}else n=function(){s.call(a,r)};return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}},,function(e,t,n,r,o,i,a,s,u){"use strict";var l=n(r),c=n(o),d=n(i),f=n(a),p=n(s),h=Object.assign;e.exports=!h||n(u)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";
-return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=h({},e)[n]||Object.keys(h({},t)).join("")!=r})?function(e,t){for(var n=f(e),r=arguments.length,o=1,i=c.f,a=d.f;r>o;)for(var s,u=p(arguments[o++]),h=i?l(u).concat(i(u)):l(u),m=h.length,v=0;m>v;)a.call(u,s=h[v++])&&(n[s]=u[s]);return n}:h},,function(e,t,n,r,o,i,a,s,u){var l=n(r),c=n(o),d=n(i),f=n(a)("IE_PROTO"),p=function(){},h="prototype",m=function(){var e,t=n(s)("iframe"),r=d.length,o="<",i=">";for(t.style.display="none",n(u).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(o+"script"+i+"document.F=Object"+o+"/script"+i),e.close(),m=e.F;r--;)delete m[h][d[r]];return m()};e.exports=Object.create||function(e,t){var n;return null!==e?(p[h]=l(e),n=new p,p[h]=null,n[f]=e):n=m(),void 0===t?n:c(n,t)}},,,function(e,t,n,r,o,i,a){var s=n(r),u=n(o),l=n(i),c=Object.defineProperty;t.f=n(a)?Object.defineProperty:function(e,t,n){if(s(e),t=l(t,!0),s(n),u)try{return c(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n,r,o,i,a){var s=n(r),u=n(o),l=n(i);e.exports=n(a)?Object.defineProperties:function(e,t){u(e);for(var n,r=l(t),o=r.length,i=0;o>i;)s.f(e,n=r[i++],t[n]);return e}},,function(e,t,n,r,o,i,a,s,u,l){var c=n(r),d=n(o),f=n(i),p=n(a),h=n(s),m=n(u),v=Object.getOwnPropertyDescriptor;t.f=n(l)?v:function(e,t){if(e=f(e),t=p(t,!0),m)try{return v(e,t)}catch(e){}if(h(e,t))return d(!c.f.call(e,t),e[t])}},,function(e,t,n,r,o){var i=n(r),a=n(o).f,s={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],l=function(e){try{return a(e)}catch(e){return u.slice()}};e.exports.f=function(e){return u&&"[object Window]"==s.call(e)?l(e):a(i(e))}},,,function(e,t,n,r,o){var i=n(r),a=n(o).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,a)}},function(e,t,n,r,o,i){var a=n(r),s=n(o),u=n(i)("IE_PROTO"),l=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=s(e),a(e,u)?e[u]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},,function(e,t,n,r,o,i,a){var s=n(r),u=n(o),l=n(i)(!1),c=n(a)("IE_PROTO");e.exports=function(e,t){var n,r=u(e),o=0,i=[];for(n in r)n!=c&&s(r,n)&&i.push(n);for(;t.length>o;)s(r,n=t[o++])&&(~l(i,n)||i.push(n));return i}},,function(e,t,n,r,o){var i=n(r),a=n(o);e.exports=Object.keys||function(e){return i(e,a)}},,,function(e,t,n,r,o,i){var a=n(r),s=n(o),u=n(i);e.exports=function(e,t){var n=(s.Object||{})[e]||Object[e],r={};r[e]=t(n),a(a.S+a.F*u(function(){n(1)}),"Object",r)}},,function(e,t,n,r,o,i,a){var s=n(r),u=n(o),l=function(e,t){if(u(e),!s(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{r=n(i)(Function.call,n(a).f(Object.prototype,"__proto__").set,2),r(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return l(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:l}},function(e,t,n,r,o,i){var a=n(r).f,s=n(o),u=n(i)("toStringTag");e.exports=function(e,t,n){e&&!s(e=n?e:e.prototype,u)&&a(e,u,{configurable:!0,value:t})}},,,function(e,t,n,r,o){var i=n(r)("keys"),a=n(o);e.exports=function(e){return i[e]||(i[e]=a(e))}},function(e,t,n,r){var o=n(r),i="__core-js_shared__",a=o[i]||(o[i]={});e.exports=function(e){return a[e]||(a[e]={})}},,,function(e,t,n,r,o,i){var a=n(r),s=n(o),u=n(i)("species");e.exports=function(e,t){var n,r=a(e).constructor;return void 0===r||void 0==(n=a(r)[u])?t:s(n)}},function(e,t,n,r,o){var i=n(r),a=n(o);e.exports=function(e){return function(t,n){var r,o,s=String(a(t)),u=i(n),l=s.length;return u<0||u>=l?e?"":void 0:(r=s.charCodeAt(u),r<55296||r>56319||u+1===l||(o=s.charCodeAt(u+1))<56320||o>57343?e?s.charAt(u):r:e?s.slice(u,u+2):(r-55296<<10)+(o-56320)+65536)}}},,function(e,t,n,r,o,i,a,s,u){var l,c,d,f=n(r),p=n(o),h=n(i),m=n(a),v=n(s),g=v.process,y=v.setImmediate,b=v.clearImmediate,_=v.MessageChannel,w=0,C={},x="onreadystatechange",E=function(){var e=+this;if(C.hasOwnProperty(e)){var t=C[e];delete C[e],t()}},T=function(e){E.call(e.data)};y&&b||(y=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return C[++w]=function(){p("function"==typeof e?e:Function(e),t)},l(w),w},b=function(e){delete C[e]},"process"==n(u)(g)?l=function(e){g.nextTick(f(E,e,1))}:_?(c=new _,d=c.port2,c.port1.onmessage=T,l=f(d.postMessage,d,1)):v.addEventListener&&"function"==typeof postMessage&&!v.importScripts?(l=function(e){v.postMessage(e+"","*")},v.addEventListener("message",T,!1)):l=x in m("script")?function(e){h.appendChild(m("script"))[x]=function(){h.removeChild(this),E.call(e)}}:function(e){setTimeout(f(E,e,1),0)}),e.exports={set:y,clear:b}},,function(e,t,n,r){var o=n(r),i=Math.max,a=Math.min;e.exports=function(e,t){return e=o(e),e<0?i(e+t,0):a(e,t)}},,function(e,t,n,r,o){var i=n(r),a=n(o);e.exports=function(e){return i(a(e))}},,function(e,t,n,r){var o=n(r),i=Math.min;e.exports=function(e){return e>0?i(o(e),9007199254740991):0}},,,function(e,t,n,r){var o=n(r);e.exports=function(e){return Object(o(e))}},function(e,t,n,r){var o=n(r);e.exports=function(e,t){if(!o(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!o(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!o(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!o(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},,,function(e,t,n,r,o,i,a,s){var u=n(r),l=n(o),c=n(i),d=n(a),f=n(s).f;e.exports=function(e){var t=l.Symbol||(l.Symbol=c?{}:u.Symbol||{});"_"==e.charAt(0)||e in t||f(t,e,{value:d.f(e)})}},,function(e,t,n,r){t.f=n(r)},function(e,t,n,r,o,i){var a=n(r)("wks"),s=n(o),u=n(i).Symbol,l="function"==typeof u,c=e.exports=function(e){return a[e]||(a[e]=l&&u[e]||(l?u:s)("Symbol."+e))};c.store=a},,,function(e,t,n,r,o,i,a){var s=n(r),u=n(o)("iterator"),l=n(i);e.exports=n(a).getIteratorMethod=function(e){if(void 0!=e)return e[u]||e["@@iterator"]||l[s(e)]}},,function(e,t,n,r,o,i,a,s,u,l,c,d){"use strict";var f=n(r),p=n(o),h=n(i),m=n(a),v=n(s),g=n(u),y=n(l),b=n(c);p(p.S+p.F*!n(d)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,r,o,i=h(e),a="function"==typeof this?this:Array,s=arguments.length,u=s>1?arguments[1]:void 0,l=void 0!==u,c=0,d=b(i);if(l&&(u=f(u,s>2?arguments[2]:void 0,2)),void 0==d||a==Array&&v(d))for(t=g(i.length),n=new a(t);t>c;c++)y(n,c,l?u(i[c],c):i[c]);else for(o=d.call(i),n=new a;!(r=o.next()).done;c++)y(n,c,l?m(o,u,[r.value,c],!0):r.value);return n.length=c,n}})},,function(e,t,n,r,o,i,a,s){"use strict";var u=n(r),l=n(o),c=n(i),d=n(a);e.exports=n(s)(Array,"Array",function(e,t){this._t=d(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,l(1)):"keys"==t?l(0,n):"values"==t?l(0,e[n]):l(0,[n,e[n]])},"values"),c.Arguments=c.Array,u("keys"),u("values"),u("entries")},function(e,t,n,r,o){var i=n(r),a=n(o),s=Math.abs;i(i.S,"Number",{isSafeInteger:function(e){return a(e)&&s(e)<=9007199254740991}})},,function(e,t,n,r,o){var i=n(r);i(i.S+i.F,"Object",{assign:n(o)})},,,function(e,t,n,r,o){var i=n(r);i(i.S,"Object",{create:n(o)})},function(e,t,n,r,o,i){var a=n(r);a(a.S+a.F*!n(o),"Object",{defineProperty:n(i).f})},,function(e,t,n,r,o,i){var a=n(r),s=n(o).onFreeze;n(i)("freeze",function(e){return function(t){return e&&a(t)?e(s(t)):t}})},,function(e,t,n,r,o,i){var a=n(r),s=n(o).f;n(i)("getOwnPropertyDescriptor",function(){return function(e,t){return s(a(e),t)}})},,,function(e,t,n,r,o){n(r)("getOwnPropertyNames",function(){return n(o).f})},,function(e,t,n,r,o,i){var a=n(r),s=n(o);n(i)("getPrototypeOf",function(){return function(e){return s(a(e))}})},function(e,t,n,r,o,i){var a=n(r),s=n(o);n(i)("keys",function(){return function(e){return s(a(e))}})},,,function(e,t,n,r,o){var i=n(r);i(i.S,"Object",{setPrototypeOf:n(o).set})},function(e,t,n,r,o,i,a,s,u,l,c,d,f,p,h,m,v,g,y,b,_){"use strict";var w,C,x,E=n(r),T=n(o),k=n(i),S=n(a),M=n(s),O=n(u),A=n(l),N=n(c),I=n(d),P=n(f),D=n(p).set,R=n(h)(),j="Promise",L=T.TypeError,B=T.process,F=T[j],B=T.process,U="process"==S(B),H=function(){},z=!!function(){try{var e=F.resolve(1),t=(e.constructor={})[n(m)("species")]=function(e){e(H,H)};return(U||"function"==typeof PromiseRejectionEvent)&&e.then(H)instanceof t}catch(e){}}(),q=function(e,t){return e===t||e===F&&t===x},W=function(e){var t;return!(!O(e)||"function"!=typeof(t=e.then))&&t},V=function(e){return q(F,e)?new G(e):new C(e)},G=C=function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw L("Bad Promise constructor");t=e,n=r}),this.resolve=A(t),this.reject=A(n)},Y=function(e){try{e()}catch(e){return{error:e}}},$=function(e,t){if(!e._n){e._n=!0;var n=e._c;R(function(){for(var r=e._v,o=1==e._s,i=0,a=function(t){var n,i,a=o?t.ok:t.fail,s=t.resolve,u=t.reject,l=t.domain;try{a?(o||(2==e._h&&Q(e),e._h=1),a===!0?n=r:(l&&l.enter(),n=a(r),l&&l.exit()),n===t.promise?u(L("Promise-chain cycle")):(i=W(n))?i.call(n,s,u):s(n)):u(r)}catch(e){u(e)}};n.length>i;)a(n[i++]);e._c=[],e._n=!1,t&&!e._h&&K(e)})}},K=function(e){D.call(T,function(){var t,n,r,o=e._v;if(X(e)&&(t=Y(function(){U?B.emit("unhandledRejection",o,e):(n=T.onunhandledrejection)?n({promise:e,reason:o}):(r=T.console)&&r.error&&r.error("Unhandled promise rejection",o)}),e._h=U||X(e)?2:1),e._a=void 0,t)throw t.error})},X=function(e){if(1==e._h)return!1;for(var t,n=e._a||e._c,r=0;n.length>r;)if(t=n[r++],t.fail||!X(t.promise))return!1;return!0},Q=function(e){D.call(T,function(){var t;U?B.emit("rejectionHandled",e):(t=T.onrejectionhandled)&&t({promise:e,reason:e._v})})},J=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),$(t,!0))},Z=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw L("Promise can't be resolved itself");(t=W(e))?R(function(){var r={_w:n,_d:!1};try{t.call(e,k(Z,r,1),k(J,r,1))}catch(e){J.call(r,e)}}):(n._v=e,n._s=1,$(n,!1))}catch(e){J.call({_w:n,_d:!1},e)}}};z||(F=function(e){N(this,F,j,"_h"),A(e),w.call(this);try{e(k(Z,this,1),k(J,this,1))}catch(e){J.call(this,e)}},w=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},w.prototype=n(v)(F.prototype,{then:function(e,t){var n=V(P(this,F));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=U?B.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&$(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),G=function(){var e=new w;this.promise=e,this.resolve=k(Z,e,1),this.reject=k(J,e,1)}),M(M.G+M.W+M.F*!z,{Promise:F}),n(g)(F,j),n(y)(j),x=n(b)[j],M(M.S+M.F*!z,j,{reject:function(e){var t=V(this),n=t.reject;return n(e),t.promise}}),M(M.S+M.F*(E||!z),j,{resolve:function(e){if(e instanceof F&&q(e.constructor,this))return e;var t=V(this),n=t.resolve;return n(e),t.promise}}),M(M.S+M.F*!(z&&n(_)(function(e){F.all(e).catch(H)})),j,{all:function(e){var t=this,n=V(t),r=n.resolve,o=n.reject,i=Y(function(){var n=[],i=0,a=1;I(e,!1,function(e){var s=i++,u=!1;n.push(void 0),a++,t.resolve(e).then(function(e){u||(u=!0,n[s]=e,--a||r(n))},o)}),--a||r(n)});return i&&o(i.error),n.promise},race:function(e){var t=this,n=V(t),r=n.reject,o=Y(function(){I(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o&&r(o.error),n.promise}})},,,function(e,t,n,r,o){"use strict";var i=n(r)(!0);n(o)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=i(t,n),this._i+=e.length,{value:e,done:!1})})},,function(e,t,n,r,o,i,a,s,u,l,c,d,f,p,h,m,v,g,y,b,_,w,C,x,E,T,k,S,M,O,A,N,I){"use strict";var P=n(r),D=n(o),R=n(i),j=n(a),L=n(s),B=n(u).KEY,F=n(l),U=n(c),H=n(d),z=n(f),q=n(p),W=n(h),V=n(m),G=n(v),Y=n(g),$=n(y),K=n(b),X=n(_),Q=n(w),J=n(C),Z=n(x),ee=n(E),te=n(T),ne=n(k),re=n(S),oe=te.f,ie=ne.f,ae=ee.f,se=P.Symbol,ue=P.JSON,le=ue&&ue.stringify,ce="prototype",de=q("_hidden"),fe=q("toPrimitive"),pe={}.propertyIsEnumerable,he=U("symbol-registry"),me=U("symbols"),ve=U("op-symbols"),ge=Object[ce],ye="function"==typeof se,be=P.QObject,_e=!be||!be[ce]||!be[ce].findChild,we=R&&F(function(){return 7!=Z(ie({},"a",{get:function(){return ie(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=oe(ge,t);r&&delete ge[t],ie(e,t,n),r&&e!==ge&&ie(ge,t,r)}:ie,Ce=function(e){var t=me[e]=Z(se[ce]);return t._k=e,t},xe=ye&&"symbol"==typeof se.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof se},Ee=function(e,t,n){return e===ge&&Ee(ve,t,n),K(e),t=Q(t,!0),K(n),D(me,t)?(n.enumerable?(D(e,de)&&e[de][t]&&(e[de][t]=!1),n=Z(n,{enumerable:J(0,!1)})):(D(e,de)||ie(e,de,J(1,{})),e[de][t]=!0),we(e,t,n)):ie(e,t,n)},Te=function(e,t){K(e);for(var n,r=Y(t=X(t)),o=0,i=r.length;i>o;)Ee(e,n=r[o++],t[n]);return e},ke=function(e,t){return void 0===t?Z(e):Te(Z(e),t)},Se=function(e){var t=pe.call(this,e=Q(e,!0));return!(this===ge&&D(me,e)&&!D(ve,e))&&(!(t||!D(this,e)||!D(me,e)||D(this,de)&&this[de][e])||t)},Me=function(e,t){if(e=X(e),t=Q(t,!0),e!==ge||!D(me,t)||D(ve,t)){var n=oe(e,t);return!n||!D(me,t)||D(e,de)&&e[de][t]||(n.enumerable=!0),n}},Oe=function(e){for(var t,n=ae(X(e)),r=[],o=0;n.length>o;)D(me,t=n[o++])||t==de||t==B||r.push(t);return r},Ae=function(e){for(var t,n=e===ge,r=ae(n?ve:X(e)),o=[],i=0;r.length>i;)!D(me,t=r[i++])||n&&!D(ge,t)||o.push(me[t]);return o};ye||(se=function(){if(this instanceof se)throw TypeError("Symbol is not a constructor!");var e=z(arguments.length>0?arguments[0]:void 0),t=function(n){this===ge&&t.call(ve,n),D(this,de)&&D(this[de],e)&&(this[de][e]=!1),we(this,e,J(1,n))};return R&&_e&&we(ge,e,{configurable:!0,set:t}),Ce(e)},L(se[ce],"toString",function(){return this._k}),te.f=Me,ne.f=Ee,n(M).f=ee.f=Oe,n(O).f=Se,n(A).f=Ae,R&&!n(N)&&L(ge,"propertyIsEnumerable",Se,!0),W.f=function(e){return Ce(q(e))}),j(j.G+j.W+j.F*!ye,{Symbol:se});for(var Ne="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),Ie=0;Ne.length>Ie;)q(Ne[Ie++]);for(var Ne=re(q.store),Ie=0;Ne.length>Ie;)V(Ne[Ie++]);j(j.S+j.F*!ye,"Symbol",{for:function(e){return D(he,e+="")?he[e]:he[e]=se(e)},keyFor:function(e){if(xe(e))return G(he,e);throw TypeError(e+" is not a symbol!")},useSetter:function(){_e=!0},useSimple:function(){_e=!1}}),j(j.S+j.F*!ye,"Object",{create:ke,defineProperty:Ee,defineProperties:Te,getOwnPropertyDescriptor:Me,getOwnPropertyNames:Oe,getOwnPropertySymbols:Ae}),ue&&j(j.S+j.F*(!ye||F(function(){var e=se();return"[null]"!=le([e])||"{}"!=le({a:e})||"{}"!=le(Object(e))})),"JSON",{stringify:function(e){if(void 0!==e&&!xe(e)){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);return t=r[1],"function"==typeof t&&(n=t),!n&&$(t)||(t=function(e,t){if(n&&(t=n.call(this,e,t)),!xe(t))return t}),r[1]=t,le.apply(ue,r)}}}),se[ce][fe]||n(I)(se[ce],fe,se[ce].valueOf),H(se,"Symbol"),H(Math,"Math",!0),H(P.JSON,"JSON",!0)},,,,function(e,t,n,r){n(r)("asyncIterator")},function(e,t,n,r){n(r)("observable")},,,,function(e,t,n,r){"use strict";var o=n(r),i=(n(11),function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)}),a=function(e,t){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,e,t),r}return new n(e,t)},s=function(e,t,n){var r=this;if(r.instancePool.length){var o=r.instancePool.pop();return r.call(o,e,t,n),o}return new r(e,t,n)},u=function(e,t,n,r){var o=this;if(o.instancePool.length){var i=o.instancePool.pop();return o.call(i,e,t,n,r),i}return new o(e,t,n,r)},l=function(e){var t=this;e instanceof t?void 0:o("25"),e.destructor(),t.instancePool.length<t.poolSize&&t.instancePool.push(e)},c=10,d=i,f=function(e,t){var n=e;return n.instancePool=[],n.getPooled=t||d,n.poolSize||(n.poolSize=c),n.release=l,n},p={addPoolingTo:f,oneArgumentPooler:i,twoArgumentPooler:a,threeArgumentPooler:s,fourArgumentPooler:u};e.exports=p}]));
\ No newline at end of file
diff -ruN oac/author.html oac-new/author.html
--- oac/author.html	2017-05-06 16:57:16.000000000 +0530
+++ oac-new/author.html	2017-05-24 14:49:59.000000000 +0530
@@ -1,4 +1,4 @@
-<!doctype html><html class="no-js" lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><title>Open Assessments</title><meta name="description" content="Open Assessments"><meta name="viewport" content="width=device-width,initial-scale=1"><script type="text/javascript">function getCookie(e){for(var s=e+"=",n=document.cookie.split(";"),t=0;t<n.length;t++){for(var a=n[t];" "==a.charAt(0);)a=a.substring(1);if(0==a.indexOf(s))return a.substring(s.length,a.length)}return""}window.DEFAULT_SETTINGS={user_id:0,max_attempts:1,eid:getCookie("user_id"),api_url:"https://103.36.84.159:8080/api/v1",bank:"assessment.Bank%3A577fcf7cc89cd90cbd5616fa%40ODL.MIT.EDU",assessment_offered_id:"assessment.AssessmentOffered%3A58824256c89cd9741bab8942%40ODL.MIT.EDU",lambda_url:"https://103.36.84.159:8080/api/v1/assessment/hierarchies/nodes/assessment.Bank%3A57e26c90b3fcec4c84a63f25%40ODL.MIT.EDU/children?descendants=6&display_names",assessment_kind:"SUMMATIVE",qBankHost:"https://103.36.84.159:8080/api/v1",assessmentPlayerUrl:"https://103.36.84.159/oac/",editableBankId:"assessment.Bank%3A588f924191d0d930f5a56c2a%40ODL.MIT.EDU",publishedBankId:"assessment.Bank%3A588f923591d0d930f5a56c29%40ODL.MIT.ED",baseEmbedUrl:"https://103.36.84.159/oac/?unlock_next=ON_CORRECT&api_url=https://103.36.84.159:8080/api/v1",one_item_per_page:"assessment-offered-genus-type%3Asingle-item%40ODL.MIT.EDU",single_page:"assessment-offered-genus-type%3Asingle-page%40ODL.MIT.EDU",questions_per_section:1,questions_per_page:1,unlock_next:"ON_CORRECT",locale:"en",audio_recorder_timeout:100},window.DEFAULT_JWT=null</script><script type="text/x-mathjax-config">MathJax.Hub.Config({
+<!doctype html><html class="no-js" lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><title>Open Assessments</title><meta name="description" content="Open Assessments"><meta name="viewport" content="width=device-width,initial-scale=1"><script type="text/javascript">function getCookie(e){for(var s=e+"=",n=document.cookie.split(";"),t=0;t<n.length;t++){for(var a=n[t];" "==a.charAt(0);)a=a.substring(1);if(0==a.indexOf(s))return a.substring(s.length,a.length)}return""}window.DEFAULT_SETTINGS={user_id:0,max_attempts:1,eid:getCookie("user_id"),api_url:"https://clixserver:8080/api/v1",bank:"assessment.Bank%3A577fcf7cc89cd90cbd5616fa%40ODL.MIT.EDU",assessment_offered_id:"assessment.AssessmentOffered%3A58824256c89cd9741bab8942%40ODL.MIT.EDU",lambda_url:"https://clixserver:8080/api/v1/assessment/hierarchies/nodes/assessment.Bank%3A57e26c90b3fcec4c84a63f25%40ODL.MIT.EDU/children?descendants=6&display_names",assessment_kind:"SUMMATIVE",qBankHost:"https://clixserver:8080/api/v1",assessmentPlayerUrl:"https://clixserver/oac/",editableBankId:"assessment.Bank%3A588f924191d0d930f5a56c2a%40ODL.MIT.EDU",publishedBankId:"assessment.Bank%3A588f923591d0d930f5a56c29%40ODL.MIT.ED",baseEmbedUrl:"https://clixserver/oac/?unlock_next=ON_CORRECT&api_url=https://clixserver:8080/api/v1",one_item_per_page:"assessment-offered-genus-type%3Asingle-item%40ODL.MIT.EDU",single_page:"assessment-offered-genus-type%3Asingle-page%40ODL.MIT.EDU",questions_per_section:1,questions_per_page:1,unlock_next:"ON_CORRECT",unlock_prev:"ALWAYS",locale:"en",audio_recorder_timeout:100},window.DEFAULT_JWT=null</script><script type="text/x-mathjax-config">MathJax.Hub.Config({
     extensions: ["tex2jax.js"],
     jax: ["input/TeX", "output/HTML-CSS"],
     tex2jax: {
@@ -7,4 +7,4 @@
       processEscapes: true
     },
     "HTML-CSS": { availableFonts: ["TeX"] }
-  });</script><script src="MathJax/MathJax.js?config=TeX-MML-AM_HTMLorMML.js"></script><link rel="stylesheet" href="/oac/author_styles-7e6281963b740d24f8dd.css"></head><body><div><div id="main-app"></div><script src="/oac/author-34ad1d81e0736482985d_bundle.js"></script></div><script>!function(e,t,a,n,c,o){e.GoogleAnalyticsObject=n,e[n]||(e[n]=function(){(e[n].q=e[n].q||[]).push(arguments)}),e[n].l=+new Date,c=t.createElement(a),o=t.getElementsByTagName(a)[0],c.src="//www.google-analytics.com/analytics.js",o.parentNode.insertBefore(c,o)}(window,document,"script","ga"),ga("create","UA-XXXXX-X"),ga("send","pageview")</script></body></html>
\ No newline at end of file
+  });</script><script src="MathJax/MathJax.js?config=TeX-MML-AM_HTMLorMML.js"></script><link rel="stylesheet" href="/oac/author_styles-733de94e67eb0a6e79a5.css"></head><body><div><div id="main-app"></div><script src="/oac/author-2d22c53dc7d3f353a9da_bundle.js"></script></div><script>!function(e,t,a,n,c,o){e.GoogleAnalyticsObject=n,e[n]||(e[n]=function(){(e[n].q=e[n].q||[]).push(arguments)}),e[n].l=+new Date,c=t.createElement(a),o=t.getElementsByTagName(a)[0],c.src="//www.google-analytics.com/analytics.js",o.parentNode.insertBefore(c,o)}(window,document,"script","ga"),ga("create","UA-XXXXX-X"),ga("send","pageview")</script></body></html>
\ No newline at end of file
diff -ruN oac/author_styles-733de94e67eb0a6e79a5_bundle.js oac-new/author_styles-733de94e67eb0a6e79a5_bundle.js
--- oac/author_styles-733de94e67eb0a6e79a5_bundle.js	1970-01-01 05:30:00.000000000 +0530
+++ oac-new/author_styles-733de94e67eb0a6e79a5_bundle.js	2017-05-24 14:49:58.000000000 +0530
@@ -0,0 +1 @@
+!function(t){function r(n){if(e[n])return e[n].exports;var o=e[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}var e={};return r.m=t,r.c=e,r.p="/oac/",r(0)}(function(t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))switch(typeof t[r]){case"function":break;case"object":t[r]=function(r){var e=r.slice(1),n=t[r[0]];return function(t,r,o){n.apply(this,[t,r,o].concat(e))}}(t[r]);break;default:t[r]=t[t[r]]}return t}({0:function(t,r,e){"use strict";e(1454),e(1455),e(1451),e(1453),e(834),e(835)},834:function(t,r){},835:834,1451:834,1453:834,1454:834,1455:834}));
\ No newline at end of file
diff -ruN oac/author_styles-733de94e67eb0a6e79a5.css oac-new/author_styles-733de94e67eb0a6e79a5.css
--- oac/author_styles-733de94e67eb0a6e79a5.css	1970-01-01 05:30:00.000000000 +0530
+++ oac-new/author_styles-733de94e67eb0a6e79a5.css	2017-05-24 14:49:58.000000000 +0530
@@ -0,0 +1 @@
+body{background-color:#fff;color:#000;scrollbar-3dlight-color:#f0f0ee;scrollbar-arrow-color:#676662;scrollbar-base-color:#f0f0ee;scrollbar-darkshadow-color:#ddd;scrollbar-face-color:#e0e0dd;scrollbar-highlight-color:#f0f0ee;scrollbar-shadow-color:#f0f0ee;scrollbar-track-color:#f5f5f5}body,td,th{font-family:Verdana,Arial,Helvetica,sans-serif;font-size:14px}.mce-content-body .mce-reset{margin:0;padding:0;border:0;outline:0;vertical-align:top;background:transparent;text-decoration:none;color:#000;font-family:Arial;font-size:11px;text-shadow:none;float:none;position:static;width:auto;height:auto;white-space:nowrap;cursor:inherit;line-height:normal;font-weight:400;text-align:left;-webkit-tap-highlight-color:transparent;box-sizing:content-box;direction:ltr;max-width:none}.mce-object{border:1px dotted #3a3a3a;background:#d5d5d5 url(data:image/gif;base64,R0lGODlhEQANALMPAOXl5T8/P29vb7S0tFdXV/39/djY2N3d3crKyu/v7/f39/Ly8p2dnf///zMzMwAAACH5BAEAAA8ALAAAAAARAA0AAARF0MlJq3uutay75lmGNU9pjiNFCsipqhgxmO9HSgFTgtt9O4EBABWa3AiGwvBlfAgWisPOyCslDDSbSHTa+SzgpmdMbkQAADs=) no-repeat 50%}.mce-preview-object{display:inline-block;position:relative;margin:0 2px;line-height:0;border:1px solid gray}.mce-preview-object[data-mce-selected="2"] .mce-shim{display:none}.mce-preview-object .mce-shim{position:absolute;top:0;left:0;width:100%;height:100%;background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)}figure.align-left{float:left}figure.align-right{float:right}figure.image.align-center{display:table;margin-left:auto;margin-right:auto}figure.image{display:inline-block;border:1px solid gray;margin:0 2px 0 1px;background:#f5f2f0}figure.image img{margin:8px 8px 0}figure.image figcaption{margin:6px 8px;text-align:center}.mce-toc{border:1px solid gray}.mce-toc h2{margin:4px}.mce-toc li{list-style-type:none}.mce-pagebreak{cursor:default;display:block;border:0;width:100%;height:5px;border:1px dashed #666;margin-top:15px;page-break-before:always}@media print{.mce-pagebreak{border:0}}.mce-item-anchor{cursor:default;display:inline-block;-webkit-user-select:all;-webkit-user-modify:read-only;-moz-user-select:all;-moz-user-modify:read-only;-ms-user-select:all;user-select:all;user-modify:read-only;width:9px!important;height:9px!important;border:1px dotted #3a3a3a;background:#d5d5d5 url(data:image/gif;base64,R0lGODlhBwAHAIABAAAAAP///yH5BAEAAAEALAAAAAAHAAcAAAIMjGGJmMH9mHQ0AlYAADs=) no-repeat 50%}.mce-nbsp,.mce-shy{background:#aaa}.mce-shy:after{content:"-"}hr{cursor:default}.mce-match-marker{background:#aaa;color:#fff}.mce-match-marker-selected{background:#39f;color:#fff}.mce-spellchecker-word{border-bottom:2px solid red;cursor:default}.mce-spellchecker-grammar{border-bottom:2px solid green;cursor:default}.mce-item-table,.mce-item-table caption,.mce-item-table td,.mce-item-table th{border:1px dashed #bbb}td[data-mce-selected],th[data-mce-selected]{background-color:#39f!important}.mce-edit-focus{outline:1px dotted #333}.mce-content-body [contentEditable=false] [contentEditable=true]:focus{outline:2px solid #2d8ac7}.mce-content-body [contentEditable=false] [contentEditable=true]:hover{outline:2px solid #7acaff}.mce-content-body [contentEditable=false][data-mce-selected]{outline:2px solid #2d8ac7}.mce-resize-bar-dragging{background-color:blue;opacity:.25;filter:alpha(opacity=25);zoom:1}.mce-container,.mce-container *,.mce-reset,.mce-widget,.mce-widget *{margin:0;padding:0;border:0;outline:0;vertical-align:top;background:transparent;text-decoration:none;color:#333;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:14px;text-shadow:none;float:none;position:static;width:auto;height:auto;white-space:nowrap;cursor:inherit;-webkit-tap-highlight-color:transparent;line-height:normal;font-weight:400;text-align:left;box-sizing:content-box;direction:ltr;max-width:none}.mce-widget button{box-sizing:border-box}.mce-container [unselectable]{-moz-user-select:none;-webkit-user-select:none;-o-user-select:none;-ms-user-select:none;user-select:none}.mce-fade{opacity:0;transition:opacity .15s linear}.mce-fade.mce-in{opacity:1}.mce-tinymce{visibility:inherit!important;position:relative}.mce-fullscreen{z-index:100}div.mce-fullscreen{width:100%;height:auto}.mce-tinymce{display:block}.mce-wordcount{position:absolute;top:0;right:0;padding:8px}div.mce-edit-area{background:#fff;-webkit-filter:none;filter:none}.mce-statusbar,.mce-statusbar .mce-container-body{position:relative}.mce-fullscreen .mce-resizehandle{display:none}.mce-charmap{border-collapse:collapse}.mce-charmap td{cursor:default;border:1px solid rgba(0,0,0,.2);width:20px;height:20px;line-height:20px;vertical-align:middle;padding:2px}.mce-charmap td,.mce-charmap td div{text-align:center}.mce-charmap td:hover{background:#d9d9d9}.mce-grid td.mce-grid-cell div{border:1px solid #d6d6d6;width:15px;height:15px;margin:0;cursor:pointer}.mce-grid td.mce-grid-cell div:focus{border-color:#3498db}.mce-grid td.mce-grid-cell div[disabled]{cursor:not-allowed}.mce-grid{border-spacing:2px;border-collapse:separate}.mce-grid a{display:block;border:1px solid transparent}.mce-grid a:focus,.mce-grid a:hover{border-color:#3498db}.mce-grid-border{margin:0 4px}.mce-grid-border a{border-color:#d6d6d6;width:13px;height:13px}.mce-grid-border a.mce-active,.mce-grid-border a:hover{border-color:#3498db;background:#3498db}.mce-text-center{text-align:center}div.mce-tinymce-inline{width:100%}.mce-colorbtn-trans div{text-align:center;vertical-align:middle;font-weight:700;font-size:20px;line-height:16px;color:#707070}.mce-monospace{font-family:Courier New,Courier,monospace}.mce-toolbar-grp{padding:2px 0}.mce-toolbar-grp .mce-flow-layout-item{margin-bottom:0}.mce-rtl .mce-wordcount{left:0;right:auto}.mce-croprect-container,.mce-croprect-handle{position:absolute;top:0;left:0}.mce-croprect-handle{width:20px;height:20px;border:2px solid #fff}.mce-croprect-handle-nw{border-width:2px 0 0 2px;margin:-2px 0 0 -2px;cursor:nw-resize;top:100px;left:100px}.mce-croprect-handle-ne{border-width:2px 2px 0 0;margin:-2px 0 0 -20px;cursor:ne-resize;top:100px;left:200px}.mce-croprect-handle-sw{border-width:0 0 2px 2px;margin:-20px 2px 0 -2px;cursor:sw-resize;top:200px;left:100px}.mce-croprect-handle-se{border-width:0 2px 2px 0;margin:-20px 0 0 -20px;cursor:se-resize;top:200px;left:200px}.mce-croprect-handle-move{position:absolute;cursor:move;border:0}.mce-croprect-block{opacity:.3;filter:alpha(opacity=30);zoom:1;position:absolute;background:#000}.mce-croprect-handle:focus{border-color:#3498db}.mce-croprect-handle-move:focus{outline:1px solid #3498db}.mce-imagepanel{overflow:auto;background:#000}.mce-imagepanel-bg{position:absolute;background:url("data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw==")}.mce-imagepanel img{position:absolute}.mce-imagetool.mce-btn .mce-ico{display:block;width:20px;height:20px;text-align:center;line-height:20px;font-size:20px;padding:5px}.mce-arrow-up{margin-top:12px}.mce-arrow-down{margin-top:-12px}.mce-arrow:after,.mce-arrow:before{position:absolute;left:50%;display:block;width:0;height:0;border-style:solid;border-color:transparent;content:""}.mce-arrow.mce-arrow-up:before{top:-9px;border-bottom-color:rgba(0,0,0,.2);border-width:0 9px 9px;margin-left:-9px}.mce-arrow.mce-arrow-down:before{bottom:-9px;border-top-color:rgba(0,0,0,.2);border-width:9px 9px 0;margin-left:-9px}.mce-arrow.mce-arrow-up:after{top:-8px;border-bottom-color:#f0f0f0;border-width:0 8px 8px;margin-left:-8px}.mce-arrow.mce-arrow-down:after{bottom:-8px;border-top-color:#f0f0f0;border-width:8px 8px 0;margin-left:-8px}.mce-arrow.mce-arrow-left:after,.mce-arrow.mce-arrow-left:before{margin:0}.mce-arrow.mce-arrow-left:before{left:8px}.mce-arrow.mce-arrow-left:after{left:9px}.mce-arrow.mce-arrow-right:after,.mce-arrow.mce-arrow-right:before{left:auto;margin:0}.mce-arrow.mce-arrow-right:before{right:8px}.mce-arrow.mce-arrow-right:after{right:9px}.mce-arrow.mce-arrow-center.mce-arrow.mce-arrow-left:before{left:-9px;top:50%;border-right-color:rgba(0,0,0,.2);border-width:9px 9px 9px 0;margin-top:-9px}.mce-arrow.mce-arrow-center.mce-arrow.mce-arrow-left:after{left:-8px;top:50%;border-right-color:#f0f0f0;border-width:8px 8px 8px 0;margin-top:-8px}.mce-arrow.mce-arrow-center.mce-arrow.mce-arrow-left{margin-left:12px}.mce-arrow.mce-arrow-center.mce-arrow.mce-arrow-right:before{right:-9px;top:50%;border-left-color:rgba(0,0,0,.2);border-width:9px 0 9px 9px;margin-top:-9px}.mce-arrow.mce-arrow-center.mce-arrow.mce-arrow-right:after{right:-8px;top:50%;border-left-color:#f0f0f0;border-width:8px 0 8px 8px;margin-top:-8px}.mce-arrow.mce-arrow-center.mce-arrow.mce-arrow-right{margin-left:-14px}.mce-edit-aria-container>.mce-container-body{display:-webkit-box;display:-ms-flexbox;display:flex}.mce-edit-aria-container>.mce-container-body .mce-edit-area{-webkit-box-flex:1;-ms-flex:1;flex:1}.mce-edit-aria-container>.mce-container-body .mce-sidebar>.mce-container-body{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;height:100%}.mce-edit-aria-container>.mce-container-body .mce-sidebar-panel{min-width:250px;max-width:250px;position:relative}.mce-edit-aria-container>.mce-container-body .mce-sidebar-panel>.mce-container-body{position:absolute;width:100%;height:100%;overflow:auto;top:0;left:0}.mce-sidebar-toolbar{border:0 solid rgba(0,0,0,.2);border-left-width:1px}.mce-sidebar-toolbar .mce-btn.mce-active,.mce-sidebar-toolbar .mce-btn.mce-active:hover{border:1px solid transparent;border-color:transparent;background-color:#2d8ac7}.mce-sidebar-toolbar .mce-btn.mce-active:hover button,.mce-sidebar-toolbar .mce-btn.mce-active:hover button i,.mce-sidebar-toolbar .mce-btn.mce-active button,.mce-sidebar-toolbar .mce-btn.mce-active button i{color:#fff;text-shadow:1px 1px none}.mce-sidebar-panel{border:0 solid rgba(0,0,0,.2);border-left-width:1px}.mce-container,.mce-container-body{display:block}.mce-autoscroll{overflow:hidden}.mce-scrollbar{position:absolute;width:7px;height:100%;top:2px;right:2px;opacity:.4;filter:alpha(opacity=40);zoom:1}.mce-scrollbar-h{top:auto;right:auto;left:2px;bottom:2px;width:100%;height:7px}.mce-scrollbar-thumb{position:absolute;background-color:#000;border:1px solid #888;border-color:rgba(85,85,85,.6);width:5px;height:100%}.mce-scrollbar-h .mce-scrollbar-thumb{width:100%;height:5px}.mce-scrollbar.mce-active,.mce-scrollbar:hover{background-color:#aaa;opacity:.6;filter:alpha(opacity=60);zoom:1}.mce-scroll{position:relative}.mce-panel{border:0 solid #cacaca;border:0 solid rgba(0,0,0,.2);background-color:#f0f0f0}.mce-floatpanel{position:absolute}.mce-floatpanel.mce-fixed{position:fixed}.mce-floatpanel .mce-arrow,.mce-floatpanel .mce-arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.mce-floatpanel .mce-arrow{border-width:11px}.mce-floatpanel .mce-arrow:after{border-width:10px;content:""}.mce-floatpanel.mce-popover{filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);background:transparent;top:0;left:0;background:#fff;border:1px solid rgba(0,0,0,.2);border:1px solid rgba(0,0,0,.25)}.mce-floatpanel.mce-popover.mce-bottom{margin-top:10px;*margin-top:0}.mce-floatpanel.mce-popover.mce-bottom>.mce-arrow{left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:rgba(0,0,0,.2);border-bottom-color:rgba(0,0,0,.25);top:-11px}.mce-floatpanel.mce-popover.mce-bottom>.mce-arrow:after{top:1px;margin-left:-10px;border-top-width:0;border-bottom-color:#fff}.mce-floatpanel.mce-popover.mce-bottom.mce-start{margin-left:-22px}.mce-floatpanel.mce-popover.mce-bottom.mce-start>.mce-arrow{left:20px}.mce-floatpanel.mce-popover.mce-bottom.mce-end{margin-left:22px}.mce-floatpanel.mce-popover.mce-bottom.mce-end>.mce-arrow{right:10px;left:auto}.mce-fullscreen{border:0;padding:0;margin:0;overflow:hidden;height:100%}#mce-modal-block,div.mce-fullscreen{position:fixed;top:0;left:0}#mce-modal-block{opacity:0;filter:alpha(opacity=0);zoom:1;width:100%;height:100%;background:#000}#mce-modal-block.mce-in{opacity:.3;filter:alpha(opacity=30);zoom:1}.mce-window-move{cursor:move}.mce-window{filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);background:transparent;background:#fff;position:fixed;top:0;left:0;opacity:0;-webkit-transform:scale(.1);transform:scale(.1);transition:opacity .15s ease-in,-webkit-transform .1s ease-in;transition:transform .1s ease-in,opacity .15s ease-in;transition:transform .1s ease-in,opacity .15s ease-in,-webkit-transform .1s ease-in}.mce-window.mce-in{-webkit-transform:scale(1);transform:scale(1);opacity:1}.mce-window-head{padding:9px 15px;border-bottom:1px solid #c5c5c5;position:relative}.mce-window-head .mce-close{position:absolute;right:0;top:0;height:38px;width:38px;text-align:center;cursor:pointer}.mce-window-head .mce-close i{color:#858585}.mce-close:hover i{color:#adadad}.mce-window-head .mce-title{line-height:20px;font-size:20px;font-weight:700;text-rendering:optimizelegibility;padding-right:20px}.mce-foot,.mce-window .mce-container-body{display:block}.mce-foot{background-color:#fff;border-top:1px solid #c5c5c5}.mce-window-head .mce-dragh{position:absolute;top:0;left:0;cursor:move;width:90%;height:100%}.mce-window iframe{width:100%;height:100%}.mce-window-body .mce-listbox{border-color:#ccc}.mce-rtl .mce-window-head .mce-close{position:absolute;right:auto;left:15px}.mce-rtl .mce-window-head .mce-dragh{left:auto;right:0}.mce-rtl .mce-window-head .mce-title{direction:rtl;text-align:right}.mce-tooltip{position:absolute;padding:5px;opacity:.8;filter:alpha(opacity=80);zoom:1}.mce-tooltip-inner{font-size:11px;background-color:#000;color:#fff;max-width:200px;padding:5px 8px 4px;text-align:center;white-space:normal}.mce-tooltip-arrow{position:absolute;width:0;height:0;line-height:0;border:5px dashed #000}.mce-tooltip-arrow-n{border-bottom-color:#000}.mce-tooltip-arrow-s{border-top-color:#000}.mce-tooltip-arrow-e{border-left-color:#000}.mce-tooltip-arrow-w{border-right-color:#000}.mce-tooltip-nw,.mce-tooltip-sw{margin-left:-14px}.mce-tooltip-ne,.mce-tooltip-se{margin-left:14px}.mce-tooltip-n .mce-tooltip-arrow{left:50%;margin-left:-5px}.mce-tooltip-n .mce-tooltip-arrow,.mce-tooltip-nw .mce-tooltip-arrow{top:0;border-bottom-style:solid;border-top:none;border-left-color:transparent;border-right-color:transparent}.mce-tooltip-nw .mce-tooltip-arrow{left:10px}.mce-tooltip-ne .mce-tooltip-arrow{top:0;right:10px;border-bottom-style:solid;border-top:none;border-left-color:transparent;border-right-color:transparent}.mce-tooltip-s .mce-tooltip-arrow{left:50%;margin-left:-5px}.mce-tooltip-s .mce-tooltip-arrow,.mce-tooltip-sw .mce-tooltip-arrow{bottom:0;border-top-style:solid;border-bottom:none;border-left-color:transparent;border-right-color:transparent}.mce-tooltip-sw .mce-tooltip-arrow{left:10px}.mce-tooltip-se .mce-tooltip-arrow{bottom:0;right:10px;border-top-style:solid;border-bottom:none;border-left-color:transparent;border-right-color:transparent}.mce-tooltip-e .mce-tooltip-arrow{right:0;top:50%;margin-top:-5px;border-left-style:solid;border-right:none;border-top-color:transparent;border-bottom-color:transparent}.mce-tooltip-w .mce-tooltip-arrow{left:0;top:50%;margin-top:-5px;border-right-style:solid;border-left:none;border-top-color:transparent;border-bottom-color:transparent}.mce-progress{display:inline-block;position:relative;height:20px}.mce-progress .mce-bar-container{display:inline-block;width:100px;height:100%;margin-right:8px;border:1px solid #ccc;overflow:hidden}.mce-progress .mce-text{display:inline-block;margin-top:auto;margin-bottom:auto;font-size:14px;width:40px;color:#333}.mce-bar{display:block;width:0;height:100%;background-color:#d7d7d7;transition:width .2s ease}.mce-notification{position:absolute;background-color:#f0f0f0;padding:5px;margin-top:5px;border:1px solid #ccc;transition:opacity .15s ease-in,-webkit-transform .1s ease-in;transition:transform .1s ease-in,opacity .15s ease-in;transition:transform .1s ease-in,opacity .15s ease-in,-webkit-transform .1s ease-in;opacity:0}.mce-notification.mce-in{opacity:1}.mce-notification-success{background-color:#dff0d8;border-color:#d6e9c6}.mce-notification-info{background-color:#d9edf7;border-color:#779ecb}.mce-notification-warning{background-color:#fcf8e3;border-color:#faebcc}.mce-notification-error{background-color:#f2dede;border-color:#ebccd1}.mce-notification.mce-has-close{padding-right:15px}.mce-notification .mce-ico{margin-top:5px}.mce-notification-inner{display:inline-block;font-size:14px;margin:5px 8px 4px;text-align:center;white-space:normal;color:#31708f}.mce-notification-inner a{text-decoration:underline;cursor:pointer}.mce-notification .mce-progress{margin-right:8px}.mce-notification .mce-progress .mce-text{margin-top:5px}.mce-notification *,.mce-notification .mce-progress .mce-text{color:#333}.mce-notification .mce-progress .mce-bar-container{border-color:#ccc}.mce-notification .mce-progress .mce-bar-container .mce-bar{background-color:#333}.mce-notification-success *,.mce-notification-success .mce-progress .mce-text{color:#3c763d}.mce-notification-success .mce-progress .mce-bar-container{border-color:#d6e9c6}.mce-notification-success .mce-progress .mce-bar-container .mce-bar{background-color:#3c763d}.mce-notification-info *,.mce-notification-info .mce-progress .mce-text{color:#31708f}.mce-notification-info .mce-progress .mce-bar-container{border-color:#779ecb}.mce-notification-info .mce-progress .mce-bar-container .mce-bar{background-color:#31708f}.mce-notification-warning *,.mce-notification-warning .mce-progress .mce-text{color:#8a6d3b}.mce-notification-warning .mce-progress .mce-bar-container{border-color:#faebcc}.mce-notification-warning .mce-progress .mce-bar-container .mce-bar{background-color:#8a6d3b}.mce-notification-error *,.mce-notification-error .mce-progress .mce-text{color:#a94442}.mce-notification-error .mce-progress .mce-bar-container{border-color:#ebccd1}.mce-notification-error .mce-progress .mce-bar-container .mce-bar{background-color:#a94442}.mce-notification .mce-close{position:absolute;top:6px;right:8px;font-size:20px;font-weight:700;line-height:20px;color:#858585;cursor:pointer;height:20px;overflow:hidden}.mce-abs-layout{position:relative}.mce-abs-end,body .mce-abs-layout-item{position:absolute}.mce-abs-end{width:1px;height:1px}.mce-container-body.mce-abs-layout{overflow:hidden}.mce-btn{border:1px solid #b1b1b1;border-color:transparent;position:relative;text-shadow:0 1px 1px hsla(0,0%,100%,.75);display:inline-block;*display:inline;*zoom:1;background-color:#f0f0f0}.mce-btn:focus,.mce-btn:hover{color:#333;background-color:#e3e3e3;border-color:#ccc}.mce-btn.mce-disabled:hover button,.mce-btn.mce-disabled button{cursor:default;opacity:.4;filter:alpha(opacity=40);zoom:1}.mce-btn.mce-active,.mce-btn.mce-active:hover{background-color:#dbdbdb;border-color:#ccc}.mce-btn:active{background-color:#e0e0e0;border-color:#ccc}.mce-btn button{padding:4px 8px;font-size:14px;line-height:20px;*line-height:16px;cursor:pointer;color:#333;text-align:center;overflow:visible;-webkit-appearance:none}.mce-btn button::-moz-focus-inner{border:0;padding:0}.mce-btn i{text-shadow:1px 1px none}.mce-primary.mce-btn-has-text{min-width:50px}.mce-primary{color:#fff;border:1px solid transparent;border-color:transparent;background-color:#2d8ac7}.mce-primary:focus,.mce-primary:hover{background-color:#257cb6;border-color:transparent}.mce-primary.mce-disabled:hover button,.mce-primary.mce-disabled button{cursor:default;opacity:.4;filter:alpha(opacity=40);zoom:1}.mce-primary.mce-active,.mce-primary.mce-active:hover,.mce-primary:not(.mce-disabled):active{background-color:#206ea1}.mce-primary button,.mce-primary button i{color:#fff;text-shadow:1px 1px none}.mce-btn .mce-txt{font-size:inherit;line-height:inherit;color:inherit}.mce-btn-large button{padding:9px 14px;font-size:16px;line-height:normal}.mce-btn-large i{margin-top:2px}.mce-btn-small button{padding:1px 5px;font-size:12px;*padding-bottom:2px}.mce-btn-small i{line-height:20px;vertical-align:top;*line-height:18px}.mce-btn-small .mce-caret,.mce-btn .mce-caret{margin-top:8px;margin-left:0}.mce-caret{display:inline-block;*display:inline;*zoom:1;width:0;height:0;vertical-align:top;border-top:4px solid #333;border-right:4px solid transparent;border-left:4px solid transparent;content:""}.mce-disabled .mce-caret{border-top-color:#aaa}.mce-caret.mce-up{border-bottom:4px solid #333;border-top:0}.mce-btn-flat{border:0;background:transparent;-webkit-filter:none;filter:none}.mce-btn-flat.mce-active,.mce-btn-flat:active,.mce-btn-flat:focus,.mce-btn-flat:hover{border:0;background:#e6e6e6;-webkit-filter:none;filter:none}.mce-btn-has-text .mce-ico{padding-right:5px}.mce-rtl .mce-btn button{direction:rtl}.mce-btn-group .mce-btn{border-width:1px;margin:0;margin-left:2px}.mce-btn-group:not(:first-child){border-left:1px solid #d9d9d9;padding-left:3px;margin-left:3px}.mce-btn-group .mce-first{margin-left:0}.mce-btn-group .mce-btn.mce-flow-layout-item{margin:0}.mce-rtl .mce-btn-group .mce-btn{margin-left:0;margin-right:2px}.mce-rtl .mce-btn-group .mce-first{margin-right:0}.mce-rtl .mce-btn-group:not(:first-child){border-left:none;border-right:1px solid #d9d9d9;padding-right:4px;margin-right:4px}.mce-checkbox{cursor:pointer}i.mce-i-checkbox{margin:0 3px 0 0;border:1px solid #c5c5c5;background-color:#f0f0f0;text-indent:-10em;*font-size:0;*line-height:0;*text-indent:0;overflow:hidden}.mce-checked i.mce-i-checkbox{color:#333;font-size:16px;line-height:16px;text-indent:0}.mce-checkbox.mce-focus i.mce-i-checkbox,.mce-checkbox:focus i.mce-i-checkbox{border:1px solid rgba(82,168,236,.8)}.mce-checkbox.mce-disabled .mce-label,.mce-checkbox.mce-disabled i.mce-i-checkbox{color:#acacac}.mce-checkbox .mce-label{vertical-align:middle}.mce-rtl .mce-checkbox{direction:rtl;text-align:right}.mce-rtl i.mce-i-checkbox{margin:0 0 0 3px}.mce-combobox{position:relative;display:inline-block;*display:inline;*zoom:1;*height:32px}.mce-combobox input{border:1px solid #c5c5c5;border-right-color:#c5c5c5;height:28px}.mce-combobox.mce-disabled input{color:#adadad}.mce-combobox .mce-btn{border:1px solid #c5c5c5;border-left:0;margin:0}.mce-combobox button{padding-right:8px;padding-left:8px}.mce-combobox.mce-disabled .mce-btn button{cursor:default;opacity:.4;filter:alpha(opacity=40);zoom:1}.mce-combobox .mce-status{position:absolute;right:2px;top:50%;line-height:16px;margin-top:-8px;font-size:12px;width:15px;height:15px;text-align:center;cursor:pointer}.mce-combobox.mce-has-status input{padding-right:20px}.mce-combobox.mce-has-open .mce-status{right:37px}.mce-combobox .mce-status.mce-i-warning{color:#c09853}.mce-combobox .mce-status.mce-i-checkmark{color:#468847}.mce-menu.mce-combobox-menu{border-top:0;margin-top:0;max-height:200px}.mce-menu.mce-combobox-menu .mce-menu-item{padding:4px 6px 4px 4px;font-size:11px}.mce-menu.mce-combobox-menu .mce-menu-item-sep{padding:0}.mce-menu.mce-combobox-menu .mce-menu-item-link,.mce-menu.mce-combobox-menu .mce-menu-item-link b,.mce-menu.mce-combobox-menu .mce-text,.mce-menu.mce-combobox-menu .mce-text b{font-size:11px}.mce-colorbox i{border:1px solid #c5c5c5;width:14px;height:14px}.mce-colorbutton .mce-ico{position:relative}.mce-colorbutton-grid{margin:4px}.mce-colorbutton button{padding-right:6px;padding-left:6px}.mce-colorbutton .mce-preview{padding-right:3px;display:block;position:absolute;left:50%;top:50%;margin-left:-17px;margin-top:7px;background:gray;width:13px;height:2px;overflow:hidden}.mce-colorbutton.mce-btn-small .mce-preview{margin-left:-16px;padding-right:0;width:16px}.mce-colorbutton .mce-open{padding-left:4px;padding-right:4px;border-left:1px solid transparent}.mce-colorbutton:hover .mce-open{border-color:#ccc}.mce-colorbutton.mce-btn-small .mce-open{padding:0 3px}.mce-rtl .mce-colorbutton{direction:rtl}.mce-rtl .mce-colorbutton .mce-preview{margin-left:0;padding-right:0;padding-left:3px}.mce-rtl .mce-colorbutton.mce-btn-small .mce-preview{margin-left:0;padding-right:0;padding-left:2px}.mce-rtl .mce-colorbutton .mce-open{padding-left:4px;padding-right:4px;border-left:0}.mce-colorpicker{position:relative;width:250px;height:220px}.mce-colorpicker-sv{position:absolute;top:0;left:0;width:90%;height:100%;border:1px solid #c5c5c5;cursor:crosshair;overflow:hidden}.mce-colorpicker-h-chunk{width:100%}.mce-colorpicker-overlay1,.mce-colorpicker-overlay2{width:100%;height:100%;position:absolute;top:0;left:0}.mce-colorpicker-overlay1{filter:progid:DXImageTransform.Microsoft.gradient(GradientType=1,startColorstr="#ffffff",endColorstr="#00ffffff");-ms-filter:"progid:DXImageTransform.Microsoft.gradient(GradientType=1,startColorstr='#ffffff', endColorstr='#00ffffff')";background:linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.mce-colorpicker-overlay2{filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr="#00000000",endColorstr="#000000");-ms-filter:"progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#00000000', endColorstr='#000000')";background:linear-gradient(180deg,transparent,#000)}.mce-colorpicker-selector1{background:none;position:absolute;width:12px;height:12px;margin:-8px 0 0 -8px;border:1px solid #000;border-radius:50%}.mce-colorpicker-selector2{position:absolute;width:10px;height:10px;border:1px solid #fff;border-radius:50%}.mce-colorpicker-h{position:absolute;top:0;right:0;width:6.5%;height:100%;border:1px solid #c5c5c5;cursor:crosshair}.mce-colorpicker-h-marker{margin-top:-4px;position:absolute;top:0;left:-1px;width:100%;border:1px solid #333;background:#fff;height:4px;z-index:100}.mce-path{display:inline-block;*display:inline;*zoom:1;padding:8px;white-space:normal}.mce-path .mce-txt{padding-right:3px}.mce-path .mce-path-body,.mce-path .mce-txt{display:inline-block}.mce-path-item{display:inline-block;*display:inline;*zoom:1;cursor:pointer;color:#333}.mce-path-item:hover{text-decoration:underline}.mce-path-item:focus{background:#666;color:#fff}.mce-path .mce-divider{display:inline}.mce-disabled .mce-path-item{color:#aaa}.mce-rtl .mce-path{direction:rtl}.mce-fieldset{border:0 solid #9e9e9e}.mce-fieldset>.mce-container-body{margin-top:-15px}.mce-fieldset-title{margin-left:5px;padding:0 5px}.mce-fit-layout{display:inline-block;*display:inline;*zoom:1}.mce-fit-layout-item{position:absolute}.mce-flow-layout-item{display:inline-block;*display:inline;*zoom:1;margin:2px 0 2px 2px}.mce-flow-layout-item.mce-last{margin-right:2px}.mce-flow-layout{white-space:normal}.mce-tinymce-inline .mce-flow-layout{white-space:nowrap}.mce-rtl .mce-flow-layout{text-align:right;direction:rtl}.mce-rtl .mce-flow-layout-item{margin:2px 2px 2px 0}.mce-rtl .mce-flow-layout-item.mce-last{margin-left:2px}.mce-iframe{border:0 solid rgba(0,0,0,.2);width:100%;height:100%}.mce-infobox{display:inline-block;*display:inline;*zoom:1;text-shadow:0 1px 1px hsla(0,0%,100%,.75);overflow:hidden;border:1px solid red}.mce-infobox div{display:block;margin:5px}.mce-infobox div button{position:absolute;top:50%;right:4px;cursor:pointer;margin-top:-8px;display:none}.mce-infobox div button:focus{outline:2px solid #ccc}.mce-infobox.mce-has-help div{margin-right:25px}.mce-infobox.mce-has-help button{display:block}.mce-infobox.mce-success{background:#dff0d8;border-color:#d6e9c6}.mce-infobox.mce-success div{color:#3c763d}.mce-infobox.mce-warning{background:#fcf8e3;border-color:#faebcc}.mce-infobox.mce-warning div{color:#8a6d3b}.mce-infobox.mce-error{background:#f2dede;border-color:#ebccd1}.mce-infobox.mce-error div{color:#a94442}.mce-rtl .mce-infobox div{text-align:right;direction:rtl}.mce-label{display:inline-block;*display:inline;*zoom:1;text-shadow:0 1px 1px hsla(0,0%,100%,.75);overflow:hidden}.mce-label.mce-autoscroll{overflow:auto}.mce-label.mce-disabled{color:#aaa}.mce-label.mce-multiline{white-space:pre-wrap}.mce-label.mce-success{color:#468847}.mce-label.mce-warning{color:#c09853}.mce-label.mce-error{color:#b94a48}.mce-rtl .mce-label{text-align:right;direction:rtl}.mce-menubar .mce-menubtn{border-color:transparent;background:transparent;-webkit-filter:none;filter:none}.mce-menubar .mce-menubtn button{color:#333}.mce-menubar{border:1px solid hsla(0,0%,85%,.52)}.mce-menubar .mce-menubtn button span{color:#333}.mce-menubar .mce-caret{border-top-color:#333}.mce-menubar .mce-menubtn.mce-active,.mce-menubar .mce-menubtn:focus,.mce-menubar .mce-menubtn:hover{border-color:#ccc;background:#fff;-webkit-filter:none;filter:none}.mce-menubtn button{color:#333}.mce-menubtn.mce-btn-small span{font-size:12px}.mce-menubtn.mce-fixed-width span{display:inline-block;overflow-x:hidden;text-overflow:ellipsis;width:90px}.mce-menubtn.mce-fixed-width.mce-btn-small span{width:70px}.mce-menubtn .mce-caret{*margin-top:6px}.mce-rtl .mce-menubtn button{direction:rtl;text-align:right}.mce-menu-item{display:block;padding:6px 15px 6px 12px;clear:both;font-weight:400;line-height:20px;color:#333;white-space:nowrap;cursor:pointer;line-height:normal;border-left:4px solid transparent;margin-bottom:1px}.mce-menu-item .mce-ico,.mce-menu-item .mce-text{color:#333}.mce-menu-item.mce-disabled .mce-ico,.mce-menu-item.mce-disabled .mce-text{color:#adadad}.mce-menu-item.mce-selected .mce-ico,.mce-menu-item.mce-selected .mce-text,.mce-menu-item:focus .mce-ico,.mce-menu-item:focus .mce-text,.mce-menu-item:hover .mce-ico,.mce-menu-item:hover .mce-text{color:#fff}.mce-menu-item.mce-disabled:hover{background:#ccc}.mce-menu-shortcut{color:#adadad;display:inline-block;display:inline;zoom:1;padding:0 15px 0 20px}.mce-menu-item.mce-selected .mce-menu-shortcut,.mce-menu-item:focus .mce-menu-shortcut,.mce-menu-item:hover .mce-menu-shortcut{color:#fff}.mce-menu-item .mce-caret{margin-top:4px;*margin-top:3px;margin-right:6px;border-top:4px solid transparent;border-bottom:4px solid transparent;border-left:4px solid #333}.mce-menu-item.mce-selected .mce-caret,.mce-menu-item:focus .mce-caret,.mce-menu-item:hover .mce-caret{border-left-color:#fff}.mce-menu-align .mce-menu-shortcut{*margin-top:-2px}.mce-menu-align .mce-caret,.mce-menu-align .mce-menu-shortcut{position:absolute;right:0}.mce-menu-item.mce-active i{visibility:visible}.mce-menu-item-normal.mce-active{background-color:#3498db}.mce-menu-item-preview.mce-active{border-left:5px solid #aaa}.mce-menu-item-normal.mce-active .mce-text,.mce-menu-item-normal.mce-active:focus .mce-ico,.mce-menu-item-normal.mce-active:focus .mce-text,.mce-menu-item-normal.mce-active:hover .mce-ico,.mce-menu-item-normal.mce-active:hover .mce-text{color:#fff}.mce-menu-item.mce-selected,.mce-menu-item:focus,.mce-menu-item:hover{text-decoration:none;color:#fff;background-color:#2d8ac7}.mce-menu-item-link{color:#093;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mce-menu-item-link b{color:#093}.mce-menu-item-ellipsis{display:block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mce-menu-item.mce-selected *,.mce-menu-item:focus *,.mce-menu-item:hover *{color:#fff}.mce-menu-item-sep:hover,div.mce-menu .mce-menu-item-sep{border:0;padding:0;height:1px;margin:9px 1px;overflow:hidden;background:transparent;border-bottom:1px solid rgba(0,0,0,.1);cursor:default;-webkit-filter:none;filter:none}div.mce-menu .mce-menu-item b{font-weight:700}.mce-menu-item-indent-1{padding-left:20px}.mce-menu-item-indent-2{padding-left:35px}.mce-menu-item-indent-3{padding-left:40px}.mce-menu-item-indent-4{padding-left:45px}.mce-menu-item-indent-5{padding-left:50px}.mce-menu-item-indent-6{padding-left:55px}.mce-menu.mce-rtl{direction:rtl}.mce-rtl .mce-menu-item{text-align:right;direction:rtl;padding:6px 12px 6px 15px}.mce-menu-align.mce-rtl .mce-caret,.mce-menu-align.mce-rtl .mce-menu-shortcut{right:auto;left:0}.mce-rtl .mce-menu-item .mce-caret{margin-left:6px;margin-right:0;border-right:4px solid #333;border-left:0}.mce-rtl .mce-menu-item.mce-selected .mce-caret,.mce-rtl .mce-menu-item:focus .mce-caret,.mce-rtl .mce-menu-item:hover .mce-caret{border-left-color:transparent;border-right-color:#fff}.mce-throbber{position:absolute;top:0;left:0;width:100%;height:100%;opacity:.6;filter:alpha(opacity=60);zoom:1;background:#fff url(data:image/gif;base64,R0lGODlhHwAfAPUAAP///wAAAOjo6NLS0ry8vK6urqKiotzc3Li4uJqamuTk5NjY2KqqqqCgoLCwsMzMzPb29qioqNTU1Obm5jY2NiYmJlBQUMTExHBwcJKSklZWVvr6+mhoaEZGRsbGxvj4+EhISDIyMgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCgAAACwAAAAAHwAfAAAG/0CAcEgUDAgFA4BiwSQexKh0eEAkrldAZbvlOD5TqYKALWu5XIwnPFwwymY0GsRgAxrwuJwbCi8aAHlYZ3sVdwtRCm8JgVgODwoQAAIXGRpojQwKRGSDCRESYRsGHYZlBFR5AJt2a3kHQlZlERN2QxMRcAiTeaG2QxJ5RnAOv1EOcEdwUMZDD3BIcKzNq3BJcJLUABBwStrNBtjf3GUGBdLfCtadWMzUz6cDxN/IZQMCvdTBcAIAsli0jOHSJeSAqmlhNr0awo7RJ19TJORqdAXVEEVZyjyKtE3Bg3oZE2iK8oeiKkFZGiCaggelSTiA2LhxiZLBSjZjBL2siNBOFQ84LxHA+mYEiRJzBO7ZCQIAIfkECQoAAAAsAAAAAB8AHwAABv9AgHBIFAwIBQPAUCAMBMSodHhAJK5XAPaKOEynCsIWqx0nCIrvcMEwZ90JxkINaMATZXfju9jf82YAIQxRCm14Ww4PChAAEAoPDlsAFRUgHkRiZAkREmoSEXiVlRgfQgeBaXRpo6MOQlZbERN0Qx4drRUcAAJmnrVDBrkVDwNjr8BDGxq5Z2MPyUQZuRgFY6rRABe5FgZjjdm8uRTh2d5b4NkQY0zX5QpjTc/lD2NOx+WSW0++2RJmUGJhmZVsQqgtCE6lqpXGjBchmt50+hQKEAEiht5gUcTIESR9GhlgE9IH0BiTkxrMmWIHDkose9SwcQlHDsOIk9ygiVbl5JgMLuV4HUmypMkTOkEAACH5BAkKAAAALAAAAAAfAB8AAAb/QIBwSBQMCAUDwFAgDATEqHR4QCSuVwD2ijhMpwrCFqsdJwiK73DBMGfdCcZCDWjAE2V347vY3/NmdXNECm14Ww4PChAAEAoPDltlDGlDYmQJERJqEhGHWARUgZVqaWZeAFZbERN0QxOeWwgAAmabrkMSZkZjDrhRkVtHYw+/RA9jSGOkxgpjSWOMxkIQY0rT0wbR2LQV3t4UBcvcF9/eFpdYxdgZ5hUYA73YGxruCbVjt78G7hXFqlhY/fLQwR0HIQdGuUrTz5eQdIc0cfIEwByGD0MKvcGSaFGjR8GyeAPhIUofQGNQSgrB4IsdOCqx7FHDBiYcOQshYjKDxliVDpRjunCjdSTJkiZP6AQBACH5BAkKAAAALAAAAAAfAB8AAAb/QIBwSBQMCAUDwFAgDATEqHR4QCSuVwD2ijhMpwrCFqsdJwiK73DBMGfdCcZCDWjAE2V347vY3/NmdXNECm14Ww4PChAAEAoPDltlDGlDYmQJERJqEhGHWARUgZVqaWZeAFZbERN0QxOeWwgAAmabrkMSZkZjDrhRkVtHYw+/RA9jSGOkxgpjSWOMxkIQY0rT0wbR2I3WBcvczltNxNzIW0693MFYT7bTumNQqlisv7BjswAHo64egFdQAbj0RtOXDQY6VAAUakihN1gSLaJ1IYOGChgXXqEUpQ9ASRlDYhT0xQ4cACJDhqDD5mRKjCAYuArjBmVKDP9+VRljMyMHDwcfuBlBooSCBQwJiqkJAgAh+QQJCgAAACwAAAAAHwAfAAAG/0CAcEgUDAgFA8BQIAwExKh0eEAkrlcA9oo4TKcKwharHScIiu9wwTBn3QnGQg1owBNld+O72N/zZnVzRApteFsODwoQABAKDw5bZQxpQ2JkCRESahIRh1gEVIGVamlmXgBWWxETdEMTnlsIAAJmm65DEmZGYw64UZFbR2MPv0QPY0hjpMYKY0ljjMZCEGNK09MG0diN1gXL3M5bTcTcyFtOvdzBWE+207pjUKpYrL+wY7MAB4EerqZjUAG4lKVCBwMbvnT6dCXUkEIFK0jUkOECFEeQJF2hFKUPAIkgQwIaI+hLiJAoR27Zo4YBCJQgVW4cpMYDBpgVZKL59cEBhw+U+QROQ4bBAoUlTZ7QCQIAIfkECQoAAAAsAAAAAB8AHwAABv9AgHBIFAwIBQPAUCAMBMSodHhAJK5XAPaKOEynCsIWqx0nCIrvcMEwZ90JxkINaMATZXfju9jf82Z1c0QKbXhbDg8KEAAQCg8OW2UMaUNiZAkREmoSEYdYBFSBlWppZl4AVlsRE3RDE55bCAACZpuuQxJmRmMOuFGRW0djD79ED2NIY6TGCmNJY4zGQhBjStPTFBXb21DY1VsGFtzbF9gAzlsFGOQVGefIW2LtGhvYwVgDD+0V17+6Y6BwaNfBwy9YY2YBcMAPnStTY1B9YMdNiyZOngCFGuIBxDZAiRY1eoTvE6UoDEIAGrNSUoNBUuzAaYlljxo2M+HIeXiJpRsRNMaq+JSFCpsRJEqYOPH2JQgAIfkECQoAAAAsAAAAAB8AHwAABv9AgHBIFAwIBQPAUCAMBMSodHhAJK5XAPaKOEynCsIWqx0nCIrvcMEwZ90JxkINaMATZXfjywjlzX9jdXNEHiAVFX8ODwoQABAKDw5bZQxpQh8YiIhaERJqEhF4WwRDDpubAJdqaWZeAByoFR0edEMTolsIAA+yFUq2QxJmAgmyGhvBRJNbA5qoGcpED2MEFrIX0kMKYwUUslDaj2PA4soGY47iEOQFY6vS3FtNYw/m1KQDYw7mzFhPZj5JGzYGipUtESYowzVmF4ADgOCBCZTgFQAxZBJ4AiXqT6ltbUZhWdToUSR/Ii1FWbDnDkUyDQhJsQPn5ZU9atjUhCPHVhgTNy/RSKsiqKFFbUaQKGHiJNyXIAAh+QQJCgAAACwAAAAAHwAfAAAG/0CAcEh8JDAWCsBQIAwExKhU+HFwKlgsIMHlIg7TqQeTLW+7XYIiPGSAymY0mrFgA0LwuLzbCC/6eVlnewkADXVECgxcAGUaGRdQEAoPDmhnDGtDBJcVHQYbYRIRhWgEQwd7AB52AGt7YAAIchETrUITpGgIAAJ7ErdDEnsCA3IOwUSWaAOcaA/JQ0amBXKa0QpyBQZyENFCEHIG39HcaN7f4WhM1uTZaE1y0N/TacZoyN/LXU+/0cNyoMxCUytYLjm8AKSS46rVKzmxADhjlCACMFGkBiU4NUQRxS4OHijwNqnSJS6ZovzRyJAQo0NhGrgs5bIPmwWLCLHsQsfhxBWTe9QkOzCwC8sv5Ho127akyRM7QQAAOwAAAAAAAAAAAA==) no-repeat 50%}.mce-throbber-inline{position:static;height:50px}.mce-menu .mce-throbber-inline{height:25px;background-size:contain}.mce-menu{position:absolute;left:0;top:0;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);background:transparent;z-index:1000;padding:5px 0;margin:-1px 0 0;min-width:160px;background:#fff;border:1px solid #989898;border:1px solid rgba(0,0,0,.2);z-index:1002;max-height:400px;overflow:auto;overflow-x:hidden}.mce-menu i{display:none}.mce-menu-has-icons i{display:inline-block;*display:inline}.mce-menu-sub-tr-tl{margin:-6px 0 0 -1px}.mce-menu-sub-br-bl{margin:6px 0 0 -1px}.mce-menu-sub-tl-tr{margin:-6px 0 0 1px}.mce-menu-sub-bl-br{margin:6px 0 0 1px}.mce-listbox button{text-align:left;padding-right:20px;position:relative}.mce-listbox .mce-caret{position:absolute;margin-top:-2px;right:8px;top:50%}.mce-rtl .mce-listbox .mce-caret{right:auto;left:8px}.mce-rtl .mce-listbox button{padding-right:10px;padding-left:20px}.mce-container-body .mce-resizehandle{position:absolute;right:0;bottom:0;width:16px;height:16px;visibility:visible;cursor:s-resize;margin:0}.mce-container-body .mce-resizehandle-both{cursor:se-resize}i.mce-i-resize{color:#333}.mce-selectbox{background:#fff;border:1px solid #c5c5c5}.mce-slider{border:1px solid #aaa;background:#eee;width:100px;height:10px;position:relative;display:block}.mce-slider.mce-vertical{width:10px;height:100px}.mce-slider-handle{border:1px solid #bbb;background:#ddd;display:block;width:13px;height:13px;position:absolute;top:0;left:0;margin-left:-1px;margin-top:-2px}.mce-slider-handle:focus{background:#bbb}.mce-spacer{visibility:hidden}.mce-splitbtn .mce-open{border-left:1px solid transparent}.mce-splitbtn:hover .mce-open{border-left-color:#ccc}.mce-splitbtn button{padding-right:6px;padding-left:6px}.mce-splitbtn .mce-open{padding-right:4px;padding-left:4px}.mce-splitbtn .mce-open.mce-active{background-color:#dbdbdb;outline:1px solid #ccc}.mce-splitbtn.mce-btn-small .mce-open{padding:0 3px}.mce-rtl .mce-splitbtn{direction:rtl;text-align:right}.mce-rtl .mce-splitbtn button{padding-right:4px;padding-left:4px}.mce-rtl .mce-splitbtn .mce-open{border-left:0}.mce-stack-layout-item,.mce-tabs{display:block}.mce-tabs{border-bottom:1px solid #c5c5c5}.mce-tab,.mce-tabs,.mce-tabs+.mce-container-body{background:#fff}.mce-tab{display:inline-block;*display:inline;*zoom:1;border:1px solid #c5c5c5;border-width:0 1px 0 0;padding:8px;text-shadow:0 1px 1px hsla(0,0%,100%,.75);height:13px;cursor:pointer}.mce-tab:hover{background:#fdfdfd}.mce-tab.mce-active{background:#fdfdfd;border-bottom-color:transparent;margin-bottom:-1px;height:14px}.mce-rtl .mce-tabs{text-align:right;direction:rtl}.mce-rtl .mce-tab{border-width:0 0 0 1px}.mce-textbox{background:#fff;border:1px solid #c5c5c5;display:inline-block;transition:border .2s linear,box-shadow .2s linear;height:28px;resize:none;padding:0 4px;white-space:pre-wrap;*white-space:pre;color:#333}.mce-textbox.mce-focus,.mce-textbox:focus{border-color:#3498db}.mce-placeholder .mce-textbox{color:#aaa}.mce-textbox.mce-multiline{padding:4px;height:auto}.mce-textbox.mce-disabled{color:#adadad}.mce-rtl .mce-textbox{text-align:right;direction:rtl}@font-face{font-family:tinymce;src:url(/oac/tinymce-6196b6eb25b52ac8bbe4a94e6da8ae27.eot);src:url(/oac/tinymce-6196b6eb25b52ac8bbe4a94e6da8ae27.eot?#iefix) format("embedded-opentype"),url(/oac/tinymce-a7a41ea9358b658ec53e9d042334c1a8.woff) format("woff"),url(/oac/tinymce-aefbfcb02f143d3b3d3e47ff3de8efb1.ttf) format("truetype"),url(/oac/tinymce-7262d908f15434ec7c3ae2126bc87350.svg#tinymce) format("svg");font-weight:400;font-style:normal}@font-face{font-family:tinymce-small;src:url(/oac/tinymce-small-12d26c285b71d790f4b0c94423ef1f99.eot);src:url(/oac/tinymce-small-12d26c285b71d790f4b0c94423ef1f99.eot?#iefix) format("embedded-opentype"),url(/oac/tinymce-small-7e0c88f02dcaf2f78c90b4dc7827b709.woff) format("woff"),url(/oac/tinymce-small-28806940c647cf671bebf4ae0630e570.ttf) format("truetype"),url(/oac/tinymce-small-a2a1f732cc34764c684ed521c6f3327c.svg#tinymce) format("svg");font-weight:400;font-style:normal}.mce-ico{font-family:tinymce,Arial;font-style:normal;font-weight:400;font-variant:normal;font-size:16px;line-height:16px;speak:none;vertical-align:text-top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;background:transparent 50%;background-size:cover;width:16px;height:16px;color:#333}.mce-btn-small .mce-ico{font-family:tinymce-small,Arial}.mce-i-save:before{content:"\E000"}.mce-i-newdocument:before{content:"\E001"}.mce-i-fullpage:before{content:"\E002"}.mce-i-alignleft:before{content:"\E003"}.mce-i-aligncenter:before{content:"\E004"}.mce-i-alignright:before{content:"\E005"}.mce-i-alignjustify:before{content:"\E006"}.mce-i-alignnone:before{content:"\E003"}.mce-i-cut:before{content:"\E007"}.mce-i-paste:before{content:"\E008"}.mce-i-searchreplace:before{content:"\E009"}.mce-i-bullist:before{content:"\E00A"}.mce-i-numlist:before{content:"\E00B"}.mce-i-indent:before{content:"\E00C"}.mce-i-outdent:before{content:"\E00D"}.mce-i-blockquote:before{content:"\E00E"}.mce-i-undo:before{content:"\E00F"}.mce-i-redo:before{content:"\E010"}.mce-i-link:before{content:"\E011"}.mce-i-unlink:before{content:"\E012"}.mce-i-anchor:before{content:"\E013"}.mce-i-image:before{content:"\E014"}.mce-i-media:before{content:"\E015"}.mce-i-help:before{content:"\E016"}.mce-i-code:before{content:"\E017"}.mce-i-insertdatetime:before{content:"\E018"}.mce-i-preview:before{content:"\E019"}.mce-i-backcolor:before,.mce-i-forecolor:before{content:"\E01A"}.mce-i-table:before{content:"\E01B"}.mce-i-hr:before{content:"\E01C"}.mce-i-removeformat:before{content:"\E01D"}.mce-i-subscript:before{content:"\E01E"}.mce-i-superscript:before{content:"\E01F"}.mce-i-charmap:before{content:"\E020"}.mce-i-emoticons:before{content:"\E021"}.mce-i-print:before{content:"\E022"}.mce-i-fullscreen:before{content:"\E023"}.mce-i-spellchecker:before{content:"\E024"}.mce-i-nonbreaking:before{content:"\E025"}.mce-i-template:before{content:"\E026"}.mce-i-pagebreak:before{content:"\E027"}.mce-i-restoredraft:before{content:"\E028"}.mce-i-bold:before{content:"\E02A"}.mce-i-italic:before{content:"\E02B"}.mce-i-underline:before{content:"\E02C"}.mce-i-strikethrough:before{content:"\E02D"}.mce-i-visualblocks:before,.mce-i-visualchars:before{content:"\E02E"}.mce-i-ltr:before{content:"\E02F"}.mce-i-rtl:before{content:"\E030"}.mce-i-copy:before{content:"\E031"}.mce-i-resize:before{content:"\E032"}.mce-i-browse:before{content:"\E034"}.mce-i-pastetext:before{content:"\E035"}.mce-i-rotateleft:before{content:"\EAA8"}.mce-i-rotateright:before{content:"\EAA9"}.mce-i-crop:before{content:"\EE78"}.mce-i-editimage:before{content:"\E915"}.mce-i-options:before{content:"\EC6A"}.mce-i-flipv:before{content:"\EAAA"}.mce-i-fliph:before{content:"\EAAC"}.mce-i-zoomin:before{content:"\EB35"}.mce-i-zoomout:before{content:"\EB36"}.mce-i-sun:before{content:"\ECCC"}.mce-i-moon:before{content:"\ECCD"}.mce-i-arrowleft:before{content:"\EDC0"}.mce-i-arrowright:before{content:"\E93C"}.mce-i-drop:before{content:"\E935"}.mce-i-contrast:before{content:"\ECD4"}.mce-i-sharpen:before{content:"\EBA7"}.mce-i-resize2:before{content:"\EDF9"}.mce-i-orientation:before{content:"\E601"}.mce-i-invert:before{content:"\E602"}.mce-i-gamma:before{content:"\E600"}.mce-i-remove:before{content:"\ED6A"}.mce-i-tablerowprops:before{content:"\E604"}.mce-i-tablecellprops:before{content:"\E605"}.mce-i-table2:before{content:"\E606"}.mce-i-tablemergecells:before{content:"\E607"}.mce-i-tableinsertcolbefore:before{content:"\E608"}.mce-i-tableinsertcolafter:before{content:"\E609"}.mce-i-tableinsertrowbefore:before{content:"\E60A"}.mce-i-tableinsertrowafter:before{content:"\E60B"}.mce-i-tablesplitcells:before{content:"\E60D"}.mce-i-tabledelete:before{content:"\E60E"}.mce-i-tableleftheader:before{content:"\E62A"}.mce-i-tabletopheader:before{content:"\E62B"}.mce-i-tabledeleterow:before{content:"\E800"}.mce-i-tabledeletecol:before{content:"\E801"}.mce-i-codesample:before{content:"\E603"}.mce-i-fill:before{content:"\E902"}.mce-i-borderwidth:before{content:"\E903"}.mce-i-line:before{content:"\E904"}.mce-i-count:before{content:"\E905"}.mce-i-translate:before{content:"\E907"}.mce-i-drag:before{content:"\E908"}.mce-i-home:before{content:"\E90B"}.mce-i-upload:before{content:"\E914"}.mce-i-bubble:before{content:"\E91C"}.mce-i-user:before{content:"\E91D"}.mce-i-lock:before{content:"\E926"}.mce-i-unlock:before{content:"\E927"}.mce-i-settings:before{content:"\E928"}.mce-i-remove2:before{content:"\E92A"}.mce-i-menu:before{content:"\E92D"}.mce-i-warning:before{content:"\E930"}.mce-i-question:before{content:"\E931"}.mce-i-pluscircle:before{content:"\E932"}.mce-i-info:before{content:"\E933"}.mce-i-notice:before{content:"\E934"}.mce-i-arrowup:before{content:"\E93B"}.mce-i-arrowdown:before{content:"\E93D"}.mce-i-arrowup2:before{content:"\E93F"}.mce-i-arrowdown2:before{content:"\E940"}.mce-i-menu2:before{content:"\E941"}.mce-i-newtab:before{content:"\E961"}.mce-i-a11y:before{content:"\E900"}.mce-i-insert:before,.mce-i-plus:before{content:"\E93A"}.mce-i-minus:before{content:"\E939"}.mce-i-books:before{content:"\E911"}.mce-i-reload:before{content:"\E906"}.mce-i-toc:before{content:"\E901"}.mce-i-checkbox:before,.mce-i-checkmark:before,.mce-i-selected:before{content:"\E033"}.mce-i-insert{font-size:14px}.mce-i-selected{visibility:hidden}i.mce-i-backcolor{text-shadow:none;background:#bbb}@font-face{font-family:open_sansbold;src:url(/oac/opensans-bold-webfont-316f0bfd4ad823527bde5f1523ae466b.woff2) format("woff2"),url(/oac/opensans-bold-webfont-48eddbb86b0dd04a412aa631bda1b651.woff) format("woff");font-weight:400;font-style:normal}@font-face{font-family:open_sansregular;src:url(/oac/opensans-regular-webfont-1d81af74bf67efb4fea4c376a4f4e8e1.woff2) format("woff2"),url(/oac/opensans-regular-webfont-cd133a7cfd2d0e0c8282eacf3a7c45b7.woff) format("woff");font-weight:400;font-style:normal}@font-face{font-family:open_sanslight;src:url(/oac/opensans-light-webfont-12b992bf2f102ea40a952914966a73b5.woff2) format("woff2"),url(/oac/opensans-light-webfont-5c5c82db96b29e89bc839c6f1ae9adbd.woff) format("woff");font-weight:400;font-style:normal}@font-face{font-family:open_sanssemibold;src:url(/oac/opensans-semibold-webfont-5cc567d29f0c810258ff8a012b4115e8.woff2) format("woff2"),url(/oac/opensans-semibold-webfont-6c95241693564ed97267b3deaf39fa23.woff) format("woff");font-weight:400;font-style:normal}@font-face{font-family:Material Icons;font-style:normal;font-weight:400;src:url(/oac/MaterialIcons-Regular-e79bfd88537def476913f3ed52f4f4b3.eot);src:local("Material Icons"),local("MaterialIcons-Regular"),url(/oac/MaterialIcons-Regular-570eb83859dc23dd0eec423a49e147fe.woff2) format("woff2"),url(/oac/MaterialIcons-Regular-012cf6a10129e2275d79d6adac7f3b02.woff) format("woff"),url(/oac/MaterialIcons-Regular-a37b0c01c0baf1888ca812cc0508f6e2.ttf) format("truetype")}.material-icons{font-family:Material Icons;font-weight:400;font-style:normal;font-size:24px;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;-webkit-font-feature-settings:"liga";font-feature-settings:"liga"}*{box-sizing:border-box;vertical-align:top}html,html a{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-shadow:1px 1px 1px rgba(0,0,0,.004)}html{font-size:10px}body,html{height:100%}body{background-color:#f5f5f5}body,ul{margin:0}ul{padding:0;list-style-type:none}a,a:link,a:visited{text-decoration:none}.au-c-header{background:#fff;box-shadow:0 .3rem .6rem rgba(0,0,0,.15)}.au-c-header-top{height:6rem;background:#fff;padding:0 2rem;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.au-c-logo{height:3.4rem}.au-c-header-bottom{height:5rem;border-top:.1rem solid #ccc;padding:0 2rem;background-color:#fafafa;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.au-c-header-bottom,.au-c-header-bottom__left,.au-c-header-bottom__right{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.au-c-breadcrumb__divider{font-family:open_sansregular,sans-serif;font-size:1.6rem;color:#989898}.au-c-btn{border:none;background:none;font-family:open_sansbold,sans-serif;font-size:1.2rem;text-transform:uppercase;cursor:pointer;border-radius:3px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.au-c-btn:active{-webkit-transform:scale(.98);transform:scale(.98)}.au-c-btn a{font-size:1.2rem}.au-c-btn--sm{height:3rem;padding:0 2rem}.au-c-btn--sm i{margin-right:.8rem;margin-left:-.4rem;font-size:2rem}.au-c-btn--md{height:4rem;padding:0 2rem}.au-c-btn--md i{margin-right:.8rem;margin-left:-.4rem;font-size:2rem}.au-c-btn--square{height:3rem;width:3rem;text-align:center}.au-c-btn--square:active{-webkit-transform:scale(.96);transform:scale(.96)}.au-c-btn--outline{border:.2rem solid #912a7d;color:#912a7d;transition:all .1s ease}.au-c-btn--outline:hover{background-color:#912a7d;color:#fff}.au-c-btn--back{padding:0 1.5rem}.au-c-btn--back i{margin-right:.5rem;margin-left:-1rem}.au-c-btn--green{border:.2rem solid #2bab6d;background-color:#2bab6d;color:#fff;transition:all .1s ease}.au-c-btn--green:hover{background-color:#fff;color:#2bab6d}.au-c-btn--gray{border:.1rem solid #a9a9a9;background-color:#f5f5f5;color:#757575;transition:all .1s ease}.au-c-btn--gray:hover{background-color:#fff;border-color:#989898;color:#333}.au-c-btn--white{border:.2rem solid #fff;background-color:#fff;color:#4f7db2;transition:all .1s ease}.au-c-btn--white:hover{background-color:transparent;color:#fff}.au-c-btn--maroon{border:.2rem solid #912a7d;background-color:#912a7d;color:#fff;transition:all .1s ease}.au-c-btn--maroon:hover{background-color:#fff;color:#912a7d}.au-c-btn--new{min-width:15rem;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.au-c-btn--breadcrumb{text-transform:none;font-size:1.6rem;font-family:open_sansregular,sans-serif;color:#333;border:.1rem solid transparent;transition:all .1s ease}.au-c-btn--breadcrumb i{font-size:2rem;margin-right:1rem;color:#989898}.au-c-btn--breadcrumb:hover{background:#f5f5f5;border:.1rem solid #ccc}.au-c-btn--breadcrumb.is-active{font-family:open_sanssemibold,sans-serif;cursor:auto;pointer-events:none}.au-c-btn--table{background-color:#615696;margin-left:1rem;color:#fff;transition:all .1s ease}.au-c-btn--table i{color:#fff;transition:color .1s ease}.au-c-btn--table:hover{background-color:#fff;color:#4c4085}.au-c-btn--table:hover i{color:#4c4085}.au-c-btn--table.is-inactive{color:hsla(0,0%,100%,.5);pointer-events:none}.au-c-btn--table.is-inactive i{color:hsla(0,0%,100%,.5)}.au-c-button-dropdown>li{position:relative;width:100%}.au-c-button-dropdown li{display:block}.au-c-button-dropdown__dropdown{display:none;position:absolute;border-top:.2rem solid #912a7d;background:#912a7d;padding-bottom:.2rem;top:2.8rem;left:0;width:100%;z-index:100}.au-c-button-dropdown__dropdown.is-active{display:block}.au-c-btn--dropdown{width:15rem;padding:0 1rem;border:.2rem solid #912a7d;background-color:#912a7d;color:#fff;transition:all .1s ease;position:relative;z-index:101}.au-c-btn--dropdown:hover{background-color:#691f5b;border-color:#691f5b}.au-c-btn--dropdown i{margin-left:1rem;margin-right:-.5rem}.au-c-btn--dropdown-item{width:100%;padding:0 1rem;border-top:.2rem solid #912a7d;background-color:#691f5b;color:#fff;transition:all .1s ease;border-radius:0;height:3.2rem}.au-c-btn--dropdown-item:hover{background-color:#56194a}.au-c-btn--dropdown-item i{margin-right:1rem;margin-left:0}.au-u-ml-md{margin-left:2rem!important}.au-u-mt-md{margin-top:2rem!important}.au-u-mb-md{margin-bottom:2rem!important}.au-u-ml-sm{margin-left:1rem!important}.au-u-mt-sm{margin-top:1rem!important}.au-u-mr-sm{margin-right:1rem!important}.au-u-right{margin-left:auto!important}:focus{outline:thin dotted}.au-o-contain{max-width:100rem;margin:0 auto;padding-bottom:10rem}.au-o-item{margin-top:2rem;background-color:#fff;box-shadow:0 0 .6rem rgba(0,0,0,.3)}.au-o-item__top{height:5.1rem;padding:0 2.5rem 0 0;background-color:#fafafa;border-bottom:.1rem solid #ccc;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;font-family:open_sanssemibold,sans-serif;font-size:1.2rem}.au-o-left,.au-o-right{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.au-o-row{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-left:-3rem}.au-o-half{width:50%;padding-left:3rem}.au-o-quarter{width:25%;padding-left:2rem}.au-o-flex-center,.au-o-flex-contain{display:-webkit-box;display:-ms-flexbox;display:flex}.au-o-flex-center{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.au-c-assessment-top{background-color:#fff;padding-left:2.5rem}.au-c-assessment-title{padding:3rem 2.5rem 4rem}.au-c-assessment-title h1{margin:0}.au-c-question-settings{display:none;padding:0 2.5rem;border-bottom:.1rem solid #ccc;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.au-c-question-settings,.au-c-question__number{height:5rem;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.au-c-question__number{color:#fff;background:#4c4085;margin:0;width:5rem;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-family:open_sanssemibold,sans-serif;font-size:2rem}.au-c-question__type{color:#333;margin-left:2rem}.au-c-question-icons button{display:none}.au-c-question-icons i{width:3rem;height:3rem;border-radius:3px;text-align:center;font-size:2rem;line-height:3rem;color:#777;cursor:pointer}.au-c-question-icons i:hover{color:#333}.au-c-question-icons .au-c-btn--square{margin-left:.5rem;padding:0}.au-c-question-icons--reorder i{display:block;background:#6393c9;color:#fff}.au-c-question-icons--reorder i:hover{background:#336093;color:#fff}.au-c-question-icons--reorder button{display:block;margin-left:.5rem}.au-c-question-icons--reorder button.is-hidden{display:none}.au-c-question.is-active .au-c-question__answers{display:block;margin-bottom:2.5rem}.au-c-question.is-active .au-c-question-settings{display:-webkit-box;display:-ms-flexbox;display:flex}.au-c-question.is-active .au-c-question-icons button{display:inline-block}.au-c-question.is-active .au-c-question__feedback{display:block}.au-c-question.is-active .au-c-question__feedback .au-c-input__bottom.no-border,.au-c-question.is-active .au-c-question__text .au-c-input__bottom.no-border{background:#a9a9a9}.au-c-question .au-c-question__text:hover .au-c-input__bottom.no-border{border-top:.1rem solid #ccc}.au-c-question.reorder-active .au-o-item__top{background-color:#4f7db2}.au-c-question.reorder-active .au-o-item__top .au-c-question__number{background:#6393c9}.au-c-question.reorder-active .au-c-question__number,.au-c-question.reorder-active .au-c-question__type{color:#fff}.au-c-question__content{padding:3rem 2.5rem 4rem}.au-c-question__content.is-reordering{pointer-events:none}.au-c-question__answers{display:none;margin-top:3rem;margin-bottom:0}.au-c-question__answers .au-no-outline{outline:none}.au-c-question__answers--maintain .au-c-answer{padding-right:13.5rem}.au-c-question__feedback{display:none}.au-c-question-add{display:block;margin:2rem 2rem 0}.au-c-question-add__button{display:block;width:100%;background:none;text-align:center;transition:background .1s ease,-webkit-transform .1s ease;transition:background .1s ease,transform .1s ease;transition:background .1s ease,transform .1s ease,-webkit-transform .1s ease;cursor:pointer;border:.2rem dashed #a9a9a9;font-family:open_sanssemibold,sans-serif;text-transform:uppercase;font-size:1.2rem;color:#333;padding:1.5rem}.au-c-question-add__button:hover{background:#fafafa}.au-c-question-add__button:active{-webkit-transform:scale(.99);transform:scale(.99)}.au-c-question-add__buttons{margin-top:3rem}.au-c-feedback{display:-webkit-box;display:-ms-flexbox;display:flex}.au-c-feedback.is-hidden{display:none}.au-c-input{position:relative;width:100%}.au-c-input--inline{display:inline-block;width:auto}.au-c-input__contain{-webkit-box-flex:1;-ms-flex:1;flex:1}.au-c-text-input,.au-c-textarea{width:100%;color:#333;border:none;border-top:.2rem solid #fff;background:none}.au-c-text-input:focus,.au-c-textarea:focus{outline:none}.au-c-text-input:focus+.au-c-input__bottom,.au-c-textarea:focus+.au-c-input__bottom{border-color:#4f7db2;background:#4f7db2}.au-c-text-input:focus+.au-c-input__bottom.has-error,.au-c-textarea:focus+.au-c-input__bottom.has-error{border-color:#d04545;background:#d04545}.au-c-textarea{resize:none;padding-top:.6rem}.au-c-input__bottom{height:.2rem;background:#a9a9a9}.au-c-input__bottom.no-border{border-top:none}.au-c-input__bottom.is-focused{border-color:#4f7db2;background:#4f7db2}.au-c-input__bottom.has-error{border-color:#d04545;background:#d04545}.au-c-error-text{color:#d04545;font-family:open_sanssemibold,sans-serif;font-size:1.2rem;margin-top:.5rem}.au-c-text-input--large{font-size:3rem;font-family:open_sanssemibold,sans-serif}.au-c-text-input--medium{min-height:4rem;font-size:2rem;font-family:open_sanssemibold,sans-serif}.au-c-text-input--medium .au-c-placeholder{line-height:4rem}.au-c-text-input--small{min-height:3.5rem;font-size:1.6rem;font-family:open_sansregular,sans-serif}.au-c-text-input--small .au-c-placeholder{line-height:3.5rem}.au-c-text-input--smaller{min-height:3rem;font-size:1.2rem;font-family:open_sanssemibold,sans-serif}.au-c-text-input--smaller .au-c-placeholder{line-height:3rem}.au-c-wysiwyg ul{list-style-type:disc;margin:20px 0;padding-left:40px}.au-c-wysiwyg.is-focused .mce-content-body{border-top:.1rem solid #ccc;outline:none}.au-c-wysiwyg.is-focused .mce-panel{display:block!important}.au-c-wysiwyg .mce-content-body{padding:.5rem 0;overflow:auto}.au-c-wysiwyg .mce-panel{background:none;width:100%!important;border-bottom:none;border-left:none;border-right:none;border-top:.1rem solid #4f7db2}.au-c-wysiwyg .mce-btn{background:none;border-radius:3px;border:.1rem solid transparent}.au-c-wysiwyg .mce-btn:hover{background:#e5e5e5;border:.1rem solid #ccc}.au-c-wysiwyg .mce-btn:hover .mce-ico{color:#333}.au-c-wysiwyg .mce-btn.mce-active{background:#f5f5f5;border:.1rem solid #ccc}.au-c-wysiwyg .mce-btn.mce-active .mce-ico{color:#333}.au-c-wysiwyg .mce-btn.mce-active:hover{background:#e5e5e5;border:.1rem solid #ccc}.au-c-wysiwyg .mce-btn .mce-i-audio{font-family:Material Icons;font-size:2rem;width:auto}.au-c-wysiwyg .mce-btn .mce-i-audio:before{content:"\E050"}.au-c-wysiwyg .mce-btn .mce-i-image{font-family:Material Icons;font-size:2rem;width:auto}.au-c-wysiwyg .mce-btn .mce-i-image:before{content:"\E251"}.au-c-wysiwyg .mce-btn .mce-i-video{font-family:Material Icons;font-size:2rem;width:auto}.au-c-wysiwyg .mce-btn .mce-i-video:before{content:"\E04B"}.au-c-wysiwyg .mce-flow-layout-item{margin:0}.au-c-wysiwyg .mce-ico{color:#818181}.au-c-wysiwyg p{margin:0}.au-c-wysiwyg strong{font-family:open_sansbold,sans-serif}.au-c-wysiwyg sub{vertical-align:sub!important}.au-c-wysiwyg sup{vertical-align:super!important}.mce-floatpanel .mce-window-head{height:5rem;padding:0 1rem 0 2rem;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.mce-floatpanel .mce-window-head .mce-close{position:relative;margin-left:auto}.mce-floatpanel .mce-btn button{border:none;background:none;text-transform:uppercase;cursor:pointer;border-radius:3px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:3rem;padding:0 2rem}.mce-floatpanel .mce-btn button span{font-family:open_sansbold,sans-serif;font-size:1.2rem}.mce-floatpanel .mce-btn button:active{-webkit-transform:scale(.98);transform:scale(.98)}.au-c-input-label--left{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-family:open_sanssemibold,sans-serif;color:#757575;font-size:1.2rem;min-width:25rem}.au-c-input-label--left label{white-space:nowrap}.au-c-input-label--left .au-c-input__contain{margin-left:1rem}.au-c-input-label--top{font-family:open_sanssemibold,sans-serif;color:#757575;font-size:1.2rem;min-width:25rem;height:1.7rem}.au-c-input-label--top .au-c-input__contain,.au-c-input-label--top select{margin-top:.5rem}.au-c-input-label--large{font-size:1.6rem}.au-c-input--white label{color:#f5f5f5}.au-c-input--white .au-c-text-input{color:#fff;border-top:.2rem solid transparent;min-height:2.5rem}.au-c-input--white .au-c-text-input:focus{border-top:.2rem solid #fff}.au-c-input--white .au-c-text-input:focus+.au-c-input__bottom{border-color:#fff;background:#fff}.au-c-input--white .au-c-input__bottom{border-color:#fff}.au-c-dropdown{min-width:20rem;position:relative}.au-c-dropdown select{border:.1rem solid #a9a9a9;background-color:#f5f5f5;font-family:open_sanssemibold,sans-serif;color:#333;-webkit-appearance:none;height:3rem;border-radius:0;width:100%;cursor:pointer}.au-c-dropdown:before{content:"\E5C5";font-family:Material Icons;font-size:2rem;color:#333;position:absolute;top:.5rem;right:1rem;pointer-events:none}.au-c-dropdown--small select{font-size:1.2rem;padding:0 1rem}.au-c-dropdown--smaller{min-width:15rem}.au-c-dropdown--smaller select{font-size:1.2rem;padding:0 1rem}.au-c-dropdown--smaller:before{right:.5rem}.au-c-dropdown--tiny{min-width:6.5rem}.au-c-dropdown--tiny select{font-size:1.2rem;padding:0 1rem}.au-c-dropdown--tiny:before{right:.5rem}.au-c-dropdown--medium select{height:4rem;font-size:1.6rem;padding:0 2rem}.au-c-dropdown--medium:before{top:1rem;right:2rem}.au-c-dropdown--medium.au-c-input-label--top:before{top:3.2rem;right:1.5rem}.au-c-checkbox label{display:inline-block;cursor:pointer;position:relative;font-family:open_sanssemibold,sans-serif;font-size:1.2rem;color:#333;padding-left:2.7rem;height:2rem;line-height:2rem;min-width:3rem}.au-c-checkbox input[type=checkbox]+label:before{content:"\E835";color:#989898;font-size:2rem;font-family:Material Icons;font-weight:400;position:absolute;line-height:1;top:0;left:0}.au-c-checkbox input[type=checkbox]:checked+label:before{content:"\E834";color:#4f7db2}.au-c-checkbox input:focus+label{outline:thin dotted}.au-c-checkbox input{opacity:0;margin:0;height:.01rem;width:.01rem;position:absolute}.au-c-radio label{min-width:3rem;display:inline-block;cursor:pointer;position:relative;font-family:open_sanssemibold,sans-serif;font-size:1.2rem;color:#333;padding-left:2.7rem;height:2rem;line-height:2rem}.au-c-radio input[type=radio]+label:before{content:"\E836";color:#989898;font-size:2rem;font-family:Material Icons;font-weight:400;position:absolute;line-height:1;top:0;left:0}.au-c-radio input[type=radio]:checked+label:before{content:"\E837";color:#4f7db2}.au-c-radio input:focus+label{outline:thin dotted}.au-c-radio input,input.au-c-file{opacity:0;margin:0;height:.01rem;width:.01rem;position:absolute}input.au-c-file{z-index:-1}.au-c-answer .au-c-checkbox,.au-c-answer .au-c-radio{position:absolute;left:-4rem;top:.2rem;height:3rem;width:3rem}.au-c-answer .au-c-checkbox label,.au-c-answer .au-c-radio label{padding:0;height:3rem;line-height:3rem}.au-c-answer .au-c-radio input[type=radio]+label:before{font-size:3rem}.au-c-answer .au-c-radio input[type=radio]:checked+label:before{color:#2bab6d}.au-c-answer .au-c-checkbox input[type=checkbox]+label:before{font-size:3rem}.au-c-answer .au-c-checkbox input[type=checkbox]:checked+label:before{color:#2bab6d}.au-c-placeholder{position:absolute;left:0;top:0;color:#a9a9a9}.au-c-placeholder.is-hidden{display:none}.au-c-table{width:100%;border-collapse:collapse}.au-c-table.is-empty{position:relative}.au-c-table.is-empty tr td{border-bottom:none;background:none!important}.au-c-table.is-empty tr td div{left:50%;-webkit-transform:translateX(-50%);transform:translate(-50%);position:absolute;top:200px;font-size:2rem;color:#aaa;text-align:center}.au-c-table .au-deleting-assessment{height:5rem;position:relative}.au-c-table .au-deleting-assessment .loader{position:absolute;top:10px;left:50px}.au-c-table th{height:5rem;border-bottom:.1rem solid #ccc;background:#fafafa;font-family:open_sanssemibold,sans-serif;font-size:1.2rem;color:#989898;text-align:left;vertical-align:middle}.au-c-table th:first-of-type{padding-left:2rem;width:6rem}.au-c-table th:nth-of-type(2){width:50%}.au-c-table th:nth-of-type(4){padding-right:2rem}.au-c-table th .au-c-table__filter{position:relative;background:none;border:none;padding:1rem 3rem 1rem 0;font-size:1.2rem;color:#989898;height:3.5rem}.au-c-table th .au-c-table__filter i{font-size:2rem;color:#ccc;position:absolute}.au-c-table th .au-c-table__filter i.top{top:0;right:0}.au-c-table th .au-c-table__filter i.bottom{bottom:-.2rem;right:0}.au-c-table th .au-c-table__filter i.is-active{color:#777}.au-c-table th .au-c-table__filter.is-active{font-family:open_sansbold,sans-serif;color:#777}.au-c-table tr.focused td,.au-c-table tr:hover td{background:#4c4085}.au-c-table tr.focused td:first-of-type i,.au-c-table tr:hover td:first-of-type i{color:#fff}.au-c-table tr.focused td:nth-of-type(2),.au-c-table tr:hover td:nth-of-type(2){font-family:open_sanssemibold,sans-serif;color:#fff}.au-c-table tr.focused td:nth-of-type(3) i,.au-c-table tr:hover td:nth-of-type(3) i{color:#fff}.au-c-table tr.focused .au-c-table__icons,.au-c-table tr:hover .au-c-table__icons{display:-webkit-box;display:-ms-flexbox;display:flex}.au-c-table tr.focused .au-c-publish,.au-c-table tr:hover .au-c-publish{background-color:#615696;color:#fff}.au-c-table tr.focused .au-c-publish.is-published i,.au-c-table tr.focused .au-c-publish i,.au-c-table tr:hover .au-c-publish.is-published i,.au-c-table tr:hover .au-c-publish i{color:#fff}.au-c-table tr.focused .au-c-publish:hover,.au-c-table tr:hover .au-c-publish:hover{background-color:#fff;color:#4c4085}.au-c-table tr.focused .au-c-publish:hover i,.au-c-table tr:hover .au-c-publish:hover i{color:#4c4085}.au-c-table tr td{height:5rem;border-bottom:.1rem solid #ccc;vertical-align:middle}.au-c-table tr td button{display:inline-block}.au-c-table tr td i{font-size:2rem}.au-c-table tr td:first-of-type{padding-left:2rem;width:6rem}.au-c-table tr td:first-of-type i{color:#818181}.au-c-table tr td:nth-of-type(2){font-family:open_sansregular,sans-serif;font-size:1.4rem;color:#333;width:50%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.au-c-table tr td:nth-of-type(3) i{color:#818181}.au-c-table tr td:nth-of-type(3) .is-published i{color:#2bab6d}.au-c-table tr td:nth-of-type(4){padding-right:2rem}.au-c-table__icons{display:none;-webkit-box-align:center;-ms-flex-align:center;align-items:center;float:right}.au-c-scrollable{min-height:60rem}.au-c-input--purple{-webkit-box-flex:1;-ms-flex:1;flex:1}.au-c-input--purple .au-c-text-input{color:#fff;border:.2rem solid #615696;border-right:none;background:#4c4085;border-radius:3px 0 0 3px;width:100%;padding:0 1rem}.au-c-input--purple .au-c-text-input:focus{border-style:dotted}.au-c-embed-contain{width:100%;-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.au-c-btn--embed{border-radius:0 3px 3px 0;border:.2rem solid #615696;background-color:#615696;color:#fff;transition:all .1s ease;display:block;position:relative}.au-c-btn--embed i{position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translate(-50%);top:.3rem;width:3rem;height:3rem;color:#fff;transition:color .1s ease}.au-c-btn--embed:hover{background-color:#fff}.au-c-btn--embed:hover i{color:#4c4085}.au-c-answer{padding:.75rem 5.5rem;background:#fff;box-shadow:0 0 .6rem rgba(0,0,0,.3);min-height:5rem;margin-bottom:1rem;cursor:pointer}.au-c-answer:hover .au-c-answer__icons .au-c-answer__icons__spacer:last-of-type i{display:inline-block}.au-c-answer:hover .au-c-input__bottom.no-border{background:#a9a9a9}.au-c-answer.is-ordered{padding-right:5.5rem}.au-c-answer.is-ordered .au-c-answer__icons{width:3rem;right:-4rem}.au-c-answer .au-c-answer__icons{position:absolute;width:11rem;height:3rem;right:-12rem;top:.2rem;cursor:pointer}.au-c-answer .au-c-answer__icons i{display:none;font-size:3rem;color:#989898}.au-c-answer .au-c-answer__icons i:hover{color:#4f7db2}.au-c-answer .au-c-answer__icons__spacer{width:3rem;height:3rem;margin-right:1rem;display:inline-block;border:none;background:none;padding:0}.au-c-answer .au-c-answer__icons__spacer.inactive{pointer-events:none}.au-c-answer .au-c-answer__icons__spacer:last-of-type{margin:0}.au-c-answer .au-c-answer__icons__spacer:last-of-type i{color:#ccc}.au-c-answer .au-c-answer__icons__spacer:last-of-type i:hover{color:#333}.au-c-answer.is-active .au-c-answer__icons i{display:inline-block}.au-c-answer.is-active .au-c-input__bottom.no-border{border-top:.1rem solid #ccc}.au-c-answer--delete{margin-left:1rem;width:3rem;height:3rem;display:inline-block;border:none;background:none;padding:0;cursor:pointer}.au-c-answer--delete i{font-size:3rem;color:#ccc}.au-c-answer--delete i:hover{color:#4f7db2}.au-c-answer--add{box-shadow:none;min-height:5rem;margin-bottom:0;border:.2rem dashed #ccc}.au-c-answer--add:hover .au-c-input .au-c-text-input{color:#333}.au-c-answer--add:hover .au-c-checkbox input[type=checkbox]+label:before,.au-c-answer--add:hover .au-c-radio input[type=radio]+label:before{color:#989898}.au-c-answer--add .au-c-input{pointer-events:none}.au-c-answer--add .au-c-input .au-c-text-input{color:#757575;transition:color .1s ease}.au-c-answer--add .au-c-input .au-c-input__bottom{background:none}.au-c-answer--add .au-c-radio input[type=radio]+label:before{color:#ccc;transition:color .1s ease}.au-c-answer--add .au-c-checkbox input[type=checkbox]+label:before{color:#e5e5e5;transition:color .1s ease}.au-c-question.is-active .au-c-question__answers.au-c-short-answer__answers{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}.au-c-short-answer__example{margin-left:3rem;margin-top:2.2rem;border:.2rem solid #a9a9a9;border-radius:3px;width:100%;font-family:open_sansregular,sans-serif;font-size:1.4rem;color:#757575;text-align:center}.au-c-short-answer__example.is-small{max-width:25rem;line-height:3.7rem;height:4rem}.au-c-short-answer__example.is-medium{line-height:3.7rem;height:4rem}.au-c-short-answer__example.is-large{line-height:11.7rem;height:12rem}.au-c-radio--file label{display:block;border:.2rem solid #e5e5e5;border-radius:3px;width:100%;font-family:open_sanssemibold,sans-serif;font-size:1.6rem;color:#989898;text-align:center;height:4rem;line-height:3.7rem}.au-c-radio--file input[type=radio]:checked+label{border-color:#4f7db2;color:#333}.au-c-radio--file input:focus+label{outline:thin dotted}.au-c-radio--file input{opacity:0;margin:0;height:.01rem;width:.01rem;position:absolute}.au-c-file-upload__audio-settings{display:none;width:100%;padding-left:3rem;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.au-c-file-upload__audio-settings span{display:inline-block;font-family:open_sanssemibold,sans-serif;font-size:1.2rem;color:#989898}.au-c-file-upload__audio-settings .au-c-input--inline{margin:0 .5rem;max-width:5rem}.au-c-file-upload__audio-settings .au-c-input--inline input{padding:0 1rem;font-size:1.6rem}.au-c-file-upload__audio-settings.is-active{display:-webkit-box;display:-ms-flexbox;display:flex}.au-c-file-upload__audio-settings .au-c-inline-error{color:#d04545;margin-left:1rem}.loader-container{height:6rem}.loader,.loader:after,.loader:before{border-radius:50%;width:2.5em;height:2.5em;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation:load7 1.8s infinite ease-in-out;animation:load7 1.8s infinite ease-in-out}.loader{color:#4c4085;font-size:10px;margin:-20px auto;position:relative;text-indent:-9999em;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation-delay:-.16s;animation-delay:-.16s}.loader:after,.loader:before{content:"";position:absolute;top:0}.loader:before{left:-3.5em;-webkit-animation-delay:-.32s;animation-delay:-.32s}.loader:after{left:3.5em}@-webkit-keyframes load7{0%,80%,to{box-shadow:0 2.5em 0 -1.3em}40%{box-shadow:0 2.5em 0 0}}@keyframes load7{0%,80%,to{box-shadow:0 2.5em 0 -1.3em}40%{box-shadow:0 2.5em 0 0}}.au-c-wysiwyg-modal{width:50rem;margin:5rem auto 0;background:#fff}.au-c-wysiwyg-modal-background{z-index:900;zoom:1;position:fixed;left:0;top:0;width:100%;height:100%;background:rgba(0,0,0,.3)}.au-c-wysiwyg-modal__header{height:5rem;background:#fafafa;border-bottom:.1rem solid #ccc;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:0 2.5rem}.au-c-wysiwyg-modal__title{font-family:open_sanssemibold,sans-serif;font-size:1.8rem;color:#333}.au-c-wysiwyg-modal__close{width:3rem;height:3rem;display:inline-block;border:none;background:none;padding:0;cursor:pointer}.au-c-wysiwyg-modal__close i{font-size:3rem;color:#989898}.au-c-wysiwyg-modal__close i:hover{color:#4f7db2}.au-c-wysiwyg-modal__main{padding:3rem 2.5rem 0}.au-c-wysiwyg-media__main2 .au-c-input{max-width:5rem}.au-c-wysiwyg-media__main2 .au-c-input input{text-align:center}.au-c-wysiwyg-media__label{font-family:open_sanssemibold,sans-serif;font-size:1.2rem;color:#757575;min-width:10rem;display:inline-block}.au-c-wysiwyg-media__source-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;height:2.5rem;border-bottom:.1rem solid #ccc;font-family:open_sansregular,sans-serif;font-size:1.4rem;color:#333;width:100%}.au-c-wysiwyg-media__source-text .loader{font-size:9px}.au-c-wysiwyg-media__upload{width:5rem;height:3rem;padding:0 1rem;margin-left:1rem;text-align:center;color:#818181;background:#f5f5f5;border:.1rem solid #ccc;display:inline-block;border-radius:3px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;cursor:pointer}.au-c-wysiwyg-media__upload:hover{color:#333;border-color:#989898}.au-c-input--file{cursor:pointer}.au-c-input--file input{width:.01rem;height:.01rem;opacity:0;position:absolute;z-index:-1}.au-c-input--file input:focus+label{outline:thin dotted}.au-c-wysiwyg-media__x-divider{margin:0 1rem;font-family:open_sanssemibold,sans-serif;color:#333}.au-c-wysiwyg-modal__footer{height:7.5rem;padding:0 2.5rem;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.au-c-wysiwyg-modal__contain{padding:0 2.5rem}.au-c-fake-modal{width:50rem;padding:2.5rem;margin:3rem auto 30rem;background:#fff}.au-c-wysiwyg-modal__media{border:.1rem solid #ccc;position:relative;min-height:85px}.au-c-modal-media__search{padding:.5rem}.au-c-input--search input{border:.1rem solid #ccc;padding:0 4rem 0 1rem}.au-c-input--search i{position:absolute;right:.8rem;top:.6rem;font-size:2.2rem;color:#818181}.au-c-modal-media__results table{border-collapse:collapse;width:100%}.au-c-modal-media__results tr:hover td{background:#f5f5f5;cursor:pointer}.au-c-modal-media__results tr.is-active td{background:#4c4085;color:#fff}.au-c-modal-media__results td{font-family:open_sanssemibold,sans-serif;font-size:1.2rem;height:3rem;vertical-align:middle;border-top:.1rem solid #ccc;border-bottom:.1rem solid #ccc}.au-c-modal-media__results td:first-of-type{width:4rem}.au-c-modal-media__thumbnail{width:2rem;height:1.5rem;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:0 1rem}.au-c-modal-media__thumbnail img{max-width:100%}.au-c-modal-media__pagination{height:3rem;line-height:3rem;text-align:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.au-c-modal-media__pagination ul{display:inline-block;padding-left:1.5rem;padding-right:1.5rem}.au-c-modal-media__pagination li{display:inline-block}.au-c-modal-media__pagination .break a{cursor:default}.au-c-modal-media__pagination-pages{cursor:pointer}.au-c-modal-media__pagination-pages:hover{background:#f5f5f5;border-bottom:.2rem solid #777}.au-c-modal-media__pagination-pages.is-active{border-bottom:.2rem solid #777}.au-c-modal-media__pagination-pages.is-active a{font-family:open_sanssemibold,sans-serif;font-size:1.2rem}.au-c-modal-media__pagination-page{padding:1rem;font-size:1.2rem;font-family:open_sansregular,sans-serif}.au-c-modal-media__pagination-next,.au-c-modal-media__pagination-previous{cursor:pointer;padding:.5rem}.au-c-modal-media__pagination-next:hover,.au-c-modal-media__pagination-previous:hover{color:#fff;background-color:#615696}.au-c-modal-media__pagination-next.inactive,.au-c-modal-media__pagination-previous.inactive{display:none}.au-c-modal-media__pagination-next i,.au-c-modal-media__pagination-previous i{font-size:2rem}.spinner{color:#4c4085;font-size:90px;text-indent:-9999em;overflow:hidden;width:1em;height:1em;border-radius:50%;margin:72px auto;position:relative;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation:load6 1.7s infinite ease,round 1.7s infinite ease;animation:load6 1.7s infinite ease,round 1.7s infinite ease}@-webkit-keyframes load6{0%{box-shadow:0 -.83em 0 -.4em,0 -.83em 0 -.42em,0 -.83em 0 -.44em,0 -.83em 0 -.46em,0 -.83em 0 -.477em}5%,95%{box-shadow:0 -.83em 0 -.4em,0 -.83em 0 -.42em,0 -.83em 0 -.44em,0 -.83em 0 -.46em,0 -.83em 0 -.477em}10%,59%{box-shadow:0 -.83em 0 -.4em,-.087em -.825em 0 -.42em,-.173em -.812em 0 -.44em,-.256em -.789em 0 -.46em,-.297em -.775em 0 -.477em}20%{box-shadow:0 -.83em 0 -.4em,-.338em -.758em 0 -.42em,-.555em -.617em 0 -.44em,-.671em -.488em 0 -.46em,-.749em -.34em 0 -.477em}38%{box-shadow:0 -.83em 0 -.4em,-.377em -.74em 0 -.42em,-.645em -.522em 0 -.44em,-.775em -.297em 0 -.46em,-.82em -.09em 0 -.477em}to{box-shadow:0 -.83em 0 -.4em,0 -.83em 0 -.42em,0 -.83em 0 -.44em,0 -.83em 0 -.46em,0 -.83em 0 -.477em}}@keyframes load6{0%{box-shadow:0 -.83em 0 -.4em,0 -.83em 0 -.42em,0 -.83em 0 -.44em,0 -.83em 0 -.46em,0 -.83em 0 -.477em}5%,95%{box-shadow:0 -.83em 0 -.4em,0 -.83em 0 -.42em,0 -.83em 0 -.44em,0 -.83em 0 -.46em,0 -.83em 0 -.477em}10%,59%{box-shadow:0 -.83em 0 -.4em,-.087em -.825em 0 -.42em,-.173em -.812em 0 -.44em,-.256em -.789em 0 -.46em,-.297em -.775em 0 -.477em}20%{box-shadow:0 -.83em 0 -.4em,-.338em -.758em 0 -.42em,-.555em -.617em 0 -.44em,-.671em -.488em 0 -.46em,-.749em -.34em 0 -.477em}38%{box-shadow:0 -.83em 0 -.4em,-.377em -.74em 0 -.42em,-.645em -.522em 0 -.44em,-.775em -.297em 0 -.46em,-.82em -.09em 0 -.477em}to{box-shadow:0 -.83em 0 -.4em,0 -.83em 0 -.42em,0 -.83em 0 -.44em,0 -.83em 0 -.46em,0 -.83em 0 -.477em}}@-webkit-keyframes round{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes round{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.au-c-drag-and-drop__target-area{border:.1rem solid #ccc;margin:3rem 0}.au-c-drag-and-drop__target-area .au-o-item__top{background:#fff;padding:0 2rem 0 0}.au-c-drag-and-drop__target-image{background:#fafafa;position:relative}.au-c-drag-and-drop__target-image img{max-width:100%}.au-c-drag-and-drop__target-image-placeholder{width:100%;text-align:center;height:200px;line-height:200px;cursor:pointer;color:#757575;font-family:open_sanssemibold,sans-serif}.au-c-drop-zone{width:20rem;height:20rem;background:none;border:.2rem solid #000;box-shadow:0 0 .2rem .2rem #fff;position:absolute;border-radius:3px;cursor:pointer}.au-c-drop-zone.is-active .au-c-drop-zone__tool-tip{display:-webkit-box;display:-ms-flexbox;display:flex}.au-c-drop-zone__tag{color:#000;background:#fff}.au-c-zone{display:none}.au-c-zone.is-active{display:inline-block}.au-c-zone .au-c-zone-position{position:absolute;height:10px;width:10px;border:1px solid #000;background-color:#fff}.au-c-zone .au-c-zone-corner-topLeft{top:-5px;left:-5px;cursor:nwse-resize}.au-c-zone .au-c-zone-corner-topRight{top:-5px;right:-5px;cursor:nesw-resize}.au-c-zone .au-c-zone-corner-bottomLeft{bottom:-5px;left:-5px;cursor:nesw-resize}.au-c-zone .au-c-zone-corner-bottomRight{bottom:-5px;right:-5px;cursor:nwse-resize}.au-c-zone .au-c-zone-middle{position:absolute;cursor:move;top:5px;left:5px;width:calc(100% - 10px);height:calc(100% - 10px)}.au-c-drop-zone__tool-tip{z-index:9}.au-c-drop-zone__tag{position:absolute;top:0;left:0;font-family:open_sanssemibold,sans-serif;font-size:1.2rem;color:#333;padding:.1rem .5rem}.au-c-drop-zone__tool-tip{display:none;border-radius:.3rem;position:absolute;bottom:-4.5rem;height:3.5rem;background:#333;padding:0 1rem;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.au-c-drop-zone__tool-tip.is-right{left:0}.au-c-drop-zone__tool-tip.is-right:before{left:2rem}.au-c-drop-zone__tool-tip.is-left{right:0}.au-c-drop-zone__tool-tip.is-left:before{right:2rem}.au-c-drop-zone__tool-tip:before{content:"";position:absolute;top:-.5rem;width:1rem;height:1rem;background:#333;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.au-c-drop-zone__tool-tip .au-c-btn--square{background:#333;margin-left:1rem;color:#fff;padding:0}.au-c-drop-zone__answers__label{font-family:open_sanssemibold,sans-serif;font-size:1.2rem;color:#757575}.au-c-drop-zone__answers{margin:1rem 0 3rem}.au-c-drop-zone__answers.au-o-row{margin-left:-2rem;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}.au-c-drop-zone__answers.au-o-row .au-o-quarter{margin-bottom:2rem}.au-c-drop-zone-answer{padding:1rem;height:100%;border-radius:3px;background:#fff;box-shadow:0 0 .5rem rgba(0,0,0,.3);cursor:pointer}.au-c-drop-zone-answer:hover{box-shadow:0 0 .7rem rgba(0,0,0,.5)}.au-c-drop-zone-answer:hover .au-c-answer--delete i{display:inline-block}.au-c-drop-zone-answer .au-c-answer--delete i{display:none}.au-c-drop-zone-answer .au-c-input-label--left{display:none;min-width:auto;margin-top:.5rem}.au-c-drop-zone-answer .au-c-dropdown{opacity:0;width:100%;min-width:auto}.au-c-drop-zone-answer.is-active .au-c-answer--delete i{display:inline-block}.au-c-drop-zone-answer.is-active .au-c-dropdown{opacity:1}.au-c-drop-zone-answer.is-active .au-c-input-label--left,.au-c-drop-zone-answer__top{display:-webkit-box;display:-ms-flexbox;display:flex}.au-c-drop-zone-answer__top{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.au-c-drop-zone-answer__image{max-height:25rem;margin-top:1rem;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.au-c-drop-zone-answer__image img{max-width:100%;max-height:20rem}.au-c-drop-zone-answer-add{display:block;height:100%;min-height:10rem}.au-c-drop-zone-answer-add__button{display:block;width:100%;height:100%;background:none;text-align:center;transition:background .1s ease,-webkit-transform .1s ease;transition:background .1s ease,transform .1s ease;transition:background .1s ease,transform .1s ease,-webkit-transform .1s ease;cursor:pointer;border:.2rem dashed #ccc;-o-border-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAASCAYAAAC5DOVpAAAAAXNSR0IArs4c6QAAAGJJREFUOBFjPHPmzH8GNPD///9GU1PTBjRhOPf06dMNjIyM9XABIAOo5yATsgClbEaYy0xMTBjJMQzmSpBvqOoyqhpGjs9G9YyGAKkhMEKyEwssXGClB4hPTnkG1OZA1YwOAE0iMJqvX6f2AAAAAElFTkSuQmCC) 2 round;border-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAASCAYAAAC5DOVpAAAAAXNSR0IArs4c6QAAAGJJREFUOBFjPHPmzH8GNPD///9GU1PTBjRhOPf06dMNjIyM9XABIAOo5yATsgClbEaYy0xMTBjJMQzmSpBvqOoyqhpGjs9G9YyGAKkhMEKyEwssXGClB4hPTnkG1OZA1YwOAE0iMJqvX6f2AAAAAElFTkSuQmCC) 2 round;font-family:open_sanssemibold,sans-serif;text-transform:uppercase;font-size:1.2rem;color:#333}.au-c-drop-zone-answer-add__button:hover{background:#fafafa}.au-c-drop-zone-answer-add__button:active{-webkit-transform:scale(.99);transform:scale(.99)}.au-c-movable__answers .au-c-answer{padding:0 1.5rem}.au-c-movable__answers .au-c-answer.is-active .au-c-answer--delete,.au-c-movable__answers .au-c-answer.is-active .au-c-dropdown--smaller,.au-c-movable__answers .au-c-answer.is-active .au-c-dropdown--tiny,.au-c-movable__answers .au-c-answer:hover .au-c-answer--delete{opacity:1;pointer-events:auto}.au-c-movable__answers .au-c-answer--delete,.au-c-movable__answers .au-c-dropdown--smaller{opacity:0;pointer-events:none}.au-c-movable__answers .au-c-answer--delete.is-ordered,.au-c-movable__answers .au-c-dropdown--smaller.is-ordered{opacity:1;pointer-events:auto}.au-c-movable__answers .au-c-dropdown--tiny{opacity:0;pointer-events:none}.au-c-movable__answers .au-c-dropdown--tiny.is-ordered{opacity:1;pointer-events:auto}.au-c-movable__answers .au-c-dropdown--tiny.is-ordered select{border-color:#2bab6d}.au-c-movable__answers .au-c-dropdown--tiny.is-error{opacity:1;pointer-events:auto}.au-c-movable__answers .au-c-dropdown--tiny.is-error select{border-color:#d04545}.au-c-movable__answers .au-c-answer--add{padding-left:5.5rem}.au-c-movable__answers--maintain .au-c-answer{padding:.75rem 5.5rem}.au-c-movable__audio-settings{display:none;width:100%;margin-top:3rem;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.au-c-movable__audio-settings span{display:inline-block;font-family:open_sanssemibold,sans-serif;font-size:1.2rem;color:#989898}.au-c-movable__audio-settings .au-c-input--inline{margin:0 .5rem;max-width:5rem}.au-c-movable__audio-settings .au-c-input--inline input{padding:0 1rem;font-size:1.6rem}.au-c-movable__audio-settings.is-active{display:-webkit-box;display:-ms-flexbox;display:flex}.au-c-movable__audio-settings .au-c-inline-error{color:#d04545;margin-left:1rem}.au-c-image-sequence__answers{margin:3rem 0}.au-c-image-sequence__answers.au-o-row{margin-left:-2rem;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}.au-c-image-sequence__answers .au-o-quarter{margin-bottom:2rem}.au-c-image-sequence-answer{padding:1rem;height:100%;border-radius:3px;background:#fff;box-shadow:0 0 .5rem rgba(0,0,0,.15);cursor:pointer}.au-c-image-sequence-answer:hover{box-shadow:0 0 .7rem rgba(0,0,0,.3)}.au-c-image-sequence-answer .au-c-input-label--left{display:none;min-width:auto;margin-top:.5rem;margin-bottom:1rem}.au-c-image-sequence-answer .au-c-dropdown{display:none}.au-c-image-sequence-answer .au-c-dropdown--tiny{opacity:0;pointer-events:none}.au-c-image-sequence-answer .au-c-dropdown--tiny.is-ordered{opacity:1;pointer-events:auto}.au-c-image-sequence-answer .au-c-dropdown--tiny.is-ordered select{border-color:#2bab6d}.au-c-image-sequence-answer .au-c-dropdown--tiny.is-error{opacity:1;pointer-events:auto}.au-c-image-sequence-answer .au-c-dropdown--tiny.is-error select{border-color:#d04545}.au-c-image-sequence-answer.is-active .au-c-dropdown{display:block}.au-c-image-sequence-answer.is-active .au-c-input-label--left{display:-webkit-box;display:-ms-flexbox;display:flex}.au-c-image-sequence-answer.is-active .au-c-image-sequence-answer__image{margin-top:-7.7rem;padding-top:7.7rem;max-height:32.7rem}.au-c-image-sequence-answer__image,.au-c-image-sequence-answer__top{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.au-c-image-sequence-answer__image{height:100%;max-height:10rem;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.au-c-image-sequence-answer__image img{max-width:100%;max-height:10rem}.au-c-image-sequence-answer-add{display:block;height:100%;min-height:10rem}.au-c-image-sequence-answer-add__button{width:100%;height:100%;background:none;text-align:center;transition:background .1s ease,-webkit-transform .1s ease;transition:background .1s ease,transform .1s ease;transition:background .1s ease,transform .1s ease,-webkit-transform .1s ease;cursor:pointer;border:.2rem dashed #ccc;-o-border-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAASCAYAAAC5DOVpAAAAAXNSR0IArs4c6QAAAGJJREFUOBFjPHPmzH8GNPD///9GU1PTBjRhOPf06dMNjIyM9XABIAOo5yATsgClbEaYy0xMTBjJMQzmSpBvqOoyqhpGjs9G9YyGAKkhMEKyEwssXGClB4hPTnkG1OZA1YwOAE0iMJqvX6f2AAAAAElFTkSuQmCC) 2 round;border-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAASCAYAAAC5DOVpAAAAAXNSR0IArs4c6QAAAGJJREFUOBFjPHPmzH8GNPD///9GU1PTBjRhOPf06dMNjIyM9XABIAOo5yATsgClbEaYy0xMTBjJMQzmSpBvqOoyqhpGjs9G9YyGAKkhMEKyEwssXGClB4hPTnkG1OZA1YwOAE0iMJqvX6f2AAAAAElFTkSuQmCC) 2 round;font-family:open_sanssemibold,sans-serif;text-transform:uppercase;font-size:1.2rem;color:#333}.au-c-image-sequence-answer-add__button:hover{background:#fafafa}.au-c-image-sequence-answer-add__button:active{-webkit-transform:scale(.99);transform:scale(.99)}.au-c-fill-in-the-blank__answers .au-c-answer{padding:0 1.5rem 0 5.5rem}.au-c-fill-in-the-blank__answers .au-c-answer.is-active .au-c-answer--delete,.au-c-fill-in-the-blank__answers .au-c-answer:hover .au-c-answer--delete{opacity:1;pointer-events:auto}.au-c-fill-in-the-blank__answers .au-c-answer--delete{opacity:0;pointer-events:none}.au-c-movable__answers__label{font-family:open_sanssemibold,sans-serif;font-size:1.2rem;color:#757575}@font-face{font-family:open_sansbold;src:url(/oac/opensans-bold-webfont-316f0bfd4ad823527bde5f1523ae466b.woff2) format("woff2"),url(/oac/opensans-bold-webfont-48eddbb86b0dd04a412aa631bda1b651.woff) format("woff");font-weight:400;font-style:normal}@font-face{font-family:open_sansregular;src:url(/oac/opensans-regular-webfont-1d81af74bf67efb4fea4c376a4f4e8e1.woff2) format("woff2"),url(/oac/opensans-regular-webfont-cd133a7cfd2d0e0c8282eacf3a7c45b7.woff) format("woff");font-weight:400;font-style:normal}@font-face{font-family:open_sanslight;src:url(/oac/opensans-light-webfont-12b992bf2f102ea40a952914966a73b5.woff2) format("woff2"),url(/oac/opensans-light-webfont-5c5c82db96b29e89bc839c6f1ae9adbd.woff) format("woff");font-weight:400;font-style:normal}@font-face{font-family:open_sanssemibold;src:url(/oac/opensans-semibold-webfont-5cc567d29f0c810258ff8a012b4115e8.woff2) format("woff2"),url(/oac/opensans-semibold-webfont-6c95241693564ed97267b3deaf39fa23.woff) format("woff");font-weight:400;font-style:normal}*{box-sizing:inherit}html,html a{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-shadow:1px 1px 1px rgba(0,0,0,.004);font-size:10px;box-sizing:border-box}body,ul{margin:0}ul{padding:0;list-style-type:none}a,a:link,a:visited{text-decoration:none}p{margin:0}.u-hide{opacity:0!important;pointer-events:none}.o-assessment-container{background:#fff;box-shadow:0 0 .5rem rgba(0,0,0,.3);max-width:100rem;width:100%;margin:1rem auto}.c-header{height:5rem;padding:0 3rem;background:#fff;border-bottom:.2rem solid #efefef}.c-header__remaining,.c-header__title{color:#4f7db2;font-family:open_sansbold,sans-serif;font-size:2rem;float:left;line-height:4.6rem}.c-header__question-number{color:#9b9b9b;font-family:open_sansbold,sans-serif;font-size:1.6rem;float:right;line-height:4.6rem}.c-question-prompt{padding:2rem 3rem;font-family:open_sanssemibold,sans-serif;font-size:1.8rem;color:#4a4a4a}.c-question-prompt>*{margin-bottom:1rem}.c-question-prompt img{display:inline-block;max-width:30rem}.c-question-prompt audio{width:100%}.c-question-prompt .c-playback{display:inline-block;width:2.4rem;min-height:.1rem;padding-right:.5rem;position:relative;margin:0}.c-question-prompt .c-playback svg{position:absolute;top:-1.8rem;width:2.4rem;height:2.4rem}.c-question-prompt .c-playback svg path{fill:#9b9b9b}.c-video{width:15rem;height:9rem;background:#636463;border-radius:.3rem;display:inline-block;position:relative;transition:all .2s ease}.c-video:after{content:"";width:0;height:0;border-width:2rem 0 2rem 3.5rem;border-style:solid;border-color:transparent transparent transparent #fff;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.c-video:hover{background:#4a4a4a}.c-answers{padding:0 3rem}.o-grid{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}.c-answer-container{-webkit-box-flex:0;-ms-flex:0 0 49%;flex:0 0 49%;background:#fff;box-shadow:0 0 .3rem rgba(0,0,0,.3);border:.2rem solid #fff;border-radius:.3rem;min-height:3.5rem;position:relative;padding:.8rem .8rem 0;margin-bottom:1.5rem;cursor:pointer;transition:all .1s ease}.c-answer-container:hover{border-color:#4f7db2}.c-answer-container.is-clicked{background:#4f7db2;border-color:#4f7db2}.c-answer-container.is-clicked .c-answer-container__content p{color:#fff}.c-answer-container.is-clicked .c-feedback{background:#fff}.c-answer-container__radio{width:2rem;position:absolute;left:.8rem;top:.8rem}.c-radio-button .c-radio-button__border{display:inline-block;cursor:pointer;position:relative;height:1.5rem;width:1.5rem;border-radius:50%;border:.2rem solid #9b9b9b;margin:.2rem}.c-radio-button input[type=radio]:checked+.c-radio-button__border:before{content:"";width:.7rem;height:.7rem;background:#fff;border-radius:50%;position:absolute;top:.2rem;left:.2rem}.c-radio-button input[type=radio]:checked+.c-radio-button__border{border-color:#fff}.c-radio-button input{display:none;margin:0;height:.01rem;width:.01rem}.c-checkbox .c-checkbox__border{display:inline-block;cursor:pointer;position:relative;height:1.5rem;width:1.5rem;border-radius:.3rem;border:.2rem solid #9b9b9b;margin:.2rem}.c-checkbox input[type=checkbox]:checked+.c-checkbox__border:before{content:"";width:.3rem;height:.8rem;border:solid #4f7db2;border-width:0 .2rem .2rem 0;position:absolute;-webkit-transform:rotate(45deg);transform:rotate(45deg);top:0;left:.3rem}.c-checkbox input[type=checkbox]:checked+.c-checkbox__border{border-color:#fff;background:#fff}.c-checkbox input{display:none;margin:0;height:.01rem;width:.01rem}.c-answer-container__content{width:100%;padding-left:3rem;font-family:open_sansregular,sans-serif;font-size:1.4rem;color:#4a4a4a}.c-answer-container__content>*{margin-bottom:1rem}.c-answer-container__content img{display:inline-block;max-width:20rem}.c-answer-container__content audio{width:100%}.c-record{padding:2rem 3rem 1rem;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.c-audio-holder{padding:.5rem 1.14rem .65rem 0;-webkit-box-flex:1;-ms-flex:1;flex:1;margin-left:1rem}.c-audio-holder audio{width:100%}.c-audio-timer{padding:.08rem 1.14rem .1rem 0;color:#5a5a5a;font-family:open_sanslight,sans-serif;font-size:2.2rem}.c-audio-timer small{font-family:open_sansregular,sans-serif;font-size:1.3rem}.c-btn--record{background:#fff;border-color:#d0021b;width:10.5rem;text-align:left;transition:all .1s ease}.c-btn--record:hover{background:#d0021b}.c-btn--record:hover span{color:#fff}.c-btn--record:hover span:before{background:#fff}.c-btn--record span{padding-left:1.7rem;color:#d0021b;position:relative;transition:all .1s ease}.c-btn--record span:before{content:"";position:absolute;left:-.5rem;top:.9rem;width:1.2rem;height:1.2rem;border-radius:50%;background:#d0021b}.c-btn--record.c-btn--stop{background:#d0021b}.c-btn--record.c-btn--stop span{color:#fff}.c-btn--record.c-btn--stop span:before{background:#fff;animation:blink 2s linear infinite;-webkit-animation:blink 2s linear infinite}.c-btn--record.c-btn--stop:active{background:#9d0214;border-color:#9d0214}.c-btn--record.c-btn--subdue[disabled]{visibility:visible;background:#fff;color:#c4c4c4;border-color:#c4c4c4}.c-btn--record.c-btn--subdue[disabled]:hover{background:#fff;border-color:#c4c4c4}.c-btn--record.c-btn--subdue[disabled]:hover span{color:#c4c4c4}.c-btn--record.c-btn--subdue[disabled]:hover span:before{background:#c4c4c4}.c-btn--record.c-btn--subdue[disabled] span{color:#c4c4c4}.c-btn--record.c-btn--subdue[disabled] span:before{background:#c4c4c4}@-webkit-keyframes blink{0%{opacity:1}50%{opacity:0}to{opacity:1}}@keyframes blink{0%{opacity:1}50%{opacity:0}to{opacity:1}}.c-text-answer{padding:2rem 3rem 1rem}.c-text-answer textarea{border:.1rem solid #ddd;border-radius:.3rem;width:100%;resize:none;padding:.5rem 1rem;color:#4a4a4a}.c-file-upload,.c-text-answer textarea{font-family:open_sansregular,sans-serif;font-size:1.4rem}.c-file-upload{margin:1rem 0;padding:0 1.5rem;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative;border-radius:.3rem;border:.2rem solid #4f7db2;line-height:1.5rem;left:50%;-webkit-transform:translateX(-50%);transform:translate(-50%);background:#4f7db2;color:#fff;cursor:pointer;transition:all .1s ease;width:60vw}.c-file-upload:hover{background:#fff;color:#4f7db2}.c-file-upload span{padding-top:.15rem;font-family:open_sansbold,sans-serif;text-transform:uppercase;transition:all .1s ease}.c-file-upload input[type=file]{width:.1px;height:.1px;opacity:0;overflow:hidden;position:absolute;z-index:-1}.c-file-upload input[type=text]{min-height:3.5rem;overflow:hidden;position:relative;left:1.5rem;padding:.25rem 1rem;border:none;border-left:.25rem solid #4f7db2;color:#4f7db2;text-overflow:ellipsis;width:50%;transition:all .1s ease}.c-disable-pointer-n-keys{pointer-events:none}.c-assessment-navigation{display:table;padding:2rem 3rem 3rem}.c-assessment-navigation .c-button-slot{display:table-cell;padding-left:1.5em}.c-assessment-navigation .c-button-slot:first-child{padding-left:0;width:100%}.c-btn{padding:0 1.5rem;height:3.5rem;border-radius:.3rem;border-width:.2rem;border-style:solid;text-transform:uppercase;font-family:open_sansbold,sans-serif;font-size:1.4rem;position:relative;white-space:nowrap}.c-btn[disabled]{visibility:hidden}.c-btn[disabled],.c-btn[disabled] *{transition:all 0s}.c-btn span{display:inline-block;height:100%;line-height:3rem;transition:all .1s ease}.c-btn svg{width:2.4rem;height:2.4rem;position:absolute;top:.3rem}.c-btn svg path{transition:all .2s ease}.c-btn--previous,a.c-btn--previous{background:#fff;color:#4c4086;border-color:#4c4086;transition:all .2s ease}.c-btn--previous:hover,a.c-btn--previous:hover{border-color:#4c4086;background:#4c4086;color:#fff}.c-btn--previous:hover svg path,a.c-btn--previous:hover svg path{fill:#fff}.c-btn--previous svg path,a.c-btn--previous svg path{fill:#4c4086}.c-btn--next:hover svg path,a.c-btn--next:hover svg path{fill:#922a7d}.c-btn--next svg path,a.c-btn--next svg path{fill:#fff}[dir=ltr] .c-btn--previous{padding-left:3rem}[dir=ltr] .c-btn--previous svg{left:.3rem;-webkit-transform:rotate(90deg);transform:rotate(90deg)}[dir=ltr] .c-btn--next{padding-right:3rem}[dir=ltr] .c-btn--next svg{right:.3rem;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}[dir=rtl] .c-btn--previous{padding-right:3rem}[dir=rtl] .c-btn--previous svg{right:.3rem;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}[dir=rtl] .c-btn--next{padding-left:3rem}[dir=rtl] .c-btn--next svg{left:.3rem;-webkit-transform:rotate(90deg);transform:rotate(90deg)}.c-btn--check-answer,.c-btn--finish,.c-btn--next,a.c-btn--check-answer,a.c-btn--finish,a.c-btn--next{background:#922a7d;color:#fff;border-color:#922a7d;transition:all .2s ease}.c-btn--check-answer:hover,.c-btn--finish:hover,.c-btn--next:hover,a.c-btn--check-answer:hover,a.c-btn--finish:hover,a.c-btn--next:hover{border-color:#922a7d;background:#fff;color:#922a7d}.c-btn--loading,a.c-btn--loading{background:#fff;border-color:#922a7d;pointer-events:none}.c-btn--loading span,a.c-btn--loading span{opacity:0}.c-btn--loading svg,a.c-btn--loading svg{width:2.4rem;height:2.4rem;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);animation:spin .5s linear infinite;-webkit-animation:spin .5s linear infinite}.c-btn--loading svg path,a.c-btn--loading svg path{fill:#922a7d}@-webkit-keyframes spin{0%{-webkit-transform:translate(-50%,-50%) rotate(0);transform:translate(-50%,-50%) rotate(0)}to{-webkit-transform:translate(-50%,-50%) rotate(1turn);transform:translate(-50%,-50%) rotate(1turn)}}.c-answer-feedback{background:#fff;padding:1rem 1.5rem;margin:1rem -.8rem 0;border-radius:0 0 .3rem .3rem}.c-answer-feedback p{font-family:open_sansregular,sans-serif;font-size:1.2rem;color:#4a4a4a}.c-question-feedback{background:#efefef;padding:1.5rem 3rem 1.5rem 7rem;position:relative}.c-question-feedback p{font-family:open_sansregular,sans-serif;font-size:1.4rem;color:#4a4a4a}.c-question-feedback svg{position:absolute;left:3rem;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:2.4rem;height:2.4rem}.c-feedback{position:absolute;top:-.2rem;right:.8rem;height:3.5rem;width:13rem;border-radius:0 0 .3rem .3rem;padding:.7rem .5rem .5rem 3.5rem;background:#efefef;font-family:open_sanssemibold,sans-serif;font-size:1.4rem;color:#4a4a4a;text-transform:uppercase}.c-feedback svg{position:absolute;left:.5rem;top:.5rem;width:2.4rem;height:2.4rem}.c-feedback--incorrect svg path{fill:#d0021b}.c-feedback--correct svg path{fill:#7ed321}.c-confidence-map{padding:2rem 3rem 1rem}.c-confidence-prompt{font-family:open_sanssemibold,sans-serif;font-size:1.4rem;margin:0;padding-bottom:1rem;color:#4a4a4a;text-align:center}.c-confidence-item{display:inline-block;width:33.333%;border:.2rem solid #efefef;padding:1rem;position:relative;cursor:pointer}.c-confidence-item.is-clicked{border-color:#4f7db2}.c-confidence-item p{text-align:center;font-family:open_sansregular,sans-serif;color:#4a4a4a;font-size:1.4rem;margin-top:2rem}.c-confidence-item input[type=radio]:checked+label:before{content:"";width:.7rem;height:.7rem;background:#4f7db2;border-radius:50%;position:absolute;top:.2rem;left:.2rem}.c-confidence-item input[type=radio]:checked+label{border-color:#4f7db2}.c-confidence-item .c-radio-button{position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translate(-50%)}.c-confidence-item:hover{border-color:#4f7db2}.c-confidence-item--left,.c-confidence-item--middle{border-right:.2rem solid transparent}.c-confidence-item--middle,.c-confidence-item--right{border-left:.2rem solid transparent}.c-assessment-loading{pointer-events:none;position:relative;text-align:center;text-transform:uppercase;height:40rem;font-size:1.4rem;font-family:open_sansregular,sans-serif;color:#4a4a4a}.c-assessment-loading p{padding:2rem;animation:fadein 2s;-webkit-animation:fadein 2s}.c-assessment-loading span{opacity:0}.c-assessment-loading svg{width:5rem;height:5rem;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);animation:spin .5s linear infinite,fadein 2s;-webkit-animation:spin .5s linear infinite,fadein 2s}.c-assessment-loading svg path{fill:#922a7d}@keyframes spin{0%{-webkit-transform:translate(-50%,-50%) rotate(0);transform:translate(-50%,-50%) rotate(0)}to{-webkit-transform:translate(-50%,-50%) rotate(1turn);transform:translate(-50%,-50%) rotate(1turn)}}@-webkit-keyframes fadein{0%{opacity:0}to{opacity:1}}@keyframes fadein{0%{opacity:0}to{opacity:1}}.c-player-error{font-family:open_sanssemibold,sans-serif;font-size:2rem;padding:2rem;color:#fff;background:#d0021b;margin:.5rem 0;border-radius:.3rem}.c-word-box__contain{background:#efefef;padding:1rem;border-radius:.3rem;overflow:hidden}.c-word-box__contain .c-word{margin:1rem 2rem}.c-word-box__contain .c-object{margin:.5rem 1rem}.c-object{padding:.5rem;background:#fff;cursor:move;float:left;position:relative;height:11rem}.c-object>*{margin:0;padding:0;line-height:3.3rem}.c-object>*,.c-object>* img{display:inline-block}.c-word{height:3.5rem;padding:0 1.5rem 0 .8rem;background:#fff;font-family:open_sanssemibold,sans-serif;font-size:1.4rem;float:left;position:relative;margin:0 .1rem 0 0;cursor:move;white-space:nowrap}.c-word>*{margin:0;padding:0;display:inline-block;line-height:3.3rem}.c-word:before{height:1.3rem;background:#fff;top:1.1rem;left:-.7rem;z-index:2}.c-word:after,.c-word:before{content:"";position:absolute;width:.7rem}.c-word:after{height:1.5rem;background:#efefef;top:1rem;right:0;z-index:1}.c-word-answers{padding:.5rem;height:4.5rem;margin:1rem 0;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex}.c-word-answers,.c-word-answers .c-word:after{background:#4f7db2}.c-word-answers .c-over-drop-zone{border:2px solid #fff}.c-object-answers{background:#4f7db2;padding:.5rem;height:12rem;margin:1rem 0;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex}.c-object-answers .c-object{margin-right:.1rem}.c-object-answers .c-over-drop-zone{border:2px solid #fff}.c-word-answers--split-top:after{content:"";width:1.5rem;height:1.5rem;position:absolute;right:-.7rem;top:1.5rem;background:#4f7db2;z-index:1;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.c-word-answers--split-top svg{z-index:2;position:absolute;right:-1.4rem;top:.8rem;width:2.9rem;height:2.9rem;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.c-word-answers--split-top svg path{fill:#fff}.c-word-answers--split-bottom{padding-left:2.3rem}.c-word-answers--split-bottom:before{content:"";width:1.5rem;height:1.5rem;position:absolute;left:-.7rem;top:1.5rem;background:#fff;z-index:1;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.c-word-answers--split-bottom svg{z-index:2;position:absolute;left:-1.4rem;top:.8rem;width:2.9rem;height:2.9rem;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.c-word-answers--split-bottom svg path{fill:#4f7db2}.c-word--starter{padding:0 .8rem 0 .9rem;pointer-events:none}.c-word--starter:before{width:0}.noun{color:#228756}.verb{color:#bc5b15}.prep{color:#922a7d}.other{color:#573d8f}.adverb{color:#4c7aae}.adjective{color:#e5007e}.c-blank-answers{margin:1rem 0;position:relative;overflow:hidden}.c-blank-answers .c-word.c-word--fill{padding:0 .2rem;margin:.6rem 0;pointer-events:none;font-family:open_sansregular,sans-serif}.c-blank-answers .c-word.c-word--fill>*{color:#4a4a4a}.c-blank-answers .c-word.c-word--fill:after,.c-blank-answers .c-word.c-word--fill:before{width:0}.c-word--blank{padding:0 .8rem}.c-word--blank:after,.c-word--blank:before{width:0}.c-blank-drop-zone{background:#4f7db2;padding:.5rem;height:4.5rem;margin:0 .4rem;position:relative;float:left}.c-drop-zone{-webkit-box-flex:1;-ms-flex:1;flex:1}.c-blank{width:7rem;margin:0 .8rem;height:.2rem;background:#fff;position:relative;top:2.3rem}.assessment-complete{font-family:open_sansregular,sans-serif;font-size:1.8rem;color:#4a4a4a;text-align:center;padding:100px}.c-drag-target__background img{max-width:100%}.c-drag-zone{position:absolute;border-radius:.3rem}.c-drag-zone.show-border{border:.2rem solid #000;box-shadow:0 0 .2rem .2rem #fff}.c-drag-zone--snap .c-drag-zone__name{top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);border:.2rem solid #000;white-space:nowrap;border-radius:.3rem}.c-drag-zone__name{font-family:open_sanssemibold,sans-serif;font-size:1.2rem;color:#000;padding:0 .5rem;background:#fff;position:absolute;left:0;top:0}.c-droppable-container{width:100%;max-height:30rem;overflow:auto;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;border:.2rem solid #4f7db2;margin-top:2rem;padding:1rem}.c-droppable-container .c-droppable-item{margin:.5rem;box-shadow:0 0 .3rem rgba(0,0,0,.3)}.c-droppable-item{display:inline-block;cursor:-webkit-grab;cursor:grab}.c-droppable-item img{max-height:25rem;display:block}.c-droppable-item:active{cursor:-webkit-grabbing;cursor:grabbing}.c-droppable-item.is-hidden{opacity:0;pointer-events:none}.video-js .vjs-big-play-button:before,.video-js .vjs-control:before,.video-js .vjs-modal-dialog,.vjs-modal-dialog .vjs-modal-dialog-content{position:absolute;top:0;left:0;width:100%;height:100%}.video-js .vjs-big-play-button:before,.video-js .vjs-control:before{text-align:center}@font-face{font-family:VideoJS;src:url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAAA54AAoAAAAAFmgAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAAA9AAAAD4AAABWUZFeBWNtYXAAAAE0AAAAOgAAAUriMBC2Z2x5ZgAAAXAAAAouAAAPUFvx6AdoZWFkAAALoAAAACsAAAA2DIPpX2hoZWEAAAvMAAAAGAAAACQOogcgaG10eAAAC+QAAAAPAAAAfNkAAABsb2NhAAAL9AAAAEAAAABAMMg06m1heHAAAAw0AAAAHwAAACABMAB5bmFtZQAADFQAAAElAAACCtXH9aBwb3N0AAANfAAAAPwAAAGBZkSN43icY2BkZ2CcwMDKwMFSyPKMgYHhF4RmjmEIZzzHwMDEwMrMgBUEpLmmMDh8ZPwoxw7iLmSHCDOCCADvEAo+AAB4nGNgYGBmgGAZBkYGEHAB8hjBfBYGDSDNBqQZGZgYGD7K/f8PUvCREUTzM0DVAwEjG8OIBwCPdwbVAAB4nI1Xe1CU1xX/zv1eLItLln0JwrIfC7sJGET2hRJ2N1GUoBJE8AESQEEhmBHjaB7UuBMTO4GMaSu7aY3RNlOdRPNqO2pqRmuTaSZtR6JJILUZk00a/4imjpmiecB303O/XUgMJOPufvd+99xzzz33nN855y4HHH7EfrGfIxwHRiANvF/sH71I9BzHszmpW+rGOQOXxXE6YhI4PoMT8zkT4cDFuf1cwMrZJI5cglM0HKVv0MaUFDgIFfg9mJJCG+kbKn1JkqBOVaFOkuhLpARq8fu0Nnc9/zdvfY9PxXW4PdH0C6N+PCejhorxFjAqRjgFRXSINEARbBGsoxcFK7IJmr4OycFJnInL59zIXwxui80fkGRbEHyosMWaATJKUfCskmwJQsAWANkmnIGOhlf514h7U8HNIv3owoHB0WMt0Eb3sx0guLi5pq/8Ny1q6969fKR9X9GBV6dPv6dp04K99SOwtmyPl47ApRa6n4ZpP1yjr5fn7MmYP/vXLUJs715UguklHBaHOZHZmG1N9FAIW2mf0MqWCIdo/8RZ1yGfxKUldDcGIbFA7ICO+vqOMSPTh/ZrSqgHi/bB/O8E8Mnzp+M+acxfpsTShBwej26TiGxBn7m4eEIO+Rueu6Hj+IFBnh88cAEUEQ//nVLx5C7kf+yIR47QEe+eMlhz9SqsGbe3hh2R03NGzoY6O42Kz8l7fB6fAk6LYnTyFo/FYyT6GGyNx2Jx2sdH4rA1Fo/HyCXaFyOp8dhYBCfJb2NIn1ImE6CYNGmgSTb52DawJR6jfXEmDU4xyTEmpgHHOIStoxfjSGdkbsK2w2jbdMQG4sgAstEONgURYCwGHhEhhscioQaAhhCf7McifEQc0l6+mxj9nI+gmSdiQ0Zbm7gZnIO7GSMEXG6UDAVocxAV8GcEXCKg1a02RcTtwANWRGIAyElor6n/+ZU2yOB3+T77Hb1MLqhn4KHVnQBjJnqe9QZSon6Kc5DxAD2vMdPL/BXSmQGwspa67z9wLUjdi9TN7QC7lyyBr9rpt7uXVC1CMpyjKRoXnGPHTuiaPLsNdc2dbAFQLAooPkXEh33FodHl4XpC6sPCIa0ftUIhHSYXVSu5iME+DIXsbZJ51BeidCgajcai43jU9nVzoSn2dPqcFvSoxSzJzgRKAx47WMRxOrIj3Wf0+hndxhJTiOkSEqxar3b3RKM9hY64oxBA64ieURLvCfpkDb8siBdUJ1bgT+urJ5PGfewQrmm5R5+0HmfyIPySD7OYkT0WxRePah8oEiyjlxIP74thVoRTURpmL6QhGuWS+QDjdANXjIM8SQa/1w128ODx0Qp4aLMNg9+JL3joUn8AMxW+aLNiuKjarn4uyyTdXjOzZTsh21uwldUvJoYza+zELALfu3p1L8/3krtyZ0Ag058J3hxHghvbGZn0dHZy6Mim/7Blre4lpHd1c28yVqRViO153F2oIWoXCIKbL4Z0cM1iaQn9mI5KuV2SzEvWXJDMNtkANpMdQoDDhIdD4A/YrP6Aye9ysxyE+uOEAcTDorgvVZJjcua043PnZ/PmdDqcbibZlXOOT8uSo7Kof0YUn9GL+Jo17ficymxiTofC6znUso0DhAxs1Fo+kF+d36vLmgZ8mk5cdGv2mwYj5k3Dm9m3LhJ1aVRNm6HrTbLgYAoWXDhDd/u4PGy5CT+xGMdiaBovewUCF/1BiWNljI9MLn7jeScpg+WyH6mfU62eVDql7hsrmvx1ezp/YldE2LhjbkiDnAn8tGy/MW3IXRMYJduvq9HpmIcKuFt+JCtgdGEGKAcF6UacVwIYbVPGfw/+YuNBS4cx/CUHcnyfc+wRDMtTr72mMSBjT/yn/GKSdeDWQUCH6Xoqq5R10RE60gV6erUL0iCti16d0hZjxut4QI/rEpgSh6WjnJXdBXRg1GKCucGJPtFqM27aD1tOqqKonsQ2KsFSSmEpmvRlsR+TcD9OFwrqXxIclL4sJTnGMSuG8KpkZvKdeVIOKDyWSyPLV16/p1QMPbP8NihwUzr47bdnXtwtjdCvqqpO0H+pOvIl3Pzv46e5CT/tQjklXCXXym1AaWY7bzHLkuDMc7ldKCvgxzLn8wYkJLBhEDyK7MT8bTbwbkxbfp+3mKAGsmTBpabSIEECzMIcQlzOPAMKsxMs7uhsnxPLuofPDTc1hkuq6MX9j16YU7CqegcYHbmWYuvAP6tCS97tgWf7dlQvnl25YPavXLVZvrzQPeHCpZmzzEUVq/xzu5sChnSTPTW7oOYmh69z4zL/gk3b+O6hoa733uviP82vnFcbqWlc9tDmZa23LVzaV1yXURi+JX+28NeBuj3+O8IrQ080Vm1eWB4OKjPmrJu7c1udWynvKF6/vs479lSW9+5gZkn+dKfellNGDPllzeULustz+A0bPvhgw7lkvEUwn/N4Ty7U7nhGsEpFkOfy+kutbOh1JQxhVDJumoW11hnkPThznh6FFlhfT+ra1x9sF56kx5YuDzVY9PQYAYA7iblw4frQ4TPCk2MK/xGU3rlmze62trHz6lsko+v+So/do74PT8KVkpJfOErKcv8znrMGsHTNxoEkWy1mYgDB6XBbPaWsuiS6CryGaL6zCjaXBgvtkuyXBua1wOKnh+k7L9AvPnYWffxK18FcJbuosGf3/Jo7amY+CE1vppzY+UTrva0FXc1i55pKQ/YjVL187N5fCn1kW5uot/1hi+DiZ+5atnJR9E+prvydJ9ZZ5mwOpU5gM4KYysMBQ71UzPuMTl9QQOyUo5nwioeYCPjFklrbK6s6X+ypUZ6rum9+CZYzWRiBJfSP0xzzSmrg7f86g0DKVj/wwFzieD9rRfPGFbeKMl05pn5j9/rsQJJ2iEgRrpohlyBo3f4QK7Kl+EcAYZgAoNVmZWXK704YAa3FwBxgSGUOs5htvGRz4Sgj3yFkSJFBuv/sxu5yk998T8WDJzvv/2RX19HtTUW1S+wpKRKRjJ6zzz/1/OPdFdWGlAKbvzS4PHOtURikg9AGz0LbIB85S/cPOpoXvuue8/iV2H1vPTy3ddvOeZ37HGmO3OmSzVzR+NS53+84dHlFhXPLqtzSO+5ruHM2vXtBdxP87LOzKAD359j/INYIbyPabIi3Cq6Wa+SaGe78diIzu7qcblcAa6/fJRvNopXFJnO+U9KKM5bqH5LM0iQSVmpPCPDu7ZT4Aoubz3709EBTyrTDjyx8MQXgUH1nqm7TWng4TzE4i4AsKskBITXfSyC4Fkl5MxnJDiKSIDSJAsGvd1y+/eNDp2e+A+5d8HeiiunrTkT6TqWLIs+/QRoWr98s0qj8uuzLuS22Ytufg3rdTaHn1m46sfgGKHXt0MGnLaRHdnwN37tvHcWKo2V6lnPxL4UvUQcRdOzmZSQs8X5CH5OxXMXpkATuDz8Et0SH4uyCRR+TjmBDP1GvsVrWEGVzEj33YVQ9jAtIKpqsl/s/0xrocwAAeJxjYGRgYADig3cEzsTz23xl4GZnAIHLRucNkWl2BrA4BwMTiAIAF4IITwB4nGNgZGBgZwCChWASxGZkQAXyABOUANh4nGNnYGBgHyAMADa8ANoAAAAAAAAOAFAAZgCyAMYA5gEeAUgBdAGcAfICLgKOAroDCgOOA7AD6gQ4BHwEuAToBQwFogXoBjYGbAbaB3IHqHicY2BkYGCQZ8hlYGcAASYg5gJCBob/YD4DABbVAaoAeJxdkE1qg0AYhl8Tk9AIoVDaVSmzahcF87PMARLIMoFAl0ZHY1BHdBJIT9AT9AQ9RQ9Qeqy+yteNMzDzfM+88w0K4BY/cNAMB6N2bUaPPBLukybCLvleeAAPj8JD+hfhMV7hC3u4wxs7OO4NzQSZcI/8Ltwnfwi75E/hAR7wJTyk/xYeY49fYQ/PztM+jbTZ7LY6OWdBJdX/pqs6NYWa+zMxa13oKrA6Uoerqi/JwtpYxZXJ1coUVmeZUWVlTjq0/tHacjmdxuL90OR8O0UEDYMNdtiSEpz5XQGqzlm30kzUdAYFFOb8R7NOZk0q2lwAyz1i7oAr1xoXvrOgtYhZx8wY5KRV269JZ5yGpmzPTjQhvY9je6vEElPOuJP3mWKnP5M3V+YAAAB4nG2P2XLCMAxFfYFspGUp3Te+IB9lHJF4cOzUS2n/voaEGR6qB+lKo+WITdhga/a/bRnDBFPMkCBFhhwF5ihxg1sssMQKa9xhg3s84BFPeMYLXvGGd3zgE9tZr/hveXKVkFYoSnoeHJXfRoWOqi54mo9ameNFdrK+dLSyaVf7oJQTlkhXpD3Z5XXhR/rUfQVuKXO91Jps4cLOS6/I5YL3XhodRRsVWZe4NnZOhWnSAWgxhMoEr6SmzZieF43Mk7ZOBdeCVGrp9Eu+54J2xhySplfB5XHwQLXUmT9KH6+kPnQ7ZYuIEzNyfs1DLU1VU4SWZ6LkXGHsD1ZKbMw=) format("woff"),url(data:application/x-font-ttf;charset=utf-8;base64,AAEAAAAKAIAAAwAgT1MvMlGRXgUAAAEoAAAAVmNtYXDiMBC2AAAB/AAAAUpnbHlmW/HoBwAAA4gAAA9QaGVhZAyD6V8AAADQAAAANmhoZWEOogcgAAAArAAAACRobXR42QAAAAAAAYAAAAB8bG9jYTDINOoAAANIAAAAQG1heHABMAB5AAABCAAAACBuYW1l1cf1oAAAEtgAAAIKcG9zdGZEjeMAABTkAAABgQABAAAHAAAAAKEHAAAAAAAHAAABAAAAAAAAAAAAAAAAAAAAHwABAAAAAQAAwdxheF8PPPUACwcAAAAAANMyzzEAAAAA0zLPMQAAAAAHAAcAAAAACAACAAAAAAAAAAEAAAAfAG0ABwAAAAAAAgAAAAoACgAAAP8AAAAAAAAAAQcAAZAABQAIBHEE5gAAAPoEcQTmAAADXABXAc4AAAIABQMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUGZFZABA8QHxHgcAAAAAoQcAAAAAAAABAAAAAAAABwAAAAcAAAAHAAAABwAAAAcAAAAHAAAABwAAAAcAAAAHAAAABwAAAAcAAAAHAAAABwAAAAcAAAAHAAAABwAAAAcAAAAHAAAABwAAAAcAAAAHAAAABwAAAAcAAAAHAAAABwAAAAcAAAAHAAAABwAAAAcAAAAHAAAABwAAAAAAAAMAAAADAAAAHAABAAAAAABEAAMAAQAAABwABAAoAAAABgAEAAEAAgAA8R7//wAAAADxAf//AAAPAAABAAAAAAAAAAABBgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAFAAZgCyAMYA5gEeAUgBdAGcAfICLgKOAroDCgOOA7AD6gQ4BHwEuAToBQwFogXoBjYGbAbaB3IHqAABAAAAAAWLBYsAAgAAAREBAlUDNgWL++oCCwAAAwAAAAAGawZrAAIADgAaAAAJAhMEAAMSAAUkABMCAAEmACc2ADcWABcGAALrAcD+QJX+w/5aCAgBpgE9AT0BpggI/lr+w/3+rgYGAVL9/QFSBgb+rgIwAVABUAGbCP5a/sP+w/5aCAgBpgE9AT0BpvrIBgFS/f0BUgYG/q79/f6uAAAAAgAAAAAFQAWLAAMABwAAASERKQERIREBwAEr/tUCVQErAXUEFvvqBBYAAAAEAAAAAAYgBiAABgATACQAJwAAAS4BJxUXNjcGBxc+ATUmACcVFhIBBwEhESEBEQEGBxU+ATcXNwEHFwTQAWVVuAO7AidxJSgF/t/lpc77t18BYf6fASsBdQE+TF1OijuZX/1gnJwDgGSeK6W4GBhqW3FGnFT0AWM4mjT+9AHrX/6f/kD+iwH2/sI7HZoSRDGYXwSWnJwAAAEAAAAABKsF1gAFAAABESEBEQECCwEqAXb+igRg/kD+iwSq/osAAAACAAAAAAVmBdYABgAMAAABLgEnET4BAREhAREBBWUBZVRUZfwRASsBdf6LA4Bkniv9piueAUT+QP6LBKr+iwAAAwAAAAAGIAYPAAUADAAaAAATESEBEQEFLgEnET4BAxUWEhcGAgcVNgA3JgDgASsBdf6LAsUBZVVVZbqlzgMDzqXlASEFBf7fBGD+QP6LBKr+i+Bkniv9piueAvOaNP70tbX+9DSaOAFi9fUBYgAAAAQAAAAABYsFiwAFAAsAEQAXAAABIxEhNSMDMzUzNSEBIxUhESMDFTMVMxECC5YBduCWluD+igOA4AF2luDglgLr/oqWAgrglvyAlgF2AqCW4AF2AAQAAAAABYsFiwAFAAsAEQAXAAABMxUzESETIxUhESMBMzUzNSETNSMRITUBdeCW/org4AF2lgHAluD+ipaWAXYCVeABdgHAlgF2++rglgHA4P6KlgAAAAACAAAAAAXWBdYADwATAAABIQ4BBxEeARchPgE3ES4BAyERIQVA/IA/VQEBVT8DgD9VAQFVP/yAA4AF1QFVP/yAP1UBAVU/A4A/VfvsA4AAAAYAAAAABmsGawAHAAwAEwAbACAAKAAACQEmJw4BBwElLgEnAQUhATYSNyYFAQYCBxYXIQUeARcBMwEWFz4BNwECvgFkTlSH8GEBEgOONemh/u4C5f3QAXpcaAEB/BP+3VxoAQEOAjD95DXpoQESeP7dTlSH8GH+7gPwAmgSAQFYUP4nd6X2Pv4nS/1zZAEBk01NAfhk/v+TTUhLpfY+Adn+CBIBAVhQAdkAAAAFAAAAAAZrBdYADwATABcAGwAfAAABIQ4BBxEeARchPgE3ES4BASEVIQEhNSEFITUhNSE1IQXV+1ZAVAICVEAEqkBUAgJU+xYBKv7WAur9FgLqAcD+1gEq/RYC6gXVAVU//IA/VQEBVT8DgD9V/ayV/tWVlZWWlQADAAAAAAYgBdYADwAnAD8AAAEhDgEHER4BFyE+ATcRLgEBIzUjFTM1MxUUBgcjLgEnET4BNzMeARUFIzUjFTM1MxUOAQcjLgE1ETQ2NzMeARcFi/vqP1QCAlQ/BBY/VAICVP1rcJWVcCog4CAqAQEqIOAgKgILcJWVcAEqIOAgKiog4CAqAQXVAVU//IA/VQEBVT8DgD9V/fcl4CVKICoBASogASogKgEBKiBKJeAlSiAqAQEqIAEqICoBASogAAAGAAAAAAYgBPYAAwAHAAsADwATABcAABMzNSMRMzUjETM1IwEhNSERITUhERUhNeCVlZWVlZUBKwQV++sEFfvrBBUDNZb+QJUBwJX+QJb+QJUCVZWVAAAAAQAAAAAGIAZsAC4AAAEiBgcBNjQnAR4BMz4BNy4BJw4BBxQXAS4BIw4BBx4BFzI2NwEGBx4BFz4BNy4BBUArSh797AcHAg8eTixffwICf19ffwIH/fEeTixffwICf18sTh4CFAUBA3tcXHsDA3sCTx8bATcZNhkBNB0gAn9fX38CAn9fGxn+zRwgAn9fX38CIBz+yhcaXHsCAntcXXsAAAIAAAAABlkGawBDAE8AAAE2NCc3PgEnAy4BDwEmLwEuASchDgEPAQYHJyYGBwMGFh8BBhQXBw4BFxMeAT8BFh8BHgEXIT4BPwE2NxcWNjcTNiYnBS4BJz4BNx4BFw4BBasFBZ4KBgeWBxkNujpEHAMUD/7WDxQCHEU5ug0aB5UHBQudBQWdCwUHlQcaDbo5RRwCFA8BKg8UAhxFOboNGgeVBwUL/ThvlAIClG9vlAIClAM3JEokewkaDQEDDAkFSy0cxg4RAQERDsYcLUsFCQz+/QwbCXskSiR7CRoN/v0MCQVLLRzGDhEBAREOxhwtSwUJDAEDDBsJQQKUb2+UAgKUb2+UAAAAAAEAAAAABmsGawALAAATEgAFJAATAgAlBACVCAGmAT0BPQGmCAj+Wv7D/sP+WgOA/sP+WggIAaYBPQE9AaYICP5aAAAAAgAAAAAGawZrAAsAFwAAAQQAAxIABSQAEwIAASYAJzYANxYAFwYAA4D+w/5aCAgBpgE9AT0BpggI/lr+w/3+rgYGAVL9/QFSBgb+rgZrCP5a/sP+w/5aCAgBpgE9AT0BpvrIBgFS/f0BUgYG/q79/f6uAAADAAAAAAZrBmsACwAXACMAAAEEAAMSAAUkABMCAAEmACc2ADcWABcGAAMOAQcuASc+ATceAQOA/sP+WggIAaYBPQE9AaYICP5a/sP9/q4GBgFS/f0BUgYG/q4dAn9fX38CAn9fX38Gawj+Wv7D/sP+WggIAaYBPQE9Aab6yAYBUv39AVIGBv6u/f3+rgJPX38CAn9fX38CAn8AAAAEAAAAAAYgBiAADwAbACUAKQAAASEOAQcRHgEXIT4BNxEuAQEjNSMVIxEzFTM1OwEhHgEXEQ4BByE3MzUjBYv76j9UAgJUPwQWP1QCAlT9a3CVcHCVcJYBKiAqAQEqIP7WcJWVBiACVD/76j9UAgJUPwQWP1T8gpWVAcC7uwEqIP7WICoBcOAAAgAAAAAGawZrAAsAFwAAAQQAAxIABSQAEwIAEwcJAScJATcJARcBA4D+w/5aCAgBpgE9AT0BpggI/lo4af70/vRpAQv+9WkBDAEMaf71BmsI/lr+w/7D/loICAGmAT0BPQGm/BFpAQv+9WkBDAEMaf71AQtp/vQAAQAAAAAF1ga2ABYAAAERCQERHgEXDgEHLgEnIxYAFzYANyYAA4D+iwF1vv0FBf2+vv0FlQYBUf7+AVEGBv6vBYsBKv6L/osBKgT9v779BQX9vv7+rwYGAVH+/gFRAAAAAQAAAAAFPwcAABQAAAERIyIGHQEhAyMRIREjETM1NDYzMgU/nVY8ASUn/v7O///QrZMG9P74SEi9/tj9CQL3ASjaus0AAAAABAAAAAAGjgcAADAARQBgAGwAAAEUHgMVFAcGBCMiJicmNTQ2NzYlLgE1NDcGIyImNTQ2Nz4BMyEHIx4BFRQOAycyNjc2NTQuAiMiBgcGFRQeAxMyPgI1NC4BLwEmLwImIyIOAxUUHgIBMxUjFSM1IzUzNTMDH0BbWkAwSP7qn4TlOSVZSoMBESAfFS4WlMtIP03TcAGiioNKTDFFRjGSJlAaNSI/akAqURkvFCs9WTY6a1s3Dg8THgocJU4QIDVob1M2RnF9A2vV1WnU1GkD5CRFQ1CATlpTenNTYDxHUYouUhIqQCkkMQTBlFKaNkJAWD+MWkhzRztAPiEbOWY6hn1SJyE7ZS5nZ1I0/JcaNF4+GTAkGCMLFx04Ag4kOF07Rms7HQNsbNvbbNkAAwAAAAAGgAZsAAMADgAqAAABESERARYGKwEiJjQ2MhYBESERNCYjIgYHBhURIRIQLwEhFSM+AzMyFgHd/rYBXwFnVAJSZGemZASP/rdRVj9VFQv+twIBAQFJAhQqR2c/q9AEj/whA98BMkliYpNhYfzd/cgCEml3RTMeM/3XAY8B8DAwkCAwOB/jAAABAAAAAAaUBgAAMQAAAQYHFhUUAg4BBCMgJxYzMjcuAScWMzI3LgE9ARYXLgE1NDcWBBcmNTQ2MzIXNjcGBzYGlENfAUyb1v7SrP7x4SMr4bBpph8hHCsqcJNETkJOLHkBW8YIvYaMYG1gJWldBWhiRQ4cgv797rdtkQSKAn1hBQsXsXUEJgMsjlNYS5WzCiYkhr1mFTlzPwoAAAABAAAAAAWABwAAIgAAARcOAQcGLgM1ESM1PgQ3PgE7AREhFSERFB4CNzYFMFAXsFlorXBOIahIckQwFAUBBwT0AU3+sg0gQzBOAc/tIz4BAjhceHg6AiDXGlddb1ctBQf+WPz9+h40NR4BAgABAAAAAAaABoAASgAAARQCBCMiJzY/AR4BMzI+ATU0LgEjIg4DFRQWFxY/ATY3NicmNTQ2MzIWFRQGIyImNz4CNTQmIyIGFRQXAwYXJgI1NBIkIAQSBoDO/p/Rb2s7EzYUaj15vmh34o5ptn9bK1BNHggIBgIGETPRqZepiWs9Sg4IJRc2Mj5WGWMRBM7+zgFhAaIBYc4DgNH+n84gXUfTJzmJ8JZyyH46YH2GQ2ieIAwgHxgGFxQ9WpfZpIOq7lc9I3VZHzJCclVJMf5eRmtbAXzp0QFhzs7+nwAABwAAAAAHAATPAA4AFwAqAD0AUABaAF0AAAERNh4CBw4BBwYmIycmNxY2NzYmBxEUBRY2Nz4BNy4BJyMGHwEeARcOARcWNjc+ATcuAScjBh8BHgEXFAYXFjY3PgE3LgEnIwYfAR4BFw4BBTM/ARUzESMGAyUVJwMchM2UWwgNq4JHrQgBAapUaAoJcWMBfiIhDiMrAQJLMB0BBAokNAIBPmMiIQ4iLAECSzAeAQUKJDQBP2MiIQ4iLAECSzAeAQUKJDQBAT75g+5B4arNLNIBJ44ByQL9BQ9mvYCKwA8FBQMDwwJVTGdzBf6VB8IHNR08lld9uT4LCRA/qGNxvUwHNR08lld9uT4LCRA/qGNxvUwHNR08lld9uT4LCRA/qGNxvVJkAWUDDEf+tYP5AQAAAAEAAAAABiAGtgAbAAABBAADER4BFzMRITU2ADcWABcVIREzPgE3EQIAA4D+4v6FBwJ/X+D+1QYBJ97eAScG/tXgX38CB/6FBrUH/oX+4v32X38CAlWV3gEnBgb+2d6V/asCf18CCgEeAXsAAAAAEADGAAEAAAAAAAEABwAAAAEAAAAAAAIABwAHAAEAAAAAAAMABwAOAAEAAAAAAAQABwAVAAEAAAAAAAUACwAcAAEAAAAAAAYABwAnAAEAAAAAAAoAKwAuAAEAAAAAAAsAEwBZAAMAAQQJAAEADgBsAAMAAQQJAAIADgB6AAMAAQQJAAMADgCIAAMAAQQJAAQADgCWAAMAAQQJAAUAFgCkAAMAAQQJAAYADgC6AAMAAQQJAAoAVgDIAAMAAQQJAAsAJgEeVmlkZW9KU1JlZ3VsYXJWaWRlb0pTVmlkZW9KU1ZlcnNpb24gMS4wVmlkZW9KU0dlbmVyYXRlZCBieSBzdmcydHRmIGZyb20gRm9udGVsbG8gcHJvamVjdC5odHRwOi8vZm9udGVsbG8uY29tAFYAaQBkAGUAbwBKAFMAUgBlAGcAdQBsAGEAcgBWAGkAZABlAG8ASgBTAFYAaQBkAGUAbwBKAFMAVgBlAHIAcwBpAG8AbgAgADEALgAwAFYAaQBkAGUAbwBKAFMARwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABzAHYAZwAyAHQAdABmACAAZgByAG8AbQAgAEYAbwBuAHQAZQBsAGwAbwAgAHAAcgBvAGoAZQBjAHQALgBoAHQAdABwADoALwAvAGYAbwBuAHQAZQBsAGwAbwAuAGMAbwBtAAAAAgAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAfAAABAgEDAQQBBQEGAQcBCAEJAQoBCwEMAQ0BDgEPARABEQESARMBFAEVARYBFwEYARkBGgEbARwBHQEeAR8EcGxheQtwbGF5LWNpcmNsZQVwYXVzZQt2b2x1bWUtbXV0ZQp2b2x1bWUtbG93CnZvbHVtZS1taWQLdm9sdW1lLWhpZ2gQZnVsbHNjcmVlbi1lbnRlcg9mdWxsc2NyZWVuLWV4aXQGc3F1YXJlB3NwaW5uZXIJc3VidGl0bGVzCGNhcHRpb25zCGNoYXB0ZXJzBXNoYXJlA2NvZwZjaXJjbGUOY2lyY2xlLW91dGxpbmUTY2lyY2xlLWlubmVyLWNpcmNsZQJoZAZjYW5jZWwGcmVwbGF5CGZhY2Vib29rBWdwbHVzCGxpbmtlZGluB3R3aXR0ZXIGdHVtYmxyCXBpbnRlcmVzdBFhdWRpby1kZXNjcmlwdGlvbgVhdWRpbwAAAAAA) format("truetype");font-weight:400;font-style:normal}.video-js .vjs-big-play-button,.video-js .vjs-play-control,.vjs-icon-play{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-big-play-button:before,.video-js .vjs-play-control:before,.vjs-icon-play:before{content:"\F101"}.vjs-icon-play-circle{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-play-circle:before{content:"\F102"}.video-js .vjs-play-control.vjs-playing,.vjs-icon-pause{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-play-control.vjs-playing:before,.vjs-icon-pause:before{content:"\F103"}.video-js .vjs-mute-control.vjs-vol-0,.video-js .vjs-volume-menu-button.vjs-vol-0,.vjs-icon-volume-mute{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-mute-control.vjs-vol-0:before,.video-js .vjs-volume-menu-button.vjs-vol-0:before,.vjs-icon-volume-mute:before{content:"\F104"}.video-js .vjs-mute-control.vjs-vol-1,.video-js .vjs-volume-menu-button.vjs-vol-1,.vjs-icon-volume-low{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-mute-control.vjs-vol-1:before,.video-js .vjs-volume-menu-button.vjs-vol-1:before,.vjs-icon-volume-low:before{content:"\F105"}.video-js .vjs-mute-control.vjs-vol-2,.video-js .vjs-volume-menu-button.vjs-vol-2,.vjs-icon-volume-mid{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-mute-control.vjs-vol-2:before,.video-js .vjs-volume-menu-button.vjs-vol-2:before,.vjs-icon-volume-mid:before{content:"\F106"}.video-js .vjs-mute-control,.video-js .vjs-volume-menu-button,.vjs-icon-volume-high{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-mute-control:before,.video-js .vjs-volume-menu-button:before,.vjs-icon-volume-high:before{content:"\F107"}.video-js .vjs-fullscreen-control,.vjs-icon-fullscreen-enter{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-fullscreen-control:before,.vjs-icon-fullscreen-enter:before{content:"\F108"}.video-js.vjs-fullscreen .vjs-fullscreen-control,.vjs-icon-fullscreen-exit{font-family:VideoJS;font-weight:400;font-style:normal}.video-js.vjs-fullscreen .vjs-fullscreen-control:before,.vjs-icon-fullscreen-exit:before{content:"\F109"}.vjs-icon-square{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-square:before{content:"\F10A"}.vjs-icon-spinner{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-spinner:before{content:"\F10B"}.video-js .vjs-subtitles-button,.vjs-icon-subtitles{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-subtitles-button:before,.vjs-icon-subtitles:before{content:"\F10C"}.video-js .vjs-captions-button,.vjs-icon-captions{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-captions-button:before,.vjs-icon-captions:before{content:"\F10D"}.video-js .vjs-chapters-button,.vjs-icon-chapters{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-chapters-button:before,.vjs-icon-chapters:before{content:"\F10E"}.vjs-icon-share{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-share:before{content:"\F10F"}.vjs-icon-cog{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-cog:before{content:"\F110"}.video-js .vjs-mouse-display,.video-js .vjs-play-progress,.video-js .vjs-volume-level,.vjs-icon-circle{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-mouse-display:before,.video-js .vjs-play-progress:before,.video-js .vjs-volume-level:before,.vjs-icon-circle:before{content:"\F111"}.vjs-icon-circle-outline{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-circle-outline:before{content:"\F112"}.vjs-icon-circle-inner-circle{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-circle-inner-circle:before{content:"\F113"}.vjs-icon-hd{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-hd:before{content:"\F114"}.video-js .vjs-control.vjs-close-button,.vjs-icon-cancel{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-control.vjs-close-button:before,.vjs-icon-cancel:before{content:"\F115"}.vjs-icon-replay{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-replay:before{content:"\F116"}.vjs-icon-facebook{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-facebook:before{content:"\F117"}.vjs-icon-gplus{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-gplus:before{content:"\F118"}.vjs-icon-linkedin{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-linkedin:before{content:"\F119"}.vjs-icon-twitter{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-twitter:before{content:"\F11A"}.vjs-icon-tumblr{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-tumblr:before{content:"\F11B"}.vjs-icon-pinterest{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-pinterest:before{content:"\F11C"}.video-js .vjs-descriptions-button,.vjs-icon-audio-description{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-descriptions-button:before,.vjs-icon-audio-description:before{content:"\F11D"}.video-js .vjs-audio-button,.vjs-icon-audio{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-audio-button:before,.vjs-icon-audio:before{content:"\F11E"}.video-js{display:block;vertical-align:top;box-sizing:border-box;color:#fff;background-color:#000;position:relative;padding:0;font-size:10px;line-height:1;font-weight:400;font-style:normal;font-family:Arial,Helvetica,sans-serif;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.video-js:-moz-full-screen{position:absolute}.video-js:-webkit-full-screen{width:100%!important;height:100%!important}.video-js *,.video-js :after,.video-js :before{box-sizing:inherit}.video-js ul{font-family:inherit;font-size:inherit;line-height:inherit;list-style-position:outside;margin:0}.video-js.vjs-4-3,.video-js.vjs-16-9,.video-js.vjs-fluid{width:100%;max-width:100%;height:0}.video-js.vjs-16-9{padding-top:56.25%}.video-js.vjs-4-3{padding-top:75%}.video-js.vjs-fill,.video-js .vjs-tech{width:100%;height:100%}.video-js .vjs-tech{position:absolute;top:0;left:0}body.vjs-full-window{padding:0;margin:0;height:100%;overflow-y:auto}.vjs-full-window .video-js.vjs-fullscreen{position:fixed;overflow:hidden;z-index:1000;left:0;top:0;bottom:0;right:0}.video-js.vjs-fullscreen{width:100%!important;height:100%!important;padding-top:0!important}.video-js.vjs-fullscreen.vjs-user-inactive{cursor:none}.vjs-hidden{display:none!important}.vjs-disabled{opacity:.5;cursor:default}.video-js .vjs-offscreen{height:1px;left:-9999px;position:absolute;top:0;width:1px}.vjs-lock-showing{display:block!important;opacity:1;visibility:visible}.vjs-no-js{padding:20px;color:#fff;background-color:#000;font-size:18px;font-family:Arial,Helvetica,sans-serif;text-align:center;width:300px;height:150px;margin:0 auto}.vjs-no-js a,.vjs-no-js a:visited{color:#66a8cc}.video-js .vjs-big-play-button{font-size:3em;line-height:1.5em;height:1.5em;width:3em;display:block;position:absolute;top:10px;left:10px;padding:0;cursor:pointer;opacity:1;border:.06666em solid #fff;background-color:#2b333f;background-color:rgba(43,51,63,.7);border-radius:.3em;transition:all .4s}.vjs-big-play-centered .vjs-big-play-button{top:50%;left:50%;margin-top:-.75em;margin-left:-1.5em}.video-js .vjs-big-play-button:focus,.video-js:hover .vjs-big-play-button{outline:0;border-color:#fff;background-color:#73859f;background-color:rgba(115,133,159,.5);transition:all 0s}.vjs-controls-disabled .vjs-big-play-button,.vjs-error .vjs-big-play-button,.vjs-has-started .vjs-big-play-button,.vjs-using-native-controls .vjs-big-play-button{display:none}.video-js button{background:none;border:none;color:inherit;display:inline-block;overflow:visible;font-size:inherit;line-height:inherit;text-transform:none;text-decoration:none;transition:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.video-js .vjs-control.vjs-close-button{cursor:pointer;height:3em;position:absolute;right:0;top:.5em;z-index:2}.vjs-menu-button{cursor:pointer}.vjs-menu-button.vjs-disabled{cursor:default}.vjs-workinghover .vjs-menu-button.vjs-disabled:hover .vjs-menu{display:none}.vjs-menu .vjs-menu-content{display:block;padding:0;margin:0;overflow:auto}.vjs-scrubbing .vjs-menu-button:hover .vjs-menu{display:none}.vjs-menu li{list-style:none;margin:0;padding:.2em 0;line-height:1.4em;font-size:1.2em;text-align:center;text-transform:lowercase}.vjs-menu li:focus,.vjs-menu li:hover{outline:0;background-color:#73859f;background-color:rgba(115,133,159,.5)}.vjs-menu li.vjs-selected,.vjs-menu li.vjs-selected:focus,.vjs-menu li.vjs-selected:hover{background-color:#fff;color:#2b333f}.vjs-menu li.vjs-menu-title{text-align:center;text-transform:uppercase;font-size:1em;line-height:2em;padding:0;margin:0 0 .3em;font-weight:700;cursor:default}.vjs-menu-button-popup .vjs-menu{display:none;position:absolute;bottom:0;width:10em;left:-3em;height:0;margin-bottom:1.5em;border-top-color:rgba(43,51,63,.7)}.vjs-menu-button-popup .vjs-menu .vjs-menu-content{background-color:#2b333f;background-color:rgba(43,51,63,.7);position:absolute;width:100%;bottom:1.5em;max-height:15em}.vjs-menu-button-popup .vjs-menu.vjs-lock-showing,.vjs-workinghover .vjs-menu-button-popup:hover .vjs-menu{display:block}.video-js .vjs-menu-button-inline{transition:all .4s;overflow:hidden}.video-js .vjs-menu-button-inline:before{width:2.222222222em}.video-js .vjs-menu-button-inline.vjs-slider-active,.video-js .vjs-menu-button-inline:focus,.video-js .vjs-menu-button-inline:hover,.video-js.vjs-no-flex .vjs-menu-button-inline{width:12em}.video-js .vjs-menu-button-inline.vjs-slider-active{transition:none}.vjs-menu-button-inline .vjs-menu{opacity:0;height:100%;width:auto;position:absolute;left:4em;top:0;padding:0;margin:0;transition:all .4s}.vjs-menu-button-inline.vjs-slider-active .vjs-menu,.vjs-menu-button-inline:focus .vjs-menu,.vjs-menu-button-inline:hover .vjs-menu{display:block;opacity:1}.vjs-no-flex .vjs-menu-button-inline .vjs-menu{display:block;opacity:1;position:relative;width:auto}.vjs-no-flex .vjs-menu-button-inline.vjs-slider-active .vjs-menu,.vjs-no-flex .vjs-menu-button-inline:focus .vjs-menu,.vjs-no-flex .vjs-menu-button-inline:hover .vjs-menu{width:auto}.vjs-menu-button-inline .vjs-menu-content{width:auto;height:100%;margin:0;overflow:hidden}.video-js .vjs-control-bar{display:none;width:100%;position:absolute;bottom:0;left:0;right:0;height:3em;background-color:#2b333f;background-color:rgba(43,51,63,.7)}.vjs-has-started .vjs-control-bar{display:-webkit-box;display:-ms-flexbox;display:flex;visibility:visible;opacity:1;transition:visibility .1s,opacity .1s}.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar{visibility:visible;opacity:0;transition:visibility 1s,opacity 1s}@media \0screen{.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar{visibility:hidden}}.vjs-controls-disabled .vjs-control-bar,.vjs-error .vjs-control-bar,.vjs-using-native-controls .vjs-control-bar{display:none!important}.vjs-audio.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar{opacity:1;visibility:visible}@media \0screen{.vjs-user-inactive.vjs-playing .vjs-control-bar :before{content:""}}.vjs-has-started.vjs-no-flex .vjs-control-bar{display:table}.video-js .vjs-control{outline:none;position:relative;text-align:center;margin:0;padding:0;height:100%;width:4em;-webkit-box-flex:none;-ms-flex:none;flex:none}.video-js .vjs-control:before{font-size:1.8em;line-height:1.67}.video-js .vjs-control:focus,.video-js .vjs-control:focus:before,.video-js .vjs-control:hover:before{text-shadow:0 0 1em #fff}.video-js .vjs-control-text{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.vjs-no-flex .vjs-control{display:table-cell;vertical-align:middle}.video-js .vjs-custom-control-spacer{display:none}.video-js .vjs-progress-control{-webkit-box-flex:auto;-ms-flex:auto;flex:auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;min-width:4em}.vjs-live .vjs-progress-control{display:none}.video-js .vjs-progress-holder{-webkit-box-flex:auto;-ms-flex:auto;flex:auto;transition:all .2s;height:.3em}.video-js .vjs-progress-control:hover .vjs-progress-holder{font-size:1.6666666666666667em}.video-js .vjs-progress-control:hover .vjs-mouse-display:after,.video-js .vjs-progress-control:hover .vjs-play-progress:after,.video-js .vjs-progress-control:hover .vjs-time-tooltip{font-family:Arial,Helvetica,sans-serif;visibility:visible;font-size:.6em}.video-js .vjs-progress-holder .vjs-load-progress,.video-js .vjs-progress-holder .vjs-load-progress div,.video-js .vjs-progress-holder .vjs-play-progress,.video-js .vjs-progress-holder .vjs-tooltip-progress-bar{position:absolute;display:block;height:.3em;margin:0;padding:0;width:0;left:0;top:0}.video-js .vjs-mouse-display:before{display:none}.video-js .vjs-play-progress{background-color:#fff}.video-js .vjs-play-progress:before{position:absolute;top:-.333333333333333em;right:-.5em;font-size:.9em}.video-js .vjs-mouse-display:after,.video-js .vjs-play-progress:after,.video-js .vjs-time-tooltip{visibility:hidden;pointer-events:none;position:absolute;top:-3.4em;right:-1.9em;font-size:.9em;color:#000;content:attr(data-current-time);padding:6px 8px 8px;background-color:#fff;background-color:hsla(0,0%,100%,.8);border-radius:.3em}.video-js .vjs-play-progress:after,.video-js .vjs-play-progress:before,.video-js .vjs-time-tooltip{z-index:1}.video-js .vjs-progress-control .vjs-keep-tooltips-inside:after{display:none}.video-js .vjs-load-progress{background:#bfc7d3;background:rgba(115,133,159,.5)}.video-js .vjs-load-progress div{background:#fff;background:rgba(115,133,159,.75)}.video-js.vjs-no-flex .vjs-progress-control{width:auto}.video-js .vjs-time-tooltip{display:inline-block;height:2.4em;position:relative;float:right;right:-1.9em}.vjs-tooltip-progress-bar{visibility:hidden}.video-js .vjs-progress-control .vjs-mouse-display{display:none;position:absolute;width:1px;height:100%;background-color:#000;z-index:1}.vjs-no-flex .vjs-progress-control .vjs-mouse-display{z-index:0}.video-js .vjs-progress-control:hover .vjs-mouse-display{display:block}.video-js.vjs-user-inactive .vjs-progress-control .vjs-mouse-display,.video-js.vjs-user-inactive .vjs-progress-control .vjs-mouse-display:after{visibility:hidden;opacity:0;transition:visibility 1s,opacity 1s}.video-js.vjs-user-inactive.vjs-no-flex .vjs-progress-control .vjs-mouse-display,.video-js.vjs-user-inactive.vjs-no-flex .vjs-progress-control .vjs-mouse-display:after{display:none}.video-js .vjs-progress-control .vjs-mouse-display:after,.vjs-mouse-display .vjs-time-tooltip{color:#fff;background-color:#000;background-color:rgba(0,0,0,.8)}.video-js .vjs-slider{outline:0;position:relative;cursor:pointer;padding:0;margin:0 .45em;background-color:#73859f;background-color:rgba(115,133,159,.5)}.video-js .vjs-slider:focus{text-shadow:0 0 1em #fff;box-shadow:0 0 1em #fff}.video-js .vjs-mute-control,.video-js .vjs-volume-menu-button{cursor:pointer;-webkit-box-flex:none;-ms-flex:none;flex:none}.video-js .vjs-volume-control{width:5em;-webkit-box-flex:none;-ms-flex:none;flex:none;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.video-js .vjs-volume-bar{margin:1.35em .45em}.vjs-volume-bar.vjs-slider-horizontal{width:5em;height:.3em}.vjs-volume-bar.vjs-slider-vertical{width:.3em;height:5em;margin:1.35em auto}.video-js .vjs-volume-level{position:absolute;bottom:0;left:0;background-color:#fff}.video-js .vjs-volume-level:before{position:absolute;font-size:.9em}.vjs-slider-vertical .vjs-volume-level{width:.3em}.vjs-slider-vertical .vjs-volume-level:before{top:-.5em;left:-.3em}.vjs-slider-horizontal .vjs-volume-level{height:.3em}.vjs-slider-horizontal .vjs-volume-level:before{top:-.3em;right:-.5em}.vjs-volume-bar.vjs-slider-vertical .vjs-volume-level{height:100%}.vjs-volume-bar.vjs-slider-horizontal .vjs-volume-level{width:100%}.vjs-menu-button-popup.vjs-volume-menu-button .vjs-menu{display:block;width:0;height:0;border-top-color:transparent}.vjs-menu-button-popup.vjs-volume-menu-button-vertical .vjs-menu{left:.5em;height:8em}.vjs-menu-button-popup.vjs-volume-menu-button-horizontal .vjs-menu{left:-2em}.vjs-menu-button-popup.vjs-volume-menu-button .vjs-menu-content{height:0;width:0;overflow-x:hidden;overflow-y:hidden}.vjs-volume-menu-button-vertical .vjs-lock-showing .vjs-menu-content,.vjs-volume-menu-button-vertical.vjs-slider-active .vjs-menu-content,.vjs-volume-menu-button-vertical:focus .vjs-menu-content,.vjs-volume-menu-button-vertical:hover .vjs-menu-content{height:8em;width:2.9em}.vjs-volume-menu-button-horizontal .vjs-lock-showing .vjs-menu-content,.vjs-volume-menu-button-horizontal .vjs-slider-active .vjs-menu-content,.vjs-volume-menu-button-horizontal:focus .vjs-menu-content,.vjs-volume-menu-button-horizontal:hover .vjs-menu-content{height:2.9em;width:8em}.vjs-volume-menu-button.vjs-menu-button-inline .vjs-menu-content{background-color:transparent!important}.vjs-poster{display:inline-block;background-repeat:no-repeat;background-position:50% 50%;background-size:contain;background-color:#000;cursor:pointer;margin:0;position:absolute;top:0;right:0;bottom:0;left:0;height:100%}.vjs-poster,.vjs-poster img{vertical-align:middle;padding:0}.vjs-poster img{display:block;margin:0 auto;max-height:100%;width:100%}.vjs-has-started .vjs-poster{display:none}.vjs-audio.vjs-has-started .vjs-poster{display:block}.vjs-controls-disabled .vjs-poster,.vjs-using-native-controls .vjs-poster{display:none}.video-js .vjs-live-control{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;-webkit-box-flex:auto;-ms-flex:auto;flex:auto;font-size:1em;line-height:3em}.vjs-no-flex .vjs-live-control{display:table-cell;width:auto;text-align:left}.video-js .vjs-time-control{-webkit-box-flex:none;-ms-flex:none;flex:none;font-size:1em;line-height:3em;min-width:2em;width:auto;padding-left:1em;padding-right:1em}.video-js .vjs-current-time,.video-js .vjs-duration,.vjs-live .vjs-time-control,.vjs-no-flex .vjs-current-time,.vjs-no-flex .vjs-duration{display:none}.vjs-time-divider{display:none;line-height:3em}.vjs-live .vjs-time-divider{display:none}.video-js .vjs-play-control{cursor:pointer;-webkit-box-flex:none;-ms-flex:none;flex:none}.vjs-text-track-display{position:absolute;bottom:3em;left:0;right:0;top:0;pointer-events:none}.video-js.vjs-user-inactive.vjs-playing .vjs-text-track-display{bottom:1em}.video-js .vjs-text-track{font-size:1.4em;text-align:center;margin-bottom:.1em;background-color:#000;background-color:rgba(0,0,0,.5)}.vjs-subtitles{color:#fff}.vjs-captions{color:#fc6}.vjs-tt-cue{display:block}video::-webkit-media-text-track-display{-webkit-transform:translateY(-3em);transform:translateY(-3em)}.video-js.vjs-user-inactive.vjs-playing video::-webkit-media-text-track-display{-webkit-transform:translateY(-1.5em);transform:translateY(-1.5em)}.video-js .vjs-fullscreen-control{cursor:pointer;-webkit-box-flex:none;-ms-flex:none;flex:none}.vjs-playback-rate .vjs-playback-rate-value{font-size:1.5em;line-height:2;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center}.vjs-playback-rate .vjs-menu{width:4em;left:0}.vjs-error .vjs-error-display .vjs-modal-dialog-content{font-size:1.4em;text-align:center}.vjs-error .vjs-error-display:before{color:#fff;content:"X";font-family:Arial,Helvetica,sans-serif;font-size:4em;left:0;line-height:1;margin-top:-.5em;position:absolute;text-shadow:.05em .05em .1em #000;text-align:center;top:50%;vertical-align:middle;width:100%}.vjs-loading-spinner{display:none;position:absolute;top:50%;left:50%;margin:-25px 0 0 -25px;opacity:.85;text-align:left;border:6px solid rgba(43,51,63,.7);box-sizing:border-box;background-clip:padding-box;width:50px;height:50px;border-radius:25px}.vjs-seeking .vjs-loading-spinner,.vjs-waiting .vjs-loading-spinner{display:block}.vjs-loading-spinner:after,.vjs-loading-spinner:before{content:"";position:absolute;margin:-6px;box-sizing:inherit;width:inherit;height:inherit;border-radius:inherit;opacity:1;border:inherit;border-color:transparent;border-top-color:#fff}.vjs-seeking .vjs-loading-spinner:after,.vjs-seeking .vjs-loading-spinner:before,.vjs-waiting .vjs-loading-spinner:after,.vjs-waiting .vjs-loading-spinner:before{-webkit-animation:vjs-spinner-spin 1.1s cubic-bezier(.6,.2,0,.8) infinite,vjs-spinner-fade 1.1s linear infinite;animation:vjs-spinner-spin 1.1s cubic-bezier(.6,.2,0,.8) infinite,vjs-spinner-fade 1.1s linear infinite}.vjs-seeking .vjs-loading-spinner:before,.vjs-waiting .vjs-loading-spinner:before{border-top-color:#fff}.vjs-seeking .vjs-loading-spinner:after,.vjs-waiting .vjs-loading-spinner:after{border-top-color:#fff;-webkit-animation-delay:.44s;animation-delay:.44s}@keyframes vjs-spinner-spin{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes vjs-spinner-spin{to{-webkit-transform:rotate(1turn)}}@keyframes vjs-spinner-fade{0%{border-top-color:#73859f}20%{border-top-color:#73859f}35%{border-top-color:#fff}60%{border-top-color:#73859f}to{border-top-color:#73859f}}@-webkit-keyframes vjs-spinner-fade{0%{border-top-color:#73859f}20%{border-top-color:#73859f}35%{border-top-color:#fff}60%{border-top-color:#73859f}to{border-top-color:#73859f}}.vjs-chapters-button .vjs-menu ul{width:24em}.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-custom-control-spacer{-webkit-box-flex:auto;-ms-flex:auto;flex:auto}.video-js.vjs-layout-tiny:not(.vjs-fullscreen).vjs-no-flex .vjs-custom-control-spacer{width:auto}.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-captions-button,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-chapters-button,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-current-time,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-duration,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-mute-control,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-playback-rate,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-remaining-time,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-subtitles-button,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-time-divider,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-volume-control,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-captions-button,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-chapters-button,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-current-time,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-duration,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-mute-control,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-playback-rate,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-progress-control,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-remaining-time,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-subtitles-button,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-time-divider,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-volume-control,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-volume-menu-button,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-captions-button,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-chapters-button,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-current-time,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-duration,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-mute-control,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-playback-rate,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-remaining-time,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-subtitles-button,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-time-divider,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-volume-control,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-volume-menu-button{display:none}.vjs-caption-settings{position:relative;top:1em;background-color:#2b333f;background-color:rgba(43,51,63,.75);color:#fff;margin:0 auto;padding:.5em;height:15em;font-size:12px;width:40em}.vjs-caption-settings .vjs-tracksettings{top:0;bottom:2em;left:0;right:0;position:absolute;overflow:auto}.vjs-caption-settings .vjs-tracksettings-colors,.vjs-caption-settings .vjs-tracksettings-font{float:left}.vjs-caption-settings .vjs-tracksettings-colors:after,.vjs-caption-settings .vjs-tracksettings-controls:after,.vjs-caption-settings .vjs-tracksettings-font:after{clear:both}.vjs-caption-settings .vjs-tracksettings-controls{position:absolute;bottom:1em;right:1em}.vjs-caption-settings .vjs-tracksetting{margin:5px;padding:3px;min-height:40px}.vjs-caption-settings .vjs-tracksetting label{display:block;width:100px;margin-bottom:5px}.vjs-caption-settings .vjs-tracksetting span{display:inline;margin-left:5px}.vjs-caption-settings .vjs-tracksetting>div{margin-bottom:5px;min-height:20px}.vjs-caption-settings .vjs-tracksetting>div:last-child{margin-bottom:0;padding-bottom:0;min-height:0}.vjs-caption-settings label>input{margin-right:10px}.vjs-caption-settings input[type=button]{width:40px;height:40px}.video-js .vjs-modal-dialog{background:rgba(0,0,0,.8);background:linear-gradient(180deg,rgba(0,0,0,.8),hsla(0,0%,100%,0))}.vjs-modal-dialog .vjs-modal-dialog-content{font-size:1.2em;line-height:1.5;padding:20px 24px;z-index:1}.vjs-skin-colors-clix{color:#fff}.vjs-skin-colors-clix .vjs-control-bar{background-color:#7d085e}.vjs-skin-colors-clix .vjs-big-play-button,.vjs-skin-colors-clix .vjs-menu-content{background-color:rgba(125,8,94,.7)}.vjs-skin-colors-clix .vjs-load-progress,.vjs-skin-colors-clix .vjs-play-progress,.vjs-skin-colors-clix .vjs-slider,.vjs-skin-colors-clix .vjs-volume-level{background-color:#e6007e}.vjs-skin-colors-clix .vjs-big-play-button,.vjs-skin-colors-clix .vjs-big-play-button:focus,.vjs-skin-colors-clix:hover .vjs-big-play-button{border-color:#c90d97}.vjs-skin-colors-clix:hover .vjs-big-play-button{background:radial-gradient(#a71680,#7d085e)}.vjs-skin-colors-clix .vjs-menu-button ul li{background-color:rgba(125,8,94,.3);color:#fff;font-family:open_sansregular,Arial,sans-serif}.vjs-skin-colors-clix .vjs-menu-button ul li.vjs-selected{background:radial-gradient(#a71680,#7d085e);color:#fff}.vjs-skin-colors-clix .vjs-menu-button ul li.vjs-selected:focus,.vjs-skin-colors-clix .vjs-menu-button ul li.vjs-selected:hover,.vjs-skin-colors-clix .vjs-menu-button ul li:focus,.vjs-skin-colors-clix .vjs-menu-button ul li:hover{background:radial-gradient(#e6007e,#b30062)}.vjs-skin-colors-clix .vjs-menu-button ul li.vjs-selected:active,.vjs-skin-colors-clix .vjs-menu-button ul li:active{background:radial-gradient(#c2006b,#750041)}::cue{font-size:1.5em;line-height:1.8}:root{--white:#ececec;--berry:#a61680;--french-blue:#4671a6;--white-three:#fff;--cool-blue:#5387c6;--blueberry:#573d8f;--dark-hot-pink:#e5007e;--white-two:#ddd;--greyish-brown:#4a4a4a;--warm-grey:#777;--white-four:#f7f6f6}.toggle-me{display:block;height:30px;margin:0;padding:6px 16px 2px;background:radial-gradient(#573d8f,#412e6b);border-radius:0 0 5px 5px;color:#fff;cursor:pointer;font-size:1.2rem;text-transform:uppercase;width:145px}.toggle-me:hover{background-color:#666;background:radial-gradient(#412e6b,#2c1f47)}.toggle-me:active{background:radial-gradient(#f37f2f,#f54b32)}#toggler{display:none}#toggler~.transcript{height:0;padding:0 0 10px;border-bottom:2px solid #ddd;opacity:0;overflow-y:scroll;transition:all 1s ease-in-out}#toggler:checked~.transcript{height:250px;opacity:1}.transcript p{font-size:.875em;line-height:1.4}.arrow-toggle{BACKGROUND:red;color:#fff;fill:currentColor;-webkit-transform:rotate(0deg);transform:rotate(0deg);transition:-webkit-transform 1s;transition:transform 1s;transition:transform 1s,-webkit-transform 1s}#toggler:checked~.arrow-toggle{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.vidbak{background-color:#efefef;border-bottom:3px solid #fff}.video-js{margin:.5rem auto 0}figure{margin:0;position:relative;overflow:hidden;text-align:center;background:#e5007e}figure img{max-width:100%;display:block;position:relative;-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:opacity 1s,-webkit-transform .4s;transition:opacity 1s,transform .4s;transition:opacity 1s,transform .4s,-webkit-transform .4s}figcaption{left:0;border-radius:2px;background:#e6007e;height:6px;opacity:0;-webkit-transform:translateY(100%);transform:translateY(100%);transition:opacity .3s .3s,-webkit-transform .4s;transition:transform .4s,opacity .3s .3s;transition:transform .4s,opacity .3s .3s,-webkit-transform .4s}figcaption,figcaption h5{position:absolute;bottom:0;display:inline-block;color:#fff;width:100%}figcaption h5{text-align:center;padding:7px;background:#b30062;right:0}figure:hover img{opacity:1;-webkit-transform:scale3d(1.1,1.1,1);transform:scale3d(1.1,1.1,1)}figure:hover figcaption{opacity:1;-webkit-transform:translateY(0);transform:translateY(0);transition:opacity .1s,-webkit-transform .4s;transition:transform .4s,opacity .1s;transition:transform .4s,opacity .1s,-webkit-transform .4s}#zoom01 button{margin:10px 0;padding:10px;background:radial-gradient(#573d8f,#412e6b);border:none;border-radius:5px;color:#fff;cursor:pointer;font-size:.75rem;text-transform:uppercase}#zoom01 button:hover{background-color:#666;background:radial-gradient(#412e6b,#2c1f47)}#zoom01 button:active{background:radial-gradient(#f37f2f,#f54b32)}
\ No newline at end of file
diff -ruN oac/author_styles-7e6281963b740d24f8dd_bundle.js oac-new/author_styles-7e6281963b740d24f8dd_bundle.js
--- oac/author_styles-7e6281963b740d24f8dd_bundle.js	2017-05-06 16:57:15.000000000 +0530
+++ oac-new/author_styles-7e6281963b740d24f8dd_bundle.js	1970-01-01 05:30:00.000000000 +0530
@@ -1 +0,0 @@
-!function(t){function r(n){if(e[n])return e[n].exports;var o=e[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}var e={};return r.m=t,r.c=e,r.p="/oac/",r(0)}(function(t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))switch(typeof t[r]){case"function":break;case"object":t[r]=function(r){var e=r.slice(1),n=t[r[0]];return function(t,r,o){n.apply(this,[t,r,o].concat(e))}}(t[r]);break;default:t[r]=t[t[r]]}return t}({0:function(t,r,e){"use strict";e(1418),e(1419),e(1415),e(1417),e(835)},835:function(t,r){},1415:835,1417:835,1418:835,1419:835}));
\ No newline at end of file
diff -ruN oac/author_styles-7e6281963b740d24f8dd.css oac-new/author_styles-7e6281963b740d24f8dd.css
--- oac/author_styles-7e6281963b740d24f8dd.css	2017-05-06 16:57:15.000000000 +0530
+++ oac-new/author_styles-7e6281963b740d24f8dd.css	1970-01-01 05:30:00.000000000 +0530
@@ -1 +0,0 @@
-body{background-color:#fff;color:#000;scrollbar-3dlight-color:#f0f0ee;scrollbar-arrow-color:#676662;scrollbar-base-color:#f0f0ee;scrollbar-darkshadow-color:#ddd;scrollbar-face-color:#e0e0dd;scrollbar-highlight-color:#f0f0ee;scrollbar-shadow-color:#f0f0ee;scrollbar-track-color:#f5f5f5}body,td,th{font-family:Verdana,Arial,Helvetica,sans-serif;font-size:14px}.mce-content-body .mce-reset{margin:0;padding:0;border:0;outline:0;vertical-align:top;background:transparent;text-decoration:none;color:#000;font-family:Arial;font-size:11px;text-shadow:none;float:none;position:static;width:auto;height:auto;white-space:nowrap;cursor:inherit;line-height:normal;font-weight:400;text-align:left;-webkit-tap-highlight-color:transparent;box-sizing:content-box;direction:ltr;max-width:none}.mce-object{border:1px dotted #3a3a3a;background:#d5d5d5 url(data:image/gif;base64,R0lGODlhEQANALMPAOXl5T8/P29vb7S0tFdXV/39/djY2N3d3crKyu/v7/f39/Ly8p2dnf///zMzMwAAACH5BAEAAA8ALAAAAAARAA0AAARF0MlJq3uutay75lmGNU9pjiNFCsipqhgxmO9HSgFTgtt9O4EBABWa3AiGwvBlfAgWisPOyCslDDSbSHTa+SzgpmdMbkQAADs=) no-repeat 50%}.mce-preview-object{display:inline-block;position:relative;margin:0 2px;line-height:0;border:1px solid gray}.mce-preview-object[data-mce-selected="2"] .mce-shim{display:none}.mce-preview-object .mce-shim{position:absolute;top:0;left:0;width:100%;height:100%;background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)}figure.align-left{float:left}figure.align-right{float:right}figure.image.align-center{display:table;margin-left:auto;margin-right:auto}figure.image{display:inline-block;border:1px solid gray;margin:0 2px 0 1px;background:#f5f2f0}figure.image img{margin:8px 8px 0}figure.image figcaption{margin:6px 8px;text-align:center}.mce-toc{border:1px solid gray}.mce-toc h2{margin:4px}.mce-toc li{list-style-type:none}.mce-pagebreak{cursor:default;display:block;border:0;width:100%;height:5px;border:1px dashed #666;margin-top:15px;page-break-before:always}@media print{.mce-pagebreak{border:0}}.mce-item-anchor{cursor:default;display:inline-block;-webkit-user-select:all;-webkit-user-modify:read-only;-moz-user-select:all;-moz-user-modify:read-only;-ms-user-select:all;user-select:all;user-modify:read-only;width:9px!important;height:9px!important;border:1px dotted #3a3a3a;background:#d5d5d5 url(data:image/gif;base64,R0lGODlhBwAHAIABAAAAAP///yH5BAEAAAEALAAAAAAHAAcAAAIMjGGJmMH9mHQ0AlYAADs=) no-repeat 50%}.mce-nbsp,.mce-shy{background:#aaa}.mce-shy:after{content:"-"}hr{cursor:default}.mce-match-marker{background:#aaa;color:#fff}.mce-match-marker-selected{background:#39f;color:#fff}.mce-spellchecker-word{border-bottom:2px solid red;cursor:default}.mce-spellchecker-grammar{border-bottom:2px solid green;cursor:default}.mce-item-table,.mce-item-table caption,.mce-item-table td,.mce-item-table th{border:1px dashed #bbb}td[data-mce-selected],th[data-mce-selected]{background-color:#39f!important}.mce-edit-focus{outline:1px dotted #333}.mce-content-body [contentEditable=false] [contentEditable=true]:focus{outline:2px solid #2d8ac7}.mce-content-body [contentEditable=false] [contentEditable=true]:hover{outline:2px solid #7acaff}.mce-content-body [contentEditable=false][data-mce-selected]{outline:2px solid #2d8ac7}.mce-resize-bar-dragging{background-color:blue;opacity:.25;filter:alpha(opacity=25);zoom:1}.mce-container,.mce-container *,.mce-reset,.mce-widget,.mce-widget *{margin:0;padding:0;border:0;outline:0;vertical-align:top;background:transparent;text-decoration:none;color:#333;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:14px;text-shadow:none;float:none;position:static;width:auto;height:auto;white-space:nowrap;cursor:inherit;-webkit-tap-highlight-color:transparent;line-height:normal;font-weight:400;text-align:left;box-sizing:content-box;direction:ltr;max-width:none}.mce-widget button{box-sizing:border-box}.mce-container [unselectable]{-moz-user-select:none;-webkit-user-select:none;-o-user-select:none;-ms-user-select:none;user-select:none}.mce-fade{opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.mce-fade.mce-in{opacity:1}.mce-tinymce{visibility:inherit!important;position:relative}.mce-fullscreen{z-index:100}div.mce-fullscreen{width:100%;height:auto}.mce-tinymce{display:block}.mce-wordcount{position:absolute;top:0;right:0;padding:8px}div.mce-edit-area{background:#fff;-webkit-filter:none;filter:none}.mce-statusbar,.mce-statusbar .mce-container-body{position:relative}.mce-fullscreen .mce-resizehandle{display:none}.mce-charmap{border-collapse:collapse}.mce-charmap td{cursor:default;border:1px solid rgba(0,0,0,.2);width:20px;height:20px;line-height:20px;vertical-align:middle;padding:2px}.mce-charmap td,.mce-charmap td div{text-align:center}.mce-charmap td:hover{background:#d9d9d9}.mce-grid td.mce-grid-cell div{border:1px solid #d6d6d6;width:15px;height:15px;margin:0;cursor:pointer}.mce-grid td.mce-grid-cell div:focus{border-color:#3498db}.mce-grid td.mce-grid-cell div[disabled]{cursor:not-allowed}.mce-grid{border-spacing:2px;border-collapse:separate}.mce-grid a{display:block;border:1px solid transparent}.mce-grid a:focus,.mce-grid a:hover{border-color:#3498db}.mce-grid-border{margin:0 4px}.mce-grid-border a{border-color:#d6d6d6;width:13px;height:13px}.mce-grid-border a.mce-active,.mce-grid-border a:hover{border-color:#3498db;background:#3498db}.mce-text-center{text-align:center}div.mce-tinymce-inline{width:100%}.mce-colorbtn-trans div{text-align:center;vertical-align:middle;font-weight:700;font-size:20px;line-height:16px;color:#707070}.mce-monospace{font-family:Courier New,Courier,monospace}.mce-toolbar-grp{padding:2px 0}.mce-toolbar-grp .mce-flow-layout-item{margin-bottom:0}.mce-rtl .mce-wordcount{left:0;right:auto}.mce-croprect-container,.mce-croprect-handle{position:absolute;top:0;left:0}.mce-croprect-handle{width:20px;height:20px;border:2px solid #fff}.mce-croprect-handle-nw{border-width:2px 0 0 2px;margin:-2px 0 0 -2px;cursor:nw-resize;top:100px;left:100px}.mce-croprect-handle-ne{border-width:2px 2px 0 0;margin:-2px 0 0 -20px;cursor:ne-resize;top:100px;left:200px}.mce-croprect-handle-sw{border-width:0 0 2px 2px;margin:-20px 2px 0 -2px;cursor:sw-resize;top:200px;left:100px}.mce-croprect-handle-se{border-width:0 2px 2px 0;margin:-20px 0 0 -20px;cursor:se-resize;top:200px;left:200px}.mce-croprect-handle-move{position:absolute;cursor:move;border:0}.mce-croprect-block{opacity:.3;filter:alpha(opacity=30);zoom:1;position:absolute;background:#000}.mce-croprect-handle:focus{border-color:#3498db}.mce-croprect-handle-move:focus{outline:1px solid #3498db}.mce-imagepanel{overflow:auto;background:#000}.mce-imagepanel-bg{position:absolute;background:url("data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw==")}.mce-imagepanel img{position:absolute}.mce-imagetool.mce-btn .mce-ico{display:block;width:20px;height:20px;text-align:center;line-height:20px;font-size:20px;padding:5px}.mce-arrow-up{margin-top:12px}.mce-arrow-down{margin-top:-12px}.mce-arrow:after,.mce-arrow:before{position:absolute;left:50%;display:block;width:0;height:0;border-style:solid;border-color:transparent;content:""}.mce-arrow.mce-arrow-up:before{top:-9px;border-bottom-color:rgba(0,0,0,.2);border-width:0 9px 9px;margin-left:-9px}.mce-arrow.mce-arrow-down:before{bottom:-9px;border-top-color:rgba(0,0,0,.2);border-width:9px 9px 0;margin-left:-9px}.mce-arrow.mce-arrow-up:after{top:-8px;border-bottom-color:#f0f0f0;border-width:0 8px 8px;margin-left:-8px}.mce-arrow.mce-arrow-down:after{bottom:-8px;border-top-color:#f0f0f0;border-width:8px 8px 0;margin-left:-8px}.mce-arrow.mce-arrow-left:after,.mce-arrow.mce-arrow-left:before{margin:0}.mce-arrow.mce-arrow-left:before{left:8px}.mce-arrow.mce-arrow-left:after{left:9px}.mce-arrow.mce-arrow-right:after,.mce-arrow.mce-arrow-right:before{left:auto;margin:0}.mce-arrow.mce-arrow-right:before{right:8px}.mce-arrow.mce-arrow-right:after{right:9px}.mce-arrow.mce-arrow-center.mce-arrow.mce-arrow-left:before{left:-9px;top:50%;border-right-color:rgba(0,0,0,.2);border-width:9px 9px 9px 0;margin-top:-9px}.mce-arrow.mce-arrow-center.mce-arrow.mce-arrow-left:after{left:-8px;top:50%;border-right-color:#f0f0f0;border-width:8px 8px 8px 0;margin-top:-8px}.mce-arrow.mce-arrow-center.mce-arrow.mce-arrow-left{margin-left:12px}.mce-arrow.mce-arrow-center.mce-arrow.mce-arrow-right:before{right:-9px;top:50%;border-left-color:rgba(0,0,0,.2);border-width:9px 0 9px 9px;margin-top:-9px}.mce-arrow.mce-arrow-center.mce-arrow.mce-arrow-right:after{right:-8px;top:50%;border-left-color:#f0f0f0;border-width:8px 0 8px 8px;margin-top:-8px}.mce-arrow.mce-arrow-center.mce-arrow.mce-arrow-right{margin-left:-14px}.mce-edit-aria-container>.mce-container-body{display:-webkit-box;display:-ms-flexbox;display:flex}.mce-edit-aria-container>.mce-container-body .mce-edit-area{-webkit-box-flex:1;-ms-flex:1;flex:1}.mce-edit-aria-container>.mce-container-body .mce-sidebar>.mce-container-body{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;height:100%}.mce-edit-aria-container>.mce-container-body .mce-sidebar-panel{min-width:250px;max-width:250px;position:relative}.mce-edit-aria-container>.mce-container-body .mce-sidebar-panel>.mce-container-body{position:absolute;width:100%;height:100%;overflow:auto;top:0;left:0}.mce-sidebar-toolbar{border:0 solid rgba(0,0,0,.2);border-left-width:1px}.mce-sidebar-toolbar .mce-btn.mce-active,.mce-sidebar-toolbar .mce-btn.mce-active:hover{border:1px solid transparent;border-color:transparent;background-color:#2d8ac7}.mce-sidebar-toolbar .mce-btn.mce-active:hover button,.mce-sidebar-toolbar .mce-btn.mce-active:hover button i,.mce-sidebar-toolbar .mce-btn.mce-active button,.mce-sidebar-toolbar .mce-btn.mce-active button i{color:#fff;text-shadow:1px 1px none}.mce-sidebar-panel{border:0 solid rgba(0,0,0,.2);border-left-width:1px}.mce-container,.mce-container-body{display:block}.mce-autoscroll{overflow:hidden}.mce-scrollbar{position:absolute;width:7px;height:100%;top:2px;right:2px;opacity:.4;filter:alpha(opacity=40);zoom:1}.mce-scrollbar-h{top:auto;right:auto;left:2px;bottom:2px;width:100%;height:7px}.mce-scrollbar-thumb{position:absolute;background-color:#000;border:1px solid #888;border-color:rgba(85,85,85,.6);width:5px;height:100%}.mce-scrollbar-h .mce-scrollbar-thumb{width:100%;height:5px}.mce-scrollbar.mce-active,.mce-scrollbar:hover{background-color:#aaa;opacity:.6;filter:alpha(opacity=60);zoom:1}.mce-scroll{position:relative}.mce-panel{border:0 solid #cacaca;border:0 solid rgba(0,0,0,.2);background-color:#f0f0f0}.mce-floatpanel{position:absolute}.mce-floatpanel.mce-fixed{position:fixed}.mce-floatpanel .mce-arrow,.mce-floatpanel .mce-arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.mce-floatpanel .mce-arrow{border-width:11px}.mce-floatpanel .mce-arrow:after{border-width:10px;content:""}.mce-floatpanel.mce-popover{filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);background:transparent;top:0;left:0;background:#fff;border:1px solid rgba(0,0,0,.2);border:1px solid rgba(0,0,0,.25)}.mce-floatpanel.mce-popover.mce-bottom{margin-top:10px;*margin-top:0}.mce-floatpanel.mce-popover.mce-bottom>.mce-arrow{left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:rgba(0,0,0,.2);border-bottom-color:rgba(0,0,0,.25);top:-11px}.mce-floatpanel.mce-popover.mce-bottom>.mce-arrow:after{top:1px;margin-left:-10px;border-top-width:0;border-bottom-color:#fff}.mce-floatpanel.mce-popover.mce-bottom.mce-start{margin-left:-22px}.mce-floatpanel.mce-popover.mce-bottom.mce-start>.mce-arrow{left:20px}.mce-floatpanel.mce-popover.mce-bottom.mce-end{margin-left:22px}.mce-floatpanel.mce-popover.mce-bottom.mce-end>.mce-arrow{right:10px;left:auto}.mce-fullscreen{border:0;padding:0;margin:0;overflow:hidden;height:100%}#mce-modal-block,div.mce-fullscreen{position:fixed;top:0;left:0}#mce-modal-block{opacity:0;filter:alpha(opacity=0);zoom:1;width:100%;height:100%;background:#000}#mce-modal-block.mce-in{opacity:.3;filter:alpha(opacity=30);zoom:1}.mce-window-move{cursor:move}.mce-window{filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);background:transparent;background:#fff;position:fixed;top:0;left:0;opacity:0;-webkit-transform:scale(.1);transform:scale(.1);-webkit-transition:opacity .15s ease-in,-webkit-transform .1s ease-in;transition:opacity .15s ease-in,-webkit-transform .1s ease-in;transition:transform .1s ease-in,opacity .15s ease-in;transition:transform .1s ease-in,opacity .15s ease-in,-webkit-transform .1s ease-in}.mce-window.mce-in{-webkit-transform:scale(1);transform:scale(1);opacity:1}.mce-window-head{padding:9px 15px;border-bottom:1px solid #c5c5c5;position:relative}.mce-window-head .mce-close{position:absolute;right:0;top:0;height:38px;width:38px;text-align:center;cursor:pointer}.mce-window-head .mce-close i{color:#858585}.mce-close:hover i{color:#adadad}.mce-window-head .mce-title{line-height:20px;font-size:20px;font-weight:700;text-rendering:optimizelegibility;padding-right:20px}.mce-foot,.mce-window .mce-container-body{display:block}.mce-foot{background-color:#fff;border-top:1px solid #c5c5c5}.mce-window-head .mce-dragh{position:absolute;top:0;left:0;cursor:move;width:90%;height:100%}.mce-window iframe{width:100%;height:100%}.mce-window-body .mce-listbox{border-color:#ccc}.mce-rtl .mce-window-head .mce-close{position:absolute;right:auto;left:15px}.mce-rtl .mce-window-head .mce-dragh{left:auto;right:0}.mce-rtl .mce-window-head .mce-title{direction:rtl;text-align:right}.mce-tooltip{position:absolute;padding:5px;opacity:.8;filter:alpha(opacity=80);zoom:1}.mce-tooltip-inner{font-size:11px;background-color:#000;color:#fff;max-width:200px;padding:5px 8px 4px;text-align:center;white-space:normal}.mce-tooltip-arrow{position:absolute;width:0;height:0;line-height:0;border:5px dashed #000}.mce-tooltip-arrow-n{border-bottom-color:#000}.mce-tooltip-arrow-s{border-top-color:#000}.mce-tooltip-arrow-e{border-left-color:#000}.mce-tooltip-arrow-w{border-right-color:#000}.mce-tooltip-nw,.mce-tooltip-sw{margin-left:-14px}.mce-tooltip-ne,.mce-tooltip-se{margin-left:14px}.mce-tooltip-n .mce-tooltip-arrow{left:50%;margin-left:-5px}.mce-tooltip-n .mce-tooltip-arrow,.mce-tooltip-nw .mce-tooltip-arrow{top:0;border-bottom-style:solid;border-top:none;border-left-color:transparent;border-right-color:transparent}.mce-tooltip-nw .mce-tooltip-arrow{left:10px}.mce-tooltip-ne .mce-tooltip-arrow{top:0;right:10px;border-bottom-style:solid;border-top:none;border-left-color:transparent;border-right-color:transparent}.mce-tooltip-s .mce-tooltip-arrow{left:50%;margin-left:-5px}.mce-tooltip-s .mce-tooltip-arrow,.mce-tooltip-sw .mce-tooltip-arrow{bottom:0;border-top-style:solid;border-bottom:none;border-left-color:transparent;border-right-color:transparent}.mce-tooltip-sw .mce-tooltip-arrow{left:10px}.mce-tooltip-se .mce-tooltip-arrow{bottom:0;right:10px;border-top-style:solid;border-bottom:none;border-left-color:transparent;border-right-color:transparent}.mce-tooltip-e .mce-tooltip-arrow{right:0;top:50%;margin-top:-5px;border-left-style:solid;border-right:none;border-top-color:transparent;border-bottom-color:transparent}.mce-tooltip-w .mce-tooltip-arrow{left:0;top:50%;margin-top:-5px;border-right-style:solid;border-left:none;border-top-color:transparent;border-bottom-color:transparent}.mce-progress{display:inline-block;position:relative;height:20px}.mce-progress .mce-bar-container{display:inline-block;width:100px;height:100%;margin-right:8px;border:1px solid #ccc;overflow:hidden}.mce-progress .mce-text{display:inline-block;margin-top:auto;margin-bottom:auto;font-size:14px;width:40px;color:#333}.mce-bar{display:block;width:0;height:100%;background-color:#d7d7d7;-webkit-transition:width .2s ease;transition:width .2s ease}.mce-notification{position:absolute;background-color:#f0f0f0;padding:5px;margin-top:5px;border:1px solid #ccc;-webkit-transition:opacity .15s ease-in,-webkit-transform .1s ease-in;transition:opacity .15s ease-in,-webkit-transform .1s ease-in;transition:transform .1s ease-in,opacity .15s ease-in;transition:transform .1s ease-in,opacity .15s ease-in,-webkit-transform .1s ease-in;opacity:0}.mce-notification.mce-in{opacity:1}.mce-notification-success{background-color:#dff0d8;border-color:#d6e9c6}.mce-notification-info{background-color:#d9edf7;border-color:#779ecb}.mce-notification-warning{background-color:#fcf8e3;border-color:#faebcc}.mce-notification-error{background-color:#f2dede;border-color:#ebccd1}.mce-notification.mce-has-close{padding-right:15px}.mce-notification .mce-ico{margin-top:5px}.mce-notification-inner{display:inline-block;font-size:14px;margin:5px 8px 4px;text-align:center;white-space:normal;color:#31708f}.mce-notification-inner a{text-decoration:underline;cursor:pointer}.mce-notification .mce-progress{margin-right:8px}.mce-notification .mce-progress .mce-text{margin-top:5px}.mce-notification *,.mce-notification .mce-progress .mce-text{color:#333}.mce-notification .mce-progress .mce-bar-container{border-color:#ccc}.mce-notification .mce-progress .mce-bar-container .mce-bar{background-color:#333}.mce-notification-success *,.mce-notification-success .mce-progress .mce-text{color:#3c763d}.mce-notification-success .mce-progress .mce-bar-container{border-color:#d6e9c6}.mce-notification-success .mce-progress .mce-bar-container .mce-bar{background-color:#3c763d}.mce-notification-info *,.mce-notification-info .mce-progress .mce-text{color:#31708f}.mce-notification-info .mce-progress .mce-bar-container{border-color:#779ecb}.mce-notification-info .mce-progress .mce-bar-container .mce-bar{background-color:#31708f}.mce-notification-warning *,.mce-notification-warning .mce-progress .mce-text{color:#8a6d3b}.mce-notification-warning .mce-progress .mce-bar-container{border-color:#faebcc}.mce-notification-warning .mce-progress .mce-bar-container .mce-bar{background-color:#8a6d3b}.mce-notification-error *,.mce-notification-error .mce-progress .mce-text{color:#a94442}.mce-notification-error .mce-progress .mce-bar-container{border-color:#ebccd1}.mce-notification-error .mce-progress .mce-bar-container .mce-bar{background-color:#a94442}.mce-notification .mce-close{position:absolute;top:6px;right:8px;font-size:20px;font-weight:700;line-height:20px;color:#858585;cursor:pointer;height:20px;overflow:hidden}.mce-abs-layout{position:relative}.mce-abs-end,body .mce-abs-layout-item{position:absolute}.mce-abs-end{width:1px;height:1px}.mce-container-body.mce-abs-layout{overflow:hidden}.mce-btn{border:1px solid #b1b1b1;border-color:transparent;position:relative;text-shadow:0 1px 1px hsla(0,0%,100%,.75);display:inline-block;*display:inline;*zoom:1;background-color:#f0f0f0}.mce-btn:focus,.mce-btn:hover{color:#333;background-color:#e3e3e3;border-color:#ccc}.mce-btn.mce-disabled:hover button,.mce-btn.mce-disabled button{cursor:default;opacity:.4;filter:alpha(opacity=40);zoom:1}.mce-btn.mce-active,.mce-btn.mce-active:hover{background-color:#dbdbdb;border-color:#ccc}.mce-btn:active{background-color:#e0e0e0;border-color:#ccc}.mce-btn button{padding:4px 8px;font-size:14px;line-height:20px;*line-height:16px;cursor:pointer;color:#333;text-align:center;overflow:visible;-webkit-appearance:none}.mce-btn button::-moz-focus-inner{border:0;padding:0}.mce-btn i{text-shadow:1px 1px none}.mce-primary.mce-btn-has-text{min-width:50px}.mce-primary{color:#fff;border:1px solid transparent;border-color:transparent;background-color:#2d8ac7}.mce-primary:focus,.mce-primary:hover{background-color:#257cb6;border-color:transparent}.mce-primary.mce-disabled:hover button,.mce-primary.mce-disabled button{cursor:default;opacity:.4;filter:alpha(opacity=40);zoom:1}.mce-primary.mce-active,.mce-primary.mce-active:hover,.mce-primary:not(.mce-disabled):active{background-color:#206ea1}.mce-primary button,.mce-primary button i{color:#fff;text-shadow:1px 1px none}.mce-btn .mce-txt{font-size:inherit;line-height:inherit;color:inherit}.mce-btn-large button{padding:9px 14px;font-size:16px;line-height:normal}.mce-btn-large i{margin-top:2px}.mce-btn-small button{padding:1px 5px;font-size:12px;*padding-bottom:2px}.mce-btn-small i{line-height:20px;vertical-align:top;*line-height:18px}.mce-btn-small .mce-caret,.mce-btn .mce-caret{margin-top:8px;margin-left:0}.mce-caret{display:inline-block;*display:inline;*zoom:1;width:0;height:0;vertical-align:top;border-top:4px solid #333;border-right:4px solid transparent;border-left:4px solid transparent;content:""}.mce-disabled .mce-caret{border-top-color:#aaa}.mce-caret.mce-up{border-bottom:4px solid #333;border-top:0}.mce-btn-flat{border:0;background:transparent;-webkit-filter:none;filter:none}.mce-btn-flat.mce-active,.mce-btn-flat:active,.mce-btn-flat:focus,.mce-btn-flat:hover{border:0;background:#e6e6e6;-webkit-filter:none;filter:none}.mce-btn-has-text .mce-ico{padding-right:5px}.mce-rtl .mce-btn button{direction:rtl}.mce-btn-group .mce-btn{border-width:1px;margin:0;margin-left:2px}.mce-btn-group:not(:first-child){border-left:1px solid #d9d9d9;padding-left:3px;margin-left:3px}.mce-btn-group .mce-first{margin-left:0}.mce-btn-group .mce-btn.mce-flow-layout-item{margin:0}.mce-rtl .mce-btn-group .mce-btn{margin-left:0;margin-right:2px}.mce-rtl .mce-btn-group .mce-first{margin-right:0}.mce-rtl .mce-btn-group:not(:first-child){border-left:none;border-right:1px solid #d9d9d9;padding-right:4px;margin-right:4px}.mce-checkbox{cursor:pointer}i.mce-i-checkbox{margin:0 3px 0 0;border:1px solid #c5c5c5;background-color:#f0f0f0;text-indent:-10em;*font-size:0;*line-height:0;*text-indent:0;overflow:hidden}.mce-checked i.mce-i-checkbox{color:#333;font-size:16px;line-height:16px;text-indent:0}.mce-checkbox.mce-focus i.mce-i-checkbox,.mce-checkbox:focus i.mce-i-checkbox{border:1px solid rgba(82,168,236,.8)}.mce-checkbox.mce-disabled .mce-label,.mce-checkbox.mce-disabled i.mce-i-checkbox{color:#acacac}.mce-checkbox .mce-label{vertical-align:middle}.mce-rtl .mce-checkbox{direction:rtl;text-align:right}.mce-rtl i.mce-i-checkbox{margin:0 0 0 3px}.mce-combobox{position:relative;display:inline-block;*display:inline;*zoom:1;*height:32px}.mce-combobox input{border:1px solid #c5c5c5;border-right-color:#c5c5c5;height:28px}.mce-combobox.mce-disabled input{color:#adadad}.mce-combobox .mce-btn{border:1px solid #c5c5c5;border-left:0;margin:0}.mce-combobox button{padding-right:8px;padding-left:8px}.mce-combobox.mce-disabled .mce-btn button{cursor:default;opacity:.4;filter:alpha(opacity=40);zoom:1}.mce-combobox .mce-status{position:absolute;right:2px;top:50%;line-height:16px;margin-top:-8px;font-size:12px;width:15px;height:15px;text-align:center;cursor:pointer}.mce-combobox.mce-has-status input{padding-right:20px}.mce-combobox.mce-has-open .mce-status{right:37px}.mce-combobox .mce-status.mce-i-warning{color:#c09853}.mce-combobox .mce-status.mce-i-checkmark{color:#468847}.mce-menu.mce-combobox-menu{border-top:0;margin-top:0;max-height:200px}.mce-menu.mce-combobox-menu .mce-menu-item{padding:4px 6px 4px 4px;font-size:11px}.mce-menu.mce-combobox-menu .mce-menu-item-sep{padding:0}.mce-menu.mce-combobox-menu .mce-menu-item-link,.mce-menu.mce-combobox-menu .mce-menu-item-link b,.mce-menu.mce-combobox-menu .mce-text,.mce-menu.mce-combobox-menu .mce-text b{font-size:11px}.mce-colorbox i{border:1px solid #c5c5c5;width:14px;height:14px}.mce-colorbutton .mce-ico{position:relative}.mce-colorbutton-grid{margin:4px}.mce-colorbutton button{padding-right:6px;padding-left:6px}.mce-colorbutton .mce-preview{padding-right:3px;display:block;position:absolute;left:50%;top:50%;margin-left:-17px;margin-top:7px;background:gray;width:13px;height:2px;overflow:hidden}.mce-colorbutton.mce-btn-small .mce-preview{margin-left:-16px;padding-right:0;width:16px}.mce-colorbutton .mce-open{padding-left:4px;padding-right:4px;border-left:1px solid transparent}.mce-colorbutton:hover .mce-open{border-color:#ccc}.mce-colorbutton.mce-btn-small .mce-open{padding:0 3px}.mce-rtl .mce-colorbutton{direction:rtl}.mce-rtl .mce-colorbutton .mce-preview{margin-left:0;padding-right:0;padding-left:3px}.mce-rtl .mce-colorbutton.mce-btn-small .mce-preview{margin-left:0;padding-right:0;padding-left:2px}.mce-rtl .mce-colorbutton .mce-open{padding-left:4px;padding-right:4px;border-left:0}.mce-colorpicker{position:relative;width:250px;height:220px}.mce-colorpicker-sv{position:absolute;top:0;left:0;width:90%;height:100%;border:1px solid #c5c5c5;cursor:crosshair;overflow:hidden}.mce-colorpicker-h-chunk{width:100%}.mce-colorpicker-overlay1,.mce-colorpicker-overlay2{width:100%;height:100%;position:absolute;top:0;left:0}.mce-colorpicker-overlay1{filter:progid:DXImageTransform.Microsoft.gradient(GradientType=1,startColorstr="#ffffff",endColorstr="#00ffffff");-ms-filter:"progid:DXImageTransform.Microsoft.gradient(GradientType=1,startColorstr='#ffffff', endColorstr='#00ffffff')";background:-webkit-linear-gradient(left,#fff,hsla(0,0%,100%,0));background:linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.mce-colorpicker-overlay2{filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr="#00000000",endColorstr="#000000");-ms-filter:"progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#00000000', endColorstr='#000000')";background:-webkit-linear-gradient(top,transparent,#000);background:linear-gradient(180deg,transparent,#000)}.mce-colorpicker-selector1{background:none;position:absolute;width:12px;height:12px;margin:-8px 0 0 -8px;border:1px solid #000;border-radius:50%}.mce-colorpicker-selector2{position:absolute;width:10px;height:10px;border:1px solid #fff;border-radius:50%}.mce-colorpicker-h{position:absolute;top:0;right:0;width:6.5%;height:100%;border:1px solid #c5c5c5;cursor:crosshair}.mce-colorpicker-h-marker{margin-top:-4px;position:absolute;top:0;left:-1px;width:100%;border:1px solid #333;background:#fff;height:4px;z-index:100}.mce-path{display:inline-block;*display:inline;*zoom:1;padding:8px;white-space:normal}.mce-path .mce-txt{padding-right:3px}.mce-path .mce-path-body,.mce-path .mce-txt{display:inline-block}.mce-path-item{display:inline-block;*display:inline;*zoom:1;cursor:pointer;color:#333}.mce-path-item:hover{text-decoration:underline}.mce-path-item:focus{background:#666;color:#fff}.mce-path .mce-divider{display:inline}.mce-disabled .mce-path-item{color:#aaa}.mce-rtl .mce-path{direction:rtl}.mce-fieldset{border:0 solid #9e9e9e}.mce-fieldset>.mce-container-body{margin-top:-15px}.mce-fieldset-title{margin-left:5px;padding:0 5px}.mce-fit-layout{display:inline-block;*display:inline;*zoom:1}.mce-fit-layout-item{position:absolute}.mce-flow-layout-item{display:inline-block;*display:inline;*zoom:1;margin:2px 0 2px 2px}.mce-flow-layout-item.mce-last{margin-right:2px}.mce-flow-layout{white-space:normal}.mce-tinymce-inline .mce-flow-layout{white-space:nowrap}.mce-rtl .mce-flow-layout{text-align:right;direction:rtl}.mce-rtl .mce-flow-layout-item{margin:2px 2px 2px 0}.mce-rtl .mce-flow-layout-item.mce-last{margin-left:2px}.mce-iframe{border:0 solid rgba(0,0,0,.2);width:100%;height:100%}.mce-infobox{display:inline-block;*display:inline;*zoom:1;text-shadow:0 1px 1px hsla(0,0%,100%,.75);overflow:hidden;border:1px solid red}.mce-infobox div{display:block;margin:5px}.mce-infobox div button{position:absolute;top:50%;right:4px;cursor:pointer;margin-top:-8px;display:none}.mce-infobox div button:focus{outline:2px solid #ccc}.mce-infobox.mce-has-help div{margin-right:25px}.mce-infobox.mce-has-help button{display:block}.mce-infobox.mce-success{background:#dff0d8;border-color:#d6e9c6}.mce-infobox.mce-success div{color:#3c763d}.mce-infobox.mce-warning{background:#fcf8e3;border-color:#faebcc}.mce-infobox.mce-warning div{color:#8a6d3b}.mce-infobox.mce-error{background:#f2dede;border-color:#ebccd1}.mce-infobox.mce-error div{color:#a94442}.mce-rtl .mce-infobox div{text-align:right;direction:rtl}.mce-label{display:inline-block;*display:inline;*zoom:1;text-shadow:0 1px 1px hsla(0,0%,100%,.75);overflow:hidden}.mce-label.mce-autoscroll{overflow:auto}.mce-label.mce-disabled{color:#aaa}.mce-label.mce-multiline{white-space:pre-wrap}.mce-label.mce-success{color:#468847}.mce-label.mce-warning{color:#c09853}.mce-label.mce-error{color:#b94a48}.mce-rtl .mce-label{text-align:right;direction:rtl}.mce-menubar .mce-menubtn{border-color:transparent;background:transparent;-webkit-filter:none;filter:none}.mce-menubar .mce-menubtn button{color:#333}.mce-menubar{border:1px solid hsla(0,0%,85%,.52)}.mce-menubar .mce-menubtn button span{color:#333}.mce-menubar .mce-caret{border-top-color:#333}.mce-menubar .mce-menubtn.mce-active,.mce-menubar .mce-menubtn:focus,.mce-menubar .mce-menubtn:hover{border-color:#ccc;background:#fff;-webkit-filter:none;filter:none}.mce-menubtn button{color:#333}.mce-menubtn.mce-btn-small span{font-size:12px}.mce-menubtn.mce-fixed-width span{display:inline-block;overflow-x:hidden;text-overflow:ellipsis;width:90px}.mce-menubtn.mce-fixed-width.mce-btn-small span{width:70px}.mce-menubtn .mce-caret{*margin-top:6px}.mce-rtl .mce-menubtn button{direction:rtl;text-align:right}.mce-menu-item{display:block;padding:6px 15px 6px 12px;clear:both;font-weight:400;line-height:20px;color:#333;white-space:nowrap;cursor:pointer;line-height:normal;border-left:4px solid transparent;margin-bottom:1px}.mce-menu-item .mce-ico,.mce-menu-item .mce-text{color:#333}.mce-menu-item.mce-disabled .mce-ico,.mce-menu-item.mce-disabled .mce-text{color:#adadad}.mce-menu-item.mce-selected .mce-ico,.mce-menu-item.mce-selected .mce-text,.mce-menu-item:focus .mce-ico,.mce-menu-item:focus .mce-text,.mce-menu-item:hover .mce-ico,.mce-menu-item:hover .mce-text{color:#fff}.mce-menu-item.mce-disabled:hover{background:#ccc}.mce-menu-shortcut{color:#adadad;display:inline-block;display:inline;zoom:1;padding:0 15px 0 20px}.mce-menu-item.mce-selected .mce-menu-shortcut,.mce-menu-item:focus .mce-menu-shortcut,.mce-menu-item:hover .mce-menu-shortcut{color:#fff}.mce-menu-item .mce-caret{margin-top:4px;*margin-top:3px;margin-right:6px;border-top:4px solid transparent;border-bottom:4px solid transparent;border-left:4px solid #333}.mce-menu-item.mce-selected .mce-caret,.mce-menu-item:focus .mce-caret,.mce-menu-item:hover .mce-caret{border-left-color:#fff}.mce-menu-align .mce-menu-shortcut{*margin-top:-2px}.mce-menu-align .mce-caret,.mce-menu-align .mce-menu-shortcut{position:absolute;right:0}.mce-menu-item.mce-active i{visibility:visible}.mce-menu-item-normal.mce-active{background-color:#3498db}.mce-menu-item-preview.mce-active{border-left:5px solid #aaa}.mce-menu-item-normal.mce-active .mce-text,.mce-menu-item-normal.mce-active:focus .mce-ico,.mce-menu-item-normal.mce-active:focus .mce-text,.mce-menu-item-normal.mce-active:hover .mce-ico,.mce-menu-item-normal.mce-active:hover .mce-text{color:#fff}.mce-menu-item.mce-selected,.mce-menu-item:focus,.mce-menu-item:hover{text-decoration:none;color:#fff;background-color:#2d8ac7}.mce-menu-item-link{color:#093;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mce-menu-item-link b{color:#093}.mce-menu-item-ellipsis{display:block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mce-menu-item.mce-selected *,.mce-menu-item:focus *,.mce-menu-item:hover *{color:#fff}.mce-menu-item-sep:hover,div.mce-menu .mce-menu-item-sep{border:0;padding:0;height:1px;margin:9px 1px;overflow:hidden;background:transparent;border-bottom:1px solid rgba(0,0,0,.1);cursor:default;-webkit-filter:none;filter:none}div.mce-menu .mce-menu-item b{font-weight:700}.mce-menu-item-indent-1{padding-left:20px}.mce-menu-item-indent-2{padding-left:35px}.mce-menu-item-indent-3{padding-left:40px}.mce-menu-item-indent-4{padding-left:45px}.mce-menu-item-indent-5{padding-left:50px}.mce-menu-item-indent-6{padding-left:55px}.mce-menu.mce-rtl{direction:rtl}.mce-rtl .mce-menu-item{text-align:right;direction:rtl;padding:6px 12px 6px 15px}.mce-menu-align.mce-rtl .mce-caret,.mce-menu-align.mce-rtl .mce-menu-shortcut{right:auto;left:0}.mce-rtl .mce-menu-item .mce-caret{margin-left:6px;margin-right:0;border-right:4px solid #333;border-left:0}.mce-rtl .mce-menu-item.mce-selected .mce-caret,.mce-rtl .mce-menu-item:focus .mce-caret,.mce-rtl .mce-menu-item:hover .mce-caret{border-left-color:transparent;border-right-color:#fff}.mce-throbber{position:absolute;top:0;left:0;width:100%;height:100%;opacity:.6;filter:alpha(opacity=60);zoom:1;background:#fff url(data:image/gif;base64,R0lGODlhHwAfAPUAAP///wAAAOjo6NLS0ry8vK6urqKiotzc3Li4uJqamuTk5NjY2KqqqqCgoLCwsMzMzPb29qioqNTU1Obm5jY2NiYmJlBQUMTExHBwcJKSklZWVvr6+mhoaEZGRsbGxvj4+EhISDIyMgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCgAAACwAAAAAHwAfAAAG/0CAcEgUDAgFA4BiwSQexKh0eEAkrldAZbvlOD5TqYKALWu5XIwnPFwwymY0GsRgAxrwuJwbCi8aAHlYZ3sVdwtRCm8JgVgODwoQAAIXGRpojQwKRGSDCRESYRsGHYZlBFR5AJt2a3kHQlZlERN2QxMRcAiTeaG2QxJ5RnAOv1EOcEdwUMZDD3BIcKzNq3BJcJLUABBwStrNBtjf3GUGBdLfCtadWMzUz6cDxN/IZQMCvdTBcAIAsli0jOHSJeSAqmlhNr0awo7RJ19TJORqdAXVEEVZyjyKtE3Bg3oZE2iK8oeiKkFZGiCaggelSTiA2LhxiZLBSjZjBL2siNBOFQ84LxHA+mYEiRJzBO7ZCQIAIfkECQoAAAAsAAAAAB8AHwAABv9AgHBIFAwIBQPAUCAMBMSodHhAJK5XAPaKOEynCsIWqx0nCIrvcMEwZ90JxkINaMATZXfju9jf82YAIQxRCm14Ww4PChAAEAoPDlsAFRUgHkRiZAkREmoSEXiVlRgfQgeBaXRpo6MOQlZbERN0Qx4drRUcAAJmnrVDBrkVDwNjr8BDGxq5Z2MPyUQZuRgFY6rRABe5FgZjjdm8uRTh2d5b4NkQY0zX5QpjTc/lD2NOx+WSW0++2RJmUGJhmZVsQqgtCE6lqpXGjBchmt50+hQKEAEiht5gUcTIESR9GhlgE9IH0BiTkxrMmWIHDkose9SwcQlHDsOIk9ygiVbl5JgMLuV4HUmypMkTOkEAACH5BAkKAAAALAAAAAAfAB8AAAb/QIBwSBQMCAUDwFAgDATEqHR4QCSuVwD2ijhMpwrCFqsdJwiK73DBMGfdCcZCDWjAE2V347vY3/NmdXNECm14Ww4PChAAEAoPDltlDGlDYmQJERJqEhGHWARUgZVqaWZeAFZbERN0QxOeWwgAAmabrkMSZkZjDrhRkVtHYw+/RA9jSGOkxgpjSWOMxkIQY0rT0wbR2LQV3t4UBcvcF9/eFpdYxdgZ5hUYA73YGxruCbVjt78G7hXFqlhY/fLQwR0HIQdGuUrTz5eQdIc0cfIEwByGD0MKvcGSaFGjR8GyeAPhIUofQGNQSgrB4IsdOCqx7FHDBiYcOQshYjKDxliVDpRjunCjdSTJkiZP6AQBACH5BAkKAAAALAAAAAAfAB8AAAb/QIBwSBQMCAUDwFAgDATEqHR4QCSuVwD2ijhMpwrCFqsdJwiK73DBMGfdCcZCDWjAE2V347vY3/NmdXNECm14Ww4PChAAEAoPDltlDGlDYmQJERJqEhGHWARUgZVqaWZeAFZbERN0QxOeWwgAAmabrkMSZkZjDrhRkVtHYw+/RA9jSGOkxgpjSWOMxkIQY0rT0wbR2I3WBcvczltNxNzIW0693MFYT7bTumNQqlisv7BjswAHo64egFdQAbj0RtOXDQY6VAAUakihN1gSLaJ1IYOGChgXXqEUpQ9ASRlDYhT0xQ4cACJDhqDD5mRKjCAYuArjBmVKDP9+VRljMyMHDwcfuBlBooSCBQwJiqkJAgAh+QQJCgAAACwAAAAAHwAfAAAG/0CAcEgUDAgFA8BQIAwExKh0eEAkrlcA9oo4TKcKwharHScIiu9wwTBn3QnGQg1owBNld+O72N/zZnVzRApteFsODwoQABAKDw5bZQxpQ2JkCRESahIRh1gEVIGVamlmXgBWWxETdEMTnlsIAAJmm65DEmZGYw64UZFbR2MPv0QPY0hjpMYKY0ljjMZCEGNK09MG0diN1gXL3M5bTcTcyFtOvdzBWE+207pjUKpYrL+wY7MAB4EerqZjUAG4lKVCBwMbvnT6dCXUkEIFK0jUkOECFEeQJF2hFKUPAIkgQwIaI+hLiJAoR27Zo4YBCJQgVW4cpMYDBpgVZKL59cEBhw+U+QROQ4bBAoUlTZ7QCQIAIfkECQoAAAAsAAAAAB8AHwAABv9AgHBIFAwIBQPAUCAMBMSodHhAJK5XAPaKOEynCsIWqx0nCIrvcMEwZ90JxkINaMATZXfju9jf82Z1c0QKbXhbDg8KEAAQCg8OW2UMaUNiZAkREmoSEYdYBFSBlWppZl4AVlsRE3RDE55bCAACZpuuQxJmRmMOuFGRW0djD79ED2NIY6TGCmNJY4zGQhBjStPTFBXb21DY1VsGFtzbF9gAzlsFGOQVGefIW2LtGhvYwVgDD+0V17+6Y6BwaNfBwy9YY2YBcMAPnStTY1B9YMdNiyZOngCFGuIBxDZAiRY1eoTvE6UoDEIAGrNSUoNBUuzAaYlljxo2M+HIeXiJpRsRNMaq+JSFCpsRJEqYOPH2JQgAIfkECQoAAAAsAAAAAB8AHwAABv9AgHBIFAwIBQPAUCAMBMSodHhAJK5XAPaKOEynCsIWqx0nCIrvcMEwZ90JxkINaMATZXfjywjlzX9jdXNEHiAVFX8ODwoQABAKDw5bZQxpQh8YiIhaERJqEhF4WwRDDpubAJdqaWZeAByoFR0edEMTolsIAA+yFUq2QxJmAgmyGhvBRJNbA5qoGcpED2MEFrIX0kMKYwUUslDaj2PA4soGY47iEOQFY6vS3FtNYw/m1KQDYw7mzFhPZj5JGzYGipUtESYowzVmF4ADgOCBCZTgFQAxZBJ4AiXqT6ltbUZhWdToUSR/Ii1FWbDnDkUyDQhJsQPn5ZU9atjUhCPHVhgTNy/RSKsiqKFFbUaQKGHiJNyXIAAh+QQJCgAAACwAAAAAHwAfAAAG/0CAcEh8JDAWCsBQIAwExKhU+HFwKlgsIMHlIg7TqQeTLW+7XYIiPGSAymY0mrFgA0LwuLzbCC/6eVlnewkADXVECgxcAGUaGRdQEAoPDmhnDGtDBJcVHQYbYRIRhWgEQwd7AB52AGt7YAAIchETrUITpGgIAAJ7ErdDEnsCA3IOwUSWaAOcaA/JQ0amBXKa0QpyBQZyENFCEHIG39HcaN7f4WhM1uTZaE1y0N/TacZoyN/LXU+/0cNyoMxCUytYLjm8AKSS46rVKzmxADhjlCACMFGkBiU4NUQRxS4OHijwNqnSJS6ZovzRyJAQo0NhGrgs5bIPmwWLCLHsQsfhxBWTe9QkOzCwC8sv5Ho127akyRM7QQAAOwAAAAAAAAAAAA==) no-repeat 50%}.mce-throbber-inline{position:static;height:50px}.mce-menu .mce-throbber-inline{height:25px;background-size:contain}.mce-menu{position:absolute;left:0;top:0;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);background:transparent;z-index:1000;padding:5px 0;margin:-1px 0 0;min-width:160px;background:#fff;border:1px solid #989898;border:1px solid rgba(0,0,0,.2);z-index:1002;max-height:400px;overflow:auto;overflow-x:hidden}.mce-menu i{display:none}.mce-menu-has-icons i{display:inline-block;*display:inline}.mce-menu-sub-tr-tl{margin:-6px 0 0 -1px}.mce-menu-sub-br-bl{margin:6px 0 0 -1px}.mce-menu-sub-tl-tr{margin:-6px 0 0 1px}.mce-menu-sub-bl-br{margin:6px 0 0 1px}.mce-listbox button{text-align:left;padding-right:20px;position:relative}.mce-listbox .mce-caret{position:absolute;margin-top:-2px;right:8px;top:50%}.mce-rtl .mce-listbox .mce-caret{right:auto;left:8px}.mce-rtl .mce-listbox button{padding-right:10px;padding-left:20px}.mce-container-body .mce-resizehandle{position:absolute;right:0;bottom:0;width:16px;height:16px;visibility:visible;cursor:s-resize;margin:0}.mce-container-body .mce-resizehandle-both{cursor:se-resize}i.mce-i-resize{color:#333}.mce-selectbox{background:#fff;border:1px solid #c5c5c5}.mce-slider{border:1px solid #aaa;background:#eee;width:100px;height:10px;position:relative;display:block}.mce-slider.mce-vertical{width:10px;height:100px}.mce-slider-handle{border:1px solid #bbb;background:#ddd;display:block;width:13px;height:13px;position:absolute;top:0;left:0;margin-left:-1px;margin-top:-2px}.mce-slider-handle:focus{background:#bbb}.mce-spacer{visibility:hidden}.mce-splitbtn .mce-open{border-left:1px solid transparent}.mce-splitbtn:hover .mce-open{border-left-color:#ccc}.mce-splitbtn button{padding-right:6px;padding-left:6px}.mce-splitbtn .mce-open{padding-right:4px;padding-left:4px}.mce-splitbtn .mce-open.mce-active{background-color:#dbdbdb;outline:1px solid #ccc}.mce-splitbtn.mce-btn-small .mce-open{padding:0 3px}.mce-rtl .mce-splitbtn{direction:rtl;text-align:right}.mce-rtl .mce-splitbtn button{padding-right:4px;padding-left:4px}.mce-rtl .mce-splitbtn .mce-open{border-left:0}.mce-stack-layout-item,.mce-tabs{display:block}.mce-tabs{border-bottom:1px solid #c5c5c5}.mce-tab,.mce-tabs,.mce-tabs+.mce-container-body{background:#fff}.mce-tab{display:inline-block;*display:inline;*zoom:1;border:1px solid #c5c5c5;border-width:0 1px 0 0;padding:8px;text-shadow:0 1px 1px hsla(0,0%,100%,.75);height:13px;cursor:pointer}.mce-tab:hover{background:#fdfdfd}.mce-tab.mce-active{background:#fdfdfd;border-bottom-color:transparent;margin-bottom:-1px;height:14px}.mce-rtl .mce-tabs{text-align:right;direction:rtl}.mce-rtl .mce-tab{border-width:0 0 0 1px}.mce-textbox{background:#fff;border:1px solid #c5c5c5;display:inline-block;-webkit-transition:border .2s linear,box-shadow .2s linear;transition:border .2s linear,box-shadow .2s linear;height:28px;resize:none;padding:0 4px;white-space:pre-wrap;*white-space:pre;color:#333}.mce-textbox.mce-focus,.mce-textbox:focus{border-color:#3498db}.mce-placeholder .mce-textbox{color:#aaa}.mce-textbox.mce-multiline{padding:4px;height:auto}.mce-textbox.mce-disabled{color:#adadad}.mce-rtl .mce-textbox{text-align:right;direction:rtl}@font-face{font-family:tinymce;src:url(/oac/tinymce-6196b6eb25b52ac8bbe4a94e6da8ae27.eot);src:url(/oac/tinymce-6196b6eb25b52ac8bbe4a94e6da8ae27.eot?#iefix) format("embedded-opentype"),url(/oac/tinymce-a7a41ea9358b658ec53e9d042334c1a8.woff) format("woff"),url(/oac/tinymce-aefbfcb02f143d3b3d3e47ff3de8efb1.ttf) format("truetype"),url(/oac/tinymce-7262d908f15434ec7c3ae2126bc87350.svg#tinymce) format("svg");font-weight:400;font-style:normal}@font-face{font-family:tinymce-small;src:url(/oac/tinymce-small-12d26c285b71d790f4b0c94423ef1f99.eot);src:url(/oac/tinymce-small-12d26c285b71d790f4b0c94423ef1f99.eot?#iefix) format("embedded-opentype"),url(/oac/tinymce-small-7e0c88f02dcaf2f78c90b4dc7827b709.woff) format("woff"),url(/oac/tinymce-small-28806940c647cf671bebf4ae0630e570.ttf) format("truetype"),url(/oac/tinymce-small-a2a1f732cc34764c684ed521c6f3327c.svg#tinymce) format("svg");font-weight:400;font-style:normal}.mce-ico{font-family:tinymce,Arial;font-style:normal;font-weight:400;font-variant:normal;font-size:16px;line-height:16px;speak:none;vertical-align:text-top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;background:transparent 50%;background-size:cover;width:16px;height:16px;color:#333}.mce-btn-small .mce-ico{font-family:tinymce-small,Arial}.mce-i-save:before{content:"\E000"}.mce-i-newdocument:before{content:"\E001"}.mce-i-fullpage:before{content:"\E002"}.mce-i-alignleft:before{content:"\E003"}.mce-i-aligncenter:before{content:"\E004"}.mce-i-alignright:before{content:"\E005"}.mce-i-alignjustify:before{content:"\E006"}.mce-i-alignnone:before{content:"\E003"}.mce-i-cut:before{content:"\E007"}.mce-i-paste:before{content:"\E008"}.mce-i-searchreplace:before{content:"\E009"}.mce-i-bullist:before{content:"\E00A"}.mce-i-numlist:before{content:"\E00B"}.mce-i-indent:before{content:"\E00C"}.mce-i-outdent:before{content:"\E00D"}.mce-i-blockquote:before{content:"\E00E"}.mce-i-undo:before{content:"\E00F"}.mce-i-redo:before{content:"\E010"}.mce-i-link:before{content:"\E011"}.mce-i-unlink:before{content:"\E012"}.mce-i-anchor:before{content:"\E013"}.mce-i-image:before{content:"\E014"}.mce-i-media:before{content:"\E015"}.mce-i-help:before{content:"\E016"}.mce-i-code:before{content:"\E017"}.mce-i-insertdatetime:before{content:"\E018"}.mce-i-preview:before{content:"\E019"}.mce-i-backcolor:before,.mce-i-forecolor:before{content:"\E01A"}.mce-i-table:before{content:"\E01B"}.mce-i-hr:before{content:"\E01C"}.mce-i-removeformat:before{content:"\E01D"}.mce-i-subscript:before{content:"\E01E"}.mce-i-superscript:before{content:"\E01F"}.mce-i-charmap:before{content:"\E020"}.mce-i-emoticons:before{content:"\E021"}.mce-i-print:before{content:"\E022"}.mce-i-fullscreen:before{content:"\E023"}.mce-i-spellchecker:before{content:"\E024"}.mce-i-nonbreaking:before{content:"\E025"}.mce-i-template:before{content:"\E026"}.mce-i-pagebreak:before{content:"\E027"}.mce-i-restoredraft:before{content:"\E028"}.mce-i-bold:before{content:"\E02A"}.mce-i-italic:before{content:"\E02B"}.mce-i-underline:before{content:"\E02C"}.mce-i-strikethrough:before{content:"\E02D"}.mce-i-visualblocks:before,.mce-i-visualchars:before{content:"\E02E"}.mce-i-ltr:before{content:"\E02F"}.mce-i-rtl:before{content:"\E030"}.mce-i-copy:before{content:"\E031"}.mce-i-resize:before{content:"\E032"}.mce-i-browse:before{content:"\E034"}.mce-i-pastetext:before{content:"\E035"}.mce-i-rotateleft:before{content:"\EAA8"}.mce-i-rotateright:before{content:"\EAA9"}.mce-i-crop:before{content:"\EE78"}.mce-i-editimage:before{content:"\E915"}.mce-i-options:before{content:"\EC6A"}.mce-i-flipv:before{content:"\EAAA"}.mce-i-fliph:before{content:"\EAAC"}.mce-i-zoomin:before{content:"\EB35"}.mce-i-zoomout:before{content:"\EB36"}.mce-i-sun:before{content:"\ECCC"}.mce-i-moon:before{content:"\ECCD"}.mce-i-arrowleft:before{content:"\EDC0"}.mce-i-arrowright:before{content:"\E93C"}.mce-i-drop:before{content:"\E935"}.mce-i-contrast:before{content:"\ECD4"}.mce-i-sharpen:before{content:"\EBA7"}.mce-i-resize2:before{content:"\EDF9"}.mce-i-orientation:before{content:"\E601"}.mce-i-invert:before{content:"\E602"}.mce-i-gamma:before{content:"\E600"}.mce-i-remove:before{content:"\ED6A"}.mce-i-tablerowprops:before{content:"\E604"}.mce-i-tablecellprops:before{content:"\E605"}.mce-i-table2:before{content:"\E606"}.mce-i-tablemergecells:before{content:"\E607"}.mce-i-tableinsertcolbefore:before{content:"\E608"}.mce-i-tableinsertcolafter:before{content:"\E609"}.mce-i-tableinsertrowbefore:before{content:"\E60A"}.mce-i-tableinsertrowafter:before{content:"\E60B"}.mce-i-tablesplitcells:before{content:"\E60D"}.mce-i-tabledelete:before{content:"\E60E"}.mce-i-tableleftheader:before{content:"\E62A"}.mce-i-tabletopheader:before{content:"\E62B"}.mce-i-tabledeleterow:before{content:"\E800"}.mce-i-tabledeletecol:before{content:"\E801"}.mce-i-codesample:before{content:"\E603"}.mce-i-fill:before{content:"\E902"}.mce-i-borderwidth:before{content:"\E903"}.mce-i-line:before{content:"\E904"}.mce-i-count:before{content:"\E905"}.mce-i-translate:before{content:"\E907"}.mce-i-drag:before{content:"\E908"}.mce-i-home:before{content:"\E90B"}.mce-i-upload:before{content:"\E914"}.mce-i-bubble:before{content:"\E91C"}.mce-i-user:before{content:"\E91D"}.mce-i-lock:before{content:"\E926"}.mce-i-unlock:before{content:"\E927"}.mce-i-settings:before{content:"\E928"}.mce-i-remove2:before{content:"\E92A"}.mce-i-menu:before{content:"\E92D"}.mce-i-warning:before{content:"\E930"}.mce-i-question:before{content:"\E931"}.mce-i-pluscircle:before{content:"\E932"}.mce-i-info:before{content:"\E933"}.mce-i-notice:before{content:"\E934"}.mce-i-arrowup:before{content:"\E93B"}.mce-i-arrowdown:before{content:"\E93D"}.mce-i-arrowup2:before{content:"\E93F"}.mce-i-arrowdown2:before{content:"\E940"}.mce-i-menu2:before{content:"\E941"}.mce-i-newtab:before{content:"\E961"}.mce-i-a11y:before{content:"\E900"}.mce-i-insert:before,.mce-i-plus:before{content:"\E93A"}.mce-i-minus:before{content:"\E939"}.mce-i-books:before{content:"\E911"}.mce-i-reload:before{content:"\E906"}.mce-i-toc:before{content:"\E901"}.mce-i-checkbox:before,.mce-i-checkmark:before,.mce-i-selected:before{content:"\E033"}.mce-i-insert{font-size:14px}.mce-i-selected{visibility:hidden}i.mce-i-backcolor{text-shadow:none;background:#bbb}@font-face{font-family:open_sansbold;src:url(/oac/opensans-bold-webfont-316f0bfd4ad823527bde5f1523ae466b.woff2) format("woff2"),url(/oac/opensans-bold-webfont-48eddbb86b0dd04a412aa631bda1b651.woff) format("woff");font-weight:400;font-style:normal}@font-face{font-family:open_sansregular;src:url(/oac/opensans-regular-webfont-1d81af74bf67efb4fea4c376a4f4e8e1.woff2) format("woff2"),url(/oac/opensans-regular-webfont-cd133a7cfd2d0e0c8282eacf3a7c45b7.woff) format("woff");font-weight:400;font-style:normal}@font-face{font-family:open_sanslight;src:url(/oac/opensans-light-webfont-12b992bf2f102ea40a952914966a73b5.woff2) format("woff2"),url(/oac/opensans-light-webfont-5c5c82db96b29e89bc839c6f1ae9adbd.woff) format("woff");font-weight:400;font-style:normal}@font-face{font-family:open_sanssemibold;src:url(/oac/opensans-semibold-webfont-5cc567d29f0c810258ff8a012b4115e8.woff2) format("woff2"),url(/oac/opensans-semibold-webfont-6c95241693564ed97267b3deaf39fa23.woff) format("woff");font-weight:400;font-style:normal}@font-face{font-family:Material Icons;font-style:normal;font-weight:400;src:url(/oac/MaterialIcons-Regular-e79bfd88537def476913f3ed52f4f4b3.eot);src:local("Material Icons"),local("MaterialIcons-Regular"),url(/oac/MaterialIcons-Regular-570eb83859dc23dd0eec423a49e147fe.woff2) format("woff2"),url(/oac/MaterialIcons-Regular-012cf6a10129e2275d79d6adac7f3b02.woff) format("woff"),url(/oac/MaterialIcons-Regular-a37b0c01c0baf1888ca812cc0508f6e2.ttf) format("truetype")}.material-icons{font-family:Material Icons;font-weight:400;font-style:normal;font-size:24px;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;-webkit-font-feature-settings:"liga";font-feature-settings:"liga"}*{box-sizing:border-box;vertical-align:top}html,html a{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-shadow:1px 1px 1px rgba(0,0,0,.004)}html{font-size:10px}body,html{height:100%}body{background-color:#f5f5f5}body,ul{margin:0}ul{padding:0;list-style-type:none}a,a:link,a:visited{text-decoration:none}.au-c-header{background:#fff;box-shadow:0 .3rem .6rem rgba(0,0,0,.15)}.au-c-header-top{height:6rem;background:#fff;padding:0 2rem;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.au-c-logo{height:3.4rem}.au-c-header-bottom{height:5rem;border-top:.1rem solid #ccc;padding:0 2rem;background-color:#fafafa;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.au-c-header-bottom,.au-c-header-bottom__left,.au-c-header-bottom__right{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.au-c-breadcrumb__divider{font-family:open_sansregular,sans-serif;font-size:1.6rem;color:#989898}.au-c-btn{border:none;background:none;font-family:open_sansbold,sans-serif;font-size:1.2rem;text-transform:uppercase;cursor:pointer;border-radius:3px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.au-c-btn:active{-webkit-transform:scale(.98);transform:scale(.98)}.au-c-btn a{font-size:1.2rem}.au-c-btn--sm{height:3rem;padding:0 2rem}.au-c-btn--sm i{margin-right:.8rem;margin-left:-.4rem;font-size:2rem}.au-c-btn--md{height:4rem;padding:0 2rem}.au-c-btn--md i{margin-right:.8rem;margin-left:-.4rem;font-size:2rem}.au-c-btn--square{height:3rem;width:3rem;text-align:center}.au-c-btn--square:active{-webkit-transform:scale(.96);transform:scale(.96)}.au-c-btn--outline{border:.2rem solid #912a7d;color:#912a7d;-webkit-transition:all .1s ease;transition:all .1s ease}.au-c-btn--outline:hover{background-color:#912a7d;color:#fff}.au-c-btn--back{padding:0 1.5rem}.au-c-btn--back i{margin-right:.5rem;margin-left:-1rem}.au-c-btn--green{border:.2rem solid #2bab6d;background-color:#2bab6d;color:#fff;-webkit-transition:all .1s ease;transition:all .1s ease}.au-c-btn--green:hover{background-color:#fff;color:#2bab6d}.au-c-btn--gray{border:.1rem solid #a9a9a9;background-color:#f5f5f5;color:#757575;-webkit-transition:all .1s ease;transition:all .1s ease}.au-c-btn--gray:hover{background-color:#fff;border-color:#989898;color:#333}.au-c-btn--white{border:.2rem solid #fff;background-color:#fff;color:#4f7db2;-webkit-transition:all .1s ease;transition:all .1s ease}.au-c-btn--white:hover{background-color:transparent;color:#fff}.au-c-btn--maroon{border:.2rem solid #912a7d;background-color:#912a7d;color:#fff;-webkit-transition:all .1s ease;transition:all .1s ease}.au-c-btn--maroon:hover{background-color:#fff;color:#912a7d}.au-c-btn--new{min-width:15rem;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.au-c-btn--breadcrumb{text-transform:none;font-size:1.6rem;font-family:open_sansregular,sans-serif;color:#333;border:.1rem solid transparent;-webkit-transition:all .1s ease;transition:all .1s ease}.au-c-btn--breadcrumb i{font-size:2rem;margin-right:1rem;color:#989898}.au-c-btn--breadcrumb:hover{background:#f5f5f5;border:.1rem solid #ccc}.au-c-btn--breadcrumb.is-active{font-family:open_sanssemibold,sans-serif;cursor:auto;pointer-events:none}.au-c-btn--table{background-color:#615696;margin-left:1rem;color:#fff;-webkit-transition:all .1s ease;transition:all .1s ease}.au-c-btn--table i{color:#fff;-webkit-transition:color .1s ease;transition:color .1s ease}.au-c-btn--table:hover{background-color:#fff;color:#4c4085}.au-c-btn--table:hover i{color:#4c4085}.au-c-btn--table.is-inactive{color:hsla(0,0%,100%,.5);pointer-events:none}.au-c-btn--table.is-inactive i{color:hsla(0,0%,100%,.5)}.au-c-button-dropdown>li{position:relative;width:100%}.au-c-button-dropdown li{display:block}.au-c-button-dropdown__dropdown{display:none;position:absolute;border-top:.2rem solid #912a7d;background:#912a7d;padding-bottom:.2rem;top:2.8rem;left:0;width:100%;z-index:100}.au-c-button-dropdown__dropdown.is-active{display:block}.au-c-btn--dropdown{width:15rem;padding:0 1rem;border:.2rem solid #912a7d;background-color:#912a7d;color:#fff;-webkit-transition:all .1s ease;transition:all .1s ease;position:relative;z-index:101}.au-c-btn--dropdown:hover{background-color:#691f5b;border-color:#691f5b}.au-c-btn--dropdown i{margin-left:1rem;margin-right:-.5rem}.au-c-btn--dropdown-item{width:100%;padding:0 1rem;border-top:.2rem solid #912a7d;background-color:#691f5b;color:#fff;-webkit-transition:all .1s ease;transition:all .1s ease;border-radius:0;height:3.2rem}.au-c-btn--dropdown-item:hover{background-color:#56194a}.au-c-btn--dropdown-item i{margin-right:1rem;margin-left:0}.au-u-ml-md{margin-left:2rem!important}.au-u-mt-md{margin-top:2rem!important}.au-u-mb-md{margin-bottom:2rem!important}.au-u-ml-sm{margin-left:1rem!important}.au-u-mt-sm{margin-top:1rem!important}.au-u-mr-sm{margin-right:1rem!important}.au-u-right{margin-left:auto!important}:focus{outline:thin dotted}.au-o-contain{max-width:100rem;margin:0 auto;padding-bottom:10rem}.au-o-item{margin-top:2rem;background-color:#fff;box-shadow:0 0 .6rem rgba(0,0,0,.3)}.au-o-item__top{height:5.1rem;padding:0 2.5rem 0 0;background-color:#fafafa;border-bottom:.1rem solid #ccc;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;font-family:open_sanssemibold,sans-serif;font-size:1.2rem}.au-o-left,.au-o-right{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.au-o-row{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-left:-3rem}.au-o-half{width:50%;padding-left:3rem}.au-o-quarter{width:25%;padding-left:2rem}.au-o-flex-center,.au-o-flex-contain{display:-webkit-box;display:-ms-flexbox;display:flex}.au-o-flex-center{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.au-c-assessment-top{background-color:#fff;padding-left:2.5rem}.au-c-assessment-title{padding:3rem 2.5rem 4rem}.au-c-assessment-title h1{margin:0}.au-c-question-settings{display:none;padding:0 2.5rem;border-bottom:.1rem solid #ccc;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.au-c-question-settings,.au-c-question__number{height:5rem;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.au-c-question__number{color:#fff;background:#4c4085;margin:0;width:5rem;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-family:open_sanssemibold,sans-serif;font-size:2rem}.au-c-question__type{color:#333;margin-left:2rem}.au-c-question-icons button{display:none}.au-c-question-icons i{width:3rem;height:3rem;border-radius:3px;text-align:center;font-size:2rem;line-height:3rem;color:#777;cursor:pointer}.au-c-question-icons i:hover{color:#333}.au-c-question-icons .au-c-btn--square{margin-left:.5rem;padding:0}.au-c-question-icons--reorder i{display:block;background:#6393c9;color:#fff}.au-c-question-icons--reorder i:hover{background:#336093;color:#fff}.au-c-question-icons--reorder button{display:block;margin-left:.5rem}.au-c-question-icons--reorder button.is-hidden{display:none}.au-c-question.is-active .au-c-question__answers{display:block;margin-bottom:2.5rem}.au-c-question.is-active .au-c-question-settings{display:-webkit-box;display:-ms-flexbox;display:flex}.au-c-question.is-active .au-c-question-icons button{display:inline-block}.au-c-question.is-active .au-c-question__feedback{display:block}.au-c-question.is-active .au-c-question__feedback .au-c-input__bottom.no-border,.au-c-question.is-active .au-c-question__text .au-c-input__bottom.no-border{background:#a9a9a9}.au-c-question .au-c-question__text:hover .au-c-input__bottom.no-border{border-top:.1rem solid #ccc}.au-c-question.reorder-active .au-o-item__top{background-color:#4f7db2}.au-c-question.reorder-active .au-o-item__top .au-c-question__number{background:#6393c9}.au-c-question.reorder-active .au-c-question__number,.au-c-question.reorder-active .au-c-question__type{color:#fff}.au-c-question__content{padding:3rem 2.5rem 4rem}.au-c-question__content.is-reordering{pointer-events:none}.au-c-question__answers{display:none;margin-top:3rem;margin-bottom:0}.au-c-question__answers .au-no-outline{outline:none}.au-c-question__answers--maintain .au-c-answer{padding-right:13.5rem}.au-c-question__feedback{display:none}.au-c-question-add{display:block;margin:2rem 2rem 0}.au-c-question-add__button{display:block;width:100%;background:none;text-align:center;-webkit-transition:background .1s ease,transform .1s ease;-webkit-transition:background .1s ease,-webkit-transform .1s ease;transition:background .1s ease,-webkit-transform .1s ease;transition:background .1s ease,transform .1s ease;transition:background .1s ease,transform .1s ease,-webkit-transform .1s ease;cursor:pointer;border:.2rem dashed #a9a9a9;font-family:open_sanssemibold,sans-serif;text-transform:uppercase;font-size:1.2rem;color:#333;padding:1.5rem}.au-c-question-add__button:hover{background:#fafafa}.au-c-question-add__button:active{-webkit-transform:scale(.99);transform:scale(.99)}.au-c-question-add__buttons{margin-top:3rem}.au-c-feedback{display:-webkit-box;display:-ms-flexbox;display:flex}.au-c-feedback.is-hidden{display:none}.au-c-input{position:relative;width:100%}.au-c-input--inline{display:inline-block;width:auto}.au-c-input__contain{-webkit-box-flex:1;-ms-flex:1;flex:1}.au-c-text-input,.au-c-textarea{width:100%;color:#333;border:none;border-top:.2rem solid #fff;background:none}.au-c-text-input:focus,.au-c-textarea:focus{outline:none}.au-c-text-input:focus+.au-c-input__bottom,.au-c-textarea:focus+.au-c-input__bottom{border-color:#4f7db2;background:#4f7db2}.au-c-text-input:focus+.au-c-input__bottom.has-error,.au-c-textarea:focus+.au-c-input__bottom.has-error{border-color:#d04545;background:#d04545}.au-c-textarea{resize:none;padding-top:.6rem}.au-c-input__bottom{height:.2rem;background:#a9a9a9}.au-c-input__bottom.no-border{border-top:none}.au-c-input__bottom.is-focused{border-color:#4f7db2;background:#4f7db2}.au-c-input__bottom.has-error{border-color:#d04545;background:#d04545}.au-c-error-text{color:#d04545;font-family:open_sanssemibold,sans-serif;font-size:1.2rem;margin-top:.5rem}.au-c-text-input--large{font-size:3rem;font-family:open_sanssemibold,sans-serif}.au-c-text-input--medium{min-height:4rem;font-size:2rem;font-family:open_sanssemibold,sans-serif}.au-c-text-input--medium .au-c-placeholder{line-height:4rem}.au-c-text-input--small{min-height:3.5rem;font-size:1.6rem;font-family:open_sansregular,sans-serif}.au-c-text-input--small .au-c-placeholder{line-height:3.5rem}.au-c-text-input--smaller{min-height:3rem;font-size:1.2rem;font-family:open_sanssemibold,sans-serif}.au-c-text-input--smaller .au-c-placeholder{line-height:3rem}.au-c-wysiwyg ul{list-style-type:disc;margin:20px 0;padding-left:40px}.au-c-wysiwyg.is-focused .mce-content-body{border-top:.1rem solid #ccc;outline:none}.au-c-wysiwyg.is-focused .mce-panel{display:block!important}.au-c-wysiwyg .mce-content-body{padding:.5rem 0}.au-c-wysiwyg .mce-panel{background:none;width:100%!important;border-bottom:none;border-left:none;border-right:none;border-top:.1rem solid #4f7db2}.au-c-wysiwyg .mce-btn{background:none;border-radius:3px;border:.1rem solid transparent}.au-c-wysiwyg .mce-btn:hover{background:#e5e5e5;border:.1rem solid #ccc}.au-c-wysiwyg .mce-btn:hover .mce-ico{color:#333}.au-c-wysiwyg .mce-btn.mce-active{background:#f5f5f5;border:.1rem solid #ccc}.au-c-wysiwyg .mce-btn.mce-active .mce-ico{color:#333}.au-c-wysiwyg .mce-btn.mce-active:hover{background:#e5e5e5;border:.1rem solid #ccc}.au-c-wysiwyg .mce-btn .mce-i-audio{font-family:Material Icons;font-size:2rem;width:auto}.au-c-wysiwyg .mce-btn .mce-i-audio:before{content:"\E050"}.au-c-wysiwyg .mce-btn .mce-i-image{font-family:Material Icons;font-size:2rem;width:auto}.au-c-wysiwyg .mce-btn .mce-i-image:before{content:"\E251"}.au-c-wysiwyg .mce-btn .mce-i-video{font-family:Material Icons;font-size:2rem;width:auto}.au-c-wysiwyg .mce-btn .mce-i-video:before{content:"\E04B"}.au-c-wysiwyg .mce-flow-layout-item{margin:0}.au-c-wysiwyg .mce-ico{color:#818181}.au-c-wysiwyg p{margin:0}.au-c-wysiwyg strong{font-family:open_sansbold,sans-serif}.au-c-wysiwyg sub{vertical-align:sub!important}.au-c-wysiwyg sup{vertical-align:super!important}.mce-floatpanel .mce-window-head{height:5rem;padding:0 1rem 0 2rem;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.mce-floatpanel .mce-window-head .mce-close{position:relative;margin-left:auto}.mce-floatpanel .mce-btn button{border:none;background:none;text-transform:uppercase;cursor:pointer;border-radius:3px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:3rem;padding:0 2rem}.mce-floatpanel .mce-btn button span{font-family:open_sansbold,sans-serif;font-size:1.2rem}.mce-floatpanel .mce-btn button:active{-webkit-transform:scale(.98);transform:scale(.98)}.au-c-input-label--left{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-family:open_sanssemibold,sans-serif;color:#757575;font-size:1.2rem;min-width:25rem}.au-c-input-label--left label{white-space:nowrap}.au-c-input-label--left .au-c-input__contain{margin-left:1rem}.au-c-input-label--top{font-family:open_sanssemibold,sans-serif;color:#757575;font-size:1.2rem;min-width:25rem;height:1.7rem}.au-c-input-label--top .au-c-input__contain,.au-c-input-label--top select{margin-top:.5rem}.au-c-input-label--large{font-size:1.6rem}.au-c-input--white label{color:#f5f5f5}.au-c-input--white .au-c-text-input{color:#fff;border-top:.2rem solid transparent;min-height:2.5rem}.au-c-input--white .au-c-text-input:focus{border-top:.2rem solid #fff}.au-c-input--white .au-c-text-input:focus+.au-c-input__bottom{border-color:#fff;background:#fff}.au-c-input--white .au-c-input__bottom{border-color:#fff}.au-c-dropdown{min-width:20rem;position:relative}.au-c-dropdown select{border:.1rem solid #a9a9a9;background-color:#f5f5f5;font-family:open_sanssemibold,sans-serif;color:#333;-webkit-appearance:none;height:3rem;border-radius:0;width:100%;cursor:pointer}.au-c-dropdown:before{content:"\E5C5";font-family:Material Icons;font-size:2rem;color:#333;position:absolute;top:.5rem;right:1rem;pointer-events:none}.au-c-dropdown--small select{font-size:1.2rem;padding:0 1rem}.au-c-dropdown--smaller{min-width:15rem}.au-c-dropdown--smaller select{font-size:1.2rem;padding:0 1rem}.au-c-dropdown--smaller:before{right:.5rem}.au-c-dropdown--tiny{min-width:6.5rem}.au-c-dropdown--tiny select{font-size:1.2rem;padding:0 1rem}.au-c-dropdown--tiny:before{right:.5rem}.au-c-dropdown--medium select{height:4rem;font-size:1.6rem;padding:0 2rem}.au-c-dropdown--medium:before{top:1rem;right:2rem}.au-c-dropdown--medium.au-c-input-label--top:before{top:3.2rem;right:1.5rem}.au-c-checkbox label{display:inline-block;cursor:pointer;position:relative;font-family:open_sanssemibold,sans-serif;font-size:1.2rem;color:#333;padding-left:2.7rem;height:2rem;line-height:2rem;min-width:3rem}.au-c-checkbox input[type=checkbox]+label:before{content:"\E835";color:#989898;font-size:2rem;font-family:Material Icons;font-weight:400;position:absolute;line-height:1;top:0;left:0}.au-c-checkbox input[type=checkbox]:checked+label:before{content:"\E834";color:#4f7db2}.au-c-checkbox input:focus+label{outline:thin dotted}.au-c-checkbox input{opacity:0;margin:0;height:.01rem;width:.01rem;position:absolute}.au-c-radio label{min-width:3rem;display:inline-block;cursor:pointer;position:relative;font-family:open_sanssemibold,sans-serif;font-size:1.2rem;color:#333;padding-left:2.7rem;height:2rem;line-height:2rem}.au-c-radio input[type=radio]+label:before{content:"\E836";color:#989898;font-size:2rem;font-family:Material Icons;font-weight:400;position:absolute;line-height:1;top:0;left:0}.au-c-radio input[type=radio]:checked+label:before{content:"\E837";color:#4f7db2}.au-c-radio input:focus+label{outline:thin dotted}.au-c-radio input,input.au-c-file{opacity:0;margin:0;height:.01rem;width:.01rem;position:absolute}input.au-c-file{z-index:-1}.au-c-answer .au-c-checkbox,.au-c-answer .au-c-radio{position:absolute;left:-4rem;top:.2rem;height:3rem;width:3rem}.au-c-answer .au-c-checkbox label,.au-c-answer .au-c-radio label{padding:0;height:3rem;line-height:3rem}.au-c-answer .au-c-radio input[type=radio]+label:before{font-size:3rem}.au-c-answer .au-c-radio input[type=radio]:checked+label:before{color:#2bab6d}.au-c-answer .au-c-checkbox input[type=checkbox]+label:before{font-size:3rem}.au-c-answer .au-c-checkbox input[type=checkbox]:checked+label:before{color:#2bab6d}.au-c-placeholder{position:absolute;left:0;top:0;color:#a9a9a9}.au-c-placeholder.is-hidden{display:none}.au-c-table{width:100%;border-collapse:collapse}.au-c-table.is-empty{position:relative}.au-c-table.is-empty tr td{border-bottom:none;background:none!important}.au-c-table.is-empty tr td div{left:50%;-webkit-transform:translateX(-50%);transform:translate(-50%);position:absolute;top:200px;font-size:2rem;color:#aaa;text-align:center}.au-c-table .au-deleting-assessment{height:5rem;position:relative}.au-c-table .au-deleting-assessment .loader{position:absolute;top:10px;left:50px}.au-c-table th{height:5rem;border-bottom:.1rem solid #ccc;background:#fafafa;font-family:open_sanssemibold,sans-serif;font-size:1.2rem;color:#989898;text-align:left;vertical-align:middle}.au-c-table th:first-of-type{padding-left:2rem;width:6rem}.au-c-table th:nth-of-type(2){width:50%}.au-c-table th:nth-of-type(4){padding-right:2rem}.au-c-table th .au-c-table__filter{position:relative;background:none;border:none;padding:1rem 3rem 1rem 0;font-size:1.2rem;color:#989898;height:3.5rem}.au-c-table th .au-c-table__filter i{font-size:2rem;color:#ccc;position:absolute}.au-c-table th .au-c-table__filter i.top{top:0;right:0}.au-c-table th .au-c-table__filter i.bottom{bottom:-.2rem;right:0}.au-c-table th .au-c-table__filter i.is-active{color:#777}.au-c-table th .au-c-table__filter.is-active{font-family:open_sansbold,sans-serif;color:#777}.au-c-table tr.focused td,.au-c-table tr:hover td{background:#4c4085}.au-c-table tr.focused td:first-of-type i,.au-c-table tr:hover td:first-of-type i{color:#fff}.au-c-table tr.focused td:nth-of-type(2),.au-c-table tr:hover td:nth-of-type(2){font-family:open_sanssemibold,sans-serif;color:#fff}.au-c-table tr.focused td:nth-of-type(3) i,.au-c-table tr:hover td:nth-of-type(3) i{color:#fff}.au-c-table tr.focused .au-c-table__icons,.au-c-table tr:hover .au-c-table__icons{display:-webkit-box;display:-ms-flexbox;display:flex}.au-c-table tr.focused .au-c-publish,.au-c-table tr:hover .au-c-publish{background-color:#615696;color:#fff}.au-c-table tr.focused .au-c-publish.is-published i,.au-c-table tr.focused .au-c-publish i,.au-c-table tr:hover .au-c-publish.is-published i,.au-c-table tr:hover .au-c-publish i{color:#fff}.au-c-table tr.focused .au-c-publish:hover,.au-c-table tr:hover .au-c-publish:hover{background-color:#fff;color:#4c4085}.au-c-table tr.focused .au-c-publish:hover i,.au-c-table tr:hover .au-c-publish:hover i{color:#4c4085}.au-c-table tr td{height:5rem;border-bottom:.1rem solid #ccc;vertical-align:middle}.au-c-table tr td button{display:inline-block}.au-c-table tr td i{font-size:2rem}.au-c-table tr td:first-of-type{padding-left:2rem;width:6rem}.au-c-table tr td:first-of-type i{color:#818181}.au-c-table tr td:nth-of-type(2){font-family:open_sansregular,sans-serif;font-size:1.4rem;color:#333;width:50%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.au-c-table tr td:nth-of-type(3) i{color:#818181}.au-c-table tr td:nth-of-type(3) .is-published i{color:#2bab6d}.au-c-table tr td:nth-of-type(4){padding-right:2rem}.au-c-table__icons{display:none;-webkit-box-align:center;-ms-flex-align:center;align-items:center;float:right}.au-c-scrollable{min-height:60rem}.au-c-input--purple{-webkit-box-flex:1;-ms-flex:1;flex:1}.au-c-input--purple .au-c-text-input{color:#fff;border:.2rem solid #615696;border-right:none;background:#4c4085;border-radius:3px 0 0 3px;width:100%;padding:0 1rem}.au-c-input--purple .au-c-text-input:focus{border-style:dotted}.au-c-embed-contain{width:100%;-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.au-c-btn--embed{border-radius:0 3px 3px 0;border:.2rem solid #615696;background-color:#615696;color:#fff;-webkit-transition:all .1s ease;transition:all .1s ease;display:block;position:relative}.au-c-btn--embed i{position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translate(-50%);top:.3rem;width:3rem;height:3rem;color:#fff;-webkit-transition:color .1s ease;transition:color .1s ease}.au-c-btn--embed:hover{background-color:#fff}.au-c-btn--embed:hover i{color:#4c4085}.au-c-answer{padding:.75rem 5.5rem;background:#fff;box-shadow:0 0 .6rem rgba(0,0,0,.3);min-height:5rem;margin-bottom:1rem;cursor:pointer}.au-c-answer:hover .au-c-answer__icons .au-c-answer__icons__spacer:last-of-type i{display:inline-block}.au-c-answer:hover .au-c-input__bottom.no-border{background:#a9a9a9}.au-c-answer.is-ordered{padding-right:5.5rem}.au-c-answer.is-ordered .au-c-answer__icons{width:3rem;right:-4rem}.au-c-answer .au-c-answer__icons{position:absolute;width:11rem;height:3rem;right:-12rem;top:.2rem;cursor:pointer}.au-c-answer .au-c-answer__icons i{display:none;font-size:3rem;color:#989898}.au-c-answer .au-c-answer__icons i:hover{color:#4f7db2}.au-c-answer .au-c-answer__icons__spacer{width:3rem;height:3rem;margin-right:1rem;display:inline-block;border:none;background:none;padding:0}.au-c-answer .au-c-answer__icons__spacer.inactive{pointer-events:none}.au-c-answer .au-c-answer__icons__spacer:last-of-type{margin:0}.au-c-answer .au-c-answer__icons__spacer:last-of-type i{color:#ccc}.au-c-answer .au-c-answer__icons__spacer:last-of-type i:hover{color:#333}.au-c-answer.is-active .au-c-answer__icons i{display:inline-block}.au-c-answer.is-active .au-c-input__bottom.no-border{border-top:.1rem solid #ccc}.au-c-answer--delete{margin-left:1rem;width:3rem;height:3rem;display:inline-block;border:none;background:none;padding:0;cursor:pointer}.au-c-answer--delete i{font-size:3rem;color:#ccc}.au-c-answer--delete i:hover{color:#4f7db2}.au-c-answer--add{box-shadow:none;min-height:5rem;margin-bottom:0;border:.2rem dashed #ccc}.au-c-answer--add:hover .au-c-input .au-c-text-input{color:#333}.au-c-answer--add:hover .au-c-checkbox input[type=checkbox]+label:before,.au-c-answer--add:hover .au-c-radio input[type=radio]+label:before{color:#989898}.au-c-answer--add .au-c-input{pointer-events:none}.au-c-answer--add .au-c-input .au-c-text-input{color:#757575;-webkit-transition:color .1s ease;transition:color .1s ease}.au-c-answer--add .au-c-input .au-c-input__bottom{background:none}.au-c-answer--add .au-c-radio input[type=radio]+label:before{color:#ccc;-webkit-transition:color .1s ease;transition:color .1s ease}.au-c-answer--add .au-c-checkbox input[type=checkbox]+label:before{color:#e5e5e5;-webkit-transition:color .1s ease;transition:color .1s ease}.au-c-question.is-active .au-c-question__answers.au-c-short-answer__answers{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}.au-c-short-answer__example{margin-left:3rem;margin-top:2.2rem;border:.2rem solid #a9a9a9;border-radius:3px;width:100%;font-family:open_sansregular,sans-serif;font-size:1.4rem;color:#757575;text-align:center}.au-c-short-answer__example.is-small{max-width:25rem;line-height:3.7rem;height:4rem}.au-c-short-answer__example.is-medium{line-height:3.7rem;height:4rem}.au-c-short-answer__example.is-large{line-height:11.7rem;height:12rem}.au-c-radio--file label{display:block;border:.2rem solid #e5e5e5;border-radius:3px;width:100%;font-family:open_sanssemibold,sans-serif;font-size:1.6rem;color:#989898;text-align:center;height:4rem;line-height:3.7rem}.au-c-radio--file input[type=radio]:checked+label{border-color:#4f7db2;color:#333}.au-c-radio--file input:focus+label{outline:thin dotted}.au-c-radio--file input{opacity:0;margin:0;height:.01rem;width:.01rem;position:absolute}.au-c-file-upload__audio-settings{display:none;width:100%;padding-left:3rem;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.au-c-file-upload__audio-settings span{display:inline-block;font-family:open_sanssemibold,sans-serif;font-size:1.2rem;color:#989898}.au-c-file-upload__audio-settings .au-c-input--inline{margin:0 .5rem;max-width:5rem}.au-c-file-upload__audio-settings .au-c-input--inline input{padding:0 1rem;font-size:1.6rem}.au-c-file-upload__audio-settings.is-active{display:-webkit-box;display:-ms-flexbox;display:flex}.au-c-file-upload__audio-settings .au-c-inline-error{color:#d04545;margin-left:1rem}.loader,.loader:after,.loader:before{border-radius:50%;width:2.5em;height:2.5em;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation:load7 1.8s infinite ease-in-out;animation:load7 1.8s infinite ease-in-out}.loader{color:#4c4085;font-size:10px;margin:-20px auto;position:relative;text-indent:-9999em;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation-delay:-.16s;animation-delay:-.16s}.loader:after,.loader:before{content:"";position:absolute;top:0}.loader:before{left:-3.5em;-webkit-animation-delay:-.32s;animation-delay:-.32s}.loader:after{left:3.5em}@-webkit-keyframes load7{0%,80%,to{box-shadow:0 2.5em 0 -1.3em}40%{box-shadow:0 2.5em 0 0}}@keyframes load7{0%,80%,to{box-shadow:0 2.5em 0 -1.3em}40%{box-shadow:0 2.5em 0 0}}.au-c-wysiwyg-modal{width:50rem;margin:5rem auto 0;background:#fff}.au-c-wysiwyg-modal-background{z-index:900;zoom:1;position:fixed;left:0;top:0;width:100%;height:100%;background:rgba(0,0,0,.3)}.au-c-wysiwyg-modal__header{height:5rem;background:#fafafa;border-bottom:.1rem solid #ccc;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:0 2.5rem}.au-c-wysiwyg-modal__title{font-family:open_sanssemibold,sans-serif;font-size:1.8rem;color:#333}.au-c-wysiwyg-modal__close{width:3rem;height:3rem;display:inline-block;border:none;background:none;padding:0;cursor:pointer}.au-c-wysiwyg-modal__close i{font-size:3rem;color:#989898}.au-c-wysiwyg-modal__close i:hover{color:#4f7db2}.au-c-wysiwyg-modal__main{padding:3rem 2.5rem 0}.au-c-wysiwyg-media__main2 .au-c-input{max-width:5rem}.au-c-wysiwyg-media__main2 .au-c-input input{text-align:center}.au-c-wysiwyg-media__label{font-family:open_sanssemibold,sans-serif;font-size:1.2rem;color:#757575;min-width:10rem;display:inline-block}.au-c-wysiwyg-media__source-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;height:2.5rem;border-bottom:.1rem solid #ccc;font-family:open_sansregular,sans-serif;font-size:1.4rem;color:#333;width:100%}.au-c-wysiwyg-media__source-text .loader{font-size:9px}.au-c-wysiwyg-media__upload{width:5rem;height:3rem;padding:0 1rem;margin-left:1rem;text-align:center;color:#818181;background:#f5f5f5;border:.1rem solid #ccc;display:inline-block;border-radius:3px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;cursor:pointer}.au-c-wysiwyg-media__upload:hover{color:#333;border-color:#989898}.au-c-input--file{cursor:pointer}.au-c-input--file input{width:.01rem;height:.01rem;opacity:0;position:absolute;z-index:-1}.au-c-input--file input:focus+label{outline:thin dotted}.au-c-wysiwyg-media__x-divider{margin:0 1rem;font-family:open_sanssemibold,sans-serif;color:#333}.au-c-wysiwyg-modal__footer{height:7.5rem;padding:0 2.5rem;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.au-c-wysiwyg-modal__contain{padding:0 2.5rem}.au-c-fake-modal{width:50rem;padding:2.5rem;margin:3rem auto 30rem;background:#fff}.au-c-wysiwyg-modal__media{border:.1rem solid #ccc;position:relative;min-height:85px}.au-c-modal-media__search{padding:.5rem}.au-c-input--search input{border:.1rem solid #ccc;padding:0 4rem 0 1rem}.au-c-input--search i{position:absolute;right:.8rem;top:.6rem;font-size:2.2rem;color:#818181}.au-c-modal-media__results table{border-collapse:collapse;width:100%}.au-c-modal-media__results tr:hover td{background:#f5f5f5;cursor:pointer}.au-c-modal-media__results tr.is-active td{background:#4c4085;color:#fff}.au-c-modal-media__results td{font-family:open_sanssemibold,sans-serif;font-size:1.2rem;height:3rem;vertical-align:middle;border-top:.1rem solid #ccc;border-bottom:.1rem solid #ccc}.au-c-modal-media__results td:first-of-type{width:4rem}.au-c-modal-media__thumbnail{width:2rem;height:1.5rem;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:0 1rem}.au-c-modal-media__thumbnail img{max-width:100%}.au-c-modal-media__pagination{height:3rem;line-height:3rem;text-align:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.au-c-modal-media__pagination ul{display:inline-block;padding-left:1.5rem;padding-right:1.5rem}.au-c-modal-media__pagination li{display:inline-block}.au-c-modal-media__pagination .break a{cursor:default}.au-c-modal-media__pagination-pages{cursor:pointer}.au-c-modal-media__pagination-pages:hover{background:#f5f5f5;border-bottom:.2rem solid #777}.au-c-modal-media__pagination-pages.is-active{border-bottom:.2rem solid #777}.au-c-modal-media__pagination-pages.is-active a{font-family:open_sanssemibold,sans-serif;font-size:1.2rem}.au-c-modal-media__pagination-page{padding:1rem;font-size:1.2rem;font-family:open_sansregular,sans-serif}.au-c-modal-media__pagination-next,.au-c-modal-media__pagination-previous{cursor:pointer;padding:.5rem}.au-c-modal-media__pagination-next:hover,.au-c-modal-media__pagination-previous:hover{color:#fff;background-color:#615696}.au-c-modal-media__pagination-next.inactive,.au-c-modal-media__pagination-previous.inactive{display:none}.au-c-modal-media__pagination-next i,.au-c-modal-media__pagination-previous i{font-size:2rem}.spinner{color:#4c4085;font-size:90px;text-indent:-9999em;overflow:hidden;width:1em;height:1em;border-radius:50%;margin:72px auto;position:relative;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation:load6 1.7s infinite ease,round 1.7s infinite ease;animation:load6 1.7s infinite ease,round 1.7s infinite ease}@-webkit-keyframes load6{0%{box-shadow:0 -.83em 0 -.4em,0 -.83em 0 -.42em,0 -.83em 0 -.44em,0 -.83em 0 -.46em,0 -.83em 0 -.477em}5%,95%{box-shadow:0 -.83em 0 -.4em,0 -.83em 0 -.42em,0 -.83em 0 -.44em,0 -.83em 0 -.46em,0 -.83em 0 -.477em}10%,59%{box-shadow:0 -.83em 0 -.4em,-.087em -.825em 0 -.42em,-.173em -.812em 0 -.44em,-.256em -.789em 0 -.46em,-.297em -.775em 0 -.477em}20%{box-shadow:0 -.83em 0 -.4em,-.338em -.758em 0 -.42em,-.555em -.617em 0 -.44em,-.671em -.488em 0 -.46em,-.749em -.34em 0 -.477em}38%{box-shadow:0 -.83em 0 -.4em,-.377em -.74em 0 -.42em,-.645em -.522em 0 -.44em,-.775em -.297em 0 -.46em,-.82em -.09em 0 -.477em}to{box-shadow:0 -.83em 0 -.4em,0 -.83em 0 -.42em,0 -.83em 0 -.44em,0 -.83em 0 -.46em,0 -.83em 0 -.477em}}@keyframes load6{0%{box-shadow:0 -.83em 0 -.4em,0 -.83em 0 -.42em,0 -.83em 0 -.44em,0 -.83em 0 -.46em,0 -.83em 0 -.477em}5%,95%{box-shadow:0 -.83em 0 -.4em,0 -.83em 0 -.42em,0 -.83em 0 -.44em,0 -.83em 0 -.46em,0 -.83em 0 -.477em}10%,59%{box-shadow:0 -.83em 0 -.4em,-.087em -.825em 0 -.42em,-.173em -.812em 0 -.44em,-.256em -.789em 0 -.46em,-.297em -.775em 0 -.477em}20%{box-shadow:0 -.83em 0 -.4em,-.338em -.758em 0 -.42em,-.555em -.617em 0 -.44em,-.671em -.488em 0 -.46em,-.749em -.34em 0 -.477em}38%{box-shadow:0 -.83em 0 -.4em,-.377em -.74em 0 -.42em,-.645em -.522em 0 -.44em,-.775em -.297em 0 -.46em,-.82em -.09em 0 -.477em}to{box-shadow:0 -.83em 0 -.4em,0 -.83em 0 -.42em,0 -.83em 0 -.44em,0 -.83em 0 -.46em,0 -.83em 0 -.477em}}@-webkit-keyframes round{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes round{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.au-c-drag-and-drop__target-area{border:.1rem solid #ccc;margin:3rem 0}.au-c-drag-and-drop__target-area .au-o-item__top{background:#fff;padding:0 2rem 0 0}.au-c-drag-and-drop__target-image{background:#fafafa;position:relative}.au-c-drag-and-drop__target-image img{max-width:100%}.au-c-drag-and-drop__target-image-placeholder{width:100%;text-align:center;height:200px;line-height:200px;cursor:pointer;color:#757575;font-family:open_sanssemibold,sans-serif}.au-c-drop-zone{width:20rem;height:20rem;background:none;border:.2rem solid #000;box-shadow:0 0 .2rem .2rem #fff;position:absolute;border-radius:3px;cursor:pointer}.au-c-drop-zone.is-active .au-c-drop-zone__tool-tip{display:-webkit-box;display:-ms-flexbox;display:flex}.au-c-drop-zone__tag{color:#000;background:#fff}.au-c-zone{display:none}.au-c-zone.is-active{display:inline-block}.au-c-zone .au-c-zone-position{position:absolute;height:10px;width:10px;border:1px solid #000;background-color:#fff}.au-c-zone .au-c-zone-corner-topLeft{top:-5px;left:-5px;cursor:nwse-resize}.au-c-zone .au-c-zone-corner-topRight{top:-5px;right:-5px;cursor:nesw-resize}.au-c-zone .au-c-zone-corner-bottomLeft{bottom:-5px;left:-5px;cursor:nesw-resize}.au-c-zone .au-c-zone-corner-bottomRight{bottom:-5px;right:-5px;cursor:nwse-resize}.au-c-zone .au-c-zone-middle{position:absolute;cursor:move;top:5px;left:5px;width:calc(100% - 10px);height:calc(100% - 10px)}.au-c-drop-zone__tool-tip{z-index:999}.au-c-drop-zone__tag{position:absolute;top:0;left:0;font-family:open_sanssemibold,sans-serif;font-size:1.2rem;color:#333;padding:.1rem .5rem}.au-c-drop-zone__tool-tip{display:none;border-radius:.3rem;position:absolute;top:-4.5rem;height:3.5rem;background:#333;padding:0 1rem;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.au-c-drop-zone__tool-tip.is-right{left:0}.au-c-drop-zone__tool-tip.is-right:before{left:2rem}.au-c-drop-zone__tool-tip.is-left{right:0}.au-c-drop-zone__tool-tip.is-left:before{right:2rem}.au-c-drop-zone__tool-tip:before{content:"";position:absolute;bottom:-.5rem;width:1rem;height:1rem;background:#333;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.au-c-drop-zone__tool-tip .au-c-btn--square{background:#333;margin-left:1rem;color:#fff;padding:0}.au-c-drop-zone__answers__label{font-family:open_sanssemibold,sans-serif;font-size:1.2rem;color:#757575}.au-c-drop-zone__answers{margin:1rem 0 3rem}.au-c-drop-zone__answers.au-o-row{margin-left:-2rem;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}.au-c-drop-zone__answers.au-o-row .au-o-quarter{margin-bottom:2rem}.au-c-drop-zone-answer{padding:1rem;height:100%;border-radius:3px;background:#fff;box-shadow:0 0 .5rem rgba(0,0,0,.3);cursor:pointer}.au-c-drop-zone-answer:hover{box-shadow:0 0 .7rem rgba(0,0,0,.5)}.au-c-drop-zone-answer:hover .au-c-answer--delete i{display:inline-block}.au-c-drop-zone-answer .au-c-answer--delete i{display:none}.au-c-drop-zone-answer .au-c-input-label--left{display:none;min-width:auto;margin-top:.5rem}.au-c-drop-zone-answer .au-c-dropdown{opacity:0;width:100%;min-width:auto}.au-c-drop-zone-answer.is-active .au-c-answer--delete i{display:inline-block}.au-c-drop-zone-answer.is-active .au-c-dropdown{opacity:1}.au-c-drop-zone-answer.is-active .au-c-input-label--left,.au-c-drop-zone-answer__top{display:-webkit-box;display:-ms-flexbox;display:flex}.au-c-drop-zone-answer__top{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.au-c-drop-zone-answer__image{max-height:25rem;margin-top:1rem;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.au-c-drop-zone-answer__image img{max-width:100%;max-height:20rem}.au-c-drop-zone-answer-add{display:block;height:100%;min-height:10rem}.au-c-drop-zone-answer-add__button{display:block;width:100%;height:100%;background:none;text-align:center;-webkit-transition:background .1s ease,transform .1s ease;-webkit-transition:background .1s ease,-webkit-transform .1s ease;transition:background .1s ease,-webkit-transform .1s ease;transition:background .1s ease,transform .1s ease;transition:background .1s ease,transform .1s ease,-webkit-transform .1s ease;cursor:pointer;border:.2rem dashed #ccc;-o-border-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAASCAYAAAC5DOVpAAAAAXNSR0IArs4c6QAAAGJJREFUOBFjPHPmzH8GNPD///9GU1PTBjRhOPf06dMNjIyM9XABIAOo5yATsgClbEaYy0xMTBjJMQzmSpBvqOoyqhpGjs9G9YyGAKkhMEKyEwssXGClB4hPTnkG1OZA1YwOAE0iMJqvX6f2AAAAAElFTkSuQmCC) 2 round;border-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAASCAYAAAC5DOVpAAAAAXNSR0IArs4c6QAAAGJJREFUOBFjPHPmzH8GNPD///9GU1PTBjRhOPf06dMNjIyM9XABIAOo5yATsgClbEaYy0xMTBjJMQzmSpBvqOoyqhpGjs9G9YyGAKkhMEKyEwssXGClB4hPTnkG1OZA1YwOAE0iMJqvX6f2AAAAAElFTkSuQmCC) 2 round;font-family:open_sanssemibold,sans-serif;text-transform:uppercase;font-size:1.2rem;color:#333}.au-c-drop-zone-answer-add__button:hover{background:#fafafa}.au-c-drop-zone-answer-add__button:active{-webkit-transform:scale(.99);transform:scale(.99)}.au-c-movable__answers .au-c-answer{padding:0 1.5rem}.au-c-movable__answers .au-c-answer.is-active .au-c-answer--delete,.au-c-movable__answers .au-c-answer.is-active .au-c-dropdown--smaller,.au-c-movable__answers .au-c-answer.is-active .au-c-dropdown--tiny,.au-c-movable__answers .au-c-answer:hover .au-c-answer--delete{opacity:1;pointer-events:auto}.au-c-movable__answers .au-c-answer--delete,.au-c-movable__answers .au-c-dropdown--smaller{opacity:0;pointer-events:none}.au-c-movable__answers .au-c-answer--delete.is-ordered,.au-c-movable__answers .au-c-dropdown--smaller.is-ordered{opacity:1;pointer-events:auto}.au-c-movable__answers .au-c-dropdown--tiny{opacity:0;pointer-events:none}.au-c-movable__answers .au-c-dropdown--tiny.is-ordered{opacity:1;pointer-events:auto}.au-c-movable__answers .au-c-dropdown--tiny.is-ordered select{border-color:#2bab6d}.au-c-movable__answers .au-c-answer--add{padding-left:5.5rem}.au-c-movable__answers--maintain .au-c-answer{padding:.75rem 5.5rem}.au-c-movable__audio-settings{display:none;width:100%;margin-top:3rem;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.au-c-movable__audio-settings span{display:inline-block;font-family:open_sanssemibold,sans-serif;font-size:1.2rem;color:#989898}.au-c-movable__audio-settings .au-c-input--inline{margin:0 .5rem;max-width:5rem}.au-c-movable__audio-settings .au-c-input--inline input{padding:0 1rem;font-size:1.6rem}.au-c-movable__audio-settings.is-active{display:-webkit-box;display:-ms-flexbox;display:flex}.au-c-movable__audio-settings .au-c-inline-error{color:#d04545;margin-left:1rem}.au-c-image-sequence__answers{margin:3rem 0}.au-c-image-sequence__answers.au-o-row{margin-left:-2rem;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}.au-c-image-sequence__answers .au-o-quarter{margin-bottom:2rem}.au-c-image-sequence-answer{padding:1rem;height:100%;border-radius:3px;background:#fff;box-shadow:0 0 .5rem rgba(0,0,0,.15);cursor:pointer}.au-c-image-sequence-answer:hover{box-shadow:0 0 .7rem rgba(0,0,0,.3)}.au-c-image-sequence-answer .au-c-input-label--left{display:none;min-width:auto;margin-top:.5rem;margin-bottom:1rem}.au-c-image-sequence-answer .au-c-dropdown{display:none}.au-c-image-sequence-answer.is-active .au-c-dropdown{display:block}.au-c-image-sequence-answer.is-active .au-c-input-label--left{display:-webkit-box;display:-ms-flexbox;display:flex}.au-c-image-sequence-answer.is-active .au-c-image-sequence-answer__image{margin-top:-7.7rem;padding-top:7.7rem;max-height:32.7rem}.au-c-image-sequence-answer__image,.au-c-image-sequence-answer__top{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.au-c-image-sequence-answer__image{height:100%;max-height:10rem;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.au-c-image-sequence-answer__image img{max-width:100%;max-height:10rem}.au-c-image-sequence-answer-add{display:block;height:100%;min-height:10rem}.au-c-image-sequence-answer-add__button{width:100%;height:100%;background:none;text-align:center;-webkit-transition:background .1s ease,transform .1s ease;-webkit-transition:background .1s ease,-webkit-transform .1s ease;transition:background .1s ease,-webkit-transform .1s ease;transition:background .1s ease,transform .1s ease;transition:background .1s ease,transform .1s ease,-webkit-transform .1s ease;cursor:pointer;border:.2rem dashed #ccc;-o-border-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAASCAYAAAC5DOVpAAAAAXNSR0IArs4c6QAAAGJJREFUOBFjPHPmzH8GNPD///9GU1PTBjRhOPf06dMNjIyM9XABIAOo5yATsgClbEaYy0xMTBjJMQzmSpBvqOoyqhpGjs9G9YyGAKkhMEKyEwssXGClB4hPTnkG1OZA1YwOAE0iMJqvX6f2AAAAAElFTkSuQmCC) 2 round;border-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAASCAYAAAC5DOVpAAAAAXNSR0IArs4c6QAAAGJJREFUOBFjPHPmzH8GNPD///9GU1PTBjRhOPf06dMNjIyM9XABIAOo5yATsgClbEaYy0xMTBjJMQzmSpBvqOoyqhpGjs9G9YyGAKkhMEKyEwssXGClB4hPTnkG1OZA1YwOAE0iMJqvX6f2AAAAAElFTkSuQmCC) 2 round;font-family:open_sanssemibold,sans-serif;text-transform:uppercase;font-size:1.2rem;color:#333}.au-c-image-sequence-answer-add__button:hover{background:#fafafa}.au-c-image-sequence-answer-add__button:active{-webkit-transform:scale(.99);transform:scale(.99)}.au-c-fill-in-the-blank__answers .au-c-answer{padding:0 1.5rem 0 5.5rem}.au-c-fill-in-the-blank__answers .au-c-answer.is-active .au-c-answer--delete,.au-c-fill-in-the-blank__answers .au-c-answer:hover .au-c-answer--delete{opacity:1;pointer-events:auto}.au-c-fill-in-the-blank__answers .au-c-answer--delete{opacity:0;pointer-events:none}.au-c-movable__answers__label{font-family:open_sanssemibold,sans-serif;font-size:1.2rem;color:#757575}@font-face{font-family:open_sansbold;src:url(/oac/opensans-bold-webfont-316f0bfd4ad823527bde5f1523ae466b.woff2) format("woff2"),url(/oac/opensans-bold-webfont-48eddbb86b0dd04a412aa631bda1b651.woff) format("woff");font-weight:400;font-style:normal}@font-face{font-family:open_sansregular;src:url(/oac/opensans-regular-webfont-1d81af74bf67efb4fea4c376a4f4e8e1.woff2) format("woff2"),url(/oac/opensans-regular-webfont-cd133a7cfd2d0e0c8282eacf3a7c45b7.woff) format("woff");font-weight:400;font-style:normal}@font-face{font-family:open_sanslight;src:url(/oac/opensans-light-webfont-12b992bf2f102ea40a952914966a73b5.woff2) format("woff2"),url(/oac/opensans-light-webfont-5c5c82db96b29e89bc839c6f1ae9adbd.woff) format("woff");font-weight:400;font-style:normal}@font-face{font-family:open_sanssemibold;src:url(/oac/opensans-semibold-webfont-5cc567d29f0c810258ff8a012b4115e8.woff2) format("woff2"),url(/oac/opensans-semibold-webfont-6c95241693564ed97267b3deaf39fa23.woff) format("woff");font-weight:400;font-style:normal}*{box-sizing:inherit}html,html a{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-shadow:1px 1px 1px rgba(0,0,0,.004);font-size:10px;box-sizing:border-box}body,ul{margin:0}ul{padding:0;list-style-type:none}a,a:link,a:visited{text-decoration:none}p{margin:0}.u-hide{opacity:0!important;pointer-events:none}.o-assessment-container{background:#fff;box-shadow:0 0 .5rem rgba(0,0,0,.3);max-width:100rem;width:100%;margin:1rem auto}.c-header{height:5rem;padding:0 3rem;background:#fff;border-bottom:.2rem solid #efefef}.c-header__remaining,.c-header__title{color:#4f7db2;font-family:open_sansbold,sans-serif;font-size:2rem;float:left;line-height:4.6rem}.c-header__question-number{color:#9b9b9b;font-family:open_sansbold,sans-serif;font-size:1.6rem;float:right;line-height:4.6rem}.c-question-prompt{padding:2rem 3rem;font-family:open_sanssemibold,sans-serif;font-size:1.8rem;color:#4a4a4a}.c-question-prompt>*{margin-bottom:1rem}.c-question-prompt img{display:inline-block;max-width:30rem}.c-question-prompt audio{width:100%}.c-question-prompt .c-playback{display:inline-block;width:2.4rem;min-height:.1rem;padding-right:.5rem;position:relative;margin:0}.c-question-prompt .c-playback svg{position:absolute;top:-1.8rem;width:2.4rem;height:2.4rem}.c-question-prompt .c-playback svg path{fill:#9b9b9b}.c-video{width:15rem;height:9rem;background:#636463;border-radius:.3rem;display:inline-block;position:relative;-webkit-transition:all .2s ease;transition:all .2s ease}.c-video:after{content:"";width:0;height:0;border-width:2rem 0 2rem 3.5rem;border-style:solid;border-color:transparent transparent transparent #fff;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.c-video:hover{background:#4a4a4a}.c-answers{padding:0 3rem}.o-grid{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}.c-answer-container{-webkit-box-flex:0;-ms-flex:0 0 49%;flex:0 0 49%;background:#fff;box-shadow:0 0 .3rem rgba(0,0,0,.3);border:.2rem solid #fff;border-radius:.3rem;min-height:3.5rem;position:relative;padding:.8rem .8rem 0;margin-bottom:1.5rem;cursor:pointer;-webkit-transition:all .1s ease;transition:all .1s ease}.c-answer-container:hover{border-color:#4f7db2}.c-answer-container.is-clicked{background:#4f7db2;border-color:#4f7db2}.c-answer-container.is-clicked .c-answer-container__content p{color:#fff}.c-answer-container.is-clicked .c-feedback{background:#fff}.c-answer-container__radio{width:2rem;position:absolute;left:.8rem;top:.8rem}.c-radio-button .c-radio-button__border{display:inline-block;cursor:pointer;position:relative;height:1.5rem;width:1.5rem;border-radius:50%;border:.2rem solid #9b9b9b;margin:.2rem}.c-radio-button input[type=radio]:checked+.c-radio-button__border:before{content:"";width:.7rem;height:.7rem;background:#fff;border-radius:50%;position:absolute;top:.2rem;left:.2rem}.c-radio-button input[type=radio]:checked+.c-radio-button__border{border-color:#fff}.c-radio-button input{display:none;margin:0;height:.01rem;width:.01rem}.c-checkbox .c-checkbox__border{display:inline-block;cursor:pointer;position:relative;height:1.5rem;width:1.5rem;border-radius:.3rem;border:.2rem solid #9b9b9b;margin:.2rem}.c-checkbox input[type=checkbox]:checked+.c-checkbox__border:before{content:"";width:.3rem;height:.8rem;border:solid #4f7db2;border-width:0 .2rem .2rem 0;position:absolute;-webkit-transform:rotate(45deg);transform:rotate(45deg);top:0;left:.3rem}.c-checkbox input[type=checkbox]:checked+.c-checkbox__border{border-color:#fff;background:#fff}.c-checkbox input{display:none;margin:0;height:.01rem;width:.01rem}.c-answer-container__content{width:100%;padding-left:3rem;font-family:open_sansregular,sans-serif;font-size:1.4rem;color:#4a4a4a}.c-answer-container__content>*{margin-bottom:1rem}.c-answer-container__content img{display:inline-block;max-width:20rem}.c-answer-container__content audio{width:100%}.c-record{padding:2rem 3rem 1rem;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.c-audio-holder{padding:.5rem 1.14rem .65rem 0;-webkit-box-flex:1;-ms-flex:1;flex:1;margin-left:1rem}.c-audio-holder audio{width:100%}.c-audio-timer{padding:.08rem 1.14rem .1rem 0;color:#5a5a5a;font-family:open_sanslight,sans-serif;font-size:2.2rem}.c-audio-timer small{font-family:open_sansregular,sans-serif;font-size:1.3rem}.c-btn--record{border-color:#d0021b;width:10.5rem;-webkit-transition:all .1s ease;transition:all .1s ease}.c-btn--record:hover{background:#d0021b}.c-btn--record:hover span{color:#fff}.c-btn--record:hover span:before{background:#fff}.c-btn--record span{padding-left:1.7rem;color:#d0021b;position:relative;-webkit-transition:all .1s ease;transition:all .1s ease}.c-btn--record span:before{content:"";position:absolute;left:-.5rem;top:.9rem;width:1.2rem;height:1.2rem;border-radius:50%;background:#d0021b}.c-btn--record.c-btn--stop{background:#d0021b}.c-btn--record.c-btn--stop span{color:#fff}.c-btn--record.c-btn--stop span:before{background:#fff;animation:blink 2s linear infinite;-webkit-animation:blink 2s linear infinite}.c-btn--record.c-btn--stop:active{background:#840111;border-color:#840111}@-webkit-keyframes blink{0%{opacity:1}50%{opacity:0}to{opacity:1}}@keyframes blink{0%{opacity:1}50%{opacity:0}to{opacity:1}}.c-text-answer{padding:2rem 3rem 1rem}.c-text-answer textarea{border:.1rem solid #ddd;border-radius:.3rem;width:100%;resize:none;padding:.5rem 1rem;color:#4a4a4a}.c-file-upload,.c-text-answer textarea{font-family:open_sansregular,sans-serif;font-size:1.4rem}.c-file-upload{margin:1rem 0;padding:0 1.5rem;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative;border-radius:.3rem;border:.2rem solid #4f7db2;line-height:1.5rem;left:50%;-webkit-transform:translateX(-50%);transform:translate(-50%);background:#4f7db2;color:#fff;cursor:pointer;-webkit-transition:all .1s ease;transition:all .1s ease;width:60vw}.c-file-upload:hover{background:#fff;color:#4f7db2}.c-file-upload span{padding-top:.15rem;font-family:open_sansbold,sans-serif;text-transform:uppercase;-webkit-transition:all .1s ease;transition:all .1s ease}.c-file-upload input[type=file]{width:.1px;height:.1px;opacity:0;overflow:hidden;position:absolute;z-index:-1}.c-file-upload input[type=text]{min-height:3.5rem;overflow:hidden;position:relative;left:1.5rem;padding:.25rem 1rem;border:none;border-left:.25rem solid #4f7db2;color:#4f7db2;text-overflow:ellipsis;width:50%;-webkit-transition:all .1s ease;transition:all .1s ease}.c-assessment-navigation{display:table;padding:2rem 3rem 3rem}.c-assessment-navigation .c-button-slot{display:table-cell;padding-left:1.5em}.c-assessment-navigation .c-button-slot:first-child{padding-left:0;width:100%}.c-btn{padding:0 1.5rem;height:3.5rem;border-radius:.3rem;border-width:.2rem;border-style:solid;text-transform:uppercase;font-family:open_sansbold,sans-serif;font-size:1.4rem;position:relative;white-space:nowrap}.c-btn[disabled]{visibility:hidden}.c-btn[disabled],.c-btn[disabled] *{-webkit-transition:all 0s;transition:all 0s}.c-btn span{display:inline-block;height:100%;line-height:3rem;-webkit-transition:all .1s ease;transition:all .1s ease}.c-btn svg{width:2.4rem;height:2.4rem;position:absolute;top:.3rem}.c-btn--previous,.c-btn svg path,a.c-btn--previous{-webkit-transition:all .2s ease;transition:all .2s ease}.c-btn--previous,a.c-btn--previous{background:#fff;color:#4c4086;border-color:#4c4086}.c-btn--previous:hover,a.c-btn--previous:hover{border-color:#4c4086;background:#4c4086;color:#fff}.c-btn--previous:hover svg path,a.c-btn--previous:hover svg path{fill:#fff}.c-btn--previous svg path,a.c-btn--previous svg path{fill:#4c4086}.c-btn--next:hover svg path,a.c-btn--next:hover svg path{fill:#922a7d}.c-btn--next svg path,a.c-btn--next svg path{fill:#fff}[dir=ltr] .c-btn--previous{padding-left:3rem}[dir=ltr] .c-btn--previous svg{left:.3rem;-webkit-transform:rotate(90deg);transform:rotate(90deg)}[dir=ltr] .c-btn--next{padding-right:3rem}[dir=ltr] .c-btn--next svg{right:.3rem;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}[dir=rtl] .c-btn--previous{padding-right:3rem}[dir=rtl] .c-btn--previous svg{right:.3rem;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}[dir=rtl] .c-btn--next{padding-left:3rem}[dir=rtl] .c-btn--next svg{left:.3rem;-webkit-transform:rotate(90deg);transform:rotate(90deg)}.c-btn--check-answer,.c-btn--finish,.c-btn--next,a.c-btn--check-answer,a.c-btn--finish,a.c-btn--next{background:#922a7d;color:#fff;border-color:#922a7d;-webkit-transition:all .2s ease;transition:all .2s ease}.c-btn--check-answer:hover,.c-btn--finish:hover,.c-btn--next:hover,a.c-btn--check-answer:hover,a.c-btn--finish:hover,a.c-btn--next:hover{border-color:#922a7d;background:#fff;color:#922a7d}.c-btn--loading,a.c-btn--loading{background:#fff;border-color:#922a7d;pointer-events:none}.c-btn--loading span,a.c-btn--loading span{opacity:0}.c-btn--loading svg,a.c-btn--loading svg{width:2.4rem;height:2.4rem;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);animation:spin .5s linear infinite;-webkit-animation:spin .5s linear infinite}.c-btn--loading svg path,a.c-btn--loading svg path{fill:#922a7d}@-webkit-keyframes spin{0%{-webkit-transform:translate(-50%,-50%) rotate(0);transform:translate(-50%,-50%) rotate(0)}to{-webkit-transform:translate(-50%,-50%) rotate(1turn);transform:translate(-50%,-50%) rotate(1turn)}}.c-answer-feedback{background:#fff;padding:1rem 1.5rem;margin:1rem -.8rem 0;border-radius:0 0 .3rem .3rem}.c-answer-feedback p{font-family:open_sansregular,sans-serif;font-size:1.2rem;color:#4a4a4a}.c-question-feedback{background:#efefef;padding:1.5rem 3rem 1.5rem 7rem;position:relative}.c-question-feedback p{font-family:open_sansregular,sans-serif;font-size:1.4rem;color:#4a4a4a}.c-question-feedback svg{position:absolute;left:3rem;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:2.4rem;height:2.4rem}.c-feedback{position:absolute;top:-.2rem;right:.8rem;height:3.5rem;width:13rem;border-radius:0 0 .3rem .3rem;padding:.7rem .5rem .5rem 3.5rem;background:#efefef;font-family:open_sanssemibold,sans-serif;font-size:1.4rem;color:#4a4a4a;text-transform:uppercase}.c-feedback svg{position:absolute;left:.5rem;top:.5rem;width:2.4rem;height:2.4rem}.c-feedback--incorrect svg path{fill:#d0021b}.c-feedback--correct svg path{fill:#7ed321}.c-confidence-map{padding:2rem 3rem 1rem}.c-confidence-prompt{font-family:open_sanssemibold,sans-serif;font-size:1.4rem;margin:0;padding-bottom:1rem;color:#4a4a4a;text-align:center}.c-confidence-item{display:inline-block;width:33.333%;border:.2rem solid #efefef;padding:1rem;position:relative;cursor:pointer}.c-confidence-item.is-clicked{border-color:#4f7db2}.c-confidence-item p{text-align:center;font-family:open_sansregular,sans-serif;color:#4a4a4a;font-size:1.4rem;margin-top:2rem}.c-confidence-item input[type=radio]:checked+label:before{content:"";width:.7rem;height:.7rem;background:#4f7db2;border-radius:50%;position:absolute;top:.2rem;left:.2rem}.c-confidence-item input[type=radio]:checked+label{border-color:#4f7db2}.c-confidence-item .c-radio-button{position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translate(-50%)}.c-confidence-item:hover{border-color:#4f7db2}.c-confidence-item--left,.c-confidence-item--middle{border-right:.2rem solid transparent}.c-confidence-item--middle,.c-confidence-item--right{border-left:.2rem solid transparent}.c-assessment-loading{pointer-events:none;position:relative;text-align:center;text-transform:uppercase;height:40rem;font-size:1.4rem;font-family:open_sansregular,sans-serif;color:#4a4a4a}.c-assessment-loading p{padding:2rem;animation:fadein 2s;-webkit-animation:fadein 2s}.c-assessment-loading span{opacity:0}.c-assessment-loading svg{width:5rem;height:5rem;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);animation:spin .5s linear infinite,fadein 2s;-webkit-animation:spin .5s linear infinite,fadein 2s}.c-assessment-loading svg path{fill:#922a7d}@keyframes spin{0%{-webkit-transform:translate(-50%,-50%) rotate(0);transform:translate(-50%,-50%) rotate(0)}to{-webkit-transform:translate(-50%,-50%) rotate(1turn);transform:translate(-50%,-50%) rotate(1turn)}}@-webkit-keyframes fadein{0%{opacity:0}to{opacity:1}}@keyframes fadein{0%{opacity:0}to{opacity:1}}.c-player-error{font-family:open_sanssemibold,sans-serif;font-size:2rem;padding:2rem;color:#fff;background:#d0021b;margin:.5rem 0;border-radius:.3rem}.c-word-box__contain{background:#efefef;padding:1rem;border-radius:.3rem;overflow:hidden}.c-word-box__contain .c-word{margin:1rem 2rem}.c-word-box__contain .c-object{margin:.5rem 1rem}.c-object{padding:.5rem;background:#fff;cursor:move;float:left;position:relative;height:11rem}.c-object>*{margin:0;padding:0;line-height:3.3rem}.c-object>*,.c-object>* img{display:inline-block}.c-word{height:3.5rem;padding:0 1.5rem 0 .8rem;background:#fff;font-family:open_sanssemibold,sans-serif;font-size:1.4rem;float:left;position:relative;margin:0 .1rem 0 0;cursor:move;white-space:nowrap}.c-word>*{margin:0;padding:0;display:inline-block;line-height:3.3rem}.c-word:before{height:1.3rem;background:#fff;top:1.1rem;left:-.7rem;z-index:2}.c-word:after,.c-word:before{content:"";position:absolute;width:.7rem}.c-word:after{height:1.5rem;background:#efefef;top:1rem;right:0;z-index:1}.c-word-answers{padding:.5rem;height:4.5rem;margin:1rem 0;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex}.c-word-answers,.c-word-answers .c-word:after{background:#4f7db2}.c-word-answers .c-over-drop-zone{border:2px solid #fff}.c-object-answers{background:#4f7db2;padding:.5rem;height:12rem;margin:1rem 0;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex}.c-object-answers .c-object{margin-right:.1rem}.c-object-answers .c-over-drop-zone{border:2px solid #fff}.c-word-answers--split-top:after{content:"";width:1.5rem;height:1.5rem;position:absolute;right:-.7rem;top:1.5rem;background:#4f7db2;z-index:1;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.c-word-answers--split-top svg{z-index:2;position:absolute;right:-1.4rem;top:.8rem;width:2.9rem;height:2.9rem;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.c-word-answers--split-top svg path{fill:#fff}.c-word-answers--split-bottom{padding-left:2.3rem}.c-word-answers--split-bottom:before{content:"";width:1.5rem;height:1.5rem;position:absolute;left:-.7rem;top:1.5rem;background:#fff;z-index:1;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.c-word-answers--split-bottom svg{z-index:2;position:absolute;left:-1.4rem;top:.8rem;width:2.9rem;height:2.9rem;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.c-word-answers--split-bottom svg path{fill:#4f7db2}.c-word--starter{padding:0 .8rem 0 .9rem;pointer-events:none}.c-word--starter:before{width:0}.noun{color:#228756}.verb{color:#bc5b15}.prep{color:#922a7d}.other{color:#573d8f}.adverb{color:#4c7aae}.adjective{color:#e5007e}.c-blank-answers{margin:1rem 0;position:relative;overflow:hidden}.c-blank-answers .c-word.c-word--fill{padding:0 .2rem;margin:.6rem 0;pointer-events:none;font-family:open_sansregular,sans-serif}.c-blank-answers .c-word.c-word--fill>*{color:#4a4a4a}.c-blank-answers .c-word.c-word--fill:after,.c-blank-answers .c-word.c-word--fill:before{width:0}.c-word--blank{padding:0 .8rem}.c-word--blank:after,.c-word--blank:before{width:0}.c-blank-drop-zone{background:#4f7db2;padding:.5rem;height:4.5rem;margin:0 .4rem;position:relative;float:left}.c-drop-zone{-webkit-box-flex:1;-ms-flex:1;flex:1}.c-blank{width:7rem;margin:0 .8rem;height:.2rem;background:#fff;position:relative;top:2.3rem}.assessment-complete{font-family:open_sansregular,sans-serif;font-size:1.8rem;color:#4a4a4a;text-align:center;padding:100px}.c-drag-target__background img{max-width:100%}.c-drag-zone{position:absolute;border-radius:.3rem}.c-drag-zone.show-border{border:.2rem solid #000;box-shadow:0 0 .2rem .2rem #fff}.c-drag-zone--snap .c-drag-zone__name{top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);border:.2rem solid #000;white-space:nowrap;border-radius:.3rem}.c-drag-zone__name{font-family:open_sanssemibold,sans-serif;font-size:1.2rem;color:#000;padding:0 .5rem;background:#fff;position:absolute;left:0;top:0}.c-droppable-container{width:100%;max-height:30rem;overflow:auto;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;border:.2rem solid #4f7db2;margin-top:2rem;padding:1rem}.c-droppable-container .c-droppable-item{margin:.5rem;box-shadow:0 0 .3rem rgba(0,0,0,.3)}.c-droppable-item{display:inline-block;cursor:-webkit-grab;cursor:grab}.c-droppable-item img{max-height:25rem;display:block}.c-droppable-item:active{cursor:-webkit-grabbing;cursor:grabbing}.c-droppable-item.is-hidden{opacity:0;pointer-events:none}
\ No newline at end of file
diff -ruN oac/index.html oac-new/index.html
--- oac/index.html	2017-05-06 16:57:16.000000000 +0530
+++ oac-new/index.html	2017-05-24 14:49:59.000000000 +0530
@@ -1,4 +1,4 @@
-<!doctype html><html class="no-js" lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><title>Open Assessments</title><meta name="description" content="Open Assessments"><meta name="viewport" content="width=device-width,initial-scale=1"><script type="text/javascript">function getCookie(e){for(var s=e+"=",n=document.cookie.split(";"),t=0;t<n.length;t++){for(var a=n[t];" "==a.charAt(0);)a=a.substring(1);if(0==a.indexOf(s))return a.substring(s.length,a.length)}return""}window.DEFAULT_SETTINGS={user_id:0,max_attempts:1,eid:getCookie("user_id"),api_url:"https://103.36.84.159:8080/api/v1",bank:"assessment.Bank%3A577fcf7cc89cd90cbd5616fa%40ODL.MIT.EDU",assessment_offered_id:"assessment.AssessmentOffered%3A58824256c89cd9741bab8942%40ODL.MIT.EDU",lambda_url:"https://103.36.84.159:8080/api/v1/assessment/hierarchies/nodes/assessment.Bank%3A57e26c90b3fcec4c84a63f25%40ODL.MIT.EDU/children?descendants=6&display_names",assessment_kind:"SUMMATIVE",qBankHost:"https://103.36.84.159:8080/api/v1",assessmentPlayerUrl:"https://103.36.84.159/oac/",editableBankId:"assessment.Bank%3A588f924191d0d930f5a56c2a%40ODL.MIT.EDU",publishedBankId:"assessment.Bank%3A588f923591d0d930f5a56c29%40ODL.MIT.ED",baseEmbedUrl:"https://103.36.84.159/oac/?unlock_next=ON_CORRECT&api_url=https://103.36.84.159:8080/api/v1",one_item_per_page:"assessment-offered-genus-type%3Asingle-item%40ODL.MIT.EDU",single_page:"assessment-offered-genus-type%3Asingle-page%40ODL.MIT.EDU",questions_per_section:1,questions_per_page:1,unlock_next:"ON_CORRECT",locale:"en",audio_recorder_timeout:100},window.DEFAULT_JWT=null</script><script type="text/x-mathjax-config">MathJax.Hub.Config({
+<!doctype html><html class="no-js" lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><title>Open Assessments</title><meta name="description" content="Open Assessments"><meta name="viewport" content="width=device-width,initial-scale=1"><script type="text/javascript">function getCookie(e){for(var s=e+"=",n=document.cookie.split(";"),t=0;t<n.length;t++){for(var a=n[t];" "==a.charAt(0);)a=a.substring(1);if(0==a.indexOf(s))return a.substring(s.length,a.length)}return""}window.DEFAULT_SETTINGS={user_id:0,max_attempts:1,eid:getCookie("user_id"),api_url:"https://clixserver:8080/api/v1",bank:"assessment.Bank%3A577fcf7cc89cd90cbd5616fa%40ODL.MIT.EDU",assessment_offered_id:"assessment.AssessmentOffered%3A58824256c89cd9741bab8942%40ODL.MIT.EDU",lambda_url:"https://clixserver:8080/api/v1/assessment/hierarchies/nodes/assessment.Bank%3A57e26c90b3fcec4c84a63f25%40ODL.MIT.EDU/children?descendants=6&display_names",assessment_kind:"SUMMATIVE",qBankHost:"https://clixserver:8080/api/v1",assessmentPlayerUrl:"https://clixserver/oac/",editableBankId:"assessment.Bank%3A588f924191d0d930f5a56c2a%40ODL.MIT.EDU",publishedBankId:"assessment.Bank%3A588f923591d0d930f5a56c29%40ODL.MIT.ED",baseEmbedUrl:"https://clixserver/oac/?unlock_next=ON_CORRECT&api_url=https://clixserver:8080/api/v1",one_item_per_page:"assessment-offered-genus-type%3Asingle-item%40ODL.MIT.EDU",single_page:"assessment-offered-genus-type%3Asingle-page%40ODL.MIT.EDU",questions_per_section:1,questions_per_page:1,unlock_next:"ON_CORRECT",unlock_prev:"ALWAYS",locale:"en",audio_recorder_timeout:100},window.DEFAULT_JWT=null</script><script type="text/x-mathjax-config">MathJax.Hub.Config({
     extensions: ["tex2jax.js"],
     jax: ["input/TeX", "output/HTML-CSS"],
     tex2jax: {
@@ -7,4 +7,4 @@
       processEscapes: true
     },
     "HTML-CSS": { availableFonts: ["TeX"] }
-  });</script><script src="MathJax/MathJax.js?config=TeX-MML-AM_HTMLorMML.js"></script><link rel="stylesheet" href="/oac/player_styles-23e9c9ebe33b83e235e3.css"></head><body><p></p><div id="main-app"></div><p></p><script src="/oac/player-6c743caedbb82133336b_bundle.js"></script><script>!function(e,t,a,n,c,o){e.GoogleAnalyticsObject=n,e[n]||(e[n]=function(){(e[n].q=e[n].q||[]).push(arguments)}),e[n].l=+new Date,c=t.createElement(a),o=t.getElementsByTagName(a)[0],c.src="//www.google-analytics.com/analytics.js",o.parentNode.insertBefore(c,o)}(window,document,"script","ga"),ga("create","UA-XXXXX-X"),ga("send","pageview")</script></body></html>
\ No newline at end of file
+  });</script><script src="MathJax/MathJax.js?config=TeX-MML-AM_HTMLorMML.js"></script><link rel="stylesheet" href="/oac/player_styles-4193a41496e51c7e5815.css"></head><body><p></p><div id="main-app"></div><p></p><script src="/oac/player-afb138bce647e5c30f49_bundle.js"></script><script>!function(e,t,a,n,c,o){e.GoogleAnalyticsObject=n,e[n]||(e[n]=function(){(e[n].q=e[n].q||[]).push(arguments)}),e[n].l=+new Date,c=t.createElement(a),o=t.getElementsByTagName(a)[0],c.src="//www.google-analytics.com/analytics.js",o.parentNode.insertBefore(c,o)}(window,document,"script","ga"),ga("create","UA-XXXXX-X"),ga("send","pageview")</script></body></html>
\ No newline at end of file
diff -ruN oac/player-6c743caedbb82133336b_bundle.js oac-new/player-6c743caedbb82133336b_bundle.js
--- oac/player-6c743caedbb82133336b_bundle.js	2017-05-06 16:57:15.000000000 +0530
+++ oac-new/player-6c743caedbb82133336b_bundle.js	1970-01-01 05:30:00.000000000 +0530
@@ -1,82 +0,0 @@
-!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/oac/",t(0)}(function(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))switch(typeof e[t]){case"function":break;case"object":e[t]=function(t){var n=t.slice(1),r=e[t[0]];return function(e,t,o){r.apply(this,[e,t,o].concat(n))}}(e[t]);break;default:e[t]=e[e[t]]}return e}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),c=r(u),l=n(8),f=r(l),p=n(6),d=r(p);n(537);var h=n(834),v=r(h),y=n(1),g=r(y),m=n(103),_=r(m),b=n(43),w=n(1103),E=r(w),T=n(1325),C=r(T),S=n(329),x=r(S),O=n(1362),k=r(O),P=n(533),M=r(P),A=n(1397),I=r(A),j=n(1234);v.default.polyfill(),(0,E.default)();var D=(g.default.createElement(x.default,null),function(e){function t(){return(0,s.default)(this,t),(0,f.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,d.default)(t,e),(0,c.default)(t,[{key:"render",value:function(){var e=null,t=this.props.store;return g.default.createElement(b.Provider,{store:t},g.default.createElement("div",null,C.default,e))}}]),t}(g.default.Component)),R=(0,j.getInitialSettings)(window.DEFAULT_SETTINGS,I.default.params()),N=(0,k.default)({settings:R,jwt:window.DEFAULT_JWT});window.DEFAULT_JWT&&(0,M.default)(N.dispatch,R.user_id),_.default.render(g.default.createElement(D,{store:N}),document.getElementById("main-app"))},function(e,t,n){"use strict";e.exports=n(124)},function(e,t,n){var r=n(13),o=n(67),i=n(39),a=n(40),s=n(68),u="prototype",c=function(e,t,n){var l,f,p,d,h=e&c.F,v=e&c.G,y=e&c.S,g=e&c.P,m=e&c.B,_=v?r:y?r[t]||(r[t]={}):(r[t]||{})[u],b=v?o:o[t]||(o[t]={}),w=b[u]||(b[u]={});v&&(n=t);for(l in n)f=!h&&_&&void 0!==_[l],p=(f?_:n)[l],d=m&&f?s(p,r):g&&"function"==typeof p?s(Function.call,p):p,_&&a(_,l,p,e&c.U),b[l]!=p&&i(b,l,d),g&&w[l]!=p&&(w[l]=p)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){var r;(function(e,o){(function(){function i(e,t){return e.set(t[0],t[1]),e}function a(e,t){return e.add(t),e}function s(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function u(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}function c(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}function l(e,t){for(var n=null==e?0:e.length;n--&&t(e[n],n,e)!==!1;);return e}function f(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function p(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function d(e,t){var n=null==e?0:e.length;return!!n&&C(e,t,0)>-1}function h(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function v(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function y(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function g(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function m(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function _(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function b(e){return e.split("")}function w(e){return e.match(Wt)||[]}function E(e,t,n){var r;return n(e,function(e,n,o){if(t(e,n,o))return r=n,!1}),r}function T(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function C(e,t,n){return t===t?Q(e,t,n):T(e,x,n)}function S(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function x(e){return e!==e}function O(e,t){var n=null==e?0:e.length;return n?I(e,t)/n:Le}function k(e){return function(t){return null==t?oe:t[e]}}function P(e){return function(t){return null==e?oe:e[t]}}function M(e,t,n,r,o){return o(e,function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)}),n}function A(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}function I(e,t){for(var n,r=-1,o=e.length;++r<o;){var i=t(e[r]);i!==oe&&(n=n===oe?i:n+i)}return n}function j(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function D(e,t){return v(t,function(t){return[t,e[t]]})}function R(e){return function(t){return e(t)}}function N(e,t){return v(t,function(t){return e[t]})}function L(e,t){return e.has(t)}function F(e,t){for(var n=-1,r=e.length;++n<r&&C(t,e[n],0)>-1;);return n}function U(e,t){for(var n=e.length;n--&&C(t,e[n],0)>-1;);return n}function B(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}function q(e){return"\\"+nr[e]}function z(e,t){return null==e?oe:e[t]}function W(e){return Kn.test(e)}function H(e){return $n.test(e)}function V(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function G(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function K(e,t){return function(n){return e(t(n))}}function $(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n];a!==t&&a!==fe||(e[n]=fe,i[o++]=n)}return i}function X(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function Y(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=[e,e]}),n}function Q(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}function J(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}function Z(e){return W(e)?te(e):_r(e)}function ee(e){return W(e)?ne(e):b(e)}function te(e){for(var t=Vn.lastIndex=0;Vn.test(e);)++t;return t}function ne(e){return e.match(Vn)||[]}function re(e){return e.match(Gn)||[]}var oe,ie="4.17.4",ae=200,se="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",ue="Expected a function",ce="__lodash_hash_undefined__",le=500,fe="__lodash_placeholder__",pe=1,de=2,he=4,ve=1,ye=2,ge=1,me=2,_e=4,be=8,we=16,Ee=32,Te=64,Ce=128,Se=256,xe=512,Oe=30,ke="...",Pe=800,Me=16,Ae=1,Ie=2,je=3,De=1/0,Re=9007199254740991,Ne=1.7976931348623157e308,Le=NaN,Fe=4294967295,Ue=Fe-1,Be=Fe>>>1,qe=[["ary",Ce],["bind",ge],["bindKey",me],["curry",be],["curryRight",we],["flip",xe],["partial",Ee],["partialRight",Te],["rearg",Se]],ze="[object Arguments]",We="[object Array]",He="[object AsyncFunction]",Ve="[object Boolean]",Ge="[object Date]",Ke="[object DOMException]",$e="[object Error]",Xe="[object Function]",Ye="[object GeneratorFunction]",Qe="[object Map]",Je="[object Number]",Ze="[object Null]",et="[object Object]",tt="[object Promise]",nt="[object Proxy]",rt="[object RegExp]",ot="[object Set]",it="[object String]",at="[object Symbol]",st="[object Undefined]",ut="[object WeakMap]",ct="[object WeakSet]",lt="[object ArrayBuffer]",ft="[object DataView]",pt="[object Float32Array]",dt="[object Float64Array]",ht="[object Int8Array]",vt="[object Int16Array]",yt="[object Int32Array]",gt="[object Uint8Array]",mt="[object Uint8ClampedArray]",_t="[object Uint16Array]",bt="[object Uint32Array]",wt=/\b__p \+= '';/g,Et=/\b(__p \+=) '' \+/g,Tt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ct=/&(?:amp|lt|gt|quot|#39);/g,St=/[&<>"']/g,xt=RegExp(Ct.source),Ot=RegExp(St.source),kt=/<%-([\s\S]+?)%>/g,Pt=/<%([\s\S]+?)%>/g,Mt=/<%=([\s\S]+?)%>/g,At=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,It=/^\w*$/,jt=/^\./,Dt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Rt=/[\\^$.*+?()[\]{}|]/g,Nt=RegExp(Rt.source),Lt=/^\s+|\s+$/g,Ft=/^\s+/,Ut=/\s+$/,Bt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,qt=/\{\n\/\* \[wrapped with (.+)\] \*/,zt=/,? & /,Wt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ht=/\\(\\)?/g,Vt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Gt=/\w*$/,Kt=/^[-+]0x[0-9a-f]+$/i,$t=/^0b[01]+$/i,Xt=/^\[object .+?Constructor\]$/,Yt=/^0o[0-7]+$/i,Qt=/^(?:0|[1-9]\d*)$/,Jt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Zt=/($^)/,en=/['\n\r\u2028\u2029\\]/g,tn="\\ud800-\\udfff",nn="\\u0300-\\u036f",rn="\\ufe20-\\ufe2f",on="\\u20d0-\\u20ff",an=nn+rn+on,sn="\\u2700-\\u27bf",un="a-z\\xdf-\\xf6\\xf8-\\xff",cn="\\xac\\xb1\\xd7\\xf7",ln="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",fn="\\u2000-\\u206f",pn=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",dn="A-Z\\xc0-\\xd6\\xd8-\\xde",hn="\\ufe0e\\ufe0f",vn=cn+ln+fn+pn,yn="['’]",gn="["+tn+"]",mn="["+vn+"]",_n="["+an+"]",bn="\\d+",wn="["+sn+"]",En="["+un+"]",Tn="[^"+tn+vn+bn+sn+un+dn+"]",Cn="\\ud83c[\\udffb-\\udfff]",Sn="(?:"+_n+"|"+Cn+")",xn="[^"+tn+"]",On="(?:\\ud83c[\\udde6-\\uddff]){2}",kn="[\\ud800-\\udbff][\\udc00-\\udfff]",Pn="["+dn+"]",Mn="\\u200d",An="(?:"+En+"|"+Tn+")",In="(?:"+Pn+"|"+Tn+")",jn="(?:"+yn+"(?:d|ll|m|re|s|t|ve))?",Dn="(?:"+yn+"(?:D|LL|M|RE|S|T|VE))?",Rn=Sn+"?",Nn="["+hn+"]?",Ln="(?:"+Mn+"(?:"+[xn,On,kn].join("|")+")"+Nn+Rn+")*",Fn="\\d*(?:(?:1st|2nd|3rd|(?![123])\\dth)\\b)",Un="\\d*(?:(?:1ST|2ND|3RD|(?![123])\\dTH)\\b)",Bn=Nn+Rn+Ln,qn="(?:"+[wn,On,kn].join("|")+")"+Bn,zn="(?:"+[xn+_n+"?",_n,On,kn,gn].join("|")+")",Wn=RegExp(yn,"g"),Hn=RegExp(_n,"g"),Vn=RegExp(Cn+"(?="+Cn+")|"+zn+Bn,"g"),Gn=RegExp([Pn+"?"+En+"+"+jn+"(?="+[mn,Pn,"$"].join("|")+")",In+"+"+Dn+"(?="+[mn,Pn+An,"$"].join("|")+")",Pn+"?"+An+"+"+jn,Pn+"+"+Dn,Un,Fn,bn,qn].join("|"),"g"),Kn=RegExp("["+Mn+tn+an+hn+"]"),$n=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Xn=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Yn=-1,Qn={};Qn[pt]=Qn[dt]=Qn[ht]=Qn[vt]=Qn[yt]=Qn[gt]=Qn[mt]=Qn[_t]=Qn[bt]=!0,Qn[ze]=Qn[We]=Qn[lt]=Qn[Ve]=Qn[ft]=Qn[Ge]=Qn[$e]=Qn[Xe]=Qn[Qe]=Qn[Je]=Qn[et]=Qn[rt]=Qn[ot]=Qn[it]=Qn[ut]=!1;var Jn={};Jn[ze]=Jn[We]=Jn[lt]=Jn[ft]=Jn[Ve]=Jn[Ge]=Jn[pt]=Jn[dt]=Jn[ht]=Jn[vt]=Jn[yt]=Jn[Qe]=Jn[Je]=Jn[et]=Jn[rt]=Jn[ot]=Jn[it]=Jn[at]=Jn[gt]=Jn[mt]=Jn[_t]=Jn[bt]=!0,Jn[$e]=Jn[Xe]=Jn[ut]=!1;var Zn={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","Ĳ":"IJ","ĳ":"ij","Œ":"Oe","œ":"oe","ŉ":"'n","ſ":"s"},er={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},tr={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},nr={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},rr=parseFloat,or=parseInt,ir="object"==typeof e&&e&&e.Object===Object&&e,ar="object"==typeof self&&self&&self.Object===Object&&self,sr=ir||ar||Function("return this")(),ur="object"==typeof t&&t&&!t.nodeType&&t,cr=ur&&"object"==typeof o&&o&&!o.nodeType&&o,lr=cr&&cr.exports===ur,fr=lr&&ir.process,pr=function(){try{return fr&&fr.binding&&fr.binding("util")}catch(e){}}(),dr=pr&&pr.isArrayBuffer,hr=pr&&pr.isDate,vr=pr&&pr.isMap,yr=pr&&pr.isRegExp,gr=pr&&pr.isSet,mr=pr&&pr.isTypedArray,_r=k("length"),br=P(Zn),wr=P(er),Er=P(tr),Tr=function e(t){function n(e){if(cu(e)&&!wp(e)&&!(e instanceof b)){if(e instanceof o)return e;if(bl.call(e,"__wrapped__"))return aa(e)}return new o(e)}function r(){}function o(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=oe}function b(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Fe,this.__views__=[]}function P(){var e=new b(this.__wrapped__);return e.__actions__=qo(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=qo(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=qo(this.__views__),e}function Q(){if(this.__filtered__){var e=new b(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function te(){var e=this.__wrapped__.value(),t=this.__dir__,n=wp(e),r=t<0,o=n?e.length:0,i=Mi(0,o,this.__views__),a=i.start,s=i.end,u=s-a,c=r?s:a-1,l=this.__iteratees__,f=l.length,p=0,d=Yl(u,this.__takeCount__);if(!n||!r&&o==u&&d==u)return Eo(e,this.__actions__);var h=[];e:for(;u--&&p<d;){c+=t;for(var v=-1,y=e[c];++v<f;){var g=l[v],m=g.iteratee,_=g.type,b=m(y);if(_==Ie)y=b;else if(!b){if(_==Ae)continue e;break e}}h[p++]=y}return h}function ne(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Wt(){this.__data__=sf?sf(null):{},this.size=0}function tn(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function nn(e){var t=this.__data__;if(sf){var n=t[e];return n===ce?oe:n}return bl.call(t,e)?t[e]:oe}function rn(e){var t=this.__data__;return sf?t[e]!==oe:bl.call(t,e)}function on(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=sf&&t===oe?ce:t,this}function an(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function sn(){this.__data__=[],this.size=0}function un(e){var t=this.__data__,n=jn(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Dl.call(t,n,1),--this.size,!0}function cn(e){var t=this.__data__,n=jn(t,e);return n<0?oe:t[n][1]}function ln(e){return jn(this.__data__,e)>-1}function fn(e,t){var n=this.__data__,r=jn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function pn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function dn(){this.size=0,this.__data__={hash:new ne,map:new(nf||an),string:new ne}}function hn(e){var t=xi(this,e).delete(e);return this.size-=t?1:0,t}function vn(e){return xi(this,e).get(e)}function yn(e){return xi(this,e).has(e)}function gn(e,t){var n=xi(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function mn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new pn;++t<n;)this.add(e[t])}function _n(e){return this.__data__.set(e,ce),this}function bn(e){return this.__data__.has(e)}function wn(e){var t=this.__data__=new an(e);this.size=t.size}function En(){this.__data__=new an,this.size=0}function Tn(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function Cn(e){return this.__data__.get(e)}function Sn(e){return this.__data__.has(e)}function xn(e,t){var n=this.__data__;if(n instanceof an){var r=n.__data__;if(!nf||r.length<ae-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new pn(r)}return n.set(e,t),this.size=n.size,this}function On(e,t){var n=wp(e),r=!n&&bp(e),o=!n&&!r&&Tp(e),i=!n&&!r&&!o&&kp(e),a=n||r||o||i,s=a?j(e.length,dl):[],u=s.length;for(var c in e)!t&&!bl.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Fi(c,u))||s.push(c);return s}function kn(e){var t=e.length;return t?e[no(0,t-1)]:oe}function Pn(e,t){return na(qo(e),Un(t,0,e.length))}function Mn(e){return na(qo(e))}function An(e,t,n){(n===oe||Xs(e[t],n))&&(n!==oe||t in e)||Ln(e,t,n)}function In(e,t,n){var r=e[t];bl.call(e,t)&&Xs(r,n)&&(n!==oe||t in e)||Ln(e,t,n)}function jn(e,t){for(var n=e.length;n--;)if(Xs(e[n][0],t))return n;return-1}function Dn(e,t,n,r){return _f(e,function(e,o,i){t(r,e,n(e),i)}),r}function Rn(e,t){return e&&zo(t,Hu(t),e)}function Nn(e,t){return e&&zo(t,Vu(t),e)}function Ln(e,t,n){"__proto__"==t&&Fl?Fl(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Fn(e,t){for(var n=-1,r=t.length,o=al(r),i=null==e;++n<r;)o[n]=i?oe:qu(e,t[n]);return o}function Un(e,t,n){return e===e&&(n!==oe&&(e=e<=n?e:n),t!==oe&&(e=e>=t?e:t)),e}function Bn(e,t,n,r,o,i){var a,s=t&pe,u=t&de,l=t&he;if(n&&(a=o?n(e,r,o,i):n(e)),a!==oe)return a;if(!uu(e))return e;var f=wp(e);if(f){if(a=ji(e),!s)return qo(e,a)}else{var p=Af(e),d=p==Xe||p==Ye;if(Tp(e))return Po(e,s);if(p==et||p==ze||d&&!o){if(a=u||d?{}:Di(e),!s)return u?Ho(e,Nn(a,e)):Wo(e,Rn(a,e))}else{if(!Jn[p])return o?e:{};a=Ri(e,p,Bn,s)}}i||(i=new wn);var h=i.get(e);if(h)return h;i.set(e,a);var v=l?u?Ei:wi:u?Vu:Hu,y=f?oe:v(e);return c(y||e,function(r,o){y&&(o=r,r=e[o]),In(a,o,Bn(r,t,n,o,e,i))}),a}function qn(e){var t=Hu(e);return function(n){return zn(n,e,t)}}function zn(e,t,n){var r=n.length;if(null==e)return!r;for(e=fl(e);r--;){var o=n[r],i=t[o],a=e[o];if(a===oe&&!(o in e)||!i(a))return!1}return!0}function Vn(e,t,n){if("function"!=typeof e)throw new hl(ue);return Df(function(){e.apply(oe,n)},t)}function Gn(e,t,n,r){var o=-1,i=d,a=!0,s=e.length,u=[],c=t.length;if(!s)return u;n&&(t=v(t,R(n))),r?(i=h,a=!1):t.length>=ae&&(i=L,a=!1,t=new mn(t));e:for(;++o<s;){var l=e[o],f=null==n?l:n(l);if(l=r||0!==l?l:0,a&&f===f){for(var p=c;p--;)if(t[p]===f)continue e;u.push(l)}else i(t,f,r)||u.push(l)}return u}function Kn(e,t){var n=!0;return _f(e,function(e,r,o){return n=!!t(e,r,o)}),n}function $n(e,t,n){for(var r=-1,o=e.length;++r<o;){var i=e[r],a=t(i);if(null!=a&&(s===oe?a===a&&!bu(a):n(a,s)))var s=a,u=i}return u}function Zn(e,t,n,r){var o=e.length;for(n=xu(n),n<0&&(n=-n>o?0:o+n),r=r===oe||r>o?o:xu(r),r<0&&(r+=o),r=n>r?0:Ou(r);n<r;)e[n++]=t;return e}function er(e,t){var n=[];return _f(e,function(e,r,o){t(e,r,o)&&n.push(e)}),n}function tr(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=Li),o||(o=[]);++i<a;){var s=e[i];t>0&&n(s)?t>1?tr(s,t-1,n,r,o):y(o,s):r||(o[o.length]=s)}return o}function nr(e,t){return e&&wf(e,t,Hu)}function ir(e,t){return e&&Ef(e,t,Hu)}function ar(e,t){return p(t,function(t){return iu(e[t])})}function ur(e,t){t=Oo(t,e);for(var n=0,r=t.length;null!=e&&n<r;)e=e[ra(t[n++])];return n&&n==r?e:oe}function cr(e,t,n){var r=t(e);return wp(e)?r:y(r,n(e))}function fr(e){return null==e?e===oe?st:Ze:Ll&&Ll in fl(e)?Pi(e):Yi(e)}function pr(e,t){return e>t}function _r(e,t){return null!=e&&bl.call(e,t)}function Tr(e,t){return null!=e&&t in fl(e)}function Sr(e,t,n){return e>=Yl(t,n)&&e<Xl(t,n)}function xr(e,t,n){for(var r=n?h:d,o=e[0].length,i=e.length,a=i,s=al(i),u=1/0,c=[];a--;){var l=e[a];a&&t&&(l=v(l,R(t))),u=Yl(l.length,u),s[a]=!n&&(t||o>=120&&l.length>=120)?new mn(a&&l):oe}l=e[0];var f=-1,p=s[0];e:for(;++f<o&&c.length<u;){var y=l[f],g=t?t(y):y;if(y=n||0!==y?y:0,!(p?L(p,g):r(c,g,n))){for(a=i;--a;){var m=s[a];if(!(m?L(m,g):r(e[a],g,n)))continue e}p&&p.push(g),c.push(y)}}return c}function Or(e,t,n,r){return nr(e,function(e,o,i){t(r,n(e),o,i)}),r}function kr(e,t,n){t=Oo(t,e),e=Ji(e,t);var r=null==e?e:e[ra(Sa(t))];return null==r?oe:s(r,e,n)}function Pr(e){return cu(e)&&fr(e)==ze}function Mr(e){return cu(e)&&fr(e)==lt}function Ar(e){return cu(e)&&fr(e)==Ge}function Ir(e,t,n,r,o){return e===t||(null==e||null==t||!cu(e)&&!cu(t)?e!==e&&t!==t:jr(e,t,n,r,Ir,o))}function jr(e,t,n,r,o,i){var a=wp(e),s=wp(t),u=a?We:Af(e),c=s?We:Af(t);u=u==ze?et:u,c=c==ze?et:c;var l=u==et,f=c==et,p=u==c;if(p&&Tp(e)){if(!Tp(t))return!1;a=!0,l=!1}if(p&&!l)return i||(i=new wn),a||kp(e)?gi(e,t,n,r,o,i):mi(e,t,u,n,r,o,i);if(!(n&ve)){var d=l&&bl.call(e,"__wrapped__"),h=f&&bl.call(t,"__wrapped__");if(d||h){var v=d?e.value():e,y=h?t.value():t;return i||(i=new wn),o(v,y,n,r,i)}}return!!p&&(i||(i=new wn),_i(e,t,n,r,o,i))}function Dr(e){return cu(e)&&Af(e)==Qe}function Rr(e,t,n,r){var o=n.length,i=o,a=!r;if(null==e)return!i;for(e=fl(e);o--;){var s=n[o];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o<i;){s=n[o];var u=s[0],c=e[u],l=s[1];if(a&&s[2]){if(c===oe&&!(u in e))return!1}else{var f=new wn;if(r)var p=r(c,l,u,e,t,f);if(!(p===oe?Ir(l,c,ve|ye,r,f):p))return!1}}return!0}function Nr(e){if(!uu(e)||Wi(e))return!1;var t=iu(e)?xl:Xt;return t.test(oa(e))}function Lr(e){return cu(e)&&fr(e)==rt}function Fr(e){return cu(e)&&Af(e)==ot}function Ur(e){return cu(e)&&su(e.length)&&!!Qn[fr(e)]}function Br(e){return"function"==typeof e?e:null==e?Dc:"object"==typeof e?wp(e)?Gr(e[0],e[1]):Vr(e):zc(e)}function qr(e){if(!Hi(e))return $l(e);var t=[];for(var n in fl(e))bl.call(e,n)&&"constructor"!=n&&t.push(n);return t}function zr(e){if(!uu(e))return Xi(e);var t=Hi(e),n=[];for(var r in e)("constructor"!=r||!t&&bl.call(e,r))&&n.push(r);return n}function Wr(e,t){return e<t}function Hr(e,t){var n=-1,r=Ys(e)?al(e.length):[];return _f(e,function(e,o,i){r[++n]=t(e,o,i)}),r}function Vr(e){var t=Oi(e);return 1==t.length&&t[0][2]?Gi(t[0][0],t[0][1]):function(n){return n===e||Rr(n,e,t)}}function Gr(e,t){return Bi(e)&&Vi(t)?Gi(ra(e),t):function(n){var r=qu(n,e);return r===oe&&r===t?Wu(n,e):Ir(t,r,ve|ye)}}function Kr(e,t,n,r,o){e!==t&&wf(t,function(i,a){if(uu(i))o||(o=new wn),$r(e,t,a,n,Kr,r,o);else{var s=r?r(e[a],i,a+"",e,t,o):oe;s===oe&&(s=i),An(e,a,s)}},Vu)}function $r(e,t,n,r,o,i,a){var s=e[n],u=t[n],c=a.get(u);if(c)return void An(e,n,c);var l=i?i(s,u,n+"",e,t,a):oe,f=l===oe;if(f){var p=wp(u),d=!p&&Tp(u),h=!p&&!d&&kp(u);l=u,p||d||h?wp(s)?l=s:Qs(s)?l=qo(s):d?(f=!1,l=Po(u,!0)):h?(f=!1,l=No(u,!0)):l=[]:gu(u)||bp(u)?(l=s,bp(s)?l=Pu(s):(!uu(s)||r&&iu(s))&&(l=Di(u))):f=!1}f&&(a.set(u,l),o(l,u,r,i,a),a.delete(u)),An(e,n,l)}function Xr(e,t){var n=e.length;if(n)return t+=t<0?n:0,Fi(t,n)?e[t]:oe}function Yr(e,t,n){var r=-1;t=v(t.length?t:[Dc],R(Si()));var o=Hr(e,function(e,n,o){var i=v(t,function(t){return t(e)});return{criteria:i,index:++r,value:e}});return A(o,function(e,t){return Fo(e,t,n)})}function Qr(e,t){return Jr(e,t,function(t,n){return Wu(e,n)})}function Jr(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],s=ur(e,a);n(s,a)&&uo(i,Oo(a,e),s)}return i}function Zr(e){return function(t){return ur(t,e)}}function eo(e,t,n,r){var o=r?S:C,i=-1,a=t.length,s=e;for(e===t&&(t=qo(t)),n&&(s=v(e,R(n)));++i<a;)for(var u=0,c=t[i],l=n?n(c):c;(u=o(s,l,u,r))>-1;)s!==e&&Dl.call(s,u,1),Dl.call(e,u,1);return e}function to(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;Fi(o)?Dl.call(e,o,1):_o(e,o)}}return e}function no(e,t){return e+Wl(Zl()*(t-e+1))}function ro(e,t,n,r){for(var o=-1,i=Xl(zl((t-e)/(n||1)),0),a=al(i);i--;)a[r?i:++o]=e,e+=n;return a}function oo(e,t){var n="";if(!e||t<1||t>Re)return n;do t%2&&(n+=e),t=Wl(t/2),t&&(e+=e);while(t);return n}function io(e,t){return Rf(Qi(e,t,Dc),e+"")}function ao(e){return kn(rc(e))}function so(e,t){var n=rc(e);return na(n,Un(t,0,n.length))}function uo(e,t,n,r){if(!uu(e))return e;t=Oo(t,e);for(var o=-1,i=t.length,a=i-1,s=e;null!=s&&++o<i;){var u=ra(t[o]),c=n;if(o!=a){var l=s[u];c=r?r(l,u,s):oe,c===oe&&(c=uu(l)?l:Fi(t[o+1])?[]:{})}In(s,u,c),s=s[u]}return e}function co(e){return na(rc(e))}function lo(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=al(o);++r<o;)i[r]=e[r+t];return i}function fo(e,t){var n;return _f(e,function(e,r,o){return n=t(e,r,o),!n}),!!n}function po(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t===t&&o<=Be){for(;r<o;){var i=r+o>>>1,a=e[i];null!==a&&!bu(a)&&(n?a<=t:a<t)?r=i+1:o=i}return o}return ho(e,t,Dc,n)}function ho(e,t,n,r){t=n(t);for(var o=0,i=null==e?0:e.length,a=t!==t,s=null===t,u=bu(t),c=t===oe;o<i;){var l=Wl((o+i)/2),f=n(e[l]),p=f!==oe,d=null===f,h=f===f,v=bu(f);if(a)var y=r||h;else y=c?h&&(r||p):s?h&&p&&(r||!d):u?h&&p&&!d&&(r||!v):!d&&!v&&(r?f<=t:f<t);y?o=l+1:i=l}return Yl(i,Ue)}function vo(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n],s=t?t(a):a;if(!n||!Xs(s,u)){var u=s;i[o++]=0===a?0:a}}return i}function yo(e){return"number"==typeof e?e:bu(e)?Le:+e}function go(e){if("string"==typeof e)return e;if(wp(e))return v(e,go)+"";if(bu(e))return gf?gf.call(e):"";var t=e+"";return"0"==t&&1/e==-De?"-0":t}function mo(e,t,n){var r=-1,o=d,i=e.length,a=!0,s=[],u=s;if(n)a=!1,o=h;else if(i>=ae){var c=t?null:Of(e);if(c)return X(c);a=!1,o=L,u=new mn}else u=t?[]:s;e:for(;++r<i;){var l=e[r],f=t?t(l):l;if(l=n||0!==l?l:0,a&&f===f){for(var p=u.length;p--;)if(u[p]===f)continue e;t&&u.push(f),s.push(l)}else o(u,f,n)||(u!==s&&u.push(f),s.push(l))}return s}function _o(e,t){return t=Oo(t,e),e=Ji(e,t),null==e||delete e[ra(Sa(t))]}function bo(e,t,n,r){return uo(e,t,n(ur(e,t)),r)}function wo(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?lo(e,r?0:i,r?i+1:o):lo(e,r?i+1:0,r?o:i)}function Eo(e,t){var n=e;return n instanceof b&&(n=n.value()),g(t,function(e,t){return t.func.apply(t.thisArg,y([e],t.args))},n)}function To(e,t,n){var r=e.length;if(r<2)return r?mo(e[0]):[];for(var o=-1,i=al(r);++o<r;)for(var a=e[o],s=-1;++s<r;)s!=o&&(i[o]=Gn(i[o]||a,e[s],t,n));return mo(tr(i,1),t,n)}function Co(e,t,n){for(var r=-1,o=e.length,i=t.length,a={};++r<o;){var s=r<i?t[r]:oe;n(a,e[r],s)}return a}function So(e){return Qs(e)?e:[]}function xo(e){return"function"==typeof e?e:Dc}function Oo(e,t){return wp(e)?e:Bi(e,t)?[e]:Nf(Au(e))}function ko(e,t,n){var r=e.length;return n=n===oe?r:n,!t&&n>=r?e:lo(e,t,n)}function Po(e,t){if(t)return e.slice();var n=e.length,r=Ml?Ml(n):new e.constructor(n);return e.copy(r),r}function Mo(e){var t=new e.constructor(e.byteLength);return new Pl(t).set(new Pl(e)),t}function Ao(e,t){var n=t?Mo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function Io(e,t,n){var r=t?n(G(e),pe):G(e);return g(r,i,new e.constructor)}function jo(e){var t=new e.constructor(e.source,Gt.exec(e));return t.lastIndex=e.lastIndex,t}function Do(e,t,n){var r=t?n(X(e),pe):X(e);return g(r,a,new e.constructor)}function Ro(e){return yf?fl(yf.call(e)):{}}function No(e,t){var n=t?Mo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Lo(e,t){if(e!==t){var n=e!==oe,r=null===e,o=e===e,i=bu(e),a=t!==oe,s=null===t,u=t===t,c=bu(t);if(!s&&!c&&!i&&e>t||i&&a&&u&&!s&&!c||r&&a&&u||!n&&u||!o)return 1;if(!r&&!i&&!c&&e<t||c&&n&&o&&!r&&!i||s&&n&&o||!a&&o||!u)return-1}return 0}function Fo(e,t,n){for(var r=-1,o=e.criteria,i=t.criteria,a=o.length,s=n.length;++r<a;){var u=Lo(o[r],i[r]);if(u){if(r>=s)return u;var c=n[r];return u*("desc"==c?-1:1)}}return e.index-t.index}function Uo(e,t,n,r){for(var o=-1,i=e.length,a=n.length,s=-1,u=t.length,c=Xl(i-a,0),l=al(u+c),f=!r;++s<u;)l[s]=t[s];for(;++o<a;)(f||o<i)&&(l[n[o]]=e[o]);for(;c--;)l[s++]=e[o++];return l}function Bo(e,t,n,r){for(var o=-1,i=e.length,a=-1,s=n.length,u=-1,c=t.length,l=Xl(i-s,0),f=al(l+c),p=!r;++o<l;)f[o]=e[o];for(var d=o;++u<c;)f[d+u]=t[u];for(;++a<s;)(p||o<i)&&(f[d+n[a]]=e[o++]);return f}function qo(e,t){var n=-1,r=e.length;for(t||(t=al(r));++n<r;)t[n]=e[n];return t}function zo(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var s=t[i],u=r?r(n[s],e[s],s,n,e):oe;u===oe&&(u=e[s]),o?Ln(n,s,u):In(n,s,u)}return n}function Wo(e,t){return zo(e,Pf(e),t)}function Ho(e,t){return zo(e,Mf(e),t)}function Vo(e,t){return function(n,r){var o=wp(n)?u:Dn,i=t?t():{};return o(n,e,Si(r,2),i)}}function Go(e){return io(function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:oe,a=o>2?n[2]:oe;for(i=e.length>3&&"function"==typeof i?(o--,i):oe,a&&Ui(n[0],n[1],a)&&(i=o<3?oe:i,o=1),t=fl(t);++r<o;){var s=n[r];s&&e(t,s,r,i)}return t})}function Ko(e,t){return function(n,r){if(null==n)return n;if(!Ys(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=fl(n);(t?i--:++i<o)&&r(a[i],i,a)!==!1;);return n}}function $o(e){return function(t,n,r){for(var o=-1,i=fl(t),a=r(t),s=a.length;s--;){var u=a[e?s:++o];if(n(i[u],u,i)===!1)break}return t}}function Xo(e,t,n){function r(){var t=this&&this!==sr&&this instanceof r?i:e;return t.apply(o?n:this,arguments)}var o=t&ge,i=Jo(e);return r}function Yo(e){return function(t){t=Au(t);var n=W(t)?ee(t):oe,r=n?n[0]:t.charAt(0),o=n?ko(n,1).join(""):t.slice(1);return r[e]()+o}}function Qo(e){return function(t){return g(Pc(cc(t).replace(Wn,"")),e,"")}}function Jo(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=mf(e.prototype),r=e.apply(n,t);return uu(r)?r:n}}function Zo(e,t,n){function r(){for(var i=arguments.length,a=al(i),u=i,c=Ci(r);u--;)a[u]=arguments[u];var l=i<3&&a[0]!==c&&a[i-1]!==c?[]:$(a,c);if(i-=l.length,i<n)return li(e,t,ni,r.placeholder,oe,a,l,oe,oe,n-i);var f=this&&this!==sr&&this instanceof r?o:e;return s(f,this,a)}var o=Jo(e);return r}function ei(e){return function(t,n,r){var o=fl(t);if(!Ys(t)){var i=Si(n,3);t=Hu(t),n=function(e){return i(o[e],e,o)}}var a=e(t,n,r);return a>-1?o[i?t[a]:a]:oe}}function ti(e){return bi(function(t){var n=t.length,r=n,i=o.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new hl(ue);if(i&&!s&&"wrapper"==Ti(a))var s=new o([],!0)}for(r=s?r:n;++r<n;){a=t[r];var u=Ti(a),c="wrapper"==u?kf(a):oe;s=c&&zi(c[0])&&c[1]==(Ce|be|Ee|Se)&&!c[4].length&&1==c[9]?s[Ti(c[0])].apply(s,c[3]):1==a.length&&zi(a)?s[u]():s.thru(a)}return function(){var e=arguments,r=e[0];if(s&&1==e.length&&wp(r))return s.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++o<n;)i=t[o].call(this,i);return i}})}function ni(e,t,n,r,o,i,a,s,u,c){function l(){for(var g=arguments.length,m=al(g),_=g;_--;)m[_]=arguments[_];if(h)var b=Ci(l),w=B(m,b);if(r&&(m=Uo(m,r,o,h)),i&&(m=Bo(m,i,a,h)),g-=w,h&&g<c){var E=$(m,b);return li(e,t,ni,l.placeholder,n,m,E,s,u,c-g)}var T=p?n:this,C=d?T[e]:e;return g=m.length,s?m=Zi(m,s):v&&g>1&&m.reverse(),f&&u<g&&(m.length=u),this&&this!==sr&&this instanceof l&&(C=y||Jo(C)),C.apply(T,m)}var f=t&Ce,p=t&ge,d=t&me,h=t&(be|we),v=t&xe,y=d?oe:Jo(e);return l}function ri(e,t){return function(n,r){return Or(n,e,t(r),{})}}function oi(e,t){return function(n,r){var o;if(n===oe&&r===oe)return t;if(n!==oe&&(o=n),r!==oe){if(o===oe)return r;"string"==typeof n||"string"==typeof r?(n=go(n),r=go(r)):(n=yo(n),r=yo(r)),o=e(n,r)}return o}}function ii(e){return bi(function(t){return t=v(t,R(Si())),io(function(n){var r=this;return e(t,function(e){return s(e,r,n)})})})}function ai(e,t){t=t===oe?" ":go(t);var n=t.length;if(n<2)return n?oo(t,e):t;var r=oo(t,zl(e/Z(t)));return W(t)?ko(ee(r),0,e).join(""):r.slice(0,e)}function si(e,t,n,r){function o(){for(var t=-1,u=arguments.length,c=-1,l=r.length,f=al(l+u),p=this&&this!==sr&&this instanceof o?a:e;++c<l;)f[c]=r[c];for(;u--;)f[c++]=arguments[++t];return s(p,i?n:this,f)}var i=t&ge,a=Jo(e);return o}function ui(e){return function(t,n,r){return r&&"number"!=typeof r&&Ui(t,n,r)&&(n=r=oe),t=Su(t),n===oe?(n=t,t=0):n=Su(n),r=r===oe?t<n?1:-1:Su(r),ro(t,n,r,e)}}function ci(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=ku(t),n=ku(n)),e(t,n)}}function li(e,t,n,r,o,i,a,s,u,c){var l=t&be,f=l?a:oe,p=l?oe:a,d=l?i:oe,h=l?oe:i;t|=l?Ee:Te,t&=~(l?Te:Ee),t&_e||(t&=~(ge|me));var v=[e,t,o,d,f,h,p,s,u,c],y=n.apply(oe,v);return zi(e)&&jf(y,v),y.placeholder=r,ea(y,e,t)}function fi(e){var t=ll[e];return function(e,n){if(e=ku(e),n=null==n?0:Yl(xu(n),292)){var r=(Au(e)+"e").split("e"),o=t(r[0]+"e"+(+r[1]+n));return r=(Au(o)+"e").split("e"),+(r[0]+"e"+(+r[1]-n))}return t(e)}}function pi(e){
-return function(t){var n=Af(t);return n==Qe?G(t):n==ot?Y(t):D(t,e(t))}}function di(e,t,n,r,o,i,a,s){var u=t&me;if(!u&&"function"!=typeof e)throw new hl(ue);var c=r?r.length:0;if(c||(t&=~(Ee|Te),r=o=oe),a=a===oe?a:Xl(xu(a),0),s=s===oe?s:xu(s),c-=o?o.length:0,t&Te){var l=r,f=o;r=o=oe}var p=u?oe:kf(e),d=[e,t,n,r,o,l,f,i,a,s];if(p&&$i(d,p),e=d[0],t=d[1],n=d[2],r=d[3],o=d[4],s=d[9]=d[9]===oe?u?0:e.length:Xl(d[9]-c,0),!s&&t&(be|we)&&(t&=~(be|we)),t&&t!=ge)h=t==be||t==we?Zo(e,t,s):t!=Ee&&t!=(ge|Ee)||o.length?ni.apply(oe,d):si(e,t,n,r);else var h=Xo(e,t,n);var v=p?Tf:jf;return ea(v(h,d),e,t)}function hi(e,t,n,r){return e===oe||Xs(e,gl[n])&&!bl.call(r,n)?t:e}function vi(e,t,n,r,o,i){return uu(e)&&uu(t)&&(i.set(t,e),Kr(e,t,oe,vi,i),i.delete(t)),e}function yi(e){return gu(e)?oe:e}function gi(e,t,n,r,o,i){var a=n&ve,s=e.length,u=t.length;if(s!=u&&!(a&&u>s))return!1;var c=i.get(e);if(c&&i.get(t))return c==t;var l=-1,f=!0,p=n&ye?new mn:oe;for(i.set(e,t),i.set(t,e);++l<s;){var d=e[l],h=t[l];if(r)var v=a?r(h,d,l,t,e,i):r(d,h,l,e,t,i);if(v!==oe){if(v)continue;f=!1;break}if(p){if(!_(t,function(e,t){if(!L(p,t)&&(d===e||o(d,e,n,r,i)))return p.push(t)})){f=!1;break}}else if(d!==h&&!o(d,h,n,r,i)){f=!1;break}}return i.delete(e),i.delete(t),f}function mi(e,t,n,r,o,i,a){switch(n){case ft:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case lt:return!(e.byteLength!=t.byteLength||!i(new Pl(e),new Pl(t)));case Ve:case Ge:case Je:return Xs(+e,+t);case $e:return e.name==t.name&&e.message==t.message;case rt:case it:return e==t+"";case Qe:var s=G;case ot:var u=r&ve;if(s||(s=X),e.size!=t.size&&!u)return!1;var c=a.get(e);if(c)return c==t;r|=ye,a.set(e,t);var l=gi(s(e),s(t),r,o,i,a);return a.delete(e),l;case at:if(yf)return yf.call(e)==yf.call(t)}return!1}function _i(e,t,n,r,o,i){var a=n&ve,s=wi(e),u=s.length,c=wi(t),l=c.length;if(u!=l&&!a)return!1;for(var f=u;f--;){var p=s[f];if(!(a?p in t:bl.call(t,p)))return!1}var d=i.get(e);if(d&&i.get(t))return d==t;var h=!0;i.set(e,t),i.set(t,e);for(var v=a;++f<u;){p=s[f];var y=e[p],g=t[p];if(r)var m=a?r(g,y,p,t,e,i):r(y,g,p,e,t,i);if(!(m===oe?y===g||o(y,g,n,r,i):m)){h=!1;break}v||(v="constructor"==p)}if(h&&!v){var _=e.constructor,b=t.constructor;_!=b&&"constructor"in e&&"constructor"in t&&!("function"==typeof _&&_ instanceof _&&"function"==typeof b&&b instanceof b)&&(h=!1)}return i.delete(e),i.delete(t),h}function bi(e){return Rf(Qi(e,oe,ga),e+"")}function wi(e){return cr(e,Hu,Pf)}function Ei(e){return cr(e,Vu,Mf)}function Ti(e){for(var t=e.name+"",n=cf[t],r=bl.call(cf,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function Ci(e){var t=bl.call(n,"placeholder")?n:e;return t.placeholder}function Si(){var e=n.iteratee||Rc;return e=e===Rc?Br:e,arguments.length?e(arguments[0],arguments[1]):e}function xi(e,t){var n=e.__data__;return qi(t)?n["string"==typeof t?"string":"hash"]:n.map}function Oi(e){for(var t=Hu(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Vi(o)]}return t}function ki(e,t){var n=z(e,t);return Nr(n)?n:oe}function Pi(e){var t=bl.call(e,Ll),n=e[Ll];try{e[Ll]=oe;var r=!0}catch(e){}var o=Tl.call(e);return r&&(t?e[Ll]=n:delete e[Ll]),o}function Mi(e,t,n){for(var r=-1,o=n.length;++r<o;){var i=n[r],a=i.size;switch(i.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=Yl(t,e+a);break;case"takeRight":e=Xl(e,t-a)}}return{start:e,end:t}}function Ai(e){var t=e.match(qt);return t?t[1].split(zt):[]}function Ii(e,t,n){t=Oo(t,e);for(var r=-1,o=t.length,i=!1;++r<o;){var a=ra(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:(o=null==e?0:e.length,!!o&&su(o)&&Fi(a,o)&&(wp(e)||bp(e)))}function ji(e){var t=e.length,n=e.constructor(t);return t&&"string"==typeof e[0]&&bl.call(e,"index")&&(n.index=e.index,n.input=e.input),n}function Di(e){return"function"!=typeof e.constructor||Hi(e)?{}:mf(Al(e))}function Ri(e,t,n,r){var o=e.constructor;switch(t){case lt:return Mo(e);case Ve:case Ge:return new o(+e);case ft:return Ao(e,r);case pt:case dt:case ht:case vt:case yt:case gt:case mt:case _t:case bt:return No(e,r);case Qe:return Io(e,r,n);case Je:case it:return new o(e);case rt:return jo(e);case ot:return Do(e,r,n);case at:return Ro(e)}}function Ni(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(Bt,"{\n/* [wrapped with "+t+"] */\n")}function Li(e){return wp(e)||bp(e)||!!(Rl&&e&&e[Rl])}function Fi(e,t){return t=null==t?Re:t,!!t&&("number"==typeof e||Qt.test(e))&&e>-1&&e%1==0&&e<t}function Ui(e,t,n){if(!uu(n))return!1;var r=typeof t;return!!("number"==r?Ys(n)&&Fi(t,n.length):"string"==r&&t in n)&&Xs(n[t],e)}function Bi(e,t){if(wp(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!bu(e))||(It.test(e)||!At.test(e)||null!=t&&e in fl(t))}function qi(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function zi(e){var t=Ti(e),r=n[t];if("function"!=typeof r||!(t in b.prototype))return!1;if(e===r)return!0;var o=kf(r);return!!o&&e===o[0]}function Wi(e){return!!El&&El in e}function Hi(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||gl;return e===n}function Vi(e){return e===e&&!uu(e)}function Gi(e,t){return function(n){return null!=n&&(n[e]===t&&(t!==oe||e in fl(n)))}}function Ki(e){var t=Rs(e,function(e){return n.size===le&&n.clear(),e}),n=t.cache;return t}function $i(e,t){var n=e[1],r=t[1],o=n|r,i=o<(ge|me|Ce),a=r==Ce&&n==be||r==Ce&&n==Se&&e[7].length<=t[8]||r==(Ce|Se)&&t[7].length<=t[8]&&n==be;if(!i&&!a)return e;r&ge&&(e[2]=t[2],o|=n&ge?0:_e);var s=t[3];if(s){var u=e[3];e[3]=u?Uo(u,s,t[4]):s,e[4]=u?$(e[3],fe):t[4]}return s=t[5],s&&(u=e[5],e[5]=u?Bo(u,s,t[6]):s,e[6]=u?$(e[5],fe):t[6]),s=t[7],s&&(e[7]=s),r&Ce&&(e[8]=null==e[8]?t[8]:Yl(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=o,e}function Xi(e){var t=[];if(null!=e)for(var n in fl(e))t.push(n);return t}function Yi(e){return Tl.call(e)}function Qi(e,t,n){return t=Xl(t===oe?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=Xl(r.length-t,0),a=al(i);++o<i;)a[o]=r[t+o];o=-1;for(var u=al(t+1);++o<t;)u[o]=r[o];return u[t]=n(a),s(e,this,u)}}function Ji(e,t){return t.length<2?e:ur(e,lo(t,0,-1))}function Zi(e,t){for(var n=e.length,r=Yl(t.length,n),o=qo(e);r--;){var i=t[r];e[r]=Fi(i,n)?o[i]:oe}return e}function ea(e,t,n){var r=t+"";return Rf(e,Ni(r,ia(Ai(r),n)))}function ta(e){var t=0,n=0;return function(){var r=Ql(),o=Me-(r-n);if(n=r,o>0){if(++t>=Pe)return arguments[0]}else t=0;return e.apply(oe,arguments)}}function na(e,t){var n=-1,r=e.length,o=r-1;for(t=t===oe?r:t;++n<t;){var i=no(n,o),a=e[i];e[i]=e[n],e[n]=a}return e.length=t,e}function ra(e){if("string"==typeof e||bu(e))return e;var t=e+"";return"0"==t&&1/e==-De?"-0":t}function oa(e){if(null!=e){try{return _l.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function ia(e,t){return c(qe,function(n){var r="_."+n[0];t&n[1]&&!d(e,r)&&e.push(r)}),e.sort()}function aa(e){if(e instanceof b)return e.clone();var t=new o(e.__wrapped__,e.__chain__);return t.__actions__=qo(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function sa(e,t,n){t=(n?Ui(e,t,n):t===oe)?1:Xl(xu(t),0);var r=null==e?0:e.length;if(!r||t<1)return[];for(var o=0,i=0,a=al(zl(r/t));o<r;)a[i++]=lo(e,o,o+=t);return a}function ua(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o}function ca(){var e=arguments.length;if(!e)return[];for(var t=al(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return y(wp(n)?qo(n):[n],tr(t,1))}function la(e,t,n){var r=null==e?0:e.length;return r?(t=n||t===oe?1:xu(t),lo(e,t<0?0:t,r)):[]}function fa(e,t,n){var r=null==e?0:e.length;return r?(t=n||t===oe?1:xu(t),t=r-t,lo(e,0,t<0?0:t)):[]}function pa(e,t){return e&&e.length?wo(e,Si(t,3),!0,!0):[]}function da(e,t){return e&&e.length?wo(e,Si(t,3),!0):[]}function ha(e,t,n,r){var o=null==e?0:e.length;return o?(n&&"number"!=typeof n&&Ui(e,t,n)&&(n=0,r=o),Zn(e,t,n,r)):[]}function va(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:xu(n);return o<0&&(o=Xl(r+o,0)),T(e,Si(t,3),o)}function ya(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r-1;return n!==oe&&(o=xu(n),o=n<0?Xl(r+o,0):Yl(o,r-1)),T(e,Si(t,3),o,!0)}function ga(e){var t=null==e?0:e.length;return t?tr(e,1):[]}function ma(e){var t=null==e?0:e.length;return t?tr(e,De):[]}function _a(e,t){var n=null==e?0:e.length;return n?(t=t===oe?1:xu(t),tr(e,t)):[]}function ba(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r}function wa(e){return e&&e.length?e[0]:oe}function Ea(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:xu(n);return o<0&&(o=Xl(r+o,0)),C(e,t,o)}function Ta(e){var t=null==e?0:e.length;return t?lo(e,0,-1):[]}function Ca(e,t){return null==e?"":Kl.call(e,t)}function Sa(e){var t=null==e?0:e.length;return t?e[t-1]:oe}function xa(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r;return n!==oe&&(o=xu(n),o=o<0?Xl(r+o,0):Yl(o,r-1)),t===t?J(e,t,o):T(e,x,o,!0)}function Oa(e,t){return e&&e.length?Xr(e,xu(t)):oe}function ka(e,t){return e&&e.length&&t&&t.length?eo(e,t):e}function Pa(e,t,n){return e&&e.length&&t&&t.length?eo(e,t,Si(n,2)):e}function Ma(e,t,n){return e&&e.length&&t&&t.length?eo(e,t,oe,n):e}function Aa(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=Si(t,3);++r<i;){var a=e[r];t(a,r,e)&&(n.push(a),o.push(r))}return to(e,o),n}function Ia(e){return null==e?e:ef.call(e)}function ja(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&Ui(e,t,n)?(t=0,n=r):(t=null==t?0:xu(t),n=n===oe?r:xu(n)),lo(e,t,n)):[]}function Da(e,t){return po(e,t)}function Ra(e,t,n){return ho(e,t,Si(n,2))}function Na(e,t){var n=null==e?0:e.length;if(n){var r=po(e,t);if(r<n&&Xs(e[r],t))return r}return-1}function La(e,t){return po(e,t,!0)}function Fa(e,t,n){return ho(e,t,Si(n,2),!0)}function Ua(e,t){var n=null==e?0:e.length;if(n){var r=po(e,t,!0)-1;if(Xs(e[r],t))return r}return-1}function Ba(e){return e&&e.length?vo(e):[]}function qa(e,t){return e&&e.length?vo(e,Si(t,2)):[]}function za(e){var t=null==e?0:e.length;return t?lo(e,1,t):[]}function Wa(e,t,n){return e&&e.length?(t=n||t===oe?1:xu(t),lo(e,0,t<0?0:t)):[]}function Ha(e,t,n){var r=null==e?0:e.length;return r?(t=n||t===oe?1:xu(t),t=r-t,lo(e,t<0?0:t,r)):[]}function Va(e,t){return e&&e.length?wo(e,Si(t,3),!1,!0):[]}function Ga(e,t){return e&&e.length?wo(e,Si(t,3)):[]}function Ka(e){return e&&e.length?mo(e):[]}function $a(e,t){return e&&e.length?mo(e,Si(t,2)):[]}function Xa(e,t){return t="function"==typeof t?t:oe,e&&e.length?mo(e,oe,t):[]}function Ya(e){if(!e||!e.length)return[];var t=0;return e=p(e,function(e){if(Qs(e))return t=Xl(e.length,t),!0}),j(t,function(t){return v(e,k(t))})}function Qa(e,t){if(!e||!e.length)return[];var n=Ya(e);return null==t?n:v(n,function(e){return s(t,oe,e)})}function Ja(e,t){return Co(e||[],t||[],In)}function Za(e,t){return Co(e||[],t||[],uo)}function es(e){var t=n(e);return t.__chain__=!0,t}function ts(e,t){return t(e),e}function ns(e,t){return t(e)}function rs(){return es(this)}function os(){return new o(this.value(),this.__chain__)}function is(){this.__values__===oe&&(this.__values__=Cu(this.value()));var e=this.__index__>=this.__values__.length,t=e?oe:this.__values__[this.__index__++];return{done:e,value:t}}function as(){return this}function ss(e){for(var t,n=this;n instanceof r;){var o=aa(n);o.__index__=0,o.__values__=oe,t?i.__wrapped__=o:t=o;var i=o;n=n.__wrapped__}return i.__wrapped__=e,t}function us(){var e=this.__wrapped__;if(e instanceof b){var t=e;return this.__actions__.length&&(t=new b(this)),t=t.reverse(),t.__actions__.push({func:ns,args:[Ia],thisArg:oe}),new o(t,this.__chain__)}return this.thru(Ia)}function cs(){return Eo(this.__wrapped__,this.__actions__)}function ls(e,t,n){var r=wp(e)?f:Kn;return n&&Ui(e,t,n)&&(t=oe),r(e,Si(t,3))}function fs(e,t){var n=wp(e)?p:er;return n(e,Si(t,3))}function ps(e,t){return tr(ms(e,t),1)}function ds(e,t){return tr(ms(e,t),De)}function hs(e,t,n){return n=n===oe?1:xu(n),tr(ms(e,t),n)}function vs(e,t){var n=wp(e)?c:_f;return n(e,Si(t,3))}function ys(e,t){var n=wp(e)?l:bf;return n(e,Si(t,3))}function gs(e,t,n,r){e=Ys(e)?e:rc(e),n=n&&!r?xu(n):0;var o=e.length;return n<0&&(n=Xl(o+n,0)),_u(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&C(e,t,n)>-1}function ms(e,t){var n=wp(e)?v:Hr;return n(e,Si(t,3))}function _s(e,t,n,r){return null==e?[]:(wp(t)||(t=null==t?[]:[t]),n=r?oe:n,wp(n)||(n=null==n?[]:[n]),Yr(e,t,n))}function bs(e,t,n){var r=wp(e)?g:M,o=arguments.length<3;return r(e,Si(t,4),n,o,_f)}function ws(e,t,n){var r=wp(e)?m:M,o=arguments.length<3;return r(e,Si(t,4),n,o,bf)}function Es(e,t){var n=wp(e)?p:er;return n(e,Ns(Si(t,3)))}function Ts(e){var t=wp(e)?kn:ao;return t(e)}function Cs(e,t,n){t=(n?Ui(e,t,n):t===oe)?1:xu(t);var r=wp(e)?Pn:so;return r(e,t)}function Ss(e){var t=wp(e)?Mn:co;return t(e)}function xs(e){if(null==e)return 0;if(Ys(e))return _u(e)?Z(e):e.length;var t=Af(e);return t==Qe||t==ot?e.size:qr(e).length}function Os(e,t,n){var r=wp(e)?_:fo;return n&&Ui(e,t,n)&&(t=oe),r(e,Si(t,3))}function ks(e,t){if("function"!=typeof t)throw new hl(ue);return e=xu(e),function(){if(--e<1)return t.apply(this,arguments)}}function Ps(e,t,n){return t=n?oe:t,t=e&&null==t?e.length:t,di(e,Ce,oe,oe,oe,oe,t)}function Ms(e,t){var n;if("function"!=typeof t)throw new hl(ue);return e=xu(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=oe),n}}function As(e,t,n){t=n?oe:t;var r=di(e,be,oe,oe,oe,oe,oe,t);return r.placeholder=As.placeholder,r}function Is(e,t,n){t=n?oe:t;var r=di(e,we,oe,oe,oe,oe,oe,t);return r.placeholder=Is.placeholder,r}function js(e,t,n){function r(t){var n=p,r=d;return p=d=oe,m=t,v=e.apply(r,n)}function o(e){return m=e,y=Df(s,t),_?r(e):v}function i(e){var n=e-g,r=e-m,o=t-n;return b?Yl(o,h-r):o}function a(e){var n=e-g,r=e-m;return g===oe||n>=t||n<0||b&&r>=h}function s(){var e=cp();return a(e)?u(e):void(y=Df(s,i(e)))}function u(e){return y=oe,w&&p?r(e):(p=d=oe,v)}function c(){y!==oe&&xf(y),m=0,p=g=d=y=oe}function l(){return y===oe?v:u(cp())}function f(){var e=cp(),n=a(e);if(p=arguments,d=this,g=e,n){if(y===oe)return o(g);if(b)return y=Df(s,t),r(g)}return y===oe&&(y=Df(s,t)),v}var p,d,h,v,y,g,m=0,_=!1,b=!1,w=!0;if("function"!=typeof e)throw new hl(ue);return t=ku(t)||0,uu(n)&&(_=!!n.leading,b="maxWait"in n,h=b?Xl(ku(n.maxWait)||0,t):h,w="trailing"in n?!!n.trailing:w),f.cancel=c,f.flush=l,f}function Ds(e){return di(e,xe)}function Rs(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new hl(ue);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(Rs.Cache||pn),n}function Ns(e){if("function"!=typeof e)throw new hl(ue);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function Ls(e){return Ms(2,e)}function Fs(e,t){if("function"!=typeof e)throw new hl(ue);return t=t===oe?t:xu(t),io(e,t)}function Us(e,t){if("function"!=typeof e)throw new hl(ue);return t=null==t?0:Xl(xu(t),0),io(function(n){var r=n[t],o=ko(n,0,t);return r&&y(o,r),s(e,this,o)})}function Bs(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new hl(ue);return uu(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),js(e,t,{leading:r,maxWait:t,trailing:o})}function qs(e){return Ps(e,1)}function zs(e,t){return vp(xo(t),e)}function Ws(){if(!arguments.length)return[];var e=arguments[0];return wp(e)?e:[e]}function Hs(e){return Bn(e,he)}function Vs(e,t){return t="function"==typeof t?t:oe,Bn(e,he,t)}function Gs(e){return Bn(e,pe|he)}function Ks(e,t){return t="function"==typeof t?t:oe,Bn(e,pe|he,t)}function $s(e,t){return null==t||zn(e,t,Hu(t))}function Xs(e,t){return e===t||e!==e&&t!==t}function Ys(e){return null!=e&&su(e.length)&&!iu(e)}function Qs(e){return cu(e)&&Ys(e)}function Js(e){return e===!0||e===!1||cu(e)&&fr(e)==Ve}function Zs(e){return cu(e)&&1===e.nodeType&&!gu(e)}function eu(e){if(null==e)return!0;if(Ys(e)&&(wp(e)||"string"==typeof e||"function"==typeof e.splice||Tp(e)||kp(e)||bp(e)))return!e.length;var t=Af(e);if(t==Qe||t==ot)return!e.size;if(Hi(e))return!qr(e).length;for(var n in e)if(bl.call(e,n))return!1;return!0}function tu(e,t){return Ir(e,t)}function nu(e,t,n){n="function"==typeof n?n:oe;var r=n?n(e,t):oe;return r===oe?Ir(e,t,oe,n):!!r}function ru(e){if(!cu(e))return!1;var t=fr(e);return t==$e||t==Ke||"string"==typeof e.message&&"string"==typeof e.name&&!gu(e)}function ou(e){return"number"==typeof e&&Gl(e)}function iu(e){if(!uu(e))return!1;var t=fr(e);return t==Xe||t==Ye||t==He||t==nt}function au(e){return"number"==typeof e&&e==xu(e)}function su(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=Re}function uu(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function cu(e){return null!=e&&"object"==typeof e}function lu(e,t){return e===t||Rr(e,t,Oi(t))}function fu(e,t,n){return n="function"==typeof n?n:oe,Rr(e,t,Oi(t),n)}function pu(e){return yu(e)&&e!=+e}function du(e){if(If(e))throw new ul(se);return Nr(e)}function hu(e){return null===e}function vu(e){return null==e}function yu(e){return"number"==typeof e||cu(e)&&fr(e)==Je}function gu(e){if(!cu(e)||fr(e)!=et)return!1;var t=Al(e);if(null===t)return!0;var n=bl.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&_l.call(n)==Cl}function mu(e){return au(e)&&e>=-Re&&e<=Re}function _u(e){return"string"==typeof e||!wp(e)&&cu(e)&&fr(e)==it}function bu(e){return"symbol"==typeof e||cu(e)&&fr(e)==at}function wu(e){return e===oe}function Eu(e){return cu(e)&&Af(e)==ut}function Tu(e){return cu(e)&&fr(e)==ct}function Cu(e){if(!e)return[];if(Ys(e))return _u(e)?ee(e):qo(e);if(Nl&&e[Nl])return V(e[Nl]());var t=Af(e),n=t==Qe?G:t==ot?X:rc;return n(e)}function Su(e){if(!e)return 0===e?e:0;if(e=ku(e),e===De||e===-De){var t=e<0?-1:1;return t*Ne}return e===e?e:0}function xu(e){var t=Su(e),n=t%1;return t===t?n?t-n:t:0}function Ou(e){return e?Un(xu(e),0,Fe):0}function ku(e){if("number"==typeof e)return e;if(bu(e))return Le;if(uu(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=uu(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(Lt,"");var n=$t.test(e);return n||Yt.test(e)?or(e.slice(2),n?2:8):Kt.test(e)?Le:+e}function Pu(e){return zo(e,Vu(e))}function Mu(e){return e?Un(xu(e),-Re,Re):0===e?e:0}function Au(e){return null==e?"":go(e)}function Iu(e,t){var n=mf(e);return null==t?n:Rn(n,t)}function ju(e,t){return E(e,Si(t,3),nr)}function Du(e,t){return E(e,Si(t,3),ir)}function Ru(e,t){return null==e?e:wf(e,Si(t,3),Vu)}function Nu(e,t){return null==e?e:Ef(e,Si(t,3),Vu)}function Lu(e,t){return e&&nr(e,Si(t,3))}function Fu(e,t){return e&&ir(e,Si(t,3))}function Uu(e){return null==e?[]:ar(e,Hu(e))}function Bu(e){return null==e?[]:ar(e,Vu(e))}function qu(e,t,n){var r=null==e?oe:ur(e,t);return r===oe?n:r}function zu(e,t){return null!=e&&Ii(e,t,_r)}function Wu(e,t){return null!=e&&Ii(e,t,Tr)}function Hu(e){return Ys(e)?On(e):qr(e)}function Vu(e){return Ys(e)?On(e,!0):zr(e)}function Gu(e,t){var n={};return t=Si(t,3),nr(e,function(e,r,o){Ln(n,t(e,r,o),e)}),n}function Ku(e,t){var n={};return t=Si(t,3),nr(e,function(e,r,o){Ln(n,r,t(e,r,o))}),n}function $u(e,t){return Xu(e,Ns(Si(t)))}function Xu(e,t){if(null==e)return{};var n=v(Ei(e),function(e){return[e]});return t=Si(t),Jr(e,n,function(e,n){return t(e,n[0])})}function Yu(e,t,n){t=Oo(t,e);var r=-1,o=t.length;for(o||(o=1,e=oe);++r<o;){var i=null==e?oe:e[ra(t[r])];i===oe&&(r=o,i=n),e=iu(i)?i.call(e):i}return e}function Qu(e,t,n){return null==e?e:uo(e,t,n)}function Ju(e,t,n,r){return r="function"==typeof r?r:oe,null==e?e:uo(e,t,n,r)}function Zu(e,t,n){var r=wp(e),o=r||Tp(e)||kp(e);if(t=Si(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:uu(e)&&iu(i)?mf(Al(e)):{}}return(o?c:nr)(e,function(e,r,o){return t(n,e,r,o)}),n}function ec(e,t){return null==e||_o(e,t)}function tc(e,t,n){return null==e?e:bo(e,t,xo(n))}function nc(e,t,n,r){return r="function"==typeof r?r:oe,null==e?e:bo(e,t,xo(n),r)}function rc(e){return null==e?[]:N(e,Hu(e))}function oc(e){return null==e?[]:N(e,Vu(e))}function ic(e,t,n){return n===oe&&(n=t,t=oe),n!==oe&&(n=ku(n),n=n===n?n:0),t!==oe&&(t=ku(t),t=t===t?t:0),Un(ku(e),t,n)}function ac(e,t,n){return t=Su(t),n===oe?(n=t,t=0):n=Su(n),e=ku(e),Sr(e,t,n)}function sc(e,t,n){if(n&&"boolean"!=typeof n&&Ui(e,t,n)&&(t=n=oe),n===oe&&("boolean"==typeof t?(n=t,t=oe):"boolean"==typeof e&&(n=e,e=oe)),e===oe&&t===oe?(e=0,t=1):(e=Su(e),t===oe?(t=e,e=0):t=Su(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var o=Zl();return Yl(e+o*(t-e+rr("1e-"+((o+"").length-1))),t)}return no(e,t)}function uc(e){return ed(Au(e).toLowerCase())}function cc(e){return e=Au(e),e&&e.replace(Jt,br).replace(Hn,"")}function lc(e,t,n){e=Au(e),t=go(t);var r=e.length;n=n===oe?r:Un(xu(n),0,r);var o=n;return n-=t.length,n>=0&&e.slice(n,o)==t}function fc(e){return e=Au(e),e&&Ot.test(e)?e.replace(St,wr):e}function pc(e){return e=Au(e),e&&Nt.test(e)?e.replace(Rt,"\\$&"):e}function dc(e,t,n){e=Au(e),t=xu(t);var r=t?Z(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return ai(Wl(o),n)+e+ai(zl(o),n)}function hc(e,t,n){e=Au(e),t=xu(t);var r=t?Z(e):0;return t&&r<t?e+ai(t-r,n):e}function vc(e,t,n){e=Au(e),t=xu(t);var r=t?Z(e):0;return t&&r<t?ai(t-r,n)+e:e}function yc(e,t,n){return n||null==t?t=0:t&&(t=+t),Jl(Au(e).replace(Ft,""),t||0)}function gc(e,t,n){return t=(n?Ui(e,t,n):t===oe)?1:xu(t),oo(Au(e),t)}function mc(){var e=arguments,t=Au(e[0]);return e.length<3?t:t.replace(e[1],e[2])}function _c(e,t,n){return n&&"number"!=typeof n&&Ui(e,t,n)&&(t=n=oe),(n=n===oe?Fe:n>>>0)?(e=Au(e),e&&("string"==typeof t||null!=t&&!xp(t))&&(t=go(t),!t&&W(e))?ko(ee(e),0,n):e.split(t,n)):[]}function bc(e,t,n){return e=Au(e),n=null==n?0:Un(xu(n),0,e.length),t=go(t),e.slice(n,n+t.length)==t}function wc(e,t,r){var o=n.templateSettings;r&&Ui(e,t,r)&&(t=oe),e=Au(e),t=jp({},t,o,hi);var i,a,s=jp({},t.imports,o.imports,hi),u=Hu(s),c=N(s,u),l=0,f=t.interpolate||Zt,p="__p += '",d=pl((t.escape||Zt).source+"|"+f.source+"|"+(f===Mt?Vt:Zt).source+"|"+(t.evaluate||Zt).source+"|$","g"),h="//# sourceURL="+("sourceURL"in t?t.sourceURL:"lodash.templateSources["+ ++Yn+"]")+"\n";e.replace(d,function(t,n,r,o,s,u){return r||(r=o),p+=e.slice(l,u).replace(en,q),n&&(i=!0,p+="' +\n__e("+n+") +\n'"),s&&(a=!0,p+="';\n"+s+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=u+t.length,t}),p+="';\n";var v=t.variable;v||(p="with (obj) {\n"+p+"\n}\n"),p=(a?p.replace(wt,""):p).replace(Et,"$1").replace(Tt,"$1;"),p="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var y=td(function(){return cl(u,h+"return "+p).apply(oe,c)});if(y.source=p,ru(y))throw y;return y}function Ec(e){return Au(e).toLowerCase()}function Tc(e){return Au(e).toUpperCase()}function Cc(e,t,n){if(e=Au(e),e&&(n||t===oe))return e.replace(Lt,"");if(!e||!(t=go(t)))return e;var r=ee(e),o=ee(t),i=F(r,o),a=U(r,o)+1;return ko(r,i,a).join("")}function Sc(e,t,n){if(e=Au(e),e&&(n||t===oe))return e.replace(Ut,"");if(!e||!(t=go(t)))return e;var r=ee(e),o=U(r,ee(t))+1;return ko(r,0,o).join("")}function xc(e,t,n){if(e=Au(e),e&&(n||t===oe))return e.replace(Ft,"");if(!e||!(t=go(t)))return e;var r=ee(e),o=F(r,ee(t));return ko(r,o).join("")}function Oc(e,t){var n=Oe,r=ke;if(uu(t)){var o="separator"in t?t.separator:o;n="length"in t?xu(t.length):n,r="omission"in t?go(t.omission):r}e=Au(e);var i=e.length;if(W(e)){var a=ee(e);i=a.length}if(n>=i)return e;var s=n-Z(r);if(s<1)return r;var u=a?ko(a,0,s).join(""):e.slice(0,s);if(o===oe)return u+r;if(a&&(s+=u.length-s),xp(o)){if(e.slice(s).search(o)){var c,l=u;for(o.global||(o=pl(o.source,Au(Gt.exec(o))+"g")),o.lastIndex=0;c=o.exec(l);)var f=c.index;u=u.slice(0,f===oe?s:f)}}else if(e.indexOf(go(o),s)!=s){var p=u.lastIndexOf(o);p>-1&&(u=u.slice(0,p))}return u+r}function kc(e){return e=Au(e),e&&xt.test(e)?e.replace(Ct,Er):e}function Pc(e,t,n){return e=Au(e),t=n?oe:t,t===oe?H(e)?re(e):w(e):e.match(t)||[]}function Mc(e){var t=null==e?0:e.length,n=Si();return e=t?v(e,function(e){if("function"!=typeof e[1])throw new hl(ue);return[n(e[0]),e[1]]}):[],io(function(n){for(var r=-1;++r<t;){var o=e[r];if(s(o[0],this,n))return s(o[1],this,n)}})}function Ac(e){return qn(Bn(e,pe))}function Ic(e){return function(){return e}}function jc(e,t){return null==e||e!==e?t:e}function Dc(e){return e}function Rc(e){return Br("function"==typeof e?e:Bn(e,pe))}function Nc(e){return Vr(Bn(e,pe))}function Lc(e,t){return Gr(e,Bn(t,pe))}function Fc(e,t,n){var r=Hu(t),o=ar(t,r);null!=n||uu(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=ar(t,Hu(t)));var i=!(uu(n)&&"chain"in n&&!n.chain),a=iu(e);return c(o,function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),o=n.__actions__=qo(this.__actions__);return o.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,y([this.value()],arguments))})}),e}function Uc(){return sr._===this&&(sr._=Sl),this}function Bc(){}function qc(e){return e=xu(e),io(function(t){return Xr(t,e)})}function zc(e){return Bi(e)?k(ra(e)):Zr(e)}function Wc(e){return function(t){return null==e?oe:ur(e,t)}}function Hc(){return[]}function Vc(){return!1}function Gc(){return{}}function Kc(){return""}function $c(){return!0}function Xc(e,t){if(e=xu(e),e<1||e>Re)return[];var n=Fe,r=Yl(e,Fe);t=Si(t),e-=Fe;for(var o=j(r,t);++n<e;)t(n);return o}function Yc(e){return wp(e)?v(e,ra):bu(e)?[e]:qo(Nf(Au(e)))}function Qc(e){var t=++wl;return Au(e)+t}function Jc(e){return e&&e.length?$n(e,Dc,pr):oe}function Zc(e,t){return e&&e.length?$n(e,Si(t,2),pr):oe}function el(e){return O(e,Dc)}function tl(e,t){return O(e,Si(t,2))}function nl(e){return e&&e.length?$n(e,Dc,Wr):oe}function rl(e,t){return e&&e.length?$n(e,Si(t,2),Wr):oe}function ol(e){return e&&e.length?I(e,Dc):0}function il(e,t){return e&&e.length?I(e,Si(t,2)):0}t=null==t?sr:Cr.defaults(sr.Object(),t,Cr.pick(sr,Xn));var al=t.Array,sl=t.Date,ul=t.Error,cl=t.Function,ll=t.Math,fl=t.Object,pl=t.RegExp,dl=t.String,hl=t.TypeError,vl=al.prototype,yl=cl.prototype,gl=fl.prototype,ml=t["__core-js_shared__"],_l=yl.toString,bl=gl.hasOwnProperty,wl=0,El=function(){var e=/[^.]+$/.exec(ml&&ml.keys&&ml.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Tl=gl.toString,Cl=_l.call(fl),Sl=sr._,xl=pl("^"+_l.call(bl).replace(Rt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ol=lr?t.Buffer:oe,kl=t.Symbol,Pl=t.Uint8Array,Ml=Ol?Ol.allocUnsafe:oe,Al=K(fl.getPrototypeOf,fl),Il=fl.create,jl=gl.propertyIsEnumerable,Dl=vl.splice,Rl=kl?kl.isConcatSpreadable:oe,Nl=kl?kl.iterator:oe,Ll=kl?kl.toStringTag:oe,Fl=function(){try{var e=ki(fl,"defineProperty");return e({},"",{}),e}catch(e){}}(),Ul=t.clearTimeout!==sr.clearTimeout&&t.clearTimeout,Bl=sl&&sl.now!==sr.Date.now&&sl.now,ql=t.setTimeout!==sr.setTimeout&&t.setTimeout,zl=ll.ceil,Wl=ll.floor,Hl=fl.getOwnPropertySymbols,Vl=Ol?Ol.isBuffer:oe,Gl=t.isFinite,Kl=vl.join,$l=K(fl.keys,fl),Xl=ll.max,Yl=ll.min,Ql=sl.now,Jl=t.parseInt,Zl=ll.random,ef=vl.reverse,tf=ki(t,"DataView"),nf=ki(t,"Map"),rf=ki(t,"Promise"),of=ki(t,"Set"),af=ki(t,"WeakMap"),sf=ki(fl,"create"),uf=af&&new af,cf={},lf=oa(tf),ff=oa(nf),pf=oa(rf),df=oa(of),hf=oa(af),vf=kl?kl.prototype:oe,yf=vf?vf.valueOf:oe,gf=vf?vf.toString:oe,mf=function(){function e(){}return function(t){if(!uu(t))return{};if(Il)return Il(t);e.prototype=t;var n=new e;return e.prototype=oe,n}}();n.templateSettings={escape:kt,evaluate:Pt,interpolate:Mt,variable:"",imports:{_:n}},n.prototype=r.prototype,n.prototype.constructor=n,o.prototype=mf(r.prototype),o.prototype.constructor=o,b.prototype=mf(r.prototype),b.prototype.constructor=b,ne.prototype.clear=Wt,ne.prototype.delete=tn,ne.prototype.get=nn,ne.prototype.has=rn,ne.prototype.set=on,an.prototype.clear=sn,an.prototype.delete=un,an.prototype.get=cn,an.prototype.has=ln,an.prototype.set=fn,pn.prototype.clear=dn,pn.prototype.delete=hn,pn.prototype.get=vn,pn.prototype.has=yn,pn.prototype.set=gn,mn.prototype.add=mn.prototype.push=_n,mn.prototype.has=bn,wn.prototype.clear=En,wn.prototype.delete=Tn,wn.prototype.get=Cn,wn.prototype.has=Sn,wn.prototype.set=xn;var _f=Ko(nr),bf=Ko(ir,!0),wf=$o(),Ef=$o(!0),Tf=uf?function(e,t){return uf.set(e,t),e}:Dc,Cf=Fl?function(e,t){return Fl(e,"toString",{configurable:!0,enumerable:!1,value:Ic(t),writable:!0})}:Dc,Sf=io,xf=Ul||function(e){return sr.clearTimeout(e)},Of=of&&1/X(new of([,-0]))[1]==De?function(e){return new of(e)}:Bc,kf=uf?function(e){return uf.get(e)}:Bc,Pf=Hl?function(e){return null==e?[]:(e=fl(e),p(Hl(e),function(t){return jl.call(e,t)}))}:Hc,Mf=Hl?function(e){for(var t=[];e;)y(t,Pf(e)),e=Al(e);return t}:Hc,Af=fr;(tf&&Af(new tf(new ArrayBuffer(1)))!=ft||nf&&Af(new nf)!=Qe||rf&&Af(rf.resolve())!=tt||of&&Af(new of)!=ot||af&&Af(new af)!=ut)&&(Af=function(e){var t=fr(e),n=t==et?e.constructor:oe,r=n?oa(n):"";if(r)switch(r){case lf:return ft;case ff:return Qe;case pf:return tt;case df:return ot;case hf:return ut}return t});var If=ml?iu:Vc,jf=ta(Tf),Df=ql||function(e,t){return sr.setTimeout(e,t)},Rf=ta(Cf),Nf=Ki(function(e){var t=[];return jt.test(e)&&t.push(""),e.replace(Dt,function(e,n,r,o){t.push(r?o.replace(Ht,"$1"):n||e)}),t}),Lf=io(function(e,t){return Qs(e)?Gn(e,tr(t,1,Qs,!0)):[]}),Ff=io(function(e,t){var n=Sa(t);return Qs(n)&&(n=oe),Qs(e)?Gn(e,tr(t,1,Qs,!0),Si(n,2)):[]}),Uf=io(function(e,t){var n=Sa(t);return Qs(n)&&(n=oe),Qs(e)?Gn(e,tr(t,1,Qs,!0),oe,n):[]}),Bf=io(function(e){var t=v(e,So);return t.length&&t[0]===e[0]?xr(t):[]}),qf=io(function(e){var t=Sa(e),n=v(e,So);return t===Sa(n)?t=oe:n.pop(),n.length&&n[0]===e[0]?xr(n,Si(t,2)):[]}),zf=io(function(e){var t=Sa(e),n=v(e,So);return t="function"==typeof t?t:oe,t&&n.pop(),n.length&&n[0]===e[0]?xr(n,oe,t):[]}),Wf=io(ka),Hf=bi(function(e,t){var n=null==e?0:e.length,r=Fn(e,t);return to(e,v(t,function(e){return Fi(e,n)?+e:e}).sort(Lo)),r}),Vf=io(function(e){return mo(tr(e,1,Qs,!0))}),Gf=io(function(e){var t=Sa(e);return Qs(t)&&(t=oe),mo(tr(e,1,Qs,!0),Si(t,2))}),Kf=io(function(e){var t=Sa(e);return t="function"==typeof t?t:oe,mo(tr(e,1,Qs,!0),oe,t)}),$f=io(function(e,t){return Qs(e)?Gn(e,t):[]}),Xf=io(function(e){return To(p(e,Qs))}),Yf=io(function(e){var t=Sa(e);return Qs(t)&&(t=oe),To(p(e,Qs),Si(t,2))}),Qf=io(function(e){var t=Sa(e);return t="function"==typeof t?t:oe,To(p(e,Qs),oe,t)}),Jf=io(Ya),Zf=io(function(e){var t=e.length,n=t>1?e[t-1]:oe;return n="function"==typeof n?(e.pop(),n):oe,Qa(e,n)}),ep=bi(function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return Fn(t,e)};return!(t>1||this.__actions__.length)&&r instanceof b&&Fi(n)?(r=r.slice(n,+n+(t?1:0)),r.__actions__.push({func:ns,args:[i],thisArg:oe}),new o(r,this.__chain__).thru(function(e){return t&&!e.length&&e.push(oe),e})):this.thru(i)}),tp=Vo(function(e,t,n){bl.call(e,n)?++e[n]:Ln(e,n,1)}),np=ei(va),rp=ei(ya),op=Vo(function(e,t,n){bl.call(e,n)?e[n].push(t):Ln(e,n,[t])}),ip=io(function(e,t,n){var r=-1,o="function"==typeof t,i=Ys(e)?al(e.length):[];return _f(e,function(e){i[++r]=o?s(t,e,n):kr(e,t,n)}),i}),ap=Vo(function(e,t,n){Ln(e,n,t)}),sp=Vo(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),up=io(function(e,t){if(null==e)return[];var n=t.length;return n>1&&Ui(e,t[0],t[1])?t=[]:n>2&&Ui(t[0],t[1],t[2])&&(t=[t[0]]),Yr(e,tr(t,1),[])}),cp=Bl||function(){return sr.Date.now()},lp=io(function(e,t,n){var r=ge;if(n.length){var o=$(n,Ci(lp));r|=Ee}return di(e,r,t,n,o)}),fp=io(function(e,t,n){var r=ge|me;if(n.length){var o=$(n,Ci(fp));r|=Ee}return di(t,r,e,n,o)}),pp=io(function(e,t){return Vn(e,1,t)}),dp=io(function(e,t,n){return Vn(e,ku(t)||0,n)});Rs.Cache=pn;var hp=Sf(function(e,t){t=1==t.length&&wp(t[0])?v(t[0],R(Si())):v(tr(t,1),R(Si()));var n=t.length;return io(function(r){for(var o=-1,i=Yl(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return s(e,this,r)})}),vp=io(function(e,t){var n=$(t,Ci(vp));return di(e,Ee,oe,t,n)}),yp=io(function(e,t){var n=$(t,Ci(yp));return di(e,Te,oe,t,n);
-}),gp=bi(function(e,t){return di(e,Se,oe,oe,oe,t)}),mp=ci(pr),_p=ci(function(e,t){return e>=t}),bp=Pr(function(){return arguments}())?Pr:function(e){return cu(e)&&bl.call(e,"callee")&&!jl.call(e,"callee")},wp=al.isArray,Ep=dr?R(dr):Mr,Tp=Vl||Vc,Cp=hr?R(hr):Ar,Sp=vr?R(vr):Dr,xp=yr?R(yr):Lr,Op=gr?R(gr):Fr,kp=mr?R(mr):Ur,Pp=ci(Wr),Mp=ci(function(e,t){return e<=t}),Ap=Go(function(e,t){if(Hi(t)||Ys(t))return void zo(t,Hu(t),e);for(var n in t)bl.call(t,n)&&In(e,n,t[n])}),Ip=Go(function(e,t){zo(t,Vu(t),e)}),jp=Go(function(e,t,n,r){zo(t,Vu(t),e,r)}),Dp=Go(function(e,t,n,r){zo(t,Hu(t),e,r)}),Rp=bi(Fn),Np=io(function(e){return e.push(oe,hi),s(jp,oe,e)}),Lp=io(function(e){return e.push(oe,vi),s(zp,oe,e)}),Fp=ri(function(e,t,n){e[t]=n},Ic(Dc)),Up=ri(function(e,t,n){bl.call(e,t)?e[t].push(n):e[t]=[n]},Si),Bp=io(kr),qp=Go(function(e,t,n){Kr(e,t,n)}),zp=Go(function(e,t,n,r){Kr(e,t,n,r)}),Wp=bi(function(e,t){var n={};if(null==e)return n;var r=!1;t=v(t,function(t){return t=Oo(t,e),r||(r=t.length>1),t}),zo(e,Ei(e),n),r&&(n=Bn(n,pe|de|he,yi));for(var o=t.length;o--;)_o(n,t[o]);return n}),Hp=bi(function(e,t){return null==e?{}:Qr(e,t)}),Vp=pi(Hu),Gp=pi(Vu),Kp=Qo(function(e,t,n){return t=t.toLowerCase(),e+(n?uc(t):t)}),$p=Qo(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),Xp=Qo(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),Yp=Yo("toLowerCase"),Qp=Qo(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}),Jp=Qo(function(e,t,n){return e+(n?" ":"")+ed(t)}),Zp=Qo(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),ed=Yo("toUpperCase"),td=io(function(e,t){try{return s(e,oe,t)}catch(e){return ru(e)?e:new ul(e)}}),nd=bi(function(e,t){return c(t,function(t){t=ra(t),Ln(e,t,lp(e[t],e))}),e}),rd=ti(),od=ti(!0),id=io(function(e,t){return function(n){return kr(n,e,t)}}),ad=io(function(e,t){return function(n){return kr(e,n,t)}}),sd=ii(v),ud=ii(f),cd=ii(_),ld=ui(),fd=ui(!0),pd=oi(function(e,t){return e+t},0),dd=fi("ceil"),hd=oi(function(e,t){return e/t},1),vd=fi("floor"),yd=oi(function(e,t){return e*t},1),gd=fi("round"),md=oi(function(e,t){return e-t},0);return n.after=ks,n.ary=Ps,n.assign=Ap,n.assignIn=Ip,n.assignInWith=jp,n.assignWith=Dp,n.at=Rp,n.before=Ms,n.bind=lp,n.bindAll=nd,n.bindKey=fp,n.castArray=Ws,n.chain=es,n.chunk=sa,n.compact=ua,n.concat=ca,n.cond=Mc,n.conforms=Ac,n.constant=Ic,n.countBy=tp,n.create=Iu,n.curry=As,n.curryRight=Is,n.debounce=js,n.defaults=Np,n.defaultsDeep=Lp,n.defer=pp,n.delay=dp,n.difference=Lf,n.differenceBy=Ff,n.differenceWith=Uf,n.drop=la,n.dropRight=fa,n.dropRightWhile=pa,n.dropWhile=da,n.fill=ha,n.filter=fs,n.flatMap=ps,n.flatMapDeep=ds,n.flatMapDepth=hs,n.flatten=ga,n.flattenDeep=ma,n.flattenDepth=_a,n.flip=Ds,n.flow=rd,n.flowRight=od,n.fromPairs=ba,n.functions=Uu,n.functionsIn=Bu,n.groupBy=op,n.initial=Ta,n.intersection=Bf,n.intersectionBy=qf,n.intersectionWith=zf,n.invert=Fp,n.invertBy=Up,n.invokeMap=ip,n.iteratee=Rc,n.keyBy=ap,n.keys=Hu,n.keysIn=Vu,n.map=ms,n.mapKeys=Gu,n.mapValues=Ku,n.matches=Nc,n.matchesProperty=Lc,n.memoize=Rs,n.merge=qp,n.mergeWith=zp,n.method=id,n.methodOf=ad,n.mixin=Fc,n.negate=Ns,n.nthArg=qc,n.omit=Wp,n.omitBy=$u,n.once=Ls,n.orderBy=_s,n.over=sd,n.overArgs=hp,n.overEvery=ud,n.overSome=cd,n.partial=vp,n.partialRight=yp,n.partition=sp,n.pick=Hp,n.pickBy=Xu,n.property=zc,n.propertyOf=Wc,n.pull=Wf,n.pullAll=ka,n.pullAllBy=Pa,n.pullAllWith=Ma,n.pullAt=Hf,n.range=ld,n.rangeRight=fd,n.rearg=gp,n.reject=Es,n.remove=Aa,n.rest=Fs,n.reverse=Ia,n.sampleSize=Cs,n.set=Qu,n.setWith=Ju,n.shuffle=Ss,n.slice=ja,n.sortBy=up,n.sortedUniq=Ba,n.sortedUniqBy=qa,n.split=_c,n.spread=Us,n.tail=za,n.take=Wa,n.takeRight=Ha,n.takeRightWhile=Va,n.takeWhile=Ga,n.tap=ts,n.throttle=Bs,n.thru=ns,n.toArray=Cu,n.toPairs=Vp,n.toPairsIn=Gp,n.toPath=Yc,n.toPlainObject=Pu,n.transform=Zu,n.unary=qs,n.union=Vf,n.unionBy=Gf,n.unionWith=Kf,n.uniq=Ka,n.uniqBy=$a,n.uniqWith=Xa,n.unset=ec,n.unzip=Ya,n.unzipWith=Qa,n.update=tc,n.updateWith=nc,n.values=rc,n.valuesIn=oc,n.without=$f,n.words=Pc,n.wrap=zs,n.xor=Xf,n.xorBy=Yf,n.xorWith=Qf,n.zip=Jf,n.zipObject=Ja,n.zipObjectDeep=Za,n.zipWith=Zf,n.entries=Vp,n.entriesIn=Gp,n.extend=Ip,n.extendWith=jp,Fc(n,n),n.add=pd,n.attempt=td,n.camelCase=Kp,n.capitalize=uc,n.ceil=dd,n.clamp=ic,n.clone=Hs,n.cloneDeep=Gs,n.cloneDeepWith=Ks,n.cloneWith=Vs,n.conformsTo=$s,n.deburr=cc,n.defaultTo=jc,n.divide=hd,n.endsWith=lc,n.eq=Xs,n.escape=fc,n.escapeRegExp=pc,n.every=ls,n.find=np,n.findIndex=va,n.findKey=ju,n.findLast=rp,n.findLastIndex=ya,n.findLastKey=Du,n.floor=vd,n.forEach=vs,n.forEachRight=ys,n.forIn=Ru,n.forInRight=Nu,n.forOwn=Lu,n.forOwnRight=Fu,n.get=qu,n.gt=mp,n.gte=_p,n.has=zu,n.hasIn=Wu,n.head=wa,n.identity=Dc,n.includes=gs,n.indexOf=Ea,n.inRange=ac,n.invoke=Bp,n.isArguments=bp,n.isArray=wp,n.isArrayBuffer=Ep,n.isArrayLike=Ys,n.isArrayLikeObject=Qs,n.isBoolean=Js,n.isBuffer=Tp,n.isDate=Cp,n.isElement=Zs,n.isEmpty=eu,n.isEqual=tu,n.isEqualWith=nu,n.isError=ru,n.isFinite=ou,n.isFunction=iu,n.isInteger=au,n.isLength=su,n.isMap=Sp,n.isMatch=lu,n.isMatchWith=fu,n.isNaN=pu,n.isNative=du,n.isNil=vu,n.isNull=hu,n.isNumber=yu,n.isObject=uu,n.isObjectLike=cu,n.isPlainObject=gu,n.isRegExp=xp,n.isSafeInteger=mu,n.isSet=Op,n.isString=_u,n.isSymbol=bu,n.isTypedArray=kp,n.isUndefined=wu,n.isWeakMap=Eu,n.isWeakSet=Tu,n.join=Ca,n.kebabCase=$p,n.last=Sa,n.lastIndexOf=xa,n.lowerCase=Xp,n.lowerFirst=Yp,n.lt=Pp,n.lte=Mp,n.max=Jc,n.maxBy=Zc,n.mean=el,n.meanBy=tl,n.min=nl,n.minBy=rl,n.stubArray=Hc,n.stubFalse=Vc,n.stubObject=Gc,n.stubString=Kc,n.stubTrue=$c,n.multiply=yd,n.nth=Oa,n.noConflict=Uc,n.noop=Bc,n.now=cp,n.pad=dc,n.padEnd=hc,n.padStart=vc,n.parseInt=yc,n.random=sc,n.reduce=bs,n.reduceRight=ws,n.repeat=gc,n.replace=mc,n.result=Yu,n.round=gd,n.runInContext=e,n.sample=Ts,n.size=xs,n.snakeCase=Qp,n.some=Os,n.sortedIndex=Da,n.sortedIndexBy=Ra,n.sortedIndexOf=Na,n.sortedLastIndex=La,n.sortedLastIndexBy=Fa,n.sortedLastIndexOf=Ua,n.startCase=Jp,n.startsWith=bc,n.subtract=md,n.sum=ol,n.sumBy=il,n.template=wc,n.times=Xc,n.toFinite=Su,n.toInteger=xu,n.toLength=Ou,n.toLower=Ec,n.toNumber=ku,n.toSafeInteger=Mu,n.toString=Au,n.toUpper=Tc,n.trim=Cc,n.trimEnd=Sc,n.trimStart=xc,n.truncate=Oc,n.unescape=kc,n.uniqueId=Qc,n.upperCase=Zp,n.upperFirst=ed,n.each=vs,n.eachRight=ys,n.first=wa,Fc(n,function(){var e={};return nr(n,function(t,r){bl.call(n.prototype,r)||(e[r]=t)}),e}(),{chain:!1}),n.VERSION=ie,c(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){n[e].placeholder=n}),c(["drop","take"],function(e,t){b.prototype[e]=function(n){n=n===oe?1:Xl(xu(n),0);var r=this.__filtered__&&!t?new b(this):this.clone();return r.__filtered__?r.__takeCount__=Yl(n,r.__takeCount__):r.__views__.push({size:Yl(n,Fe),type:e+(r.__dir__<0?"Right":"")}),r},b.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),c(["filter","map","takeWhile"],function(e,t){var n=t+1,r=n==Ae||n==je;b.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Si(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),c(["head","last"],function(e,t){var n="take"+(t?"Right":"");b.prototype[e]=function(){return this[n](1).value()[0]}}),c(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");b.prototype[e]=function(){return this.__filtered__?new b(this):this[n](1)}}),b.prototype.compact=function(){return this.filter(Dc)},b.prototype.find=function(e){return this.filter(e).head()},b.prototype.findLast=function(e){return this.reverse().find(e)},b.prototype.invokeMap=io(function(e,t){return"function"==typeof e?new b(this):this.map(function(n){return kr(n,e,t)})}),b.prototype.reject=function(e){return this.filter(Ns(Si(e)))},b.prototype.slice=function(e,t){e=xu(e);var n=this;return n.__filtered__&&(e>0||t<0)?new b(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==oe&&(t=xu(t),n=t<0?n.dropRight(-t):n.take(t-e)),n)},b.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},b.prototype.toArray=function(){return this.take(Fe)},nr(b.prototype,function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),a=n[i?"take"+("last"==t?"Right":""):t],s=i||/^find/.test(t);a&&(n.prototype[t]=function(){var t=this.__wrapped__,u=i?[1]:arguments,c=t instanceof b,l=u[0],f=c||wp(t),p=function(e){var t=a.apply(n,y([e],u));return i&&d?t[0]:t};f&&r&&"function"==typeof l&&1!=l.length&&(c=f=!1);var d=this.__chain__,h=!!this.__actions__.length,v=s&&!d,g=c&&!h;if(!s&&f){t=g?t:new b(this);var m=e.apply(t,u);return m.__actions__.push({func:ns,args:[p],thisArg:oe}),new o(m,d)}return v&&g?e.apply(this,u):(m=this.thru(p),v?i?m.value()[0]:m.value():m)})}),c(["pop","push","shift","sort","splice","unshift"],function(e){var t=vl[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",o=/^(?:pop|shift)$/.test(e);n.prototype[e]=function(){var e=arguments;if(o&&!this.__chain__){var n=this.value();return t.apply(wp(n)?n:[],e)}return this[r](function(n){return t.apply(wp(n)?n:[],e)})}}),nr(b.prototype,function(e,t){var r=n[t];if(r){var o=r.name+"",i=cf[o]||(cf[o]=[]);i.push({name:t,func:r})}}),cf[ni(oe,me).name]=[{name:"wrapper",func:oe}],b.prototype.clone=P,b.prototype.reverse=Q,b.prototype.value=te,n.prototype.at=ep,n.prototype.chain=rs,n.prototype.commit=os,n.prototype.next=is,n.prototype.plant=ss,n.prototype.reverse=us,n.prototype.toJSON=n.prototype.valueOf=n.prototype.value=cs,n.prototype.first=n.prototype.head,Nl&&(n.prototype[Nl]=as),n},Cr=Tr();sr._=Cr,r=function(){return Cr}.call(t,n,t,o),!(r!==oe&&(o.exports=r))}).call(this)}).call(t,function(){return this}(),n(203)(e))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(336),i=r(o);t.default=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,i.default)(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(542),i=r(o),a=n(540),s=r(a),u=n(219),c=r(u);t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+("undefined"==typeof t?"undefined":(0,c.default)(t)));e.prototype=(0,s.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(i.default?(0,i.default)(e,t):e.__proto__=t)}},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var a=n(29),s=o(a),u=n(22),c=r(u),l=n(19),f=r(l),p=n(127),d=r(p),h=n(81),v=r(h),y=n(44),g=o(y),m=n(128),_=o(m),b=n(74),w=o(b),E=function(){function e(t,n,r){if(i(this,e),!t&&this.play?this.player_=t=this:this.player_=t,this.options_=(0,w.default)({},this.options_),n=this.options_=(0,w.default)(this.options_,n),this.id_=n.id||n.el&&n.el.id,!this.id_){var o=t&&t.id&&t.id()||"no_player";this.id_=o+"_component_"+d.newGUID()}this.name_=n.name||null,n.el?this.el_=n.el:n.createEl!==!1&&(this.el_=this.createEl()),this.children_=[],this.childIndex_={},this.childNameIndex_={},n.initChildren!==!1&&this.initChildren(),this.ready(r),n.reportTouchActivity!==!1&&this.enableTouchActivity()}return e.prototype.dispose=function(){if(this.trigger({type:"dispose",bubbles:!1}),this.children_)for(var e=this.children_.length-1;e>=0;e--)this.children_[e].dispose&&this.children_[e].dispose();this.children_=null,this.childIndex_=null,this.childNameIndex_=null,this.off(),this.el_.parentNode&&this.el_.parentNode.removeChild(this.el_),c.removeElData(this.el_),this.el_=null},e.prototype.player=function(){return this.player_},e.prototype.options=function(e){return g.default.warn("this.options() has been deprecated and will be moved to the constructor in 6.0"),e?(this.options_=(0,w.default)(this.options_,e),this.options_):this.options_},e.prototype.el=function(){return this.el_},e.prototype.createEl=function(e,t,n){return c.createEl(e,t,n)},e.prototype.localize=function(e){var t=this.player_.language&&this.player_.language(),n=this.player_.languages&&this.player_.languages();if(!t||!n)return e;var r=n[t];if(r&&r[e])return r[e];var o=t.split("-")[0],i=n[o];return i&&i[e]?i[e]:e},e.prototype.contentEl=function(){return this.contentEl_||this.el_},e.prototype.id=function(){return this.id_},e.prototype.name=function(){return this.name_},e.prototype.children=function(){return this.children_},e.prototype.getChildById=function(e){return this.childIndex_[e]},e.prototype.getChild=function(e){if(e)return e=(0,_.default)(e),this.childNameIndex_[e]},e.prototype.addChild=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.children_.length,o=void 0,i=void 0;if("string"==typeof t){i=(0,_.default)(t),n||(n={}),n===!0&&(g.default.warn("Initializing a child component with `true` is deprecated.Children should be defined in an array when possible, but if necessary use an object instead of `true`."),n={});var a=n.componentClass||i;n.name=i;var s=e.getComponent(a);if(!s)throw new Error("Component "+a+" does not exist");if("function"!=typeof s)return null;o=new s(this.player_||this,n)}else o=t;if(this.children_.splice(r,0,o),"function"==typeof o.id&&(this.childIndex_[o.id()]=o),i=i||o.name&&(0,_.default)(o.name()),i&&(this.childNameIndex_[i]=o),"function"==typeof o.el&&o.el()){var u=this.contentEl().children,c=u[r]||null;this.contentEl().insertBefore(o.el(),c)}return o},e.prototype.removeChild=function(e){if("string"==typeof e&&(e=this.getChild(e)),e&&this.children_){for(var t=!1,n=this.children_.length-1;n>=0;n--)if(this.children_[n]===e){t=!0,this.children_.splice(n,1);break}if(t){this.childIndex_[e.id()]=null,this.childNameIndex_[e.name()]=null;var r=e.el();r&&r.parentNode===this.contentEl()&&this.contentEl().removeChild(e.el())}}},e.prototype.initChildren=function(){var t=this,n=this.options_.children;if(n){var r=this.options_,o=function(e){var n=e.name,o=e.opts;if(void 0!==r[n]&&(o=r[n]),o!==!1){o===!0&&(o={}),o.playerOptions=t.options_.playerOptions;var i=t.addChild(n,o);i&&(t[n]=i)}},i=void 0,a=e.getComponent("Tech");i=Array.isArray(n)?n:Object.keys(n),i.concat(Object.keys(this.options_).filter(function(e){return!i.some(function(t){return"string"==typeof t?e===t:e===t.name})})).map(function(e){var r=void 0,o=void 0;return"string"==typeof e?(r=e,o=n[r]||t.options_[r]||{}):(r=e.name,o=e),{name:r,opts:o}}).filter(function(t){var n=e.getComponent(t.opts.componentClass||(0,_.default)(t.name));return n&&!a.isTech(n)}).forEach(o)}},e.prototype.buildCSSClass=function(){return""},e.prototype.on=function(e,t,n){var r=this;if("string"==typeof e||Array.isArray(e))v.on(this.el_,e,f.bind(this,t));else{var o=e,i=t,a=f.bind(this,n),s=function(){return r.off(o,i,a)};s.guid=a.guid,this.on("dispose",s);var u=function(){return r.off("dispose",s)};u.guid=a.guid,e.nodeName?(v.on(o,i,a),v.on(o,"dispose",u)):"function"==typeof e.on&&(o.on(i,a),o.on("dispose",u))}return this},e.prototype.off=function(e,t,n){if(!e||"string"==typeof e||Array.isArray(e))v.off(this.el_,e,t);else{var r=e,o=t,i=f.bind(this,n);this.off("dispose",i),e.nodeName?(v.off(r,o,i),v.off(r,"dispose",i)):(r.off(o,i),r.off("dispose",i))}return this},e.prototype.one=function(e,t,n){var r=this,o=arguments;if("string"==typeof e||Array.isArray(e))v.one(this.el_,e,f.bind(this,t));else{var i=e,a=t,s=f.bind(this,n),u=function e(){r.off(i,a,e),s.apply(null,o)};u.guid=s.guid,this.on(i,a,u)}return this},e.prototype.trigger=function(e,t){return v.trigger(this.el_,e,t),this},e.prototype.ready=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(this.isReady_?t?e.call(this):this.setTimeout(e,1):(this.readyQueue_=this.readyQueue_||[],this.readyQueue_.push(e))),this},e.prototype.triggerReady=function(){this.isReady_=!0,this.setTimeout(function(){var e=this.readyQueue_;this.readyQueue_=[],e&&e.length>0&&e.forEach(function(e){e.call(this)},this),this.trigger("ready")},1)},e.prototype.$=function(e,t){return c.$(e,t||this.contentEl())},e.prototype.$$=function(e,t){return c.$$(e,t||this.contentEl())},e.prototype.hasClass=function(e){return c.hasElClass(this.el_,e)},e.prototype.addClass=function(e){return c.addElClass(this.el_,e),this},e.prototype.removeClass=function(e){return c.removeElClass(this.el_,e),this},e.prototype.toggleClass=function(e,t){return c.toggleElClass(this.el_,e,t),this},e.prototype.show=function(){return this.removeClass("vjs-hidden"),this},e.prototype.hide=function(){return this.addClass("vjs-hidden"),this},e.prototype.lockShowing=function(){return this.addClass("vjs-lock-showing"),this},e.prototype.unlockShowing=function(){return this.removeClass("vjs-lock-showing"),this},e.prototype.getAttribute=function(e){return c.getAttribute(this.el_,e)},e.prototype.setAttribute=function(e,t){return c.setAttribute(this.el_,e,t),this},e.prototype.removeAttribute=function(e){return c.removeAttribute(this.el_,e),this},e.prototype.width=function(e,t){return this.dimension("width",e,t)},e.prototype.height=function(e,t){return this.dimension("height",e,t)},e.prototype.dimensions=function(e,t){return this.width(e,!0).height(t)},e.prototype.dimension=function(e,t,n){if(void 0!==t)return null!==t&&t===t||(t=0),(""+t).indexOf("%")!==-1||(""+t).indexOf("px")!==-1?this.el_.style[e]=t:"auto"===t?this.el_.style[e]="":this.el_.style[e]=t+"px",n||this.trigger("resize"),this;if(!this.el_)return 0;var r=this.el_.style[e],o=r.indexOf("px");return o!==-1?parseInt(r.slice(0,o),10):parseInt(this.el_["offset"+(0,_.default)(e)],10)},e.prototype.currentDimension=function(e){var t=0;if("width"!==e&&"height"!==e)throw new Error("currentDimension only accepts width or height value");if("function"==typeof s.default.getComputedStyle){var n=s.default.getComputedStyle(this.el_);t=n.getPropertyValue(e)||n[e]}if(t=parseFloat(t),0===t){var r="offset"+(0,_.default)(e);t=this.el_[r]}return t},e.prototype.currentDimensions=function(){return{width:this.currentDimension("width"),height:this.currentDimension("height")}},e.prototype.currentWidth=function(){return this.currentDimension("width")},e.prototype.currentHeight=function(){return this.currentDimension("height")},e.prototype.focus=function(){this.el_.focus()},e.prototype.blur=function(){this.el_.blur()},e.prototype.emitTapEvents=function(){var e=0,t=null,n=10,r=200,o=void 0;this.on("touchstart",function(n){1===n.touches.length&&(t={pageX:n.touches[0].pageX,pageY:n.touches[0].pageY},e=(new Date).getTime(),o=!0)}),this.on("touchmove",function(e){if(e.touches.length>1)o=!1;else if(t){var r=e.touches[0].pageX-t.pageX,i=e.touches[0].pageY-t.pageY,a=Math.sqrt(r*r+i*i);a>n&&(o=!1)}});var i=function(){o=!1};this.on("touchleave",i),this.on("touchcancel",i),this.on("touchend",function(n){if(t=null,o===!0){var i=(new Date).getTime()-e;i<r&&(n.preventDefault(),this.trigger("tap"))}})},e.prototype.enableTouchActivity=function(){if(this.player()&&this.player().reportUserActivity){var e=f.bind(this.player(),this.player().reportUserActivity),t=void 0;this.on("touchstart",function(){e(),this.clearInterval(t),t=this.setInterval(e,250)});var n=function(n){e(),this.clearInterval(t)};this.on("touchmove",e),this.on("touchend",n),this.on("touchcancel",n)}},e.prototype.setTimeout=function(e,t){e=f.bind(this,e);var n=s.default.setTimeout(e,t),r=function(){this.clearTimeout(n)};return r.guid="vjs-timeout-"+n,this.on("dispose",r),n},e.prototype.clearTimeout=function(e){s.default.clearTimeout(e);var t=function(){};return t.guid="vjs-timeout-"+e,this.off("dispose",t),e},e.prototype.setInterval=function(e,t){e=f.bind(this,e);var n=s.default.setInterval(e,t),r=function(){this.clearInterval(n)};return r.guid="vjs-interval-"+n,this.on("dispose",r),n},e.prototype.clearInterval=function(e){s.default.clearInterval(e);var t=function(){};return t.guid="vjs-interval-"+e,this.off("dispose",t),e},e.registerComponent=function(t,n){if(t){if(t=(0,_.default)(t),e.components_||(e.components_={}),"Player"===t&&e.components_[t]){var r=e.components_[t];if(r.players&&Object.keys(r.players).length>0&&Object.keys(r.players).map(function(e){return r.players[e]}).every(Boolean))throw new Error("Can not register Player component after player has been created")}return e.components_[t]=n,n}},e.getComponent=function(t){if(t)return t=(0,_.default)(t),e.components_&&e.components_[t]?e.components_[t]:s.default&&s.default.videojs&&s.default.videojs[t]?(g.default.warn("The "+t+" component was added to the videojs object when it should be registered using videojs.registerComponent(name, component)"),s.default.videojs[t]):void 0},e.extend=function(t){t=t||{},g.default.warn("Component.extend({}) has been deprecated,  use videojs.extend(Component, {}) instead");var n=t.init||t.init||this.prototype.init||this.prototype.init||function(){},r=function(){n.apply(this,arguments)};r.prototype=Object.create(this.prototype),r.prototype.constructor=r,r.extend=e.extend;for(var o in t)t.hasOwnProperty(o)&&(r.prototype[o]=t[o]);return r},e}();E.registerComponent("Component",E),t.default=E},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(219),i=r(o);t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==("undefined"==typeof t?"undefined":(0,i.default)(t))&&"function"!=typeof t?e:t}},function(e,t,n){e.exports={default:n(599),__esModule:!0}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(335),i=r(o);t.default=i.default||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},function(e,t,n){"use strict";function r(e,t,n,r,i,a,s,u){if(o(t),!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,i,a,s,u],f=0;c=new Error(t.replace(/%s/g,function(){return l[f++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}}var o=function(e){};e.exports=r},[1491,18],function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){"use strict";var r=n(52),o=r;e.exports=o},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){"use strict";function n(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);n+=" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";var o=new Error(n);throw o.name="Invariant Violation",o.framesToPop=1,o}e.exports=n},function(e,t,n){"use strict";var r=function(e,t,n,r,o,i,a,s){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],l=0;u=new Error(t.replace(/%s/g,function(){return c[l++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}};e.exports=r},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){"use strict";t.__esModule=!0,t.throttle=t.bind=void 0;var r=n(127);t.bind=function(e,t,n){t.guid||(t.guid=(0,r.newGUID)());var o=function(){return t.apply(e,arguments)};return o.guid=n?n+"_"+t.guid:t.guid,o},t.throttle=function(e,t){var n=Date.now(),r=function(){var r=Date.now();r-n>=t&&(e.apply(void 0,arguments),n=r)};return r}},[1593,174,95,13],function(e,t){/*
-	object-assign
-	(c) Sindre Sorhus
-	@license MIT
-	*/
-"use strict";function n(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function r(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if("0123456789"!==r.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(e){o[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}var o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=r()?Object.assign:function(e,t){for(var r,s,u=n(e),c=1;c<arguments.length;c++){r=Object(arguments[c]);for(var l in r)i.call(r,l)&&(u[l]=r[l]);if(o){s=o(r);for(var f=0;f<s.length;f++)a.call(r,s[f])&&(u[s[f]]=r[s[f]])}}return u}},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return e.raw=t,e}function a(e){return"string"==typeof e&&/\S/.test(e)}function s(e){if(/\s/.test(e))throw new Error("class has illegal whitespace characters")}function u(e){return new RegExp("(^|\\s)"+e+"($|\\s)")}function c(){return U.default===q.default.document&&"undefined"!=typeof U.default.createElement}function l(e){return(0,$.isObject)(e)&&1===e.nodeType}function f(e){return function(t,n){if(!a(t))return U.default[e](null);a(n)&&(n=U.default.querySelector(n));var r=l(n)?n:U.default;return r[e]&&r[e](t)}}function p(e){return 0===e.indexOf("#")&&(e=e.slice(1)),U.default.getElementById(e)}function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"div",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments[3],o=U.default.createElement(e);return Object.getOwnPropertyNames(t).forEach(function(e){var n=t[e];e.indexOf("aria-")!==-1||"role"===e||"type"===e?(V.default.warn((0,K.default)(L,e,n)),o.setAttribute(e,n)):"textContent"===e?h(o,n):o[e]=n}),Object.getOwnPropertyNames(n).forEach(function(e){o.setAttribute(e,n[e])}),r&&R(o,r),o}function h(e,t){return"undefined"==typeof e.textContent?e.innerText=t:e.textContent=t,e}function v(e,t){t.firstChild?t.insertBefore(e,t.firstChild):t.appendChild(e)}function y(e){var t=e[Y];return t||(t=e[Y]=W.newGUID()),X[t]||(X[t]={}),X[t]}function g(e){var t=e[Y];return!!t&&!!Object.getOwnPropertyNames(X[t]).length}function m(e){var t=e[Y];if(t){delete X[t];try{delete e[Y]}catch(t){e.removeAttribute?e.removeAttribute(Y):e[Y]=null}}}function _(e,t){return s(t),e.classList?e.classList.contains(t):u(t).test(e.className)}function b(e,t){return e.classList?e.classList.add(t):_(e,t)||(e.className=(e.className+" "+t).trim()),e}function w(e,t){return e.classList?e.classList.remove(t):(s(t),e.className=e.className.split(/\s+/).filter(function(e){return e!==t}).join(" ")),e}function E(e,t,n){var r=_(e,t);if("function"==typeof n&&(n=n(e,t)),"boolean"!=typeof n&&(n=!r),n!==r)return n?b(e,t):w(e,t),e}function T(e,t){Object.getOwnPropertyNames(t).forEach(function(n){var r=t[n];null===r||"undefined"==typeof r||r===!1?e.removeAttribute(n):e.setAttribute(n,r===!0?"":r)})}function C(e){var t={},n=",autoplay,controls,loop,muted,default,";if(e&&e.attributes&&e.attributes.length>0)for(var r=e.attributes,o=r.length-1;o>=0;o--){var i=r[o].name,a=r[o].value;"boolean"!=typeof e[i]&&n.indexOf(","+i+",")===-1||(a=null!==a),t[i]=a}return t}function S(e,t){return e.getAttribute(t)}function x(e,t,n){e.setAttribute(t,n)}function O(e,t){e.removeAttribute(t)}function k(){U.default.body.focus(),U.default.onselectstart=function(){return!1}}function P(){U.default.onselectstart=function(){return!0}}function M(e){var t=void 0;if(e.getBoundingClientRect&&e.parentNode&&(t=e.getBoundingClientRect()),!t)return{left:0,top:0};var n=U.default.documentElement,r=U.default.body,o=n.clientLeft||r.clientLeft||0,i=q.default.pageXOffset||r.scrollLeft,a=t.left+i-o,s=n.clientTop||r.clientTop||0,u=q.default.pageYOffset||r.scrollTop,c=t.top+u-s;return{left:Math.round(a),top:Math.round(c)}}function A(e,t){var n={},r=M(e),o=e.offsetWidth,i=e.offsetHeight,a=r.top,s=r.left,u=t.pageY,c=t.pageX;return t.changedTouches&&(c=t.changedTouches[0].pageX,u=t.changedTouches[0].pageY),n.y=Math.max(0,Math.min(1,(a-u+i)/i)),n.x=Math.max(0,Math.min(1,(c-s)/o)),n}function I(e){return(0,$.isObject)(e)&&3===e.nodeType}function j(e){for(;e.firstChild;)e.removeChild(e.firstChild);return e}function D(e){return"function"==typeof e&&(e=e()),(Array.isArray(e)?e:[e]).map(function(e){return"function"==typeof e&&(e=e()),l(e)||I(e)?e:"string"==typeof e&&/\S/.test(e)?U.default.createTextNode(e):void 0}).filter(function(e){return e})}function R(e,t){return D(t).forEach(function(t){return e.appendChild(t)}),e}function N(e,t){return R(j(e),t)}t.__esModule=!0,t.$$=t.$=void 0;var L=i(["Setting attributes in the second argument of createEl()\n                has been deprecated. Use the third argument instead.\n                createEl(type, properties, attributes). Attempting to set "," to ","."],["Setting attributes in the second argument of createEl()\n                has been deprecated. Use the third argument instead.\n                createEl(type, properties, attributes). Attempting to set "," to ","."]);t.isReal=c,t.isEl=l,t.getEl=p,t.createEl=d,t.textContent=h,t.insertElFirst=v,t.getElData=y,t.hasElData=g,t.removeElData=m,t.hasElClass=_,t.addElClass=b,t.removeElClass=w,t.toggleElClass=E,t.setElAttributes=T,t.getElAttributes=C,t.getAttribute=S,t.setAttribute=x,t.removeAttribute=O,t.blockTextSelection=k,t.unblockTextSelection=P,t.findElPosition=M,t.getPointerPosition=A,t.isTextNode=I,t.emptyEl=j,t.normalizeContent=D,t.appendContent=R,t.insertContent=N;var F=n(26),U=o(F),B=n(29),q=o(B),z=n(127),W=r(z),H=n(44),V=o(H),G=n(478),K=o(G),$=n(33),X={},Y="vdata"+(new Date).getTime();t.$=f("querySelector"),t.$$=f("querySelectorAll")},function(e,t){var n=e.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},[1506,15],[1546,12,363,60,24],function(e,t,n){(function(t){var r="undefined"!=typeof t?t:"undefined"!=typeof window?window:{},o=n(1213);if("undefined"!=typeof document)e.exports=document;else{var i=r["__GLOBAL_DOCUMENT_CACHE@4"];i||(i=r["__GLOBAL_DOCUMENT_CACHE@4"]=o),e.exports=i}}).call(t,function(){return this}())},function(e,t,n){"use strict";function r(e,t){return 1===e.nodeType&&e.getAttribute(h)===String(t)||8===e.nodeType&&e.nodeValue===" react-text: "+t+" "||8===e.nodeType&&e.nodeValue===" react-empty: "+t+" "}function o(e){for(var t;t=e._renderedComponent;)e=t;return e}function i(e,t){var n=o(e);n._hostNode=t,t[y]=n}function a(e){var t=e._hostNode;t&&(delete t[y],e._hostNode=null)}function s(e,t){if(!(e._flags&v.hasCachedChildNodes)){var n=e._renderedChildren,a=t.firstChild;e:for(var s in n)if(n.hasOwnProperty(s)){var u=n[s],c=o(u)._domID;if(0!==c){for(;null!==a;a=a.nextSibling)if(r(a,c)){i(u,a);continue e}f("32",c)}}e._flags|=v.hasCachedChildNodes}}function u(e){if(e[y])return e[y];for(var t=[];!e[y];){if(t.push(e),!e.parentNode)return null;e=e.parentNode}for(var n,r;e&&(r=e[y]);e=t.pop())n=r,t.length&&s(r,e);return n}function c(e){var t=u(e);return null!=t&&t._hostNode===e?t:null}function l(e){if(void 0===e._hostNode?f("33"):void 0,e._hostNode)return e._hostNode;for(var t=[];!e._hostNode;)t.push(e),e._hostParent?void 0:f("34"),e=e._hostParent;for(;t.length;e=t.pop())s(e,e._hostNode);return e._hostNode}var f=n(16),p=n(117),d=n(432),h=(n(11),p.ID_ATTRIBUTE_NAME),v=d,y="__reactInternalInstance$"+Math.random().toString(36).slice(2),g={getClosestInstanceFromNode:u,getInstanceFromNode:c,getNodeFromInstance:l,precacheChildNodes:s,precacheNode:i,uncacheNode:a};e.exports=g},,function(e,t){(function(t){"undefined"!=typeof window?e.exports=window:"undefined"!=typeof t?e.exports=t:"undefined"!=typeof self?e.exports=self:e.exports={}}).call(t,function(){return this}())},[1583,78],[1584,50],function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.__esModule=!0,t.BACKGROUND_SIZE_SUPPORTED=t.TOUCH_ENABLED=t.IS_ANY_SAFARI=t.IS_SAFARI=t.IE_VERSION=t.IS_IE8=t.IS_CHROME=t.IS_EDGE=t.IS_FIREFOX=t.IS_NATIVE_ANDROID=t.IS_OLD_ANDROID=t.ANDROID_VERSION=t.IS_ANDROID=t.IOS_VERSION=t.IS_IOS=t.IS_IPOD=t.IS_IPHONE=t.IS_IPAD=void 0;var i=n(22),a=o(i),s=n(29),u=r(s),c=u.default.navigator&&u.default.navigator.userAgent||"",l=/AppleWebKit\/([\d.]+)/i.exec(c),f=l?parseFloat(l.pop()):null,p=t.IS_IPAD=/iPad/i.test(c),d=t.IS_IPHONE=/iPhone/i.test(c)&&!p,h=t.IS_IPOD=/iPod/i.test(c),v=t.IS_IOS=d||p||h,y=(t.IOS_VERSION=function(){var e=c.match(/OS (\d+)_/i);return e&&e[1]?e[1]:null}(),t.IS_ANDROID=/Android/i.test(c)),g=t.ANDROID_VERSION=function(){var e=c.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i);if(!e)return null;var t=e[1]&&parseFloat(e[1]),n=e[2]&&parseFloat(e[2]);return t&&n?parseFloat(e[1]+"."+e[2]):t?t:null}(),m=(t.IS_OLD_ANDROID=y&&/webkit/i.test(c)&&g<2.3,t.IS_NATIVE_ANDROID=y&&g<5&&f<537,t.IS_FIREFOX=/Firefox/i.test(c),t.IS_EDGE=/Edge/i.test(c)),_=t.IS_CHROME=!m&&/Chrome/i.test(c),b=(t.IS_IE8=/MSIE\s8\.0/.test(c),t.IE_VERSION=function(e){return e&&parseFloat(e[1])}(/MSIE\s(\d+)\.\d/.exec(c)),t.IS_SAFARI=/Safari/i.test(c)&&!_&&!y&&!m);t.IS_ANY_SAFARI=b||v,t.TOUCH_ENABLED=a.isReal()&&("ontouchstart"in u.default||u.default.DocumentTouch&&u.default.document instanceof u.default.DocumentTouch),t.BACKGROUND_SIZE_SUPPORTED=a.isReal()&&"backgroundSize"in u.default.document.createElement("video").style},function(e,t){"use strict";function n(e,t){c(e).forEach(function(n){return t(e[n],n)})}function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return c(e).reduce(function(n,r){return t(n,e[r],r)},n)}function o(e){for(var t=arguments.length,r=Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];return Object.assign?Object.assign.apply(Object,[e].concat(r)):(r.forEach(function(t){t&&n(t,function(t,n){e[n]=t})}),e)}function i(e){return!!e&&"object"===("undefined"==typeof e?"undefined":s(e))}function a(e){return i(e)&&"[object Object]"===u.call(e)&&e.constructor===Object}t.__esModule=!0;var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.each=n,t.reduce=r,t.assign=o,t.isObject=i,t.isPlain=a;var u=Object.prototype.toString,c=function(e){return i(e)?Object.keys(e):[]}},[1593,227,164,45],function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){"use strict";var n=!("undefined"==typeof window||!window.document||!window.document.createElement),r={canUseDOM:n,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:n&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:n&&!!window.screen,isInWorker:!n};e.exports=r},function(e,t){var n=Array.isArray;e.exports=n},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},[1515,25,77,24],function(e,t,n){var r=n(13),o=n(39),i=n(35),a=n(95)("src"),s="toString",u=Function[s],c=(""+u).split(s);n(67).inspectSource=function(e){return u.call(e)},(e.exports=function(e,t,n,s){var u="function"==typeof n;u&&(i(n,"name")||o(n,"name",t)),e[t]!==n&&(u&&(i(n,a)||o(n,a,e[t]?""+e[t]:c.join(String(t)))),e===r?e[t]=n:s?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,s,function(){return"function"==typeof this&&this[a]||u.call(this)})},function(e,t,n){var r=n(2),o=n(15),i=n(50),a=/"/g,s=function(e,t,n,r){var o=String(i(e)),s="<"+t;return""!==n&&(s+=" "+n+'="'+String(r).replace(a,"&quot;")+'"'),s+">"+o+"</"+t+">"};e.exports=function(e,t){var n={};n[e]=t(s),r(r.P+r.F*o(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}),"String",n)}},[1581,141,50],function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.connect=t.connectAdvanced=t.Provider=void 0;var o=n(1075),i=r(o),a=n(451),s=r(a),u=n(1076),c=r(u);t.Provider=i.default,t.connectAdvanced=s.default,t.connect=c.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.logByType=void 0;var o=n(29),i=r(o),a=n(32),s=n(33),u=void 0,c=t.logByType=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:!!a.IE_VERSION&&a.IE_VERSION<11;"log"!==e&&t.unshift(e.toUpperCase()+":"),u.history.push(t),t.unshift("VIDEOJS:");var r=i.default.console&&i.default.console[e];r&&(n&&(t=t.map(function(e){if((0,s.isObject)(e)||Array.isArray(e))try{return JSON.stringify(e)}catch(t){return String(e)}return String(e)}).join(" ")),r.apply?r[Array.isArray(t)?"apply":"call"](i.default.console,t):r(t))};u=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];c("log",t)},u.history=[],u.error=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return c("error",t)},u.warn=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return c("warn",t)},t.default=u},13,[1551,142,77,42,60,35,363,24],[1557,35,31,248],function(e,t,n){var r=n(45),o=n(23),i=n(85),a=n(84),s="prototype",u=function(e,t,n){var c,l,f,p=e&u.F,d=e&u.G,h=e&u.S,v=e&u.P,y=e&u.B,g=e&u.W,m=d?o:o[t]||(o[t]={}),_=m[s],b=d?r:h?r[t]:(r[t]||{})[s];d&&(n=t);for(c in n)l=!p&&b&&void 0!==b[c],l&&c in m||(f=l?b[c]:n[c],m[c]=d&&"function"!=typeof b[c]?n[c]:y&&l?i(f,r):g&&b[c]==f?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t[s]=e[s],t}(f):v&&"function"==typeof f?i(Function.call,f):f,v&&((m.virtual||(m.virtual={}))[c]=f,e&u.R&&_&&!_[c]&&a(_,c,f)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on  "+e);return e}},function(e,t,n){var r=n(15);e.exports=function(e,t){return!!e&&r(function(){t?e.call(null,function(){},1):e.call(null)})}},function(e,t){"use strict";function n(e){return function(){return e}}var r=function(){};r.thatReturns=n,r.thatReturnsFalse=n(!1),r.thatReturnsTrue=n(!0),r.thatReturnsNull=n(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r},function(e,t,n){"use strict";var r=null;e.exports={debugTool:r}},,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.DONE=void 0;var o=n(101),i=r(o),a=n(10),s=r(a);t.default=function(e,t){var n=c.default.reduce(e,function(e,t){return(0,s.default)({},e,(0,i.default)({},t,t))},{});return n=c.default.reduce(t,function(e,t){var n;return(0,s.default)({},e,(n={},(0,i.default)(n,t,t),(0,i.default)(n,""+t+l,""+t+l),n))},n),n.DONE=l,n};var u=n(4),c=r(u),l=t.DONE="_DONE"},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.assessmentViewed=t.assessmentPostLtiOutcome=t.assessmentPostAnalytics=t.loadAssessment=t.Constants=void 0;var o=n(55),i=r(o),a=[],s=["LOAD_ASSESSMENT","ASSESSMENT_POST_ANALYTICS","ASSESSMENT_POST_LTI_OUTCOME","ASSESSMENT_VIEWED"],u=t.Constants=(0,i.default)(a,s);t.loadAssessment=function(){return{type:u.LOAD_ASSESSMENT,apiCall:!0}},t.assessmentPostAnalytics=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return{type:u.ASSESSMENT_POST_ANALYTICS,resultsId:e,userId:t,contextId:n}},t.assessmentPostLtiOutcome=function(e){return{type:u.ASSESSMENT_POST_LTI_OUTCOME,resultsId:e}},t.assessmentViewed=function(){return{type:u.ASSESSMENT_VIEWED}}},[1546,64,344,229,65],[1495,68,141,31,30,639],[1562,2,67,15],[1587,18],function(e,t,n){function r(e){if(!a(e)||o(e)!=s)return!1;var t=i(e);if(null===t)return!0;var n=f.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==p}var o=n(114),i=n(904),a=n(98),s="[object Object]",u=Function.prototype,c=Object.prototype,l=u.toString,f=c.hasOwnProperty,p=l.call(Object);e.exports=r},function(e,t,n){"use strict";function r(){O.ReactReconcileTransaction&&w?void 0:l("123")}function o(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=p.getPooled(),this.reconcileTransaction=O.ReactReconcileTransaction.getPooled(!0)}function i(e,t,n,o,i,a){return r(),w.batchedUpdates(e,t,n,o,i,a)}function a(e,t){return e._mountOrder-t._mountOrder}function s(e){var t=e.dirtyComponentsLength;t!==g.length?l("124",t,g.length):void 0,g.sort(a),m++;for(var n=0;n<t;n++){var r=g[n],o=r._pendingCallbacks;r._pendingCallbacks=null;var i;if(h.logTopLevelRenders){var s=r;r._currentElement.type.isReactTopLevelWrapper&&(s=r._renderedComponent),i="React update: "+s.getName(),console.time(i)}if(v.performUpdateIfNecessary(r,e.reconcileTransaction,m),i&&console.timeEnd(i),o)for(var u=0;u<o.length;u++)e.callbackQueue.enqueue(o[u],r.getPublicInstance())}}function u(e){return r(),w.isBatchingUpdates?(g.push(e),void(null==e._updateBatchNumber&&(e._updateBatchNumber=m+1))):void w.batchedUpdates(u,e)}function c(e,t){w.isBatchingUpdates?void 0:l("125"),_.enqueue(e,t),b=!0}var l=n(16),f=n(21),p=n(430),d=n(100),h=n(435),v=n(120),y=n(195),g=(n(11),[]),m=0,_=p.getPooled(),b=!1,w=null,E={initialize:function(){this.dirtyComponentsLength=g.length},close:function(){this.dirtyComponentsLength!==g.length?(g.splice(0,this.dirtyComponentsLength),S()):g.length=0}},T={initialize:function(){this.callbackQueue.reset()},close:function(){this.callbackQueue.notifyAll()}},C=[E,T];f(o.prototype,y,{getTransactionWrappers:function(){return C},destructor:function(){this.dirtyComponentsLength=null,p.release(this.callbackQueue),this.callbackQueue=null,O.ReactReconcileTransaction.release(this.reconcileTransaction),this.reconcileTransaction=null},perform:function(e,t,n){return y.perform.call(this,this.reconcileTransaction.perform,this.reconcileTransaction,e,t,n)}}),d.addPoolingTo(o);var S=function(){for(;g.length||b;){if(g.length){var e=o.getPooled();e.perform(s,null,e),o.release(e)}if(b){b=!1;var t=_;_=p.getPooled(),t.notifyAll(),p.release(t)}}},x={injectReconcileTransaction:function(e){e?void 0:l("126"),O.ReactReconcileTransaction=e},injectBatchingStrategy:function(e){e?void 0:l("127"),"function"!=typeof e.batchedUpdates?l("128"):void 0,"boolean"!=typeof e.isBatchingUpdates?l("129"):void 0,w=e}},O={ReactReconcileTransaction:null,batchedUpdates:i,enqueueUpdate:u,flushBatchedUpdates:S,injection:x,asap:c};e.exports=O},,[1491,66],[1506,102],18,23,[1504,38],function(e,t,n){var r=n(379),o=n(2),i=n(174)("metadata"),a=i.store||(i.store=new(n(382))),s=function(e,t,n){var o=a.get(e);if(!o){if(!n)return;a.set(e,o=new r)}var i=o.get(t);if(!i){if(!n)return;o.set(t,i=new r)}return i},u=function(e,t,n){var r=s(t,n,!1);return void 0!==r&&r.has(e)},c=function(e,t,n){var r=s(t,n,!1);return void 0===r?void 0:r.get(e)},l=function(e,t,n,r){s(n,r,!0).set(e,t)},f=function(e,t){var n=s(e,t,!1),r=[];return n&&n.forEach(function(e,t){r.push(t)}),r},p=function(e){return void 0===e||"symbol"==typeof e?e:String(e)},d=function(e){o(o.S,"Reflect",e)};e.exports={store:a,map:s,has:u,get:c,set:l,keys:f,key:p,exp:d}},function(e,t,n){"use strict";if(n(24)){var r=n(88),o=n(13),i=n(15),a=n(2),s=n(175),u=n(255),c=n(68),l=n(87),f=n(77),p=n(39),d=n(92),h=n(78),v=n(30),y=n(94),g=n(60),m=n(35),_=n(376),b=n(140),w=n(18),E=n(31),T=n(240),C=n(89),S=n(47),x=n(90).f,O=n(257),k=n(95),P=n(20),M=n(58),A=n(165),I=n(249),j=n(258),D=n(110),R=n(171),N=n(93),L=n(233),F=n(356),U=n(25),B=n(46),q=U.f,z=B.f,W=o.RangeError,H=o.TypeError,V=o.Uint8Array,G="ArrayBuffer",K="Shared"+G,$="BYTES_PER_ELEMENT",X="prototype",Y=Array[X],Q=u.ArrayBuffer,J=u.DataView,Z=M(0),ee=M(2),te=M(3),ne=M(4),re=M(5),oe=M(6),ie=A(!0),ae=A(!1),se=j.values,ue=j.keys,ce=j.entries,le=Y.lastIndexOf,fe=Y.reduce,pe=Y.reduceRight,de=Y.join,he=Y.sort,ve=Y.slice,ye=Y.toString,ge=Y.toLocaleString,me=P("iterator"),_e=P("toStringTag"),be=k("typed_constructor"),we=k("def_constructor"),Ee=s.CONSTR,Te=s.TYPED,Ce=s.VIEW,Se="Wrong length!",xe=M(1,function(e,t){return Ie(I(e,e[we]),t)}),Oe=i(function(){return 1===new V(new Uint16Array([1]).buffer)[0]}),ke=!!V&&!!V[X].set&&i(function(){new V(1).set({})}),Pe=function(e,t){if(void 0===e)throw H(Se);var n=+e,r=v(e);if(t&&!_(n,r))throw W(Se);return r},Me=function(e,t){var n=h(e);if(n<0||n%t)throw W("Wrong offset!");return n},Ae=function(e){if(w(e)&&Te in e)return e;throw H(e+" is not a typed array!")},Ie=function(e,t){if(!(w(e)&&be in e))throw H("It is not a typed array constructor!");return new e(t)},je=function(e,t){return De(I(e,e[we]),t)},De=function(e,t){for(var n=0,r=t.length,o=Ie(e,r);r>n;)o[n]=t[n++];return o},Re=function(e,t,n){q(e,t,{get:function(){return this._d[n]}})},Ne=function(e){var t,n,r,o,i,a,s=E(e),u=arguments.length,l=u>1?arguments[1]:void 0,f=void 0!==l,p=O(s);if(void 0!=p&&!T(p)){for(a=p.call(s),r=[],t=0;!(i=a.next()).done;t++)r.push(i.value);s=r}for(f&&u>2&&(l=c(l,arguments[2],2)),t=0,n=v(s.length),o=Ie(this,n);n>t;t++)o[t]=f?l(s[t],t):s[t];return o},Le=function(){for(var e=0,t=arguments.length,n=Ie(this,t);t>e;)n[e]=arguments[e++];return n},Fe=!!V&&i(function(){ge.call(new V(1))}),Ue=function(){return ge.apply(Fe?ve.call(Ae(this)):Ae(this),arguments)},Be={copyWithin:function(e,t){return F.call(Ae(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function(e){return ne(Ae(this),e,arguments.length>1?arguments[1]:void 0)},fill:function(e){return L.apply(Ae(this),arguments)},filter:function(e){return je(this,ee(Ae(this),e,arguments.length>1?arguments[1]:void 0))},find:function(e){return re(Ae(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function(e){return oe(Ae(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function(e){Z(Ae(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function(e){return ae(Ae(this),e,arguments.length>1?arguments[1]:void 0)},includes:function(e){return ie(Ae(this),e,arguments.length>1?arguments[1]:void 0)},join:function(e){return de.apply(Ae(this),arguments)},lastIndexOf:function(e){return le.apply(Ae(this),arguments)},map:function(e){return xe(Ae(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function(e){return fe.apply(Ae(this),arguments)},reduceRight:function(e){return pe.apply(Ae(this),arguments)},reverse:function(){for(var e,t=this,n=Ae(t).length,r=Math.floor(n/2),o=0;o<r;)e=t[o],t[o++]=t[--n],t[n]=e;return t},some:function(e){return te(Ae(this),e,arguments.length>1?arguments[1]:void 0)},sort:function(e){return he.call(Ae(this),e)},subarray:function(e,t){var n=Ae(this),r=n.length,o=y(e,r);return new(I(n,n[we]))(n.buffer,n.byteOffset+o*n.BYTES_PER_ELEMENT,v((void 0===t?r:y(t,r))-o))}},qe=function(e,t){return je(this,ve.call(Ae(this),e,t))},ze=function(e){Ae(this);var t=Me(arguments[1],1),n=this.length,r=E(e),o=v(r.length),i=0;if(o+t>n)throw W(Se);for(;i<o;)this[t+i]=r[i++]},We={entries:function(){return ce.call(Ae(this))},keys:function(){return ue.call(Ae(this))},values:function(){return se.call(Ae(this))}},He=function(e,t){return w(e)&&e[Te]&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},Ve=function(e,t){return He(e,t=g(t,!0))?f(2,e[t]):z(e,t)},Ge=function(e,t,n){return!(He(e,t=g(t,!0))&&w(n)&&m(n,"value"))||m(n,"get")||m(n,"set")||n.configurable||m(n,"writable")&&!n.writable||m(n,"enumerable")&&!n.enumerable?q(e,t,n):(e[t]=n.value,e)};Ee||(B.f=Ve,U.f=Ge),a(a.S+a.F*!Ee,"Object",{getOwnPropertyDescriptor:Ve,defineProperty:Ge}),i(function(){ye.call({})})&&(ye=ge=function(){return de.call(this)});var Ke=d({},Be);d(Ke,We),p(Ke,me,We.values),d(Ke,{slice:qe,set:ze,constructor:function(){},toString:ye,toLocaleString:Ue}),Re(Ke,"buffer","b"),Re(Ke,"byteOffset","o"),Re(Ke,"byteLength","l"),Re(Ke,"length","e"),q(Ke,_e,{get:function(){return this[Te]}}),e.exports=function(e,t,n,u){u=!!u;var c=e+(u?"Clamped":"")+"Array",f="Uint8Array"!=c,d="get"+e,h="set"+e,y=o[c],g=y||{},m=y&&S(y),_=!y||!s.ABV,E={},T=y&&y[X],O=function(e,n){var r=e._d;return r.v[d](n*t+r.o,Oe)},k=function(e,n,r){var o=e._d;u&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),o.v[h](n*t+o.o,r,Oe)},P=function(e,t){q(e,t,{get:function(){return O(this,t)},set:function(e){return k(this,t,e)},enumerable:!0})};_?(y=n(function(e,n,r,o){l(e,y,c,"_d");var i,a,s,u,f=0,d=0;if(w(n)){if(!(n instanceof Q||(u=b(n))==G||u==K))return Te in n?De(y,n):Ne.call(y,n);i=n,d=Me(r,t);var h=n.byteLength;if(void 0===o){if(h%t)throw W(Se);if(a=h-d,a<0)throw W(Se)}else if(a=v(o)*t,a+d>h)throw W(Se);s=a/t}else s=Pe(n,!0),a=s*t,i=new Q(a);for(p(e,"_d",{b:i,o:d,l:a,e:s,v:new J(i)});f<s;)P(e,f++)}),T=y[X]=C(Ke),p(T,"constructor",y)):R(function(e){new y(null),new y(e)},!0)||(y=n(function(e,n,r,o){l(e,y,c);var i;return w(n)?n instanceof Q||(i=b(n))==G||i==K?void 0!==o?new g(n,Me(r,t),o):void 0!==r?new g(n,Me(r,t)):new g(n):Te in n?De(y,n):Ne.call(y,n):new g(Pe(n,f))}),Z(m!==Function.prototype?x(g).concat(x(m)):x(g),function(e){e in y||p(y,e,g[e])}),y[X]=T,r||(T.constructor=y));var M=T[me],A=!!M&&("values"==M.name||void 0==M.name),I=We.values;p(y,be,!0),p(T,Te,c),p(T,Ce,!0),p(T,we,y),(u?new y(1)[_e]==c:_e in T)||q(T,_e,{get:function(){return c}}),E[c]=y,a(a.G+a.W+a.F*(y!=g),E),a(a.S,c,{BYTES_PER_ELEMENT:t,from:Ne,of:Le}),$ in T||p(T,$,t),a(a.P,c,Be),N(c),a(a.P+a.F*ke,c,{set:ze}),a(a.P+a.F*!A,c,We),a(a.P+a.F*(T.toString!=ye),c,{toString:ye}),a(a.P+a.F*i(function(){new y(1).slice()}),c,{slice:qe}),a(a.P+a.F*(i(function(){return[1,2].toLocaleString()!=new y([1,2]).toLocaleString()})||!i(function(){T.toLocaleString.call([1,2])})),c,{toLocaleString:Ue}),D[c]=A?M:I,r||A||p(T,me,I)}}else e.exports=function(){}},function(e,t,n){var r=n(406),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t,n){"use strict";function r(e,t,n,r){this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n;var o=this.constructor.Interface;for(var i in o)if(o.hasOwnProperty(i)){var s=o[i];s?this[i]=s(n):"target"===i?this.target=r:this[i]=n[i]}var u=null!=n.defaultPrevented?n.defaultPrevented:n.returnValue===!1;return u?this.isDefaultPrevented=a.thatReturnsTrue:this.isDefaultPrevented=a.thatReturnsFalse,this.isPropagationStopped=a.thatReturnsFalse,this}var o=n(21),i=n(100),a=n(52),s=(n(14),"function"==typeof Proxy,["dispatchConfig","_targetInst","nativeEvent","isDefaultPrevented","isPropagationStopped","_dispatchListeners","_dispatchInstances"]),u={type:null,target:null,currentTarget:a.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};o(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=a.thatReturnsTrue)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=a.thatReturnsTrue)},persist:function(){this.isPersistent=a.thatReturnsTrue},isPersistent:a.thatReturnsFalse,destructor:function(){var e=this.constructor.Interface;for(var t in e)this[t]=null;for(var n=0;n<s.length;n++)this[s[n]]=null}}),r.Interface=u,r.augmentClass=function(e,t){var n=this,r=function(){};r.prototype=n.prototype;var a=new r;o(a,e.prototype),e.prototype=a,e.prototype.constructor=e,e.Interface=o({},n.Interface,t),e.augmentClass=n.augmentClass,i.addPoolingTo(e,i.fourArgumentPooler)},i.addPoolingTo(r,i.fourArgumentPooler),e.exports=r},function(e,t){"use strict";var n={current:null};e.exports=n},function(e,t,n){"use strict";function r(){for(var e={},t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];return n.forEach(function(t){t&&(0,o.each)(t,function(t,n){return(0,o.isPlain)(t)?((0,o.isPlain)(e[n])||(e[n]={}),void(e[n]=r(e[n],t))):void(e[n]=t)})}),e}t.__esModule=!0,t.default=r;var o=n(33)},[1581,323,208],[1538,95,18,35,25,15],function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.createPath=t.parsePath=t.getQueryStringValueFromPath=t.stripQueryStringValueFromPath=t.addQueryStringValueToPath=void 0;var o=n(83),i=(r(o),t.addQueryStringValueToPath=function(e,t,n){var r=a(e),o=r.pathname,i=r.search,u=r.hash;return s({pathname:o,search:i+(i.indexOf("?")===-1?"?":"&")+t+"="+n,hash:u})},t.stripQueryStringValueFromPath=function(e,t){var n=a(e),r=n.pathname,o=n.search,i=n.hash;return s({pathname:r,search:o.replace(new RegExp("([?&])"+t+"=[a-zA-Z0-9]+(&?)"),function(e,t,n){return"?"===t?t:n}),hash:i})},t.getQueryStringValueFromPath=function(e,t){var n=a(e),r=n.search,o=r.match(new RegExp("[?&]"+t+"=([a-zA-Z0-9]+)"));return o&&o[1]},function(e){var t=e.match(/^(https?:)?\/\/[^\/]*/);return null==t?e:e.substring(t[0].length)}),a=t.parsePath=function(e){var t=i(e),n="",r="",o=t.indexOf("#");o!==-1&&(r=t.substring(o),t=t.substring(0,o));var a=t.indexOf("?");return a!==-1&&(n=t.substring(a),t=t.substring(0,a)),""===t&&(t="/"),{pathname:t,search:n,hash:r}},s=t.createPath=function(e){if(null==e||"string"==typeof e)return e;var t=e.basename,n=e.pathname,r=e.search,o=e.hash,i=(t||"")+n;return r&&"?"!==r&&(i+=r),o&&(i+=o),i}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return null==e||p.default.isValidElement(e)}function i(e){return o(e)||Array.isArray(e)&&e.every(o)}function a(e,t){return l({},e,t)}function s(e){var t=e.type,n=a(t.defaultProps,e.props);if(n.children){var r=u(n.children,n);r.length&&(n.childRoutes=r),delete n.children}return n}function u(e,t){var n=[];return p.default.Children.forEach(e,function(e){if(p.default.isValidElement(e))if(e.type.createRouteFromReactElement){var r=e.type.createRouteFromReactElement(e,t);r&&n.push(r)}else n.push(s(e))}),n}function c(e){return i(e)?e=u(e):e&&!Array.isArray(e)&&(e=[e]),e}t.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.isReactChildren=i,t.createRouteFromReactElement=s,t.createRoutesFromReactChildren=u,t.createRoutes=c;var f=n(1),p=r(f)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e,t){var n=d.getElData(e);0===n.handlers[t].length&&(delete n.handlers[t],e.removeEventListener?e.removeEventListener(t,n.dispatcher,!1):e.detachEvent&&e.detachEvent("on"+t,n.dispatcher)),Object.getOwnPropertyNames(n.handlers).length<=0&&(delete n.handlers,delete n.dispatcher,delete n.disabled),0===Object.getOwnPropertyNames(n).length&&d.removeElData(e)}function a(e,t,n,r){n.forEach(function(n){e(t,n,r)})}function s(e){function t(){return!0}function n(){return!1}if(!e||!e.isPropagationStopped){var r=e||_.default.event;e={};for(var o in r)"layerX"!==o&&"layerY"!==o&&"keyLocation"!==o&&"webkitMovementX"!==o&&"webkitMovementY"!==o&&("returnValue"===o&&r.preventDefault||(e[o]=r[o]));if(e.target||(e.target=e.srcElement||w.default),e.relatedTarget||(e.relatedTarget=e.fromElement===e.target?e.toElement:e.fromElement),e.preventDefault=function(){r.preventDefault&&r.preventDefault(),
-e.returnValue=!1,r.returnValue=!1,e.defaultPrevented=!0},e.defaultPrevented=!1,e.stopPropagation=function(){r.stopPropagation&&r.stopPropagation(),e.cancelBubble=!0,r.cancelBubble=!0,e.isPropagationStopped=t},e.isPropagationStopped=n,e.stopImmediatePropagation=function(){r.stopImmediatePropagation&&r.stopImmediatePropagation(),e.isImmediatePropagationStopped=t,e.stopPropagation()},e.isImmediatePropagationStopped=n,null!==e.clientX&&void 0!==e.clientX){var i=w.default.documentElement,a=w.default.body;e.pageX=e.clientX+(i&&i.scrollLeft||a&&a.scrollLeft||0)-(i&&i.clientLeft||a&&a.clientLeft||0),e.pageY=e.clientY+(i&&i.scrollTop||a&&a.scrollTop||0)-(i&&i.clientTop||a&&a.clientTop||0)}e.which=e.charCode||e.keyCode,null!==e.button&&void 0!==e.button&&(e.button=1&e.button?0:4&e.button?1:2&e.button?2:0)}return e}function u(e,t,n){if(Array.isArray(t))return a(u,e,t,n);var r=d.getElData(e);r.handlers||(r.handlers={}),r.handlers[t]||(r.handlers[t]=[]),n.guid||(n.guid=v.newGUID()),r.handlers[t].push(n),r.dispatcher||(r.disabled=!1,r.dispatcher=function(t,n){if(!r.disabled){t=s(t);var o=r.handlers[t.type];if(o)for(var i=o.slice(0),a=0,u=i.length;a<u&&!t.isImmediatePropagationStopped();a++)try{i[a].call(e,t,n)}catch(e){g.default.error(e)}}}),1===r.handlers[t].length&&(e.addEventListener?e.addEventListener(t,r.dispatcher,!1):e.attachEvent&&e.attachEvent("on"+t,r.dispatcher))}function c(e,t,n){if(d.hasElData(e)){var r=d.getElData(e);if(r.handlers){if(Array.isArray(t))return a(c,e,t,n);var o=function(t){r.handlers[t]=[],i(e,t)};if(t){var s=r.handlers[t];if(s){if(!n)return void o(t);if(n.guid)for(var u=0;u<s.length;u++)s[u].guid===n.guid&&s.splice(u--,1);i(e,t)}}else for(var l in r.handlers)o(l)}}}function l(e,t,n){var r=d.hasElData(e)?d.getElData(e):{},o=e.parentNode||e.ownerDocument;if("string"==typeof t&&(t={type:t,target:e}),t=s(t),r.dispatcher&&r.dispatcher.call(e,t,n),o&&!t.isPropagationStopped()&&t.bubbles===!0)l.call(null,o,t,n);else if(!o&&!t.defaultPrevented){var i=d.getElData(t.target);t.target[t.type]&&(i.disabled=!0,"function"==typeof t.target[t.type]&&t.target[t.type](),i.disabled=!1)}return!t.defaultPrevented}function f(e,t,n){if(Array.isArray(t))return a(f,e,t,n);var r=function r(){c(e,t,r),n.apply(this,arguments)};r.guid=n.guid=n.guid||v.newGUID(),u(e,t,r)}t.__esModule=!0,t.fixEvent=s,t.on=u,t.off=c,t.trigger=l,t.one=f;var p=n(22),d=o(p),h=n(127),v=o(h),y=n(44),g=r(y),m=n(29),_=r(m),b=n(26),w=r(b)},function(e,t){"use strict";function n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;e=e<0?0:e;var n=Math.floor(e%60),r=Math.floor(e/60%60),o=Math.floor(e/3600),i=Math.floor(t/60%60),a=Math.floor(t/3600);return(isNaN(e)||e===1/0)&&(o=r=n="-"),o=o>0||a>0?o+":":"",r=((o||i>=10)&&r<10?"0"+r:r)+":",n=n<10?"0"+n:n,o+r+n}t.__esModule=!0,t.default=n},function(e,t,n){"use strict";var r=function(){};e.exports=r},[1515,57,139,65],[1504,220],35,function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t){e.exports=!1},[1545,12,369,236,248,235,238],[1554,371,236],[1561,371,236],function(e,t,n){var r=n(40);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},function(e,t,n){"use strict";var r=n(13),o=n(25),i=n(24),a=n(20)("species");e.exports=function(e){var t=r[e];i&&t&&!t[a]&&o.f(t,a,{configurable:!0,get:function(){return this}})}},[1579,78],function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){function r(e,t){return a(i(e,t,o),e+"")}var o=n(188),i=n(935),a=n(938);e.exports=r},function(e,t,n){function r(e,t){var n=i(e,t);return o(n)?n:void 0}var o=n(880),i=n(908);e.exports=r},function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(423);Object.defineProperty(t,"DragDropContext",{enumerable:!0,get:function(){return r(o).default}});var i=n(982);Object.defineProperty(t,"DragDropContextProvider",{enumerable:!0,get:function(){return r(i).default}});var a=n(983);Object.defineProperty(t,"DragLayer",{enumerable:!0,get:function(){return r(a).default}});var s=n(984);Object.defineProperty(t,"DragSource",{enumerable:!0,get:function(){return r(s).default}});var u=n(985);Object.defineProperty(t,"DropTarget",{enumerable:!0,get:function(){return r(u).default}})},[1635,16],function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(336),i=r(o);t.default=function(e,t,n){return t in e?(0,i.default)(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},15,function(e,t,n){"use strict";e.exports=n(1013)},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={WORD:"WORD",WORD_GROUP:"WORD_GROUP",FILL_BLANK_WORD:"FILL_BLANK_WORD",CLIX_DROPPABLE:"CLIX_DROPPABLE"}},function(e,t,n){e.exports={default:n(600),__esModule:!0}},function(e,t){e.exports={}},[1561,351,222],function(e,t,n){var r=n(20)("unscopables"),o=Array.prototype;void 0==o[r]&&n(39)(o,r,{}),e.exports=function(e){o[r][e]=!0}},[1513,68,365,240,12,30,257],106,[1567,25,35,20],function(e,t,n){var r=n(2),o=n(50),i=n(15),a=n(253),s="["+a+"]",u="​",c=RegExp("^"+s+s+"*"),l=RegExp(s+s+"*$"),f=function(e,t,n){var o={},s=i(function(){return!!a[e]()||u[e]()!=u}),c=o[e]=s?t(p):a[e];n&&(o[n]=c),r(r.P+r.F*s,"String",o)},p=f.trim=function(e,t){return e=String(o(e)),1&t&&(e=e.replace(c,"")),2&t&&(e=e.replace(l,"")),e};e.exports=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.locationsAreEqual=t.statesAreEqual=t.createLocation=t.createQuery=void 0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(17),s=r(a),u=n(83),c=(r(u),n(79)),l=n(178),f=(t.createQuery=function(e){return i(Object.create(null),e)},t.createLocation=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.POP,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r="string"==typeof e?(0,c.parsePath)(e):e,o=r.pathname||"/",i=r.search||"",a=r.hash||"",s=r.state;return{pathname:o,search:i,hash:a,state:s,action:t,key:n}},function(e){return"[object Date]"===Object.prototype.toString.call(e)}),p=t.statesAreEqual=function e(t,n){if(t===n)return!0;var r="undefined"==typeof t?"undefined":o(t),i="undefined"==typeof n?"undefined":o(n);if(r!==i)return!1;if("function"===r?(0,s.default)(!1):void 0,"object"===r){if(f(t)&&f(n)?(0,s.default)(!1):void 0,!Array.isArray(t)){var a=Object.keys(t),u=Object.keys(n);return a.length===u.length&&a.every(function(r){return e(t[r],n[r])})}return Array.isArray(n)&&t.length===n.length&&t.every(function(t,r){return e(t,n[r])})}return!1};t.locationsAreEqual=function(e,t){return e.key===t.key&&e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&p(e.state,t.state)}},function(e,t,n){function r(e){return null==e?void 0===e?u:s:c&&c in Object(e)?i(e):a(e)}var o=n(145),i=n(905),a=n(934),s="[object Null]",u="[object Undefined]",c=o?o.toStringTag:void 0;e.exports=r},function(e,t){function n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=n},function(e,t,n){"use strict";function r(e){if(y){var t=e.node,n=e.children;if(n.length)for(var r=0;r<n.length;r++)g(t,n[r],null);else null!=e.html?f(t,e.html):null!=e.text&&d(t,e.text)}}function o(e,t){e.parentNode.replaceChild(t.node,e),r(t)}function i(e,t){y?e.children.push(t):e.node.appendChild(t.node)}function a(e,t){y?e.html=t:f(e.node,t)}function s(e,t){y?e.text=t:d(e.node,t)}function u(){return this.node.nodeName}function c(e){return{node:e,children:[],html:null,text:null,toString:u}}var l=n(284),f=n(197),p=n(292),d=n(446),h=1,v=11,y="undefined"!=typeof document&&"number"==typeof document.documentMode||"undefined"!=typeof navigator&&"string"==typeof navigator.userAgent&&/\bEdge\/\d/.test(navigator.userAgent),g=p(function(e,t,n){t.node.nodeType===v||t.node.nodeType===h&&"object"===t.node.nodeName.toLowerCase()&&(null==t.node.namespaceURI||t.node.namespaceURI===l.html)?(r(t),e.insertBefore(t.node,n)):(e.insertBefore(t.node,n),r(t))});c.insertTreeBefore=g,c.replaceChildWithTree=o,c.queueChild=i,c.queueHTML=a,c.queueText=s,e.exports=c},function(e,t,n){"use strict";function r(e,t){return(e&t)===t}var o=n(16),i=(n(11),{MUST_USE_PROPERTY:1,HAS_BOOLEAN_VALUE:4,HAS_NUMERIC_VALUE:8,HAS_POSITIVE_NUMERIC_VALUE:24,HAS_OVERLOADED_BOOLEAN_VALUE:32,injectDOMPropertyConfig:function(e){var t=i,n=e.Properties||{},a=e.DOMAttributeNamespaces||{},u=e.DOMAttributeNames||{},c=e.DOMPropertyNames||{},l=e.DOMMutationMethods||{};e.isCustomAttribute&&s._isCustomAttributeFunctions.push(e.isCustomAttribute);for(var f in n){s.properties.hasOwnProperty(f)?o("48",f):void 0;var p=f.toLowerCase(),d=n[f],h={attributeName:p,attributeNamespace:null,propertyName:f,mutationMethod:null,mustUseProperty:r(d,t.MUST_USE_PROPERTY),hasBooleanValue:r(d,t.HAS_BOOLEAN_VALUE),hasNumericValue:r(d,t.HAS_NUMERIC_VALUE),hasPositiveNumericValue:r(d,t.HAS_POSITIVE_NUMERIC_VALUE),hasOverloadedBooleanValue:r(d,t.HAS_OVERLOADED_BOOLEAN_VALUE)};if(h.hasBooleanValue+h.hasNumericValue+h.hasOverloadedBooleanValue<=1?void 0:o("50",f),u.hasOwnProperty(f)){var v=u[f];h.attributeName=v}a.hasOwnProperty(f)&&(h.attributeNamespace=a[f]),c.hasOwnProperty(f)&&(h.propertyName=c[f]),l.hasOwnProperty(f)&&(h.mutationMethod=l[f]),s.properties[f]=h}}}),a=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",s={ID_ATTRIBUTE_NAME:"data-reactid",ROOT_ATTRIBUTE_NAME:"data-reactroot",ATTRIBUTE_NAME_START_CHAR:a,ATTRIBUTE_NAME_CHAR:a+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",properties:{},getPossibleStandardName:null,_isCustomAttributeFunctions:[],isCustomAttribute:function(e){for(var t=0;t<s._isCustomAttributeFunctions.length;t++){var n=s._isCustomAttributeFunctions[t];if(n(e))return!0}return!1},injection:i};e.exports=s},function(e,t,n){"use strict";function r(e){return"button"===e||"input"===e||"select"===e||"textarea"===e}function o(e,t,n){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":return!(!n.disabled||!r(t));default:return!1}}var i=n(16),a=n(285),s=n(192),u=n(289),c=n(440),l=n(441),f=(n(11),{}),p=null,d=function(e,t){e&&(s.executeDispatchesInOrder(e,t),e.isPersistent()||e.constructor.release(e))},h=function(e){return d(e,!0)},v=function(e){return d(e,!1)},y=function(e){return"."+e._rootNodeID},g={injection:{injectEventPluginOrder:a.injectEventPluginOrder,injectEventPluginsByName:a.injectEventPluginsByName},putListener:function(e,t,n){"function"!=typeof n?i("94",t,typeof n):void 0;var r=y(e),o=f[t]||(f[t]={});o[r]=n;var s=a.registrationNameModules[t];s&&s.didPutListener&&s.didPutListener(e,t,n)},getListener:function(e,t){var n=f[t];if(o(t,e._currentElement.type,e._currentElement.props))return null;var r=y(e);return n&&n[r]},deleteListener:function(e,t){var n=a.registrationNameModules[t];n&&n.willDeleteListener&&n.willDeleteListener(e,t);var r=f[t];if(r){var o=y(e);delete r[o]}},deleteAllListeners:function(e){var t=y(e);for(var n in f)if(f.hasOwnProperty(n)&&f[n][t]){var r=a.registrationNameModules[n];r&&r.willDeleteListener&&r.willDeleteListener(e,n),delete f[n][t]}},extractEvents:function(e,t,n,r){for(var o,i=a.plugins,s=0;s<i.length;s++){var u=i[s];if(u){var l=u.extractEvents(e,t,n,r);l&&(o=c(o,l))}}return o},enqueueEvents:function(e){e&&(p=c(p,e))},processEventQueue:function(e){var t=p;p=null,e?l(t,h):l(t,v),p?i("95"):void 0,u.rethrowCaughtError()},__purge:function(){f={}},__getListenerBank:function(){return f}};e.exports=g},function(e,t,n){"use strict";function r(e,t,n){var r=t.dispatchConfig.phasedRegistrationNames[n];return g(e,r)}function o(e,t,n){var o=r(e,n,t);o&&(n._dispatchListeners=v(n._dispatchListeners,o),n._dispatchInstances=v(n._dispatchInstances,e))}function i(e){e&&e.dispatchConfig.phasedRegistrationNames&&h.traverseTwoPhase(e._targetInst,o,e)}function a(e){if(e&&e.dispatchConfig.phasedRegistrationNames){var t=e._targetInst,n=t?h.getParentInstance(t):null;h.traverseTwoPhase(n,o,e)}}function s(e,t,n){if(n&&n.dispatchConfig.registrationName){var r=n.dispatchConfig.registrationName,o=g(e,r);o&&(n._dispatchListeners=v(n._dispatchListeners,o),n._dispatchInstances=v(n._dispatchInstances,e))}}function u(e){e&&e.dispatchConfig.registrationName&&s(e._targetInst,null,e)}function c(e){y(e,i)}function l(e){y(e,a)}function f(e,t,n,r){h.traverseEnterLeave(n,r,s,e,t)}function p(e){y(e,u)}var d=n(118),h=n(192),v=n(440),y=n(441),g=(n(14),d.getListener),m={accumulateTwoPhaseDispatches:c,accumulateTwoPhaseDispatchesSkipTarget:l,accumulateDirectDispatches:p,accumulateEnterLeaveDispatches:f};e.exports=m},function(e,t,n){"use strict";function r(){o.attachRefs(this,this._currentElement)}var o=n(1036),i=(n(53),n(14),{mountComponent:function(e,t,n,o,i,a){var s=e.mountComponent(t,n,o,i,a);return e._currentElement&&null!=e._currentElement.ref&&t.getReactMountReady().enqueue(r,e),s},getHostNode:function(e){return e.getHostNode()},unmountComponent:function(e,t){o.detachRefs(e,e._currentElement),e.unmountComponent(t)},receiveComponent:function(e,t,n,i){var a=e._currentElement;if(t!==a||i!==e._context){var s=o.shouldUpdateRefs(a,t);s&&o.detachRefs(e,a),e.receiveComponent(t,n,i),s&&e._currentElement&&null!=e._currentElement.ref&&n.getReactMountReady().enqueue(r,e)}},performUpdateIfNecessary:function(e,t,n){e._updateBatchNumber===n&&e.performUpdateIfNecessary(t)}});e.exports=i},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(72),i=n(295),a={view:function(e){if(e.view)return e.view;var t=i(e);if(t.window===t)return t;var n=t.ownerDocument;return n?n.defaultView||n.parentWindow:window},detail:function(e){return e.detail||0}};o.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function i(e){for(var t="",n=[],r=[],i=void 0,a=0,s=/:([a-zA-Z_$][a-zA-Z0-9_$]*)|\*\*|\*|\(|\)|\\\(|\\\)/g;i=s.exec(e);)i.index!==a&&(r.push(e.slice(a,i.index)),t+=o(e.slice(a,i.index))),i[1]?(t+="([^/]+)",n.push(i[1])):"**"===i[0]?(t+="(.*)",n.push("splat")):"*"===i[0]?(t+="(.*?)",n.push("splat")):"("===i[0]?t+="(?:":")"===i[0]?t+=")?":"\\("===i[0]?t+="\\(":"\\)"===i[0]&&(t+="\\)"),r.push(i[0]),a=s.lastIndex;return a!==e.length&&(r.push(e.slice(a,e.length)),t+=o(e.slice(a,e.length))),{pattern:e,regexpSource:t,paramNames:n,tokens:r}}function a(e){return d[e]||(d[e]=i(e)),d[e]}function s(e,t){"/"!==e.charAt(0)&&(e="/"+e);var n=a(e),r=n.regexpSource,o=n.paramNames,i=n.tokens;"/"!==e.charAt(e.length-1)&&(r+="/?"),"*"===i[i.length-1]&&(r+="$");var s=t.match(new RegExp("^"+r,"i"));if(null==s)return null;var u=s[0],c=t.substr(u.length);if(c){if("/"!==u.charAt(u.length-1))return null;c="/"+c}return{remainingPathname:c,paramNames:o,paramValues:s.slice(1).map(function(e){return e&&decodeURIComponent(e)})}}function u(e){return a(e).paramNames}function c(e,t){var n=s(e,t);if(!n)return null;var r=n.paramNames,o=n.paramValues,i={};return r.forEach(function(e,t){i[e]=o[t]}),i}function l(e,t){t=t||{};for(var n=a(e),r=n.tokens,o=0,i="",s=0,u=[],c=void 0,l=void 0,f=void 0,d=0,h=r.length;d<h;++d)if(c=r[d],"*"===c||"**"===c)f=Array.isArray(t.splat)?t.splat[s++]:t.splat,null!=f||o>0?void 0:(0,p.default)(!1),null!=f&&(i+=encodeURI(f));else if("("===c)u[o]="",o+=1;else if(")"===c){var v=u.pop();o-=1,o?u[o-1]+=v:i+=v}else if("\\("===c)i+="(";else if("\\)"===c)i+=")";else if(":"===c.charAt(0))if(l=c.substring(1),f=t[l],null!=f||o>0?void 0:(0,p.default)(!1),null==f){if(o){u[o-1]="";for(var y=r.indexOf(c),g=r.slice(y,r.length),m=-1,_=0;_<g.length;_++)if(")"==g[_]){m=_;break}m>0?void 0:(0,p.default)(!1),d=y+m-1}}else o?u[o-1]+=encodeURIComponent(f):i+=encodeURIComponent(f);else o?u[o-1]+=c:i+=c;return o<=0?void 0:(0,p.default)(!1),i.replace(/\/+/g,"/")}t.__esModule=!0,t.compilePattern=a,t.matchPattern=s,t.getParamNames=u,t.getParams=c,t.formatPattern=l;var f=n(17),p=r(f),d=Object.create(null)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(t.indexOf("deprecated")!==-1){if(u[t])return;u[t]=!0}t="[react-router] "+t;for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];s.default.apply(void 0,[e,t].concat(r))}function i(){u={}}t.__esModule=!0,t.default=o,t._resetWarned=i;var a=n(83),s=r(a),u={}},function(e,t,n){"use strict";var r=n(21),o=n(1109),i=n(306),a=n(1114),s=n(1110),u=n(1111),c=n(125),l=n(1112),f=n(1115),p=n(1116),d=(n(14),c.createElement),h=c.createFactory,v=c.cloneElement,y=r,g={Children:{map:o.map,forEach:o.forEach,count:o.count,toArray:o.toArray,only:p},Component:i,PureComponent:a,createElement:d,cloneElement:v,isValidElement:c.isValidElement,PropTypes:l,createClass:s.createClass,createFactory:h,createMixin:function(e){return e},DOM:u,version:f,__spread:y};e.exports=g},function(e,t,n){"use strict";function r(e){return void 0!==e.ref}function o(e){return void 0!==e.key}var i=n(21),a=n(73),s=(n(14),n(469),Object.prototype.hasOwnProperty),u=n(467),c={key:!0,ref:!0,__self:!0,__source:!0},l=function(e,t,n,r,o,i,a){var s={$$typeof:u,type:e,key:t,ref:n,props:a,_owner:i};return s};l.createElement=function(e,t,n){var i,u={},f=null,p=null,d=null,h=null;if(null!=t){r(t)&&(p=t.ref),o(t)&&(f=""+t.key),d=void 0===t.__self?null:t.__self,h=void 0===t.__source?null:t.__source;for(i in t)s.call(t,i)&&!c.hasOwnProperty(i)&&(u[i]=t[i])}var v=arguments.length-2;if(1===v)u.children=n;else if(v>1){for(var y=Array(v),g=0;g<v;g++)y[g]=arguments[g+2];u.children=y}if(e&&e.defaultProps){var m=e.defaultProps;for(i in m)void 0===u[i]&&(u[i]=m[i])}return l(e,f,p,d,h,a.current,u)},l.createFactory=function(e){var t=l.createElement.bind(null,e);return t.type=e,t},l.cloneAndReplaceKey=function(e,t){var n=l(e.type,t,e.ref,e._self,e._source,e._owner,e.props);return n},l.cloneElement=function(e,t,n){var u,f=i({},e.props),p=e.key,d=e.ref,h=e._self,v=e._source,y=e._owner;if(null!=t){r(t)&&(d=t.ref,y=a.current),o(t)&&(p=""+t.key);var g;e.type&&e.type.defaultProps&&(g=e.type.defaultProps);for(u in t)s.call(t,u)&&!c.hasOwnProperty(u)&&(void 0===t[u]&&void 0!==g?f[u]=g[u]:f[u]=t[u])}var m=arguments.length-2;if(1===m)f.children=n;else if(m>1){for(var _=Array(m),b=0;b<m;b++)_[b]=arguments[b+2];f.children=_}return l(e.type,p,d,h,v,y,f)},l.isValidElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===u},e.exports=l},16,function(e,t){"use strict";function n(){return r++}t.__esModule=!0,t.newGUID=n;var r=1},function(e,t){"use strict";function n(e){return"string"!=typeof e?e:e.charAt(0).toUpperCase()+e.slice(1)}t.__esModule=!0,t.default=n},[1584,208],[1624,618,324],function(e,t,n){var r,o;/*!
-	 * jQuery JavaScript Library v2.2.4
-	 * http://jquery.com/
-	 *
-	 * Includes Sizzle.js
-	 * http://sizzlejs.com/
-	 *
-	 * Copyright jQuery Foundation and other contributors
-	 * Released under the MIT license
-	 * http://jquery.org/license
-	 *
-	 * Date: 2016-05-20T17:23Z
-	 */
-!function(t,n){"object"==typeof e&&"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,function(n,i){function a(e){var t=!!e&&"length"in e&&e.length,n=ce.type(e);return"function"!==n&&!ce.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function s(e,t,n){if(ce.isFunction(t))return ce.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return ce.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(_e.test(t))return ce.filter(t,e,n);t=ce.filter(t,e)}return ce.grep(e,function(e){return re.call(t,e)>-1!==n})}function u(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function c(e){var t={};return ce.each(e.match(Se)||[],function(e,n){t[n]=!0}),t}function l(){Z.removeEventListener("DOMContentLoaded",l),n.removeEventListener("load",l),ce.ready()}function f(){this.expando=ce.expando+f.uid++}function p(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(Ie,"-$&").toLowerCase(),n=e.getAttribute(r),"string"==typeof n){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:Ae.test(n)?ce.parseJSON(n):n)}catch(e){}Me.set(e,t,n)}else n=void 0;return n}function d(e,t,n,r){var o,i=1,a=20,s=r?function(){return r.cur()}:function(){return ce.css(e,t,"")},u=s(),c=n&&n[3]||(ce.cssNumber[t]?"":"px"),l=(ce.cssNumber[t]||"px"!==c&&+u)&&De.exec(ce.css(e,t));if(l&&l[3]!==c){c=c||l[3],n=n||[],l=+u||1;do i=i||".5",l/=i,ce.style(e,t,l+c);while(i!==(i=s()/u)&&1!==i&&--a)}return n&&(l=+l||+u||0,o=n[1]?l+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=l,r.end=o)),o}function h(e,t){var n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&ce.nodeName(e,t)?ce.merge([e],n):n}function v(e,t){for(var n=0,r=e.length;n<r;n++)Pe.set(e[n],"globalEval",!t||Pe.get(t[n],"globalEval"))}function y(e,t,n,r,o){for(var i,a,s,u,c,l,f=t.createDocumentFragment(),p=[],d=0,y=e.length;d<y;d++)if(i=e[d],i||0===i)if("object"===ce.type(i))ce.merge(p,i.nodeType?[i]:i);else if(qe.test(i)){for(a=a||f.appendChild(t.createElement("div")),s=(Fe.exec(i)||["",""])[1].toLowerCase(),u=Be[s]||Be._default,a.innerHTML=u[1]+ce.htmlPrefilter(i)+u[2],l=u[0];l--;)a=a.lastChild;ce.merge(p,a.childNodes),a=f.firstChild,a.textContent=""}else p.push(t.createTextNode(i));for(f.textContent="",d=0;i=p[d++];)if(r&&ce.inArray(i,r)>-1)o&&o.push(i);else if(c=ce.contains(i.ownerDocument,i),a=h(f.appendChild(i),"script"),c&&v(a),n)for(l=0;i=a[l++];)Ue.test(i.type||"")&&n.push(i);return f}function g(){return!0}function m(){return!1}function _(){try{return Z.activeElement}catch(e){}}function b(e,t,n,r,o,i){var a,s;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(s in t)b(e,s,n,r,t[s],i);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),o===!1)o=m;else if(!o)return e;return 1===i&&(a=o,o=function(e){return ce().off(e),a.apply(this,arguments)},o.guid=a.guid||(a.guid=ce.guid++)),e.each(function(){ce.event.add(this,t,o,r,n)})}function w(e,t){return ce.nodeName(e,"table")&&ce.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function E(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function T(e){var t=$e.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function C(e,t){var n,r,o,i,a,s,u,c;if(1===t.nodeType){if(Pe.hasData(e)&&(i=Pe.access(e),a=Pe.set(t,i),c=i.events)){delete a.handle,a.events={};for(o in c)for(n=0,r=c[o].length;n<r;n++)ce.event.add(t,o,c[o][n])}Me.hasData(e)&&(s=Me.access(e),u=ce.extend({},s),Me.set(t,u))}}function S(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Le.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function x(e,t,n,r){t=te.apply([],t);var o,i,a,s,u,c,l=0,f=e.length,p=f-1,d=t[0],v=ce.isFunction(d);if(v||f>1&&"string"==typeof d&&!se.checkClone&&Ke.test(d))return e.each(function(o){var i=e.eq(o);v&&(t[0]=d.call(this,o,i.html())),x(i,t,n,r)});if(f&&(o=y(t,e[0].ownerDocument,!1,e,r),i=o.firstChild,1===o.childNodes.length&&(o=i),i||r)){for(a=ce.map(h(o,"script"),E),s=a.length;l<f;l++)u=o,l!==p&&(u=ce.clone(u,!0,!0),s&&ce.merge(a,h(u,"script"))),n.call(e[l],u,l);if(s)for(c=a[a.length-1].ownerDocument,ce.map(a,T),l=0;l<s;l++)u=a[l],Ue.test(u.type||"")&&!Pe.access(u,"globalEval")&&ce.contains(c,u)&&(u.src?ce._evalUrl&&ce._evalUrl(u.src):ce.globalEval(u.textContent.replace(Xe,"")))}return e}function O(e,t,n){for(var r,o=t?ce.filter(t,e):e,i=0;null!=(r=o[i]);i++)n||1!==r.nodeType||ce.cleanData(h(r)),r.parentNode&&(n&&ce.contains(r.ownerDocument,r)&&v(h(r,"script")),r.parentNode.removeChild(r));return e}function k(e,t){var n=ce(t.createElement(e)).appendTo(t.body),r=ce.css(n[0],"display");return n.detach(),r}function P(e){var t=Z,n=Qe[e];return n||(n=k(e,t),"none"!==n&&n||(Ye=(Ye||ce("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement),t=Ye[0].contentDocument,t.write(),t.close(),n=k(e,t),Ye.detach()),Qe[e]=n),n}function M(e,t,n){var r,o,i,a,s=e.style;return n=n||et(e),a=n?n.getPropertyValue(t)||n[t]:void 0,""!==a&&void 0!==a||ce.contains(e.ownerDocument,e)||(a=ce.style(e,t)),n&&!se.pixelMarginRight()&&Ze.test(a)&&Je.test(t)&&(r=s.width,o=s.minWidth,i=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=o,s.maxWidth=i),void 0!==a?a+"":a}function A(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function I(e){if(e in st)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=at.length;n--;)if(e=at[n]+t,e in st)return e}function j(e,t,n){var r=De.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function D(e,t,n,r,o){for(var i=n===(r?"border":"content")?4:"width"===t?1:0,a=0;i<4;i+=2)"margin"===n&&(a+=ce.css(e,n+Re[i],!0,o)),r?("content"===n&&(a-=ce.css(e,"padding"+Re[i],!0,o)),"margin"!==n&&(a-=ce.css(e,"border"+Re[i]+"Width",!0,o))):(a+=ce.css(e,"padding"+Re[i],!0,o),"padding"!==n&&(a+=ce.css(e,"border"+Re[i]+"Width",!0,o)));return a}function R(e,t,n){var r=!0,o="width"===t?e.offsetWidth:e.offsetHeight,i=et(e),a="border-box"===ce.css(e,"boxSizing",!1,i);if(o<=0||null==o){if(o=M(e,t,i),(o<0||null==o)&&(o=e.style[t]),Ze.test(o))return o;r=a&&(se.boxSizingReliable()||o===e.style[t]),o=parseFloat(o)||0}return o+D(e,t,n||(a?"border":"content"),r,i)+"px"}function N(e,t){for(var n,r,o,i=[],a=0,s=e.length;a<s;a++)r=e[a],r.style&&(i[a]=Pe.get(r,"olddisplay"),n=r.style.display,t?(i[a]||"none"!==n||(r.style.display=""),""===r.style.display&&Ne(r)&&(i[a]=Pe.access(r,"olddisplay",P(r.nodeName)))):(o=Ne(r),"none"===n&&o||Pe.set(r,"olddisplay",o?n:ce.css(r,"display"))));for(a=0;a<s;a++)r=e[a],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?i[a]||"":"none"));return e}function L(e,t,n,r,o){return new L.prototype.init(e,t,n,r,o)}function F(){return n.setTimeout(function(){ut=void 0}),ut=ce.now()}function U(e,t){var n,r=0,o={height:e};for(t=t?1:0;r<4;r+=2-t)n=Re[r],o["margin"+n]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function B(e,t,n){for(var r,o=(W.tweeners[t]||[]).concat(W.tweeners["*"]),i=0,a=o.length;i<a;i++)if(r=o[i].call(n,t,e))return r}function q(e,t,n){var r,o,i,a,s,u,c,l,f=this,p={},d=e.style,h=e.nodeType&&Ne(e),v=Pe.get(e,"fxshow");n.queue||(s=ce._queueHooks(e,"fx"),null==s.unqueued&&(s.unqueued=0,u=s.empty.fire,s.empty.fire=function(){s.unqueued||u()}),s.unqueued++,f.always(function(){f.always(function(){s.unqueued--,ce.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[d.overflow,d.overflowX,d.overflowY],c=ce.css(e,"display"),l="none"===c?Pe.get(e,"olddisplay")||P(e.nodeName):c,"inline"===l&&"none"===ce.css(e,"float")&&(d.display="inline-block")),n.overflow&&(d.overflow="hidden",f.always(function(){d.overflow=n.overflow[0],d.overflowX=n.overflow[1],d.overflowY=n.overflow[2]}));for(r in t)if(o=t[r],lt.exec(o)){if(delete t[r],i=i||"toggle"===o,o===(h?"hide":"show")){if("show"!==o||!v||void 0===v[r])continue;h=!0}p[r]=v&&v[r]||ce.style(e,r)}else c=void 0;if(ce.isEmptyObject(p))"inline"===("none"===c?P(e.nodeName):c)&&(d.display=c);else{v?"hidden"in v&&(h=v.hidden):v=Pe.access(e,"fxshow",{}),i&&(v.hidden=!h),h?ce(e).show():f.done(function(){ce(e).hide()}),f.done(function(){var t;Pe.remove(e,"fxshow");for(t in p)ce.style(e,t,p[t])});for(r in p)a=B(h?v[r]:0,r,f),r in v||(v[r]=a.start,h&&(a.end=a.start,a.start="width"===r||"height"===r?1:0))}}function z(e,t){var n,r,o,i,a;for(n in e)if(r=ce.camelCase(n),o=t[r],i=e[n],ce.isArray(i)&&(o=i[1],i=e[n]=i[0]),n!==r&&(e[r]=i,delete e[n]),a=ce.cssHooks[r],a&&"expand"in a){i=a.expand(i),delete e[r];for(n in i)n in e||(e[n]=i[n],t[n]=o)}else t[r]=o}function W(e,t,n){var r,o,i=0,a=W.prefilters.length,s=ce.Deferred().always(function(){delete u.elem}),u=function(){if(o)return!1;for(var t=ut||F(),n=Math.max(0,c.startTime+c.duration-t),r=n/c.duration||0,i=1-r,a=0,u=c.tweens.length;a<u;a++)c.tweens[a].run(i);return s.notifyWith(e,[c,i,n]),i<1&&u?n:(s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:ce.extend({},t),opts:ce.extend(!0,{specialEasing:{},easing:ce.easing._default},n),originalProperties:t,originalOptions:n,startTime:ut||F(),duration:n.duration,tweens:[],createTween:function(t,n){var r=ce.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(r),r},stop:function(t){var n=0,r=t?c.tweens.length:0;if(o)return this;for(o=!0;n<r;n++)c.tweens[n].run(1);return t?(s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c,t])):s.rejectWith(e,[c,t]),this}}),l=c.props;for(z(l,c.opts.specialEasing);i<a;i++)if(r=W.prefilters[i].call(c,e,l,c.opts))return ce.isFunction(r.stop)&&(ce._queueHooks(c.elem,c.opts.queue).stop=ce.proxy(r.stop,r)),r;return ce.map(l,B,c),ce.isFunction(c.opts.start)&&c.opts.start.call(e,c),ce.fx.timer(ce.extend(u,{elem:e,anim:c,queue:c.opts.queue})),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always)}function H(e){return e.getAttribute&&e.getAttribute("class")||""}function V(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,o=0,i=t.toLowerCase().match(Se)||[];if(ce.isFunction(n))for(;r=i[o++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function G(e,t,n,r){function o(s){var u;return i[s]=!0,ce.each(e[s]||[],function(e,s){var c=s(t,n,r);return"string"!=typeof c||a||i[c]?a?!(u=c):void 0:(t.dataTypes.unshift(c),o(c),!1)}),u}var i={},a=e===Mt;return o(t.dataTypes[0])||!i["*"]&&o("*")}function K(e,t){var n,r,o=ce.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:r||(r={}))[n]=t[n]);return r&&ce.extend(!0,e,r),e}function $(e,t,n){for(var r,o,i,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(o in s)if(s[o]&&s[o].test(r)){u.unshift(o);break}if(u[0]in n)i=u[0];else{for(o in n){if(!u[0]||e.converters[o+" "+u[0]]){i=o;break}a||(a=o)}i=i||a}if(i)return i!==u[0]&&u.unshift(i),n[i]}function X(e,t,n,r){var o,i,a,s,u,c={},l=e.dataTypes.slice();if(l[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(i=l.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=i,i=l.shift())if("*"===i)i=u;else if("*"!==u&&u!==i){if(a=c[u+" "+i]||c["* "+i],!a)for(o in c)if(s=o.split(" "),s[1]===i&&(a=c[u+" "+s[0]]||c["* "+s[0]])){a===!0?a=c[o]:c[o]!==!0&&(i=s[0],l.unshift(s[1]));break}if(a!==!0)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+i}}}return{state:"success",data:t}}function Y(e,t,n,r){var o;if(ce.isArray(t))ce.each(t,function(t,o){n||Dt.test(e)?r(e,o):Y(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,r)});else if(n||"object"!==ce.type(t))r(e,t);else for(o in t)Y(e+"["+o+"]",t[o],n,r)}function Q(e){return ce.isWindow(e)?e:9===e.nodeType&&e.defaultView}var J=[],Z=n.document,ee=J.slice,te=J.concat,ne=J.push,re=J.indexOf,oe={},ie=oe.toString,ae=oe.hasOwnProperty,se={},ue="2.2.4",ce=function(e,t){return new ce.fn.init(e,t)},le=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,fe=/^-ms-/,pe=/-([\da-z])/gi,de=function(e,t){return t.toUpperCase()};ce.fn=ce.prototype={jquery:ue,constructor:ce,selector:"",length:0,toArray:function(){return ee.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:ee.call(this)},pushStack:function(e){var t=ce.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e){return ce.each(this,e)},map:function(e){return this.pushStack(ce.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(ee.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:ne,sort:J.sort,splice:J.splice},ce.extend=ce.fn.extend=function(){var e,t,n,r,o,i,a=arguments[0]||{},s=1,u=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[s]||{},s++),"object"==typeof a||ce.isFunction(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)n=a[t],r=e[t],a!==r&&(c&&r&&(ce.isPlainObject(r)||(o=ce.isArray(r)))?(o?(o=!1,i=n&&ce.isArray(n)?n:[]):i=n&&ce.isPlainObject(n)?n:{},a[t]=ce.extend(c,i,r)):void 0!==r&&(a[t]=r));return a},ce.extend({expando:"jQuery"+(ue+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===ce.type(e)},isArray:Array.isArray,isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){var t=e&&e.toString();return!ce.isArray(e)&&t-parseFloat(t)+1>=0},isPlainObject:function(e){var t;if("object"!==ce.type(e)||e.nodeType||ce.isWindow(e))return!1;if(e.constructor&&!ae.call(e,"constructor")&&!ae.call(e.constructor.prototype||{},"isPrototypeOf"))return!1;for(t in e);return void 0===t||ae.call(e,t)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?oe[ie.call(e)]||"object":typeof e},globalEval:function(e){var t,n=eval;e=ce.trim(e),e&&(1===e.indexOf("use strict")?(t=Z.createElement("script"),t.text=e,Z.head.appendChild(t).parentNode.removeChild(t)):n(e))},camelCase:function(e){return e.replace(fe,"ms-").replace(pe,de)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var n,r=0;if(a(e))for(n=e.length;r<n&&t.call(e[r],r,e[r])!==!1;r++);else for(r in e)if(t.call(e[r],r,e[r])===!1)break;return e},trim:function(e){return null==e?"":(e+"").replace(le,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(a(Object(e))?ce.merge(n,"string"==typeof e?[e]:e):ne.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:re.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,o=e.length;r<n;r++)e[o++]=t[r];return e.length=o,e},grep:function(e,t,n){for(var r,o=[],i=0,a=e.length,s=!n;i<a;i++)r=!t(e[i],i),r!==s&&o.push(e[i]);return o},map:function(e,t,n){var r,o,i=0,s=[];if(a(e))for(r=e.length;i<r;i++)o=t(e[i],i,n),null!=o&&s.push(o);else for(i in e)o=t(e[i],i,n),null!=o&&s.push(o);return te.apply([],s)},guid:1,proxy:function(e,t){var n,r,o;if("string"==typeof t&&(n=e[t],t=e,e=n),ce.isFunction(e))return r=ee.call(arguments,2),o=function(){return e.apply(t||this,r.concat(ee.call(arguments)))},o.guid=e.guid=e.guid||ce.guid++,o},now:Date.now,support:se}),"function"==typeof Symbol&&(ce.fn[Symbol.iterator]=J[Symbol.iterator]),ce.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){oe["[object "+t+"]"]=t.toLowerCase()});var he=/*!
-	 * Sizzle CSS Selector Engine v2.2.1
-	 * http://sizzlejs.com/
-	 *
-	 * Copyright jQuery Foundation and other contributors
-	 * Released under the MIT license
-	 * http://jquery.org/license
-	 *
-	 * Date: 2015-10-17
-	 */
-function(e){function t(e,t,n,r){var o,i,a,s,u,c,f,d,h=t&&t.ownerDocument,v=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==v&&9!==v&&11!==v)return n;if(!r&&((t?t.ownerDocument||t:B)!==I&&A(t),t=t||I,D)){if(11!==v&&(c=ge.exec(e)))if(o=c[1]){if(9===v){if(!(a=t.getElementById(o)))return n;if(a.id===o)return n.push(a),n}else if(h&&(a=h.getElementById(o))&&F(t,a)&&a.id===o)return n.push(a),n}else{if(c[2])return J.apply(n,t.getElementsByTagName(e)),n;if((o=c[3])&&w.getElementsByClassName&&t.getElementsByClassName)return J.apply(n,t.getElementsByClassName(o)),n}if(w.qsa&&!V[e+" "]&&(!R||!R.test(e))){if(1!==v)h=t,d=e;else if("object"!==t.nodeName.toLowerCase()){for((s=t.getAttribute("id"))?s=s.replace(_e,"\\$&"):t.setAttribute("id",s=U),f=S(e),i=f.length,u=pe.test(s)?"#"+s:"[id='"+s+"']";i--;)f[i]=u+" "+p(f[i]);d=f.join(","),h=me.test(e)&&l(t.parentNode)||t}if(d)try{return J.apply(n,h.querySelectorAll(d)),n}catch(e){}finally{s===U&&t.removeAttribute("id")}}}return O(e.replace(se,"$1"),t,n,r)}function n(){function e(n,r){return t.push(n+" ")>E.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[U]=!0,e}function o(e){var t=I.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function i(e,t){for(var n=e.split("|"),r=n.length;r--;)E.attrHandle[n[r]]=t}function a(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||K)-(~e.sourceIndex||K);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function u(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function c(e){return r(function(t){return t=+t,r(function(n,r){for(var o,i=e([],n.length,t),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))})})}function l(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function f(){}function p(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function d(e,t,n){var r=t.dir,o=n&&"parentNode"===r,i=z++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||o)return e(t,n,i)}:function(t,n,a){var s,u,c,l=[q,i];if(a){for(;t=t[r];)if((1===t.nodeType||o)&&e(t,n,a))return!0}else for(;t=t[r];)if(1===t.nodeType||o){if(c=t[U]||(t[U]={}),u=c[t.uniqueID]||(c[t.uniqueID]={}),(s=u[r])&&s[0]===q&&s[1]===i)return l[2]=s[2];if(u[r]=l,l[2]=e(t,n,a))return!0}}}function h(e){return e.length>1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function v(e,n,r){for(var o=0,i=n.length;o<i;o++)t(e,n[o],r);return r}function y(e,t,n,r,o){for(var i,a=[],s=0,u=e.length,c=null!=t;s<u;s++)(i=e[s])&&(n&&!n(i,r,o)||(a.push(i),c&&t.push(s)));return a}function g(e,t,n,o,i,a){return o&&!o[U]&&(o=g(o)),i&&!i[U]&&(i=g(i,a)),r(function(r,a,s,u){var c,l,f,p=[],d=[],h=a.length,g=r||v(t||"*",s.nodeType?[s]:s,[]),m=!e||!r&&t?g:y(g,p,e,s,u),_=n?i||(r?e:h||o)?[]:a:m;if(n&&n(m,_,s,u),o)for(c=y(_,d),o(c,[],s,u),l=c.length;l--;)(f=c[l])&&(_[d[l]]=!(m[d[l]]=f));if(r){if(i||e){if(i){for(c=[],l=_.length;l--;)(f=_[l])&&c.push(m[l]=f);i(null,_=[],c,u)}for(l=_.length;l--;)(f=_[l])&&(c=i?ee(r,f):p[l])>-1&&(r[c]=!(a[c]=f))}}else _=y(_===a?_.splice(h,_.length):_),i?i(null,a,_,u):J.apply(a,_)})}function m(e){for(var t,n,r,o=e.length,i=E.relative[e[0].type],a=i||E.relative[" "],s=i?1:0,u=d(function(e){return e===t},a,!0),c=d(function(e){return ee(t,e)>-1},a,!0),l=[function(e,n,r){var o=!i&&(r||n!==k)||((t=n).nodeType?u(e,n,r):c(e,n,r));return t=null,o}];s<o;s++)if(n=E.relative[e[s].type])l=[d(h(l),n)];else{if(n=E.filter[e[s].type].apply(null,e[s].matches),n[U]){for(r=++s;r<o&&!E.relative[e[r].type];r++);return g(s>1&&h(l),s>1&&p(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(se,"$1"),n,s<r&&m(e.slice(s,r)),r<o&&m(e=e.slice(r)),r<o&&p(e))}l.push(n)}return h(l)}function _(e,n){var o=n.length>0,i=e.length>0,a=function(r,a,s,u,c){var l,f,p,d=0,h="0",v=r&&[],g=[],m=k,_=r||i&&E.find.TAG("*",c),b=q+=null==m?1:Math.random()||.1,w=_.length;for(c&&(k=a===I||a||c);h!==w&&null!=(l=_[h]);h++){if(i&&l){for(f=0,a||l.ownerDocument===I||(A(l),s=!D);p=e[f++];)if(p(l,a||I,s)){u.push(l);break}c&&(q=b)}o&&((l=!p&&l)&&d--,r&&v.push(l))}if(d+=h,o&&h!==d){for(f=0;p=n[f++];)p(v,g,a,s);if(r){if(d>0)for(;h--;)v[h]||g[h]||(g[h]=Y.call(u));g=y(g)}J.apply(u,g),c&&!r&&g.length>0&&d+n.length>1&&t.uniqueSort(u)}return c&&(q=b,k=m),v};return o?r(a):a}var b,w,E,T,C,S,x,O,k,P,M,A,I,j,D,R,N,L,F,U="sizzle"+1*new Date,B=e.document,q=0,z=0,W=n(),H=n(),V=n(),G=function(e,t){return e===t&&(M=!0),0},K=1<<31,$={}.hasOwnProperty,X=[],Y=X.pop,Q=X.push,J=X.push,Z=X.slice,ee=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},te="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ne="[\\x20\\t\\r\\n\\f]",re="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",oe="\\["+ne+"*("+re+")(?:"+ne+"*([*^$|!~]?=)"+ne+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+re+"))|)"+ne+"*\\]",ie=":("+re+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+oe+")*)|.*)\\)|)",ae=new RegExp(ne+"+","g"),se=new RegExp("^"+ne+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ne+"+$","g"),ue=new RegExp("^"+ne+"*,"+ne+"*"),ce=new RegExp("^"+ne+"*([>+~]|"+ne+")"+ne+"*"),le=new RegExp("="+ne+"*([^\\]'\"]*?)"+ne+"*\\]","g"),fe=new RegExp(ie),pe=new RegExp("^"+re+"$"),de={ID:new RegExp("^#("+re+")"),CLASS:new RegExp("^\\.("+re+")"),TAG:new RegExp("^("+re+"|[*])"),ATTR:new RegExp("^"+oe),PSEUDO:new RegExp("^"+ie),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ne+"*(even|odd|(([+-]|)(\\d*)n|)"+ne+"*(?:([+-]|)"+ne+"*(\\d+)|))"+ne+"*\\)|)","i"),bool:new RegExp("^(?:"+te+")$","i"),needsContext:new RegExp("^"+ne+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ne+"*((?:-\\d)?\\d*)"+ne+"*\\)|)(?=[^-]|$)","i")},he=/^(?:input|select|textarea|button)$/i,ve=/^h\d$/i,ye=/^[^{]+\{\s*\[native \w/,ge=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,me=/[+~]/,_e=/'|\\/g,be=new RegExp("\\\\([\\da-f]{1,6}"+ne+"?|("+ne+")|.)","ig"),we=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},Ee=function(){A()};try{J.apply(X=Z.call(B.childNodes),B.childNodes),X[B.childNodes.length].nodeType}catch(e){J={apply:X.length?function(e,t){Q.apply(e,Z.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}w=t.support={},C=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},A=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:B;return r!==I&&9===r.nodeType&&r.documentElement?(I=r,j=I.documentElement,D=!C(I),(n=I.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",Ee,!1):n.attachEvent&&n.attachEvent("onunload",Ee)),w.attributes=o(function(e){return e.className="i",!e.getAttribute("className")}),w.getElementsByTagName=o(function(e){return e.appendChild(I.createComment("")),!e.getElementsByTagName("*").length}),w.getElementsByClassName=ye.test(I.getElementsByClassName),w.getById=o(function(e){return j.appendChild(e).id=U,!I.getElementsByName||!I.getElementsByName(U).length}),w.getById?(E.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&D){var n=t.getElementById(e);return n?[n]:[]}},E.filter.ID=function(e){var t=e.replace(be,we);return function(e){return e.getAttribute("id")===t}}):(delete E.find.ID,E.filter.ID=function(e){var t=e.replace(be,we);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}}),E.find.TAG=w.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):w.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],o=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[o++];)1===n.nodeType&&r.push(n);return r}return i},E.find.CLASS=w.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&D)return t.getElementsByClassName(e)},N=[],R=[],(w.qsa=ye.test(I.querySelectorAll))&&(o(function(e){j.appendChild(e).innerHTML="<a id='"+U+"'></a><select id='"+U+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&R.push("[*^$]="+ne+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||R.push("\\["+ne+"*(?:value|"+te+")"),e.querySelectorAll("[id~="+U+"-]").length||R.push("~="),e.querySelectorAll(":checked").length||R.push(":checked"),e.querySelectorAll("a#"+U+"+*").length||R.push(".#.+[+~]")}),o(function(e){var t=I.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&R.push("name"+ne+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||R.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),R.push(",.*:")})),(w.matchesSelector=ye.test(L=j.matches||j.webkitMatchesSelector||j.mozMatchesSelector||j.oMatchesSelector||j.msMatchesSelector))&&o(function(e){w.disconnectedMatch=L.call(e,"div"),L.call(e,"[s!='']:x"),N.push("!=",ie)}),R=R.length&&new RegExp(R.join("|")),N=N.length&&new RegExp(N.join("|")),t=ye.test(j.compareDocumentPosition),F=t||ye.test(j.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},G=t?function(e,t){if(e===t)return M=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n?n:(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!w.sortDetached&&t.compareDocumentPosition(e)===n?e===I||e.ownerDocument===B&&F(B,e)?-1:t===I||t.ownerDocument===B&&F(B,t)?1:P?ee(P,e)-ee(P,t):0:4&n?-1:1)}:function(e,t){if(e===t)return M=!0,0;var n,r=0,o=e.parentNode,i=t.parentNode,s=[e],u=[t];if(!o||!i)return e===I?-1:t===I?1:o?-1:i?1:P?ee(P,e)-ee(P,t):0;if(o===i)return a(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)u.unshift(n);for(;s[r]===u[r];)r++;return r?a(s[r],u[r]):s[r]===B?-1:u[r]===B?1:0},I):I},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==I&&A(e),n=n.replace(le,"='$1']"),w.matchesSelector&&D&&!V[n+" "]&&(!N||!N.test(n))&&(!R||!R.test(n)))try{var r=L.call(e,n);if(r||w.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return t(n,I,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==I&&A(e),F(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==I&&A(e);var n=E.attrHandle[t.toLowerCase()],r=n&&$.call(E.attrHandle,t.toLowerCase())?n(e,t,!D):void 0;return void 0!==r?r:w.attributes||!D?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,o=0;if(M=!w.detectDuplicates,P=!w.sortStable&&e.slice(0),e.sort(G),M){for(;t=e[o++];)t===e[o]&&(r=n.push(o));for(;r--;)e.splice(n[r],1)}return P=null,e},T=t.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=T(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=T(t);return n},E=t.selectors={cacheLength:50,createPseudo:r,match:de,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(be,we),e[3]=(e[3]||e[4]||e[5]||"").replace(be,we),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return de.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&fe.test(n)&&(t=S(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(be,we).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=W[e+" "];return t||(t=new RegExp("(^|"+ne+")"+e+"("+ne+"|$)"))&&W(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(o){var i=t.attr(o,e);return null==i?"!="===n:!n||(i+="","="===n?i===r:"!="===n?i!==r:"^="===n?r&&0===i.indexOf(r):"*="===n?r&&i.indexOf(r)>-1:"$="===n?r&&i.slice(-r.length)===r:"~="===n?(" "+i.replace(ae," ")+" ").indexOf(r)>-1:"|="===n&&(i===r||i.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,n,r,o){var i="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,u){var c,l,f,p,d,h,v=i!==a?"nextSibling":"previousSibling",y=t.parentNode,g=s&&t.nodeName.toLowerCase(),m=!u&&!s,_=!1;if(y){if(i){for(;v;){for(p=t;p=p[v];)if(s?p.nodeName.toLowerCase()===g:1===p.nodeType)return!1;h=v="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?y.firstChild:y.lastChild],a&&m){for(p=y,f=p[U]||(p[U]={}),l=f[p.uniqueID]||(f[p.uniqueID]={}),c=l[e]||[],d=c[0]===q&&c[1],_=d&&c[2],p=d&&y.childNodes[d];p=++d&&p&&p[v]||(_=d=0)||h.pop();)if(1===p.nodeType&&++_&&p===t){l[e]=[q,d,_];break}}else if(m&&(p=t,f=p[U]||(p[U]={}),l=f[p.uniqueID]||(f[p.uniqueID]={}),c=l[e]||[],d=c[0]===q&&c[1],_=d),_===!1)for(;(p=++d&&p&&p[v]||(_=d=0)||h.pop())&&((s?p.nodeName.toLowerCase()!==g:1!==p.nodeType)||!++_||(m&&(f=p[U]||(p[U]={}),l=f[p.uniqueID]||(f[p.uniqueID]={}),l[e]=[q,_]),p!==t)););return _-=o,_===r||_%r===0&&_/r>=0}}},PSEUDO:function(e,n){var o,i=E.pseudos[e]||E.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return i[U]?i(n):i.length>1?(o=[e,e,"",n],E.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,o=i(e,n),a=o.length;a--;)r=ee(e,o[a]),e[r]=!(t[r]=o[a])}):function(e){return i(e,0,o)}):i}},pseudos:{not:r(function(e){var t=[],n=[],o=x(e.replace(se,"$1"));return o[U]?r(function(e,t,n,r){for(var i,a=o(e,null,r,[]),s=e.length;s--;)(i=a[s])&&(e[s]=!(t[s]=i))}):function(e,r,i){return t[0]=e,o(t,null,i,n),t[0]=null,!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return e=e.replace(be,we),function(t){return(t.textContent||t.innerText||T(t)).indexOf(e)>-1}}),lang:r(function(e){return pe.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(be,we).toLowerCase(),function(t){var n;do if(n=D?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===j},focus:function(e){return e===I.activeElement&&(!I.hasFocus||I.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!E.pseudos.empty(e)},header:function(e){return ve.test(e.nodeName)},input:function(e){return he.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:c(function(){return[0]}),last:c(function(e,t){return[t-1]}),eq:c(function(e,t,n){return[n<0?n+t:n]}),even:c(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:c(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:c(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:c(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}},E.pseudos.nth=E.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})E.pseudos[b]=s(b);for(b in{submit:!0,reset:!0})E.pseudos[b]=u(b);return f.prototype=E.filters=E.pseudos,E.setFilters=new f,S=t.tokenize=function(e,n){var r,o,i,a,s,u,c,l=H[e+" "];if(l)return n?0:l.slice(0);for(s=e,u=[],c=E.preFilter;s;){r&&!(o=ue.exec(s))||(o&&(s=s.slice(o[0].length)||s),u.push(i=[])),r=!1,(o=ce.exec(s))&&(r=o.shift(),i.push({value:r,type:o[0].replace(se," ")}),s=s.slice(r.length));for(a in E.filter)!(o=de[a].exec(s))||c[a]&&!(o=c[a](o))||(r=o.shift(),i.push({value:r,type:a,matches:o}),s=s.slice(r.length));if(!r)break}return n?s.length:s?t.error(e):H(e,u).slice(0)},x=t.compile=function(e,t){var n,r=[],o=[],i=V[e+" "];if(!i){for(t||(t=S(e)),n=t.length;n--;)i=m(t[n]),i[U]?r.push(i):o.push(i);i=V(e,_(o,r)),i.selector=e}return i},O=t.select=function(e,t,n,r){var o,i,a,s,u,c="function"==typeof e&&e,f=!r&&S(e=c.selector||e);if(n=n||[],1===f.length){if(i=f[0]=f[0].slice(0),i.length>2&&"ID"===(a=i[0]).type&&w.getById&&9===t.nodeType&&D&&E.relative[i[1].type]){if(t=(E.find.ID(a.matches[0].replace(be,we),t)||[])[0],!t)return n;c&&(t=t.parentNode),e=e.slice(i.shift().value.length)}for(o=de.needsContext.test(e)?0:i.length;o--&&(a=i[o],!E.relative[s=a.type]);)if((u=E.find[s])&&(r=u(a.matches[0].replace(be,we),me.test(i[0].type)&&l(t.parentNode)||t))){if(i.splice(o,1),e=r.length&&p(i),!e)return J.apply(n,r),n;break}}return(c||x(e,f))(r,t,!D,n,!t||me.test(e)&&l(t.parentNode)||t),n},w.sortStable=U.split("").sort(G).join("")===U,w.detectDuplicates=!!M,A(),w.sortDetached=o(function(e){return 1&e.compareDocumentPosition(I.createElement("div"))}),o(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||i("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),w.attributes&&o(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||i("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),o(function(e){return null==e.getAttribute("disabled")})||i(te,function(e,t,n){var r;if(!n)return e[t]===!0?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(n);ce.find=he,ce.expr=he.selectors,ce.expr[":"]=ce.expr.pseudos,ce.uniqueSort=ce.unique=he.uniqueSort,ce.text=he.getText,ce.isXMLDoc=he.isXML,ce.contains=he.contains;var ve=function(e,t,n){for(var r=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&ce(e).is(n))break;r.push(e)}return r},ye=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},ge=ce.expr.match.needsContext,me=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,_e=/^.[^:#\[\.,]*$/;ce.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?ce.find.matchesSelector(r,e)?[r]:[]:ce.find.matches(e,ce.grep(t,function(e){return 1===e.nodeType}))},ce.fn.extend({find:function(e){var t,n=this.length,r=[],o=this;if("string"!=typeof e)return this.pushStack(ce(e).filter(function(){for(t=0;t<n;t++)if(ce.contains(o[t],this))return!0}));for(t=0;t<n;t++)ce.find(e,o[t],r);return r=this.pushStack(n>1?ce.unique(r):r),r.selector=this.selector?this.selector+" "+e:e,r},filter:function(e){return this.pushStack(s(this,e||[],!1))},not:function(e){return this.pushStack(s(this,e||[],!0))},is:function(e){return!!s(this,"string"==typeof e&&ge.test(e)?ce(e):e||[],!1).length}});var be,we=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,Ee=ce.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||be,"string"==typeof e){if(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:we.exec(e),!r||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof ce?t[0]:t,ce.merge(this,ce.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:Z,!0)),me.test(r[1])&&ce.isPlainObject(t))for(r in t)ce.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return o=Z.getElementById(r[2]),o&&o.parentNode&&(this.length=1,this[0]=o),this.context=Z,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):ce.isFunction(e)?void 0!==n.ready?n.ready(e):e(ce):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),ce.makeArray(e,this))};Ee.prototype=ce.fn,be=ce(Z);var Te=/^(?:parents|prev(?:Until|All))/,Ce={children:!0,contents:!0,next:!0,prev:!0};ce.fn.extend({has:function(e){var t=ce(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(ce.contains(this,t[e]))return!0})},closest:function(e,t){for(var n,r=0,o=this.length,i=[],a=ge.test(e)||"string"!=typeof e?ce(e,t||this.context):0;r<o;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&ce.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?ce.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?re.call(ce(e),this[0]):re.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(ce.uniqueSort(ce.merge(this.get(),ce(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),ce.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return ve(e,"parentNode")},parentsUntil:function(e,t,n){return ve(e,"parentNode",n)},next:function(e){return u(e,"nextSibling")},prev:function(e){return u(e,"previousSibling")},nextAll:function(e){return ve(e,"nextSibling")},prevAll:function(e){return ve(e,"previousSibling")},nextUntil:function(e,t,n){return ve(e,"nextSibling",n)},prevUntil:function(e,t,n){return ve(e,"previousSibling",n)},siblings:function(e){return ye((e.parentNode||{}).firstChild,e)},children:function(e){return ye(e.firstChild)},contents:function(e){return e.contentDocument||ce.merge([],e.childNodes)}},function(e,t){ce.fn[e]=function(n,r){var o=ce.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=ce.filter(r,o)),this.length>1&&(Ce[e]||ce.uniqueSort(o),Te.test(e)&&o.reverse()),this.pushStack(o)}});var Se=/\S+/g;ce.Callbacks=function(e){e="string"==typeof e?c(e):ce.extend({},e);var t,n,r,o,i=[],a=[],s=-1,u=function(){for(o=e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<i.length;)i[s].apply(n[0],n[1])===!1&&e.stopOnFalse&&(s=i.length,n=!1);e.memory||(n=!1),t=!1,o&&(i=n?[]:"")},l={add:function(){return i&&(n&&!t&&(s=i.length-1,a.push(n)),function t(n){ce.each(n,function(n,r){ce.isFunction(r)?e.unique&&l.has(r)||i.push(r):r&&r.length&&"string"!==ce.type(r)&&t(r)})}(arguments),n&&!t&&u()),this},remove:function(){return ce.each(arguments,function(e,t){for(var n;(n=ce.inArray(t,i,n))>-1;)i.splice(n,1),n<=s&&s--}),this},has:function(e){return e?ce.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=a=[],i=n="",this},disabled:function(){return!i},lock:function(){return o=a=[],n||(i=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=n||[],n=[e,n.slice?n.slice():n],a.push(n),t||u()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},ce.extend({Deferred:function(e){var t=[["resolve","done",ce.Callbacks("once memory"),"resolved"],["reject","fail",ce.Callbacks("once memory"),"rejected"],["notify","progress",ce.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},then:function(){var e=arguments;return ce.Deferred(function(n){ce.each(t,function(t,i){var a=ce.isFunction(e[t])&&e[t];o[i[1]](function(){var e=a&&a.apply(this,arguments);e&&ce.isFunction(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[i[0]+"With"](this===r?n.promise():this,a?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?ce.extend(e,r):r}},o={};return r.pipe=r.then,ce.each(t,function(e,i){var a=i[2],s=i[3];r[i[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),o[i[0]]=function(){return o[i[0]+"With"](this===o?r:this,arguments),this},o[i[0]+"With"]=a.fireWith}),r.promise(o),e&&e.call(o,o),o},when:function(e){var t,n,r,o=0,i=ee.call(arguments),a=i.length,s=1!==a||e&&ce.isFunction(e.promise)?a:0,u=1===s?e:ce.Deferred(),c=function(e,n,r){return function(o){n[e]=this,r[e]=arguments.length>1?ee.call(arguments):o,r===t?u.notifyWith(n,r):--s||u.resolveWith(n,r)}};if(a>1)for(t=new Array(a),n=new Array(a),r=new Array(a);o<a;o++)i[o]&&ce.isFunction(i[o].promise)?i[o].promise().progress(c(o,n,t)).done(c(o,r,i)).fail(u.reject):--s;return s||u.resolveWith(r,i),u.promise()}});var xe;ce.fn.ready=function(e){return ce.ready.promise().done(e),this},ce.extend({isReady:!1,readyWait:1,holdReady:function(e){e?ce.readyWait++:ce.ready(!0)},ready:function(e){(e===!0?--ce.readyWait:ce.isReady)||(ce.isReady=!0,e!==!0&&--ce.readyWait>0||(xe.resolveWith(Z,[ce]),ce.fn.triggerHandler&&(ce(Z).triggerHandler("ready"),ce(Z).off("ready"))))}}),ce.ready.promise=function(e){return xe||(xe=ce.Deferred(),"complete"===Z.readyState||"loading"!==Z.readyState&&!Z.documentElement.doScroll?n.setTimeout(ce.ready):(Z.addEventListener("DOMContentLoaded",l),n.addEventListener("load",l))),xe.promise(e)},ce.ready.promise();var Oe=function(e,t,n,r,o,i,a){var s=0,u=e.length,c=null==n;if("object"===ce.type(n)){o=!0;for(s in n)Oe(e,t,s,n[s],!0,i,a)}else if(void 0!==r&&(o=!0,ce.isFunction(r)||(a=!0),c&&(a?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.call(ce(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return o?e:c?t.call(e):u?t(e[0],n):i},ke=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};f.uid=1,f.prototype={register:function(e,t){var n=t||{};return e.nodeType?e[this.expando]=n:Object.defineProperty(e,this.expando,{value:n,writable:!0,configurable:!0}),e[this.expando]},cache:function(e){if(!ke(e))return{};var t=e[this.expando];return t||(t={},ke(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,o=this.cache(e);if("string"==typeof t)o[t]=n;else for(r in t)o[r]=t[r];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][t]},access:function(e,t,n){var r;return void 0===t||t&&"string"==typeof t&&void 0===n?(r=this.get(e,t),void 0!==r?r:this.get(e,ce.camelCase(t))):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r,o,i=e[this.expando];if(void 0!==i){if(void 0===t)this.register(e);else{ce.isArray(t)?r=t.concat(t.map(ce.camelCase)):(o=ce.camelCase(t),t in i?r=[t,o]:(r=o,r=r in i?[r]:r.match(Se)||[])),n=r.length;for(;n--;)delete i[r[n]]}(void 0===t||ce.isEmptyObject(i))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!ce.isEmptyObject(t)}};var Pe=new f,Me=new f,Ae=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ie=/[A-Z]/g;ce.extend({hasData:function(e){return Me.hasData(e)||Pe.hasData(e)},data:function(e,t,n){return Me.access(e,t,n)},removeData:function(e,t){Me.remove(e,t)},_data:function(e,t,n){return Pe.access(e,t,n)},_removeData:function(e,t){Pe.remove(e,t)}}),ce.fn.extend({data:function(e,t){var n,r,o,i=this[0],a=i&&i.attributes;if(void 0===e){if(this.length&&(o=Me.get(i),1===i.nodeType&&!Pe.get(i,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&(r=a[n].name,0===r.indexOf("data-")&&(r=ce.camelCase(r.slice(5)),p(i,r,o[r])));Pe.set(i,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each(function(){Me.set(this,e)}):Oe(this,function(t){var n,r;if(i&&void 0===t){if(n=Me.get(i,e)||Me.get(i,e.replace(Ie,"-$&").toLowerCase()),void 0!==n)return n;if(r=ce.camelCase(e),n=Me.get(i,r),void 0!==n)return n;if(n=p(i,r,void 0),void 0!==n)return n}else r=ce.camelCase(e),this.each(function(){var n=Me.get(this,r);Me.set(this,r,t),e.indexOf("-")>-1&&void 0!==n&&Me.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){Me.remove(this,e)})}}),ce.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Pe.get(e,t),n&&(!r||ce.isArray(n)?r=Pe.access(e,t,ce.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=ce.queue(e,t),r=n.length,o=n.shift(),i=ce._queueHooks(e,t),a=function(){ce.dequeue(e,t)};"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete i.stop,o.call(e,a,i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Pe.get(e,n)||Pe.access(e,n,{empty:ce.Callbacks("once memory").add(function(){Pe.remove(e,[t+"queue",n])})})}}),ce.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?ce.queue(this[0],e):void 0===t?this:this.each(function(){var n=ce.queue(this,e,t);ce._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&ce.dequeue(this,e)})},dequeue:function(e){return this.each(function(){ce.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,o=ce.Deferred(),i=this,a=this.length,s=function(){--r||o.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)n=Pe.get(i[a],e+"queueHooks"),n&&n.empty&&(r++,n.empty.add(s));return s(),o.promise(t)}});var je=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,De=new RegExp("^(?:([+-])=|)("+je+")([a-z%]*)$","i"),Re=["Top","Right","Bottom","Left"],Ne=function(e,t){return e=t||e,"none"===ce.css(e,"display")||!ce.contains(e.ownerDocument,e)},Le=/^(?:checkbox|radio)$/i,Fe=/<([\w:-]+)/,Ue=/^$|\/(?:java|ecma)script/i,Be={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Be.optgroup=Be.option,Be.tbody=Be.tfoot=Be.colgroup=Be.caption=Be.thead,Be.th=Be.td;var qe=/<|&#?\w+;/;!function(){var e=Z.createDocumentFragment(),t=e.appendChild(Z.createElement("div")),n=Z.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),se.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",se.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue}();var ze=/^key/,We=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,He=/^([^.]*)(?:\.(.+)|)/;ce.event={global:{},add:function(e,t,n,r,o){var i,a,s,u,c,l,f,p,d,h,v,y=Pe.get(e);if(y)for(n.handler&&(i=n,n=i.handler,o=i.selector),n.guid||(n.guid=ce.guid++),(u=y.events)||(u=y.events={}),(a=y.handle)||(a=y.handle=function(t){return"undefined"!=typeof ce&&ce.event.triggered!==t.type?ce.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(Se)||[""],c=t.length;c--;)s=He.exec(t[c])||[],d=v=s[1],h=(s[2]||"").split(".").sort(),d&&(f=ce.event.special[d]||{},d=(o?f.delegateType:f.bindType)||d,f=ce.event.special[d]||{},l=ce.extend({type:d,origType:v,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&ce.expr.match.needsContext.test(o),namespace:h.join(".")},i),(p=u[d])||(p=u[d]=[],p.delegateCount=0,f.setup&&f.setup.call(e,r,h,a)!==!1||e.addEventListener&&e.addEventListener(d,a)),f.add&&(f.add.call(e,l),l.handler.guid||(l.handler.guid=n.guid)),o?p.splice(p.delegateCount++,0,l):p.push(l),ce.event.global[d]=!0)},remove:function(e,t,n,r,o){var i,a,s,u,c,l,f,p,d,h,v,y=Pe.hasData(e)&&Pe.get(e);if(y&&(u=y.events)){for(t=(t||"").match(Se)||[""],c=t.length;c--;)if(s=He.exec(t[c])||[],d=v=s[1],h=(s[2]||"").split(".").sort(),d){for(f=ce.event.special[d]||{},d=(r?f.delegateType:f.bindType)||d,p=u[d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=p.length;i--;)l=p[i],!o&&v!==l.origType||n&&n.guid!==l.guid||s&&!s.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(p.splice(i,1),
-l.selector&&p.delegateCount--,f.remove&&f.remove.call(e,l));a&&!p.length&&(f.teardown&&f.teardown.call(e,h,y.handle)!==!1||ce.removeEvent(e,d,y.handle),delete u[d])}else for(d in u)ce.event.remove(e,d+t[c],n,r,!0);ce.isEmptyObject(u)&&Pe.remove(e,"handle events")}},dispatch:function(e){e=ce.event.fix(e);var t,n,r,o,i,a=[],s=ee.call(arguments),u=(Pe.get(this,"events")||{})[e.type]||[],c=ce.event.special[e.type]||{};if(s[0]=e,e.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,e)!==!1){for(a=ce.event.handlers.call(this,e,u),t=0;(o=a[t++])&&!e.isPropagationStopped();)for(e.currentTarget=o.elem,n=0;(i=o.handlers[n++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(i.namespace)||(e.handleObj=i,e.data=i.data,r=((ce.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,s),void 0!==r&&(e.result=r)===!1&&(e.preventDefault(),e.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,o,i,a=[],s=t.delegateCount,u=e.target;if(s&&u.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&(u.disabled!==!0||"click"!==e.type)){for(r=[],n=0;n<s;n++)i=t[n],o=i.selector+" ",void 0===r[o]&&(r[o]=i.needsContext?ce(o,this).index(u)>-1:ce.find(o,this,null,[u]).length),r[o]&&r.push(i);r.length&&a.push({elem:u,handlers:r})}return s<t.length&&a.push({elem:this,handlers:t.slice(s)}),a},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,r,o,i=t.button;return null==e.pageX&&null!=t.clientX&&(n=e.target.ownerDocument||Z,r=n.documentElement,o=n.body,e.pageX=t.clientX+(r&&r.scrollLeft||o&&o.scrollLeft||0)-(r&&r.clientLeft||o&&o.clientLeft||0),e.pageY=t.clientY+(r&&r.scrollTop||o&&o.scrollTop||0)-(r&&r.clientTop||o&&o.clientTop||0)),e.which||void 0===i||(e.which=1&i?1:2&i?3:4&i?2:0),e}},fix:function(e){if(e[ce.expando])return e;var t,n,r,o=e.type,i=e,a=this.fixHooks[o];for(a||(this.fixHooks[o]=a=We.test(o)?this.mouseHooks:ze.test(o)?this.keyHooks:{}),r=a.props?this.props.concat(a.props):this.props,e=new ce.Event(i),t=r.length;t--;)n=r[t],e[n]=i[n];return e.target||(e.target=Z),3===e.target.nodeType&&(e.target=e.target.parentNode),a.filter?a.filter(e,i):e},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==_()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===_()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&ce.nodeName(this,"input"))return this.click(),!1},_default:function(e){return ce.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},ce.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},ce.Event=function(e,t){return this instanceof ce.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&e.returnValue===!1?g:m):this.type=e,t&&ce.extend(this,t),this.timeStamp=e&&e.timeStamp||ce.now(),void(this[ce.expando]=!0)):new ce.Event(e,t)},ce.Event.prototype={constructor:ce.Event,isDefaultPrevented:m,isPropagationStopped:m,isImmediatePropagationStopped:m,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=g,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=g,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=g,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},ce.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){ce.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,o=e.relatedTarget,i=e.handleObj;return o&&(o===r||ce.contains(r,o))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}}),ce.fn.extend({on:function(e,t,n,r){return b(this,e,t,n,r)},one:function(e,t,n,r){return b(this,e,t,n,r,1)},off:function(e,t,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,ce(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return t!==!1&&"function"!=typeof t||(n=t,t=void 0),n===!1&&(n=m),this.each(function(){ce.event.remove(this,e,n,t)})}});var Ve=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,Ge=/<script|<style|<link/i,Ke=/checked\s*(?:[^=]|=\s*.checked.)/i,$e=/^true\/(.*)/,Xe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;ce.extend({htmlPrefilter:function(e){return e.replace(Ve,"<$1></$2>")},clone:function(e,t,n){var r,o,i,a,s=e.cloneNode(!0),u=ce.contains(e.ownerDocument,e);if(!(se.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||ce.isXMLDoc(e)))for(a=h(s),i=h(e),r=0,o=i.length;r<o;r++)S(i[r],a[r]);if(t)if(n)for(i=i||h(e),a=a||h(s),r=0,o=i.length;r<o;r++)C(i[r],a[r]);else C(e,s);return a=h(s,"script"),a.length>0&&v(a,!u&&h(e,"script")),s},cleanData:function(e){for(var t,n,r,o=ce.event.special,i=0;void 0!==(n=e[i]);i++)if(ke(n)){if(t=n[Pe.expando]){if(t.events)for(r in t.events)o[r]?ce.event.remove(n,r):ce.removeEvent(n,r,t.handle);n[Pe.expando]=void 0}n[Me.expando]&&(n[Me.expando]=void 0)}}}),ce.fn.extend({domManip:x,detach:function(e){return O(this,e,!0)},remove:function(e){return O(this,e)},text:function(e){return Oe(this,function(e){return void 0===e?ce.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return x(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=w(this,e);t.appendChild(e)}})},prepend:function(){return x(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=w(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return x(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return x(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(ce.cleanData(h(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return ce.clone(this,e,t)})},html:function(e){return Oe(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ge.test(e)&&!Be[(Fe.exec(e)||["",""])[1].toLowerCase()]){e=ce.htmlPrefilter(e);try{for(;n<r;n++)t=this[n]||{},1===t.nodeType&&(ce.cleanData(h(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return x(this,arguments,function(t){var n=this.parentNode;ce.inArray(this,e)<0&&(ce.cleanData(h(this)),n&&n.replaceChild(t,this))},e)}}),ce.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){ce.fn[e]=function(e){for(var n,r=[],o=ce(e),i=o.length-1,a=0;a<=i;a++)n=a===i?this:this.clone(!0),ce(o[a])[t](n),ne.apply(r,n.get());return this.pushStack(r)}});var Ye,Qe={HTML:"block",BODY:"block"},Je=/^margin/,Ze=new RegExp("^("+je+")(?!px)[a-z%]+$","i"),et=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},tt=function(e,t,n,r){var o,i,a={};for(i in t)a[i]=e.style[i],e.style[i]=t[i];o=n.apply(e,r||[]);for(i in t)e.style[i]=a[i];return o},nt=Z.documentElement;!function(){function e(){s.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",s.innerHTML="",nt.appendChild(a);var e=n.getComputedStyle(s);t="1%"!==e.top,i="2px"===e.marginLeft,r="4px"===e.width,s.style.marginRight="50%",o="4px"===e.marginRight,nt.removeChild(a)}var t,r,o,i,a=Z.createElement("div"),s=Z.createElement("div");s.style&&(s.style.backgroundClip="content-box",s.cloneNode(!0).style.backgroundClip="",se.clearCloneStyle="content-box"===s.style.backgroundClip,a.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",a.appendChild(s),ce.extend(se,{pixelPosition:function(){return e(),t},boxSizingReliable:function(){return null==r&&e(),r},pixelMarginRight:function(){return null==r&&e(),o},reliableMarginLeft:function(){return null==r&&e(),i},reliableMarginRight:function(){var e,t=s.appendChild(Z.createElement("div"));return t.style.cssText=s.style.cssText="-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",t.style.marginRight=t.style.width="0",s.style.width="1px",nt.appendChild(a),e=!parseFloat(n.getComputedStyle(t).marginRight),nt.removeChild(a),s.removeChild(t),e}}))}();var rt=/^(none|table(?!-c[ea]).+)/,ot={position:"absolute",visibility:"hidden",display:"block"},it={letterSpacing:"0",fontWeight:"400"},at=["Webkit","O","Moz","ms"],st=Z.createElement("div").style;ce.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=M(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,i,a,s=ce.camelCase(t),u=e.style;return t=ce.cssProps[s]||(ce.cssProps[s]=I(s)||s),a=ce.cssHooks[t]||ce.cssHooks[s],void 0===n?a&&"get"in a&&void 0!==(o=a.get(e,!1,r))?o:u[t]:(i=typeof n,"string"===i&&(o=De.exec(n))&&o[1]&&(n=d(e,t,o),i="number"),null!=n&&n===n&&("number"===i&&(n+=o&&o[3]||(ce.cssNumber[s]?"":"px")),se.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u[t]=n)),void 0)}},css:function(e,t,n,r){var o,i,a,s=ce.camelCase(t);return t=ce.cssProps[s]||(ce.cssProps[s]=I(s)||s),a=ce.cssHooks[t]||ce.cssHooks[s],a&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=M(e,t,r)),"normal"===o&&t in it&&(o=it[t]),""===n||n?(i=parseFloat(o),n===!0||isFinite(i)?i||0:o):o}}),ce.each(["height","width"],function(e,t){ce.cssHooks[t]={get:function(e,n,r){if(n)return rt.test(ce.css(e,"display"))&&0===e.offsetWidth?tt(e,ot,function(){return R(e,t,r)}):R(e,t,r)},set:function(e,n,r){var o,i=r&&et(e),a=r&&D(e,t,r,"border-box"===ce.css(e,"boxSizing",!1,i),i);return a&&(o=De.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=ce.css(e,t)),j(e,n,a)}}}),ce.cssHooks.marginLeft=A(se.reliableMarginLeft,function(e,t){if(t)return(parseFloat(M(e,"marginLeft"))||e.getBoundingClientRect().left-tt(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),ce.cssHooks.marginRight=A(se.reliableMarginRight,function(e,t){if(t)return tt(e,{display:"inline-block"},M,[e,"marginRight"])}),ce.each({margin:"",padding:"",border:"Width"},function(e,t){ce.cssHooks[e+t]={expand:function(n){for(var r=0,o={},i="string"==typeof n?n.split(" "):[n];r<4;r++)o[e+Re[r]+t]=i[r]||i[r-2]||i[0];return o}},Je.test(e)||(ce.cssHooks[e+t].set=j)}),ce.fn.extend({css:function(e,t){return Oe(this,function(e,t,n){var r,o,i={},a=0;if(ce.isArray(t)){for(r=et(e),o=t.length;a<o;a++)i[t[a]]=ce.css(e,t[a],!1,r);return i}return void 0!==n?ce.style(e,t,n):ce.css(e,t)},e,t,arguments.length>1)},show:function(){return N(this,!0)},hide:function(){return N(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Ne(this)?ce(this).show():ce(this).hide()})}}),ce.Tween=L,L.prototype={constructor:L,init:function(e,t,n,r,o,i){this.elem=e,this.prop=n,this.easing=o||ce.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(ce.cssNumber[n]?"":"px")},cur:function(){var e=L.propHooks[this.prop];return e&&e.get?e.get(this):L.propHooks._default.get(this)},run:function(e){var t,n=L.propHooks[this.prop];return this.options.duration?this.pos=t=ce.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):L.propHooks._default.set(this),this}},L.prototype.init.prototype=L.prototype,L.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=ce.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){ce.fx.step[e.prop]?ce.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[ce.cssProps[e.prop]]&&!ce.cssHooks[e.prop]?e.elem[e.prop]=e.now:ce.style(e.elem,e.prop,e.now+e.unit)}}},L.propHooks.scrollTop=L.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},ce.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},ce.fx=L.prototype.init,ce.fx.step={};var ut,ct,lt=/^(?:toggle|show|hide)$/,ft=/queueHooks$/;ce.Animation=ce.extend(W,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return d(n.elem,e,De.exec(t),n),n}]},tweener:function(e,t){ce.isFunction(e)?(t=e,e=["*"]):e=e.match(Se);for(var n,r=0,o=e.length;r<o;r++)n=e[r],W.tweeners[n]=W.tweeners[n]||[],W.tweeners[n].unshift(t)},prefilters:[q],prefilter:function(e,t){t?W.prefilters.unshift(e):W.prefilters.push(e)}}),ce.speed=function(e,t,n){var r=e&&"object"==typeof e?ce.extend({},e):{complete:n||!n&&t||ce.isFunction(e)&&e,duration:e,easing:n&&t||t&&!ce.isFunction(t)&&t};return r.duration=ce.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in ce.fx.speeds?ce.fx.speeds[r.duration]:ce.fx.speeds._default,null!=r.queue&&r.queue!==!0||(r.queue="fx"),r.old=r.complete,r.complete=function(){ce.isFunction(r.old)&&r.old.call(this),r.queue&&ce.dequeue(this,r.queue)},r},ce.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Ne).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var o=ce.isEmptyObject(e),i=ce.speed(t,n,r),a=function(){var t=W(this,ce.extend({},e),i);(o||Pe.get(this,"finish"))&&t.stop(!0)};return a.finish=a,o||i.queue===!1?this.each(a):this.queue(i.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,o=null!=e&&e+"queueHooks",i=ce.timers,a=Pe.get(this);if(o)a[o]&&a[o].stop&&r(a[o]);else for(o in a)a[o]&&a[o].stop&&ft.test(o)&&r(a[o]);for(o=i.length;o--;)i[o].elem!==this||null!=e&&i[o].queue!==e||(i[o].anim.stop(n),t=!1,i.splice(o,1));!t&&n||ce.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=Pe.get(this),r=n[e+"queue"],o=n[e+"queueHooks"],i=ce.timers,a=r?r.length:0;for(n.finish=!0,ce.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=i.length;t--;)i[t].elem===this&&i[t].queue===e&&(i[t].anim.stop(!0),i.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),ce.each(["toggle","show","hide"],function(e,t){var n=ce.fn[t];ce.fn[t]=function(e,r,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(U(t,!0),e,r,o)}}),ce.each({slideDown:U("show"),slideUp:U("hide"),slideToggle:U("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){ce.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),ce.timers=[],ce.fx.tick=function(){var e,t=0,n=ce.timers;for(ut=ce.now();t<n.length;t++)e=n[t],e()||n[t]!==e||n.splice(t--,1);n.length||ce.fx.stop(),ut=void 0},ce.fx.timer=function(e){ce.timers.push(e),e()?ce.fx.start():ce.timers.pop()},ce.fx.interval=13,ce.fx.start=function(){ct||(ct=n.setInterval(ce.fx.tick,ce.fx.interval))},ce.fx.stop=function(){n.clearInterval(ct),ct=null},ce.fx.speeds={slow:600,fast:200,_default:400},ce.fn.delay=function(e,t){return e=ce.fx?ce.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,r){var o=n.setTimeout(t,e);r.stop=function(){n.clearTimeout(o)}})},function(){var e=Z.createElement("input"),t=Z.createElement("select"),n=t.appendChild(Z.createElement("option"));e.type="checkbox",se.checkOn=""!==e.value,se.optSelected=n.selected,t.disabled=!0,se.optDisabled=!n.disabled,e=Z.createElement("input"),e.value="t",e.type="radio",se.radioValue="t"===e.value}();var pt,dt=ce.expr.attrHandle;ce.fn.extend({attr:function(e,t){return Oe(this,ce.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){ce.removeAttr(this,e)})}}),ce.extend({attr:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return"undefined"==typeof e.getAttribute?ce.prop(e,t,n):(1===i&&ce.isXMLDoc(e)||(t=t.toLowerCase(),o=ce.attrHooks[t]||(ce.expr.match.bool.test(t)?pt:void 0)),void 0!==n?null===n?void ce.removeAttr(e,t):o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(r=o.get(e,t))?r:(r=ce.find.attr(e,t),null==r?void 0:r))},attrHooks:{type:{set:function(e,t){if(!se.radioValue&&"radio"===t&&ce.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r,o=0,i=t&&t.match(Se);if(i&&1===e.nodeType)for(;n=i[o++];)r=ce.propFix[n]||n,ce.expr.match.bool.test(n)&&(e[r]=!1),e.removeAttribute(n)}}),pt={set:function(e,t,n){return t===!1?ce.removeAttr(e,n):e.setAttribute(n,n),n}},ce.each(ce.expr.match.bool.source.match(/\w+/g),function(e,t){var n=dt[t]||ce.find.attr;dt[t]=function(e,t,r){var o,i;return r||(i=dt[t],dt[t]=o,o=null!=n(e,t,r)?t.toLowerCase():null,dt[t]=i),o}});var ht=/^(?:input|select|textarea|button)$/i,vt=/^(?:a|area)$/i;ce.fn.extend({prop:function(e,t){return Oe(this,ce.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[ce.propFix[e]||e]})}}),ce.extend({prop:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&ce.isXMLDoc(e)||(t=ce.propFix[t]||t,o=ce.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:e[t]=n:o&&"get"in o&&null!==(r=o.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=ce.find.attr(e,"tabindex");return t?parseInt(t,10):ht.test(e.nodeName)||vt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),se.optSelected||(ce.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),ce.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ce.propFix[this.toLowerCase()]=this});var yt=/[\t\r\n\f]/g;ce.fn.extend({addClass:function(e){var t,n,r,o,i,a,s,u=0;if(ce.isFunction(e))return this.each(function(t){ce(this).addClass(e.call(this,t,H(this)))});if("string"==typeof e&&e)for(t=e.match(Se)||[];n=this[u++];)if(o=H(n),r=1===n.nodeType&&(" "+o+" ").replace(yt," ")){for(a=0;i=t[a++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");s=ce.trim(r),o!==s&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,o,i,a,s,u=0;if(ce.isFunction(e))return this.each(function(t){ce(this).removeClass(e.call(this,t,H(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(Se)||[];n=this[u++];)if(o=H(n),r=1===n.nodeType&&(" "+o+" ").replace(yt," ")){for(a=0;i=t[a++];)for(;r.indexOf(" "+i+" ")>-1;)r=r.replace(" "+i+" "," ");s=ce.trim(r),o!==s&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):ce.isFunction(e)?this.each(function(n){ce(this).toggleClass(e.call(this,n,H(this),t),t)}):this.each(function(){var t,r,o,i;if("string"===n)for(r=0,o=ce(this),i=e.match(Se)||[];t=i[r++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||(t=H(this),t&&Pe.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||e===!1?"":Pe.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+H(n)+" ").replace(yt," ").indexOf(t)>-1)return!0;return!1}});var gt=/\r/g,mt=/[\x20\t\r\n\f]+/g;ce.fn.extend({val:function(e){var t,n,r,o=this[0];{if(arguments.length)return r=ce.isFunction(e),this.each(function(n){var o;1===this.nodeType&&(o=r?e.call(this,n,ce(this).val()):e,null==o?o="":"number"==typeof o?o+="":ce.isArray(o)&&(o=ce.map(o,function(e){return null==e?"":e+""})),t=ce.valHooks[this.type]||ce.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))});if(o)return t=ce.valHooks[o.type]||ce.valHooks[o.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:(n=o.value,"string"==typeof n?n.replace(gt,""):null==n?"":n)}}}),ce.extend({valHooks:{option:{get:function(e){var t=ce.find.attr(e,"value");return null!=t?t:ce.trim(ce.text(e)).replace(mt," ")}},select:{get:function(e){for(var t,n,r=e.options,o=e.selectedIndex,i="select-one"===e.type||o<0,a=i?null:[],s=i?o+1:r.length,u=o<0?s:i?o:0;u<s;u++)if(n=r[u],(n.selected||u===o)&&(se.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!ce.nodeName(n.parentNode,"optgroup"))){if(t=ce(n).val(),i)return t;a.push(t)}return a},set:function(e,t){for(var n,r,o=e.options,i=ce.makeArray(t),a=o.length;a--;)r=o[a],(r.selected=ce.inArray(ce.valHooks.option.get(r),i)>-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),ce.each(["radio","checkbox"],function(){ce.valHooks[this]={set:function(e,t){if(ce.isArray(t))return e.checked=ce.inArray(ce(e).val(),t)>-1}},se.checkOn||(ce.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var _t=/^(?:focusinfocus|focusoutblur)$/;ce.extend(ce.event,{trigger:function(e,t,r,o){var i,a,s,u,c,l,f,p=[r||Z],d=ae.call(e,"type")?e.type:e,h=ae.call(e,"namespace")?e.namespace.split("."):[];if(a=s=r=r||Z,3!==r.nodeType&&8!==r.nodeType&&!_t.test(d+ce.event.triggered)&&(d.indexOf(".")>-1&&(h=d.split("."),d=h.shift(),h.sort()),c=d.indexOf(":")<0&&"on"+d,e=e[ce.expando]?e:new ce.Event(d,"object"==typeof e&&e),e.isTrigger=o?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:ce.makeArray(t,[e]),f=ce.event.special[d]||{},o||!f.trigger||f.trigger.apply(r,t)!==!1)){if(!o&&!f.noBubble&&!ce.isWindow(r)){for(u=f.delegateType||d,_t.test(u+d)||(a=a.parentNode);a;a=a.parentNode)p.push(a),s=a;s===(r.ownerDocument||Z)&&p.push(s.defaultView||s.parentWindow||n)}for(i=0;(a=p[i++])&&!e.isPropagationStopped();)e.type=i>1?u:f.bindType||d,l=(Pe.get(a,"events")||{})[e.type]&&Pe.get(a,"handle"),l&&l.apply(a,t),l=c&&a[c],l&&l.apply&&ke(a)&&(e.result=l.apply(a,t),e.result===!1&&e.preventDefault());return e.type=d,o||e.isDefaultPrevented()||f._default&&f._default.apply(p.pop(),t)!==!1||!ke(r)||c&&ce.isFunction(r[d])&&!ce.isWindow(r)&&(s=r[c],s&&(r[c]=null),ce.event.triggered=d,r[d](),ce.event.triggered=void 0,s&&(r[c]=s)),e.result}},simulate:function(e,t,n){var r=ce.extend(new ce.Event,n,{type:e,isSimulated:!0});ce.event.trigger(r,null,t)}}),ce.fn.extend({trigger:function(e,t){return this.each(function(){ce.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return ce.event.trigger(e,t,n,!0)}}),ce.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){ce.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),ce.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),se.focusin="onfocusin"in n,se.focusin||ce.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){ce.event.simulate(t,e.target,ce.event.fix(e))};ce.event.special[t]={setup:function(){var r=this.ownerDocument||this,o=Pe.access(r,t);o||r.addEventListener(e,n,!0),Pe.access(r,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this,o=Pe.access(r,t)-1;o?Pe.access(r,t,o):(r.removeEventListener(e,n,!0),Pe.remove(r,t))}}});var bt=n.location,wt=ce.now(),Et=/\?/;ce.parseJSON=function(e){return JSON.parse(e+"")},ce.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||ce.error("Invalid XML: "+e),t};var Tt=/#.*$/,Ct=/([?&])_=[^&]*/,St=/^(.*?):[ \t]*([^\r\n]*)$/gm,xt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Ot=/^(?:GET|HEAD)$/,kt=/^\/\//,Pt={},Mt={},At="*/".concat("*"),It=Z.createElement("a");It.href=bt.href,ce.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:bt.href,type:"GET",isLocal:xt.test(bt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":At,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":ce.parseJSON,"text xml":ce.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?K(K(e,ce.ajaxSettings),t):K(ce.ajaxSettings,e)},ajaxPrefilter:V(Pt),ajaxTransport:V(Mt),ajax:function(e,t){function r(e,t,r,s){var c,f,m,_,w,T=t;2!==b&&(b=2,u&&n.clearTimeout(u),o=void 0,a=s||"",E.readyState=e>0?4:0,c=e>=200&&e<300||304===e,r&&(_=$(p,E,r)),_=X(p,_,E,c),c?(p.ifModified&&(w=E.getResponseHeader("Last-Modified"),w&&(ce.lastModified[i]=w),w=E.getResponseHeader("etag"),w&&(ce.etag[i]=w)),204===e||"HEAD"===p.type?T="nocontent":304===e?T="notmodified":(T=_.state,f=_.data,m=_.error,c=!m)):(m=T,!e&&T||(T="error",e<0&&(e=0))),E.status=e,E.statusText=(t||T)+"",c?v.resolveWith(d,[f,T,E]):v.rejectWith(d,[E,T,m]),E.statusCode(g),g=void 0,l&&h.trigger(c?"ajaxSuccess":"ajaxError",[E,p,c?f:m]),y.fireWith(d,[E,T]),l&&(h.trigger("ajaxComplete",[E,p]),--ce.active||ce.event.trigger("ajaxStop")))}"object"==typeof e&&(t=e,e=void 0),t=t||{};var o,i,a,s,u,c,l,f,p=ce.ajaxSetup({},t),d=p.context||p,h=p.context&&(d.nodeType||d.jquery)?ce(d):ce.event,v=ce.Deferred(),y=ce.Callbacks("once memory"),g=p.statusCode||{},m={},_={},b=0,w="canceled",E={readyState:0,getResponseHeader:function(e){var t;if(2===b){if(!s)for(s={};t=St.exec(a);)s[t[1].toLowerCase()]=t[2];t=s[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===b?a:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=_[n]=_[n]||e,m[e]=t),this},overrideMimeType:function(e){return b||(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(b<2)for(t in e)g[t]=[g[t],e[t]];else E.always(e[E.status]);return this},abort:function(e){var t=e||w;return o&&o.abort(t),r(0,t),this}};if(v.promise(E).complete=y.add,E.success=E.done,E.error=E.fail,p.url=((e||p.url||bt.href)+"").replace(Tt,"").replace(kt,bt.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=ce.trim(p.dataType||"*").toLowerCase().match(Se)||[""],null==p.crossDomain){c=Z.createElement("a");try{c.href=p.url,c.href=c.href,p.crossDomain=It.protocol+"//"+It.host!=c.protocol+"//"+c.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=ce.param(p.data,p.traditional)),G(Pt,p,t,E),2===b)return E;l=ce.event&&p.global,l&&0===ce.active++&&ce.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Ot.test(p.type),i=p.url,p.hasContent||(p.data&&(i=p.url+=(Et.test(i)?"&":"?")+p.data,delete p.data),p.cache===!1&&(p.url=Ct.test(i)?i.replace(Ct,"$1_="+wt++):i+(Et.test(i)?"&":"?")+"_="+wt++)),p.ifModified&&(ce.lastModified[i]&&E.setRequestHeader("If-Modified-Since",ce.lastModified[i]),ce.etag[i]&&E.setRequestHeader("If-None-Match",ce.etag[i])),(p.data&&p.hasContent&&p.contentType!==!1||t.contentType)&&E.setRequestHeader("Content-Type",p.contentType),E.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+At+"; q=0.01":""):p.accepts["*"]);for(f in p.headers)E.setRequestHeader(f,p.headers[f]);if(p.beforeSend&&(p.beforeSend.call(d,E,p)===!1||2===b))return E.abort();w="abort";for(f in{success:1,error:1,complete:1})E[f](p[f]);if(o=G(Mt,p,t,E)){if(E.readyState=1,l&&h.trigger("ajaxSend",[E,p]),2===b)return E;p.async&&p.timeout>0&&(u=n.setTimeout(function(){E.abort("timeout")},p.timeout));try{b=1,o.send(m,r)}catch(e){if(!(b<2))throw e;r(-1,e)}}else r(-1,"No Transport");return E},getJSON:function(e,t,n){return ce.get(e,t,n,"json")},getScript:function(e,t){return ce.get(e,void 0,t,"script")}}),ce.each(["get","post"],function(e,t){ce[t]=function(e,n,r,o){return ce.isFunction(n)&&(o=o||r,r=n,n=void 0),ce.ajax(ce.extend({url:e,type:t,dataType:o,data:n,success:r},ce.isPlainObject(e)&&e))}}),ce._evalUrl=function(e){return ce.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},ce.fn.extend({wrapAll:function(e){var t;return ce.isFunction(e)?this.each(function(t){ce(this).wrapAll(e.call(this,t))}):(this[0]&&(t=ce(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this)},wrapInner:function(e){return ce.isFunction(e)?this.each(function(t){ce(this).wrapInner(e.call(this,t))}):this.each(function(){var t=ce(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=ce.isFunction(e);return this.each(function(n){ce(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){ce.nodeName(this,"body")||ce(this).replaceWith(this.childNodes)}).end()}}),ce.expr.filters.hidden=function(e){return!ce.expr.filters.visible(e)},ce.expr.filters.visible=function(e){return e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0};var jt=/%20/g,Dt=/\[\]$/,Rt=/\r?\n/g,Nt=/^(?:submit|button|image|reset|file)$/i,Lt=/^(?:input|select|textarea|keygen)/i;ce.param=function(e,t){var n,r=[],o=function(e,t){t=ce.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=ce.ajaxSettings&&ce.ajaxSettings.traditional),ce.isArray(e)||e.jquery&&!ce.isPlainObject(e))ce.each(e,function(){o(this.name,this.value)});else for(n in e)Y(n,e[n],t,o);return r.join("&").replace(jt,"+")},ce.fn.extend({serialize:function(){return ce.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=ce.prop(this,"elements");return e?ce.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!ce(this).is(":disabled")&&Lt.test(this.nodeName)&&!Nt.test(e)&&(this.checked||!Le.test(e))}).map(function(e,t){var n=ce(this).val();return null==n?null:ce.isArray(n)?ce.map(n,function(e){return{name:t.name,value:e.replace(Rt,"\r\n")}}):{name:t.name,value:n.replace(Rt,"\r\n")}}).get()}}),ce.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Ft={0:200,1223:204},Ut=ce.ajaxSettings.xhr();se.cors=!!Ut&&"withCredentials"in Ut,se.ajax=Ut=!!Ut,ce.ajaxTransport(function(e){var t,r;if(se.cors||Ut&&!e.crossDomain)return{send:function(o,i){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest");
-for(a in o)s.setRequestHeader(a,o[a]);t=function(e){return function(){t&&(t=r=s.onload=s.onerror=s.onabort=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?i(0,"error"):i(s.status,s.statusText):i(Ft[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),r=s.onerror=t("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout(function(){t&&r()})},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),ce.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return ce.globalEval(e),e}}}),ce.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),ce.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(r,o){t=ce("<script>").prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),Z.head.appendChild(t[0])},abort:function(){n&&n()}}}});var Bt=[],qt=/(=)\?(?=&|$)|\?\?/;ce.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Bt.pop()||ce.expando+"_"+wt++;return this[e]=!0,e}}),ce.ajaxPrefilter("json jsonp",function(e,t,r){var o,i,a,s=e.jsonp!==!1&&(qt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&qt.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=ce.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(qt,"$1"+o):e.jsonp!==!1&&(e.url+=(Et.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return a||ce.error(o+" was not called"),a[0]},e.dataTypes[0]="json",i=n[o],n[o]=function(){a=arguments},r.always(function(){void 0===i?ce(n).removeProp(o):n[o]=i,e[o]&&(e.jsonpCallback=t.jsonpCallback,Bt.push(o)),a&&ce.isFunction(i)&&i(a[0]),a=i=void 0}),"script"}),ce.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||Z;var r=me.exec(e),o=!n&&[];return r?[t.createElement(r[1])]:(r=y([e],t,o),o&&o.length&&ce(o).remove(),ce.merge([],r.childNodes))};var zt=ce.fn.load;ce.fn.load=function(e,t,n){if("string"!=typeof e&&zt)return zt.apply(this,arguments);var r,o,i,a=this,s=e.indexOf(" ");return s>-1&&(r=ce.trim(e.slice(s)),e=e.slice(0,s)),ce.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),a.length>0&&ce.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done(function(e){i=arguments,a.html(r?ce("<div>").append(ce.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,i||[e.responseText,t,e])})}),this},ce.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ce.fn[t]=function(e){return this.on(t,e)}}),ce.expr.filters.animated=function(e){return ce.grep(ce.timers,function(t){return e===t.elem}).length},ce.offset={setOffset:function(e,t,n){var r,o,i,a,s,u,c,l=ce.css(e,"position"),f=ce(e),p={};"static"===l&&(e.style.position="relative"),s=f.offset(),i=ce.css(e,"top"),u=ce.css(e,"left"),c=("absolute"===l||"fixed"===l)&&(i+u).indexOf("auto")>-1,c?(r=f.position(),a=r.top,o=r.left):(a=parseFloat(i)||0,o=parseFloat(u)||0),ce.isFunction(t)&&(t=t.call(e,n,ce.extend({},s))),null!=t.top&&(p.top=t.top-s.top+a),null!=t.left&&(p.left=t.left-s.left+o),"using"in t?t.using.call(e,p):f.css(p)}},ce.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){ce.offset.setOffset(this,e,t)});var t,n,r=this[0],o={top:0,left:0},i=r&&r.ownerDocument;if(i)return t=i.documentElement,ce.contains(t,r)?(o=r.getBoundingClientRect(),n=Q(i),{top:o.top+n.pageYOffset-t.clientTop,left:o.left+n.pageXOffset-t.clientLeft}):o},position:function(){if(this[0]){var e,t,n=this[0],r={top:0,left:0};return"fixed"===ce.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),ce.nodeName(e[0],"html")||(r=e.offset()),r.top+=ce.css(e[0],"borderTopWidth",!0),r.left+=ce.css(e[0],"borderLeftWidth",!0)),{top:t.top-r.top-ce.css(n,"marginTop",!0),left:t.left-r.left-ce.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===ce.css(e,"position");)e=e.offsetParent;return e||nt})}}),ce.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;ce.fn[e]=function(r){return Oe(this,function(e,r,o){var i=Q(e);return void 0===o?i?i[t]:e[r]:void(i?i.scrollTo(n?i.pageXOffset:o,n?o:i.pageYOffset):e[r]=o)},e,r,arguments.length)}}),ce.each(["top","left"],function(e,t){ce.cssHooks[t]=A(se.pixelPosition,function(e,n){if(n)return n=M(e,t),Ze.test(n)?ce(e).position()[t]+"px":n})}),ce.each({Height:"height",Width:"width"},function(e,t){ce.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){ce.fn[r]=function(r,o){var i=arguments.length&&(n||"boolean"!=typeof r),a=n||(r===!0||o===!0?"margin":"border");return Oe(this,function(t,n,r){var o;return ce.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===r?ce.css(t,n,a):ce.style(t,n,r,a)},t,i?r:void 0,i,null)}})}),ce.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},size:function(){return this.length}}),ce.fn.andSelf=ce.fn.addBack,r=[],o=function(){return ce}.apply(t,r),!(void 0!==o&&(e.exports=o));var Wt=n.jQuery,Ht=n.$;return ce.noConflict=function(e){return n.$===ce&&(n.$=Ht),e&&n.jQuery===ce&&(n.jQuery=Wt),ce},i||(n.jQuery=n.$=ce),ce})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return{connectDropTarget:e.dropTarget(),isOver:t.isOver()}}Object.defineProperty(t,"__esModule",{value:!0}),t.FillTheBlankWordDropZone=t.GroupDropZone=t.WordDropZone=t.Dropzone=void 0;var i=n(9),a=r(i),s=n(3),u=r(s),c=n(5),l=r(c),f=n(8),p=r(f),d=n(6),h=r(d),v=n(1),y=r(v),g=n(99),m=n(4),_=r(m),b=n(104),w=r(b),E={drop:function(e,t){if(!t.didDrop()){var n=[];switch(t.getItemType()){case w.default.WORD:n=[t.getItem().itemId];break;case w.default.WORD_GROUP:n=_.default.map(t.getItem().words,"id")}return e.dropItem(n,t.getSourceClientOffset()),{items:n}}return null}},T={drop:function(e,t){return e.dropItem(t.getItem().itemId),t.getItem()}},C=t.Dropzone=function(e){function t(){return(0,u.default)(this,t),(0,p.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,h.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e=this.props,t=e.connectDropTarget,n=e.isOver,r=e.overClassName,o=e.className,i=o+(n&&r?" "+r:"");return t(y.default.createElement("div",{className:i,style:this.props.style},this.props.children))}}]),t}(y.default.Component);t.WordDropZone=(0,g.DropTarget)(w.default.WORD,T,o)(C),t.GroupDropZone=(0,g.DropTarget)([w.default.WORD_GROUP,w.default.WORD],E,o)(C),t.FillTheBlankWordDropZone=(0,g.DropTarget)(w.default.FILL_BLANK_WORD,T,o)(C)},,,,function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},49,[1562,48,23,102],77,[1499,49,20],[1521,49],function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){"use strict";var r={};e.exports=r},function(e,t){"use strict";var n={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,arguments:!0,arity:!0},o="function"==typeof Object.getOwnPropertySymbols;e.exports=function(e,t,i){if("string"!=typeof t){var a=Object.getOwnPropertyNames(t);o&&(a=a.concat(Object.getOwnPropertySymbols(t)));for(var s=0;s<a.length;++s)if(!(n[a[s]]||r[a[s]]||i&&i[a[s]]))try{e[a[s]]=t[a[s]]}catch(e){}}return e}},function(e,t,n){var r=n(71),o=r.Symbol;e.exports=o},function(e,t){function n(e,t){return e===t||e!==e&&t!==t}e.exports=n},function(e,t,n){function r(e){return i(e)&&o(e)}var o=n(189),i=n(98);e.exports=r},function(e,t){"use strict";var n={remove:function(e){e._reactInternalInstance=void 0},get:function(e){return e._reactInternalInstance},has:function(e){return void 0!==e._reactInternalInstance},set:function(e,t){e._reactInternalInstance=t}};e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return!(0,a.default)(this.props,e)||!(0,a.default)(this.state,t)}t.__esModule=!0,t.default=o;var i=n(1074),a=r(i);e.exports=t.default},function(e,t,n){"use strict";function r(e,t,n){if(e[t])return new Error("<"+n+'> should not have a "'+t+'" prop')}t.__esModule=!0,t.routes=t.route=t.components=t.component=t.history=void 0,t.falsy=r;var o=n(1),i=o.PropTypes.func,a=o.PropTypes.object,s=o.PropTypes.arrayOf,u=o.PropTypes.oneOfType,c=o.PropTypes.element,l=o.PropTypes.shape,f=o.PropTypes.string,p=(t.history=l({listen:i.isRequired,push:i.isRequired,replace:i.isRequired,go:i.isRequired,goBack:i.isRequired,goForward:i.isRequired}),t.component=u([i,f])),d=(t.components=u([p,a]),t.route=u([a,c]));t.routes=u([d,s(d)])},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(152),u=r(s),c=n(7),l=r(c),f=n(44),p=r(f),d=n(33),h=function(e){function t(){return o(this,t),i(this,e.apply(this,arguments))}return a(t,e),t.prototype.createEl=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"button",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};t=(0,d.assign)({className:this.buildCSSClass()},t),"button"!==e&&(p.default.warn("Creating a Button with an HTML element of "+e+" is deprecated; use ClickableComponent instead."),t=(0,d.assign)({tabIndex:0},t),n=(0,d.assign)({role:"button"},n)),n=(0,d.assign)({type:"button","aria-live":"polite"},n);var r=l.default.prototype.createEl.call(this,e,t,n);return this.createControlTextEl(r),r},t.prototype.addChild=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.constructor.name;return p.default.warn("Adding an actionable (user controllable) child to a Button ("+n+") is not supported; use a ClickableComponent instead."),l.default.prototype.addChild.call(this,e,t)},t.prototype.enable=function(){e.prototype.enable.call(this),this.el_.removeAttribute("disabled")},t.prototype.disable=function(){e.prototype.disable.call(this),this.el_.setAttribute("disabled","disabled")},t.prototype.handleKeyPress=function(t){32!==t.which&&13!==t.which&&e.prototype.handleKeyPress.call(this,t)},t}(u.default);l.default.registerComponent("Button",h),t.default=h},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(7),c=o(u),l=n(22),f=r(l),p=n(81),d=r(p),h=n(19),v=r(h),y=n(44),g=o(y),m=n(26),_=o(m),b=n(33),w=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.emitTapEvents(),o.enable(),o}return s(t,e),t.prototype.createEl=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"div",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};n=(0,b.assign)({className:this.buildCSSClass(),tabIndex:0},n),"button"===t&&g.default.error("Creating a ClickableComponent with an HTML element of "+t+" is not supported; use a Button instead."),r=(0,b.assign)({role:"button","aria-live":"polite"},r),this.tabIndex_=n.tabIndex;var o=e.prototype.createEl.call(this,t,n,r);return this.createControlTextEl(o),o},t.prototype.createControlTextEl=function(e){return this.controlTextEl_=f.createEl("span",{className:"vjs-control-text"}),e&&e.appendChild(this.controlTextEl_),this.controlText(this.controlText_,e),this.controlTextEl_},t.prototype.controlText=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.el();if(!e)return this.controlText_||"Need Text";var n=this.localize(e);return this.controlText_=e,this.controlTextEl_.innerHTML=n,this.nonIconControl||t.setAttribute("title",n),this},t.prototype.buildCSSClass=function(){return"vjs-control vjs-button "+e.prototype.buildCSSClass.call(this)},t.prototype.enable=function(){return this.removeClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","false"),"undefined"!=typeof this.tabIndex_&&this.el_.setAttribute("tabIndex",this.tabIndex_),this.on("tap",this.handleClick),this.on("click",this.handleClick),this.on("focus",this.handleFocus),this.on("blur",this.handleBlur),this},t.prototype.disable=function(){return this.addClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","true"),"undefined"!=typeof this.tabIndex_&&this.el_.removeAttribute("tabIndex"),this.off("tap",this.handleClick),this.off("click",this.handleClick),this.off("focus",this.handleFocus),this.off("blur",this.handleBlur),this},t.prototype.handleClick=function(e){},t.prototype.handleFocus=function(e){d.on(_.default,"keydown",v.bind(this,this.handleKeyPress))},t.prototype.handleKeyPress=function(t){32===t.which||13===t.which?(t.preventDefault(),this.handleClick(t)):e.prototype.handleKeyPress&&e.prototype.handleKeyPress.call(this,t)},t.prototype.handleBlur=function(e){d.off(_.default,"keydown",v.bind(this,this.handleKeyPress))},t}(c.default);c.default.registerComponent("ClickableComponent",w),t.default=w},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function u(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},i=e.textTracks();o.kind=t,n&&(o.label=n),r&&(o.language=r),o.tech=e;var a=new m.default(o);return i.addTrack_(a),a}t.__esModule=!0;var c=n(7),l=o(c),f=n(1197),p=o(f),d=n(1196),h=o(d),v=n(74),y=o(v),g=n(313),m=o(g),_=n(1201),b=o(_),w=n(489),E=o(w),T=n(488),C=o(T),S=n(19),x=r(S),O=n(44),k=o(O),P=n(154),M=n(490),A=n(482),I=o(A),j=n(29),D=o(j),R=n(26),N=o(R),L=n(33),F=function(e){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};i(this,t),n.reportTouchActivity=!1;var o=a(this,e.call(this,null,n,r));return o.hasStarted_=!1,o.on("playing",function(){this.hasStarted_=!0}),o.on("loadstart",function(){this.hasStarted_=!1}),o.textTracks_=n.textTracks,o.videoTracks_=n.videoTracks,o.audioTracks_=n.audioTracks,o.featuresProgressEvents||o.manualProgressOn(),o.featuresTimeupdateEvents||o.manualTimeUpdatesOn(),["Text","Audio","Video"].forEach(function(e){n["native"+e+"Tracks"]===!1&&(o["featuresNative"+e+"Tracks"]=!1)}),n.nativeCaptions===!1&&(o.featuresNativeTextTracks=!1),o.featuresNativeTextTracks||o.emulateTextTracks(),o.autoRemoteTextTracks_=new b.default,o.initTextTrackListeners(),o.initTrackListeners(),n.nativeControlsForTouch||o.emitTapEvents(),o.constructor&&(o.name_=o.constructor.name||"Unknown Tech"),o}return s(t,e),t.prototype.manualProgressOn=function(){this.on("durationchange",this.onDurationChange),this.manualProgress=!0,this.one("ready",this.trackProgress)},t.prototype.manualProgressOff=function(){this.manualProgress=!1,this.stopTrackingProgress(),this.off("durationchange",this.onDurationChange)},t.prototype.trackProgress=function(e){this.stopTrackingProgress(),this.progressInterval=this.setInterval(x.bind(this,function(){var e=this.bufferedPercent();this.bufferedPercent_!==e&&this.trigger("progress"),this.bufferedPercent_=e,1===e&&this.stopTrackingProgress()}),500)},t.prototype.onDurationChange=function(e){this.duration_=this.duration()},t.prototype.buffered=function(){return(0,P.createTimeRange)(0,0)},t.prototype.bufferedPercent=function(){return(0,M.bufferedPercent)(this.buffered(),this.duration_)},t.prototype.stopTrackingProgress=function(){this.clearInterval(this.progressInterval)},t.prototype.manualTimeUpdatesOn=function(){this.manualTimeUpdates=!0,this.on("play",this.trackCurrentTime),this.on("pause",this.stopTrackingCurrentTime)},t.prototype.manualTimeUpdatesOff=function(){this.manualTimeUpdates=!1,this.stopTrackingCurrentTime(),this.off("play",this.trackCurrentTime),this.off("pause",this.stopTrackingCurrentTime)},t.prototype.trackCurrentTime=function(){this.currentTimeInterval&&this.stopTrackingCurrentTime(),this.currentTimeInterval=this.setInterval(function(){this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},250)},t.prototype.stopTrackingCurrentTime=function(){this.clearInterval(this.currentTimeInterval),this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},t.prototype.dispose=function(){this.clearTracks(["audio","video","text"]),this.manualProgress&&this.manualProgressOff(),this.manualTimeUpdates&&this.manualTimeUpdatesOff(),e.prototype.dispose.call(this)},t.prototype.clearTracks=function(e){var t=this;e=[].concat(e),e.forEach(function(e){for(var n=t[e+"Tracks"]()||[],r=n.length;r--;){var o=n[r];"text"===e&&t.removeRemoteTextTrack(o),n.removeTrack_(o)}})},t.prototype.cleanupAutoTextTracks=function(){for(var e=this.autoRemoteTextTracks_||[],t=e.length;t--;){var n=e[t];this.removeRemoteTextTrack(n)}},t.prototype.reset=function(){},t.prototype.error=function(e){return void 0!==e&&(this.error_=new I.default(e),this.trigger("error")),this.error_},t.prototype.played=function(){return this.hasStarted_?(0,P.createTimeRange)(0,0):(0,P.createTimeRange)()},t.prototype.setCurrentTime=function(){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},t.prototype.initTextTrackListeners=function(){var e=x.bind(this,function(){this.trigger("texttrackchange")}),t=this.textTracks();t&&(t.addEventListener("removetrack",e),t.addEventListener("addtrack",e),this.on("dispose",x.bind(this,function(){t.removeEventListener("removetrack",e),t.removeEventListener("addtrack",e)})))},t.prototype.initTrackListeners=function(){var e=this,t=["video","audio"];t.forEach(function(t){var n=function(){e.trigger(t+"trackchange")},r=e[t+"Tracks"]();r.addEventListener("removetrack",n),r.addEventListener("addtrack",n),e.on("dispose",function(){r.removeEventListener("removetrack",n),r.removeEventListener("addtrack",n)})})},t.prototype.addWebVttScript_=function(){var e=this;if(!D.default.WebVTT)if(N.default.body.contains(this.el())){var t=n(1205);if(!this.options_["vtt.js"]&&(0,L.isPlain)(t)&&Object.keys(t).length>0)return void this.trigger("vttjsloaded");var r=N.default.createElement("script");r.src=this.options_["vtt.js"]||"https://vjs.zencdn.net/vttjs/0.12.3/vtt.min.js",r.onload=function(){e.trigger("vttjsloaded")},r.onerror=function(){e.trigger("vttjserror")},this.on("dispose",function(){r.onload=null,r.onerror=null}),D.default.WebVTT=!0,this.el().parentNode.appendChild(r)}else this.ready(this.addWebVttScript_)},t.prototype.emulateTextTracks=function(){var e=this,t=this.textTracks();if(t){var n=this.remoteTextTracks(),r=function(e){return t.addTrack_(e.track)},o=function(e){return t.removeTrack_(e.track)};n.on("addtrack",r),n.on("removetrack",o),this.addWebVttScript_();var i=function(){return e.trigger("texttrackchange")},a=function(){i();for(var e=0;e<t.length;e++){var n=t[e];n.removeEventListener("cuechange",i),"showing"===n.mode&&n.addEventListener("cuechange",i)}};a(),t.addEventListener("change",a),t.addEventListener("addtrack",a),t.addEventListener("removetrack",a),this.on("dispose",function(){n.off("addtrack",r),n.off("removetrack",o),t.removeEventListener("change",a),t.removeEventListener("addtrack",a),t.removeEventListener("removetrack",a);for(var e=0;e<t.length;e++){var s=t[e];s.removeEventListener("cuechange",i)}})}},t.prototype.videoTracks=function(){return this.videoTracks_=this.videoTracks_||new E.default,this.videoTracks_},t.prototype.audioTracks=function(){return this.audioTracks_=this.audioTracks_||new C.default,this.audioTracks_},t.prototype.textTracks=function(){return this.textTracks_=this.textTracks_||new b.default,this.textTracks_},t.prototype.remoteTextTracks=function(){return this.remoteTextTracks_=this.remoteTextTracks_||new b.default,this.remoteTextTracks_},t.prototype.remoteTextTrackEls=function(){return this.remoteTextTrackEls_=this.remoteTextTrackEls_||new h.default,this.remoteTextTrackEls_},t.prototype.addTextTrack=function(e,t,n){if(!e)throw new Error("TextTrack kind is required but was not provided");return u(this,e,t,n)},t.prototype.createRemoteTextTrack=function(e){var t=(0,y.default)(e,{tech:this});return new p.default(t)},t.prototype.addRemoteTextTrack=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1],n=this.createRemoteTextTrack(e);return t!==!0&&t!==!1&&(k.default.warn('Calling addRemoteTextTrack without explicitly setting the "manualCleanup" parameter to `true` is deprecated and default to `false` in future version of video.js'),t=!0),this.remoteTextTrackEls().addTrackElement_(n),this.remoteTextTracks().addTrack_(n.track),t!==!0&&this.autoRemoteTextTracks_.addTrack_(n.track),n},t.prototype.removeRemoteTextTrack=function(e){var t=this.remoteTextTrackEls().getTrackElementByTrack_(e);this.remoteTextTrackEls().removeTrackElement_(t),this.remoteTextTracks().removeTrack_(e),this.autoRemoteTextTracks_.removeTrack_(e)},t.prototype.setPoster=function(){},t.prototype.canPlayType=function(){return""},t.isTech=function(e){return e.prototype instanceof t||e instanceof t||e===t},t.registerTech=function(e,n){if(t.techs_||(t.techs_={}),!t.isTech(n))throw new Error("Tech "+e+" must be a Tech");return t.techs_[e]=n,n},t.getTech=function(e){return t.techs_&&t.techs_[e]?t.techs_[e]:D.default&&D.default.videojs&&D.default.videojs[e]?(k.default.warn("The "+e+" tech was added to the videojs object when it should be registered using videojs.registerTech(name, tech)"),D.default.videojs[e]):void 0},t}(l.default);F.prototype.textTracks_,F.prototype.audioTracks_,F.prototype.videoTracks_,F.prototype.featuresVolumeControl=!0,F.prototype.featuresFullscreenResize=!1,F.prototype.featuresPlaybackRate=!1,F.prototype.featuresProgressEvents=!1,F.prototype.featuresTimeupdateEvents=!1,F.prototype.featuresNativeTextTracks=!1,F.withSourceHandlers=function(e){e.registerSourceHandler=function(t,n){var r=e.sourceHandlers;r||(r=e.sourceHandlers=[]),void 0===n&&(n=r.length),r.splice(n,0,t)},e.canPlayType=function(t){for(var n=e.sourceHandlers||[],r=void 0,o=0;o<n.length;o++)if(r=n[o].canPlayType(t))return r;return""},e.selectSourceHandler=function(t,n){for(var r=e.sourceHandlers||[],o=void 0,i=0;i<r.length;i++)if(o=r[i].canHandleSource(t,n))return r[i];return null},e.canPlaySource=function(t,n){var r=e.selectSourceHandler(t,n);return r?r.canHandleSource(t,n):""};var t=["seekable","duration"];t.forEach(function(e){var t=this[e];"function"==typeof t&&(this[e]=function(){return this.sourceHandler_&&this.sourceHandler_[e]?this.sourceHandler_[e].apply(this.sourceHandler_,arguments):t.apply(this,arguments)})},e.prototype),e.prototype.setSource=function(t){var n=e.selectSourceHandler(t,this.options_);return n||(e.nativeSourceHandler?n=e.nativeSourceHandler:k.default.error("No source hander found for the current source.")),this.disposeSourceHandler(),this.off("dispose",this.disposeSourceHandler),n!==e.nativeSourceHandler&&(this.currentSource_=t,this.off(this.el_,"loadstart",e.prototype.firstLoadStartListener_),this.off(this.el_,"loadstart",e.prototype.successiveLoadStartListener_),this.one(this.el_,"loadstart",e.prototype.firstLoadStartListener_)),this.sourceHandler_=n.handleSource(t,this,this.options_),this.on("dispose",this.disposeSourceHandler),this},e.prototype.firstLoadStartListener_=function(){this.one(this.el_,"loadstart",e.prototype.successiveLoadStartListener_)},e.prototype.successiveLoadStartListener_=function(){this.disposeSourceHandler(),this.one(this.el_,"loadstart",e.prototype.successiveLoadStartListener_)},e.prototype.disposeSourceHandler=function(){this.currentSource_&&(this.clearTracks(["audio","video"]),this.currentSource_=null),this.cleanupAutoTextTracks(),this.sourceHandler_&&(this.off(this.el_,"loadstart",e.prototype.firstLoadStartListener_),this.off(this.el_,"loadstart",e.prototype.successiveLoadStartListener_),this.sourceHandler_.dispose&&this.sourceHandler_.dispose(),this.sourceHandler_=null)}},l.default.registerComponent("Tech",F),l.default.registerComponent("MediaTechController",F),F.registerTech("Tech",F),t.default=F},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){if(t<0||t>n)throw new Error("Failed to execute '"+e+"' on 'TimeRanges': The index provided ("+t+") is greater than or equal to the maximum bound ("+n+").")}function i(e,t,n,r){return void 0===r&&(c.default.warn("DEPRECATED: Function '"+e+"' on 'TimeRanges' called without an index argument."),r=0),o(e,r,n.length-1),n[r][t]}function a(e){return void 0===e||0===e.length?{length:0,start:function(){throw new Error("This TimeRanges object is empty")},end:function(){throw new Error("This TimeRanges object is empty")}}:{length:e.length,start:i.bind(null,"start",0,e),end:i.bind(null,"end",1,e)}}function s(e,t){return Array.isArray(e)?a(e):void 0===e||void 0===t?a():a([[e,t]])}t.__esModule=!0,t.createTimeRange=void 0,t.createTimeRanges=s;var u=n(44),c=r(u);t.createTimeRange=s},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=e.locale||e.settings.locale||"en";return a.default.setLanguage(n),a.default}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(530),a=r(i)},,[1567,57,86,34],function(e,t,n){n(623);for(var r=n(45),o=n(84),i=n(106),a=n(34)("toStringTag"),s=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],u=0;u<5;u++){var c=s[u],l=r[c],f=l&&l.prototype;f&&!f[a]&&o(f,a,c),i[c]=i.Array}},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(f===clearTimeout)return clearTimeout(e);if((f===r||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(e);try{return f(e)}catch(t){try{return f.call(null,e)}catch(t){return f.call(this,e)}}}function a(){v&&d&&(v=!1,d.length?h=d.concat(h):y=-1,h.length&&s())}function s(){if(!v){var e=o(a);v=!0;for(var t=h.length;t;){for(d=h,h=[];++y<t;)d&&d[y].run();y=-1,t=h.length}d=null,v=!1,i(e)}}function u(e,t){this.fun=e,this.array=t}function c(){}var l,f,p=e.exports={};!function(){try{l="function"==typeof setTimeout?setTimeout:n}catch(e){l=n}try{f="function"==typeof clearTimeout?clearTimeout:r}catch(e){f=r}}();var d,h=[],v=!1,y=-1;p.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 u(e,t)),1!==h.length||v||o(s)},u.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=c,p.addListener=c,p.once=c,p.off=c,p.removeListener=c,p.removeAllListeners=c,p.emit=c,p.binding=function(e){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(e){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),c=r(u),l=n(8),f=r(l),p=n(6),d=r(p),h=n(1),v=r(h),y=function(e){function t(){return(0,s.default)(this,t),(0,f.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,d.default)(t,e),(0,c.default)(t,[{key:"render",value:function(){var e=this.props.hide?this.props.className+" u-hide":this.props.className;return v.default.createElement("div",{className:e,dangerouslySetInnerHTML:{__html:this.props.material}})}}]),t}(v.default.Component);t.default=y},function(e,t){e.exports=!0},142,95,[1494,42,30,94],function(e,t,n){"use strict";var r=n(13),o=n(2),i=n(40),a=n(92),s=n(76),u=n(109),c=n(87),l=n(18),f=n(15),p=n(171),d=n(111),h=n(239);e.exports=function(e,t,n,v,y,g){var m=r[e],_=m,b=y?"set":"add",w=_&&_.prototype,E={},T=function(e){var t=w[e];i(w,e,"delete"==e?function(e){return!(g&&!l(e))&&t.call(this,0===e?0:e)}:"has"==e?function(e){return!(g&&!l(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return g&&!l(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,n){return t.call(this,0===e?0:e,n),this})};if("function"==typeof _&&(g||w.forEach&&!f(function(){(new _).entries().next()}))){var C=new _,S=C[b](g?{}:-0,1)!=C,x=f(function(){C.has(1)}),O=p(function(e){new _(e)}),k=!g&&f(function(){for(var e=new _,t=5;t--;)e[b](t,t);return!e.has(-0)});O||(_=t(function(t,n){c(t,_,e);var r=h(new m,t,_);return void 0!=n&&u(n,y,r[b],r),r}),_.prototype=w,w.constructor=_),(x||k)&&(T("delete"),T("has"),y&&T("get")),(k||S)&&T(b),g&&w.clear&&delete w.clear}else _=v.getConstructor(t,e,y,b),a(_.prototype,n),s.NEED=!0;return d(_,e),E[e]=_,o(o.G+o.W+o.F*(_!=m),E),g||v.setStrong(_,e,y),_}},function(e,t,n){"use strict";var r=n(39),o=n(40),i=n(15),a=n(50),s=n(20);e.exports=function(e,t,n){var u=s(e),c=n(a,u,""[e]),l=c[0],f=c[1];i(function(){var t={};return t[u]=function(){return 7},7!=""[e](t)})&&(o(String.prototype,e,l),r(RegExp.prototype,u,2==t?function(e,t){return f.call(e,this,t)}:function(e){return f.call(e,this)}))}},function(e,t,n){"use strict";var r=n(12);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t){e.exports=function(e,t,n){
-var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(18),o=n(49),i=n(20)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},[1534,20],function(e,t,n){e.exports=n(88)||!n(15)(function(){var e=Math.random();__defineSetter__.call(null,e,function(){}),delete n(13)[e]})},function(e,t){t.f=Object.getOwnPropertySymbols},[1571,13],function(e,t,n){for(var r,o=n(13),i=n(39),a=n(95),s=a("typed_array"),u=a("view"),c=!(!o.ArrayBuffer||!o.DataView),l=c,f=0,p=9,d="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");f<p;)(r=o[d[f++]])?(i(r.prototype,s,!0),i(r.prototype,u,!0)):l=!1;e.exports={ABV:c,CONSTR:l,TYPED:s,VIEW:u}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{publishSource:!0,clientOffset:null},n=t.publishSource,r=t.clientOffset,o=t.getSourceClientOffset;(0,f.default)((0,d.default)(e),"Expected sourceIds to be an array.");var i=this.getMonitor(),a=this.getRegistry();(0,f.default)(!i.isDragging(),"Cannot call beginDrag while dragging.");for(var s=0;s<e.length;s++)(0,f.default)(a.getSource(e[s]),"Expected sourceIds to be registered.");for(var u=null,c=e.length-1;c>=0;c--)if(i.canDragSource(e[c])){u=e[c];break}if(null!==u){var l=null;r&&((0,f.default)("function"==typeof o,"When clientOffset is provided, getSourceClientOffset must be a function."),l=o(u));var p=a.getSource(u),h=p.beginDrag(i,u);(0,f.default)((0,v.default)(h),"Item must be an object."),a.pinSource(u);var y=a.getSourceType(u);return{type:m,itemType:y,item:h,sourceId:u,clientOffset:r,sourceClientOffset:l,isSourcePublic:n}}}function i(){var e=this.getMonitor();if(e.isDragging())return{type:_}}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.clientOffset,r=void 0===n?null:n;(0,f.default)((0,d.default)(e),"Expected targetIds to be an array.");var o=e.slice(0),i=this.getMonitor(),a=this.getRegistry();(0,f.default)(i.isDragging(),"Cannot call hover while not dragging."),(0,f.default)(!i.didDrop(),"Cannot call hover after drop.");for(var s=0;s<o.length;s++){var u=o[s];(0,f.default)(o.lastIndexOf(u)===s,"Expected targetIds to be unique in the passed array.");var c=a.getTarget(u);(0,f.default)(c,"Expected targetIds to be registered.")}for(var l=i.getItemType(),p=o.length-1;p>=0;p--){var h=o[p],v=a.getTargetType(h);(0,g.default)(v,l)||o.splice(p,1)}for(var y=0;y<o.length;y++){var m=o[y],_=a.getTarget(m);_.hover(i,m)}return{type:b,targetIds:o,clientOffset:r}}function s(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this.getMonitor(),r=this.getRegistry();(0,f.default)(n.isDragging(),"Cannot call drop while not dragging."),(0,f.default)(!n.didDrop(),"Cannot call drop twice during one drag operation.");var o=n.getTargetIds().filter(n.canDropOnTarget,n);o.reverse(),o.forEach(function(o,i){var a=r.getTarget(o),s=a.drop(n,o);(0,f.default)("undefined"==typeof s||(0,v.default)(s),"Drop result must either be an object or undefined."),"undefined"==typeof s&&(s=0===i?{}:n.getDropResult()),e.store.dispatch({type:w,dropResult:c({},t,s)})})}function u(){var e=this.getMonitor(),t=this.getRegistry();(0,f.default)(e.isDragging(),"Cannot call endDrag while not dragging.");var n=e.getSourceId(),r=t.getSource(n,!0);return r.endDrag(e,n),t.unpinSource(),{type:E}}Object.defineProperty(t,"__esModule",{value:!0}),t.END_DRAG=t.DROP=t.HOVER=t.PUBLISH_DRAG_SOURCE=t.BEGIN_DRAG=void 0;var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.beginDrag=o,t.publishDragSource=i,t.hover=a,t.drop=s,t.endDrag=u;var l=n(17),f=r(l),p=n(37),d=r(p),h=n(115),v=r(h),y=n(385),g=r(y),m=t.BEGIN_DRAG="dnd-core/BEGIN_DRAG",_=t.PUBLISH_DRAG_SOURCE="dnd-core/PUBLISH_DRAG_SOURCE",b=t.HOVER="dnd-core/HOVER",w=t.DROP="dnd-core/DROP",E=t.END_DRAG="dnd-core/END_DRAG"},function(e,t){"use strict";function n(e){return{type:a,sourceId:e}}function r(e){return{type:s,targetId:e}}function o(e){return{type:u,sourceId:e}}function i(e){return{type:c,targetId:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.addSource=n,t.addTarget=r,t.removeSource=o,t.removeTarget=i;var a=t.ADD_SOURCE="dnd-core/ADD_SOURCE",s=t.ADD_TARGET="dnd-core/ADD_TARGET",u=t.REMOVE_SOURCE="dnd-core/REMOVE_SOURCE",c=t.REMOVE_TARGET="dnd-core/REMOVE_TARGET"},function(e,t){"use strict";t.__esModule=!0;t.PUSH="PUSH",t.REPLACE="REPLACE",t.POP="POP"},function(e,t){"use strict";t.__esModule=!0;t.addEventListener=function(e,t,n){return e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)},t.removeEventListener=function(e,t,n){return e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent("on"+t,n)},t.supportsHistory=function(){var e=window.navigator.userAgent;return(e.indexOf("Android 2.")===-1&&e.indexOf("Android 4.0")===-1||e.indexOf("Mobile Safari")===-1||e.indexOf("Chrome")!==-1||e.indexOf("Windows Phone")!==-1)&&(window.history&&"pushState"in window.history)},t.supportsGoWithoutReloadUsingHash=function(){return window.navigator.userAgent.indexOf("Firefox")===-1},t.supportsPopstateOnHashchange=function(){return window.navigator.userAgent.indexOf("Trident")===-1},t.isExtraneousPopstateEvent=function(e){return void 0===e.state&&navigator.userAgent.indexOf("CriOS")===-1}},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var o=n(919),i=n(920),a=n(921),s=n(922),u=n(923);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=s,r.prototype.set=u,e.exports=r},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new o;++t<n;)this.add(e[t])}var o=n(266),i=n(936),a=n(937);r.prototype.add=r.prototype.push=i,r.prototype.has=a,e.exports=r},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}e.exports=n},function(e,t,n){function r(e,t){for(var n=e.length;n--;)if(o(e[n][0],t))return n;return-1}var o=n(146);e.exports=r},function(e,t){function n(e,t){return e.has(t)}e.exports=n},function(e,t,n){function r(e,t){var n=e.__data__;return o(t)?n["string"==typeof t?"string":"hash"]:n.map}var o=n(917);e.exports=r},function(e,t,n){var r=n(97),o=r(Object,"create");e.exports=o},function(e,t,n){function r(e){if("string"==typeof e||o(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}var o=n(278),i=1/0;e.exports=r},function(e,t){function n(e){return e}e.exports=n},function(e,t,n){function r(e){return null!=e&&i(e.length)&&!o(e)}var o=n(413),i=n(277);e.exports=r},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e){return new s.default(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.getEmptyImage=t.NativeTypes=void 0,t.default=i;var a=n(976),s=o(a),u=n(980),c=o(u),l=n(281),f=r(l);t.NativeTypes=f,t.getEmptyImage=c.default},function(e,t,n){"use strict";function r(e,t){}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";function r(e){return"topMouseUp"===e||"topTouchEnd"===e||"topTouchCancel"===e}function o(e){return"topMouseMove"===e||"topTouchMove"===e}function i(e){return"topMouseDown"===e||"topTouchStart"===e}function a(e,t,n,r){var o=e.type||"unknown-event";e.currentTarget=g.getNodeFromInstance(r),t?v.invokeGuardedCallbackWithCatch(o,n,e):v.invokeGuardedCallback(o,n,e),e.currentTarget=null}function s(e,t){var n=e._dispatchListeners,r=e._dispatchInstances;if(Array.isArray(n))for(var o=0;o<n.length&&!e.isPropagationStopped();o++)a(e,t,n[o],r[o]);else n&&a(e,t,n,r);e._dispatchListeners=null,e._dispatchInstances=null}function u(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t)){for(var r=0;r<t.length&&!e.isPropagationStopped();r++)if(t[r](e,n[r]))return n[r]}else if(t&&t(e,n))return n;return null}function c(e){var t=u(e);return e._dispatchInstances=null,e._dispatchListeners=null,t}function l(e){var t=e._dispatchListeners,n=e._dispatchInstances;Array.isArray(t)?h("103"):void 0,e.currentTarget=t?g.getNodeFromInstance(n):null;var r=t?t(e):null;return e.currentTarget=null,e._dispatchListeners=null,e._dispatchInstances=null,r}function f(e){return!!e._dispatchListeners}var p,d,h=n(16),v=n(289),y=(n(11),n(14),{injectComponentTree:function(e){p=e},injectTreeTraversal:function(e){d=e}}),g={isEndish:r,isMoveish:o,isStartish:i,executeDirectDispatch:l,executeDispatchesInOrder:s,executeDispatchesInOrderStopAtTrue:c,hasDispatches:f,getInstanceFromNode:function(e){return p.getInstanceFromNode(e)},getNodeFromInstance:function(e){return p.getNodeFromInstance(e)},isAncestor:function(e,t){return d.isAncestor(e,t)},getLowestCommonAncestor:function(e,t){return d.getLowestCommonAncestor(e,t)},getParentInstance:function(e){return d.getParentInstance(e)},traverseTwoPhase:function(e,t,n){return d.traverseTwoPhase(e,t,n)},traverseEnterLeave:function(e,t,n,r,o){return d.traverseEnterLeave(e,t,n,r,o)},injection:y};e.exports=g},function(e,t,n){"use strict";function r(e){return Object.prototype.hasOwnProperty.call(e,v)||(e[v]=d++,f[e[v]]={}),f[e[v]]}var o,i=n(21),a=n(285),s=n(1028),u=n(291),c=n(1061),l=n(296),f={},p=!1,d=0,h={topAbort:"abort",topAnimationEnd:c("animationend")||"animationend",topAnimationIteration:c("animationiteration")||"animationiteration",topAnimationStart:c("animationstart")||"animationstart",topBlur:"blur",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topChange:"change",topClick:"click",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topScroll:"scroll",topSeeked:"seeked",topSeeking:"seeking",topSelectionChange:"selectionchange",topStalled:"stalled",topSuspend:"suspend",topTextInput:"textInput",topTimeUpdate:"timeupdate",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topTransitionEnd:c("transitionend")||"transitionend",topVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"},v="_reactListenersID"+String(Math.random()).slice(2),y=i({},s,{ReactEventListener:null,injection:{injectReactEventListener:function(e){e.setHandleTopLevel(y.handleTopLevel),y.ReactEventListener=e}},setEnabled:function(e){y.ReactEventListener&&y.ReactEventListener.setEnabled(e)},isEnabled:function(){return!(!y.ReactEventListener||!y.ReactEventListener.isEnabled())},listenTo:function(e,t){for(var n=t,o=r(n),i=a.registrationNameDependencies[e],s=0;s<i.length;s++){var u=i[s];o.hasOwnProperty(u)&&o[u]||("topWheel"===u?l("wheel")?y.ReactEventListener.trapBubbledEvent("topWheel","wheel",n):l("mousewheel")?y.ReactEventListener.trapBubbledEvent("topWheel","mousewheel",n):y.ReactEventListener.trapBubbledEvent("topWheel","DOMMouseScroll",n):"topScroll"===u?l("scroll",!0)?y.ReactEventListener.trapCapturedEvent("topScroll","scroll",n):y.ReactEventListener.trapBubbledEvent("topScroll","scroll",y.ReactEventListener.WINDOW_HANDLE):"topFocus"===u||"topBlur"===u?(l("focus",!0)?(y.ReactEventListener.trapCapturedEvent("topFocus","focus",n),y.ReactEventListener.trapCapturedEvent("topBlur","blur",n)):l("focusin")&&(y.ReactEventListener.trapBubbledEvent("topFocus","focusin",n),y.ReactEventListener.trapBubbledEvent("topBlur","focusout",n)),o.topBlur=!0,o.topFocus=!0):h.hasOwnProperty(u)&&y.ReactEventListener.trapBubbledEvent(u,h[u],n),o[u]=!0)}},trapBubbledEvent:function(e,t,n){return y.ReactEventListener.trapBubbledEvent(e,t,n)},trapCapturedEvent:function(e,t,n){return y.ReactEventListener.trapCapturedEvent(e,t,n)},supportsEventPageXY:function(){if(!document.createEvent)return!1;var e=document.createEvent("MouseEvent");return null!=e&&"pageX"in e},ensureScrollValueMonitoring:function(){if(void 0===o&&(o=y.supportsEventPageXY()),!o&&!p){var e=u.refreshScrollValues;y.ReactEventListener.monitorScrollValue(e),p=!0}}});e.exports=y},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(121),i=n(291),a=n(294),s={screenX:null,screenY:null,clientX:null,clientY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:a,button:function(e){var t=e.button;return"which"in e?t:2===t?2:4===t?1:0},buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},pageX:function(e){return"pageX"in e?e.pageX:e.clientX+i.currentScrollLeft},pageY:function(e){return"pageY"in e?e.pageY:e.clientY+i.currentScrollTop}};o.augmentClass(r,s),e.exports=r},function(e,t,n){"use strict";var r=n(16),o=(n(11),{}),i={reinitializeTransaction:function(){this.transactionWrappers=this.getTransactionWrappers(),this.wrapperInitData?this.wrapperInitData.length=0:this.wrapperInitData=[],this._isInTransaction=!1},_isInTransaction:!1,getTransactionWrappers:null,isInTransaction:function(){return!!this._isInTransaction},perform:function(e,t,n,o,i,a,s,u){this.isInTransaction()?r("27"):void 0;var c,l;try{this._isInTransaction=!0,c=!0,this.initializeAll(0),l=e.call(t,n,o,i,a,s,u),c=!1}finally{try{if(c)try{this.closeAll(0)}catch(e){}else this.closeAll(0)}finally{this._isInTransaction=!1}}return l},initializeAll:function(e){for(var t=this.transactionWrappers,n=e;n<t.length;n++){var r=t[n];try{this.wrapperInitData[n]=o,this.wrapperInitData[n]=r.initialize?r.initialize.call(this):null}finally{if(this.wrapperInitData[n]===o)try{this.initializeAll(n+1)}catch(e){}}}},closeAll:function(e){this.isInTransaction()?void 0:r("28");for(var t=this.transactionWrappers,n=e;n<t.length;n++){var i,a=t[n],s=this.wrapperInitData[n];try{i=!0,s!==o&&a.close&&a.close.call(this,s),i=!1}finally{if(i)try{this.closeAll(n+1)}catch(e){}}}this.wrapperInitData.length=0}};e.exports=i},function(e,t){"use strict";function n(e){var t=""+e,n=o.exec(t);if(!n)return t;var r,i="",a=0,s=0;for(a=n.index;a<t.length;a++){switch(t.charCodeAt(a)){case 34:r="&quot;";break;case 38:r="&amp;";break;case 39:r="&#x27;";break;case 60:r="&lt;";break;case 62:r="&gt;";break;default:continue}s!==a&&(i+=t.substring(s,a)),s=a+1,i+=r}return s!==a?i+t.substring(s,a):i}function r(e){return"boolean"==typeof e||"number"==typeof e?""+e:n(e)}var o=/["'&<>]/;e.exports=r},function(e,t,n){"use strict";var r,o=n(36),i=n(284),a=/^[ \r\n\t\f]/,s=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,u=n(292),c=u(function(e,t){if(e.namespaceURI!==i.svg||"innerHTML"in e)e.innerHTML=t;else{r=r||document.createElement("div"),r.innerHTML="<svg>"+t+"</svg>";for(var n=r.firstChild;n.firstChild;)e.appendChild(n.firstChild)}});if(o.canUseDOM){var l=document.createElement("div");l.innerHTML=" ",""===l.innerHTML&&(c=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),a.test(t)||"<"===t[0]&&s.test(t)){e.innerHTML=String.fromCharCode(65279)+t;var n=e.firstChild;1===n.data.length?e.removeChild(n):n.deleteData(0,1)}else e.innerHTML=t}),l=null}e.exports=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(473);Object.defineProperty(t,"instrument",{enumerable:!0,get:function(){return r(o).default}}),Object.defineProperty(t,"ActionCreators",{enumerable:!0,get:function(){return o.ActionCreators}}),Object.defineProperty(t,"ActionTypes",{enumerable:!0,get:function(){return o.ActionTypes}});var i=n(1135);Object.defineProperty(t,"persistState",{enumerable:!0,get:function(){return r(i).default}});var a=n(1134);Object.defineProperty(t,"createDevTools",{enumerable:!0,get:function(){return r(a).default}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(480),u=r(s),c=n(7),l=r(c),f=n(312),p=r(f),d=n(1173),h=r(d),v=function(e){function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o(this,t),r.tracks=n.textTracks(),i(this,e.call(this,n,r))}return a(t,e),t.prototype.createItems=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];e.push(new h.default(this.player_,{kind:this.kind_})),this.hideThreshold_+=1;var t=this.player_.textTracks();if(!t)return e;for(var n=0;n<t.length;n++){var r=t[n];r.kind===this.kind_&&e.push(new p.default(this.player_,{track:r,selectable:!0}))}return e},t}(u.default);l.default.registerComponent("TextTrackButton",v),t.default=v},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.__esModule=!0;var o=n(81),i=r(o),a=function(){};a.prototype.allowedEvents_={},a.prototype.on=function(e,t){var n=this.addEventListener;this.addEventListener=function(){},i.on(this,e,t),this.addEventListener=n},a.prototype.addEventListener=a.prototype.on,a.prototype.off=function(e,t){i.off(this,e,t)},a.prototype.removeEventListener=a.prototype.off,a.prototype.one=function(e,t){var n=this.addEventListener;this.addEventListener=function(){},i.one(this,e,t),this.addEventListener=n},a.prototype.trigger=function(e){var t=e.type||e;"string"==typeof e&&(e={type:t}),e=i.fixEvent(e),this.allowedEvents_[t]&&this["on"+t]&&this["on"+t](e),i.trigger(this,e)},a.prototype.dispatchEvent=a.prototype.trigger,t.default=a},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(152),u=r(s),c=n(7),l=r(c),f=n(33),p=function(e){function t(n,r){o(this,t);var a=i(this,e.call(this,n,r));return a.selectable=r.selectable,a.selected(r.selected),a.selectable?a.el_.setAttribute("role","menuitemcheckbox"):a.el_.setAttribute("role","menuitem"),a}return a(t,e),t.prototype.createEl=function(t,n,r){return this.nonIconControl=!0,e.prototype.createEl.call(this,"li",(0,f.assign)({className:"vjs-menu-item",innerHTML:this.localize(this.options_.label),tabIndex:-1},n),r)},t.prototype.handleClick=function(e){this.selected(!0)},t.prototype.selected=function(e){this.selectable&&(e?(this.addClass("vjs-selected"),this.el_.setAttribute("aria-checked","true"),this.controlText(", selected")):(this.removeClass("vjs-selected"),this.el_.setAttribute("aria-checked","false"),this.controlText(" ")))},t}(u.default);l.default.registerComponent("MenuItem",p),t.default=p},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.isCrossOrigin=t.getFileExtension=t.getAbsoluteURL=t.parseUrl=void 0;var o=n(26),i=r(o),a=n(29),s=r(a),u=t.parseUrl=function(e){var t=["protocol","hostname","port","pathname","search","hash","host"],n=i.default.createElement("a");n.href=e;var r=""===n.host&&"file:"!==n.protocol,o=void 0;r&&(o=i.default.createElement("div"),o.innerHTML='<a href="'+e+'"></a>',n=o.firstChild,o.setAttribute("style","display:none; position:absolute;"),i.default.body.appendChild(o));for(var a={},s=0;s<t.length;s++)a[t[s]]=n[t[s]];return"http:"===a.protocol&&(a.host=a.host.replace(/:80$/,"")),"https:"===a.protocol&&(a.host=a.host.replace(/:443$/,"")),r&&i.default.body.removeChild(o),a};t.getAbsoluteURL=function(e){if(!e.match(/^https?:\/\//)){var t=i.default.createElement("div");t.innerHTML='<a href="'+e+'">x</a>',e=t.firstChild.href}return e},t.getFileExtension=function(e){if("string"==typeof e){var t=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/i,n=t.exec(e);if(n)return n.pop().toLowerCase()}return""},t.isCrossOrigin=function(e){var t=s.default.location,n=u(e),r=":"===n.protocol?t.protocol:n.protocol,o=r+n.host!==t.protocol+t.host;return o}},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children=[],e.webpackPolyfill=1),e}},,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.itemViewed=t.assessmentViewed=t.retakeAssessment=t.previousQuestions=t.nextQuestions=t.submitAssessment=t.selectConfidenceLevel=t.checkAnswer=t.selectQuestion=t.answerSelected=t.start=t.Constants=void 0;var o=n(55),i=r(o),a=["ASSESSMENT_START","QUESTION_SELECTED","LEVEL_SELECTED","RETAKE_ASSESSMENT","ASSESSMENT_VIEWED","CHECK_QUESTIONS"],s=["ASSESSMENT_SUBMITTED","ANSWER_SELECTED","ASSESSMENT_CHECK_ANSWER","ASSESSMENT_NEXT_QUESTIONS","ASSESSMENT_PREVIOUS_QUESTIONS"],u=t.Constants=(0,i.default)(a,s);t.start=function(e){return{type:u.ASSESSMENT_START,assessmentId:e}},t.answerSelected=function(e,t,n){return{type:u.ANSWER_SELECTED,questionIndex:e,answerData:t,exclusive:n}},t.selectQuestion=function(e){return{type:u.QUESTION_SELECTED,index:e}},t.checkAnswer=function(e){return{type:u.ASSESSMENT_CHECK_ANSWER,questionIndexes:e,apiCall:!0}},t.selectConfidenceLevel=function(e,t){return{type:u.LEVEL_SELECTED,level:e,index:t}},t.submitAssessment=function(e,t,n,r,o,i){return{type:u.ASSESSMENT_SUBMITTED,identifier:e,assessmentId:t,questions:n,answers:r,settings:o,outcomes:i,apiCall:!0}},t.nextQuestions=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return{type:u.ASSESSMENT_NEXT_QUESTIONS,pageSize:e,apiCall:!0}},t.previousQuestions=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return{type:u.ASSESSMENT_PREVIOUS_QUESTIONS,pageSize:e,apiCall:!0}},t.retakeAssessment=function(){return{type:u.RETAKE_ASSESSMENT}},t.assessmentViewed=function(e,t){return{type:u.ASSESSMENT_VIEWED,settings:e,assessment:t}},t.itemViewed=function(e){return{type:u.ASSESSMENT_VIEWED,body:e}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={GET:"get",POST:"post",PUT:"put",DEL:"delete",TIMEOUT:2e4}},[1499,137,34],50,[1545,64,615,222,226,221,343],[1583,228],function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.initialOffset,n=e.currentOffset,r=e.currentClientOffset;if(!t||!n)return{display:"none"};var o=void 0,i=void 0;e.itemType===E.default.CLIX_DROPPABLE?(o=r.x-e.item.width/2,i=r.y-e.item.height/2):(o=n.x,i=n.y);var a="translate("+o+"px, "+i+"px)";return{transform:a,WebkitTransform:a}}function i(e){return{item:e.getItem(),itemType:e.getItemType(),initialOffset:e.getInitialSourceClientOffset(),currentOffset:e.getSourceClientOffset(),currentClientOffset:e.getClientOffset(),isDragging:e.isDragging()}}Object.defineProperty(t,"__esModule",{value:!0}),t.CustomDragLayer=void 0;var a=n(9),s=r(a),u=n(3),c=r(u),l=n(5),f=r(l),p=n(8),d=r(p),h=n(6),v=r(h),y=n(1),g=r(y),m=n(99),_=n(4),b=r(_),w=n(104),E=r(w),T=n(161),C=r(T),S=n(327),x=r(S),O={position:"fixed",pointerEvents:"none",zIndex:100,left:0,top:0,width:"100%",height:"100%"},k=g.default.createElement("div",null),P=t.CustomDragLayer=function(e){function t(){return(0,c.default)(this,t),(0,d.default)(this,(t.__proto__||(0,s.default)(t)).apply(this,arguments))}return(0,v.default)(t,e),(0,f.default)(t,[{key:"renderItem",value:function(e,t){switch(e){case E.default.WORD_GROUP:return b.default.map(t.words,function(e){return g.default.createElement(C.default,{key:e.id,material:e.material,className:t.wordClassName})});case E.default.FILL_BLANK_WORD:case E.default.WORD:return g.default.createElement(C.default,{key:t.itemId,material:t.material,className:t.wordClassName});case E.default.CLIX_DROPPABLE:return g.default.createElement(x.default,{key:t.droppableId,className:"c-droppable-item",text:t.droppableText,droppableId:t.droppableId});default:return k}}},{key:"render",value:function(){var e=this.props,t=e.item,n=e.itemType,r=e.isDragging;return r?g.default.createElement("div",{style:O},g.default.createElement("div",{style:o(this.props)},this.renderItem(n,t))):null}}]),t}(g.default.Component);t.default=(0,m.DragLayer)(i)(P)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(9),a=o(i),s=n(3),u=o(s),c=n(5),l=o(c),f=n(8),p=o(f),d=n(6),h=o(d),v=n(1),y=o(v),g=n(103),m=(o(g),n(56)),_=(r(m),function(e){function t(){return(0,u.default)(this,t),(0,p.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,h.default)(t,e),(0,l.default)(t,[{key:"allowDrop",value:function(e){e.preventDefault()}},{key:"drop",value:function(e){e.preventDefault();var t=e.dataTransfer.getData("text");document.getElementById(t).removeAttribute("style"),e.target.appendChild(document.getElementById(t))}},{key:"drag",value:function(e){e.dataTransfer.setData("text",e.target.id);var t=e.target.getBoundingClientRect();e.currentTarget.setAttribute("offsetX",(event.clientX-t.left).toString()),e.currentTarget.setAttribute("offsetY",(event.clientY-t.top).toString())}},{key:"render",value:function(){var e=this,t={float:"left",margin:"10px",padding:"10px",border:"1px solid #aaaaaa",display:"inline",zIndex:"2"},n="zone"+this.props.item.id;return y.default.createElement("div",{className:"dropZone",id:n,onDrop:function(t){e.drop(t)},onDragOver:function(t){document.getElementById(n).hasChildNodes()?t.stopPropagation():e.allowDrop(t)},style:t},y.default.createElement("div",{className:"draggable",draggable:"true",onDragOver:function(e){e.stopPropagation()},onDrop:function(e){e.stopPropagation()},onDragStart:function(t){e.drag(t)},id:this.props.item.id+this._reactInternalInstance._rootNodeID,width:"88",height:"31"},this.props.item.label))}}]),t}(y.default.Component));t.default=_},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return{connectDragSource:e.dragSource(),isDragging:t.isDragging(),connectDragPreview:e.dragPreview()}}Object.defineProperty(t,"__esModule",{value:!0}),t.FillTheBlankDraggableWord=t.DraggableWord=void 0;var i=n(9),a=r(i),s=n(3),u=r(s),c=n(5),l=r(c),f=n(8),p=r(f),d=n(6),h=r(d),v=n(1),y=r(v),g=n(99),m=n(190),_=n(161),b=r(_),w=n(104),E=r(w),T={beginDrag:function(e){return{itemId:e.id,material:e.material,wordClassName:e.wordClassName}}},C=t.DraggableWord=function(e){function t(){return(0,u.default)(this,t),(0,p.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,h.default)(t,e),(0,l.default)(t,[{key:"componentDidMount",value:function(){this.props.connectDragPreview((0,m.getEmptyImage)())}},{key:"render",value:function(){var e=this.props,t=e.connectDragSource,n=e.isDragging;return t(y.default.createElement("div",{style:{display:"inline-block"}},y.default.createElement(b.default,{hide:this.props.hide||n,material:this.props.material,className:this.props.wordClassName})))}}]),t}(y.default.Component);t.default=(0,g.DragSource)(E.default.WORD,T,o)(C);t.FillTheBlankDraggableWord=(0,g.DragSource)(E.default.FILL_BLANK_WORD,T,o)(C)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(99),i=n(190),a=r(i);t.default=(0,o.DragDropContext)(a.default)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return{type:f.REFRESH_JWT,method:u.default.GET,url:"api/jwts/"+e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Constants=void 0,t.refreshJwt=o;var i=n(55),a=r(i),s=n(206),u=r(s),c=[],l=["REFRESH_JWT"],f=t.Constants=(0,a.default)(c,l)},,function(e,t,n){e.exports={default:n(590),__esModule:!0}},function(e,t,n){e.exports={default:n(602),__esModule:!0}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(338),i=r(o),a=n(543),s=r(a),u="function"==typeof s.default&&"symbol"==typeof i.default?function(e){return typeof e}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":typeof e};t.default="function"==typeof s.default&&"symbol"===u(i.default)?function(e){return"undefined"==typeof e?"undefined":u(e)}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":"undefined"==typeof e?"undefined":u(e)}},38,[1508,66,45],function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},[1538,164,66,86,57,102],[1551,163,139,75,229,86,344,65],173,[1568,227,164],[1571,45],78,[1587,66],[1588,45,23,162,231,57],[1590,34],[1594,207,34,106,23],function(e,t,n){"use strict";var r=n(31),o=n(94),i=n(30);e.exports=function(e){for(var t=r(this),n=i(t.length),a=arguments.length,s=o(a>1?arguments[1]:void 0,n),u=a>2?arguments[2]:void 0,c=void 0===u?n:o(u,n);c>s;)t[s++]=e;return t}},[1502,25,77],[1508,18,13],222,function(e,t,n){var r=n(20)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(e){}}return!0}},[1517,13],function(e,t,n){var r=n(18),o=n(247).set;e.exports=function(e,t,n){var i,a=t.constructor;return a!==n&&"function"==typeof a&&(i=a.prototype)!==n.prototype&&r(i)&&o&&o(e,i),e}},[1522,110,20],[1524,49],[1530,89,77,111,39,20],[1532,88,2,40,39,35,110,242,111,47,20],function(e,t){var n=Math.expm1;e.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||n(-2e-17)!=-2e-17?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:n},function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},[1541,13,254,49],[1564,18,12,68,46],[1568,174,95],[1572,12,38,20],[1575,78,50],function(e,t,n){var r=n(170),o=n(50);e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(e))}},function(e,t,n){"use strict";var r=n(78),o=n(50);e.exports=function(e){var t=String(o(this)),n="",i=r(e);if(i<0||i==1/0)throw RangeError("Count can't be negative");for(;i>0;(i>>>=1)&&(t+=t))1&i&&(n+=t);return n}},function(e,t){e.exports="\t\n\v\f\r   ᠎             　\u2028\u2029\ufeff"},[1577,68,169,238,235,13,49],function(e,t,n){
-"use strict";var r=n(13),o=n(24),i=n(88),a=n(175),s=n(39),u=n(92),c=n(15),l=n(87),f=n(78),p=n(30),d=n(90).f,h=n(25).f,v=n(233),y=n(111),g="ArrayBuffer",m="DataView",_="prototype",b="Wrong length!",w="Wrong index!",E=r[g],T=r[m],C=r.Math,S=r.RangeError,x=r.Infinity,O=E,k=C.abs,P=C.pow,M=C.floor,A=C.log,I=C.LN2,j="buffer",D="byteLength",R="byteOffset",N=o?"_b":j,L=o?"_l":D,F=o?"_o":R,U=function(e,t,n){var r,o,i,a=Array(n),s=8*n-t-1,u=(1<<s)-1,c=u>>1,l=23===t?P(2,-24)-P(2,-77):0,f=0,p=e<0||0===e&&1/e<0?1:0;for(e=k(e),e!=e||e===x?(o=e!=e?1:0,r=u):(r=M(A(e)/I),e*(i=P(2,-r))<1&&(r--,i*=2),e+=r+c>=1?l/i:l*P(2,1-c),e*i>=2&&(r++,i/=2),r+c>=u?(o=0,r=u):r+c>=1?(o=(e*i-1)*P(2,t),r+=c):(o=e*P(2,c-1)*P(2,t),r=0));t>=8;a[f++]=255&o,o/=256,t-=8);for(r=r<<t|o,s+=t;s>0;a[f++]=255&r,r/=256,s-=8);return a[--f]|=128*p,a},B=function(e,t,n){var r,o=8*n-t-1,i=(1<<o)-1,a=i>>1,s=o-7,u=n-1,c=e[u--],l=127&c;for(c>>=7;s>0;l=256*l+e[u],u--,s-=8);for(r=l&(1<<-s)-1,l>>=-s,s+=t;s>0;r=256*r+e[u],u--,s-=8);if(0===l)l=1-a;else{if(l===i)return r?NaN:c?-x:x;r+=P(2,t),l-=a}return(c?-1:1)*r*P(2,l-t)},q=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},z=function(e){return[255&e]},W=function(e){return[255&e,e>>8&255]},H=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},V=function(e){return U(e,52,8)},G=function(e){return U(e,23,4)},K=function(e,t,n){h(e[_],t,{get:function(){return this[n]}})},$=function(e,t,n,r){var o=+n,i=f(o);if(o!=i||i<0||i+t>e[L])throw S(w);var a=e[N]._b,s=i+e[F],u=a.slice(s,s+t);return r?u:u.reverse()},X=function(e,t,n,r,o,i){var a=+n,s=f(a);if(a!=s||s<0||s+t>e[L])throw S(w);for(var u=e[N]._b,c=s+e[F],l=r(+o),p=0;p<t;p++)u[c+p]=l[i?p:t-p-1]},Y=function(e,t){l(e,E,g);var n=+t,r=p(n);if(n!=r)throw S(b);return r};if(a.ABV){if(!c(function(){new E})||!c(function(){new E(.5)})){E=function(e){return new O(Y(this,e))};for(var Q,J=E[_]=O[_],Z=d(O),ee=0;Z.length>ee;)(Q=Z[ee++])in E||s(E,Q,O[Q]);i||(J.constructor=E)}var te=new T(new E(2)),ne=T[_].setInt8;te.setInt8(0,2147483648),te.setInt8(1,2147483649),!te.getInt8(0)&&te.getInt8(1)||u(T[_],{setInt8:function(e,t){ne.call(this,e,t<<24>>24)},setUint8:function(e,t){ne.call(this,e,t<<24>>24)}},!0)}else E=function(e){var t=Y(this,e);this._b=v.call(Array(t),0),this[L]=t},T=function(e,t,n){l(this,T,m),l(e,E,m);var r=e[L],o=f(t);if(o<0||o>r)throw S("Wrong offset!");if(n=void 0===n?r-o:p(n),o+n>r)throw S(b);this[N]=e,this[F]=o,this[L]=n},o&&(K(E,D,"_l"),K(T,j,"_b"),K(T,D,"_l"),K(T,R,"_o")),u(T[_],{getInt8:function(e){return $(this,1,e)[0]<<24>>24},getUint8:function(e){return $(this,1,e)[0]},getInt16:function(e){var t=$(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=$(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return q($(this,4,e,arguments[1]))},getUint32:function(e){return q($(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return B($(this,4,e,arguments[1]),23,4)},getFloat64:function(e){return B($(this,8,e,arguments[1]),52,8)},setInt8:function(e,t){X(this,1,e,z,t)},setUint8:function(e,t){X(this,1,e,z,t)},setInt16:function(e,t){X(this,2,e,W,t,arguments[2])},setUint16:function(e,t){X(this,2,e,W,t,arguments[2])},setInt32:function(e,t){X(this,4,e,H,t,arguments[2])},setUint32:function(e,t){X(this,4,e,H,t,arguments[2])},setFloat32:function(e,t){X(this,4,e,G,t,arguments[2])},setFloat64:function(e,t){X(this,8,e,V,t,arguments[2])}});y(E,g),y(T,m),s(T[_],a.VIEW,!0),t[g]=E,t[m]=T},[1588,13,67,88,378,25],[1594,140,20,110,67],[1598,108,366,110,42,243],function(e,t){"use strict";function n(e){return Boolean(e&&"function"==typeof e.dispose)}t.__esModule=!0,t.default=n,e.exports=t.default},function(e,t){"use strict";function n(e,t){return e===t?0!==e||0!==t||1/e===1/t:e!==e&&t!==t}function r(e,t){if(n(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),i=Object.keys(t);if(r.length!==i.length)return!1;for(var a=0;a<r.length;a++)if(!o.call(t,r[a])||!n(e[r[a]],t[r[a]]))return!1;return!0}var o=Object.prototype.hasOwnProperty;e.exports=r},function(e,t,n){"use strict";t.__esModule=!0,t.go=t.replaceLocation=t.pushLocation=t.startListener=t.getUserConfirmation=t.getCurrentLocation=void 0;var r=n(113),o=n(179),i=n(389),a=n(79),s=n(262),u="popstate",c="hashchange",l=s.canUseDOM&&!(0,o.supportsPopstateOnHashchange)(),f=function(e){var t=e&&e.key;return(0,r.createLocation)({pathname:window.location.pathname,search:window.location.search,hash:window.location.hash,state:t?(0,i.readState)(t):void 0},void 0,t)},p=t.getCurrentLocation=function(){var e=void 0;try{e=window.history.state||{}}catch(t){e={}}return f(e)},d=(t.getUserConfirmation=function(e,t){return t(window.confirm(e))},t.startListener=function(e){var t=function(t){(0,o.isExtraneousPopstateEvent)(t)||e(f(t.state))};(0,o.addEventListener)(window,u,t);var n=function(){return e(p())};return l&&(0,o.addEventListener)(window,c,n),function(){(0,o.removeEventListener)(window,u,t),l&&(0,o.removeEventListener)(window,c,n)}},function(e,t){var n=e.state,r=e.key;void 0!==n&&(0,i.saveState)(r,n),t({key:r},(0,a.createPath)(e))});t.pushLocation=function(e){return d(e,function(e,t){return window.history.pushState(e,null,t)})},t.replaceLocation=function(e){return d(e,function(e,t){return window.history.replaceState(e,null,t)})},t.go=function(e){e&&window.history.go(e)}},function(e,t){"use strict";t.__esModule=!0;t.canUseDOM=!("undefined"==typeof window||!window.document||!window.document.createElement)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(850),i=n(79),a=n(264),s=r(a),u=n(178),c=n(113),l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.getCurrentLocation,n=e.getUserConfirmation,r=e.pushLocation,a=e.replaceLocation,l=e.go,f=e.keyLength,p=void 0,d=void 0,h=[],v=[],y=[],g=function(){return d&&d.action===u.POP?y.indexOf(d.key):p?y.indexOf(p.key):-1},m=function(e){var t=g();p=e,p.action===u.PUSH?y=[].concat(y.slice(0,t+1),[p.key]):p.action===u.REPLACE&&(y[t]=p.key),v.forEach(function(e){return e(p)})},_=function(e){return h.push(e),function(){return h=h.filter(function(t){return t!==e})}},b=function(e){return v.push(e),function(){return v=v.filter(function(t){return t!==e})}},w=function(e,t){(0,o.loopAsync)(h.length,function(t,n,r){(0,s.default)(h[t],e,function(e){return null!=e?r(e):n()})},function(e){n&&"string"==typeof e?n(e,function(e){return t(e!==!1)}):t(e!==!1)})},E=function(e){p&&(0,c.locationsAreEqual)(p,e)||d&&(0,c.locationsAreEqual)(d,e)||(d=e,w(e,function(t){if(d===e)if(d=null,t){if(e.action===u.PUSH){var n=(0,i.createPath)(p),o=(0,i.createPath)(e);o===n&&(0,c.statesAreEqual)(p.state,e.state)&&(e.action=u.REPLACE)}e.action===u.POP?m(e):e.action===u.PUSH?r(e)!==!1&&m(e):e.action===u.REPLACE&&a(e)!==!1&&m(e)}else if(p&&e.action===u.POP){var s=y.indexOf(p.key),f=y.indexOf(e.key);s!==-1&&f!==-1&&l(s-f)}}))},T=function(e){return E(P(e,u.PUSH))},C=function(e){return E(P(e,u.REPLACE))},S=function(){return l(-1)},x=function(){return l(1)},O=function(){return Math.random().toString(36).substr(2,f||6)},k=function(e){return(0,i.createPath)(e)},P=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:O();return(0,c.createLocation)(e,t,n)};return{getCurrentLocation:t,listenBefore:_,listen:b,transitionTo:E,push:T,replace:C,go:l,goBack:S,goForward:x,createKey:O,createPath:i.createPath,createHref:k,createLocation:P}};t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(83),i=(r(o),function(e,t,n){var r=e(t,n);e.length<2&&n(r)});t.default=i},function(e,t,n){var r=n(97),o=n(71),i=r(o,"Map");e.exports=i},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var o=n(924),i=n(925),a=n(926),s=n(927),u=n(928);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=s,r.prototype.set=u,e.exports=r},function(e,t,n){function r(e,t){var n=null==e?0:e.length;return!!n&&o(e,t,0)>-1}var o=n(874);e.exports=r},function(e,t){function n(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}e.exports=n},function(e,t,n){function r(e,t,n){"__proto__"==t&&o?o(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var o=n(404);e.exports=r},function(e,t,n){function r(e,t,n,r){var f=-1,p=i,d=!0,h=e.length,v=[],y=t.length;if(!h)return v;n&&(t=s(t,u(n))),r?(p=a,d=!1):t.length>=l&&(p=c,d=!1,t=new o(t));e:for(;++f<h;){var g=e[f],m=null==n?g:n(g);if(g=r||0!==g?g:0,d&&m===m){for(var _=y;_--;)if(t[_]===m)continue e;v.push(g)}else p(t,m,r)||v.push(g)}return v}var o=n(181),i=n(267),a=n(268),s=n(182),u=n(272),c=n(184),l=200;e.exports=r},function(e,t,n){function r(e,t,n,a,s){var u=-1,c=e.length;for(n||(n=i),s||(s=[]);++u<c;){var l=e[u];t>0&&n(l)?t>1?r(l,t-1,n,a,s):o(s,l):a||(s[s.length]=l)}return s}var o=n(399),i=n(915);e.exports=r},function(e,t){function n(e){return function(t){return e(t)}}e.exports=n},function(e,t){function n(e,t){return t=null==t?r:t,!!t&&("number"==typeof e||o.test(e))&&e>-1&&e%1==0&&e<t}var r=9007199254740991,o=/^(?:0|[1-9]\d*)$/;e.exports=n},function(e,t,n){function r(e,t){if(o(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!i(e))||(s.test(e)||!a.test(e)||null!=t&&e in Object(t))}var o=n(37),i=n(278),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;e.exports=r},function(e,t){function n(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}e.exports=n},function(e,t,n){var r=n(876),o=n(98),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=u},function(e,t){function n(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},function(e,t,n){function r(e){return"symbol"==typeof e||i(e)&&o(e)==a}var o=n(114),i=n(98),a="[object Symbol]";e.exports=r},function(e,t,n){function r(e){return a(e)?o(e):i(e)}var o=n(398),i=n(883),a=n(189);e.exports=r},function(e,t){function n(e,t,n){return Math.min(Math.max(e,t),n)}e.exports=n},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.FILE="__NATIVE_FILE__",t.URL="__NATIVE_URL__",t.TEXT="__NATIVE_TEXT__"},function(e,t){"use strict";function n(e,t){if(e===t)return!0;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=Object.prototype.hasOwnProperty,i=0;i<n.length;i+=1){if(!o.call(t,n[i])||e[n[i]]!==t[n[i]])return!1;var a=e[n[i]],s=t[n[i]];if(a!==s)return!1}return!0}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n},function(e,t,n){"use strict";function r(e,t){return Array.isArray(t)&&(t=t[1]),t?t.nextSibling:e.firstChild}function o(e,t,n){l.insertTreeBefore(e,t,n)}function i(e,t,n){Array.isArray(t)?s(e,t[0],t[1],n):v(e,t,n)}function a(e,t){if(Array.isArray(t)){var n=t[1];t=t[0],u(e,t,n),e.removeChild(n)}e.removeChild(t)}function s(e,t,n,r){for(var o=t;;){var i=o.nextSibling;if(v(e,o,r),o===n)break;o=i}}function u(e,t,n){for(;;){var r=t.nextSibling;if(r===n)break;e.removeChild(r)}}function c(e,t,n){var r=e.parentNode,o=e.nextSibling;o===t?n&&v(r,document.createTextNode(n),o):n?(h(o,n),u(r,o,t)):u(r,e,t)}var l=n(116),f=n(1004),p=(n(27),n(53),n(292)),d=n(197),h=n(446),v=p(function(e,t,n){e.insertBefore(t,n)}),y=f.dangerouslyReplaceNodeWithMarkup,g={dangerouslyReplaceNodeWithMarkup:y,replaceDelimitedText:c,processUpdates:function(e,t){for(var n=0;n<t.length;n++){var s=t[n];switch(s.type){case"INSERT_MARKUP":o(e,s.content,r(e,s.afterNode));break;case"MOVE_EXISTING":i(e,s.fromNode,r(e,s.afterNode));break;case"SET_MARKUP":d(e,s.content);break;case"TEXT_CONTENT":h(e,s.content);break;case"REMOVE_NODE":a(e,s.fromNode)}}}};e.exports=g},function(e,t){"use strict";var n={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};e.exports=n},function(e,t,n){"use strict";function r(){if(s)for(var e in u){var t=u[e],n=s.indexOf(e);if(n>-1?void 0:a("96",e),!c.plugins[n]){t.extractEvents?void 0:a("97",e),c.plugins[n]=t;var r=t.eventTypes;for(var i in r)o(r[i],t,i)?void 0:a("98",i,e)}}}function o(e,t,n){c.eventNameDispatchConfigs.hasOwnProperty(n)?a("99",n):void 0,c.eventNameDispatchConfigs[n]=e;var r=e.phasedRegistrationNames;if(r){for(var o in r)if(r.hasOwnProperty(o)){var s=r[o];i(s,t,n)}return!0}return!!e.registrationName&&(i(e.registrationName,t,n),!0)}function i(e,t,n){c.registrationNameModules[e]?a("100",e):void 0,c.registrationNameModules[e]=t,c.registrationNameDependencies[e]=t.eventTypes[n].dependencies}var a=n(16),s=(n(11),null),u={},c={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},possibleRegistrationNames:null,injectEventPluginOrder:function(e){s?a("101"):void 0,s=Array.prototype.slice.call(e),r()},injectEventPluginsByName:function(e){var t=!1;for(var n in e)if(e.hasOwnProperty(n)){var o=e[n];u.hasOwnProperty(n)&&u[n]===o||(u[n]?a("102",n):void 0,u[n]=o,t=!0)}t&&r()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return c.registrationNameModules[t.registrationName]||null;if(void 0!==t.phasedRegistrationNames){var n=t.phasedRegistrationNames;for(var r in n)if(n.hasOwnProperty(r)){var o=c.registrationNameModules[n[r]];if(o)return o}}return null},_resetEventPlugins:function(){s=null;for(var e in u)u.hasOwnProperty(e)&&delete u[e];c.plugins.length=0;var t=c.eventNameDispatchConfigs;for(var n in t)t.hasOwnProperty(n)&&delete t[n];var r=c.registrationNameModules;for(var o in r)r.hasOwnProperty(o)&&delete r[o]}};e.exports=c},function(e,t){"use strict";function n(e){var t=/[=:]/g,n={"=":"=0",":":"=2"},r=(""+e).replace(t,function(e){return n[e]});return"$"+r}function r(e){var t=/(=0|=2)/g,n={"=0":"=","=2":":"},r="."===e[0]&&"$"===e[1]?e.substring(2):e.substring(1);return(""+r).replace(t,function(e){return n[e]})}var o={escape:n,unescape:r};e.exports=o},function(e,t,n){"use strict";function r(e){null!=e.checkedLink&&null!=e.valueLink?s("87"):void 0}function o(e){r(e),null!=e.value||null!=e.onChange?s("88"):void 0}function i(e){r(e),null!=e.checked||null!=e.onChange?s("89"):void 0}function a(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""}var s=n(16),u=n(124),c=n(1034),l=(n(11),n(14),{button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0}),f={value:function(e,t,n){return!e[t]||l[e.type]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")},checked:function(e,t,n){return!e[t]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")},onChange:u.PropTypes.func},p={},d={checkPropTypes:function(e,t,n){for(var r in f){if(f.hasOwnProperty(r))var o=f[r](t,r,e,"prop",null,c);if(o instanceof Error&&!(o.message in p)){p[o.message]=!0;a(n)}}},getValue:function(e){return e.valueLink?(o(e),e.valueLink.value):e.value},getChecked:function(e){return e.checkedLink?(i(e),e.checkedLink.value):e.checked},executeOnChange:function(e,t){return e.valueLink?(o(e),e.valueLink.requestChange(t.target.value)):e.checkedLink?(i(e),e.checkedLink.requestChange(t.target.checked)):e.onChange?e.onChange.call(void 0,t):void 0}};e.exports=d},function(e,t,n){"use strict";var r=n(16),o=(n(11),!1),i={replaceNodeWithMarkup:null,processChildrenUpdates:null,injection:{injectEnvironment:function(e){o?r("104"):void 0,i.replaceNodeWithMarkup=e.replaceNodeWithMarkup,i.processChildrenUpdates=e.processChildrenUpdates,o=!0}}};e.exports=i},function(e,t,n){"use strict";function r(e,t,n){try{t(n)}catch(e){null===o&&(o=e)}}var o=null,i={invokeGuardedCallback:r,invokeGuardedCallbackWithCatch:r,rethrowCaughtError:function(){if(o){var e=o;throw o=null,e}}};e.exports=i},function(e,t,n){"use strict";function r(e){u.enqueueUpdate(e)}function o(e){var t=typeof e;if("object"!==t)return t;var n=e.constructor&&e.constructor.name||t,r=Object.keys(e);return r.length>0&&r.length<20?n+" (keys: "+r.join(", ")+")":n}function i(e,t){var n=s.get(e);if(!n){return null}return n}var a=n(16),s=(n(73),n(148)),u=(n(53),n(62)),c=(n(11),n(14),{isMounted:function(e){var t=s.get(e);return!!t&&!!t._renderedComponent},enqueueCallback:function(e,t,n){c.validateCallback(t,n);var o=i(e);return o?(o._pendingCallbacks?o._pendingCallbacks.push(t):o._pendingCallbacks=[t],void r(o)):null},enqueueCallbackInternal:function(e,t){e._pendingCallbacks?e._pendingCallbacks.push(t):e._pendingCallbacks=[t],r(e)},enqueueForceUpdate:function(e){var t=i(e,"forceUpdate");t&&(t._pendingForceUpdate=!0,r(t))},enqueueReplaceState:function(e,t){var n=i(e,"replaceState");n&&(n._pendingStateQueue=[t],n._pendingReplaceState=!0,r(n))},enqueueSetState:function(e,t){var n=i(e,"setState");if(n){var o=n._pendingStateQueue||(n._pendingStateQueue=[]);o.push(t),r(n)}},enqueueElementInternal:function(e,t,n){e._pendingElement=t,e._context=n,r(e)},validateCallback:function(e,t){e&&"function"!=typeof e?a("122",t,o(e)):void 0}});e.exports=c},function(e,t){"use strict";var n={currentScrollLeft:0,currentScrollTop:0,refreshScrollValues:function(e){n.currentScrollLeft=e.x,n.currentScrollTop=e.y}};e.exports=n},function(e,t){"use strict";var n=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e};e.exports=n},function(e,t){"use strict";function n(e){var t,n=e.keyCode;return"charCode"in e?(t=e.charCode,0===t&&13===n&&(t=13)):t=n,t>=32||13===t?t:0}e.exports=n},function(e,t){"use strict";function n(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var r=o[e];return!!r&&!!n[r]}function r(e){return n}var o={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};e.exports=r},function(e,t){"use strict";function n(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),3===t.nodeType?t.parentNode:t}e.exports=n},function(e,t,n){"use strict";/**
-	 * Checks if an event is supported in the current execution environment.
-	 *
-	 * NOTE: This will not work correctly for non-generic events such as `change`,
-	 * `reset`, `load`, `error`, and `select`.
-	 *
-	 * Borrows from Modernizr.
-	 *
-	 * @param {string} eventNameSuffix Event name, e.g. "click".
-	 * @param {?boolean} capture Check if the capture phase is supported.
-	 * @return {boolean} True if the event is supported.
-	 * @internal
-	 * @license Modernizr 3.0.0pre (Custom Build) | MIT
-	 */
-function r(e,t){if(!i.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var a=document.createElement("div");a.setAttribute(n,"return;"),r="function"==typeof a[n]}return!r&&o&&"wheel"===e&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var o,i=n(36);i.canUseDOM&&(o=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0),e.exports=r},function(e,t){"use strict";function n(e,t){var n=null===e||e===!1,r=null===t||t===!1;if(n||r)return n===r;var o=typeof e,i=typeof t;return"string"===o||"number"===o?"string"===i||"number"===i:"object"===i&&e.type===t.type&&e.key===t.key}e.exports=n},function(e,t,n){"use strict";var r=(n(21),n(52)),o=(n(14),r);e.exports=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r=e.nodeType,i=e.data,a=e.collectionLimit,s=e.circularCache,u=e.keyPath,c=e.postprocessValue,l=e.sortObjectKeys,f=[];return(0,T.default)(r,i,l,a,t,n).forEach(function(t){if(t.to)f.push(_.default.createElement(O.default,(0,g.default)({},e,{key:"ItemRange--"+t.from+"-"+t.to,from:t.from,to:t.to,renderChildNodes:o})));else{var n=t.key,r=t.value,i=s.indexOf(r)!==-1,l=_.default.createElement(S.default,(0,g.default)({},e,{postprocessValue:c,collectionLimit:a},{key:"Node--"+n,keyPath:[n].concat(u),value:c(r),circularCache:[].concat(s,[r]),isCircular:i,hideRoot:!1}));l!==!1&&f.push(l)}}),f}function i(e){var t=!(!e.shouldExpandNode||e.isCircular)&&e.shouldExpandNode(e.keyPath,e.data,e.level);return{expanded:t}}t.__esModule=!0,t.default=void 0;var a,s,u=n(105),c=r(u),l=n(3),f=r(l),p=n(8),d=r(p),h=n(6),v=r(h),y=n(10),g=r(y),m=n(1),_=r(m),b=n(448),w=r(b),E=n(1070),T=r(E),C=n(449),S=r(C),x=n(1064),O=r(x),k=(s=a=function(e){function t(n){(0,f.default)(this,t);var r=(0,d.default)(this,e.call(this,n));return r.handleClick=function(){return r.setState({expanded:!r.state.expanded})},r.state=i(n),r}return(0,v.default)(t,e),t.prototype.componentWillReceiveProps=function(e){var t=i(e);i(this.props).expanded!==t.expanded&&this.setState(t)},t.prototype.shouldComponentUpdate=function(e,t){var n=this;return!!(0,c.default)(e).find(function(t){return"circularCache"!==t&&("keyPath"===t?e[t].join("/")!==n.props[t].join("/"):e[t]!==n.props[t])})||t.expanded!==this.state.expanded},t.prototype.render=function(){var e=this.props,t=e.getItemString,n=e.nodeTypeIndicator,r=e.nodeType,i=e.data,a=e.hideRoot,s=e.createItemString,u=e.styling,c=e.collectionLimit,l=e.keyPath,f=e.labelRenderer,p=e.expandable,d=this.state.expanded,h=d||a&&0===this.props.level?o((0,g.default)({},this.props,{level:this.props.level+1})):null,v=_.default.createElement("span",u("nestedNodeItemType",d),n),y=t(r,i,v,s(i,c)),m=[l,r,d,p];return a?_.default.createElement("li",u.apply(void 0,["rootNode"].concat(m)),_.default.createElement("ul",u.apply(void 0,["rootNodeChildren"].concat(m)),h)):_.default.createElement("li",u.apply(void 0,["nestedNode"].concat(m)),p&&_.default.createElement(w.default,{styling:u,nodeType:r,expanded:d,onClick:this.handleClick}),_.default.createElement("label",(0,g.default)({},u.apply(void 0,[["label","nestedNodeLabel"]].concat(m)),{onClick:p&&this.handleClick}),f.apply(void 0,m)),_.default.createElement("span",(0,g.default)({},u.apply(void 0,["nestedNodeItemString"].concat(m)),{onClick:p&&this.handleClick}),y),_.default.createElement("ul",u.apply(void 0,["nestedNodeChildren"].concat(m)),h))},t}(_.default.Component),a.propTypes={getItemString:m.PropTypes.func.isRequired,nodeTypeIndicator:m.PropTypes.any,nodeType:m.PropTypes.string.isRequired,data:m.PropTypes.any,hideRoot:m.PropTypes.bool.isRequired,createItemString:m.PropTypes.func.isRequired,styling:m.PropTypes.func.isRequired,collectionLimit:m.PropTypes.number,keyPath:m.PropTypes.arrayOf(m.PropTypes.oneOfType([m.PropTypes.string,m.PropTypes.number])).isRequired,labelRenderer:m.PropTypes.func.isRequired,shouldExpandNode:m.PropTypes.func,level:m.PropTypes.number.isRequired,sortObjectKeys:m.PropTypes.oneOfType([m.PropTypes.func,m.PropTypes.bool]),isCircular:m.PropTypes.bool,expandable:m.PropTypes.bool},a.defaultProps={data:[],circularCache:[],level:0,expandable:!0},s);t.default=k},function(e,t){"use strict";function n(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e);try{throw new Error(e)}catch(e){}}t.__esModule=!0,t.default=n},function(e,t){"use strict";function n(e,t,n){function r(){return a=!0,s?void(c=[].concat(Array.prototype.slice.call(arguments))):void n.apply(this,arguments)}function o(){if(!a&&(u=!0,!s)){for(s=!0;!a&&i<e&&u;)u=!1,t.call(this,i++,o,r);return s=!1,a?void n.apply(this,c):void(i>=e&&u&&(a=!0,n()))}}var i=0,a=!1,s=!1,u=!1,c=void 0;o()}function r(e,t,n){function r(e,t,r){a||(t?(a=!0,n(t)):(i[e]=r,a=++s===o,a&&n(null,i)))}var o=e.length,i=[];if(0===o)return n(null,i);var a=!1,s=0;e.forEach(function(e,n){t(e,n,function(e,t){r(n,e,t)})})}t.__esModule=!0,t.loopAsync=n,t.mapAsync=r},function(e,t,n){"use strict";function r(e){return"@@contextSubscriber/"+e}function o(e){var t,n,o=r(e),i=o+"/listeners",a=o+"/eventIndex",u=o+"/subscribe";return n={childContextTypes:(t={},t[o]=s.isRequired,t),getChildContext:function(){var e;return e={},e[o]={eventIndex:this[a],subscribe:this[u]},e},componentWillMount:function(){this[i]=[],this[a]=0},componentWillReceiveProps:function(){this[a]++},componentDidUpdate:function(){var e=this;this[i].forEach(function(t){return t(e[a])})}},n[u]=function(e){var t=this;return this[i].push(e),function(){t[i]=t[i].filter(function(t){return t!==e})}},n}function i(e){var t,n,o=r(e),i=o+"/lastRenderedEventIndex",a=o+"/handleContextUpdate",u=o+"/unsubscribe";return n={contextTypes:(t={},t[o]=s,t),getInitialState:function(){var e;return this.context[o]?(e={},e[i]=this.context[o].eventIndex,e):{}},componentDidMount:function(){this.context[o]&&(this[u]=this.context[o].subscribe(this[a]))},componentWillReceiveProps:function(){var e;this.context[o]&&this.setState((e={},e[i]=this.context[o].eventIndex,e))},componentWillUnmount:function(){this[u]&&(this[u](),this[u]=null)}},n[a]=function(e){if(e!==this.state[i]){var t;this.setState((t={},t[i]=e,t))}},n}t.__esModule=!0,t.ContextProvider=o,t.ContextSubscriber=i;var a=n(1),s=a.PropTypes.shape({subscribe:a.PropTypes.func.isRequired,eventIndex:a.PropTypes.number.isRequired})},function(e,t,n){"use strict";t.__esModule=!0,t.locationShape=t.routerShape=void 0;var r=n(1),o=r.PropTypes.func,i=r.PropTypes.object,a=r.PropTypes.shape,s=r.PropTypes.string;t.routerShape=a({push:o.isRequired,replace:o.isRequired,go:o.isRequired,goBack:o.isRequired,goForward:o.isRequired,setRouteLeaveHook:o.isRequired,isActive:o.isRequired}),t.locationShape=a({pathname:s.isRequired,search:s.isRequired,state:i,action:s.isRequired,key:s})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=n(17),s=r(a),u=n(1),c=r(u),l=n(1094),f=r(l),p=n(302),d=n(80),h=c.default.PropTypes,v=h.array,y=h.func,g=h.object,m=c.default.createClass({displayName:"RouterContext",mixins:[(0,p.ContextProvider)("router")],propTypes:{router:g.isRequired,location:g.isRequired,routes:v.isRequired,params:g.isRequired,components:v.isRequired,createElement:y.isRequired},getDefaultProps:function(){return{createElement:c.default.createElement}},childContextTypes:{router:g.isRequired},getChildContext:function(){return{router:this.props.router}},createElement:function(e,t){return null==e?null:this.props.createElement(e,t)},render:function(){var e=this,t=this.props,n=t.location,r=t.routes,a=t.params,u=t.components,l=t.router,p=null;return u&&(p=u.reduceRight(function(t,s,u){if(null==s)return t;var c=r[u],p=(0,f.default)(c,a),h={location:n,params:a,route:c,router:l,routeParams:p,routes:r};if((0,d.isReactChildren)(t))h.children=t;else if(t)for(var v in t)Object.prototype.hasOwnProperty.call(t,v)&&(h[v]=t[v]);if("object"===("undefined"==typeof s?"undefined":i(s))){var y={};for(var g in s)Object.prototype.hasOwnProperty.call(s,g)&&(y[g]=e.createElement(s[g],o({key:g},h)));return y}return e.createElement(s,h)},p)),null===p||p===!1||c.default.isValidElement(p)?void 0:(0,s.default)(!1),p}});t.default=m,e.exports=t.default},,function(e,t,n){"use strict";function r(e,t,n){this.props=e,this.context=t,this.refs=a,this.updater=n||i}var o=n(126),i=n(307),a=(n(469),n(143));n(11),n(14);r.prototype.isReactComponent={},r.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e?o("85"):void 0,this.updater.enqueueSetState(this,e),t&&this.updater.enqueueCallback(this,t,"setState")},r.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this),e&&this.updater.enqueueCallback(this,e,"forceUpdate")};e.exports=r},function(e,t,n){"use strict";function r(e,t){}var o=(n(14),{isMounted:function(e){return!1},enqueueCallback:function(e,t){},enqueueForceUpdate:function(e){r(e,"forceUpdate")},enqueueReplaceState:function(e,t){r(e,"replaceState")},enqueueSetState:function(e,t){r(e,"setState")}});e.exports=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){function r(){g===y&&(g=y.slice())}function i(){return v}function s(e){if("function"!=typeof e)throw new Error("Expected listener to be a function.");var t=!0;return r(),g.push(e),function(){if(t){t=!1,r();var n=g.indexOf(e);g.splice(n,1)}}}function l(e){if(!(0,a.default)(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if("undefined"==typeof e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(m)throw new Error("Reducers may not dispatch actions.");try{m=!0,v=h(v,e)}finally{m=!1}for(var t=y=g,n=0;n<t.length;n++)t[n]();return e}function f(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");h=e,l({type:c.INIT})}function p(){var e,t=s;return e={subscribe:function(e){function n(){e.next&&e.next(i())}if("object"!=typeof e)throw new TypeError("Expected the observer to be an object.");n();var r=t(n);return{unsubscribe:r}}},e[u.default]=function(){return this},e}var d;if("function"==typeof t&&"undefined"==typeof n&&(n=t,t=void 0),"undefined"!=typeof n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(o)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var h=e,v=t,y=[],g=y,m=!1;return l({type:c.INIT}),d={dispatch:l,subscribe:s,getState:i,replaceReducer:f},d[u.default]=p,d}t.__esModule=!0,t.ActionTypes=void 0,t.default=o;var i=n(61),a=r(i),s=n(477),u=r(s),c=t.ActionTypes={INIT:"@@redux/INIT"}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.compose=t.applyMiddleware=t.bindActionCreators=t.combineReducers=t.createStore=void 0;var o=n(308),i=r(o),a=n(1138),s=r(a),u=n(1137),c=r(u),l=n(1136),f=r(l),p=n(475),d=r(p),h=n(476);r(h);t.createStore=i.default,t.combineReducers=s.default,t.bindActionCreators=c.default,t.applyMiddleware=f.default,t.compose=d.default},function(e,t){"use strict";function n(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){return e===t}function o(e){var t=arguments.length<=1||void 0===arguments[1]?r:arguments[1],n=null,o=null;return function(){for(var r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=arguments[a];return null!==n&&n.length===i.length&&i.every(function(e,r){return t(e,n[r])})||(o=e.apply(void 0,i)),n=i,o}}function i(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every(function(e){return"function"==typeof e})){var n=t.map(function(e){return typeof e}).join(", ");throw new Error("Selector creators expect all input-selectors to be functions, "+("instead received the following types: ["+n+"]"))}return t}function a(e){for(var t=arguments.length,r=Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];return function(){for(var t=arguments.length,o=Array(t),a=0;a<t;a++)o[a]=arguments[a];var s=0,u=o.pop(),c=i(o),l=e.apply(void 0,[function(){return s++,u.apply(void 0,arguments)}].concat(r)),f=function(e,t){for(var r=arguments.length,o=Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];var a=c.map(function(n){return n.apply(void 0,[e,t].concat(o))});return l.apply(void 0,n(a))};return f.resultFunc=u,f.recomputations=function(){return s},f.resetRecomputations=function(){return s=0},f}}function s(e){var t=arguments.length<=1||void 0===arguments[1]?u:arguments[1];if("object"!=typeof e)throw new Error("createStructuredSelector expects first argument to be an object where each property is a selector, instead received a "+typeof e);var n=Object.keys(e);return t(n.map(function(t){return e[t]}),function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce(function(e,t,r){return e[n[r]]=t,e},{})})}t.__esModule=!0,t.defaultMemoize=o,t.createSelectorCreator=a,t.createStructuredSelector=s;var u=t.createSelector=a(o)},function(e,t){function n(e){return null!==e&&"object"==typeof e}e.exports=n},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c=n(201),l=o(c),f=n(7),p=o(f),d=n(19),h=r(d),v=n(29),y=o(v),g=n(26),m=o(g),_=function(e){function t(n,r){i(this,t);var o=r.track,s=n.textTracks();r.label=o.label||o.language||"Unknown",r.selected=o.default||"showing"===o.mode;var c=a(this,e.call(this,n,r));if(c.track=o,s){var l=h.bind(c,c.handleTracksChange);n.on(["loadstart","texttrackchange"],l),s.addEventListener("change",l),c.on("dispose",function(){s.removeEventListener("change",l)})}if(s&&void 0===s.onchange){var f=void 0;c.on(["tap","click"],function(){if("object"!==u(y.default.Event))try{f=new y.default.Event("change")}catch(e){}f||(f=m.default.createEvent("Event"),f.initEvent("change",!0,!0)),s.dispatchEvent(f)})}return c}return s(t,e),t.prototype.handleClick=function(t){var n=this.track.kind,r=this.player_.textTracks();if(e.prototype.handleClick.call(this,t),r)for(var o=0;o<r.length;o++){var i=r[o];i.kind===n&&(i===this.track?i.mode="showing":i.mode="disabled")}},t.prototype.handleTracksChange=function(e){this.selected("showing"===this.track.mode)},t}(l.default);p.default.registerComponent("TextTrackMenuItem",_),t.default=_},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(1198),c=o(u),l=n(19),f=r(l),p=n(314),d=n(44),h=o(d),v=n(29),y=o(v),g=n(316),m=o(g),_=n(202),b=n(492),w=o(b),E=n(74),T=o(E),C=n(32),S=r(C),x=function(e,t){var n=new y.default.WebVTT.Parser(y.default,y.default.vttjs,y.default.WebVTT.StringDecoder()),r=[];n.oncue=function(e){t.addCue(e)},n.onparsingerror=function(e){r.push(e)},n.onflush=function(){t.trigger({type:"loadeddata",target:t})},n.parse(e),r.length>0&&(y.default.console&&y.default.console.groupCollapsed&&y.default.console.groupCollapsed("Text Track parsing errors for "+t.src),r.forEach(function(e){return h.default.error(e)}),y.default.console&&y.default.console.groupEnd&&y.default.console.groupEnd()),n.flush()},O=function(e,t){var n={uri:e},r=(0,_.isCrossOrigin)(e);r&&(n.cors=r),(0,w.default)(n,f.bind(this,function(e,n,r){if(e)return h.default.error(e,n);if(t.loaded_=!0,"function"!=typeof y.default.WebVTT){if(t.tech_){var o=function(){return x(r,t)};t.tech_.on("vttjsloaded",o),t.tech_.on("vttjserror",function(){h.default.error("vttjs failed to load, stopping trying to process "+t.src),t.tech_.off("vttjsloaded",o)})}}else x(r,t)}))},k=function(e){function t(){var n,r,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(i(this,t),!o.tech)throw new Error("A tech was not provided.");var s=(0,T.default)(o,{kind:p.TextTrackKind[o.kind]||"subtitles",language:o.language||o.srclang||""}),u=p.TextTrackMode[s.mode]||"disabled",l=s.default;"metadata"!==s.kind&&"chapters"!==s.kind||(u="hidden");var d=n=a(this,e.call(this,s));if(d.tech_=s.tech,S.IS_IE8)for(var h in t.prototype)"constructor"!==h&&(d[h]=t.prototype[h]);d.cues_=[],d.activeCues_=[];var v=new c.default(d.cues_),y=new c.default(d.activeCues_),g=!1,m=f.bind(d,function(){this.activeCues,g&&(this.trigger("cuechange"),g=!1)});return"disabled"!==u&&d.tech_.ready(function(){d.tech_.on("timeupdate",m)},!0),Object.defineProperty(d,"default",{get:function(){return l},set:function(){}}),Object.defineProperty(d,"mode",{get:function(){return u},set:function(e){var t=this;p.TextTrackMode[e]&&(u=e,"showing"===u&&this.tech_.ready(function(){t.tech_.on("timeupdate",m)},!0),this.trigger("modechange"))}}),Object.defineProperty(d,"cues",{get:function(){return this.loaded_?v:null},set:function(){}}),Object.defineProperty(d,"activeCues",{get:function(){if(!this.loaded_)return null;if(0===this.cues.length)return y;for(var e=this.tech_.currentTime(),t=[],n=0,r=this.cues.length;n<r;n++){var o=this.cues[n];o.startTime<=e&&o.endTime>=e?t.push(o):o.startTime===o.endTime&&o.startTime<=e&&o.startTime+.5>=e&&t.push(o)}if(g=!1,t.length!==this.activeCues_.length)g=!0;else for(var i=0;i<t.length;i++)this.activeCues_.indexOf(t[i])===-1&&(g=!0);return this.activeCues_=t,y.setCues_(this.activeCues_),y},set:function(){}}),s.src?(d.src=s.src,O(s.src,d)):d.loaded_=!0,r=d,a(n,r)}return s(t,e),t.prototype.addCue=function(e){var t=e;if(y.default.vttjs&&!(e instanceof y.default.vttjs.VTTCue)){t=new y.default.vttjs.VTTCue(e.startTime,e.endTime,e.text);for(var n in e)n in t||(t[n]=e[n]);t.id=e.id,t.originalCue_=e}var r=this.tech_.textTracks();if(r)for(var o=0;o<r.length;o++)r[o]!==this&&r[o].removeCue(t);this.cues_.push(t),this.cues.setCues_(this.cues_)},t.prototype.removeCue=function(e){for(var t=this.cues_.length;t--;){var n=this.cues_[t];if(n===e||n.originalCue_&&n.originalCue_===e){this.cues_.splice(t,1),this.cues.setCues_(this.cues_);break}}},t}(m.default);k.prototype.allowedEvents_={cuechange:"cuechange"},t.default=k},function(e,t){"use strict";t.__esModule=!0;t.VideoTrackKind={alternative:"alternative",captions:"captions",main:"main",sign:"sign",subtitles:"subtitles",commentary:"commentary"},t.AudioTrackKind={alternative:"alternative",descriptions:"descriptions",main:"main","main-desc":"main-desc",translation:"translation",commentary:"commentary"},t.TextTrackKind={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"},t.TextTrackMode={disabled:"disabled",hidden:"hidden",showing:"showing"}},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(200),c=o(u),l=n(32),f=r(l),p=n(26),d=o(p),h=function(e){function t(){var n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;i(this,t);var s=a(this,e.call(this));if(!o&&(o=s,f.IS_IE8)){o=d.default.createElement("custom");for(var u in t.prototype)"constructor"!==u&&(o[u]=t.prototype[u])}o.tracks_=[],Object.defineProperty(o,"length",{get:function(){return this.tracks_.length}});for(var c=0;c<r.length;c++)o.addTrack_(r[c]);return n=o,a(s,n)}return s(t,e),t.prototype.addTrack_=function(e){var t=this.tracks_.length;""+t in this||Object.defineProperty(this,t,{get:function(){return this.tracks_[t]}}),this.tracks_.indexOf(e)===-1&&(this.tracks_.push(e),this.trigger({track:e,type:"addtrack"}))},t.prototype.removeTrack_=function(e){for(var t=void 0,n=0,r=this.length;n<r;n++)if(this[n]===e){t=this[n],t.off&&t.off(),this.tracks_.splice(n,1);break}t&&this.trigger({track:t,type:"removetrack"})},t.prototype.getTrackById=function(e){for(var t=null,n=0,r=this.length;n<r;n++){var o=this[n];if(o.id===e){t=o;break}}return t},t}(c.default);h.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack"};for(var v in h.prototype.allowedEvents_)h.prototype["on"+v]=null;t.default=h},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(32),c=o(u),l=n(26),f=r(l),p=n(127),d=o(p),h=n(200),v=r(h),y=function(e){function t(){var n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i(this,t);var o=a(this,e.call(this)),s=o;if(c.IS_IE8){s=f.default.createElement("custom");for(var u in t.prototype)"constructor"!==u&&(s[u]=t.prototype[u])}var l={id:r.id||"vjs_track_"+d.newGUID(),kind:r.kind||"",label:r.label||"",language:r.language||""},p=function(e){Object.defineProperty(s,e,{get:function(){return l[e]},set:function(){}})};for(var h in l)p(h);return n=s,a(o,n)}return s(t,e),t}(v.default);t.default=y},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!e||!t)return"";if("function"==typeof a.default.getComputedStyle){var n=a.default.getComputedStyle(e);return n?n[t]:""}return e.currentStyle[t]||""}t.__esModule=!0,t.default=o;var i=n(29),a=r(i)},,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.parse=t.AssessmentFormats=void 0;var o=n(131),i=r(o),a=n(1235),s=r(a),u=n(1395),c=r(u),l=n(1237),f=r(l);t.AssessmentFormats={CLIx:"CLIx",EdX:"EDX",Qti1:"QTI1",Qti2:"QTI2"},t.parse=function(e,t){var n=e.assessment_id;if(t.startsWith("{")){var r=JSON.parse(t);if("MIT-CLIx-OEA"==r.format)return s.default.parse(n,r)}else if(t.startsWith("<?xml")){var o=(0,i.default)(i.default.parseXML(t)),a=o.find(">").attr("xmlns");if(a.startsWith("http://www.imsglobal.org/xsd/imsqti_v2p"))return f.default.parse(n,o);var u=o.find("assessment").addBack("assessment"),l=o.find("questestinterop").addBack("questestinterop"),p=o.find("sequential").addBack("sequential");if(u.length>0||l.length>0)return c.default.parse(n,u,o);if(p.length>0)return EdX.parse(e,p)}throw"Open Assessments could not find valid QTI or EdX XML. Nothing will be rendered. Please verify that your XML meets one of these standards."}},function(e,t,n){e.exports={default:n(589),__esModule:!0}},[1513,85,346,345,64,210,232],[1521,137],[1532,162,48,353,84,86,106,611,157,350,34],function(e,t){},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),c=r(u),l=n(8),f=r(l),p=n(6),d=r(p),h=n(1),v=r(h),y=n(4),g=r(y),m=n(524),_=r(m),b=n(525),w=r(b),E=function(e){function t(){(0,s.default)(this,t);var e=(0,f.default)(this,(t.__proto__||(0,i.default)(t)).call(this));return e.state={recorder:m.RecorderCommands.stop,audioURL:"",timeoutId:null},e}return(0,d.default)(t,e),(0,c.default)(t,[{key:"componentWillUnmount",value:function(){this.state.timeoutId&&window.clearTimeout(this.state.timeoutId)}},{key:"onStop",value:function(e,t){var n=window.URL.createObjectURL(e);this.setState({audioURL:n}),g.default.isFunction(this.props.selectAnswer)&&this.props.selectAnswer(e),this.props.audioRecordStop(t)}},{key:"toggle",value:function(){var e=this;if(this.state.recorder===m.RecorderCommands.stop){var t=window.setTimeout(function(){e.setState({recorder:m.RecorderCommands.stop,timeoutId:null})},1e3*this.props.timeout);this.props.audioRecordStart(),this.setState({recorder:m.RecorderCommands.start,timeoutId:t})}else this.state.recorder===m.RecorderCommands.start&&(window.clearTimeout(this.state.timeoutId),this.setState({recorder:m.RecorderCommands.stop,timeoutId:null}))}},{key:"render",value:function(){var e=this,t=void 0,n=void 0,r=void 0;return this.state.recorder===m.RecorderCommands.start?(r="c-btn--stop",n=this.props.localizedStrings.stop,t=v.default.createElement(w.default,{localizedStrings:this.props.localizedStrings,timeout:this.props.timeout})):(n=this.props.localizedStrings.record,t=v.default.createElement("audio",{src:this.state.audioURL,type:"audio/wav",controls:!0})),v.default.createElement("div",{className:"c-record"},v.default.createElement("a",{onClick:function(){e.toggle()},className:"c-btn  c-btn--record "+(r||"")},v.default.createElement("span",null,n)),v.default.createElement("span",{className:"c-audio-holder"},t),v.default.createElement(_.default,{command:this.state.recorder,onStop:function(t,n){return e.onStop(t,n)}}))}}]),t}(v.default.Component);t.default=E},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return{connectDragSource:e.dragSource(),isDragging:t.isDragging(),connectDragPreview:e.dragPreview()}}Object.defineProperty(t,"__esModule",{value:!0}),t.Droppable=void 0;var i=n(9),a=r(i),s=n(3),u=r(s),c=n(5),l=r(c),f=n(8),p=r(f),d=n(6),h=r(d),v=n(1),y=r(v),g=n(99),m=n(190),_=n(104),b=r(_),w={beginDrag:function(e,t,n){var r=n.node.getBoundingClientRect(),o=document.getElementsByTagName("body")[0];return o.className="dragging",{height:r.height,width:r.width,droppableId:e.droppableId,droppableText:e.text,previousZoneIndex:e.zoneIndex}}},E=t.Droppable=function(e){function t(){return(0,u.default)(this,t),(0,p.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,h.default)(t,e),(0,l.default)(t,[{key:"componentDidMount",value:function(){this.props.connectDragPreview((0,m.getEmptyImage)())}},{key:"render",value:function(){var e=this,t=this.props,n=t.connectDragSource,r=t.isDragging,o=t.showWhileDragging,i=t.text,a=this.props.hide||r&&!o?"is-hidden":"";return n(y.default.createElement("div",{ref:function(t){return e.node=t},className:(this.props.className||"")+" "+a,style:this.props.style,dangerouslySetInnerHTML:{__html:i}}))}}]),t}(y.default.Component);t.default=(0,g.DragSource)(b.default.CLIX_DROPPABLE,w,o)(E)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.MovableWords=void 0;var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),c=r(u),l=n(8),f=r(l),p=n(6),d=r(p),h=n(1),v=r(h),y=n(103),g=(r(y),n(4)),m=r(g),_=n(214),b=r(_),w=n(213),E=r(w),T=n(132),C=n(517),S=r(C),x=n(211),O=r(x),k=v.default.createElement(O.default,null),P=t.MovableWords=function(e){function t(){(0,s.default)(this,t);var e=(0,f.default)(this,(t.__proto__||(0,i.default)(t)).call(this));return e.state={answerPositions:{}},e}return(0,d.default)(t,e),(0,c.default)(t,[{key:"dropWordsInCloud",value:function(e,t){var n=this;m.default.each(e,function(e){m.default.includes(n.props.wordChain,e)&&n.props.selectAnswer(e)})}},{key:"linkWord",value:function(e){this.props.selectAnswer(e)}},{key:"render",value:function(){var e=this,t={};m.default.each(this.props.answers,function(e){t[e.id]=e});var n=m.default.map(t,function(t){return v.default.createElement(E.default,{key:t.id,id:t.id,material:t.material,hide:m.default.includes(e.props.wordChain,t.id),wordClassName:e.props.itemClassName})});return v.default.createElement("div",{dir:"ltr"},v.default.createElement("div",{className:"c-word-box"},v.default.createElement(T.GroupDropZone,{ref:function(t){return e.groupDropZone=t},dropItem:function(t,n){e.dropWordsInCloud(t,n)},className:"c-word-box__contain"},n)),v.default.createElement(S.default,{linkWord:function(t){e.linkWord(t)},answersById:t,wordChain:this.props.wordChain,itemClassName:this.props.itemClassName,answerBoxClassName:this.props.answerBoxClassName,noStartBlock:this.props.noStartBlock}),k)}}]),t}(v.default.Component);t.default=(0,b.default)(P)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=r(o),a=n(198),s=n(1130),u=r(s),c=n(1121),l=r(c);t.default=(0,a.createDevTools)(i.default.createElement(l.default,{toggleVisibilityKey:"H",changePositionKey:"Q",defaultIsVisible:!1},i.default.createElement(u.default,null)))},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e){return x[e]}function a(e){return function(t,n){var r=i(t.assessment.standard);if(void 0===r)return null;var o=r[e];return o(t,n)}}function s(e,t,n){var r=Math.ceil(t/n),o=Math.floor(e/n)+1;return o>=r}function u(e,t,n,r){if(r!==-1)return!0;switch(e){case"ON_CORRECT":var o=v.default.find(t,function(e){return!e.correct});return v.default.isUndefined(o)&&v.default.compact(v.default.values(t)).length===n;case"ON_ANSWER_CHECK":return v.default.compact(v.default.values(t)).length===n;default:return!0}}function c(){return!0}function l(e,t,n,r){return r?e.slice(t,t+n):[]}Object.defineProperty(t,"__esModule",{value:!0}),t.currentItems=t.isPrevUnlocked=t.isNextUnlocked=t.isLastPage=t.isFirstPage=t.secondaryActionState=t.primaryActionState=t.checkButtonText=t.isCheckingAnswer=t.assessmentLoaded=t.correctItemCount=t.questionResults=t.questionCount=t.outcomes=t.questions=void 0;var f,p=n(101),d=o(p);
-t._isLastPage=s,t._isNextUnlocked=u,t._isPrevUnlocked=c,t._currentItems=l;var h=n(4),v=o(h),y=n(310),g=n(320),m=n(1393),_=r(m),b=n(1394),w=r(b),E=n(1396),T=r(E),C=n(1238),S=r(C),x=(f={},(0,d.default)(f,g.AssessmentFormats.CLIx,_),(0,d.default)(f,g.AssessmentFormats.EdX,w),(0,d.default)(f,g.AssessmentFormats.Qti1,T),(0,d.default)(f,g.AssessmentFormats.Qti2,S),f),O=t.questions=a("questions"),k=(t.outcomes=a("outcomes"),t.questionCount=a("questionCount")),P=t.questionResults=a("questionResults"),M=(t.correctItemCount=a("correctItemCount"),t.assessmentLoaded=a("assessmentLoaded")),A=(t.isCheckingAnswer=a("isCheckingAnswer"),t.checkButtonText=a("checkButtonText"),t.primaryActionState=a("primaryActionState"),t.secondaryActionState=a("secondaryActionState"),function(e){return e.assessmentProgress.get("currentItemIndex")}),I=function(e){return e.settings.questions_per_page};t.isFirstPage=(0,y.createSelector)(A,function(e){return 0===e}),t.isLastPage=(0,y.createSelector)(A,k,I,s),t.isNextUnlocked=(0,y.createSelector)(function(e){return e.settings.unlock_next},P,I,function(e){return e.assessment.requireNAnswers},u),t.isPrevUnlocked=(0,y.createSelector)(c),t.currentItems=(0,y.createSelector)(O,A,I,M,l)},,,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(218),i=r(o),a=n(3),s=r(a),u=n(5),c=r(u),l=n(4),f=r(l),p=n(504),d=r(p),h=n(206),v=r(h),y={},g=function(){function e(){(0,s.default)(this,e)}return(0,c.default)(e,null,[{key:"get",value:function(t,n,r,o,i,a){var s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:v.default.TIMEOUT;return e.execRequest(v.default.GET,t,n,r,o,i,null,a,s)}},{key:"post",value:function(t,n,r,o,i,a,s){var u=arguments.length>7&&void 0!==arguments[7]?arguments[7]:v.default.TIMEOUT;return e.execRequest(v.default.POST,t,n,r,o,i,a,s,u)}},{key:"put",value:function(t,n,r,o,i,a,s){var u=arguments.length>7&&void 0!==arguments[7]?arguments[7]:v.default.TIMEOUT;return e.execRequest(v.default.PUT,t,n,r,o,i,a,s,u)}},{key:"del",value:function(t,n,r,o,i,a){var s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:v.default.TIMEOUT;return e.execRequest(v.default.DEL,t,n,r,o,i,null,a,s)}},{key:"execRequest",value:function(t,n,r,o,i,a,s,u){var c=arguments.length>8&&void 0!==arguments[8]?arguments[8]:v.default.TIMEOUT;return e.doRequest(e.makeUrl(""+n+e.queryStringFrom(a),r),function(e){var n=void 0;switch(t){case v.default.GET:n=d.default.get(e);break;case v.default.POST:n=d.default.post(e).send(s);break;case v.default.PUT:n=d.default.put(e).send(s);break;case v.default.DEL:n=d.default.del(e)}return n.set("Accept","application/json"),n.timeout(c),f.default.isNil(o)||n.set("Authorization","Bearer "+o),f.default.isNil(i)||n.set("X-CSRF-Token",i),f.default.isNil(u)||f.default.each(u,function(e,t){n.set(t,e)}),n},t)}},{key:"makeUrl",value:function(e,t){if(e.indexOf("http")>=0)return e;var n="/"===f.default.last(t.split(""))?"":"/",r=e;return"/"===e[0]&&(r=e.slice(1)),t+n+r}},{key:"doRequest",value:function(t,n,r){var o=e.wrapRequest(t,n,r);return o.promise?o.promise:(o.promise=e.promisify(o.request,t),o.promise.then(function(){e.disposeRequest(t)},function(){e.disposeRequest(t)}),o.promise)}},{key:"wrapRequest",value:function(e,t,n){return n===v.default.GET?(y[e]||(y[e]={request:t(e)}),y[e]):{request:t(e)}}},{key:"disposeRequest",value:function(e){delete y[e]}},{key:"promisify",value:function(e){return new i.default(function(t,n){e.end(function(e,r){e?n(e):t(r)})})}},{key:"queryStringFrom",value:function(e){var t=f.default.chain(e).map(function(e,t){return e?f.default.isArray(e)?f.default.map(e,function(e){return t+"[]="+e}).join("&"):t+"="+e:""}).compact().value();return t.length>0?"?"+t.join("&"):""}}]),e}();t.default=g},function(e,t,n){e.exports={default:n(593),__esModule:!0}},function(e,t,n){e.exports={default:n(595),__esModule:!0}},function(e,t,n){e.exports={default:n(598),__esModule:!0}},function(e,t,n){e.exports={default:n(604),__esModule:!0}},function(e,t,n){e.exports=n(547)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(321),i=r(o);t.default=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return(0,i.default)(e)}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e.default:e}t.__esModule=!0;var o=n(583);t.threezerotwofour=r(o);var i=n(550);t.apathy=r(i);var a=n(551);t.ashes=r(a);var s=n(552);t.atelierDune=r(s);var u=n(553);t.atelierForest=r(u);var c=n(554);t.atelierHeath=r(c);var l=n(555);t.atelierLakeside=r(l);var f=n(556);t.atelierSeaside=r(f);var p=n(557);t.bespin=r(p);var d=n(558);t.brewer=r(d);var h=n(559);t.bright=r(h);var v=n(560);t.chalk=r(v);var y=n(561);t.codeschool=r(y);var g=n(562);t.colors=r(g);var m=n(563);t.default=r(m);var _=n(564);t.eighties=r(_);var b=n(565);t.embers=r(b);var w=n(566);t.flat=r(w);var E=n(567);t.google=r(E);var T=n(568);t.grayscale=r(T);var C=n(569);t.greenscreen=r(C);var S=n(570);t.harmonic=r(S);var x=n(571);t.hopscotch=r(x);var O=n(572);t.isotope=r(O);var k=n(573);t.marrakesh=r(k);var P=n(574);t.mocha=r(P);var M=n(575);t.monokai=r(M);var A=n(576);t.ocean=r(A);var I=n(577);t.paraiso=r(I);var j=n(578);t.pop=r(j);var D=n(579);t.railscasts=r(D);var R=n(580);t.shapeshifter=r(R);var N=n(581);t.solarized=r(N);var L=n(582);t.summerfruit=r(L);var F=n(584);t.tomorrow=r(F);var U=n(585);t.tube=r(U);var B=n(586);t.twilight=r(B)},87,[1517,45],[1518,65,102,221],[1522,106,34],[1528,64],[1534,34],[1553,75,349],[1554,351,222],[1557,86,129,226],[1559,86,75,606,226],function(e,t,n){var r=n(84);e.exports=function(e,t,n){for(var o in t)n&&e[o]?e[o]=t[o]:r(e,o,t[o]);return e}},function(e,t,n){e.exports=n(84)},[1577,85,609,343,221,45,137],function(e,t,n){var r=n(49);e.exports=function(e,t){if("number"!=typeof e&&"Number"!=r(e))throw TypeError(t);return+e}},function(e,t,n){"use strict";var r=n(31),o=n(94),i=n(30);e.exports=[].copyWithin||function(e,t){var n=r(this),a=i(n.length),s=o(e,a),u=o(t,a),c=arguments.length>2?arguments[2]:void 0,l=Math.min((void 0===c?a:o(c,a))-u,a-s),f=1;for(u<s&&s<u+l&&(f=-1,u+=l-1,s+=l-1);l-- >0;)u in n?n[s]=n[u]:delete n[s],s+=f,u+=f;return n}},[1492,109],function(e,t,n){var r=n(38),o=n(31),i=n(141),a=n(30);e.exports=function(e,t,n,s,u){r(t);var c=o(e),l=i(c),f=a(c.length),p=u?f-1:0,d=u?-1:1;if(n<2)for(;;){if(p in l){s=l[p],p+=d;break}if(p+=d,u?p<0:f<=p)throw TypeError("Reduce of empty array with no initial value")}for(;u?p>=0:f>p;p+=d)p in l&&(s=t(s,l[p],p,c));return s}},function(e,t,n){"use strict";var r=n(38),o=n(18),i=n(169),a=[].slice,s={},u=function(e,t,n){if(!(t in s)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";s[t]=Function("F,a","return new F("+r.join(",")+")")}return s[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=a.call(arguments,1),s=function(){var r=n.concat(a.call(arguments));return this instanceof s?u(t,r.length,r):i(t,r,e)};return o(t.prototype)&&(s.prototype=t.prototype),s}},[1500,25,89,92,68,87,50,109,243,366,93,24,76],[1501,140,357],function(e,t,n){"use strict";var r=n(92),o=n(76).getWeak,i=n(12),a=n(18),s=n(87),u=n(109),c=n(58),l=n(35),f=c(5),p=c(6),d=0,h=function(e){return e._l||(e._l=new v)},v=function(){this.a=[]},y=function(e,t){return f(e.a,function(e){return e[0]===t})};v.prototype={get:function(e){var t=y(this,e);if(t)return t[1]},has:function(e){return!!y(this,e)},set:function(e,t){var n=y(this,e);n?n[1]=t:this.a.push([e,t])},delete:function(e){var t=p(this.a,function(t){return t[0]===e});return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,i){var c=e(function(e,r){s(e,c,t,"_i"),e._i=d++,e._l=void 0,void 0!=r&&u(r,n,e[i],e)});return r(c.prototype,{delete:function(e){if(!a(e))return!1;var t=o(e);return t===!0?h(this).delete(e):t&&l(t,this._i)&&delete t[this._i]},has:function(e){if(!a(e))return!1;var t=o(e);return t===!0?h(this).has(e):t&&l(t,this._i)}}),c},def:function(e,t,n){var r=o(i(t),!0);return r===!0?h(e).set(t,n):r[e._i]=n,e},ufstore:h}},[1518,24,15,235],[1527,18],[1528,12],function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t){e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},[1543,91,173,142,31,141,15],[1549,25,12,91,24],[1553,42,90],[1559,35,42,165,248],function(e,t,n){var r=n(91),o=n(42),i=n(142).f;e.exports=function(e){return function(t){for(var n,a=o(t),s=r(a),u=s.length,c=0,l=[];u>c;)i.call(a,n=s[c++])&&l.push(e?[n,a[n]]:a[n]);return l}}},function(e,t,n){var r=n(90),o=n(173),i=n(12),a=n(13).Reflect;e.exports=a&&a.ownKeys||function(e){var t=r.f(i(e)),n=o.f;return n?t.concat(n(e)):t}},function(e,t,n){var r=n(13).parseFloat,o=n(112).trim;e.exports=1/r(n(253)+"-0")!==-(1/0)?function(e){var t=o(String(e),3),n=r(t);return 0===n&&"-"==t.charAt(0)?-0:n}:r},function(e,t,n){var r=n(13).parseInt,o=n(112).trim,i=n(253),a=/^[\-+]?0[xX]/;e.exports=8!==r(i+"08")||22!==r(i+"0x16")?function(e,t){var n=o(String(e),3);return r(n,t>>>0||(a.test(n)?16:10))}:r},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},function(e,t,n){var r=n(30),o=n(252),i=n(50);e.exports=function(e,t,n,a){var s=String(i(e)),u=s.length,c=void 0===n?" ":String(n),l=r(t);if(l<=u||""==c)return s;var f=l-u,p=o.call(c,Math.ceil(f/c.length));return p.length>f&&(p=p.slice(0,f)),a?p+s:s+p}},[1590,20],function(e,t,n){"use strict";var r=n(360);e.exports=n(166)("Map",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{get:function(e){var t=r.getEntry(this,e);return t&&t.v},set:function(e,t){return r.def(this,0===e?0:e,t)}},r,!0)},function(e,t,n){n(24)&&"g"!=/./g.flags&&n(25).f(RegExp.prototype,"flags",{configurable:!0,get:n(168)})},[1622,360,166],function(e,t,n){"use strict";var r,o=n(58)(0),i=n(40),a=n(76),s=n(368),u=n(362),c=n(18),l=a.getWeak,f=Object.isExtensible,p=u.ufstore,d={},h=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},v={get:function(e){if(c(e)){var t=l(e);return t===!0?p(this).get(e):t?t[this._i]:void 0}},set:function(e,t){return u.def(this,e,t)}},y=e.exports=n(166)("WeakMap",h,v,u,!0,!0);7!=(new y).set((Object.freeze||Object)(d),7).get(d)&&(r=u.getConstructor(h),s(r.prototype,v),a.NEED=!0,o(["delete","has","get","set"],function(e){var t=y.prototype,n=t[e];i(t,e,function(t,o){if(c(t)&&!f(t)){this._f||(this._f=new r);var i=this._f[e](t,o);return"set"==e?this:i}return n.call(this,t,o)})}))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:p,arguments[1]),t=arguments[2];switch(e.type){case l.HOVER:break;case f.ADD_SOURCE:case f.ADD_TARGET:case f.REMOVE_TARGET:case f.REMOVE_SOURCE:return p;case l.BEGIN_DRAG:case l.PUBLISH_DRAG_SOURCE:case l.END_DRAG:case l.DROP:default:return d}var n=e.targetIds,r=t.targetIds,o=(0,s.default)(n,r),i=!1;if(0===o.length){for(var a=0;a<n.length;a++)if(n[a]!==r[a]){i=!0;break}}else i=!0;if(!i)return p;var u=r[r.length-1],c=n[n.length-1];return u!==c&&(u&&o.push(u),c&&o.push(c)),o}function i(e,t){return e!==p&&(e===d||"undefined"==typeof t||(0,c.default)(t,e).length>0)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o,t.areDirty=i;var a=n(960),s=r(a),u=n(953),c=r(u),l=n(176),f=n(177),p=[],d=[]},function(e,t,n){"use strict";function r(e,t){return e===t||e&&t&&e.x===t.x&&e.y===t.y}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments[1];switch(t.type){case u.BEGIN_DRAG:return{initialSourceClientOffset:t.sourceClientOffset,initialClientOffset:t.clientOffset,clientOffset:t.clientOffset};case u.HOVER:return r(e.clientOffset,t.clientOffset)?e:s({},e,{clientOffset:t.clientOffset});case u.END_DRAG:case u.DROP:return c;default:return e}}function i(e){var t=e.clientOffset,n=e.initialClientOffset,r=e.initialSourceClientOffset;return t&&n&&r?{x:t.x+r.x-n.x,y:t.y+r.y-n.y}:null}function a(e){var t=e.clientOffset,n=e.initialClientOffset;return t&&n?{x:t.x-n.x,y:t.y-n.y}:null}Object.defineProperty(t,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=o,t.getSourceClientOffset=i,t.getDifferenceFromInitialOffset=a;var u=n(176),c={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return(0,a.default)(e)?e.some(function(e){return e===t}):e===t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(37),a=r(i)},function(e,t,n){"use strict";var r=n(52),o={listen:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!1),{remove:function(){e.removeEventListener(t,n,!1)}}):e.attachEvent?(e.attachEvent("on"+t,n),{remove:function(){e.detachEvent("on"+t,n)}}):void 0},capture:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!0),{remove:function(){e.removeEventListener(t,n,!0)}}):{remove:r}},registerDefault:function(){}};e.exports=o},function(e,t){"use strict";function n(e){try{e.focus()}catch(e){}}e.exports=n},function(e,t){"use strict";function n(e){if(e=e||("undefined"!=typeof document?document:void 0),"undefined"==typeof e)return null;try{return e.activeElement||e.body}catch(t){return e.body}}e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.readState=t.saveState=void 0;var o=n(83),i=(r(o),{QuotaExceededError:!0,QUOTA_EXCEEDED_ERR:!0}),a={SecurityError:!0},s="@@History/",u=function(e){return s+e};t.saveState=function(e,t){if(window.sessionStorage)try{null==t?window.sessionStorage.removeItem(u(e)):window.sessionStorage.setItem(u(e),JSON.stringify(t))}catch(e){if(a[e.name])return;if(i[e.name]&&0===window.sessionStorage.length)return;throw e}},t.readState=function(e){var t=void 0;try{t=window.sessionStorage.getItem(u(e))}catch(e){if(a[e.name])return}if(t)try{return JSON.parse(t)}catch(e){}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(264),a=r(i),s=n(79),u=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e(t),r=t.basename,i=function(e){return e?(r&&null==e.basename&&(0===e.pathname.toLowerCase().indexOf(r.toLowerCase())?(e.pathname=e.pathname.substring(r.length),e.basename=r,""===e.pathname&&(e.pathname="/")):e.basename=""),e):e},u=function(e){if(!r)return e;var t="string"==typeof e?(0,s.parsePath)(e):e,n=t.pathname,i="/"===r.slice(-1)?r:r+"/",a="/"===n.charAt(0)?n.slice(1):n,u=i+a;return o({},t,{pathname:u})},c=function(){return i(n.getCurrentLocation())},l=function(e){return n.listenBefore(function(t,n){return(0,a.default)(e,i(t),n)})},f=function(e){return n.listen(function(t){return e(i(t))})},p=function(e){return n.push(u(e))},d=function(e){return n.replace(u(e))},h=function(e){return n.createPath(u(e))},v=function(e){return n.createHref(u(e))},y=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];return i(n.createLocation.apply(n,[u(e)].concat(r)))};return o({},n,{getCurrentLocation:c,listenBefore:l,listen:f,push:p,replace:d,createPath:h,createHref:v,createLocation:y})}};t.default=u},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(970),a=n(264),s=r(a),u=n(113),c=n(79),l=function(e){return(0,i.stringify)(e).replace(/%20/g,"+")},f=i.parse,p=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e(t),r=t.stringifyQuery,i=t.parseQueryString;"function"!=typeof r&&(r=l),"function"!=typeof i&&(i=f);var a=function(e){return e?(null==e.query&&(e.query=i(e.search.substring(1))),e):e},p=function(e,t){if(null==t)return e;var n="string"==typeof e?(0,c.parsePath)(e):e,i=r(t),a=i?"?"+i:"";return o({},n,{search:a})},d=function(){return a(n.getCurrentLocation())},h=function(e){return n.listenBefore(function(t,n){return(0,s.default)(e,a(t),n)})},v=function(e){return n.listen(function(t){return e(a(t))})},y=function(e){return n.push(p(e,e.query))},g=function(e){return n.replace(p(e,e.query))},m=function(e){return n.createPath(p(e,e.query))},_=function(e){return n.createHref(p(e,e.query))},b=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];var i=n.createLocation.apply(n,[p(e,e.query)].concat(r));return e.query&&(i.query=(0,u.createQuery)(e.query)),a(i)};return o({},n,{getCurrentLocation:d,listenBefore:h,listen:v,push:y,replace:g,createPath:m,createHref:_,createLocation:b})}};t.default=p},function(e,t,n){!function(t,n){e.exports=n()}(this,function(){"use strict";function e(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function t(e){return i(e)?e:P(e)}function n(e){return a(e)?e:M(e)}function r(e){return s(e)?e:A(e)}function o(e){return i(e)&&!u(e)?e:I(e)}function i(e){return!(!e||!e[cn])}function a(e){return!(!e||!e[ln])}function s(e){return!(!e||!e[fn])}function u(e){return a(e)||s(e)}function c(e){return!(!e||!e[pn])}function l(e){return e.value=!1,e}function f(e){e&&(e.value=!0)}function p(){}function d(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),o=0;o<n;o++)r[o]=e[o+t];return r}function h(e){return void 0===e.size&&(e.size=e.__iterate(y)),e.size}function v(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?h(e)+t:t}function y(){return!0}function g(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function m(e,t){return b(e,t,0)}function _(e,t){return b(e,t,t)}function b(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}function w(e){this.next=e}function E(e,t,n,r){var o=0===e?t:1===e?n:[t,n];return r?r.value=o:r={value:o,done:!1},r}function T(){return{value:void 0,done:!0}}function C(e){return!!O(e)}function S(e){return e&&"function"==typeof e.next}function x(e){var t=O(e);return t&&t.call(e)}function O(e){var t=e&&(Tn&&e[Tn]||e[Cn]);if("function"==typeof t)return t}function k(e){return e&&"number"==typeof e.length}function P(e){return null===e||void 0===e?F():i(e)?e.toSeq():q(e)}function M(e){return null===e||void 0===e?F().toKeyedSeq():i(e)?a(e)?e.toSeq():e.fromEntrySeq():U(e)}function A(e){return null===e||void 0===e?F():i(e)?a(e)?e.entrySeq():e.toIndexedSeq():B(e)}function I(e){return(null===e||void 0===e?F():i(e)?a(e)?e.entrySeq():e:B(e)).toSetSeq()}function j(e){this._array=e,this.size=e.length}function D(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function R(e){this._iterable=e,this.size=e.length||e.size}function N(e){this._iterator=e,this._iteratorCache=[]}function L(e){return!(!e||!e[xn])}function F(){return On||(On=new j([]))}function U(e){var t=Array.isArray(e)?new j(e).fromEntrySeq():S(e)?new N(e).fromEntrySeq():C(e)?new R(e).fromEntrySeq():"object"==typeof e?new D(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function B(e){var t=z(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function q(e){var t=z(e)||"object"==typeof e&&new D(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function z(e){return k(e)?new j(e):S(e)?new N(e):C(e)?new R(e):void 0}function W(e,t,n,r){var o=e._cache;if(o){for(var i=o.length-1,a=0;a<=i;a++){var s=o[n?i-a:a];if(t(s[1],r?s[0]:a,e)===!1)return a+1}return a}return e.__iterateUncached(t,n)}function H(e,t,n,r){var o=e._cache;if(o){var i=o.length-1,a=0;return new w(function(){var e=o[n?i-a:a];return a++>i?T():E(t,r?e[0]:a-1,e[1])})}return e.__iteratorUncached(t,n)}function V(e,t){return t?G(t,e,"",{"":e}):K(e)}function G(e,t,n,r){return Array.isArray(t)?e.call(r,n,A(t).map(function(n,r){return G(e,n,r,t)})):$(t)?e.call(r,n,M(t).map(function(n,r){return G(e,n,r,t)})):t}function K(e){return Array.isArray(e)?A(e).map(K).toList():$(e)?M(e).map(K).toMap():e}function $(e){return e&&(e.constructor===Object||void 0===e.constructor)}function X(e,t){if(e===t||e!==e&&t!==t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if(e=e.valueOf(),t=t.valueOf(),e===t||e!==e&&t!==t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function Y(e,t){if(e===t)return!0;if(!i(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||a(e)!==a(t)||s(e)!==s(t)||c(e)!==c(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!u(e);if(c(e)){var r=e.entries();return t.every(function(e,t){var o=r.next().value;return o&&X(o[1],e)&&(n||X(o[0],t))})&&r.next().done}var o=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{o=!0;var l=e;e=t,t=l}var f=!0,p=t.__iterate(function(t,r){if(n?!e.has(t):o?!X(t,e.get(r,gn)):!X(e.get(r,gn),t))return f=!1,!1});return f&&e.size===p}function Q(e,t){if(!(this instanceof Q))return new Q(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(kn)return kn;kn=this}}function J(e,t){if(!e)throw new Error(t)}function Z(e,t,n){if(!(this instanceof Z))return new Z(e,t,n);if(J(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),t<e&&(n=-n),this._start=e,this._end=t,this._step=n,this.size=Math.max(0,Math.ceil((t-e)/n-1)+1),0===this.size){if(Pn)return Pn;Pn=this}}function ee(){throw TypeError("Abstract")}function te(){}function ne(){}function re(){}function oe(e){return e>>>1&1073741824|3221225471&e}function ie(e){if(e===!1||null===e||void 0===e)return 0;if("function"==typeof e.valueOf&&(e=e.valueOf(),e===!1||null===e||void 0===e))return 0;if(e===!0)return 1;var t=typeof e;if("number"===t){if(e!==e||e===1/0)return 0;var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)e/=4294967295,n^=e;return oe(n)}if("string"===t)return e.length>Ln?ae(e):se(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return ue(e);if("function"==typeof e.toString)return se(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function ae(e){var t=Bn[e];return void 0===t&&(t=se(e),Un===Fn&&(Un=0,Bn={}),Un++,Bn[e]=t),t}function se(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return oe(t)}function ue(e){var t;if(Dn&&(t=Mn.get(e),void 0!==t))return t;if(t=e[Nn],void 0!==t)return t;if(!jn){if(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Nn],void 0!==t)return t;if(t=ce(e),void 0!==t)return t}if(t=++Rn,1073741824&Rn&&(Rn=0),Dn)Mn.set(e,t);else{if(void 0!==In&&In(e)===!1)throw new Error("Non-extensible objects are not allowed as keys.");if(jn)Object.defineProperty(e,Nn,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[Nn]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Nn]=t}}return t}function ce(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}function le(e){J(e!==1/0,"Cannot perform this action with an infinite size.")}function fe(e){return null===e||void 0===e?Ee():pe(e)&&!c(e)?e:Ee().withMutations(function(t){var r=n(e);le(r.size),r.forEach(function(e,n){return t.set(n,e)})})}function pe(e){return!(!e||!e[qn])}function de(e,t){this.ownerID=e,this.entries=t}function he(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function ve(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function ye(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function ge(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function me(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&be(e._root)}function _e(e,t){return E(e,t[0],t[1])}function be(e,t){return{node:e,index:0,__prev:t}}function we(e,t,n,r){var o=Object.create(zn);return o.size=e,o._root=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Ee(){return Wn||(Wn=we(0))}function Te(e,t,n){var r,o;if(e._root){var i=l(mn),a=l(_n);if(r=Ce(e._root,e.__ownerID,0,void 0,t,n,i,a),!a.value)return e;o=e.size+(i.value?n===gn?-1:1:0)}else{if(n===gn)return e;o=1,r=new de(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=o,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?we(o,r):Ee()}function Ce(e,t,n,r,o,i,a,s){return e?e.update(t,n,r,o,i,a,s):i===gn?e:(f(s),f(a),new ge(t,r,[o,i]))}function Se(e){return e.constructor===ge||e.constructor===ye}function xe(e,t,n,r,o){if(e.keyHash===r)return new ye(t,r,[e.entry,o]);var i,a=(0===n?e.keyHash:e.keyHash>>>n)&yn,s=(0===n?r:r>>>n)&yn,u=a===s?[xe(e,t,n+hn,r,o)]:(i=new ge(t,r,o),a<s?[e,i]:[i,e]);return new he(t,1<<a|1<<s,u)}function Oe(e,t,n,r){e||(e=new p);for(var o=new ge(e,ie(n),[n,r]),i=0;i<t.length;i++){var a=t[i];o=o.update(e,0,void 0,a[0],a[1])}return o}function ke(e,t,n,r){for(var o=0,i=0,a=new Array(n),s=0,u=1,c=t.length;s<c;s++,u<<=1){var l=t[s];void 0!==l&&s!==r&&(o|=u,a[i++]=l)}return new he(e,o,a)}function Pe(e,t,n,r,o){for(var i=0,a=new Array(vn),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[i++]:void 0;return a[r]=o,new ve(e,i+1,a)}function Me(e,t,r){for(var o=[],a=0;a<r.length;a++){var s=r[a],u=n(s);i(s)||(u=u.map(function(e){return V(e)})),o.push(u)}return je(e,t,o)}function Ae(e,t,n){return e&&e.mergeDeep&&i(t)?e.mergeDeep(t):X(e,t)?e:t}function Ie(e){return function(t,n,r){if(t&&t.mergeDeepWith&&i(n))return t.mergeDeepWith(e,n);var o=e(t,n,r);return X(t,o)?t:o}}function je(e,t,n){return n=n.filter(function(e){return 0!==e.size}),0===n.length?e:0!==e.size||e.__ownerID||1!==n.length?e.withMutations(function(e){for(var r=t?function(n,r){e.update(r,gn,function(e){return e===gn?n:t(e,n,r)})}:function(t,n){e.set(n,t)},o=0;o<n.length;o++)n[o].forEach(r)}):e.constructor(n[0])}function De(e,t,n,r){var o=e===gn,i=t.next();if(i.done){var a=o?n:e,s=r(a);return s===a?e:s}J(o||e&&e.set,"invalid keyPath");var u=i.value,c=o?gn:e.get(u,gn),l=De(c,t,n,r);return l===c?e:l===gn?e.remove(u):(o?Ee():e).set(u,l)}function Re(e){return e-=e>>1&1431655765,e=(858993459&e)+(e>>2&858993459),e=e+(e>>4)&252645135,e+=e>>8,e+=e>>16,127&e}function Ne(e,t,n,r){var o=r?e:d(e);return o[t]=n,o}function Le(e,t,n,r){var o=e.length+1;if(r&&t+1===o)return e[t]=n,e;for(var i=new Array(o),a=0,s=0;s<o;s++)s===t?(i[s]=n,a=-1):i[s]=e[s+a];return i}function Fe(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var o=new Array(r),i=0,a=0;a<r;a++)a===t&&(i=1),o[a]=e[a+i];return o}function Ue(e){var t=He();if(null===e||void 0===e)return t;if(Be(e))return e;var n=r(e),o=n.size;return 0===o?t:(le(o),o>0&&o<vn?We(0,o,hn,null,new qe(n.toArray())):t.withMutations(function(e){e.setSize(o),n.forEach(function(t,n){return e.set(n,t)})}))}function Be(e){return!(!e||!e[Kn])}function qe(e,t){this.array=e,this.ownerID=t}function ze(e,t){function n(e,t,n){return 0===t?r(e,n):o(e,t,n)}function r(e,n){var r=n===s?u&&u.array:e&&e.array,o=n>i?0:i-n,c=a-n;return c>vn&&(c=vn),function(){if(o===c)return Yn;var e=t?--c:o++;return r&&r[e]}}function o(e,r,o){var s,u=e&&e.array,c=o>i?0:i-o>>r,l=(a-o>>r)+1;return l>vn&&(l=vn),function(){for(;;){if(s){var e=s();if(e!==Yn)return e;s=null}if(c===l)return Yn;var i=t?--l:c++;s=n(u&&u[i],r-hn,o+(i<<r))}}}var i=e._origin,a=e._capacity,s=Qe(a),u=e._tail;return n(e._root,e._level,0)}function We(e,t,n,r,o,i,a){var s=Object.create($n);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=r,s._tail=o,s.__ownerID=i,s.__hash=a,s.__altered=!1,s}function He(){return Xn||(Xn=We(0,0,hn))}function Ve(e,t,n){if(t=v(e,t),t!==t)return e;if(t>=e.size||t<0)return e.withMutations(function(e){t<0?Xe(e,t).set(0,n):Xe(e,0,t+1).set(t,n)});t+=e._origin;var r=e._tail,o=e._root,i=l(_n);return t>=Qe(e._capacity)?r=Ge(r,e.__ownerID,0,t,n,i):o=Ge(o,e.__ownerID,e._level,t,n,i),i.value?e.__ownerID?(e._root=o,e._tail=r,e.__hash=void 0,e.__altered=!0,e):We(e._origin,e._capacity,e._level,o,r):e}function Ge(e,t,n,r,o,i){var a=r>>>n&yn,s=e&&a<e.array.length;if(!s&&void 0===o)return e;var u;if(n>0){var c=e&&e.array[a],l=Ge(c,t,n-hn,r,o,i);return l===c?e:(u=Ke(e,t),u.array[a]=l,u)}return s&&e.array[a]===o?e:(f(i),u=Ke(e,t),void 0===o&&a===u.array.length-1?u.array.pop():u.array[a]=o,u)}function Ke(e,t){return t&&e&&t===e.ownerID?e:new qe(e?e.array.slice():[],t)}function $e(e,t){if(t>=Qe(e._capacity))return e._tail;if(t<1<<e._level+hn){for(var n=e._root,r=e._level;n&&r>0;)n=n.array[t>>>r&yn],r-=hn;return n}}function Xe(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new p,o=e._origin,i=e._capacity,a=o+t,s=void 0===n?i:n<0?i+n:o+n;if(a===o&&s===i)return e;if(a>=s)return e.clear();for(var u=e._level,c=e._root,l=0;a+l<0;)c=new qe(c&&c.array.length?[void 0,c]:[],r),u+=hn,l+=1<<u;l&&(a+=l,o+=l,s+=l,i+=l);for(var f=Qe(i),d=Qe(s);d>=1<<u+hn;)c=new qe(c&&c.array.length?[c]:[],r),u+=hn;var h=e._tail,v=d<f?$e(e,s-1):d>f?new qe([],r):h;if(h&&d>f&&a<i&&h.array.length){c=Ke(c,r);for(var y=c,g=u;g>hn;g-=hn){var m=f>>>g&yn;y=y.array[m]=Ke(y.array[m],r)}y.array[f>>>hn&yn]=h}if(s<i&&(v=v&&v.removeAfter(r,0,s)),a>=d)a-=d,s-=d,u=hn,c=null,v=v&&v.removeBefore(r,0,a);else if(a>o||d<f){for(l=0;c;){var _=a>>>u&yn;if(_!==d>>>u&yn)break;_&&(l+=(1<<u)*_),u-=hn,c=c.array[_]}c&&a>o&&(c=c.removeBefore(r,u,a-l)),c&&d<f&&(c=c.removeAfter(r,u,d-l)),l&&(a-=l,s-=l)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=u,e._root=c,e._tail=v,e.__hash=void 0,e.__altered=!0,e):We(a,s,u,c,v)}function Ye(e,t,n){for(var o=[],a=0,s=0;s<n.length;s++){var u=n[s],c=r(u);c.size>a&&(a=c.size),i(u)||(c=c.map(function(e){return V(e)})),o.push(c)}return a>e.size&&(e=e.setSize(a)),je(e,t,o)}function Qe(e){return e<vn?0:e-1>>>hn<<hn}function Je(e){return null===e||void 0===e?tt():Ze(e)?e:tt().withMutations(function(t){var r=n(e);le(r.size),r.forEach(function(e,n){return t.set(n,e)})})}function Ze(e){return pe(e)&&c(e)}function et(e,t,n,r){var o=Object.create(Je.prototype);return o.size=e?e.size:0,o._map=e,o._list=t,o.__ownerID=n,o.__hash=r,o}function tt(){return Qn||(Qn=et(Ee(),He()))}function nt(e,t,n){var r,o,i=e._map,a=e._list,s=i.get(t),u=void 0!==s;if(n===gn){if(!u)return e;a.size>=vn&&a.size>=2*i.size?(o=a.filter(function(e,t){return void 0!==e&&s!==t}),r=o.toKeyedSeq().map(function(e){return e[0]}).flip().toMap(),e.__ownerID&&(r.__ownerID=o.__ownerID=e.__ownerID)):(r=i.remove(t),o=s===a.size-1?a.pop():a.set(s,void 0))}else if(u){if(n===a.get(s)[1])return e;r=i,o=a.set(s,[t,n])}else r=i.set(t,a.size),o=a.set(a.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=o,e.__hash=void 0,e):et(r,o)}function rt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function ot(e){this._iter=e,this.size=e.size}function it(e){this._iter=e,this.size=e.size}function at(e){this._iter=e,this.size=e.size}function st(e){var t=kt(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=Pt,t.__iterateUncached=function(t,n){var r=this;return e.__iterate(function(e,n){return t(n,e,r)!==!1},n)},t.__iteratorUncached=function(t,n){if(t===En){var r=e.__iterator(t,n);return new w(function(){var e=r.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e})}return e.__iterator(t===wn?bn:wn,n)},t}function ut(e,t,n){var r=kt(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,o){var i=e.get(r,gn);return i===gn?o:t.call(n,i,r,e);
-},r.__iterateUncached=function(r,o){var i=this;return e.__iterate(function(e,o,a){return r(t.call(n,e,o,a),o,i)!==!1},o)},r.__iteratorUncached=function(r,o){var i=e.__iterator(En,o);return new w(function(){var o=i.next();if(o.done)return o;var a=o.value,s=a[0];return E(r,s,t.call(n,a[1],s,e),o)})},r}function ct(e,t){var n=kt(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=st(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,r){return e.get(t?n:-1-n,r)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=Pt,n.__iterate=function(t,n){var r=this;return e.__iterate(function(e,n){return t(e,n,r)},!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function lt(e,t,n,r){var o=kt(e);return r&&(o.has=function(r){var o=e.get(r,gn);return o!==gn&&!!t.call(n,o,r,e)},o.get=function(r,o){var i=e.get(r,gn);return i!==gn&&t.call(n,i,r,e)?i:o}),o.__iterateUncached=function(o,i){var a=this,s=0;return e.__iterate(function(e,i,u){if(t.call(n,e,i,u))return s++,o(e,r?i:s-1,a)},i),s},o.__iteratorUncached=function(o,i){var a=e.__iterator(En,i),s=0;return new w(function(){for(;;){var i=a.next();if(i.done)return i;var u=i.value,c=u[0],l=u[1];if(t.call(n,l,c,e))return E(o,r?c:s++,l,i)}})},o}function ft(e,t,n){var r=fe().asMutable();return e.__iterate(function(o,i){r.update(t.call(n,o,i,e),0,function(e){return e+1})}),r.asImmutable()}function pt(e,t,n){var r=a(e),o=(c(e)?Je():fe()).asMutable();e.__iterate(function(i,a){o.update(t.call(n,i,a,e),function(e){return e=e||[],e.push(r?[a,i]:i),e})});var i=Ot(e);return o.map(function(t){return Ct(e,i(t))})}function dt(e,t,n,r){var o=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n===1/0?n=o:n|=0),g(t,n,o))return e;var i=m(t,o),a=_(n,o);if(i!==i||a!==a)return dt(e.toSeq().cacheResult(),t,n,r);var s,u=a-i;u===u&&(s=u<0?0:u);var c=kt(e);return c.size=0===s?s:e.size&&s||void 0,!r&&L(e)&&s>=0&&(c.get=function(t,n){return t=v(this,t),t>=0&&t<s?e.get(t+i,n):n}),c.__iterateUncached=function(t,n){var o=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,u=!0,c=0;return e.__iterate(function(e,n){if(!u||!(u=a++<i))return c++,t(e,r?n:c-1,o)!==!1&&c!==s}),c},c.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var o=0!==s&&e.__iterator(t,n),a=0,u=0;return new w(function(){for(;a++<i;)o.next();if(++u>s)return T();var e=o.next();return r||t===wn?e:t===bn?E(t,u-1,void 0,e):E(t,u-1,e.value[1],e)})},c}function ht(e,t,n){var r=kt(e);return r.__iterateUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterate(r,o);var a=0;return e.__iterate(function(e,o,s){return t.call(n,e,o,s)&&++a&&r(e,o,i)}),a},r.__iteratorUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterator(r,o);var a=e.__iterator(En,o),s=!0;return new w(function(){if(!s)return T();var e=a.next();if(e.done)return e;var o=e.value,u=o[0],c=o[1];return t.call(n,c,u,i)?r===En?e:E(r,u,c,e):(s=!1,T())})},r}function vt(e,t,n,r){var o=kt(e);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var s=!0,u=0;return e.__iterate(function(e,i,c){if(!s||!(s=t.call(n,e,i,c)))return u++,o(e,r?i:u-1,a)}),u},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var s=e.__iterator(En,i),u=!0,c=0;return new w(function(){var e,i,l;do{if(e=s.next(),e.done)return r||o===wn?e:o===bn?E(o,c++,void 0,e):E(o,c++,e.value[1],e);var f=e.value;i=f[0],l=f[1],u&&(u=t.call(n,l,i,a))}while(u);return o===En?e:E(o,i,l,e)})},o}function yt(e,t){var r=a(e),o=[e].concat(t).map(function(e){return i(e)?r&&(e=n(e)):e=r?U(e):B(Array.isArray(e)?e:[e]),e}).filter(function(e){return 0!==e.size});if(0===o.length)return e;if(1===o.length){var u=o[0];if(u===e||r&&a(u)||s(e)&&s(u))return u}var c=new j(o);return r?c=c.toKeyedSeq():s(e)||(c=c.toSetSeq()),c=c.flatten(!0),c.size=o.reduce(function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}},0),c}function gt(e,t,n){var r=kt(e);return r.__iterateUncached=function(r,o){function a(e,c){var l=this;e.__iterate(function(e,o){return(!t||c<t)&&i(e)?a(e,c+1):r(e,n?o:s++,l)===!1&&(u=!0),!u},o)}var s=0,u=!1;return a(e,0),s},r.__iteratorUncached=function(r,o){var a=e.__iterator(r,o),s=[],u=0;return new w(function(){for(;a;){var e=a.next();if(e.done===!1){var c=e.value;if(r===En&&(c=c[1]),t&&!(s.length<t)||!i(c))return n?e:E(r,u++,c,e);s.push(a),a=c.__iterator(r,o)}else a=s.pop()}return T()})},r}function mt(e,t,n){var r=Ot(e);return e.toSeq().map(function(o,i){return r(t.call(n,o,i,e))}).flatten(!0)}function _t(e,t){var n=kt(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,r){var o=this,i=0;return e.__iterate(function(e,r){return(!i||n(t,i++,o)!==!1)&&n(e,i++,o)!==!1},r),i},n.__iteratorUncached=function(n,r){var o,i=e.__iterator(wn,r),a=0;return new w(function(){return(!o||a%2)&&(o=i.next(),o.done)?o:a%2?E(n,a++,t):E(n,a++,o.value,o)})},n}function bt(e,t,n){t||(t=Mt);var r=a(e),o=0,i=e.toSeq().map(function(t,r){return[r,t,o++,n?n(t,r,e):t]}).toArray();return i.sort(function(e,n){return t(e[3],n[3])||e[2]-n[2]}).forEach(r?function(e,t){i[t].length=2}:function(e,t){i[t]=e[1]}),r?M(i):s(e)?A(i):I(i)}function wt(e,t,n){if(t||(t=Mt),n){var r=e.toSeq().map(function(t,r){return[t,n(t,r,e)]}).reduce(function(e,n){return Et(t,e[1],n[1])?n:e});return r&&r[0]}return e.reduce(function(e,n){return Et(t,e,n)?n:e})}function Et(e,t,n){var r=e(n,t);return 0===r&&n!==t&&(void 0===n||null===n||n!==n)||r>0}function Tt(e,n,r){var o=kt(e);return o.size=new j(r).map(function(e){return e.size}).min(),o.__iterate=function(e,t){for(var n,r=this.__iterator(wn,t),o=0;!(n=r.next()).done&&e(n.value,o++,this)!==!1;);return o},o.__iteratorUncached=function(e,o){var i=r.map(function(e){return e=t(e),x(o?e.reverse():e)}),a=0,s=!1;return new w(function(){var t;return s||(t=i.map(function(e){return e.next()}),s=t.some(function(e){return e.done})),s?T():E(e,a++,n.apply(null,t.map(function(e){return e.value})))})},o}function Ct(e,t){return L(e)?t:e.constructor(t)}function St(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function xt(e){return le(e.size),h(e)}function Ot(e){return a(e)?n:s(e)?r:o}function kt(e){return Object.create((a(e)?M:s(e)?A:I).prototype)}function Pt(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):P.prototype.cacheResult.call(this)}function Mt(e,t){return e>t?1:e<t?-1:0}function At(e){var n=x(e);if(!n){if(!k(e))throw new TypeError("Expected iterable or array-like: "+e);n=x(t(e))}return n}function It(e,t){var n,r=function(i){if(i instanceof r)return i;if(!(this instanceof r))return new r(i);if(!n){n=!0;var a=Object.keys(e);Rt(o,a),o.size=a.length,o._name=t,o._keys=a,o._defaultValues=e}this._map=fe(i)},o=r.prototype=Object.create(Jn);return o.constructor=r,r}function jt(e,t,n){var r=Object.create(Object.getPrototypeOf(e));return r._map=t,r.__ownerID=n,r}function Dt(e){return e._name||e.constructor.name||"Record"}function Rt(e,t){try{t.forEach(Nt.bind(void 0,e))}catch(e){}}function Nt(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){J(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function Lt(e){return null===e||void 0===e?qt():Ft(e)&&!c(e)?e:qt().withMutations(function(t){var n=o(e);le(n.size),n.forEach(function(e){return t.add(e)})})}function Ft(e){return!(!e||!e[Zn])}function Ut(e,t){return e.__ownerID?(e.size=t.size,e._map=t,e):t===e._map?e:0===t.size?e.__empty():e.__make(t)}function Bt(e,t){var n=Object.create(er);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function qt(){return tr||(tr=Bt(Ee()))}function zt(e){return null===e||void 0===e?Vt():Wt(e)?e:Vt().withMutations(function(t){var n=o(e);le(n.size),n.forEach(function(e){return t.add(e)})})}function Wt(e){return Ft(e)&&c(e)}function Ht(e,t){var n=Object.create(nr);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Vt(){return rr||(rr=Ht(tt()))}function Gt(e){return null===e||void 0===e?Xt():Kt(e)?e:Xt().unshiftAll(e)}function Kt(e){return!(!e||!e[or])}function $t(e,t,n,r){var o=Object.create(ir);return o.size=e,o._head=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Xt(){return ar||(ar=$t(0))}function Yt(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}function Qt(e,t){return t}function Jt(e,t){return[t,e]}function Zt(e){return function(){return!e.apply(this,arguments)}}function en(e){return function(){return-e.apply(this,arguments)}}function tn(e){return"string"==typeof e?JSON.stringify(e):String(e)}function nn(){return d(arguments)}function rn(e,t){return e<t?1:e>t?-1:0}function on(e){if(e.size===1/0)return 0;var t=c(e),n=a(e),r=t?1:0,o=e.__iterate(n?t?function(e,t){r=31*r+sn(ie(e),ie(t))|0}:function(e,t){r=r+sn(ie(e),ie(t))|0}:t?function(e){r=31*r+ie(e)|0}:function(e){r=r+ie(e)|0});return an(o,r)}function an(e,t){return t=An(t,3432918353),t=An(t<<15|t>>>-15,461845907),t=An(t<<13|t>>>-13,5),t=(t+3864292196|0)^e,t=An(t^t>>>16,2246822507),t=An(t^t>>>13,3266489909),t=oe(t^t>>>16)}function sn(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}var un=Array.prototype.slice;e(n,t),e(r,t),e(o,t),t.isIterable=i,t.isKeyed=a,t.isIndexed=s,t.isAssociative=u,t.isOrdered=c,t.Keyed=n,t.Indexed=r,t.Set=o;var cn="@@__IMMUTABLE_ITERABLE__@@",ln="@@__IMMUTABLE_KEYED__@@",fn="@@__IMMUTABLE_INDEXED__@@",pn="@@__IMMUTABLE_ORDERED__@@",dn="delete",hn=5,vn=1<<hn,yn=vn-1,gn={},mn={value:!1},_n={value:!1},bn=0,wn=1,En=2,Tn="function"==typeof Symbol&&Symbol.iterator,Cn="@@iterator",Sn=Tn||Cn;w.prototype.toString=function(){return"[Iterator]"},w.KEYS=bn,w.VALUES=wn,w.ENTRIES=En,w.prototype.inspect=w.prototype.toSource=function(){return this.toString()},w.prototype[Sn]=function(){return this},e(P,t),P.of=function(){return P(arguments)},P.prototype.toSeq=function(){return this},P.prototype.toString=function(){return this.__toString("Seq {","}")},P.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},P.prototype.__iterate=function(e,t){return W(this,e,t,!0)},P.prototype.__iterator=function(e,t){return H(this,e,t,!0)},e(M,P),M.prototype.toKeyedSeq=function(){return this},e(A,P),A.of=function(){return A(arguments)},A.prototype.toIndexedSeq=function(){return this},A.prototype.toString=function(){return this.__toString("Seq [","]")},A.prototype.__iterate=function(e,t){return W(this,e,t,!1)},A.prototype.__iterator=function(e,t){return H(this,e,t,!1)},e(I,P),I.of=function(){return I(arguments)},I.prototype.toSetSeq=function(){return this},P.isSeq=L,P.Keyed=M,P.Set=I,P.Indexed=A;var xn="@@__IMMUTABLE_SEQ__@@";P.prototype[xn]=!0,e(j,A),j.prototype.get=function(e,t){return this.has(e)?this._array[v(this,e)]:t},j.prototype.__iterate=function(e,t){for(var n=this._array,r=n.length-1,o=0;o<=r;o++)if(e(n[t?r-o:o],o,this)===!1)return o+1;return o},j.prototype.__iterator=function(e,t){var n=this._array,r=n.length-1,o=0;return new w(function(){return o>r?T():E(e,o,n[t?r-o++:o++])})},e(D,M),D.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},D.prototype.has=function(e){return this._object.hasOwnProperty(e)},D.prototype.__iterate=function(e,t){for(var n=this._object,r=this._keys,o=r.length-1,i=0;i<=o;i++){var a=r[t?o-i:i];if(e(n[a],a,this)===!1)return i+1}return i},D.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,o=r.length-1,i=0;return new w(function(){var a=r[t?o-i:i];return i++>o?T():E(e,a,n[a])})},D.prototype[pn]=!0,e(R,A),R.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=this._iterable,r=x(n),o=0;if(S(r))for(var i;!(i=r.next()).done&&e(i.value,o++,this)!==!1;);return o},R.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterable,r=x(n);if(!S(r))return new w(T);var o=0;return new w(function(){var t=r.next();return t.done?t:E(e,o++,t.value)})},e(N,A),N.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n=this._iterator,r=this._iteratorCache,o=0;o<r.length;)if(e(r[o],o++,this)===!1)return o;for(var i;!(i=n.next()).done;){var a=i.value;if(r[o]=a,e(a,o++,this)===!1)break}return o},N.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,r=this._iteratorCache,o=0;return new w(function(){if(o>=r.length){var t=n.next();if(t.done)return t;r[o]=t.value}return E(e,o,r[o++])})};var On;e(Q,A),Q.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},Q.prototype.get=function(e,t){return this.has(e)?this._value:t},Q.prototype.includes=function(e){return X(this._value,e)},Q.prototype.slice=function(e,t){var n=this.size;return g(e,t,n)?this:new Q(this._value,_(t,n)-m(e,n))},Q.prototype.reverse=function(){return this},Q.prototype.indexOf=function(e){return X(this._value,e)?0:-1},Q.prototype.lastIndexOf=function(e){return X(this._value,e)?this.size:-1},Q.prototype.__iterate=function(e,t){for(var n=0;n<this.size;n++)if(e(this._value,n,this)===!1)return n+1;return n},Q.prototype.__iterator=function(e,t){var n=this,r=0;return new w(function(){return r<n.size?E(e,r++,n._value):T()})},Q.prototype.equals=function(e){return e instanceof Q?X(this._value,e._value):Y(e)};var kn;e(Z,A),Z.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},Z.prototype.get=function(e,t){return this.has(e)?this._start+v(this,e)*this._step:t},Z.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},Z.prototype.slice=function(e,t){return g(e,t,this.size)?this:(e=m(e,this.size),t=_(t,this.size),t<=e?new Z(0,0):new Z(this.get(e,this._end),this.get(t,this._end),this._step))},Z.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step===0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},Z.prototype.lastIndexOf=function(e){return this.indexOf(e)},Z.prototype.__iterate=function(e,t){for(var n=this.size-1,r=this._step,o=t?this._start+n*r:this._start,i=0;i<=n;i++){if(e(o,i,this)===!1)return i+1;o+=t?-r:r}return i},Z.prototype.__iterator=function(e,t){var n=this.size-1,r=this._step,o=t?this._start+n*r:this._start,i=0;return new w(function(){var a=o;return o+=t?-r:r,i>n?T():E(e,i++,a)})},Z.prototype.equals=function(e){return e instanceof Z?this._start===e._start&&this._end===e._end&&this._step===e._step:Y(this,e)};var Pn;e(ee,t),e(te,ee),e(ne,ee),e(re,ee),ee.Keyed=te,ee.Indexed=ne,ee.Set=re;var Mn,An="function"==typeof Math.imul&&Math.imul(4294967295,2)===-2?Math.imul:function(e,t){e|=0,t|=0;var n=65535&e,r=65535&t;return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0},In=Object.isExtensible,jn=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}(),Dn="function"==typeof WeakMap;Dn&&(Mn=new WeakMap);var Rn=0,Nn="__immutablehash__";"function"==typeof Symbol&&(Nn=Symbol(Nn));var Ln=16,Fn=255,Un=0,Bn={};e(fe,te),fe.of=function(){var e=un.call(arguments,0);return Ee().withMutations(function(t){for(var n=0;n<e.length;n+=2){if(n+1>=e.length)throw new Error("Missing value for key: "+e[n]);t.set(e[n],e[n+1])}})},fe.prototype.toString=function(){return this.__toString("Map {","}")},fe.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},fe.prototype.set=function(e,t){return Te(this,e,t)},fe.prototype.setIn=function(e,t){return this.updateIn(e,gn,function(){return t})},fe.prototype.remove=function(e){return Te(this,e,gn)},fe.prototype.deleteIn=function(e){return this.updateIn(e,function(){return gn})},fe.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},fe.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=De(this,At(e),t,n);return r===gn?void 0:r},fe.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Ee()},fe.prototype.merge=function(){return Me(this,void 0,arguments)},fe.prototype.mergeWith=function(e){var t=un.call(arguments,1);return Me(this,e,t)},fe.prototype.mergeIn=function(e){var t=un.call(arguments,1);return this.updateIn(e,Ee(),function(e){return"function"==typeof e.merge?e.merge.apply(e,t):t[t.length-1]})},fe.prototype.mergeDeep=function(){return Me(this,Ae,arguments)},fe.prototype.mergeDeepWith=function(e){var t=un.call(arguments,1);return Me(this,Ie(e),t)},fe.prototype.mergeDeepIn=function(e){var t=un.call(arguments,1);return this.updateIn(e,Ee(),function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,t):t[t.length-1]})},fe.prototype.sort=function(e){return Je(bt(this,e))},fe.prototype.sortBy=function(e,t){return Je(bt(this,t,e))},fe.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},fe.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new p)},fe.prototype.asImmutable=function(){return this.__ensureOwner()},fe.prototype.wasAltered=function(){return this.__altered},fe.prototype.__iterator=function(e,t){return new me(this,e,t)},fe.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate(function(t){return r++,e(t[1],t[0],n)},t),r},fe.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?we(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},fe.isMap=pe;var qn="@@__IMMUTABLE_MAP__@@",zn=fe.prototype;zn[qn]=!0,zn[dn]=zn.remove,zn.removeIn=zn.deleteIn,de.prototype.get=function(e,t,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(X(n,o[i][0]))return o[i][1];return r},de.prototype.update=function(e,t,n,r,o,i,a){for(var s=o===gn,u=this.entries,c=0,l=u.length;c<l&&!X(r,u[c][0]);c++);var p=c<l;if(p?u[c][1]===o:s)return this;if(f(a),(s||!p)&&f(i),!s||1!==u.length){if(!p&&!s&&u.length>=Hn)return Oe(e,u,r,o);var h=e&&e===this.ownerID,v=h?u:d(u);return p?s?c===l-1?v.pop():v[c]=v.pop():v[c]=[r,o]:v.push([r,o]),h?(this.entries=v,this):new de(e,v)}},he.prototype.get=function(e,t,n,r){void 0===t&&(t=ie(n));var o=1<<((0===e?t:t>>>e)&yn),i=this.bitmap;return 0===(i&o)?r:this.nodes[Re(i&o-1)].get(e+hn,t,n,r)},he.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=ie(r));var s=(0===t?n:n>>>t)&yn,u=1<<s,c=this.bitmap,l=0!==(c&u);if(!l&&o===gn)return this;var f=Re(c&u-1),p=this.nodes,d=l?p[f]:void 0,h=Ce(d,e,t+hn,n,r,o,i,a);if(h===d)return this;if(!l&&h&&p.length>=Vn)return Pe(e,p,c,s,h);if(l&&!h&&2===p.length&&Se(p[1^f]))return p[1^f];if(l&&h&&1===p.length&&Se(h))return h;var v=e&&e===this.ownerID,y=l?h?c:c^u:c|u,g=l?h?Ne(p,f,h,v):Fe(p,f,v):Le(p,f,h,v);return v?(this.bitmap=y,this.nodes=g,this):new he(e,y,g)},ve.prototype.get=function(e,t,n,r){void 0===t&&(t=ie(n));var o=(0===e?t:t>>>e)&yn,i=this.nodes[o];return i?i.get(e+hn,t,n,r):r},ve.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=ie(r));var s=(0===t?n:n>>>t)&yn,u=o===gn,c=this.nodes,l=c[s];if(u&&!l)return this;var f=Ce(l,e,t+hn,n,r,o,i,a);if(f===l)return this;var p=this.count;if(l){if(!f&&(p--,p<Gn))return ke(e,c,p,s)}else p++;var d=e&&e===this.ownerID,h=Ne(c,s,f,d);return d?(this.count=p,this.nodes=h,this):new ve(e,p,h)},ye.prototype.get=function(e,t,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(X(n,o[i][0]))return o[i][1];return r},ye.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=ie(r));var s=o===gn;if(n!==this.keyHash)return s?this:(f(a),f(i),xe(this,e,t,n,[r,o]));for(var u=this.entries,c=0,l=u.length;c<l&&!X(r,u[c][0]);c++);var p=c<l;if(p?u[c][1]===o:s)return this;if(f(a),(s||!p)&&f(i),s&&2===l)return new ge(e,this.keyHash,u[1^c]);var h=e&&e===this.ownerID,v=h?u:d(u);return p?s?c===l-1?v.pop():v[c]=v.pop():v[c]=[r,o]:v.push([r,o]),h?(this.entries=v,this):new ye(e,this.keyHash,v)},ge.prototype.get=function(e,t,n,r){return X(n,this.entry[0])?this.entry[1]:r},ge.prototype.update=function(e,t,n,r,o,i,a){var s=o===gn,u=X(r,this.entry[0]);return(u?o===this.entry[1]:s)?this:(f(a),s?void f(i):u?e&&e===this.ownerID?(this.entry[1]=o,this):new ge(e,this.keyHash,[r,o]):(f(i),xe(this,e,t,ie(r),[r,o])))},de.prototype.iterate=ye.prototype.iterate=function(e,t){for(var n=this.entries,r=0,o=n.length-1;r<=o;r++)if(e(n[t?o-r:r])===!1)return!1},he.prototype.iterate=ve.prototype.iterate=function(e,t){for(var n=this.nodes,r=0,o=n.length-1;r<=o;r++){var i=n[t?o-r:r];if(i&&i.iterate(e,t)===!1)return!1}},ge.prototype.iterate=function(e,t){return e(this.entry)},e(me,w),me.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var n,r=t.node,o=t.index++;if(r.entry){if(0===o)return _e(e,r.entry)}else if(r.entries){if(n=r.entries.length-1,o<=n)return _e(e,r.entries[this._reverse?n-o:o])}else if(n=r.nodes.length-1,o<=n){var i=r.nodes[this._reverse?n-o:o];if(i){if(i.entry)return _e(e,i.entry);t=this._stack=be(i,t)}continue}t=this._stack=this._stack.__prev}return T()};var Wn,Hn=vn/4,Vn=vn/2,Gn=vn/4;e(Ue,ne),Ue.of=function(){return this(arguments)},Ue.prototype.toString=function(){return this.__toString("List [","]")},Ue.prototype.get=function(e,t){if(e=v(this,e),e>=0&&e<this.size){e+=this._origin;var n=$e(this,e);return n&&n.array[e&yn]}return t},Ue.prototype.set=function(e,t){return Ve(this,e,t)},Ue.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},Ue.prototype.insert=function(e,t){return this.splice(e,0,t)},Ue.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=hn,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):He()},Ue.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations(function(n){Xe(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])})},Ue.prototype.pop=function(){return Xe(this,0,-1)},Ue.prototype.unshift=function(){var e=arguments;return this.withMutations(function(t){Xe(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])})},Ue.prototype.shift=function(){return Xe(this,1)},Ue.prototype.merge=function(){return Ye(this,void 0,arguments)},Ue.prototype.mergeWith=function(e){var t=un.call(arguments,1);return Ye(this,e,t)},Ue.prototype.mergeDeep=function(){return Ye(this,Ae,arguments)},Ue.prototype.mergeDeepWith=function(e){var t=un.call(arguments,1);return Ye(this,Ie(e),t)},Ue.prototype.setSize=function(e){return Xe(this,0,e)},Ue.prototype.slice=function(e,t){var n=this.size;return g(e,t,n)?this:Xe(this,m(e,n),_(t,n))},Ue.prototype.__iterator=function(e,t){var n=0,r=ze(this,t);return new w(function(){var t=r();return t===Yn?T():E(e,n++,t)})},Ue.prototype.__iterate=function(e,t){for(var n,r=0,o=ze(this,t);(n=o())!==Yn&&e(n,r++,this)!==!1;);return r},Ue.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?We(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},Ue.isList=Be;var Kn="@@__IMMUTABLE_LIST__@@",$n=Ue.prototype;$n[Kn]=!0,$n[dn]=$n.remove,$n.setIn=zn.setIn,$n.deleteIn=$n.removeIn=zn.removeIn,$n.update=zn.update,$n.updateIn=zn.updateIn,$n.mergeIn=zn.mergeIn,$n.mergeDeepIn=zn.mergeDeepIn,$n.withMutations=zn.withMutations,$n.asMutable=zn.asMutable,$n.asImmutable=zn.asImmutable,$n.wasAltered=zn.wasAltered,qe.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var r=n>>>t&yn;if(r>=this.array.length)return new qe([],e);var o,i=0===r;if(t>0){var a=this.array[r];if(o=a&&a.removeBefore(e,t-hn,n),o===a&&i)return this}if(i&&!o)return this;var s=Ke(this,e);if(!i)for(var u=0;u<r;u++)s.array[u]=void 0;return o&&(s.array[r]=o),s},qe.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var r=n-1>>>t&yn;if(r>=this.array.length)return this;var o;if(t>0){var i=this.array[r];if(o=i&&i.removeAfter(e,t-hn,n),o===i&&r===this.array.length-1)return this}var a=Ke(this,e);return a.array.splice(r+1),o&&(a.array[r]=o),a};var Xn,Yn={};e(Je,fe),Je.of=function(){return this(arguments)},Je.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Je.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Je.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):tt()},Je.prototype.set=function(e,t){return nt(this,e,t)},Je.prototype.remove=function(e){return nt(this,e,gn)},Je.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Je.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate(function(t){return t&&e(t[1],t[0],n)},t)},Je.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Je.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?et(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Je.isOrderedMap=Ze,Je.prototype[pn]=!0,Je.prototype[dn]=Je.prototype.remove;var Qn;e(rt,M),rt.prototype.get=function(e,t){return this._iter.get(e,t)},rt.prototype.has=function(e){return this._iter.has(e)},rt.prototype.valueSeq=function(){return this._iter.valueSeq()},rt.prototype.reverse=function(){var e=this,t=ct(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},rt.prototype.map=function(e,t){var n=this,r=ut(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},rt.prototype.__iterate=function(e,t){var n,r=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,r)}:(n=t?xt(this):0,function(o){return e(o,t?--n:n++,r)}),t)},rt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(wn,t),r=t?xt(this):0;return new w(function(){var o=n.next();return o.done?o:E(e,t?--r:r++,o.value,o)})},rt.prototype[pn]=!0,e(ot,A),ot.prototype.includes=function(e){return this._iter.includes(e)},ot.prototype.__iterate=function(e,t){var n=this,r=0;return this._iter.__iterate(function(t){return e(t,r++,n)},t)},ot.prototype.__iterator=function(e,t){var n=this._iter.__iterator(wn,t),r=0;return new w(function(){var t=n.next();return t.done?t:E(e,r++,t.value,t)})},e(it,I),it.prototype.has=function(e){return this._iter.includes(e)},it.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate(function(t){return e(t,t,n)},t)},it.prototype.__iterator=function(e,t){var n=this._iter.__iterator(wn,t);return new w(function(){var t=n.next();return t.done?t:E(e,t.value,t.value,t)})},e(at,M),at.prototype.entrySeq=function(){return this._iter.toSeq()},at.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate(function(t){if(t){St(t);var r=i(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}},t)},at.prototype.__iterator=function(e,t){var n=this._iter.__iterator(wn,t);return new w(function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){St(r);var o=i(r);return E(e,o?r.get(0):r[0],o?r.get(1):r[1],t)}}})},ot.prototype.cacheResult=rt.prototype.cacheResult=it.prototype.cacheResult=at.prototype.cacheResult=Pt,e(It,te),It.prototype.toString=function(){return this.__toString(Dt(this)+" {","}")},It.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},It.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._defaultValues[e];return this._map?this._map.get(e,n):n},It.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=jt(this,Ee()))},It.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+Dt(this));if(this._map&&!this._map.has(e)){var n=this._defaultValues[e];if(t===n)return this}var r=this._map&&this._map.set(e,t);return this.__ownerID||r===this._map?this:jt(this,r)},It.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:jt(this,t)},It.prototype.wasAltered=function(){return this._map.wasAltered()},It.prototype.__iterator=function(e,t){var r=this;return n(this._defaultValues).map(function(e,t){return r.get(t)}).__iterator(e,t)},It.prototype.__iterate=function(e,t){var r=this;return n(this._defaultValues).map(function(e,t){return r.get(t)}).__iterate(e,t)},It.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?jt(this,t,e):(this.__ownerID=e,this._map=t,this)};var Jn=It.prototype;Jn[dn]=Jn.remove,Jn.deleteIn=Jn.removeIn=zn.removeIn,Jn.merge=zn.merge,Jn.mergeWith=zn.mergeWith,Jn.mergeIn=zn.mergeIn,Jn.mergeDeep=zn.mergeDeep,Jn.mergeDeepWith=zn.mergeDeepWith,Jn.mergeDeepIn=zn.mergeDeepIn,Jn.setIn=zn.setIn,Jn.update=zn.update,Jn.updateIn=zn.updateIn,Jn.withMutations=zn.withMutations,Jn.asMutable=zn.asMutable,Jn.asImmutable=zn.asImmutable,e(Lt,re),Lt.of=function(){return this(arguments)},Lt.fromKeys=function(e){return this(n(e).keySeq())},Lt.prototype.toString=function(){return this.__toString("Set {","}")},Lt.prototype.has=function(e){return this._map.has(e)},Lt.prototype.add=function(e){return Ut(this,this._map.set(e,!0))},Lt.prototype.remove=function(e){return Ut(this,this._map.remove(e))},Lt.prototype.clear=function(){return Ut(this,this._map.clear())},Lt.prototype.union=function(){var e=un.call(arguments,0);return e=e.filter(function(e){return 0!==e.size}),0===e.length?this:0!==this.size||this.__ownerID||1!==e.length?this.withMutations(function(t){for(var n=0;n<e.length;n++)o(e[n]).forEach(function(e){return t.add(e)})}):this.constructor(e[0])},Lt.prototype.intersect=function(){var e=un.call(arguments,0);if(0===e.length)return this;e=e.map(function(e){return o(e)});var t=this;return this.withMutations(function(n){t.forEach(function(t){e.every(function(e){return e.includes(t)})||n.remove(t)})})},Lt.prototype.subtract=function(){var e=un.call(arguments,0);if(0===e.length)return this;e=e.map(function(e){return o(e)});var t=this;return this.withMutations(function(n){t.forEach(function(t){e.some(function(e){return e.includes(t)})&&n.remove(t)})})},Lt.prototype.merge=function(){return this.union.apply(this,arguments)},Lt.prototype.mergeWith=function(e){var t=un.call(arguments,1);return this.union.apply(this,t)},Lt.prototype.sort=function(e){return zt(bt(this,e))},Lt.prototype.sortBy=function(e,t){return zt(bt(this,t,e))},Lt.prototype.wasAltered=function(){return this._map.wasAltered()},Lt.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate(function(t,r){return e(r,r,n)},t)},Lt.prototype.__iterator=function(e,t){return this._map.map(function(e,t){return t}).__iterator(e,t)},Lt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):(this.__ownerID=e,this._map=t,this)},Lt.isSet=Ft;var Zn="@@__IMMUTABLE_SET__@@",er=Lt.prototype;er[Zn]=!0,er[dn]=er.remove,er.mergeDeep=er.merge,er.mergeDeepWith=er.mergeWith,er.withMutations=zn.withMutations,er.asMutable=zn.asMutable,er.asImmutable=zn.asImmutable,er.__empty=qt,er.__make=Bt;var tr;e(zt,Lt),zt.of=function(){return this(arguments)},zt.fromKeys=function(e){return this(n(e).keySeq())},zt.prototype.toString=function(){return this.__toString("OrderedSet {","}")},zt.isOrderedSet=Wt;var nr=zt.prototype;nr[pn]=!0,nr.__empty=Vt,nr.__make=Ht;var rr;e(Gt,ne),Gt.of=function(){return this(arguments)},Gt.prototype.toString=function(){return this.__toString("Stack [","]")},Gt.prototype.get=function(e,t){var n=this._head;for(e=v(this,e);n&&e--;)n=n.next;return n?n.value:t},Gt.prototype.peek=function(){return this._head&&this._head.value},Gt.prototype.push=function(){if(0===arguments.length)return this;for(var e=this.size+arguments.length,t=this._head,n=arguments.length-1;n>=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,
-this._head=t,this.__hash=void 0,this.__altered=!0,this):$t(e,t)},Gt.prototype.pushAll=function(e){if(e=r(e),0===e.size)return this;le(e.size);var t=this.size,n=this._head;return e.reverse().forEach(function(e){t++,n={value:e,next:n}}),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):$t(t,n)},Gt.prototype.pop=function(){return this.slice(1)},Gt.prototype.unshift=function(){return this.push.apply(this,arguments)},Gt.prototype.unshiftAll=function(e){return this.pushAll(e)},Gt.prototype.shift=function(){return this.pop.apply(this,arguments)},Gt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Xt()},Gt.prototype.slice=function(e,t){if(g(e,t,this.size))return this;var n=m(e,this.size),r=_(t,this.size);if(r!==this.size)return ne.prototype.slice.call(this,e,t);for(var o=this.size-n,i=this._head;n--;)i=i.next;return this.__ownerID?(this.size=o,this._head=i,this.__hash=void 0,this.__altered=!0,this):$t(o,i)},Gt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?$t(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Gt.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,r=this._head;r&&e(r.value,n++,this)!==!1;)r=r.next;return n},Gt.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,r=this._head;return new w(function(){if(r){var t=r.value;return r=r.next,E(e,n++,t)}return T()})},Gt.isStack=Kt;var or="@@__IMMUTABLE_STACK__@@",ir=Gt.prototype;ir[or]=!0,ir.withMutations=zn.withMutations,ir.asMutable=zn.asMutable,ir.asImmutable=zn.asImmutable,ir.wasAltered=zn.wasAltered;var ar;t.Iterator=w,Yt(t,{toArray:function(){le(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate(function(t,n){e[n]=t}),e},toIndexedSeq:function(){return new ot(this)},toJS:function(){return this.toSeq().map(function(e){return e&&"function"==typeof e.toJS?e.toJS():e}).__toJS()},toJSON:function(){return this.toSeq().map(function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e}).__toJS()},toKeyedSeq:function(){return new rt(this,!0)},toMap:function(){return fe(this.toKeyedSeq())},toObject:function(){le(this.size);var e={};return this.__iterate(function(t,n){e[n]=t}),e},toOrderedMap:function(){return Je(this.toKeyedSeq())},toOrderedSet:function(){return zt(a(this)?this.valueSeq():this)},toSet:function(){return Lt(a(this)?this.valueSeq():this)},toSetSeq:function(){return new it(this)},toSeq:function(){return s(this)?this.toIndexedSeq():a(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Gt(a(this)?this.valueSeq():this)},toList:function(){return Ue(a(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){var e=un.call(arguments,0);return Ct(this,yt(this,e))},includes:function(e){return this.some(function(t){return X(t,e)})},entries:function(){return this.__iterator(En)},every:function(e,t){le(this.size);var n=!0;return this.__iterate(function(r,o,i){if(!e.call(t,r,o,i))return n=!1,!1}),n},filter:function(e,t){return Ct(this,lt(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},forEach:function(e,t){return le(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){le(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate(function(r){n?n=!1:t+=e,t+=null!==r&&void 0!==r?r.toString():""}),t},keys:function(){return this.__iterator(bn)},map:function(e,t){return Ct(this,ut(this,e,t))},reduce:function(e,t,n){le(this.size);var r,o;return arguments.length<2?o=!0:r=t,this.__iterate(function(t,i,a){o?(o=!1,r=t):r=e.call(n,r,t,i,a)}),r},reduceRight:function(e,t,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return Ct(this,ct(this,!0))},slice:function(e,t){return Ct(this,dt(this,e,t,!0))},some:function(e,t){return!this.every(Zt(e),t)},sort:function(e){return Ct(this,bt(this,e))},values:function(){return this.__iterator(wn)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some(function(){return!0})},count:function(e,t){return h(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return ft(this,e,t)},equals:function(e){return Y(this,e)},entrySeq:function(){var e=this;if(e._cache)return new j(e._cache);var t=e.toSeq().map(Jt).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(Zt(e),t)},findEntry:function(e,t,n){var r=n;return this.__iterate(function(n,o,i){if(e.call(t,n,o,i))return r=[o,n],!1}),r},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},findLastEntry:function(e,t,n){return this.toKeyedSeq().reverse().findEntry(e,t,n)},findLastKey:function(e,t){return this.toKeyedSeq().reverse().findKey(e,t)},first:function(){return this.find(y)},flatMap:function(e,t){return Ct(this,mt(this,e,t))},flatten:function(e){return Ct(this,gt(this,e,!0))},fromEntrySeq:function(){return new at(this)},get:function(e,t){return this.find(function(t,n){return X(n,e)},void 0,t)},getIn:function(e,t){for(var n,r=this,o=At(e);!(n=o.next()).done;){var i=n.value;if(r=r&&r.get?r.get(i,gn):gn,r===gn)return t}return r},groupBy:function(e,t){return pt(this,e,t)},has:function(e){return this.get(e,gn)!==gn},hasIn:function(e){return this.getIn(e,gn)!==gn},isSubset:function(e){return e="function"==typeof e.includes?e:t(e),this.every(function(t){return e.includes(t)})},isSuperset:function(e){return e="function"==typeof e.isSubset?e:t(e),e.isSubset(this)},keyOf:function(e){return this.findKey(function(t){return X(t,e)})},keySeq:function(){return this.toSeq().map(Qt).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return wt(this,e)},maxBy:function(e,t){return wt(this,t,e)},min:function(e){return wt(this,e?en(e):rn)},minBy:function(e,t){return wt(this,t?en(t):rn,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return Ct(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return Ct(this,vt(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(Zt(e),t)},sortBy:function(e,t){return Ct(this,bt(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return Ct(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return Ct(this,ht(this,e,t))},takeUntil:function(e,t){return this.takeWhile(Zt(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=on(this))}});var sr=t.prototype;sr[cn]=!0,sr[Sn]=sr.values,sr.__toJS=sr.toArray,sr.__toStringMapper=tn,sr.inspect=sr.toSource=function(){return this.toString()},sr.chain=sr.flatMap,sr.contains=sr.includes,Yt(n,{flip:function(){return Ct(this,st(this))},mapEntries:function(e,t){var n=this,r=0;return Ct(this,this.toSeq().map(function(o,i){return e.call(t,[i,o],r++,n)}).fromEntrySeq())},mapKeys:function(e,t){var n=this;return Ct(this,this.toSeq().flip().map(function(r,o){return e.call(t,r,o,n)}).flip())}});var ur=n.prototype;ur[ln]=!0,ur[Sn]=sr.entries,ur.__toJS=sr.toObject,ur.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+tn(e)},Yt(r,{toKeyedSeq:function(){return new rt(this,!1)},filter:function(e,t){return Ct(this,lt(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.lastKeyOf(e);return void 0===t?-1:t},reverse:function(){return Ct(this,ct(this,!1))},slice:function(e,t){return Ct(this,dt(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=m(e,e<0?this.count():this.size);var r=this.slice(0,e);return Ct(this,1===n?r:r.concat(d(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.findLastEntry(e,t);return n?n[0]:-1},first:function(){return this.get(0)},flatten:function(e){return Ct(this,gt(this,e,!1))},get:function(e,t){return e=v(this,e),e<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find(function(t,n){return n===e},void 0,t)},has:function(e){return e=v(this,e),e>=0&&(void 0!==this.size?this.size===1/0||e<this.size:this.indexOf(e)!==-1)},interpose:function(e){return Ct(this,_t(this,e))},interleave:function(){var e=[this].concat(d(arguments)),t=Tt(this.toSeq(),A.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),Ct(this,n)},keySeq:function(){return Z(0,this.size)},last:function(){return this.get(-1)},skipWhile:function(e,t){return Ct(this,vt(this,e,t,!1))},zip:function(){var e=[this].concat(d(arguments));return Ct(this,Tt(this,nn,e))},zipWith:function(e){var t=d(arguments);return t[0]=this,Ct(this,Tt(this,e,t))}}),r.prototype[fn]=!0,r.prototype[pn]=!0,Yt(o,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=sr.includes,o.prototype.contains=o.prototype.includes,Yt(M,n.prototype),Yt(A,r.prototype),Yt(I,o.prototype),Yt(te,n.prototype),Yt(ne,r.prototype),Yt(re,o.prototype);var cr={Iterable:t,Seq:P,Collection:ee,Map:fe,OrderedMap:Je,List:Ue,Stack:Gt,Set:Lt,OrderedSet:zt,Record:It,Range:Z,Repeat:Q,is:X,fromJS:V};return cr})},function(e,t){function n(e){var t=r.call(e);return"[object Function]"===t||"function"==typeof e&&"[object RegExp]"!==t||"undefined"!=typeof window&&(e===window.setTimeout||e===window.alert||e===window.confirm||e===window.prompt)}e.exports=n;var r=Object.prototype.toString},function(e,t,n){var r=n(97),o=n(71),i=r(o,"Set");e.exports=i},function(e,t,n){function r(e){var t=this.__data__=new o(e);this.size=t.size}var o=n(180),i=n(940),a=n(941),s=n(942),u=n(943),c=n(944);r.prototype.clear=i,r.prototype.delete=a,r.prototype.get=s,r.prototype.has=u,r.prototype.set=c,e.exports=r},function(e,t){function n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}e.exports=n},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}e.exports=n},function(e,t,n){function r(e,t){var n=a(e),r=!n&&i(e),l=!n&&!r&&s(e),p=!n&&!r&&!l&&c(e),d=n||r||l||p,h=d?o(e.length,String):[],v=h.length;for(var y in e)!t&&!f.call(e,y)||d&&("length"==y||l&&("offset"==y||"parent"==y)||p&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||u(y,v))||h.push(y);return h}var o=n(890),i=n(276),a=n(37),s=n(412),u=n(273),c=n(414),l=Object.prototype,f=l.hasOwnProperty;e.exports=r},function(e,t){function n(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}e.exports=n},function(e,t,n){function r(e,t){t=o(t,e);for(var n=0,r=t.length;null!=e&&n<r;)e=e[i(t[n++])];return n&&n==r?e:void 0}var o=n(403),i=n(187);e.exports=r},function(e,t,n){function r(e,t,n,a,s){return e===t||(null==e||null==t||!i(e)&&!i(t)?e!==e&&t!==t:o(e,t,n,a,r,s))}var o=n(877),i=n(98);e.exports=r},function(e,t,n){function r(e,t,n){var r=-1,f=i,p=e.length,d=!0,h=[],v=h;if(n)d=!1,f=a;else if(p>=l){var y=t?null:u(e);if(y)return c(y);d=!1,f=s,v=new o}else v=t?[]:h;e:for(;++r<p;){var g=e[r],m=t?t(g):g;if(g=n||0!==g?g:0,d&&m===m){for(var _=v.length;_--;)if(v[_]===m)continue e;t&&v.push(m),h.push(g)}else f(v,m,n)||(v!==h&&v.push(m),h.push(g))}return h}var o=n(181),i=n(267),a=n(268),s=n(184),u=n(898),c=n(275),l=200;e.exports=r},function(e,t,n){function r(e,t){return o(e)?e:i(e,t)?[e]:a(s(e))}var o=n(37),i=n(274),a=n(946),s=n(959);e.exports=r},function(e,t,n){var r=n(97),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},function(e,t,n){function r(e,t,n,r,c,l){var f=n&s,p=e.length,d=t.length;if(p!=d&&!(f&&d>p))return!1;var h=l.get(e);if(h&&l.get(t))return h==t;var v=-1,y=!0,g=n&u?new o:void 0;for(l.set(e,t),l.set(t,e);++v<p;){var m=e[v],_=t[v];if(r)var b=f?r(_,m,v,t,e,l):r(m,_,v,e,t,l);if(void 0!==b){if(b)continue;y=!1;break}if(g){if(!i(t,function(e,t){if(!a(g,t)&&(m===e||c(m,e,n,r,l)))return g.push(t)})){y=!1;break}}else if(m!==_&&!c(m,_,n,r,l)){y=!1;break}}return l.delete(e),l.delete(t),y}var o=n(181),i=n(867),a=n(184),s=1,u=2;e.exports=r},function(e,t){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(t,function(){return this}())},function(e,t){function n(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||r;return e===n}var r=Object.prototype;e.exports=n},function(e,t,n){function r(e){return e===e&&!o(e)}var o=n(115);e.exports=r},function(e,t){function n(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}e.exports=n},function(e,t){function n(e,t){return function(n){return e(t(n))}}e.exports=n},function(e,t){function n(e){if(null!=e){try{return o.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var r=Function.prototype,o=r.toString;e.exports=n},function(e,t,n){(function(e){var r=n(71),o=n(958),i="object"==typeof t&&t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===i,u=s?r.Buffer:void 0,c=u?u.isBuffer:void 0,l=c||o;e.exports=l}).call(t,n(203)(e))},function(e,t,n){function r(e){if(!i(e))return!1;var t=o(e);return t==s||t==u||t==a||t==c}var o=n(114),i=n(115),a="[object AsyncFunction]",s="[object Function]",u="[object GeneratorFunction]",c="[object Proxy]";e.exports=r},function(e,t,n){var r=n(881),o=n(272),i=n(933),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},function(e,t,n){function r(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(i);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(r.Cache||o),n}var o=n(266),i="Expected a function";r.Cache=o,e.exports=r},function(e,t){function n(){}e.exports=n},function(e,t,n){var r=n(271),o=n(96),i=n(402),a=n(147),s=o(function(e){return i(r(e,1,a,!0))});e.exports=s},function(e,t,n){var r=n(270),o=n(96),i=n(147),a=o(function(e,t){return i(e)?r(e,t):[]});e.exports=a},function(e,t){function n(e){return e.match(r)}var r=/-?\d+(\.\d+)?%?/g;e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1);t.default={propTypes:{prefixCls:r.PropTypes.string,strokeWidth:r.PropTypes.oneOfType([r.PropTypes.number,r.PropTypes.string]),strokeColor:r.PropTypes.string,trailWidth:r.PropTypes.oneOfType([r.PropTypes.number,r.PropTypes.string]),trailColor:r.PropTypes.string,strokeLinecap:r.PropTypes.oneOf(["round","square"]),style:r.PropTypes.object,className:r.PropTypes.string},getDefaultProps:function(){return{prefixCls:"rc-progress",strokeWidth:1,strokeColor:"#2db7f5",trailWidth:1,trailColor:"#D9D9D9",strokeLinecap:"round",className:""}},componentDidUpdate:function(){var e=Date.now();this.path.style.transitionDuration="0.3s, 0.3s",this.prevTimeStamp&&e-this.prevTimeStamp<100&&(this.path.style.transitionDuration="0s, 0s"),this.prevTimeStamp=Date.now()}},e.exports=t.default},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.getBase16Theme=t.createStyling=t.invertTheme=void 0;var i=n(219),a=o(i),s=n(10),u=o(s),c=n(548),l=o(c),f=n(105),p=o(f),d=n(859),h=o(d),v=n(341),y=r(v),g=n(965),m=o(g),_=n(968),b=o(_),w=n(861),E=o(w),T=n(974),C=y.default,S=(0,p.default)(C),x=function(e){return e<.25?1:e<.5?.9-e:1.1-e},O=(0,E.default)(b.default,T.rgb2yuv,function(e){var t=(0,l.default)(e,3),n=t[0],r=t[1],o=t[2];return[x(n),r,o]},T.yuv2rgb,m.default),k=function(e){return function(t){return{className:[t.className,e.className].filter(Boolean).join(" "),style:(0,u.default)({},t.style||{},e.style||{})}}},P=function(e,t){if(void 0===e)return t;if(void 0===t)return e;var n="undefined"==typeof e?"undefined":(0,a.default)(e),r="undefined"==typeof t?"undefined":(0,a.default)(t);switch(n){case"string":switch(r){case"string":return[t,e].filter(Boolean).join(" ");case"object":return k({className:e,style:t});case"function":return function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return k({className:e})(t.apply(void 0,[n].concat(o)))}}case"object":switch(r){case"string":return k({className:t,style:e});case"object":return(0,u.default)({},t,e);case"function":return function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return k({style:e})(t.apply(void 0,[n].concat(o)))}}case"function":switch(r){case"string":return function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return e.apply(void 0,[k(n)({className:t})].concat(o))};case"object":return function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return e.apply(void 0,[k(n)({style:t})].concat(o))};case"function":return function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return e.apply(void 0,[t.apply(void 0,[n].concat(o))].concat(o))}}}},M=function(e,t){var n=(0,p.default)(t);for(var r in e)n.indexOf(r)===-1&&n.push(r);return n.reduce(function(n,r){return n[r]=P(e[r],t[r]),n},{})},A=function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];if(null===t)return e;Array.isArray(t)||(t=[t]);var i=t.map(function(t){return e[t]}).filter(Boolean),s=i.reduce(function(e,t){return"string"==typeof t?e.className=[e.className,t].filter(Boolean).join(" "):"object"===("undefined"==typeof t?"undefined":(0,a.default)(t))?e.style=(0,u.default)({},e.style,t):"function"==typeof t&&(e=(0,u.default)({},e,t.apply(void 0,[e].concat(r)))),e},{className:"",style:{}});return s.className||delete s.className,0===(0,p.default)(s.style).length&&delete s.style,s},I=t.invertTheme=function(e){return(0,p.default)(e).reduce(function(t,n){return t[n]=/^base/.test(n)?O(e[n]):"scheme"===n?e[n]+":inverted":e[n],t},{})},j=(t.createStyling=(0,h.default)(function(e){for(var t=arguments.length,n=Array(t>3?t-3:0),r=3;r<t;r++)n[r-3]=arguments[r];var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=o.defaultBase16,s=void 0===a?C:a,c=o.base16Themes,l=void 0===c?null:c,f=j(i,l);f&&(i=(0,u.default)({},f,i));var d=S.reduce(function(e,t){return e[t]=i[t]||s[t],e},{}),v=(0,p.default)(i).reduce(function(e,t){return S.indexOf(t)===-1?(e[t]=i[t],e):e},{}),y=e(d),g=M(v,y);return(0,h.default)(A,2).apply(void 0,[g].concat(n))},3),t.getBase16Theme=function(e,t){if(e&&e.extend&&(e=e.extend),"string"==typeof e){var n=e.split(":"),r=(0,l.default)(n,2),o=r[0],i=r[1];e=(t||{})[o]||y[o],"inverted"===i&&(e=I(e))}return e&&e.hasOwnProperty("base00")?e:void 0})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.isSafari=t.isFirefox=void 0;var o=n(415),i=r(o);t.isFirefox=(0,i.default)(function(){return/firefox/i.test(navigator.userAgent)}),t.isSafari=(0,i.default)(function(){return Boolean(window.safari)})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){_.default.apply(void 0,["DragDropContext","backend"].concat(Array.prototype.slice.call(arguments)));var t=E(e),n=w(t);return function(e){var t,r,s=e.displayName||e.name||"Component",l=(r=t=function(t){function r(){return o(this,r),i(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return a(r,t),c(r,[{key:"getDecoratedComponentInstance",value:function(){return(0,v.default)(this.child,"In order to access an instance of the decorated component it can not be a stateless component."),this.child}},{key:"getManager",value:function(){return n.dragDropManager}},{key:"getChildContext",value:function(){return n}},{key:"render",value:function(){var t=this;return p.default.createElement(e,u({},this.props,{ref:function(e){return t.child=e}}))}}]),r}(f.Component),t.DecoratedComponent=e,t.displayName="DragDropContext("+s+")",t.childContextTypes=b,r);return(0,g.default)(l,e)}}Object.defineProperty(t,"__esModule",{value:!0}),t.unpackBackendForEs5Users=t.createChildContext=t.CHILD_CONTEXT_TYPES=void 0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=s;var f=n(1),p=r(f),d=n(828),h=n(17),v=r(h),y=n(144),g=r(y),m=n(191),_=r(m),b=t.CHILD_CONTEXT_TYPES={dragDropManager:f.PropTypes.object.isRequired},w=t.createChildContext=function(e,t){return{dragDropManager:new d.DragDropManager(e,t)}},E=t.unpackBackendForEs5Users=function(e){var t=e;return"object"===("undefined"==typeof t?"undefined":l(t))&&"function"==typeof t.default&&(t=t.default),(0,v.default)("function"==typeof t,"Expected the backend to be a function or an ES6 module exporting a default function. Read more: http://react-dnd.github.io/react-dnd/docs-drag-drop-context.html"),t}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return t===e||null!==t&&null!==e&&(0,a.default)(t,e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(282),a=r(i)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t,n,r=e.DecoratedComponent,s=e.createHandler,h=e.createMonitor,v=e.createConnector,g=e.registerHandler,_=e.containerDisplayName,w=e.getType,T=e.collect,C=e.options,S=C.arePropsEqual,x=void 0===S?E.default:S,O=r.displayName||r.name||"Component",k=(n=t=function(e){function t(e,n){o(this,t);var r=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.handleChange=r.handleChange.bind(r),r.handleChildRef=r.handleChildRef.bind(r),(0,y.default)("object"===c(r.context.dragDropManager),"Could not find the drag and drop manager in the context of %s. Make sure to wrap the top-level component of your app with DragDropContext. Read more: http://react-dnd.github.io/react-dnd/docs-troubleshooting.html#could-not-find-the-drag-and-drop-manager-in-the-context",O,O),r.manager=r.context.dragDropManager,r.handlerMonitor=h(r.manager),r.handlerConnector=v(r.manager.getBackend()),r.handler=s(r.handlerMonitor),r.disposable=new d.SerialDisposable,r.receiveProps(e),r.state=r.getCurrentState(),r.dispose(),r}return a(t,e),l(t,[{key:"getHandlerId",value:function(){return this.handlerId}},{key:"getDecoratedComponentInstance",value:function(){return this.decoratedComponentInstance}},{key:"shouldComponentUpdate",value:function(e,t){return!x(e,this.props)||!(0,b.default)(t,this.state)}}]),l(t,[{key:"componentDidMount",value:function(){this.isCurrentlyMounted=!0,this.disposable=new d.SerialDisposable,this.currentType=null,this.receiveProps(this.props),this.handleChange()}},{key:"componentWillReceiveProps",value:function(e){x(e,this.props)||(this.receiveProps(e),this.handleChange())}},{key:"componentWillUnmount",value:function(){this.dispose(),this.isCurrentlyMounted=!1}},{key:"receiveProps",value:function(e){this.handler.receiveProps(e),this.receiveType(w(e))}},{key:"receiveType",value:function(e){if(e!==this.currentType){this.currentType=e;var t=g(e,this.handler,this.manager),n=t.handlerId,r=t.unregister;this.handlerId=n,this.handlerMonitor.receiveHandlerId(n),this.handlerConnector.receiveHandlerId(n);var o=this.manager.getMonitor(),i=o.subscribeToStateChange(this.handleChange,{handlerIds:[n]});this.disposable.setDisposable(new d.CompositeDisposable(new d.Disposable(i),new d.Disposable(r)))}}},{key:"handleChange",value:function(){if(this.isCurrentlyMounted){var e=this.getCurrentState();(0,b.default)(e,this.state)||this.setState(e)}}},{key:"dispose",value:function(){this.disposable.dispose(),this.handlerConnector.receiveHandlerId(null)}},{key:"handleChildRef",value:function(e){this.decoratedComponentInstance=e,this.handler.receiveComponent(e)}},{key:"getCurrentState",value:function(){var e=T(this.handlerConnector.hooks,this.handlerMonitor);return e}},{key:"render",value:function(){return p.default.createElement(r,u({},this.props,this.state,{ref:this.handleChildRef}))}}]),t}(f.Component),t.DecoratedComponent=r,t.displayName=_+"("+O+")",t.contextTypes={dragDropManager:f.PropTypes.object.isRequired},n);return(0,m.default)(k,r)}Object.defineProperty(t,"__esModule",{value:!0});var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=s;var f=n(1),p=r(f),d=n(821),h=n(61),v=(r(h),n(17)),y=r(v),g=n(144),m=r(g),_=n(282),b=r(_),w=n(427),E=r(w)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return"string"==typeof e||"symbol"===("undefined"==typeof e?"undefined":i(e))||t&&(0,s.default)(e)&&e.every(function(e){return o(e,!1)})}Object.defineProperty(t,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=o;var a=n(37),s=r(a)},function(e,t){"use strict";function n(e,t){if(e===t)return!0;if("object"!==("undefined"==typeof e?"undefined":r(e))||null===e||"object"!==("undefined"==typeof t?"undefined":r(t))||null===t)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(var i=Object.prototype.hasOwnProperty,a=0;a<n.length;a+=1){if(!i.call(t,n[a]))return!1;var s=e[n[a]],u=t[n[a]];if(s!==u||"object"===("undefined"==typeof s?"undefined":r(s))||"object"===("undefined"==typeof u?"undefined":r(u)))return!1}return!0}Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if("string"!=typeof e.type){var t=e.type.displayName||e.type.name||"the component";throw new Error("Only native element nodes can now be passed to React DnD connectors."+("You can either wrap "+t+" into a <div>, or turn it into a ")+"drag source or a drop target itself.")}}function i(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!(0,s.isValidElement)(t)){var r=t;return void e(r,n)}var i=t;o(i);var a=n?function(t){return e(t,n)}:e;return(0,c.default)(i,a)}}function a(e){var t={};return Object.keys(e).forEach(function(n){var r=e[n],o=i(r);t[n]=function(){return o}}),t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var s=n(1),u=n(994),c=r(u)},function(e,t){"use strict";function n(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var r={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},o=["Webkit","ms","Moz","O"];Object.keys(r).forEach(function(e){o.forEach(function(t){r[n(t,e)]=r[e]})});var i={background:{backgroundAttachment:!0,backgroundColor:!0,backgroundImage:!0,backgroundPositionX:!0,backgroundPositionY:!0,backgroundRepeat:!0},backgroundPosition:{backgroundPositionX:!0,backgroundPositionY:!0},border:{borderWidth:!0,borderStyle:!0,borderColor:!0},borderBottom:{borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0},borderLeft:{borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0},borderRight:{borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0},borderTop:{borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0},font:{fontStyle:!0,fontVariant:!0,fontWeight:!0,fontSize:!0,lineHeight:!0,fontFamily:!0},outline:{outlineWidth:!0,outlineStyle:!0,outlineColor:!0}},a={isUnitlessNumber:r,shorthandPropertyExpansions:i};e.exports=a},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=n(16),i=n(100),a=(n(11),function(){function e(t){r(this,e),this._callbacks=null,this._contexts=null,this._arg=t}return e.prototype.enqueue=function(e,t){this._callbacks=this._callbacks||[],this._callbacks.push(e),this._contexts=this._contexts||[],this._contexts.push(t)},e.prototype.notifyAll=function(){var e=this._callbacks,t=this._contexts,n=this._arg;if(e&&t){e.length!==t.length?o("24"):void 0,this._callbacks=null,this._contexts=null;for(var r=0;r<e.length;r++)e[r].call(t[r],n);e.length=0,t.length=0}},e.prototype.checkpoint=function(){return this._callbacks?this._callbacks.length:0},e.prototype.rollback=function(e){this._callbacks&&this._contexts&&(this._callbacks.length=e,this._contexts.length=e)},e.prototype.reset=function(){this._callbacks=null,this._contexts=null},e.prototype.destructor=function(){this.reset()},e}());e.exports=i.addPoolingTo(a)},function(e,t,n){"use strict";function r(e){return!!c.hasOwnProperty(e)||!u.hasOwnProperty(e)&&(s.test(e)?(c[e]=!0,!0):(u[e]=!0,!1))}function o(e,t){return null==t||e.hasBooleanValue&&!t||e.hasNumericValue&&isNaN(t)||e.hasPositiveNumericValue&&t<1||e.hasOverloadedBooleanValue&&t===!1}var i=n(117),a=(n(27),n(53),n(1062)),s=(n(14),new RegExp("^["+i.ATTRIBUTE_NAME_START_CHAR+"]["+i.ATTRIBUTE_NAME_CHAR+"]*$")),u={},c={},l={
-createMarkupForID:function(e){return i.ID_ATTRIBUTE_NAME+"="+a(e)},setAttributeForID:function(e,t){e.setAttribute(i.ID_ATTRIBUTE_NAME,t)},createMarkupForRoot:function(){return i.ROOT_ATTRIBUTE_NAME+'=""'},setAttributeForRoot:function(e){e.setAttribute(i.ROOT_ATTRIBUTE_NAME,"")},createMarkupForProperty:function(e,t){var n=i.properties.hasOwnProperty(e)?i.properties[e]:null;if(n){if(o(n,t))return"";var r=n.attributeName;return n.hasBooleanValue||n.hasOverloadedBooleanValue&&t===!0?r+'=""':r+"="+a(t)}return i.isCustomAttribute(e)?null==t?"":e+"="+a(t):null},createMarkupForCustomAttribute:function(e,t){return r(e)&&null!=t?e+"="+a(t):""},setValueForProperty:function(e,t,n){var r=i.properties.hasOwnProperty(t)?i.properties[t]:null;if(r){var a=r.mutationMethod;if(a)a(e,n);else{if(o(r,n))return void this.deleteValueForProperty(e,t);if(r.mustUseProperty)e[r.propertyName]=n;else{var s=r.attributeName,u=r.attributeNamespace;u?e.setAttributeNS(u,s,""+n):r.hasBooleanValue||r.hasOverloadedBooleanValue&&n===!0?e.setAttribute(s,""):e.setAttribute(s,""+n)}}}else if(i.isCustomAttribute(t))return void l.setValueForAttribute(e,t,n)},setValueForAttribute:function(e,t,n){if(r(t)){null==n?e.removeAttribute(t):e.setAttribute(t,""+n)}},deleteValueForAttribute:function(e,t){e.removeAttribute(t)},deleteValueForProperty:function(e,t){var n=i.properties.hasOwnProperty(t)?i.properties[t]:null;if(n){var r=n.mutationMethod;if(r)r(e,void 0);else if(n.mustUseProperty){var o=n.propertyName;n.hasBooleanValue?e[o]=!1:e[o]=""}else e.removeAttribute(n.attributeName)}else i.isCustomAttribute(t)&&e.removeAttribute(t)}};e.exports=l},function(e,t){"use strict";var n={hasCachedChildNodes:1};e.exports=n},function(e,t,n){"use strict";function r(){if(this._rootNodeID&&this._wrapperState.pendingUpdate){this._wrapperState.pendingUpdate=!1;var e=this._currentElement.props,t=s.getValue(e);null!=t&&o(this,Boolean(e.multiple),t)}}function o(e,t,n){var r,o,i=u.getNodeFromInstance(e).options;if(t){for(r={},o=0;o<n.length;o++)r[""+n[o]]=!0;for(o=0;o<i.length;o++){var a=r.hasOwnProperty(i[o].value);i[o].selected!==a&&(i[o].selected=a)}}else{for(r=""+n,o=0;o<i.length;o++)if(i[o].value===r)return void(i[o].selected=!0);i.length&&(i[0].selected=!0)}}function i(e){var t=this._currentElement.props,n=s.executeOnChange(t,e);return this._rootNodeID&&(this._wrapperState.pendingUpdate=!0),c.asap(r,this),n}var a=n(21),s=n(287),u=n(27),c=n(62),l=(n(14),!1),f={getHostProps:function(e,t){return a({},t,{onChange:e._wrapperState.onChange,value:void 0})},mountWrapper:function(e,t){var n=s.getValue(t);e._wrapperState={pendingUpdate:!1,initialValue:null!=n?n:t.defaultValue,listeners:null,onChange:i.bind(e),wasMultiple:Boolean(t.multiple)},void 0===t.value||void 0===t.defaultValue||l||(l=!0)},getSelectValueContext:function(e){return e._wrapperState.initialValue},postUpdateWrapper:function(e){var t=e._currentElement.props;e._wrapperState.initialValue=void 0;var n=e._wrapperState.wasMultiple;e._wrapperState.wasMultiple=Boolean(t.multiple);var r=s.getValue(t);null!=r?(e._wrapperState.pendingUpdate=!1,o(e,Boolean(t.multiple),r)):n!==Boolean(t.multiple)&&(null!=t.defaultValue?o(e,Boolean(t.multiple),t.defaultValue):o(e,Boolean(t.multiple),t.multiple?[]:""))}};e.exports=f},function(e,t){"use strict";var n,r={injectEmptyComponentFactory:function(e){n=e}},o={create:function(e){return n(e)}};o.injection=r,e.exports=o},function(e,t){"use strict";var n={logTopLevelRenders:!1};e.exports=n},function(e,t,n){"use strict";function r(e){return s?void 0:a("111",e.type),new s(e)}function o(e){return new u(e)}function i(e){return e instanceof u}var a=n(16),s=(n(11),null),u=null,c={injectGenericComponentClass:function(e){s=e},injectTextComponentClass:function(e){u=e}},l={createInternalComponent:r,createInstanceForText:o,isTextComponent:i,injection:c};e.exports=l},function(e,t,n){"use strict";function r(e){return i(document.documentElement,e)}var o=n(1021),i=n(838),a=n(387),s=n(388),u={hasSelectionCapabilities:function(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&"text"===e.type||"textarea"===t||"true"===e.contentEditable)},getSelectionInformation:function(){var e=s();return{focusedElem:e,selectionRange:u.hasSelectionCapabilities(e)?u.getSelection(e):null}},restoreSelection:function(e){var t=s(),n=e.focusedElem,o=e.selectionRange;t!==n&&r(n)&&(u.hasSelectionCapabilities(n)&&u.setSelection(n,o),a(n))},getSelection:function(e){var t;if("selectionStart"in e)t={start:e.selectionStart,end:e.selectionEnd};else if(document.selection&&e.nodeName&&"input"===e.nodeName.toLowerCase()){var n=document.selection.createRange();n.parentElement()===e&&(t={start:-n.moveStart("character",-e.value.length),end:-n.moveEnd("character",-e.value.length)})}else t=o.getOffsets(e);return t||{start:0,end:0}},setSelection:function(e,t){var n=t.start,r=t.end;if(void 0===r&&(r=n),"selectionStart"in e)e.selectionStart=n,e.selectionEnd=Math.min(r,e.value.length);else if(document.selection&&e.nodeName&&"input"===e.nodeName.toLowerCase()){var i=e.createTextRange();i.collapse(!0),i.moveStart("character",n),i.moveEnd("character",r-n),i.select()}else o.setOffsets(e,t)}};e.exports=u},function(e,t,n){"use strict";function r(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r++)if(e.charAt(r)!==t.charAt(r))return r;return e.length===t.length?-1:n}function o(e){return e?e.nodeType===D?e.documentElement:e.firstChild:null}function i(e){return e.getAttribute&&e.getAttribute(A)||""}function a(e,t,n,r,o){var i;if(w.logTopLevelRenders){var a=e._currentElement.props.child,s=a.type;i="React mount: "+("string"==typeof s?s:s.displayName||s.name),console.time(i)}var u=C.mountComponent(e,n,null,_(e,t),o,0);i&&console.timeEnd(i),e._renderedComponent._topLevelWrapper=e,U._mountImageIntoNode(u,t,e,r,n)}function s(e,t,n,r){var o=x.ReactReconcileTransaction.getPooled(!n&&b.useCreateElement);o.perform(a,null,e,t,o,n,r),x.ReactReconcileTransaction.release(o)}function u(e,t,n){for(C.unmountComponent(e,n),t.nodeType===D&&(t=t.documentElement);t.lastChild;)t.removeChild(t.lastChild)}function c(e){var t=o(e);if(t){var n=m.getInstanceFromNode(t);return!(!n||!n._hostParent)}}function l(e){return!(!e||e.nodeType!==j&&e.nodeType!==D&&e.nodeType!==R)}function f(e){var t=o(e),n=t&&m.getInstanceFromNode(t);return n&&!n._hostParent?n:null}function p(e){var t=f(e);return t?t._hostContainerInfo._topLevelWrapper:null}var d=n(16),h=n(116),v=n(117),y=n(124),g=n(193),m=(n(73),n(27)),_=n(1015),b=n(1017),w=n(435),E=n(148),T=(n(53),n(1031)),C=n(120),S=n(290),x=n(62),O=n(143),k=n(444),P=(n(11),n(197)),M=n(297),A=(n(14),v.ID_ATTRIBUTE_NAME),I=v.ROOT_ATTRIBUTE_NAME,j=1,D=9,R=11,N={},L=1,F=function(){this.rootID=L++};F.prototype.isReactComponent={},F.prototype.render=function(){return this.props.child},F.isReactTopLevelWrapper=!0;var U={TopLevelWrapper:F,_instancesByReactRootID:N,scrollMonitor:function(e,t){t()},_updateRootComponent:function(e,t,n,r,o){return U.scrollMonitor(r,function(){S.enqueueElementInternal(e,t,n),o&&S.enqueueCallbackInternal(e,o)}),e},_renderNewRootComponent:function(e,t,n,r){l(t)?void 0:d("37"),g.ensureScrollValueMonitoring();var o=k(e,!1);x.batchedUpdates(s,o,t,n,r);var i=o._instance.rootID;return N[i]=o,o},renderSubtreeIntoContainer:function(e,t,n,r){return null!=e&&E.has(e)?void 0:d("38"),U._renderSubtreeIntoContainer(e,t,n,r)},_renderSubtreeIntoContainer:function(e,t,n,r){S.validateCallback(r,"ReactDOM.render"),y.isValidElement(t)?void 0:d("39","string"==typeof t?" Instead of passing a string like 'div', pass React.createElement('div') or <div />.":"function"==typeof t?" Instead of passing a class like Foo, pass React.createElement(Foo) or <Foo />.":null!=t&&void 0!==t.props?" This may be caused by unintentionally loading two independent copies of React.":"");var a,s=y.createElement(F,{child:t});if(e){var u=E.get(e);a=u._processChildContext(u._context)}else a=O;var l=p(n);if(l){var f=l._currentElement,h=f.props.child;if(M(h,t)){var v=l._renderedComponent.getPublicInstance(),g=r&&function(){r.call(v)};return U._updateRootComponent(l,s,a,n,g),v}U.unmountComponentAtNode(n)}var m=o(n),_=m&&!!i(m),b=c(n),w=_&&!l&&!b,T=U._renderNewRootComponent(s,n,w,a)._renderedComponent.getPublicInstance();return r&&r.call(T),T},render:function(e,t,n){return U._renderSubtreeIntoContainer(null,e,t,n)},unmountComponentAtNode:function(e){l(e)?void 0:d("40");var t=p(e);if(!t){c(e),1===e.nodeType&&e.hasAttribute(I);return!1}return delete N[t._instance.rootID],x.batchedUpdates(u,t,e,!1),!0},_mountImageIntoNode:function(e,t,n,i,a){if(l(t)?void 0:d("41"),i){var s=o(t);if(T.canReuseMarkup(e,s))return void m.precacheNode(n,s);var u=s.getAttribute(T.CHECKSUM_ATTR_NAME);s.removeAttribute(T.CHECKSUM_ATTR_NAME);var c=s.outerHTML;s.setAttribute(T.CHECKSUM_ATTR_NAME,u);var f=e,p=r(f,c),v=" (client) "+f.substring(p-20,p+20)+"\n (server) "+c.substring(p-20,p+20);t.nodeType===D?d("42",v):void 0}if(t.nodeType===D?d("43"):void 0,a.useCreateElement){for(;t.lastChild;)t.removeChild(t.lastChild);h.insertTreeBefore(t,e,null)}else P(t,e),m.precacheNode(n,t.firstChild)}};e.exports=U},function(e,t,n){"use strict";var r=n(16),o=n(124),i=(n(11),{HOST:0,COMPOSITE:1,EMPTY:2,getType:function(e){return null===e||e===!1?i.EMPTY:o.isValidElement(e)?"function"==typeof e.type?i.COMPOSITE:i.HOST:void r("26",e)}});e.exports=i},function(e,t,n){"use strict";function r(e,t){return null==t?o("30"):void 0,null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}var o=n(16);n(11);e.exports=r},function(e,t){"use strict";function n(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}e.exports=n},function(e,t,n){"use strict";function r(e){for(var t;(t=e._renderedNodeType)===o.COMPOSITE;)e=e._renderedComponent;return t===o.HOST?e._renderedComponent:t===o.EMPTY?null:void 0}var o=n(439);e.exports=r},function(e,t,n){"use strict";function r(){return!i&&o.canUseDOM&&(i="textContent"in document.documentElement?"textContent":"innerText"),i}var o=n(36),i=null;e.exports=r},function(e,t,n){"use strict";function r(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""}function o(e){return"function"==typeof e&&"undefined"!=typeof e.prototype&&"function"==typeof e.prototype.mountComponent&&"function"==typeof e.prototype.receiveComponent}function i(e,t){var n;if(null===e||e===!1)n=c.create(i);else if("object"==typeof e){var s=e,u=s.type;if("function"!=typeof u&&"string"!=typeof u){var p="";p+=r(s._owner),a("130",null==u?u:typeof u,p)}"string"==typeof s.type?n=l.createInternalComponent(s):o(s.type)?(n=new s.type(s),n.getHostNode||(n.getHostNode=n.getNativeNode)):n=new f(s)}else"string"==typeof e||"number"==typeof e?n=l.createInstanceForText(e):a("131",typeof e);return n._mountIndex=0,n._mountImage=null,n}var a=n(16),s=n(21),u=n(1012),c=n(434),l=n(436),f=(n(1059),n(11),n(14),function(e){this.construct(e)});s(f.prototype,u,{_instantiateReactComponent:i}),e.exports=i},function(e,t){"use strict";function n(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!r[e.type]:"textarea"===t}var r={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};e.exports=n},function(e,t,n){"use strict";var r=n(36),o=n(196),i=n(197),a=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t};r.canUseDOM&&("textContent"in document.documentElement||(a=function(e,t){return 3===e.nodeType?void(e.nodeValue=t):void i(e,o(t))})),e.exports=a},function(e,t,n){"use strict";function r(e,t){return e&&"object"==typeof e&&null!=e.key?c.escape(e.key):t.toString(36)}function o(e,t,n,i){var p=typeof e;if("undefined"!==p&&"boolean"!==p||(e=null),null===e||"string"===p||"number"===p||"object"===p&&e.$$typeof===s)return n(i,e,""===t?l+r(e,0):t),1;var d,h,v=0,y=""===t?l:t+f;if(Array.isArray(e))for(var g=0;g<e.length;g++)d=e[g],h=y+r(d,g),v+=o(d,h,n,i);else{var m=u(e);if(m){var _,b=m.call(e);if(m!==e.entries)for(var w=0;!(_=b.next()).done;)d=_.value,h=y+r(d,w++),v+=o(d,h,n,i);else for(;!(_=b.next()).done;){var E=_.value;E&&(d=E[1],h=y+c.escape(E[0])+f+r(d,0),v+=o(d,h,n,i))}}else if("object"===p){var T="",C=String(e);a("31","[object Object]"===C?"object with keys {"+Object.keys(e).join(", ")+"}":C,T)}}return v}function i(e,t,n){return null==e?0:o(e,"",t,n)}var a=n(16),s=(n(73),n(1027)),u=n(1058),c=(n(11),n(286)),l=(n(14),"."),f=":";e.exports=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(10),i=r(o),a=n(1),s=r(a),u=function(e){var t=e.styling,n=e.arrowStyle,r=e.expanded,o=e.nodeType,a=e.onClick;return s.default.createElement("div",(0,i.default)({},t("arrowContainer",n),{onClick:a}),s.default.createElement("div",t(["arrow","arrowSign"],o,r,n),"▶","double"===n&&s.default.createElement("div",t(["arrowSign","arrowSignInner"]),"▶")))};u.propTypes={styling:a.PropTypes.func.isRequired,arrowStyle:a.PropTypes.oneOf(["single","double"]),expanded:a.PropTypes.bool.isRequired,nodeType:a.PropTypes.string.isRequired,onClick:a.PropTypes.func.isRequired},u.defaultProps={arrowStyle:"single"},t.default=u},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(10),i=r(o),a=n(136),s=r(a),u=n(1),c=r(u),l=n(1071),f=r(l),p=n(1067),d=r(p),h=n(1065),v=r(h),y=n(1066),g=r(y),m=n(1068),_=r(m),b=function(e){var t=e.getItemString,n=e.keyPath,r=e.labelRenderer,o=e.styling,a=e.value,u=e.valueRenderer,l=e.isCustomNode,p=(0,s.default)(e,["getItemString","keyPath","labelRenderer","styling","value","valueRenderer","isCustomNode"]),h=l(a)?"Custom":(0,f.default)(a),y={getItemString:t,key:n[0],keyPath:n,labelRenderer:r,nodeType:h,styling:o,value:a,valueRenderer:u},m=(0,i.default)({},p,y,{data:a,isCustomNode:l});switch(h){case"Object":case"Error":case"WeakMap":case"WeakSet":return c.default.createElement(d.default,m);case"Array":return c.default.createElement(v.default,m);case"Iterable":case"Map":case"Set":return c.default.createElement(g.default,m);case"String":return c.default.createElement(_.default,(0,i.default)({},y,{valueGetter:function(e){return'"'+e+'"'}}));case"Number":return c.default.createElement(_.default,y);case"Boolean":return c.default.createElement(_.default,(0,i.default)({},y,{valueGetter:function(e){return e?"true":"false"}}));case"Date":return c.default.createElement(_.default,(0,i.default)({},y,{valueGetter:function(e){return e.toISOString()}}));case"Null":return c.default.createElement(_.default,(0,i.default)({},y,{valueGetter:function(){return"null"}}));case"Undefined":return c.default.createElement(_.default,(0,i.default)({},y,{valueGetter:function(){return"undefined"}}));case"Function":case"Symbol":return c.default.createElement(_.default,(0,i.default)({},y,{valueGetter:function(e){return e.toString()}}));case"Custom":return c.default.createElement(_.default,y);default:return null}};b.propTypes={getItemString:u.PropTypes.func.isRequired,keyPath:u.PropTypes.arrayOf(u.PropTypes.oneOfType([u.PropTypes.string,u.PropTypes.number])).isRequired,labelRenderer:u.PropTypes.func.isRequired,styling:u.PropTypes.func.isRequired,value:u.PropTypes.any,valueRenderer:u.PropTypes.func.isRequired,isCustomNode:u.PropTypes.func.isRequired},t.default=b},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={getArrowStyle:"arrow",getListStyle:"nestedNodeChildren",getItemStringStyle:"nestedNodeItemString",getLabelStyle:"label",getValueStyle:"valueText"},r=(0,_.default)(n).filter(function(e){return t[e]});return r.length>0&&(e="string"==typeof e?{extend:e}:(0,g.default)({},e),r.forEach(function(r){console.error('Styling method "'+r+'" is deprecated, use "theme" property instead'),e[n[r]]=function(e){for(var n=arguments.length,o=Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];var a=e.style;return{style:(0,g.default)({},a,t[r].apply(t,o))}}})),e}function i(e){var t=o(e.theme,e);return e.invertTheme&&("string"==typeof t?t+=":inverted":t&&t.extend?t="string"==typeof t?(0,g.default)({},t,{extend:t.extend+":inverted"}):(0,g.default)({},t,{extend:(0,x.invertTheme)(t.extend)}):t&&(t=(0,x.invertTheme)(t))),{styling:(0,S.default)(t)}}t.__esModule=!0,t.default=void 0;var a,s,u=n(136),c=r(u),l=n(3),f=r(l),p=n(8),d=r(p),h=n(6),v=r(h),y=n(10),g=r(y),m=n(105),_=r(m),b=n(1),w=r(b),E=n(449),T=r(E),C=n(1069),S=r(C),x=n(421),O=function(e){return e},k=function(e,t,n){return 0===n},P=function(e,t,n,r){return w.default.createElement("span",null,n," ",r)},M=function(e){var t=e[0];return w.default.createElement("span",null,t,":")},A=function(){return!1},I=(s=a=function(e){function t(n){(0,f.default)(this,t);var r=(0,d.default)(this,e.call(this,n));return r.state=i(n),r}return(0,v.default)(t,e),t.prototype.componentWillReceiveProps=function(e){var t=this;["theme","invertTheme"].find(function(n){return e[n]!==t.props[n]})&&this.setState(i(e))},t.prototype.shouldComponentUpdate=function(e){var t=this;return!!(0,_.default)(e).find(function(n){return"keyPath"===n?e[n].join("/")!==t.props[n].join("/"):e[n]!==t.props[n]})},t.prototype.render=function(){var e=this.props,t=e.data,n=e.keyPath,r=e.postprocessValue,o=e.hideRoot,i=(e.theme,e.invertTheme,(0,c.default)(e,["data","keyPath","postprocessValue","hideRoot","theme","invertTheme"])),a=this.state.styling;return w.default.createElement("ul",a("tree"),w.default.createElement(T.default,(0,g.default)({},(0,g.default)({postprocessValue:r,hideRoot:o,styling:a},i),{keyPath:o?[]:n,value:r(t)})))},t}(w.default.Component),a.propTypes={data:b.PropTypes.oneOfType([b.PropTypes.array,b.PropTypes.object]).isRequired,hideRoot:b.PropTypes.bool,theme:b.PropTypes.oneOfType([b.PropTypes.object,b.PropTypes.string]),invertTheme:b.PropTypes.bool,keyPath:b.PropTypes.arrayOf(b.PropTypes.oneOfType([b.PropTypes.string,b.PropTypes.number])),postprocessValue:b.PropTypes.func,sortObjectKeys:b.PropTypes.oneOfType([b.PropTypes.func,b.PropTypes.bool])},a.defaultProps={shouldExpandNode:k,hideRoot:!1,keyPath:["root"],getItemString:P,labelRenderer:M,valueRenderer:O,postprocessValue:O,isCustomNode:A,collectionLimit:50,invertTheme:!0},s);t.default=I},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function u(){}function c(e,t){var n={run:function(r){try{var o=e(t.getState(),r);(o!==n.props||n.error)&&(n.shouldComponentUpdate=!0,n.props=o,n.error=null)}catch(e){n.shouldComponentUpdate=!0,n.error=e}}};return n}function l(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=r.getDisplayName,p=void 0===l?function(e){return"ConnectAdvanced("+e+")"}:l,h=r.methodName,g=void 0===h?"connectAdvanced":h,E=r.renderCountProp,T=void 0===E?void 0:E,C=r.shouldHandleStateChanges,S=void 0===C||C,x=r.storeKey,O=void 0===x?"store":x,k=r.withRef,P=void 0!==k&&k,M=s(r,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef"]),A=O+"Subscription",I=b++,j=(t={},t[O]=_.storeShape,t[A]=_.subscriptionShape,t),D=(n={},n[A]=_.subscriptionShape,n);return function(t){(0,v.default)("function"==typeof t,"You must pass a component to the function returned by connect. Instead received "+JSON.stringify(t));var n=t.displayName||t.name||"Component",r=p(n),s=f({},M,{getDisplayName:p,methodName:g,renderCountProp:T,shouldHandleStateChanges:S,storeKey:O,withRef:P,displayName:r,wrappedComponentName:n,WrappedComponent:t}),l=function(n){function l(e,t){o(this,l);var a=i(this,n.call(this,e,t));return a.version=I,a.state={},a.renderCount=0,a.store=e[O]||t[O],a.propsMode=Boolean(e[O]),a.setWrappedInstance=a.setWrappedInstance.bind(a),(0,v.default)(a.store,'Could not find "'+O+'" in either the context or props of '+('"'+r+'". Either wrap the root component in a <Provider>, ')+('or explicitly pass "'+O+'" as a prop to "'+r+'".')),a.initSelector(),a.initSubscription(),a}return a(l,n),l.prototype.getChildContext=function(){var e,t=this.propsMode?null:this.subscription;return e={},e[A]=t||this.context[A],e},l.prototype.componentDidMount=function(){S&&(this.subscription.trySubscribe(),this.selector.run(this.props),this.selector.shouldComponentUpdate&&this.forceUpdate())},l.prototype.componentWillReceiveProps=function(e){this.selector.run(e)},l.prototype.shouldComponentUpdate=function(){return this.selector.shouldComponentUpdate},l.prototype.componentWillUnmount=function(){this.subscription&&this.subscription.tryUnsubscribe(),this.subscription=null,this.notifyNestedSubs=u,this.store=null,this.selector.run=u,this.selector.shouldComponentUpdate=!1},l.prototype.getWrappedInstance=function(){return(0,v.default)(P,"To access the wrapped instance, you need to specify "+("{ withRef: true } in the options argument of the "+g+"() call.")),this.wrappedInstance},l.prototype.setWrappedInstance=function(e){this.wrappedInstance=e},l.prototype.initSelector=function(){var t=e(this.store.dispatch,s);this.selector=c(t,this.store),this.selector.run(this.props)},l.prototype.initSubscription=function(){if(S){var e=(this.propsMode?this.props:this.context)[A];this.subscription=new m.default(this.store,e,this.onStateChange.bind(this)),this.notifyNestedSubs=this.subscription.notifyNestedSubs.bind(this.subscription)}},l.prototype.onStateChange=function(){this.selector.run(this.props),this.selector.shouldComponentUpdate?(this.componentDidUpdate=this.notifyNestedSubsOnComponentDidUpdate,this.setState(w)):this.notifyNestedSubs()},l.prototype.notifyNestedSubsOnComponentDidUpdate=function(){this.componentDidUpdate=void 0,this.notifyNestedSubs()},l.prototype.isSubscribed=function(){return Boolean(this.subscription)&&this.subscription.isSubscribed()},l.prototype.addExtraProps=function(e){if(!(P||T||this.propsMode&&this.subscription))return e;var t=f({},e);return P&&(t.ref=this.setWrappedInstance),T&&(t[T]=this.renderCount++),this.propsMode&&this.subscription&&(t[A]=this.subscription),t},l.prototype.render=function(){var e=this.selector;if(e.shouldComponentUpdate=!1,e.error)throw e.error;return(0,y.createElement)(t,this.addExtraProps(e.props))},l}(y.Component);return l.WrappedComponent=t,l.displayName=r,l.childContextTypes=D,l.contextTypes=j,l.propTypes=j,(0,d.default)(l,t)}}t.__esModule=!0;var f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=l;var p=n(144),d=r(p),h=n(17),v=r(h),y=n(1),g=n(1082),m=r(g),_=n(453),b=0,w={}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return function(t,n){function r(){return o}var o=e(t,n);return r.dependsOnOwnProps=!1,r}}function i(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function a(e,t){return function(t,n){var r=(n.displayName,function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)});return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=i(e);var o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=i(o),o=r(t,n)),o},r}}t.__esModule=!0,t.wrapMapToPropsConstant=o,t.getDependsOnOwnProps=i,t.wrapMapToPropsFunc=a;var s=n(454);r(s)},function(e,t,n){"use strict";t.__esModule=!0,t.storeShape=t.subscriptionShape=void 0;var r=n(1);t.subscriptionShape=r.PropTypes.shape({trySubscribe:r.PropTypes.func.isRequired,tryUnsubscribe:r.PropTypes.func.isRequired,notifyNestedSubs:r.PropTypes.func.isRequired,isSubscribed:r.PropTypes.func.isRequired}),t.storeShape=r.PropTypes.shape({subscribe:r.PropTypes.func.isRequired,dispatch:r.PropTypes.func.isRequired,getState:r.PropTypes.func.isRequired})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){(0,a.default)(e)||(0,u.default)(n+"() in "+t+" must return a plain object. Instead received "+e+".")}t.__esModule=!0,t.default=o;var i=n(61),a=r(i),s=n(300),u=r(s)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e){return 0===e.button}function a(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function s(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0}function u(e,t){return"function"==typeof e?e(t.location):e}t.__esModule=!0;var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=n(1),f=r(l),p=n(17),d=r(p),h=n(303),v=n(302),y=f.default.PropTypes,g=y.bool,m=y.object,_=y.string,b=y.func,w=y.oneOfType,E=f.default.createClass({displayName:"Link",mixins:[(0,v.ContextSubscriber)("router")],contextTypes:{router:h.routerShape},propTypes:{to:w([_,m,b]),activeStyle:m,activeClassName:_,onlyActiveOnIndex:g.isRequired,onClick:b,target:_},getDefaultProps:function(){return{onlyActiveOnIndex:!1,style:{}}},handleClick:function(e){if(this.props.onClick&&this.props.onClick(e),!e.defaultPrevented){var t=this.context.router;t?void 0:(0,d.default)(!1),!a(e)&&i(e)&&(this.props.target||(e.preventDefault(),t.push(u(this.props.to,t))))}},render:function(){var e=this.props,t=e.to,n=e.activeClassName,r=e.activeStyle,i=e.onlyActiveOnIndex,a=o(e,["to","activeClassName","activeStyle","onlyActiveOnIndex"]),l=this.context.router;if(l){if(!t)return f.default.createElement("a",a);var p=u(t,l);a.href=l.createHref(p),(n||null!=r&&!s(r))&&l.isActive(p,i)&&(n&&(a.className?a.className+=" "+n:a.className=n),r&&(a.style=c({},a.style,r)))}return f.default.createElement("a",c({},a,{onClick:this.handleClick}))}});t.default=E,e.exports=t.default},function(e,t){"use strict";function n(e){return e&&"function"==typeof e.then}t.__esModule=!0,t.isPromise=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(1),i=r(o),a=n(17),s=r(a),u=n(80),c=n(122),l=n(150),f=i.default.PropTypes,p=f.string,d=f.object,h=i.default.createClass({displayName:"Redirect",statics:{createRouteFromReactElement:function(e){var t=(0,u.createRouteFromReactElement)(e);return t.from&&(t.path=t.from),t.onEnter=function(e,n){var r=e.location,o=e.params,i=void 0;if("/"===t.to.charAt(0))i=(0,c.formatPattern)(t.to,o);else if(t.to){var a=e.routes.indexOf(t),s=h.getRoutePattern(e.routes,a-1),u=s.replace(/\/*$/,"/")+t.to;i=(0,c.formatPattern)(u,o)}else i=r.pathname;n({pathname:i,query:t.query||r.query,state:t.state||r.state})},t},getRoutePattern:function(e,t){for(var n="",r=t;r>=0;r--){var o=e[r],i=o.path||"";if(n=i.replace(/\/*$/,"/")+n,0===i.indexOf("/"))break}return"/"+n}},propTypes:{path:p,from:p,to:p.isRequired,query:d,state:d,onEnter:l.falsy,children:l.falsy},render:function(){(0,s.default)(!1)}});t.default=h,e.exports=t.default},function(e,t){"use strict";function n(e,t,n){var i=o({},e,{setRouteLeaveHook:t.listenBeforeLeavingRoute,isActive:t.isActive});return r(i,n)}function r(e,t){var n=t.location,r=t.params,o=t.routes;return e.location=n,e.params=r,e.routes=o,e}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.createRouterObject=n,t.assignRouterState=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=(0,l.default)(e),n=function(){return t},r=(0,a.default)((0,u.default)(n))(e);return r}t.__esModule=!0,t.default=o;var i=n(391),a=r(i),s=n(390),u=r(s),c=n(855),l=r(c);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=void 0;return s&&(t=(0,a.default)(e)()),t}t.__esModule=!0,t.default=o;var i=n(463),a=r(i),s=!("undefined"==typeof window||!window.document||!window.document.createElement);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!0;return!1}function i(e,t){function n(t,n){return t=e.createLocation(t),(0,p.default)(t,n,_.location,_.routes,_.params)}function r(e,n){b&&b.location===e?i(b,n):(0,y.default)(t,e,function(t,r){t?n(t):r?i(a({},r,{location:e}),n):n()})}function i(e,t){function n(n,o){return n||o?r(n,o):void(0,h.default)(e,function(n,r){n?t(n):t(null,null,_=a({},e,{components:r}))})}function r(e,n){e?t(e):t(null,n)}var o=(0,c.default)(_,e),i=o.leaveRoutes,s=o.changeRoutes,u=o.enterRoutes;(0,l.runLeaveHooks)(i,_),i.filter(function(e){return u.indexOf(e)===-1}).forEach(v),(0,l.runChangeHooks)(s,_,e,function(t,o){return t||o?r(t,o):void(0,l.runEnterHooks)(u,e,n)})}function s(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.__id__||t&&(e.__id__=w++)}function u(e){return e.map(function(e){return E[s(e)]}).filter(function(e){return e})}function f(e,n){(0,y.default)(t,e,function(t,r){if(null==r)return void n();b=a({},r,{location:e});for(var o=u((0,c.default)(_,b).leaveRoutes),i=void 0,s=0,l=o.length;null==i&&s<l;++s)i=o[s](e);n(i)})}function d(){if(_.routes){for(var e=u(_.routes),t=void 0,n=0,r=e.length;"string"!=typeof t&&n<r;++n)t=e[n]();return t}}function v(e){var t=s(e);t&&(delete E[t],o(E)||(T&&(T(),T=null),C&&(C(),C=null)))}function g(t,n){var r=!o(E),i=s(t,!0);return E[i]=n,r&&(T=e.listenBefore(f),e.listenBeforeUnload&&(C=e.listenBeforeUnload(d))),function(){v(t)}}function m(t){function n(n){_.location===n?t(null,_):r(n,function(n,r,o){n?t(n):r?e.replace(r):o&&t(null,o)})}var o=e.listen(n);return _.location?t(null,_):n(e.getCurrentLocation()),o}var _={},b=void 0,w=1,E=Object.create(null),T=void 0,C=void 0;return{isActive:n,match:r,listenBeforeLeavingRoute:g,listen:m}}t.__esModule=!0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=i;var s=n(123),u=(r(s),n(1092)),c=r(u),l=n(1089),f=n(1096),p=r(f),d=n(1093),h=r(d),v=n(1098),y=r(v);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.createMemoryHistory=t.hashHistory=t.browserHistory=t.applyRouterMiddleware=t.formatPattern=t.useRouterHistory=t.match=t.routerShape=t.locationShape=t.RouterContext=t.createRoutes=t.Route=t.Redirect=t.IndexRoute=t.IndexRedirect=t.withRouter=t.IndexLink=t.Link=t.Router=void 0;var o=n(80);Object.defineProperty(t,"createRoutes",{enumerable:!0,get:function(){return o.createRoutes}});var i=n(303);Object.defineProperty(t,"locationShape",{enumerable:!0,get:function(){return i.locationShape}}),Object.defineProperty(t,"routerShape",{enumerable:!0,get:function(){return i.routerShape}});var a=n(122);Object.defineProperty(t,"formatPattern",{enumerable:!0,get:function(){return a.formatPattern}});var s=n(1088),u=r(s),c=n(455),l=r(c),f=n(1084),p=r(f),d=n(1099),h=r(d),v=n(1085),y=r(v),g=n(1086),m=r(g),_=n(457),b=r(_),w=n(1087),E=r(w),T=n(304),C=r(T),S=n(1097),x=r(S),O=n(463),k=r(O),P=n(1090),M=r(P),A=n(1091),I=r(A),j=n(1095),D=r(j),R=n(459),N=r(R);t.Router=u.default,t.Link=l.default,t.IndexLink=p.default,t.withRouter=h.default,t.IndexRedirect=y.default,t.IndexRoute=m.default,t.Redirect=b.default,t.Route=E.default,t.RouterContext=C.default,
-t.match=x.default,t.useRouterHistory=k.default,t.applyRouterMiddleware=M.default,t.browserHistory=I.default,t.hashHistory=D.default,t.createMemoryHistory=N.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return function(t){var n=(0,a.default)((0,u.default)(e))(t);return n}}t.__esModule=!0,t.default=o;var i=n(391),a=r(i),s=n(390),u=r(s);e.exports=t.default},,,function(e,t,n){"use strict";function r(e){var t=Function.prototype.toString,n=Object.prototype.hasOwnProperty,r=RegExp("^"+t.call(n).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");try{var o=t.call(e);return r.test(o)}catch(e){return!1}}function o(e){var t=c(e);if(t){var n=t.childIDs;l(e),n.forEach(o)}}function i(e,t,n){return"\n    in "+(e||"Unknown")+(t?" (at "+t.fileName.replace(/^.*[\\\/]/,"")+":"+t.lineNumber+")":n?" (created by "+n+")":"")}function a(e){return null==e?"#empty":"string"==typeof e||"number"==typeof e?"#text":"string"==typeof e.type?e.type:e.type.displayName||e.type.name||"Unknown"}function s(e){var t,n=S.getDisplayName(e),r=S.getElement(e),o=S.getOwnerID(e);return o&&(t=S.getDisplayName(o)),i(n,r&&r._source,t)}var u,c,l,f,p,d,h,v=n(126),y=n(73),g=(n(11),n(14),"function"==typeof Array.from&&"function"==typeof Map&&r(Map)&&null!=Map.prototype&&"function"==typeof Map.prototype.keys&&r(Map.prototype.keys)&&"function"==typeof Set&&r(Set)&&null!=Set.prototype&&"function"==typeof Set.prototype.keys&&r(Set.prototype.keys));if(g){var m=new Map,_=new Set;u=function(e,t){m.set(e,t)},c=function(e){return m.get(e)},l=function(e){m.delete(e)},f=function(){return Array.from(m.keys())},p=function(e){_.add(e)},d=function(e){_.delete(e)},h=function(){return Array.from(_.keys())}}else{var b={},w={},E=function(e){return"."+e},T=function(e){return parseInt(e.substr(1),10)};u=function(e,t){var n=E(e);b[n]=t},c=function(e){var t=E(e);return b[t]},l=function(e){var t=E(e);delete b[t]},f=function(){return Object.keys(b).map(T)},p=function(e){var t=E(e);w[t]=!0},d=function(e){var t=E(e);delete w[t]},h=function(){return Object.keys(w).map(T)}}var C=[],S={onSetChildren:function(e,t){var n=c(e);n?void 0:v("144"),n.childIDs=t;for(var r=0;r<t.length;r++){var o=t[r],i=c(o);i?void 0:v("140"),null==i.childIDs&&"object"==typeof i.element&&null!=i.element?v("141"):void 0,i.isMounted?void 0:v("71"),null==i.parentID&&(i.parentID=e),i.parentID!==e?v("142",o,i.parentID,e):void 0}},onBeforeMountComponent:function(e,t,n){var r={element:t,parentID:n,text:null,childIDs:[],isMounted:!1,updateCount:0};u(e,r)},onBeforeUpdateComponent:function(e,t){var n=c(e);n&&n.isMounted&&(n.element=t)},onMountComponent:function(e){var t=c(e);t?void 0:v("144"),t.isMounted=!0;var n=0===t.parentID;n&&p(e)},onUpdateComponent:function(e){var t=c(e);t&&t.isMounted&&t.updateCount++},onUnmountComponent:function(e){var t=c(e);if(t){t.isMounted=!1;var n=0===t.parentID;n&&d(e)}C.push(e)},purgeUnmountedComponents:function(){if(!S._preventPurging){for(var e=0;e<C.length;e++){var t=C[e];o(t)}C.length=0}},isMounted:function(e){var t=c(e);return!!t&&t.isMounted},getCurrentStackAddendum:function(e){var t="";if(e){var n=a(e),r=e._owner;t+=i(n,e._source,r&&r.getName())}var o=y.current,s=o&&o._debugID;return t+=S.getStackAddendumByID(s)},getStackAddendumByID:function(e){for(var t="";e;)t+=s(e),e=S.getParentID(e);return t},getChildIDs:function(e){var t=c(e);return t?t.childIDs:[]},getDisplayName:function(e){var t=S.getElement(e);return t?a(t):null},getElement:function(e){var t=c(e);return t?t.element:null},getOwnerID:function(e){var t=S.getElement(e);return t&&t._owner?t._owner._debugID:null},getParentID:function(e){var t=c(e);return t?t.parentID:null},getSource:function(e){var t=c(e),n=t?t.element:null,r=null!=n?n._source:null;return r},getText:function(e){var t=S.getElement(e);return"string"==typeof t?t:"number"==typeof t?""+t:null},getUpdateCount:function(e){var t=c(e);return t?t.updateCount:0},getRootIDs:h,getRegisteredIDs:f};e.exports=S},function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;e.exports=n},function(e,t,n){"use strict";var r={};e.exports=r},function(e,t,n){"use strict";var r=!1;e.exports=r},function(e,t){"use strict";function n(e){var t=e&&(r&&e[r]||e[o]);if("function"==typeof t)return t}var r="function"==typeof Symbol&&Symbol.iterator,o="@@iterator";e.exports=n},function(e,t){"use strict";function n(){return{type:a}}function r(){return{type:s}}function o(e){return{type:u,size:e}}function i(){return{type:c}}t.__esModule=!0,t.toggleVisibility=n,t.changePosition=r,t.changeSize=o,t.changeMonitor=i;var a=t.TOGGLE_VISIBILITY="@@redux-devtools-log-monitor/TOGGLE_VISIBILITY",s=t.CHANGE_POSITION="@@redux-devtools-log-monitor/CHANGE_POSITION",u=t.CHANGE_SIZE="@@redux-devtools-log-monitor/CHANGE_SIZE",c=t.CHANGE_MONITOR="@@redux-devtools-log-monitor/CHANGE_MONITOR"},function(e,t){"use strict";t.__esModule=!0;t.POSITIONS=["left","top","right","bottom"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r=n,o=void 0;try{r=e(n,t)}catch(e){o=e.toString(),"object"===("undefined"==typeof window?"undefined":d(window))&&("undefined"!=typeof window.chrome||"undefined"!=typeof window.process&&"renderer"===window.process.type)?setTimeout(function(){throw e}):console.error(e)}return{state:r,error:o}}function i(e,t,n,r){return r?o(e,t,n):{state:e(n,t)}}function a(e,t,n,r,o,a,s,u){if(!e||t===-1||t>=e.length&&e.length===a.length)return e;for(var c=e.slice(0,t),l=t;l<a.length;l++){var f=a[l],p=o[f].action,d=c[l-1],h=d?d.state:r,v=s.indexOf(f)>-1,y=void 0;y=v?d:u&&d&&d.error?{state:h,error:"Interrupted by an error up the chain"}:i(n,p,h,u),c.push(y)}return c}function s(e){return T.performAction(e)}function u(e,t,n,r){var o={monitorState:n(void 0,{}),nextActionId:1,actionsById:{0:s(C)},stagedActionIds:[0],skippedActionIds:[],committedState:t,currentStateIndex:0,computedStates:[],isLocked:r.shouldStartLocked===!0,isPaused:r.shouldRecordChanges===!1};return function(u,c){function l(e){for(var t=e,n=_.slice(1,t+1),r=0;r<n.length;r++){if(S[r+1].error){t=r,n=_.slice(1,t+1);break}delete y[n[r]]}b=b.filter(function(e){return n.indexOf(e)===-1}),_=[0].concat(_.slice(t+1)),w=S[t].state,S=S.slice(t),T=T>t?T-t:0}function f(t){var o,a=void 0;return t?(a=S[T],h=n(h,c)):a=i(e,c.action,S[T].state,!1),r.pauseActionType&&1!==m?(t&&(T===_.length-1&&T++,_=[].concat(_,[m]),m++),{monitorState:h,actionsById:p({},y,(o={},o[m-1]=s({type:r.pauseActionType}),o)),nextActionId:m,stagedActionIds:_,skippedActionIds:b,committedState:w,currentStateIndex:T,computedStates:[].concat(S.slice(0,_.length-1),[a]),isLocked:x,isPaused:!0}):{monitorState:h,actionsById:{0:s(C)},nextActionId:1,stagedActionIds:[0],skippedActionIds:[],committedState:a.state,currentStateIndex:0,computedStates:[a],isLocked:x,isPaused:!0}}var d=u||o,h=d.monitorState,y=d.actionsById,m=d.nextActionId,_=d.stagedActionIds,b=d.skippedActionIds,w=d.committedState,T=d.currentStateIndex,S=d.computedStates,x=d.isLocked,O=d.isPaused;u||(y=p({},y));var k=0;switch(c.type){case E.PERFORM_ACTION:if(x)return u||o;if(O)return f();r.maxAge&&_.length===r.maxAge&&l(1),T===_.length-1&&T++;var P=m++;y[P]=c,_=[].concat(_,[P]),k=_.length-1;break;case E.RESET:y={0:s(C)},m=1,_=[0],b=[],w=t,T=0,S=[];break;case E.COMMIT:y={0:s(C)},m=1,_=[0],b=[],w=S[T].state,T=0,S=[];break;case E.ROLLBACK:y={0:s(C)},m=1,_=[0],b=[],T=0,S=[];break;case E.TOGGLE_ACTION:var M=function(){var e=c.id,t=b.indexOf(e);return b=t===-1?[e].concat(b):b.filter(function(t){return t!==e}),k=_.indexOf(e),"break"}();if("break"===M)break;case E.SET_ACTIONS_ACTIVE:for(var A=c.start,I=c.end,j=c.active,D=[],R=A;R<I;R++)D.push(R);b=j?(0,v.default)(b,D):(0,g.default)(b,D),k=_.indexOf(A);break;case E.JUMP_TO_STATE:T=c.index,k=1/0;break;case E.JUMP_TO_ACTION:var N=_.indexOf(c.actionId);N!==-1&&(T=N),k=1/0;break;case E.SWEEP:_=(0,v.default)(_,b),b=[],T=Math.min(T,_.length-1);break;case E.REORDER_ACTION:var L=c.actionId,F=_.indexOf(L);if(F<1)break;var U=c.beforeActionId,B=_.indexOf(U);if(B<1){var q=_.length;B=U>_[q-1]?q:1}var z=F-B;z>0?(_=[].concat(_.slice(0,B),[L],_.slice(B,F),_.slice(F+1)),k=B):z<0&&(_=[].concat(_.slice(0,F),_.slice(F+1,B),[L],_.slice(B)),k=F);break;case E.IMPORT_STATE:if(Array.isArray(c.nextLiftedState))y={0:s(C)},m=1,_=[0],b=[],T=c.nextLiftedState.length,S=[],w=c.preloadedState,k=0,c.nextLiftedState.forEach(function(e){y[m]=s(e),_.push(m),m++});else{var W=c.nextLiftedState;h=W.monitorState,y=W.actionsById,m=W.nextActionId,_=W.stagedActionIds,b=W.skippedActionIds,w=W.committedState,T=W.currentStateIndex,S=W.computedStates,c.noRecompute&&(k=1/0)}break;case E.LOCK_CHANGES:x=c.status,k=1/0;break;case E.PAUSE_RECORDING:if(O=c.status)return f(!0);y={0:s(C)},m=1,_=[0],b=[],w=S[T].state,T=0,S=[];break;case"@@redux/INIT":if(r.shouldHotReload===!1&&u)return u;k=0,r.maxAge&&_.length>r.maxAge&&(S=a(S,k,e,w,y,_,b,r.shouldCatchErrors),l(_.length-r.maxAge),k=1/0);break;default:k=1/0}return S=a(S,k,e,w,y,_,b,r.shouldCatchErrors),h=n(h,c),{monitorState:h,actionsById:y,nextActionId:m,stagedActionIds:_,skippedActionIds:b,committedState:w,currentStateIndex:T,computedStates:S,isLocked:x,isPaused:O}}}function c(e){var t=e.computedStates,n=e.currentStateIndex,r=t[n].state;return r}function l(e,t){function n(){var t=c(e.getState());return void 0!==t&&(o=t),o}var r,o=void 0;return p({},e,(r={liftedStore:e,dispatch:function(t){return e.dispatch(s(t)),t},getState:n,replaceReducer:function(n){e.replaceReducer(t(n))}},r[w.default]=function(){return p({},e[w.default](),{subscribe:function(t){function r(){t.next&&t.next(n())}if("object"!==("undefined"==typeof t?"undefined":d(t)))throw new TypeError("Expected the observer to be an object.");r();var o=e.subscribe(r);return{unsubscribe:o}}})},r))}function f(){var e=arguments.length<=0||void 0===arguments[0]?function(){return null}:arguments[0],t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];if(null!=t.maxAge&&t.maxAge<2)throw new Error("DevTools.instrument({ maxAge }) option, if specified, may not be less than 2.");return function(n){return function(r,o,i){function a(n){if("function"!=typeof n){if(n&&"function"==typeof n.default)throw new Error('Expected the reducer to be a function. Instead got an object with a "default" field. Did you pass a module instead of the default export? Try passing require(...).default instead.');throw new Error("Expected the reducer to be a function.")}return u(n,o,e,t)}var s=n(a(r),i);if(s.liftedStore)throw new Error("DevTools instrumentation should not be applied more than once. Check your store configuration.");return l(s,a)}}}t.__esModule=!0,t.INIT_ACTION=t.ActionCreators=t.ActionTypes=void 0;var p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};t.liftAction=s,t.liftReducerWith=u,t.unliftState=c,t.unliftStore=l,t.default=f;var h=n(950),v=r(h),y=n(417),g=r(y),m=n(61),_=r(m),b=n(477),w=r(b),E=t.ActionTypes={PERFORM_ACTION:"PERFORM_ACTION",RESET:"RESET",ROLLBACK:"ROLLBACK",COMMIT:"COMMIT",SWEEP:"SWEEP",TOGGLE_ACTION:"TOGGLE_ACTION",SET_ACTIONS_ACTIVE:"SET_ACTIONS_ACTIVE",JUMP_TO_STATE:"JUMP_TO_STATE",JUMP_TO_ACTION:"JUMP_TO_ACTION",REORDER_ACTION:"REORDER_ACTION",IMPORT_STATE:"IMPORT_STATE",LOCK_CHANGES:"LOCK_CHANGES",PAUSE_RECORDING:"PAUSE_RECORDING"},T=t.ActionCreators={performAction:function(e){if(!(0,_.default)(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if("undefined"==typeof e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');return{type:E.PERFORM_ACTION,action:e,timestamp:Date.now()}},reset:function(){return{type:E.RESET,timestamp:Date.now()}},rollback:function(){return{type:E.ROLLBACK,timestamp:Date.now()}},commit:function(){return{type:E.COMMIT,timestamp:Date.now()}},sweep:function(){return{type:E.SWEEP}},toggleAction:function(e){return{type:E.TOGGLE_ACTION,id:e}},setActionsActive:function(e,t){var n=arguments.length<=2||void 0===arguments[2]||arguments[2];return{type:E.SET_ACTIONS_ACTIVE,start:e,end:t,active:n}},reorderAction:function(e,t){return{type:E.REORDER_ACTION,actionId:e,beforeActionId:t}},jumpToState:function(e){return{type:E.JUMP_TO_STATE,index:e}},jumpToAction:function(e){return{type:E.JUMP_TO_ACTION,actionId:e}},importState:function(e,t){return{type:E.IMPORT_STATE,nextLiftedState:e,noRecompute:t}},lockChanges:function(e){return{type:E.LOCK_CHANGES,status:e}},pauseRecording:function(e){return{type:E.PAUSE_RECORDING,status:e}}},C=t.INIT_ACTION={type:"@@INIT"}},function(e,t){"use strict";function n(e){return{type:o,scrollTop:e}}function r(e){return{type:i,id:e}}t.__esModule=!0,t.updateScrollTop=n,t.startConsecutiveToggle=r;var o=t.UPDATE_SCROLL_TOP="@@redux-devtools-log-monitor/UPDATE_SCROLL_TOP",i=t.START_CONSECUTIVE_TOGGLE="@@redux-devtools-log-monitor/START_CONSECUTIVE_TOGGLE"},function(e,t){"use strict";function n(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(0===t.length)return function(e){return e};if(1===t.length)return t[0];var r=t[t.length-1],o=t.slice(0,-1);return function(){return o.reduceRight(function(e,t){return t(e)},r.apply(void 0,arguments))}}t.__esModule=!0,t.default=n},function(e,t){"use strict";function n(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e);try{throw new Error(e)}catch(e){}}t.__esModule=!0,t.default=n},function(e,t,n){e.exports=n(1147)},function(e,t){function n(e){return e.replace(/\n\r?\s*/g,"")}e.exports=function(e){for(var t="",r=0;r<arguments.length;r++)t+=n(e[r])+(arguments[r+1]||"");return t}},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(151),c=o(u),l=n(7),f=o(l),p=n(22),d=r(p),h=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.on(n,"volumechange",o.update),n.tech_&&n.tech_.featuresVolumeControl===!1&&o.addClass("vjs-hidden"),o.on(n,"loadstart",function(){this.update(),n.tech_.featuresVolumeControl===!1?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")}),o}return s(t,e),t.prototype.buildCSSClass=function(){return"vjs-mute-control "+e.prototype.buildCSSClass.call(this)},t.prototype.handleClick=function(e){this.player_.muted(!this.player_.muted())},t.prototype.update=function(e){var t=this.player_.volume(),n=3;0===t||this.player_.muted()?n=0:t<.33?n=1:t<.67&&(n=2);var r=this.player_.muted()?"Unmute":"Mute";this.controlText()!==r&&this.controlText(r);for(var o=0;o<4;o++)d.removeElClass(this.el_,"vjs-vol-"+o);d.addElClass(this.el_,"vjs-vol-"+n)},t}(c.default);h.prototype.controlText_="Mute",f.default.registerComponent("MuteToggle",h),t.default=h},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(483),c=o(u),l=n(7),f=o(l),p=n(19),d=r(p),h=function(e){function t(n,r){i(this,t);var o=r.tracks,s=a(this,e.call(this,n,r));if(s.items.length<=1&&s.hide(),!o)return a(s);var u=d.bind(s,s.update);return o.addEventListener("removetrack",u),o.addEventListener("addtrack",u),s.player_.on("dispose",function(){o.removeEventListener("removetrack",u),o.removeEventListener("addtrack",u)}),s}return s(t,e),t}(c.default);f.default.registerComponent("TrackButton",h),t.default=h},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(487),c=o(u),l=n(7),f=o(l),p=n(19),d=r(p);n(1180);var h=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.on(n,"volumechange",o.updateARIAAttributes),n.ready(d.bind(o,o.updateARIAAttributes)),o}return s(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-volume-bar vjs-slider-bar"},{"aria-label":"volume level"})},t.prototype.handleMouseMove=function(e){this.checkMuted(),this.player_.volume(this.calculateDistance(e))},t.prototype.checkMuted=function(){this.player_.muted()&&this.player_.muted(!1)},t.prototype.getPercent=function(){return this.player_.muted()?0:this.player_.volume()},t.prototype.stepForward=function(){this.checkMuted(),this.player_.volume(this.player_.volume()+.1)},t.prototype.stepBack=function(){this.checkMuted(),this.player_.volume(this.player_.volume()-.1)},t.prototype.updateARIAAttributes=function(e){var t=(100*this.player_.volume()).toFixed(2);this.el_.setAttribute("aria-valuenow",t),this.el_.setAttribute("aria-valuetext",t+"%")},t}(c.default);h.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"},h.prototype.playerEvent="volumechange",f.default.registerComponent("VolumeBar",h),t.default=h},function(e,t,n){"use strict";function r(e){return e instanceof r?e:("number"==typeof e?this.code=e:"string"==typeof e?this.message=e:(0,o.isObject)(e)&&("number"==typeof e.code&&(this.code=e.code),(0,o.assign)(this,e)),void(this.message||(this.message=r.defaultMessages[this.code]||"")))}t.__esModule=!0;var o=n(33);r.prototype.code=0,r.prototype.message="",r.prototype.status=null,r.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"],r.defaultMessages={1:"You aborted the media playback",2:"A network error caused the media download to fail part-way.",3:"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.",4:"The media could not be loaded, either because the server or network failed or because the format is not supported.",5:"The media is encrypted and we do not have the keys to decrypt it."};for(var i=0;i<r.errorTypes.length;i++)r[r.errorTypes[i]]=i,r.prototype[r.errorTypes[i]]=i;t.default=r},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(152),c=o(u),l=n(7),f=o(l),p=n(484),d=o(p),h=n(22),v=r(h),y=n(19),g=r(y),m=n(128),_=o(m),b=function(e){function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};i(this,t);var o=a(this,e.call(this,n,r));return o.update(),o.enabled_=!0,o.el_.setAttribute("aria-haspopup","true"),o.el_.setAttribute("role","menuitem"),o.on("keydown",o.handleSubmenuKeyPress),o}return s(t,e),t.prototype.update=function(){var e=this.createMenu();this.menu&&this.removeChild(this.menu),this.menu=e,this.addChild(e),this.buttonPressed_=!1,this.el_.setAttribute("aria-expanded","false"),this.items&&this.items.length<=this.hideThreshold_?this.hide():this.show()},t.prototype.createMenu=function(){var e=new d.default(this.player_);if(this.hideThreshold_=0,this.options_.title){var t=v.createEl("li",{className:"vjs-menu-title",innerHTML:(0,_.default)(this.options_.title),tabIndex:-1});this.hideThreshold_+=1,e.children_.unshift(t),v.insertElFirst(t,e.contentEl())}if(this.items=this.createItems(),this.items)for(var n=0;n<this.items.length;n++)e.addItem(this.items[n]);return e},t.prototype.createItems=function(){},t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},t.prototype.buildCSSClass=function(){var t="vjs-menu-button";return t+=this.options_.inline===!0?"-inline":"-popup","vjs-menu-button "+t+" "+e.prototype.buildCSSClass.call(this)},t.prototype.handleClick=function(e){this.one(this.menu.contentEl(),"mouseleave",g.bind(this,function(e){this.unpressButton(),this.el_.blur()})),this.buttonPressed_?this.unpressButton():this.pressButton()},t.prototype.handleKeyPress=function(t){27===t.which||9===t.which?(this.buttonPressed_&&this.unpressButton(),9!==t.which&&t.preventDefault()):38===t.which||40===t.which?this.buttonPressed_||(this.pressButton(),t.preventDefault()):e.prototype.handleKeyPress.call(this,t)},t.prototype.handleSubmenuKeyPress=function(e){27!==e.which&&9!==e.which||(this.buttonPressed_&&this.unpressButton(),9!==e.which&&e.preventDefault())},t.prototype.pressButton=function(){this.enabled_&&(this.buttonPressed_=!0,this.menu.lockShowing(),this.el_.setAttribute("aria-expanded","true"),this.menu.focus())},t.prototype.unpressButton=function(){this.enabled_&&(this.buttonPressed_=!1,this.menu.unlockShowing(),this.el_.setAttribute("aria-expanded","false"),this.el_.focus())},t.prototype.disable=function(){return this.buttonPressed_=!1,this.menu.unlockShowing(),this.el_.setAttribute("aria-expanded","false"),this.enabled_=!1,e.prototype.disable.call(this)},t.prototype.enable=function(){return this.enabled_=!0,e.prototype.enable.call(this)},t}(c.default);f.default.registerComponent("MenuButton",b),t.default=b},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(7),c=o(u),l=n(22),f=r(l),p=n(19),d=r(p),h=n(81),v=r(h),y=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.focusedChild_=-1,o.on("keydown",o.handleKeyPress),o}return s(t,e),t.prototype.addItem=function(e){this.addChild(e),e.on("click",d.bind(this,function(e){this.unlockShowing()}))},t.prototype.createEl=function(){var t=this.options_.contentElType||"ul";this.contentEl_=f.createEl(t,{className:"vjs-menu-content"}),this.contentEl_.setAttribute("role","menu");var n=e.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"});return n.setAttribute("role","presentation"),n.appendChild(this.contentEl_),v.on(n,"click",function(e){e.preventDefault(),e.stopImmediatePropagation()}),n},t.prototype.handleKeyPress=function(e){37===e.which||40===e.which?(e.preventDefault(),this.stepForward()):38!==e.which&&39!==e.which||(e.preventDefault(),this.stepBack())},t.prototype.stepForward=function(){var e=0;void 0!==this.focusedChild_&&(e=this.focusedChild_+1),this.focus(e)},t.prototype.stepBack=function(){var e=0;void 0!==this.focusedChild_&&(e=this.focusedChild_-1),this.focus(e)},t.prototype.focus=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=this.children().slice(),n=t.length&&t[0].className&&/vjs-menu-title/.test(t[0].className);n&&t.shift(),t.length>0&&(e<0?e=0:e>=t.length&&(e=t.length-1),this.focusedChild_=e,t[e].el_.focus())},t}(c.default);c.default.registerComponent("Menu",y),t.default=y},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(22),c=o(u),l=n(19),f=o(l),p=n(7),d=r(p),h="vjs-modal-dialog",v=27,y=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.opened_=o.hasBeenOpened_=o.hasBeenFilled_=!1,o.closeable(!o.options_.uncloseable),o.content(o.options_.content),o.contentEl_=c.createEl("div",{className:h+"-content"},{role:"document"}),o.descEl_=c.createEl("p",{className:h+"-description vjs-offscreen",id:o.el().getAttribute("aria-describedby")}),c.textContent(o.descEl_,o.description()),o.el_.appendChild(o.descEl_),o.el_.appendChild(o.contentEl_),o}return s(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:this.buildCSSClass(),tabIndex:-1},{"aria-describedby":this.id()+"_description","aria-hidden":"true","aria-label":this.label(),role:"dialog"})},t.prototype.buildCSSClass=function(){return h+" vjs-hidden "+e.prototype.buildCSSClass.call(this)},t.prototype.handleKeyPress=function(e){e.which===v&&this.closeable()&&this.close()},t.prototype.label=function(){return this.options_.label||this.localize("Modal Window")},t.prototype.description=function(){var e=this.options_.description||this.localize("This is a modal window.");return this.closeable()&&(e+=" "+this.localize("This modal can be closed by pressing the Escape key or activating the close button.")),e},t.prototype.open=function(){if(!this.opened_){var e=this.player();this.trigger("beforemodalopen"),this.opened_=!0,(this.options_.fillAlways||!this.hasBeenOpened_&&!this.hasBeenFilled_)&&this.fill(),this.wasPlaying_=!e.paused(),this.options_.pauseOnOpen&&this.wasPlaying_&&e.pause(),this.closeable()&&this.on(this.el_.ownerDocument,"keydown",f.bind(this,this.handleKeyPress)),e.controls(!1),this.show(),this.el().setAttribute("aria-hidden","false"),this.trigger("modalopen"),this.hasBeenOpened_=!0}return this},t.prototype.opened=function(e){return"boolean"==typeof e&&this[e?"open":"close"](),this.opened_},t.prototype.close=function(){if(this.opened_){var e=this.player();this.trigger("beforemodalclose"),this.opened_=!1,this.wasPlaying_&&this.options_.pauseOnOpen&&e.play(),this.closeable()&&this.off(this.el_.ownerDocument,"keydown",f.bind(this,this.handleKeyPress)),e.controls(!0),this.hide(),this.el().setAttribute("aria-hidden","true"),this.trigger("modalclose"),this.options_.temporary&&this.dispose()}return this},t.prototype.closeable=function e(t){if("boolean"==typeof t){var e=this.closeable_=!!t,n=this.getChild("closeButton");if(e&&!n){var r=this.contentEl_;this.contentEl_=this.el_,n=this.addChild("closeButton",{controlText:"Close Modal Dialog"}),this.contentEl_=r,this.on(n,"close",this.close)}!e&&n&&(this.off(n,"close",this.close),this.removeChild(n),n.dispose())}return this.closeable_},t.prototype.fill=function(){return this.fillWith(this.content())},t.prototype.fillWith=function(e){var t=this.contentEl(),n=t.parentNode,r=t.nextSibling;return this.trigger("beforemodalfill"),this.hasBeenFilled_=!0,n.removeChild(t),this.empty(),c.insertContent(t,e),this.trigger("modalfill"),r?n.insertBefore(t,r):n.appendChild(t),this},t.prototype.empty=function(){return this.trigger("beforemodalempty"),c.emptyEl(this.contentEl()),this.trigger("modalempty"),this},t.prototype.content=function(e){return"undefined"!=typeof e&&(this.content_=e),this.content_},t}(d.default);y.prototype.options_={pauseOnOpen:!0,temporary:!0},d.default.registerComponent("ModalDialog",y),t.default=y},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(7),c=o(u),l=n(26),f=o(l),p=n(29),d=o(p),h=n(81),v=r(h),y=n(22),g=r(y),m=n(19),_=r(m),b=n(127),w=r(b),E=n(32),T=r(E),C=n(44),S=o(C),x=n(128),O=o(x),k=n(154),P=n(490),M=n(491),A=r(M),I=n(1184),j=o(I),D=n(482),R=o(D),N=n(1140),L=o(N),F=n(33),U=n(74),B=o(U),q=n(1200),z=o(q),W=n(485),H=o(W),V=n(153),G=o(V),K=n(488),$=o(K),X=n(489),Y=o(X);n(1194),n(1192),n(1189),n(1199),n(1185),n(1150),n(1151),n(1154),n(1182),n(1202),n(1193);var Q=["progress","abort","suspend","emptied","stalled","loadedmetadata","loadeddata","timeupdate","ratechange","volumechange","texttrackchange"],J=function(e){function t(n,r,o){if(i(this,t),n.id=n.id||"vjs_video_"+w.newGUID(),r=(0,F.assign)(t.getTagSettings(n),r),r.initChildren=!1,r.createEl=!1,r.reportTouchActivity=!1,!r.language)if("function"==typeof n.closest){var s=n.closest("[lang]");s&&(r.language=s.getAttribute("lang"))}else for(var u=n;u&&1===u.nodeType;){if(g.getElAttributes(u).hasOwnProperty("lang")){r.language=u.getAttribute("lang");break}u=u.parentNode;
-}var c=a(this,e.call(this,null,r,o));if(!c.options_||!c.options_.techOrder||!c.options_.techOrder.length)throw new Error("No techOrder specified. Did you overwrite videojs.options instead of just changing the properties you want to override?");if(c.tag=n,c.tagAttributes=n&&g.getElAttributes(n),c.language(c.options_.language),r.languages){var l={};Object.getOwnPropertyNames(r.languages).forEach(function(e){l[e.toLowerCase()]=r.languages[e]}),c.languages_=l}else c.languages_=t.prototype.options_.languages;c.cache_={},c.poster_=r.poster||"",c.controls_=!!r.controls,n.controls=!1,c.scrubbing_=!1,c.el_=c.createEl();var f=(0,B.default)(c.options_);if(r.plugins){var p=r.plugins;Object.getOwnPropertyNames(p).forEach(function(e){"function"==typeof this[e]?this[e](p[e]):S.default.error("Unable to find plugin:",e)},c)}return c.options_.playerOptions=f,c.initChildren(),c.isAudio("audio"===n.nodeName.toLowerCase()),c.controls()?c.addClass("vjs-controls-enabled"):c.addClass("vjs-controls-disabled"),c.el_.setAttribute("role","region"),c.isAudio()?c.el_.setAttribute("aria-label","audio player"):c.el_.setAttribute("aria-label","video player"),c.isAudio()&&c.addClass("vjs-audio"),c.flexNotSupported_()&&c.addClass("vjs-no-flex"),T.IS_IOS||c.addClass("vjs-workinghover"),t.players[c.id_]=c,c.userActive(!0),c.reportUserActivity(),c.listenForUserActivity_(),c.on("fullscreenchange",c.handleFullscreenChange_),c.on("stageclick",c.handleStageClick_),c}return s(t,e),t.prototype.dispose=function(){this.trigger("dispose"),this.off("dispose"),this.styleEl_&&this.styleEl_.parentNode&&this.styleEl_.parentNode.removeChild(this.styleEl_),t.players[this.id_]=null,this.tag&&this.tag.player&&(this.tag.player=null),this.el_&&this.el_.player&&(this.el_.player=null),this.tech_&&this.tech_.dispose(),e.prototype.dispose.call(this)},t.prototype.createEl=function(){var t=this.tag,n=void 0,r=this.playerElIngest_=t.parentNode&&t.parentNode.hasAttribute&&t.parentNode.hasAttribute("data-vjs-player");n=r?this.el_=t.parentNode:this.el_=e.prototype.createEl.call(this,"div"),t.setAttribute("tabindex","-1"),t.removeAttribute("width"),t.removeAttribute("height");var o=g.getElAttributes(t);if(Object.getOwnPropertyNames(o).forEach(function(e){"class"===e?n.className+=" "+o[e]:n.setAttribute(e,o[e])}),t.playerId=t.id,t.id+="_html5_api",t.className="vjs-tech",t.player=n.player=this,this.addClass("vjs-paused"),d.default.VIDEOJS_NO_DYNAMIC_STYLE!==!0){this.styleEl_=A.createStyleElement("vjs-styles-dimensions");var i=g.$(".vjs-styles-defaults"),a=g.$("head");a.insertBefore(this.styleEl_,i?i.nextSibling:a.firstChild)}this.width(this.options_.width),this.height(this.options_.height),this.fluid(this.options_.fluid),this.aspectRatio(this.options_.aspectRatio);for(var s=t.getElementsByTagName("a"),u=0;u<s.length;u++){var c=s.item(u);g.addElClass(c,"vjs-hidden"),c.setAttribute("hidden","hidden")}return t.initNetworkState_=t.networkState,t.parentNode&&!r&&t.parentNode.insertBefore(n,t),g.insertElFirst(t,n),this.children_.unshift(t),this.el_=n,n},t.prototype.width=function(e){return this.dimension("width",e)},t.prototype.height=function(e){return this.dimension("height",e)},t.prototype.dimension=function(e,t){var n=e+"_";if(void 0===t)return this[n]||0;if(""===t)this[n]=void 0;else{var r=parseFloat(t);if(isNaN(r))return S.default.error('Improper value "'+t+'" supplied for for '+e),this;this[n]=r}return this.updateStyleEl_(),this},t.prototype.fluid=function(e){return void 0===e?!!this.fluid_:(this.fluid_=!!e,e?this.addClass("vjs-fluid"):this.removeClass("vjs-fluid"),void this.updateStyleEl_())},t.prototype.aspectRatio=function(e){if(void 0===e)return this.aspectRatio_;if(!/^\d+\:\d+$/.test(e))throw new Error("Improper value supplied for aspect ratio. The format should be width:height, for example 16:9.");this.aspectRatio_=e,this.fluid(!0),this.updateStyleEl_()},t.prototype.updateStyleEl_=function(){if(d.default.VIDEOJS_NO_DYNAMIC_STYLE===!0){var e="number"==typeof this.width_?this.width_:this.options_.width,t="number"==typeof this.height_?this.height_:this.options_.height,n=this.tech_&&this.tech_.el();return void(n&&(e>=0&&(n.width=e),t>=0&&(n.height=t)))}var r=void 0,o=void 0,i=void 0,a=void 0;i=void 0!==this.aspectRatio_&&"auto"!==this.aspectRatio_?this.aspectRatio_:this.videoWidth()>0?this.videoWidth()+":"+this.videoHeight():"16:9";var s=i.split(":"),u=s[1]/s[0];r=void 0!==this.width_?this.width_:void 0!==this.height_?this.height_/u:this.videoWidth()||300,o=void 0!==this.height_?this.height_:r*u,a=/^[^a-zA-Z]/.test(this.id())?"dimensions-"+this.id():this.id()+"-dimensions",this.addClass(a),A.setTextContent(this.styleEl_,"\n      ."+a+" {\n        width: "+r+"px;\n        height: "+o+"px;\n      }\n\n      ."+a+".vjs-fluid {\n        padding-top: "+100*u+"%;\n      }\n    ")},t.prototype.loadTech_=function(e,t){var n=this;this.tech_&&this.unloadTech_(),"Html5"!==e&&this.tag&&(G.default.getTech("Html5").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null),this.techName_=e,this.isReady_=!1;var r=(0,F.assign)({source:t,nativeControlsForTouch:this.options_.nativeControlsForTouch,playerId:this.id(),techId:this.id()+"_"+e+"_api",videoTracks:this.videoTracks_,textTracks:this.textTracks_,audioTracks:this.audioTracks_,autoplay:this.options_.autoplay,preload:this.options_.preload,loop:this.options_.loop,muted:this.options_.muted,poster:this.poster(),language:this.language(),playerElIngest:this.playerElIngest_||!1,"vtt.js":this.options_["vtt.js"]},this.options_[e.toLowerCase()]);this.tag&&(r.tag=this.tag),t&&(this.currentType_=t.type,t.src===this.cache_.src&&this.cache_.currentTime>0&&(r.startTime=this.cache_.currentTime),this.cache_.sources=null,this.cache_.source=t,this.cache_.src=t.src);var o=G.default.getTech(e);o||(o=c.default.getComponent(e)),this.tech_=new o(r),this.tech_.ready(_.bind(this,this.handleTechReady_),!0),z.default.jsonToTextTracks(this.textTracksJson_||[],this.tech_),Q.forEach(function(e){n.on(n.tech_,e,n["handleTech"+(0,O.default)(e)+"_"])}),this.on(this.tech_,"loadstart",this.handleTechLoadStart_),this.on(this.tech_,"waiting",this.handleTechWaiting_),this.on(this.tech_,"canplay",this.handleTechCanPlay_),this.on(this.tech_,"canplaythrough",this.handleTechCanPlayThrough_),this.on(this.tech_,"playing",this.handleTechPlaying_),this.on(this.tech_,"ended",this.handleTechEnded_),this.on(this.tech_,"seeking",this.handleTechSeeking_),this.on(this.tech_,"seeked",this.handleTechSeeked_),this.on(this.tech_,"play",this.handleTechPlay_),this.on(this.tech_,"firstplay",this.handleTechFirstPlay_),this.on(this.tech_,"pause",this.handleTechPause_),this.on(this.tech_,"durationchange",this.handleTechDurationChange_),this.on(this.tech_,"fullscreenchange",this.handleTechFullscreenChange_),this.on(this.tech_,"error",this.handleTechError_),this.on(this.tech_,"loadedmetadata",this.updateStyleEl_),this.on(this.tech_,"posterchange",this.handleTechPosterChange_),this.on(this.tech_,"textdata",this.handleTechTextData_),this.usingNativeControls(this.techGet_("controls")),this.controls()&&!this.usingNativeControls()&&this.addTechControlsListeners_(),this.tech_.el().parentNode===this.el()||"Html5"===e&&this.tag||g.insertElFirst(this.tech_.el(),this.el()),this.tag&&(this.tag.player=null,this.tag=null)},t.prototype.unloadTech_=function(){this.videoTracks_=this.videoTracks(),this.textTracks_=this.textTracks(),this.audioTracks_=this.audioTracks(),this.textTracksJson_=z.default.textTracksToJson(this.tech_),this.isReady_=!1,this.tech_.dispose(),this.tech_=!1},t.prototype.tech=function(e){if(e&&e.IWillNotUseThisInPlugins)return this.tech_;var t="\n      Please make sure that you are not using this inside of a plugin.\n      To disable this alert and error, please pass in an object with\n      `IWillNotUseThisInPlugins` to the `tech` method. See\n      https://github.com/videojs/video.js/issues/2617 for more info.\n    ";throw d.default.alert(t),new Error(t)},t.prototype.addTechControlsListeners_=function(){this.removeTechControlsListeners_(),this.on(this.tech_,"mousedown",this.handleTechClick_),this.on(this.tech_,"touchstart",this.handleTechTouchStart_),this.on(this.tech_,"touchmove",this.handleTechTouchMove_),this.on(this.tech_,"touchend",this.handleTechTouchEnd_),this.on(this.tech_,"tap",this.handleTechTap_)},t.prototype.removeTechControlsListeners_=function(){this.off(this.tech_,"tap",this.handleTechTap_),this.off(this.tech_,"touchstart",this.handleTechTouchStart_),this.off(this.tech_,"touchmove",this.handleTechTouchMove_),this.off(this.tech_,"touchend",this.handleTechTouchEnd_),this.off(this.tech_,"mousedown",this.handleTechClick_)},t.prototype.handleTechReady_=function(){if(this.triggerReady(),this.cache_.volume&&this.techCall_("setVolume",this.cache_.volume),this.handleTechPosterChange_(),this.handleTechDurationChange_(),(this.src()||this.currentSrc())&&this.tag&&this.options_.autoplay&&this.paused()){try{delete this.tag.poster}catch(e){(0,S.default)("deleting tag.poster throws in some browsers",e)}this.play()}},t.prototype.handleTechLoadStart_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-seeking"),this.error(null),this.paused()?(this.hasStarted(!1),this.trigger("loadstart")):(this.trigger("loadstart"),this.trigger("firstplay"))},t.prototype.hasStarted=function(e){return void 0!==e?(this.hasStarted_!==e&&(this.hasStarted_=e,e?(this.addClass("vjs-has-started"),this.trigger("firstplay")):this.removeClass("vjs-has-started")),this):!!this.hasStarted_},t.prototype.handleTechPlay_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.hasStarted(!0),this.trigger("play")},t.prototype.handleTechWaiting_=function(){var e=this;this.addClass("vjs-waiting"),this.trigger("waiting"),this.one("timeupdate",function(){return e.removeClass("vjs-waiting")})},t.prototype.handleTechCanPlay_=function(){this.removeClass("vjs-waiting"),this.trigger("canplay")},t.prototype.handleTechCanPlayThrough_=function(){this.removeClass("vjs-waiting"),this.trigger("canplaythrough")},t.prototype.handleTechPlaying_=function(){this.removeClass("vjs-waiting"),this.trigger("playing")},t.prototype.handleTechSeeking_=function(){this.addClass("vjs-seeking"),this.trigger("seeking")},t.prototype.handleTechSeeked_=function(){this.removeClass("vjs-seeking"),this.trigger("seeked")},t.prototype.handleTechFirstPlay_=function(){this.options_.starttime&&(S.default.warn("Passing the `starttime` option to the player will be deprecated in 6.0"),this.currentTime(this.options_.starttime)),this.addClass("vjs-has-started"),this.trigger("firstplay")},t.prototype.handleTechPause_=function(){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.trigger("pause")},t.prototype.handleTechEnded_=function(){this.addClass("vjs-ended"),this.options_.loop?(this.currentTime(0),this.play()):this.paused()||this.pause(),this.trigger("ended")},t.prototype.handleTechDurationChange_=function(){this.duration(this.techGet_("duration"))},t.prototype.handleTechClick_=function(e){0===e.button&&this.controls()&&(this.paused()?this.play():this.pause())},t.prototype.handleTechTap_=function(){this.userActive(!this.userActive())},t.prototype.handleTechTouchStart_=function(){this.userWasActive=this.userActive()},t.prototype.handleTechTouchMove_=function(){this.userWasActive&&this.reportUserActivity()},t.prototype.handleTechTouchEnd_=function(e){e.preventDefault()},t.prototype.handleFullscreenChange_=function(){this.isFullscreen()?this.addClass("vjs-fullscreen"):this.removeClass("vjs-fullscreen")},t.prototype.handleStageClick_=function(){this.reportUserActivity()},t.prototype.handleTechFullscreenChange_=function(e,t){t&&this.isFullscreen(t.isFullscreen),this.trigger("fullscreenchange")},t.prototype.handleTechError_=function(){var e=this.tech_.error();this.error(e)},t.prototype.handleTechTextData_=function(){var e=null;arguments.length>1&&(e=arguments[1]),this.trigger("textdata",e)},t.prototype.getCache=function(){return this.cache_},t.prototype.techCall_=function(e,t){if(this.tech_&&!this.tech_.isReady_)this.tech_.ready(function(){this[e](t)},!0);else try{this.tech_&&this.tech_[e](t)}catch(e){throw(0,S.default)(e),e}},t.prototype.techGet_=function(e){if(this.tech_&&this.tech_.isReady_)try{return this.tech_[e]()}catch(t){throw void 0===this.tech_[e]?(0,S.default)("Video.js: "+e+" method not defined for "+this.techName_+" playback technology.",t):"TypeError"===t.name?((0,S.default)("Video.js: "+e+" unavailable on "+this.techName_+" playback technology element.",t),this.tech_.isReady_=!1):(0,S.default)(t),t}},t.prototype.play=function(){return this.src()||this.currentSrc()?this.techCall_("play"):this.tech_.one("loadstart",function(){this.play()}),this},t.prototype.pause=function(){return this.techCall_("pause"),this},t.prototype.paused=function(){return this.techGet_("paused")!==!1},t.prototype.scrubbing=function(e){return void 0!==e?(this.scrubbing_=!!e,e?this.addClass("vjs-scrubbing"):this.removeClass("vjs-scrubbing"),this):this.scrubbing_},t.prototype.currentTime=function(e){return void 0!==e?(this.techCall_("setCurrentTime",e),this):(this.cache_.currentTime=this.techGet_("currentTime")||0,this.cache_.currentTime)},t.prototype.duration=function(e){return void 0===e?this.cache_.duration||0:(e=parseFloat(e)||0,e<0&&(e=1/0),e!==this.cache_.duration&&(this.cache_.duration=e,e===1/0?this.addClass("vjs-live"):this.removeClass("vjs-live"),this.trigger("durationchange")),this)},t.prototype.remainingTime=function(){return this.duration()-this.currentTime()},t.prototype.buffered=function e(){var e=this.techGet_("buffered");return e&&e.length||(e=(0,k.createTimeRange)(0,0)),e},t.prototype.bufferedPercent=function(){return(0,P.bufferedPercent)(this.buffered(),this.duration())},t.prototype.bufferedEnd=function(){var e=this.buffered(),t=this.duration(),n=e.end(e.length-1);return n>t&&(n=t),n},t.prototype.volume=function(e){var t=void 0;return void 0!==e?(t=Math.max(0,Math.min(1,parseFloat(e))),this.cache_.volume=t,this.techCall_("setVolume",t),this):(t=parseFloat(this.techGet_("volume")),isNaN(t)?1:t)},t.prototype.muted=function(e){return void 0!==e?(this.techCall_("setMuted",e),this):this.techGet_("muted")||!1},t.prototype.supportsFullScreen=function(){return this.techGet_("supportsFullScreen")||!1},t.prototype.isFullscreen=function(e){return void 0!==e?(this.isFullscreen_=!!e,this):!!this.isFullscreen_},t.prototype.requestFullscreen=function(){var e=j.default;return this.isFullscreen(!0),e.requestFullscreen?(v.on(f.default,e.fullscreenchange,_.bind(this,function t(n){this.isFullscreen(f.default[e.fullscreenElement]),this.isFullscreen()===!1&&v.off(f.default,e.fullscreenchange,t),this.trigger("fullscreenchange")})),this.el_[e.requestFullscreen]()):this.tech_.supportsFullScreen()?this.techCall_("enterFullScreen"):(this.enterFullWindow(),this.trigger("fullscreenchange")),this},t.prototype.exitFullscreen=function(){var e=j.default;return this.isFullscreen(!1),e.requestFullscreen?f.default[e.exitFullscreen]():this.tech_.supportsFullScreen()?this.techCall_("exitFullScreen"):(this.exitFullWindow(),this.trigger("fullscreenchange")),this},t.prototype.enterFullWindow=function(){this.isFullWindow=!0,this.docOrigOverflow=f.default.documentElement.style.overflow,v.on(f.default,"keydown",_.bind(this,this.fullWindowOnEscKey)),f.default.documentElement.style.overflow="hidden",g.addElClass(f.default.body,"vjs-full-window"),this.trigger("enterFullWindow")},t.prototype.fullWindowOnEscKey=function(e){27===e.keyCode&&(this.isFullscreen()===!0?this.exitFullscreen():this.exitFullWindow())},t.prototype.exitFullWindow=function(){this.isFullWindow=!1,v.off(f.default,"keydown",this.fullWindowOnEscKey),f.default.documentElement.style.overflow=this.docOrigOverflow,g.removeElClass(f.default.body,"vjs-full-window"),this.trigger("exitFullWindow")},t.prototype.canPlayType=function(e){for(var t=void 0,n=0,r=this.options_.techOrder;n<r.length;n++){var o=(0,O.default)(r[n]),i=G.default.getTech(o);if(i||(i=c.default.getComponent(o)),i){if(i.isSupported()&&(t=i.canPlayType(e)))return t}else S.default.error('The "'+o+'" tech is undefined. Skipped browser support check for that tech.')}return""},t.prototype.selectSource=function(e){var t=this,n=this.options_.techOrder.map(O.default).map(function(e){return[e,G.default.getTech(e)||c.default.getComponent(e)]}).filter(function(e){var t=e[0],n=e[1];return n?n.isSupported():(S.default.error('The "'+t+'" tech is undefined. Skipped browser support check for that tech.'),!1)}),r=function(e,t,n){var r=void 0;return e.some(function(e){return t.some(function(t){if(r=n(e,t))return!0})}),r},o=void 0,i=function(e){return function(t,n){return e(n,t)}},a=function(e,n){var r=e[0],o=e[1];if(o.canPlaySource(n,t.options_[r.toLowerCase()]))return{source:n,tech:r}};return o=this.options_.sourceOrder?r(e,n,i(a)):r(n,e,a),o||!1},t.prototype.src=function(e){if(void 0===e)return this.techGet_("src");var t=G.default.getTech(this.techName_);return t||(t=c.default.getComponent(this.techName_)),Array.isArray(e)?this.sourceList_(e):"string"==typeof e?this.src({src:e}):e instanceof Object&&(e.type&&!t.canPlaySource(e,this.options_[this.techName_.toLowerCase()])?this.sourceList_([e]):(this.cache_.sources=null,this.cache_.source=e,this.cache_.src=e.src,this.currentType_=e.type||"",this.ready(function(){t.prototype.hasOwnProperty("setSource")?this.techCall_("setSource",e):this.techCall_("src",e.src),"auto"===this.options_.preload&&this.load(),this.options_.autoplay&&this.play()},!0))),this},t.prototype.sourceList_=function(e){var t=this.selectSource(e);t?(t.tech===this.techName_?this.src(t.source):this.loadTech_(t.tech,t.source),this.cache_.sources=e):(this.setTimeout(function(){this.error({code:4,message:this.localize(this.options_.notSupportedMessage)})},0),this.triggerReady())},t.prototype.load=function(){return this.techCall_("load"),this},t.prototype.reset=function(){return this.loadTech_((0,O.default)(this.options_.techOrder[0]),null),this.techCall_("reset"),this},t.prototype.currentSources=function(){var e=this.currentSource(),t=[];return 0!==Object.keys(e).length&&t.push(e),this.cache_.sources||t},t.prototype.currentSource=function(){var e={},t=this.currentSrc();return t&&(e.src=t),this.cache_.source||e},t.prototype.currentSrc=function(){return this.techGet_("currentSrc")||this.cache_.src||""},t.prototype.currentType=function(){return this.currentType_||""},t.prototype.preload=function(e){return void 0!==e?(this.techCall_("setPreload",e),this.options_.preload=e,this):this.techGet_("preload")},t.prototype.autoplay=function(e){return void 0!==e?(this.techCall_("setAutoplay",e),this.options_.autoplay=e,this):this.techGet_("autoplay",e)},t.prototype.loop=function(e){return void 0!==e?(this.techCall_("setLoop",e),this.options_.loop=e,this):this.techGet_("loop")},t.prototype.poster=function(e){return void 0===e?this.poster_:(e||(e=""),this.poster_=e,this.techCall_("setPoster",e),this.trigger("posterchange"),this)},t.prototype.handleTechPosterChange_=function(){!this.poster_&&this.tech_&&this.tech_.poster&&(this.poster_=this.tech_.poster()||"",this.trigger("posterchange"))},t.prototype.controls=function(e){return void 0!==e?(e=!!e,this.controls_!==e&&(this.controls_=e,this.usingNativeControls()&&this.techCall_("setControls",e),e?(this.removeClass("vjs-controls-disabled"),this.addClass("vjs-controls-enabled"),this.trigger("controlsenabled"),this.usingNativeControls()||this.addTechControlsListeners_()):(this.removeClass("vjs-controls-enabled"),this.addClass("vjs-controls-disabled"),this.trigger("controlsdisabled"),this.usingNativeControls()||this.removeTechControlsListeners_())),this):!!this.controls_},t.prototype.usingNativeControls=function(e){return void 0!==e?(e=!!e,this.usingNativeControls_!==e&&(this.usingNativeControls_=e,e?(this.addClass("vjs-using-native-controls"),this.trigger("usingnativecontrols")):(this.removeClass("vjs-using-native-controls"),this.trigger("usingcustomcontrols"))),this):!!this.usingNativeControls_},t.prototype.error=function(e){return void 0===e?this.error_||null:null===e?(this.error_=e,this.removeClass("vjs-error"),this.errorDisplay&&this.errorDisplay.close(),this):(this.error_=new R.default(e),this.addClass("vjs-error"),S.default.error("(CODE:"+this.error_.code+" "+R.default.errorTypes[this.error_.code]+")",this.error_.message,this.error_),this.trigger("error"),this)},t.prototype.reportUserActivity=function(e){this.userActivity_=!0},t.prototype.userActive=function(e){return void 0!==e?(e=!!e,e!==this.userActive_&&(this.userActive_=e,e?(this.userActivity_=!0,this.removeClass("vjs-user-inactive"),this.addClass("vjs-user-active"),this.trigger("useractive")):(this.userActivity_=!1,this.tech_&&this.tech_.one("mousemove",function(e){e.stopPropagation(),e.preventDefault()}),this.removeClass("vjs-user-active"),this.addClass("vjs-user-inactive"),this.trigger("userinactive"))),this):this.userActive_},t.prototype.listenForUserActivity_=function(){var e=void 0,t=void 0,n=void 0,r=_.bind(this,this.reportUserActivity),o=function(e){e.screenX===t&&e.screenY===n||(t=e.screenX,n=e.screenY,r())},i=function(){r(),this.clearInterval(e),e=this.setInterval(r,250)},a=function(t){r(),this.clearInterval(e)};this.on("mousedown",i),this.on("mousemove",o),this.on("mouseup",a),this.on("keydown",r),this.on("keyup",r);var s=void 0;this.setInterval(function(){if(this.userActivity_){this.userActivity_=!1,this.userActive(!0),this.clearTimeout(s);var e=this.options_.inactivityTimeout;e>0&&(s=this.setTimeout(function(){this.userActivity_||this.userActive(!1)},e))}},250)},t.prototype.playbackRate=function(e){return void 0!==e?(this.techCall_("setPlaybackRate",e),this):this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_("playbackRate"):1},t.prototype.isAudio=function(e){return void 0!==e?(this.isAudio_=!!e,this):!!this.isAudio_},t.prototype.videoTracks=function(){return this.tech_?this.tech_.videoTracks():(this.videoTracks_=this.videoTracks_||new Y.default,this.videoTracks_)},t.prototype.audioTracks=function(){return this.tech_?this.tech_.audioTracks():(this.audioTracks_=this.audioTracks_||new $.default,this.audioTracks_)},t.prototype.textTracks=function(){if(this.tech_)return this.tech_.textTracks()},t.prototype.remoteTextTracks=function(){if(this.tech_)return this.tech_.remoteTextTracks()},t.prototype.remoteTextTrackEls=function(){if(this.tech_)return this.tech_.remoteTextTrackEls()},t.prototype.addTextTrack=function(e,t,n){if(this.tech_)return this.tech_.addTextTrack(e,t,n)},t.prototype.addRemoteTextTrack=function(e,t){if(this.tech_)return this.tech_.addRemoteTextTrack(e,t)},t.prototype.removeRemoteTextTrack=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.track,n=void 0===t?arguments[0]:t;if(this.tech_)return this.tech_.removeRemoteTextTrack(n)},t.prototype.videoWidth=function(){return this.tech_&&this.tech_.videoWidth&&this.tech_.videoWidth()||0},t.prototype.videoHeight=function(){return this.tech_&&this.tech_.videoHeight&&this.tech_.videoHeight()||0},t.prototype.language=function(e){return void 0===e?this.language_:(this.language_=String(e).toLowerCase(),this)},t.prototype.languages=function(){return(0,B.default)(t.prototype.options_.languages,this.languages_)},t.prototype.toJSON=function(){var e=(0,B.default)(this.options_),t=e.tracks;e.tracks=[];for(var n=0;n<t.length;n++){var r=t[n];r=(0,B.default)(r),r.player=void 0,e.tracks[n]=r}return e},t.prototype.createModal=function(e,t){var n=this;t=t||{},t.content=e||"";var r=new H.default(this,t);return this.addChild(r),r.on("dispose",function(){n.removeChild(r)}),r.open()},t.getTagSettings=function(e){var t={sources:[],tracks:[]},n=g.getElAttributes(e),r=n["data-setup"];if(g.hasElClass(e,"vjs-fluid")&&(n.fluid=!0),null!==r){var o=(0,L.default)(r||"{}"),i=o[0],a=o[1];i&&S.default.error(i),(0,F.assign)(n,a)}if((0,F.assign)(t,n),e.hasChildNodes())for(var s=e.childNodes,u=0,c=s.length;u<c;u++){var l=s[u],f=l.nodeName.toLowerCase();"source"===f?t.sources.push(g.getElAttributes(l)):"track"===f&&t.tracks.push(g.getElAttributes(l))}return t},t.prototype.flexNotSupported_=function(){var e=f.default.createElement("i");return!("flexBasis"in e.style||"webkitFlexBasis"in e.style||"mozFlexBasis"in e.style||"msFlexBasis"in e.style||"msFlexOrder"in e.style)},t}(c.default);J.players={};var Z=d.default.navigator;J.prototype.options_={techOrder:["html5","flash"],html5:{},flash:{},defaultVolume:0,inactivityTimeout:2e3,playbackRates:[],children:["mediaLoader","posterImage","textTrackDisplay","loadingSpinner","bigPlayButton","controlBar","errorDisplay","textTrackSettings"],language:Z&&(Z.languages&&Z.languages[0]||Z.userLanguage||Z.language)||"en",languages:{},notSupportedMessage:"No compatible source was found for this media."},["ended","seeking","seekable","networkState","readyState"].forEach(function(e){J.prototype[e]=function(){return this.techGet_(e)}}),Q.forEach(function(e){J.prototype["handleTech"+(0,O.default)(e)+"_"]=function(){return this.trigger(e)}}),c.default.registerComponent("Player",J),t.default=J},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(7),c=o(u),l=n(22),f=r(l),p=n(33),d=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.bar=o.getChild(o.options_.barName),o.vertical(!!o.options_.vertical),o.on("mousedown",o.handleMouseDown),o.on("touchstart",o.handleMouseDown),o.on("focus",o.handleFocus),o.on("blur",o.handleBlur),o.on("click",o.handleClick),o.on(n,"controlsvisible",o.update),o.on(n,o.playerEvent,o.update),o}return s(t,e),t.prototype.createEl=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.className=n.className+" vjs-slider",n=(0,p.assign)({tabIndex:0},n),r=(0,p.assign)({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},r),e.prototype.createEl.call(this,t,n,r)},t.prototype.handleMouseDown=function(e){var t=this.bar.el_.ownerDocument;e.preventDefault(),f.blockTextSelection(),this.addClass("vjs-sliding"),this.trigger("slideractive"),this.on(t,"mousemove",this.handleMouseMove),this.on(t,"mouseup",this.handleMouseUp),this.on(t,"touchmove",this.handleMouseMove),this.on(t,"touchend",this.handleMouseUp),this.handleMouseMove(e)},t.prototype.handleMouseMove=function(e){},t.prototype.handleMouseUp=function(){var e=this.bar.el_.ownerDocument;f.unblockTextSelection(),this.removeClass("vjs-sliding"),this.trigger("sliderinactive"),this.off(e,"mousemove",this.handleMouseMove),this.off(e,"mouseup",this.handleMouseUp),this.off(e,"touchmove",this.handleMouseMove),this.off(e,"touchend",this.handleMouseUp),this.update()},t.prototype.update=function(){if(this.el_){var e=this.getPercent(),t=this.bar;if(t){("number"!=typeof e||e!==e||e<0||e===1/0)&&(e=0);var n=(100*e).toFixed(2)+"%";this.vertical()?t.el().style.height=n:t.el().style.width=n}}},t.prototype.calculateDistance=function(e){var t=f.getPointerPosition(this.el_,e);return this.vertical()?t.y:t.x},t.prototype.handleFocus=function(){this.on(this.bar.el_.ownerDocument,"keydown",this.handleKeyPress)},t.prototype.handleKeyPress=function(e){37===e.which||40===e.which?(e.preventDefault(),this.stepBack()):38!==e.which&&39!==e.which||(e.preventDefault(),this.stepForward())},t.prototype.handleBlur=function(){this.off(this.bar.el_.ownerDocument,"keydown",this.handleKeyPress)},t.prototype.handleClick=function(e){e.stopImmediatePropagation(),e.preventDefault()},t.prototype.vertical=function(e){return void 0===e?this.vertical_||!1:(this.vertical_=!!e,this.vertical_?this.addClass("vjs-slider-vertical"):this.addClass("vjs-slider-horizontal"),this)},t}(c.default);c.default.registerComponent("Slider",d),t.default=d},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(315),c=o(u),l=n(32),f=r(l),p=n(26),d=o(p),h=function(e,t){for(var n=0;n<e.length;n++)t.id!==e[n].id&&(e[n].enabled=!1)},v=function(e){function t(){var n,r,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];i(this,t);for(var s=void 0,u=o.length-1;u>=0;u--)if(o[u].enabled){h(o,o[u]);break}if(f.IS_IE8){s=d.default.createElement("custom");for(var l in c.default.prototype)"constructor"!==l&&(s[l]=c.default.prototype[l]);for(var p in t.prototype)"constructor"!==p&&(s[p]=t.prototype[p])}return s=n=a(this,e.call(this,o,s)),s.changing_=!1,r=s,a(n,r)}return s(t,e),t.prototype.addTrack_=function(t){var n=this;t.enabled&&h(this,t),e.prototype.addTrack_.call(this,t),t.addEventListener&&t.addEventListener("enabledchange",function(){n.changing_||(n.changing_=!0,h(n,t),n.changing_=!1,n.trigger("change"))})},t.prototype.addTrack=function(e){this.addTrack_(e)},t.prototype.removeTrack=function(t){e.prototype.removeTrack_.call(this,t)},t}(c.default);t.default=v},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(315),c=o(u),l=n(32),f=r(l),p=n(26),d=o(p),h=function(e,t){for(var n=0;n<e.length;n++)t.id!==e[n].id&&(e[n].selected=!1)},v=function(e){function t(){var n,r,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];i(this,t);for(var s=void 0,u=o.length-1;u>=0;u--)if(o[u].selected){h(o,o[u]);break}if(f.IS_IE8){s=d.default.createElement("custom");for(var l in c.default.prototype)"constructor"!==l&&(s[l]=c.default.prototype[l]);for(var p in t.prototype)"constructor"!==p&&(s[p]=t.prototype[p])}return s=n=a(this,e.call(this,o,s)),s.changing_=!1,Object.defineProperty(s,"selectedIndex",{get:function(){for(var e=0;e<this.length;e++)if(this[e].selected)return e;return-1},set:function(){}}),r=s,a(n,r)}return s(t,e),t.prototype.addTrack_=function(t){var n=this;t.selected&&h(this,t),e.prototype.addTrack_.call(this,t),t.addEventListener&&t.addEventListener("selectedchange",function(){n.changing_||(n.changing_=!0,
-h(n,t),n.changing_=!1,n.trigger("change"))})},t.prototype.addTrack=function(e){this.addTrack_(e)},t.prototype.removeTrack=function(t){e.prototype.removeTrack_.call(this,t)},t}(c.default);t.default=v},function(e,t,n){"use strict";function r(e,t){var n=0,r=void 0,i=void 0;if(!t)return 0;e&&e.length||(e=(0,o.createTimeRange)(0,0));for(var a=0;a<e.length;a++)r=e.start(a),i=e.end(a),i>t&&(i=t),n+=i-r;return n/t}t.__esModule=!0,t.bufferedPercent=r;var o=n(154)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.setTextContent=t.createStyleElement=void 0;var o=n(26),i=r(o);t.createStyleElement=function(e){var t=i.default.createElement("style");return t.className=e,t},t.setTextContent=function(e,t){e.styleSheet?e.styleSheet.cssText=t:e.textContent=t}},function(e,t,n){"use strict";function r(e,t){for(var n=0;n<e.length;n++)t(e[n])}function o(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}function i(e,t,n){var r=e;return f(t)?(n=t,"string"==typeof e&&(r={uri:e})):r=d(t,{uri:e}),r.callback=n,r}function a(e,t,n){return t=i(e,t,n),s(t)}function s(e){function t(){4===f.readyState&&i()}function n(){var e=void 0;if(e=f.response?f.response:f.responseText||u(f),w)try{e=JSON.parse(e)}catch(e){}return e}function r(e){return clearTimeout(v),e instanceof Error||(e=new Error(""+(e||"Unknown XMLHttpRequest Error"))),e.statusCode=0,c(e,l)}function i(){if(!h){var t;clearTimeout(v),t=e.useXDR&&void 0===f.status?200:1223===f.status?204:f.status;var r=l,o=null;return 0!==t?(r={body:n(),statusCode:t,method:g,headers:{},url:y,rawRequest:f},f.getAllResponseHeaders&&(r.headers=p(f.getAllResponseHeaders()))):o=new Error("Internal XMLHttpRequest Error"),c(o,r,r.body)}}if("undefined"==typeof e.callback)throw new Error("callback argument missing");var s=!1,c=function(t,n,r){s||(s=!0,e.callback(t,n,r))},l={body:void 0,headers:{},statusCode:0,method:g,url:y,rawRequest:f},f=e.xhr||null;f||(f=e.cors||e.useXDR?new a.XDomainRequest:new a.XMLHttpRequest);var d,h,v,y=f.url=e.uri||e.url,g=f.method=e.method||"GET",m=e.body||e.data||null,_=f.headers=e.headers||{},b=!!e.sync,w=!1;if("json"in e&&(w=!0,_.accept||_.Accept||(_.Accept="application/json"),"GET"!==g&&"HEAD"!==g&&(_["content-type"]||_["Content-Type"]||(_["Content-Type"]="application/json"),m=JSON.stringify(e.json))),f.onreadystatechange=t,f.onload=i,f.onerror=r,f.onprogress=function(){},f.ontimeout=r,f.open(g,y,!b,e.username,e.password),b||(f.withCredentials=!!e.withCredentials),!b&&e.timeout>0&&(v=setTimeout(function(){h=!0,f.abort("timeout");var e=new Error("XMLHttpRequest timeout");e.code="ETIMEDOUT",r(e)},e.timeout)),f.setRequestHeader)for(d in _)_.hasOwnProperty(d)&&f.setRequestHeader(d,_[d]);else if(e.headers&&!o(e.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in e&&(f.responseType=e.responseType),"beforeSend"in e&&"function"==typeof e.beforeSend&&e.beforeSend(f),f.send(m),f}function u(e){if("document"===e.responseType)return e.responseXML;var t=204===e.status&&e.responseXML&&"parsererror"===e.responseXML.documentElement.nodeName;return""!==e.responseType||t?null:e.responseXML}function c(){}var l=n(29),f=n(393),p=n(961),d=n(1211);e.exports=a,a.XMLHttpRequest=l.XMLHttpRequest||c,a.XDomainRequest="withCredentials"in new a.XMLHttpRequest?a.XMLHttpRequest:l.XDomainRequest,r(["get","put","post","patch","head","delete"],function(e){a["delete"===e?"del":e]=function(t,n,r){return n=i(t,n,r),n.method=e.toUpperCase(),s(n)}})},,,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),c=r(u),l=n(8),f=r(l),p=n(6),d=r(p),h=n(1),v=r(h),y=function(e){function t(){return(0,s.default)(this,t),(0,f.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,d.default)(t,e),(0,c.default)(t,[{key:"render",value:function(){var e=this;return v.default.createElement("button",{className:""+this.props.buttonClass,onClick:function(t){return e.props.onClick(t)},disabled:this.props.disabled},v.default.createElement("span",null,this.props.buttonText),this.props.children)}}]),t}(v.default.Component);t.default=y},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.availableLocales=t.showLMSNavigation=t.hideLMSNavigation=t.navigatePrevious=t.navigateNext=t.navigateHome=t.scrollParentToTop=t.sendSize=t.Constants=void 0;var o=n(55),i=r(o),a=["SEND_SIZE","SCROLL_PARENT_TO_TOP","LTI_NAVIGATE_HOME","LTI_NAVIGATE_NEXT","LTI_NAVIGATE_PREVIOUS","HIDE_LMS_NAVIGATION","SHOW_LMS_NAVIGATION","AVAILABLE_LOCALES"],s=[],u=t.Constants=(0,i.default)(a,s);t.sendSize=function(){return{type:u.SEND_SIZE}},t.scrollParentToTop=function(){return{type:u.SCROLL_PARENT_TO_TOP}},t.navigateHome=function(){return{type:u.LTI_NAVIGATE_HOME}},t.navigateNext=function(){return{type:u.LTI_NAVIGATE_NEXT}},t.navigatePrevious=function(){return{type:u.LTI_NAVIGATE_PREVIOUS}},t.hideLMSNavigation=function(){return{type:u.HIDE_LMS_NAVIGATION}},t.showLMSNavigation=function(){return{type:u.SHOW_LMS_NAVIGATION}},t.availableLocales=function(){return{type:u.AVAILABLE_LOCALES}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(462);t.default=r.hashHistory},function(e,t,n){e.exports={default:n(596),__esModule:!0}},[1524,137],366,function(e,t,n){"use strict";var r=n(45),o=n(23),i=n(57),a=n(65),s=n(34)("species");e.exports=function(e){var t="function"==typeof o[e]?o[e]:r[e];a&&t&&!t[s]&&i.f(t,s,{configurable:!0,get:function(){return this}})}},,function(e,t,n){function r(){}function o(e){if(!v(e))return e;var t=[];for(var n in e)i(t,n,e[n]);return t.join("&")}function i(e,t,n){if(null!=n)if(Array.isArray(n))n.forEach(function(n){i(e,t,n)});else if(v(n))for(var r in n)i(e,t+"["+r+"]",n[r]);else e.push(encodeURIComponent(t)+"="+encodeURIComponent(n));else null===n&&e.push(encodeURIComponent(t))}function a(e){for(var t,n,r={},o=e.split("&"),i=0,a=o.length;i<a;++i)t=o[i],n=t.indexOf("="),n==-1?r[decodeURIComponent(t)]="":r[decodeURIComponent(t.slice(0,n))]=decodeURIComponent(t.slice(n+1));return r}function s(e){var t,n,r,o,i=e.split(/\r?\n/),a={};i.pop();for(var s=0,u=i.length;s<u;++s)n=i[s],t=n.indexOf(":"),r=n.slice(0,t).toLowerCase(),o=b(n.slice(t+1)),a[r]=o;return a}function u(e){return/[\/+]json\b/.test(e)}function c(e){this.req=e,this.xhr=this.req.xhr,this.text="HEAD"!=this.req.method&&(""===this.xhr.responseType||"text"===this.xhr.responseType)||"undefined"==typeof this.xhr.responseType?this.xhr.responseText:null,this.statusText=this.req.xhr.statusText;var t=this.xhr.status;1223===t&&(t=204),this._setStatusProperties(t),this.header=this.headers=s(this.xhr.getAllResponseHeaders()),this.header["content-type"]=this.xhr.getResponseHeader("content-type"),this._setHeaderProperties(this.header),null===this.text&&e._responseType?this.body=this.xhr.response:this.body="HEAD"!=this.req.method?this._parseBody(this.text?this.text:this.xhr.response):null}function l(e,t){var n=this;this._query=this._query||[],this.method=e,this.url=t,this.header={},this._header={},this.on("end",function(){var e=null,t=null;try{t=new c(n)}catch(t){return e=new Error("Parser is unable to parse the response"),e.parse=!0,e.original=t,n.xhr?(e.rawResponse="undefined"==typeof n.xhr.responseType?n.xhr.responseText:n.xhr.response,e.status=n.xhr.status?n.xhr.status:null,e.statusCode=e.status):(e.rawResponse=null,e.status=null),n.callback(e)}n.emit("response",t);var r;try{n._isResponseOK(t)||(r=new Error(t.statusText||"Unsuccessful HTTP response"),r.original=e,r.response=t,r.status=t.status)}catch(e){r=e}r?n.callback(r,t):n.callback(null,t)})}function f(e,t,n){var r=_("DELETE",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}var p;"undefined"!=typeof window?p=window:"undefined"!=typeof self?p=self:(console.warn("Using browser-only version of superagent in non-browser environment"),p=this);var d=n(587),h=n(1143),v=n(311),y=n(1142),g=n(1144),m=n(1145),_=t=e.exports=function(e,n){return"function"==typeof n?new t.Request("GET",e).end(n):1==arguments.length?new t.Request("GET",e):new t.Request(e,n)};t.Request=l,_.getXHR=function(){if(!(!p.XMLHttpRequest||p.location&&"file:"==p.location.protocol&&p.ActiveXObject))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(e){}throw Error("Browser-only verison of superagent could not find XHR")};var b="".trim?function(e){return e.trim()}:function(e){return e.replace(/(^\s*|\s*$)/g,"")};_.serializeObject=o,_.parseString=a,_.types={html:"text/html",json:"application/json",xml:"application/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},_.serialize={"application/x-www-form-urlencoded":o,"application/json":JSON.stringify},_.parse={"application/x-www-form-urlencoded":a,"application/json":JSON.parse},g(c.prototype),c.prototype._parseBody=function(e){var t=_.parse[this.type];return this.req._parser?this.req._parser(this,e):(!t&&u(this.type)&&(t=_.parse["application/json"]),t&&e&&(e.length||e instanceof Object)?t(e):null)},c.prototype.toError=function(){var e=this.req,t=e.method,n=e.url,r="cannot "+t+" "+n+" ("+this.status+")",o=new Error(r);return o.status=this.status,o.method=t,o.url=n,o},_.Response=c,d(l.prototype),h(l.prototype),l.prototype.type=function(e){return this.set("Content-Type",_.types[e]||e),this},l.prototype.accept=function(e){return this.set("Accept",_.types[e]||e),this},l.prototype.auth=function(e,t,n){switch(n||(n={type:"function"==typeof btoa?"basic":"auto"}),n.type){case"basic":this.set("Authorization","Basic "+btoa(e+":"+t));break;case"auto":this.username=e,this.password=t}return this},l.prototype.query=function(e){return"string"!=typeof e&&(e=o(e)),e&&this._query.push(e),this},l.prototype.attach=function(e,t,n){if(this._data)throw Error("superagent can't mix .send() and .attach()");return this._getFormData().append(e,t,n||t.name),this},l.prototype._getFormData=function(){return this._formData||(this._formData=new p.FormData),this._formData},l.prototype.callback=function(e,t){if(this._maxRetries&&this._retries++<this._maxRetries&&m(e,t))return this._retry();var n=this._callback;this.clearTimeout(),e&&(this._maxRetries&&(e.retries=this._retries-1),this.emit("error",e)),n(e,t)},l.prototype.crossDomainError=function(){var e=new Error("Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.");e.crossDomain=!0,e.status=this.status,e.method=this.method,e.url=this.url,this.callback(e)},l.prototype.buffer=l.prototype.ca=l.prototype.agent=function(){return console.warn("This is not supported in browser version of superagent"),this},l.prototype.pipe=l.prototype.write=function(){throw Error("Streaming is not supported in browser version of superagent")},l.prototype._appendQueryString=function(){var e=this._query.join("&");if(e&&(this.url+=(this.url.indexOf("?")>=0?"&":"?")+e),this._sort){var t=this.url.indexOf("?");if(t>=0){var n=this.url.substring(t+1).split("&");y(this._sort)?n.sort(this._sort):n.sort(),this.url=this.url.substring(0,t)+"?"+n.join("&")}}},l.prototype._isHost=function(e){return e&&"object"==typeof e&&!Array.isArray(e)&&"[object Object]"!==Object.prototype.toString.call(e)},l.prototype.end=function(e){return this._endCalled&&console.warn("Warning: .end() was called twice. This is not supported in superagent"),this._endCalled=!0,this._callback=e||r,this._appendQueryString(),this._end()},l.prototype._end=function(){var e=this,t=this.xhr=_.getXHR(),n=this._formData||this._data;this._setTimeouts(),t.onreadystatechange=function(){var n=t.readyState;if(n>=2&&e._responseTimeoutTimer&&clearTimeout(e._responseTimeoutTimer),4==n){var r;try{r=t.status}catch(e){r=0}if(!r){if(e.timedout||e._aborted)return;return e.crossDomainError()}e.emit("end")}};var r=function(t,n){n.total>0&&(n.percent=n.loaded/n.total*100),n.direction=t,e.emit("progress",n)};if(this.hasListeners("progress"))try{t.onprogress=r.bind(null,"download"),t.upload&&(t.upload.onprogress=r.bind(null,"upload"))}catch(e){}try{this.username&&this.password?t.open(this.method,this.url,!0,this.username,this.password):t.open(this.method,this.url,!0)}catch(e){return this.callback(e)}if(this._withCredentials&&(t.withCredentials=!0),!this._formData&&"GET"!=this.method&&"HEAD"!=this.method&&"string"!=typeof n&&!this._isHost(n)){var o=this._header["content-type"],i=this._serializer||_.serialize[o?o.split(";")[0]:""];!i&&u(o)&&(i=_.serialize["application/json"]),i&&(n=i(n))}for(var a in this.header)null!=this.header[a]&&t.setRequestHeader(a,this.header[a]);return this._responseType&&(t.responseType=this._responseType),this.emit("request",this),t.send("undefined"!=typeof n?n:null),this},_.get=function(e,t,n){var r=_("GET",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},_.head=function(e,t,n){var r=_("HEAD",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},_.options=function(e,t,n){var r=_("OPTIONS",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},_.del=f,_.delete=f,_.patch=function(e,t,n){var r=_("PATCH",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},_.post=function(e,t,n){var r=_("POST",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},_.put=function(e,t,n){var r=_("PUT",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}},function(e,t,n){"use strict";function r(){if(u.length)throw u.shift()}function o(e){var t;t=s.length?s.pop():new i,t.task=e,a(t)}function i(){this.task=null}var a=n(506),s=[],u=[],c=a.makeRequestCallFromTimer(r);e.exports=o,i.prototype.call=function(){try{this.task.call()}catch(e){o.onerror?o.onerror(e):(u.push(e),c())}finally{this.task=null,s[s.length]=this}}},function(e,t){(function(t){"use strict";function n(e){s.length||(a(),u=!0),s[s.length]=e}function r(){for(;c<s.length;){var e=c;if(c+=1,s[e].call(),c>l){for(var t=0,n=s.length-c;t<n;t++)s[t]=s[t+c];s.length-=c,c=0}}s.length=0,c=0,u=!1}function o(e){var t=1,n=new p(e),r=document.createTextNode("");return n.observe(r,{characterData:!0}),function(){t=-t,r.data=t}}function i(e){return function(){function t(){clearTimeout(n),clearInterval(r),e()}var n=setTimeout(t,0),r=setInterval(t,50)}}e.exports=n;var a,s=[],u=!1,c=0,l=1024,f="undefined"!=typeof t?t:self,p=f.MutationObserver||f.WebKitMutationObserver;a="function"==typeof p?o(r):i(r),n.requestFlush=a,n.makeRequestCallFromTimer=i}).call(t,function(){return this}())},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(321),a=o(i),s=n(9),u=o(s),c=n(3),l=o(c),f=n(5),p=o(f),d=n(8),h=o(d),v=n(6),y=o(v),g=n(1),m=o(g),_=n(4),b=o(_),w=n(1204),E=o(w),T=n(56),C=(r(T),n(508)),S=o(C),x=m.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48"},m.default.createElement("path",{d:"M24 4C12.95 4 4 12.95 4 24c0 11.04 8.95 20 20 20 11.04 0 20-8.96 20-20 0-11.05-8.96-20-20-20zm-4 30L10 24l2.83-2.83L20 28.34l15.17-15.17L38 16 20 34z"})),O=m.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48"},m.default.createElement("path",{d:"M24 4c-11.05 0-20 8.95-20 20s8.95 20 20 20 20-8.95 20-20-8.95-20-20-20zm10 27.17l-2.83 2.83-7.17-7.17-7.17 7.17-2.83-2.83 7.17-7.17-7.17-7.17 2.83-2.83 7.17 7.17 7.17-7.17 2.83 2.83-7.17 7.17 7.17 7.17z"})),k=function(e){function t(){return(0,l.default)(this,t),(0,h.default)(this,(t.__proto__||(0,u.default)(t)).apply(this,arguments))}return(0,y.default)(t,e),(0,p.default)(t,[{key:"componentDidMount",value:function(){var e=this;if("undefined"!=typeof MathJax&&MathJax.Hub.Queue(new Array("Typeset",MathJax.Hub)),b.default.isFunction(E.default)){var t=document.querySelectorAll("video.video-js");b.default.each(t,function(e){return(0,E.default)(e)});var n=document.getElementsByClassName("c-question")[0];if(void 0!==n){var r=(0,a.default)(n.querySelectorAll("img, object"));r.forEach(function(t){t.addEventListener("load",function(){return e.props.sendSize()})});var o=(0,a.default)(n.querySelectorAll("video, audio"));o.forEach(function(t){t.addEventListener("loadstart",function(){return e.props.sendSize()}),t.addEventListener("loadedmetadata",function(){return e.props.sendSize()})})}var i=document.querySelectorAll("video");b.default.each(i,function(t){t.addEventListener("play",function(t){e.props.videoPlay(t.target.id||t.target.src,t.target.currentTime)},!1),t.addEventListener("pause",function(t){e.props.videoPause(t.target.id||t.target.src,t.target.currentTime)},!1)});var s=document.querySelectorAll("audio");b.default.each(s,function(t){t.addEventListener("play",function(t){e.props.audioPlay(t.target.id||t.target.src,t.target.currentTime)},!1),t.addEventListener("pause",function(t){e.props.audioPause(t.target.id||t.target.src,t.target.currentTime)},!1)})}}},{key:"getFeedback",value:function(){var e=this.props.questionResult,t=this.props.question.question_type,n=void 0;if(e)if(e.correct===!0)switch(t){case"survey_question":n=m.default.createElement("div",{className:"c-question-feedback  c-feedback--correct"},m.default.createElement("div",{dangerouslySetInnerHTML:{__html:e.feedback}}));break;default:n=m.default.createElement("div",{className:"c-question-feedback  c-feedback--correct"},x,m.default.createElement("div",{dangerouslySetInnerHTML:{__html:e.feedback}}))}else e.correct===!1&&(n=m.default.createElement("div",{className:"c-question-feedback  c-feedback--incorrect"},O,m.default.createElement("div",{dangerouslySetInnerHTML:{__html:e.feedback}})));return m.default.createElement("div",null,n)}},{key:"render",value:function(){return m.default.createElement("div",{className:"c-question"},m.default.createElement("div",{className:"c-question-prompt"},m.default.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.question.material}})),m.default.createElement("div",{className:"c-answers"},m.default.createElement(S.default,{settings:this.props.settings,item:this.props.question,isResult:!1,selectAnswer:this.props.selectAnswer,response:this.props.response,localizedStrings:this.props.localizedStrings,audioRecordStart:this.props.audioRecordStart,audioRecordStop:this.props.audioRecordStop})),this.getFeedback())}}]),t}(m.default.Component);t.default=k},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.UNGRADED=t.INCORRECT=t.CORRECT=void 0;var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),c=r(u),l=n(8),f=r(l),p=n(6),d=r(p),h=n(1),v=r(h),y=n(4),g=r(y),m=n(326),_=r(m),b=n(509),w=r(b),E=n(512),T=r(E),C=n(514),S=r(C),x=n(510),O=r(x),k=n(515),P=r(k),M=n(518),A=r(M),I=n(519),j=r(I),D=n(328),R=r(D),N=n(522),L=r(N),F=n(523),U=r(F),B=n(526),q=r(B),z=n(527),W=r(z),H=(t.CORRECT="CORRECT",t.INCORRECT="INCORRECT",t.UNGRADED="UNGRADED",function(e){function t(){return(0,s.default)(this,t),(0,f.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,d.default)(t,e),(0,c.default)(t,[{key:"wasSelected",value:function(e){return this.props.response?this.props.response.indexOf(e)>-1:null}},{key:"render",value:function(){var e=this,t=this.props,n=t.item,r=void 0;switch(n.question_type){case"edx_multiple_choice":case"multiple_choice_question":case"true_false_question":case"survey_question":var o=function(r){var o=g.default.partialRight(t.selectAnswer,!0),i=n.id+"_"+r.id;return v.default.createElement(U.default,{isDisabled:t.isResult,key:i,id:i,item:r,isHtml:n.isHtml,name:"answer-radio",checked:e.wasSelected(r.id),selectAnswer:o})};r=g.default.chunk(n.answers,2).map(function(e){return v.default.createElement("ul",{key:n.id+"_row_"+e[0].id,className:"o-grid"},e.map(o))});break;case"edx_dropdown":r=n.answers.map(function(e){return v.default.createElement(L.default,{isDisabled:t.isResult,key:n.id+"_"+e.id,item:e,name:"answer-option"})});break;case"matching_question":r=v.default.createElement(j.default,{isDisabled:t.isResult,item:n,name:"answer-option"});break;case"edx_numerical_input":case"edx_text_input":r=n.answers.map(function(e){return v.default.createElement(W.default,{isDisabled:t.isResult,key:n.id+"_"+e.id,item:e,name:"answer-text"})});break;case"text_input_question":case"text_only_question":case"short_answer_question":r=v.default.createElement("div",{className:"c-text-answer"},v.default.createElement("textarea",{placeholder:"Enter answer here...",onBlur:function(e){return t.selectAnswer(e.target.value,!0)},rows:parseInt(t.item.question_meta.expectedLines,10)||1}));break;case"numerical_input_question":r=v.default.createElement("div",{className:"c-text-answer"},v.default.createElement("textarea",{placeholder:"Enter answer here...",onBlur:function(e){return t.selectAnswer(e.target.value,!0)},rows:parseInt(t.item.question_meta.expectedLines,10)||1}));break;case"multiple_answers_question":var i=function(r){var o=g.default.partialRight(t.selectAnswer,!1),i=n.id+"_"+r.id;return v.default.createElement(w.default,{isDisabled:t.isResult,key:i,id:i,item:r,isHtml:n.isHtml,checked:e.wasSelected(r.id),selectAnswer:o})};r=g.default.chunk(n.answers,2).map(function(e){return v.default.createElement("ul",{key:n.id+"_row_"+e[0].id,className:"o-grid"},e.map(i))});break;case"edx_image_mapped_input":r=n.answers.map(function(e){return v.default.createElement(A.default,{key:n.id+"_"+e.id,item:e})});break;case"edx_drag_and_drop":r=n.answers.map(function(e){return v.default.createElement(T.default,{key:n.id+"_"+e.id,item:e})});break;case"file_upload_question":var a=g.default.curryRight(t.selectAnswer)(!0);r=v.default.createElement(S.default,{localizedStrings:this.props.localizedStrings.fileUpload,selectAnswer:a});break;case"audio_upload_question":var s=g.default.partialRight(t.selectAnswer,!0);r=v.default.createElement(_.default,{localizedStrings:this.props.localizedStrings.audioUpload,selectAnswer:s,timeout:this.props.settings.audio_recorder_timeout,audioRecordStart:this.props.audioRecordStart,audioRecordStop:this.props.audioRecordStop});break;case"movable_object_chain":var u=g.default.partialRight(t.selectAnswer,!1);r=v.default.createElement(R.default,{answers:n.answers,selectAnswer:u,wordChain:t.response,itemClassName:"c-object",answerBoxClassName:"c-object-answers",noStartBlock:!0});break;case"movable_words_sentence":var c=g.default.partialRight(t.selectAnswer,!1);r=v.default.createElement(R.default,{answers:n.answers,selectAnswer:c,wordChain:t.response,itemClassName:"c-word",answerBoxClassName:"c-word-answers"});break;case"movable_words_sandbox":var l=g.default.partialRight(t.selectAnswer,!1),f=t.response.filter(function(e){return"string"==typeof e});r=v.default.createElement(q.default,{answers:n.answers,selectAnswer:l,wordChain:f,localizedStrings:this.props.localizedStrings.audioUpload,timeout:this.props.settings.audio_recorder_timeout,itemClassName:"c-word",answerBoxClassName:"c-word-answers",audioRecordStart:this.props.audioRecordStart,audioRecordStop:this.props.audioRecordStop});break;case"fill_the_blank_question":var p=g.default.partialRight(t.selectAnswer,!1);r=v.default.createElement(P.default,{answers:n.answers,sentenceWithBlank:n.question_meta.fillTheBlankSentence,selectAnswer:p,selectedAnswer:t.response});break;case"clix_drag_and_drop":var d=g.default.partialRight(t.selectAnswer,!1);r=v.default.createElement(O.default,{answers:n.answers,zones:n.question_meta.zones,targets:n.question_meta.targets,selectAnswer:d,selectedAnswers:t.response});break;default:r=void 0}return v.default.createElement("div",null,r)}}]),t}(v.default.Component));t.default=H},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),c=r(u),l=n(8),f=r(l),p=n(6),d=r(p),h=n(1),v=r(h),y=v.default.createElement("div",{className:"c-checkbox__border"},v.default.createElement("span",null)),g=function(e){function t(){return(0,s.default)(this,t),(0,f.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,d.default)(t,e),(0,c.default)(t,[{key:"selectAnswer",value:function(){this.props.selectAnswer(this.props.item.id)}},{key:"renderMaterial",value:function(e,t){return t?v.default.createElement("div",{className:"c-answer-container__content",dangerouslySetInnerHTML:{__html:e}}):v.default.createElement("div",{className:"c-answer-container__content"},v.default.createElement("p",null,e))}},{key:"render",value:function(){var e=this,t="";return this.props.checked===!0&&(t="is-clicked"),v.default.createElement("li",{className:"c-answer-container "+t},v.default.createElement("label",{htmlFor:this.props.id},v.default.createElement("div",{className:"c-answer-container__radio"},v.default.createElement("div",{className:"c-checkbox"},v.default.createElement("input",{type:"checkbox",checked:this.props.checked,disabled:this.props.isDisabled,name:"answer-checkbox",onChange:function(){e.selectAnswer()},id:this.props.id}),y)),v.default.createElement("div",{className:"c-answer-container__content"},this.renderMaterial(this.props.item.material,this.props.isHtml))))}}]),t}(v.default.Component);t.default=g},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return e.dropBehaviorType.indexOf("%3Adrop%40")>-1}function i(e){var t=["c-drag-zone"];return o(e)||t.push("c-drag-zone--snap"),e.visible&&t.push("show-border"),t.join(" ")}Object.defineProperty(t,"__esModule",{value:!0}),t.ClixDragAndDrop=void 0;var a=n(10),s=r(a),u=n(9),c=r(u),l=n(3),f=r(l),p=n(5),d=r(p),h=n(8),v=r(h),y=n(6),g=r(y),m=n(1),_=r(m),b=n(4),w=r(b),E=n(214),T=r(E),C=n(511),S=r(C),x=n(327),O=r(x),k=n(211),P=r(k),M=_.default.createElement(P.default,null),A=t.ClixDragAndDrop=function(e){function t(){return(0,f.default)(this,t),(0,v.default)(this,(t.__proto__||(0,c.default)(t)).apply(this,arguments))}return(0,g.default)(t,e),(0,d.default)(t,[{key:"selectAnswer",value:function(e,t,n,r){var i=this.props.targets[n],a=this.props.zones[e],u=[];if(o(a)){var c=this["target_"+n].getBoundingClientRect();u.push(r.x-c.left),u.push(r.y-c.top)}else u.push(a.spatialUnit.coordinateValues[0]+a.spatialUnit.width/2),u.push(a.spatialUnit.coordinateValues[1]+a.spatialUnit.height/2);var l=(0,s.default)({id:{id:t.droppableId,zoneIndex:e}},t,{zoneIndex:e,containerId:i.id,coordinateValues:u});this.props.selectAnswer(l),e!==t.previousZoneIndex&&t.previousZoneIndex>-1?this.props.selectAnswer({id:{id:t.droppableId,zoneIndex:t.previousZoneIndex}}):o(a)&&e===t.previousZoneIndex&&this.props.selectAnswer(l)}},{key:"deselectAnswer",value:function(e){e.previousZoneIndex>-1&&this.props.selectAnswer({id:{id:e.droppableId,zoneIndex:e.previousZoneIndex}})}},{key:"renderZones",value:function(e){var t=this;return w.default.map(this.props.zones,function(n,r){var a=!w.default.find(t.props.selectedAnswers,{zoneIndex:r})||o(n);return _.default.createElement(S.default,{key:r,className:i(n),canDrop:a,dropItem:function(n,o){return t.selectAnswer(r,n,e,o)},style:{left:n.spatialUnit.coordinateValues[0],top:n.spatialUnit.coordinateValues[1],height:n.spatialUnit.height,width:n.spatialUnit.width}},n.name?_.default.createElement("div",{className:"c-drag-zone__name"},n.name):null)})}},{key:"renderSelectedAnswers",value:function(){return w.default.map(this.props.selectedAnswers,function(e){return _.default.createElement(O.default,{key:e.droppableId,style:{position:"absolute",left:e.coordinateValues[0]-e.width/2,top:e.coordinateValues[1]-e.height/2},className:"c-droppable-item",text:e.droppableText,zoneIndex:e.zoneIndex,droppableId:e.droppableId})})}},{key:"renderAvailableAnswers",value:function(){var e=this;return w.default.map(this.props.answers,function(t){var n=w.default.filter(e.props.selectedAnswers,{droppableId:t.id}).length;return _.default.createElement(O.default,{key:t.id,className:"c-droppable-item",hide:n>=parseInt(t.reuse,10),showWhileDragging:n<t.reuse-1,droppableId:t.id,text:t.text,zoneIndex:-1})})}},{key:"renderTargets",value:function(){var e=this;return w.default.map(this.props.targets,function(t,n){return _.default.createElement("div",{key:n,className:"c-drag-target",style:{position:"relative"}},_.default.createElement("div",{className:"c-drag-target__background",ref:function(t){return e["target_"+n]=t},dangerouslySetInnerHTML:{__html:t.text}}),e.renderZones(n),e.renderSelectedAnswers())})}},{key:"render",value:function(){var e=this;return _.default.createElement("div",{className:"c-clix-drag-and-drop"},this.renderTargets(),_.default.createElement(S.default,{canDrop:!0,className:"c-droppable-container",dropItem:function(t){return e.deselectAnswer(t)}},this.renderAvailableAnswers()),M)}}]),t}(_.default.Component);t.default=(0,T.default)(A)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return{connectDropTarget:e.dropTarget(),isOver:t.isOver()}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(99),a=n(132),s=n(104),u=r(s),c={drop:function(e,t){var n=document.getElementsByTagName("body")[0];return n.className="",e.dropItem(t.getItem(),t.getClientOffset()),t.getItem()},canDrop:function(e){return e.canDrop}};t.default=(0,i.DropTarget)(u.default.CLIX_DROPPABLE,c,o)(a.Dropzone)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),c=r(u),l=n(8),f=r(l),p=n(6),d=r(p),h=n(1),v=r(h),y=n(521),g=r(y),m=n(212),_=r(m),b=n(513),w=r(b),E=v.default.createElement("p",null,"Error: Type undefined"),T=function(e){function t(){return(0,s.default)(this,t),(0,f.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,d.default)(t,e),(0,c.default)(t,[{key:"render",value:function(){var e="dragDrop"+this.props.item.id,t={position:"relative",display:"block",clear:"both"},n=this.props.item.draggables.map(function(e,t){return v.default.createElement(_.default,{key:"Bank"+t,item:e})});if("key"==this.props.item.type){var r=this.props.item.targets.map(function(e,t){return v.default.createElement(g.default,{key:"dropZone"+t,item:e})});return v.default.createElement("div",null,v.default.createElement("div",{id:e,style:t},v.default.createElement("img",{src:this.props.item.img,alt:"Drag and Drop image"}),r),v.default.createElement("div",null,n))}return"index"==this.props.item.type?v.default.createElement("div",{style:t},v.default.createElement(w.default,{item:this.props.item}),n):E}}]),t}(v.default.Component);t.default=T},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(9),a=o(i),s=n(3),u=o(s),c=n(5),l=o(c),f=n(8),p=o(f),d=n(6),h=o(d),v=n(1),y=o(v),g=n(56),m=(r(g),n(212)),_=(o(m),function(e){function t(){(0,u.default)(this,t);var e=(0,p.default)(this,(t.__proto__||(0,a.default)(t)).call(this));return e.x=0,e.y=0,e}return(0,h.default)(t,e),(0,l.default)(t,[{key:"allowDrop",value:function(e){e.preventDefault(),this.x=event.clientX,this.y=event.clientY}},{key:"drop",value:function(e){e.preventDefault();var t=e.target.getBoundingClientRect(),n=e.dataTransfer.getData("text"),r=document.getElementById(n);e.currentTarget.appendChild(r),document.getElementById(n).setAttribute("style","position:absolute; top:"+(this.y-t.top-Number(r.getAttribute("offsetY")))+"px; left:"+(this.x-t.left-Number(r.getAttribute("offsetX")))+"px; ");
-}},{key:"render",value:function(){var e=this,t={border:"1px solid #aaaaaa",position:"relative"},n={zIndex:"-1"},r="zone"+this.props.item.id;return y.default.createElement("div",{id:r,onDrop:function(t){e.drop(t)},onDragOver:function(t){e.allowDrop(t)},style:t},y.default.createElement("img",{src:this.props.item.img,alt:"Drag and Drop image",style:n}))}}]),t}(y.default.Component));t.default=_},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),c=r(u),l=n(8),f=r(l),p=n(6),d=r(p),h=n(1),v=r(h),y=n(4),g=r(y),m=function(e){function t(){(0,s.default)(this,t);var e=(0,f.default)(this,(t.__proto__||(0,i.default)(t)).call(this));return e.state={uplFile:""},e}return(0,d.default)(t,e),(0,c.default)(t,[{key:"handleChange",value:function(e){g.default.isFunction(this.props.selectAnswer)&&this.props.selectAnswer(e.target.files[0]),void 0!==e.target.files[0]?this.setState({uplFile:e.target.files[0].name}):this.setState({uplFile:""})}},{key:"render",value:function(){var e=this;return v.default.createElement("label",{htmlFor:"file-upload",className:"c-file-upload"},v.default.createElement("span",null,this.props.localizedStrings.chooseFile),v.default.createElement("input",{id:"file-upload",ref:function(t){e.inputField=t},onChange:function(t){return e.handleChange(t)},type:"file",className:"c-file-upload-input"}),v.default.createElement("input",{type:"text",value:this.state.uplFile?this.state.uplFile:this.props.localizedStrings.noFile,readOnly:!0}))}}]),t}(v.default.Component);t.default=m},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.FillTheBlank=void 0;var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),c=r(u),l=n(8),f=r(l),p=n(6),d=r(p),h=n(4),v=r(h),y=n(1),g=r(y),m=n(103),_=(r(m),n(214)),b=r(_),w=n(213),E=n(132),T=n(211),C=r(T),S=n(516),x=r(S),O=g.default.createElement(C.default,null),k=t.FillTheBlank=function(e){function t(){(0,s.default)(this,t);var e=(0,f.default)(this,(t.__proto__||(0,i.default)(t)).call(this));return e.state={answerPositions:{}},e}return(0,d.default)(t,e),(0,c.default)(t,[{key:"dropWordInCloud",value:function(e,t){v.default.includes(this.props.selectedAnswer,e)&&this.props.selectAnswer(e)}},{key:"linkWord",value:function(e){this.props.selectAnswer(e)}},{key:"render",value:function(){var e=this,t={};v.default.each(this.props.answers,function(e){t[e.id]=e});var n=v.default.map(t,function(t){return g.default.createElement(w.FillTheBlankDraggableWord,{key:t.id,id:t.id,material:t.material,hide:v.default.includes(e.props.selectedAnswer,t.id),wordClassName:"c-word c-word--blank"})});return g.default.createElement("div",{dir:"ltr"},g.default.createElement("div",{className:"c-word-box"},g.default.createElement(E.FillTheBlankWordDropZone,{ref:function(t){return e.FillTheBlankWordDropZone=t},dropItem:function(t,n){e.dropWordInCloud(t,n)},className:"c-word-box__contain"},n)),g.default.createElement("div",null,g.default.createElement(x.default,{sentenceWords:this.props.sentenceWithBlank,selectedAnswer:t[v.default.first(this.props.selectedAnswer)],linkWord:function(t){e.linkWord(t)}})),O)}}]),t}(g.default.Component);t.default=(0,b.default)(k)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),c=r(u),l=n(8),f=r(l),p=n(6),d=r(p),h=n(1),v=r(h),y=n(4),g=r(y),m=n(213),_=n(132),b=n(161),w=r(b),E=v.default.createElement("div",{className:"c-blank"}),T=function(e){function t(){return(0,s.default)(this,t),(0,f.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,d.default)(t,e),(0,c.default)(t,[{key:"getWords",value:function(e){var t=this;return e.map(function(e,n){return e.indexOf("interaction-placeholder")>=0?g.default.isEmpty(t.props.selectedAnswer)?v.default.createElement(_.FillTheBlankWordDropZone,{className:"c-blank-drop-zone",key:n,dropItem:function(e){t.props.linkWord(e)}},E):v.default.createElement("div",{className:"c-blank-drop-zone",key:t.props.selectedAnswer.id+"-"+n},v.default.createElement(m.FillTheBlankDraggableWord,{id:t.props.selectedAnswer.id,material:t.props.selectedAnswer.material,wordClassName:"c-word c-word--blank"})):v.default.createElement(w.default,{className:"c-word c-word--fill",key:n,material:e})})}},{key:"render",value:function(){return v.default.createElement("div",{className:"c-blank-answers"},this.getWords(this.props.sentenceWords))}}]),t}(v.default.Component);t.default=T},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),c=r(u),l=n(8),f=r(l),p=n(6),d=r(p),h=n(1),v=r(h),y=n(103),g=r(y),m=n(4),_=r(m),b=n(132),w=n(520),E=r(w),T=n(531),C=v.default.createElement("div",null),S=v.default.createElement("div",null),x=v.default.createElement("div",null),O=function(e){function t(){(0,s.default)(this,t);var e=(0,f.default)(this,(t.__proto__||(0,i.default)(t)).call(this));return e.state={draggingIndex:null,wrapIndexes:[0]},e}return(0,d.default)(t,e),(0,c.default)(t,[{key:"componentWillReceiveProps",value:function(e){var t=this;if(!_.default.isEqual(e.wordChain,this.props.wordChain))if(e.wordChain.length>this.props.wordChain.length){var n=g.default.findDOMNode(this.WordDropZone),r=n.getBoundingClientRect();if(r.right-r.left<100){var o=this.props.wordChain.length;this.setState({wrapIndexes:this.state.wrapIndexes.concat(o)})}}else if(e.wordChain.length<this.props.wordChain.length){var i=_.default.dropRightWhile(this.state.wrapIndexes,function(e){return e>=t.state.draggingIndex&&e>0});this.setState({wrapIndexes:i})}}},{key:"componentDidUpdate",value:function(){var e=g.default.findDOMNode(this.WordDropZone),t=e.getBoundingClientRect();if(t.right-t.left<10){var n=this.props.wordChain.length;this.setState({wrapIndexes:this.state.wrapIndexes.concat(n)})}}},{key:"beginDragging",value:function(e){this.setState({dragging:!0,draggingIndex:e})}},{key:"endDragging",value:function(){this.setState({dragging:!1,draggingIndex:null})}},{key:"getLines",value:function(){var e=this;return _.default.map(this.state.wrapIndexes,function(t,n){var r=e.props.wordChain.length;e.state.wrapIndexes[n+1]&&(r=e.state.wrapIndexes[n+1]);var o=_.default.slice(e.props.wordChain,t,r);o=o.map(function(n,r){var o=e.props.answersById[n],i=_.default.at(e.props.answersById,e.props.wordChain.slice(r+t));return v.default.createElement(E.default,{wordClassName:e.props.itemClassName,id:n,key:n,isGroupDragging:e.state.dragging&&r+t>=e.state.draggingIndex,draggableWords:i,beginDragging:function(){e.beginDragging(r+t)},endDragging:function(){e.endDragging()},material:o.material})});var i=e.props.answerBoxClassName,a="c-word c-word--starter",s=C,u=v.default.createElement(b.WordDropZone,{className:"c-drop-zone",ref:function(t){e.WordDropZone=t},dropItem:function(t){e.props.linkWord(t)},overClassName:"c-over-drop-zone"});e.state.wrapIndexes.length>1&&(0===n?(s=T.beginWrap,i+=" c-word-answers--split-top",u=S):(s=T.endWrap,a+=" u-hide",i+=" c-word-answers--split-bottom"));var c=v.default.createElement("div",{className:a});return e.props.noStartBlock&&(c=x),v.default.createElement("div",{key:t,className:i},s,c,o,u)})}},{key:"render",value:function(){var e=this.getLines();return v.default.createElement("div",null,e)}}]),t}(v.default.Component);t.default=O},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(9),a=o(i),s=n(3),u=o(s),c=n(5),l=o(c),f=n(8),p=o(f),d=n(6),h=o(d),v=n(1),y=o(v),g=n(56),m=(r(g),function(e){function t(){return(0,u.default)(this,t),(0,p.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,h.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e="mappedImg"+this.props.item.id,t="#"+e,n=this.props.item.coordinates.toString();return y.default.createElement("div",null,y.default.createElement("img",{src:this.props.item.material,width:this.props.item.width,height:this.props.item.height,alt:e,useMap:t}),y.default.createElement("map",{name:e},y.default.createElement("area",{shape:"rect",coords:n,onClick:function(){}})))}}]),t}(y.default.Component));t.default=m},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Matching=void 0;var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),c=r(u),l=n(8),f=r(l),p=n(6),d=r(p),h=n(1),v=r(h),y=n(43),g=n(4),m=r(g),_=n(56),b=(n(536),v.default.createElement("option",{selected:null,id:"0000"},"[Select Answer]")),w=v.default.createElement("option",{selected:null,id:"0000"}),E=v.default.createElement("option",{selected:null,id:"0000"},"--------------------------------------"),T=t.Matching=function(e){function t(){return(0,s.default)(this,t),(0,f.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,d.default)(t,e),(0,c.default)(t,[{key:"answerSelected",value:function(e,t){var n=e.target.parentNode.firstChild.textContent,r=e.currentTarget.value,o=e.currentTarget.name,i=e.currentTarget.children[e.currentTarget.selectedIndex].id,a={id:n,selectedAnswer:r,answerNumber:o,item:this.props.item,answerId:i};this.props.answerSelected(a)}},{key:"getResponses",value:function(e){for(var t=[],n=0;n<e.correct.length;n++){for(var r={id:e.correct[n].id,material:"",answers:[]},o=0;o<e.answers.length/e.correct.length;o++)r.material=e.answers[o].matchMaterial,r.answers.push(e.answers[o]);t.push(r)}return t}},{key:"getMaterialNames",value:function(){return m.default.chain(this.props.item.answers).map(function(e,t){return e.matchMaterial}).uniq().value()}},{key:"render",value:function(){var e=this,t=this.getResponses(this.props.item),n=this.getMaterialNames(),r=t.map(function(t,r){var o,i="answer-"+r,a="response-"+t.id,s=e.props.studentAnswers?e.props.studentAnswers[r]:{selectedAnswer:""},u=t.answers.map(function(e,t){return s&&s.selectedAnswer.trim()==e.material.trim()&&(o=s.selectedAnswer.trim()),v.default.createElement("option",{key:"answer-"+e.id,value:e.material.trim(),id:e.id},e.material.trim())}),c=e.props.isDisabled?v.default.createElement("select",{disabled:"true",name:i,onChange:function(t,n){e.answerSelected(t,n)}},w,E):v.default.createElement("select",{name:i,value:o,onChange:function(t,n){e.answerSelected(t,n)}},b,u);return v.default.createElement("div",{key:a},n[r],c)});return v.default.createElement("div",null,r)}}]),t}(v.default.Component);t.default=(0,y.connect)(null,{answerSelected:_.answerSelected},null,{withRefs:!0})(T)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return{connectDragSource:e.dragSource(),isDragging:t.isDragging(),connectDragPreview:e.dragPreview()}}Object.defineProperty(t,"__esModule",{value:!0}),t.DraggableGroupWord=void 0;var i=n(9),a=r(i),s=n(3),u=r(s),c=n(5),l=r(c),f=n(8),p=r(f),d=n(6),h=r(d),v=n(1),y=r(v),g=n(99),m=n(190),_=n(161),b=r(_),w=n(104),E=r(w),T={beginDrag:function(e){return e.beginDragging(),{itemId:e.id,words:e.draggableWords,wordClassName:e.wordClassName}},endDrag:function(e,t){e.endDragging()}},C=t.DraggableGroupWord=function(e){function t(){return(0,u.default)(this,t),(0,p.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,h.default)(t,e),(0,l.default)(t,[{key:"componentDidMount",value:function(){this.props.connectDragPreview((0,m.getEmptyImage)())}},{key:"render",value:function(){var e=this.props,t=e.connectDragSource,n=e.isGroupDragging,r=e.material;return t(y.default.createElement("div",{className:"draggable-group-word",style:{display:"inline-block",opacity:n?0:1,cursor:"move"}},y.default.createElement(b.default,{material:r,className:this.props.wordClassName})))}}]),t}(y.default.Component);t.default=(0,g.DragSource)(E.default.WORD_GROUP,T,o)(C)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(9),a=o(i),s=n(3),u=o(s),c=n(5),l=o(c),f=n(8),p=o(f),d=n(6),h=o(d),v=n(1),y=o(v),g=n(56),m=(r(g),n(212)),_=(o(m),function(e){function t(){return(0,u.default)(this,t),(0,p.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,h.default)(t,e),(0,l.default)(t,[{key:"allowDrop",value:function(e){e.preventDefault()}},{key:"drop",value:function(e){e.preventDefault();var t=e.dataTransfer.getData("text");e.target.appendChild(document.getElementById(t))}},{key:"render",value:function(){var e=this,t={position:"absolute",width:this.props.item.width.toString()+"px",height:this.props.item.height.toString()+"px",top:this.props.item.yPos.toString()+"px",left:this.props.item.xPos.toString()+"px",border:"1px solid #aaaaaa"},n="zone"+this.props.item.id;return y.default.createElement("div",{className:"dropZone",id:n,onDrop:function(t){e.props.item.onePerTarget&&document.getElementById(n).hasChildNodes()||e.drop(t)},onDragOver:function(t){e.props.item.onePerTarget&&document.getElementById(n).hasChildNodes()||e.allowDrop(t)},style:t})}}]),t}(y.default.Component));t.default=_},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(9),a=o(i),s=n(3),u=o(s),c=n(5),l=o(c),f=n(8),p=o(f),d=n(6),h=o(d),v=n(1),y=o(v),g=n(56),m=(r(g),function(e){function t(){return(0,u.default)(this,t),(0,p.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,h.default)(t,e),(0,l.default)(t,[{key:"answerSelected",value:function(){}},{key:"render",value:function(){var e=this,t=this.props.item.material.map(function(t){return y.default.createElement("option",{key:t,value:t,name:e.props.name},t)});return y.default.createElement("div",null,y.default.createElement("select",{onChange:function(){e.answerSelected()}},t))}}]),t}(y.default.Component));t.default=m},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),c=r(u),l=n(8),f=r(l),p=n(6),d=r(p),h=n(1),v=r(h),y=v.default.createElement("div",{className:"c-radio-button__border"},v.default.createElement("span",null)),g=function(e){function t(){return(0,s.default)(this,t),(0,f.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,d.default)(t,e),(0,c.default)(t,[{key:"selectAnswer",value:function(){this.props.selectAnswer(this.props.item.id)}},{key:"checkedStatus",value:function(){var e=null;return this.props.checked===!0?e=!0:this.props.checked===!1?e=!1:!this.props.isDisabled,e}},{key:"renderMaterial",value:function(e,t){return t?v.default.createElement("div",{className:"c-answer-container__content",dangerouslySetInnerHTML:{__html:e}}):v.default.createElement("div",{className:"c-answer-container__content"},v.default.createElement("p",null,e))}},{key:"render",value:function(){var e=this,t=this.props,n="";return this.props.checked===!0&&(n="is-clicked"),v.default.createElement("li",{className:"c-answer-container "+n},v.default.createElement("label",{htmlFor:t.id},v.default.createElement("div",{className:"c-answer-container__radio"},v.default.createElement("div",{className:"c-radio-button"},v.default.createElement("input",{type:"radio",checked:this.checkedStatus(),disabled:t.isDisabled,name:"radio",id:t.id,onChange:function(){e.selectAnswer()}}),y)),v.default.createElement("div",{className:"c-answer-container__content"},this.renderMaterial(t.item.material,t.isHtml))))}}]),t}(v.default.Component);t.default=g},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.RecorderCommands=void 0;var o=n(218),i=r(o),a=n(9),s=r(a),u=n(3),c=r(u),l=n(5),f=r(l),p=n(8),d=r(p),h=n(6),v=r(h),y=n(1),g=r(y),m=n(1118),_=r(m),b=(t.RecorderCommands={start:"start",stop:"stop"},function(e){function t(){(0,c.default)(this,t);var e=(0,d.default)(this,(t.__proto__||(0,s.default)(t)).call(this));return e.state={},e}return(0,v.default)(t,e),(0,f.default)(t,[{key:"gUMPolyfill",value:function(e){var t=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia;return t?new i.default(function(n,r){t.call(navigator,e,n,r)}):i.default.reject(new Error("getUserMedia is not implemented in this browser"))}},{key:"startRecorder",value:function(){var e=this;this.state.recorder||(void 0===navigator.mediaDevices&&(navigator.mediaDevices={}),void 0===navigator.mediaDevices.getUserMedia&&(navigator.mediaDevices.getUserMedia=this.gUMPolyfill),navigator.mediaDevices.getUserMedia({audio:!0}).then(function(t){return e.handleStream(t)}).catch(function(e){console.error(e)}))}},{key:"handleStream",value:function(e){window.AudioContext=window.AudioContext||window.webkitAudioContext;var t=new AudioContext,n=t.createMediaStreamSource(e),r=new _.default(n);this.setState({audioContext:t,recorder:r,stream:e}),r.record()}},{key:"cleanupAudioResources",value:function(){this.state.recorder.clear(),this.state.audioContext.close&&this.state.audioContext.close(),this.state.stream.stop?this.state.stream.stop():this.state.stream.getAudioTracks().forEach(function(e){return e.stop()})}},{key:"stopRecorder",value:function(){var e=this;this.state.recorder&&this.state.recorder.recording&&(this.state.recorder.stop(),this.state.recorder.exportWAV(function(t){e.props.onStop(t,e.state.audioContext.currentTime),e.cleanupAudioResources(),e.setState({recorder:null,audioContext:null,stream:null})}))}},{key:"componentWillUnmount",value:function(){this.state.recorder&&this.state.recorder.recording&&(this.state.recorder.stop(),this.cleanupAudioResources())}},{key:"render",value:function(){return"start"==this.props.command?this.startRecorder():"stop"==this.props.command&&this.stopRecorder(),null}}]),t}(g.default.Component));t.default=b},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),c=r(u),l=n(8),f=r(l),p=n(6),d=r(p),h=n(1),v=r(h),y=n(973),g=function(e){function t(){(0,s.default)(this,t);var e=(0,f.default)(this,(t.__proto__||(0,i.default)(t)).call(this));return e.state={minsCt:0,secsCt:0,secsStringCt:"00",prcntCt:0},e}return(0,d.default)(t,e),(0,c.default)(t,[{key:"componentDidMount",value:function(){this.handleTimerCount()}},{key:"componentWillUnmount",value:function(){this.clearTimerCount()}},{key:"tick",value:function(){var e=this;this.setState(function(t){return{prcntCt:Math.round((t.prcntCt+1)/e.props.timeout*100)}}),this.state.secsCt<9?this.setState(function(e){return{secsCt:e.secsCt+1,secsStringCt:"0"+(e.secsCt+1)}}):59===this.state.secsCt?this.setState(function(e){return{minsCt:e.minsCt+1,secsCt:0,secsStringCt:"00"}}):this.setState(function(e){return{secsCt:e.secsCt+1,secsStringCt:e.secsCt+1}})}},{key:"handleTimerCount",value:function(){var e=this;this.interval=setInterval(function(){return e.tick()},1e3)}},{key:"clearTimerCount",value:function(){clearInterval(this.interval),this.setState({minsCt:0,secsCt:0,secsStringCt:"00",prcntCt:0})}},{key:"render",value:function(){return v.default.createElement("div",null,v.default.createElement("div",{className:"c-audio-timer"},v.default.createElement("small",null,this.props.localizedStrings.recordTime)," ",this.state.minsCt,":",this.state.secsStringCt),v.default.createElement(y.Line,{percent:this.state.prcntCt,strokeWidth:"1",strokeColor:"#D0021B"}))}}]),t}(v.default.Component);t.default=g},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),c=r(u),l=n(8),f=r(l),p=n(6),d=r(p),h=n(1),v=r(h),y=n(328),g=r(y),m=n(326),_=r(m),b=function(e){function t(){return(0,s.default)(this,t),(0,f.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,d.default)(t,e),(0,c.default)(t,[{key:"render",value:function(){return v.default.createElement("div",null,v.default.createElement(g.default,this.props),v.default.createElement(_.default,{timeout:this.props.timeout,localizedStrings:this.props.localizedStrings,selectAnswer:this.props.selectAnswer,audioRecordStart:this.props.audioRecordStart,audioRecordStop:this.props.audioRecordStop}))}}]),t}(v.default.Component);t.default=b},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),c=r(u),l=n(8),f=r(l),p=n(6),d=r(p),h=n(1),v=r(h),y=v.default.createElement("input",{type:"text",className:"form-control"}),g=function(e){function t(){return(0,s.default)(this,t),(0,f.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,d.default)(t,e),(0,c.default)(t,[{key:"render",value:function(){return v.default.createElement("div",null,this.props.item.material,y)}}]),t}(v.default.Component);t.default=g},,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return{type:c.LOCALE_SET,apiCall:!0,locale:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Constants=void 0,t.setLocale=o;var i=n(55),a=r(i),s=["LOCALE_SET"],u=[],c=t.Constants=(0,a.default)(s,u)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){return b.getAvailableLanguages().map(function(e){return[e,_[e].name]})}Object.defineProperty(t,"__esModule",{value:!0});var i=n(499),a=r(i),s=n(10),u=r(s);t.availableLocales=o;var c=n(1073),l=r(c),f=n(1345),p=r(f),d=n(1346),h=r(d),v=n(1347),y=r(v),g=n(1348),m=r(g),_=(0,u.default)({},p.default,h.default,y.default,m.default);(0,a.default)(_);var b=new l.default(_);t.default=b},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.endWrap=t.beginWrap=void 0;var o=n(1),i=r(o);t.beginWrap=i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48"},i.default.createElement("path",{d:"M14.83 16.42l9.17 9.17 9.17-9.17 2.83 2.83-12 12-12-12z"})),t.endWrap=i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48"},i.default.createElement("path",{d:"M14.83 16.42l9.17 9.17 9.17-9.17 2.83 2.83-12 12-12-12z"}))},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=12e5;setInterval(function(){e((0,r.refreshJwt)(t))},n)};var r=n(215)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return{question_meta:{zones:e.zones,targets:e.targets},question_type:"clix_drag_and_drop",material:e.text.text,isHtml:!0,answers:e.droppables}}function i(e){switch(e.json.genusTypeId){case"question-type%3Adrag-and-drop%40ODL.MIT.EDU":return o(e);default:var t=(0,u.transformItem)(e.xml),n=e.question_type,r={"question-type%3Aqti-order-interaction-mw-sentence%40ODL.MIT.EDU":"movable_words_sentence","question-type%3Aqti-order-interaction-mw-sandbox%40ODL.MIT.EDU":"movable_words_sandbox","question-type%3Aqti-order-interaction-object-manipulation%40ODL.MIT.EDU":"movable_object_chain","question-type%3Aqti-upload-interaction-generic%40ODL.MIT.EDU":"file_upload_question","question-type%3Aqti-upload-interaction-audio%40ODL.MIT.EDU":"audio_upload_question","question-type%3Aqti-numeric-response%40ODL.MIT.EDU":"numerical_input_question","question-type%3Aqti-choice-interaction-survey%40ODL.MIT.EDU":"survey_question"};return r[e.json.genusTypeId]&&(n=r[e.json.genusTypeId]),s.default.merge({},t,{title:e.title,question_type:n})}}Object.defineProperty(t,"__esModule",{value:!0}),t.transformDragAndDrop=o,t.transformItem=i;var a=n(4),s=r(a),u=n(535)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=(0,p.default)(e),n=t.find("*"),r=(0,p.default)("<div></div>"),o=h.default.find(n,function(e){return e.nodeName.match(/Interaction$/)}),u=[];if(o){var c=o.nodeName,l=s(t,c);l.appendTo(r);var f=h.default.filter((0,p.default)(o).find("*"),function(e){return e.nodeName.match(/Choice$/)});u=f.map(function(e){return{id:e.getAttribute("identifier"),material:(0,p.default)(e).html(),xml:e}})}return{question_meta:i(o,t),question_type:a(o),material:r.html(),isHtml:!0,answers:u}}function i(e,t){var n={};switch(h.default.range(0,e.attributes.length).forEach(function(t){var r=e.attributes.item(t);n[r.name]=r.value}),e.nodeName){case"inlineChoiceInteraction":var r=t.find(e.nodeName).parent().clone();r.find(e.nodeName).replaceWith('<p class="interaction-placeholder"></p>');var o=h.default.filter(r.find("p"),function(e){return e.getAttribute("class")}).map(function(e){return(0,p.default)("<div></div>").html(e).html()});n.fillTheBlankSentence=o}return n}function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};switch(e.nodeName){case"choiceInteraction":return"1"===e.attributes.maxChoices.value?"multiple_choice_question":"multiple_answers_question";case"orderInteraction":return"sentence_sandbox";case"extendedTextInteraction":return"short_answer_question";case"inlineChoiceInteraction":return"fill_the_blank_question";case"textEntryInteraction":return"text_input_question";default:return"UNKNOWN"}}function s(e,t){switch(t){case"inlineChoiceInteraction":return(0,p.default)("")}return e.find("itemBody > *:not("+t+")").clone()}function u(e,t){}function c(e){}function l(e,t){}Object.defineProperty(t,"__esModule",{value:!0}),t.transformItem=o,t.getQuestionMeta=i,t.getQuestionType=a,t.getQuestionMaterial=s,t.getItems=u,t.loadOutcomes=c,t.checkAnswer=l;var f=n(131),p=r(f),d=n(4),h=r(d)},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=(t.currentTime=function(){return(new Date).getTime()},t.makeId=function(){var e,t,n;for(e="",n=0;n<32;n++)8!=n&&12!=n&&16!=n&&20!=n||(e+="-"),t=Math.floor(16*Math.random()).toString(16).toUpperCase(),e+=t;return e},t.htmlDecode=function(e){var t=document.createElement("div");return t.innerHTML=e,0===t.childNodes.length?"":t.childNodes[0].nodeValue});t.htmlDecodeWithRoot=function(e){var t=n(e);return t&&t.length>0?"<root>"+n(e)+"</root>":null},t.getLocation=function(e){var t=document.createElement("a");return t.href=e,t}},function(e,t,n){(function(e){"use strict";function t(e,t,n){e[t]||Object[r](e,t,{writable:!0,configurable:!0,value:n})}if(n(817),n(1139),n(588),e._babelPolyfill)throw new Error("only one instance of babel-polyfill is allowed");e._babelPolyfill=!0;var r="defineProperty";t(String.prototype,"padLeft","".padStart),t(String.prototype,"padRight","".padEnd),"pop,reverse,shift,keys,values,entries,indexOf,every,some,forEach,map,filter,find,findIndex,includes,join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill".split(",").forEach(function(e){[][e]&&t(Array,e,Function.call.bind([][e]))})}).call(t,function(){return this}())},function(e,t,n){e.exports={default:n(591),__esModule:!0}},function(e,t,n){e.exports={default:n(592),__esModule:!0}},function(e,t,n){e.exports={default:n(594),__esModule:!0}},function(e,t,n){e.exports={default:n(597),__esModule:!0}},function(e,t,n){e.exports={default:n(601),__esModule:!0}},function(e,t,n){e.exports={default:n(603),__esModule:!0}},function(e,t,n){e.exports=n(3)},function(e,t,n){e.exports=n(5)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(9),i=r(o),a=n(541),s=r(a);t.default=function e(t,n,r){null===t&&(t=Function.prototype);var o=(0,s.default)(t,n);if(void 0===o){var a=(0,i.default)(t);return null===a?void 0:e(a,n,r)}if("value"in o)return o.value;var u=o.get;if(void 0!==u)return u.call(r)}},function(e,t){"use strict";t.__esModule=!0,t.default=function(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(538),i=r(o),a=n(217),s=r(a);t.default=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=(0,s.default)(e);!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&u.return&&u.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if((0,i.default)(Object(t)))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},function(e,t,n){e.exports=n(340)},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"apathy",author:"jannik siebert (https://github.com/janniks)",base00:"#031A16",base01:"#0B342D",base02:"#184E45",base03:"#2B685E",base04:"#5F9C92",base05:"#81B5AC",base06:"#A7CEC8",base07:"#D2E7E4",base08:"#3E9688",base09:"#3E7996",base0A:"#3E4C96",base0B:"#883E96",base0C:"#963E4C",base0D:"#96883E",base0E:"#4C963E",base0F:"#3E965B"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"ashes",author:"jannik siebert (https://github.com/janniks)",base00:"#1C2023",base01:"#393F45",base02:"#565E65",base03:"#747C84",base04:"#ADB3BA",base05:"#C7CCD1",base06:"#DFE2E5",base07:"#F3F4F5",base08:"#C7AE95",base09:"#C7C795",base0A:"#AEC795",base0B:"#95C7AE",base0C:"#95AEC7",base0D:"#AE95C7",base0E:"#C795AE",base0F:"#C79595"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"atelier dune",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/dune)",base00:"#20201d",base01:"#292824",base02:"#6e6b5e",base03:"#7d7a68",base04:"#999580",base05:"#a6a28c",base06:"#e8e4cf",base07:"#fefbec",base08:"#d73737",base09:"#b65611",base0A:"#cfb017",base0B:"#60ac39",base0C:"#1fad83",base0D:"#6684e1",base0E:"#b854d4",base0F:"#d43552"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"atelier forest",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/forest)",base00:"#1b1918",base01:"#2c2421",base02:"#68615e",base03:"#766e6b",base04:"#9c9491",base05:"#a8a19f",base06:"#e6e2e0",base07:"#f1efee",base08:"#f22c40",base09:"#df5320",base0A:"#d5911a",base0B:"#5ab738",base0C:"#00ad9c",base0D:"#407ee7",base0E:"#6666ea",base0F:"#c33ff3"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"atelier heath",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/heath)",base00:"#1b181b",base01:"#292329",base02:"#695d69",base03:"#776977",base04:"#9e8f9e",base05:"#ab9bab",base06:"#d8cad8",base07:"#f7f3f7",base08:"#ca402b",base09:"#a65926",base0A:"#bb8a35",base0B:"#379a37",base0C:"#159393",base0D:"#516aec",base0E:"#7b59c0",base0F:"#cc33cc"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"atelier lakeside",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/lakeside/)",base00:"#161b1d",base01:"#1f292e",base02:"#516d7b",base03:"#5a7b8c",base04:"#7195a8",base05:"#7ea2b4",base06:"#c1e4f6",base07:"#ebf8ff",base08:"#d22d72",base09:"#935c25",base0A:"#8a8a0f",base0B:"#568c3b",base0C:"#2d8f6f",base0D:"#257fad",base0E:"#5d5db1",base0F:"#b72dd2"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"atelier seaside",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/seaside/)",base00:"#131513",base01:"#242924",base02:"#5e6e5e",base03:"#687d68",base04:"#809980",base05:"#8ca68c",base06:"#cfe8cf",
-base07:"#f0fff0",base08:"#e6193c",base09:"#87711d",base0A:"#c3c322",base0B:"#29a329",base0C:"#1999b3",base0D:"#3d62f5",base0E:"#ad2bee",base0F:"#e619c3"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"bespin",author:"jan t. sott",base00:"#28211c",base01:"#36312e",base02:"#5e5d5c",base03:"#666666",base04:"#797977",base05:"#8a8986",base06:"#9d9b97",base07:"#baae9e",base08:"#cf6a4c",base09:"#cf7d34",base0A:"#f9ee98",base0B:"#54be0d",base0C:"#afc4db",base0D:"#5ea6ea",base0E:"#9b859d",base0F:"#937121"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"brewer",author:"timothée poisot (http://github.com/tpoisot)",base00:"#0c0d0e",base01:"#2e2f30",base02:"#515253",base03:"#737475",base04:"#959697",base05:"#b7b8b9",base06:"#dadbdc",base07:"#fcfdfe",base08:"#e31a1c",base09:"#e6550d",base0A:"#dca060",base0B:"#31a354",base0C:"#80b1d3",base0D:"#3182bd",base0E:"#756bb1",base0F:"#b15928"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"bright",author:"chris kempson (http://chriskempson.com)",base00:"#000000",base01:"#303030",base02:"#505050",base03:"#b0b0b0",base04:"#d0d0d0",base05:"#e0e0e0",base06:"#f5f5f5",base07:"#ffffff",base08:"#fb0120",base09:"#fc6d24",base0A:"#fda331",base0B:"#a1c659",base0C:"#76c7b7",base0D:"#6fb3d2",base0E:"#d381c3",base0F:"#be643c"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"chalk",author:"chris kempson (http://chriskempson.com)",base00:"#151515",base01:"#202020",base02:"#303030",base03:"#505050",base04:"#b0b0b0",base05:"#d0d0d0",base06:"#e0e0e0",base07:"#f5f5f5",base08:"#fb9fb1",base09:"#eda987",base0A:"#ddb26f",base0B:"#acc267",base0C:"#12cfc0",base0D:"#6fc2ef",base0E:"#e1a3ee",base0F:"#deaf8f"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"codeschool",author:"brettof86",base00:"#232c31",base01:"#1c3657",base02:"#2a343a",base03:"#3f4944",base04:"#84898c",base05:"#9ea7a6",base06:"#a7cfa3",base07:"#b5d8f6",base08:"#2a5491",base09:"#43820d",base0A:"#a03b1e",base0B:"#237986",base0C:"#b02f30",base0D:"#484d79",base0E:"#c59820",base0F:"#c98344"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"colors",author:"mrmrs (http://clrs.cc)",base00:"#111111",base01:"#333333",base02:"#555555",base03:"#777777",base04:"#999999",base05:"#bbbbbb",base06:"#dddddd",base07:"#ffffff",base08:"#ff4136",base09:"#ff851b",base0A:"#ffdc00",base0B:"#2ecc40",base0C:"#7fdbff",base0D:"#0074d9",base0E:"#b10dc9",base0F:"#85144b"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"default",author:"chris kempson (http://chriskempson.com)",base00:"#181818",base01:"#282828",base02:"#383838",base03:"#585858",base04:"#b8b8b8",base05:"#d8d8d8",base06:"#e8e8e8",base07:"#f8f8f8",base08:"#ab4642",base09:"#dc9656",base0A:"#f7ca88",base0B:"#a1b56c",base0C:"#86c1b9",base0D:"#7cafc2",base0E:"#ba8baf",base0F:"#a16946"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"eighties",author:"chris kempson (http://chriskempson.com)",base00:"#2d2d2d",base01:"#393939",base02:"#515151",base03:"#747369",base04:"#a09f93",base05:"#d3d0c8",base06:"#e8e6df",base07:"#f2f0ec",base08:"#f2777a",base09:"#f99157",base0A:"#ffcc66",base0B:"#99cc99",base0C:"#66cccc",base0D:"#6699cc",base0E:"#cc99cc",base0F:"#d27b53"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"embers",author:"jannik siebert (https://github.com/janniks)",base00:"#16130F",base01:"#2C2620",base02:"#433B32",base03:"#5A5047",base04:"#8A8075",base05:"#A39A90",base06:"#BEB6AE",base07:"#DBD6D1",base08:"#826D57",base09:"#828257",base0A:"#6D8257",base0B:"#57826D",base0C:"#576D82",base0D:"#6D5782",base0E:"#82576D",base0F:"#825757"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"flat",author:"chris kempson (http://chriskempson.com)",base00:"#2C3E50",base01:"#34495E",base02:"#7F8C8D",base03:"#95A5A6",base04:"#BDC3C7",base05:"#e0e0e0",base06:"#f5f5f5",base07:"#ECF0F1",base08:"#E74C3C",base09:"#E67E22",base0A:"#F1C40F",base0B:"#2ECC71",base0C:"#1ABC9C",base0D:"#3498DB",base0E:"#9B59B6",base0F:"#be643c"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"google",author:"seth wright (http://sethawright.com)",base00:"#1d1f21",base01:"#282a2e",base02:"#373b41",base03:"#969896",base04:"#b4b7b4",base05:"#c5c8c6",base06:"#e0e0e0",base07:"#ffffff",base08:"#CC342B",base09:"#F96A38",base0A:"#FBA922",base0B:"#198844",base0C:"#3971ED",base0D:"#3971ED",base0E:"#A36AC7",base0F:"#3971ED"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"grayscale",author:"alexandre gavioli (https://github.com/alexx2/)",base00:"#101010",base01:"#252525",base02:"#464646",base03:"#525252",base04:"#ababab",base05:"#b9b9b9",base06:"#e3e3e3",base07:"#f7f7f7",base08:"#7c7c7c",base09:"#999999",base0A:"#a0a0a0",base0B:"#8e8e8e",base0C:"#868686",base0D:"#686868",base0E:"#747474",base0F:"#5e5e5e"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"green screen",author:"chris kempson (http://chriskempson.com)",base00:"#001100",base01:"#003300",base02:"#005500",base03:"#007700",base04:"#009900",base05:"#00bb00",base06:"#00dd00",base07:"#00ff00",base08:"#007700",base09:"#009900",base0A:"#007700",base0B:"#00bb00",base0C:"#005500",base0D:"#009900",base0E:"#00bb00",base0F:"#005500"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"harmonic16",author:"jannik siebert (https://github.com/janniks)",base00:"#0b1c2c",base01:"#223b54",base02:"#405c79",base03:"#627e99",base04:"#aabcce",base05:"#cbd6e2",base06:"#e5ebf1",base07:"#f7f9fb",base08:"#bf8b56",base09:"#bfbf56",base0A:"#8bbf56",base0B:"#56bf8b",base0C:"#568bbf",base0D:"#8b56bf",base0E:"#bf568b",base0F:"#bf5656"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"hopscotch",author:"jan t. sott",base00:"#322931",base01:"#433b42",base02:"#5c545b",base03:"#797379",base04:"#989498",base05:"#b9b5b8",base06:"#d5d3d5",base07:"#ffffff",base08:"#dd464c",base09:"#fd8b19",base0A:"#fdcc59",base0B:"#8fc13e",base0C:"#149b93",base0D:"#1290bf",base0E:"#c85e7c",base0F:"#b33508"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"isotope",author:"jan t. sott",base00:"#000000",base01:"#404040",base02:"#606060",base03:"#808080",base04:"#c0c0c0",base05:"#d0d0d0",base06:"#e0e0e0",base07:"#ffffff",base08:"#ff0000",base09:"#ff9900",base0A:"#ff0099",base0B:"#33ff00",base0C:"#00ffff",base0D:"#0066ff",base0E:"#cc00ff",base0F:"#3300ff"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"marrakesh",author:"alexandre gavioli (http://github.com/alexx2/)",base00:"#201602",base01:"#302e00",base02:"#5f5b17",base03:"#6c6823",base04:"#86813b",base05:"#948e48",base06:"#ccc37a",base07:"#faf0a5",base08:"#c35359",base09:"#b36144",base0A:"#a88339",base0B:"#18974e",base0C:"#75a738",base0D:"#477ca1",base0E:"#8868b3",base0F:"#b3588e"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"mocha",author:"chris kempson (http://chriskempson.com)",base00:"#3B3228",base01:"#534636",base02:"#645240",base03:"#7e705a",base04:"#b8afad",base05:"#d0c8c6",base06:"#e9e1dd",base07:"#f5eeeb",base08:"#cb6077",base09:"#d28b71",base0A:"#f4bc87",base0B:"#beb55b",base0C:"#7bbda4",base0D:"#8ab3b5",base0E:"#a89bb9",base0F:"#bb9584"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"monokai",author:"wimer hazenberg (http://www.monokai.nl)",base00:"#272822",base01:"#383830",base02:"#49483e",base03:"#75715e",base04:"#a59f85",base05:"#f8f8f2",base06:"#f5f4f1",base07:"#f9f8f5",base08:"#f92672",base09:"#fd971f",base0A:"#f4bf75",base0B:"#a6e22e",base0C:"#a1efe4",base0D:"#66d9ef",base0E:"#ae81ff",base0F:"#cc6633"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"ocean",author:"chris kempson (http://chriskempson.com)",base00:"#2b303b",base01:"#343d46",base02:"#4f5b66",base03:"#65737e",base04:"#a7adba",base05:"#c0c5ce",base06:"#dfe1e8",base07:"#eff1f5",base08:"#bf616a",base09:"#d08770",base0A:"#ebcb8b",base0B:"#a3be8c",base0C:"#96b5b4",base0D:"#8fa1b3",base0E:"#b48ead",base0F:"#ab7967"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"paraiso",author:"jan t. sott",base00:"#2f1e2e",base01:"#41323f",base02:"#4f424c",base03:"#776e71",base04:"#8d8687",base05:"#a39e9b",base06:"#b9b6b0",base07:"#e7e9db",base08:"#ef6155",base09:"#f99b15",base0A:"#fec418",base0B:"#48b685",base0C:"#5bc4bf",base0D:"#06b6ef",base0E:"#815ba4",base0F:"#e96ba8"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"pop",author:"chris kempson (http://chriskempson.com)",base00:"#000000",base01:"#202020",base02:"#303030",base03:"#505050",base04:"#b0b0b0",base05:"#d0d0d0",base06:"#e0e0e0",base07:"#ffffff",base08:"#eb008a",base09:"#f29333",base0A:"#f8ca12",base0B:"#37b349",base0C:"#00aabb",base0D:"#0e5a94",base0E:"#b31e8d",base0F:"#7a2d00"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"railscasts",author:"ryan bates (http://railscasts.com)",base00:"#2b2b2b",base01:"#272935",base02:"#3a4055",base03:"#5a647e",base04:"#d4cfc9",base05:"#e6e1dc",base06:"#f4f1ed",base07:"#f9f7f3",base08:"#da4939",base09:"#cc7833",base0A:"#ffc66d",base0B:"#a5c261",base0C:"#519f50",base0D:"#6d9cbe",base0E:"#b6b3eb",base0F:"#bc9458"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"shapeshifter",author:"tyler benziger (http://tybenz.com)",base00:"#000000",base01:"#040404",base02:"#102015",base03:"#343434",base04:"#555555",base05:"#ababab",base06:"#e0e0e0",base07:"#f9f9f9",base08:"#e92f2f",base09:"#e09448",base0A:"#dddd13",base0B:"#0ed839",base0C:"#23edda",base0D:"#3b48e3",base0E:"#f996e2",base0F:"#69542d"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"solarized",author:"ethan schoonover (http://ethanschoonover.com/solarized)",base00:"#002b36",base01:"#073642",base02:"#586e75",base03:"#657b83",base04:"#839496",base05:"#93a1a1",base06:"#eee8d5",base07:"#fdf6e3",base08:"#dc322f",base09:"#cb4b16",base0A:"#b58900",base0B:"#859900",base0C:"#2aa198",base0D:"#268bd2",base0E:"#6c71c4",base0F:"#d33682"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"summerfruit",author:"christopher corley (http://cscorley.github.io/)",base00:"#151515",base01:"#202020",base02:"#303030",base03:"#505050",base04:"#B0B0B0",base05:"#D0D0D0",base06:"#E0E0E0",base07:"#FFFFFF",base08:"#FF0086",base09:"#FD8900",base0A:"#ABA800",base0B:"#00C918",base0C:"#1faaaa",base0D:"#3777E6",base0E:"#AD00A1",base0F:"#cc6633"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"threezerotwofour",author:"jan t. sott (http://github.com/idleberg)",base00:"#090300",base01:"#3a3432",base02:"#4a4543",base03:"#5c5855",base04:"#807d7c",base05:"#a5a2a2",base06:"#d6d5d4",base07:"#f7f7f7",base08:"#db2d20",base09:"#e8bbd0",base0A:"#fded02",base0B:"#01a252",base0C:"#b5e4f4",base0D:"#01a0e4",base0E:"#a16a94",base0F:"#cdab53"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"tomorrow",author:"chris kempson (http://chriskempson.com)",base00:"#1d1f21",base01:"#282a2e",base02:"#373b41",base03:"#969896",base04:"#b4b7b4",base05:"#c5c8c6",base06:"#e0e0e0",base07:"#ffffff",base08:"#cc6666",base09:"#de935f",base0A:"#f0c674",base0B:"#b5bd68",base0C:"#8abeb7",base0D:"#81a2be",base0E:"#b294bb",base0F:"#a3685a"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"london tube",author:"jan t. sott",base00:"#231f20",base01:"#1c3f95",base02:"#5a5758",base03:"#737171",base04:"#959ca1",base05:"#d9d8d8",base06:"#e7e7e8",base07:"#ffffff",base08:"#ee2e24",base09:"#f386a1",base0A:"#ffd204",base0B:"#00853e",base0C:"#85cebc",base0D:"#009ddc",base0E:"#98005d",base0F:"#b06110"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"twilight",author:"david hart (http://hart-dev.com)",base00:"#1e1e1e",base01:"#323537",base02:"#464b50",base03:"#5f5a60",base04:"#838184",base05:"#a7a7a7",base06:"#c3c3c3",base07:"#ffffff",base08:"#cf6a4c",base09:"#cda869",base0A:"#f9ee98",base0B:"#8f9d6a",base0C:"#afc4db",base0D:"#7587a6",base0E:"#9b859d",base0F:"#9b703f"},e.exports=t.default},function(e,t,n){function r(e){if(e)return o(e)}function o(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}e.exports=r,r.prototype.on=r.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},r.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=r.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n=this._callbacks["$"+e];if(!n)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var r,o=0;o<n.length;o++)if(r=n[o],r===t||r.fn===t){n.splice(o,1);break}return this},r.prototype.emit=function(e){this._callbacks=this._callbacks||{};var t=[].slice.call(arguments,1),n=this._callbacks["$"+e];if(n){n=n.slice(0);for(var r=0,o=n.length;r<o;++r)n[r].apply(this,t)}return this},r.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},r.prototype.hasListeners=function(e){return!!this.listeners(e).length}},function(e,t,n){n(646),e.exports=n(67).RegExp.escape},function(e,t,n){n(130),n(622),e.exports=n(23).Array.from},function(e,t,n){n(158),n(130),e.exports=n(620)},function(e,t,n){n(158),n(130),e.exports=n(621)},function(e,t,n){n(624),e.exports=n(23).Number.isSafeInteger},function(e,t,n){n(625),e.exports=n(23).Object.assign},function(e,t,n){n(626);var r=n(23).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){n(627);var r=n(23).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){n(628),e.exports=n(23).Object.freeze},function(e,t,n){n(629);var r=n(23).Object;e.exports=function(e,t){return r.getOwnPropertyDescriptor(e,t)}},function(e,t,n){n(630);var r=n(23).Object;e.exports=function(e){return r.getOwnPropertyNames(e)}},function(e,t,n){n(631),e.exports=n(23).Object.getPrototypeOf},function(e,t,n){n(632),e.exports=n(23).Object.keys},function(e,t,n){n(633),e.exports=n(23).Object.setPrototypeOf},function(e,t,n){n(325),n(130),n(158),n(634),e.exports=n(23).Promise},function(e,t,n){n(635),n(325),n(636),n(637),e.exports=n(23).Symbol},function(e,t,n){n(130),n(158),e.exports=n(231).f("iterator")},function(e,t){e.exports=function(){}},[1494,75,210,619],[1502,57,139],[1510,107,225,163],169,[1527,66],[1530,209,139,157,84,34],[1536,107,75],[1541,45,354,137],[1543,107,225,163,129,323,102],[1549,57,64,107,65],[1564,66,64,85,224],[1572,64,220,34],[1575,228,208],[1579,228],function(e,t,n){var r=n(64),o=n(232);e.exports=n(23).getIterator=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return r(t.call(e))}},function(e,t,n){var r=n(207),o=n(34)("iterator"),i=n(106);e.exports=n(23).isIterable=function(e){var t=Object(e);return void 0!==t[o]||"@@iterator"in t||i.hasOwnProperty(r(t))}},[1596,85,48,129,346,345,210,607,232,347],[1598,605,501,106,75,324],[1601,48,610],[1603,48,614],[1604,48,209],[1607,48,65,57],[1609,66,223,138],[1611,75,224,138],[1612,138,348],[1614,129,350,138],[1617,129,107,138],[1618,48,616],[1621,162,45,85,207,48,66,220,342,322,617,354,613,34,352,157,502,23,347],[1626,45,86,65,48,353,223,102,227,157,164,34,231,230,612,608,500,64,75,229,139,209,348,224,57,107,349,163,225,162,84],[1628,230],[1631,230],[1496,18,241,20],[1497,638],function(e,t,n){"use strict";var r=n(12),o=n(60),i="number";e.exports=function(e){if("string"!==e&&e!==i&&"default"!==e)throw TypeError("Incorrect hint");return o(r(this),e!=i)}},[1510,91,173,142],[1536,91,42],function(e,t,n){"use strict";var r=n(644),o=n(169),i=n(38);e.exports=function(){for(var e=i(this),t=arguments.length,n=Array(t),a=0,s=r._,u=!1;t>a;)(n[a]=arguments[a++])===s&&(u=!0);return function(){var r,i=this,a=arguments.length,c=0,l=0;if(!u&&!a)return o(e,n,i);if(r=n.slice(),u)for(;t>c;c++)r[c]===s&&(r[c]=arguments[l++]);for(;a>l;)r.push(arguments[l++]);return o(e,r,i)}}},function(e,t,n){e.exports=n(13)},function(e,t){e.exports=function(e,t){var n=t===Object(t)?function(e){return t[e]}:t;return function(t){return String(t).replace(e,n)}}},function(e,t,n){var r=n(2),o=n(645)(/[\\^$*+?.()|[\]{}]/g,"\\$&");r(r.S,"RegExp",{escape:function(e){return o(e)}})},function(e,t,n){var r=n(2);r(r.P,"Array",{copyWithin:n(356)}),n(108)("copyWithin")},function(e,t,n){"use strict";var r=n(2),o=n(58)(4);r(r.P+r.F*!n(51)([].every,!0),"Array",{every:function(e){return o(this,e,arguments[1])}})},function(e,t,n){var r=n(2);r(r.P,"Array",{fill:n(233)}),n(108)("fill")},function(e,t,n){"use strict";var r=n(2),o=n(58)(2);r(r.P+r.F*!n(51)([].filter,!0),"Array",{filter:function(e){return o(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(2),o=n(58)(6),i="findIndex",a=!0;i in[]&&Array(1)[i](function(){a=!1}),r(r.P+r.F*a,"Array",{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(108)(i)},function(e,t,n){"use strict";var r=n(2),o=n(58)(5),i="find",a=!0;i in[]&&Array(1)[i](function(){a=!1}),r(r.P+r.F*a,"Array",{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(108)(i)},function(e,t,n){"use strict";var r=n(2),o=n(58)(0),i=n(51)([].forEach,!0);r(r.P+r.F*!i,"Array",{forEach:function(e){return o(this,e,arguments[1])}})},[1596,68,2,31,365,240,30,234,257,171],function(e,t,n){"use strict";var r=n(2),o=n(165)(!1),i=[].indexOf,a=!!i&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!n(51)(i)),"Array",{indexOf:function(e){return a?i.apply(this,arguments)||0:o(this,e,arguments[1])}})},function(e,t,n){var r=n(2);r(r.S,"Array",{isArray:n(241)})},function(e,t,n){"use strict";var r=n(2),o=n(42),i=[].join;r(r.P+r.F*(n(141)!=Object||!n(51)(i)),"Array",{join:function(e){return i.call(o(this),void 0===e?",":e)}})},function(e,t,n){"use strict";var r=n(2),o=n(42),i=n(78),a=n(30),s=[].lastIndexOf,u=!!s&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(u||!n(51)(s)),"Array",{lastIndexOf:function(e){if(u)return s.apply(this,arguments)||0;var t=o(this),n=a(t.length),r=n-1;for(arguments.length>1&&(r=Math.min(r,i(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in t&&t[r]===e)return r||0;return-1}})},function(e,t,n){"use strict";var r=n(2),o=n(58)(1);r(r.P+r.F*!n(51)([].map,!0),"Array",{map:function(e){return o(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(2),o=n(234);r(r.S+r.F*n(15)(function(){function e(){}return!(Array.of.call(e)instanceof e)}),"Array",{of:function(){for(var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);t>e;)o(n,e,arguments[e++]);return n.length=t,n}})},function(e,t,n){"use strict";var r=n(2),o=n(358);r(r.P+r.F*!n(51)([].reduceRight,!0),"Array",{reduceRight:function(e){return o(this,e,arguments.length,arguments[1],!0)}})},function(e,t,n){"use strict";var r=n(2),o=n(358);r(r.P+r.F*!n(51)([].reduce,!0),"Array",{reduce:function(e){return o(this,e,arguments.length,arguments[1],!1)}})},function(e,t,n){"use strict";var r=n(2),o=n(238),i=n(49),a=n(94),s=n(30),u=[].slice;r(r.P+r.F*n(15)(function(){o&&u.call(o)}),"Array",{slice:function(e,t){var n=s(this.length),r=i(this);if(t=void 0===t?n:t,"Array"==r)return u.call(this,e,t);for(var o=a(e,n),c=a(t,n),l=s(c-o),f=Array(l),p=0;p<l;p++)f[p]="String"==r?this.charAt(o+p):this[o+p];return f}})},function(e,t,n){"use strict";var r=n(2),o=n(58)(3);r(r.P+r.F*!n(51)([].some,!0),"Array",{some:function(e){return o(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(2),o=n(38),i=n(31),a=n(15),s=[].sort,u=[1,2,3];r(r.P+r.F*(a(function(){u.sort(void 0)})||!a(function(){u.sort(null)})||!n(51)(s)),"Array",{sort:function(e){return void 0===e?s.call(i(this)):s.call(i(this),o(e))}})},function(e,t,n){n(93)("Array")},function(e,t,n){var r=n(2);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},function(e,t,n){"use strict";var r=n(2),o=n(15),i=Date.prototype.getTime,a=function(e){return e>9?e:"0"+e};r(r.P+r.F*(o(function(){return"0385-07-25T07:06:39.999Z"!=new Date(-5e13-1).toISOString()})||!o(function(){new Date(NaN).toISOString()})),"Date",{toISOString:function(){if(!isFinite(i.call(this)))throw RangeError("Invalid time value");var e=this,t=e.getUTCFullYear(),n=e.getUTCMilliseconds(),r=t<0?"-":t>9999?"+":"";return r+("00000"+Math.abs(t)).slice(r?-6:-4)+"-"+a(e.getUTCMonth()+1)+"-"+a(e.getUTCDate())+"T"+a(e.getUTCHours())+":"+a(e.getUTCMinutes())+":"+a(e.getUTCSeconds())+"."+(n>99?n:"0"+a(n))+"Z"}})},function(e,t,n){"use strict";var r=n(2),o=n(31),i=n(60);r(r.P+r.F*n(15)(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(e){var t=o(this),n=i(t);return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},function(e,t,n){var r=n(20)("toPrimitive"),o=Date.prototype;r in o||n(39)(o,r,n(640))},function(e,t,n){var r=Date.prototype,o="Invalid Date",i="toString",a=r[i],s=r.getTime;new Date(NaN)+""!=o&&n(40)(r,i,function(){var e=s.call(this);return e===e?a.call(this):o})},function(e,t,n){var r=n(2);r(r.P,"Function",{bind:n(359)})},function(e,t,n){"use strict";var r=n(18),o=n(47),i=n(20)("hasInstance"),a=Function.prototype;i in a||n(25).f(a,i,{value:function(e){if("function"!=typeof this||!r(e))return!1;if(!r(this.prototype))return e instanceof this;for(;e=o(e);)if(this.prototype===e)return!0;return!1}})},function(e,t,n){var r=n(25).f,o=n(77),i=n(35),a=Function.prototype,s=/^\s*function ([^ (]*)/,u="name",c=Object.isExtensible||function(){return!0};u in a||n(24)&&r(a,u,{configurable:!0,get:function(){try{var e=this,t=(""+e).match(s)[1];return i(e,u)||!c(e)||r(e,u,o(5,t)),t}catch(e){return""}}})},function(e,t,n){var r=n(2),o=n(367),i=Math.sqrt,a=Math.acosh;r(r.S+r.F*!(a&&710==Math.floor(a(Number.MAX_VALUE))&&a(1/0)==1/0),"Math",{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?Math.log(e)+Math.LN2:o(e-1+i(e-1)*i(e+1))}})},function(e,t,n){function r(e){return isFinite(e=+e)&&0!=e?e<0?-r(-e):Math.log(e+Math.sqrt(e*e+1)):e}var o=n(2),i=Math.asinh;o(o.S+o.F*!(i&&1/i(0)>0),"Math",{asinh:r})},function(e,t,n){var r=n(2),o=Math.atanh;r(r.S+r.F*!(o&&1/o(-0)<0),"Math",{atanh:function(e){return 0==(e=+e)?e:Math.log((1+e)/(1-e))/2}})},function(e,t,n){var r=n(2),o=n(245);r(r.S,"Math",{cbrt:function(e){return o(e=+e)*Math.pow(Math.abs(e),1/3)}})},function(e,t,n){var r=n(2);r(r.S,"Math",{clz32:function(e){return(e>>>=0)?31-Math.floor(Math.log(e+.5)*Math.LOG2E):32}})},function(e,t,n){var r=n(2),o=Math.exp;r(r.S,"Math",{cosh:function(e){return(o(e=+e)+o(-e))/2}})},function(e,t,n){var r=n(2),o=n(244);r(r.S+r.F*(o!=Math.expm1),"Math",{expm1:o})},function(e,t,n){var r=n(2),o=n(245),i=Math.pow,a=i(2,-52),s=i(2,-23),u=i(2,127)*(2-s),c=i(2,-126),l=function(e){return e+1/a-1/a};r(r.S,"Math",{fround:function(e){var t,n,r=Math.abs(e),i=o(e);return r<c?i*l(r/c/s)*c*s:(t=(1+s/a)*r,n=t-(t-r),n>u||n!=n?i*(1/0):i*n)}})},function(e,t,n){var r=n(2),o=Math.abs;r(r.S,"Math",{hypot:function(e,t){for(var n,r,i=0,a=0,s=arguments.length,u=0;a<s;)n=o(arguments[a++]),u<n?(r=u/n,i=i*r*r+1,u=n):n>0?(r=n/u,i+=r*r):i+=n;return u===1/0?1/0:u*Math.sqrt(i)}})},function(e,t,n){var r=n(2),o=Math.imul;r(r.S+r.F*n(15)(function(){return o(4294967295,5)!=-5||2!=o.length}),"Math",{imul:function(e,t){var n=65535,r=+e,o=+t,i=n&r,a=n&o;return 0|i*a+((n&r>>>16)*a+i*(n&o>>>16)<<16>>>0)}})},function(e,t,n){var r=n(2);r(r.S,"Math",{log10:function(e){return Math.log(e)/Math.LN10}})},function(e,t,n){var r=n(2);r(r.S,"Math",{log1p:n(367)})},function(e,t,n){var r=n(2);r(r.S,"Math",{log2:function(e){return Math.log(e)/Math.LN2}})},function(e,t,n){var r=n(2);r(r.S,"Math",{sign:n(245)})},function(e,t,n){var r=n(2),o=n(244),i=Math.exp;r(r.S+r.F*n(15)(function(){return!Math.sinh(-2e-17)!=-2e-17}),"Math",{sinh:function(e){return Math.abs(e=+e)<1?(o(e)-o(-e))/2:(i(e-1)-i(-e-1))*(Math.E/2)}})},function(e,t,n){var r=n(2),o=n(244),i=Math.exp;r(r.S,"Math",{tanh:function(e){var t=o(e=+e),n=o(-e);return t==1/0?1:n==1/0?-1:(t-n)/(i(e)+i(-e))}})},function(e,t,n){var r=n(2);r(r.S,"Math",{trunc:function(e){return(e>0?Math.floor:Math.ceil)(e)}})},function(e,t,n){"use strict";var r=n(13),o=n(35),i=n(49),a=n(239),s=n(60),u=n(15),c=n(90).f,l=n(46).f,f=n(25).f,p=n(112).trim,d="Number",h=r[d],v=h,y=h.prototype,g=i(n(89)(y))==d,m="trim"in String.prototype,_=function(e){var t=s(e,!1);if("string"==typeof t&&t.length>2){t=m?t.trim():p(t,3);var n,r,o,i=t.charCodeAt(0);if(43===i||45===i){if(n=t.charCodeAt(2),88===n||120===n)return NaN}else if(48===i){switch(t.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+t}for(var a,u=t.slice(2),c=0,l=u.length;c<l;c++)if(a=u.charCodeAt(c),a<48||a>o)return NaN;return parseInt(u,r)}}return+t};if(!h(" 0o1")||!h("0b1")||h("+0x1")){h=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof h&&(g?u(function(){y.valueOf.call(n)}):i(n)!=d)?a(new v(_(t)),n,h):_(t)};for(var b,w=n(24)?c(v):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),E=0;w.length>E;E++)o(v,b=w[E])&&!o(h,b)&&f(h,b,l(v,b));h.prototype=y,y.constructor=h,n(40)(r,d,h)}},function(e,t,n){var r=n(2);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(e,t,n){var r=n(2),o=n(13).isFinite;r(r.S,"Number",{isFinite:function(e){return"number"==typeof e&&o(e)}})},function(e,t,n){var r=n(2);r(r.S,"Number",{isInteger:n(364)})},function(e,t,n){var r=n(2);r(r.S,"Number",{isNaN:function(e){return e!=e}})},[1601,2,364],function(e,t,n){var r=n(2);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(e,t,n){var r=n(2);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(e,t,n){var r=n(2),o=n(374);r(r.S+r.F*(Number.parseFloat!=o),"Number",{parseFloat:o})},function(e,t,n){var r=n(2),o=n(375);r(r.S+r.F*(Number.parseInt!=o),"Number",{parseInt:o})},function(e,t,n){"use strict";var r=n(2),o=n(78),i=n(355),a=n(252),s=1..toFixed,u=Math.floor,c=[0,0,0,0,0,0],l="Number.toFixed: incorrect invocation!",f="0",p=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*c[n],c[n]=r%1e7,r=u(r/1e7)},d=function(e){for(var t=6,n=0;--t>=0;)n+=c[t],c[t]=u(n/e),n=n%e*1e7},h=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==c[e]){var n=String(c[e]);t=""===t?n:t+a.call(f,7-n.length)+n}return t},v=function(e,t,n){return 0===t?n:t%2===1?v(e,t-1,n*e):v(e*e,t/2,n)},y=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t};r(r.P+r.F*(!!s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(15)(function(){s.call({})})),"Number",{toFixed:function(e){var t,n,r,s,u=i(this,l),c=o(e),g="",m=f;if(c<0||c>20)throw RangeError(l);if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(g="-",u=-u),u>1e-21)if(t=y(u*v(2,69,1))-69,n=t<0?u*v(2,-t,1):u/v(2,t,1),n*=4503599627370496,t=52-t,t>0){for(p(0,n),r=c;r>=7;)p(1e7,0),r-=7;for(p(v(10,r,1),0),r=t-1;r>=23;)d(1<<23),r-=23;d(1<<r),p(1,1),d(2),m=h()}else p(0,n),p(1<<-t,0),m=h()+a.call(f,c);return c>0?(s=m.length,m=g+(s<=c?"0."+a.call(f,c-s)+m:m.slice(0,s-c)+"."+m.slice(s-c))):m=g+m,m}})},function(e,t,n){"use strict";var r=n(2),o=n(15),i=n(355),a=1..toPrecision;r(r.P+r.F*(o(function(){return"1"!==a.call(1,void 0)})||!o(function(){a.call({})})),"Number",{toPrecision:function(e){var t=i(this,"Number#toPrecision: incorrect invocation!");return void 0===e?a.call(t):a.call(t,e)}})},[1603,2,368],[1604,2,89],function(e,t,n){var r=n(2);r(r.S+r.F*!n(24),"Object",{defineProperties:n(369)})},[1607,2,24,25],[1609,18,76,59],[1611,42,46,59],[1612,59,370],[1614,31,47,59],function(e,t,n){var r=n(18);n(59)("isExtensible",function(e){return function(t){return!!r(t)&&(!e||e(t))}})},function(e,t,n){var r=n(18);n(59)("isFrozen",function(e){return function(t){return!r(t)||!!e&&e(t)}})},function(e,t,n){var r=n(18);n(59)("isSealed",function(e){return function(t){return!r(t)||!!e&&e(t)}})},function(e,t,n){var r=n(2);r(r.S,"Object",{is:n(376)})},[1617,31,91,59],function(e,t,n){var r=n(18),o=n(76).onFreeze;n(59)("preventExtensions",function(e){return function(t){return e&&r(t)?e(o(t)):t}})},function(e,t,n){var r=n(18),o=n(76).onFreeze;n(59)("seal",function(e){return function(t){return e&&r(t)?e(o(t)):t}})},[1618,2,247],function(e,t,n){"use strict";var r=n(140),o={};o[n(20)("toStringTag")]="z",o+""!="[object z]"&&n(40)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(e,t,n){var r=n(2),o=n(374);r(r.G+r.F*(parseFloat!=o),{parseFloat:o})},function(e,t,n){var r=n(2),o=n(375);r(r.G+r.F*(parseInt!=o),{parseInt:o})},[1621,88,13,68,140,2,18,38,87,109,249,254,246,20,92,111,93,67,171],function(e,t,n){var r=n(2),o=n(38),i=n(12),a=(n(13).Reflect||{}).apply,s=Function.apply;r(r.S+r.F*!n(15)(function(){a(function(){})}),"Reflect",{apply:function(e,t,n){var r=o(e),u=i(n);return a?a(r,t,u):s.call(r,t,u)}})},function(e,t,n){var r=n(2),o=n(89),i=n(38),a=n(12),s=n(18),u=n(15),c=n(359),l=(n(13).Reflect||{}).construct,f=u(function(){function e(){}return!(l(function(){},[],e)instanceof e)}),p=!u(function(){l(function(){})});r(r.S+r.F*(f||p),"Reflect",{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(p&&!f)return l(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(c.apply(e,r))}var u=n.prototype,d=o(s(u)?u:Object.prototype),h=Function.apply.call(e,d,t);return s(h)?h:d}})},function(e,t,n){var r=n(25),o=n(2),i=n(12),a=n(60);o(o.S+o.F*n(15)(function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(e,t,n){i(e),t=a(t,!0),i(n);try{return r.f(e,t,n),!0}catch(e){return!1}}})},function(e,t,n){var r=n(2),o=n(46).f,i=n(12);r(r.S,"Reflect",{deleteProperty:function(e,t){var n=o(i(e),t);return!(n&&!n.configurable)&&delete e[t]}})},function(e,t,n){"use strict";var r=n(2),o=n(12),i=function(e){this._t=o(e),this._i=0;var t,n=this._k=[];for(t in e)n.push(t)};n(242)(i,"Object",function(){var e,t=this,n=t._k;do if(t._i>=n.length)return{value:void 0,done:!0};while(!((e=n[t._i++])in t._t));return{value:e,done:!1}}),r(r.S,"Reflect",{enumerate:function(e){return new i(e)}})},function(e,t,n){var r=n(46),o=n(2),i=n(12);o(o.S,"Reflect",{getOwnPropertyDescriptor:function(e,t){return r.f(i(e),t)}})},function(e,t,n){var r=n(2),o=n(47),i=n(12);r(r.S,"Reflect",{getPrototypeOf:function(e){return o(i(e))}})},function(e,t,n){function r(e,t){var n,s,l=arguments.length<3?e:arguments[2];return c(e)===l?e[t]:(n=o.f(e,t))?a(n,"value")?n.value:void 0!==n.get?n.get.call(l):void 0:u(s=i(e))?r(s,t,l):void 0}var o=n(46),i=n(47),a=n(35),s=n(2),u=n(18),c=n(12);s(s.S,"Reflect",{get:r})},function(e,t,n){var r=n(2);r(r.S,"Reflect",{has:function(e,t){return t in e}})},function(e,t,n){var r=n(2),o=n(12),i=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(e){return o(e),!i||i(e)}})},function(e,t,n){var r=n(2);r(r.S,"Reflect",{ownKeys:n(373)})},function(e,t,n){var r=n(2),o=n(12),i=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(e){o(e);try{return i&&i(e),!0}catch(e){return!1}}})},function(e,t,n){var r=n(2),o=n(247);o&&r(r.S,"Reflect",{setPrototypeOf:function(e,t){o.check(e,t);try{return o.set(e,t),!0}catch(e){return!1}}})},function(e,t,n){function r(e,t,n){var u,p,d=arguments.length<4?e:arguments[3],h=i.f(l(e),t);if(!h){if(f(p=a(e)))return r(p,t,n,d);h=c(0)}return s(h,"value")?!(h.writable===!1||!f(d))&&(u=i.f(d,t)||c(0),
-u.value=n,o.f(d,t,u),!0):void 0!==h.set&&(h.set.call(d,n),!0)}var o=n(25),i=n(46),a=n(47),s=n(35),u=n(2),c=n(77),l=n(12),f=n(18);u(u.S,"Reflect",{set:r})},function(e,t,n){var r=n(13),o=n(239),i=n(25).f,a=n(90).f,s=n(170),u=n(168),c=r.RegExp,l=c,f=c.prototype,p=/a/g,d=/a/g,h=new c(p)!==p;if(n(24)&&(!h||n(15)(function(){return d[n(20)("match")]=!1,c(p)!=p||c(d)==d||"/a/i"!=c(p,"i")}))){c=function(e,t){var n=this instanceof c,r=s(e),i=void 0===t;return!n&&r&&e.constructor===c&&i?e:o(h?new l(r&&!i?e.source:e,t):l((r=e instanceof c)?e.source:e,r&&i?u.call(e):t),n?this:f,c)};for(var v=(function(e){e in c||i(c,e,{configurable:!0,get:function(){return l[e]},set:function(t){l[e]=t}})}),y=a(l),g=0;y.length>g;)v(y[g++]);f.constructor=c,c.prototype=f,n(40)(r,"RegExp",c)}n(93)("RegExp")},function(e,t,n){n(167)("match",1,function(e,t,n){return[function(n){"use strict";var r=e(this),o=void 0==n?void 0:n[t];return void 0!==o?o.call(n,r):new RegExp(n)[t](String(r))},n]})},function(e,t,n){n(167)("replace",2,function(e,t,n){return[function(r,o){"use strict";var i=e(this),a=void 0==r?void 0:r[t];return void 0!==a?a.call(r,i,o):n.call(String(i),r,o)},n]})},function(e,t,n){n(167)("search",1,function(e,t,n){return[function(n){"use strict";var r=e(this),o=void 0==n?void 0:n[t];return void 0!==o?o.call(n,r):new RegExp(n)[t](String(r))},n]})},function(e,t,n){n(167)("split",2,function(e,t,r){"use strict";var o=n(170),i=r,a=[].push,s="split",u="length",c="lastIndex";if("c"=="abbc"[s](/(b)*/)[1]||4!="test"[s](/(?:)/,-1)[u]||2!="ab"[s](/(?:ab)*/)[u]||4!="."[s](/(.?)(.?)/)[u]||"."[s](/()()/)[u]>1||""[s](/.?/)[u]){var l=void 0===/()??/.exec("")[1];r=function(e,t){var n=String(this);if(void 0===e&&0===t)return[];if(!o(e))return i.call(n,e,t);var r,s,f,p,d,h=[],v=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),y=0,g=void 0===t?4294967295:t>>>0,m=new RegExp(e.source,v+"g");for(l||(r=new RegExp("^"+m.source+"$(?!\\s)",v));(s=m.exec(n))&&(f=s.index+s[0][u],!(f>y&&(h.push(n.slice(y,s.index)),!l&&s[u]>1&&s[0].replace(r,function(){for(d=1;d<arguments[u]-2;d++)void 0===arguments[d]&&(s[d]=void 0)}),s[u]>1&&s.index<n[u]&&a.apply(h,s.slice(1)),p=s[0][u],y=f,h[u]>=g)));)m[c]===s.index&&m[c]++;return y===n[u]?!p&&m.test("")||h.push(""):h.push(n.slice(y)),h[u]>g?h.slice(0,g):h}}else"0"[s](void 0,0)[u]&&(r=function(e,t){return void 0===e&&0===t?[]:i.call(this,e,t)});return[function(n,o){var i=e(this),a=void 0==n?void 0:n[t];return void 0!==a?a.call(n,i,o):r.call(String(i),n,o)},r]})},function(e,t,n){"use strict";n(380);var r=n(12),o=n(168),i=n(24),a="toString",s=/./[a],u=function(e){n(40)(RegExp.prototype,a,e,!0)};n(15)(function(){return"/a/b"!=s.call({source:"a",flags:"b"})})?u(function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!i&&e instanceof RegExp?o.call(e):void 0)}):s.name!=a&&u(function(){return s.call(this)})},function(e,t,n){"use strict";n(41)("anchor",function(e){return function(t){return e(this,"a","name",t)}})},function(e,t,n){"use strict";n(41)("big",function(e){return function(){return e(this,"big","","")}})},function(e,t,n){"use strict";n(41)("blink",function(e){return function(){return e(this,"blink","","")}})},function(e,t,n){"use strict";n(41)("bold",function(e){return function(){return e(this,"b","","")}})},function(e,t,n){"use strict";var r=n(2),o=n(250)(!1);r(r.P,"String",{codePointAt:function(e){return o(this,e)}})},function(e,t,n){"use strict";var r=n(2),o=n(30),i=n(251),a="endsWith",s=""[a];r(r.P+r.F*n(237)(a),"String",{endsWith:function(e){var t=i(this,e,a),n=arguments.length>1?arguments[1]:void 0,r=o(t.length),u=void 0===n?r:Math.min(o(n),r),c=String(e);return s?s.call(t,c,u):t.slice(u-c.length,u)===c}})},function(e,t,n){"use strict";n(41)("fixed",function(e){return function(){return e(this,"tt","","")}})},function(e,t,n){"use strict";n(41)("fontcolor",function(e){return function(t){return e(this,"font","color",t)}})},function(e,t,n){"use strict";n(41)("fontsize",function(e){return function(t){return e(this,"font","size",t)}})},function(e,t,n){var r=n(2),o=n(94),i=String.fromCharCode,a=String.fromCodePoint;r(r.S+r.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(e){for(var t,n=[],r=arguments.length,a=0;r>a;){if(t=+arguments[a++],o(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?i(t):i(((t-=65536)>>10)+55296,t%1024+56320))}return n.join("")}})},function(e,t,n){"use strict";var r=n(2),o=n(251),i="includes";r(r.P+r.F*n(237)(i),"String",{includes:function(e){return!!~o(this,e,i).indexOf(e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";n(41)("italics",function(e){return function(){return e(this,"i","","")}})},[1624,250,243],function(e,t,n){"use strict";n(41)("link",function(e){return function(t){return e(this,"a","href",t)}})},function(e,t,n){var r=n(2),o=n(42),i=n(30);r(r.S,"String",{raw:function(e){for(var t=o(e.raw),n=i(t.length),r=arguments.length,a=[],s=0;n>s;)a.push(String(t[s++])),s<r&&a.push(String(arguments[s]));return a.join("")}})},function(e,t,n){var r=n(2);r(r.P,"String",{repeat:n(252)})},function(e,t,n){"use strict";n(41)("small",function(e){return function(){return e(this,"small","","")}})},function(e,t,n){"use strict";var r=n(2),o=n(30),i=n(251),a="startsWith",s=""[a];r(r.P+r.F*n(237)(a),"String",{startsWith:function(e){var t=i(this,e,a),n=o(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return s?s.call(t,r,n):t.slice(n,n+r.length)===r}})},function(e,t,n){"use strict";n(41)("strike",function(e){return function(){return e(this,"strike","","")}})},function(e,t,n){"use strict";n(41)("sub",function(e){return function(){return e(this,"sub","","")}})},function(e,t,n){"use strict";n(41)("sup",function(e){return function(){return e(this,"sup","","")}})},function(e,t,n){"use strict";n(112)("trim",function(e){return function(){return e(this,3)}})},[1626,13,35,24,2,40,76,15,174,111,95,20,378,256,642,641,241,12,42,60,77,89,370,46,25,91,90,142,173,88,39],function(e,t,n){"use strict";var r=n(2),o=n(175),i=n(255),a=n(12),s=n(94),u=n(30),c=n(18),l=n(13).ArrayBuffer,f=n(249),p=i.ArrayBuffer,d=i.DataView,h=o.ABV&&l.isView,v=p.prototype.slice,y=o.VIEW,g="ArrayBuffer";r(r.G+r.W+r.F*(l!==p),{ArrayBuffer:p}),r(r.S+r.F*!o.CONSTR,g,{isView:function(e){return h&&h(e)||c(e)&&y in e}}),r(r.P+r.U+r.F*n(15)(function(){return!new p(2).slice(1,void 0).byteLength}),g,{slice:function(e,t){if(void 0!==v&&void 0===t)return v.call(a(this),e);for(var n=a(this).byteLength,r=s(e,n),o=s(void 0===t?n:t,n),i=new(f(this,p))(u(o-r)),c=new d(this),l=new d(i),h=0;r<o;)l.setUint8(h++,c.getUint8(r++));return i}}),n(93)(g)},function(e,t,n){var r=n(2);r(r.G+r.W+r.F*!n(175).ABV,{DataView:n(255).DataView})},function(e,t,n){n(70)("Float32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(70)("Float64",8,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(70)("Int16",2,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(70)("Int32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(70)("Int8",1,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(70)("Uint16",2,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(70)("Uint32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(70)("Uint8",1,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(70)("Uint8",1,function(e){return function(t,n,r){return e(this,t,n,r)}},!0)},function(e,t,n){"use strict";var r=n(362);n(166)("WeakSet",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return r.def(this,e,!0)}},r,!1,!0)},function(e,t,n){"use strict";var r=n(2),o=n(165)(!0);r(r.P,"Array",{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(108)("includes")},function(e,t,n){var r=n(2),o=n(246)(),i=n(13).process,a="process"==n(49)(i);r(r.G,{asap:function(e){var t=a&&i.domain;o(t?t.bind(e):e)}})},function(e,t,n){var r=n(2),o=n(49);r(r.S,"Error",{isError:function(e){return"Error"===o(e)}})},function(e,t,n){var r=n(2);r(r.P+r.R,"Map",{toJSON:n(361)("Map")})},function(e,t,n){var r=n(2);r(r.S,"Math",{iaddh:function(e,t,n,r){var o=e>>>0,i=t>>>0,a=n>>>0;return i+(r>>>0)+((o&a|(o|a)&~(o+a>>>0))>>>31)|0}})},function(e,t,n){var r=n(2);r(r.S,"Math",{imulh:function(e,t){var n=65535,r=+e,o=+t,i=r&n,a=o&n,s=r>>16,u=o>>16,c=(s*a>>>0)+(i*a>>>16);return s*u+(c>>16)+((i*u>>>0)+(c&n)>>16)}})},function(e,t,n){var r=n(2);r(r.S,"Math",{isubh:function(e,t,n,r){var o=e>>>0,i=t>>>0,a=n>>>0;return i-(r>>>0)-((~o&a|~(o^a)&o-a>>>0)>>>31)|0}})},function(e,t,n){var r=n(2);r(r.S,"Math",{umulh:function(e,t){var n=65535,r=+e,o=+t,i=r&n,a=o&n,s=r>>>16,u=o>>>16,c=(s*a>>>0)+(i*a>>>16);return s*u+(c>>>16)+((i*u>>>0)+(c&n)>>>16)}})},function(e,t,n){"use strict";var r=n(2),o=n(31),i=n(38),a=n(25);n(24)&&r(r.P+n(172),"Object",{__defineGetter__:function(e,t){a.f(o(this),e,{get:i(t),enumerable:!0,configurable:!0})}})},function(e,t,n){"use strict";var r=n(2),o=n(31),i=n(38),a=n(25);n(24)&&r(r.P+n(172),"Object",{__defineSetter__:function(e,t){a.f(o(this),e,{set:i(t),enumerable:!0,configurable:!0})}})},function(e,t,n){var r=n(2),o=n(372)(!0);r(r.S,"Object",{entries:function(e){return o(e)}})},function(e,t,n){var r=n(2),o=n(373),i=n(42),a=n(46),s=n(234);r(r.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n=i(e),r=a.f,u=o(n),c={},l=0;u.length>l;)s(c,t=u[l++],r(n,t));return c}})},function(e,t,n){"use strict";var r=n(2),o=n(31),i=n(60),a=n(47),s=n(46).f;n(24)&&r(r.P+n(172),"Object",{__lookupGetter__:function(e){var t,n=o(this),r=i(e,!0);do if(t=s(n,r))return t.get;while(n=a(n))}})},function(e,t,n){"use strict";var r=n(2),o=n(31),i=n(60),a=n(47),s=n(46).f;n(24)&&r(r.P+n(172),"Object",{__lookupSetter__:function(e){var t,n=o(this),r=i(e,!0);do if(t=s(n,r))return t.set;while(n=a(n))}})},function(e,t,n){var r=n(2),o=n(372)(!1);r(r.S,"Object",{values:function(e){return o(e)}})},function(e,t,n){"use strict";var r=n(2),o=n(13),i=n(67),a=n(246)(),s=n(20)("observable"),u=n(38),c=n(12),l=n(87),f=n(92),p=n(39),d=n(109),h=d.RETURN,v=function(e){return null==e?void 0:u(e)},y=function(e){var t=e._c;t&&(e._c=void 0,t())},g=function(e){return void 0===e._o},m=function(e){g(e)||(e._o=void 0,y(e))},_=function(e,t){c(e),this._c=void 0,this._o=e,e=new b(this);try{var n=t(e),r=n;null!=n&&("function"==typeof n.unsubscribe?n=function(){r.unsubscribe()}:u(n),this._c=n)}catch(t){return void e.error(t)}g(this)&&y(this)};_.prototype=f({},{unsubscribe:function(){m(this)}});var b=function(e){this._s=e};b.prototype=f({},{next:function(e){var t=this._s;if(!g(t)){var n=t._o;try{var r=v(n.next);if(r)return r.call(n,e)}catch(e){try{m(t)}finally{throw e}}}},error:function(e){var t=this._s;if(g(t))throw e;var n=t._o;t._o=void 0;try{var r=v(n.error);if(!r)throw e;e=r.call(n,e)}catch(e){try{y(t)}finally{throw e}}return y(t),e},complete:function(e){var t=this._s;if(!g(t)){var n=t._o;t._o=void 0;try{var r=v(n.complete);e=r?r.call(n,e):void 0}catch(e){try{y(t)}finally{throw e}}return y(t),e}}});var w=function(e){l(this,w,"Observable","_f")._f=u(e)};f(w.prototype,{subscribe:function(e){return new _(e,this._f)},forEach:function(e){var t=this;return new(i.Promise||o.Promise)(function(n,r){u(e);var o=t.subscribe({next:function(t){try{return e(t)}catch(e){r(e),o.unsubscribe()}},error:r,complete:n})})}}),f(w,{from:function(e){var t="function"==typeof this?this:w,n=v(c(e)[s]);if(n){var r=c(n.call(e));return r.constructor===t?r:new t(function(e){return r.subscribe(e)})}return new t(function(t){var n=!1;return a(function(){if(!n){try{if(d(e,!1,function(e){if(t.next(e),n)return h})===h)return}catch(e){if(n)throw e;return void t.error(e)}t.complete()}}),function(){n=!0}})},of:function(){for(var e=0,t=arguments.length,n=Array(t);e<t;)n[e]=arguments[e++];return new("function"==typeof this?this:w)(function(e){var t=!1;return a(function(){if(!t){for(var r=0;r<n.length;++r)if(e.next(n[r]),t)return;e.complete()}}),function(){t=!0}})}}),p(w.prototype,s,function(){return this}),r(r.G,{Observable:w}),n(93)("Observable")},function(e,t,n){var r=n(69),o=n(12),i=r.key,a=r.set;r.exp({defineMetadata:function(e,t,n,r){a(e,t,o(n),i(r))}})},function(e,t,n){var r=n(69),o=n(12),i=r.key,a=r.map,s=r.store;r.exp({deleteMetadata:function(e,t){var n=arguments.length<3?void 0:i(arguments[2]),r=a(o(t),n,!1);if(void 0===r||!r.delete(e))return!1;if(r.size)return!0;var u=s.get(t);return u.delete(n),!!u.size||s.delete(t)}})},function(e,t,n){var r=n(381),o=n(357),i=n(69),a=n(12),s=n(47),u=i.keys,c=i.key,l=function(e,t){var n=u(e,t),i=s(e);if(null===i)return n;var a=l(i,t);return a.length?n.length?o(new r(n.concat(a))):a:n};i.exp({getMetadataKeys:function(e){return l(a(e),arguments.length<2?void 0:c(arguments[1]))}})},function(e,t,n){var r=n(69),o=n(12),i=n(47),a=r.has,s=r.get,u=r.key,c=function(e,t,n){var r=a(e,t,n);if(r)return s(e,t,n);var o=i(t);return null!==o?c(e,o,n):void 0};r.exp({getMetadata:function(e,t){return c(e,o(t),arguments.length<3?void 0:u(arguments[2]))}})},function(e,t,n){var r=n(69),o=n(12),i=r.keys,a=r.key;r.exp({getOwnMetadataKeys:function(e){return i(o(e),arguments.length<2?void 0:a(arguments[1]))}})},function(e,t,n){var r=n(69),o=n(12),i=r.get,a=r.key;r.exp({getOwnMetadata:function(e,t){return i(e,o(t),arguments.length<3?void 0:a(arguments[2]))}})},function(e,t,n){var r=n(69),o=n(12),i=n(47),a=r.has,s=r.key,u=function(e,t,n){var r=a(e,t,n);if(r)return!0;var o=i(t);return null!==o&&u(e,o,n)};r.exp({hasMetadata:function(e,t){return u(e,o(t),arguments.length<3?void 0:s(arguments[2]))}})},function(e,t,n){var r=n(69),o=n(12),i=r.has,a=r.key;r.exp({hasOwnMetadata:function(e,t){return i(e,o(t),arguments.length<3?void 0:a(arguments[2]))}})},function(e,t,n){var r=n(69),o=n(12),i=n(38),a=r.key,s=r.set;r.exp({metadata:function(e,t){return function(n,r){s(e,t,(void 0!==r?o:i)(n),a(r))}}})},[1627,2,361],function(e,t,n){"use strict";var r=n(2),o=n(250)(!0);r(r.P,"String",{at:function(e){return o(this,e)}})},function(e,t,n){"use strict";var r=n(2),o=n(50),i=n(30),a=n(170),s=n(168),u=RegExp.prototype,c=function(e,t){this._r=e,this._s=t};n(242)(c,"RegExp String",function(){var e=this._r.exec(this._s);return{value:e,done:null===e}}),r(r.P,"String",{matchAll:function(e){if(o(this),!a(e))throw TypeError(e+" is not a regexp!");var t=String(this),n="flags"in u?String(e.flags):s.call(e),r=new RegExp(e.source,~n.indexOf("g")?n:"g"+n);return r.lastIndex=i(e.lastIndex),new c(r,t)}})},function(e,t,n){"use strict";var r=n(2),o=n(377);r(r.P,"String",{padEnd:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0,!1)}})},function(e,t,n){"use strict";var r=n(2),o=n(377);r(r.P,"String",{padStart:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0,!0)}})},function(e,t,n){"use strict";n(112)("trimLeft",function(e){return function(){return e(this,1)}},"trimStart")},function(e,t,n){"use strict";n(112)("trimRight",function(e){return function(){return e(this,2)}},"trimEnd")},[1628,256],[1631,256],function(e,t,n){var r=n(2);r(r.S,"System",{global:n(13)})},function(e,t,n){for(var r=n(258),o=n(40),i=n(13),a=n(39),s=n(110),u=n(20),c=u("iterator"),l=u("toStringTag"),f=s.Array,p=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],d=0;d<5;d++){var h,v=p[d],y=i[v],g=y&&y.prototype;if(g){g[c]||a(g,c,f),g[l]||a(g,l,v),s[v]=f;for(h in r)g[h]||o(g,h,r[h],!0)}}},function(e,t,n){var r=n(2),o=n(254);r(r.G+r.B,{setImmediate:o.set,clearImmediate:o.clear})},function(e,t,n){var r=n(13),o=n(2),i=n(169),a=n(643),s=r.navigator,u=!!s&&/MSIE .\./.test(s.userAgent),c=function(e){return u?function(t,n){return e(i(a,[].slice.call(arguments,2),"function"==typeof t?t:Function(t)),n)}:e};o(o.G+o.B+o.F*u,{setTimeout:c(r.setTimeout),setInterval:c(r.setInterval)})},function(e,t,n){n(766),n(705),n(707),n(706),n(709),n(711),n(716),n(710),n(708),n(718),n(717),n(713),n(714),n(712),n(704),n(715),n(719),n(720),n(672),n(674),n(673),n(722),n(721),n(692),n(702),n(703),n(693),n(694),n(695),n(696),n(697),n(698),n(699),n(700),n(701),n(675),n(676),n(677),n(678),n(679),n(680),n(681),n(682),n(683),n(684),n(685),n(686),n(687),n(688),n(689),n(690),n(691),n(753),n(758),n(765),n(756),n(748),n(749),n(754),n(759),n(761),n(744),n(745),n(746),n(747),n(750),n(751),n(752),n(755),n(757),n(760),n(762),n(763),n(764),n(667),n(669),n(668),n(671),n(670),n(656),n(654),n(660),n(657),n(663),n(665),n(653),n(659),n(650),n(664),n(648),n(662),n(661),n(655),n(658),n(647),n(649),n(652),n(651),n(666),n(258),n(738),n(743),n(380),n(739),n(740),n(741),n(742),n(723),n(379),n(381),n(382),n(778),n(767),n(768),n(773),n(776),n(777),n(771),n(774),n(772),n(775),n(769),n(770),n(724),n(725),n(726),n(727),n(728),n(731),n(729),n(730),n(732),n(733),n(734),n(735),n(737),n(736),n(779),n(805),n(808),n(807),n(809),n(810),n(806),n(811),n(812),n(790),n(793),n(789),n(787),n(788),n(791),n(792),n(782),n(804),n(813),n(781),n(783),n(785),n(784),n(786),n(795),n(796),n(798),n(797),n(800),n(799),n(801),n(802),n(803),n(780),n(794),n(816),n(815),n(814),e.exports=n(67)},function(e,t,n){"use strict";var r=function(e){return e&&e.__esModule?e:{default:e}},o=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")};t.__esModule=!0;var i=n(259),a=r(i),s=function(){function e(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];o(this,e),Array.isArray(n[0])&&1===n.length&&(n=n[0]);for(var i=0;i<n.length;i++)if(!a.default(n[i]))throw new Error("Expected a disposable");this.disposables=n,this.isDisposed=!1}return e.prototype.add=function(e){this.isDisposed?e.dispose():this.disposables.push(e)},e.prototype.remove=function(e){if(this.isDisposed)return!1;var t=this.disposables.indexOf(e);return t!==-1&&(this.disposables.splice(t,1),e.dispose(),!0)},e.prototype.dispose=function(){if(!this.isDisposed){for(var e=this.disposables.length,t=new Array(e),n=0;n<e;n++)t[n]=this.disposables[n];this.isDisposed=!0,this.disposables=[],this.length=0;for(var n=0;n<e;n++)t[n].dispose()}},e}();t.default=s,e.exports=t.default},function(e,t){"use strict";var n=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.__esModule=!0;var o=function(){},i=function(){function e(t){n(this,e),this.isDisposed=!1,this.action=t||o}return e.prototype.dispose=function(){this.isDisposed||(this.action.call(null),this.isDisposed=!0)},r(e,null,[{key:"empty",enumerable:!0,value:{dispose:o}}]),e}();t.default=i,e.exports=t.default},function(e,t,n){"use strict";var r=function(e){return e&&e.__esModule?e:{default:e}},o=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")};t.__esModule=!0;var i=n(259),a=r(i),s=function(){function e(){o(this,e),this.isDisposed=!1,this.current=null}return e.prototype.getDisposable=function(){return this.current},e.prototype.setDisposable=function(){var e=void 0===arguments[0]?null:arguments[0];if(null!=e&&!a.default(e))throw new Error("Expected either an empty value or a valid disposable");var t=this.isDisposed,n=void 0;t||(n=this.current,this.current=e),n&&n.dispose(),t&&e&&e.dispose()},e.prototype.dispose=function(){if(!this.isDisposed){this.isDisposed=!0;var e=this.current;this.current=null,e&&e.dispose()}},e}();t.default=s,e.exports=t.default},function(e,t,n){"use strict";var r=function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0;var o=n(259),i=r(o);t.isDisposable=i.default;var a=n(819),s=r(a);t.Disposable=s.default;var u=n(818),c=r(u);t.CompositeDisposable=c.default;var l=n(820),f=r(l);t.SerialDisposable=f.default},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(308),u=o(s),c=n(830),l=o(c),f=n(176),p=r(f),d=n(823),h=o(d),v=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};i(this,e);var r=(0,u.default)(l.default);this.context=n,this.store=r,this.monitor=new h.default(r),this.registry=this.monitor.registry,this.backend=t(this),r.subscribe(this.handleRefCountChange.bind(this))}return a(e,[{key:"handleRefCountChange",value:function(){var e=this.store.getState().refCount>0;e&&!this.isSetUp?(this.backend.setup(),this.isSetUp=!0):!e&&this.isSetUp&&(this.backend.teardown(),this.isSetUp=!1)}},{key:"getContext",value:function(){return this.context}},{key:"getMonitor",value:function(){return this.monitor}},{key:"getBackend",value:function(){return this.backend}},{key:"getRegistry",value:function(){return this.registry}},{key:"getActions",value:function(){function e(e){return function(){for(var r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];var a=e.apply(t,o);"undefined"!=typeof a&&n(a)}}var t=this,n=this.store.dispatch;return Object.keys(p).filter(function(e){return"function"==typeof p[e]}).reduce(function(t,n){var r=p[n];return t[n]=e(r),t},{})}}]),e}();t.default=v},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(17),s=r(a),u=n(37),c=r(u),l=n(385),f=r(l),p=n(826),d=r(p),h=n(384),v=n(383),y=function(){function e(t){o(this,e),this.store=t,this.registry=new d.default(t)}return i(e,[{key:"subscribeToStateChange",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.handlerIds;(0,s.default)("function"==typeof e,"listener must be a function."),(0,s.default)("undefined"==typeof r||(0,c.default)(r),"handlerIds, when specified, must be an array of strings.");var o=this.store.getState().stateId,i=function(){var n=t.store.getState(),i=n.stateId;try{var a=i===o||i===o+1&&!(0,v.areDirty)(n.dirtyHandlerIds,r);a||e()}finally{o=i}};return this.store.subscribe(i)}},{key:"subscribeToOffsetChange",value:function(e){var t=this;(0,s.default)("function"==typeof e,"listener must be a function.");var n=this.store.getState().dragOffset,r=function(){var r=t.store.getState().dragOffset;r!==n&&(n=r,e())};return this.store.subscribe(r)}},{key:"canDragSource",value:function(e){var t=this.registry.getSource(e);return(0,s.default)(t,"Expected to find a valid source."),!this.isDragging()&&t.canDrag(this,e)}},{key:"canDropOnTarget",value:function(e){var t=this.registry.getTarget(e);if((0,s.default)(t,"Expected to find a valid target."),!this.isDragging()||this.didDrop())return!1;var n=this.registry.getTargetType(e),r=this.getItemType();return(0,f.default)(n,r)&&t.canDrop(this,e)}},{key:"isDragging",value:function(){return Boolean(this.getItemType())}},{key:"isDraggingSource",value:function(e){var t=this.registry.getSource(e,!0);if((0,s.default)(t,"Expected to find a valid source."),!this.isDragging()||!this.isSourcePublic())return!1;var n=this.registry.getSourceType(e),r=this.getItemType();return n===r&&t.isDragging(this,e)}},{key:"isOverTarget",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{shallow:!1},n=t.shallow;if(!this.isDragging())return!1;var r=this.registry.getTargetType(e),o=this.getItemType();if(!(0,f.default)(r,o))return!1;var i=this.getTargetIds();if(!i.length)return!1;var a=i.indexOf(e);return n?a===i.length-1:a>-1}},{key:"getItemType",value:function(){return this.store.getState().dragOperation.itemType}},{key:"getItem",value:function(){return this.store.getState().dragOperation.item}},{key:"getSourceId",value:function(){return this.store.getState().dragOperation.sourceId}},{key:"getTargetIds",value:function(){return this.store.getState().dragOperation.targetIds}},{key:"getDropResult",value:function(){return this.store.getState().dragOperation.dropResult}},{key:"didDrop",value:function(){return this.store.getState().dragOperation.didDrop}},{key:"isSourcePublic",value:function(){return this.store.getState().dragOperation.isSourcePublic}},{key:"getInitialClientOffset",value:function(){return this.store.getState().dragOffset.initialClientOffset}},{key:"getInitialSourceClientOffset",value:function(){return this.store.getState().dragOffset.initialSourceClientOffset}},{key:"getClientOffset",value:function(){return this.store.getState().dragOffset.clientOffset}},{key:"getSourceClientOffset",value:function(){return(0,h.getSourceClientOffset)(this.store.getState().dragOffset)}},{key:"getDifferenceFromInitialOffset",value:function(){return(0,h.getDifferenceFromInitialOffset)(this.store.getState().dragOffset)}}]),e}();t.default=y},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(){n(this,e)}return r(e,[{key:"canDrag",value:function(){return!0}},{key:"isDragging",value:function(e,t){return t===e.getSourceId()}},{key:"endDrag",value:function(){}}]),e}();t.default=o},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(){n(this,e)}return r(e,[{key:"canDrop",value:function(){return!0}},{key:"hover",value:function(){}},{key:"drop",value:function(){}}]),e}();t.default=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e){(0,d.default)("function"==typeof e.canDrag,"Expected canDrag to be a function."),(0,d.default)("function"==typeof e.beginDrag,"Expected beginDrag to be a function."),(0,d.default)("function"==typeof e.endDrag,"Expected endDrag to be a function.")}function a(e){(0,d.default)("function"==typeof e.canDrop,"Expected canDrop to be a function."),(0,d.default)("function"==typeof e.hover,"Expected hover to be a function."),(0,d.default)("function"==typeof e.drop,"Expected beginDrag to be a function.")}function s(e,t){return t&&(0,v.default)(e)?void e.forEach(function(e){return s(e,!1)}):void(0,d.default)("string"==typeof e||"symbol"===("undefined"==typeof e?"undefined":f(e)),t?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}function u(e){var t=(0,b.default)().toString();switch(e){case w.SOURCE:return"S"+t;case w.TARGET:return"T"+t;default:(0,d.default)(!1,"Unknown role: "+e)}}function c(e){switch(e[0]){case"S":return w.SOURCE;case"T":return w.TARGET;default:(0,d.default)(!1,"Cannot parse handler ID: "+e)}}Object.defineProperty(t,"__esModule",{value:!0});var l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p=n(17),d=r(p),h=n(37),v=r(h),y=n(505),g=r(y),m=n(177),_=n(833),b=r(_),w={SOURCE:"SOURCE",TARGET:"TARGET"},E=function(){function e(t){o(this,e),this.store=t,this.types={},this.handlers={},this.pinnedSourceId=null,this.pinnedSource=null}return l(e,[{key:"addSource",value:function(e,t){s(e),i(t);var n=this.addHandler(w.SOURCE,e,t);return this.store.dispatch((0,m.addSource)(n)),n}},{key:"addTarget",value:function(e,t){s(e,!0),a(t);var n=this.addHandler(w.TARGET,e,t);return this.store.dispatch((0,m.addTarget)(n)),n}},{key:"addHandler",value:function(e,t,n){var r=u(e);return this.types[r]=t,this.handlers[r]=n,r}},{key:"containsHandler",value:function(e){var t=this;return Object.keys(this.handlers).some(function(n){return t.handlers[n]===e})}},{key:"getSource",value:function(e,t){(0,d.default)(this.isSourceId(e),"Expected a valid source ID.");var n=t&&e===this.pinnedSourceId,r=n?this.pinnedSource:this.handlers[e];return r}},{key:"getTarget",value:function(e){return(0,d.default)(this.isTargetId(e),"Expected a valid target ID."),this.handlers[e]}},{key:"getSourceType",value:function(e){return(0,d.default)(this.isSourceId(e),"Expected a valid source ID."),this.types[e]}},{key:"getTargetType",value:function(e){return(0,d.default)(this.isTargetId(e),"Expected a valid target ID."),this.types[e]}},{key:"isSourceId",value:function(e){var t=c(e);return t===w.SOURCE}},{key:"isTargetId",value:function(e){var t=c(e);return t===w.TARGET}},{key:"removeSource",value:function(e){var t=this;(0,d.default)(this.getSource(e),"Expected an existing source."),this.store.dispatch((0,m.removeSource)(e)),(0,g.default)(function(){delete t.handlers[e],delete t.types[e]})}},{key:"removeTarget",value:function(e){var t=this;(0,d.default)(this.getTarget(e),"Expected an existing target."),this.store.dispatch((0,m.removeTarget)(e)),(0,g.default)(function(){delete t.handlers[e],delete t.types[e]})}},{key:"pinSource",value:function(e){var t=this.getSource(e);(0,d.default)(t,"Expected an existing source."),this.pinnedSourceId=e,this.pinnedSource=t}},{key:"unpinSource",value:function(){(0,d.default)(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}}]),e}();t.default=E},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e){return new c(e)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=i;var s=n(416),u=r(s),c=function(){function e(t){o(this,e),this.actions=t.getActions()}return a(e,[{key:"setup",value:function(){this.didCallSetup=!0}},{key:"teardown",value:function(){this.didCallTeardown=!0}},{key:"connectDragSource",value:function(){return u.default}},{key:"connectDragPreview",value:function(){return u.default}},{key:"connectDropTarget",value:function(){return u.default}},{key:"simulateBeginDrag",value:function(e,t){this.actions.beginDrag(e,t)}},{key:"simulatePublishDragSource",value:function(){this.actions.publishDragSource()}},{key:"simulateHover",value:function(e,t){this.actions.hover(e,t)}},{key:"simulateDrop",value:function(){this.actions.drop()}},{key:"simulateEndDrag",value:function(){this.actions.endDrag()}}]),e}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{
-default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(822);Object.defineProperty(t,"DragDropManager",{enumerable:!0,get:function(){return r(o).default}});var i=n(824);Object.defineProperty(t,"DragSource",{enumerable:!0,get:function(){return r(i).default}});var a=n(825);Object.defineProperty(t,"DropTarget",{enumerable:!0,get:function(){return r(a).default}});var s=n(827);Object.defineProperty(t,"createTestBackend",{enumerable:!0,get:function(){return r(s).default}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l,t=arguments[1];switch(t.type){case u.BEGIN_DRAG:return i({},e,{itemType:t.itemType,item:t.item,sourceId:t.sourceId,isSourcePublic:t.isSourcePublic,dropResult:null,didDrop:!1});case u.PUBLISH_DRAG_SOURCE:return i({},e,{isSourcePublic:!0});case u.HOVER:return i({},e,{targetIds:t.targetIds});case c.REMOVE_TARGET:return e.targetIds.indexOf(t.targetId)===-1?e:i({},e,{targetIds:(0,s.default)(e.targetIds,t.targetId)});case u.DROP:return i({},e,{dropResult:t.dropResult,didDrop:!0,targetIds:[]});case u.END_DRAG:return i({},e,{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=o;var a=n(418),s=r(a),u=n(176),c=n(177),l={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];return{dirtyHandlerIds:(0,p.default)(e.dirtyHandlerIds,t,e.dragOperation),dragOffset:(0,a.default)(e.dragOffset,t),refCount:(0,l.default)(e.refCount,t),dragOperation:(0,u.default)(e.dragOperation,t),stateId:(0,h.default)(e.stateId)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(384),a=r(i),s=n(829),u=r(s),c=n(831),l=r(c),f=n(383),p=r(f),d=n(832),h=r(d)},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments[1];switch(t.type){case o.ADD_SOURCE:case o.ADD_TARGET:return e+1;case o.REMOVE_SOURCE:case o.REMOVE_TARGET:return e-1;default:return e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=n(177)},function(e,t){"use strict";function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return e+1}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n},function(e,t){"use strict";function n(){return r++}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;var r=0},function(e,t,n){(function(t,r){/*!
-	 * @overview es6-promise - a tiny implementation of Promises/A+.
-	 * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
-	 * @license   Licensed under MIT license
-	 *            See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
-	 * @version   4.1.0
-	 */
-!function(t,n){e.exports=n()}(this,function(){"use strict";function e(e){return"function"==typeof e||"object"==typeof e&&null!==e}function o(e){return"function"==typeof e}function i(e){X=e}function a(e){Y=e}function s(){return function(){return t.nextTick(p)}}function u(){return"undefined"!=typeof $?function(){$(p)}:f()}function c(){var e=0,t=new Z(p),n=document.createTextNode("");return t.observe(n,{characterData:!0}),function(){n.data=e=++e%2}}function l(){var e=new MessageChannel;return e.port1.onmessage=p,function(){return e.port2.postMessage(0)}}function f(){var e=setTimeout;return function(){return e(p,1)}}function p(){for(var e=0;e<K;e+=2){var t=ne[e],n=ne[e+1];t(n),ne[e]=void 0,ne[e+1]=void 0}K=0}function d(){try{var e=n(1212);return $=e.runOnLoop||e.runOnContext,u()}catch(e){return f()}}function h(e,t){var n=arguments,r=this,o=new this.constructor(y);void 0===o[oe]&&R(o);var i=r._state;return i?!function(){var e=n[i-1];Y(function(){return I(i,o,e,r._result)})}():k(r,o,e,t),o}function v(e){var t=this;if(e&&"object"==typeof e&&e.constructor===t)return e;var n=new t(y);return C(n,e),n}function y(){}function g(){return new TypeError("You cannot resolve a promise with itself")}function m(){return new TypeError("A promises callback cannot return that same promise.")}function _(e){try{return e.then}catch(e){return ue.error=e,ue}}function b(e,t,n,r){try{e.call(t,n,r)}catch(e){return e}}function w(e,t,n){Y(function(e){var r=!1,o=b(n,t,function(n){r||(r=!0,t!==n?C(e,n):x(e,n))},function(t){r||(r=!0,O(e,t))},"Settle: "+(e._label||" unknown promise"));!r&&o&&(r=!0,O(e,o))},e)}function E(e,t){t._state===ae?x(e,t._result):t._state===se?O(e,t._result):k(t,void 0,function(t){return C(e,t)},function(t){return O(e,t)})}function T(e,t,n){t.constructor===e.constructor&&n===h&&t.constructor.resolve===v?E(e,t):n===ue?(O(e,ue.error),ue.error=null):void 0===n?x(e,t):o(n)?w(e,t,n):x(e,t)}function C(t,n){t===n?O(t,g()):e(n)?T(t,n,_(n)):x(t,n)}function S(e){e._onerror&&e._onerror(e._result),P(e)}function x(e,t){e._state===ie&&(e._result=t,e._state=ae,0!==e._subscribers.length&&Y(P,e))}function O(e,t){e._state===ie&&(e._state=se,e._result=t,Y(S,e))}function k(e,t,n,r){var o=e._subscribers,i=o.length;e._onerror=null,o[i]=t,o[i+ae]=n,o[i+se]=r,0===i&&e._state&&Y(P,e)}function P(e){var t=e._subscribers,n=e._state;if(0!==t.length){for(var r=void 0,o=void 0,i=e._result,a=0;a<t.length;a+=3)r=t[a],o=t[a+n],r?I(n,r,o,i):o(i);e._subscribers.length=0}}function M(){this.error=null}function A(e,t){try{return e(t)}catch(e){return ce.error=e,ce}}function I(e,t,n,r){var i=o(n),a=void 0,s=void 0,u=void 0,c=void 0;if(i){if(a=A(n,r),a===ce?(c=!0,s=a.error,a.error=null):u=!0,t===a)return void O(t,m())}else a=r,u=!0;t._state!==ie||(i&&u?C(t,a):c?O(t,s):e===ae?x(t,a):e===se&&O(t,a))}function j(e,t){try{t(function(t){C(e,t)},function(t){O(e,t)})}catch(t){O(e,t)}}function D(){return le++}function R(e){e[oe]=le++,e._state=void 0,e._result=void 0,e._subscribers=[]}function N(e,t){this._instanceConstructor=e,this.promise=new e(y),this.promise[oe]||R(this.promise),G(t)?(this._input=t,this.length=t.length,this._remaining=t.length,this._result=new Array(this.length),0===this.length?x(this.promise,this._result):(this.length=this.length||0,this._enumerate(),0===this._remaining&&x(this.promise,this._result))):O(this.promise,L())}function L(){return new Error("Array Methods must be provided an Array")}function F(e){return new N(this,e).promise}function U(e){var t=this;return new t(G(e)?function(n,r){for(var o=e.length,i=0;i<o;i++)t.resolve(e[i]).then(n,r)}:function(e,t){return t(new TypeError("You must pass an array to race."))})}function B(e){var t=this,n=new t(y);return O(n,e),n}function q(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function z(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function W(e){this[oe]=D(),this._result=this._state=void 0,this._subscribers=[],y!==e&&("function"!=typeof e&&q(),this instanceof W?j(this,e):z())}function H(){var e=void 0;if("undefined"!=typeof r)e=r;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;if(t){var n=null;try{n=Object.prototype.toString.call(t.resolve())}catch(e){}if("[object Promise]"===n&&!t.cast)return}e.Promise=W}var V=void 0;V=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)};var G=V,K=0,$=void 0,X=void 0,Y=function(e,t){ne[K]=e,ne[K+1]=t,K+=2,2===K&&(X?X(p):re())},Q="undefined"!=typeof window?window:void 0,J=Q||{},Z=J.MutationObserver||J.WebKitMutationObserver,ee="undefined"==typeof self&&"undefined"!=typeof t&&"[object process]"==={}.toString.call(t),te="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,ne=new Array(1e3),re=void 0;re=ee?s():Z?c():te?l():void 0===Q?d():f();var oe=Math.random().toString(36).substring(16),ie=void 0,ae=1,se=2,ue=new M,ce=new M,le=0;return N.prototype._enumerate=function(){for(var e=this.length,t=this._input,n=0;this._state===ie&&n<e;n++)this._eachEntry(t[n],n)},N.prototype._eachEntry=function(e,t){var n=this._instanceConstructor,r=n.resolve;if(r===v){var o=_(e);if(o===h&&e._state!==ie)this._settledAt(e._state,t,e._result);else if("function"!=typeof o)this._remaining--,this._result[t]=e;else if(n===W){var i=new n(y);T(i,e,o),this._willSettleAt(i,t)}else this._willSettleAt(new n(function(t){return t(e)}),t)}else this._willSettleAt(r(e),t)},N.prototype._settledAt=function(e,t,n){var r=this.promise;r._state===ie&&(this._remaining--,e===se?O(r,n):this._result[t]=n),0===this._remaining&&x(r,this._result)},N.prototype._willSettleAt=function(e,t){var n=this;k(e,void 0,function(e){return n._settledAt(ae,t,e)},function(e){return n._settledAt(se,t,e)})},W.all=F,W.race=U,W.resolve=v,W.reject=B,W._setScheduler=i,W._setAsap=a,W._asap=Y,W.prototype={constructor:W,then:h,catch:function(e){return this.then(null,e)}},W.polyfill=H,W.Promise=W,W})}).call(t,n(159),function(){return this}())},,function(e,t){"use strict";function n(e){return e.replace(r,function(e,t){return t.toUpperCase()})}var r=/-(.)/g;e.exports=n},function(e,t,n){"use strict";function r(e){return o(e.replace(i,"ms-"))}var o=n(836),i=/^-ms-/;e.exports=r},function(e,t,n){"use strict";function r(e,t){return!(!e||!t)&&(e===t||!o(e)&&(o(t)?r(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}var o=n(846);e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.length;if(Array.isArray(e)||"object"!=typeof e&&"function"!=typeof e?a(!1):void 0,"number"!=typeof t?a(!1):void 0,0===t||t-1 in e?void 0:a(!1),"function"==typeof e.callee?a(!1):void 0,e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var n=Array(t),r=0;r<t;r++)n[r]=e[r];return n}function o(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"length"in e&&!("setInterval"in e)&&"number"!=typeof e.nodeType&&(Array.isArray(e)||"callee"in e||"item"in e)}function i(e){return o(e)?Array.isArray(e)?e.slice():r(e):[e]}var a=n(11);e.exports=i},function(e,t,n){"use strict";function r(e){var t=e.match(l);return t&&t[1].toLowerCase()}function o(e,t){var n=c;c?void 0:u(!1);var o=r(e),i=o&&s(o);if(i){n.innerHTML=i[1]+e+i[2];for(var l=i[0];l--;)n=n.lastChild}else n.innerHTML=e;var f=n.getElementsByTagName("script");f.length&&(t?void 0:u(!1),a(f).forEach(t));for(var p=Array.from(n.childNodes);n.lastChild;)n.removeChild(n.lastChild);return p}var i=n(36),a=n(839),s=n(841),u=n(11),c=i.canUseDOM?document.createElement("div"):null,l=/^\s*<(\w+)/;e.exports=o},function(e,t,n){"use strict";function r(e){return a?void 0:i(!1),p.hasOwnProperty(e)||(e="*"),s.hasOwnProperty(e)||("*"===e?a.innerHTML="<link />":a.innerHTML="<"+e+"></"+e+">",s[e]=!a.firstChild),s[e]?p[e]:null}var o=n(36),i=n(11),a=o.canUseDOM?document.createElement("div"):null,s={},u=[1,'<select multiple="true">',"</select>"],c=[1,"<table>","</table>"],l=[3,"<table><tbody><tr>","</tr></tbody></table>"],f=[1,'<svg xmlns="http://www.w3.org/2000/svg">',"</svg>"],p={"*":[1,"?<div>","</div>"],area:[1,"<map>","</map>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],legend:[1,"<fieldset>","</fieldset>"],param:[1,"<object>","</object>"],tr:[2,"<table><tbody>","</tbody></table>"],optgroup:u,option:u,caption:c,colgroup:c,tbody:c,tfoot:c,thead:c,td:l,th:l},d=["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"];d.forEach(function(e){p[e]=f,s[e]=!0}),e.exports=r},function(e,t){"use strict";function n(e){return e.Window&&e instanceof e.Window?{x:e.pageXOffset||e.document.documentElement.scrollLeft,y:e.pageYOffset||e.document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}}e.exports=n},function(e,t){"use strict";function n(e){return e.replace(r,"-$1").toLowerCase()}var r=/([A-Z])/g;e.exports=n},function(e,t,n){"use strict";function r(e){return o(e).replace(i,"-ms-")}var o=n(843),i=/^ms-/;e.exports=r},function(e,t){"use strict";function n(e){var t=e?e.ownerDocument||e:document,n=t.defaultView||window;return!(!e||!("function"==typeof n.Node?e instanceof n.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}e.exports=n},function(e,t,n){"use strict";function r(e){return o(e)&&3==e.nodeType}var o=n(845);e.exports=r},function(e,t){"use strict";var n=function(e){var t;for(t in e)if(e.hasOwnProperty(t))return t;return null};e.exports=n},function(e,t){"use strict";function n(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}}e.exports=n},function(e,t,n){function r(e,t,n){if(!s(t))throw new TypeError("iterator must be a function");arguments.length<3&&(n=this),"[object Array]"===u.call(e)?o(e,t,n):"string"==typeof e?i(e,t,n):a(e,t,n)}function o(e,t,n){for(var r=0,o=e.length;r<o;r++)c.call(e,r)&&t.call(n,e[r],r,e)}function i(e,t,n){for(var r=0,o=e.length;r<o;r++)t.call(n,e.charAt(r),r,e)}function a(e,t,n){for(var r in e)c.call(e,r)&&t.call(n,e[r],r,e)}var s=n(393);e.exports=r;var u=Object.prototype.toString,c=Object.prototype.hasOwnProperty},function(e,t){"use strict";t.__esModule=!0;t.loopAsync=function(e,t,n){var r=0,o=!1,i=!1,a=!1,s=void 0,u=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return o=!0,i?void(s=t):void n.apply(void 0,t)},c=function c(){if(!o&&(a=!0,!i)){for(i=!0;!o&&r<e&&a;)a=!1,t(r++,c,u);return i=!1,o?void n.apply(void 0,s):void(r>=e&&a&&(o=!0,n()))}};c()}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.replaceLocation=t.pushLocation=t.startListener=t.getCurrentLocation=t.go=t.getUserConfirmation=void 0;var o=n(261);Object.defineProperty(t,"getUserConfirmation",{enumerable:!0,get:function(){return o.getUserConfirmation}}),Object.defineProperty(t,"go",{enumerable:!0,get:function(){return o.go}});var i=n(83),a=(r(i),n(113)),s=n(179),u=n(389),c=n(79),l="hashchange",f=function(){var e=window.location.href,t=e.indexOf("#");return t===-1?"":e.substring(t+1)},p=function(e){return window.location.hash=e},d=function(e){var t=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,t>=0?t:0)+"#"+e)},h=t.getCurrentLocation=function(e,t){var n=e.decodePath(f()),r=(0,c.getQueryStringValueFromPath)(n,t),o=void 0;r&&(n=(0,c.stripQueryStringValueFromPath)(n,t),o=(0,u.readState)(r));var i=(0,c.parsePath)(n);return i.state=o,(0,a.createLocation)(i,void 0,r)},v=void 0,y=(t.startListener=function(e,t,n){var r=function(){var r=f(),o=t.encodePath(r);if(r!==o)d(o);else{var i=h(t,n);if(v&&i.key&&v.key===i.key)return;v=i,e(i)}},o=f(),i=t.encodePath(o);return o!==i&&d(i),(0,s.addEventListener)(window,l,r),function(){return(0,s.removeEventListener)(window,l,r)}},function(e,t,n,r){var o=e.state,i=e.key,a=t.encodePath((0,c.createPath)(e));void 0!==o&&(a=(0,c.addQueryStringValueToPath)(a,n,i),(0,u.saveState)(i,o)),v=e,r(a)});t.pushLocation=function(e,t,n){return y(e,t,n,function(e){f()!==e&&p(e)})},t.replaceLocation=function(e,t,n){return y(e,t,n,function(e){f()!==e&&d(e)})}},function(e,t,n){"use strict";t.__esModule=!0,t.replaceLocation=t.pushLocation=t.getCurrentLocation=t.go=t.getUserConfirmation=void 0;var r=n(261);Object.defineProperty(t,"getUserConfirmation",{enumerable:!0,get:function(){return r.getUserConfirmation}}),Object.defineProperty(t,"go",{enumerable:!0,get:function(){return r.go}});var o=n(113),i=n(79);t.getCurrentLocation=function(){return(0,o.createLocation)(window.location)},t.pushLocation=function(e){return window.location.href=(0,i.createPath)(e),!1},t.replaceLocation=function(e){return window.location.replace((0,i.createPath)(e)),!1}},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(17),s=o(a),u=n(262),c=n(261),l=r(c),f=n(852),p=r(f),d=n(179),h=n(263),v=o(h),y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};u.canUseDOM?void 0:(0,s.default)(!1);var t=e.forceRefresh||!(0,d.supportsHistory)(),n=t?p:l,r=n.getUserConfirmation,o=n.getCurrentLocation,a=n.pushLocation,c=n.replaceLocation,f=n.go,h=(0,v.default)(i({getUserConfirmation:r},e,{getCurrentLocation:o,pushLocation:a,replaceLocation:c,go:f})),y=0,g=void 0,m=function(e,t){1===++y&&(g=l.startListener(h.transitionTo));var n=t?h.listenBefore(e):h.listen(e);return function(){n(),0===--y&&g()}},_=function(e){return m(e,!0)},b=function(e){return m(e,!1)};return i({},h,{listenBefore:_,listen:b})};t.default=y},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(83),s=(o(a),n(17)),u=o(s),c=n(262),l=n(179),f=n(851),p=r(f),d=n(263),h=o(d),v="_k",y=function(e){return"/"===e.charAt(0)?e:"/"+e},g={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!"+e},decodePath:function(e){return"!"===e.charAt(0)?e.substring(1):e}},noslash:{encodePath:function(e){return"/"===e.charAt(0)?e.substring(1):e},decodePath:y},slash:{encodePath:y,decodePath:y}},m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};c.canUseDOM?void 0:(0,u.default)(!1);var t=e.queryKey,n=e.hashType;"string"!=typeof t&&(t=v),null==n&&(n="slash"),n in g||(n="slash");var r=g[n],o=p.getUserConfirmation,a=function(){return p.getCurrentLocation(r,t)},s=function(e){return p.pushLocation(e,r,t)},f=function(e){return p.replaceLocation(e,r,t)},d=(0,h.default)(i({getUserConfirmation:o},e,{getCurrentLocation:a,pushLocation:s,replaceLocation:f,go:p.go})),y=0,m=void 0,_=function(e,n){1===++y&&(m=p.startListener(d.transitionTo,r,t));var o=n?d.listenBefore(e):d.listen(e);return function(){o(),0===--y&&m()}},b=function(e){return _(e,!0)},w=function(e){return _(e,!1)},E=((0,l.supportsGoWithoutReloadUsingHash)(),function(e){d.go(e)}),T=function(e){return"#"+r.encodePath(d.createHref(e))};return i({},d,{listenBefore:b,listen:w,go:E,createHref:T})};t.default=m},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(83),a=(r(i),n(17)),s=r(a),u=n(113),c=n(79),l=n(263),f=r(l),p=n(178),d=function(e){return e.filter(function(e){return e.state}).reduce(function(e,t){return e[t.key]=t.state,e},{})},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Array.isArray(e)?e={entries:e}:"string"==typeof e&&(e={entries:[e]});var t=function(){var e=v[y],t=(0,c.createPath)(e),n=void 0,r=void 0;e.key&&(n=e.key,r=_(n));var i=(0,c.parsePath)(t);return(0,u.createLocation)(o({},i,{state:r}),void 0,n)},n=function(e){var t=y+e;return t>=0&&t<v.length},r=function(e){if(e&&n(e)){y+=e;var r=t();l.transitionTo(o({},r,{action:p.POP}))}},i=function(e){y+=1,y<v.length&&v.splice(y),v.push(e),m(e.key,e.state)},a=function(e){v[y]=e,m(e.key,e.state)},l=(0,f.default)(o({},e,{getCurrentLocation:t,pushLocation:i,replaceLocation:a,go:r})),h=e,v=h.entries,y=h.current;"string"==typeof v?v=[v]:Array.isArray(v)||(v=["/"]),v=v.map(function(e){return(0,u.createLocation)(e)}),null==y?y=v.length-1:y>=0&&y<v.length?void 0:(0,s.default)(!1);var g=d(v),m=function(e,t){return g[e]=t},_=function(e){return g[e]};return o({},l,{canGo:n})};t.default=h},function(e,t,n){"use strict";e.exports=n(857)},function(e,t){(function(t){"use strict";var n=function(){function e(e,t){for(var n in t){var r=t[n];r.configurable=!0,r.value&&(r.writable=!0)}Object.defineProperties(e,t)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},o=!!(t===t.window&&t.URL&&t.Blob&&t.Worker),i=function(){function e(n,i){var a=this;if(r(this,e),o){var s=n.toString().trim().match(/^function\s*\w*\s*\([\w\s,]*\)\s*{([\w\W]*?)}$/)[1],u=t.URL.createObjectURL(new t.Blob([s],{type:"text/javascript"}));return new t.Worker(u)}this.self=i,this.self.postMessage=function(e){setTimeout(function(){a.onmessage({data:e})},0)},setTimeout(function(){n.call(i)},0)}return n(e,{postMessage:{value:function(e){var t=this;setTimeout(function(){t.self.onmessage({data:e})},0)}}}),e}();e.exports=i}).call(t,function(){return this}())},function(e,t){function n(e){return!!e&&"object"==typeof e}function r(e,t){var n=null==e?void 0:e[t];return a(n)?n:void 0}function o(e){return i(e)&&p.call(e)==s}function i(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function a(e){return null!=e&&(o(e)?d.test(l.call(e)):n(e)&&u.test(e))}var s="[object Function]",u=/^\[object .+?Constructor\]$/,c=Object.prototype,l=Function.prototype.toString,f=c.hasOwnProperty,p=c.toString,d=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=r},function(e,t){(function(t){function n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function r(e,t){for(var n=-1,r=e?e.length:0;++n<r&&t(e[n],n,e)!==!1;);return e}function o(e,t){var n=e?e.length:0;return!!n&&a(e,t,0)>-1}function i(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function a(e,t,n){if(t!==t)return i(e,s,n);for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}function s(e){return e!==e}function u(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&r++;return r}function c(e,t){return null==e?void 0:e[t]}function l(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function f(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n];a!==t&&a!==H||(e[n]=H,i[o++]=n)}return i}function p(e){return R(e)?Ae(e):{}}function d(e){if(!R(e)||P(e))return!1;var t=D(e)||l(e)?Me:ye;return t.test(A(e))}function h(e,t,n,r){for(var o=-1,i=e.length,a=n.length,s=-1,u=t.length,c=Ie(i-a,0),l=Array(u+c),f=!r;++s<u;)l[s]=t[s];for(;++o<a;)(f||o<i)&&(l[n[o]]=e[o]);for(;c--;)l[s++]=e[o++];return l}function v(e,t,n,r){for(var o=-1,i=e.length,a=-1,s=n.length,u=-1,c=t.length,l=Ie(i-s,0),f=Array(l+c),p=!r;++o<l;)f[o]=e[o];for(var d=o;++u<c;)f[d+u]=t[u];for(;++a<s;)(p||o<i)&&(f[d+n[a]]=e[o++]);return f}function y(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}function g(e,t,n){function r(){var t=this&&this!==Ee&&this instanceof r?i:e;return t.apply(o?n:this,arguments)}var o=t&V,i=m(e);return r}function m(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=p(e.prototype),r=e.apply(n,t);return R(r)?r:n}}function _(e,t,r){function o(){for(var a=arguments.length,s=Array(a),u=a,c=C(o);u--;)s[u]=arguments[u];var l=a<3&&s[0]!==c&&s[a-1]!==c?[]:f(s,c);if(a-=l.length,a<r)return E(e,t,b,o.placeholder,void 0,s,l,void 0,void 0,r-a);var p=this&&this!==Ee&&this instanceof o?i:e;return n(p,this,s)}var i=m(e);return o}function b(e,t,n,r,o,i,a,s,c,l){function p(){for(var S=arguments.length,x=Array(S),O=S;O--;)x[O]=arguments[O];if(_)var k=C(p),P=u(x,k);if(r&&(x=h(x,r,o,_)),i&&(x=v(x,i,a,_)),S-=P,_&&S<l){var A=f(x,k);return E(e,t,b,p.placeholder,n,x,A,s,c,l-S)}var I=y?n:this,j=g?I[e]:e;return S=x.length,s?x=M(x,s):w&&S>1&&x.reverse(),d&&c<S&&(x.length=c),this&&this!==Ee&&this instanceof p&&(j=T||m(j)),j.apply(I,x)}var d=t&J,y=t&V,g=t&G,_=t&($|X),w=t&ee,T=g?void 0:m(e);return p}function w(e,t,r,o){function i(){for(var t=-1,u=arguments.length,c=-1,l=o.length,f=Array(l+u),p=this&&this!==Ee&&this instanceof i?s:e;++c<l;)f[c]=o[c];for(;u--;)f[c++]=arguments[++t];return n(p,a?r:this,f)}var a=t&V,s=m(e);return i}function E(e,t,n,r,o,i,a,s,u,c){var l=t&$,f=l?a:void 0,p=l?void 0:a,d=l?i:void 0,h=l?void 0:i;t|=l?Y:Q,t&=~(l?Q:Y),t&K||(t&=~(V|G));var v=n(e,t,o,d,f,h,p,s,u,c);return v.placeholder=r,Re(v,e,t)}function T(e,t,n,r,o,i,a,s){var u=t&G;if(!u&&"function"!=typeof e)throw new TypeError(W);var c=r?r.length:0;if(c||(t&=~(Y|Q),r=o=void 0),a=void 0===a?a:Ie(U(a),0),s=void 0===s?s:U(s),c-=o?o.length:0,t&Q){var l=r,f=o;r=o=void 0}var p=[e,t,n,r,o,l,f,i,a,s];if(e=p[0],t=p[1],n=p[2],r=p[3],o=p[4],s=p[9]=null==p[9]?u?0:e.length:Ie(p[9]-c,0),!s&&t&($|X)&&(t&=~($|X)),t&&t!=V)d=t==$||t==X?_(e,t,s):t!=Y&&t!=(V|Y)||o.length?b.apply(void 0,p):w(e,t,n,r);else var d=g(e,t,n);return Re(d,e,t)}function C(e){var t=e;return t.placeholder}function S(e,t){var n=c(e,t);return d(n)?n:void 0}function x(e){var t=e.match(pe);return t?t[1].split(de):[]}function O(e,t){var n=t.length,r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(fe,"{\n/* [wrapped with "+t+"] */\n")}function k(e,t){return t=null==t?ne:t,!!t&&("number"==typeof e||me.test(e))&&e>-1&&e%1==0&&e<t}function P(e){return!!xe&&xe in e}function M(e,t){for(var n=e.length,r=je(t.length,n),o=y(e);r--;){var i=t[r];e[r]=k(i,n)?o[i]:void 0}return e}function A(e){if(null!=e){try{return Oe.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function I(e,t){return r(ie,function(n){var r="_."+n[0];t&n[1]&&!o(e,r)&&e.push(r)}),e.sort()}function j(e,t,n){t=n?void 0:t;var r=T(e,$,void 0,void 0,void 0,void 0,void 0,t);return r.placeholder=j.placeholder,r}function D(e){var t=R(e)?Pe.call(e):"";return t==ae||t==se}function R(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function N(e){return!!e&&"object"==typeof e}function L(e){return"symbol"==typeof e||N(e)&&Pe.call(e)==ue}function F(e){if(!e)return 0===e?e:0;if(e=B(e),e===te||e===-te){var t=e<0?-1:1;return t*re}return e===e?e:0}function U(e){var t=F(e),n=t%1;return t===t?n?t-n:t:0}function B(e){if("number"==typeof e)return e;if(L(e))return oe;if(R(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=R(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(le,"");var n=ve.test(e);return n||ge.test(e)?_e(e.slice(2),n?2:8):he.test(e)?oe:+e}function q(e){return function(){return e}}function z(e){return e}var W="Expected a function",H="__lodash_placeholder__",V=1,G=2,K=4,$=8,X=16,Y=32,Q=64,J=128,Z=256,ee=512,te=1/0,ne=9007199254740991,re=1.7976931348623157e308,oe=NaN,ie=[["ary",J],["bind",V],["bindKey",G],["curry",$],["curryRight",X],["flip",ee],["partial",Y],["partialRight",Q],["rearg",Z]],ae="[object Function]",se="[object GeneratorFunction]",ue="[object Symbol]",ce=/[\\^$.*+?()[\]{}|]/g,le=/^\s+|\s+$/g,fe=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,pe=/\{\n\/\* \[wrapped with (.+)\] \*/,de=/,? & /,he=/^[-+]0x[0-9a-f]+$/i,ve=/^0b[01]+$/i,ye=/^\[object .+?Constructor\]$/,ge=/^0o[0-7]+$/i,me=/^(?:0|[1-9]\d*)$/,_e=parseInt,be="object"==typeof t&&t&&t.Object===Object&&t,we="object"==typeof self&&self&&self.Object===Object&&self,Ee=be||we||Function("return this")(),Te=Function.prototype,Ce=Object.prototype,Se=Ee["__core-js_shared__"],xe=function(){var e=/[^.]+$/.exec(Se&&Se.keys&&Se.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Oe=Te.toString,ke=Ce.hasOwnProperty,Pe=Ce.toString,Me=RegExp("^"+Oe.call(ke).replace(ce,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ae=Object.create,Ie=Math.max,je=Math.min,De=function(){var e=S(Object,"defineProperty"),t=S.name;return t&&t.length>2?e:void 0}(),Re=De?function(e,t,n){var r=t+"";return De(e,"toString",{configurable:!0,enumerable:!1,value:q(O(r,I(x(r),n)))})}:z;j.placeholder={},e.exports=j}).call(t,function(){return this}())},function(e,t){(function(t){function n(e,t,n){function o(t){var n=v,r=y;return v=y=void 0,C=t,m=e.apply(r,n)}function i(e){return C=e,_=setTimeout(l,t),S?o(e):m}function u(e){var n=e-T,r=e-C,o=t-n;return x?w(o,g-r):o}function c(e){var n=e-T,r=e-C;return void 0===T||n>=t||n<0||x&&r>=g}function l(){var e=E();return c(e)?f(e):void(_=setTimeout(l,u(e)))}function f(e){return _=void 0,O&&v?o(e):(v=y=void 0,m)}function p(){void 0!==_&&clearTimeout(_),C=0,v=T=y=_=void 0}function d(){return void 0===_?m:f(E())}function h(){var e=E(),n=c(e);if(v=arguments,y=this,T=e,n){if(void 0===_)return i(T);if(x)return _=setTimeout(l,t),o(T)}return void 0===_&&(_=setTimeout(l,t)),m}var v,y,g,m,_,T,C=0,S=!1,x=!1,O=!0;if("function"!=typeof e)throw new TypeError(s);return t=a(t)||0,r(n)&&(S=!!n.leading,x="maxWait"in n,g=x?b(a(n.maxWait)||0,t):g,O="trailing"in n?!!n.trailing:O),h.cancel=p,h.flush=d,h}function r(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function o(e){return!!e&&"object"==typeof e}function i(e){return"symbol"==typeof e||o(e)&&_.call(e)==c}function a(e){if("number"==typeof e)return e;if(i(e))return u;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(l,"");var n=p.test(e);return n||d.test(e)?h(e.slice(2),n?2:8):f.test(e)?u:+e}var s="Expected a function",u=NaN,c="[object Symbol]",l=/^\s+|\s+$/g,f=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,d=/^0o[0-7]+$/i,h=parseInt,v="object"==typeof t&&t&&t.Object===Object&&t,y="object"==typeof self&&self&&self.Object===Object&&self,g=v||y||Function("return this")(),m=Object.prototype,_=m.toString,b=Math.max,w=Math.min,E=function(){return g.Date.now()};e.exports=n}).call(t,function(){return this}())},function(e,t){(function(t){function n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function r(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function o(e,t,n,i,a){var u=-1,c=e.length;for(n||(n=s),a||(a=[]);++u<c;){var l=e[u];t>0&&n(l)?t>1?o(l,t-1,n,i,a):r(a,l):i||(a[a.length]=l)}return a}function i(e,t){return t=P(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=P(r.length-t,0),a=Array(i);++o<i;)a[o]=r[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=r[o];return s[t]=a,n(e,this,s)}}function a(e){return i(function(t){t=o(t,1);var n=t.length,r=n;for(e&&t.reverse();r--;)if("function"!=typeof t[r])throw new TypeError(v);return function(){for(var e=0,r=n?t[e].apply(this,arguments):arguments[0];++e<n;)r=t[e].call(this,r);return r}})}function s(e){return M(e)||u(e)||!!(k&&e&&e[k])}function u(e){return l(e)&&C.call(e,"callee")&&(!O.call(e,"callee")||S.call(e)==g)}function c(e){return null!=e&&p(e.length)&&!f(e)}function l(e){return h(e)&&c(e)}function f(e){var t=d(e)?S.call(e):"";return t==m||t==_}function p(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=y}function d(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function h(e){return!!e&&"object"==typeof e}var v="Expected a function",y=9007199254740991,g="[object Arguments]",m="[object Function]",_="[object GeneratorFunction]",b="object"==typeof t&&t&&t.Object===Object&&t,w="object"==typeof self&&self&&self.Object===Object&&self,E=b||w||Function("return this")(),T=Object.prototype,C=T.hasOwnProperty,S=T.toString,x=E.Symbol,O=T.propertyIsEnumerable,k=x?x.isConcatSpreadable:void 0,P=Math.max,M=Array.isArray,A=a();e.exports=A}).call(t,function(){return this}())},function(e,t,n){var r=n(97),o=n(71),i=r(o,"DataView");e.exports=i},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var o=n(910),i=n(911),a=n(912),s=n(913),u=n(914);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=s,r.prototype.set=u,e.exports=r},function(e,t,n){var r=n(97),o=n(71),i=r(o,"Promise");e.exports=i},function(e,t,n){var r=n(71),o=r.Uint8Array;e.exports=o},function(e,t,n){var r=n(97),o=n(71),i=r(o,"WeakMap");e.exports=i},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}e.exports=n},function(e,t,n){function r(e,t,n){var r=e[t];s.call(e,t)&&i(r,n)&&(void 0!==n||t in e)||o(e,t,n)}var o=n(269),i=n(146),a=Object.prototype,s=a.hasOwnProperty;e.exports=r},function(e,t){function n(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}e.exports=n},function(e,t,n){var r=n(897),o=r();e.exports=o},function(e,t,n){function r(e,t){return e&&o(e,t,i)}var o=n(870),i=n(279);e.exports=r},function(e,t,n){function r(e,t,n){var r=t(e);return i(e)?r:o(r,n(e))}var o=n(399),i=n(37);e.exports=r},function(e,t){function n(e,t){return null!=e&&t in Object(e)}e.exports=n},function(e,t,n){function r(e,t,n){return t===t?a(e,t,n):o(e,i,n)}var o=n(869),i=n(879),a=n(945);e.exports=r},function(e,t,n){function r(e,t,n){for(var r=n?a:i,f=e[0].length,p=e.length,d=p,h=Array(p),v=1/0,y=[];d--;){var g=e[d];d&&t&&(g=s(g,u(t))),v=l(g.length,v),h[d]=!n&&(t||f>=120&&g.length>=120)?new o(d&&g):void 0}g=e[0];var m=-1,_=h[0];e:for(;++m<f&&y.length<v;){var b=g[m],w=t?t(b):b;if(b=n||0!==b?b:0,!(_?c(_,w):r(y,w,n))){for(d=p;--d;){var E=h[d];if(!(E?c(E,w):r(e[d],w,n)))continue e}_&&_.push(w),y.push(b)}}return y}var o=n(181),i=n(267),a=n(268),s=n(182),u=n(272),c=n(184),l=Math.min;e.exports=r},function(e,t,n){function r(e){return i(e)&&o(e)==a}var o=n(114),i=n(98),a="[object Arguments]";e.exports=r},function(e,t,n){function r(e,t,n,r,y,m){var _=c(e),b=c(t),w=_?h:u(e),E=b?h:u(t);w=w==d?v:w,E=E==d?v:E;var T=w==v,C=E==v,S=w==E;if(S&&l(e)){if(!l(t))return!1;_=!0,T=!1}if(S&&!T)return m||(m=new o),_||f(e)?i(e,t,n,r,y,m):a(e,t,w,n,r,y,m);if(!(n&p)){var x=T&&g.call(e,"__wrapped__"),O=C&&g.call(t,"__wrapped__");if(x||O){var k=x?e.value():e,P=O?t.value():t;return m||(m=new o),y(k,P,n,r,m)}}return!!S&&(m||(m=new o),s(e,t,n,r,y,m))}var o=n(395),i=n(405),a=n(900),s=n(901),u=n(907),c=n(37),l=n(412),f=n(414),p=1,d="[object Arguments]",h="[object Array]",v="[object Object]",y=Object.prototype,g=y.hasOwnProperty;e.exports=r},function(e,t,n){function r(e,t,n,r){var u=n.length,c=u,l=!r;if(null==e)return!c;for(e=Object(e);u--;){var f=n[u];if(l&&f[2]?f[1]!==e[f[0]]:!(f[0]in e))return!1}for(;++u<c;){f=n[u];var p=f[0],d=e[p],h=f[1];if(l&&f[2]){if(void 0===d&&!(p in e))return!1}else{var v=new o;if(r)var y=r(d,h,p,e,t,v);if(!(void 0===y?i(h,d,a|s,r,v):y))return!1}}return!0}var o=n(395),i=n(401),a=1,s=2;e.exports=r},function(e,t){function n(e){return e!==e}
-e.exports=n},function(e,t,n){function r(e){if(!a(e)||i(e))return!1;var t=o(e)?h:c;return t.test(s(e))}var o=n(413),i=n(918),a=n(115),s=n(411),u=/[\\^$.*+?()[\]{}|]/g,c=/^\[object .+?Constructor\]$/,l=Function.prototype,f=Object.prototype,p=l.toString,d=f.hasOwnProperty,h=RegExp("^"+p.call(d).replace(u,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=r},function(e,t,n){function r(e){return a(e)&&i(e.length)&&!!A[o(e)]}var o=n(114),i=n(277),a=n(98),s="[object Arguments]",u="[object Array]",c="[object Boolean]",l="[object Date]",f="[object Error]",p="[object Function]",d="[object Map]",h="[object Number]",v="[object Object]",y="[object RegExp]",g="[object Set]",m="[object String]",_="[object WeakMap]",b="[object ArrayBuffer]",w="[object DataView]",E="[object Float32Array]",T="[object Float64Array]",C="[object Int8Array]",S="[object Int16Array]",x="[object Int32Array]",O="[object Uint8Array]",k="[object Uint8ClampedArray]",P="[object Uint16Array]",M="[object Uint32Array]",A={};A[E]=A[T]=A[C]=A[S]=A[x]=A[O]=A[k]=A[P]=A[M]=!0,A[s]=A[u]=A[b]=A[c]=A[w]=A[l]=A[f]=A[p]=A[d]=A[h]=A[v]=A[y]=A[g]=A[m]=A[_]=!1,e.exports=r},function(e,t,n){function r(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?s(e)?i(e[0],e[1]):o(e):u(e)}var o=n(885),i=n(886),a=n(188),s=n(37),u=n(956);e.exports=r},function(e,t,n){function r(e){if(!o(e))return i(e);var t=[];for(var n in Object(e))s.call(e,n)&&"constructor"!=n&&t.push(n);return t}var o=n(407),i=n(931),a=Object.prototype,s=a.hasOwnProperty;e.exports=r},function(e,t,n){function r(e){if(!o(e))return a(e);var t=i(e),n=[];for(var r in e)("constructor"!=r||!t&&u.call(e,r))&&n.push(r);return n}var o=n(115),i=n(407),a=n(932),s=Object.prototype,u=s.hasOwnProperty;e.exports=r},function(e,t,n){function r(e){var t=i(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(n){return n===e||o(n,e,t)}}var o=n(878),i=n(903),a=n(409);e.exports=r},function(e,t,n){function r(e,t){return s(e)&&u(t)?c(l(e),t):function(n){var r=i(n,e);return void 0===r&&r===t?a(n,e):o(t,r,f|p)}}var o=n(401),i=n(951),a=n(952),s=n(274),u=n(408),c=n(409),l=n(187),f=1,p=2;e.exports=r},function(e,t){function n(e){return function(t){return null==t?void 0:t[e]}}e.exports=n},function(e,t,n){function r(e){return function(t){return o(t,e)}}var o=n(400);e.exports=r},function(e,t,n){var r=n(948),o=n(404),i=n(188),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},function(e,t){function n(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}e.exports=n},function(e,t,n){function r(e){if("string"==typeof e)return e;if(a(e))return i(e,r)+"";if(s(e))return l?l.call(e):"";var t=e+"";return"0"==t&&1/e==-u?"-0":t}var o=n(145),i=n(182),a=n(37),s=n(278),u=1/0,c=o?o.prototype:void 0,l=c?c.toString:void 0;e.exports=r},function(e,t,n){function r(e,t,n){var r=e.length;if(r<2)return r?a(e[0]):[];for(var s=-1,u=Array(r);++s<r;)for(var c=e[s],l=-1;++l<r;)l!=s&&(u[s]=o(u[s]||c,e[l],t,n));return a(i(u,1),t,n)}var o=n(270),i=n(271),a=n(402);e.exports=r},function(e,t,n){function r(e){return o(e)?e:[]}var o=n(147);e.exports=r},function(e,t,n){function r(e,t,n,r){var a=!n;n||(n={});for(var s=-1,u=t.length;++s<u;){var c=t[s],l=r?r(n[c],e[c],c,n,e):void 0;void 0===l&&(l=e[c]),a?i(n,c,l):o(n,c,l)}return n}var o=n(868),i=n(269);e.exports=r},function(e,t,n){var r=n(71),o=r["__core-js_shared__"];e.exports=o},function(e,t,n){function r(e){return o(function(t,n){var r=-1,o=n.length,a=o>1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(n[0],n[1],s)&&(a=o<3?void 0:a,o=1),t=Object(t);++r<o;){var u=n[r];u&&e(t,u,r,a)}return t})}var o=n(96),i=n(916);e.exports=r},function(e,t){function n(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),s=a.length;s--;){var u=a[e?s:++o];if(n(i[u],u,i)===!1)break}return t}}e.exports=n},function(e,t,n){var r=n(394),o=n(416),i=n(275),a=1/0,s=r&&1/i(new r([,-0]))[1]==a?function(e){return new r(e)}:o;e.exports=s},function(e,t,n){function r(e,t,n,r){return void 0===e||o(e,i[n])&&!a.call(r,n)?t:e}var o=n(146),i=Object.prototype,a=i.hasOwnProperty;e.exports=r},function(e,t,n){function r(e,t,n,r,o,T,S){switch(n){case E:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case w:return!(e.byteLength!=t.byteLength||!T(new i(e),new i(t)));case p:case d:case y:return a(+e,+t);case h:return e.name==t.name&&e.message==t.message;case g:case _:return e==t+"";case v:var x=u;case m:var O=r&l;if(x||(x=c),e.size!=t.size&&!O)return!1;var k=S.get(e);if(k)return k==t;r|=f,S.set(e,t);var P=s(x(e),x(t),r,o,T,S);return S.delete(e),P;case b:if(C)return C.call(e)==C.call(t)}return!1}var o=n(145),i=n(865),a=n(146),s=n(405),u=n(929),c=n(275),l=1,f=2,p="[object Boolean]",d="[object Date]",h="[object Error]",v="[object Map]",y="[object Number]",g="[object RegExp]",m="[object Set]",_="[object String]",b="[object Symbol]",w="[object ArrayBuffer]",E="[object DataView]",T=o?o.prototype:void 0,C=T?T.valueOf:void 0;e.exports=r},function(e,t,n){function r(e,t,n,r,a,u){var c=n&i,l=o(e),f=l.length,p=o(t),d=p.length;if(f!=d&&!c)return!1;for(var h=f;h--;){var v=l[h];if(!(c?v in t:s.call(t,v)))return!1}var y=u.get(e);if(y&&u.get(t))return y==t;var g=!0;u.set(e,t),u.set(t,e);for(var m=c;++h<f;){v=l[h];var _=e[v],b=t[v];if(r)var w=c?r(b,_,v,t,e,u):r(_,b,v,e,t,u);if(!(void 0===w?_===b||a(_,b,n,r,u):w)){g=!1;break}m||(m="constructor"==v)}if(g&&!m){var E=e.constructor,T=t.constructor;E!=T&&"constructor"in e&&"constructor"in t&&!("function"==typeof E&&E instanceof E&&"function"==typeof T&&T instanceof T)&&(g=!1)}return u.delete(e),u.delete(t),g}var o=n(902),i=1,a=Object.prototype,s=a.hasOwnProperty;e.exports=r},function(e,t,n){function r(e){return o(e,a,i)}var o=n(872),i=n(906),a=n(279);e.exports=r},function(e,t,n){function r(e){for(var t=i(e),n=t.length;n--;){var r=t[n],a=e[r];t[n]=[r,a,o(a)]}return t}var o=n(408),i=n(279);e.exports=r},function(e,t,n){var r=n(410),o=r(Object.getPrototypeOf,Object);e.exports=o},function(e,t,n){function r(e){var t=a.call(e,u),n=e[u];try{e[u]=void 0;var r=!0}catch(e){}var o=s.call(e);return r&&(t?e[u]=n:delete e[u]),o}var o=n(145),i=Object.prototype,a=i.hasOwnProperty,s=i.toString,u=o?o.toStringTag:void 0;e.exports=r},function(e,t,n){var r=n(397),o=n(957),i=Object.prototype,a=i.propertyIsEnumerable,s=Object.getOwnPropertySymbols,u=s?function(e){return null==e?[]:(e=Object(e),r(s(e),function(t){return a.call(e,t)}))}:o;e.exports=u},function(e,t,n){var r=n(862),o=n(265),i=n(864),a=n(394),s=n(866),u=n(114),c=n(411),l="[object Map]",f="[object Object]",p="[object Promise]",d="[object Set]",h="[object WeakMap]",v="[object DataView]",y=c(r),g=c(o),m=c(i),_=c(a),b=c(s),w=u;(r&&w(new r(new ArrayBuffer(1)))!=v||o&&w(new o)!=l||i&&w(i.resolve())!=p||a&&w(new a)!=d||s&&w(new s)!=h)&&(w=function(e){var t=u(e),n=t==f?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case y:return v;case g:return l;case m:return p;case _:return d;case b:return h}return t}),e.exports=w},function(e,t){function n(e,t){return null==e?void 0:e[t]}e.exports=n},function(e,t,n){function r(e,t,n){t=o(t,e);for(var r=-1,l=t.length,f=!1;++r<l;){var p=c(t[r]);if(!(f=null!=e&&n(e,p)))break;e=e[p]}return f||++r!=l?f:(l=null==e?0:e.length,!!l&&u(l)&&s(p,l)&&(a(e)||i(e)))}var o=n(403),i=n(276),a=n(37),s=n(273),u=n(277),c=n(187);e.exports=r},function(e,t,n){function r(){this.__data__=o?o(null):{},this.size=0}var o=n(186);e.exports=r},function(e,t){function n(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}e.exports=n},function(e,t,n){function r(e){var t=this.__data__;if(o){var n=t[e];return n===i?void 0:n}return s.call(t,e)?t[e]:void 0}var o=n(186),i="__lodash_hash_undefined__",a=Object.prototype,s=a.hasOwnProperty;e.exports=r},function(e,t,n){function r(e){var t=this.__data__;return o?void 0!==t[e]:a.call(t,e)}var o=n(186),i=Object.prototype,a=i.hasOwnProperty;e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=o&&void 0===t?i:t,this}var o=n(186),i="__lodash_hash_undefined__";e.exports=r},function(e,t,n){function r(e){return a(e)||i(e)||!!(s&&e&&e[s])}var o=n(145),i=n(276),a=n(37),s=o?o.isConcatSpreadable:void 0;e.exports=r},function(e,t,n){function r(e,t,n){if(!s(n))return!1;var r=typeof t;return!!("number"==r?i(n)&&a(t,n.length):"string"==r&&t in n)&&o(n[t],e)}var o=n(146),i=n(189),a=n(273),s=n(115);e.exports=r},function(e,t){function n(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=n},function(e,t,n){function r(e){return!!i&&i in e}var o=n(895),i=function(){var e=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=r},function(e,t){function n(){this.__data__=[],this.size=0}e.exports=n},function(e,t,n){function r(e){var t=this.__data__,n=o(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():a.call(t,n,1),--this.size,!0}var o=n(183),i=Array.prototype,a=i.splice;e.exports=r},function(e,t,n){function r(e){var t=this.__data__,n=o(t,e);return n<0?void 0:t[n][1]}var o=n(183);e.exports=r},function(e,t,n){function r(e){return o(this.__data__,e)>-1}var o=n(183);e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var o=n(183);e.exports=r},function(e,t,n){function r(){this.size=0,this.__data__={hash:new o,map:new(a||i),string:new o}}var o=n(863),i=n(180),a=n(265);e.exports=r},function(e,t,n){function r(e){var t=o(this,e).delete(e);return this.size-=t?1:0,t}var o=n(185);e.exports=r},function(e,t,n){function r(e){return o(this,e).get(e)}var o=n(185);e.exports=r},function(e,t,n){function r(e){return o(this,e).has(e)}var o=n(185);e.exports=r},function(e,t,n){function r(e,t){var n=o(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var o=n(185);e.exports=r},function(e,t){function n(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}e.exports=n},function(e,t,n){function r(e){var t=o(e,function(e){return n.size===i&&n.clear(),e}),n=t.cache;return t}var o=n(415),i=500;e.exports=r},function(e,t,n){var r=n(410),o=r(Object.keys,Object);e.exports=o},function(e,t){function n(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}e.exports=n},function(e,t,n){(function(e){var r=n(406),o="object"==typeof t&&t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o,s=a&&r.process,u=function(){try{return s&&s.binding&&s.binding("util")}catch(e){}}();e.exports=u}).call(t,n(203)(e))},function(e,t){function n(e){return o.call(e)}var r=Object.prototype,o=r.toString;e.exports=n},function(e,t,n){function r(e,t,n){return t=i(void 0===t?e.length-1:t,0),function(){for(var r=arguments,a=-1,s=i(r.length-t,0),u=Array(s);++a<s;)u[a]=r[t+a];a=-1;for(var c=Array(t+1);++a<t;)c[a]=r[a];return c[t]=n(u),o(e,this,c)}}var o=n(396),i=Math.max;e.exports=r},function(e,t){function n(e){return this.__data__.set(e,r),this}var r="__lodash_hash_undefined__";e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t,n){var r=n(889),o=n(939),i=o(r);e.exports=i},function(e,t){function n(e){var t=0,n=0;return function(){var a=i(),s=o-(a-n);if(n=a,s>0){if(++t>=r)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var r=800,o=16,i=Date.now;e.exports=n},function(e,t,n){function r(){this.__data__=new o,this.size=0}var o=n(180);e.exports=r},function(e,t){function n(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}e.exports=n},function(e,t){function n(e){return this.__data__.get(e)}e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t,n){function r(e,t){var n=this.__data__;if(n instanceof o){var r=n.__data__;if(!i||r.length<s-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new a(r)}return n.set(e,t),this.size=n.size,this}var o=n(180),i=n(265),a=n(266),s=200;e.exports=r},function(e,t){function n(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}e.exports=n},function(e,t,n){var r=n(930),o=/^\./,i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,s=r(function(e){var t=[];return o.test(e)&&t.push(""),e.replace(i,function(e,n,r,o){t.push(r?o.replace(a,"$1"):n||e)}),t});e.exports=s},function(e,t,n){var r=n(894),o=n(896),i=n(954),a=o(function(e,t,n,o){r(t,i(t),e,o)});e.exports=a},function(e,t){function n(e){return function(){return e}}e.exports=n},function(e,t,n){var r=n(396),o=n(947),i=n(96),a=n(899),s=i(function(e){return e.push(void 0,a),r(o,void 0,e)});e.exports=s},function(e,t,n){var r=n(270),o=n(271),i=n(96),a=n(147),s=i(function(e,t){return a(e)?r(e,o(t,1,a,!0)):[]});e.exports=s},function(e,t,n){function r(e,t,n){var r=null==e?void 0:o(e,t);return void 0===r?n:r}var o=n(400);e.exports=r},function(e,t,n){function r(e,t){return null!=e&&i(e,t,o)}var o=n(873),i=n(909);e.exports=r},function(e,t,n){var r=n(182),o=n(875),i=n(96),a=n(893),s=i(function(e){var t=r(e,a);return t.length&&t[0]===e[0]?o(t):[]});e.exports=s},function(e,t,n){function r(e){return a(e)?o(e,!0):i(e)}var o=n(398),i=n(884),a=n(189);e.exports=r},function(e,t,n){function r(e,t){var n={};return t=a(t,3),i(e,function(e,r,i){o(n,r,t(e,r,i))}),n}var o=n(269),i=n(871),a=n(882);e.exports=r},function(e,t,n){function r(e){return a(e)?o(s(e)):i(e)}var o=n(887),i=n(888),a=n(274),s=n(187);e.exports=r},function(e,t){function n(){return[]}e.exports=n},function(e,t){function n(){return!1}e.exports=n},function(e,t,n){function r(e){return null==e?"":o(e)}var o=n(891);e.exports=r},function(e,t,n){var r=n(397),o=n(96),i=n(892),a=n(147),s=o(function(e){return i(r(e,a))});e.exports=s},function(e,t,n){var r=n(1149),o=n(849),i=function(e){return"[object Array]"===Object.prototype.toString.call(e)};e.exports=function(e){if(!e)return{};var t={};return o(r(e).split("\n"),function(e){var n=e.indexOf(":"),o=r(e.slice(0,n)).toLowerCase(),a=r(e.slice(n+1));"undefined"==typeof t[o]?t[o]=a:i(t[o])?t[o].push(a):t[o]=[t[o],a]}),t}},function(e,t){e.exports={nomod:{escape:"",space:" "},ctrl:{" ":"\0",a:"",b:"",c:"",d:"",e:"",f:"",g:"",h:"\b",i:"\t",j:"\n",k:"\v",m:"\f",n:"\r",l:"",o:"",p:"",q:"",r:"",s:"",t:"",u:"",v:"",w:"",x:"",y:"",z:"","[":"","\\":"","]":"","^":"",_:"",space:"\0"}}},function(e,t,n){"use strict";function r(e){if(!/^(ctrl-|shift-|alt-|meta-){0,4}\w+$/.test(e))throw new Error('The string to parse needs to be of the format "c", "ctrl-c", "shift-ctrl-c".')}var o=n(962);e.exports=function(e){var t=e.trim().toLowerCase();r(t);var n,i={name:void 0,ctrl:!1,meta:!1,shift:!1,alt:!1,sequence:void 0},a=t.split("-");for(i.name=a.pop();n=a.pop();)i[n]=!0;return i.sequence=i.ctrl?o.ctrl[i.name]||i.name:o.nomod[i.name]||i.name,i.shift&&i.sequence&&1===i.sequence.length&&(i.sequence=i.sequence.toUpperCase()),i}},function(e,t){function n(e){var t,n,r,o,i,a=e[0]/360,s=e[1]/100,u=e[2]/100;if(0==s)return i=255*u,[i,i,i];n=u<.5?u*(1+s):u+s-u*s,t=2*u-n,o=[0,0,0];for(var c=0;c<3;c++)r=a+1/3*-(c-1),r<0&&r++,r>1&&r--,i=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,o[c]=255*i;return o}e.exports=n},function(e,t,n){function r(e){var t=Math.round(i(e,0,255)),n=t.toString(16);return 1==n.length?"0"+n:n}function o(e){return"#"+r(e[0])+r(e[1])+r(e[2])}var i=n(280);e.exports=o},function(e,t){function n(e){return 4===e.length&&(e="#"+e.charAt(1)+e.charAt(1)+e.charAt(2)+e.charAt(2)+e.charAt(3)+e.charAt(3)),[parseInt(e.substring(1,3),16),parseInt(e.substring(3,5),16),parseInt(e.substring(5,7),16)]}e.exports=n},function(e,t,n){function r(e,t){switch(e=parseFloat(e),t){case 0:return a(e,0,360);case 1:case 2:return a(e,0,100);case 3:return a(e,0,1)}}function o(e){return i(e).map(r)}var i=n(419),a=n(280);e.exports=o},function(e,t,n){function r(e){var t=i(e),n=u(t);return 4===t.length&&n.push(t[3]),n}function o(e){for(var t in c)if(0===e.indexOf(t))return c[t](e)}var i=n(967),a=n(966),s=n(969),u=n(964),c={"#":a,hsl:r,rgb:s};o.rgb=s,o.hsl=i,o.hex=a,e.exports=o},function(e,t,n){function r(e,t){return t<3?e.indexOf("%")!=-1?Math.round(255*a(parseInt(e,10),0,100)/100):a(parseInt(e,10),0,255):a(parseFloat(e),0,1)}function o(e){return i(e).map(r)}var i=n(419),a=n(280);e.exports=o},function(e,t,n){"use strict";function r(e){switch(e.arrayFormat){case"index":return function(t,n,r){return null===n?[i(t,e),"[",r,"]"].join(""):[i(t,e),"[",i(r,e),"]=",i(n,e)].join("")};case"bracket":return function(t,n){return null===n?i(t,e):[i(t,e),"[]=",i(n,e)].join("")};default:return function(t,n){return null===n?i(t,e):[i(t,e),"=",i(n,e)].join("")}}}function o(e){var t;switch(e.arrayFormat){case"index":return function(e,n,r){return t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),void(r[e][t[1]]=n)):void(r[e]=n)};case"bracket":return function(e,n,r){return t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t&&void 0!==r[e]?void(r[e]=[].concat(r[e],n)):void(r[e]=n)};default:return function(e,t,n){return void 0===n[e]?void(n[e]=t):void(n[e]=[].concat(n[e],t))}}}function i(e,t){return t.encode?t.strict?s(e):encodeURIComponent(e):e}function a(e){return Array.isArray(e)?e.sort():"object"==typeof e?a(Object.keys(e)).sort(function(e,t){return Number(e)-Number(t)}).map(function(t){return e[t]}):e}var s=n(1141),u=n(21);t.extract=function(e){return e.split("?")[1]||""},t.parse=function(e,t){t=u({arrayFormat:"none"},t);var n=o(t),r=Object.create(null);return"string"!=typeof e?r:(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach(function(e){var t=e.replace(/\+/g," ").split("="),o=t.shift(),i=t.length>0?t.join("="):void 0;i=void 0===i?null:decodeURIComponent(i),n(decodeURIComponent(o),i,r)}),Object.keys(r).sort().reduce(function(e,t){var n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=a(n):e[t]=n,e},Object.create(null))):r},t.stringify=function(e,t){var n={encode:!0,strict:!0,arrayFormat:"none"};t=u(n,t);var o=r(t);return e?Object.keys(e).sort().map(function(n){var r=e[n];if(void 0===r)return"";if(null===r)return i(n,t);if(Array.isArray(r)){var a=[];return r.slice().forEach(function(e){void 0!==e&&a.push(o(n,e,a.length))}),a.join("&")}return i(n,t)+"="+i(r,t)}).filter(function(e){return e.length>0}).join("&"):""}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(1),s=r(a),u=n(420),c=r(u);t.default=s.default.createClass({displayName:"Circle",mixins:[c.default],render:function(){var e=this,t=this.props,n=t.prefixCls,r=t.strokeWidth,a=t.trailWidth,u=t.strokeColor,c=t.trailColor,l=t.strokeLinecap,f=t.percent,p=t.style,d=t.className,h=o(t,["prefixCls","strokeWidth","trailWidth","strokeColor","trailColor","strokeLinecap","percent","style","className"]),v=50-r/2,y="M 50,50 m 0,-"+v+"\n     a "+v+","+v+" 0 1 1 0,"+2*v+"\n     a "+v+","+v+" 0 1 1 0,-"+2*v,g=2*Math.PI*v,m={strokeDasharray:g+"px "+g+"px",strokeDashoffset:(100-f)/100*g+"px",transition:"stroke-dashoffset 0.3s ease 0s, stroke 0.3s ease"};return s.default.createElement("svg",i({className:n+"-circle "+d,viewBox:"0 0 100 100",style:p},h),s.default.createElement("path",{className:n+"-circle-trail",d:y,stroke:c,strokeWidth:a||r,fillOpacity:"0"}),s.default.createElement("path",{className:n+"-circle-path",d:y,strokeLinecap:l,stroke:u,strokeWidth:r,fillOpacity:"0",ref:function(t){e.path=t},style:m}))}}),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(1),s=r(a),u=n(420),c=r(u);t.default=s.default.createClass({displayName:"Line",mixins:[c.default],render:function(){var e=this,t=this.props,n=t.prefixCls,r=t.strokeWidth,a=t.trailWidth,u=t.strokeColor,c=t.trailColor,l=t.strokeLinecap,f=t.percent,p=t.style,d=t.className,h=o(t,["prefixCls","strokeWidth","trailWidth","strokeColor","trailColor","strokeLinecap","percent","style","className"]),v={strokeDasharray:"100px, 100px",strokeDashoffset:100-f+"px",transition:"stroke-dashoffset 0.3s ease 0s, stroke 0.3s linear"},y=r/2,g=100-r/2,m="M "+y+","+y+" L "+g+","+y,_="0 0 100 "+r;return s.default.createElement("svg",i({className:n+"-line "+d,viewBox:_,preserveAspectRatio:"none",style:p},h),s.default.createElement("path",{className:n+"-line-trail",d:m,strokeLinecap:l,stroke:c,strokeWidth:a||r,fillOpacity:"0"}),s.default.createElement("path",{className:n+"-line-path",d:m,strokeLinecap:l,stroke:u,strokeWidth:r,fillOpacity:"0",ref:function(t){e.path=t},style:v}))}}),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(972),i=r(o),a=n(971),s=r(a);t.default={Line:i.default,Circle:s.default},e.exports=t.default},function(e,t){"use strict";function n(e){var t,n,r,o=e[0],i=e[1],a=e[2];return t=1*o+0*i+1.13983*a,n=1*o+i*-.39465+a*-.5806,r=1*o+2.02311*i+0*a,t=Math.min(Math.max(0,t),1),n=Math.min(Math.max(0,n),1),r=Math.min(Math.max(0,r),1),[255*t,255*n,255*r]}function r(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255,o=.299*t+.587*n+.114*r,i=t*-.14713+n*-.28886+.436*r,a=.615*t+n*-.51499+r*-.10001;return[o,i,a]}Object.defineProperty(t,"__esModule",{value:!0}),t.yuv2rgb=n,t.rgb2yuv=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(417),s=r(a),u=n(418),c=r(u),l=function(){function e(){o(this,e),this.entered=[]}return i(e,[{key:"enter",value:function(e){var t=this.entered.length,n=function(t){return document.documentElement.contains(t)&&(!t.contains||t.contains(e))};return this.entered=(0,s.default)(this.entered.filter(n),[e]),0===t&&this.entered.length>0}},{key:"leave",value:function(e){var t=this.entered.length;return this.entered=(0,c.default)(this.entered.filter(function(e){return document.documentElement.contains(e)}),e),t>0&&0===this.entered.length}},{key:"reset",value:function(){this.entered=[]}}]),e}();t.default=l},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(949),u=o(s),c=n(981),l=o(c),f=n(975),p=o(f),d=n(422),h=n(979),v=n(978),y=n(281),g=r(y),m=function(){function e(t){i(this,e),this.actions=t.getActions(),this.monitor=t.getMonitor(),this.registry=t.getRegistry(),this.context=t.getContext(),this.sourcePreviewNodes={},this.sourcePreviewNodeOptions={},this.sourceNodes={},this.sourceNodeOptions={},this.enterLeaveCounter=new p.default,this.dragStartSourceIds=[],this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.currentDragSourceNodeOffset=null,this.currentDragSourceNodeOffsetChanged=!1,this.altKeyPressed=!1,this.getSourceClientOffset=this.getSourceClientOffset.bind(this),this.handleTopDragStart=this.handleTopDragStart.bind(this),this.handleTopDragStartCapture=this.handleTopDragStartCapture.bind(this),this.handleTopDragEndCapture=this.handleTopDragEndCapture.bind(this),this.handleTopDragEnter=this.handleTopDragEnter.bind(this),this.handleTopDragEnterCapture=this.handleTopDragEnterCapture.bind(this),this.handleTopDragLeaveCapture=this.handleTopDragLeaveCapture.bind(this),this.handleTopDragOver=this.handleTopDragOver.bind(this),this.handleTopDragOverCapture=this.handleTopDragOverCapture.bind(this),this.handleTopDrop=this.handleTopDrop.bind(this),this.handleTopDropCapture=this.handleTopDropCapture.bind(this),this.handleSelectStart=this.handleSelectStart.bind(this),this.endDragIfSourceWasRemovedFromDOM=this.endDragIfSourceWasRemovedFromDOM.bind(this),this.endDragNativeItem=this.endDragNativeItem.bind(this)}return a(e,[{key:"setup",value:function(){if(void 0!==this.window){if(this.window.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");this.window.__isReactDndBackendSetUp=!0,this.addEventListeners(this.window)}}},{key:"teardown",value:function(){void 0!==this.window&&(this.window.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.window),this.clearCurrentDragSourceNode())}},{key:"addEventListeners",value:function(e){e.addEventListener("dragstart",this.handleTopDragStart),e.addEventListener("dragstart",this.handleTopDragStartCapture,!0),e.addEventListener("dragend",this.handleTopDragEndCapture,!0),e.addEventListener("dragenter",this.handleTopDragEnter),e.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.addEventListener("dragover",this.handleTopDragOver),e.addEventListener("dragover",this.handleTopDragOverCapture,!0),e.addEventListener("drop",this.handleTopDrop),e.addEventListener("drop",this.handleTopDropCapture,!0)}},{key:"removeEventListeners",value:function(e){e.removeEventListener("dragstart",this.handleTopDragStart),e.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),e.removeEventListener("dragend",this.handleTopDragEndCapture,!0),e.removeEventListener("dragenter",this.handleTopDragEnter),e.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.removeEventListener("dragover",this.handleTopDragOver),e.removeEventListener("dragover",this.handleTopDragOverCapture,!0),e.removeEventListener("drop",this.handleTopDrop),e.removeEventListener("drop",this.handleTopDropCapture,!0)}},{key:"connectDragPreview",value:function(e,t,n){var r=this;return this.sourcePreviewNodeOptions[e]=n,this.sourcePreviewNodes[e]=t,function(){delete r.sourcePreviewNodes[e],delete r.sourcePreviewNodeOptions[e]}}},{key:"connectDragSource",value:function(e,t,n){var r=this;this.sourceNodes[e]=t,this.sourceNodeOptions[e]=n;var o=function(t){return r.handleDragStart(t,e)},i=function(t){return r.handleSelectStart(t,e)};return t.setAttribute("draggable",!0),t.addEventListener("dragstart",o),t.addEventListener("selectstart",i),function(){delete r.sourceNodes[e],delete r.sourceNodeOptions[e],t.removeEventListener("dragstart",o),t.removeEventListener("selectstart",i),t.setAttribute("draggable",!1)}}},{key:"connectDropTarget",value:function(e,t){var n=this,r=function(t){return n.handleDragEnter(t,e)},o=function(t){return n.handleDragOver(t,e)},i=function(t){return n.handleDrop(t,e)};return t.addEventListener("dragenter",r),t.addEventListener("dragover",o),t.addEventListener("drop",i),function(){t.removeEventListener("dragenter",r),t.removeEventListener("dragover",o),t.removeEventListener("drop",i)}}},{key:"getCurrentSourceNodeOptions",value:function(){var e=this.monitor.getSourceId(),t=this.sourceNodeOptions[e];return(0,u.default)(t||{},{dropEffect:this.altKeyPressed?"copy":"move"})}},{key:"getCurrentDropEffect",value:function(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}},{key:"getCurrentSourcePreviewNodeOptions",value:function(){var e=this.monitor.getSourceId(),t=this.sourcePreviewNodeOptions[e];return(0,u.default)(t||{},{anchorX:.5,anchorY:.5,captureDraggingState:!1})}},{key:"getSourceClientOffset",value:function(e){return(0,h.getNodeClientOffset)(this.sourceNodes[e])}},{key:"isDraggingNativeItem",value:function(){var e=this.monitor.getItemType();return Object.keys(g).some(function(t){return g[t]===e})}},{key:"beginDragNativeItem",value:function(e){this.clearCurrentDragSourceNode();var t=(0,v.createNativeDragSource)(e);this.currentNativeSource=new t,this.currentNativeHandle=this.registry.addSource(e,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle]),(0,d.isFirefox)()&&this.window.addEventListener("mousemove",this.endDragNativeItem,!0)}},{key:"endDragNativeItem",value:function(){this.isDraggingNativeItem()&&((0,d.isFirefox)()&&this.window.removeEventListener("mousemove",this.endDragNativeItem,!0),this.actions.endDrag(),this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)}},{key:"endDragIfSourceWasRemovedFromDOM",value:function(){var e=this.currentDragSourceNode;document.body.contains(e)||this.clearCurrentDragSourceNode()&&this.actions.endDrag()}},{key:"setCurrentDragSourceNode",value:function(e){this.clearCurrentDragSourceNode(),this.currentDragSourceNode=e,this.currentDragSourceNodeOffset=(0,h.getNodeClientOffset)(e),this.currentDragSourceNodeOffsetChanged=!1,this.window.addEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)}},{key:"clearCurrentDragSourceNode",value:function(){return!!this.currentDragSourceNode&&(this.currentDragSourceNode=null,this.currentDragSourceNodeOffset=null,this.currentDragSourceNodeOffsetChanged=!1,this.window.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0),!0)}},{key:"checkIfCurrentDragSourceRectChanged",value:function(){var e=this.currentDragSourceNode;return!!e&&(!!this.currentDragSourceNodeOffsetChanged||(this.currentDragSourceNodeOffsetChanged=!(0,l.default)((0,h.getNodeClientOffset)(e),this.currentDragSourceNodeOffset),this.currentDragSourceNodeOffsetChanged))}},{key:"handleTopDragStartCapture",value:function(){this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]}},{key:"handleDragStart",value:function(e,t){this.dragStartSourceIds.unshift(t)}},{key:"handleTopDragStart",value:function(e){var t=this,n=this.dragStartSourceIds;this.dragStartSourceIds=null;var r=(0,h.getEventClientOffset)(e);this.actions.beginDrag(n,{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:r});var o=e.dataTransfer,i=(0,v.matchNativeItemType)(o);if(this.monitor.isDragging()){if("function"==typeof o.setDragImage){var a=this.monitor.getSourceId(),s=this.sourceNodes[a],u=this.sourcePreviewNodes[a]||s,c=this.getCurrentSourcePreviewNodeOptions(),l=c.anchorX,f=c.anchorY,p={anchorX:l,anchorY:f},d=(0,h.getDragPreviewOffset)(s,u,r,p);o.setDragImage(u,d.x,d.y)}try{o.setData("application/json",{})}catch(e){}this.setCurrentDragSourceNode(e.target);var y=this.getCurrentSourcePreviewNodeOptions(),g=y.captureDraggingState;g?this.actions.publishDragSource():setTimeout(function(){return t.actions.publishDragSource()})}else if(i)this.beginDragNativeItem(i);else{if(!(o.types||e.target.hasAttribute&&e.target.hasAttribute("draggable")))return;e.preventDefault()}}},{key:"handleTopDragEndCapture",value:function(){this.clearCurrentDragSourceNode()&&this.actions.endDrag()}},{key:"handleTopDragEnterCapture",value:function(e){this.dragEnterTargetIds=[];var t=this.enterLeaveCounter.enter(e.target);if(t&&!this.monitor.isDragging()){var n=e.dataTransfer,r=(0,v.matchNativeItemType)(n);r&&this.beginDragNativeItem(r);
-}}},{key:"handleDragEnter",value:function(e,t){this.dragEnterTargetIds.unshift(t)}},{key:"handleTopDragEnter",value:function(e){var t=this,n=this.dragEnterTargetIds;if(this.dragEnterTargetIds=[],this.monitor.isDragging()){this.altKeyPressed=e.altKey,(0,d.isFirefox)()||this.actions.hover(n,{clientOffset:(0,h.getEventClientOffset)(e)});var r=n.some(function(e){return t.monitor.canDropOnTarget(e)});r&&(e.preventDefault(),e.dataTransfer.dropEffect=this.getCurrentDropEffect())}}},{key:"handleTopDragOverCapture",value:function(){this.dragOverTargetIds=[]}},{key:"handleDragOver",value:function(e,t){this.dragOverTargetIds.unshift(t)}},{key:"handleTopDragOver",value:function(e){var t=this,n=this.dragOverTargetIds;if(this.dragOverTargetIds=[],!this.monitor.isDragging())return e.preventDefault(),void(e.dataTransfer.dropEffect="none");this.altKeyPressed=e.altKey,this.actions.hover(n,{clientOffset:(0,h.getEventClientOffset)(e)});var r=n.some(function(e){return t.monitor.canDropOnTarget(e)});r?(e.preventDefault(),e.dataTransfer.dropEffect=this.getCurrentDropEffect()):this.isDraggingNativeItem()?(e.preventDefault(),e.dataTransfer.dropEffect="none"):this.checkIfCurrentDragSourceRectChanged()&&(e.preventDefault(),e.dataTransfer.dropEffect="move")}},{key:"handleTopDragLeaveCapture",value:function(e){this.isDraggingNativeItem()&&e.preventDefault();var t=this.enterLeaveCounter.leave(e.target);t&&this.isDraggingNativeItem()&&this.endDragNativeItem()}},{key:"handleTopDropCapture",value:function(e){this.dropTargetIds=[],e.preventDefault(),this.isDraggingNativeItem()&&this.currentNativeSource.mutateItemByReadingDataTransfer(e.dataTransfer),this.enterLeaveCounter.reset()}},{key:"handleDrop",value:function(e,t){this.dropTargetIds.unshift(t)}},{key:"handleTopDrop",value:function(e){var t=this.dropTargetIds;this.dropTargetIds=[],this.actions.hover(t,{clientOffset:(0,h.getEventClientOffset)(e)}),this.actions.drop({dropEffect:this.getCurrentDropEffect()}),this.isDraggingNativeItem()?this.endDragNativeItem():this.endDragIfSourceWasRemovedFromDOM()}},{key:"handleSelectStart",value:function(e){var t=e.target;"function"==typeof t.dragDrop&&("INPUT"===t.tagName||"SELECT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable||(e.preventDefault(),t.dragDrop()))}},{key:"window",get:function(){return this.context&&this.context.window?this.context.window:"undefined"!=typeof window?window:void 0}}]),e}();t.default=m},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(t,r){n(this,e);for(var o=t.length,i=[],a=0;a<o;a++)i.push(a);i.sort(function(e,n){return t[e]<t[n]?-1:1});for(var s=[],u=[],c=[],l=void 0,f=void 0,p=0;p<o-1;p++)l=t[p+1]-t[p],f=r[p+1]-r[p],u.push(l),s.push(f),c.push(f/l);for(var d=[c[0]],h=0;h<u.length-1;h++){var v=c[h],y=c[h+1];if(v*y<=0)d.push(0);else{l=u[h];var g=u[h+1],m=l+g;d.push(3*m/((m+g)/v+(m+l)/y))}}d.push(c[c.length-1]);for(var _=[],b=[],w=void 0,E=0;E<d.length-1;E++){w=c[E];var T=d[E],C=1/u[E],S=T+d[E+1]-w-w;_.push((w-T-S)*C),b.push(S*C*C)}this.xs=t,this.ys=r,this.c1s=d,this.c2s=_,this.c3s=b}return r(e,[{key:"interpolate",value:function(e){var t=this.xs,n=this.ys,r=this.c1s,o=this.c2s,i=this.c3s,a=t.length-1;if(e===t[a])return n[a];for(var s=0,u=i.length-1,c=void 0;s<=u;){c=Math.floor(.5*(s+u));var l=t[c];if(l<e)s=c+1;else{if(!(l>e))return n[c];u=c-1}}a=Math.max(0,u);var f=e-t[a],p=f*f;return n[a]+r[a]*f+o[a]*p+i[a]*f*p}}]),e}();t.default=o},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e,t){for(var n in t){var r=t[n];r.configurable=r.enumerable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,n,r)}return e}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t,n){var r=t.reduce(function(t,n){return t||e.getData(n)},null);return null!=r?r:n}function u(e){var t=h[e],n=t.exposeProperty,r=t.matchesTypes,a=t.getData;return function(){function e(){var t,r;i(this,e),this.item=(t={},r={},r[n]=r[n]||{},r[n].get=function(){return console.warn("Browser doesn't allow reading \""+n+'" until the drop event.'),null},o(t,r),t)}return f(e,[{key:"mutateItemByReadingDataTransfer",value:function(e){delete this.item[n],this.item[n]=a(e,r)}},{key:"canDrag",value:function(){return!0}},{key:"beginDrag",value:function(){return this.item}},{key:"isDragging",value:function(e,t){return t===e.getSourceId()}},{key:"endDrag",value:function(){}}]),e}()}function c(e){var t=Array.prototype.slice.call(e.types||[]);return Object.keys(h).filter(function(e){var n=h[e].matchesTypes;return n.some(function(e){return t.indexOf(e)>-1})})[0]||null}Object.defineProperty(t,"__esModule",{value:!0});var l,f=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.createNativeDragSource=u,t.matchNativeItemType=c;var p=n(281),d=r(p),h=(l={},a(l,d.FILE,{exposeProperty:"files",matchesTypes:["Files"],getData:function(e){return Array.prototype.slice.call(e.files)}}),a(l,d.URL,{exposeProperty:"urls",matchesTypes:["Url","text/uri-list"],getData:function(e,t){return s(e,t,"").split("\n")}}),a(l,d.TEXT,{exposeProperty:"text",matchesTypes:["Text","text/plain"],getData:function(e,t){return s(e,t,"")}}),l)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.nodeType===l?e:e.parentElement;if(!t)return null;var n=t.getBoundingClientRect(),r=n.top,o=n.left;return{x:o,y:r}}function i(e){return{x:e.clientX,y:e.clientY}}function a(e,t,n,r){var i="IMG"===t.nodeName&&((0,s.isFirefox)()||!document.documentElement.contains(t)),a=i?e:t,u=o(a),l={x:n.x-u.x,y:n.y-u.y},f=e.offsetWidth,p=e.offsetHeight,d=r.anchorX,h=r.anchorY,v=i?t.width:f,y=i?t.height:p;(0,s.isSafari)()&&i?(y/=window.devicePixelRatio,v/=window.devicePixelRatio):(0,s.isFirefox)()&&!i&&(y*=window.devicePixelRatio,v*=window.devicePixelRatio);var g=new c.default([0,.5,1],[l.x,l.x/f*v,l.x+v-f]),m=new c.default([0,.5,1],[l.y,l.y/p*y,l.y+y-p]),_=g.interpolate(d),b=m.interpolate(h);return(0,s.isSafari)()&&i&&(b+=(window.devicePixelRatio-1)*y),{x:_,y:b}}Object.defineProperty(t,"__esModule",{value:!0}),t.getNodeClientOffset=o,t.getEventClientOffset=i,t.getDragPreviewOffset=a;var s=n(422),u=n(977),c=r(u),l=1},function(e,t){"use strict";function n(){return r||(r=new Image,r.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),r}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;var r=void 0},282,function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,s,u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(1),l=n(423),f=(s=a=function(e){function t(e,n){r(this,t);var i=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return i.backend=(0,l.unpackBackendForEs5Users)(e.backend),i}return i(t,e),u(t,[{key:"getChildContext",value:function(){var e=this,t=function(){return e.props&&e.props.window?e.props.window:e.context&&e.context.window?e.context.window:"undefined"!=typeof window?window:void 0};return(0,l.createChildContext)(this.backend,{window:t()})}},{key:"render",value:function(){return c.Children.only(this.props.children)}}]),t}(c.Component),a.propTypes={backend:c.PropTypes.oneOfType([c.PropTypes.func,c.PropTypes.object]).isRequired,children:c.PropTypes.element.isRequired,window:c.PropTypes.object},a.defaultProps={window:void 0},a.childContextTypes=l.CHILD_CONTEXT_TYPES,a.displayName="DragDropContextProvider",a.contextTypes={window:c.PropTypes.object},s);t.default=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return C.default.apply(void 0,["DragLayer","collect[, options]"].concat(Array.prototype.slice.call(arguments))),(0,m.default)("function"==typeof e,'Expected "collect" provided as the first argument to DragLayer to be a function that collects props to inject into the component. ',"Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-layer.html",e),(0,m.default)((0,y.default)(t),'Expected "options" provided as the second argument to DragLayer to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-layer.html',t),function(n){var r,s,d=t.arePropsEqual,v=void 0===d?E.default:d,y=n.displayName||n.name||"Component",g=(s=r=function(t){function r(e,t){o(this,r);var n=i(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e));return n.handleChange=n.handleChange.bind(n),n.manager=t.dragDropManager,(0,m.default)("object"===c(n.manager),"Could not find the drag and drop manager in the context of %s. Make sure to wrap the top-level component of your app with DragDropContext. Read more: http://react-dnd.github.io/react-dnd/docs-troubleshooting.html#could-not-find-the-drag-and-drop-manager-in-the-context",y,y),n.state=n.getCurrentState(),n}return a(r,t),l(r,[{key:"getDecoratedComponentInstance",value:function(){return(0,m.default)(this.child,"In order to access an instance of the decorated component it can not be a stateless component."),this.child}},{key:"shouldComponentUpdate",value:function(e,t){return!v(e,this.props)||!(0,b.default)(t,this.state)}}]),l(r,[{key:"componentDidMount",value:function(){this.isCurrentlyMounted=!0;var e=this.manager.getMonitor();this.unsubscribeFromOffsetChange=e.subscribeToOffsetChange(this.handleChange),this.unsubscribeFromStateChange=e.subscribeToStateChange(this.handleChange),this.handleChange()}},{key:"componentWillUnmount",value:function(){this.isCurrentlyMounted=!1,this.unsubscribeFromOffsetChange(),this.unsubscribeFromStateChange()}},{key:"handleChange",value:function(){if(this.isCurrentlyMounted){var e=this.getCurrentState();(0,b.default)(e,this.state)||this.setState(e)}}},{key:"getCurrentState",value:function(){var t=this.manager.getMonitor();return e(t)}},{key:"render",value:function(){var e=this;return p.default.createElement(n,u({},this.props,this.state,{ref:function(t){return e.child=t}}))}}]),r}(f.Component),r.DecoratedComponent=n,r.displayName="DragLayer("+y+")",r.contextTypes={dragDropManager:f.PropTypes.object.isRequired},s);return(0,h.default)(g,n)}}Object.defineProperty(t,"__esModule",{value:!0});var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=s;var f=n(1),p=r(f),d=n(144),h=r(d),v=n(61),y=r(v),g=n(17),m=r(g),_=n(282),b=r(_),w=n(427),E=r(w),T=n(191),C=r(T)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};l.default.apply(void 0,["DragSource","type, spec, collect[, options]"].concat(Array.prototype.slice.call(arguments)));var o=e;"function"!=typeof e&&((0,a.default)((0,E.default)(e),'Expected "type" provided as the first argument to DragSource to be a string, or a function that returns a string given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',e),o=function(){return e}),(0,a.default)((0,u.default)(t),'Expected "spec" provided as the second argument to DragSource to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',t);var i=(0,y.default)(t);return(0,a.default)("function"==typeof n,'Expected "collect" provided as the third argument to DragSource to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',n),(0,a.default)((0,u.default)(r),'Expected "options" provided as the fourth argument to DragSource to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',n),function(e){return(0,p.default)({connectBackend:function(e,t){return e.connectDragSource(t)},containerDisplayName:"DragSource",createHandler:i,registerHandler:h.default,createMonitor:m.default,createConnector:b.default,DecoratedComponent:e,getType:o,collect:n,options:r})}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(17),a=r(i),s=n(61),u=r(s),c=n(191),l=r(c),f=n(425),p=r(f),d=n(992),h=r(d),v=n(987),y=r(v),g=n(988),m=r(g),_=n(986),b=r(_),w=n(426),E=r(w)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};l.default.apply(void 0,["DropTarget","type, spec, collect[, options]"].concat(Array.prototype.slice.call(arguments)));var o=e;"function"!=typeof e&&((0,a.default)((0,E.default)(e,!0),'Expected "type" provided as the first argument to DropTarget to be a string, an array of strings, or a function that returns either given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',e),o=function(){return e}),(0,a.default)((0,u.default)(t),'Expected "spec" provided as the second argument to DropTarget to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',t);var i=(0,y.default)(t);return(0,a.default)("function"==typeof n,'Expected "collect" provided as the third argument to DropTarget to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',n),(0,a.default)((0,u.default)(r),'Expected "options" provided as the fourth argument to DropTarget to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',n),function(e){return(0,p.default)({connectBackend:function(e,t){return e.connectDropTarget(t)},containerDisplayName:"DropTarget",createHandler:i,registerHandler:h.default,createMonitor:m.default,createConnector:b.default,DecoratedComponent:e,getType:o,collect:n,options:r})}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(17),a=r(i),s=n(61),u=r(s),c=n(191),l=r(c),f=n(425),p=r(f),d=n(993),h=r(d),v=n(990),y=r(v),g=n(991),m=r(g),_=n(989),b=r(_),w=n(426),E=r(w)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){function t(){c&&(c(),c=null),o&&i&&(c=e.connectDragSource(o,i,s))}function n(){p&&(p(),p=null),o&&l&&(p=e.connectDragPreview(o,l,f))}function r(e){e!==o&&(o=e,t(),n())}var o=void 0,i=void 0,s=void 0,c=void 0,l=void 0,f=void 0,p=void 0,d=(0,a.default)({dragSource:function(e,n){e===i&&(0,u.default)(n,s)||(i=e,s=n,t())},dragPreview:function(e,t){e===l&&(0,u.default)(t,f)||(l=e,f=t,n())}});return{receiveHandlerId:r,hooks:d}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(428),a=r(i),s=n(424),u=r(s)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e){Object.keys(e).forEach(function(t){(0,u.default)(l.indexOf(t)>-1,'Expected the drag source specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',l.join(", "),t),(0,u.default)("function"==typeof e[t],"Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html",t,t,e[t])}),f.forEach(function(t){(0,u.default)("function"==typeof e[t],"Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html",t,t,e[t])});var t=function(){function t(e){o(this,t),this.monitor=e,this.props=null,this.component=null}return a(t,[{key:"receiveProps",value:function(e){this.props=e}},{key:"receiveComponent",value:function(e){this.component=e}},{key:"canDrag",value:function(){return!e.canDrag||e.canDrag(this.props,this.monitor)}},{key:"isDragging",value:function(t,n){return e.isDragging?e.isDragging(this.props,this.monitor):n===t.getSourceId()}},{key:"beginDrag",value:function(){var t=e.beginDrag(this.props,this.monitor,this.component);return t}},{key:"endDrag",value:function(){e.endDrag&&e.endDrag(this.props,this.monitor,this.component)}}]),t}();return function(e){return new t(e)}}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=i;var s=n(17),u=r(s),c=n(61),l=(r(c),["canDrag","beginDrag","isDragging","endDrag"]),f=["beginDrag"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e){return new f(e)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=i;var s=n(17),u=r(s),c=!1,l=!1,f=function(){function e(t){o(this,e),this.internalMonitor=t.getMonitor()}return a(e,[{key:"receiveHandlerId",value:function(e){this.sourceId=e}},{key:"canDrag",value:function(){(0,u.default)(!c,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source-monitor.html");try{return c=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{c=!1}}},{key:"isDragging",value:function(){(0,u.default)(!l,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source-monitor.html");try{return l=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{l=!1}}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}]),e}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){function t(){s&&(s(),s=null),r&&o&&(s=e.connectDropTarget(r,o,i))}function n(e){e!==r&&(r=e,t())}var r=void 0,o=void 0,i=void 0,s=void 0,c=(0,a.default)({dropTarget:function(e,n){e===o&&(0,u.default)(n,i)||(o=e,i=n,t())}});return{receiveHandlerId:n,hooks:c}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(428),a=r(i),s=n(424),u=r(s)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e){Object.keys(e).forEach(function(t){(0,u.default)(l.indexOf(t)>-1,'Expected the drop target specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',l.join(", "),t),(0,u.default)("function"==typeof e[t],"Expected %s in the drop target specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html",t,t,e[t])});var t=function(){function t(e){o(this,t),this.monitor=e,this.props=null,this.component=null}return a(t,[{key:"receiveProps",value:function(e){this.props=e}},{key:"receiveMonitor",value:function(e){this.monitor=e}},{key:"receiveComponent",value:function(e){this.component=e}},{key:"canDrop",value:function(){return!e.canDrop||e.canDrop(this.props,this.monitor)}},{key:"hover",value:function(){e.hover&&e.hover(this.props,this.monitor,this.component)}},{key:"drop",value:function(){if(e.drop){var t=e.drop(this.props,this.monitor,this.component);return t}}}]),t}();return function(e){return new t(e)}}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=i;var s=n(17),u=r(s),c=n(61),l=(r(c),["canDrop","hover","drop"])},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e){return new l(e)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=i;var s=n(17),u=r(s),c=!1,l=function(){function e(t){o(this,e),this.internalMonitor=t.getMonitor()}return a(e,[{key:"receiveHandlerId",value:function(e){this.targetId=e}},{key:"canDrop",value:function(){(0,u.default)(!c,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target-monitor.html");try{return c=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{c=!1}}},{key:"isOver",value:function(e){return this.internalMonitor.isOverTarget(this.targetId,e)}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}]),e}()},function(e,t){"use strict";function n(e,t,n){function r(){o.removeSource(i)}var o=n.getRegistry(),i=o.addSource(e,t);return{handlerId:i,unregister:r}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n},function(e,t){"use strict";function n(e,t,n){function r(){o.removeTarget(i)}var o=n.getRegistry(),i=o.addTarget(e,t);return{handlerId:i,unregister:r}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=e.ref;return(0,a.default)("string"!=typeof n,"Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://facebook.github.io/react/docs/more-about-refs.html#the-ref-callback-attribute"),n?(0,s.cloneElement)(e,{ref:function(e){t(e),n&&n(e)}}):(0,s.cloneElement)(e,{ref:t})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(17),a=r(i),s=n(1)},function(e,t,n){"use strict";function r(e){return v(e).reduce(function(t,n){return t[n]=(0,C.default)(e[n]),t},{})}function o(e){return["left","top","width","height"].map(function(t){return t+" "+e/1e3+"s ease-out"})}function i(e,t){function n(e){return r?100-100*l+"%":e-l+"px"}var r=e.fluid,i=e.dockStyle,a=e.dockHiddenStyle,s=e.duration,u=e.position,c=e.isVisible,l=t.size,f=t.isResizing,p=t.fullWidth,d=t.fullHeight,v=void 0,y=r?100*l+"%":l+"px";switch(u){case"left":v={width:y,left:c?0:"-"+y};break;case"right":v={left:c?n(p):p,width:y};break;case"top":v={top:c?0:"-"+y,height:y};break;case"bottom":v={top:c?n(d):d,height:y}}var g=o(s);return[S.dock,(0,C.default)({transition:[].concat(h(g),[!c&&"opacity 0.01s linear "+s/1e3+"s"]).filter(function(e){return e}).join(",")}),i,(0,C.default)(v),f&&S.dockResizing,!c&&S.dockHidden,!c&&a]}function a(e,t){var n=e.dimMode,r=e.dimStyle,o=e.duration,i=e.isVisible,a=t.isTransitionStarted;return[S.dim,(0,C.default)({transition:"opacity "+o/1e3+"s ease-out"}),r,"transparent"===n&&S.dimTransparent,!i&&S.dimHidden,a&&i&&S.dimAppear,a&&!i&&S.dimDisappear]}function s(e){var t=void 0,n=10;switch(e){case"left":t={right:-n/2,width:n,top:0,height:"100%",cursor:"col-resize"};break;case"right":t={left:-n/2,width:n,top:0,height:"100%",cursor:"col-resize"};break;case"top":t={bottom:-n/2,height:n,left:0,width:"100%",cursor:"row-resize"};break;case"bottom":t={top:-n/2,height:n,left:0,width:"100%",cursor:"row-resize"}}return[S.resizer,(0,C.default)(t)]}function u(e,t,n){return"left"===e||"right"===e?t:n}var c=n(546).default,l=n(6).default,f=n(545).default,p=n(544).default,d=n(10).default,h=n(549).default,v=n(105).default,y=n(339).default;Object.defineProperty(t,"__esModule",{value:!0});var g=n(1),m=y(g),_=n(998),b=y(_),w=n(21),E=y(w),T=n(996),C=y(T),S=r({wrapper:{position:"fixed",width:0,height:0,top:0,left:0},dim:{position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:0,background:"rgba(0, 0, 0, 0.2)",opacity:1},dimAppear:{opacity:0},dimTransparent:{pointerEvents:"none"},dimHidden:{opacity:0},dock:{position:"fixed",zIndex:1,boxShadow:"0 0 4px rgba(0, 0, 0, 0.3)",background:"white",left:0,top:0,width:"100%",height:"100%"},dockHidden:{opacity:0},dockResizing:{transition:"none"},dockContent:{width:"100%",height:"100%",overflow:"auto"},resizer:{position:"absolute",zIndex:2,opacity:0}}),x=function(e){function t(e){var n=this;p(this,t),c(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,e),this.transitionEnd=function(){n.setState({isTransitionStarted:!1})},this.hideDim=function(){n.props.isVisible||n.setState({isDimHidden:!0})},this.handleDimClick=function(){"opaque"===n.props.dimMode&&n.props.onVisibleChange&&n.props.onVisibleChange(!1)},this.handleResize=function(){window.requestAnimationFrame?window.requestAnimationFrame(n.updateWindowSize.bind(n,!0)):n.updateWindowSize(!0)},this.updateWindowSize=function(e){var t={fullWidth:window.innerWidth,fullHeight:window.innerHeight};e?(n.setState(d({},t,{isResizing:!0,isWindowResizing:e})),n.debouncedUpdateWindowSizeEnd()):n.setState(t)},this.updateWindowSizeEnd=function(){n.setState({isResizing:!1,isWindowResizing:!1})},this.debouncedUpdateWindowSizeEnd=(0,b.default)(this.updateWindowSizeEnd,30),this.handleWrapperLeave=function(){n.setState({isResizing:!1})},this.handleMouseDown=function(){n.setState({isResizing:!0})},this.handleMouseUp=function(){n.setState({isResizing:!1})},this.handleMouseMove=function(e){if(n.state.isResizing&&!n.state.isWindowResizing){e.preventDefault();var t=n.props,r=t.position,o=t.fluid,i=n.state,a=i.fullWidth,s=i.fullHeight,u=i.isControlled,c=e.clientX,l=e.clientY,f=void 0;switch(r){case"left":f=o?c/a:c;break;case"right":f=o?(a-c)/a:a-c;break;case"top":f=o?l/s:l;break;case"bottom":f=o?(s-l)/s:s-l}n.props.onSizeChange&&n.props.onSizeChange(f),u||n.setState({size:f})}},this.state={isControlled:"undefined"!=typeof e.size,size:e.size||e.defaultSize,isDimHidden:!e.isVisible,fullWidth:"undefined"!=typeof window&&window.innerWidth,fullHeight:"undefined"!=typeof window&&window.innerHeight,isTransitionStarted:!1,isWindowResizing:!1}}return l(t,e),f(t,[{key:"componentDidMount",value:function(){window.addEventListener("mouseup",this.handleMouseUp),window.addEventListener("mousemove",this.handleMouseMove),window.addEventListener("resize",this.handleResize),window.fullWidth||this.updateWindowSize()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("mouseup",this.handleMouseUp),window.removeEventListener("mousemove",this.handleMouseMove),window.removeEventListener("resize",this.handleResize)}},{key:"componentWillReceiveProps",value:function(e){var t="undefined"!=typeof e.size;this.setState({isControlled:t}),t&&this.props.size!==e.size?this.setState({size:e.size}):this.props.fluid!==e.fluid&&this.updateSize(e),this.props.isVisible!==e.isVisible&&this.setState({isTransitionStarted:!0})}},{key:"updateSize",value:function(e){var t=this.state,n=t.fullWidth,r=t.fullHeight;this.setState({size:e.fluid?this.state.size/u(e.position,n,r):u(e.position,n,r)*this.state.size})}},{key:"componentDidUpdate",value:function(e){var t=this;this.props.isVisible!==e.isVisible&&(this.props.isVisible?this.setState({isDimHidden:!1}):window.setTimeout(function(){return t.hideDim()},this.props.duration),window.setTimeout(function(){return t.setState({isTransitionStarted:!1})},0))}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.zIndex,r=e.dimMode,o=e.position,u=e.isVisible,c=this.state,l=c.isResizing,f=c.size,p=c.isDimHidden,d=E.default.apply(void 0,[{}].concat(h(a(this.props,this.state)))),v=E.default.apply(void 0,[{}].concat(h(i(this.props,this.state)))),y=E.default.apply(void 0,[{}].concat(h(s(o))));
-return m.default.createElement("div",{style:(0,E.default)({},S.wrapper,{zIndex:n})},"none"!==r&&!p&&m.default.createElement("div",{style:d,onClick:this.handleDimClick}),m.default.createElement("div",{style:v},m.default.createElement("div",{style:y,onMouseDown:this.handleMouseDown}),m.default.createElement("div",{style:S.dockContent},"function"==typeof t?t({position:o,isResizing:l,size:f,isVisible:u}):t)))}}],[{key:"propTypes",value:{position:g.PropTypes.oneOf(["left","right","top","bottom"]),zIndex:g.PropTypes.number,fluid:g.PropTypes.bool,size:g.PropTypes.number,defaultSize:g.PropTypes.number,dimMode:g.PropTypes.oneOf(["none","transparent","opaque"]),isVisible:g.PropTypes.bool,onVisibleChange:g.PropTypes.func,onSizeChange:g.PropTypes.func,dimStyle:g.PropTypes.object,dockStyle:g.PropTypes.object,duration:g.PropTypes.number},enumerable:!0},{key:"defaultProps",value:{position:"left",zIndex:99999999,fluid:!0,defaultSize:.3,dimMode:"opaque",duration:200},enumerable:!0}]),t}(g.Component);t.default=x,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){return u.reduce(function(n,r){return n[r+e[0].toUpperCase()+e.substr(1)]=t,n},{})}function o(e){return a(e).reduce(function(t,n){return s.indexOf(n)!==-1?i({},t,r(n,e[n])):t},e)}var i=n(10).default,a=n(105).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var s=["animation","animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction","appearance","backfaceVisibility","backgroundClip","borderImage","borderImageSlice","boxSizing","boxShadow","contentColumns","transform","transformOrigin","transformStyle","transition","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction","perspective","perspectiveOrigin","userSelect"],u=["Moz","Webkit","ms","O"];e.exports=t.default},function(e,t,n){"use strict";var r=n(339).default;Object.defineProperty(t,"__esModule",{value:!0});var o=n(995),i=r(o);t.default=i.default,e.exports=t.default},function(e,t,n){function r(e,t,n){function r(){g&&clearTimeout(g),d&&clearTimeout(d),_=0,d=g=m=void 0}function i(t,n){n&&clearTimeout(n),d=g=m=void 0,t&&(_=c(),h=e.apply(y,p),g||d||(p=y=void 0))}function u(){var e=t-(c()-v);e<=0||e>t?i(m,d):g=setTimeout(u,e)}function l(){i(w,g)}function f(){if(p=arguments,v=c(),y=this,m=w&&(g||!E),b===!1)var n=E&&!g;else{d||E||(_=v);var r=b-(v-_),o=r<=0||r>b;o?(d&&(d=clearTimeout(d)),_=v,h=e.apply(y,p)):d||(d=setTimeout(l,r))}return o&&g?g=clearTimeout(g):g||t===b||(g=setTimeout(u,t)),n&&(o=!0,h=e.apply(y,p)),!o||g||d||(p=y=void 0),h}var p,d,h,v,y,g,m,_=0,b=!1,w=!0;if("function"!=typeof e)throw new TypeError(a);if(t=t<0?0:+t||0,n===!0){var E=!0;w=!1}else o(n)&&(E=!!n.leading,b="maxWait"in n&&s(+n.maxWait||0,t),w="trailing"in n?!!n.trailing:w);return f.cancel=r,f}function o(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}var i=n(858),a="Expected a function",s=Math.max,u=i(Date,"now"),c=u||function(){return(new Date).getTime()};e.exports=r},function(e,t){"use strict";var n={Properties:{"aria-current":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},DOMAttributeNames:{},DOMPropertyNames:{}};e.exports=n},function(e,t,n){"use strict";var r=n(27),o=n(387),i={focusDOMComponent:function(){o(r.getNodeFromInstance(this))}};e.exports=i},function(e,t,n){"use strict";function r(){var e=window.opera;return"object"==typeof e&&"function"==typeof e.version&&parseInt(e.version(),10)<=12}function o(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function i(e){switch(e){case"topCompositionStart":return x.compositionStart;case"topCompositionEnd":return x.compositionEnd;case"topCompositionUpdate":return x.compositionUpdate}}function a(e,t){return"topKeyDown"===e&&t.keyCode===_}function s(e,t){switch(e){case"topKeyUp":return m.indexOf(t.keyCode)!==-1;case"topKeyDown":return t.keyCode!==_;case"topKeyPress":case"topMouseDown":case"topBlur":return!0;default:return!1}}function u(e){var t=e.detail;return"object"==typeof t&&"data"in t?t.data:null}function c(e,t,n,r){var o,c;if(b?o=i(e):k?s(e,n)&&(o=x.compositionEnd):a(e,n)&&(o=x.compositionStart),!o)return null;T&&(k||o!==x.compositionStart?o===x.compositionEnd&&k&&(c=k.getData()):k=v.getPooled(r));var l=y.getPooled(o,t,n,r);if(c)l.data=c;else{var f=u(n);null!==f&&(l.data=f)}return d.accumulateTwoPhaseDispatches(l),l}function l(e,t){switch(e){case"topCompositionEnd":return u(t);case"topKeyPress":var n=t.which;return n!==C?null:(O=!0,S);case"topTextInput":var r=t.data;return r===S&&O?null:r;default:return null}}function f(e,t){if(k){if("topCompositionEnd"===e||!b&&s(e,t)){var n=k.getData();return v.release(k),k=null,n}return null}switch(e){case"topPaste":return null;case"topKeyPress":return t.which&&!o(t)?String.fromCharCode(t.which):null;case"topCompositionEnd":return T?null:t.data;default:return null}}function p(e,t,n,r){var o;if(o=E?l(e,n):f(e,n),!o)return null;var i=g.getPooled(x.beforeInput,t,n,r);return i.data=o,d.accumulateTwoPhaseDispatches(i),i}var d=n(119),h=n(36),v=n(1008),y=n(1045),g=n(1048),m=[9,13,27,32],_=229,b=h.canUseDOM&&"CompositionEvent"in window,w=null;h.canUseDOM&&"documentMode"in document&&(w=document.documentMode);var E=h.canUseDOM&&"TextEvent"in window&&!w&&!r(),T=h.canUseDOM&&(!b||w&&w>8&&w<=11),C=32,S=String.fromCharCode(C),x={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["topCompositionEnd","topKeyPress","topTextInput","topPaste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:["topBlur","topCompositionEnd","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:["topBlur","topCompositionStart","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:["topBlur","topCompositionUpdate","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]}},O=!1,k=null,P={eventTypes:x,extractEvents:function(e,t,n,r){return[c(e,t,n,r),p(e,t,n,r)]}};e.exports=P},function(e,t,n){"use strict";var r=n(429),o=n(36),i=(n(53),n(837),n(1054)),a=n(844),s=n(848),u=(n(14),s(function(e){return a(e)})),c=!1,l="cssFloat";if(o.canUseDOM){var f=document.createElement("div").style;try{f.font=""}catch(e){c=!0}void 0===document.documentElement.style.cssFloat&&(l="styleFloat")}var p={createMarkupForStyles:function(e,t){var n="";for(var r in e)if(e.hasOwnProperty(r)){var o=e[r];null!=o&&(n+=u(r)+":",n+=i(r,o,t)+";")}return n||null},setValueForStyles:function(e,t,n){var o=e.style;for(var a in t)if(t.hasOwnProperty(a)){var s=i(a,t[a],n);if("float"!==a&&"cssFloat"!==a||(a=l),s)o[a]=s;else{var u=c&&r.shorthandPropertyExpansions[a];if(u)for(var f in u)o[f]="";else o[a]=""}}}};e.exports=p},function(e,t,n){"use strict";function r(e){var t=e.nodeName&&e.nodeName.toLowerCase();return"select"===t||"input"===t&&"file"===e.type}function o(e){var t=T.getPooled(O.change,P,e,C(e));_.accumulateTwoPhaseDispatches(t),E.batchedUpdates(i,t)}function i(e){m.enqueueEvents(e),m.processEventQueue(!1)}function a(e,t){k=e,P=t,k.attachEvent("onchange",o)}function s(){k&&(k.detachEvent("onchange",o),k=null,P=null)}function u(e,t){if("topChange"===e)return t}function c(e,t,n){"topFocus"===e?(s(),a(t,n)):"topBlur"===e&&s()}function l(e,t){k=e,P=t,M=e.value,A=Object.getOwnPropertyDescriptor(e.constructor.prototype,"value"),Object.defineProperty(k,"value",D),k.attachEvent?k.attachEvent("onpropertychange",p):k.addEventListener("propertychange",p,!1)}function f(){k&&(delete k.value,k.detachEvent?k.detachEvent("onpropertychange",p):k.removeEventListener("propertychange",p,!1),k=null,P=null,M=null,A=null)}function p(e){if("value"===e.propertyName){var t=e.srcElement.value;t!==M&&(M=t,o(e))}}function d(e,t){if("topInput"===e)return t}function h(e,t,n){"topFocus"===e?(f(),l(t,n)):"topBlur"===e&&f()}function v(e,t){if(("topSelectionChange"===e||"topKeyUp"===e||"topKeyDown"===e)&&k&&k.value!==M)return M=k.value,P}function y(e){return e.nodeName&&"input"===e.nodeName.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)}function g(e,t){if("topClick"===e)return t}var m=n(118),_=n(119),b=n(36),w=n(27),E=n(62),T=n(72),C=n(295),S=n(296),x=n(445),O={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:["topBlur","topChange","topClick","topFocus","topInput","topKeyDown","topKeyUp","topSelectionChange"]}},k=null,P=null,M=null,A=null,I=!1;b.canUseDOM&&(I=S("change")&&(!document.documentMode||document.documentMode>8));var j=!1;b.canUseDOM&&(j=S("input")&&(!document.documentMode||document.documentMode>11));var D={get:function(){return A.get.call(this)},set:function(e){M=""+e,A.set.call(this,e)}},R={eventTypes:O,extractEvents:function(e,t,n,o){var i,a,s=t?w.getNodeFromInstance(t):window;if(r(s)?I?i=u:a=c:x(s)?j?i=d:(i=v,a=h):y(s)&&(i=g),i){var l=i(e,t);if(l){var f=T.getPooled(O.change,l,n,o);return f.type="change",_.accumulateTwoPhaseDispatches(f),f}}a&&a(e,s,t)}};e.exports=R},function(e,t,n){"use strict";var r=n(16),o=n(116),i=n(36),a=n(840),s=n(52),u=(n(11),{dangerouslyReplaceNodeWithMarkup:function(e,t){if(i.canUseDOM?void 0:r("56"),t?void 0:r("57"),"HTML"===e.nodeName?r("58"):void 0,"string"==typeof t){var n=a(t,s)[0];e.parentNode.replaceChild(n,e)}else o.replaceChildWithTree(e,t)}});e.exports=u},function(e,t){"use strict";var n=["ResponderEventPlugin","SimpleEventPlugin","TapEventPlugin","EnterLeaveEventPlugin","ChangeEventPlugin","SelectEventPlugin","BeforeInputEventPlugin"];e.exports=n},function(e,t,n){"use strict";var r=n(119),o=n(27),i=n(194),a={mouseEnter:{registrationName:"onMouseEnter",dependencies:["topMouseOut","topMouseOver"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["topMouseOut","topMouseOver"]}},s={eventTypes:a,extractEvents:function(e,t,n,s){if("topMouseOver"===e&&(n.relatedTarget||n.fromElement))return null;if("topMouseOut"!==e&&"topMouseOver"!==e)return null;var u;if(s.window===s)u=s;else{var c=s.ownerDocument;u=c?c.defaultView||c.parentWindow:window}var l,f;if("topMouseOut"===e){l=t;var p=n.relatedTarget||n.toElement;f=p?o.getClosestInstanceFromNode(p):null}else l=null,f=t;if(l===f)return null;var d=null==l?u:o.getNodeFromInstance(l),h=null==f?u:o.getNodeFromInstance(f),v=i.getPooled(a.mouseLeave,l,n,s);v.type="mouseleave",v.target=d,v.relatedTarget=h;var y=i.getPooled(a.mouseEnter,f,n,s);return y.type="mouseenter",y.target=h,y.relatedTarget=d,r.accumulateEnterLeaveDispatches(v,y,l,f),[v,y]}};e.exports=s},function(e,t){"use strict";var n={topAbort:null,topAnimationEnd:null,topAnimationIteration:null,topAnimationStart:null,topBlur:null,topCanPlay:null,topCanPlayThrough:null,topChange:null,topClick:null,topCompositionEnd:null,topCompositionStart:null,topCompositionUpdate:null,topContextMenu:null,topCopy:null,topCut:null,topDoubleClick:null,topDrag:null,topDragEnd:null,topDragEnter:null,topDragExit:null,topDragLeave:null,topDragOver:null,topDragStart:null,topDrop:null,topDurationChange:null,topEmptied:null,topEncrypted:null,topEnded:null,topError:null,topFocus:null,topInput:null,topInvalid:null,topKeyDown:null,topKeyPress:null,topKeyUp:null,topLoad:null,topLoadedData:null,topLoadedMetadata:null,topLoadStart:null,topMouseDown:null,topMouseMove:null,topMouseOut:null,topMouseOver:null,topMouseUp:null,topPaste:null,topPause:null,topPlay:null,topPlaying:null,topProgress:null,topRateChange:null,topReset:null,topScroll:null,topSeeked:null,topSeeking:null,topSelectionChange:null,topStalled:null,topSubmit:null,topSuspend:null,topTextInput:null,topTimeUpdate:null,topTouchCancel:null,topTouchEnd:null,topTouchMove:null,topTouchStart:null,topTransitionEnd:null,topVolumeChange:null,topWaiting:null,topWheel:null},r={topLevelTypes:n};e.exports=r},function(e,t,n){"use strict";function r(e){this._root=e,this._startText=this.getText(),this._fallbackText=null}var o=n(21),i=n(100),a=n(443);o(r.prototype,{destructor:function(){this._root=null,this._startText=null,this._fallbackText=null},getText:function(){return"value"in this._root?this._root.value:this._root[a()]},getData:function(){if(this._fallbackText)return this._fallbackText;var e,t,n=this._startText,r=n.length,o=this.getText(),i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);var s=t>1?1-t:void 0;return this._fallbackText=o.slice(e,s),this._fallbackText}}),i.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";var r=n(117),o=r.injection.MUST_USE_PROPERTY,i=r.injection.HAS_BOOLEAN_VALUE,a=r.injection.HAS_NUMERIC_VALUE,s=r.injection.HAS_POSITIVE_NUMERIC_VALUE,u=r.injection.HAS_OVERLOADED_BOOLEAN_VALUE,c={isCustomAttribute:RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+r.ATTRIBUTE_NAME_CHAR+"]*$")),Properties:{accept:0,acceptCharset:0,accessKey:0,action:0,allowFullScreen:i,allowTransparency:0,alt:0,as:0,async:i,autoComplete:0,autoPlay:i,capture:i,cellPadding:0,cellSpacing:0,charSet:0,challenge:0,checked:o|i,cite:0,classID:0,className:0,cols:s,colSpan:0,content:0,contentEditable:0,contextMenu:0,controls:i,coords:0,crossOrigin:0,data:0,dateTime:0,default:i,defer:i,dir:0,disabled:i,download:u,draggable:0,encType:0,form:0,formAction:0,formEncType:0,formMethod:0,formNoValidate:i,formTarget:0,frameBorder:0,headers:0,height:0,hidden:i,high:0,href:0,hrefLang:0,htmlFor:0,httpEquiv:0,icon:0,id:0,inputMode:0,integrity:0,is:0,keyParams:0,keyType:0,kind:0,label:0,lang:0,list:0,loop:i,low:0,manifest:0,marginHeight:0,marginWidth:0,max:0,maxLength:0,media:0,mediaGroup:0,method:0,min:0,minLength:0,multiple:o|i,muted:o|i,name:0,nonce:0,noValidate:i,open:i,optimum:0,pattern:0,placeholder:0,playsInline:i,poster:0,preload:0,profile:0,radioGroup:0,readOnly:i,referrerPolicy:0,rel:0,required:i,reversed:i,role:0,rows:s,rowSpan:a,sandbox:0,scope:0,scoped:i,scrolling:0,seamless:i,selected:o|i,shape:0,size:s,sizes:0,span:s,spellCheck:0,src:0,srcDoc:0,srcLang:0,srcSet:0,start:a,step:0,style:0,summary:0,tabIndex:0,target:0,title:0,type:0,useMap:0,value:0,width:0,wmode:0,wrap:0,about:0,datatype:0,inlist:0,prefix:0,property:0,resource:0,typeof:0,vocab:0,autoCapitalize:0,autoCorrect:0,autoSave:0,color:0,itemProp:0,itemScope:i,itemType:0,itemID:0,itemRef:0,results:0,security:0,unselectable:0},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{}};e.exports=c},function(e,t,n){(function(t){"use strict";function r(e,t,n,r){var o=void 0===e[n];null!=t&&o&&(e[n]=i(t,!0))}var o=n(120),i=n(444),a=(n(286),n(297)),s=n(447);n(14);"undefined"!=typeof t&&t.env,1;var u={instantiateChildren:function(e,t,n,o){if(null==e)return null;var i={};return s(e,r,i),i},updateChildren:function(e,t,n,r,s,u,c,l,f){if(t||e){var p,d;for(p in t)if(t.hasOwnProperty(p)){d=e&&e[p];var h=d&&d._currentElement,v=t[p];if(null!=d&&a(h,v))o.receiveComponent(d,v,s,l),t[p]=d;else{d&&(r[p]=o.getHostNode(d),o.unmountComponent(d,!1));var y=i(v,!0);t[p]=y;var g=o.mountComponent(y,s,u,c,l,f);n.push(g)}}for(p in e)!e.hasOwnProperty(p)||t&&t.hasOwnProperty(p)||(d=e[p],r[p]=o.getHostNode(d),o.unmountComponent(d,!1))}},unmountChildren:function(e,t){for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];o.unmountComponent(r,t)}}};e.exports=u}).call(t,n(159))},function(e,t,n){"use strict";var r=n(283),o=n(1018),i={processChildrenUpdates:o.dangerouslyProcessChildrenUpdates,replaceNodeWithMarkup:r.dangerouslyReplaceNodeWithMarkup};e.exports=i},function(e,t,n){"use strict";function r(e){}function o(e,t){}function i(e){return!(!e.prototype||!e.prototype.isReactComponent)}function a(e){return!(!e.prototype||!e.prototype.isPureReactComponent)}var s=n(16),u=n(21),c=n(124),l=n(288),f=n(73),p=n(289),d=n(148),h=(n(53),n(439)),v=n(120),y=n(143),g=(n(11),n(260)),m=n(297),_=(n(14),{ImpureClass:0,PureClass:1,StatelessFunctional:2});r.prototype.render=function(){var e=d.get(this)._currentElement.type,t=e(this.props,this.context,this.updater);return o(e,t),t};var b=1,w={construct:function(e){this._currentElement=e,this._rootNodeID=0,this._compositeType=null,this._instance=null,this._hostParent=null,this._hostContainerInfo=null,this._updateBatchNumber=null,this._pendingElement=null,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._renderedNodeType=null,this._renderedComponent=null,this._context=null,this._mountOrder=0,this._topLevelWrapper=null,this._pendingCallbacks=null,this._calledComponentWillUnmount=!1},mountComponent:function(e,t,n,u){this._context=u,this._mountOrder=b++,this._hostParent=t,this._hostContainerInfo=n;var l,f=this._currentElement.props,p=this._processContext(u),h=this._currentElement.type,v=e.getUpdateQueue(),g=i(h),m=this._constructComponent(g,f,p,v);g||null!=m&&null!=m.render?a(h)?this._compositeType=_.PureClass:this._compositeType=_.ImpureClass:(l=m,o(h,l),null===m||m===!1||c.isValidElement(m)?void 0:s("105",h.displayName||h.name||"Component"),m=new r(h),this._compositeType=_.StatelessFunctional);m.props=f,m.context=p,m.refs=y,m.updater=v,this._instance=m,d.set(m,this);var w=m.state;void 0===w&&(m.state=w=null),"object"!=typeof w||Array.isArray(w)?s("106",this.getName()||"ReactCompositeComponent"):void 0,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1;var E;return E=m.unstable_handleError?this.performInitialMountWithErrorHandling(l,t,n,e,u):this.performInitialMount(l,t,n,e,u),m.componentDidMount&&e.getReactMountReady().enqueue(m.componentDidMount,m),E},_constructComponent:function(e,t,n,r){return this._constructComponentWithoutOwner(e,t,n,r)},_constructComponentWithoutOwner:function(e,t,n,r){var o=this._currentElement.type;return e?new o(t,n,r):o(t,n,r)},performInitialMountWithErrorHandling:function(e,t,n,r,o){var i,a=r.checkpoint();try{i=this.performInitialMount(e,t,n,r,o)}catch(s){r.rollback(a),this._instance.unstable_handleError(s),this._pendingStateQueue&&(this._instance.state=this._processPendingState(this._instance.props,this._instance.context)),a=r.checkpoint(),this._renderedComponent.unmountComponent(!0),r.rollback(a),i=this.performInitialMount(e,t,n,r,o)}return i},performInitialMount:function(e,t,n,r,o){var i=this._instance,a=0;i.componentWillMount&&(i.componentWillMount(),this._pendingStateQueue&&(i.state=this._processPendingState(i.props,i.context))),void 0===e&&(e=this._renderValidatedComponent());var s=h.getType(e);this._renderedNodeType=s;var u=this._instantiateReactComponent(e,s!==h.EMPTY);this._renderedComponent=u;var c=v.mountComponent(u,r,t,n,this._processChildContext(o),a);return c},getHostNode:function(){return v.getHostNode(this._renderedComponent)},unmountComponent:function(e){if(this._renderedComponent){var t=this._instance;if(t.componentWillUnmount&&!t._calledComponentWillUnmount)if(t._calledComponentWillUnmount=!0,e){var n=this.getName()+".componentWillUnmount()";p.invokeGuardedCallback(n,t.componentWillUnmount.bind(t))}else t.componentWillUnmount();this._renderedComponent&&(v.unmountComponent(this._renderedComponent,e),this._renderedNodeType=null,this._renderedComponent=null,this._instance=null),this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._pendingCallbacks=null,this._pendingElement=null,this._context=null,this._rootNodeID=0,this._topLevelWrapper=null,d.remove(t)}},_maskContext:function(e){var t=this._currentElement.type,n=t.contextTypes;if(!n)return y;var r={};for(var o in n)r[o]=e[o];return r},_processContext:function(e){var t=this._maskContext(e);return t},_processChildContext:function(e){var t,n=this._currentElement.type,r=this._instance;if(r.getChildContext&&(t=r.getChildContext()),t){"object"!=typeof n.childContextTypes?s("107",this.getName()||"ReactCompositeComponent"):void 0;for(var o in t)o in n.childContextTypes?void 0:s("108",this.getName()||"ReactCompositeComponent",o);return u({},e,t)}return e},_checkContextTypes:function(e,t,n){},receiveComponent:function(e,t,n){var r=this._currentElement,o=this._context;this._pendingElement=null,this.updateComponent(t,r,e,o,n)},performUpdateIfNecessary:function(e){null!=this._pendingElement?v.receiveComponent(this,this._pendingElement,e,this._context):null!==this._pendingStateQueue||this._pendingForceUpdate?this.updateComponent(e,this._currentElement,this._currentElement,this._context,this._context):this._updateBatchNumber=null},updateComponent:function(e,t,n,r,o){var i=this._instance;null==i?s("136",this.getName()||"ReactCompositeComponent"):void 0;var a,u=!1;this._context===o?a=i.context:(a=this._processContext(o),u=!0);var c=t.props,l=n.props;t!==n&&(u=!0),u&&i.componentWillReceiveProps&&i.componentWillReceiveProps(l,a);var f=this._processPendingState(l,a),p=!0;this._pendingForceUpdate||(i.shouldComponentUpdate?p=i.shouldComponentUpdate(l,f,a):this._compositeType===_.PureClass&&(p=!g(c,l)||!g(i.state,f))),this._updateBatchNumber=null,p?(this._pendingForceUpdate=!1,this._performComponentUpdate(n,l,f,a,e,o)):(this._currentElement=n,this._context=o,i.props=l,i.state=f,i.context=a)},_processPendingState:function(e,t){var n=this._instance,r=this._pendingStateQueue,o=this._pendingReplaceState;if(this._pendingReplaceState=!1,this._pendingStateQueue=null,!r)return n.state;if(o&&1===r.length)return r[0];for(var i=u({},o?r[0]:n.state),a=o?1:0;a<r.length;a++){var s=r[a];u(i,"function"==typeof s?s.call(n,i,e,t):s)}return i},_performComponentUpdate:function(e,t,n,r,o,i){var a,s,u,c=this._instance,l=Boolean(c.componentDidUpdate);l&&(a=c.props,s=c.state,u=c.context),c.componentWillUpdate&&c.componentWillUpdate(t,n,r),this._currentElement=e,this._context=i,c.props=t,c.state=n,c.context=r,this._updateRenderedComponent(o,i),l&&o.getReactMountReady().enqueue(c.componentDidUpdate.bind(c,a,s,u),c)},_updateRenderedComponent:function(e,t){var n=this._renderedComponent,r=n._currentElement,o=this._renderValidatedComponent(),i=0;if(m(r,o))v.receiveComponent(n,o,e,this._processChildContext(t));else{var a=v.getHostNode(n);v.unmountComponent(n,!1);var s=h.getType(o);this._renderedNodeType=s;var u=this._instantiateReactComponent(o,s!==h.EMPTY);this._renderedComponent=u;var c=v.mountComponent(u,e,this._hostParent,this._hostContainerInfo,this._processChildContext(t),i);this._replaceNodeWithMarkup(a,c,n)}},_replaceNodeWithMarkup:function(e,t,n){l.replaceNodeWithMarkup(e,t,n)},_renderValidatedComponentWithoutOwnerOrContext:function(){var e,t=this._instance;return e=t.render()},_renderValidatedComponent:function(){var e;if(this._compositeType!==_.StatelessFunctional){f.current=this;try{e=this._renderValidatedComponentWithoutOwnerOrContext()}finally{f.current=null}}else e=this._renderValidatedComponentWithoutOwnerOrContext();return null===e||e===!1||c.isValidElement(e)?void 0:s("109",this.getName()||"ReactCompositeComponent"),e},attachRef:function(e,t){var n=this.getPublicInstance();null==n?s("110"):void 0;var r=t.getPublicInstance(),o=n.refs===y?n.refs={}:n.refs;o[e]=r},detachRef:function(e){var t=this.getPublicInstance().refs;delete t[e]},getName:function(){var e=this._currentElement.type,t=this._instance&&this._instance.constructor;return e.displayName||t&&t.displayName||e.name||t&&t.name||null},getPublicInstance:function(){var e=this._instance;return this._compositeType===_.StatelessFunctional?null:e},_instantiateReactComponent:null};e.exports=w},function(e,t,n){"use strict";var r=n(27),o=n(1026),i=n(438),a=n(120),s=n(62),u=n(1039),c=n(1055),l=n(442),f=n(1063);n(14);o.inject();var p={findDOMNode:c,render:i.render,unmountComponentAtNode:i.unmountComponentAtNode,version:u,unstable_batchedUpdates:s.batchedUpdates,unstable_renderSubtreeIntoContainer:f};"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject&&__REACT_DEVTOOLS_GLOBAL_HOOK__.inject({ComponentTree:{getClosestInstanceFromNode:r.getClosestInstanceFromNode,getNodeFromInstance:function(e){return e._renderedComponent&&(e=l(e)),e?r.getNodeFromInstance(e):null}},Mount:i,Reconciler:a});e.exports=p},function(e,t,n){"use strict";function r(e){if(e){var t=e._currentElement._owner||null;if(t){var n=t.getName();if(n)return" This DOM node was rendered by `"+n+"`."}}return""}function o(e,t){t&&($[e._tag]&&(null!=t.children||null!=t.dangerouslySetInnerHTML?v("137",e._tag,e._currentElement._owner?" Check the render method of "+e._currentElement._owner.getName()+".":""):void 0),null!=t.dangerouslySetInnerHTML&&(null!=t.children?v("60"):void 0,"object"==typeof t.dangerouslySetInnerHTML&&z in t.dangerouslySetInnerHTML?void 0:v("61")),null!=t.style&&"object"!=typeof t.style?v("62",r(e)):void 0)}function i(e,t,n,r){if(!(r instanceof j)){var o=e._hostContainerInfo,i=o._node&&o._node.nodeType===H,s=i?o._node:o._ownerDocument;F(t,s),r.getReactMountReady().enqueue(a,{inst:e,registrationName:t,listener:n})}}function a(){var e=this;T.putListener(e.inst,e.registrationName,e.listener)}function s(){var e=this;k.postMountWrapper(e)}function u(){var e=this;A.postMountWrapper(e)}function c(){var e=this;P.postMountWrapper(e)}function l(){var e=this;e._rootNodeID?void 0:v("63");var t=L(e);switch(t?void 0:v("64"),e._tag){case"iframe":case"object":e._wrapperState.listeners=[S.trapBubbledEvent("topLoad","load",t)];break;case"video":case"audio":e._wrapperState.listeners=[];for(var n in V)V.hasOwnProperty(n)&&e._wrapperState.listeners.push(S.trapBubbledEvent(n,V[n],t));break;case"source":e._wrapperState.listeners=[S.trapBubbledEvent("topError","error",t)];break;case"img":e._wrapperState.listeners=[S.trapBubbledEvent("topError","error",t),S.trapBubbledEvent("topLoad","load",t)];break;case"form":e._wrapperState.listeners=[S.trapBubbledEvent("topReset","reset",t),S.trapBubbledEvent("topSubmit","submit",t)];break;case"input":case"select":case"textarea":e._wrapperState.listeners=[S.trapBubbledEvent("topInvalid","invalid",t)]}}function f(){M.postUpdateWrapper(this)}function p(e){Q.call(Y,e)||(X.test(e)?void 0:v("65",e),Y[e]=!0)}function d(e,t){return e.indexOf("-")>=0||null!=t.is}function h(e){var t=e.type;p(t),this._currentElement=e,this._tag=t.toLowerCase(),this._namespaceURI=null,this._renderedChildren=null,this._previousStyle=null,this._previousStyleCopy=null,this._hostNode=null,this._hostParent=null,this._rootNodeID=0,this._domID=0,this._hostContainerInfo=null,this._wrapperState=null,this._topLevelWrapper=null,this._flags=0}var v=n(16),y=n(21),g=n(1e3),m=n(1002),_=n(116),b=n(284),w=n(117),E=n(431),T=n(118),C=n(285),S=n(193),x=n(432),O=n(27),k=n(1019),P=n(1020),M=n(433),A=n(1023),I=(n(53),n(1032)),j=n(1037),D=(n(52),n(196)),R=(n(11),n(296),n(260),n(298),n(14),x),N=T.deleteListener,L=O.getNodeFromInstance,F=S.listenTo,U=C.registrationNameModules,B={string:!0,number:!0},q="style",z="__html",W={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null},H=11,V={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"},G={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},K={listing:!0,pre:!0,textarea:!0},$=y({menuitem:!0},G),X=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Y={},Q={}.hasOwnProperty,J=1;h.displayName="ReactDOMComponent",h.Mixin={mountComponent:function(e,t,n,r){this._rootNodeID=J++,this._domID=n._idCounter++,this._hostParent=t,this._hostContainerInfo=n;var i=this._currentElement.props;switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":this._wrapperState={listeners:null},e.getReactMountReady().enqueue(l,this);break;case"input":k.mountWrapper(this,i,t),i=k.getHostProps(this,i),e.getReactMountReady().enqueue(l,this);break;case"option":P.mountWrapper(this,i,t),i=P.getHostProps(this,i);break;case"select":M.mountWrapper(this,i,t),i=M.getHostProps(this,i),e.getReactMountReady().enqueue(l,this);break;case"textarea":A.mountWrapper(this,i,t),i=A.getHostProps(this,i),e.getReactMountReady().enqueue(l,this)}o(this,i);var a,f;null!=t?(a=t._namespaceURI,f=t._tag):n._tag&&(a=n._namespaceURI,f=n._tag),(null==a||a===b.svg&&"foreignobject"===f)&&(a=b.html),a===b.html&&("svg"===this._tag?a=b.svg:"math"===this._tag&&(a=b.mathml)),this._namespaceURI=a;var p;if(e.useCreateElement){var d,h=n._ownerDocument;if(a===b.html)if("script"===this._tag){var v=h.createElement("div"),y=this._currentElement.type;v.innerHTML="<"+y+"></"+y+">",d=v.removeChild(v.firstChild)}else d=i.is?h.createElement(this._currentElement.type,i.is):h.createElement(this._currentElement.type);else d=h.createElementNS(a,this._currentElement.type);O.precacheNode(this,d),this._flags|=R.hasCachedChildNodes,this._hostParent||E.setAttributeForRoot(d),this._updateDOMProperties(null,i,e);var m=_(d);this._createInitialChildren(e,i,r,m),p=m}else{var w=this._createOpenTagMarkupAndPutListeners(e,i),T=this._createContentMarkup(e,i,r);p=!T&&G[this._tag]?w+"/>":w+">"+T+"</"+this._currentElement.type+">"}switch(this._tag){case"input":e.getReactMountReady().enqueue(s,this),i.autoFocus&&e.getReactMountReady().enqueue(g.focusDOMComponent,this);break;case"textarea":e.getReactMountReady().enqueue(u,this),i.autoFocus&&e.getReactMountReady().enqueue(g.focusDOMComponent,this);break;case"select":i.autoFocus&&e.getReactMountReady().enqueue(g.focusDOMComponent,this);break;case"button":i.autoFocus&&e.getReactMountReady().enqueue(g.focusDOMComponent,this);break;case"option":e.getReactMountReady().enqueue(c,this)}return p},_createOpenTagMarkupAndPutListeners:function(e,t){var n="<"+this._currentElement.type;for(var r in t)if(t.hasOwnProperty(r)){var o=t[r];if(null!=o)if(U.hasOwnProperty(r))o&&i(this,r,o,e);else{r===q&&(o&&(o=this._previousStyleCopy=y({},t.style)),o=m.createMarkupForStyles(o,this));var a=null;null!=this._tag&&d(this._tag,t)?W.hasOwnProperty(r)||(a=E.createMarkupForCustomAttribute(r,o)):a=E.createMarkupForProperty(r,o),a&&(n+=" "+a)}}return e.renderToStaticMarkup?n:(this._hostParent||(n+=" "+E.createMarkupForRoot()),n+=" "+E.createMarkupForID(this._domID))},_createContentMarkup:function(e,t,n){var r="",o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&(r=o.__html);else{var i=B[typeof t.children]?t.children:null,a=null!=i?null:t.children;if(null!=i)r=D(i);else if(null!=a){var s=this.mountChildren(a,e,n);r=s.join("")}}return K[this._tag]&&"\n"===r.charAt(0)?"\n"+r:r},_createInitialChildren:function(e,t,n,r){var o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&_.queueHTML(r,o.__html);else{var i=B[typeof t.children]?t.children:null,a=null!=i?null:t.children;if(null!=i)""!==i&&_.queueText(r,i);else if(null!=a)for(var s=this.mountChildren(a,e,n),u=0;u<s.length;u++)_.queueChild(r,s[u])}},receiveComponent:function(e,t,n){var r=this._currentElement;
-this._currentElement=e,this.updateComponent(t,r,e,n)},updateComponent:function(e,t,n,r){var i=t.props,a=this._currentElement.props;switch(this._tag){case"input":i=k.getHostProps(this,i),a=k.getHostProps(this,a);break;case"option":i=P.getHostProps(this,i),a=P.getHostProps(this,a);break;case"select":i=M.getHostProps(this,i),a=M.getHostProps(this,a);break;case"textarea":i=A.getHostProps(this,i),a=A.getHostProps(this,a)}switch(o(this,a),this._updateDOMProperties(i,a,e),this._updateDOMChildren(i,a,e,r),this._tag){case"input":k.updateWrapper(this);break;case"textarea":A.updateWrapper(this);break;case"select":e.getReactMountReady().enqueue(f,this)}},_updateDOMProperties:function(e,t,n){var r,o,a;for(r in e)if(!t.hasOwnProperty(r)&&e.hasOwnProperty(r)&&null!=e[r])if(r===q){var s=this._previousStyleCopy;for(o in s)s.hasOwnProperty(o)&&(a=a||{},a[o]="");this._previousStyleCopy=null}else U.hasOwnProperty(r)?e[r]&&N(this,r):d(this._tag,e)?W.hasOwnProperty(r)||E.deleteValueForAttribute(L(this),r):(w.properties[r]||w.isCustomAttribute(r))&&E.deleteValueForProperty(L(this),r);for(r in t){var u=t[r],c=r===q?this._previousStyleCopy:null!=e?e[r]:void 0;if(t.hasOwnProperty(r)&&u!==c&&(null!=u||null!=c))if(r===q)if(u?u=this._previousStyleCopy=y({},u):this._previousStyleCopy=null,c){for(o in c)!c.hasOwnProperty(o)||u&&u.hasOwnProperty(o)||(a=a||{},a[o]="");for(o in u)u.hasOwnProperty(o)&&c[o]!==u[o]&&(a=a||{},a[o]=u[o])}else a=u;else if(U.hasOwnProperty(r))u?i(this,r,u,n):c&&N(this,r);else if(d(this._tag,t))W.hasOwnProperty(r)||E.setValueForAttribute(L(this),r,u);else if(w.properties[r]||w.isCustomAttribute(r)){var l=L(this);null!=u?E.setValueForProperty(l,r,u):E.deleteValueForProperty(l,r)}}a&&m.setValueForStyles(L(this),a,this)},_updateDOMChildren:function(e,t,n,r){var o=B[typeof e.children]?e.children:null,i=B[typeof t.children]?t.children:null,a=e.dangerouslySetInnerHTML&&e.dangerouslySetInnerHTML.__html,s=t.dangerouslySetInnerHTML&&t.dangerouslySetInnerHTML.__html,u=null!=o?null:e.children,c=null!=i?null:t.children,l=null!=o||null!=a,f=null!=i||null!=s;null!=u&&null==c?this.updateChildren(null,n,r):l&&!f&&this.updateTextContent(""),null!=i?o!==i&&this.updateTextContent(""+i):null!=s?a!==s&&this.updateMarkup(""+s):null!=c&&this.updateChildren(c,n,r)},getHostNode:function(){return L(this)},unmountComponent:function(e){switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":var t=this._wrapperState.listeners;if(t)for(var n=0;n<t.length;n++)t[n].remove();break;case"html":case"head":case"body":v("66",this._tag)}this.unmountChildren(e),O.uncacheNode(this),T.deleteAllListeners(this),this._rootNodeID=0,this._domID=0,this._wrapperState=null},getPublicInstance:function(){return L(this)}},y(h.prototype,h.Mixin,I.Mixin),e.exports=h},function(e,t,n){"use strict";function r(e,t){var n={_topLevelWrapper:e,_idCounter:1,_ownerDocument:t?t.nodeType===o?t:t.ownerDocument:null,_node:t,_tag:t?t.nodeName.toLowerCase():null,_namespaceURI:t?t.namespaceURI:null};return n}var o=(n(298),9);e.exports=r},function(e,t,n){"use strict";var r=n(21),o=n(116),i=n(27),a=function(e){this._currentElement=null,this._hostNode=null,this._hostParent=null,this._hostContainerInfo=null,this._domID=0};r(a.prototype,{mountComponent:function(e,t,n,r){var a=n._idCounter++;this._domID=a,this._hostParent=t,this._hostContainerInfo=n;var s=" react-empty: "+this._domID+" ";if(e.useCreateElement){var u=n._ownerDocument,c=u.createComment(s);return i.precacheNode(this,c),o(c)}return e.renderToStaticMarkup?"":"<!--"+s+"-->"},receiveComponent:function(){},getHostNode:function(){return i.getNodeFromInstance(this)},unmountComponent:function(){i.uncacheNode(this)}}),e.exports=a},function(e,t){"use strict";var n={useCreateElement:!0,useFiber:!1};e.exports=n},function(e,t,n){"use strict";var r=n(283),o=n(27),i={dangerouslyProcessChildrenUpdates:function(e,t){var n=o.getNodeFromInstance(e);r.processUpdates(n,t)}};e.exports=i},function(e,t,n){"use strict";function r(){this._rootNodeID&&f.updateWrapper(this)}function o(e){var t=this._currentElement.props,n=u.executeOnChange(t,e);l.asap(r,this);var o=t.name;if("radio"===t.type&&null!=o){for(var a=c.getNodeFromInstance(this),s=a;s.parentNode;)s=s.parentNode;for(var f=s.querySelectorAll("input[name="+JSON.stringify(""+o)+'][type="radio"]'),p=0;p<f.length;p++){var d=f[p];if(d!==a&&d.form===a.form){var h=c.getInstanceFromNode(d);h?void 0:i("90"),l.asap(r,h)}}}return n}var i=n(16),a=n(21),s=n(431),u=n(287),c=n(27),l=n(62),f=(n(11),n(14),{getHostProps:function(e,t){var n=u.getValue(t),r=u.getChecked(t),o=a({type:void 0,step:void 0,min:void 0,max:void 0},t,{defaultChecked:void 0,defaultValue:void 0,value:null!=n?n:e._wrapperState.initialValue,checked:null!=r?r:e._wrapperState.initialChecked,onChange:e._wrapperState.onChange});return o},mountWrapper:function(e,t){var n=t.defaultValue;e._wrapperState={initialChecked:null!=t.checked?t.checked:t.defaultChecked,initialValue:null!=t.value?t.value:n,listeners:null,onChange:o.bind(e)}},updateWrapper:function(e){var t=e._currentElement.props,n=t.checked;null!=n&&s.setValueForProperty(c.getNodeFromInstance(e),"checked",n||!1);var r=c.getNodeFromInstance(e),o=u.getValue(t);if(null!=o){var i=""+o;i!==r.value&&(r.value=i)}else null==t.value&&null!=t.defaultValue&&r.defaultValue!==""+t.defaultValue&&(r.defaultValue=""+t.defaultValue),null==t.checked&&null!=t.defaultChecked&&(r.defaultChecked=!!t.defaultChecked)},postMountWrapper:function(e){var t=e._currentElement.props,n=c.getNodeFromInstance(e);switch(t.type){case"submit":case"reset":break;case"color":case"date":case"datetime":case"datetime-local":case"month":case"time":case"week":n.value="",n.value=n.defaultValue;break;default:n.value=n.value}var r=n.name;""!==r&&(n.name=""),n.defaultChecked=!n.defaultChecked,n.defaultChecked=!n.defaultChecked,""!==r&&(n.name=r)}});e.exports=f},function(e,t,n){"use strict";function r(e){var t="";return i.Children.forEach(e,function(e){null!=e&&("string"==typeof e||"number"==typeof e?t+=e:u||(u=!0))}),t}var o=n(21),i=n(124),a=n(27),s=n(433),u=(n(14),!1),c={mountWrapper:function(e,t,n){var o=null;if(null!=n){var i=n;"optgroup"===i._tag&&(i=i._hostParent),null!=i&&"select"===i._tag&&(o=s.getSelectValueContext(i))}var a=null;if(null!=o){var u;if(u=null!=t.value?t.value+"":r(t.children),a=!1,Array.isArray(o)){for(var c=0;c<o.length;c++)if(""+o[c]===u){a=!0;break}}else a=""+o===u}e._wrapperState={selected:a}},postMountWrapper:function(e){var t=e._currentElement.props;if(null!=t.value){var n=a.getNodeFromInstance(e);n.setAttribute("value",t.value)}},getHostProps:function(e,t){var n=o({selected:void 0,children:void 0},t);null!=e._wrapperState.selected&&(n.selected=e._wrapperState.selected);var i=r(t.children);return i&&(n.children=i),n}};e.exports=c},function(e,t,n){"use strict";function r(e,t,n,r){return e===n&&t===r}function o(e){var t=document.selection,n=t.createRange(),r=n.text.length,o=n.duplicate();o.moveToElementText(e),o.setEndPoint("EndToStart",n);var i=o.text.length,a=i+r;return{start:i,end:a}}function i(e){var t=window.getSelection&&window.getSelection();if(!t||0===t.rangeCount)return null;var n=t.anchorNode,o=t.anchorOffset,i=t.focusNode,a=t.focusOffset,s=t.getRangeAt(0);try{s.startContainer.nodeType,s.endContainer.nodeType}catch(e){return null}var u=r(t.anchorNode,t.anchorOffset,t.focusNode,t.focusOffset),c=u?0:s.toString().length,l=s.cloneRange();l.selectNodeContents(e),l.setEnd(s.startContainer,s.startOffset);var f=r(l.startContainer,l.startOffset,l.endContainer,l.endOffset),p=f?0:l.toString().length,d=p+c,h=document.createRange();h.setStart(n,o),h.setEnd(i,a);var v=h.collapsed;return{start:v?d:p,end:v?p:d}}function a(e,t){var n,r,o=document.selection.createRange().duplicate();void 0===t.end?(n=t.start,r=n):t.start>t.end?(n=t.end,r=t.start):(n=t.start,r=t.end),o.moveToElementText(e),o.moveStart("character",n),o.setEndPoint("EndToStart",o),o.moveEnd("character",r-n),o.select()}function s(e,t){if(window.getSelection){var n=window.getSelection(),r=e[l()].length,o=Math.min(t.start,r),i=void 0===t.end?o:Math.min(t.end,r);if(!n.extend&&o>i){var a=i;i=o,o=a}var s=c(e,o),u=c(e,i);if(s&&u){var f=document.createRange();f.setStart(s.node,s.offset),n.removeAllRanges(),o>i?(n.addRange(f),n.extend(u.node,u.offset)):(f.setEnd(u.node,u.offset),n.addRange(f))}}}var u=n(36),c=n(1060),l=n(443),f=u.canUseDOM&&"selection"in document&&!("getSelection"in window),p={getOffsets:f?o:i,setOffsets:f?a:s};e.exports=p},function(e,t,n){"use strict";var r=n(16),o=n(21),i=n(283),a=n(116),s=n(27),u=n(196),c=(n(11),n(298),function(e){this._currentElement=e,this._stringText=""+e,this._hostNode=null,this._hostParent=null,this._domID=0,this._mountIndex=0,this._closingComment=null,this._commentNodes=null});o(c.prototype,{mountComponent:function(e,t,n,r){var o=n._idCounter++,i=" react-text: "+o+" ",c=" /react-text ";if(this._domID=o,this._hostParent=t,e.useCreateElement){var l=n._ownerDocument,f=l.createComment(i),p=l.createComment(c),d=a(l.createDocumentFragment());return a.queueChild(d,a(f)),this._stringText&&a.queueChild(d,a(l.createTextNode(this._stringText))),a.queueChild(d,a(p)),s.precacheNode(this,f),this._closingComment=p,d}var h=u(this._stringText);return e.renderToStaticMarkup?h:"<!--"+i+"-->"+h+"<!--"+c+"-->"},receiveComponent:function(e,t){if(e!==this._currentElement){this._currentElement=e;var n=""+e;if(n!==this._stringText){this._stringText=n;var r=this.getHostNode();i.replaceDelimitedText(r[0],r[1],n)}}},getHostNode:function(){var e=this._commentNodes;if(e)return e;if(!this._closingComment)for(var t=s.getNodeFromInstance(this),n=t.nextSibling;;){if(null==n?r("67",this._domID):void 0,8===n.nodeType&&" /react-text "===n.nodeValue){this._closingComment=n;break}n=n.nextSibling}return e=[this._hostNode,this._closingComment],this._commentNodes=e,e},unmountComponent:function(){this._closingComment=null,this._commentNodes=null,s.uncacheNode(this)}}),e.exports=c},function(e,t,n){"use strict";function r(){this._rootNodeID&&l.updateWrapper(this)}function o(e){var t=this._currentElement.props,n=s.executeOnChange(t,e);return c.asap(r,this),n}var i=n(16),a=n(21),s=n(287),u=n(27),c=n(62),l=(n(11),n(14),{getHostProps:function(e,t){null!=t.dangerouslySetInnerHTML?i("91"):void 0;var n=a({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue,onChange:e._wrapperState.onChange});return n},mountWrapper:function(e,t){var n=s.getValue(t),r=n;if(null==n){var a=t.defaultValue,u=t.children;null!=u&&(null!=a?i("92"):void 0,Array.isArray(u)&&(u.length<=1?void 0:i("93"),u=u[0]),a=""+u),null==a&&(a=""),r=a}e._wrapperState={initialValue:""+r,listeners:null,onChange:o.bind(e)}},updateWrapper:function(e){var t=e._currentElement.props,n=u.getNodeFromInstance(e),r=s.getValue(t);if(null!=r){var o=""+r;o!==n.value&&(n.value=o),null==t.defaultValue&&(n.defaultValue=o)}null!=t.defaultValue&&(n.defaultValue=t.defaultValue)},postMountWrapper:function(e){var t=u.getNodeFromInstance(e),n=t.textContent;n===e._wrapperState.initialValue&&(t.value=n)}});e.exports=l},function(e,t,n){"use strict";function r(e,t){"_hostNode"in e?void 0:u("33"),"_hostNode"in t?void 0:u("33");for(var n=0,r=e;r;r=r._hostParent)n++;for(var o=0,i=t;i;i=i._hostParent)o++;for(;n-o>0;)e=e._hostParent,n--;for(;o-n>0;)t=t._hostParent,o--;for(var a=n;a--;){if(e===t)return e;e=e._hostParent,t=t._hostParent}return null}function o(e,t){"_hostNode"in e?void 0:u("35"),"_hostNode"in t?void 0:u("35");for(;t;){if(t===e)return!0;t=t._hostParent}return!1}function i(e){return"_hostNode"in e?void 0:u("36"),e._hostParent}function a(e,t,n){for(var r=[];e;)r.push(e),e=e._hostParent;var o;for(o=r.length;o-- >0;)t(r[o],"captured",n);for(o=0;o<r.length;o++)t(r[o],"bubbled",n)}function s(e,t,n,o,i){for(var a=e&&t?r(e,t):null,s=[];e&&e!==a;)s.push(e),e=e._hostParent;for(var u=[];t&&t!==a;)u.push(t),t=t._hostParent;var c;for(c=0;c<s.length;c++)n(s[c],"bubbled",o);for(c=u.length;c-- >0;)n(u[c],"captured",i)}var u=n(16);n(11);e.exports={isAncestor:o,getLowestCommonAncestor:r,getParentInstance:i,traverseTwoPhase:a,traverseEnterLeave:s}},function(e,t,n){"use strict";function r(){this.reinitializeTransaction()}var o=n(21),i=n(62),a=n(195),s=n(52),u={initialize:s,close:function(){p.isBatchingUpdates=!1}},c={initialize:s,close:i.flushBatchedUpdates.bind(i)},l=[c,u];o(r.prototype,a,{getTransactionWrappers:function(){return l}});var f=new r,p={isBatchingUpdates:!1,batchedUpdates:function(e,t,n,r,o,i){var a=p.isBatchingUpdates;return p.isBatchingUpdates=!0,a?e(t,n,r,o,i):f.perform(e,null,t,n,r,o,i)}};e.exports=p},function(e,t,n){"use strict";function r(){T||(T=!0,m.EventEmitter.injectReactEventListener(g),m.EventPluginHub.injectEventPluginOrder(s),m.EventPluginUtils.injectComponentTree(p),m.EventPluginUtils.injectTreeTraversal(h),m.EventPluginHub.injectEventPluginsByName({SimpleEventPlugin:E,EnterLeaveEventPlugin:u,ChangeEventPlugin:a,SelectEventPlugin:w,BeforeInputEventPlugin:i}),m.HostComponent.injectGenericComponentClass(f),m.HostComponent.injectTextComponentClass(v),m.DOMProperty.injectDOMPropertyConfig(o),m.DOMProperty.injectDOMPropertyConfig(c),m.DOMProperty.injectDOMPropertyConfig(b),m.EmptyComponent.injectEmptyComponentFactory(function(e){return new d(e)}),m.Updates.injectReconcileTransaction(_),m.Updates.injectBatchingStrategy(y),m.Component.injectEnvironment(l))}var o=n(999),i=n(1001),a=n(1003),s=n(1005),u=n(1006),c=n(1009),l=n(1011),f=n(1014),p=n(27),d=n(1016),h=n(1024),v=n(1022),y=n(1025),g=n(1029),m=n(1030),_=n(1035),b=n(1040),w=n(1041),E=n(1042),T=!1;e.exports={inject:r}},467,function(e,t,n){"use strict";function r(e){o.enqueueEvents(e),o.processEventQueue(!1)}var o=n(118),i={handleTopLevel:function(e,t,n,i){var a=o.extractEvents(e,t,n,i);r(a)}};e.exports=i},function(e,t,n){"use strict";function r(e){for(;e._hostParent;)e=e._hostParent;var t=f.getNodeFromInstance(e),n=t.parentNode;return f.getClosestInstanceFromNode(n)}function o(e,t){this.topLevelType=e,this.nativeEvent=t,this.ancestors=[]}function i(e){var t=d(e.nativeEvent),n=f.getClosestInstanceFromNode(t),o=n;do e.ancestors.push(o),o=o&&r(o);while(o);for(var i=0;i<e.ancestors.length;i++)n=e.ancestors[i],v._handleTopLevel(e.topLevelType,n,e.nativeEvent,d(e.nativeEvent))}function a(e){var t=h(window);e(t)}var s=n(21),u=n(386),c=n(36),l=n(100),f=n(27),p=n(62),d=n(295),h=n(842);s(o.prototype,{destructor:function(){this.topLevelType=null,this.nativeEvent=null,this.ancestors.length=0}}),l.addPoolingTo(o,l.twoArgumentPooler);var v={_enabled:!0,_handleTopLevel:null,WINDOW_HANDLE:c.canUseDOM?window:null,setHandleTopLevel:function(e){v._handleTopLevel=e},setEnabled:function(e){v._enabled=!!e},isEnabled:function(){return v._enabled},trapBubbledEvent:function(e,t,n){return n?u.listen(n,t,v.dispatchEvent.bind(null,e)):null},trapCapturedEvent:function(e,t,n){return n?u.capture(n,t,v.dispatchEvent.bind(null,e)):null},monitorScrollValue:function(e){var t=a.bind(null,e);u.listen(window,"scroll",t)},dispatchEvent:function(e,t){if(v._enabled){var n=o.getPooled(e,t);try{p.batchedUpdates(i,n)}finally{o.release(n)}}}};e.exports=v},function(e,t,n){"use strict";var r=n(117),o=n(118),i=n(192),a=n(288),s=n(434),u=n(193),c=n(436),l=n(62),f={Component:a.injection,DOMProperty:r.injection,EmptyComponent:s.injection,EventPluginHub:o.injection,EventPluginUtils:i.injection,EventEmitter:u.injection,HostComponent:c.injection,Updates:l.injection};e.exports=f},function(e,t,n){"use strict";var r=n(1053),o=/\/?>/,i=/^<\!\-\-/,a={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var t=r(e);return i.test(e)?e:e.replace(o," "+a.CHECKSUM_ATTR_NAME+'="'+t+'"$&')},canReuseMarkup:function(e,t){var n=t.getAttribute(a.CHECKSUM_ATTR_NAME);n=n&&parseInt(n,10);var o=r(e);return o===n}};e.exports=a},function(e,t,n){"use strict";function r(e,t,n){return{type:"INSERT_MARKUP",content:e,fromIndex:null,fromNode:null,toIndex:n,afterNode:t}}function o(e,t,n){return{type:"MOVE_EXISTING",content:null,fromIndex:e._mountIndex,fromNode:p.getHostNode(e),toIndex:n,afterNode:t}}function i(e,t){return{type:"REMOVE_NODE",content:null,fromIndex:e._mountIndex,fromNode:t,toIndex:null,afterNode:null}}function a(e){return{type:"SET_MARKUP",content:e,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function s(e){return{type:"TEXT_CONTENT",content:e,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function u(e,t){return t&&(e=e||[],e.push(t)),e}function c(e,t){f.processChildrenUpdates(e,t)}var l=n(16),f=n(288),p=(n(148),n(53),n(73),n(120)),d=n(1010),h=(n(52),n(1056)),v=(n(11),{Mixin:{_reconcilerInstantiateChildren:function(e,t,n){return d.instantiateChildren(e,t,n)},_reconcilerUpdateChildren:function(e,t,n,r,o,i){var a,s=0;return a=h(t,s),d.updateChildren(e,a,n,r,o,this,this._hostContainerInfo,i,s),a},mountChildren:function(e,t,n){var r=this._reconcilerInstantiateChildren(e,t,n);this._renderedChildren=r;var o=[],i=0;for(var a in r)if(r.hasOwnProperty(a)){var s=r[a],u=0,c=p.mountComponent(s,t,this,this._hostContainerInfo,n,u);s._mountIndex=i++,o.push(c)}return o},updateTextContent:function(e){var t=this._renderedChildren;d.unmountChildren(t,!1);for(var n in t)t.hasOwnProperty(n)&&l("118");var r=[s(e)];c(this,r)},updateMarkup:function(e){var t=this._renderedChildren;d.unmountChildren(t,!1);for(var n in t)t.hasOwnProperty(n)&&l("118");var r=[a(e)];c(this,r)},updateChildren:function(e,t,n){this._updateChildren(e,t,n)},_updateChildren:function(e,t,n){var r=this._renderedChildren,o={},i=[],a=this._reconcilerUpdateChildren(r,e,i,o,t,n);if(a||r){var s,l=null,f=0,d=0,h=0,v=null;for(s in a)if(a.hasOwnProperty(s)){var y=r&&r[s],g=a[s];y===g?(l=u(l,this.moveChild(y,v,f,d)),d=Math.max(y._mountIndex,d),y._mountIndex=f):(y&&(d=Math.max(y._mountIndex,d)),l=u(l,this._mountChildAtIndex(g,i[h],v,f,t,n)),h++),f++,v=p.getHostNode(g)}for(s in o)o.hasOwnProperty(s)&&(l=u(l,this._unmountChild(r[s],o[s])));l&&c(this,l),this._renderedChildren=a}},unmountChildren:function(e){var t=this._renderedChildren;d.unmountChildren(t,e),this._renderedChildren=null},moveChild:function(e,t,n,r){if(e._mountIndex<r)return o(e,t,n)},createChild:function(e,t,n){return r(n,t,e._mountIndex)},removeChild:function(e,t){return i(e,t)},_mountChildAtIndex:function(e,t,n,r,o,i){return e._mountIndex=r,this.createChild(e,n,t)},_unmountChild:function(e,t){var n=this.removeChild(e,t);return e._mountIndex=null,n}}});e.exports=v},function(e,t,n){"use strict";function r(e){return!(!e||"function"!=typeof e.attachRef||"function"!=typeof e.detachRef)}var o=n(16),i=(n(11),{addComponentAsRefTo:function(e,t,n){r(n)?void 0:o("119"),n.attachRef(t,e)},removeComponentAsRefFrom:function(e,t,n){r(n)?void 0:o("120");var i=n.getPublicInstance();i&&i.refs[t]===e.getPublicInstance()&&n.detachRef(t)}});e.exports=i},function(e,t){"use strict";var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=n},function(e,t,n){"use strict";function r(e){this.reinitializeTransaction(),this.renderToStaticMarkup=!1,this.reactMountReady=i.getPooled(null),this.useCreateElement=e}var o=n(21),i=n(430),a=n(100),s=n(193),u=n(437),c=(n(53),n(195)),l=n(290),f={initialize:u.getSelectionInformation,close:u.restoreSelection},p={initialize:function(){var e=s.isEnabled();return s.setEnabled(!1),e},close:function(e){s.setEnabled(e)}},d={initialize:function(){this.reactMountReady.reset()},close:function(){this.reactMountReady.notifyAll()}},h=[f,p,d],v={getTransactionWrappers:function(){return h},getReactMountReady:function(){return this.reactMountReady},getUpdateQueue:function(){return l},checkpoint:function(){return this.reactMountReady.checkpoint()},rollback:function(e){this.reactMountReady.rollback(e)},destructor:function(){i.release(this.reactMountReady),this.reactMountReady=null}};o(r.prototype,c,v),a.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";function r(e,t,n){"function"==typeof e?e(t.getPublicInstance()):i.addComponentAsRefTo(t,e,n)}function o(e,t,n){"function"==typeof e?e(null):i.removeComponentAsRefFrom(t,e,n)}var i=n(1033),a={};a.attachRefs=function(e,t){if(null!==t&&"object"==typeof t){var n=t.ref;null!=n&&r(n,e,t._owner)}},a.shouldUpdateRefs=function(e,t){var n=null,r=null;null!==e&&"object"==typeof e&&(n=e.ref,r=e._owner);var o=null,i=null;return null!==t&&"object"==typeof t&&(o=t.ref,i=t._owner),n!==o||"string"==typeof o&&i!==r},a.detachRefs=function(e,t){if(null!==t&&"object"==typeof t){var n=t.ref;null!=n&&o(n,e,t._owner)}},e.exports=a},function(e,t,n){"use strict";function r(e){this.reinitializeTransaction(),this.renderToStaticMarkup=e,this.useCreateElement=!1,this.updateQueue=new s(this)}var o=n(21),i=n(100),a=n(195),s=(n(53),n(1038)),u=[],c={enqueue:function(){}},l={getTransactionWrappers:function(){return u},getReactMountReady:function(){return c},getUpdateQueue:function(){return this.updateQueue},destructor:function(){},checkpoint:function(){},rollback:function(){}};o(r.prototype,a,l),i.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){}var i=n(290),a=(n(14),function(){function e(t){r(this,e),this.transaction=t}return e.prototype.isMounted=function(e){return!1},e.prototype.enqueueCallback=function(e,t,n){this.transaction.isInTransaction()&&i.enqueueCallback(e,t,n)},e.prototype.enqueueForceUpdate=function(e){this.transaction.isInTransaction()?i.enqueueForceUpdate(e):o(e,"forceUpdate")},e.prototype.enqueueReplaceState=function(e,t){this.transaction.isInTransaction()?i.enqueueReplaceState(e,t):o(e,"replaceState")},e.prototype.enqueueSetState=function(e,t){this.transaction.isInTransaction()?i.enqueueSetState(e,t):o(e,"setState")},e}());e.exports=a},function(e,t){"use strict";e.exports="15.4.2"},function(e,t){"use strict";var n={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},r={accentHeight:"accent-height",accumulate:0,additive:0,alignmentBaseline:"alignment-baseline",allowReorder:"allowReorder",alphabetic:0,amplitude:0,arabicForm:"arabic-form",ascent:0,attributeName:"attributeName",attributeType:"attributeType",autoReverse:"autoReverse",azimuth:0,baseFrequency:"baseFrequency",baseProfile:"baseProfile",baselineShift:"baseline-shift",bbox:0,begin:0,bias:0,by:0,calcMode:"calcMode",capHeight:"cap-height",clip:0,clipPath:"clip-path",clipRule:"clip-rule",clipPathUnits:"clipPathUnits",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",contentScriptType:"contentScriptType",contentStyleType:"contentStyleType",cursor:0,cx:0,cy:0,d:0,decelerate:0,descent:0,diffuseConstant:"diffuseConstant",direction:0,display:0,divisor:0,dominantBaseline:"dominant-baseline",dur:0,dx:0,dy:0,edgeMode:"edgeMode",elevation:0,enableBackground:"enable-background",end:0,exponent:0,externalResourcesRequired:"externalResourcesRequired",fill:0,fillOpacity:"fill-opacity",fillRule:"fill-rule",filter:0,filterRes:"filterRes",filterUnits:"filterUnits",floodColor:"flood-color",floodOpacity:"flood-opacity",focusable:0,fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",glyphRef:"glyphRef",gradientTransform:"gradientTransform",gradientUnits:"gradientUnits",hanging:0,horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",ideographic:0,imageRendering:"image-rendering",in:0,in2:0,intercept:0,k:0,k1:0,k2:0,k3:0,k4:0,kernelMatrix:"kernelMatrix",kernelUnitLength:"kernelUnitLength",kerning:0,keyPoints:"keyPoints",keySplines:"keySplines",keyTimes:"keyTimes",lengthAdjust:"lengthAdjust",letterSpacing:"letter-spacing",lightingColor:"lighting-color",limitingConeAngle:"limitingConeAngle",local:0,markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",markerHeight:"markerHeight",markerUnits:"markerUnits",markerWidth:"markerWidth",mask:0,maskContentUnits:"maskContentUnits",maskUnits:"maskUnits",mathematical:0,mode:0,numOctaves:"numOctaves",offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pathLength:"pathLength",patternContentUnits:"patternContentUnits",patternTransform:"patternTransform",patternUnits:"patternUnits",pointerEvents:"pointer-events",points:0,pointsAtX:"pointsAtX",pointsAtY:"pointsAtY",pointsAtZ:"pointsAtZ",preserveAlpha:"preserveAlpha",preserveAspectRatio:"preserveAspectRatio",primitiveUnits:"primitiveUnits",r:0,radius:0,refX:"refX",refY:"refY",renderingIntent:"rendering-intent",repeatCount:"repeatCount",repeatDur:"repeatDur",requiredExtensions:"requiredExtensions",requiredFeatures:"requiredFeatures",restart:0,result:0,rotate:0,rx:0,ry:0,scale:0,seed:0,shapeRendering:"shape-rendering",slope:0,spacing:0,specularConstant:"specularConstant",specularExponent:"specularExponent",speed:0,spreadMethod:"spreadMethod",startOffset:"startOffset",stdDeviation:"stdDeviation",stemh:0,stemv:0,stitchTiles:"stitchTiles",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",string:0,stroke:0,strokeDasharray:"stroke-dasharray",strokeDashoffset:"stroke-dashoffset",strokeLinecap:"stroke-linecap",strokeLinejoin:"stroke-linejoin",strokeMiterlimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",surfaceScale:"surfaceScale",systemLanguage:"systemLanguage",tableValues:"tableValues",targetX:"targetX",targetY:"targetY",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",textLength:"textLength",to:0,transform:0,u1:0,u2:0,underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicode:0,unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",values:0,vectorEffect:"vector-effect",version:0,vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",viewBox:"viewBox",viewTarget:"viewTarget",visibility:0,widths:0,wordSpacing:"word-spacing",writingMode:"writing-mode",x:0,xHeight:"x-height",x1:0,x2:0,xChannelSelector:"xChannelSelector",xlinkActuate:"xlink:actuate",xlinkArcrole:"xlink:arcrole",xlinkHref:"xlink:href",xlinkRole:"xlink:role",xlinkShow:"xlink:show",xlinkTitle:"xlink:title",xlinkType:"xlink:type",xmlBase:"xml:base",xmlns:0,xmlnsXlink:"xmlns:xlink",xmlLang:"xml:lang",xmlSpace:"xml:space",y:0,y1:0,y2:0,yChannelSelector:"yChannelSelector",z:0,zoomAndPan:"zoomAndPan"},o={Properties:{},DOMAttributeNamespaces:{xlinkActuate:n.xlink,xlinkArcrole:n.xlink,xlinkHref:n.xlink,xlinkRole:n.xlink,xlinkShow:n.xlink,xlinkTitle:n.xlink,xlinkType:n.xlink,xmlBase:n.xml,xmlLang:n.xml,xmlSpace:n.xml},DOMAttributeNames:{}};Object.keys(r).forEach(function(e){o.Properties[e]=0,r[e]&&(o.DOMAttributeNames[e]=r[e])}),e.exports=o},function(e,t,n){"use strict";function r(e){if("selectionStart"in e&&u.hasSelectionCapabilities(e))return{start:e.selectionStart,end:e.selectionEnd};if(window.getSelection){var t=window.getSelection();return{anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}}if(document.selection){var n=document.selection.createRange();return{parentElement:n.parentElement(),text:n.text,top:n.boundingTop,left:n.boundingLeft}}}function o(e,t){if(m||null==v||v!==l())return null;var n=r(v);if(!g||!p(g,n)){g=n;var o=c.getPooled(h.select,y,e,t);return o.type="select",o.target=v,i.accumulateTwoPhaseDispatches(o),o}return null}var i=n(119),a=n(36),s=n(27),u=n(437),c=n(72),l=n(388),f=n(445),p=n(260),d=a.canUseDOM&&"documentMode"in document&&document.documentMode<=11,h={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:["topBlur","topContextMenu","topFocus","topKeyDown","topKeyUp","topMouseDown","topMouseUp","topSelectionChange"]}},v=null,y=null,g=null,m=!1,_=!1,b={eventTypes:h,extractEvents:function(e,t,n,r){if(!_)return null;var i=t?s.getNodeFromInstance(t):window;switch(e){case"topFocus":(f(i)||"true"===i.contentEditable)&&(v=i,y=t,g=null);break;case"topBlur":v=null,y=null,g=null;break;case"topMouseDown":m=!0;break;case"topContextMenu":case"topMouseUp":return m=!1,o(n,r);case"topSelectionChange":if(d)break;case"topKeyDown":case"topKeyUp":return o(n,r)}return null},didPutListener:function(e,t,n){"onSelect"===t&&(_=!0)}};e.exports=b},function(e,t,n){"use strict";function r(e){return"."+e._rootNodeID}function o(e){return"button"===e||"input"===e||"select"===e||"textarea"===e}var i=n(16),a=n(386),s=n(119),u=n(27),c=n(1043),l=n(1044),f=n(72),p=n(1047),d=n(1049),h=n(194),v=n(1046),y=n(1050),g=n(1051),m=n(121),_=n(1052),b=n(52),w=n(293),E=(n(11),{}),T={};["abort","animationEnd","animationIteration","animationStart","blur","canPlay","canPlayThrough","click","contextMenu","copy","cut","doubleClick","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","focus","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","progress","rateChange","reset","scroll","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchMove","touchStart","transitionEnd","volumeChange","waiting","wheel"].forEach(function(e){var t=e[0].toUpperCase()+e.slice(1),n="on"+t,r="top"+t,o={phasedRegistrationNames:{bubbled:n,captured:n+"Capture"},dependencies:[r]};E[e]=o,T[r]=o});var C={},S={eventTypes:E,extractEvents:function(e,t,n,r){var o=T[e];if(!o)return null;var a;switch(e){case"topAbort":case"topCanPlay":case"topCanPlayThrough":case"topDurationChange":case"topEmptied":case"topEncrypted":case"topEnded":case"topError":case"topInput":case"topInvalid":case"topLoad":case"topLoadedData":case"topLoadedMetadata":case"topLoadStart":case"topPause":case"topPlay":case"topPlaying":case"topProgress":case"topRateChange":case"topReset":case"topSeeked":case"topSeeking":case"topStalled":case"topSubmit":case"topSuspend":case"topTimeUpdate":case"topVolumeChange":case"topWaiting":a=f;break;case"topKeyPress":if(0===w(n))return null;case"topKeyDown":case"topKeyUp":a=d;break;case"topBlur":case"topFocus":a=p;break;case"topClick":if(2===n.button)return null;case"topDoubleClick":case"topMouseDown":case"topMouseMove":case"topMouseUp":case"topMouseOut":case"topMouseOver":case"topContextMenu":a=h;break;case"topDrag":case"topDragEnd":case"topDragEnter":case"topDragExit":case"topDragLeave":case"topDragOver":case"topDragStart":case"topDrop":a=v;break;case"topTouchCancel":case"topTouchEnd":case"topTouchMove":case"topTouchStart":a=y;break;case"topAnimationEnd":case"topAnimationIteration":case"topAnimationStart":a=c;break;case"topTransitionEnd":a=g;break;case"topScroll":a=m;break;case"topWheel":a=_;break;case"topCopy":case"topCut":case"topPaste":a=l}a?void 0:i("86",e);var u=a.getPooled(o,t,n,r);return s.accumulateTwoPhaseDispatches(u),u},didPutListener:function(e,t,n){if("onClick"===t&&!o(e._tag)){var i=r(e),s=u.getNodeFromInstance(e);C[i]||(C[i]=a.listen(s,"click",b))}},willDeleteListener:function(e,t){if("onClick"===t&&!o(e._tag)){var n=r(e);C[n].remove(),delete C[n]}}};e.exports=S},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(72),i={animationName:null,elapsedTime:null,pseudoElement:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(72),i={clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}};o.augmentClass(r,i),e.exports=r;
-},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(72),i={data:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(194),i={dataTransfer:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(121),i={relatedTarget:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(72),i={data:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(121),i=n(293),a=n(1057),s=n(294),u={key:a,location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:s,charCode:function(e){return"keypress"===e.type?i(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?i(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}};o.augmentClass(r,u),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(121),i=n(294),a={touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:i};o.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(72),i={propertyName:null,elapsedTime:null,pseudoElement:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(194),i={deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null};o.augmentClass(r,i),e.exports=r},function(e,t){"use strict";function n(e){for(var t=1,n=0,o=0,i=e.length,a=i&-4;o<a;){for(var s=Math.min(o+4096,a);o<s;o+=4)n+=(t+=e.charCodeAt(o))+(t+=e.charCodeAt(o+1))+(t+=e.charCodeAt(o+2))+(t+=e.charCodeAt(o+3));t%=r,n%=r}for(;o<i;o++)n+=t+=e.charCodeAt(o);return t%=r,n%=r,t|n<<16}var r=65521;e.exports=n},function(e,t,n){"use strict";function r(e,t,n){var r=null==t||"boolean"==typeof t||""===t;if(r)return"";var o=isNaN(t);if(o||0===t||i.hasOwnProperty(e)&&i[e])return""+t;if("string"==typeof t){t=t.trim()}return t+"px"}var o=n(429),i=(n(14),o.isUnitlessNumber);e.exports=r},function(e,t,n){"use strict";function r(e){if(null==e)return null;if(1===e.nodeType)return e;var t=a.get(e);return t?(t=s(t),t?i.getNodeFromInstance(t):null):void("function"==typeof e.render?o("44"):o("45",Object.keys(e)))}var o=n(16),i=(n(73),n(27)),a=n(148),s=n(442);n(11),n(14);e.exports=r},function(e,t,n){(function(t){"use strict";function r(e,t,n,r){if(e&&"object"==typeof e){var o=e,i=void 0===o[n];i&&null!=t&&(o[n]=t)}}function o(e,t){if(null==e)return e;var n={};return i(e,r,n),n}var i=(n(286),n(447));n(14);"undefined"!=typeof t&&t.env,1,e.exports=o}).call(t,n(159))},function(e,t,n){"use strict";function r(e){if(e.key){var t=i[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=o(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?a[e.keyCode]||"Unidentified":""}var o=n(293),i={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},a={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};e.exports=r},470,function(e,t){"use strict";function n(){return r++}var r=1;e.exports=n},function(e,t){"use strict";function n(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function r(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function o(e,t){for(var o=n(e),i=0,a=0;o;){if(3===o.nodeType){if(a=i+o.textContent.length,i<=t&&a>=t)return{node:o,offset:t-i};i=a}o=n(r(o))}}e.exports=o},function(e,t,n){"use strict";function r(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n["ms"+e]="MS"+t,n["O"+e]="o"+t.toLowerCase(),n}function o(e){if(s[e])return s[e];if(!a[e])return e;var t=a[e];for(var n in t)if(t.hasOwnProperty(n)&&n in u)return s[e]=t[n];return""}var i=n(36),a={animationend:r("Animation","AnimationEnd"),animationiteration:r("Animation","AnimationIteration"),animationstart:r("Animation","AnimationStart"),transitionend:r("Transition","TransitionEnd")},s={},u={};i.canUseDOM&&(u=document.createElement("div").style,"AnimationEvent"in window||(delete a.animationend.animation,delete a.animationiteration.animation,delete a.animationstart.animation),"TransitionEvent"in window||delete a.transitionend.transition),e.exports=o},function(e,t,n){"use strict";function r(e){return'"'+o(e)+'"'}var o=n(196);e.exports=r},function(e,t,n){"use strict";var r=n(438);e.exports=r.renderSubtreeIntoContainer},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.default=void 0;var o,i,a=n(10),s=r(a),u=n(3),c=r(u),l=n(8),f=r(l),p=n(6),d=r(p),h=n(1),v=r(h),y=n(448),g=r(y),m=(i=o=function(e){function t(n){(0,c.default)(this,t);var r=(0,f.default)(this,e.call(this,n));return r.state={expanded:!1},r.handleClick=r.handleClick.bind(r),r}return(0,d.default)(t,e),t.prototype.render=function(){var e=this.props,t=e.styling,n=e.from,r=e.to,o=e.renderChildNodes,i=e.nodeType;return this.state.expanded?v.default.createElement("div",t("itemRange",this.state.expanded),o(this.props,n,r)):v.default.createElement("div",(0,s.default)({},t("itemRange",this.state.expanded),{onClick:this.handleClick}),v.default.createElement(g.default,{nodeType:i,styling:t,expanded:!1,onClick:this.handleClick,arrowStyle:"double"}),n+" ... "+r)},t.prototype.handleClick=function(){this.setState({expanded:!this.state.expanded})},t}(v.default.Component),o.propTypes={styling:h.PropTypes.func.isRequired,from:h.PropTypes.number.isRequired,to:h.PropTypes.number.isRequired,renderChildNodes:h.PropTypes.func.isRequired,nodeType:h.PropTypes.string.isRequired},i);t.default=m},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return e.length+" "+(1!==e.length?"items":"item")}t.__esModule=!0;var i=n(10),a=r(i),s=n(136),u=r(s),c=n(1),l=r(c),f=n(299),p=r(f),d=function(e){var t=e.data,n=(0,u.default)(e,["data"]);return l.default.createElement(p.default,(0,a.default)({},n,{data:t,nodeType:"Array",nodeTypeIndicator:"[]",createItemString:o,expandable:t.length>0}))};d.propTypes={data:c.PropTypes.array},t.default=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=0,r=!1;if((0,d.default)(e.size))n=e.size;else for(var o=e,i=Array.isArray(o),a=0,o=i?o:(0,f.default)(o);;){var s;if(i){if(a>=o.length)break;s=o[a++]}else{if(a=o.next(),a.done)break;s=a.value}if(t&&n+1>t){r=!0;break}n+=1}return""+(r?">":"")+n+" "+(1!==n?"entries":"entry")}function i(e){var t=(0,c.default)(e,[]);return v.default.createElement(g.default,(0,s.default)({},t,{nodeType:"Iterable",nodeTypeIndicator:"()",createItemString:o}))}t.__esModule=!0;var a=n(10),s=r(a),u=n(136),c=r(u),l=n(217),f=r(l),p=n(539),d=r(p);t.default=i;var h=n(1),v=r(h),y=n(299),g=r(y)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=(0,l.default)(e).length;return t+" "+(1!==t?"keys":"key")}t.__esModule=!0;var i=n(10),a=r(i),s=n(136),u=r(s),c=n(337),l=r(c),f=n(1),p=r(f),d=n(299),h=r(d),v=function(e){var t=e.data,n=(0,u.default)(e,["data"]);return p.default.createElement(h.default,(0,a.default)({},n,{data:t,nodeType:"Object",nodeTypeIndicator:"Error"===n.nodeType?"Error()":"{}",createItemString:o,expandable:(0,l.default)(t).length>0}))};v.propTypes={data:f.PropTypes.object,nodeType:f.PropTypes.string},t.default=v},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(1),i=r(o),a=function(e){var t=e.nodeType,n=e.styling,r=e.labelRenderer,o=e.keyPath,a=e.valueRenderer,s=e.value,u=e.valueGetter;return i.default.createElement("li",n("value",t,o),i.default.createElement("label",n(["label","valueLabel"],t,o),r(o,t,!1,!1)),i.default.createElement("span",n("valueText",t,o),a.apply(void 0,[u(s),s].concat(o))))};a.propTypes={nodeType:o.PropTypes.string.isRequired,styling:o.PropTypes.func.isRequired,labelRenderer:o.PropTypes.func.isRequired,keyPath:o.PropTypes.arrayOf(o.PropTypes.oneOfType([o.PropTypes.string,o.PropTypes.number])).isRequired,valueRenderer:o.PropTypes.func.isRequired,value:o.PropTypes.any,valueGetter:o.PropTypes.func},a.defaultProps={valueGetter:function(e){return e}},t.default=a},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(10),i=r(o),a=n(1072),s=r(a),u=n(421),c=function(e){return{BACKGROUND_COLOR:e.base00,TEXT_COLOR:e.base07,STRING_COLOR:e.base0B,DATE_COLOR:e.base0B,NUMBER_COLOR:e.base09,BOOLEAN_COLOR:e.base09,NULL_COLOR:e.base08,UNDEFINED_COLOR:e.base08,FUNCTION_COLOR:e.base08,SYMBOL_COLOR:e.base08,LABEL_COLOR:e.base0D,ARROW_COLOR:e.base0D,ITEM_STRING_COLOR:e.base0B,ITEM_STRING_EXPANDED_COLOR:e.base03}},l=function(e){return{String:e.STRING_COLOR,Date:e.DATE_COLOR,Number:e.NUMBER_COLOR,Boolean:e.BOOLEAN_COLOR,Null:e.NULL_COLOR,Undefined:e.UNDEFINED_COLOR,Function:e.FUNCTION_COLOR,Symbol:e.SYMBOL_COLOR}},f=function(e){var t=c(e);return{tree:{border:0,padding:0,marginTop:"0.5em",marginBottom:"0.5em",marginLeft:"0.125em",marginRight:0,listStyle:"none",MozUserSelect:"none",WebkitUserSelect:"none",backgroundColor:t.BACKGROUND_COLOR},value:function(e,t,n){var r=e.style;return{style:(0,i.default)({},r,{paddingTop:"0.25em",paddingRight:0,marginLeft:"0.875em",WebkitUserSelect:"text",MozUserSelect:"text",wordWrap:"break-word",paddingLeft:n.length>1?"2.125em":"1.25em",textIndent:"-0.5em",wordBreak:"break-all"})}},label:{display:"inline-block",color:t.LABEL_COLOR},valueLabel:{margin:"0 0.5em 0 0"},valueText:function(e,n){var r=e.style;return{style:(0,i.default)({},r,{color:l(t)[n]})}},itemRange:function(e,n){e.style;return{style:{paddingTop:n?0:"0.25em",cursor:"pointer",color:t.LABEL_COLOR}}},arrow:function(e,t,n){var r=e.style;return{style:(0,i.default)({},r,{marginLeft:0,transition:"150ms",WebkitTransition:"150ms",MozTransition:"150ms",WebkitTransform:n?"rotateZ(90deg)":"rotateZ(0deg)",MozTransform:n?"rotateZ(90deg)":"rotateZ(0deg)",transform:n?"rotateZ(90deg)":"rotateZ(0deg)",transformOrigin:"45% 50%",WebkitTransformOrigin:"45% 50%",MozTransformOrigin:"45% 50%",position:"relative",lineHeight:"1.1em",fontSize:"0.75em"})}},arrowContainer:function(e,t){var n=e.style;return{style:(0,i.default)({},n,{display:"inline-block",paddingRight:"0.5em",paddingLeft:"double"===t?"1em":0,cursor:"pointer"})}},arrowSign:{color:t.ARROW_COLOR},arrowSignInner:{position:"absolute",top:0,left:"-0.4em"},nestedNode:function(e,t,n,r,o){var a=e.style;return{style:(0,i.default)({},a,{position:"relative",paddingTop:"0.25em",marginLeft:t.length>1?"0.875em":0,paddingLeft:o?0:"1.125em"})}},rootNode:{padding:0,margin:0},nestedNodeLabel:function(e,t,n,r,o){var a=e.style;return{style:(0,i.default)({},a,{margin:0,padding:0,WebkitUserSelect:o?"inherit":"text",MozUserSelect:o?"inherit":"text",cursor:o?"pointer":"default"})}},nestedNodeItemString:function(e,n,r,o){var a=e.style;return{style:(0,i.default)({},a,{paddingLeft:"0.5em",cursor:"default",color:o?t.ITEM_STRING_EXPANDED_COLOR:t.ITEM_STRING_COLOR})}},nestedNodeItemType:{marginLeft:"0.3em",marginRight:"0.3em"},nestedNodeChildren:function(e,t,n){var r=e.style;return{style:(0,i.default)({},r,{padding:0,margin:0,listStyle:"none",display:n?"block":"none"})}},rootNodeChildren:{padding:0,margin:0,listStyle:"none"}}};t.default=(0,u.createStyling)(f,{defaultBase16:s.default})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return"Object"===e?(0,h.default)(t).length:"Array"===e?t.length:1/0}function i(e){return"function"==typeof e.set}function a(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1/0,a=void 0;if("Object"===e){var s=(0,p.default)(t);"undefined"!=typeof n&&s.sort(n),s=s.slice(r,o+1),a={entries:s.map(function(e){return{key:e,value:t[e]}})}}else if("Array"===e)a={entries:t.slice(r,o+1).map(function(e,t){return{key:t+r,value:e}})};else{for(var u=0,c=[],f=!0,d=i(t),h=t,v=Array.isArray(h),y=0,h=v?h:(0,l.default)(h);;){var g;if(v){if(y>=h.length)break;g=h[y++]}else{if(y=h.next(),y.done)break;g=y.value}var m=g;if(u>o){f=!1;break}r<=u&&(d&&Array.isArray(m)?"string"==typeof m[0]||"number"==typeof m[0]?c.push({key:m[0],value:m[1]}):c.push({key:"[entry "+u+"]",value:{"[key]":m[0],"[value]":m[1]}}):c.push({key:u,value:m})),u++}a={hasMore:!f,entries:c}}return a}function s(e,t,n){for(var r=[];t-e>n*n;)n*=n;for(var o=e;o<=t;o+=n)r.push({from:o,to:Math.min(t,o+n-1)});return r}function u(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,u=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1/0,c=a.bind(null,e,t,n);if(!r)return c().entries;var l=u<1/0,f=Math.min(u-i,o(e,t));if("Iterable"!==e){if(f<=r||r<7)return c(i,u).entries}else if(f<=r&&!l)return c(i,u).entries;var p=void 0;if("Iterable"===e){var d=c(i,i+r-1),h=d.hasMore,v=d.entries;p=h?[].concat(v,s(i+r,i+2*r-1,r)):v}else p=l?s(i,u,r):[].concat(c(0,r-5).entries,s(r-4,f-5,r),c(f-4,f-1).entries);return p}t.__esModule=!0;var c=n(217),l=r(c),f=n(337),p=r(f),d=n(105),h=r(d);t.default=u},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&"function"==typeof e[a.default]?"Iterable":t}t.__esModule=!0;var i=n(338),a=r(i);t.default=o},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"solarized",author:"ethan schoonover (http://ethanschoonover.com/solarized)",base00:"#002b36",base01:"#073642",base02:"#586e75",base03:"#657b83",base04:"#839496",base05:"#93a1a1",base06:"#eee8d5",base07:"#fdf6e3",base08:"#dc322f",base09:"#cb4b16",base0A:"#b58900",base0B:"#859900",base0C:"#2aa198",base0D:"#268bd2",base0E:"#6c71c4",base0F:"#d33682"}},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(t){n(this,e);var r=navigator.language||navigator.userLanguage;this.props=t,this.setLanguage(r)}return r(e,[{key:"_getBestMatchingLanguage",value:function(e,t){if(t[e])return e;var n=e.indexOf("-");return n>=0&&(e=e.substring(0,n),t[e])?e:Object.keys(t)[0]}}]),r(e,[{key:"setLanguage",value:function(e){var t=this._getBestMatchingLanguage(e,this.props);if(this.language=t,this.props[t]){var n=this.props[this.language];for(var r in n)n.hasOwnProperty(r)&&(this[r]=n[r])}}},{key:"getLanguage",value:function(){return this.language}},{key:"getInterfaceLanguage",value:function(){return interfaceLanguage}},{key:"getAvailableLanguages",value:function(){if(!this.availableLanguages){this.availableLanguages=[];for(var e in this.props)this.availableLanguages.push(e)}return this.availableLanguages}},{key:"formatString",value:function(e){for(var t=e,n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];for(var i=0;i<r.length;i++)t=this._replaceAll("{"+i+"}",r[i],t);return t}},{key:"_replaceAll",value:function(e,t,n){return e=e.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1"),n.replace(new RegExp(e,"g"),t)}}]),e}();t.default=o,e.exports=t.default},function(e,t){"use strict";function n(e,t){if(e===t)return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=Object.prototype.hasOwnProperty.bind(t),i=0;i<n.length;i++)if(!o(n[i])||e[n[i]]!==t[n[i]])return!1;return!0}t.__esModule=!0,t.default=n,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t.default=void 0;var s=n(1),u=n(453),c=n(300),l=(r(c),function(e){function t(n,r){o(this,t);var a=i(this,e.call(this,n,r));return a.store=n.store,a}return a(t,e),t.prototype.getChildContext=function(){return{store:this.store,storeSubscription:null}},t.prototype.render=function(){return s.Children.only(this.props.children)},t}(s.Component));t.default=l,l.propTypes={store:u.storeShape.isRequired,children:s.PropTypes.element.isRequired},l.childContextTypes={store:u.storeShape.isRequired,storeSubscription:u.subscriptionShape},l.displayName="Provider"},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t,n){for(var r=t.length-1;r>=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function a(e,t){return e===t}function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.connectHOC,n=void 0===t?l.default:t,r=e.mapStateToPropsFactories,s=void 0===r?y.default:r,c=e.mapDispatchToPropsFactories,f=void 0===c?h.default:c,d=e.mergePropsFactories,v=void 0===d?m.default:d,g=e.selectorFactory,_=void 0===g?b.default:g;return function(e,t,r){var c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},l=c.pure,d=void 0===l||l,h=c.areStatesEqual,y=void 0===h?a:h,g=c.areOwnPropsEqual,m=void 0===g?p.default:g,b=c.areStatePropsEqual,w=void 0===b?p.default:b,E=c.areMergedPropsEqual,T=void 0===E?p.default:E,C=o(c,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),S=i(e,s,"mapStateToProps"),x=i(t,f,"mapDispatchToProps"),O=i(r,v,"mergeProps");return n(_,u({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:S,initMapDispatchToProps:x,initMergeProps:O,pure:d,areStatesEqual:y,areOwnPropsEqual:m,areStatePropsEqual:w,areMergedPropsEqual:T},C))}}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.createConnect=s;var c=n(451),l=r(c),f=n(1083),p=r(f),d=n(1077),h=r(d),v=n(1078),y=r(v),g=n(1079),m=r(g),_=n(1080),b=r(_);t.default=s()},function(e,t,n){"use strict";function r(e){return"function"==typeof e?(0,s.wrapMapToPropsFunc)(e,"mapDispatchToProps"):void 0}function o(e){return e?void 0:(0,s.wrapMapToPropsConstant)(function(e){return{dispatch:e}})}function i(e){return e&&"object"==typeof e?(0,s.wrapMapToPropsConstant)(function(t){return(0,a.bindActionCreators)(e,t)}):void 0}t.__esModule=!0,t.whenMapDispatchToPropsIsFunction=r,t.whenMapDispatchToPropsIsMissing=o,t.whenMapDispatchToPropsIsObject=i;var a=n(309),s=n(452);t.default=[r,o,i]},function(e,t,n){"use strict";function r(e){return"function"==typeof e?(0,i.wrapMapToPropsFunc)(e,"mapStateToProps"):void 0}function o(e){return e?void 0:(0,i.wrapMapToPropsConstant)(function(){return{}})}t.__esModule=!0,t.whenMapStateToPropsIsFunction=r,t.whenMapStateToPropsIsMissing=o;var i=n(452);t.default=[r,o]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return u({},n,e,t)}function i(e){return function(t,n){var r=(n.displayName,n.pure),o=n.areMergedPropsEqual,i=!1,a=void 0;return function(t,n,s){var u=e(t,n,s);return i?r&&o(u,a)||(a=u):(i=!0,a=u),a}}}function a(e){return"function"==typeof e?i(e):void 0}function s(e){return e?void 0:function(){return o}}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.defaultMergeProps=o,t.wrapMergePropsFunc=i,t.whenMergePropsIsFunction=a,t.whenMergePropsIsOmitted=s;var c=n(454);r(c);t.default=[a,s]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t,n,r){return function(o,i){return n(e(o,i),t(r,i),i)}}function a(e,t,n,r,o){function i(o,i){return h=o,v=i,y=e(h,v),g=t(r,v),m=n(y,g,v),d=!0,m}function a(){return y=e(h,v),t.dependsOnOwnProps&&(g=t(r,v)),m=n(y,g,v)}function s(){return e.dependsOnOwnProps&&(y=e(h,v)),t.dependsOnOwnProps&&(g=t(r,v)),m=n(y,g,v)}function u(){var t=e(h,v),r=!p(t,y);return y=t,r&&(m=n(y,g,v)),m}function c(e,t){var n=!f(t,v),r=!l(e,h);return h=e,v=t,n&&r?a():n?s():r?u():m}var l=o.areStatesEqual,f=o.areOwnPropsEqual,p=o.areStatePropsEqual,d=!1,h=void 0,v=void 0,y=void 0,g=void 0,m=void 0;return function(e,t){return d?c(e,t):i(e,t)}}function s(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,s=t.initMergeProps,u=o(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),c=n(e,u),l=r(e,u),f=s(e,u),p=u.pure?a:i;return p(c,l,f,e,u)}t.__esModule=!0,t.impureFinalPropsSelectorFactory=i,t.pureFinalPropsSelectorFactory=a,t.default=s;var u=n(1081);r(u)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){if(!e)throw new Error("Unexpected value for "+t+" in "+n+".");"mapStateToProps"!==t&&"mapDispatchToProps"!==t||e.hasOwnProperty("dependsOnOwnProps")||(0,s.default)("The selector for "+t+" of "+n+" did not specify a value for dependsOnOwnProps.")}function i(e,t,n,r){o(e,"mapStateToProps",r),o(t,"mapDispatchToProps",r),o(n,"mergeProps",r)}t.__esModule=!0,t.default=i;var a=n(300),s=r(a)},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(){var e=[],t=[];return{clear:function(){t=o,e=o},notify:function(){for(var n=e=t,r=0;r<n.length;r++)n[r]()},subscribe:function(n){var r=!0;return t===e&&(t=e.slice()),t.push(n),function(){r&&e!==o&&(r=!1,t===e&&(t=e.slice()),t.splice(t.indexOf(n),1))}}}}t.__esModule=!0;var o=null,i={notify:function(){}},a=function(){function e(t,r,o){n(this,e),this.store=t,this.parentSub=r,this.onStateChange=o,this.unsubscribe=null,this.listeners=i}return e.prototype.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},e.prototype.notifyNestedSubs=function(){this.listeners.notify()},e.prototype.isSubscribed=function(){return Boolean(this.unsubscribe)},e.prototype.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.onStateChange):this.store.subscribe(this.onStateChange),this.listeners=r())},e.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=i)},e}();t.default=a},function(e,t){"use strict";function n(e,t){return e===t?0!==e||0!==t||1/e===1/t:e!==e&&t!==t}function r(e,t){if(n(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),i=Object.keys(t);if(r.length!==i.length)return!1;for(var a=0;a<r.length;a++)if(!o.call(t,r[a])||!n(e[r[a]],t[r[a]]))return!1;return!0}t.__esModule=!0,t.default=r;var o=Object.prototype.hasOwnProperty},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(1),a=r(i),s=n(455),u=r(s),c=a.default.createClass({displayName:"IndexLink",render:function(){return a.default.createElement(u.default,o({},this.props,{onlyActiveOnIndex:!0}))}});t.default=c,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(1),i=r(o),a=n(123),s=(r(a),n(17)),u=r(s),c=n(457),l=r(c),f=n(150),p=i.default.PropTypes,d=p.string,h=p.object,v=i.default.createClass({displayName:"IndexRedirect",statics:{createRouteFromReactElement:function(e,t){t&&(t.indexRoute=l.default.createRouteFromReactElement(e))}},propTypes:{to:d.isRequired,query:h,state:h,onEnter:f.falsy,children:f.falsy},render:function(){(0,u.default)(!1)}});t.default=v,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(1),i=r(o),a=n(123),s=(r(a),n(17)),u=r(s),c=n(80),l=n(150),f=i.default.PropTypes.func,p=i.default.createClass({displayName:"IndexRoute",statics:{createRouteFromReactElement:function(e,t){t&&(t.indexRoute=(0,c.createRouteFromReactElement)(e))}},propTypes:{path:l.falsy,component:l.component,components:l.components,getComponent:f,getComponents:f},render:function(){(0,u.default)(!1)}});t.default=p,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(1),i=r(o),a=n(17),s=r(a),u=n(80),c=n(150),l=i.default.PropTypes,f=l.string,p=l.func,d=i.default.createClass({displayName:"Route",statics:{createRouteFromReactElement:u.createRouteFromReactElement},propTypes:{path:f,component:c.component,components:c.components,getComponent:p,getComponents:p},render:function(){(0,s.default)(!1)}});t.default=d,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(17),s=r(a),u=n(1),c=r(u),l=n(461),f=r(l),p=n(150),d=n(304),h=r(d),v=n(80),y=n(458),g=n(123),m=(r(g),c.default.PropTypes),_=m.func,b=m.object,w={history:b,children:p.routes,routes:p.routes,render:_,createElement:_,onError:_,onUpdate:_,matchContext:b},E=c.default.createClass({displayName:"Router",propTypes:w,getDefaultProps:function(){return{render:function(e){return c.default.createElement(h.default,e)}}},getInitialState:function(){return{location:null,routes:null,params:null,components:null}},handleError:function(e){if(!this.props.onError)throw e;this.props.onError.call(this,e)},createRouterObject:function(e){var t=this.props.matchContext;if(t)return t.router;var n=this.props.history;return(0,y.createRouterObject)(n,this.transitionManager,e)},createTransitionManager:function(){var e=this.props.matchContext;if(e)return e.transitionManager;var t=this.props.history,n=this.props,r=n.routes,o=n.children;return t.getCurrentLocation?void 0:(0,s.default)(!1),(0,f.default)(t,(0,v.createRoutes)(r||o))},componentWillMount:function(){var e=this;this.transitionManager=this.createTransitionManager(),this.router=this.createRouterObject(this.state),this._unlisten=this.transitionManager.listen(function(t,n){t?e.handleError(t):((0,y.assignRouterState)(e.router,n),e.setState(n,e.props.onUpdate))})},componentWillReceiveProps:function(e){},componentWillUnmount:function(){this._unlisten&&this._unlisten()},render:function e(){var t=this.state,n=t.location,r=t.routes,a=t.params,s=t.components,u=this.props,c=u.createElement,e=u.render,l=o(u,["createElement","render"]);return null==n?null:(Object.keys(w).forEach(function(e){return delete l[e]}),e(i({},l,{router:this.router,location:n,routes:r,params:a,components:s,createElement:c})))}});t.default=E,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t,n,r){var o=e.length<n,i=function(){for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];if(e.apply(t,r),o){var a=r[r.length-1];a()}};return r.add(i),i}function i(e){return e.reduce(function(e,t){return t.onEnter&&e.push(o(t.onEnter,t,3,d)),e},[])}function a(e){return e.reduce(function(e,t){return t.onChange&&e.push(o(t.onChange,t,4,h)),e},[])}function s(e,t,n){function r(e){o=e}if(!e)return void n();var o=void 0;(0,f.loopAsync)(e,function(e,n,i){t(e,r,function(e){e||o?i(e,o):n()})},n)}function u(e,t,n){d.clear();var r=i(e);return s(r.length,function(e,n,o){var i=function(){d.has(r[e])&&(o.apply(void 0,arguments),d.remove(r[e]))};r[e](t,n,i)},n)}function c(e,t,n,r){h.clear();var o=a(e);return s(o.length,function(e,r,i){var a=function(){h.has(o[e])&&(i.apply(void 0,arguments),h.remove(o[e]))};o[e](t,n,r,a)},r)}function l(e,t){for(var n=0,r=e.length;n<r;++n)e[n].onLeave&&e[n].onLeave.call(e[n],t)}t.__esModule=!0,t.runEnterHooks=u,t.runChangeHooks=c,t.runLeaveHooks=l;var f=n(301),p=function e(){var t=this;r(this,e),this.hooks=[],this.add=function(e){return t.hooks.push(e)},this.remove=function(e){return t.hooks=t.hooks.filter(function(t){return t!==e})},this.has=function(e){return t.hooks.indexOf(e)!==-1},this.clear=function(){return t.hooks=[]}},d=new p,h=new p},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(1),a=r(i),s=n(304),u=r(s),c=n(123);r(c);t.default=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.map(function(e){return e.renderRouterContext}).filter(Boolean),s=t.map(function(e){return e.renderRouteComponent}).filter(Boolean),c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.createElement;return function(t,n){return s.reduceRight(function(e,t){return t(e,n)},e(t,n))}};return function(e){return r.reduceRight(function(t,n){return n(t,e)},a.default.createElement(u.default,o({},e,{createElement:c(e.createElement)})))}},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(853),i=r(o),a=n(460),s=r(a);t.default=(0,s.default)(i.default),e.exports=t.default},function(e,t,n){"use strict";function r(e,t,n){if(!e.path)return!1;var r=(0,i.getParamNames)(e.path);return r.some(function(e){return t.params[e]!==n.params[e]})}function o(e,t){var n=e&&e.routes,o=t.routes,i=void 0,a=void 0,s=void 0;if(n){var u=!1;i=n.filter(function(n){if(u)return!0;var i=o.indexOf(n)===-1||r(n,e,t);return i&&(u=!0),i}),i.reverse(),s=[],a=[],o.forEach(function(e){var t=n.indexOf(e)===-1,r=i.indexOf(e)!==-1;t||r?s.push(e):a.push(e)})}else i=[],a=[],s=o;return{leaveRoutes:i,changeRoutes:a,enterRoutes:s}}t.__esModule=!0;var i=n(122);t.default=o,e.exports=t.default},function(e,t,n){"use strict";function r(e,t,n){if(t.component||t.components)return void n(null,t.component||t.components);var r=t.getComponent||t.getComponents;if(r){var o=r.call(t,e,n);(0,a.isPromise)(o)&&o.then(function(e){return n(null,e)},n)}else n()}function o(e,t){(0,i.mapAsync)(e.routes,function(t,n,o){r(e,t,o)},t)}t.__esModule=!0;var i=n(301),a=n(456);t.default=o,
-e.exports=t.default},function(e,t,n){"use strict";function r(e,t){var n={};return e.path?((0,o.getParamNames)(e.path).forEach(function(e){Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e])}),n):n}t.__esModule=!0;var o=n(122);t.default=r,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(854),i=r(o),a=n(460),s=r(a);t.default=(0,s.default)(i.default),e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if(e==t)return!0;if(null==e||null==t)return!1;if(Array.isArray(e))return Array.isArray(t)&&e.length===t.length&&e.every(function(e,n){return r(e,t[n])});if("object"===("undefined"==typeof e?"undefined":u(e))){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))if(void 0===e[n]){if(void 0!==t[n])return!1}else{if(!Object.prototype.hasOwnProperty.call(t,n))return!1;if(!r(e[n],t[n]))return!1}return!0}return String(e)===String(t)}function o(e,t){return"/"!==t.charAt(0)&&(t="/"+t),"/"!==e.charAt(e.length-1)&&(e+="/"),"/"!==t.charAt(t.length-1)&&(t+="/"),t===e}function i(e,t,n){for(var r=e,o=[],i=[],a=0,s=t.length;a<s;++a){var u=t[a],l=u.path||"";if("/"===l.charAt(0)&&(r=e,o=[],i=[]),null!==r&&l){var f=(0,c.matchPattern)(l,r);if(f?(r=f.remainingPathname,o=[].concat(o,f.paramNames),i=[].concat(i,f.paramValues)):r=null,""===r)return o.every(function(e,t){return String(i[t])===String(n[e])})}}return!1}function a(e,t){return null==t?null==e:null==e||r(e,t)}function s(e,t,n,r,s){var u=e.pathname,c=e.query;return null!=n&&("/"!==u.charAt(0)&&(u="/"+u),!!(o(u,n.pathname)||!t&&i(u,r,s))&&a(c,n.query))}t.__esModule=!0;var u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=s;var c=n(122);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){var n=e.history,r=e.routes,i=e.location,u=o(e,["history","routes","location"]);n||i?void 0:(0,c.default)(!1),n=n?n:(0,f.default)(u);var l=(0,d.default)(n,(0,h.createRoutes)(r));i=i?n.createLocation(i):n.getCurrentLocation(),l.match(i,function(e,r,o){var i=void 0;if(o){var u=(0,v.createRouterObject)(n,l,o);i=a({},o,{router:u,matchContext:{transitionManager:l,router:u}})}t(e,r&&n.createLocation(r,s.REPLACE),i)})}t.__esModule=!0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(178),u=n(17),c=r(u),l=n(459),f=r(l),p=n(461),d=r(p),h=n(80),v=n(458);t.default=i,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n,r,o){if(e.childRoutes)return[null,e.childRoutes];if(!e.getChildRoutes)return[];var i=!0,a=void 0,u={location:t,params:s(n,r)},c=e.getChildRoutes(u,function(e,t){return t=!e&&(0,v.createRoutes)(t),i?void(a=[e,t]):void o(e,t)});return(0,p.isPromise)(c)&&c.then(function(e){return o(null,(0,v.createRoutes)(e))},o),i=!1,a}function i(e,t,n,r,a){if(e.indexRoute)a(null,e.indexRoute);else if(e.getIndexRoute){var u={location:t,params:s(n,r)},c=e.getIndexRoute(u,function(e,t){a(e,!e&&(0,v.createRoutes)(t)[0])});(0,p.isPromise)(c)&&c.then(function(e){return a(null,(0,v.createRoutes)(e)[0])},a)}else if(e.childRoutes||e.getChildRoutes){var l=function(e,o){if(e)return void a(e);var s=o.filter(function(e){return!e.path});(0,f.loopAsync)(s.length,function(e,o,a){i(s[e],t,n,r,function(t,n){if(t||n){var r=[s[e]].concat(Array.isArray(n)?n:[n]);a(t,r)}else o()})},function(e,t){a(null,t)})},d=o(e,t,n,r,l);d&&l.apply(void 0,d)}else a()}function a(e,t,n){return t.reduce(function(e,t,r){var o=n&&n[r];return Array.isArray(e[t])?e[t].push(o):t in e?e[t]=[e[t],o]:e[t]=o,e},e)}function s(e,t){return a({},e,t)}function u(e,t,n,r,a,u){var l=e.path||"";if("/"===l.charAt(0)&&(n=t.pathname,r=[],a=[]),null!==n&&l){try{var f=(0,d.matchPattern)(l,n);f?(n=f.remainingPathname,r=[].concat(r,f.paramNames),a=[].concat(a,f.paramValues)):n=null}catch(e){u(e)}if(""===n){var p={routes:[e],params:s(r,a)};return void i(e,t,r,a,function(e,t){if(e)u(e);else{if(Array.isArray(t)){var n;(n=p.routes).push.apply(n,t)}else t&&p.routes.push(t);u(null,p)}})}}if(null!=n||e.childRoutes){var h=function(o,i){o?u(o):i?c(i,t,function(t,n){t?u(t):n?(n.routes.unshift(e),u(null,n)):u()},n,r,a):u()},v=o(e,t,r,a,h);v&&h.apply(void 0,v)}else u()}function c(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[];void 0===r&&("/"!==t.pathname.charAt(0)&&(t=l({},t,{pathname:"/"+t.pathname})),r=t.pathname),(0,f.loopAsync)(e.length,function(n,a,s){u(e[n],t,r,o,i,function(e,t){e||t?s(e,t):a()})},n)}t.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=c;var f=n(301),p=n(456),d=n(122),h=n(123),v=(r(h),n(80));e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return e.displayName||e.name||"Component"}function i(e,t){var n=t&&t.withRef,r=l.default.createClass({displayName:"WithRouter",mixins:[(0,d.ContextSubscriber)("router")],contextTypes:{router:h.routerShape},propTypes:{router:h.routerShape},getWrappedInstance:function(){return n?void 0:(0,u.default)(!1),this.wrappedInstance},render:function(){var t=this,r=this.props.router||this.context.router;if(!r)return l.default.createElement(e,this.props);var o=r.params,i=r.location,s=r.routes,u=a({},this.props,{router:r,params:o,location:i,routes:s});return n&&(u.ref=function(e){t.wrappedInstance=e}),l.default.createElement(e,u)}});return r.displayName="withRouter("+o(e)+")",r.WrappedComponent=e,(0,p.default)(r,e)}t.__esModule=!0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=i;var s=n(17),u=r(s),c=n(1),l=r(c),f=n(144),p=r(f),d=n(302),h=n(303);e.exports=t.default},function(e,t,n){"use strict";function r(e,t){var n=l.extractSingleTouch(t);return n?n[e.page]:e.page in t?t[e.page]:t[e.client]+f[e.envScroll]}function o(e,t){var n=r(b.x,t),o=r(b.y,t);return Math.pow(Math.pow(n-e.x,2)+Math.pow(o-e.y,2),.5)}function i(e){return{tapMoveThreshold:y,ignoreMouseThreshold:g,eventTypes:T,extractEvents:function(t,n,i,a){if(!d(t)&&!h(t))return null;if(v(t))_=C();else if(e(_,C()))return null;var s=null,l=o(m,i);return h(t)&&l<y&&(s=c.getPooled(T.touchTap,n,i,a)),d(t)?(m.x=r(b.x,i),m.y=r(b.y,i)):h(t)&&(m.x=0,m.y=0),u.accumulateTwoPhaseDispatches(s),s}}}var a=n(1007),s=n(192),u=n(119),c=n(121),l=n(1101),f=n(291),p=n(847),d=(a.topLevelTypes,s.isStartish),h=s.isEndish,v=function(e){var t=["topTouchCancel","topTouchEnd","topTouchStart","topTouchMove"];return t.indexOf(e)>=0},y=10,g=750,m={x:null,y:null},_=null,b={x:{page:"pageX",client:"clientX",envScroll:"currentPageScrollLeft"},y:{page:"pageY",client:"clientY",envScroll:"currentPageScrollTop"}},w=["topTouchStart","topTouchCancel","topTouchEnd","topTouchMove"],E=["topMouseDown","topMouseMove","topMouseUp"].concat(w),T={touchTap:{phasedRegistrationNames:{bubbled:p({onTouchTap:null}),captured:p({onTouchTapCapture:null})},dependencies:E}},C=function(){return Date.now?Date.now:function(){return+new Date}}();e.exports=i},function(e,t){var n={extractSingleTouch:function(e){var t=e.touches,n=e.changedTouches,r=t&&t.length>0,o=n&&n.length>0;return!r&&o?n[0]:r?t[0]:e}};e.exports=n},function(e,t){e.exports=function(e,t){if(e&&t-e<750)return!0}},function(e,t,n){var r=(n(11),n(1102)),o=!1;e.exports=function(e){e=e||{};var t=e.shouldRejectClick||r;o=!0,n(118).injection.injectEventPluginsByName({TapEventPlugin:n(1100)(t)})}},,,,286,[1635,126],function(e,t,n){"use strict";function r(e){return(""+e).replace(b,"$&/")}function o(e,t){this.func=e,this.context=t,this.count=0}function i(e,t,n){var r=e.func,o=e.context;r.call(o,t,e.count++)}function a(e,t,n){if(null==e)return e;var r=o.getPooled(t,n);g(e,i,r),o.release(r)}function s(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function u(e,t,n){var o=e.result,i=e.keyPrefix,a=e.func,s=e.context,u=a.call(s,t,e.count++);Array.isArray(u)?c(u,o,n,y.thatReturnsArgument):null!=u&&(v.isValidElement(u)&&(u=v.cloneAndReplaceKey(u,i+(!u.key||t&&t.key===u.key?"":r(u.key)+"/")+n)),o.push(u))}function c(e,t,n,o,i){var a="";null!=n&&(a=r(n)+"/");var c=s.getPooled(t,a,o,i);g(e,u,c),s.release(c)}function l(e,t,n){if(null==e)return e;var r=[];return c(e,r,null,t,n),r}function f(e,t,n){return null}function p(e,t){return g(e,f,null)}function d(e){var t=[];return c(e,t,null,y.thatReturnsArgument),t}var h=n(1108),v=n(125),y=n(52),g=n(1117),m=h.twoArgumentPooler,_=h.fourArgumentPooler,b=/\/+/g;o.prototype.destructor=function(){this.func=null,this.context=null,this.count=0},h.addPoolingTo(o,m),s.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},h.addPoolingTo(s,_);var w={forEach:a,map:l,mapIntoWithKeyPrefixInternal:c,count:p,toArray:d};e.exports=w},function(e,t,n){"use strict";function r(e){return e}function o(e,t){var n=b.hasOwnProperty(t)?b[t]:null;E.hasOwnProperty(t)&&("OVERRIDE_BASE"!==n?p("73",t):void 0),e&&("DEFINE_MANY"!==n&&"DEFINE_MANY_MERGED"!==n?p("74",t):void 0)}function i(e,t){if(t){"function"==typeof t?p("75"):void 0,v.isValidElement(t)?p("76"):void 0;var n=e.prototype,r=n.__reactAutoBindPairs;t.hasOwnProperty(m)&&w.mixins(e,t.mixins);for(var i in t)if(t.hasOwnProperty(i)&&i!==m){var a=t[i],s=n.hasOwnProperty(i);if(o(s,i),w.hasOwnProperty(i))w[i](e,a);else{var l=b.hasOwnProperty(i),f="function"==typeof a,d=f&&!l&&!s&&t.autobind!==!1;if(d)r.push(i,a),n[i]=a;else if(s){var h=b[i];!l||"DEFINE_MANY_MERGED"!==h&&"DEFINE_MANY"!==h?p("77",h,i):void 0,"DEFINE_MANY_MERGED"===h?n[i]=u(n[i],a):"DEFINE_MANY"===h&&(n[i]=c(n[i],a))}else n[i]=a}}}else;}function a(e,t){if(t)for(var n in t){var r=t[n];if(t.hasOwnProperty(n)){var o=n in w;o?p("78",n):void 0;var i=n in e;i?p("79",n):void 0,e[n]=r}}}function s(e,t){e&&t&&"object"==typeof e&&"object"==typeof t?void 0:p("80");for(var n in t)t.hasOwnProperty(n)&&(void 0!==e[n]?p("81",n):void 0,e[n]=t[n]);return e}function u(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);if(null==n)return r;if(null==r)return n;var o={};return s(o,n),s(o,r),o}}function c(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function l(e,t){var n=t.bind(e);return n}function f(e){for(var t=e.__reactAutoBindPairs,n=0;n<t.length;n+=2){var r=t[n],o=t[n+1];e[r]=l(e,o)}}var p=n(126),d=n(21),h=n(306),v=n(125),y=(n(468),n(307)),g=n(143),m=(n(11),n(14),"mixins"),_=[],b={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},w={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)i(e,t[n])},childContextTypes:function(e,t){e.childContextTypes=d({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=d({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=u(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){e.propTypes=d({},e.propTypes,t)},statics:function(e,t){a(e,t)},autobind:function(){}},E={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e),t&&this.updater.enqueueCallback(this,t,"replaceState")},isMounted:function(){return this.updater.isMounted(this)}},T=function(){};d(T.prototype,h.prototype,E);var C={createClass:function(e){var t=r(function(e,n,r){this.__reactAutoBindPairs.length&&f(this),this.props=e,this.context=n,this.refs=g,this.updater=r||y,this.state=null;var o=this.getInitialState?this.getInitialState():null;"object"!=typeof o||Array.isArray(o)?p("82",t.displayName||"ReactCompositeComponent"):void 0,this.state=o});t.prototype=new T,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],_.forEach(i.bind(null,t)),i(t,e),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),t.prototype.render?void 0:p("83");for(var n in b)t.prototype[n]||(t.prototype[n]=null);return t},injection:{injectMixin:function(e){_.push(e)}}};e.exports=C},function(e,t,n){"use strict";var r=n(125),o=r.createFactory,i={a:o("a"),abbr:o("abbr"),address:o("address"),area:o("area"),article:o("article"),aside:o("aside"),audio:o("audio"),b:o("b"),base:o("base"),bdi:o("bdi"),bdo:o("bdo"),big:o("big"),blockquote:o("blockquote"),body:o("body"),br:o("br"),button:o("button"),canvas:o("canvas"),caption:o("caption"),cite:o("cite"),code:o("code"),col:o("col"),colgroup:o("colgroup"),data:o("data"),datalist:o("datalist"),dd:o("dd"),del:o("del"),details:o("details"),dfn:o("dfn"),dialog:o("dialog"),div:o("div"),dl:o("dl"),dt:o("dt"),em:o("em"),embed:o("embed"),fieldset:o("fieldset"),figcaption:o("figcaption"),figure:o("figure"),footer:o("footer"),form:o("form"),h1:o("h1"),h2:o("h2"),h3:o("h3"),h4:o("h4"),h5:o("h5"),h6:o("h6"),head:o("head"),header:o("header"),hgroup:o("hgroup"),hr:o("hr"),html:o("html"),i:o("i"),iframe:o("iframe"),img:o("img"),input:o("input"),ins:o("ins"),kbd:o("kbd"),keygen:o("keygen"),label:o("label"),legend:o("legend"),li:o("li"),link:o("link"),main:o("main"),map:o("map"),mark:o("mark"),menu:o("menu"),menuitem:o("menuitem"),meta:o("meta"),meter:o("meter"),nav:o("nav"),noscript:o("noscript"),object:o("object"),ol:o("ol"),optgroup:o("optgroup"),option:o("option"),output:o("output"),p:o("p"),param:o("param"),picture:o("picture"),pre:o("pre"),progress:o("progress"),q:o("q"),rp:o("rp"),rt:o("rt"),ruby:o("ruby"),s:o("s"),samp:o("samp"),script:o("script"),section:o("section"),select:o("select"),small:o("small"),source:o("source"),span:o("span"),strong:o("strong"),style:o("style"),sub:o("sub"),summary:o("summary"),sup:o("sup"),table:o("table"),tbody:o("tbody"),td:o("td"),textarea:o("textarea"),tfoot:o("tfoot"),th:o("th"),thead:o("thead"),time:o("time"),title:o("title"),tr:o("tr"),track:o("track"),u:o("u"),ul:o("ul"),var:o("var"),video:o("video"),wbr:o("wbr"),circle:o("circle"),clipPath:o("clipPath"),defs:o("defs"),ellipse:o("ellipse"),g:o("g"),image:o("image"),line:o("line"),linearGradient:o("linearGradient"),mask:o("mask"),path:o("path"),pattern:o("pattern"),polygon:o("polygon"),polyline:o("polyline"),radialGradient:o("radialGradient"),rect:o("rect"),stop:o("stop"),svg:o("svg"),text:o("text"),tspan:o("tspan")};e.exports=i},function(e,t,n){"use strict";function r(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}function o(e){this.message=e,this.stack=""}function i(e){function t(t,n,r,i,a,s,u){i=i||x,s=s||r;if(null==n[r]){var c=E[a];return t?new o(null===n[r]?"The "+c+" `"+s+"` is marked as required "+("in `"+i+"`, but its value is `null`."):"The "+c+" `"+s+"` is marked as required in "+("`"+i+"`, but its value is `undefined`.")):null}return e(n,r,i,a,s)}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}function a(e){function t(t,n,r,i,a,s){var u=t[n],c=m(u);if(c!==e){var l=E[i],f=_(u);return new o("Invalid "+l+" `"+a+"` of type "+("`"+f+"` supplied to `"+r+"`, expected ")+("`"+e+"`."))}return null}return i(t)}function s(){return i(C.thatReturns(null))}function u(e){function t(t,n,r,i,a){if("function"!=typeof e)return new o("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s)){var u=E[i],c=m(s);return new o("Invalid "+u+" `"+a+"` of type "+("`"+c+"` supplied to `"+r+"`, expected an array."))}for(var l=0;l<s.length;l++){var f=e(s,l,r,i,a+"["+l+"]",T);if(f instanceof Error)return f}return null}return i(t)}function c(){function e(e,t,n,r,i){var a=e[t];if(!w.isValidElement(a)){var s=E[r],u=m(a);return new o("Invalid "+s+" `"+i+"` of type "+("`"+u+"` supplied to `"+n+"`, expected a single ReactElement."))}return null}return i(e)}function l(e){function t(t,n,r,i,a){if(!(t[n]instanceof e)){var s=E[i],u=e.name||x,c=b(t[n]);return new o("Invalid "+s+" `"+a+"` of type "+("`"+c+"` supplied to `"+r+"`, expected ")+("instance of `"+u+"`."))}return null}return i(t)}function f(e){function t(t,n,i,a,s){for(var u=t[n],c=0;c<e.length;c++)if(r(u,e[c]))return null;var l=E[a],f=JSON.stringify(e);return new o("Invalid "+l+" `"+s+"` of value `"+u+"` "+("supplied to `"+i+"`, expected one of "+f+"."))}return Array.isArray(e)?i(t):C.thatReturnsNull}function p(e){function t(t,n,r,i,a){if("function"!=typeof e)return new o("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var s=t[n],u=m(s);if("object"!==u){var c=E[i];return new o("Invalid "+c+" `"+a+"` of type "+("`"+u+"` supplied to `"+r+"`, expected an object."))}for(var l in s)if(s.hasOwnProperty(l)){var f=e(s,l,r,i,a+"."+l,T);if(f instanceof Error)return f}return null}return i(t)}function d(e){function t(t,n,r,i,a){for(var s=0;s<e.length;s++){var u=e[s];if(null==u(t,n,r,i,a,T))return null}var c=E[i];return new o("Invalid "+c+" `"+a+"` supplied to "+("`"+r+"`."))}return Array.isArray(e)?i(t):C.thatReturnsNull}function h(){function e(e,t,n,r,i){if(!y(e[t])){var a=E[r];return new o("Invalid "+a+" `"+i+"` supplied to "+("`"+n+"`, expected a ReactNode."))}return null}return i(e)}function v(e){function t(t,n,r,i,a){var s=t[n],u=m(s);if("object"!==u){var c=E[i];return new o("Invalid "+c+" `"+a+"` of type `"+u+"` "+("supplied to `"+r+"`, expected `object`."))}for(var l in e){var f=e[l];if(f){var p=f(s,l,r,i,a+"."+l,T);if(p)return p}}return null}return i(t)}function y(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(y);if(null===e||w.isValidElement(e))return!0;var t=S(e);if(!t)return!1;var n,r=t.call(e);if(t!==e.entries){for(;!(n=r.next()).done;)if(!y(n.value))return!1}else for(;!(n=r.next()).done;){var o=n.value;if(o&&!y(o[1]))return!1}return!0;default:return!1}}function g(e,t){return"symbol"===e||("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}function m(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":g(t,e)?"symbol":t}function _(e){var t=m(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function b(e){return e.constructor&&e.constructor.name?e.constructor.name:x}var w=n(125),E=n(468),T=n(1113),C=n(52),S=n(470),x=(n(14),"<<anonymous>>"),O={array:a("array"),bool:a("boolean"),func:a("function"),number:a("number"),object:a("object"),string:a("string"),symbol:a("symbol"),any:s(),arrayOf:u,element:c(),instanceOf:l,node:h(),objectOf:p,oneOf:f,oneOfType:d,shape:v};o.prototype=Error.prototype,e.exports=O},1034,function(e,t,n){"use strict";function r(e,t,n){this.props=e,this.context=t,this.refs=u,this.updater=n||s}function o(){}var i=n(21),a=n(306),s=n(307),u=n(143);o.prototype=a.prototype,r.prototype=new o,r.prototype.constructor=r,i(r.prototype,a.prototype),r.prototype.isPureReactComponent=!0,e.exports=r},1039,function(e,t,n){"use strict";function r(e){return i.isValidElement(e)?void 0:o("143"),e}var o=n(126),i=n(125);n(11);e.exports=r},function(e,t,n){"use strict";function r(e,t){return e&&"object"==typeof e&&null!=e.key?c.escape(e.key):t.toString(36)}function o(e,t,n,i){var p=typeof e;if("undefined"!==p&&"boolean"!==p||(e=null),null===e||"string"===p||"number"===p||"object"===p&&e.$$typeof===s)return n(i,e,""===t?l+r(e,0):t),1;var d,h,v=0,y=""===t?l:t+f;if(Array.isArray(e))for(var g=0;g<e.length;g++)d=e[g],h=y+r(d,g),v+=o(d,h,n,i);else{var m=u(e);if(m){var _,b=m.call(e);if(m!==e.entries)for(var w=0;!(_=b.next()).done;)d=_.value,h=y+r(d,w++),v+=o(d,h,n,i);else for(;!(_=b.next()).done;){var E=_.value;E&&(d=E[1],h=y+c.escape(E[0])+f+r(d,0),v+=o(d,h,n,i))}}else if("object"===p){var T="",C=String(e);a("31","[object Object]"===C?"object with keys {"+Object.keys(e).join(", ")+"}":C,T)}}return v}function i(e,t,n){return null==e?0:o(e,"",t,n)}var a=n(126),s=(n(73),n(467)),u=n(470),c=(n(11),n(1107)),l=(n(14),"."),f=":";e.exports=i},function(e,t,n){"use strict";e.exports=n(1119).Recorder},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0}),t.Recorder=void 0;var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(856),s=r(a),u=t.Recorder=function(){function e(t,n){var r=this;o(this,e),this.config={bufferLen:4096,numChannels:2,mimeType:"audio/wav"},this.recording=!1,this.callbacks={getBuffer:[],exportWAV:[]},Object.assign(this.config,n),this.context=t.context,this.node=(this.context.createScriptProcessor||this.context.createJavaScriptNode).call(this.context,this.config.bufferLen,this.config.numChannels,this.config.numChannels),this.node.onaudioprocess=function(e){if(r.recording){for(var t=[],n=0;n<r.config.numChannels;n++)t.push(e.inputBuffer.getChannelData(n));r.worker.postMessage({command:"record",buffer:t})}},t.connect(this.node),this.node.connect(this.context.destination);var i={};this.worker=new s.default(function(){function e(e){d=e.sampleRate,h=e.numChannels,i()}function t(e){for(var t=0;t<h;t++)p[t].push(e[t]);f+=e[0].length}function n(e){for(var t=[],n=0;n<h;n++)t.push(a(p[n],f));var r=void 0;r=2===h?s(t[0],t[1]):t[0];var o=l(r),i=new Blob([o],{type:e});this.postMessage({command:"exportWAV",data:i})}function r(){for(var e=[],t=0;t<h;t++)e.push(a(p[t],f));this.postMessage({command:"getBuffer",data:e})}function o(){f=0,p=[],i()}function i(){for(var e=0;e<h;e++)p[e]=[]}function a(e,t){for(var n=new Float32Array(t),r=0,o=0;o<e.length;o++)n.set(e[o],r),r+=e[o].length;return n}function s(e,t){for(var n=e.length+t.length,r=new Float32Array(n),o=0,i=0;o<n;)r[o++]=e[i],r[o++]=t[i],i++;return r}function u(e,t,n){for(var r=0;r<n.length;r++,t+=2){var o=Math.max(-1,Math.min(1,n[r]));e.setInt16(t,o<0?32768*o:32767*o,!0)}}function c(e,t,n){for(var r=0;r<n.length;r++)e.setUint8(t+r,n.charCodeAt(r))}function l(e){var t=new ArrayBuffer(44+2*e.length),n=new DataView(t);return c(n,0,"RIFF"),n.setUint32(4,36+2*e.length,!0),c(n,8,"WAVE"),c(n,12,"fmt "),n.setUint32(16,16,!0),n.setUint16(20,1,!0),n.setUint16(22,h,!0),n.setUint32(24,d,!0),n.setUint32(28,4*d,!0),n.setUint16(32,2*h,!0),n.setUint16(34,16,!0),c(n,36,"data"),n.setUint32(40,2*e.length,!0),u(n,44,e),n}var f=0,p=[],d=void 0,h=void 0;this.onmessage=function(i){switch(i.data.command){case"init":e(i.data.config);break;case"record":t(i.data.buffer);break;case"exportWAV":n(i.data.type);break;case"getBuffer":r();break;case"clear":o()}}},i),this.worker.postMessage({command:"init",config:{sampleRate:this.context.sampleRate,numChannels:this.config.numChannels}}),this.worker.onmessage=function(e){var t=r.callbacks[e.data.command].pop();"function"==typeof t&&t(e.data.data)}}return i(e,[{key:"record",value:function(){this.recording=!0}},{key:"stop",value:function(){this.recording=!1}},{key:"clear",value:function(){this.worker.postMessage({command:"clear"})}},{key:"getBuffer",value:function(e){if(e=e||this.config.callback,!e)throw new Error("Callback not set");this.callbacks.getBuffer.push(e),this.worker.postMessage({command:"getBuffer"})}},{key:"exportWAV",value:function(e,t){if(t=t||this.config.mimeType,e=e||this.config.callback,!e)throw new Error("Callback not set");this.callbacks.exportWAV.push(e),this.worker.postMessage({command:"exportWAV",type:t})}}],[{key:"forceDownload",value:function(e,t){var n=(window.URL||window.webkitURL).createObjectURL(e),r=window.document.createElement("a");r.href=n,r.download=t||"output.wav";var o=document.createEvent("Event");o.initEvent("click",!0,!0),r.dispatchEvent(o)}}]),e}();t.default=u},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=n(1),l=r(c),f=n(997),p=r(f),d=n(472),h=n(471),v=n(1122),y=r(v),g=n(963),m=r(g),_=function(e){function t(n){i(this,t);var r=a(this,e.call(this,n));r.handleKeyDown=r.handleKeyDown.bind(r),r.handleSizeChange=r.handleSizeChange.bind(r);var o=c.Children.count(n.children);return 0===o?console.error("<DockMonitor> requires at least one monitor inside. Why don’t you try <LogMonitor>? You can get it at https://github.com/gaearon/redux-devtools-log-monitor."):o>1&&!n.changeMonitorKey&&console.error('You specified multiple monitors inside <DockMonitor> but did not provide `changeMonitorKey` prop to change them. Try specifying <DockMonitor changeMonitorKey="ctrl-m" /> and then press Ctrl-M.'),r}return s(t,e),t.prototype.componentDidMount=function(){window.addEventListener("keydown",this.handleKeyDown)},t.prototype.componentWillUnmount=function(){window.removeEventListener("keydown",this.handleKeyDown)},t.prototype.matchesKey=function(e,t){if(!e)return!1;var n=t.keyCode||t.which,r=String.fromCharCode(n);return e.name.toUpperCase()===r.toUpperCase()&&e.alt===t.altKey&&e.ctrl===t.ctrlKey&&e.meta===t.metaKey&&e.shift===t.shiftKey},t.prototype.handleKeyDown=function(e){if(e.ctrlKey||e.metaKey||e.altKey||"INPUT"!==e.target.tagName&&"SELECT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&!e.target.isContentEditable){var t=(0,m.default)(this.props.toggleVisibilityKey),n=(0,m.default)(this.props.changePositionKey),r=void 0;this.props.changeMonitorKey&&(r=(0,m.default)(this.props.changeMonitorKey)),this.matchesKey(t,e)?(e.preventDefault(),this.props.dispatch((0,h.toggleVisibility)())):this.matchesKey(n,e)?(e.preventDefault(),this.props.dispatch((0,h.changePosition)())):this.matchesKey(r,e)&&(e.preventDefault(),this.props.dispatch((0,h.changeMonitor)()))}},t.prototype.handleSizeChange=function(e){this.props.dispatch((0,h.changeSize)(e))},t.prototype.renderChild=function(e,t,n){var r=this.props.monitorState,o=r.childMonitorIndex,i=r.childMonitorStates;return t!==o?null:(0,c.cloneElement)(e,u({monitorState:i[t]},n))},t.prototype.render=function(){var e=this,t=this.props,n=t.monitorState,r=t.children,i=t.fluid,a=o(t,["monitorState","children","fluid"]),s=n.position,u=n.isVisible,f=n.size;return l.default.createElement(p.default,{position:s,isVisible:u,size:f,fluid:i,onSizeChange:this.handleSizeChange,dimMode:"none"},c.Children.map(r,function(t,n){return e.renderChild(t,n,a)}))},t}(c.Component);_.update=y.default,_.propTypes={defaultPosition:c.PropTypes.oneOf(d.POSITIONS).isRequired,defaultIsVisible:c.PropTypes.bool.isRequired,defaultSize:c.PropTypes.number.isRequired,toggleVisibilityKey:c.PropTypes.string.isRequired,changePositionKey:c.PropTypes.string.isRequired,changeMonitorKey:c.PropTypes.string,fluid:c.PropTypes.bool,dispatch:c.PropTypes.func,monitorState:c.PropTypes.shape({position:c.PropTypes.oneOf(d.POSITIONS).isRequired,size:c.PropTypes.number.isRequired,isVisible:c.PropTypes.bool.isRequired,childMonitorState:c.PropTypes.any})},_.defaultProps={defaultIsVisible:!0,defaultPosition:"right",defaultSize:.3,fluid:!0},t.default=_},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.default=void 0;var o=n(1120),i=r(o);t.default=i.default},function(e,t,n){"use strict";function r(e){var t=arguments.length<=1||void 0===arguments[1]?e.defaultPosition:arguments[1],n=arguments[2];return n.type===c.CHANGE_POSITION?l.POSITIONS[(l.POSITIONS.indexOf(t)+1)%l.POSITIONS.length]:t}function o(e){var t=arguments.length<=1||void 0===arguments[1]?e.defaultSize:arguments[1],n=arguments[2];return n.type===c.CHANGE_SIZE?n.size:t}function i(e){var t=arguments.length<=1||void 0===arguments[1]?e.defaultIsVisible:arguments[1],n=arguments[2];return n.type===c.TOGGLE_VISIBILITY?!t:t}function a(e){var t=arguments.length<=1||void 0===arguments[1]?[]:arguments[1],n=arguments[2];return f.Children.map(e.children,function(e,r){return e.type.update(e.props,t[r],n)})}function s(e){var t=arguments.length<=1||void 0===arguments[1]?0:arguments[1],n=arguments[2];switch(n.type){case c.CHANGE_MONITOR:return(t+1)%f.Children.count(e.children);default:return t}}function u(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=arguments[2];return t.childMonitorStates||f.Children.forEach(e.children,function(e,t){"function"!=typeof e.type.update&&console.error("Child of <DockMonitor> with the index "+t+" "+("("+(e.type.displayName||e.type.name||e.type)+") ")+"does not appear to be a valid Redux DevTools monitor.")}),{position:r(e,t.position,n),isVisible:i(e,t.isVisible,n),size:o(e,t.size,n),childMonitorIndex:s(e,t.childMonitorIndex,n),childMonitorStates:a(e,t.childMonitorStates,n)}}t.__esModule=!0,t.default=u;var c=n(471),l=n(472),f=n(1)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=n(1),l=o(c),f=n(149),p=o(f),d=n(1132),h=r(d),v=n(198),y=n(474),g=n(1131),m=o(g),_=n(1125),b=o(_),w=n(1128),E=o(w),T=n(860),C=o(T),S=v.ActionCreators.toggleAction,x=v.ActionCreators.setActionsActive,O={container:{fontFamily:"monaco, Consolas, Lucida Console, monospace",position:"relative",overflowY:"hidden",width:"100%",height:"100%",minWidth:300,direction:"ltr"},elements:{position:"absolute",left:0,right:0,top:0,bottom:0,overflowX:"hidden",overflowY:"auto"}},k=function(e){function t(n){i(this,t);var r=a(this,e.call(this,n));return r.shouldComponentUpdate=p.default,r.updateScrollTop=(0,C.default)(function(){var e=r.node;r.props.dispatch((0,y.updateScrollTop)(e?e.scrollTop:0))},500),r.handleToggleAction=r.handleToggleAction.bind(r),r.handleToggleConsecutiveAction=r.handleToggleConsecutiveAction.bind(r),r.getRef=r.getRef.bind(r),r}return s(t,e),
-t.prototype.scroll=function(){var e=this.node;if(e&&this.scrollDown){var t=e.offsetHeight,n=e.scrollHeight;e.scrollTop=n-t,this.scrollDown=!1}},t.prototype.componentDidMount=function(){var e=this.node;e&&this.props.monitorState&&(this.props.preserveScrollTop?(e.scrollTop=this.props.monitorState.initialScrollTop,e.addEventListener("scroll",this.updateScrollTop)):(this.scrollDown=!0,this.scroll()))},t.prototype.componentWillUnmount=function(){var e=this.node;e&&this.props.preserveScrollTop&&e.removeEventListener("scroll",this.updateScrollTop)},t.prototype.componentWillReceiveProps=function(e){var t=this.node;if(t)if(this.props.stagedActionIds.length<e.stagedActionIds.length){var n=t.scrollTop,r=t.offsetHeight,o=t.scrollHeight;this.scrollDown=Math.abs(o-(n+r))<20}else this.scrollDown=!1;else this.scrollDown=!0},t.prototype.componentDidUpdate=function(){this.scroll()},t.prototype.handleToggleAction=function(e){this.props.dispatch(S(e))},t.prototype.handleToggleConsecutiveAction=function(e){var t=this.props,n=t.monitorState,r=t.actionsById,o=n.consecutiveToggleStartId;if(o&&r[o]){var i=this.props.skippedActionIds,a=Math.min(o,e),s=Math.max(o,e),u=i.indexOf(o)>-1;this.props.dispatch(x(a,s+1,u)),this.props.dispatch((0,y.startConsecutiveToggle)(null))}else e>0&&this.props.dispatch((0,y.startConsecutiveToggle)(e))},t.prototype.getTheme=function(){var e=this.props.theme;return"string"!=typeof e?e:"undefined"!=typeof h[e]?h[e]:(console.warn("DevTools theme "+e+" not found, defaulting to nicinabox"),h.nicinabox)},t.prototype.getRef=function(e){this.node=e},t.prototype.render=function(){var e=this.getTheme(),t=this.props.monitorState.consecutiveToggleStartId,n=this.props,r=n.dispatch,o=n.actionsById,i=n.skippedActionIds,a=n.stagedActionIds,s=n.computedStates,c=n.currentStateIndex,f=n.select,p=n.expandActionRoot,d=n.expandStateRoot,h=n.markStateDiff,v={theme:e,actionsById:o,skippedActionIds:i,stagedActionIds:a,computedStates:s,currentStateIndex:c,consecutiveToggleStartId:t,select:f,expandActionRoot:p,expandStateRoot:d,markStateDiff:h,onActionClick:this.handleToggleAction,onActionShiftClick:this.handleToggleConsecutiveAction};return l.default.createElement("div",{style:u({},O.container,{backgroundColor:e.base00})},!this.props.hideMainButtons&&l.default.createElement(b.default,{theme:e,dispatch:r,hasStates:s.length>1,hasSkippedActions:i.length>0}),l.default.createElement("div",{style:this.props.hideMainButtons?O.elements:u({},O.elements,{top:30}),ref:this.getRef},l.default.createElement(E.default,v)))},t}(c.Component);k.update=m.default,k.propTypes={dispatch:c.PropTypes.func,computedStates:c.PropTypes.array,actionsById:c.PropTypes.object,stagedActionIds:c.PropTypes.array,skippedActionIds:c.PropTypes.array,monitorState:c.PropTypes.shape({initialScrollTop:c.PropTypes.number,consecutiveToggleStartId:c.PropTypes.number}),preserveScrollTop:c.PropTypes.bool,select:c.PropTypes.func,theme:c.PropTypes.oneOfType([c.PropTypes.object,c.PropTypes.string]),expandActionRoot:c.PropTypes.bool,expandStateRoot:c.PropTypes.bool,markStateDiff:c.PropTypes.bool,hideMainButtons:c.PropTypes.bool},k.defaultProps={select:function(e){return e},theme:"nicinabox",preserveScrollTop:!0,expandActionRoot:!0,expandStateRoot:!0,markStateDiff:!1},t.default=k},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=n(1),c=r(u),l=n(1129),f=r(l),p=n(149),d=r(p),h={base:{cursor:"pointer",fontWeight:"bold",borderRadius:3,padding:4,marginLeft:3,marginRight:3,marginTop:5,marginBottom:5,flexGrow:1,display:"inline-block",fontSize:"0.8em",color:"white",textDecoration:"none"}},v=function(e){function t(n){o(this,t);var r=i(this,e.call(this,n));return r.shouldComponentUpdate=d.default,r.handleMouseEnter=r.handleMouseEnter.bind(r),r.handleMouseLeave=r.handleMouseLeave.bind(r),r.handleMouseDown=r.handleMouseDown.bind(r),r.handleMouseUp=r.handleMouseUp.bind(r),r.onClick=r.onClick.bind(r),r.state={hovered:!1,active:!1},r}return a(t,e),t.prototype.handleMouseEnter=function(){this.setState({hovered:!0})},t.prototype.handleMouseLeave=function(){this.setState({hovered:!1})},t.prototype.handleMouseDown=function(){this.setState({active:!0})},t.prototype.handleMouseUp=function(){this.setState({active:!1})},t.prototype.onClick=function(){this.props.enabled&&this.props.onClick&&this.props.onClick()},t.prototype.render=function(){var e=s({},h.base,{backgroundColor:this.props.theme.base02});return this.props.enabled&&this.state.hovered&&(e=s({},e,{backgroundColor:(0,f.default)(this.props.theme.base02,.2)})),this.props.enabled||(e=s({},e,{opacity:.2,cursor:"text",backgroundColor:"transparent"})),c.default.createElement("a",{onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,onClick:this.onClick,style:e},this.props.children)},t}(c.default.Component);t.default=v},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=n(1),c=r(u),l=n(149),f=r(l),p=n(198),d=n(1124),h=r(d),v=p.ActionCreators.reset,y=p.ActionCreators.rollback,g=p.ActionCreators.commit,m=p.ActionCreators.sweep,_={textAlign:"center",borderBottomWidth:1,borderBottomStyle:"solid",borderColor:"transparent",zIndex:1,display:"flex",flexDirection:"row"},b=function(e){function t(n){o(this,t);var r=i(this,e.call(this,n));return r.shouldComponentUpdate=f.default,r.handleReset=r.handleReset.bind(r),r.handleRollback=r.handleRollback.bind(r),r.handleSweep=r.handleSweep.bind(r),r.handleCommit=r.handleCommit.bind(r),r}return a(t,e),t.prototype.handleRollback=function(){this.props.dispatch(y())},t.prototype.handleSweep=function(){this.props.dispatch(m())},t.prototype.handleCommit=function(){this.props.dispatch(g())},t.prototype.handleReset=function(){this.props.dispatch(v())},t.prototype.render=function(){var e=this.props,t=e.theme,n=e.hasStates,r=e.hasSkippedActions;return c.default.createElement("div",{style:s({},_,{borderColor:t.base02})},c.default.createElement(h.default,{theme:t,onClick:this.handleReset,enabled:!0},"Reset"),c.default.createElement(h.default,{theme:t,onClick:this.handleRollback,enabled:n},"Revert"),c.default.createElement(h.default,{theme:t,onClick:this.handleSweep,enabled:r},"Sweep"),c.default.createElement(h.default,{theme:t,onClick:this.handleCommit,enabled:n},"Commit"))},t}(u.Component);b.propTypes={dispatch:u.PropTypes.func,theme:u.PropTypes.object},t.default=b},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=n(1),l=r(c),f=n(450),p=r(f),d=n(1127),h=r(d),v=n(149),y=r(v),g={entry:{display:"block",WebkitUserSelect:"none"},root:{marginLeft:0},changedData:{backgroundColor:"rgba(128, 128, 128, 0.3)"}},m=function(e,t){return t.reduce(function(e,t){return e&&e[t]},e)},_=function(e,t,n){var r=[].concat(n).reverse().slice(1);return m(e,r)===m(t,r)},b=function(e){function t(n){o(this,t);var r=i(this,e.call(this,n));return r.shouldComponentUpdate=y.default,r.handleActionClick=r.handleActionClick.bind(r),r.shouldExpandNode=r.shouldExpandNode.bind(r),r}return a(t,e),t.prototype.printState=function(e,t){var n=this,r=t;if(!r)try{var o=function(){var t=n.props.select(e),r=n.props.theme;return n.props.markStateDiff&&!function(){var e="undefined"!=typeof n.props.previousState?n.props.select(n.props.previousState):void 0,o=function(n,r,o){var i=n.style;return{style:u({},i,_(t,e,o)?{}:g.changedData)}},i=function(e,t){var n=e.style;return{style:u({},n,t.length>1?{}:g.root)}};r={extend:n.props.theme,tree:g.tree,value:o,nestedNode:i}}(),{v:l.default.createElement(p.default,{theme:r,data:t,invertTheme:!1,keyPath:["state"],shouldExpandNode:n.shouldExpandNode})}}();if("object"===("undefined"==typeof o?"undefined":s(o)))return o.v}catch(e){r="Error selecting state."}return l.default.createElement("div",{style:{color:this.props.theme.base08,paddingTop:20,paddingLeft:30,paddingRight:30,paddingBottom:35}},r)},t.prototype.handleActionClick=function(e){var t=this.props,n=t.actionId,r=t.onActionClick,o=t.onActionShiftClick;n>0&&(e.shiftKey?o(n):r(n))},t.prototype.shouldExpandNode=function(e,t,n){return this.props.expandStateRoot&&0===n},t.prototype.render=function(){var e=this.props,t=e.actionId,n=e.error,r=e.action,o=e.state,i=e.collapsed,a=e.selected,s=e.inFuture,c={opacity:i?.5:1,cursor:t>0?"pointer":"default"};return l.default.createElement("div",{style:{opacity:a?.4:s?.6:1,textDecoration:i?"line-through":"none",color:this.props.theme.base06}},l.default.createElement(h.default,{theme:this.props.theme,collapsed:i,action:r,expandActionRoot:this.props.expandActionRoot,onClick:this.handleActionClick,style:u({},g.entry,c)}),!i&&l.default.createElement("div",{style:{paddingLeft:16}},this.printState(o,n)))},t}(c.Component);b.propTypes={state:c.PropTypes.object.isRequired,action:c.PropTypes.object.isRequired,actionId:c.PropTypes.number.isRequired,select:c.PropTypes.func.isRequired,inFuture:c.PropTypes.bool,error:c.PropTypes.string,onActionClick:c.PropTypes.func.isRequired,onActionShiftClick:c.PropTypes.func.isRequired,collapsed:c.PropTypes.bool,selected:c.PropTypes.bool,expandActionRoot:c.PropTypes.bool,expandStateRoot:c.PropTypes.bool},t.default=b},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=n(1),l=r(c),f=n(450),p=r(f),d={actionBar:{paddingTop:8,paddingBottom:7,paddingLeft:16},payload:{margin:0,paddingLeft:16,overflow:"auto"}},h=function(e){function t(n){i(this,t);var r=a(this,e.call(this,n));return r.shouldExpandNode=r.shouldExpandNode.bind(r),r}return s(t,e),t.prototype.renderPayload=function(e){return l.default.createElement("div",{style:u({},d.payload,{backgroundColor:this.props.theme.base00})},Object.keys(e).length>0?l.default.createElement(p.default,{theme:this.props.theme,invertTheme:!1,keyPath:["action"],data:e,shouldExpandNode:this.shouldExpandNode}):"")},t.prototype.shouldExpandNode=function(e,t,n){return this.props.expandActionRoot&&0===n},t.prototype.render=function(){var e=this.props.action,t=e.type,n=o(e,["type"]);return l.default.createElement("div",{style:u({backgroundColor:this.props.theme.base02,color:this.props.theme.base06},this.props.style)},l.default.createElement("div",{style:d.actionBar,onClick:this.props.onClick},null!==t&&t.toString()),this.props.collapsed?"":this.renderPayload(n))},t}(c.Component);t.default=h},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(1),u=r(s),c=n(1126),l=r(c),f=n(149),p=r(f),d=function(e){function t(){var n,r,a;o(this,t);for(var s=arguments.length,u=Array(s),c=0;c<s;c++)u[c]=arguments[c];return n=r=i(this,e.call.apply(e,[this].concat(u))),r.shouldComponentUpdate=p.default,a=n,i(r,a)}return a(t,e),t.prototype.render=function(){for(var e=[],t=this.props,n=t.theme,r=t.actionsById,o=t.computedStates,i=t.currentStateIndex,a=t.consecutiveToggleStartId,s=t.select,c=t.skippedActionIds,f=t.stagedActionIds,p=t.expandActionRoot,d=t.expandStateRoot,h=t.markStateDiff,v=t.onActionClick,y=t.onActionShiftClick,g=0;g<f.length;g++){var m=f[g],_=r[m].action,b=o[g],w=b.state,E=b.error,T=void 0;g>0&&(T=o[g-1].state),e.push(u.default.createElement(l.default,{key:m,theme:n,select:s,action:_,actionId:m,state:w,previousState:T,collapsed:c.indexOf(m)>-1,inFuture:g>i,selected:a===g,error:E,expandActionRoot:p,expandStateRoot:d,markStateDiff:h,onActionClick:v,onActionShiftClick:y}))}return u.default.createElement("div",null,e)},t}(s.Component);d.propTypes={actionsById:s.PropTypes.object,computedStates:s.PropTypes.array,stagedActionIds:s.PropTypes.array,skippedActionIds:s.PropTypes.array,currentStateIndex:s.PropTypes.number,consecutiveToggleStartId:s.PropTypes.number,select:s.PropTypes.func.isRequired,onActionClick:s.PropTypes.func.isRequired,theme:s.PropTypes.oneOfType([s.PropTypes.object,s.PropTypes.string]),expandActionRoot:s.PropTypes.bool,expandStateRoot:s.PropTypes.bool},t.default=d},function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){var n=String(e).replace(/[^0-9a-f]/gi,"");n.length<6&&(n=n.replace(/(.)/g,"$1$1"));for(var r=t||0,o="#",i=void 0,a=0;a<3;++a)i=parseInt(n.substr(2*a,2),16),i=Math.round(Math.min(Math.max(0,i+i*r),255)).toString(16),o+=("00"+i).substr(i.length);return o}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.default=void 0;var o=n(1123),i=r(o);t.default=i.default},function(e,t,n){"use strict";function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments[2];return e.preserveScrollTop?n.type===a.UPDATE_SCROLL_TOP?n.scrollTop:t:0}function o(e,t,n){return n.type===a.START_CONSECUTIVE_TOGGLE?n.id:t}function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];return{initialScrollTop:r(e,t.initialScrollTop,n),consecutiveToggleStartId:o(e,t.consecutiveToggleStartId,n)}}t.__esModule=!0,t.default=i;var a=n(474)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e.default:e}function o(e,t){var n=t({},e);return delete n.default,n}function i(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r<n.length;r++){var o=n[r],i=Object.getOwnPropertyDescriptor(t,o);i&&i.configurable&&void 0===e[o]&&Object.defineProperty(e,o,i)}return e}t.__esModule=!0;var a=n(341);i(t,o(a,i));var s=n(1133);t.nicinabox=r(s)},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"nicinabox",author:"nicinabox (http://github.com/nicinabox)",base00:"#2A2F3A",base01:"#3C444F",base02:"#4F5A65",base03:"#BEBEBE",base04:"#b0b0b0",base05:"#d0d0d0",base06:"#FFFFFF",base07:"#f5f5f5",base08:"#fb9fb1",base09:"#FC6D24",base0A:"#ddb26f",base0B:"#A1C659",base0C:"#12cfc0",base0D:"#6FB3D2",base0E:"#D381C3",base0F:"#deaf8f"},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t,n,r=c.Children.only(e),s=r.props,p=r.type,h=(0,f.connect)(function(e){return e})(p);return n=t=function(e){function t(n,r){o(this,t);var a=i(this,e.call(this,n,r));return n.store||r.store?(r.store?a.liftedStore=r.store.liftedStore:a.liftedStore=n.store.liftedStore,a.liftedStore||console.error("Redux DevTools could not render. Did you forget to include DevTools.instrument() in your store enhancer chain before using createStore()?"),a):(console.error('Redux DevTools could not render. You must pass the Redux store to <DevTools> either as a "store" prop or by wrapping it in a <Provider store={store}>.'),i(a))}return a(t,e),t.prototype.render=function(){return this.liftedStore?l.default.createElement(h,u({},s,{store:this.liftedStore})):null},t}(c.Component),t.contextTypes={store:c.PropTypes.object},t.propTypes={store:c.PropTypes.object},t.instrument=function(e){return(0,d.default)(function(e,t){return p.update(s,e,t)},e)},n}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=s;var c=n(1),l=r(c),f=n(43),p=n(473),d=r(p)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){function t(e){return i({},e,{actionsById:(0,s.default)(e.actionsById,function(e){return i({},e,{action:r(e.action)})}),committedState:n(e.committedState),computedStates:e.computedStates.map(function(e){return i({},e,{state:n(e.state)})})})}var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.default,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c.default;return e?function(n){return function(r,o,a){var s="redux-dev-session-"+e,u=void 0;try{var c=localStorage.getItem(s);c&&(u=t(JSON.parse(c))||o,n(r,o))}catch(e){console.warn("Could not read debug session from localStorage:",e);try{localStorage.removeItem(s)}finally{u=void 0}}var l=n(r,u,a);return i({},l,{dispatch:function(e){l.dispatch(e);try{localStorage.setItem(s,JSON.stringify(l.getState()))}catch(e){console.warn("Could not write debug session to localStorage:",e)}return e}})}}:function(e){return function(){return e.apply(void 0,arguments)}}}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=o;var a=n(955),s=r(a),u=n(188),c=r(u)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(n,r,o){var a=e(n,r,o),u=a.dispatch,c=[],l={getState:a.getState,dispatch:function(e){return u(e)}};return c=t.map(function(e){return e(l)}),u=s.default.apply(void 0,c)(a.dispatch),i({},a,{dispatch:u})}}}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=o;var a=n(475),s=r(a)},function(e,t){"use strict";function n(e,t){return function(){return t(e.apply(void 0,arguments))}}function r(e,t){if("function"==typeof e)return n(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');for(var r=Object.keys(e),o={},i=0;i<r.length;i++){var a=r[i],s=e[a];"function"==typeof s&&(o[a]=n(s,t))}return o}t.__esModule=!0,t.default=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=t&&t.type,r=n&&'"'+n.toString()+'"'||"an action";return"Given action "+r+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state.'}function i(e){Object.keys(e).forEach(function(t){var n=e[t],r=n(void 0,{type:s.ActionTypes.INIT});if("undefined"==typeof r)throw new Error('Reducer "'+t+'" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined.');var o="@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".");if("undefined"==typeof n(void 0,{type:o}))throw new Error('Reducer "'+t+'" returned undefined when probed with a random type. '+("Don't try to handle "+s.ActionTypes.INIT+' or other actions in "redux/*" ')+"namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined.")})}function a(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var a=t[r];"function"==typeof e[a]&&(n[a]=e[a])}var s,u=Object.keys(n);try{i(n)}catch(e){s=e}return function(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],t=arguments[1];if(s)throw s;for(var r=!1,i={},a=0;a<u.length;a++){var c=u[a],l=n[c],f=e[c],p=l(f,t);if("undefined"==typeof p){var d=o(c,t);throw new Error(d)}i[c]=p,r=r||p!==f}return r?i:e}}t.__esModule=!0,t.default=a;var s=n(308),u=n(61),c=(r(u),n(476));r(c)},function(e,t,n){(function(t,n){!function(t){"use strict";function r(e,t,n,r){var o=t&&t.prototype instanceof i?t:i,a=Object.create(o.prototype),s=new h(r||[]);return a._invoke=l(e,n,s),a}function o(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function i(){}function a(){}function s(){}function u(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function c(e){function t(n,r,i,a){var s=o(e[n],e,r);if("throw"!==s.type){var u=s.arg,c=u.value;return c&&"object"==typeof c&&_.call(c,"__await")?Promise.resolve(c.__await).then(function(e){t("next",e,i,a)},function(e){t("throw",e,i,a)}):Promise.resolve(c).then(function(e){u.value=e,i(u)},a)}a(s.arg)}function r(e,n){function r(){return new Promise(function(r,o){t(e,n,r,o)})}return i=i?i.then(r,r):r()}"object"==typeof n&&n.domain&&(t=n.domain.bind(t));var i;this._invoke=r}function l(e,t,n){var r=S;return function(i,a){if(r===O)throw new Error("Generator is already running");if(r===k){if("throw"===i)throw a;return y()}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var u=f(s,n);if(u){if(u===P)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===S)throw r=k,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=O;var c=o(e,t,n);if("normal"===c.type){if(r=n.done?k:x,c.arg===P)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=k,n.method="throw",n.arg=c.arg)}}}function f(e,t){var n=e.iterator[t.method];if(n===g){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=g,f(e,t),"throw"===t.method))return P;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return P}var r=o(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,P;var i=r.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=g),t.delegate=null,P):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,P)}function p(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function d(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function h(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(p,this),this.reset(!0)}function v(e){if(e){var t=e[w];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(_.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=g,t.done=!0,t};return r.next=r}}return{next:y}}function y(){return{value:g,done:!0}}var g,m=Object.prototype,_=m.hasOwnProperty,b="function"==typeof Symbol?Symbol:{},w=b.iterator||"@@iterator",E=b.toStringTag||"@@toStringTag",T="object"==typeof e,C=t.regeneratorRuntime;if(C)return void(T&&(e.exports=C));C=t.regeneratorRuntime=T?e.exports:{},C.wrap=r;var S="suspendedStart",x="suspendedYield",O="executing",k="completed",P={},M={};M[w]=function(){return this};var A=Object.getPrototypeOf,I=A&&A(A(v([])));I&&I!==m&&_.call(I,w)&&(M=I);var j=s.prototype=i.prototype=Object.create(M);a.prototype=j.constructor=s,s.constructor=a,s[E]=a.displayName="GeneratorFunction",C.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===a||"GeneratorFunction"===(t.displayName||t.name))},C.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,E in e||(e[E]="GeneratorFunction")),e.prototype=Object.create(j),e},C.awrap=function(e){return{__await:e}},u(c.prototype),C.AsyncIterator=c,C.async=function(e,t,n,o){var i=new c(r(e,t,n,o));return C.isGeneratorFunction(t)?i:i.next().then(function(e){return e.done?e.value:i.next()})},u(j),j[E]="Generator",j.toString=function(){return"[object Generator]"},C.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},C.values=v,h.prototype={constructor:h,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=g,this.done=!1,this.delegate=null,this.method="next",this.arg=g,this.tryEntries.forEach(d),!e)for(var t in this)"t"===t.charAt(0)&&_.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=g)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){function t(t,r){return i.type="throw",i.arg=e,n.next=t,r&&(n.method="next",n.arg=g),!!r}if(this.done)throw e;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],i=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var a=_.call(o,"catchLoc"),s=_.call(o,"finallyLoc");if(a&&s){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&_.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,P):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),P},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),d(n),P}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;d(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:v(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=g),P}}}("object"==typeof t?t:"object"==typeof window?window:"object"==typeof self?self:this)}).call(t,function(){return this}(),n(159))},function(e,t){function n(e,t){var n,r=null;try{n=JSON.parse(e,t)}catch(e){r=e}return[r,n]}e.exports=n},function(e,t){"use strict";e.exports=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}},function(e,t,n){function r(e){var t=o(e)?Object.prototype.toString.call(e):"";return"[object Function]"===t}var o=n(311);e.exports=r},function(e,t,n){function r(e){if(e)return o(e)}function o(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}var i=n(311);e.exports=r,r.prototype.clearTimeout=function(){return clearTimeout(this._timer),clearTimeout(this._responseTimeoutTimer),delete this._timer,delete this._responseTimeoutTimer,this},r.prototype.parse=function(e){return this._parser=e,this},r.prototype.responseType=function(e){return this._responseType=e,this},r.prototype.serialize=function(e){return this._serializer=e,this},r.prototype.timeout=function(e){return e&&"object"==typeof e?("undefined"!=typeof e.deadline&&(this._timeout=e.deadline),"undefined"!=typeof e.response&&(this._responseTimeout=e.response),this):(this._timeout=e,this._responseTimeout=0,this)},r.prototype.retry=function(e){return 0!==arguments.length&&e!==!0||(e=1),e<=0&&(e=0),this._maxRetries=e,this._retries=0,this},r.prototype._retry=function(){return this.clearTimeout(),this.req&&(this.req=null,this.req=this.request()),this._aborted=!1,this.timedout=!1,this._end()},r.prototype.then=function(e,t){if(!this._fullfilledPromise){var n=this;this._endCalled&&console.warn("Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises"),this._fullfilledPromise=new Promise(function(e,t){n.end(function(n,r){n?t(n):e(r)})})}return this._fullfilledPromise.then(e,t)},r.prototype.catch=function(e){return this.then(void 0,e)},r.prototype.use=function(e){return e(this),this},r.prototype.ok=function(e){if("function"!=typeof e)throw Error("Callback required");return this._okCallback=e,this},r.prototype._isResponseOK=function(e){return!!e&&(this._okCallback?this._okCallback(e):e.status>=200&&e.status<300)},r.prototype.get=function(e){return this._header[e.toLowerCase()]},r.prototype.getHeader=r.prototype.get,
-r.prototype.set=function(e,t){if(i(e)){for(var n in e)this.set(n,e[n]);return this}return this._header[e.toLowerCase()]=t,this.header[e]=t,this},r.prototype.unset=function(e){return delete this._header[e.toLowerCase()],delete this.header[e],this},r.prototype.field=function(e,t){if(null===e||void 0===e)throw new Error(".field(name, val) name can not be empty");if(this._data&&console.error(".field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()"),i(e)){for(var n in e)this.field(n,e[n]);return this}if(Array.isArray(t)){for(var r in t)this.field(e,t[r]);return this}if(null===t||void 0===t)throw new Error(".field(name, val) val can not be empty");return"boolean"==typeof t&&(t=""+t),this._getFormData().append(e,t),this},r.prototype.abort=function(){return this._aborted?this:(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req&&this.req.abort(),this.clearTimeout(),this.emit("abort"),this)},r.prototype.withCredentials=function(){return this._withCredentials=!0,this},r.prototype.redirects=function(e){return this._maxRedirects=e,this},r.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},r.prototype.send=function(e){var t=i(e),n=this._header["content-type"];if(this._formData&&console.error(".send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()"),t&&!this._data)Array.isArray(e)?this._data=[]:this._isHost(e)||(this._data={});else if(e&&this._data&&this._isHost(this._data))throw Error("Can't merge these send calls");if(t&&i(this._data))for(var r in e)this._data[r]=e[r];else"string"==typeof e?(n||this.type("form"),n=this._header["content-type"],"application/x-www-form-urlencoded"==n?this._data=this._data?this._data+"&"+e:e:this._data=(this._data||"")+e):this._data=e;return!t||this._isHost(e)?this:(n||this.type("json"),this)},r.prototype.sortQuery=function(e){return this._sort="undefined"==typeof e||e,this},r.prototype._timeoutError=function(e,t){if(!this._aborted){var n=new Error(e+t+"ms exceeded");n.timeout=t,n.code="ECONNABORTED",this.timedout=!0,this.abort(),this.callback(n)}},r.prototype._setTimeouts=function(){var e=this;this._timeout&&!this._timer&&(this._timer=setTimeout(function(){e._timeoutError("Timeout of ",e._timeout)},this._timeout)),this._responseTimeout&&!this._responseTimeoutTimer&&(this._responseTimeoutTimer=setTimeout(function(){e._timeoutError("Response timeout of ",e._responseTimeout)},this._responseTimeout))}},function(e,t,n){function r(e){if(e)return o(e)}function o(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}var i=n(1146);e.exports=r,r.prototype.get=function(e){return this.header[e.toLowerCase()]},r.prototype._setHeaderProperties=function(e){var t=e["content-type"]||"";this.type=i.type(t);var n=i.params(t);for(var r in n)this[r]=n[r];this.links={};try{e.link&&(this.links=i.parseLinks(e.link))}catch(e){}},r.prototype._setStatusProperties=function(e){var t=e/100|0;this.status=this.statusCode=e,this.statusType=t,this.info=1==t,this.ok=2==t,this.redirect=3==t,this.clientError=4==t,this.serverError=5==t,this.error=(4==t||5==t)&&this.toError(),this.accepted=202==e,this.noContent=204==e,this.badRequest=400==e,this.unauthorized=401==e,this.notAcceptable=406==e,this.forbidden=403==e,this.notFound=404==e}},function(e,t){var n=["ECONNRESET","ETIMEDOUT","EADDRINFO","ESOCKETTIMEDOUT"];e.exports=function(e,t){return!!(e&&e.code&&~n.indexOf(e.code))||(!!(t&&t.status&&t.status>=500)||!!(e&&"timeout"in e&&"ECONNABORTED"==e.code))}},function(e,t){t.type=function(e){return e.split(/ *; */).shift()},t.params=function(e){return e.split(/ *; */).reduce(function(e,t){var n=t.split(/ *= */),r=n.shift(),o=n.shift();return r&&o&&(e[r]=o),e},{})},t.parseLinks=function(e){return e.split(/ *, */).reduce(function(e,t){var n=t.split(/ *; */),r=n[0].slice(1,-1),o=n[1].split(/ *= */)[1].slice(1,-1);return e[o]=r,e},{})},t.cleanHeader=function(e,t){return delete e["content-type"],delete e["content-length"],delete e["transfer-encoding"],delete e.host,t&&delete e.cookie,e}},function(e,t,n){(function(e,r){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i,a=n(1148),s=o(a);i="undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof e?e:r;var u=(0,s.default)(i);t.default=u}).call(t,function(){return this}(),n(203)(e))},function(e,t){"use strict";function n(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n},function(e,t){function n(e){return e.replace(/^\s*|\s*$/g,"")}t=e.exports=n,t.left=function(e){return e.replace(/^\s*/,"")},t.right=function(e){return e.replace(/\s*$/,"")}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(151),u=r(s),c=n(7),l=r(c),f=function(e){function t(){return o(this,t),i(this,e.apply(this,arguments))}return a(t,e),t.prototype.buildCSSClass=function(){return"vjs-big-play-button"},t.prototype.handleClick=function(e){this.player_.play();var t=this.player_.getChild("controlBar"),n=t&&t.getChild("playToggle");return n?void this.setTimeout(function(){n.focus()},1):void this.player_.focus()},t}(u.default);f.prototype.controlText_="Play Video",l.default.registerComponent("BigPlayButton",f),t.default=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(151),u=r(s),c=n(7),l=r(c),f=function(e){function t(n,r){o(this,t);var a=i(this,e.call(this,n,r));return a.controlText(r&&r.controlText||a.localize("Close")),a}return a(t,e),t.prototype.buildCSSClass=function(){return"vjs-close-button "+e.prototype.buildCSSClass.call(this)},t.prototype.handleClick=function(e){this.trigger({type:"close",bubbles:!1})},t}(u.default);l.default.registerComponent("CloseButton",f),t.default=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(480),u=r(s),c=n(7),l=r(c),f=n(1153),p=r(f),d=function(e){function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o(this,t),r.tracks=n.audioTracks&&n.audioTracks();var a=i(this,e.call(this,n,r));return a.el_.setAttribute("aria-label","Audio Menu"),a}return a(t,e),t.prototype.buildCSSClass=function(){return"vjs-audio-button "+e.prototype.buildCSSClass.call(this)},t.prototype.createItems=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.hideThreshold_=1;var t=this.player_.audioTracks&&this.player_.audioTracks();if(!t)return e;for(var n=0;n<t.length;n++){var r=t[n];e.push(new p.default(this.player_,{track:r,selectable:!0}))}return e},t}(u.default);d.prototype.controlText_="Audio Track",l.default.registerComponent("AudioTrackButton",d),t.default=d},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(201),c=o(u),l=n(7),f=o(l),p=n(19),d=r(p),h=function(e){function t(n,r){i(this,t);var o=r.track,s=n.audioTracks();r.label=o.label||o.language||"Unknown",r.selected=o.enabled;var u=a(this,e.call(this,n,r));if(u.track=o,s){var c=d.bind(u,u.handleTracksChange);s.addEventListener("change",c),u.on("dispose",function(){s.removeEventListener("change",c)})}return u}return s(t,e),t.prototype.handleClick=function(t){var n=this.player_.audioTracks();if(e.prototype.handleClick.call(this,t),n)for(var r=0;r<n.length;r++){var o=n[r];o.enabled=o===this.track}},t.prototype.handleTracksChange=function(e){this.selected(this.track.enabled)},t}(c.default);f.default.registerComponent("AudioTrackMenuItem",h),t.default=h},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(7),u=r(s);n(1157),n(1175),n(1176),n(1178),n(1177),n(1156),n(1163),n(1155),n(1179),n(1181),n(479),n(1170),n(1172),n(1174),n(1169),n(1152),n(1158),n(1166);var c=function(e){function t(){return o(this,t),i(this,e.apply(this,arguments))}return a(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-control-bar",dir:"ltr"},{role:"group"})},t}(u.default);c.prototype.options_={children:["playToggle","volumeMenuButton","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subtitlesButton","captionsButton","audioTrackButton","fullscreenToggle"]},u.default.registerComponent("ControlBar",c),t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(151),u=r(s),c=n(7),l=r(c),f=function(e){function t(n,r){o(this,t);var a=i(this,e.call(this,n,r));return a.on(n,"fullscreenchange",a.handleFullscreenChange),a}return a(t,e),t.prototype.buildCSSClass=function(){return"vjs-fullscreen-control "+e.prototype.buildCSSClass.call(this)},t.prototype.handleFullscreenChange=function(e){this.player_.isFullscreen()?this.controlText("Non-Fullscreen"):this.controlText("Fullscreen")},t.prototype.handleClick=function(e){this.player_.isFullscreen()?this.player_.exitFullscreen():this.player_.requestFullscreen()},t}(u.default);f.prototype.controlText_="Fullscreen",l.default.registerComponent("FullscreenToggle",f),t.default=f},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(7),c=o(u),l=n(22),f=r(l),p=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.updateShowing(),o.on(o.player(),"durationchange",o.updateShowing),o}return s(t,e),t.prototype.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-live-control vjs-control"});return this.contentEl_=f.createEl("div",{className:"vjs-live-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Stream Type")+"</span>"+this.localize("LIVE")},{"aria-live":"off"}),t.appendChild(this.contentEl_),t},t.prototype.updateShowing=function(e){this.player().duration()===1/0?this.show():this.hide()},t}(c.default);c.default.registerComponent("LiveDisplay",p),t.default=p},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(151),u=r(s),c=n(7),l=r(c),f=function(e){function t(n,r){o(this,t);var a=i(this,e.call(this,n,r));return a.on(n,"play",a.handlePlay),a.on(n,"pause",a.handlePause),a}return a(t,e),t.prototype.buildCSSClass=function(){return"vjs-play-control "+e.prototype.buildCSSClass.call(this)},t.prototype.handleClick=function(e){this.player_.paused()?this.player_.play():this.player_.pause()},t.prototype.handlePlay=function(e){this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.controlText("Pause")},t.prototype.handlePause=function(e){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.controlText("Play")},t}(u.default);f.prototype.controlText_="Play",l.default.registerComponent("PlayToggle",f),t.default=f},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(483),c=o(u),l=n(484),f=o(l),p=n(1159),d=o(p),h=n(7),v=o(h),y=n(22),g=r(y),m=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.updateVisibility(),o.updateLabel(),o.on(n,"loadstart",o.updateVisibility),o.on(n,"ratechange",o.updateLabel),o}return s(t,e),t.prototype.createEl=function(){var t=e.prototype.createEl.call(this);return this.labelEl_=g.createEl("div",{className:"vjs-playback-rate-value",innerHTML:1}),t.appendChild(this.labelEl_),t},t.prototype.buildCSSClass=function(){return"vjs-playback-rate "+e.prototype.buildCSSClass.call(this)},t.prototype.createMenu=function(){var e=new f.default(this.player()),t=this.playbackRates();if(t)for(var n=t.length-1;n>=0;n--)e.addChild(new d.default(this.player(),{rate:t[n]+"x"}));return e},t.prototype.updateARIAAttributes=function(){this.el().setAttribute("aria-valuenow",this.player().playbackRate())},t.prototype.handleClick=function(e){for(var t=this.player().playbackRate(),n=this.playbackRates(),r=n[0],o=0;o<n.length;o++)if(n[o]>t){r=n[o];break}this.player().playbackRate(r)},t.prototype.playbackRates=function(){return this.options_.playbackRates||this.options_.playerOptions&&this.options_.playerOptions.playbackRates},t.prototype.playbackRateSupported=function(){return this.player().tech_&&this.player().tech_.featuresPlaybackRate&&this.playbackRates()&&this.playbackRates().length>0},t.prototype.updateVisibility=function(e){this.playbackRateSupported()?this.removeClass("vjs-hidden"):this.addClass("vjs-hidden")},t.prototype.updateLabel=function(e){this.playbackRateSupported()&&(this.labelEl_.innerHTML=this.player().playbackRate()+"x")},t}(c.default);m.prototype.controlText_="Playback Rate",v.default.registerComponent("PlaybackRateMenuButton",m),t.default=m},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(201),u=r(s),c=n(7),l=r(c),f=function(e){function t(n,r){o(this,t);var a=r.rate,s=parseFloat(a,10);r.label=a,r.selected=1===s,r.selectable=!0;var u=i(this,e.call(this,n,r));return u.label=a,u.rate=s,u.on(n,"ratechange",u.update),u}return a(t,e),t.prototype.handleClick=function(t){e.prototype.handleClick.call(this),this.player().playbackRate(this.rate)},t.prototype.update=function(e){this.selected(this.player().playbackRate()===this.rate)},t}(u.default);f.prototype.contentElType="button",l.default.registerComponent("PlaybackRateMenuItem",f),t.default=f},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(7),c=o(u),l=n(22),f=r(l),p=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.partEls_=[],o.on(n,"progress",o.update),o}return s(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-load-progress",innerHTML:'<span class="vjs-control-text"><span>'+this.localize("Loaded")+"</span>: 0%</span>"})},t.prototype.update=function(e){var t=this.player_.buffered(),n=this.player_.duration(),r=this.player_.bufferedEnd(),o=this.partEls_,i=function(e,t){var n=e/t||0;return 100*(n>=1?1:n)+"%"};this.el_.style.width=i(r,n);for(var a=0;a<t.length;a++){var s=t.start(a),u=t.end(a),c=o[a];c||(c=this.el_.appendChild(f.createEl()),o[a]=c),c.style.left=i(s,r),c.style.width=i(u-s,r)}for(var l=o.length;l>t.length;l--)this.el_.removeChild(o[l-1]);o.length=t.length},t}(c.default);c.default.registerComponent("LoadProgressBar",p),t.default=p},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(7),c=o(u),l=n(22),f=r(l),p=n(19),d=r(p),h=n(82),v=o(h),y=n(317),g=o(y),m=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return r.playerOptions&&r.playerOptions.controlBar&&r.playerOptions.controlBar.progressControl&&r.playerOptions.controlBar.progressControl.keepTooltipsInside&&(o.keepTooltipsInside=r.playerOptions.controlBar.progressControl.keepTooltipsInside),o.keepTooltipsInside&&(o.tooltip=f.createEl("div",{className:"vjs-time-tooltip"}),o.el().appendChild(o.tooltip),o.addClass("vjs-keep-tooltips-inside")),o.update(0,0),n.on("ready",function(){o.on(n.controlBar.progressControl.el(),"mousemove",d.throttle(d.bind(o,o.handleMouseMove),25))}),o}return s(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},t.prototype.handleMouseMove=function(e){var t=this.player_.duration(),n=this.calculateDistance(e)*t,r=e.pageX-f.findElPosition(this.el().parentNode).left;this.update(n,r)},t.prototype.update=function(e,t){var n=(0,v.default)(e,this.player_.duration());if(this.el().style.left=t+"px",this.el().setAttribute("data-current-time",n),this.keepTooltipsInside){var r=this.clampPosition_(t),o=t-r+1,i=parseFloat((0,g.default)(this.tooltip,"width")),a=i/2;this.tooltip.innerHTML=n,this.tooltip.style.right="-"+(a-o)+"px"}},t.prototype.calculateDistance=function(e){return f.getPointerPosition(this.el().parentNode,e).x},t.prototype.clampPosition_=function(e){if(!this.keepTooltipsInside)return e;var t=parseFloat((0,g.default)(this.player().el(),"width")),n=parseFloat((0,g.default)(this.tooltip,"width")),r=n/2,o=e;return e<r?o=Math.ceil(r):e>t-r&&(o=Math.floor(t-r)),o},t}(c.default);c.default.registerComponent("MouseTimeDisplay",m),t.default=m},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(7),c=o(u),l=n(19),f=r(l),p=n(82),d=o(p),h=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.updateDataAttr(),o.on(n,"timeupdate",o.updateDataAttr),n.ready(f.bind(o,o.updateDataAttr)),r.playerOptions&&r.playerOptions.controlBar&&r.playerOptions.controlBar.progressControl&&r.playerOptions.controlBar.progressControl.keepTooltipsInside&&(o.keepTooltipsInside=r.playerOptions.controlBar.progressControl.keepTooltipsInside),o.keepTooltipsInside&&o.addClass("vjs-keep-tooltips-inside"),o}return s(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-play-progress vjs-slider-bar",innerHTML:'<span class="vjs-control-text"><span>'+this.localize("Progress")+"</span>: 0%</span>"})},t.prototype.updateDataAttr=function(e){var t=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();this.el_.setAttribute("data-current-time",(0,d.default)(t,this.player_.duration()))},t}(c.default);c.default.registerComponent("PlayProgressBar",h),t.default=h},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(7),u=r(s);n(1164),n(1161);var c=function(e){function t(){return o(this,t),i(this,e.apply(this,arguments))}return a(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-progress-control vjs-control"})},t}(u.default);c.prototype.options_={children:["seekBar"]},u.default.registerComponent("ProgressControl",c),t.default=c},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(487),c=o(u),l=n(7),f=o(l),p=n(19),d=r(p),h=n(82),v=o(h),y=n(317),g=o(y);n(1160),n(1162),n(1165);var m=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.on(n,"timeupdate",o.updateProgress),o.on(n,"ended",o.updateProgress),n.ready(d.bind(o,o.updateProgress)),r.playerOptions&&r.playerOptions.controlBar&&r.playerOptions.controlBar.progressControl&&r.playerOptions.controlBar.progressControl.keepTooltipsInside&&(o.keepTooltipsInside=r.playerOptions.controlBar.progressControl.keepTooltipsInside),o.keepTooltipsInside&&(o.tooltipProgressBar=o.addChild("TooltipProgressBar")),o}return s(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-progress-holder"},{"aria-label":"progress bar"})},t.prototype.updateProgress=function(e){if(this.updateAriaAttributes(this.el_),this.keepTooltipsInside){this.updateAriaAttributes(this.tooltipProgressBar.el_),this.tooltipProgressBar.el_.style.width=this.bar.el_.style.width;var t=parseFloat((0,g.default)(this.player().el(),"width")),n=parseFloat((0,g.default)(this.tooltipProgressBar.tooltip,"width")),r=this.tooltipProgressBar.el().style;r.maxWidth=Math.floor(t-n/2)+"px",r.minWidth=Math.ceil(n/2)+"px",r.right="-"+n/2+"px"}},t.prototype.updateAriaAttributes=function(e){var t=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();e.setAttribute("aria-valuenow",(100*this.getPercent()).toFixed(2)),e.setAttribute("aria-valuetext",(0,v.default)(t,this.player_.duration()))},t.prototype.getPercent=function(){var e=this.player_.currentTime()/this.player_.duration();return e>=1?1:e},t.prototype.handleMouseDown=function(t){this.player_.scrubbing(!0),this.videoWasPlaying=!this.player_.paused(),this.player_.pause(),e.prototype.handleMouseDown.call(this,t)},t.prototype.handleMouseMove=function(e){var t=this.calculateDistance(e)*this.player_.duration();t===this.player_.duration()&&(t-=.1),this.player_.currentTime(t)},t.prototype.handleMouseUp=function(t){e.prototype.handleMouseUp.call(this,t),this.player_.scrubbing(!1),this.videoWasPlaying&&this.player_.play()},t.prototype.stepForward=function(){this.player_.currentTime(this.player_.currentTime()+5)},t.prototype.stepBack=function(){this.player_.currentTime(this.player_.currentTime()-5)},t}(c.default);m.prototype.options_={children:["loadProgressBar","mouseTimeDisplay","playProgressBar"],barName:"playProgressBar"},m.prototype.playerEvent="timeupdate",f.default.registerComponent("SeekBar",m),t.default=m},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(7),c=o(u),l=n(19),f=r(l),p=n(82),d=o(p),h=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.updateDataAttr(),o.on(n,"timeupdate",o.updateDataAttr),n.ready(f.bind(o,o.updateDataAttr)),o}return s(t,e),t.prototype.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-tooltip-progress-bar vjs-slider-bar",innerHTML:'<div class="vjs-time-tooltip"></div>\n        <span class="vjs-control-text"><span>'+this.localize("Progress")+"</span>: 0%</span>"});return this.tooltip=t.querySelector(".vjs-time-tooltip"),t},t.prototype.updateDataAttr=function(e){var t=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),n=(0,d.default)(t,this.player_.duration());this.el_.setAttribute("data-current-time",n),this.tooltip.innerHTML=n},t}(c.default);c.default.registerComponent("TooltipProgressBar",h),t.default=h},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e
-}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(1167),u=r(s),c=n(7),l=r(c),f=function(e){function t(){return o(this,t),i(this,e.apply(this,arguments))}return a(t,e),t.prototype.buildCSSClass=function(){return"vjs-custom-control-spacer "+e.prototype.buildCSSClass.call(this)},t.prototype.createEl=function(){var t=e.prototype.createEl.call(this,{className:this.buildCSSClass()});return t.innerHTML="&nbsp;",t},t}(u.default);l.default.registerComponent("CustomControlSpacer",f),t.default=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(7),u=r(s),c=function(e){function t(){return o(this,t),i(this,e.apply(this,arguments))}return a(t,e),t.prototype.buildCSSClass=function(){return"vjs-spacer "+e.prototype.buildCSSClass.call(this)},t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},t}(u.default);u.default.registerComponent("Spacer",c),t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(312),u=r(s),c=n(7),l=r(c),f=function(e){function t(n,r){o(this,t),r.track={player:n,kind:r.kind,label:r.kind+" settings",selectable:!1,default:!1,mode:"disabled"},r.selectable=!1;var a=i(this,e.call(this,n,r));return a.addClass("vjs-texttrack-settings"),a.controlText(", opens "+r.kind+" settings dialog"),a}return a(t,e),t.prototype.handleClick=function(e){this.player().getChild("textTrackSettings").show(),this.player().getChild("textTrackSettings").el_.focus()},t}(u.default);l.default.registerComponent("CaptionSettingsMenuItem",f),t.default=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(199),u=r(s),c=n(7),l=r(c),f=n(1168),p=r(f),d=function(e){function t(n,r,a){o(this,t);var s=i(this,e.call(this,n,r,a));return s.el_.setAttribute("aria-label","Captions Menu"),s}return a(t,e),t.prototype.buildCSSClass=function(){return"vjs-captions-button "+e.prototype.buildCSSClass.call(this)},t.prototype.createItems=function(){var t=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||(t.push(new p.default(this.player_,{kind:this.kind_})),this.hideThreshold_+=1),e.prototype.createItems.call(this,t)},t}(u.default);d.prototype.kind_="captions",d.prototype.controlText_="Captions",l.default.registerComponent("CaptionsButton",d),t.default=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(199),u=r(s),c=n(7),l=r(c),f=n(1171),p=r(f),d=n(128),h=r(d),v=function(e){function t(n,r,a){o(this,t);var s=i(this,e.call(this,n,r,a));return s.el_.setAttribute("aria-label","Chapters Menu"),s}return a(t,e),t.prototype.buildCSSClass=function(){return"vjs-chapters-button "+e.prototype.buildCSSClass.call(this)},t.prototype.update=function(t){this.track_&&(!t||"addtrack"!==t.type&&"removetrack"!==t.type)||this.setTrack(this.findChaptersTrack()),e.prototype.update.call(this)},t.prototype.setTrack=function(e){if(this.track_!==e){if(this.updateHandler_||(this.updateHandler_=this.update.bind(this)),this.track_){var t=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);t&&t.removeEventListener("load",this.updateHandler_),this.track_=null}if(this.track_=e,this.track_){this.track_.mode="hidden";var n=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);n&&n.addEventListener("load",this.updateHandler_)}}},t.prototype.findChaptersTrack=function(){for(var e=this.player_.textTracks()||[],t=e.length-1;t>=0;t--){var n=e[t];if(n.kind===this.kind_)return n}},t.prototype.getMenuCaption=function(){return this.track_&&this.track_.label?this.track_.label:this.localize((0,h.default)(this.kind_))},t.prototype.createMenu=function(){return this.options_.title=this.getMenuCaption(),e.prototype.createMenu.call(this)},t.prototype.createItems=function(){var e=[];if(!this.track_)return e;var t=this.track_.cues;if(!t)return e;for(var n=0,r=t.length;n<r;n++){var o=t[n],i=new p.default(this.player_,{track:this.track_,cue:o});e.push(i)}return e},t}(u.default);v.prototype.kind_="chapters",v.prototype.controlText_="Chapters",l.default.registerComponent("ChaptersButton",v),t.default=v},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(201),c=o(u),l=n(7),f=o(l),p=n(19),d=r(p),h=function(e){function t(n,r){i(this,t);var o=r.track,s=r.cue,u=n.currentTime();r.selectable=!0,r.label=s.text,r.selected=s.startTime<=u&&u<s.endTime;var c=a(this,e.call(this,n,r));return c.track=o,c.cue=s,o.addEventListener("cuechange",d.bind(c,c.update)),c}return s(t,e),t.prototype.handleClick=function(t){e.prototype.handleClick.call(this),this.player_.currentTime(this.cue.startTime),this.update(this.cue.startTime)},t.prototype.update=function(e){var t=this.cue,n=this.player_.currentTime();this.selected(t.startTime<=n&&n<t.endTime)},t}(c.default);f.default.registerComponent("ChaptersTrackMenuItem",h),t.default=h},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(199),c=o(u),l=n(7),f=o(l),p=n(19),d=r(p),h=function(e){function t(n,r,o){i(this,t);var s=a(this,e.call(this,n,r,o));s.el_.setAttribute("aria-label","Descriptions Menu");var u=n.textTracks();if(u){var c=d.bind(s,s.handleTracksChange);u.addEventListener("change",c),s.on("dispose",function(){u.removeEventListener("change",c)})}return s}return s(t,e),t.prototype.handleTracksChange=function(e){for(var t=this.player().textTracks(),n=!1,r=0,o=t.length;r<o;r++){var i=t[r];if(i.kind!==this.kind_&&"showing"===i.mode){n=!0;break}}n?this.disable():this.enable()},t.prototype.buildCSSClass=function(){return"vjs-descriptions-button "+e.prototype.buildCSSClass.call(this)},t}(c.default);h.prototype.kind_="descriptions",h.prototype.controlText_="Descriptions",f.default.registerComponent("DescriptionsButton",h),t.default=h},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(312),u=r(s),c=n(7),l=r(c),f=function(e){function t(n,r){o(this,t),r.track={player:n,kind:r.kind,label:r.kind+" off",default:!1,mode:"disabled"},r.selectable=!0;var a=i(this,e.call(this,n,r));return a.selected(!0),a}return a(t,e),t.prototype.handleTracksChange=function(e){for(var t=this.player().textTracks(),n=!0,r=0,o=t.length;r<o;r++){var i=t[r];if(i.kind===this.track.kind&&"showing"===i.mode){n=!1;break}}this.selected(n)},t}(u.default);l.default.registerComponent("OffTextTrackMenuItem",f),t.default=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(199),u=r(s),c=n(7),l=r(c),f=function(e){function t(n,r,a){o(this,t);var s=i(this,e.call(this,n,r,a));return s.el_.setAttribute("aria-label","Subtitles Menu"),s}return a(t,e),t.prototype.buildCSSClass=function(){return"vjs-subtitles-button "+e.prototype.buildCSSClass.call(this)},t}(u.default);f.prototype.kind_="subtitles",f.prototype.controlText_="Subtitles",l.default.registerComponent("SubtitlesButton",f),t.default=f},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(7),c=o(u),l=n(22),f=r(l),p=n(82),d=o(p),h=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.on(n,"timeupdate",o.updateContent),o}return s(t,e),t.prototype.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-current-time vjs-time-control vjs-control"});return this.contentEl_=f.createEl("div",{className:"vjs-current-time-display",innerHTML:'<span class="vjs-control-text">Current Time </span>0:00'},{"aria-live":"off"}),t.appendChild(this.contentEl_),t},t.prototype.updateContent=function(e){var t=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),n=this.localize("Current Time"),r=(0,d.default)(t,this.player_.duration());r!==this.formattedTime_&&(this.formattedTime_=r,this.contentEl_.innerHTML='<span class="vjs-control-text">'+n+"</span> "+r)},t}(c.default);c.default.registerComponent("CurrentTimeDisplay",h),t.default=h},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(7),c=o(u),l=n(22),f=r(l),p=n(82),d=o(p),h=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.on(n,"durationchange",o.updateContent),o.on(n,"timeupdate",o.updateContent),o.on(n,"loadedmetadata",o.updateContent),o}return s(t,e),t.prototype.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-duration vjs-time-control vjs-control"});return this.contentEl_=f.createEl("div",{className:"vjs-duration-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Duration Time")+"</span> 0:00"},{"aria-live":"off"}),t.appendChild(this.contentEl_),t},t.prototype.updateContent=function(e){var t=this.player_.duration();if(t&&this.duration_!==t){this.duration_=t;var n=this.localize("Duration Time"),r=(0,d.default)(t);this.contentEl_.innerHTML='<span class="vjs-control-text">'+n+"</span> "+r}},t}(c.default);c.default.registerComponent("DurationDisplay",h),t.default=h},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(7),c=o(u),l=n(22),f=r(l),p=n(82),d=o(p),h=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.on(n,"timeupdate",o.updateContent),o.on(n,"durationchange",o.updateContent),o}return s(t,e),t.prototype.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-remaining-time vjs-time-control vjs-control"});return this.contentEl_=f.createEl("div",{className:"vjs-remaining-time-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Remaining Time")+"</span> -0:00"},{"aria-live":"off"}),t.appendChild(this.contentEl_),t},t.prototype.updateContent=function(e){if(this.player_.duration()){var t=this.localize("Remaining Time"),n=(0,d.default)(this.player_.remainingTime());n!==this.formattedTime_&&(this.formattedTime_=n,this.contentEl_.innerHTML='<span class="vjs-control-text">'+t+"</span> -"+n)}},t}(c.default);c.default.registerComponent("RemainingTimeDisplay",h),t.default=h},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(7),u=r(s),c=function(e){function t(){return o(this,t),i(this,e.apply(this,arguments))}return a(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-time-control vjs-time-divider",innerHTML:"<div><span>/</span></div>"})},t}(u.default);u.default.registerComponent("TimeDivider",c),t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(7),u=r(s);n(481);var c=function(e){function t(n,r){o(this,t);var a=i(this,e.call(this,n,r));return n.tech_&&n.tech_.featuresVolumeControl===!1&&a.addClass("vjs-hidden"),a.on(n,"loadstart",function(){n.tech_.featuresVolumeControl===!1?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")}),a}return a(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-volume-control vjs-control"})},t}(u.default);c.prototype.options_={children:["volumeBar"]},u.default.registerComponent("VolumeControl",c),t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(7),u=r(s),c=function(e){function t(){return o(this,t),i(this,e.apply(this,arguments))}return a(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-volume-level",innerHTML:'<span class="vjs-control-text"></span>'})},t}(u.default);u.default.registerComponent("VolumeLevel",c),t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(19),c=o(u),l=n(7),f=r(l),p=n(1188),d=r(p),h=n(1187),v=r(h),y=n(479),g=r(y),m=n(481),_=r(m),b=function(e){function t(n){function r(){n.tech_&&n.tech_.featuresVolumeControl===!1?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")}var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};i(this,t),void 0===o.inline&&(o.inline=!0),void 0===o.vertical&&(o.inline?o.vertical=!1:o.vertical=!0),o.volumeBar=o.volumeBar||{},o.volumeBar.vertical=!!o.vertical;var s=a(this,e.call(this,n,o));return s.on(n,"volumechange",s.volumeUpdate),s.on(n,"loadstart",s.volumeUpdate),r.call(s),s.on(n,"loadstart",r),s.on(s.volumeBar,["slideractive","focus"],function(){this.addClass("vjs-slider-active")}),s.on(s.volumeBar,["sliderinactive","blur"],function(){this.removeClass("vjs-slider-active")}),s.on(s.volumeBar,["focus"],function(){this.addClass("vjs-lock-showing")}),s.on(s.volumeBar,["blur"],function(){this.removeClass("vjs-lock-showing")}),s}return s(t,e),t.prototype.buildCSSClass=function(){var t="";return t=this.options_.vertical?"vjs-volume-menu-button-vertical":"vjs-volume-menu-button-horizontal","vjs-volume-menu-button "+e.prototype.buildCSSClass.call(this)+" "+t},t.prototype.createPopup=function(){var e=new d.default(this.player_,{contentElType:"div"}),t=new _.default(this.player_,this.options_.volumeBar);return e.addChild(t),this.menuContent=e,this.volumeBar=t,this.attachVolumeBarEvents(),e},t.prototype.handleClick=function(t){g.default.prototype.handleClick.call(this),e.prototype.handleClick.call(this)},t.prototype.attachVolumeBarEvents=function(){this.menuContent.on(["mousedown","touchdown"],c.bind(this,this.handleMouseDown))},t.prototype.handleMouseDown=function(e){this.on(["mousemove","touchmove"],c.bind(this.volumeBar,this.volumeBar.handleMouseMove)),this.on(this.el_.ownerDocument,["mouseup","touchend"],this.handleMouseUp)},t.prototype.handleMouseUp=function(e){this.off(["mousemove","touchmove"],c.bind(this.volumeBar,this.volumeBar.handleMouseMove))},t}(v.default);b.prototype.volumeUpdate=g.default.prototype.update,b.prototype.controlText_="Mute",f.default.registerComponent("VolumeMenuButton",b),t.default=b},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(7),u=r(s),c=n(485),l=r(c),f=n(74),p=r(f),d=function(e){function t(n,r){o(this,t);var a=i(this,e.call(this,n,r));return a.on(n,"error",a.open),a}return a(t,e),t.prototype.buildCSSClass=function(){return"vjs-error-display "+e.prototype.buildCSSClass.call(this)},t.prototype.content=function(){var e=this.player().error();return e?this.localize(e.message):""},t}(l.default);d.prototype.options_=(0,p.default)(l.default.prototype.options_,{pauseOnOpen:!1,fillAlways:!0,temporary:!1,uncloseable:!0}),u.default.registerComponent("ErrorDisplay",d),t.default=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=n(44),a=r(i),s=n(33),u=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+("undefined"==typeof t?"undefined":o(t)));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(e.super_=t)},c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=function(){e.apply(this,arguments)},r={};(0,s.isObject)(t)?("function"==typeof t.init&&(a.default.warn("Constructor logic via init() is deprecated; please use constructor() instead."),t.constructor=t.init),t.constructor!==Object.prototype.constructor&&(n=t.constructor),r=t):"function"==typeof t&&(n=t),u(n,e);for(var o in r)r.hasOwnProperty(o)&&(n.prototype[o]=r[o]);return n};t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;for(var o=n(26),i=r(o),a={},s=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],u=s[0],c=void 0,l=0;l<s.length;l++)if(s[l][1]in i.default){c=s[l];break}if(c)for(var f=0;f<c.length;f++)a[u[f]]=c[f];t.default=a},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(7),u=r(s),c=function(e){function t(){return o(this,t),i(this,e.apply(this,arguments))}return a(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-loading-spinner",dir:"ltr"})},t}(u.default);u.default.registerComponent("LoadingSpinner",c),t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(486),i=r(o),a=function(e,t){i.default.prototype[e]=t};t.default=a},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(152),u=r(s),c=n(7),l=r(c),f=function(e){function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o(this,t);var a=i(this,e.call(this,n,r));return a.update(),a}return a(t,e),t.prototype.update=function(){var e=this.createPopup();this.popup&&this.removeChild(this.popup),this.popup=e,this.addChild(e),this.items&&0===this.items.length?this.hide():this.items&&this.items.length>1&&this.show()},t.prototype.createPopup=function(){},t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},t.prototype.buildCSSClass=function(){var t="vjs-menu-button";return t+=this.options_.inline===!0?"-inline":"-popup","vjs-menu-button "+t+" "+e.prototype.buildCSSClass.call(this)},t}(u.default);l.default.registerComponent("PopupButton",f),t.default=f},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(7),c=o(u),l=n(22),f=r(l),p=n(19),d=r(p),h=n(81),v=r(h),y=function(e){function t(){return i(this,t),a(this,e.apply(this,arguments))}return s(t,e),t.prototype.addItem=function(e){this.addChild(e),e.on("click",d.bind(this,function(){this.unlockShowing()}))},t.prototype.createEl=function(){var t=this.options_.contentElType||"ul";this.contentEl_=f.createEl(t,{className:"vjs-menu-content"});var n=e.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"});return n.appendChild(this.contentEl_),v.on(n,"click",function(e){e.preventDefault(),e.stopImmediatePropagation()}),n},t}(c.default);c.default.registerComponent("Popup",y),t.default=y},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{
-constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(152),c=o(u),l=n(7),f=o(l),p=n(19),d=r(p),h=n(22),v=r(h),y=n(32),g=r(y),m=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.update(),n.on("posterchange",d.bind(o,o.update)),o}return s(t,e),t.prototype.dispose=function(){this.player().off("posterchange",this.update),e.prototype.dispose.call(this)},t.prototype.createEl=function(){var e=v.createEl("div",{className:"vjs-poster",tabIndex:-1});return g.BACKGROUND_SIZE_SUPPORTED||(this.fallbackImg_=v.createEl("img"),e.appendChild(this.fallbackImg_)),e},t.prototype.update=function(e){var t=this.player().poster();this.setSrc(t),t?this.show():this.hide()},t.prototype.setSrc=function(e){if(this.fallbackImg_)this.fallbackImg_.src=e;else{var t="";e&&(t='url("'+e+'")'),this.el_.style.backgroundImage=t}},t.prototype.handleClick=function(e){this.player_.controls()&&(this.player_.paused()?this.player_.play():this.player_.pause())},t}(c.default);f.default.registerComponent("PosterImage",m),t.default=m},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e,t){t&&(v=t),d.default.setTimeout(y,e)}t.__esModule=!0,t.hasLoaded=t.autoSetupTimeout=t.autoSetup=void 0;var a=n(22),s=o(a),u=n(81),c=o(u),l=n(26),f=r(l),p=n(29),d=r(p),h=!1,v=void 0,y=function(){if(s.isReal()){var e=f.default.getElementsByTagName("video"),t=f.default.getElementsByTagName("audio"),n=[];if(e&&e.length>0)for(var r=0,o=e.length;r<o;r++)n.push(e[r]);if(t&&t.length>0)for(var a=0,u=t.length;a<u;a++)n.push(t[a]);if(n&&n.length>0)for(var c=0,l=n.length;c<l;c++){var p=n[c];if(!p||!p.getAttribute){i(1);break}if(void 0===p.player){var d=p.getAttribute("data-setup");null!==d&&v(p)}}else h||i(1)}};s.isReal()&&"complete"===f.default.readyState?h=!0:c.one(d.default,"load",function(){h=!0});var g=function(){return h};t.autoSetup=y,t.autoSetupTimeout=i,t.hasLoaded=g},function(e,t){"use strict";function n(e){return e.streamingFormats={"rtmp/mp4":"MP4","rtmp/flv":"FLV"},e.streamFromParts=function(e,t){return e+"&"+t},e.streamToParts=function(e){var t={connection:"",stream:""};if(!e)return t;var n=e.search(/&(?!\w+=)/),r=void 0;return n!==-1?r=n+1:(n=r=e.lastIndexOf("/")+1,0===n&&(n=r=e.length)),t.connection=e.substring(0,n),t.stream=e.substring(r,e.length),t},e.isStreamingType=function(t){return t in e.streamingFormats},e.RTMP_RE=/^rtmp[set]?:\/\//i,e.isStreamingSrc=function(t){return e.RTMP_RE.test(t)},e.rtmpSourceHandler={},e.rtmpSourceHandler.canPlayType=function(t){return e.isStreamingType(t)?"maybe":""},e.rtmpSourceHandler.canHandleSource=function(t,n){var r=e.rtmpSourceHandler.canPlayType(t.type);return r?r:e.isStreamingSrc(t.src)?"maybe":""},e.rtmpSourceHandler.handleSource=function(t,n,r){var o=e.streamToParts(t.src);n.setRtmpConnection(o.connection),n.setRtmpStream(o.stream)},e.registerSourceHandler(e.rtmpSourceHandler),e}t.__esModule=!0,t.default=n},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function u(e){var t=e.charAt(0).toUpperCase()+e.slice(1);x["set"+t]=function(t){return this.el_.vjs_setProperty(e,t)}}function c(e){x[e]=function(){return this.el_.vjs_getProperty(e)}}t.__esModule=!0;for(var l=n(153),f=o(l),p=n(22),d=r(p),h=n(202),v=r(h),y=n(154),g=n(1191),m=o(g),_=n(7),b=o(_),w=n(29),E=o(w),T=n(33),C=E.default.navigator,S=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return n.source&&o.ready(function(){this.setSource(n.source)},!0),n.startTime&&o.ready(function(){this.load(),this.play(),this.currentTime(n.startTime)},!0),E.default.videojs=E.default.videojs||{},E.default.videojs.Flash=E.default.videojs.Flash||{},E.default.videojs.Flash.onReady=t.onReady,E.default.videojs.Flash.onEvent=t.onEvent,E.default.videojs.Flash.onError=t.onError,o.on("seeked",function(){this.lastSeekTarget_=void 0}),o}return s(t,e),t.prototype.createEl=function(){var e=this.options_;if(!e.swf){var n="5.3.0";e.swf="//vjs.zencdn.net/swf/"+n+"/video-js.swf"}var r=e.techId,o=(0,T.assign)({readyFunction:"videojs.Flash.onReady",eventProxyFunction:"videojs.Flash.onEvent",errorEventProxyFunction:"videojs.Flash.onError",autoplay:e.autoplay,preload:e.preload,loop:e.loop,muted:e.muted},e.flashVars),i=(0,T.assign)({wmode:"opaque",bgcolor:"#000000"},e.params),a=(0,T.assign)({id:r,name:r,class:"vjs-tech"},e.attributes);return this.el_=t.embed(e.swf,o,i,a),this.el_.tech=this,this.el_},t.prototype.play=function(){this.ended()&&this.setCurrentTime(0),this.el_.vjs_play()},t.prototype.pause=function(){this.el_.vjs_pause()},t.prototype.src=function(e){return void 0===e?this.currentSrc():this.setSrc(e)},t.prototype.setSrc=function(e){var t=this;e=v.getAbsoluteURL(e),this.el_.vjs_src(e),this.autoplay()&&this.setTimeout(function(){return t.play()},0)},t.prototype.seeking=function(){return void 0!==this.lastSeekTarget_},t.prototype.setCurrentTime=function(t){var n=this.seekable();n.length&&(t=t>n.start(0)?t:n.start(0),t=t<n.end(n.length-1)?t:n.end(n.length-1),this.lastSeekTarget_=t,this.trigger("seeking"),this.el_.vjs_setProperty("currentTime",t),e.prototype.setCurrentTime.call(this))},t.prototype.currentTime=function(){return this.seeking()?this.lastSeekTarget_||0:this.el_.vjs_getProperty("currentTime")},t.prototype.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.vjs_getProperty("currentSrc")},t.prototype.duration=function e(){if(0===this.readyState())return NaN;var e=this.el_.vjs_getProperty("duration");return e>=0?e:1/0},t.prototype.load=function(){this.el_.vjs_load()},t.prototype.poster=function(){this.el_.vjs_getProperty("poster")},t.prototype.setPoster=function(){},t.prototype.seekable=function(){var e=this.duration();return 0===e?(0,y.createTimeRange)():(0,y.createTimeRange)(0,e)},t.prototype.buffered=function(){var e=this.el_.vjs_getProperty("buffered");return 0===e.length?(0,y.createTimeRange)():(0,y.createTimeRange)(e[0][0],e[0][1])},t.prototype.supportsFullScreen=function(){return!1},t.prototype.enterFullScreen=function(){return!1},t}(f.default),x=S.prototype,O="rtmpConnection,rtmpStream,preload,defaultPlaybackRate,playbackRate,autoplay,loop,mediaGroup,controller,controls,volume,muted,defaultMuted".split(","),k="networkState,readyState,initialTime,startOffsetTime,paused,ended,videoWidth,videoHeight".split(","),P=0;P<O.length;P++)c(O[P]),u(O[P]);for(var M=0;M<k.length;M++)c(k[M]);S.isSupported=function(){return S.version()[0]>=10},f.default.withSourceHandlers(S),S.nativeSourceHandler={},S.nativeSourceHandler.canPlayType=function(e){return e in S.formats?"maybe":""},S.nativeSourceHandler.canHandleSource=function(e,t){function n(e){var t=v.getFileExtension(e);return t?"video/"+t:""}var r=void 0;return r=e.type?e.type.replace(/;.*/,"").toLowerCase():n(e.src),S.nativeSourceHandler.canPlayType(r)},S.nativeSourceHandler.handleSource=function(e,t,n){t.setSrc(e.src)},S.nativeSourceHandler.dispose=function(){},S.registerSourceHandler(S.nativeSourceHandler),S.formats={"video/flv":"FLV","video/x-flv":"FLV","video/mp4":"MP4","video/m4v":"MP4"},S.onReady=function(e){var t=d.getEl(e),n=t&&t.tech;n&&n.el()&&S.checkReady(n)},S.checkReady=function(e){e.el()&&(e.el().vjs_getProperty?e.triggerReady():this.setTimeout(function(){S.checkReady(e)},50))},S.onEvent=function(e,t){var n=d.getEl(e).tech,r=Array.prototype.slice.call(arguments,2);n.setTimeout(function(){n.trigger(t,r)},1)},S.onError=function(e,t){var n=d.getEl(e).tech;return"srcnotfound"===t?n.error(4):void n.error("FLASH: "+t)},S.version=function(){var e="0,0,0";try{e=new E.default.ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version").replace(/\D+/g,",").match(/^,?(.+),?$/)[1]}catch(t){try{C.mimeTypes["application/x-shockwave-flash"].enabledPlugin&&(e=(C.plugins["Shockwave Flash 2.0"]||C.plugins["Shockwave Flash"]).description.replace(/\D+/g,",").match(/^,?(.+),?$/)[1])}catch(e){}}return e.split(",")},S.embed=function(e,t,n,r){var o=S.getEmbedCode(e,t,n,r),i=d.createEl("div",{innerHTML:o}).childNodes[0];return i},S.getEmbedCode=function(e,t,n,r){var o='<object type="application/x-shockwave-flash" ',i="",a="",s="";return t&&Object.getOwnPropertyNames(t).forEach(function(e){i+=e+"="+t[e]+"&amp;"}),n=(0,T.assign)({movie:e,flashvars:i,allowScriptAccess:"always",allowNetworking:"all"},n),Object.getOwnPropertyNames(n).forEach(function(e){a+='<param name="'+e+'" value="'+n[e]+'" />'}),r=(0,T.assign)({data:e,width:"100%",height:"100%"},r),Object.getOwnPropertyNames(r).forEach(function(e){s+=e+'="'+r[e]+'" '}),""+o+s+">"+a+"</object>"},(0,m.default)(S),b.default.registerComponent("Flash",S),f.default.registerTech("Flash",S),t.default=S},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return e.raw=t,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var c=i(["Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.\n            This may prevent text tracks from loading."],["Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.\n            This may prevent text tracks from loading."]),l=n(153),f=o(l),p=n(7),d=o(p),h=n(22),v=r(h),y=n(202),g=r(y),m=n(19),_=r(m),b=n(44),w=o(b),E=n(478),T=o(E),C=n(32),S=r(C),x=n(26),O=o(x),k=n(29),P=o(k),M=n(33),A=n(74),I=o(A),j=n(128),D=o(j),R=function(e){function t(n,r){a(this,t);var o=s(this,e.call(this,n,r)),i=n.source,u=!1;if(i&&(o.el_.currentSrc!==i.src||n.tag&&3===n.tag.initNetworkState_)?o.setSource(i):o.handleLateInit_(o.el_),o.el_.hasChildNodes()){for(var l=o.el_.childNodes,f=l.length,p=[];f--;){var d=l[f],h=d.nodeName.toLowerCase();"track"===h&&(o.featuresNativeTextTracks?(o.remoteTextTrackEls().addTrackElement_(d),o.remoteTextTracks().addTrack_(d.track),u||o.el_.hasAttribute("crossorigin")||!g.isCrossOrigin(d.src)||(u=!0)):p.push(d))}for(var v=0;v<p.length;v++)o.el_.removeChild(p[v])}var y=["audio","video"];return y.forEach(function(e){var t=o.el()[e+"Tracks"],n=o[e+"Tracks"](),r=(0,D.default)(e);o["featuresNative"+r+"Tracks"]&&t&&t.addEventListener&&(o["handle"+r+"TrackChange_"]=function(e){n.trigger({type:"change",target:n,currentTarget:n,srcElement:n})},o["handle"+r+"TrackAdd_"]=function(e){return n.addTrack(e.track)},o["handle"+r+"TrackRemove_"]=function(e){return n.removeTrack(e.track)},t.addEventListener("change",o["handle"+r+"TrackChange_"]),t.addEventListener("addtrack",o["handle"+r+"TrackAdd_"]),t.addEventListener("removetrack",o["handle"+r+"TrackRemove_"]),o["removeOld"+r+"Tracks_"]=function(e){return o.removeOldTracks_(n,t)},o.on("loadstart",o["removeOld"+r+"Tracks_"]))}),o.featuresNativeTextTracks&&(u&&w.default.warn((0,T.default)(c)),o.handleTextTrackChange_=_.bind(o,o.handleTextTrackChange),o.handleTextTrackAdd_=_.bind(o,o.handleTextTrackAdd),o.handleTextTrackRemove_=_.bind(o,o.handleTextTrackRemove),o.proxyNativeTextTracks_()),(S.TOUCH_ENABLED||S.IS_IPHONE||S.IS_NATIVE_ANDROID)&&n.nativeControlsForTouch===!0&&o.setControls(!0),o.proxyWebkitFullscreen_(),o.triggerReady(),o}return u(t,e),t.prototype.dispose=function(){var n=this;["audio","video","text"].forEach(function(e){var t=(0,D.default)(e),r=n.el_[e+"Tracks"];r&&r.removeEventListener&&(r.removeEventListener("change",n["handle"+t+"TrackChange_"]),r.removeEventListener("addtrack",n["handle"+t+"TrackAdd_"]),r.removeEventListener("removetrack",n["handle"+t+"TrackRemove_"])),r&&n.off("loadstart",n["removeOld"+t+"Tracks_"])}),t.disposeMediaElement(this.el_),e.prototype.dispose.call(this)},t.prototype.createEl=function(){var e=this.options_.tag;if(!e||!this.options_.playerElIngest&&!this.movingMediaElementInDOM){if(e){var n=e.cloneNode(!0);e.parentNode&&e.parentNode.insertBefore(n,e),t.disposeMediaElement(e),e=n}else{e=O.default.createElement("video");var r=this.options_.tag&&v.getElAttributes(this.options_.tag),o=(0,I.default)({},r);S.TOUCH_ENABLED&&this.options_.nativeControlsForTouch===!0||delete o.controls,v.setElAttributes(e,(0,M.assign)(o,{id:this.options_.techId,class:"vjs-tech"}))}e.playerId=this.options_.playerId}for(var i=["autoplay","preload","loop","muted"],a=i.length-1;a>=0;a--){var s=i[a],u={};"undefined"!=typeof this.options_[s]&&(u[s]=this.options_[s]),v.setElAttributes(e,u)}return e},t.prototype.handleLateInit_=function(e){if(0!==e.networkState&&3!==e.networkState){if(0===e.readyState){var t=!1,n=function(){t=!0};this.on("loadstart",n);var r=function(){t||this.trigger("loadstart")};return this.on("loadedmetadata",r),void this.ready(function(){this.off("loadstart",n),this.off("loadedmetadata",r),t||this.trigger("loadstart")})}var o=["loadstart"];o.push("loadedmetadata"),e.readyState>=2&&o.push("loadeddata"),e.readyState>=3&&o.push("canplay"),e.readyState>=4&&o.push("canplaythrough"),this.ready(function(){o.forEach(function(e){this.trigger(e)},this)})}},t.prototype.proxyNativeTextTracks_=function(){var e=this.el().textTracks;if(e){for(var t=0;t<e.length;t++)this.textTracks().addTrack_(e[t]);e.addEventListener&&(e.addEventListener("change",this.handleTextTrackChange_),e.addEventListener("addtrack",this.handleTextTrackAdd_),e.addEventListener("removetrack",this.handleTextTrackRemove_)),this.on("loadstart",this.removeOldTextTracks_)}},t.prototype.handleTextTrackChange=function(e){var t=this.textTracks();this.textTracks().trigger({type:"change",target:t,currentTarget:t,srcElement:t})},t.prototype.handleTextTrackAdd=function(e){this.textTracks().addTrack_(e.track)},t.prototype.handleTextTrackRemove=function(e){this.textTracks().removeTrack_(e.track)},t.prototype.removeOldTracks_=function(e,t){var n=[];if(t){for(var r=0;r<e.length;r++){for(var o=e[r],i=!1,a=0;a<t.length;a++)if(t[a]===o){i=!0;break}i||n.push(o)}for(var s=0;s<n.length;s++){var u=n[s];e.removeTrack_(u)}}},t.prototype.removeOldTextTracks_=function(e){var t=this.textTracks(),n=this.el().textTracks;this.removeOldTracks_(t,n)},t.prototype.play=function(){var e=this.el_.play();void 0!==e&&"function"==typeof e.then&&e.then(null,function(e){})},t.prototype.setCurrentTime=function(e){try{this.el_.currentTime=e}catch(e){(0,w.default)(e,"Video is not ready. (Video.js)")}},t.prototype.duration=function(){var e=this;if(this.el_.duration===1/0&&S.IS_ANDROID&&S.IS_CHROME&&0===this.el_.currentTime){var t=function t(){e.el_.currentTime>0&&(e.el_.duration===1/0&&e.trigger("durationchange"),e.off("timeupdate",t))};return this.on("timeupdate",t),NaN}return this.el_.duration||NaN},t.prototype.width=function(){return this.el_.offsetWidth},t.prototype.height=function(){return this.el_.offsetHeight},t.prototype.proxyWebkitFullscreen_=function(){var e=this;if("webkitDisplayingFullscreen"in this.el_){var t=function(){this.trigger("fullscreenchange",{isFullscreen:!1})},n=function(){this.one("webkitendfullscreen",t),this.trigger("fullscreenchange",{isFullscreen:!0})};this.on("webkitbeginfullscreen",n),this.on("dispose",function(){e.off("webkitbeginfullscreen",n),e.off("webkitendfullscreen",t)})}},t.prototype.supportsFullScreen=function(){if("function"==typeof this.el_.webkitEnterFullScreen){var e=P.default.navigator&&P.default.navigator.userAgent||"";if(/Android/.test(e)||!/Chrome|Mac OS X 10.5/.test(e))return!0}return!1},t.prototype.enterFullScreen=function(){var e=this.el_;e.paused&&e.networkState<=e.HAVE_METADATA?(this.el_.play(),this.setTimeout(function(){e.pause(),e.webkitEnterFullScreen()},0)):e.webkitEnterFullScreen()},t.prototype.exitFullScreen=function(){this.el_.webkitExitFullScreen()},t.prototype.src=function(e){return void 0===e?this.el_.src:void this.setSrc(e)},t.prototype.reset=function(){t.resetMediaElement(this.el_)},t.prototype.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.currentSrc},t.prototype.setControls=function(e){this.el_.controls=!!e},t.prototype.addTextTrack=function(t,n,r){return this.featuresNativeTextTracks?this.el_.addTextTrack(t,n,r):e.prototype.addTextTrack.call(this,t,n,r)},t.prototype.createRemoteTextTrack=function(t){if(!this.featuresNativeTextTracks)return e.prototype.createRemoteTextTrack.call(this,t);var n=O.default.createElement("track");return t.kind&&(n.kind=t.kind),t.label&&(n.label=t.label),(t.language||t.srclang)&&(n.srclang=t.language||t.srclang),t.default&&(n.default=t.default),t.id&&(n.id=t.id),t.src&&(n.src=t.src),n},t.prototype.addRemoteTextTrack=function(t,n){var r=e.prototype.addRemoteTextTrack.call(this,t,n);return this.featuresNativeTextTracks&&this.el().appendChild(r),r},t.prototype.removeRemoteTextTrack=function(t){if(e.prototype.removeRemoteTextTrack.call(this,t),this.featuresNativeTextTracks)for(var n=this.$$("track"),r=n.length;r--;)t!==n[r]&&t!==n[r].track||this.el().removeChild(n[r])},t}(f.default);if(v.isReal()){R.TEST_VID=O.default.createElement("video");var N=O.default.createElement("track");N.kind="captions",N.srclang="en",N.label="English",R.TEST_VID.appendChild(N)}R.isSupported=function(){try{R.TEST_VID.volume=.5}catch(e){return!1}return!(!R.TEST_VID||!R.TEST_VID.canPlayType)},R.canControlVolume=function(){try{var e=R.TEST_VID.volume;return R.TEST_VID.volume=e/2+.1,e!==R.TEST_VID.volume}catch(e){return!1}},R.canControlPlaybackRate=function(){if(S.IS_ANDROID&&S.IS_CHROME)return!1;try{var e=R.TEST_VID.playbackRate;return R.TEST_VID.playbackRate=e/2+.1,e!==R.TEST_VID.playbackRate}catch(e){return!1}},R.supportsNativeTextTracks=function(){return S.IS_ANY_SAFARI},R.supportsNativeVideoTracks=function(){return!(!R.TEST_VID||!R.TEST_VID.videoTracks)},R.supportsNativeAudioTracks=function(){return!(!R.TEST_VID||!R.TEST_VID.audioTracks)},R.Events=["loadstart","suspend","abort","error","emptied","stalled","loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","seeking","seeked","ended","durationchange","timeupdate","progress","play","pause","ratechange","volumechange"],R.prototype.featuresVolumeControl=R.canControlVolume(),R.prototype.featuresPlaybackRate=R.canControlPlaybackRate(),R.prototype.movingMediaElementInDOM=!S.IS_IOS,R.prototype.featuresFullscreenResize=!0,R.prototype.featuresProgressEvents=!0,R.prototype.featuresTimeupdateEvents=!0,R.prototype.featuresNativeTextTracks=R.supportsNativeTextTracks(),R.prototype.featuresNativeVideoTracks=R.supportsNativeVideoTracks(),R.prototype.featuresNativeAudioTracks=R.supportsNativeAudioTracks();var L=R.TEST_VID&&R.TEST_VID.constructor.prototype.canPlayType,F=/^application\/(?:x-|vnd\.apple\.)mpegurl/i,U=/^video\/mp4/i;R.patchCanPlayType=function(){S.ANDROID_VERSION>=4&&!S.IS_FIREFOX?R.TEST_VID.constructor.prototype.canPlayType=function(e){return e&&F.test(e)?"maybe":L.call(this,e)}:S.IS_OLD_ANDROID&&(R.TEST_VID.constructor.prototype.canPlayType=function(e){return e&&U.test(e)?"maybe":L.call(this,e)})},R.unpatchCanPlayType=function(){var e=R.TEST_VID.constructor.prototype.canPlayType;return R.TEST_VID.constructor.prototype.canPlayType=L,e},R.patchCanPlayType(),R.disposeMediaElement=function(e){if(e){for(e.parentNode&&e.parentNode.removeChild(e);e.hasChildNodes();)e.removeChild(e.firstChild);e.removeAttribute("src"),"function"==typeof e.load&&!function(){try{e.load()}catch(e){}}()}},R.resetMediaElement=function(e){if(e){for(var t=e.querySelectorAll("source"),n=t.length;n--;)e.removeChild(t[n]);e.removeAttribute("src"),"function"==typeof e.load&&!function(){try{e.load()}catch(e){}}()}},["paused","currentTime","buffered","volume","muted","poster","preload","autoplay","controls","loop","error","seeking","seekable","ended","defaultMuted","playbackRate","played","networkState","readyState","videoWidth","videoHeight"].forEach(function(e){R.prototype[e]=function(){return this.el_[e]}}),["volume","muted","src","poster","preload","autoplay","loop","playbackRate"].forEach(function(e){R.prototype["set"+(0,D.default)(e)]=function(t){this.el_[e]=t}}),["pause","load"].forEach(function(e){R.prototype[e]=function(){return this.el_[e]()}}),f.default.withSourceHandlers(R),R.nativeSourceHandler={},R.nativeSourceHandler.canPlayType=function(e){try{return R.TEST_VID.canPlayType(e)}catch(e){return""}},R.nativeSourceHandler.canHandleSource=function(e,t){if(e.type)return R.nativeSourceHandler.canPlayType(e.type);if(e.src){var n=g.getFileExtension(e.src);return R.nativeSourceHandler.canPlayType("video/"+n)}return""},R.nativeSourceHandler.handleSource=function(e,t,n){t.setSrc(e.src)},R.nativeSourceHandler.dispose=function(){},R.registerSourceHandler(R.nativeSourceHandler),d.default.registerComponent("Html5",R),f.default.registerTech("Html5",R),t.default=R},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(7),u=r(s),c=n(153),l=r(c),f=n(128),p=r(f),d=function(e){function t(n,r,a){o(this,t);var s=i(this,e.call(this,n,r,a));if(r.playerOptions.sources&&0!==r.playerOptions.sources.length)n.src(r.playerOptions.sources);else for(var c=0,f=r.playerOptions.techOrder;c<f.length;c++){var d=(0,p.default)(f[c]),h=l.default.getTech(d);if(d||(h=u.default.getComponent(d)),h&&h.isSupported()){n.loadTech_(d);break}}return s}return a(t,e),t}(u.default);u.default.registerComponent("MediaLoader",d),t.default=d},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(314),c=n(316),l=o(c),f=n(74),p=o(f),d=n(32),h=r(d),v=function(e){function t(){var n,r,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i(this,t);var s=(0,p.default)(o,{kind:u.AudioTrackKind[o.kind]||""}),c=n=a(this,e.call(this,s)),l=!1;if(h.IS_IE8)for(var f in t.prototype)"constructor"!==f&&(c[f]=t.prototype[f]);return Object.defineProperty(c,"enabled",{get:function(){return l},set:function(e){"boolean"==typeof e&&e!==l&&(l=e,this.trigger("enabledchange"))}}),s.enabled&&(c.enabled=s.enabled),c.loaded_=!0,r=c,a(n,r)}return s(t,e),t}(l.default);t.default=v},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var a=n(32),s=o(a),u=n(26),c=r(u),l=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];i(this,e);var n=this;if(s.IS_IE8){n=c.default.createElement("custom");for(var r in e.prototype)"constructor"!==r&&(n[r]=e.prototype[r])}n.trackElements_=[],Object.defineProperty(n,"length",{get:function(){return this.trackElements_.length}});for(var o=0,a=t.length;o<a;o++)n.addTrackElement_(t[o]);if(s.IS_IE8)return n}return e.prototype.addTrackElement_=function(e){var t=this.trackElements_.length;""+t in this||Object.defineProperty(this,t,{get:function(){return this.trackElements_[t]}}),this.trackElements_.indexOf(e)===-1&&this.trackElements_.push(e)},e.prototype.getTrackElementByTrack_=function(e){for(var t=void 0,n=0,r=this.trackElements_.length;n<r;n++)if(e===this.trackElements_[n].track){t=this.trackElements_[n];break}return t},e.prototype.removeTrackElement_=function(e){for(var t=0,n=this.trackElements_.length;t<n;t++)if(e===this.trackElements_[t]){this.trackElements_.splice(t,1);break}},e}();t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(32),c=o(u),l=n(26),f=r(l),p=n(200),d=r(p),h=n(313),v=r(h),y=0,g=1,m=2,_=3,b=function(e){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i(this,t);var r=a(this,e.call(this)),o=void 0,s=r;if(c.IS_IE8){s=f.default.createElement("custom");for(var u in t.prototype)"constructor"!==u&&(s[u]=t.prototype[u])}var l=new v.default(n);if(s.kind=l.kind,s.src=l.src,s.srclang=l.language,s.label=l.label,s.default=l.default,Object.defineProperty(s,"readyState",{get:function(){return o}}),Object.defineProperty(s,"track",{get:function(){return l}}),o=y,l.addEventListener("loadeddata",function(){o=m,s.trigger({type:"load",target:s})}),c.IS_IE8){var p;return p=s,a(r,p)}return r}return s(t,e),t}(d.default);b.prototype.allowedEvents_={load:"load"},b.NONE=y,b.LOADING=g,b.LOADED=m,b.ERROR=_,t.default=b},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var a=n(32),s=o(a),u=n(26),c=r(u),l=function(){function e(t){i(this,e);var n=this;if(s.IS_IE8){n=c.default.createElement("custom");for(var r in e.prototype)"constructor"!==r&&(n[r]=e.prototype[r])}if(e.prototype.setCues_.call(n,t),Object.defineProperty(n,"length",{get:function(){return this.length_}}),s.IS_IE8)return n}return e.prototype.setCues_=function(e){var t=this.length||0,n=0,r=e.length;this.cues_=e,this.length_=e.length;var o=function(e){""+e in this||Object.defineProperty(this,""+e,{get:function(){return this.cues_[e]}})};if(t<r)for(n=t;n<r;n++)o.call(this,n)},e.prototype.getCueById=function(e){for(var t=null,n=0,r=this.length;n<r;n++){var o=this[n];if(o.id===e){t=o;break}}return t},e}();t.default=l},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function u(e,t){return"rgba("+parseInt(e[1]+e[1],16)+","+parseInt(e[2]+e[2],16)+","+parseInt(e[3]+e[3],16)+","+t+")"}function c(e,t,n){try{e.style[t]=n}catch(e){return}}t.__esModule=!0;var l=n(7),f=o(l),p=n(19),d=r(p),h=n(29),v=o(h),y="#222",g="#ccc",m={monospace:"monospace",sansSerif:"sans-serif",serif:"serif",monospaceSansSerif:'"Andale Mono", "Lucida Console", monospace',monospaceSerif:'"Courier New", monospace',proportionalSansSerif:"sans-serif",proportionalSerif:"serif",casual:'"Comic Sans MS", Impact, fantasy',script:'"Monotype Corsiva", cursive',smallcaps:'"Andale Mono", "Lucida Console", monospace, sans-serif'},_=function(e){function t(n,r,o){i(this,t);var s=a(this,e.call(this,n,r,o));return n.on("loadstart",d.bind(s,s.toggleDisplay)),n.on("texttrackchange",d.bind(s,s.updateDisplay)),n.ready(d.bind(s,function(){if(n.tech_&&n.tech_.featuresNativeTextTracks)return void this.hide();n.on("fullscreenchange",d.bind(this,this.updateDisplay));for(var e=this.options_.playerOptions.tracks||[],t=0;t<e.length;t++)this.player_.addRemoteTextTrack(e[t],!0);var r={captions:1,subtitles:1},o=this.player_.textTracks(),i=void 0,a=void 0;if(o){for(var s=0;s<o.length;s++){var u=o[s];u.default&&("descriptions"!==u.kind||i?u.kind in r&&!a&&(a=u):i=u)}a?a.mode="showing":i&&(i.mode="showing")}})),s}return s(t,e),t.prototype.toggleDisplay=function(){this.player_.tech_&&this.player_.tech_.featuresNativeTextTracks?this.hide():this.show()},t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-text-track-display"},{"aria-live":"off","aria-atomic":"true"})},t.prototype.clearDisplay=function(){"function"==typeof v.default.WebVTT&&v.default.WebVTT.processCues(v.default,[],this.el_)},t.prototype.updateDisplay=function(){var e=this.player_.textTracks();if(this.clearDisplay(),e){for(var t=null,n=null,r=e.length;r--;){var o=e[r];"showing"===o.mode&&("descriptions"===o.kind?t=o:n=o)}n?("off"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","off"),this.updateForTrack(n)):t&&("assertive"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","assertive"),this.updateForTrack(t))}},t.prototype.updateForTrack=function(e){if("function"==typeof v.default.WebVTT&&e.activeCues){for(var t=this.player_.textTrackSettings.getValues(),n=[],r=0;r<e.activeCues.length;r++)n.push(e.activeCues[r]);v.default.WebVTT.processCues(v.default,n,this.el_);for(var o=n.length;o--;){var i=n[o];if(i){var a=i.displayState;if(t.color&&(a.firstChild.style.color=t.color),
-t.textOpacity&&c(a.firstChild,"color",u(t.color||"#fff",t.textOpacity)),t.backgroundColor&&(a.firstChild.style.backgroundColor=t.backgroundColor),t.backgroundOpacity&&c(a.firstChild,"backgroundColor",u(t.backgroundColor||"#000",t.backgroundOpacity)),t.windowColor&&(t.windowOpacity?c(a,"backgroundColor",u(t.windowColor,t.windowOpacity)):a.style.backgroundColor=t.windowColor),t.edgeStyle&&("dropshadow"===t.edgeStyle?a.firstChild.style.textShadow="2px 2px 3px "+y+", 2px 2px 4px "+y+", 2px 2px 5px "+y:"raised"===t.edgeStyle?a.firstChild.style.textShadow="1px 1px "+y+", 2px 2px "+y+", 3px 3px "+y:"depressed"===t.edgeStyle?a.firstChild.style.textShadow="1px 1px "+g+", 0 1px "+g+", -1px -1px "+y+", 0 -1px "+y:"uniform"===t.edgeStyle&&(a.firstChild.style.textShadow="0 0 4px "+y+", 0 0 4px "+y+", 0 0 4px "+y+", 0 0 4px "+y)),t.fontPercent&&1!==t.fontPercent){var s=v.default.parseFloat(a.style.fontSize);a.style.fontSize=s*t.fontPercent+"px",a.style.height="auto",a.style.top="auto",a.style.bottom="2px"}t.fontFamily&&"default"!==t.fontFamily&&("small-caps"===t.fontFamily?a.firstChild.style.fontVariant="small-caps":a.firstChild.style.fontFamily=m[t.fontFamily])}}}},t}(f.default);f.default.registerComponent("TextTrackDisplay",_),t.default=_},function(e,t){"use strict";t.__esModule=!0;var n=function(e){var t=["kind","label","language","id","inBandMetadataTrackDispatchType","mode","src"].reduce(function(t,n,r){return e[n]&&(t[n]=e[n]),t},{cues:e.cues&&Array.prototype.map.call(e.cues,function(e){return{startTime:e.startTime,endTime:e.endTime,text:e.text,id:e.id}})});return t},r=function(e){var t=e.$$("track"),r=Array.prototype.map.call(t,function(e){return e.track}),o=Array.prototype.map.call(t,function(e){var t=n(e.track);return e.src&&(t.src=e.src),t});return o.concat(Array.prototype.filter.call(e.textTracks(),function(e){return r.indexOf(e)===-1}).map(n))},o=function(e,t){return e.forEach(function(e){var n=t.addRemoteTextTrack(e).track;!e.src&&e.cues&&e.cues.forEach(function(e){return n.addCue(e)})}),t.textTracks()};t.default={textTracksToJson:r,jsonToTextTracks:o,trackToJson_:n}},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(315),c=o(u),l=n(19),f=r(l),p=n(32),d=r(p),h=n(26),v=o(h),y=function(e){function t(){var n,r,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];i(this,t);var s=void 0;if(d.IS_IE8){s=v.default.createElement("custom");for(var u in c.default.prototype)"constructor"!==u&&(s[u]=c.default.prototype[u]);for(var l in t.prototype)"constructor"!==l&&(s[l]=t.prototype[l])}return s=n=a(this,e.call(this,o,s)),r=s,a(n,r)}return s(t,e),t.prototype.addTrack_=function(t){e.prototype.addTrack_.call(this,t),t.addEventListener("modechange",f.bind(this,function(){this.trigger("change")}))},t}(c.default);t.default=y},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function u(e,t){if(t&&(e=t(e)),e&&"none"!==e)return e}function c(e,t){var n=e.options[e.options.selectedIndex].value;return u(n,t)}function l(e,t,n){if(t)for(var r=0;r<e.options.length;r++)if(u(e.options[r].value,n)===t){e.selectedIndex=r;break}}t.__esModule=!0;var f=n(29),p=o(f),d=n(7),h=o(d),v=n(22),y=n(19),g=r(y),m=n(33),_=r(m),b=n(44),w=o(b),E="vjs-text-track-settings",T=["#000","Black"],C=["#00F","Blue"],S=["#0FF","Cyan"],x=["#0F0","Green"],O=["#F0F","Magenta"],k=["#F00","Red"],P=["#FFF","White"],M=["#FF0","Yellow"],A=["1","Opaque"],I=["0.5","Semi-Transparent"],j=["0","Transparent"],D={backgroundColor:{selector:".vjs-bg-color > select",id:"captions-background-color-%s",label:"Color",options:[T,P,k,x,C,M,O,S]},backgroundOpacity:{selector:".vjs-bg-opacity > select",id:"captions-background-opacity-%s",label:"Transparency",options:[A,I,j]},color:{selector:".vjs-fg-color > select",id:"captions-foreground-color-%s",label:"Color",options:[P,T,k,x,C,M,O,S]},edgeStyle:{selector:".vjs-edge-style > select",id:"%s",label:"Text Edge Style",options:[["none","None"],["raised","Raised"],["depressed","Depressed"],["uniform","Uniform"],["dropshadow","Dropshadow"]]},fontFamily:{selector:".vjs-font-family > select",id:"captions-font-family-%s",label:"Font Family",options:[["proportionalSansSerif","Proportional Sans-Serif"],["monospaceSansSerif","Monospace Sans-Serif"],["proportionalSerif","Proportional Serif"],["monospaceSerif","Monospace Serif"],["casual","Casual"],["script","Script"],["small-caps","Small Caps"]]},fontPercent:{selector:".vjs-font-percent > select",id:"captions-font-size-%s",label:"Font Size",options:[["0.50","50%"],["0.75","75%"],["1.00","100%"],["1.25","125%"],["1.50","150%"],["1.75","175%"],["2.00","200%"],["3.00","300%"],["4.00","400%"]],default:2,parser:function(e){return"1.00"===e?null:Number(e)}},textOpacity:{selector:".vjs-text-opacity > select",id:"captions-foreground-opacity-%s",label:"Transparency",options:[A,I]},windowColor:{selector:".vjs-window-color > select",id:"captions-window-color-%s",label:"Color"},windowOpacity:{selector:".vjs-window-opacity > select",id:"captions-window-opacity-%s",label:"Transparency",options:[j,I,A]}};D.windowColor.options=D.backgroundColor.options;var R=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.setDefaults(),o.hide(),o.updateDisplay=g.bind(o,o.updateDisplay),void 0===r.persistTextTrackSettings&&(o.options_.persistTextTrackSettings=o.options_.playerOptions.persistTextTrackSettings),o.on(o.$(".vjs-done-button"),"click",function(){o.saveSettings(),o.hide()}),o.on(o.$(".vjs-default-button"),"click",function(){o.setDefaults(),o.updateDisplay()}),_.each(D,function(e){o.on(o.$(e.selector),"change",o.updateDisplay)}),o.options_.persistTextTrackSettings&&o.restoreSettings(),o}return s(t,e),t.prototype.createElSelect_=function(e){var t=this,n=D[e],r=n.id.replace("%s",this.id_);return[(0,v.createEl)("label",{className:"vjs-label",textContent:n.label},{for:r}),(0,v.createEl)("select",{id:r},void 0,n.options.map(function(e){return(0,v.createEl)("option",{textContent:t.localize(e[1]),value:e[0]})}))]},t.prototype.createElFgColor_=function(){var e=(0,v.createEl)("legend",{textContent:this.localize("Text")}),t=this.createElSelect_("color"),n=(0,v.createEl)("span",{className:"vjs-text-opacity vjs-opacity"},void 0,this.createElSelect_("textOpacity"));return(0,v.createEl)("fieldset",{className:"vjs-fg-color vjs-tracksetting"},void 0,[e].concat(t,n))},t.prototype.createElBgColor_=function(){var e=(0,v.createEl)("legend",{textContent:this.localize("Background")}),t=this.createElSelect_("backgroundColor"),n=(0,v.createEl)("span",{className:"vjs-bg-opacity vjs-opacity"},void 0,this.createElSelect_("backgroundOpacity"));return(0,v.createEl)("fieldset",{className:"vjs-bg-color vjs-tracksetting"},void 0,[e].concat(t,n))},t.prototype.createElWinColor_=function(){var e=(0,v.createEl)("legend",{textContent:this.localize("Window")}),t=this.createElSelect_("windowColor"),n=(0,v.createEl)("span",{className:"vjs-window-opacity vjs-opacity"},void 0,this.createElSelect_("windowOpacity"));return(0,v.createEl)("fieldset",{className:"vjs-window-color vjs-tracksetting"},void 0,[e].concat(t,n))},t.prototype.createElColors_=function(){return(0,v.createEl)("div",{className:"vjs-tracksettings-colors"},void 0,[this.createElFgColor_(),this.createElBgColor_(),this.createElWinColor_()])},t.prototype.createElFont_=function(){var e=(0,v.createEl)("div",{className:"vjs-font-percent vjs-tracksetting"},void 0,this.createElSelect_("fontPercent")),t=(0,v.createEl)("div",{className:"vjs-edge-style vjs-tracksetting"},void 0,this.createElSelect_("edgeStyle")),n=(0,v.createEl)("div",{className:"vjs-font-family vjs-tracksetting"},void 0,this.createElSelect_("fontFamily"));return(0,v.createEl)("div",{className:"vjs-tracksettings-font"},void 0,[e,t,n])},t.prototype.createElControls_=function(){var e=(0,v.createEl)("button",{className:"vjs-default-button",textContent:this.localize("Defaults")}),t=(0,v.createEl)("button",{className:"vjs-done-button",textContent:"Done"});return(0,v.createEl)("div",{className:"vjs-tracksettings-controls"},void 0,[e,t])},t.prototype.createEl=function(){var e=(0,v.createEl)("div",{className:"vjs-tracksettings"},void 0,[this.createElColors_(),this.createElFont_(),this.createElControls_()]),t=(0,v.createEl)("div",{className:"vjs-control-text",id:"TTsettingsDialogLabel-"+this.id_,textContent:"Caption Settings Dialog"},{"aria-level":"1",role:"heading"}),n=(0,v.createEl)("div",{className:"vjs-control-text",id:"TTsettingsDialogDescription-"+this.id_,textContent:"Beginning of dialog window. Escape will cancel and close the window."}),r=(0,v.createEl)("div",void 0,{role:"document"},[t,n,e]);return(0,v.createEl)("div",{className:"vjs-caption-settings vjs-modal-overlay",tabIndex:-1},{role:"dialog","aria-labelledby":t.id,"aria-describedby":n.id},r)},t.prototype.getValues=function(){var e=this;return _.reduce(D,function(t,n,r){var o=c(e.$(n.selector),n.parser);return void 0!==o&&(t[r]=o),t},{})},t.prototype.setValues=function(e){var t=this;_.each(D,function(n,r){l(t.$(n.selector),e[r],n.parser)})},t.prototype.setDefaults=function(){var e=this;_.each(D,function(t){var n=t.hasOwnProperty("default")?t.default:0;e.$(t.selector).selectedIndex=n})},t.prototype.restoreSettings=function(){var e=void 0;try{e=JSON.parse(p.default.localStorage.getItem(E))}catch(e){w.default.warn(e)}e&&this.setValues(e)},t.prototype.saveSettings=function(){if(this.options_.persistTextTrackSettings){var e=this.getValues();try{Object.keys(e).length?p.default.localStorage.setItem(E,JSON.stringify(e)):p.default.localStorage.removeItem(E)}catch(e){w.default.warn(e)}}},t.prototype.updateDisplay=function(){var e=this.player_.getChild("textTrackDisplay");e&&e.updateDisplay()},t}(h.default);h.default.registerComponent("TextTrackSettings",R),t.default=R},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(314),c=n(316),l=o(c),f=n(74),p=o(f),d=n(32),h=r(d),v=function(e){function t(){var n,r,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i(this,t);var s=(0,p.default)(o,{kind:u.VideoTrackKind[o.kind]||""}),c=n=a(this,e.call(this,s)),l=!1;if(h.IS_IE8)for(var f in t.prototype)"constructor"!==f&&(c[f]=t.prototype[f]);return Object.defineProperty(c,"selected",{get:function(){return l},set:function(e){"boolean"==typeof e&&e!==l&&(l=e,this.trigger("selectedchange"))}}),s.selected&&(c.selected=s.selected),r=c,a(n,r)}return s(t,e),t}(l.default);t.default=v},function(e,t,n){function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t,n){var r=void 0;if("string"==typeof e){if(0===e.indexOf("#")&&(e=e.slice(1)),i.getPlayers()[e])return t&&B.default.warn('Player "'+e+'" is already initialised. Options will not be applied.'),n&&i.getPlayers()[e].ready(n),i.getPlayers()[e];r=z.getEl(e)}else r=e;if(!r||!r.nodeName)throw new TypeError("The element or ID supplied is not valid. (videojs)");if(r.player||T.default.players[r.playerId])return r.player||T.default.players[r.playerId];t=t||{},i.hooks("beforesetup").forEach(function(e){var n=e(r,(0,O.default)(t));return!(0,K.isObject)(n)||Array.isArray(n)?void B.default.error("please return an object in beforesetup hooks"):void(t=(0,O.default)(t,n))});var o=g.default.getComponent("Player"),a=new o(r,t,n);return i.hooks("setup").forEach(function(e){return e(a)}),a}var a,s;t.__esModule=!0;var u=("function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(29)),c=o(u),l=n(26),f=o(l),p=n(1190),d=r(p),h=n(491),v=r(h),y=n(7),g=o(y),m=n(200),_=o(m),b=n(81),w=r(b),E=n(486),T=o(E),C=n(1186),S=o(C),x=n(74),O=o(x),k=n(19),P=r(k),M=n(313),A=o(M),I=n(1195),j=o(I),D=n(1203),R=o(D),N=n(154),L=n(82),F=o(L),U=n(44),B=o(U),q=n(22),z=r(q),W=n(32),H=r(W),V=n(202),G=r(V),K=n(33),$=n(317),X=o($),Y=n(1183),Q=o(Y),J=n(492),Z=o(J),ee=n(153),te=o(ee);if("undefined"==typeof HTMLVideoElement&&z.isReal()&&(f.default.createElement("video"),f.default.createElement("audio"),f.default.createElement("track")),i.hooks_={},i.hooks=function(e,t){return i.hooks_[e]=i.hooks_[e]||[],t&&(i.hooks_[e]=i.hooks_[e].concat(t)),i.hooks_[e]},i.hook=function(e,t){i.hooks(e,t)},i.removeHook=function(e,t){var n=i.hooks(e).indexOf(t);return!(n<=-1)&&(i.hooks_[e]=i.hooks_[e].slice(),i.hooks_[e].splice(n,1),!0)},c.default.VIDEOJS_NO_DYNAMIC_STYLE!==!0&&z.isReal()){var ne=z.$(".vjs-styles-defaults");if(!ne){ne=v.createStyleElement("vjs-styles-defaults");var re=z.$("head");re&&re.insertBefore(ne,re.firstChild),v.setTextContent(ne,"\n      .video-js {\n        width: 300px;\n        height: 150px;\n      }\n\n      .vjs-fluid {\n        padding-top: 56.25%\n      }\n    ")}}d.autoSetupTimeout(1,i),i.VERSION="5.19.1",i.options=T.default.prototype.options_,i.getPlayers=function(){return T.default.players},i.players=T.default.players,i.getComponent=g.default.getComponent,i.registerComponent=function(e,t){te.default.isTech(t)&&B.default.warn("The "+e+" tech was registered as a component. It should instead be registered using videojs.registerTech(name, tech)"),g.default.registerComponent.call(g.default,e,t)},i.getTech=te.default.getTech,i.registerTech=te.default.registerTech,i.browser=H,i.TOUCH_ENABLED=H.TOUCH_ENABLED,i.extend=Q.default,i.mergeOptions=O.default,i.bind=P.bind,i.plugin=S.default,i.addLanguage=function(e,t){var n;return e=(""+e).toLowerCase(),i.options.languages=(0,O.default)(i.options.languages,(n={},n[e]=t,n)),i.options.languages[e]},i.log=B.default,i.createTimeRange=i.createTimeRanges=N.createTimeRanges,i.formatTime=F.default,i.parseUrl=G.parseUrl,i.isCrossOrigin=G.isCrossOrigin,i.EventTarget=_.default,i.on=w.on,i.one=w.one,i.off=w.off,i.trigger=w.trigger,i.xhr=Z.default,i.TextTrack=A.default,i.AudioTrack=j.default,i.VideoTrack=R.default,i.isEl=z.isEl,i.isTextNode=z.isTextNode,i.createEl=z.createEl,i.hasClass=z.hasElClass,i.addClass=z.addElClass,i.removeClass=z.removeElClass,i.toggleClass=z.toggleElClass,i.setAttributes=z.setElAttributes,i.getAttributes=z.getElAttributes,i.emptyEl=z.emptyEl,i.appendContent=z.appendContent,i.insertContent=z.insertContent,i.computedStyle=X.default,a=[],s=function(){return i}.apply(t,a),!(void 0!==s&&(e.exports=s)),t.default=i},function(e,t,n){var r=e.exports={WebVTT:n(1206).WebVTT,VTTCue:n(1207).VTTCue,VTTRegion:n(1209).VTTRegion};window.vttjs=r,window.WebVTT=r.WebVTT;var o=r.VTTCue,i=r.VTTRegion,a=window.VTTCue,s=window.VTTRegion;r.shim=function(){window.VTTCue=o,window.VTTRegion=i},r.restore=function(){window.VTTCue=a,window.VTTRegion=s},window.VTTCue||r.shim()},function(e,t){!function(e){function t(e,t){this.name="ParsingError",this.code=e.code,this.message=t||e.message}function n(e){function t(e,t,n,r){return 3600*(0|e)+60*(0|t)+(0|n)+(0|r)/1e3}var n=e.match(/^(\d+):(\d{2})(:\d{2})?\.(\d{3})/);return n?n[3]?t(n[1],n[2],n[3].replace(":",""),n[4]):n[1]>59?t(n[1],n[2],0,n[4]):t(0,n[1],n[2],n[4]):null}function r(){this.values=v(null)}function o(e,t,n,r){var o=r?e.split(r):[e];for(var i in o)if("string"==typeof o[i]){var a=o[i].split(n);if(2===a.length){var s=a[0],u=a[1];t(s,u)}}}function i(e,i,a){function s(){var r=n(e);if(null===r)throw new t(t.Errors.BadTimeStamp,"Malformed timestamp: "+l);return e=e.replace(/^[^\sa-zA-Z-]+/,""),r}function u(e,t){var n=new r;o(e,function(e,t){switch(e){case"region":for(var r=a.length-1;r>=0;r--)if(a[r].id===t){n.set(e,a[r].region);break}break;case"vertical":n.alt(e,t,["rl","lr"]);break;case"line":var o=t.split(","),i=o[0];n.integer(e,i),n.percent(e,i)?n.set("snapToLines",!1):null,n.alt(e,i,["auto"]),2===o.length&&n.alt("lineAlign",o[1],["start","middle","end"]);break;case"position":o=t.split(","),n.percent(e,o[0]),2===o.length&&n.alt("positionAlign",o[1],["start","middle","end"]);break;case"size":n.percent(e,t);break;case"align":n.alt(e,t,["start","middle","end","left","right"])}},/:/,/\s/),t.region=n.get("region",null),t.vertical=n.get("vertical",""),t.line=n.get("line","auto"),t.lineAlign=n.get("lineAlign","start"),t.snapToLines=n.get("snapToLines",!0),t.size=n.get("size",100),t.align=n.get("align","middle"),t.position=n.get("position",{start:0,left:0,middle:50,end:100,right:100},t.align),t.positionAlign=n.get("positionAlign",{start:"start",left:"start",middle:"middle",end:"end",right:"end"},t.align)}function c(){e=e.replace(/^\s+/,"")}var l=e;if(c(),i.startTime=s(),c(),"-->"!==e.substr(0,3))throw new t(t.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '-->'): "+l);e=e.substr(3),c(),i.endTime=s(),c(),u(e,i)}function a(e,t){function r(){function e(e){return t=t.substr(e.length),e}if(!t)return null;var n=t.match(/^([^<]*)(<[^>]+>?)?/);return e(n[1]?n[1]:n[2])}function o(e){return y[e]}function i(e){for(;h=e.match(/&(amp|lt|gt|lrm|rlm|nbsp);/);)e=e.replace(h[0],o);return e}function a(e,t){return!_[t.localName]||_[t.localName]===e.localName}function s(t,n){var r=g[t];if(!r)return null;var o=e.document.createElement(r);o.localName=r;var i=m[t];return i&&n&&(o[i]=n.trim()),o}for(var u,c=e.document.createElement("div"),l=c,f=[];null!==(u=r());)if("<"!==u[0])l.appendChild(e.document.createTextNode(i(u)));else{if("/"===u[1]){f.length&&f[f.length-1]===u.substr(2).replace(">","")&&(f.pop(),l=l.parentNode);continue}var p,d=n(u.substr(1,u.length-2));if(d){p=e.document.createProcessingInstruction("timestamp",d),l.appendChild(p);continue}var h=u.match(/^<([^.\s\/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!h)continue;if(p=s(h[1],h[3]),!p)continue;if(!a(l,p))continue;h[2]&&(p.className=h[2].substr(1).replace("."," ")),f.push(h[1]),l.appendChild(p),l=p}return c}function s(e){for(var t=0;t<b.length;t++){var n=b[t];if(e>=n[0]&&e<=n[1])return!0}return!1}function u(e){function t(e,t){for(var n=t.childNodes.length-1;n>=0;n--)e.push(t.childNodes[n])}function n(e){if(!e||!e.length)return null;var r=e.pop(),o=r.textContent||r.innerText;if(o){var i=o.match(/^.*(\n|\r)/);return i?(e.length=0,i[0]):o}return"ruby"===r.tagName?n(e):r.childNodes?(t(e,r),n(e)):void 0}var r,o=[],i="";if(!e||!e.childNodes)return"ltr";for(t(o,e);i=n(o);)for(var a=0;a<i.length;a++)if(r=i.charCodeAt(a),s(r))return"rtl";return"ltr"}function c(e){if("number"==typeof e.line&&(e.snapToLines||e.line>=0&&e.line<=100))return e.line;if(!e.track||!e.track.textTrackList||!e.track.textTrackList.mediaElement)return-1;for(var t=e.track,n=t.textTrackList,r=0,o=0;o<n.length&&n[o]!==t;o++)"showing"===n[o].mode&&r++;return++r*-1}function l(){}function f(e,t,n){var r=/MSIE\s8\.0/.test(navigator.userAgent),o="rgba(255, 255, 255, 1)",i="rgba(0, 0, 0, 0.8)";r&&(o="rgb(255, 255, 255)",i="rgb(0, 0, 0)"),l.call(this),this.cue=t,this.cueDiv=a(e,t.text);var s={color:o,backgroundColor:i,position:"relative",left:0,right:0,top:0,bottom:0,display:"inline"};r||(s.writingMode=""===t.vertical?"horizontal-tb":"lr"===t.vertical?"vertical-lr":"vertical-rl",s.unicodeBidi="plaintext"),this.applyStyles(s,this.cueDiv),this.div=e.document.createElement("div"),s={textAlign:"middle"===t.align?"center":t.align,font:n.font,whiteSpace:"pre-line",position:"absolute"},r||(s.direction=u(this.cueDiv),s.writingMode=""===t.vertical?"horizontal-tb":"lr"===t.vertical?"vertical-lr":"vertical-rl".stylesunicodeBidi="plaintext"),this.applyStyles(s),this.div.appendChild(this.cueDiv);var c=0;switch(t.positionAlign){case"start":c=t.position;break;case"middle":c=t.position-t.size/2;break;case"end":c=t.position-t.size}""===t.vertical?this.applyStyles({left:this.formatStyle(c,"%"),width:this.formatStyle(t.size,"%")}):this.applyStyles({top:this.formatStyle(c,"%"),height:this.formatStyle(t.size,"%")}),this.move=function(e){this.applyStyles({top:this.formatStyle(e.top,"px"),bottom:this.formatStyle(e.bottom,"px"),left:this.formatStyle(e.left,"px"),right:this.formatStyle(e.right,"px"),height:this.formatStyle(e.height,"px"),width:this.formatStyle(e.width,"px")})}}function p(e){var t,n,r,o,i=/MSIE\s8\.0/.test(navigator.userAgent);if(e.div){n=e.div.offsetHeight,r=e.div.offsetWidth,o=e.div.offsetTop;var a=(a=e.div.childNodes)&&(a=a[0])&&a.getClientRects&&a.getClientRects();e=e.div.getBoundingClientRect(),t=a?Math.max(a[0]&&a[0].height||0,e.height/a.length):0}this.left=e.left,this.right=e.right,this.top=e.top||o,this.height=e.height||n,this.bottom=e.bottom||o+(e.height||n),this.width=e.width||r,this.lineHeight=void 0!==t?t:e.lineHeight,i&&!this.lineHeight&&(this.lineHeight=13)}function d(e,t,n,r){function o(e,t){for(var o,i=new p(e),a=1,s=0;s<t.length;s++){for(;e.overlapsOppositeAxis(n,t[s])||e.within(n)&&e.overlapsAny(r);)e.move(t[s]);if(e.within(n))return e;var u=e.intersectPercentage(n);a>u&&(o=new p(e),a=u),e=new p(i)}return o||i}var i=new p(t),a=t.cue,s=c(a),u=[];if(a.snapToLines){var l;switch(a.vertical){case"":u=["+y","-y"],l="height";break;case"rl":u=["+x","-x"],l="width";break;case"lr":u=["-x","+x"],l="width"}var f=i.lineHeight,d=f*Math.round(s),h=n[l]+f,v=u[0];Math.abs(d)>h&&(d=d<0?-1:1,d*=Math.ceil(h/f)*f),s<0&&(d+=""===a.vertical?n.height:n.width,u=u.reverse()),i.move(v,d)}else{var y=i.lineHeight/n.height*100;switch(a.lineAlign){case"middle":s-=y/2;break;case"end":s-=y}switch(a.vertical){case"":t.applyStyles({top:t.formatStyle(s,"%")});break;case"rl":t.applyStyles({left:t.formatStyle(s,"%")});break;case"lr":t.applyStyles({right:t.formatStyle(s,"%")})}u=["+y","-x","+x","-y"],i=new p(t)}var g=o(i,u);t.move(g.toCSSCompatValues(n))}function h(){}var v=Object.create||function(){function e(){}return function(t){if(1!==arguments.length)throw new Error("Object.create shim only accepts one parameter.");return e.prototype=t,new e}}();t.prototype=v(Error.prototype),t.prototype.constructor=t,t.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}},r.prototype={set:function(e,t){this.get(e)||""===t||(this.values[e]=t)},get:function(e,t,n){return n?this.has(e)?this.values[e]:t[n]:this.has(e)?this.values[e]:t},has:function(e){return e in this.values},alt:function(e,t,n){for(var r=0;r<n.length;++r)if(t===n[r]){this.set(e,t);break}},integer:function(e,t){/^-?\d+$/.test(t)&&this.set(e,parseInt(t,10))},percent:function(e,t){var n;return!!((n=t.match(/^([\d]{1,3})(\.[\d]*)?%$/))&&(t=parseFloat(t),t>=0&&t<=100))&&(this.set(e,t),!0)}};var y={"&amp;":"&","&lt;":"<","&gt;":">","&lrm;":"‎","&rlm;":"‏","&nbsp;":" "},g={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},m={v:"title",lang:"lang"},_={rt:"ruby"},b=[[1470,1470],[1472,1472],[1475,1475],[1478,1478],[1488,1514],[1520,1524],[1544,1544],[1547,1547],[1549,1549],[1563,1563],[1566,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],[1969,1969],[1984,2026],[2036,2037],[2042,2042],[2048,2069],[2074,2074],[2084,2084],[2088,2088],[2096,2110],[2112,2136],[2142,2142],[2208,2208],[2210,2220],[8207,8207],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64449],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[67584,67589],[67592,67592],[67594,67637],[67639,67640],[67644,67644],[67647,67669],[67671,67679],[67840,67867],[67872,67897],[67903,67903],[67968,68023],[68030,68031],[68096,68096],[68112,68115],[68117,68119],[68121,68147],[68160,68167],[68176,68184],[68192,68223],[68352,68405],[68416,68437],[68440,68466],[68472,68479],[68608,68680],[126464,126467],[126469,126495],[126497,126498],[126500,126500],[126503,126503],[126505,126514],[126516,126519],[126521,126521],[126523,126523],[126530,126530],[126535,126535],[126537,126537],[126539,126539],[126541,126543],[126545,126546],[126548,126548],[126551,126551],[126553,126553],[126555,126555],[126557,126557],[126559,126559],[126561,126562],[126564,126564],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126590,126590],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[1114109,1114109]];l.prototype.applyStyles=function(e,t){t=t||this.div;for(var n in e)e.hasOwnProperty(n)&&(t.style[n]=e[n])},l.prototype.formatStyle=function(e,t){return 0===e?0:e+t},f.prototype=v(l.prototype),f.prototype.constructor=f,p.prototype.move=function(e,t){switch(t=void 0!==t?t:this.lineHeight,e){case"+x":this.left+=t,this.right+=t;break;case"-x":this.left-=t,this.right-=t;break;case"+y":this.top+=t,this.bottom+=t;break;case"-y":this.top-=t,this.bottom-=t}},p.prototype.overlaps=function(e){return this.left<e.right&&this.right>e.left&&this.top<e.bottom&&this.bottom>e.top},p.prototype.overlapsAny=function(e){for(var t=0;t<e.length;t++)if(this.overlaps(e[t]))return!0;return!1},p.prototype.within=function(e){return this.top>=e.top&&this.bottom<=e.bottom&&this.left>=e.left&&this.right<=e.right},p.prototype.overlapsOppositeAxis=function(e,t){switch(t){case"+x":return this.left<e.left;case"-x":return this.right>e.right;case"+y":return this.top<e.top;case"-y":return this.bottom>e.bottom}},p.prototype.intersectPercentage=function(e){var t=Math.max(0,Math.min(this.right,e.right)-Math.max(this.left,e.left)),n=Math.max(0,Math.min(this.bottom,e.bottom)-Math.max(this.top,e.top)),r=t*n;return r/(this.height*this.width)},p.prototype.toCSSCompatValues=function(e){return{top:this.top-e.top,bottom:e.bottom-this.bottom,left:this.left-e.left,right:e.right-this.right,height:this.height,width:this.width}},p.getSimpleBoxPosition=function(e){var t=e.div?e.div.offsetHeight:e.tagName?e.offsetHeight:0,n=e.div?e.div.offsetWidth:e.tagName?e.offsetWidth:0,r=e.div?e.div.offsetTop:e.tagName?e.offsetTop:0;e=e.div?e.div.getBoundingClientRect():e.tagName?e.getBoundingClientRect():e;var o={left:e.left,right:e.right,top:e.top||r,height:e.height||t,bottom:e.bottom||r+(e.height||t),width:e.width||n};return o},h.StringDecoder=function(){return{decode:function(e){if(!e)return"";if("string"!=typeof e)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(e))}}},h.convertCueToDOMTree=function(e,t){return e&&t?a(e,t):null};var w=.05,E="sans-serif",T="1.5%";h.processCues=function(e,t,n){function r(e){for(var t=0;t<e.length;t++)if(e[t].hasBeenReset||!e[t].displayState)return!0;return!1}if(!e||!t||!n)return null;for(;n.firstChild;)n.removeChild(n.firstChild);var o=e.document.createElement("div");if(o.style.position="absolute",o.style.left="0",o.style.right="0",o.style.top="0",o.style.bottom="0",o.style.margin=T,n.appendChild(o),r(t)){var i=[],a=p.getSimpleBoxPosition(o),s=Math.round(a.height*w*100)/100,u={font:s+"px "+E};!function(){for(var n,r,s=0;s<t.length;s++)r=t[s],n=new f(e,r,u),o.appendChild(n.div),d(e,n,a,i),r.displayState=n.div,i.push(p.getSimpleBoxPosition(n))}()}else for(var c=0;c<t.length;c++)o.appendChild(t[c].displayState)},h.Parser=function(e,t,n){n||(n=t,t={}),t||(t={}),this.window=e,this.vttjs=t,this.state="INITIAL",this.buffer="",this.decoder=n||new TextDecoder("utf8"),this.regionList=[]},h.Parser.prototype={reportOrThrowError:function(e){if(!(e instanceof t))throw e;this.onparsingerror&&this.onparsingerror(e)},parse:function(e){function a(){for(var e=l.buffer,t=0;t<e.length&&"\r"!==e[t]&&"\n"!==e[t];)++t;var n=e.substr(0,t);return"\r"===e[t]&&++t,"\n"===e[t]&&++t,l.buffer=e.substr(t),n}function s(e){var t=new r;if(o(e,function(e,n){switch(e){case"id":t.set(e,n);break;case"width":t.percent(e,n);break;case"lines":t.integer(e,n);break;case"regionanchor":case"viewportanchor":var o=n.split(",");if(2!==o.length)break;var i=new r;if(i.percent("x",o[0]),i.percent("y",o[1]),!i.has("x")||!i.has("y"))break;t.set(e+"X",i.get("x")),t.set(e+"Y",i.get("y"));break;case"scroll":t.alt(e,n,["up"])}},/=/,/\s/),t.has("id")){var n=new(l.vttjs.VTTRegion||l.window.VTTRegion);n.width=t.get("width",100),n.lines=t.get("lines",3),n.regionAnchorX=t.get("regionanchorX",0),n.regionAnchorY=t.get("regionanchorY",100),n.viewportAnchorX=t.get("viewportanchorX",0),n.viewportAnchorY=t.get("viewportanchorY",100),n.scroll=t.get("scroll",""),l.onregion&&l.onregion(n),l.regionList.push({id:t.get("id"),region:n})}}function u(e){var t=new r;o(e,function(e,r){switch(e){case"MPEGT":t.integer(e+"S",r);break;case"LOCA":t.set(e+"L",n(r))}},/[^\d]:/,/,/),l.ontimestampmap&&l.ontimestampmap({MPEGTS:t.get("MPEGTS"),LOCAL:t.get("LOCAL")})}function c(e){e.match(/X-TIMESTAMP-MAP/)?o(e,function(e,t){switch(e){case"X-TIMESTAMP-MAP":u(t)}},/=/):o(e,function(e,t){switch(e){case"Region":s(t)}},/:/)}var l=this;e&&(l.buffer+=l.decoder.decode(e,{stream:!0}));try{var f;if("INITIAL"===l.state){if(!/\r\n|\n/.test(l.buffer))return this;f=a();var p=f.match(/^WEBVTT([ \t].*)?$/);if(!p||!p[0])throw new t(t.Errors.BadSignature);l.state="HEADER"}for(var d=!1;l.buffer;){if(!/\r\n|\n/.test(l.buffer))return this;switch(d?d=!1:f=a(),l.state){case"HEADER":/:/.test(f)?c(f):f||(l.state="ID");continue;case"NOTE":f||(l.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(f)){l.state="NOTE";break}if(!f)continue;if(l.cue=new(l.vttjs.VTTCue||l.window.VTTCue)(0,0,""),l.state="CUE",f.indexOf("-->")===-1){l.cue.id=f;continue}case"CUE":try{i(f,l.cue,l.regionList)}catch(e){l.reportOrThrowError(e),l.cue=null,l.state="BADCUE";continue}l.state="CUETEXT";continue;case"CUETEXT":var h=f.indexOf("-->")!==-1;if(!f||h&&(d=!0)){l.oncue&&l.oncue(l.cue),l.cue=null,l.state="ID";continue}l.cue.text&&(l.cue.text+="\n"),l.cue.text+=f;continue;case"BADCUE":f||(l.state="ID");continue}}}catch(e){l.reportOrThrowError(e),"CUETEXT"===l.state&&l.cue&&l.oncue&&l.oncue(l.cue),l.cue=null,l.state="INITIAL"===l.state?"BADWEBVTT":"BADCUE"}return this},flush:function(){var e=this;try{if(e.buffer+=e.decoder.decode(),(e.cue||"HEADER"===e.state)&&(e.buffer+="\n\n",e.parse()),"INITIAL"===e.state)throw new t(t.Errors.BadSignature)}catch(t){e.reportOrThrowError(t)}return e.onflush&&e.onflush(),this;
-}},e.WebVTT=h}(this,this.vttjs||{})},function(e,t,n){"undefined"!=typeof e&&e.exports&&(this.VTTCue=this.VTTCue||n(1208).VTTCue),function(e){e.VTTCue.prototype.toJSON=function(){var e={},t=this;return Object.keys(this).forEach(function(n){"getCueAsHTML"!==n&&"hasBeenReset"!==n&&"displayState"!==n&&(e[n]=t[n])}),e},e.VTTCue.create=function(t){if(!t.hasOwnProperty("startTime")||!t.hasOwnProperty("endTime")||!t.hasOwnProperty("text"))throw new Error("You must at least have start time, end time, and text.");var n=new e.VTTCue(t.startTime,t.endTime,t.text);for(var r in t)n.hasOwnProperty(r)&&(n[r]=t[r]);return n},e.VTTCue.fromJSON=function(e){return this.create(JSON.parse(e))}}(this)},function(e,t){!function(e,t){function n(e){if("string"!=typeof e)return!1;var t=s[e.toLowerCase()];return!!t&&e.toLowerCase()}function r(e){if("string"!=typeof e)return!1;var t=u[e.toLowerCase()];return!!t&&e.toLowerCase()}function o(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}function i(e,t,i){var s=this,u=/MSIE\s8\.0/.test(navigator.userAgent),c={};u?s=document.createElement("custom"):c.enumerable=!0,s.hasBeenReset=!1;var l="",f=!1,p=e,d=t,h=i,v=null,y="",g=!0,m="auto",_="start",b=50,w="middle",E=50,T="middle";if(Object.defineProperty(s,"id",o({},c,{get:function(){return l},set:function(e){l=""+e}})),Object.defineProperty(s,"pauseOnExit",o({},c,{get:function(){return f},set:function(e){f=!!e}})),Object.defineProperty(s,"startTime",o({},c,{get:function(){return p},set:function(e){if("number"!=typeof e)throw new TypeError("Start time must be set to a number.");p=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"endTime",o({},c,{get:function(){return d},set:function(e){if("number"!=typeof e)throw new TypeError("End time must be set to a number.");d=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"text",o({},c,{get:function(){return h},set:function(e){h=""+e,this.hasBeenReset=!0}})),Object.defineProperty(s,"region",o({},c,{get:function(){return v},set:function(e){v=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"vertical",o({},c,{get:function(){return y},set:function(e){var t=n(e);if(t===!1)throw new SyntaxError("An invalid or illegal string was specified.");y=t,this.hasBeenReset=!0}})),Object.defineProperty(s,"snapToLines",o({},c,{get:function(){return g},set:function(e){g=!!e,this.hasBeenReset=!0}})),Object.defineProperty(s,"line",o({},c,{get:function(){return m},set:function(e){if("number"!=typeof e&&e!==a)throw new SyntaxError("An invalid number or illegal string was specified.");m=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"lineAlign",o({},c,{get:function(){return _},set:function(e){var t=r(e);if(!t)throw new SyntaxError("An invalid or illegal string was specified.");_=t,this.hasBeenReset=!0}})),Object.defineProperty(s,"position",o({},c,{get:function(){return b},set:function(e){if(e<0||e>100)throw new Error("Position must be between 0 and 100.");b=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"positionAlign",o({},c,{get:function(){return w},set:function(e){var t=r(e);if(!t)throw new SyntaxError("An invalid or illegal string was specified.");w=t,this.hasBeenReset=!0}})),Object.defineProperty(s,"size",o({},c,{get:function(){return E},set:function(e){if(e<0||e>100)throw new Error("Size must be between 0 and 100.");E=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"align",o({},c,{get:function(){return T},set:function(e){var t=r(e);if(!t)throw new SyntaxError("An invalid or illegal string was specified.");T=t,this.hasBeenReset=!0}})),s.displayState=void 0,u)return s}var a="auto",s={"":!0,lr:!0,rl:!0},u={start:!0,middle:!0,end:!0,left:!0,right:!0};i.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},e.VTTCue=e.VTTCue||i,t.VTTCue=i}(this,this.vttjs||{})},function(e,t,n){"undefined"!=typeof e&&e.exports&&(this.VTTRegion=n(1210).VTTRegion),function(e){e.VTTRegion.create=function(t){var n=new e.VTTRegion;for(var r in t)n.hasOwnProperty(r)&&(n[r]=t[r]);return n},e.VTTRegion.fromJSON=function(e){return this.create(JSON.parse(e))}}(this)},function(e,t){!function(e,t){function n(e){if("string"!=typeof e)return!1;var t=i[e.toLowerCase()];return!!t&&e.toLowerCase()}function r(e){return"number"==typeof e&&e>=0&&e<=100}function o(){var e=100,t=3,o=0,i=100,a=0,s=100,u="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return e},set:function(t){if(!r(t))throw new Error("Width must be between 0 and 100.");e=t}},lines:{enumerable:!0,get:function(){return t},set:function(e){if("number"!=typeof e)throw new TypeError("Lines must be set to a number.");t=e}},regionAnchorY:{enumerable:!0,get:function(){return i},set:function(e){if(!r(e))throw new Error("RegionAnchorX must be between 0 and 100.");i=e}},regionAnchorX:{enumerable:!0,get:function(){return o},set:function(e){if(!r(e))throw new Error("RegionAnchorY must be between 0 and 100.");o=e}},viewportAnchorY:{enumerable:!0,get:function(){return s},set:function(e){if(!r(e))throw new Error("ViewportAnchorY must be between 0 and 100.");s=e}},viewportAnchorX:{enumerable:!0,get:function(){return a},set:function(e){if(!r(e))throw new Error("ViewportAnchorX must be between 0 and 100.");a=e}},scroll:{enumerable:!0,get:function(){return u},set:function(e){var t=n(e);if(t===!1)throw new SyntaxError("An invalid or illegal string was specified.");u=t}}})}var i={"":!0,up:!0};e.VTTRegion=e.VTTRegion||o,t.VTTRegion=o}(this,this.vttjs||{})},function(e,t){function n(){for(var e={},t=0;t<arguments.length;t++){var n=arguments[t];for(var o in n)r.call(n,o)&&(e[o]=n[o])}return e}e.exports=n;var r=Object.prototype.hasOwnProperty},function(e,t){},1212,,,,,,,,,,,function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(9),a=o(i),s=n(3),u=o(s),c=n(5),l=o(c),f=n(8),p=o(f),d=n(6),h=o(d),v=n(1),y=o(v),g=n(43),m=n(205),b=n(330),w=r(b),E=n(496),T=o(E),C=function(e,t){return{assessmentProgress:e.assessmentProgress.toJS(),checkButtonText:w.checkButtonText(e,t),questionsPerPage:e.settings.questions_per_page||w.questionCount(e,t),questionResults:w.questionResults(e,t),isCheckingAnswer:w.isCheckingAnswer(e,t),unlockNext:e.settings.unlock_next,requireNAnswers:e.assessment.requireNAnswers,correctItemCount:w.correctItemCount(e,t)}},S=y.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 92 92"},y.default.createElement("path",{d:"M46.1,82.3H41.9l-3.1-.3-3.8-.8-2.1-.7L31.7,80l-1.1-.5A35.7,35.7,0,0,1,21,73.7,37.8,37.8,0,0,1,7.6,49.1l-.2-2V41A32.7,32.7,0,0,1,8,36.8l.4-2.1c.1-.7.4-1.4.6-2a40.3,40.3,0,0,1,8.7-15,41,41,0,0,1,14.5-10l2.1-.8,2.1-.6a34.1,34.1,0,0,1,4.3-1L41.9,5h1.1l2.2-.2h6.3l2.2.3,2.1.4,2,.4,2,.6,2,.6,1.9.7,1.8.8a42.5,42.5,0,0,1,12.2,8.7,41.3,41.3,0,0,1,7.5,10.5l.7,1.3.5,1.3,1,2.4c.5,1.6.9,3.1,1.3,4.4l.7,3.7c.2,1.1.2,2,.3,2.8L90,46a7.5,7.5,0,1,1-15,1.2q0-.3,0-.6V44.5a17.6,17.6,0,0,0,0-1.8l-.2-2.5c-.2-.9-.4-1.9-.6-3.1l-.5-1.7-.3-.9-.4-.9a28.1,28.1,0,0,0-4.5-7.7,30.3,30.3,0,0,0-8.2-7l-1.3-.7-1.3-.7-1.4-.6-1.4-.5-1.5-.5-1.5-.4-1.4-.3-.7-.2h-.9l-1.9-.2H42a25,25,0,0,0-3.4.5l-1.7.3-1.7.5a32.8,32.8,0,0,0-12.2,6.9,33.5,33.5,0,0,0-8.2,11.8c-.2.6-.5,1.1-.7,1.7l-.5,1.7a27.4,27.4,0,0,0-.8,3.4l-.2.8v1l-.2,1.9v3.5a33.9,33.9,0,0,0,3.1,13.2A34.9,34.9,0,0,0,22.5,72a33.8,33.8,0,0,0,8.6,6.3l1,.6,1.1.4,2,.8,3.7,1.1,3,.6,2.3.3Z"})),x=function(e){function t(){return(0,u.default)(this,t),(0,p.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,h.default)(t,e),(0,l.default)(t,[{key:"shouldEnable",value:function(){var e=this.props.requireNAnswers;if(e!==-1){var t=this.props.correctItemCount,n=e-t;if(0==n)return!1}var r=this.props.questionResults,o=this.props.questionsPerPage;switch(this.props.unlockNext){case"ON_CORRECT":var i=_.find(r,function(e){return!e.correct});return!_.isUndefined(i)||_.compact(_.values(r)).length!==o;case"ON_ANSWER_CHECK":return _.compact(_.values(r)).length!==o;default:return!1}}},{key:"click",value:function(){var e=_.range(this.props.assessmentProgress.currentItemIndex,this.props.assessmentProgress.currentItemIndex+this.props.questionsPerPage);this.props.checkAnswer(e)}},{key:"render",value:function(){var e=this,t="",n=null;return this.props.isCheckingAnswer&&(t=" c-btn--loading",n=S),y.default.createElement(T.default,{buttonClass:"c-btn c-btn--check-answer"+t,buttonText:this.props.checkButtonText,disabled:!this.shouldEnable(),onClick:function(){return e.click()}},n)}}]),t}(y.default.Component);t.default=(0,g.connect)(C,{checkAnswer:m.checkAnswer})(x)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.PrevButton=t.NextButton=void 0;var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),c=r(u),l=n(8),f=r(l),p=n(6),d=r(p),h=n(1),v=r(h),y=n(43),g=n(205),m=n(330),_=n(155),b=r(_),w=n(496),E=r(w),T=function(e,t){return{localizedStrings:(0,b.default)(e,t).twoButtonNav,questionsPerPage:e.settings.questions_per_page||(0,m.questionCount)(e,t),isNextUnlocked:(0,m.isNextUnlocked)(e,t),isPrevUnlocked:(0,m.isPrevUnlocked)(e,t),isFirstPage:(0,m.isFirstPage)(e,t),isLastPage:(0,m.isLastPage)(e,t)}},C=v.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48"},v.default.createElement("path",{d:"M14.83 16.42l9.17 9.17 9.17-9.17 2.83 2.83-12 12-12-12z"})),S=function(e){function t(){return(0,s.default)(this,t),(0,f.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,d.default)(t,e),(0,c.default)(t,[{key:"click",value:function(){this.props.nextQuestions(this.props.questionsPerPage)}},{key:"render",value:function(){var e=this,t=this.props,n=!t.isNextUnlocked||t.isLastPage;return v.default.createElement(E.default,{buttonClass:"c-btn c-btn--next",buttonText:this.props.localizedStrings.nextButton,disabled:n,onClick:function(){return e.click()}},C)}}]),t}(v.default.Component),x=function(e){function t(){return(0,s.default)(this,t),(0,f.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,d.default)(t,e),(0,c.default)(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.isPrevUnlocked,r=t.isFirstPage,o=!n||r;return v.default.createElement(E.default,{buttonClass:"c-btn c-btn--previous",buttonText:this.props.localizedStrings.previousButton,disabled:o,onClick:function(){return e.props.previousQuestions(e.props.questionsPerPage)}},C)}}]),t}(v.default.Component);t.NextButton=(0,y.connect)(T,{nextQuestions:g.nextQuestions})(S),t.PrevButton=(0,y.connect)(T,{previousQuestions:g.previousQuestions})(x)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.PRIMARY_ACTION=t.SECONDARY_ACTION=void 0;var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),c=r(u),l=n(8),f=r(l),p=n(6),d=r(p),h=n(1),v=r(h),y=n(496),g=r(y),m=n(1224),_=r(m),b=n(1225),w=t.SECONDARY_ACTION={PREV:"PREV",NONE:"NONE"},E=t.PRIMARY_ACTION={NEXT:"NEXT",CHECK_ANSWERS:"CHECK_ANSWERS",SUBMIT:"SUBMIT"},T=v.default.createElement(b.NextButton,null),C=v.default.createElement(_.default,null),S=v.default.createElement(b.PrevButton,null),x=function(e){function t(){return(0,s.default)(this,t),(0,f.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,d.default)(t,e),(0,c.default)(t,[{key:"primaryButton",value:function(e){switch(e.primaryAction){case E.NEXT:return T;case E.CHECK_ANSWERS:return C;case E.SUBMIT:return v.default.createElement(g.default,{buttonClass:"c-btn c-btn--finish",buttonText:e.localizedStrings.submitButton,onClick:e.submitAssessment})}}},{key:"secondaryButton",value:function(e){if(e.secondaryAction.buttonState===w.PREV)return S}},{key:"render",value:function(){return v.default.createElement("div",{className:"c-assessment-navigation"},v.default.createElement("div",{className:"c-button-slot"},this.secondaryButton(this.props)),v.default.createElement("div",{className:"c-button-slot"},this.primaryButton(this.props)))}}]),t}(v.default.Component);t.default=x},,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return{type:s.APP_DISPLAY_ERROR,message:e,error:t}}Object.defineProperty(t,"__esModule",{value:!0}),t.Constants=void 0,t.displayError=o;var i=n(55),a=r(i),s=t.Constants=(0,a.default)(["APP_DISPLAY_ERROR"],[])},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.loadAssessmentMeta=t.Constants=void 0;var o=n(55),i=r(o),a=[],s=["LOAD_ASSESSMENT_META"],u=t.Constants=(0,i.default)(a,s);t.loadAssessmentMeta=function(){return{type:u.LOAD_ASSESSMENT_META}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return{type:h.AUDIO_PLAY,mediaTime:t,mediaId:e}}function i(e,t){return{type:h.AUDIO_PAUSE,mediaTime:t,mediaId:e}}function a(e,t){return{type:h.AUDIO_ENDED,mediaTime:t,mediaId:e}}function s(e,t){return{type:h.VIDEO_PLAY,mediaTime:t,mediaId:e}}function u(e,t){return{type:h.VIDEO_PAUSE,mediaTime:t,mediaId:e}}function c(e,t){return{type:h.VIDEO_ENDED,mediaTime:t,mediaId:e}}function l(){return{type:h.AUDIO_RECORD_START}}function f(e){return{type:h.AUDIO_RECORD_STOP,mediaTime:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Constants=void 0,t.audioPlay=o,t.audioPause=i,t.audioEnded=a,t.videoPlay=s,t.videoPause=u,t.videoEnded=c,t.audioRecordStart=l,t.audioRecordStop=f;var p=n(55),d=r(p),h=t.Constants=(0,d.default)([],["AUDIO_PLAY","AUDIO_RECORD_START","AUDIO_RECORD_STOP","AUDIO_PAUSE","AUDIO_ENDED","VIDEO_PLAY","VIDEO_PAUSE","VIDEO_ENDED"])},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n,r,o,i){var u=e.getState(),c=a.default.execRequest(n,r,u.settings.api_url,u.jwt,u.settings.csrf_token,o,i);c&&c.then(function(n,r){e.dispatch({type:t.type+s.DONE,payload:n.body,original:t,response:n,error:r})})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(334),a=r(i),s=n(55)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return e.some(function(e){return!g.default.isEmpty(e)||e instanceof Blob})}function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{"X-Api-Proxy":e.settings.eid,"X-API-LOCALE":t.locale||e.locale||e.settings.locale}}function a(e,t){var n=(0,M.transformItem)(e),r=(0,j.default)(t);switch(n.question_type){case"text_input_question":case"text_only_question":case"short_answer_question":case"survey_question":case"numerical_input_question":return r.middleware.mustEnterAnswer;case"file_upload_question":return r.middleware.mustUploadFile;case"audio_upload_question":return r.middleware.mustRecordFile;default:return r.middleware.mustSelectAnswer}}function s(e,t){var n=t.json.genusTypeId;n&&n.startsWith("question")?n=n.replace("question","answer"):console.error("Couldn't get the question type");var r=(0,M.transformItem)(t);switch(r.question_type){case"short_answer_question":var o=g.default.isEmpty(e)?"":e.reduce(function(e,t){return e+t});return{type:n,text:o};case"fill_the_blank_question":return{type:n,inlineRegions:(0,v.default)({},r.question_meta.responseIdentifier,{choiceIds:e})};case"numerical_input_question":case"text_input_question":return(0,v.default)({type:n},r.question_meta.responseIdentifier,e[0]||"");case"file_upload_question":case"audio_upload_question":if(g.default.isEmpty(e))return null;var i=new FormData;return i.append("submission",e[0]),e.length>1&&console.error("Only one form submission is supported!"),i;case"movable_words_sandbox":var a=e.filter(function(e){return e instanceof Blob}),s=new FormData;return s.append("submission",g.default.last(a)),s;case"clix_drag_and_drop":return{type:n,coordinateConditions:g.default.map(e,function(e){return{containerId:e.containerId,droppableId:e.droppableId,coordinateValues:e.coordinateValues}})};default:return{type:n,choiceIds:e}}}function u(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return _.default.post(t,e.settings.api_url,e.jwt,e.settings.csrf_token,o,n,g.default.merge(i(e),r))}function c(e,t){var n=e.getState(),r=n.assessmentProgress.get("currentItemIndex"),i=g.default.range(r,r+n.settings.questions_per_page);return g.default.map(i,function(r){var c=n.assessment.items[r],l=n.assessmentProgress.getIn(["responses",""+r]);l=l?l.toJS():[];var f="assessment/banks/"+n.settings.bank+"/assessmentstaken/"+n.assessmentMeta.id+"/questions/"+c.json.id+"/submit",p=s(l,c);if(e.dispatch({type:C.Constants.CHECK_QUESTIONS,numQuestions:i.length}),!o(l)){var d={feedback:"<p>"+a(c,n)+"</p>",correct:!1,userInput:l};return e.dispatch({type:C.Constants.ASSESSMENT_CHECK_ANSWER_DONE,payload:d,userInput:l,questionIndex:r,original:t}),null}var h=u(n,f,p);return h?(h.then(function(n){var o={correct:n.body.correct,feedback:(0,k.parseFeedback)(n.body.feedback),userInput:l};e.dispatch({type:C.Constants.ASSESSMENT_CHECK_ANSWER_DONE,payload:o,questionIndex:r,userInput:l,original:t,response:n})},function(t){e.dispatch({type:C.Constants.ASSESSMENT_CHECK_ANSWER_DONE,error:t}),console.error(t)}),h):null})}function l(e,t){var n=e.getState(),r="assessment/banks/"+n.settings.bank+"/assessmentstaken/"+n.assessmentMeta.id+"/questions?qti",o=_.default.get(r,n.settings.api_url,n.jwt,n.settings.csrf_token,{},i(n,t));o&&o.then(function(r,o){e.dispatch({type:T.Constants.LOAD_ASSESSMENT+O.DONE,payload:(0,P.parse)(n.settings,r.text),original:t,assessmentResponse:r,error:o})},function(t){e.dispatch((0,A.displayError)("There was a problem getting the assessment from QBank",t))})}Object.defineProperty(t,"__esModule",{value:!0});var f,p=n(218),d=r(p),h=n(101),v=r(h);t.postQbank=u;var y=n(4),g=r(y),m=n(334),_=r(m),b=n(206),w=r(b),E=n(215),T=n(56),C=n(205),S=n(1230),x=n(529),O=n(55),k=n(1235),P=n(320),M=n(534),A=n(1229),I=n(155),j=r(I);t.default=(f={},(0,v.default)(f,x.Constants.LOCALE_SET,function(e,t){var n=e.getState();g.default.isEmpty(n.assessmentMeta)||l(e,t)}),(0,v.default)(f,E.Constants.REFRESH_JWT,{method:w.default.GET,url:function(e){return"api/sessions/"+e.userId}}),(0,v.default)(f,T.Constants.LOAD_ASSESSMENT,function(e,t){var n=e.getState(),r="assessment/banks/"+n.settings.bank+"/assessmentsoffered/"+n.settings.assessment_offered_id+"/assessmentstaken",o={sessionId:n.settings.eid},i=u(n,r,o);i&&i.then(function(n,r){e.dispatch({type:S.Constants.LOAD_ASSESSMENT_META_DONE,payload:n.body,original:t,response:n,error:r}),l(e,t)},function(t){e.dispatch((0,A.displayError)("There was a problem creating the assessmentstaken in QBank",t))})}),(0,v.default)(f,C.Constants.ASSESSMENT_CHECK_ANSWER,function(e,t){c(e,t)}),(0,v.default)(f,C.Constants.ASSESSMENT_NEXT_QUESTIONS,function(e,t){var n=e.getState();"ALWAYS"===n.settings.unlock_next&&c(e,t)}),(0,v.default)(f,C.Constants.ASSESSMENT_PREVIOUS_QUESTIONS,function(){}),(0,v.default)(f,C.Constants.ANSWER_SELECTED,function(){}),(0,v.default)(f,C.Constants.ASSESSMENT_GRADED,{method:w.default.POST,url:function(){return"api/grades"},body:function(e){var t=e.questions.map(function(e){return{id:e.id,score:e.score,confidence_level:e.confidenceLevel,time_spent:e.timeSpent,start_time:e.startTime,outcome_guid:e.outcomeGuid}});return{item_to_grade:{assessment_id:e.assessmentId,questions:t,answers:e.answers,identifier:e.identifier,settings:e.settings}}}}),(0,v.default)(f,C.Constants.ASSESSMENT_SUBMITTED,function(e,t){d.default.all(c(e,t)).then(function(){var n=e.getState(),r="assessment/banks/"+n.settings.bank+"/assessmentstaken/"+n.assessmentMeta.id+"/finish",o=u(n,r);o&&o.then(function(n,r){e.dispatch({type:t.type+O.DONE,payload:n.body,original:t,response:n,error:r})})})}),f)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=a.default.merge.apply(a.default,[{}].concat(t));return a.default.each(s,function(e){r[e]&&(r[e]=parseInt(r[e]))}),a.default.each(u,function(e){r[e]&&t[0][e]&&""!==t[0][e]&&(r[e]=t[0][e])}),r}Object.defineProperty(t,"__esModule",{value:!0}),t.integerSettings=void 0,t.getInitialSettings=o;var i=n(4),a=r(i),s=t.integerSettings=["user_id","max_attempts","questions_per_section","questions_per_page","audio_recorder_timeout"],u=["api_url"];t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};arguments[1];return e}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e.startsWith("<?xml")){var t=h.default.parseXML(e),n=(0,h.default)(t),r=n.find("modalFeedback");return r.html()}return"No feedback available."===e?"":(console.error("We cannot recognize feedback from server"),"")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(335),a=r(i),s=n(10),u=r(s),c=n(3),l=r(c),f=n(5),p=r(f);t.parseFeedback=o;var d=n(131),h=r(d),v=n(320),y=n(1237),g=r(y),m=function(){function e(){(0,l.default)(this,e)}return(0,p.default)(e,null,[{key:"parse",value:function(e,t){var n=t.data.map(function(e){var t={};switch(e.genusTypeId){case"question-type%3Adrag-and-drop%40ODL.MIT.EDU":return(0,u.default)({},e,{json:e});default:return t=g.default.parseItem((0,h.default)(h.default.parseXML(e.qti)).find(">")[0]),(0,a.default)(t,{json:e})}});return{standard:v.AssessmentFormats.CLIx,id:e,requireNAnswers:t.nOfM,items:n}}}]),e}();t.default=m},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r=[];if(!t||t<=0)for(var o=0;o<e.length;o++)for(var i=0;i<e[o].items.length;i++){var a=e[o].items[i];n&&(a.answers=f.default.shuffle(a.answers)),r.push(a)}else for(var o=0;o<e.length;o++)for(var s=t>e[o].items.length?e[o].items.length:t,i=0;i<s;i++){for(var a=e[o].items[i],u=0;u<r.length;u++)a.id==r[u].id&&console.error("two items have the same id.");n&&(a.answers=f.default.shuffle(a.answers)),r.push(a)}return r}function i(e){return e.map(function(e){return e.outcome}).filter(function(e){return"root section"!=e})}function a(e,t){var n;switch(e.question_type){case"multiple_choice_question":n=s(e,t);break;case"multiple_answers_question":n=u(e,t);break;case"matching_question":n=c(e,t)}return n}function s(e,t){var n="",r="0",o=!1;return t==e.correct[0].id&&(o=!0,r=e.correct[0].score),{feedbacks:n,score:r,correct:o}}function u(e,t){var n="",r="0",o=e.correct[0].id.length,i=0,a=!1;if(t.length==o){for(var s=0;s<t.length;s++)for(var u=0;u<o;u++)t[s]==e.correct[0].id[u]&&i++;return o==i&&(a=!0,r="100"),{feedbacks:n,score:r,correct:a}}return{feedbacks:n,score:r,correct:a}}function c(e,t){var n="",r="0",o=e.correct.length,i=0,a=!1;if(e.correct.length>t.length)return!1;for(var s=0;s<o;s++)for(var u=0;u<e.answers.length;u++)if(e.correct[s].id==e.answers[u].id){for(var c=0;c<t.length;c++)t[c].answerNumber=="answer-"+s&&t[c].selectedAnswer.trim()==e.answers[u].material.trim()&&i++;break}return i==o&&(a=!0,r="100"),{feedbacks:n,score:r,correct:a}}Object.defineProperty(t,"__esModule",{value:!0}),t.getItems=o,t.loadOutcomes=i,t.checkAnswer=a;var l=n(4),f=r(l)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(3),i=r(o),a=n(5),s=r(a),u=n(131),c=(r(u),n(320)),l=n(535),f=(r(l),function(){function e(){(0,i.default)(this,e)}return(0,s.default)(e,null,[{key:"parseItem",value:function(e){return{title:e.getAttribute("title"),xml:e}}},{key:"parse",value:function(e,t){var n=t.find(">")[0],r=n.tagName;if("assessmentItem"==r){var o=this.parseItem(n);return{standard:c.AssessmentFormats.Qti2,id:e,title:o.title,item:o}}if("assessmentSection"==r)throw"We don't handled assessmentSection tags yet";if("assessmentTest"==r)throw"We don't handled assessmentTest tags yet";throw"Assessment isn't rooted with an expected tag.  Found "+n.tagname+"."}}]),e}());t.default=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return h.default.range(e.assessmentProgress.get("currentItemIndex"),e.assessmentProgress.get("currentItemIndex")+e.settings.questions_per_page)}function i(e,t){var n=e.assessment.item;return[(0,y.transformItem)(n.xml)]}function a(){return{}}function s(e,t){return 1}function u(e,t){return!h.default.isEmpty(e.assessment)}function c(e,t){return!1}function l(e,t){var n=o(e),r={};return h.default.each(n,function(t){var n=e.assessmentResults.questionResults[t];if(void 0!==n){var o=n[0];r[t]={correct:o.correct,answerIds:o.userInput,feedback:o.feedback}}}),r}function f(e,t){var n=e.assessmentResults.questionResults,r=n.map(function(e){return e&&e[0]&&e[0].correct?1:0});return r.reduce(function(e,t){return e+t},0)}Object.defineProperty(t,"__esModule",{value:!0}),t.questions=i,t.outcomes=a,t.questionCount=s,t.assessmentLoaded=u,t.isCheckingAnswer=c,t.questionResults=l,t.correctItemCount=f;var p=n(131),d=(r(p),n(4)),h=r(d),v=(n(310),n(392)),y=(r(v),n(535))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.AssessmentResult=void 0;var i=n(10),a=o(i),s=n(9),u=o(s),c=n(3),l=o(c),f=n(5),p=o(f),d=n(8),h=o(d),v=n(6),y=o(v),g=n(1),m=o(g),_=n(43),b=n(56),w=r(b),E=n(497),T=r(E),C=n(330),S=function(e){return{assessmentResult:e.assessmentResult.toJS(),timeSpent:e.timeSpent,questions:(0,C.questions)(e),outcomes:(0,C.outcomes)(e),assessment:e.assessment,settings:e.settings}},x=m.default.createElement("div",null),O=t.AssessmentResult=function(e){function t(e,n){(0,l.default)(this,t);var r=(0,h.default)(this,(t.__proto__||(0,u.default)(t)).call(this,e,n));return r.sendLtiOutcome(),r.sendAnalytics(),r}return(0,y.default)(t,e),(0,p.default)(t,[{key:"componentDidMount",value:function(){this.props.sendSize(),this.props.showLMSNavigation()}},{key:"componentDidUpdate",value:function(){this.props.sendSize()}},{key:"sendAnalytics",value:function(){this.props.assessmentResult&&this.props.assessmentResult.assessment_results_id&&this.props.assessmentPostAnalytics(this.props.assessmentResult.assessment_results_id,this.props.settings.externalUserId,this.props.settings.external_context_id)}},{key:"sendLtiOutcome",value:function(){this.isSummative()&&this.props.assessmentResult.assessment_results_id&&this.props.assessmentPostLtiOutcome(this.props.assessmentResult.assessment_results_id)}},{key:"isSummative",value:function(){return"SUMMATIVE"==this.props.settings.assessment_kind}},{key:"isFormative",value:function(){return"FORMATIVE"==this.props.settings.assessment_kind}},{key:"render",value:function(){return null==this.props.assessmentResult?x:this.isFormative()?m.default.createElement(FormativeResult,{assessmentResult:this.props.assessmentResult,settings:this.props.settings,questions:this.props.questions,assessment:this.props.assessment,context:this.context}):null}}]),t}(m.default.Component);t.default=(0,_.connect)(S,(0,a.default)({},w,T))(O)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Loading=void 0;var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),c=r(u),l=n(8),f=r(l),p=n(6),d=r(p),h=n(1),v=r(h),y=n(43),g=n(155),m=r(g),_=function(e,t){return{localizedStrings:(0,m.default)(e,t)}},b=v.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 92 92"},v.default.createElement("path",{d:"M46.1,82.3H41.9l-3.1-.3-3.8-.8-2.1-.7L31.7,80l-1.1-.5A35.7,35.7,0,0,1,21,73.7,37.8,37.8,0,0,1,7.6,49.1l-.2-2V41A32.7,32.7,0,0,1,8,36.8l.4-2.1c.1-.7.4-1.4.6-2a40.3,40.3,0,0,1,8.7-15,41,41,0,0,1,14.5-10l2.1-.8,2.1-.6a34.1,34.1,0,0,1,4.3-1L41.9,5h1.1l2.2-.2h6.3l2.2.3,2.1.4,2,.4,2,.6,2,.6,1.9.7,1.8.8a42.5,42.5,0,0,1,12.2,8.7,41.3,41.3,0,0,1,7.5,10.5l.7,1.3.5,1.3,1,2.4c.5,1.6.9,3.1,1.3,4.4l.7,3.7c.2,1.1.2,2,.3,2.8L90,46a7.5,7.5,0,1,1-15,1.2q0-.3,0-.6V44.5a17.6,17.6,0,0,0,0-1.8l-.2-2.5c-.2-.9-.4-1.9-.6-3.1l-.5-1.7-.3-.9-.4-.9a28.1,28.1,0,0,0-4.5-7.7,30.3,30.3,0,0,0-8.2-7l-1.3-.7-1.3-.7-1.4-.6-1.4-.5-1.5-.5-1.5-.4-1.4-.3-.7-.2h-.9l-1.9-.2H42a25,25,0,0,0-3.4.5l-1.7.3-1.7.5a32.8,32.8,0,0,0-12.2,6.9,33.5,33.5,0,0,0-8.2,11.8c-.2.6-.5,1.1-.7,1.7l-.5,1.7a27.4,27.4,0,0,0-.8,3.4l-.2.8v1l-.2,1.9v3.5a33.9,33.9,0,0,0,3.1,13.2A34.9,34.9,0,0,0,22.5,72a33.8,33.8,0,0,0,8.6,6.3l1,.6,1.1.4,2,.8,3.7,1.1,3,.6,2.3.3Z"})),w=t.Loading=function(e){function t(){return(0,s.default)(this,t),(0,f.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,d.default)(t,e),(0,c.default)(t,[{key:"render",value:function(){return v.default.createElement("div",{className:"c-assessment-loading"},v.default.createElement("p",null,this.props.localizedStrings.loading.loading),b)}}]),t}(v.default.Component);t.default=(0,y.connect)(_)(w)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),c=r(u),l=n(8),f=r(l),p=n(6),d=r(p),h=n(1),v=r(h),y=n(496),g=(r(y),n(1224)),m=r(g),_=n(1225),b=v.default.createElement("div",{className:"c-assessment-navigation"},v.default.createElement("div",{className:"c-button-slot"},v.default.createElement(_.PrevButton,null)),v.default.createElement("div",{className:"c-button-slot"},v.default.createElement(m.default,null)),v.default.createElement("div",{className:"c-button-slot"},v.default.createElement(_.NextButton,null))),w=function(e){function t(){return(0,s.default)(this,t),(0,f.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,d.default)(t,e),(0,c.default)(t,[{key:"render",value:function(){return b}}]),t}(v.default.Component);t.default=w},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Index=void 0;var i=n(10),a=o(i),s=n(9),u=o(s),c=n(3),l=o(c),f=n(5),p=o(f),d=n(8),h=o(d),v=n(6),y=o(v),g=n(1),m=o(g),_=n(43),b=n(56),w=n(497),E=r(w),T=n(529),C=n(498),S=o(C),x=(n(530),function(e){return{maxAttempts:e.settings.max_attempts,userAttempts:e.settings.userAttempts,enableStart:e.settings.enable_start}}),O=t.Index=function(e){function t(){return(0,l.default)(this,t),(0,h.default)(this,(t.__proto__||(0,u.default)(t)).apply(this,arguments))}return(0,y.default)(t,e),(0,p.default)(t,[{key:"componentWillMount",value:function(){this.props.availableLocales(),this.props.loadAssessment(),this.props.userAttempts&&this.props.userAttempts>=this.props.maxAttempts?S.default.push("retries-exceeded"):this.props.enableStart||S.default.push("assessment")}},{key:"componentDidMount",value:function(){var e=this;this.props.sendSize(),this.props.scrollParentToTop(),window.addEventListener("message",function(t){return e.onMessage(t)},!1)}},{key:"componentDidUpdate",value:function(){this.props.sendSize()}},{key:"onMessage",value:function(e){var t=e.data,n=t.open_assessments_msg;switch(n){case"open_assessments_set_locale":this.props.setLocale(t.locale)}}},{key:"render",value:function(){return m.default.createElement("div",null,this.props.children)}}]),t}(m.default.Component);t.default=(0,_.connect)(x,(0,a.default)({loadAssessment:b.loadAssessment,setLocale:T.setLocale},E),null,{withRefs:!0})(O)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.About=void 0;var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),c=r(u),l=n(8),f=r(l),p=n(6),d=r(p),h=n(1),v=r(h),y=n(43),g=n(155),m=r(g),_=function(e,t){return{localizedStrings:(0,
-m.default)(e,t)}},b=t.About=function(e){function t(){return(0,s.default)(this,t),(0,f.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,d.default)(t,e),(0,c.default)(t,[{key:"render",value:function(){var e=this.props.localizedStrings;return v.default.createElement("div",null,v.default.createElement("h2",null,e.about.title))}}]),t}(v.default.Component);t.default=(0,y.connect)(_)(b)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Assessment=void 0;var i=n(10),a=o(i),s=n(9),u=o(s),c=n(3),l=o(c),f=n(5),p=o(f),d=n(8),h=o(d),v=n(6),y=o(v),g=n(1),m=o(g),_=n(43),b=n(205),w=r(b),E=n(497),T=r(E),C=n(1231),S=r(C),x=n(498),O=o(x),k=n(330),P=r(k),M=n(155),A=o(M),I=n(507),j=o(I),D=n(1316),R=o(D),N=n(1317),L=o(N),F=n(1226),U=o(F),B=function(e,t){return{settings:e.settings,application:e.application,assessment:e.assessment,assessmentLoaded:P.assessmentLoaded(e,t),assessmentProgress:e.assessmentProgress.toJS(),currentItem:e.assessmentProgress.get("currentItemIndex"),responses:e.assessmentProgress.get("responses").toJS(),questionsPerPage:e.settings.questions_per_page||P.questionCount(e,t),questionCount:P.questionCount(e,t),allQuestions:P.questions(e,t),questionResults:P.questionResults(e,t),localizedStrings:(0,A.default)(e,t),primaryActionState:P.primaryActionState(e),secondaryActionState:P.secondaryActionState(e),outcomes:P.outcomes(e,t),correctItemCount:P.correctItemCount(e,t)}},q=m.default.createElement(R.default,null),z=m.default.createElement(R.default,null),W=m.default.createElement(L.default,null),H=t.Assessment=function(e){function t(){return(0,l.default)(this,t),(0,h.default)(this,(t.__proto__||(0,u.default)(t)).apply(this,arguments))}return(0,y.default)(t,e),(0,p.default)(t,[{key:"componentWillMount",value:function(){null!=this.props.assessmentProgress.assessmentResult&&O.default.push("assessment-result")}},{key:"componentDidMount",value:function(){this.props.assessmentViewed(this.props.settings,this.props.assessment),this.props.sendSize(),this.props.scrollParentToTop(),this.props.hideLMSNavigation()}},{key:"componentDidUpdate",value:function(e){this.props.sendSize(),this.props.assessmentProgress.isSubmitted&&O.default.push("assessment-complete"),this.props.assessmentProgress.currentItemIndex!==e.assessmentProgress.currentItemIndex&&(this.props.scrollParentToTop(),window.scrollTo(0,0))}},{key:"getItem",value:function(e){var t=this,n=this.props;return void 0===n.questionCount||e>=n.questionCount||e<0?null:m.default.createElement(j.default,{key:e,localizedStrings:n.localizedStrings,settings:n.settings,assessment:n.assessment,question:n.allQuestions[e],response:n.responses[e]||[],currentItemIndex:e,questionCount:n.questionCount,questionResult:n.questionResults[e]||{},allQuestions:n.allQuestions,outcomes:n.outcomes||{},sendSize:n.sendSize,videoPlay:n.videoPlay,videoPause:n.videoPause,audioPlay:n.audioPlay,audioPause:n.audioPause,audioRecordStart:n.audioRecordStart,audioRecordStop:n.audioRecordStop,selectAnswer:function(n,r){return t.props.answerSelected(e,n,r)}})}},{key:"getItems",value:function(){var e=this,t=this.props.questionsPerPage,n=this.props.assessmentProgress.currentItemIndex,r=[];if(t>0&&t<this.props.questionCount)for(var o=Math.floor(n/t)*t,i=Math.floor(o+t),a=o;a<i;a+=1)r.push(this.getItem(a));else this.props.allQuestions.forEach(function(t,n){r.push(e.getItem(n))});return r}},{key:"getContent",value:function(){return this.props.application.error_message?m.default.createElement("div",{className:"c-player-error"},m.default.createElement("p",null,this.props.application.error_message,":"),m.default.createElement("blockquote",null,this.props.application.error.message)):this.props.assessmentProgress.isSubmitted?q:this.props.assessmentLoaded?this.getItems():z}},{key:"getWarning",value:function(){var e=t.checkCompletion(),n=void 0;return e===!0&&this.props.isLastPage&&(n=m.default.createElement("div",null,this.props.localizedStrings.assessment.unansweredQuestionWarning)),n}},{key:"getCounter",value:function(){if(!this.props.assessmentLoaded)return"";var e=this.props.localizedStrings;return 1===this.props.questionsPerPage?e.formatString(e.assessment.counterQuestion,""+(this.props.currentItem+1),""+this.props.questionCount):e.formatString(e.assessment.counterPage,""+(this.props.currentItem+1),""+this.props.questionCount)}},{key:"submitButtonClicked",value:function(){this.props.submitAssessment()}},{key:"submitAssessment",value:function(){var e=t.checkCompletion();e&&(window.onbeforeunload=null,this.props.submitAssessment(this.props.assessment.id,this.props.assessment.assessmentId,this.props.allQuestions,this.props.responses,this.props.settings,this.props.outcomes))}},{key:"popup",value:function(){return this.props.localizedStrings.assessment.leavingQuizPopup}},{key:"renderRemainingStatus",value:function(){var e=this.props.assessment.requireNAnswers;if(e===-1)return null;var t=this.props.correctItemCount,n=e-t,r=this.props.localizedStrings,o=void 0;return 0===n?o=r.remaining.done:1===n?o=r.remaining.one_left:n>=2&&(o=r.formatString(r.remaining.many_left,n)),m.default.createElement("div",{className:"c-header__remaining"},o)}},{key:"render",value:function(){var e=this;"SUMMATIVE"===this.props.settings.assessment_kind&&(window.onbeforeunload=function(){return e.popup()});var t=this.props.assessment.title,n=this.getContent(),r=null,o=this.getCounter(),i=null;return this.props.assessmentLoaded&&(i=this.props.assessment.requireNAnswers===-1?m.default.createElement(U.default,{localizedStrings:this.props.localizedStrings.twoButtonNav,submitAssessment:function(){return e.submitButtonClicked()},secondaryAction:this.props.secondaryActionState,primaryAction:this.props.primaryActionState}):W),m.default.createElement("div",{className:"o-assessment-container",lang:this.props.settings.locale,dir:this.props.localizedStrings.dir},m.default.createElement("div",{className:"c-header"},this.renderRemainingStatus(),m.default.createElement("div",{className:"c-header__title"},t),m.default.createElement("div",{className:"c-header__question-number"},o)),r,n,i)}}],[{key:"checkCompletion",value:function(){return!0}}]),t}(m.default.Component);t.default=(0,_.connect)(B,(0,a.default)({},w,T,S))(H)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.AssessmentComplete=void 0;var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),c=r(u),l=n(8),f=r(l),p=n(6),d=r(p),h=n(1),v=r(h),y=n(43),g=n(155),m=r(g),_=function(e,t){return{localizedStrings:(0,m.default)(e,t)}},b=t.AssessmentComplete=function(e){function t(){return(0,s.default)(this,t),(0,f.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,d.default)(t,e),(0,c.default)(t,[{key:"render",value:function(){return v.default.createElement("div",{className:"assessment-complete"},v.default.createElement("h1",null,this.props.localizedStrings.assessmentComplete.complete))}}]),t}(v.default.Component);t.default=(0,y.connect)(_,{})(b)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.RetriesExceeded=void 0;var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),c=r(u),l=n(8),f=r(l),p=n(6),d=r(p),h=n(1),v=r(h),y=n(43),g=n(155),m=r(g),_=function(e,t){return{localizedStrings:(0,m.default)(e,t)}},b=t.RetriesExceeded=function(e){function t(){return(0,s.default)(this,t),(0,f.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,d.default)(t,e),(0,c.default)(t,[{key:"render",value:function(){var e=this.props.localizedStrings;return v.default.createElement("div",null,e.retriesExceeded.triesExceeded)}}]),t}(v.default.Component);t.default=(0,y.connect)(_)(b)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Start=void 0;var i=n(10),a=o(i),s=n(9),u=o(s),c=n(3),l=o(c),f=n(5),p=o(f),d=n(8),h=o(d),v=n(6),y=o(v),g=n(1),m=o(g),_=n(43),b=n(155),w=o(b),E=n(498),T=o(E),C=n(56),S=r(C),x=function(e,t){return{title:e.assessment.title,assessment_kind:e.settings.assessment_kind,localizedStrings:(0,w.default)(e,t)}},O=m.default.createElement("div",null),k=t.Start=function(e){function t(){return(0,l.default)(this,t),(0,h.default)(this,(t.__proto__||(0,u.default)(t)).apply(this,arguments))}return(0,y.default)(t,e),(0,p.default)(t,[{key:"instructions",value:function(){var e=void 0,t=this.props.localizedStrings.start;switch(this.props.assessment_kind){case"SUMMATIVE":e=m.default.createElement("div",null,t.summativeInstruction);break;case"FORMATIVE":e=m.default.createElement("div",null,t.formativeInstruction);break;case"SHOW_WHAT_YOU_KNOW":e=m.default.createElement("div",null,t.showWhatYouKnowInstruction);break;default:e=O}return e}},{key:"render",value:function(){return m.default.createElement("div",{className:"assessment"},m.default.createElement("div",null,this.props.title),m.default.createElement("div",{className:"section_list"},m.default.createElement("div",{className:"section_container"},this.instructions(),m.default.createElement("div",null,m.default.createElement("button",{onClick:function(){T.default.push("assessment")}},this.props.localizedStrings.start.startButton)))))}}]),t}(m.default.Component);t.default=(0,_.connect)(x,(0,a.default)({},S))(k)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.NotFound=void 0;var o=n(9),i=r(o),a=n(3),s=r(a),u=n(5),c=r(u),l=n(8),f=r(l),p=n(6),d=r(p),h=n(1),v=r(h),y=n(43),g=n(155),m=r(g),_=function(e,t){return{localizedStrings:(0,m.default)(e,t)}},b=t.NotFound=function(e){function t(){return(0,s.default)(this,t),(0,f.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,d.default)(t,e),(0,c.default)(t,[{key:"render",value:function(){return v.default.createElement("h2",null,this.props.localizedStrings.notFound.notFound)}}]),t}(v.default.Component);t.default=(0,y.connect)(_)(b)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=r(o),a=n(462),s=n(498),u=r(s),c=n(1318),l=r(c),f=n(1320),p=r(f),d=n(1323),h=r(d),v=n(1315),y=r(v),g=n(1324),m=r(g),_=n(1319),b=r(_),w=n(1322),E=r(w),T=n(1321),C=r(T);t.default=i.default.createElement(a.Router,{history:u.default},i.default.createElement(a.Route,{path:"/",component:l.default},i.default.createElement(a.IndexRoute,{component:h.default}),i.default.createElement(a.Route,{path:"assessment",component:p.default}),i.default.createElement(a.Route,{path:"assessment-result",component:y.default}),i.default.createElement(a.Route,{path:"assessment-complete",component:C.default}),i.default.createElement(a.Route,{path:"about",component:b.default}),i.default.createElement(a.Route,{path:"retries-exceeded",component:E.default})),i.default.createElement(a.Route,{path:"*",component:m.default}))},,,,,,,,,,,,,,,,,,,,function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={en:{name:"English",dir:"ltr",assessment:{unansweredQuestionWarning:"Warning There are unanswered questions",leavingQuizPopup:"Don’t leave!",counterQuestion:"Question {0} of {1}",counterPage:"Page {0} of {1}"},remaining:{one_left:"Answer 1 more question.",many_left:"Answer {0} more questions.",done:"Well done!"},assessmentComplete:{complete:"Thank you"},twoButtonNav:{previousButton:"Previous",nextButton:"Next",checkAnswerButton:"Check Answer",saveFileButton:"Save File",saveAnswerButton:"Save Answer",submitButton:"Finish"},retriesExceeded:{triesExceeded:"Too many tries"},start:{summativeInstruction:"Summative Quiz",formativeInstruction:"Formative Quiz",showWhatYouKnowInstruction:"Show What You Know",startButton:"Start Quiz"},notFound:{notFound:"Not Found"},about:{title:"Open Assessments"},loading:{loading:"Loading..."},audioUpload:{record:"Record",stop:"Stop",recordTime:"Recording time"},fileUpload:{chooseFile:"Choose a File to Upload",noFile:"No file chosen"},middleware:{mustSelectAnswer:"Please select a valid answer",mustEnterAnswer:"Please enter a valid answer",mustUploadFile:"Please upload a file",mustRecordFile:"Please record an audio sample"}}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={he:{name:"Hebrew",dir:"rtl",assessment:{unansweredQuestionWarning:"Warning There are unanswered questions",leavingQuizPopup:"Don’t leave!",counterQuestion:"Question {0} of {1}",counterPage:"Page {0} of {1}"},remaining:{one_left:"Answer 1 more question.",many_left:"Answer {0} more questions.",done:"Well done!"},assessmentComplete:{complete:"Quiz Complete"},twoButtonNav:{previousButton:"Previous",nextButton:"א",checkAnswerButton:"אב",saveFileButton:"Save File",saveAnswerButton:"Save Answer",submitButton:"Finish Quiz"},retriesExceeded:{triesExceeded:"Too many tries"},start:{summativeInstruction:"Summative Quiz",formativeInstruction:"Formative Quiz",showWhatYouKnowInstruction:"Show What You Know",startButton:"Start Quiz"},notFound:{notFound:"Not Found"},about:{title:"Open Assessments"},loading:{loading:"Loading..."},audioUpload:{record:"Record",stop:"Stop",recordTime:"Recording time"},fileUpload:{chooseFile:"Choose a File to Upload",noFile:"No file chosen"}}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={hi:{name:"Hindi",dir:"ltr",assessment:{unansweredQuestionWarning:"चेतावनी! कुछ सवालों के जवाब नहीं हैं",leavingQuizPopup:"ठहरिए!",counterQuestion:"{1} की प्रश्न संख्या {0}",counterPage:"{1} की पृष्ठ संख्या {0}"},remaining:{one_left:"1 और प्रश्न का उत्तर दें",many_left:"{0} और प्रश्नों का उत्तर दें",done:"शाबाश!"},assessmentComplete:{complete:"धन्यवाद"},twoButtonNav:{previousButton:"पिछला",nextButton:"अगला",checkAnswerButton:"जवाब की जांच करो",saveFileButton:"फाइल सुरक्षित करें",saveAnswerButton:"उत्तर सेव करें",submitButton:"समाप्त"},item:{questionDirectionMany:"लागू होने वाले प्रत्येक को चुनें",questionDirectionAll:"श्रेष्ठ उत्तर चुनें"},retriesExceeded:{triesExceeded:"सीमा से अधिक प्रयत्न"},start:{summativeInstruction:"निर्णायक प्रश्नोतरी",formativeInstruction:"सृजनात्मक प्रश्नोतरी",showWhatYouKnowInstruction:"दिखाइए आप क्या जानते हैं",startButton:"प्रश्नोत्तरी शुरू करें"},notFound:{notFound:"मिला नहीं"},about:{title:"खुला आकलन"},loading:{loading:"लोड हो रहा है"},audioUpload:{record:"दर्ज करें",stop:"रुकिए",recordTime:"Recording time"},fileUpload:{chooseFile:"अपलोड करने के लिए एक फाइल चुनें",noFile:"No file chosen"},middleware:{mustSelectAnswer:"कृप्या एक मान्य उत्तर चुनें",mustEnterAnswer:"कृप्या एक मान्य उत्तर दर्ज करें",mustUploadFile:"कृप्या एक फाइल अपलोड कीजिए",mustRecordFile:"कृप्या एक ऑडियो नमूना रिकॉर्ड कीजिए"}}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={te:{name:"Telugu",dir:"ltr",assessment:{unansweredQuestionWarning:"హెచ్చరిక! కొన్ని ప్రశ్నలకు జవాబులు ఇవ్వలేదుి",leavingQuizPopup:"వదలొద్దు!",counterQuestion:"ప్రశ్న {0} యొక్క {1}",counterPage:"పేజీ {0} యొక్క {1}"},remaining:{one_left:"మరొక ప్రశ్నకు జవాబు ఇవ్వండి",many_left:"{0} ప్రశ్నలకు జవాబు ఇవ్వండి",done:"శభాష్"},assessmentComplete:{complete:"ధన్యవాదాలు"},twoButtonNav:{previousButton:"మునుపటి",nextButton:"తరువాత",checkAnswerButton:"సమాధానం సరిచూసుకోండిీ",saveFileButton:"ఫైల్ సెవ్ చేసుకోండి",saveAnswerButton:"జవాబు సేవ్ చేసుకోండి",submitButton:"ముగింపుు"},item:{questionDirectionMany:"వర్తించే అన్ని ఎంచుకోండి",questionDirectionAll:"ఉత్తమ జవాబుని ఎంచుకోండి"},retriesExceeded:{triesExceeded:"చాలా ప్రయత్నాలు"},start:{summativeInstruction:"సంక్షిప్తమైన క్విజ్",formativeInstruction:"నిర్మాణాత్మక క్విజ్",showWhatYouKnowInstruction:"నీకు (మీకు) ఏం తెలుసొ చూపించు",startButton:"ప్రశ్నావళి మొదలు పెట్టండి"},notFound:{notFound:"దొరకలేదు"},about:{title:"ఓపెన్ అసెస్మెంట్/ తెరిచిన లెక్కింపులు"},loading:{loading:"లొడ్ అవుతుందిి"},audioUpload:{record:"రికార్డు చేయండి",stop:"ఆపండిు",recordTime:"Recording time"},fileUpload:{chooseFile:"అప్లోడ్ కై ఫైల్ ని ఎంచండి",noFile:"No file chosen"},middleware:{mustSelectAnswer:"యచేసి చెల్లుబాటైన ఒక సమాధానాన్ని ఎంచుకోండి",mustEnterAnswer:"దయచేసి చెల్లుబాటైన ఒక సమాధానాన్నినమోదు చేయండి",mustUploadFile:"దయచెసి ఒక ఫైల్ అప్లొడ్ చెయ్యండి",mustRecordFile:"దయచెసి ఒక ఆడియో మాదిరిని రికార్డు చెయ్యండి"}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(4),i=r(o),a=n(1232),s=r(a),u=n(1353),c=r(u);t.default=function(e){return function(t){return function(n){if(n.method)(0,s.default)(e,n,n.method,n.url,n.params,n.body);else{var r=c.default[n.type];i.default.isFunction(r)?r(e,n):i.default.isObject(r)&&(0,s.default)(e,n,r.method,r.url(n),r.params?r.params(params):n.params,r.body?r.body(n):n.body)}t(n)}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(4),i=r(o),a=n(1232),s=r(a),u=(n(55),n(1233)),c=r(u);t.default=function(e){return function(t){return function(n){if(n.method)(0,s.default)(e,n,n.method,n.url,n.params,n.body);else if(n.apiCall){var r=c.default[n.type];if(i.default.isFunction(r))r(e,n);else{if(!i.default.isObject(r))throw"No handler implemented for "+n.type;(0,s.default)(e,n,r.method,r.url(n),r.params?r.params(params):n.params,r.body?r.body(n):n.body)}}t(n)}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(504),i=r(o),a=n(55),s=n(56),u=n(320),c=function(e){return function(t){return function(n){var r=function(t,r){var o=(0,u.parse)(t,r);e.dispatch({type:n.type+a.DONE,payload:o})};if(n.type===s.Constants.LOAD_ASSESSMENT){var o=e.getState(),c=o.settings.assessment_data;c?r(o.settings,c):o.settings.src_url&&i.default.get(o.settings.src_url).then(function(e,t){r(o.settings,e.text)})}t(n)}}};t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.communicationHandler=void 0;var o=n(497),i=(n(205),n(1363)),a=r(i),s=t.communicationHandler=new a.default,u=function(e){return function(e){return function(t){switch(t.type){case o.Constants.SEND_SIZE:s.sendSize();break;case o.Constants.SCROLL_PARENT_TO_TOP:s.scrollParentToTop();break;case o.Constants.LTI_NAVIGATE_NEXT:s.broadcast({subject:"lti.navigation",location:"next"});break;case o.Constants.LTI_NAVIGATE_PREVIOUS:s.broadcast({subject:"lti.navigation",location:"previous"});break;case o.Constants.LTI_NAVIGATE_HOME:s.broadcast({subject:"lti.navigation",location:"home"});break;case o.Constants.SHOW_LMS_NAVIGATION:s.broadcast({subject:"lti.showModuleNavigation",show:!0});break;case o.Constants.HIDE_LMS_NAVIGATION:s.broadcast({subject:"lti.showModuleNavigation",show:!1});break;case o.Constants.AVAILABLE_LOCALES:s.availableLocales()}e(t)}}};t.default=u},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=e.getState(),r="logging/logs/"+n.settings.bank+"/logentries",o=n.assessmentProgress.get("currentItemIndex"),i=n.assessment.items[o].json.id,a={data:(0,l.default)({assessmentOfferedId:n.settings.assessment_offered_id,questionId:i},t)};(0,g.postQbank)(n,r,a)}function i(e,t){var n=e.getState(),r=(0,m.transformItem)(n.assessment.items[t.questionIndex]),o={};h.default.each(r.answers,function(e){o[e.id]=e});var i=n.assessmentProgress.getIn(["responses",""+t.questionIndex]);switch(i=i||p.default.List(),r.question_type){case"movable_words_sentence":case"movable_words_sandbox":if(t.answerData instanceof String)return i.includes(t.answerData)?{action:"disconnect word",targetWord:o[t.answerData].material,currentSentence:i.map(function(e){return o[e].material})}:{action:"connect word",targetWord:o[t.answerData].material,currentSentence:i.map(function(e){return o[e].material})};break;case"movable_object_chain":return i.includes(t.answerData)?{action:"disconnect object",targetObject:o[t.answerData].material,currentObjectChain:i.map(function(e){return o[e].material})}:{action:"connect object",targetObject:o[t.answerData].material,currentObjectChain:i.map(function(e){return o[e].material})};case"fill_the_blank_question":return h.default.isEmpty(i)?{action:"connect word",targetWord:o[t.answerData].material}:{action:"disconnect word",targetWord:o[t.answerData].material};case"multiple_choice_question":return{action:"select answer",targetAnswer:o[t.answerData].material};case"multiple_answers_question":return i.includes(t.answerData)?{action:"deselect answer",targetAnswer:o[t.answerData].material,currentAnswers:i.map(function(e){return o[e].material})}:{action:"select answer",targetAnswer:o[t.answerData].material,currentAnswers:i.map(function(e){return o[e].material})}}return null}Object.defineProperty(t,"__esModule",{value:!0});var a,s=n(101),u=r(s),c=n(10),l=r(c),f=n(392),p=r(f),d=n(4),h=r(d),v=n(1231),y=n(205),g=n(1233),m=n(534);t.default=(a={},(0,u.default)(a,y.Constants.ASSESSMENT_NEXT_QUESTIONS,function(e){var t={action:"click next button"};o(e,t)}),(0,u.default)(a,y.Constants.ASSESSMENT_PREVIOUS_QUESTIONS,function(e){var t=e.getState();if(t.assessment.requireNAnswers!==-1){var n={action:"click previous button"};o(e,n)}}),(0,u.default)(a,y.Constants.ANSWER_SELECTED,function(e,t){var n=i(e,t);void 0!==n&&o(e,n)}),(0,u.default)(a,v.Constants.AUDIO_PLAY,function(e,t){var n={action:"play audio",mediaTime:t.mediaTime,mediaId:t.mediaId};o(e,n)}),(0,u.default)(a,v.Constants.AUDIO_PAUSE,function(e,t){var n={action:"pause audio",mediaTime:t.mediaTime,mediaId:t.mediaId};o(e,n)}),(0,u.default)(a,v.Constants.AUDIO_RECORD_STOP,function(e,t){var n={action:"record audio stop",mediaTime:t.mediaTime};o(e,n)}),(0,u.default)(a,v.Constants.VIDEO_PLAY,function(e,t){var n={action:"play video",mediaTime:t.mediaTime,mediaId:t.mediaId};o(e,n)}),(0,u.default)(a,v.Constants.VIDEO_PAUSE,function(e,t){var n={action:"pause video",mediaTime:t.mediaTime,mediaId:t.mediaId};o(e,n)}),a)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1229),o={};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments[1];switch(t.type){case r.Constants.APP_DISPLAY_ERROR:return{error:t.error,error_message:t.message};default:return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(56),o={};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments[1];switch(t.type){case r.Constants.LOAD_ASSESSMENT_DONE:return t.payload;default:return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1230),o={};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments[1];switch(t.type){case r.Constants.LOAD_ASSESSMENT_META_DONE:return t.payload}return e}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(392),i=r(o),a=n(205),s=i.default.fromJS({isSubmitted:!1,isStarted:!1,currentItemIndex:0,numQuestionsChecking:0,selectedAnswerId:"",checkedResponses:[],responses:[],startedAt:0,finishedAt:0,assessmentResult:null});t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments[1];switch(t.type){case a.Constants.ASSESSMENT_NEXT_QUESTIONS:var n=e.get("currentItemIndex"),r=t.pageSize;return e.set("currentItemIndex",n+r);case a.Constants.ASSESSMENT_PREVIOUS_QUESTIONS:var o=e.get("currentItemIndex"),u=t.pageSize;return e.set("currentItemIndex",o-u);case a.Constants.ASSESSMENT_VIEWED:return e.set("startedAt",Date.now());case a.Constants.ANSWER_SELECTED:var c=e.getIn(["responses",""+t.questionIndex]);void 0!==c&&t.exclusive!==!0||(c=i.default.List());var l=i.default.fromJS(t.answerData),f=c.findIndex(function(e){return"string"==typeof l||"number"==typeof l?l===e:i.default.is(e.get("id"),l.get("id"))}),p=!t.exclusive;return f>-1?p&&(c=c.delete(f)):c=c.push(l),e.setIn(["responses",""+t.questionIndex],c);case a.Constants.ASSESSMENT_CHECK_ANSWER_DONE:var d=e;if(!t.error){var h=i.default.Map();t.userInput.forEach(function(e){var n=i.default.Map(t.payload);h=h.set(e,n)}),d=e.setIn(["checkedResponses",""+t.questionIndex],h)}var v=e.get("numQuestionsChecking");if(v<=0)throw new Error("ASSESSMENT_CHECK_ANSWER_DONE dispatched when no answers were being checked");return d.set("numQuestionsChecking",v-1);case a.Constants.CHECK_QUESTIONS:var y=e.get("numQuestionsChecking");return e.set("numQuestionsChecking",t.numQuestions+y);case a.Constants.ASSESSMENT_SUBMITTED_DONE:var g=e.set("finishedAt",Date.now());return g.set("isSubmitted",!0)}return e}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(335),i=r(o),a=n(321),s=r(a),u=n(499),c=r(u),l=n(392),f=(r(l),n(205)),p=(0,c.default)({questionResults:(0,c.default)([])});t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p,t=arguments[1];switch(t.type){case f.Constants.ASSESSMENT_CHECK_ANSWER_DONE:if(t.error)break;var n=t.questionIndex,r=(0,s.default)(e.questionResults),o=r[n]||[];r[n]=(0,c.default)([t.payload].concat(o)),(0,c.default)(r),e=(0,c.default)((0,i.default)({},e,{questionResults:r}))}return e}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(309),i=n(1234),a=r(i),s=n(1354),u=r(s),c=n(1355),l=r(c),f=n(1357),p=r(f),d=n(1361),h=r(d),v=n(1360),y=r(v),g=n(1356),m=r(g),_=n(1358),b=r(_),w=(0,o.combineReducers)({settings:a.default,jwt:y.default,application:u.default,assessment:l.default,assessmentProgress:p.default,assessmentMeta:m.default,assessmentResults:b.default,locale:h.default});t.default=w},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(215),o=null;t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments[1];switch(t.type){case r.Constants.REFRESH_JWT_DONE:return t.payload.jwt;default:return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(529),o=null;t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments[1];switch(t.type){case r.Constants.LOCALE_SET:return t.locale;default:return e}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(340),i=r(o);t.default=function(e){var t=a.compose.apply(void 0,(0,i.default)(_))(a.createStore)(u.default,e);return t};var a=n(309),s=(n(198),n(1359)),u=r(s),c=n(329),l=(r(c),n(1350)),f=r(l),p=n(1349),d=r(p),h=n(1351),v=r(h),y=n(1352),g=r(y),m=[f.default,d.default,v.default,g.default],_=[a.applyMiddleware.apply(void 0,m)]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(3),i=r(o),a=n(5),s=r(a),u=n(1364),c=r(u),l=n(530),f=function(){function e(){(0,i.default)(this,e),c.default.enableListener(this)}return(0,s.default)(e,[{key:"getHeight",value:function(){return Math.max(document.body.clientHeight,document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)}},{key:"getWidth",value:function(){return Math.max(document.body.clientWidth,document.documentElement.clientWidth,document.documentElement.scrollWidth,window.innerWidth)}},{key:"sendSize",value:function(){var e=this.getHeight(),t=this.getWidth();if(e!=this.prevHeight||t!=this.prevWidth){this.prevHeight=e,this.prevWidth=t;var n={height:e,width:t},r={subject:"lti.frameResize",height:e};c.default.commMsg(u.CommunicatorResizeMsg,n),c.default.broadcastMsg(r)}}},{key:"hideLMSNavigation",value:function(){c.default.broadcastMsg({subject:"lti.showModuleNavigation",show:!1})}},{key:"showLMSNavigation",value:function(){c.default.broadcastMsg({subject:"lti.showModuleNavigation",show:!0})}},{key:"scrollParentToTop",value:function(){c.default.broadcastMsg({open_assessments_msg:"scrollToTop"})}},{key:"navigateHome",value:function(){this.navigate("home")}},{key:"navigateNext",value:function(){this.navigate("next")}},{key:"navigatePrevious",value:function(){this.navigate("previous")}},{key:"navigate",value:function(e){c.default.broadcastMsg({subject:"lti.navigation",location:e})}},{key:"availableLocales",value:function(){c.default.broadcastMsg({open_assessments_msg:"open_assessments_available_locales",available_locales:(0,l.availableLocales)()})}},{key:"broadcast",value:function(e){c.default.broadcastMsg(e)}},{key:"handleComm",value:function(e){switch(e.data.open_assessments_msg){case u.CommunicatorSizeRequest:this.sendSize()}}}]),e}();t.default=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CommunicatorSizeRequest=t.CommunicatorResizeMsg=t.CommunicatorMsg=void 0;var o=n(1399),i=r(o),a=n(101),s=r(a),u=n(1398),c=r(u),l=n(3),f=r(l),p=n(5),d=r(p),h=t.CommunicatorMsg="open_assessments_msg",v=(t.CommunicatorResizeMsg="open_assessments_resize",t.CommunicatorSizeRequest="open_assessments_size_request",function(){function e(){(0,f.default)(this,e)}return(0,d.default)(e,null,[{key:"enableListener",value:function(e){var t=window.addEventListener?"addEventListener":"attachEvent",n=window[t];this.messageEvent="attachEvent"===t?"onmessage":"message",n(this.messageEvent,function(t){return e.handleComm(t)},!1)}},{key:"commMsg",value:function(e,t){var n;parent.postMessage((0,c.default)((n={},(0,s.default)(n,h,e),(0,s.default)(n,"payload",t),n)),"*")}},{key:"broadcastMsg",value:function(e){for(var t=new i.default,n=parent;!t.has(n);)n.postMessage((0,c.default)(e),"*"),t.add(n),n=n.parent}}]),e}());t.default=v},,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return e.assessment.items.map(C.transformItem)}function a(){return{}}function s(e,t){return e.assessment.items.length}function u(e,t){return!g.default.isEmpty(e.assessment)}function c(e,t){return e.assessmentProgress.get("numQuestionsChecking",0)>0}function l(e,t){return T.questionResults(e,t)}function f(e,t){return T.correctItemCount(e,t)}function p(e,t){var n=(0,w.default)(e,t).twoButtonNav,r=(0,_.currentItems)(e)[0];switch(r.question_type){case"text_input_question":case"text_only_question":case"short_answer_question":case"survey_question":return n.saveAnswerButton;case"file_upload_question":case"audio_upload_question":case"movable_words_sandbox":return n.saveFileButton;default:return n.checkAnswerButton}}function d(e){return e.assessment.requireNAnswers!==-1}function h(e,t){var n=(0,_.isNextUnlocked)(e),r=(0,_.isLastPage)(e);return n===!0&&r===!0?m.PRIMARY_ACTION.SUBMIT:n===!0?m.PRIMARY_ACTION.NEXT:m.PRIMARY_ACTION.CHECK_ANSWERS}function v(e,t){var n=!d(e)||(0,_.isFirstPage)(e);return{buttonState:n?m.SECONDARY_ACTION.NONE:m.SECONDARY_ACTION.PREV}}Object.defineProperty(t,"__esModule",{value:!0}),t.questions=i,t.outcomes=a,t.questionCount=s,t.assessmentLoaded=u,t.isCheckingAnswer=c,t.questionResults=l,t.correctItemCount=f,t.checkButtonText=p,t.isNofM=d,t.primaryActionState=h,t.secondaryActionState=v;var y=n(4),g=o(y),m=n(1226),_=n(330),b=n(155),w=o(b),E=n(1238),T=r(E),C=n(534)},function(e,t){"use strict"},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e
-}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(3),i=r(o),a=n(5),s=r(a),u=n(131),c=r(u),l=n(1236),f=r(l),p=n(320),d=function(){function e(){(0,i.default)(this,e)}return(0,s.default)(e,null,[{key:"parse",value:function(e,t,n){var r={id:t.attr("ident"),title:t.attr("title"),standard:p.AssessmentFormats.Qti1,assessmentId:e};return r.objectives=n.find("assessment > objectives matref").map(function(e,t){return(0,c.default)(t).attr("linkrefid")}),r.sections=this.parseSections(n),r}},{key:"parseSections",value:function(e){var t=this,n=function(e){return e=(0,c.default)(e),{id:e.attr("ident"),standard:p.AssessmentFormats.Qti1,xml:e,outcome:t.parseOutcome(e),items:t.parseItems(e)}},r=function(e){return{id:"default",standard:p.AssessmentFormats.Qti1,xml:e,items:t.parseItems(e)}};return this.listFromXml(e,"section",n,r)}},{key:"parseOutcome",value:function(e){if(e=(0,c.default)(e),"root_section"==e.attr("ident"))return"root section";for(var t=e.find("item")[0],n=(0,c.default)(t).find("qtimetadatafield"),r={shortOutcome:"",longOutcome:"",outcomeGuid:""},o=n.length-1;o>=0;o--)"outcome_guid"==(0,c.default)(n[o]).find("fieldlabel").text()&&(r.outcomeGuid=(0,c.default)(n[o]).find("fieldentry").text()),"outcome_long_title"==(0,c.default)(n[o]).find("fieldlabel").text()&&(r.longOutcome=(0,c.default)(n[o]).find("fieldentry").text()),"outcome_short_title"==(0,c.default)(n[o]).find("fieldlabel").text()&&(r.shortOutcome=(0,c.default)(n[o]).find("fieldentry").text());return r}},{key:"parseItems",value:function(e){var t=this,n=function(e){e=(0,c.default)(e);var n=e.find("objectives matref").map(function(e,t){return(0,c.default)(t).attr("linkrefid")}),r={shortOutcome:"",longOutcome:""};e.find("fieldentry").map(function(e,t){2==e&&(r.shortOutcome=t.textContent),3==e&&(r.longOutcome=t.textContent)});var o={id:e.attr("ident"),title:e.attr("title"),objectives:n,outcomes:r,xml:e,material:t.material(e),answers:t.parseAnswers(e),correct:t.parseCorrect(e),timeSpent:0};c.default.each(e.find("itemmetadata > qtimetadata > qtimetadatafield"),function(e,t){o[(0,c.default)(t).find("fieldlabel").text()]=(0,c.default)(t).find("fieldentry").text()}),"Multiple Choice"===e.find("itemmetadata > qmd_itemtype").text()&&(o.question_type="multiple_choice_question");var i=e.find("response_grp");return i&&"Multiple"===i.attr("rcardinality")&&(o.question_type="drag_and_drop"),o};return this.listFromXml(e,"> item",n)}},{key:"parseCorrect",value:function(e){for(var t=e.find("respcondition"),n=[],r=0;r<t.length;r++){var o=(0,c.default)(t[r]);if("0"!=o.find("setvar").text()){var i={id:o.find("conditionvar > varequal").text(),value:o.find("setvar").text()};""==i.id&&(i.id=o.find("conditionvar > and > varequal").map(function(e,t){return t=(0,c.default)(t),t.text()}),i.id=i.id.toArray()),n.push(i)}}return n}},{key:"parseAnswers",value:function(e){var t=this,n=function(e){e=(0,c.default)(e);var n=e.parent().parent().find("material")[0].textContent.trim(),r={id:e.attr("ident"),material:t.buildMaterial(e.find("material").children()),matchMaterial:n,xml:e,feedback:t.parseFeedback(e)};return r};return this.listFromXml(e,"response_lid > render_choice > response_label",n)}},{key:"buildMaterial",value:function(e){var t="";return c.default.each(e,function(e,n){var r=(0,c.default)(n);switch(n.nodeName.toLowerCase()){case"mattext":t+=r.text();break;case"matemtext":t+=r.text();break;case"matimage":t+='<img src="'+r.attr("uri")+'"',r.attr("label")&&(t+='alt="'+r.attr("label")+'"'),r.attr("width")&&(t+='width="'+r.attr("width")+'"'),r.attr("height")&&(t+='height="'+r.attr("height")+'"'),t+=" />";break;case"matref":(0,c.default)(n).attr("linkrefid")}}),t}},{key:"listFromXml",value:function(e,t,n,r){e=(0,c.default)(e);var o=e.find(t).map(function(e,t){return n(t)}).toArray();return o.length<=0&&r&&(o=[r(e)]),o}},{key:"buildResponseGroup",value:function(e){return this.buildMaterial((0,c.default)(e).find("material").children())}},{key:"material",value:function e(t){var e=t.find("presentation > material").children();if(e.length>0)return this.buildMaterial(e);var n=t.find("presentation > flow");return n.length>0?this.reduceFlow(n):void 0}},{key:"reduceFlow",value:function(e){var t="";return c.default.each(e.children(),function(e,n){"flow"===n.nodeName.toLowerCase()?t+=f.default.buildMaterial((0,c.default)(n).find("material").children()):"response_grp"===n.nodeName.toLowerCase()&&(t+=f.default.buildResponseGroup(n))}),t}},{key:"parseFeedback",value:function(e){return{}}}]),e}();t.default=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.questionCount=t.outcomes=t.questions=t.sections=t.shuffleQuestionAnswers=t.assessment=t.questionsPerPage=t.questionsPerSection=void 0;var o=n(392),i=(r(o),n(310)),a=n(1236),s=t.questionsPerSection=function(e,t){return e.settings.questions_per_section},u=(t.questionsPerPage=function(e,t){return e.settings.questions_per_page},t.assessment=function(e,t){return e.assessment}),c=t.shuffleQuestionAnswers=function(e,t){return e.settings.shuffle_question_answers},l=t.sections=(0,i.createSelector)([u],function(e){return e.sections}),f=t.questions=(0,i.createSelector)([l,s],function(e,t){return(0,a.getItems)(e,null,c)});t.outcomes=(0,i.createSelector)([l],function(e){return(0,a.loadOutcomes)(e)}),t.questionCount=(0,i.createSelector)([f],function(e){return e.length})},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={params:function(){for(var e={},t=window.location.search.substring(1).split("&"),n=0;n<t.length;n++){var r=t[n].split("=");e[decodeURIComponent(r[0])]=decodeURIComponent(r[1])}return e}}},function(e,t,n){e.exports={default:n(1402),__esModule:!0}},function(e,t,n){e.exports={default:n(1403),__esModule:!0}},,,function(e,t,n){var r=n(23),o=r.JSON||(r.JSON={stringify:JSON.stringify});e.exports=function(e){return o.stringify.apply(o,arguments)}},function(e,t,n){n(325),n(130),n(158),n(1411),n(1412),e.exports=n(23).Set},[1492,322],[1495,85,323,129,210,1407],[1496,66,500,34],[1497,1406],[1500,57,209,352,85,342,208,322,324,501,502,65,223],[1501,207,1404],function(e,t,n){"use strict";var r=n(45),o=n(48),i=n(223),a=n(102),s=n(84),u=n(352),c=n(322),l=n(342),f=n(66),p=n(157),d=n(57).f,h=n(1405)(0),v=n(65);e.exports=function(e,t,n,y,g,m){var _=r[e],b=_,w=g?"set":"add",E=b&&b.prototype,T={};return v&&"function"==typeof b&&(m||E.forEach&&!a(function(){(new b).entries().next()}))?(b=t(function(t,n){l(t,b,e,"_c"),t._c=new _,void 0!=n&&c(n,g,t[w],t)}),h("add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON".split(","),function(e){var t="add"==e||"set"==e;e in E&&(!m||"clear"!=e)&&s(b.prototype,e,function(n,r){if(l(this,b,e),!t&&m&&!f(n))return"get"==e&&void 0;var o=this._c[e](0===n?0:n,r);return t?this:o})}),"size"in E&&d(b.prototype,"size",{get:function(){return this._c.size}})):(b=y.getConstructor(t,e,g,w),u(b.prototype,n),i.NEED=!0),p(b,e),T[e]=b,o(o.G+o.W+o.F,T),m||y.setStrong(b,e,g),b}},[1622,1408,1410],[1627,48,1409],,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n,r){var o=n(r);e.exports=function(e){if(!o(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n,r){var o=n(r);e.exports=function(e,t){var n=[];return o(e,!1,n.push,n,t),n}},,function(e,t,n,r,o,i){var a=n(r),s=n(o),u=n(i);e.exports=function(e){return function(t,n,r){var o,i=a(t),c=s(i.length),l=u(r,c);if(e&&n!=n){for(;c>l;)if(o=i[l++],o!=o)return!0}else for(;c>l;l++)if((e||l in i)&&i[l]===n)return e||l||0;return!e&&-1}}},function(e,t,n,r,o,i,a,s){var u=n(r),c=n(o),l=n(i),f=n(a),p=n(s);e.exports=function(e,t){var n=1==e,r=2==e,o=3==e,i=4==e,a=6==e,s=5==e||a,d=t||p;return function(t,p,h){for(var v,y,g=l(t),m=c(g),_=u(p,h,3),b=f(m.length),w=0,E=n?d(t,b):r?d(t,0):void 0;b>w;w++)if((s||w in m)&&(v=m[w],y=_(v,w,g),e))if(n)E[w]=y;else if(y)switch(e){case 3:return!0;case 5:return v;case 6:return w;case 2:E.push(v)}else if(i)return!1;return a?-1:o||i?i:E}}},function(e,t,n,r,o,i){var a=n(r),s=n(o),u=n(i)("species");e.exports=function(e){var t;return s(e)&&(t=e.constructor,"function"!=typeof t||t!==Array&&!s(t.prototype)||(t=void 0),a(t)&&(t=t[u],null===t&&(t=void 0))),void 0===t?Array:t}},function(e,t,n,r){var o=n(r);e.exports=function(e,t){return new(o(e))(t)}},,function(e,t,n,r,o){var i=n(r),a=n(o)("toStringTag"),s="Arguments"==i(function(){return arguments}()),u=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=u(t=Object(e),a))?n:s?i(t):"Object"==(r=i(t))&&"function"==typeof t.callee?"Arguments":r}},function(e,t,n,r,o,i,a,s,u,c,l,f,p,d,h){"use strict";var v=n(r).f,y=n(o),g=n(i),m=n(a),_=n(s),b=n(u),w=n(c),E=n(l),T=n(f),C=n(p),S=n(d),x=n(h).fastKey,O=S?"_s":"size",k=function(e,t){var n,r=x(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,r){var o=e(function(e,i){_(e,o,t,"_i"),e._i=y(null),e._f=void 0,e._l=void 0,e[O]=0,void 0!=i&&w(i,n,e[r],e)});return g(o.prototype,{clear:function(){for(var e=this,t=e._i,n=e._f;n;n=n.n)n.r=!0,n.p&&(n.p=n.p.n=void 0),delete t[n.i];e._f=e._l=void 0,e[O]=0},delete:function(e){var t=this,n=k(t,e);if(n){var r=n.n,o=n.p;delete t._i[n.i],n.r=!0,o&&(o.n=r),r&&(r.p=o),t._f==n&&(t._f=r),t._l==n&&(t._l=o),t[O]--}return!!n},forEach:function(e){_(this,o,"forEach");for(var t,n=m(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.n:this._f;)for(n(t.v,t.k,this);t&&t.r;)t=t.p},has:function(e){return!!k(this,e)}}),S&&v(o.prototype,"size",{get:function(){return b(this[O])}}),o},def:function(e,t,n){var r,o,i=k(e,t);return i?i.v=n:(e._l=i={i:o=x(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=i),r&&(r.n=i),e[O]++,"F"!==o&&(e._i[o]=i)),e},getEntry:k,setStrong:function(e,t,n){E(e,t,function(e,t){this._t=e,this._k=t,this._l=void 0},function(){for(var e=this,t=e._k,n=e._l;n&&n.r;)n=n.p;return e._t&&(e._l=n=n?n.n:e._t._f)?"keys"==t?T(0,n.k):"values"==t?T(0,n.v):T(0,[n.k,n.v]):(e._t=void 0,T(1))},n?"entries":"values",!n,!0),C(t)}}},function(e,t,n,r,o){var i=n(r),a=n(o);e.exports=function(e){return function(){if(i(this)!=e)throw TypeError(e+"#toJSON isn't generic");return a(this)}}},function(e,t,n,r,o){"use strict";var i=n(r),a=n(o);e.exports=function(e,t,n){t in e?i.f(e,t,a(0,n)):e[t]=n}},,function(e,t,n,r){var o=n(r);e.exports=function(e,t,n){if(o(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},,function(e,t,n,r){e.exports=!n(r)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},,function(e,t,n,r,o){var i=n(r),a=n(o).document,s=i(a)&&i(a.createElement);e.exports=function(e){return s?a.createElement(e):{}}},,function(e,t,n,r,o,i){var a=n(r),s=n(o),u=n(i);e.exports=function(e){var t=a(e),n=s.f;if(n)for(var r,o=n(e),i=u.f,c=0;o.length>c;)i.call(e,r=o[c++])&&t.push(r);return t}},,,function(e,t,n,r,o,i,a,s,u){var c=n(r),l=n(o),f=n(i),p=n(a),d=n(s),h=n(u),v={},y={},t=e.exports=function(e,t,n,r,o){var i,a,s,u,g=o?function(){return e}:h(e),m=c(n,r,t?2:1),_=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(f(g)){for(i=d(e.length);i>_;_++)if(u=t?m(p(a=e[_])[0],a[1]):m(e[_]),u===v||u===y)return u}else for(s=g.call(e);!(a=s.next()).done;)if(u=l(s,m,a.value,t),u===v||u===y)return u};t.BREAK=v,t.RETURN=y},,function(e,t,n,r,o,i){var a=n(r),s=n(o);e.exports=n(i)?function(e,t,n){return a.f(e,t,s(1,n))}:function(e,t,n){return e[t]=n,e}},,function(e,t,n,r){e.exports=n(r).document&&document.documentElement},function(e,t,n,r,o,i){e.exports=!n(r)&&!n(o)(function(){return 7!=Object.defineProperty(n(i)("div"),"a",{get:function(){return 7}}).a})},,,function(e,t,n,r){var o=n(r);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==o(e)?e.split(""):Object(e)}},function(e,t,n,r,o){var i=n(r),a=n(o)("iterator"),s=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||s[a]===e)}},,function(e,t,n,r){var o=n(r);e.exports=Array.isArray||function(e){return"Array"==o(e)}},,,function(e,t,n,r){var o=n(r),i=Math.floor;e.exports=function(e){return!o(e)&&isFinite(e)&&i(e)===e}},function(e,t,n,r){var o=n(r);e.exports=function(e,t,n,r){try{return r?t(o(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&o(i.call(e)),t}}},,function(e,t,n,r,o,i,a,s){"use strict";var u=n(r),c=n(o),l=n(i),f={};n(a)(f,n(s)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=u(f,{next:c(1,n)}),l(e,t+" Iterator")}},,function(e,t,n,r,o,i,a,s,u,c,l,f,p){"use strict";var d=n(r),h=n(o),v=n(i),y=n(a),g=n(s),m=n(u),_=n(c),b=n(l),w=n(f),E=n(p)("iterator"),T=!([].keys&&"next"in[].keys()),C="@@iterator",S="keys",x="values",O=function(){return this};e.exports=function(e,t,n,r,o,i,a){_(n,t,r);var s,u,c,l=function(e){if(!T&&e in P)return P[e];switch(e){case S:return function(){return new n(this,e)};case x:return function(){return new n(this,e)}}return function(){return new n(this,e)}},f=t+" Iterator",p=o==x,k=!1,P=e.prototype,M=P[E]||P[C]||o&&P[o],A=M||l(o),I=o?p?l("entries"):A:void 0,j="Array"==t?P.entries||M:M;if(j&&(c=w(j.call(new e)),c!==Object.prototype&&(b(c,f,!0),d||g(c,E)||y(c,E,O))),p&&M&&M.name!==x&&(k=!0,A=function(){return M.call(this)}),d&&!a||!T&&!k&&P[E]||y(P,E,A),m[t]=A,m[f]=O,o)if(s={values:p?A:l(x),keys:i?A:l(S),entries:I},a)for(u in s)u in P||v(P,u,s[u]);else h(h.P+h.F*(T||k),t,s);return s}},,function(e,t,n,r){var o=n(r)("iterator"),i=!1;try{var a=[7][o]();a.return=function(){i=!0},Array.from(a,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var r=[7],a=r[o]();a.next=function(){return{done:n=!0}},r[o]=function(){return a},e(r)}catch(e){}return n}},,function(e,t,n,r,o){var i=n(r),a=n(o);e.exports=function(e,t){for(var n,r=a(e),o=i(r),s=o.length,u=0;s>u;)if(r[n=o[u++]]===t)return n}},,function(e,t,n,r,o,i,a,s){var u=n(r)("meta"),c=n(o),l=n(i),f=n(a).f,p=0,d=Object.isExtensible||function(){return!0},h=!n(s)(function(){return d(Object.preventExtensions({}))}),v=function(e){f(e,u,{value:{i:"O"+ ++p,w:{}}})},y=function(e,t){if(!c(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!l(e,u)){if(!d(e))return"F";if(!t)return"E";v(e)}return e[u].i},g=function(e,t){if(!l(e,u)){if(!d(e))return!0;if(!t)return!1;v(e)}return e[u].w},m=function(e){return h&&_.NEED&&d(e)&&!l(e,u)&&v(e),e},_=e.exports={KEY:u,NEED:!1,fastKey:y,getWeak:g,onFreeze:m}},,,function(e,t,n,r,o,i){var a=n(r),s=n(o).set,u=a.MutationObserver||a.WebKitMutationObserver,c=a.process,l=a.Promise,f="process"==n(i)(c);e.exports=function(){var e,t,n,r=function(){var r,o;for(f&&(r=c.domain)&&r.exit();e;){o=e.fn,e=e.next;try{o()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(f)n=function(){c.nextTick(r)};else if(u){var o=!0,i=document.createTextNode("");new u(r).observe(i,{characterData:!0}),n=function(){i.data=o=!o}}else if(l&&l.resolve){var p=l.resolve();n=function(){p.then(r)}}else n=function(){s.call(a,r)};return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}},,function(e,t,n,r,o,i,a,s,u){"use strict";var c=n(r),l=n(o),f=n(i),p=n(a),d=n(s),h=Object.assign;e.exports=!h||n(u)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=h({},e)[n]||Object.keys(h({},t)).join("")!=r})?function(e,t){for(var n=p(e),r=arguments.length,o=1,i=l.f,a=f.f;r>o;)for(var s,u=d(arguments[o++]),h=i?c(u).concat(i(u)):c(u),v=h.length,y=0;v>y;)a.call(u,s=h[y++])&&(n[s]=u[s]);return n}:h},,function(e,t,n,r,o,i,a,s,u){var c=n(r),l=n(o),f=n(i),p=n(a)("IE_PROTO"),d=function(){},h="prototype",v=function(){var e,t=n(s)("iframe"),r=f.length,o="<",i=">";for(t.style.display="none",n(u).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(o+"script"+i+"document.F=Object"+o+"/script"+i),e.close(),v=e.F;r--;)delete v[h][f[r]];return v()};e.exports=Object.create||function(e,t){var n;return null!==e?(d[h]=c(e),n=new d,d[h]=null,n[p]=e):n=v(),void 0===t?n:l(n,t)}},function(e,t,n,r,o,i,a){var s=n(r),u=n(o),c=n(i),l=Object.defineProperty;t.f=n(a)?Object.defineProperty:function(e,t,n){if(s(e),t=c(t,!0),s(n),u)try{return l(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},,,function(e,t,n,r,o,i,a){var s=n(r),u=n(o),c=n(i);e.exports=n(a)?Object.defineProperties:function(e,t){u(e);for(var n,r=c(t),o=r.length,i=0;o>i;)s.f(e,n=r[i++],t[n]);return e}},,function(e,t,n,r,o,i,a,s,u,c){var l=n(r),f=n(o),p=n(i),d=n(a),h=n(s),v=n(u),y=Object.getOwnPropertyDescriptor;t.f=n(c)?y:function(e,t){if(e=p(e),t=d(t,!0),v)try{return y(e,t)}catch(e){}if(h(e,t))return f(!l.f.call(e,t),e[t])}},,function(e,t,n,r,o){var i=n(r),a=n(o).f,s={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(e){try{return a(e)}catch(e){return u.slice()}};e.exports.f=function(e){return u&&"[object Window]"==s.call(e)?c(e):a(i(e))}},function(e,t,n,r,o){var i=n(r),a=n(o).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,a)}},,,function(e,t,n,r,o,i){var a=n(r),s=n(o),u=n(i)("IE_PROTO"),c=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=s(e),a(e,u)?e[u]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?c:null}},,function(e,t,n,r,o,i,a){var s=n(r),u=n(o),c=n(i)(!1),l=n(a)("IE_PROTO");e.exports=function(e,t){var n,r=u(e),o=0,i=[];for(n in r)n!=l&&s(r,n)&&i.push(n);for(;t.length>o;)s(r,n=t[o++])&&(~c(i,n)||i.push(n));return i}},,function(e,t,n,r,o){var i=n(r),a=n(o);e.exports=Object.keys||function(e){return i(e,a)}},function(e,t,n,r,o,i){var a=n(r),s=n(o),u=n(i);e.exports=function(e,t){var n=(s.Object||{})[e]||Object[e],r={};r[e]=t(n),a(a.S+a.F*u(function(){n(1)}),"Object",r)}},,function(e,t,n,r,o,i,a){var s=n(r),u=n(o),c=function(e,t){if(u(e),!s(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{r=n(i)(Function.call,n(a).f(Object.prototype,"__proto__").set,2),r(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return c(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:c}},,,function(e,t,n,r,o,i){var a=n(r).f,s=n(o),u=n(i)("toStringTag");e.exports=function(e,t,n){e&&!s(e=n?e:e.prototype,u)&&a(e,u,{configurable:!0,value:t})}},function(e,t,n,r,o){var i=n(r)("keys"),a=n(o);e.exports=function(e){return i[e]||(i[e]=a(e))}},,,function(e,t,n,r){var o=n(r),i="__core-js_shared__",a=o[i]||(o[i]={});e.exports=function(e){return a[e]||(a[e]={})}},function(e,t,n,r,o,i){var a=n(r),s=n(o),u=n(i)("species");e.exports=function(e,t){var n,r=a(e).constructor;return void 0===r||void 0==(n=a(r)[u])?t:s(n)}},,,function(e,t,n,r,o){var i=n(r),a=n(o);e.exports=function(e){return function(t,n){var r,o,s=String(a(t)),u=i(n),c=s.length;return u<0||u>=c?e?"":void 0:(r=s.charCodeAt(u),r<55296||r>56319||u+1===c||(o=s.charCodeAt(u+1))<56320||o>57343?e?s.charAt(u):r:e?s.slice(u,u+2):(r-55296<<10)+(o-56320)+65536)}}},,function(e,t,n,r,o,i,a,s,u){var c,l,f,p=n(r),d=n(o),h=n(i),v=n(a),y=n(s),g=y.process,m=y.setImmediate,_=y.clearImmediate,b=y.MessageChannel,w=0,E={},T="onreadystatechange",C=function(){var e=+this;if(E.hasOwnProperty(e)){var t=E[e];delete E[e],t()}},S=function(e){C.call(e.data)};m&&_||(m=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return E[++w]=function(){d("function"==typeof e?e:Function(e),t)},c(w),w},_=function(e){delete E[e]},"process"==n(u)(g)?c=function(e){g.nextTick(p(C,e,1))}:b?(l=new b,f=l.port2,l.port1.onmessage=S,c=p(f.postMessage,f,1)):y.addEventListener&&"function"==typeof postMessage&&!y.importScripts?(c=function(e){y.postMessage(e+"","*")},y.addEventListener("message",S,!1)):c=T in v("script")?function(e){h.appendChild(v("script"))[T]=function(){h.removeChild(this),C.call(e)}}:function(e){setTimeout(p(C,e,1),0)}),e.exports={set:m,clear:_}},,function(e,t,n,r){var o=n(r),i=Math.max,a=Math.min;e.exports=function(e,t){return e=o(e),e<0?i(e+t,0):a(e,t)}},,function(e,t,n,r,o){var i=n(r),a=n(o);e.exports=function(e){return i(a(e))}},,function(e,t,n,r){var o=n(r),i=Math.min;e.exports=function(e){return e>0?i(o(e),9007199254740991):0}},function(e,t,n,r){var o=n(r);e.exports=function(e){return Object(o(e))}},,,function(e,t,n,r){var o=n(r);e.exports=function(e,t){if(!o(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!o(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!o(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!o(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},function(e,t,n,r,o,i,a,s){var u=n(r),c=n(o),l=n(i),f=n(a),p=n(s).f;e.exports=function(e){var t=c.Symbol||(c.Symbol=l?{}:u.Symbol||{});"_"==e.charAt(0)||e in t||p(t,e,{value:f.f(e)})}},,function(e,t,n,r){t.f=n(r)},,,function(e,t,n,r,o,i){var a=n(r)("wks"),s=n(o),u=n(i).Symbol,c="function"==typeof u,l=e.exports=function(e){return a[e]||(a[e]=c&&u[e]||(c?u:s)("Symbol."+e))};l.store=a},function(e,t,n,r,o,i,a){var s=n(r),u=n(o)("iterator"),c=n(i);e.exports=n(a).getIteratorMethod=function(e){if(void 0!=e)return e[u]||e["@@iterator"]||c[s(e)]}},,function(e,t,n,r,o,i,a,s,u,c,l,f){"use strict";var p=n(r),d=n(o),h=n(i),v=n(a),y=n(s),g=n(u),m=n(c),_=n(l);d(d.S+d.F*!n(f)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,r,o,i=h(e),a="function"==typeof this?this:Array,s=arguments.length,u=s>1?arguments[1]:void 0,c=void 0!==u,l=0,f=_(i);if(c&&(u=p(u,s>2?arguments[2]:void 0,2)),void 0==f||a==Array&&y(f))for(t=g(i.length),n=new a(t);t>l;l++)m(n,l,c?u(i[l],l):i[l]);else for(o=f.call(i),n=new a;!(r=o.next()).done;l++)m(n,l,c?v(o,u,[r.value,l],!0):r.value);return n.length=l,n}})},,function(e,t,n,r,o,i,a,s){"use strict";var u=n(r),c=n(o),l=n(i),f=n(a);e.exports=n(s)(Array,"Array",function(e,t){this._t=f(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,c(1)):"keys"==t?c(0,n):"values"==t?c(0,e[n]):c(0,[n,e[n]])},"values"),l.Arguments=l.Array,u("keys"),u("values"),u("entries")},,,function(e,t,n,r,o){var i=n(r),a=n(o),s=Math.abs;i(i.S,"Number",{isSafeInteger:function(e){return a(e)&&s(e)<=9007199254740991}})},,function(e,t,n,r,o){var i=n(r);i(i.S+i.F,"Object",{assign:n(o)})},function(e,t,n,r,o){var i=n(r);i(i.S,"Object",{create:n(o)})},,,function(e,t,n,r,o,i){var a=n(r);a(a.S+a.F*!n(o),"Object",{defineProperty:n(i).f})},,function(e,t,n,r,o,i){var a=n(r),s=n(o).onFreeze;n(i)("freeze",function(e){return function(t){return e&&a(t)?e(s(t)):t}})},,function(e,t,n,r,o,i){var a=n(r),s=n(o).f;n(i)("getOwnPropertyDescriptor",function(){return function(e,t){return s(a(e),t)}})},function(e,t,n,r,o){n(r)("getOwnPropertyNames",function(){return n(o).f})},,function(e,t,n,r,o,i){var a=n(r),s=n(o);n(i)("getPrototypeOf",function(){return function(e){return s(a(e))}})},,,function(e,t,n,r,o,i){var a=n(r),s=n(o);n(i)("keys",function(){return function(e){return s(a(e))}})},function(e,t,n,r,o){var i=n(r);i(i.S,"Object",{setPrototypeOf:n(o).set})},,,function(e,t,n,r,o,i,a,s,u,c,l,f,p,d,h,v,y,g,m,_,b){"use strict";var w,E,T,C=n(r),S=n(o),x=n(i),O=n(a),k=n(s),P=n(u),M=n(c),A=n(l),I=n(f),j=n(p),D=n(d).set,R=n(h)(),N="Promise",L=S.TypeError,F=S.process,U=S[N],F=S.process,B="process"==O(F),q=function(){},z=!!function(){try{var e=U.resolve(1),t=(e.constructor={})[n(v)("species")]=function(e){e(q,q)};return(B||"function"==typeof PromiseRejectionEvent)&&e.then(q)instanceof t}catch(e){}}(),W=function(e,t){return e===t||e===U&&t===T},H=function(e){var t;return!(!P(e)||"function"!=typeof(t=e.then))&&t},V=function(e){return W(U,e)?new G(e):new E(e)},G=E=function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw L("Bad Promise constructor");t=e,n=r}),this.resolve=M(t),this.reject=M(n)},K=function(e){try{e()}catch(e){return{error:e}}},$=function(e,t){if(!e._n){e._n=!0;var n=e._c;R(function(){for(var r=e._v,o=1==e._s,i=0,a=function(t){var n,i,a=o?t.ok:t.fail,s=t.resolve,u=t.reject,c=t.domain;try{a?(o||(2==e._h&&Q(e),e._h=1),a===!0?n=r:(c&&c.enter(),n=a(r),c&&c.exit()),n===t.promise?u(L("Promise-chain cycle")):(i=H(n))?i.call(n,s,u):s(n)):u(r)}catch(e){u(e)}};n.length>i;)a(n[i++]);e._c=[],e._n=!1,t&&!e._h&&X(e)})}},X=function(e){D.call(S,function(){var t,n,r,o=e._v;if(Y(e)&&(t=K(function(){B?F.emit("unhandledRejection",o,e):(n=S.onunhandledrejection)?n({promise:e,reason:o}):(r=S.console)&&r.error&&r.error("Unhandled promise rejection",o)}),e._h=B||Y(e)?2:1),e._a=void 0,t)throw t.error})},Y=function(e){if(1==e._h)return!1;for(var t,n=e._a||e._c,r=0;n.length>r;)if(t=n[r++],t.fail||!Y(t.promise))return!1;return!0},Q=function(e){D.call(S,function(){var t;B?F.emit("rejectionHandled",e):(t=S.onrejectionhandled)&&t({promise:e,reason:e._v})})},J=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),$(t,!0))},Z=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw L("Promise can't be resolved itself");(t=H(e))?R(function(){var r={_w:n,_d:!1};try{t.call(e,x(Z,r,1),x(J,r,1))}catch(e){J.call(r,e)}}):(n._v=e,n._s=1,$(n,!1))}catch(e){J.call({_w:n,_d:!1},e)}}};z||(U=function(e){A(this,U,N,"_h"),M(e),w.call(this);try{e(x(Z,this,1),x(J,this,1))}catch(e){J.call(this,e)}},w=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},w.prototype=n(y)(U.prototype,{then:function(e,t){var n=V(j(this,U));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=B?F.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&$(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),G=function(){var e=new w;this.promise=e,this.resolve=x(Z,e,1),this.reject=x(J,e,1)}),k(k.G+k.W+k.F*!z,{Promise:U}),n(g)(U,N),n(m)(N),T=n(_)[N],k(k.S+k.F*!z,N,{reject:function(e){var t=V(this),n=t.reject;return n(e),t.promise}}),k(k.S+k.F*(C||!z),N,{resolve:function(e){if(e instanceof U&&W(e.constructor,this))return e;var t=V(this),n=t.resolve;return n(e),t.promise}}),k(k.S+k.F*!(z&&n(b)(function(e){U.all(e).catch(q)})),N,{all:function(e){var t=this,n=V(t),r=n.resolve,o=n.reject,i=K(function(){var n=[],i=0,a=1;I(e,!1,function(e){var s=i++,u=!1;n.push(void 0),a++,t.resolve(e).then(function(e){u||(u=!0,n[s]=e,--a||r(n))},o)}),--a||r(n)});return i&&o(i.error),n.promise},race:function(e){var t=this,n=V(t),r=n.reject,o=K(function(){I(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o&&r(o.error),n.promise}})},function(e,t,n,r,o){"use strict";var i=n(r);e.exports=n(o)("Set",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return i.def(this,e=0===e?0:e,e)}},i)},,function(e,t,n,r,o){"use strict";var i=n(r)(!0);n(o)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=i(t,n),this._i+=e.length,{value:e,done:!1})})},,function(e,t,n,r,o,i,a,s,u,c,l,f,p,d,h,v,y,g,m,_,b,w,E,T,C,S,x,O,k,P,M,A,I){"use strict";var j=n(r),D=n(o),R=n(i),N=n(a),L=n(s),F=n(u).KEY,U=n(c),B=n(l),q=n(f),z=n(p),W=n(d),H=n(h),V=n(v),G=n(y),K=n(g),$=n(m),X=n(_),Y=n(b),Q=n(w),J=n(E),Z=n(T),ee=n(C),te=n(S),ne=n(x),re=n(O),oe=te.f,ie=ne.f,ae=ee.f,se=j.Symbol,ue=j.JSON,ce=ue&&ue.stringify,le="prototype",fe=W("_hidden"),pe=W("toPrimitive"),de={}.propertyIsEnumerable,he=B("symbol-registry"),ve=B("symbols"),ye=B("op-symbols"),ge=Object[le],me="function"==typeof se,_e=j.QObject,be=!_e||!_e[le]||!_e[le].findChild,we=R&&U(function(){return 7!=Z(ie({},"a",{get:function(){return ie(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=oe(ge,t);r&&delete ge[t],ie(e,t,n),r&&e!==ge&&ie(ge,t,r)}:ie,Ee=function(e){var t=ve[e]=Z(se[le]);return t._k=e,t},Te=me&&"symbol"==typeof se.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof se},Ce=function(e,t,n){return e===ge&&Ce(ye,t,n),X(e),t=Q(t,!0),X(n),D(ve,t)?(n.enumerable?(D(e,fe)&&e[fe][t]&&(e[fe][t]=!1),n=Z(n,{enumerable:J(0,!1)})):(D(e,fe)||ie(e,fe,J(1,{})),e[fe][t]=!0),we(e,t,n)):ie(e,t,n)},Se=function(e,t){X(e);for(var n,r=K(t=Y(t)),o=0,i=r.length;i>o;)Ce(e,n=r[o++],t[n]);return e},xe=function(e,t){return void 0===t?Z(e):Se(Z(e),t)},Oe=function(e){var t=de.call(this,e=Q(e,!0));return!(this===ge&&D(ve,e)&&!D(ye,e))&&(!(t||!D(this,e)||!D(ve,e)||D(this,fe)&&this[fe][e])||t)},ke=function(e,t){if(e=Y(e),t=Q(t,!0),e!==ge||!D(ve,t)||D(ye,t)){var n=oe(e,t);return!n||!D(ve,t)||D(e,fe)&&e[fe][t]||(n.enumerable=!0),n}},Pe=function(e){for(var t,n=ae(Y(e)),r=[],o=0;n.length>o;)D(ve,t=n[o++])||t==fe||t==F||r.push(t);return r},Me=function(e){for(var t,n=e===ge,r=ae(n?ye:Y(e)),o=[],i=0;r.length>i;)!D(ve,t=r[i++])||n&&!D(ge,t)||o.push(ve[t]);return o};me||(se=function(){if(this instanceof se)throw TypeError("Symbol is not a constructor!");var e=z(arguments.length>0?arguments[0]:void 0),t=function(n){this===ge&&t.call(ye,n),D(this,fe)&&D(this[fe],e)&&(this[fe][e]=!1),we(this,e,J(1,n))};return R&&be&&we(ge,e,{configurable:!0,set:t}),Ee(e)},L(se[le],"toString",function(){return this._k}),te.f=ke,ne.f=Ce,n(k).f=ee.f=Pe,n(P).f=Oe,n(M).f=Me,R&&!n(A)&&L(ge,"propertyIsEnumerable",Oe,!0),H.f=function(e){return Ee(W(e))}),N(N.G+N.W+N.F*!me,{Symbol:se});for(var Ae="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),Ie=0;Ae.length>Ie;)W(Ae[Ie++]);for(var Ae=re(W.store),Ie=0;Ae.length>Ie;)V(Ae[Ie++]);N(N.S+N.F*!me,"Symbol",{for:function(e){return D(he,e+="")?he[e]:he[e]=se(e)},keyFor:function(e){if(Te(e))return G(he,e);throw TypeError(e+" is not a symbol!")},useSetter:function(){be=!0},useSimple:function(){be=!1}}),N(N.S+N.F*!me,"Object",{create:xe,defineProperty:Ce,defineProperties:Se,getOwnPropertyDescriptor:ke,getOwnPropertyNames:Pe,getOwnPropertySymbols:Me}),ue&&N(N.S+N.F*(!me||U(function(){var e=se();return"[null]"!=ce([e])||"{}"!=ce({a:e})||"{}"!=ce(Object(e))})),"JSON",{stringify:function(e){if(void 0!==e&&!Te(e)){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);return t=r[1],"function"==typeof t&&(n=t),!n&&$(t)||(t=function(e,t){if(n&&(t=n.call(this,e,t)),!Te(t))return t}),r[1]=t,ce.apply(ue,r)}}}),se[le][pe]||n(I)(se[le],pe,se[le].valueOf),q(se,"Symbol"),q(Math,"Math",!0),q(j.JSON,"JSON",!0)},function(e,t,n,r,o){var i=n(r);i(i.P+i.R,"Set",{toJSON:n(o)("Set")})},function(e,t,n,r){n(r)("asyncIterator")},,,function(e,t,n,r){n(r)("observable")},,,,function(e,t,n,r){"use strict";var o=n(r),i=(n(11),function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)}),a=function(e,t){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,e,t),r}return new n(e,t)},s=function(e,t,n){var r=this;if(r.instancePool.length){var o=r.instancePool.pop();return r.call(o,e,t,n),o}return new r(e,t,n)},u=function(e,t,n,r){var o=this;if(o.instancePool.length){var i=o.instancePool.pop();return o.call(i,e,t,n,r),i}return new o(e,t,n,r)},c=function(e){var t=this;e instanceof t?void 0:o("25"),e.destructor(),t.instancePool.length<t.poolSize&&t.instancePool.push(e)},l=10,f=i,p=function(e,t){var n=e;return n.instancePool=[],n.getPooled=t||f,n.poolSize||(n.poolSize=l),n.release=c,n},d={addPoolingTo:p,oneArgumentPooler:i,twoArgumentPooler:a,threeArgumentPooler:s,fourArgumentPooler:u};e.exports=d}]));
\ No newline at end of file
diff -ruN oac/player-afb138bce647e5c30f49_bundle.js oac-new/player-afb138bce647e5c30f49_bundle.js
--- oac/player-afb138bce647e5c30f49_bundle.js	1970-01-01 05:30:00.000000000 +0530
+++ oac-new/player-afb138bce647e5c30f49_bundle.js	2017-05-24 14:49:58.000000000 +0530
@@ -0,0 +1,83 @@
+!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/oac/",t(0)}(function(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))switch(typeof e[t]){case"function":break;case"object":e[t]=function(t){var n=t.slice(1),r=e[t[0]];return function(e,t,o){r.apply(this,[e,t,o].concat(n))}}(e[t]);break;default:e[t]=e[e[t]]}return e}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),c=r(u),l=n(7),f=r(l),d=n(6),p=r(d);n(541);var h=n(833),v=r(h),y=n(1),g=r(y),m=n(106),_=r(m),b=n(36),w=n(1107),E=r(w),T=n(1363),S=r(T),C=n(335),x=r(C),O=n(1400),k=r(O),M=n(538),P=r(M),A=n(1435),I=r(A),j=n(1240);v.default.polyfill(),(0,E.default)();var D=(g.default.createElement(x.default,null),function(e){function t(){return(0,s.default)(this,t),(0,f.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,c.default)(t,[{key:"render",value:function(){var e=null,t=this.props.store;return g.default.createElement(b.Provider,{store:t},g.default.createElement("div",null,S.default,e))}}]),t}(g.default.Component)),R=(0,j.getInitialSettings)(window.DEFAULT_SETTINGS,I.default.params()),N=(0,k.default)({settings:R,jwt:window.DEFAULT_JWT});window.DEFAULT_JWT&&(0,P.default)(N.dispatch,R.user_id),_.default.render(g.default.createElement(D,{store:N}),document.getElementById("main-app"))},function(e,t,n){"use strict";e.exports=n(127)},function(e,t,n){var r=n(14),o=n(70),i=n(42),a=n(43),s=n(71),u="prototype",c=function(e,t,n){var l,f,d,p,h=e&c.F,v=e&c.G,y=e&c.S,g=e&c.P,m=e&c.B,_=v?r:y?r[t]||(r[t]={}):(r[t]||{})[u],b=v?o:o[t]||(o[t]={}),w=b[u]||(b[u]={});v&&(n=t);for(l in n)f=!h&&_&&void 0!==_[l],d=(f?_:n)[l],p=m&&f?s(d,r):g&&"function"==typeof d?s(Function.call,d):d,_&&a(_,l,d,e&c.U),b[l]!=d&&i(b,l,p),g&&w[l]!=d&&(w[l]=d)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t,n){var r;(function(e,o){(function(){function i(e,t){return e.set(t[0],t[1]),e}function a(e,t){return e.add(t),e}function s(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function u(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}function c(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}function l(e,t){for(var n=null==e?0:e.length;n--&&t(e[n],n,e)!==!1;);return e}function f(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function d(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function p(e,t){var n=null==e?0:e.length;return!!n&&S(e,t,0)>-1}function h(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function v(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function y(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function g(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function m(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function _(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function b(e){return e.split("")}function w(e){return e.match(zt)||[]}function E(e,t,n){var r;return n(e,function(e,n,o){if(t(e,n,o))return r=n,!1}),r}function T(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function S(e,t,n){return t===t?Q(e,t,n):T(e,x,n)}function C(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function x(e){return e!==e}function O(e,t){var n=null==e?0:e.length;return n?I(e,t)/n:Le}function k(e){return function(t){return null==t?oe:t[e]}}function M(e){return function(t){return null==e?oe:e[t]}}function P(e,t,n,r,o){return o(e,function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)}),n}function A(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}function I(e,t){for(var n,r=-1,o=e.length;++r<o;){var i=t(e[r]);i!==oe&&(n=n===oe?i:n+i)}return n}function j(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function D(e,t){return v(t,function(t){return[t,e[t]]})}function R(e){return function(t){return e(t)}}function N(e,t){return v(t,function(t){return e[t]})}function L(e,t){return e.has(t)}function F(e,t){for(var n=-1,r=e.length;++n<r&&S(t,e[n],0)>-1;);return n}function U(e,t){for(var n=e.length;n--&&S(t,e[n],0)>-1;);return n}function B(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}function q(e){return"\\"+nr[e]}function W(e,t){return null==e?oe:e[t]}function z(e){return Kn.test(e)}function H(e){return Yn.test(e)}function V(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function G(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function K(e,t){return function(n){return e(t(n))}}function Y(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n];a!==t&&a!==fe||(e[n]=fe,i[o++]=n)}return i}function $(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function X(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=[e,e]}),n}function Q(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}function J(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}function Z(e){return z(e)?te(e):_r(e)}function ee(e){return z(e)?ne(e):b(e)}function te(e){for(var t=Vn.lastIndex=0;Vn.test(e);)++t;return t}function ne(e){return e.match(Vn)||[]}function re(e){return e.match(Gn)||[]}var oe,ie="4.17.4",ae=200,se="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",ue="Expected a function",ce="__lodash_hash_undefined__",le=500,fe="__lodash_placeholder__",de=1,pe=2,he=4,ve=1,ye=2,ge=1,me=2,_e=4,be=8,we=16,Ee=32,Te=64,Se=128,Ce=256,xe=512,Oe=30,ke="...",Me=800,Pe=16,Ae=1,Ie=2,je=3,De=1/0,Re=9007199254740991,Ne=1.7976931348623157e308,Le=NaN,Fe=4294967295,Ue=Fe-1,Be=Fe>>>1,qe=[["ary",Se],["bind",ge],["bindKey",me],["curry",be],["curryRight",we],["flip",xe],["partial",Ee],["partialRight",Te],["rearg",Ce]],We="[object Arguments]",ze="[object Array]",He="[object AsyncFunction]",Ve="[object Boolean]",Ge="[object Date]",Ke="[object DOMException]",Ye="[object Error]",$e="[object Function]",Xe="[object GeneratorFunction]",Qe="[object Map]",Je="[object Number]",Ze="[object Null]",et="[object Object]",tt="[object Promise]",nt="[object Proxy]",rt="[object RegExp]",ot="[object Set]",it="[object String]",at="[object Symbol]",st="[object Undefined]",ut="[object WeakMap]",ct="[object WeakSet]",lt="[object ArrayBuffer]",ft="[object DataView]",dt="[object Float32Array]",pt="[object Float64Array]",ht="[object Int8Array]",vt="[object Int16Array]",yt="[object Int32Array]",gt="[object Uint8Array]",mt="[object Uint8ClampedArray]",_t="[object Uint16Array]",bt="[object Uint32Array]",wt=/\b__p \+= '';/g,Et=/\b(__p \+=) '' \+/g,Tt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,St=/&(?:amp|lt|gt|quot|#39);/g,Ct=/[&<>"']/g,xt=RegExp(St.source),Ot=RegExp(Ct.source),kt=/<%-([\s\S]+?)%>/g,Mt=/<%([\s\S]+?)%>/g,Pt=/<%=([\s\S]+?)%>/g,At=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,It=/^\w*$/,jt=/^\./,Dt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Rt=/[\\^$.*+?()[\]{}|]/g,Nt=RegExp(Rt.source),Lt=/^\s+|\s+$/g,Ft=/^\s+/,Ut=/\s+$/,Bt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,qt=/\{\n\/\* \[wrapped with (.+)\] \*/,Wt=/,? & /,zt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ht=/\\(\\)?/g,Vt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Gt=/\w*$/,Kt=/^[-+]0x[0-9a-f]+$/i,Yt=/^0b[01]+$/i,$t=/^\[object .+?Constructor\]$/,Xt=/^0o[0-7]+$/i,Qt=/^(?:0|[1-9]\d*)$/,Jt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Zt=/($^)/,en=/['\n\r\u2028\u2029\\]/g,tn="\\ud800-\\udfff",nn="\\u0300-\\u036f",rn="\\ufe20-\\ufe2f",on="\\u20d0-\\u20ff",an=nn+rn+on,sn="\\u2700-\\u27bf",un="a-z\\xdf-\\xf6\\xf8-\\xff",cn="\\xac\\xb1\\xd7\\xf7",ln="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",fn="\\u2000-\\u206f",dn=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",pn="A-Z\\xc0-\\xd6\\xd8-\\xde",hn="\\ufe0e\\ufe0f",vn=cn+ln+fn+dn,yn="['’]",gn="["+tn+"]",mn="["+vn+"]",_n="["+an+"]",bn="\\d+",wn="["+sn+"]",En="["+un+"]",Tn="[^"+tn+vn+bn+sn+un+pn+"]",Sn="\\ud83c[\\udffb-\\udfff]",Cn="(?:"+_n+"|"+Sn+")",xn="[^"+tn+"]",On="(?:\\ud83c[\\udde6-\\uddff]){2}",kn="[\\ud800-\\udbff][\\udc00-\\udfff]",Mn="["+pn+"]",Pn="\\u200d",An="(?:"+En+"|"+Tn+")",In="(?:"+Mn+"|"+Tn+")",jn="(?:"+yn+"(?:d|ll|m|re|s|t|ve))?",Dn="(?:"+yn+"(?:D|LL|M|RE|S|T|VE))?",Rn=Cn+"?",Nn="["+hn+"]?",Ln="(?:"+Pn+"(?:"+[xn,On,kn].join("|")+")"+Nn+Rn+")*",Fn="\\d*(?:(?:1st|2nd|3rd|(?![123])\\dth)\\b)",Un="\\d*(?:(?:1ST|2ND|3RD|(?![123])\\dTH)\\b)",Bn=Nn+Rn+Ln,qn="(?:"+[wn,On,kn].join("|")+")"+Bn,Wn="(?:"+[xn+_n+"?",_n,On,kn,gn].join("|")+")",zn=RegExp(yn,"g"),Hn=RegExp(_n,"g"),Vn=RegExp(Sn+"(?="+Sn+")|"+Wn+Bn,"g"),Gn=RegExp([Mn+"?"+En+"+"+jn+"(?="+[mn,Mn,"$"].join("|")+")",In+"+"+Dn+"(?="+[mn,Mn+An,"$"].join("|")+")",Mn+"?"+An+"+"+jn,Mn+"+"+Dn,Un,Fn,bn,qn].join("|"),"g"),Kn=RegExp("["+Pn+tn+an+hn+"]"),Yn=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,$n=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Xn=-1,Qn={};Qn[dt]=Qn[pt]=Qn[ht]=Qn[vt]=Qn[yt]=Qn[gt]=Qn[mt]=Qn[_t]=Qn[bt]=!0,Qn[We]=Qn[ze]=Qn[lt]=Qn[Ve]=Qn[ft]=Qn[Ge]=Qn[Ye]=Qn[$e]=Qn[Qe]=Qn[Je]=Qn[et]=Qn[rt]=Qn[ot]=Qn[it]=Qn[ut]=!1;var Jn={};Jn[We]=Jn[ze]=Jn[lt]=Jn[ft]=Jn[Ve]=Jn[Ge]=Jn[dt]=Jn[pt]=Jn[ht]=Jn[vt]=Jn[yt]=Jn[Qe]=Jn[Je]=Jn[et]=Jn[rt]=Jn[ot]=Jn[it]=Jn[at]=Jn[gt]=Jn[mt]=Jn[_t]=Jn[bt]=!0,Jn[Ye]=Jn[$e]=Jn[ut]=!1;var Zn={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","Ĳ":"IJ","ĳ":"ij","Œ":"Oe","œ":"oe","ŉ":"'n","ſ":"s"},er={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},tr={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},nr={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},rr=parseFloat,or=parseInt,ir="object"==typeof e&&e&&e.Object===Object&&e,ar="object"==typeof self&&self&&self.Object===Object&&self,sr=ir||ar||Function("return this")(),ur="object"==typeof t&&t&&!t.nodeType&&t,cr=ur&&"object"==typeof o&&o&&!o.nodeType&&o,lr=cr&&cr.exports===ur,fr=lr&&ir.process,dr=function(){try{return fr&&fr.binding&&fr.binding("util")}catch(e){}}(),pr=dr&&dr.isArrayBuffer,hr=dr&&dr.isDate,vr=dr&&dr.isMap,yr=dr&&dr.isRegExp,gr=dr&&dr.isSet,mr=dr&&dr.isTypedArray,_r=k("length"),br=M(Zn),wr=M(er),Er=M(tr),Tr=function e(t){function n(e){if(cu(e)&&!wd(e)&&!(e instanceof b)){if(e instanceof o)return e;if(bl.call(e,"__wrapped__"))return aa(e)}return new o(e)}function r(){}function o(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=oe}function b(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Fe,this.__views__=[]}function M(){var e=new b(this.__wrapped__);return e.__actions__=qo(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=qo(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=qo(this.__views__),e}function Q(){if(this.__filtered__){var e=new b(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function te(){var e=this.__wrapped__.value(),t=this.__dir__,n=wd(e),r=t<0,o=n?e.length:0,i=Pi(0,o,this.__views__),a=i.start,s=i.end,u=s-a,c=r?s:a-1,l=this.__iteratees__,f=l.length,d=0,p=Xl(u,this.__takeCount__);if(!n||!r&&o==u&&p==u)return Eo(e,this.__actions__);var h=[];e:for(;u--&&d<p;){c+=t;for(var v=-1,y=e[c];++v<f;){var g=l[v],m=g.iteratee,_=g.type,b=m(y);if(_==Ie)y=b;else if(!b){if(_==Ae)continue e;break e}}h[d++]=y}return h}function ne(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function zt(){this.__data__=sf?sf(null):{},this.size=0}function tn(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function nn(e){var t=this.__data__;if(sf){var n=t[e];return n===ce?oe:n}return bl.call(t,e)?t[e]:oe}function rn(e){var t=this.__data__;return sf?t[e]!==oe:bl.call(t,e)}function on(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=sf&&t===oe?ce:t,this}function an(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function sn(){this.__data__=[],this.size=0}function un(e){var t=this.__data__,n=jn(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Dl.call(t,n,1),--this.size,!0}function cn(e){var t=this.__data__,n=jn(t,e);return n<0?oe:t[n][1]}function ln(e){return jn(this.__data__,e)>-1}function fn(e,t){var n=this.__data__,r=jn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function dn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function pn(){this.size=0,this.__data__={hash:new ne,map:new(nf||an),string:new ne}}function hn(e){var t=xi(this,e).delete(e);return this.size-=t?1:0,t}function vn(e){return xi(this,e).get(e)}function yn(e){return xi(this,e).has(e)}function gn(e,t){var n=xi(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function mn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new dn;++t<n;)this.add(e[t])}function _n(e){return this.__data__.set(e,ce),this}function bn(e){return this.__data__.has(e)}function wn(e){var t=this.__data__=new an(e);this.size=t.size}function En(){this.__data__=new an,this.size=0}function Tn(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function Sn(e){return this.__data__.get(e)}function Cn(e){return this.__data__.has(e)}function xn(e,t){var n=this.__data__;if(n instanceof an){var r=n.__data__;if(!nf||r.length<ae-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new dn(r)}return n.set(e,t),this.size=n.size,this}function On(e,t){var n=wd(e),r=!n&&bd(e),o=!n&&!r&&Td(e),i=!n&&!r&&!o&&kd(e),a=n||r||o||i,s=a?j(e.length,pl):[],u=s.length;for(var c in e)!t&&!bl.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Fi(c,u))||s.push(c);return s}function kn(e){var t=e.length;return t?e[no(0,t-1)]:oe}function Mn(e,t){return na(qo(e),Un(t,0,e.length))}function Pn(e){return na(qo(e))}function An(e,t,n){(n===oe||$s(e[t],n))&&(n!==oe||t in e)||Ln(e,t,n)}function In(e,t,n){var r=e[t];bl.call(e,t)&&$s(r,n)&&(n!==oe||t in e)||Ln(e,t,n)}function jn(e,t){for(var n=e.length;n--;)if($s(e[n][0],t))return n;return-1}function Dn(e,t,n,r){return _f(e,function(e,o,i){t(r,e,n(e),i)}),r}function Rn(e,t){return e&&Wo(t,Hu(t),e)}function Nn(e,t){return e&&Wo(t,Vu(t),e)}function Ln(e,t,n){"__proto__"==t&&Fl?Fl(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Fn(e,t){for(var n=-1,r=t.length,o=al(r),i=null==e;++n<r;)o[n]=i?oe:qu(e,t[n]);return o}function Un(e,t,n){return e===e&&(n!==oe&&(e=e<=n?e:n),t!==oe&&(e=e>=t?e:t)),e}function Bn(e,t,n,r,o,i){var a,s=t&de,u=t&pe,l=t&he;if(n&&(a=o?n(e,r,o,i):n(e)),a!==oe)return a;if(!uu(e))return e;var f=wd(e);if(f){if(a=ji(e),!s)return qo(e,a)}else{var d=Af(e),p=d==$e||d==Xe;if(Td(e))return Mo(e,s);if(d==et||d==We||p&&!o){if(a=u||p?{}:Di(e),!s)return u?Ho(e,Nn(a,e)):zo(e,Rn(a,e))}else{if(!Jn[d])return o?e:{};a=Ri(e,d,Bn,s)}}i||(i=new wn);var h=i.get(e);if(h)return h;i.set(e,a);var v=l?u?Ei:wi:u?Vu:Hu,y=f?oe:v(e);return c(y||e,function(r,o){y&&(o=r,r=e[o]),In(a,o,Bn(r,t,n,o,e,i))}),a}function qn(e){var t=Hu(e);return function(n){return Wn(n,e,t)}}function Wn(e,t,n){var r=n.length;if(null==e)return!r;for(e=fl(e);r--;){var o=n[r],i=t[o],a=e[o];if(a===oe&&!(o in e)||!i(a))return!1}return!0}function Vn(e,t,n){if("function"!=typeof e)throw new hl(ue);return Df(function(){e.apply(oe,n)},t)}function Gn(e,t,n,r){var o=-1,i=p,a=!0,s=e.length,u=[],c=t.length;if(!s)return u;n&&(t=v(t,R(n))),r?(i=h,a=!1):t.length>=ae&&(i=L,a=!1,t=new mn(t));e:for(;++o<s;){var l=e[o],f=null==n?l:n(l);if(l=r||0!==l?l:0,a&&f===f){for(var d=c;d--;)if(t[d]===f)continue e;u.push(l)}else i(t,f,r)||u.push(l)}return u}function Kn(e,t){var n=!0;return _f(e,function(e,r,o){return n=!!t(e,r,o)}),n}function Yn(e,t,n){for(var r=-1,o=e.length;++r<o;){var i=e[r],a=t(i);if(null!=a&&(s===oe?a===a&&!bu(a):n(a,s)))var s=a,u=i}return u}function Zn(e,t,n,r){var o=e.length;for(n=xu(n),n<0&&(n=-n>o?0:o+n),r=r===oe||r>o?o:xu(r),r<0&&(r+=o),r=n>r?0:Ou(r);n<r;)e[n++]=t;return e}function er(e,t){var n=[];return _f(e,function(e,r,o){t(e,r,o)&&n.push(e)}),n}function tr(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=Li),o||(o=[]);++i<a;){var s=e[i];t>0&&n(s)?t>1?tr(s,t-1,n,r,o):y(o,s):r||(o[o.length]=s)}return o}function nr(e,t){return e&&wf(e,t,Hu)}function ir(e,t){return e&&Ef(e,t,Hu)}function ar(e,t){return d(t,function(t){return iu(e[t])})}function ur(e,t){t=Oo(t,e);for(var n=0,r=t.length;null!=e&&n<r;)e=e[ra(t[n++])];return n&&n==r?e:oe}function cr(e,t,n){var r=t(e);return wd(e)?r:y(r,n(e))}function fr(e){return null==e?e===oe?st:Ze:Ll&&Ll in fl(e)?Mi(e):Xi(e)}function dr(e,t){return e>t}function _r(e,t){return null!=e&&bl.call(e,t)}function Tr(e,t){return null!=e&&t in fl(e)}function Cr(e,t,n){return e>=Xl(t,n)&&e<$l(t,n)}function xr(e,t,n){for(var r=n?h:p,o=e[0].length,i=e.length,a=i,s=al(i),u=1/0,c=[];a--;){var l=e[a];a&&t&&(l=v(l,R(t))),u=Xl(l.length,u),s[a]=!n&&(t||o>=120&&l.length>=120)?new mn(a&&l):oe}l=e[0];var f=-1,d=s[0];e:for(;++f<o&&c.length<u;){var y=l[f],g=t?t(y):y;if(y=n||0!==y?y:0,!(d?L(d,g):r(c,g,n))){for(a=i;--a;){var m=s[a];if(!(m?L(m,g):r(e[a],g,n)))continue e}d&&d.push(g),c.push(y)}}return c}function Or(e,t,n,r){return nr(e,function(e,o,i){t(r,n(e),o,i)}),r}function kr(e,t,n){t=Oo(t,e),e=Ji(e,t);var r=null==e?e:e[ra(Ca(t))];return null==r?oe:s(r,e,n)}function Mr(e){return cu(e)&&fr(e)==We}function Pr(e){return cu(e)&&fr(e)==lt}function Ar(e){return cu(e)&&fr(e)==Ge}function Ir(e,t,n,r,o){return e===t||(null==e||null==t||!cu(e)&&!cu(t)?e!==e&&t!==t:jr(e,t,n,r,Ir,o))}function jr(e,t,n,r,o,i){var a=wd(e),s=wd(t),u=a?ze:Af(e),c=s?ze:Af(t);u=u==We?et:u,c=c==We?et:c;var l=u==et,f=c==et,d=u==c;if(d&&Td(e)){if(!Td(t))return!1;a=!0,l=!1}if(d&&!l)return i||(i=new wn),a||kd(e)?gi(e,t,n,r,o,i):mi(e,t,u,n,r,o,i);if(!(n&ve)){var p=l&&bl.call(e,"__wrapped__"),h=f&&bl.call(t,"__wrapped__");if(p||h){var v=p?e.value():e,y=h?t.value():t;return i||(i=new wn),o(v,y,n,r,i)}}return!!d&&(i||(i=new wn),_i(e,t,n,r,o,i))}function Dr(e){return cu(e)&&Af(e)==Qe}function Rr(e,t,n,r){var o=n.length,i=o,a=!r;if(null==e)return!i;for(e=fl(e);o--;){var s=n[o];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o<i;){s=n[o];var u=s[0],c=e[u],l=s[1];if(a&&s[2]){if(c===oe&&!(u in e))return!1}else{var f=new wn;if(r)var d=r(c,l,u,e,t,f);if(!(d===oe?Ir(l,c,ve|ye,r,f):d))return!1}}return!0}function Nr(e){if(!uu(e)||zi(e))return!1;var t=iu(e)?xl:$t;return t.test(oa(e))}function Lr(e){return cu(e)&&fr(e)==rt}function Fr(e){return cu(e)&&Af(e)==ot}function Ur(e){return cu(e)&&su(e.length)&&!!Qn[fr(e)]}function Br(e){return"function"==typeof e?e:null==e?Dc:"object"==typeof e?wd(e)?Gr(e[0],e[1]):Vr(e):Wc(e)}function qr(e){if(!Hi(e))return Yl(e);var t=[];for(var n in fl(e))bl.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Wr(e){if(!uu(e))return $i(e);var t=Hi(e),n=[];for(var r in e)("constructor"!=r||!t&&bl.call(e,r))&&n.push(r);return n}function zr(e,t){return e<t}function Hr(e,t){var n=-1,r=Xs(e)?al(e.length):[];return _f(e,function(e,o,i){r[++n]=t(e,o,i)}),r}function Vr(e){var t=Oi(e);return 1==t.length&&t[0][2]?Gi(t[0][0],t[0][1]):function(n){return n===e||Rr(n,e,t)}}function Gr(e,t){return Bi(e)&&Vi(t)?Gi(ra(e),t):function(n){var r=qu(n,e);return r===oe&&r===t?zu(n,e):Ir(t,r,ve|ye)}}function Kr(e,t,n,r,o){e!==t&&wf(t,function(i,a){if(uu(i))o||(o=new wn),Yr(e,t,a,n,Kr,r,o);else{var s=r?r(e[a],i,a+"",e,t,o):oe;s===oe&&(s=i),An(e,a,s)}},Vu)}function Yr(e,t,n,r,o,i,a){var s=e[n],u=t[n],c=a.get(u);if(c)return void An(e,n,c);var l=i?i(s,u,n+"",e,t,a):oe,f=l===oe;if(f){var d=wd(u),p=!d&&Td(u),h=!d&&!p&&kd(u);l=u,d||p||h?wd(s)?l=s:Qs(s)?l=qo(s):p?(f=!1,l=Mo(u,!0)):h?(f=!1,l=No(u,!0)):l=[]:gu(u)||bd(u)?(l=s,bd(s)?l=Mu(s):(!uu(s)||r&&iu(s))&&(l=Di(u))):f=!1}f&&(a.set(u,l),o(l,u,r,i,a),a.delete(u)),An(e,n,l)}function $r(e,t){var n=e.length;if(n)return t+=t<0?n:0,Fi(t,n)?e[t]:oe}function Xr(e,t,n){var r=-1;t=v(t.length?t:[Dc],R(Ci()));var o=Hr(e,function(e,n,o){var i=v(t,function(t){return t(e)});return{criteria:i,index:++r,value:e}});return A(o,function(e,t){return Fo(e,t,n)})}function Qr(e,t){return Jr(e,t,function(t,n){return zu(e,n)})}function Jr(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],s=ur(e,a);n(s,a)&&uo(i,Oo(a,e),s)}return i}function Zr(e){return function(t){return ur(t,e)}}function eo(e,t,n,r){var o=r?C:S,i=-1,a=t.length,s=e;for(e===t&&(t=qo(t)),n&&(s=v(e,R(n)));++i<a;)for(var u=0,c=t[i],l=n?n(c):c;(u=o(s,l,u,r))>-1;)s!==e&&Dl.call(s,u,1),Dl.call(e,u,1);return e}function to(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;Fi(o)?Dl.call(e,o,1):_o(e,o)}}return e}function no(e,t){return e+zl(Zl()*(t-e+1))}function ro(e,t,n,r){for(var o=-1,i=$l(Wl((t-e)/(n||1)),0),a=al(i);i--;)a[r?i:++o]=e,e+=n;return a}function oo(e,t){var n="";if(!e||t<1||t>Re)return n;do t%2&&(n+=e),t=zl(t/2),t&&(e+=e);while(t);return n}function io(e,t){return Rf(Qi(e,t,Dc),e+"")}function ao(e){return kn(rc(e))}function so(e,t){var n=rc(e);return na(n,Un(t,0,n.length))}function uo(e,t,n,r){if(!uu(e))return e;t=Oo(t,e);for(var o=-1,i=t.length,a=i-1,s=e;null!=s&&++o<i;){var u=ra(t[o]),c=n;if(o!=a){var l=s[u];c=r?r(l,u,s):oe,c===oe&&(c=uu(l)?l:Fi(t[o+1])?[]:{})}In(s,u,c),s=s[u]}return e}function co(e){return na(rc(e))}function lo(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=al(o);++r<o;)i[r]=e[r+t];return i}function fo(e,t){var n;return _f(e,function(e,r,o){return n=t(e,r,o),!n}),!!n}function po(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t===t&&o<=Be){for(;r<o;){var i=r+o>>>1,a=e[i];null!==a&&!bu(a)&&(n?a<=t:a<t)?r=i+1:o=i}return o}return ho(e,t,Dc,n)}function ho(e,t,n,r){t=n(t);for(var o=0,i=null==e?0:e.length,a=t!==t,s=null===t,u=bu(t),c=t===oe;o<i;){var l=zl((o+i)/2),f=n(e[l]),d=f!==oe,p=null===f,h=f===f,v=bu(f);if(a)var y=r||h;else y=c?h&&(r||d):s?h&&d&&(r||!p):u?h&&d&&!p&&(r||!v):!p&&!v&&(r?f<=t:f<t);y?o=l+1:i=l}return Xl(i,Ue)}function vo(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n],s=t?t(a):a;if(!n||!$s(s,u)){var u=s;i[o++]=0===a?0:a}}return i}function yo(e){return"number"==typeof e?e:bu(e)?Le:+e}function go(e){if("string"==typeof e)return e;if(wd(e))return v(e,go)+"";if(bu(e))return gf?gf.call(e):"";var t=e+"";return"0"==t&&1/e==-De?"-0":t}function mo(e,t,n){var r=-1,o=p,i=e.length,a=!0,s=[],u=s;if(n)a=!1,o=h;else if(i>=ae){var c=t?null:Of(e);if(c)return $(c);a=!1,o=L,u=new mn}else u=t?[]:s;e:for(;++r<i;){var l=e[r],f=t?t(l):l;if(l=n||0!==l?l:0,a&&f===f){for(var d=u.length;d--;)if(u[d]===f)continue e;t&&u.push(f),s.push(l)}else o(u,f,n)||(u!==s&&u.push(f),s.push(l))}return s}function _o(e,t){return t=Oo(t,e),e=Ji(e,t),null==e||delete e[ra(Ca(t))]}function bo(e,t,n,r){return uo(e,t,n(ur(e,t)),r)}function wo(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?lo(e,r?0:i,r?i+1:o):lo(e,r?i+1:0,r?o:i)}function Eo(e,t){var n=e;return n instanceof b&&(n=n.value()),g(t,function(e,t){return t.func.apply(t.thisArg,y([e],t.args))},n)}function To(e,t,n){var r=e.length;if(r<2)return r?mo(e[0]):[];for(var o=-1,i=al(r);++o<r;)for(var a=e[o],s=-1;++s<r;)s!=o&&(i[o]=Gn(i[o]||a,e[s],t,n));return mo(tr(i,1),t,n)}function So(e,t,n){for(var r=-1,o=e.length,i=t.length,a={};++r<o;){var s=r<i?t[r]:oe;n(a,e[r],s)}return a}function Co(e){return Qs(e)?e:[]}function xo(e){return"function"==typeof e?e:Dc}function Oo(e,t){return wd(e)?e:Bi(e,t)?[e]:Nf(Au(e))}function ko(e,t,n){var r=e.length;return n=n===oe?r:n,!t&&n>=r?e:lo(e,t,n)}function Mo(e,t){if(t)return e.slice();var n=e.length,r=Pl?Pl(n):new e.constructor(n);return e.copy(r),r}function Po(e){var t=new e.constructor(e.byteLength);return new Ml(t).set(new Ml(e)),t}function Ao(e,t){var n=t?Po(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function Io(e,t,n){var r=t?n(G(e),de):G(e);return g(r,i,new e.constructor)}function jo(e){var t=new e.constructor(e.source,Gt.exec(e));return t.lastIndex=e.lastIndex,t}function Do(e,t,n){var r=t?n($(e),de):$(e);return g(r,a,new e.constructor)}function Ro(e){return yf?fl(yf.call(e)):{}}function No(e,t){var n=t?Po(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Lo(e,t){if(e!==t){var n=e!==oe,r=null===e,o=e===e,i=bu(e),a=t!==oe,s=null===t,u=t===t,c=bu(t);if(!s&&!c&&!i&&e>t||i&&a&&u&&!s&&!c||r&&a&&u||!n&&u||!o)return 1;if(!r&&!i&&!c&&e<t||c&&n&&o&&!r&&!i||s&&n&&o||!a&&o||!u)return-1}return 0}function Fo(e,t,n){for(var r=-1,o=e.criteria,i=t.criteria,a=o.length,s=n.length;++r<a;){var u=Lo(o[r],i[r]);if(u){if(r>=s)return u;var c=n[r];return u*("desc"==c?-1:1)}}return e.index-t.index}function Uo(e,t,n,r){for(var o=-1,i=e.length,a=n.length,s=-1,u=t.length,c=$l(i-a,0),l=al(u+c),f=!r;++s<u;)l[s]=t[s];for(;++o<a;)(f||o<i)&&(l[n[o]]=e[o]);for(;c--;)l[s++]=e[o++];return l}function Bo(e,t,n,r){for(var o=-1,i=e.length,a=-1,s=n.length,u=-1,c=t.length,l=$l(i-s,0),f=al(l+c),d=!r;++o<l;)f[o]=e[o];for(var p=o;++u<c;)f[p+u]=t[u];for(;++a<s;)(d||o<i)&&(f[p+n[a]]=e[o++]);return f}function qo(e,t){var n=-1,r=e.length;for(t||(t=al(r));++n<r;)t[n]=e[n];return t}function Wo(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var s=t[i],u=r?r(n[s],e[s],s,n,e):oe;u===oe&&(u=e[s]),o?Ln(n,s,u):In(n,s,u)}return n}function zo(e,t){return Wo(e,Mf(e),t)}function Ho(e,t){return Wo(e,Pf(e),t)}function Vo(e,t){return function(n,r){var o=wd(n)?u:Dn,i=t?t():{};return o(n,e,Ci(r,2),i)}}function Go(e){return io(function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:oe,a=o>2?n[2]:oe;for(i=e.length>3&&"function"==typeof i?(o--,i):oe,a&&Ui(n[0],n[1],a)&&(i=o<3?oe:i,o=1),t=fl(t);++r<o;){var s=n[r];s&&e(t,s,r,i)}return t})}function Ko(e,t){return function(n,r){if(null==n)return n;if(!Xs(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=fl(n);(t?i--:++i<o)&&r(a[i],i,a)!==!1;);return n}}function Yo(e){return function(t,n,r){for(var o=-1,i=fl(t),a=r(t),s=a.length;s--;){var u=a[e?s:++o];if(n(i[u],u,i)===!1)break}return t}}function $o(e,t,n){function r(){var t=this&&this!==sr&&this instanceof r?i:e;return t.apply(o?n:this,arguments)}var o=t&ge,i=Jo(e);return r}function Xo(e){return function(t){t=Au(t);var n=z(t)?ee(t):oe,r=n?n[0]:t.charAt(0),o=n?ko(n,1).join(""):t.slice(1);return r[e]()+o}}function Qo(e){return function(t){return g(Mc(cc(t).replace(zn,"")),e,"")}}function Jo(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=mf(e.prototype),r=e.apply(n,t);return uu(r)?r:n}}function Zo(e,t,n){function r(){for(var i=arguments.length,a=al(i),u=i,c=Si(r);u--;)a[u]=arguments[u];var l=i<3&&a[0]!==c&&a[i-1]!==c?[]:Y(a,c);if(i-=l.length,i<n)return li(e,t,ni,r.placeholder,oe,a,l,oe,oe,n-i);var f=this&&this!==sr&&this instanceof r?o:e;return s(f,this,a)}var o=Jo(e);return r}function ei(e){return function(t,n,r){var o=fl(t);if(!Xs(t)){var i=Ci(n,3);t=Hu(t),n=function(e){return i(o[e],e,o)}}var a=e(t,n,r);return a>-1?o[i?t[a]:a]:oe}}function ti(e){return bi(function(t){var n=t.length,r=n,i=o.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new hl(ue);if(i&&!s&&"wrapper"==Ti(a))var s=new o([],!0)}for(r=s?r:n;++r<n;){a=t[r];var u=Ti(a),c="wrapper"==u?kf(a):oe;s=c&&Wi(c[0])&&c[1]==(Se|be|Ee|Ce)&&!c[4].length&&1==c[9]?s[Ti(c[0])].apply(s,c[3]):1==a.length&&Wi(a)?s[u]():s.thru(a)}return function(){var e=arguments,r=e[0];if(s&&1==e.length&&wd(r))return s.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++o<n;)i=t[o].call(this,i);return i}})}function ni(e,t,n,r,o,i,a,s,u,c){function l(){for(var g=arguments.length,m=al(g),_=g;_--;)m[_]=arguments[_];if(h)var b=Si(l),w=B(m,b);if(r&&(m=Uo(m,r,o,h)),i&&(m=Bo(m,i,a,h)),g-=w,h&&g<c){var E=Y(m,b);return li(e,t,ni,l.placeholder,n,m,E,s,u,c-g)}var T=d?n:this,S=p?T[e]:e;return g=m.length,s?m=Zi(m,s):v&&g>1&&m.reverse(),f&&u<g&&(m.length=u),this&&this!==sr&&this instanceof l&&(S=y||Jo(S)),S.apply(T,m)}var f=t&Se,d=t&ge,p=t&me,h=t&(be|we),v=t&xe,y=p?oe:Jo(e);return l}function ri(e,t){return function(n,r){return Or(n,e,t(r),{})}}function oi(e,t){return function(n,r){var o;if(n===oe&&r===oe)return t;if(n!==oe&&(o=n),r!==oe){if(o===oe)return r;"string"==typeof n||"string"==typeof r?(n=go(n),r=go(r)):(n=yo(n),r=yo(r)),o=e(n,r)}return o}}function ii(e){return bi(function(t){return t=v(t,R(Ci())),io(function(n){var r=this;return e(t,function(e){return s(e,r,n)})})})}function ai(e,t){t=t===oe?" ":go(t);var n=t.length;if(n<2)return n?oo(t,e):t;var r=oo(t,Wl(e/Z(t)));return z(t)?ko(ee(r),0,e).join(""):r.slice(0,e)}function si(e,t,n,r){function o(){for(var t=-1,u=arguments.length,c=-1,l=r.length,f=al(l+u),d=this&&this!==sr&&this instanceof o?a:e;++c<l;)f[c]=r[c];for(;u--;)f[c++]=arguments[++t];return s(d,i?n:this,f)}var i=t&ge,a=Jo(e);return o}function ui(e){return function(t,n,r){return r&&"number"!=typeof r&&Ui(t,n,r)&&(n=r=oe),t=Cu(t),n===oe?(n=t,t=0):n=Cu(n),r=r===oe?t<n?1:-1:Cu(r),ro(t,n,r,e)}}function ci(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=ku(t),n=ku(n)),e(t,n)}}function li(e,t,n,r,o,i,a,s,u,c){var l=t&be,f=l?a:oe,d=l?oe:a,p=l?i:oe,h=l?oe:i;t|=l?Ee:Te,t&=~(l?Te:Ee),t&_e||(t&=~(ge|me));var v=[e,t,o,p,f,h,d,s,u,c],y=n.apply(oe,v);return Wi(e)&&jf(y,v),y.placeholder=r,ea(y,e,t)}function fi(e){var t=ll[e];return function(e,n){if(e=ku(e),n=null==n?0:Xl(xu(n),292)){var r=(Au(e)+"e").split("e"),o=t(r[0]+"e"+(+r[1]+n));return r=(Au(o)+"e").split("e"),+(r[0]+"e"+(+r[1]-n))}return t(e)}}function di(e){return function(t){var n=Af(t);return n==Qe?G(t):n==ot?X(t):D(t,e(t))}}function pi(e,t,n,r,o,i,a,s){var u=t&me;if(!u&&"function"!=typeof e)throw new hl(ue);
+var c=r?r.length:0;if(c||(t&=~(Ee|Te),r=o=oe),a=a===oe?a:$l(xu(a),0),s=s===oe?s:xu(s),c-=o?o.length:0,t&Te){var l=r,f=o;r=o=oe}var d=u?oe:kf(e),p=[e,t,n,r,o,l,f,i,a,s];if(d&&Yi(p,d),e=p[0],t=p[1],n=p[2],r=p[3],o=p[4],s=p[9]=p[9]===oe?u?0:e.length:$l(p[9]-c,0),!s&&t&(be|we)&&(t&=~(be|we)),t&&t!=ge)h=t==be||t==we?Zo(e,t,s):t!=Ee&&t!=(ge|Ee)||o.length?ni.apply(oe,p):si(e,t,n,r);else var h=$o(e,t,n);var v=d?Tf:jf;return ea(v(h,p),e,t)}function hi(e,t,n,r){return e===oe||$s(e,gl[n])&&!bl.call(r,n)?t:e}function vi(e,t,n,r,o,i){return uu(e)&&uu(t)&&(i.set(t,e),Kr(e,t,oe,vi,i),i.delete(t)),e}function yi(e){return gu(e)?oe:e}function gi(e,t,n,r,o,i){var a=n&ve,s=e.length,u=t.length;if(s!=u&&!(a&&u>s))return!1;var c=i.get(e);if(c&&i.get(t))return c==t;var l=-1,f=!0,d=n&ye?new mn:oe;for(i.set(e,t),i.set(t,e);++l<s;){var p=e[l],h=t[l];if(r)var v=a?r(h,p,l,t,e,i):r(p,h,l,e,t,i);if(v!==oe){if(v)continue;f=!1;break}if(d){if(!_(t,function(e,t){if(!L(d,t)&&(p===e||o(p,e,n,r,i)))return d.push(t)})){f=!1;break}}else if(p!==h&&!o(p,h,n,r,i)){f=!1;break}}return i.delete(e),i.delete(t),f}function mi(e,t,n,r,o,i,a){switch(n){case ft:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case lt:return!(e.byteLength!=t.byteLength||!i(new Ml(e),new Ml(t)));case Ve:case Ge:case Je:return $s(+e,+t);case Ye:return e.name==t.name&&e.message==t.message;case rt:case it:return e==t+"";case Qe:var s=G;case ot:var u=r&ve;if(s||(s=$),e.size!=t.size&&!u)return!1;var c=a.get(e);if(c)return c==t;r|=ye,a.set(e,t);var l=gi(s(e),s(t),r,o,i,a);return a.delete(e),l;case at:if(yf)return yf.call(e)==yf.call(t)}return!1}function _i(e,t,n,r,o,i){var a=n&ve,s=wi(e),u=s.length,c=wi(t),l=c.length;if(u!=l&&!a)return!1;for(var f=u;f--;){var d=s[f];if(!(a?d in t:bl.call(t,d)))return!1}var p=i.get(e);if(p&&i.get(t))return p==t;var h=!0;i.set(e,t),i.set(t,e);for(var v=a;++f<u;){d=s[f];var y=e[d],g=t[d];if(r)var m=a?r(g,y,d,t,e,i):r(y,g,d,e,t,i);if(!(m===oe?y===g||o(y,g,n,r,i):m)){h=!1;break}v||(v="constructor"==d)}if(h&&!v){var _=e.constructor,b=t.constructor;_!=b&&"constructor"in e&&"constructor"in t&&!("function"==typeof _&&_ instanceof _&&"function"==typeof b&&b instanceof b)&&(h=!1)}return i.delete(e),i.delete(t),h}function bi(e){return Rf(Qi(e,oe,ga),e+"")}function wi(e){return cr(e,Hu,Mf)}function Ei(e){return cr(e,Vu,Pf)}function Ti(e){for(var t=e.name+"",n=cf[t],r=bl.call(cf,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function Si(e){var t=bl.call(n,"placeholder")?n:e;return t.placeholder}function Ci(){var e=n.iteratee||Rc;return e=e===Rc?Br:e,arguments.length?e(arguments[0],arguments[1]):e}function xi(e,t){var n=e.__data__;return qi(t)?n["string"==typeof t?"string":"hash"]:n.map}function Oi(e){for(var t=Hu(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Vi(o)]}return t}function ki(e,t){var n=W(e,t);return Nr(n)?n:oe}function Mi(e){var t=bl.call(e,Ll),n=e[Ll];try{e[Ll]=oe;var r=!0}catch(e){}var o=Tl.call(e);return r&&(t?e[Ll]=n:delete e[Ll]),o}function Pi(e,t,n){for(var r=-1,o=n.length;++r<o;){var i=n[r],a=i.size;switch(i.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=Xl(t,e+a);break;case"takeRight":e=$l(e,t-a)}}return{start:e,end:t}}function Ai(e){var t=e.match(qt);return t?t[1].split(Wt):[]}function Ii(e,t,n){t=Oo(t,e);for(var r=-1,o=t.length,i=!1;++r<o;){var a=ra(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:(o=null==e?0:e.length,!!o&&su(o)&&Fi(a,o)&&(wd(e)||bd(e)))}function ji(e){var t=e.length,n=e.constructor(t);return t&&"string"==typeof e[0]&&bl.call(e,"index")&&(n.index=e.index,n.input=e.input),n}function Di(e){return"function"!=typeof e.constructor||Hi(e)?{}:mf(Al(e))}function Ri(e,t,n,r){var o=e.constructor;switch(t){case lt:return Po(e);case Ve:case Ge:return new o(+e);case ft:return Ao(e,r);case dt:case pt:case ht:case vt:case yt:case gt:case mt:case _t:case bt:return No(e,r);case Qe:return Io(e,r,n);case Je:case it:return new o(e);case rt:return jo(e);case ot:return Do(e,r,n);case at:return Ro(e)}}function Ni(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(Bt,"{\n/* [wrapped with "+t+"] */\n")}function Li(e){return wd(e)||bd(e)||!!(Rl&&e&&e[Rl])}function Fi(e,t){return t=null==t?Re:t,!!t&&("number"==typeof e||Qt.test(e))&&e>-1&&e%1==0&&e<t}function Ui(e,t,n){if(!uu(n))return!1;var r=typeof t;return!!("number"==r?Xs(n)&&Fi(t,n.length):"string"==r&&t in n)&&$s(n[t],e)}function Bi(e,t){if(wd(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!bu(e))||(It.test(e)||!At.test(e)||null!=t&&e in fl(t))}function qi(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function Wi(e){var t=Ti(e),r=n[t];if("function"!=typeof r||!(t in b.prototype))return!1;if(e===r)return!0;var o=kf(r);return!!o&&e===o[0]}function zi(e){return!!El&&El in e}function Hi(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||gl;return e===n}function Vi(e){return e===e&&!uu(e)}function Gi(e,t){return function(n){return null!=n&&(n[e]===t&&(t!==oe||e in fl(n)))}}function Ki(e){var t=Rs(e,function(e){return n.size===le&&n.clear(),e}),n=t.cache;return t}function Yi(e,t){var n=e[1],r=t[1],o=n|r,i=o<(ge|me|Se),a=r==Se&&n==be||r==Se&&n==Ce&&e[7].length<=t[8]||r==(Se|Ce)&&t[7].length<=t[8]&&n==be;if(!i&&!a)return e;r&ge&&(e[2]=t[2],o|=n&ge?0:_e);var s=t[3];if(s){var u=e[3];e[3]=u?Uo(u,s,t[4]):s,e[4]=u?Y(e[3],fe):t[4]}return s=t[5],s&&(u=e[5],e[5]=u?Bo(u,s,t[6]):s,e[6]=u?Y(e[5],fe):t[6]),s=t[7],s&&(e[7]=s),r&Se&&(e[8]=null==e[8]?t[8]:Xl(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=o,e}function $i(e){var t=[];if(null!=e)for(var n in fl(e))t.push(n);return t}function Xi(e){return Tl.call(e)}function Qi(e,t,n){return t=$l(t===oe?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=$l(r.length-t,0),a=al(i);++o<i;)a[o]=r[t+o];o=-1;for(var u=al(t+1);++o<t;)u[o]=r[o];return u[t]=n(a),s(e,this,u)}}function Ji(e,t){return t.length<2?e:ur(e,lo(t,0,-1))}function Zi(e,t){for(var n=e.length,r=Xl(t.length,n),o=qo(e);r--;){var i=t[r];e[r]=Fi(i,n)?o[i]:oe}return e}function ea(e,t,n){var r=t+"";return Rf(e,Ni(r,ia(Ai(r),n)))}function ta(e){var t=0,n=0;return function(){var r=Ql(),o=Pe-(r-n);if(n=r,o>0){if(++t>=Me)return arguments[0]}else t=0;return e.apply(oe,arguments)}}function na(e,t){var n=-1,r=e.length,o=r-1;for(t=t===oe?r:t;++n<t;){var i=no(n,o),a=e[i];e[i]=e[n],e[n]=a}return e.length=t,e}function ra(e){if("string"==typeof e||bu(e))return e;var t=e+"";return"0"==t&&1/e==-De?"-0":t}function oa(e){if(null!=e){try{return _l.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function ia(e,t){return c(qe,function(n){var r="_."+n[0];t&n[1]&&!p(e,r)&&e.push(r)}),e.sort()}function aa(e){if(e instanceof b)return e.clone();var t=new o(e.__wrapped__,e.__chain__);return t.__actions__=qo(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function sa(e,t,n){t=(n?Ui(e,t,n):t===oe)?1:$l(xu(t),0);var r=null==e?0:e.length;if(!r||t<1)return[];for(var o=0,i=0,a=al(Wl(r/t));o<r;)a[i++]=lo(e,o,o+=t);return a}function ua(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o}function ca(){var e=arguments.length;if(!e)return[];for(var t=al(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return y(wd(n)?qo(n):[n],tr(t,1))}function la(e,t,n){var r=null==e?0:e.length;return r?(t=n||t===oe?1:xu(t),lo(e,t<0?0:t,r)):[]}function fa(e,t,n){var r=null==e?0:e.length;return r?(t=n||t===oe?1:xu(t),t=r-t,lo(e,0,t<0?0:t)):[]}function da(e,t){return e&&e.length?wo(e,Ci(t,3),!0,!0):[]}function pa(e,t){return e&&e.length?wo(e,Ci(t,3),!0):[]}function ha(e,t,n,r){var o=null==e?0:e.length;return o?(n&&"number"!=typeof n&&Ui(e,t,n)&&(n=0,r=o),Zn(e,t,n,r)):[]}function va(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:xu(n);return o<0&&(o=$l(r+o,0)),T(e,Ci(t,3),o)}function ya(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r-1;return n!==oe&&(o=xu(n),o=n<0?$l(r+o,0):Xl(o,r-1)),T(e,Ci(t,3),o,!0)}function ga(e){var t=null==e?0:e.length;return t?tr(e,1):[]}function ma(e){var t=null==e?0:e.length;return t?tr(e,De):[]}function _a(e,t){var n=null==e?0:e.length;return n?(t=t===oe?1:xu(t),tr(e,t)):[]}function ba(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r}function wa(e){return e&&e.length?e[0]:oe}function Ea(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:xu(n);return o<0&&(o=$l(r+o,0)),S(e,t,o)}function Ta(e){var t=null==e?0:e.length;return t?lo(e,0,-1):[]}function Sa(e,t){return null==e?"":Kl.call(e,t)}function Ca(e){var t=null==e?0:e.length;return t?e[t-1]:oe}function xa(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r;return n!==oe&&(o=xu(n),o=o<0?$l(r+o,0):Xl(o,r-1)),t===t?J(e,t,o):T(e,x,o,!0)}function Oa(e,t){return e&&e.length?$r(e,xu(t)):oe}function ka(e,t){return e&&e.length&&t&&t.length?eo(e,t):e}function Ma(e,t,n){return e&&e.length&&t&&t.length?eo(e,t,Ci(n,2)):e}function Pa(e,t,n){return e&&e.length&&t&&t.length?eo(e,t,oe,n):e}function Aa(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=Ci(t,3);++r<i;){var a=e[r];t(a,r,e)&&(n.push(a),o.push(r))}return to(e,o),n}function Ia(e){return null==e?e:ef.call(e)}function ja(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&Ui(e,t,n)?(t=0,n=r):(t=null==t?0:xu(t),n=n===oe?r:xu(n)),lo(e,t,n)):[]}function Da(e,t){return po(e,t)}function Ra(e,t,n){return ho(e,t,Ci(n,2))}function Na(e,t){var n=null==e?0:e.length;if(n){var r=po(e,t);if(r<n&&$s(e[r],t))return r}return-1}function La(e,t){return po(e,t,!0)}function Fa(e,t,n){return ho(e,t,Ci(n,2),!0)}function Ua(e,t){var n=null==e?0:e.length;if(n){var r=po(e,t,!0)-1;if($s(e[r],t))return r}return-1}function Ba(e){return e&&e.length?vo(e):[]}function qa(e,t){return e&&e.length?vo(e,Ci(t,2)):[]}function Wa(e){var t=null==e?0:e.length;return t?lo(e,1,t):[]}function za(e,t,n){return e&&e.length?(t=n||t===oe?1:xu(t),lo(e,0,t<0?0:t)):[]}function Ha(e,t,n){var r=null==e?0:e.length;return r?(t=n||t===oe?1:xu(t),t=r-t,lo(e,t<0?0:t,r)):[]}function Va(e,t){return e&&e.length?wo(e,Ci(t,3),!1,!0):[]}function Ga(e,t){return e&&e.length?wo(e,Ci(t,3)):[]}function Ka(e){return e&&e.length?mo(e):[]}function Ya(e,t){return e&&e.length?mo(e,Ci(t,2)):[]}function $a(e,t){return t="function"==typeof t?t:oe,e&&e.length?mo(e,oe,t):[]}function Xa(e){if(!e||!e.length)return[];var t=0;return e=d(e,function(e){if(Qs(e))return t=$l(e.length,t),!0}),j(t,function(t){return v(e,k(t))})}function Qa(e,t){if(!e||!e.length)return[];var n=Xa(e);return null==t?n:v(n,function(e){return s(t,oe,e)})}function Ja(e,t){return So(e||[],t||[],In)}function Za(e,t){return So(e||[],t||[],uo)}function es(e){var t=n(e);return t.__chain__=!0,t}function ts(e,t){return t(e),e}function ns(e,t){return t(e)}function rs(){return es(this)}function os(){return new o(this.value(),this.__chain__)}function is(){this.__values__===oe&&(this.__values__=Su(this.value()));var e=this.__index__>=this.__values__.length,t=e?oe:this.__values__[this.__index__++];return{done:e,value:t}}function as(){return this}function ss(e){for(var t,n=this;n instanceof r;){var o=aa(n);o.__index__=0,o.__values__=oe,t?i.__wrapped__=o:t=o;var i=o;n=n.__wrapped__}return i.__wrapped__=e,t}function us(){var e=this.__wrapped__;if(e instanceof b){var t=e;return this.__actions__.length&&(t=new b(this)),t=t.reverse(),t.__actions__.push({func:ns,args:[Ia],thisArg:oe}),new o(t,this.__chain__)}return this.thru(Ia)}function cs(){return Eo(this.__wrapped__,this.__actions__)}function ls(e,t,n){var r=wd(e)?f:Kn;return n&&Ui(e,t,n)&&(t=oe),r(e,Ci(t,3))}function fs(e,t){var n=wd(e)?d:er;return n(e,Ci(t,3))}function ds(e,t){return tr(ms(e,t),1)}function ps(e,t){return tr(ms(e,t),De)}function hs(e,t,n){return n=n===oe?1:xu(n),tr(ms(e,t),n)}function vs(e,t){var n=wd(e)?c:_f;return n(e,Ci(t,3))}function ys(e,t){var n=wd(e)?l:bf;return n(e,Ci(t,3))}function gs(e,t,n,r){e=Xs(e)?e:rc(e),n=n&&!r?xu(n):0;var o=e.length;return n<0&&(n=$l(o+n,0)),_u(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&S(e,t,n)>-1}function ms(e,t){var n=wd(e)?v:Hr;return n(e,Ci(t,3))}function _s(e,t,n,r){return null==e?[]:(wd(t)||(t=null==t?[]:[t]),n=r?oe:n,wd(n)||(n=null==n?[]:[n]),Xr(e,t,n))}function bs(e,t,n){var r=wd(e)?g:P,o=arguments.length<3;return r(e,Ci(t,4),n,o,_f)}function ws(e,t,n){var r=wd(e)?m:P,o=arguments.length<3;return r(e,Ci(t,4),n,o,bf)}function Es(e,t){var n=wd(e)?d:er;return n(e,Ns(Ci(t,3)))}function Ts(e){var t=wd(e)?kn:ao;return t(e)}function Ss(e,t,n){t=(n?Ui(e,t,n):t===oe)?1:xu(t);var r=wd(e)?Mn:so;return r(e,t)}function Cs(e){var t=wd(e)?Pn:co;return t(e)}function xs(e){if(null==e)return 0;if(Xs(e))return _u(e)?Z(e):e.length;var t=Af(e);return t==Qe||t==ot?e.size:qr(e).length}function Os(e,t,n){var r=wd(e)?_:fo;return n&&Ui(e,t,n)&&(t=oe),r(e,Ci(t,3))}function ks(e,t){if("function"!=typeof t)throw new hl(ue);return e=xu(e),function(){if(--e<1)return t.apply(this,arguments)}}function Ms(e,t,n){return t=n?oe:t,t=e&&null==t?e.length:t,pi(e,Se,oe,oe,oe,oe,t)}function Ps(e,t){var n;if("function"!=typeof t)throw new hl(ue);return e=xu(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=oe),n}}function As(e,t,n){t=n?oe:t;var r=pi(e,be,oe,oe,oe,oe,oe,t);return r.placeholder=As.placeholder,r}function Is(e,t,n){t=n?oe:t;var r=pi(e,we,oe,oe,oe,oe,oe,t);return r.placeholder=Is.placeholder,r}function js(e,t,n){function r(t){var n=d,r=p;return d=p=oe,m=t,v=e.apply(r,n)}function o(e){return m=e,y=Df(s,t),_?r(e):v}function i(e){var n=e-g,r=e-m,o=t-n;return b?Xl(o,h-r):o}function a(e){var n=e-g,r=e-m;return g===oe||n>=t||n<0||b&&r>=h}function s(){var e=cd();return a(e)?u(e):void(y=Df(s,i(e)))}function u(e){return y=oe,w&&d?r(e):(d=p=oe,v)}function c(){y!==oe&&xf(y),m=0,d=g=p=y=oe}function l(){return y===oe?v:u(cd())}function f(){var e=cd(),n=a(e);if(d=arguments,p=this,g=e,n){if(y===oe)return o(g);if(b)return y=Df(s,t),r(g)}return y===oe&&(y=Df(s,t)),v}var d,p,h,v,y,g,m=0,_=!1,b=!1,w=!0;if("function"!=typeof e)throw new hl(ue);return t=ku(t)||0,uu(n)&&(_=!!n.leading,b="maxWait"in n,h=b?$l(ku(n.maxWait)||0,t):h,w="trailing"in n?!!n.trailing:w),f.cancel=c,f.flush=l,f}function Ds(e){return pi(e,xe)}function Rs(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new hl(ue);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(Rs.Cache||dn),n}function Ns(e){if("function"!=typeof e)throw new hl(ue);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function Ls(e){return Ps(2,e)}function Fs(e,t){if("function"!=typeof e)throw new hl(ue);return t=t===oe?t:xu(t),io(e,t)}function Us(e,t){if("function"!=typeof e)throw new hl(ue);return t=null==t?0:$l(xu(t),0),io(function(n){var r=n[t],o=ko(n,0,t);return r&&y(o,r),s(e,this,o)})}function Bs(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new hl(ue);return uu(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),js(e,t,{leading:r,maxWait:t,trailing:o})}function qs(e){return Ms(e,1)}function Ws(e,t){return vd(xo(t),e)}function zs(){if(!arguments.length)return[];var e=arguments[0];return wd(e)?e:[e]}function Hs(e){return Bn(e,he)}function Vs(e,t){return t="function"==typeof t?t:oe,Bn(e,he,t)}function Gs(e){return Bn(e,de|he)}function Ks(e,t){return t="function"==typeof t?t:oe,Bn(e,de|he,t)}function Ys(e,t){return null==t||Wn(e,t,Hu(t))}function $s(e,t){return e===t||e!==e&&t!==t}function Xs(e){return null!=e&&su(e.length)&&!iu(e)}function Qs(e){return cu(e)&&Xs(e)}function Js(e){return e===!0||e===!1||cu(e)&&fr(e)==Ve}function Zs(e){return cu(e)&&1===e.nodeType&&!gu(e)}function eu(e){if(null==e)return!0;if(Xs(e)&&(wd(e)||"string"==typeof e||"function"==typeof e.splice||Td(e)||kd(e)||bd(e)))return!e.length;var t=Af(e);if(t==Qe||t==ot)return!e.size;if(Hi(e))return!qr(e).length;for(var n in e)if(bl.call(e,n))return!1;return!0}function tu(e,t){return Ir(e,t)}function nu(e,t,n){n="function"==typeof n?n:oe;var r=n?n(e,t):oe;return r===oe?Ir(e,t,oe,n):!!r}function ru(e){if(!cu(e))return!1;var t=fr(e);return t==Ye||t==Ke||"string"==typeof e.message&&"string"==typeof e.name&&!gu(e)}function ou(e){return"number"==typeof e&&Gl(e)}function iu(e){if(!uu(e))return!1;var t=fr(e);return t==$e||t==Xe||t==He||t==nt}function au(e){return"number"==typeof e&&e==xu(e)}function su(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=Re}function uu(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function cu(e){return null!=e&&"object"==typeof e}function lu(e,t){return e===t||Rr(e,t,Oi(t))}function fu(e,t,n){return n="function"==typeof n?n:oe,Rr(e,t,Oi(t),n)}function du(e){return yu(e)&&e!=+e}function pu(e){if(If(e))throw new ul(se);return Nr(e)}function hu(e){return null===e}function vu(e){return null==e}function yu(e){return"number"==typeof e||cu(e)&&fr(e)==Je}function gu(e){if(!cu(e)||fr(e)!=et)return!1;var t=Al(e);if(null===t)return!0;var n=bl.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&_l.call(n)==Sl}function mu(e){return au(e)&&e>=-Re&&e<=Re}function _u(e){return"string"==typeof e||!wd(e)&&cu(e)&&fr(e)==it}function bu(e){return"symbol"==typeof e||cu(e)&&fr(e)==at}function wu(e){return e===oe}function Eu(e){return cu(e)&&Af(e)==ut}function Tu(e){return cu(e)&&fr(e)==ct}function Su(e){if(!e)return[];if(Xs(e))return _u(e)?ee(e):qo(e);if(Nl&&e[Nl])return V(e[Nl]());var t=Af(e),n=t==Qe?G:t==ot?$:rc;return n(e)}function Cu(e){if(!e)return 0===e?e:0;if(e=ku(e),e===De||e===-De){var t=e<0?-1:1;return t*Ne}return e===e?e:0}function xu(e){var t=Cu(e),n=t%1;return t===t?n?t-n:t:0}function Ou(e){return e?Un(xu(e),0,Fe):0}function ku(e){if("number"==typeof e)return e;if(bu(e))return Le;if(uu(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=uu(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(Lt,"");var n=Yt.test(e);return n||Xt.test(e)?or(e.slice(2),n?2:8):Kt.test(e)?Le:+e}function Mu(e){return Wo(e,Vu(e))}function Pu(e){return e?Un(xu(e),-Re,Re):0===e?e:0}function Au(e){return null==e?"":go(e)}function Iu(e,t){var n=mf(e);return null==t?n:Rn(n,t)}function ju(e,t){return E(e,Ci(t,3),nr)}function Du(e,t){return E(e,Ci(t,3),ir)}function Ru(e,t){return null==e?e:wf(e,Ci(t,3),Vu)}function Nu(e,t){return null==e?e:Ef(e,Ci(t,3),Vu)}function Lu(e,t){return e&&nr(e,Ci(t,3))}function Fu(e,t){return e&&ir(e,Ci(t,3))}function Uu(e){return null==e?[]:ar(e,Hu(e))}function Bu(e){return null==e?[]:ar(e,Vu(e))}function qu(e,t,n){var r=null==e?oe:ur(e,t);return r===oe?n:r}function Wu(e,t){return null!=e&&Ii(e,t,_r)}function zu(e,t){return null!=e&&Ii(e,t,Tr)}function Hu(e){return Xs(e)?On(e):qr(e)}function Vu(e){return Xs(e)?On(e,!0):Wr(e)}function Gu(e,t){var n={};return t=Ci(t,3),nr(e,function(e,r,o){Ln(n,t(e,r,o),e)}),n}function Ku(e,t){var n={};return t=Ci(t,3),nr(e,function(e,r,o){Ln(n,r,t(e,r,o))}),n}function Yu(e,t){return $u(e,Ns(Ci(t)))}function $u(e,t){if(null==e)return{};var n=v(Ei(e),function(e){return[e]});return t=Ci(t),Jr(e,n,function(e,n){return t(e,n[0])})}function Xu(e,t,n){t=Oo(t,e);var r=-1,o=t.length;for(o||(o=1,e=oe);++r<o;){var i=null==e?oe:e[ra(t[r])];i===oe&&(r=o,i=n),e=iu(i)?i.call(e):i}return e}function Qu(e,t,n){return null==e?e:uo(e,t,n)}function Ju(e,t,n,r){return r="function"==typeof r?r:oe,null==e?e:uo(e,t,n,r)}function Zu(e,t,n){var r=wd(e),o=r||Td(e)||kd(e);if(t=Ci(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:uu(e)&&iu(i)?mf(Al(e)):{}}return(o?c:nr)(e,function(e,r,o){return t(n,e,r,o)}),n}function ec(e,t){return null==e||_o(e,t)}function tc(e,t,n){return null==e?e:bo(e,t,xo(n))}function nc(e,t,n,r){return r="function"==typeof r?r:oe,null==e?e:bo(e,t,xo(n),r)}function rc(e){return null==e?[]:N(e,Hu(e))}function oc(e){return null==e?[]:N(e,Vu(e))}function ic(e,t,n){return n===oe&&(n=t,t=oe),n!==oe&&(n=ku(n),n=n===n?n:0),t!==oe&&(t=ku(t),t=t===t?t:0),Un(ku(e),t,n)}function ac(e,t,n){return t=Cu(t),n===oe?(n=t,t=0):n=Cu(n),e=ku(e),Cr(e,t,n)}function sc(e,t,n){if(n&&"boolean"!=typeof n&&Ui(e,t,n)&&(t=n=oe),n===oe&&("boolean"==typeof t?(n=t,t=oe):"boolean"==typeof e&&(n=e,e=oe)),e===oe&&t===oe?(e=0,t=1):(e=Cu(e),t===oe?(t=e,e=0):t=Cu(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var o=Zl();return Xl(e+o*(t-e+rr("1e-"+((o+"").length-1))),t)}return no(e,t)}function uc(e){return ep(Au(e).toLowerCase())}function cc(e){return e=Au(e),e&&e.replace(Jt,br).replace(Hn,"")}function lc(e,t,n){e=Au(e),t=go(t);var r=e.length;n=n===oe?r:Un(xu(n),0,r);var o=n;return n-=t.length,n>=0&&e.slice(n,o)==t}function fc(e){return e=Au(e),e&&Ot.test(e)?e.replace(Ct,wr):e}function dc(e){return e=Au(e),e&&Nt.test(e)?e.replace(Rt,"\\$&"):e}function pc(e,t,n){e=Au(e),t=xu(t);var r=t?Z(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return ai(zl(o),n)+e+ai(Wl(o),n)}function hc(e,t,n){e=Au(e),t=xu(t);var r=t?Z(e):0;return t&&r<t?e+ai(t-r,n):e}function vc(e,t,n){e=Au(e),t=xu(t);var r=t?Z(e):0;return t&&r<t?ai(t-r,n)+e:e}function yc(e,t,n){return n||null==t?t=0:t&&(t=+t),Jl(Au(e).replace(Ft,""),t||0)}function gc(e,t,n){return t=(n?Ui(e,t,n):t===oe)?1:xu(t),oo(Au(e),t)}function mc(){var e=arguments,t=Au(e[0]);return e.length<3?t:t.replace(e[1],e[2])}function _c(e,t,n){return n&&"number"!=typeof n&&Ui(e,t,n)&&(t=n=oe),(n=n===oe?Fe:n>>>0)?(e=Au(e),e&&("string"==typeof t||null!=t&&!xd(t))&&(t=go(t),!t&&z(e))?ko(ee(e),0,n):e.split(t,n)):[]}function bc(e,t,n){return e=Au(e),n=null==n?0:Un(xu(n),0,e.length),t=go(t),e.slice(n,n+t.length)==t}function wc(e,t,r){var o=n.templateSettings;r&&Ui(e,t,r)&&(t=oe),e=Au(e),t=jd({},t,o,hi);var i,a,s=jd({},t.imports,o.imports,hi),u=Hu(s),c=N(s,u),l=0,f=t.interpolate||Zt,d="__p += '",p=dl((t.escape||Zt).source+"|"+f.source+"|"+(f===Pt?Vt:Zt).source+"|"+(t.evaluate||Zt).source+"|$","g"),h="//# sourceURL="+("sourceURL"in t?t.sourceURL:"lodash.templateSources["+ ++Xn+"]")+"\n";e.replace(p,function(t,n,r,o,s,u){return r||(r=o),d+=e.slice(l,u).replace(en,q),n&&(i=!0,d+="' +\n__e("+n+") +\n'"),s&&(a=!0,d+="';\n"+s+";\n__p += '"),r&&(d+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=u+t.length,t}),d+="';\n";var v=t.variable;v||(d="with (obj) {\n"+d+"\n}\n"),d=(a?d.replace(wt,""):d).replace(Et,"$1").replace(Tt,"$1;"),d="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var y=tp(function(){return cl(u,h+"return "+d).apply(oe,c)});if(y.source=d,ru(y))throw y;return y}function Ec(e){return Au(e).toLowerCase()}function Tc(e){return Au(e).toUpperCase()}function Sc(e,t,n){if(e=Au(e),e&&(n||t===oe))return e.replace(Lt,"");if(!e||!(t=go(t)))return e;var r=ee(e),o=ee(t),i=F(r,o),a=U(r,o)+1;return ko(r,i,a).join("")}function Cc(e,t,n){if(e=Au(e),e&&(n||t===oe))return e.replace(Ut,"");if(!e||!(t=go(t)))return e;var r=ee(e),o=U(r,ee(t))+1;return ko(r,0,o).join("")}function xc(e,t,n){if(e=Au(e),e&&(n||t===oe))return e.replace(Ft,"");if(!e||!(t=go(t)))return e;var r=ee(e),o=F(r,ee(t));return ko(r,o).join("")}function Oc(e,t){var n=Oe,r=ke;if(uu(t)){var o="separator"in t?t.separator:o;n="length"in t?xu(t.length):n,r="omission"in t?go(t.omission):r}e=Au(e);var i=e.length;if(z(e)){var a=ee(e);i=a.length}if(n>=i)return e;var s=n-Z(r);if(s<1)return r;var u=a?ko(a,0,s).join(""):e.slice(0,s);if(o===oe)return u+r;if(a&&(s+=u.length-s),xd(o)){if(e.slice(s).search(o)){var c,l=u;for(o.global||(o=dl(o.source,Au(Gt.exec(o))+"g")),o.lastIndex=0;c=o.exec(l);)var f=c.index;u=u.slice(0,f===oe?s:f)}}else if(e.indexOf(go(o),s)!=s){var d=u.lastIndexOf(o);d>-1&&(u=u.slice(0,d))}return u+r}function kc(e){return e=Au(e),e&&xt.test(e)?e.replace(St,Er):e}function Mc(e,t,n){return e=Au(e),t=n?oe:t,t===oe?H(e)?re(e):w(e):e.match(t)||[]}function Pc(e){var t=null==e?0:e.length,n=Ci();return e=t?v(e,function(e){if("function"!=typeof e[1])throw new hl(ue);return[n(e[0]),e[1]]}):[],io(function(n){for(var r=-1;++r<t;){var o=e[r];if(s(o[0],this,n))return s(o[1],this,n)}})}function Ac(e){return qn(Bn(e,de))}function Ic(e){return function(){return e}}function jc(e,t){return null==e||e!==e?t:e}function Dc(e){return e}function Rc(e){return Br("function"==typeof e?e:Bn(e,de))}function Nc(e){return Vr(Bn(e,de))}function Lc(e,t){return Gr(e,Bn(t,de))}function Fc(e,t,n){var r=Hu(t),o=ar(t,r);null!=n||uu(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=ar(t,Hu(t)));var i=!(uu(n)&&"chain"in n&&!n.chain),a=iu(e);return c(o,function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),o=n.__actions__=qo(this.__actions__);return o.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,y([this.value()],arguments))})}),e}function Uc(){return sr._===this&&(sr._=Cl),this}function Bc(){}function qc(e){return e=xu(e),io(function(t){return $r(t,e)})}function Wc(e){return Bi(e)?k(ra(e)):Zr(e)}function zc(e){return function(t){return null==e?oe:ur(e,t)}}function Hc(){return[]}function Vc(){return!1}function Gc(){return{}}function Kc(){return""}function Yc(){return!0}function $c(e,t){if(e=xu(e),e<1||e>Re)return[];var n=Fe,r=Xl(e,Fe);t=Ci(t),e-=Fe;for(var o=j(r,t);++n<e;)t(n);return o}function Xc(e){return wd(e)?v(e,ra):bu(e)?[e]:qo(Nf(Au(e)))}function Qc(e){var t=++wl;return Au(e)+t}function Jc(e){return e&&e.length?Yn(e,Dc,dr):oe}function Zc(e,t){return e&&e.length?Yn(e,Ci(t,2),dr):oe}function el(e){return O(e,Dc)}function tl(e,t){return O(e,Ci(t,2))}function nl(e){return e&&e.length?Yn(e,Dc,zr):oe}function rl(e,t){return e&&e.length?Yn(e,Ci(t,2),zr):oe}function ol(e){return e&&e.length?I(e,Dc):0}function il(e,t){return e&&e.length?I(e,Ci(t,2)):0}t=null==t?sr:Sr.defaults(sr.Object(),t,Sr.pick(sr,$n));var al=t.Array,sl=t.Date,ul=t.Error,cl=t.Function,ll=t.Math,fl=t.Object,dl=t.RegExp,pl=t.String,hl=t.TypeError,vl=al.prototype,yl=cl.prototype,gl=fl.prototype,ml=t["__core-js_shared__"],_l=yl.toString,bl=gl.hasOwnProperty,wl=0,El=function(){var e=/[^.]+$/.exec(ml&&ml.keys&&ml.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Tl=gl.toString,Sl=_l.call(fl),Cl=sr._,xl=dl("^"+_l.call(bl).replace(Rt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ol=lr?t.Buffer:oe,kl=t.Symbol,Ml=t.Uint8Array,Pl=Ol?Ol.allocUnsafe:oe,Al=K(fl.getPrototypeOf,fl),Il=fl.create,jl=gl.propertyIsEnumerable,Dl=vl.splice,Rl=kl?kl.isConcatSpreadable:oe,Nl=kl?kl.iterator:oe,Ll=kl?kl.toStringTag:oe,Fl=function(){try{var e=ki(fl,"defineProperty");return e({},"",{}),e}catch(e){}}(),Ul=t.clearTimeout!==sr.clearTimeout&&t.clearTimeout,Bl=sl&&sl.now!==sr.Date.now&&sl.now,ql=t.setTimeout!==sr.setTimeout&&t.setTimeout,Wl=ll.ceil,zl=ll.floor,Hl=fl.getOwnPropertySymbols,Vl=Ol?Ol.isBuffer:oe,Gl=t.isFinite,Kl=vl.join,Yl=K(fl.keys,fl),$l=ll.max,Xl=ll.min,Ql=sl.now,Jl=t.parseInt,Zl=ll.random,ef=vl.reverse,tf=ki(t,"DataView"),nf=ki(t,"Map"),rf=ki(t,"Promise"),of=ki(t,"Set"),af=ki(t,"WeakMap"),sf=ki(fl,"create"),uf=af&&new af,cf={},lf=oa(tf),ff=oa(nf),df=oa(rf),pf=oa(of),hf=oa(af),vf=kl?kl.prototype:oe,yf=vf?vf.valueOf:oe,gf=vf?vf.toString:oe,mf=function(){function e(){}return function(t){if(!uu(t))return{};if(Il)return Il(t);e.prototype=t;var n=new e;return e.prototype=oe,n}}();n.templateSettings={escape:kt,evaluate:Mt,interpolate:Pt,variable:"",imports:{_:n}},n.prototype=r.prototype,n.prototype.constructor=n,o.prototype=mf(r.prototype),o.prototype.constructor=o,b.prototype=mf(r.prototype),b.prototype.constructor=b,ne.prototype.clear=zt,ne.prototype.delete=tn,ne.prototype.get=nn,ne.prototype.has=rn,ne.prototype.set=on,an.prototype.clear=sn,an.prototype.delete=un,an.prototype.get=cn,an.prototype.has=ln,an.prototype.set=fn,dn.prototype.clear=pn,dn.prototype.delete=hn,dn.prototype.get=vn,dn.prototype.has=yn,dn.prototype.set=gn,mn.prototype.add=mn.prototype.push=_n,mn.prototype.has=bn,wn.prototype.clear=En,wn.prototype.delete=Tn,wn.prototype.get=Sn,wn.prototype.has=Cn,wn.prototype.set=xn;var _f=Ko(nr),bf=Ko(ir,!0),wf=Yo(),Ef=Yo(!0),Tf=uf?function(e,t){return uf.set(e,t),e}:Dc,Sf=Fl?function(e,t){return Fl(e,"toString",{configurable:!0,enumerable:!1,value:Ic(t),writable:!0})}:Dc,Cf=io,xf=Ul||function(e){return sr.clearTimeout(e)},Of=of&&1/$(new of([,-0]))[1]==De?function(e){return new of(e)}:Bc,kf=uf?function(e){return uf.get(e)}:Bc,Mf=Hl?function(e){return null==e?[]:(e=fl(e),d(Hl(e),function(t){return jl.call(e,t)}))}:Hc,Pf=Hl?function(e){for(var t=[];e;)y(t,Mf(e)),e=Al(e);return t}:Hc,Af=fr;(tf&&Af(new tf(new ArrayBuffer(1)))!=ft||nf&&Af(new nf)!=Qe||rf&&Af(rf.resolve())!=tt||of&&Af(new of)!=ot||af&&Af(new af)!=ut)&&(Af=function(e){var t=fr(e),n=t==et?e.constructor:oe,r=n?oa(n):"";if(r)switch(r){case lf:return ft;case ff:return Qe;case df:return tt;case pf:return ot;case hf:return ut}return t});var If=ml?iu:Vc,jf=ta(Tf),Df=ql||function(e,t){return sr.setTimeout(e,t)},Rf=ta(Sf),Nf=Ki(function(e){var t=[];return jt.test(e)&&t.push(""),e.replace(Dt,function(e,n,r,o){t.push(r?o.replace(Ht,"$1"):n||e)}),t}),Lf=io(function(e,t){return Qs(e)?Gn(e,tr(t,1,Qs,!0)):[]}),Ff=io(function(e,t){var n=Ca(t);return Qs(n)&&(n=oe),Qs(e)?Gn(e,tr(t,1,Qs,!0),Ci(n,2)):[]}),Uf=io(function(e,t){var n=Ca(t);return Qs(n)&&(n=oe),Qs(e)?Gn(e,tr(t,1,Qs,!0),oe,n):[]}),Bf=io(function(e){var t=v(e,Co);return t.length&&t[0]===e[0]?xr(t):[]}),qf=io(function(e){var t=Ca(e),n=v(e,Co);return t===Ca(n)?t=oe:n.pop(),n.length&&n[0]===e[0]?xr(n,Ci(t,2)):[]}),Wf=io(function(e){var t=Ca(e),n=v(e,Co);return t="function"==typeof t?t:oe,t&&n.pop(),n.length&&n[0]===e[0]?xr(n,oe,t):[]}),zf=io(ka),Hf=bi(function(e,t){var n=null==e?0:e.length,r=Fn(e,t);return to(e,v(t,function(e){return Fi(e,n)?+e:e}).sort(Lo)),r}),Vf=io(function(e){return mo(tr(e,1,Qs,!0))}),Gf=io(function(e){var t=Ca(e);return Qs(t)&&(t=oe),mo(tr(e,1,Qs,!0),Ci(t,2))}),Kf=io(function(e){var t=Ca(e);return t="function"==typeof t?t:oe,mo(tr(e,1,Qs,!0),oe,t)}),Yf=io(function(e,t){return Qs(e)?Gn(e,t):[]}),$f=io(function(e){return To(d(e,Qs))}),Xf=io(function(e){var t=Ca(e);return Qs(t)&&(t=oe),To(d(e,Qs),Ci(t,2))}),Qf=io(function(e){var t=Ca(e);return t="function"==typeof t?t:oe,To(d(e,Qs),oe,t)}),Jf=io(Xa),Zf=io(function(e){var t=e.length,n=t>1?e[t-1]:oe;return n="function"==typeof n?(e.pop(),n):oe,Qa(e,n)}),ed=bi(function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return Fn(t,e)};return!(t>1||this.__actions__.length)&&r instanceof b&&Fi(n)?(r=r.slice(n,+n+(t?1:0)),r.__actions__.push({func:ns,args:[i],thisArg:oe}),new o(r,this.__chain__).thru(function(e){return t&&!e.length&&e.push(oe),e})):this.thru(i)}),td=Vo(function(e,t,n){bl.call(e,n)?++e[n]:Ln(e,n,1)}),nd=ei(va),rd=ei(ya),od=Vo(function(e,t,n){bl.call(e,n)?e[n].push(t):Ln(e,n,[t])}),id=io(function(e,t,n){var r=-1,o="function"==typeof t,i=Xs(e)?al(e.length):[];return _f(e,function(e){i[++r]=o?s(t,e,n):kr(e,t,n)}),i}),ad=Vo(function(e,t,n){Ln(e,n,t)}),sd=Vo(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),ud=io(function(e,t){if(null==e)return[];var n=t.length;return n>1&&Ui(e,t[0],t[1])?t=[]:n>2&&Ui(t[0],t[1],t[2])&&(t=[t[0]]),Xr(e,tr(t,1),[])}),cd=Bl||function(){return sr.Date.now()},ld=io(function(e,t,n){var r=ge;if(n.length){var o=Y(n,Si(ld));r|=Ee}return pi(e,r,t,n,o)}),fd=io(function(e,t,n){var r=ge|me;if(n.length){var o=Y(n,Si(fd));r|=Ee}return pi(t,r,e,n,o)}),dd=io(function(e,t){return Vn(e,1,t)}),pd=io(function(e,t,n){return Vn(e,ku(t)||0,n)});Rs.Cache=dn;var hd=Cf(function(e,t){t=1==t.length&&wd(t[0])?v(t[0],R(Ci())):v(tr(t,1),R(Ci()));var n=t.length;return io(function(r){for(var o=-1,i=Xl(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return s(e,this,r)})}),vd=io(function(e,t){var n=Y(t,Si(vd));return pi(e,Ee,oe,t,n)}),yd=io(function(e,t){var n=Y(t,Si(yd));return pi(e,Te,oe,t,n)}),gd=bi(function(e,t){return pi(e,Ce,oe,oe,oe,t)}),md=ci(dr),_d=ci(function(e,t){return e>=t}),bd=Mr(function(){return arguments}())?Mr:function(e){
+return cu(e)&&bl.call(e,"callee")&&!jl.call(e,"callee")},wd=al.isArray,Ed=pr?R(pr):Pr,Td=Vl||Vc,Sd=hr?R(hr):Ar,Cd=vr?R(vr):Dr,xd=yr?R(yr):Lr,Od=gr?R(gr):Fr,kd=mr?R(mr):Ur,Md=ci(zr),Pd=ci(function(e,t){return e<=t}),Ad=Go(function(e,t){if(Hi(t)||Xs(t))return void Wo(t,Hu(t),e);for(var n in t)bl.call(t,n)&&In(e,n,t[n])}),Id=Go(function(e,t){Wo(t,Vu(t),e)}),jd=Go(function(e,t,n,r){Wo(t,Vu(t),e,r)}),Dd=Go(function(e,t,n,r){Wo(t,Hu(t),e,r)}),Rd=bi(Fn),Nd=io(function(e){return e.push(oe,hi),s(jd,oe,e)}),Ld=io(function(e){return e.push(oe,vi),s(Wd,oe,e)}),Fd=ri(function(e,t,n){e[t]=n},Ic(Dc)),Ud=ri(function(e,t,n){bl.call(e,t)?e[t].push(n):e[t]=[n]},Ci),Bd=io(kr),qd=Go(function(e,t,n){Kr(e,t,n)}),Wd=Go(function(e,t,n,r){Kr(e,t,n,r)}),zd=bi(function(e,t){var n={};if(null==e)return n;var r=!1;t=v(t,function(t){return t=Oo(t,e),r||(r=t.length>1),t}),Wo(e,Ei(e),n),r&&(n=Bn(n,de|pe|he,yi));for(var o=t.length;o--;)_o(n,t[o]);return n}),Hd=bi(function(e,t){return null==e?{}:Qr(e,t)}),Vd=di(Hu),Gd=di(Vu),Kd=Qo(function(e,t,n){return t=t.toLowerCase(),e+(n?uc(t):t)}),Yd=Qo(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),$d=Qo(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),Xd=Xo("toLowerCase"),Qd=Qo(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}),Jd=Qo(function(e,t,n){return e+(n?" ":"")+ep(t)}),Zd=Qo(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),ep=Xo("toUpperCase"),tp=io(function(e,t){try{return s(e,oe,t)}catch(e){return ru(e)?e:new ul(e)}}),np=bi(function(e,t){return c(t,function(t){t=ra(t),Ln(e,t,ld(e[t],e))}),e}),rp=ti(),op=ti(!0),ip=io(function(e,t){return function(n){return kr(n,e,t)}}),ap=io(function(e,t){return function(n){return kr(e,n,t)}}),sp=ii(v),up=ii(f),cp=ii(_),lp=ui(),fp=ui(!0),dp=oi(function(e,t){return e+t},0),pp=fi("ceil"),hp=oi(function(e,t){return e/t},1),vp=fi("floor"),yp=oi(function(e,t){return e*t},1),gp=fi("round"),mp=oi(function(e,t){return e-t},0);return n.after=ks,n.ary=Ms,n.assign=Ad,n.assignIn=Id,n.assignInWith=jd,n.assignWith=Dd,n.at=Rd,n.before=Ps,n.bind=ld,n.bindAll=np,n.bindKey=fd,n.castArray=zs,n.chain=es,n.chunk=sa,n.compact=ua,n.concat=ca,n.cond=Pc,n.conforms=Ac,n.constant=Ic,n.countBy=td,n.create=Iu,n.curry=As,n.curryRight=Is,n.debounce=js,n.defaults=Nd,n.defaultsDeep=Ld,n.defer=dd,n.delay=pd,n.difference=Lf,n.differenceBy=Ff,n.differenceWith=Uf,n.drop=la,n.dropRight=fa,n.dropRightWhile=da,n.dropWhile=pa,n.fill=ha,n.filter=fs,n.flatMap=ds,n.flatMapDeep=ps,n.flatMapDepth=hs,n.flatten=ga,n.flattenDeep=ma,n.flattenDepth=_a,n.flip=Ds,n.flow=rp,n.flowRight=op,n.fromPairs=ba,n.functions=Uu,n.functionsIn=Bu,n.groupBy=od,n.initial=Ta,n.intersection=Bf,n.intersectionBy=qf,n.intersectionWith=Wf,n.invert=Fd,n.invertBy=Ud,n.invokeMap=id,n.iteratee=Rc,n.keyBy=ad,n.keys=Hu,n.keysIn=Vu,n.map=ms,n.mapKeys=Gu,n.mapValues=Ku,n.matches=Nc,n.matchesProperty=Lc,n.memoize=Rs,n.merge=qd,n.mergeWith=Wd,n.method=ip,n.methodOf=ap,n.mixin=Fc,n.negate=Ns,n.nthArg=qc,n.omit=zd,n.omitBy=Yu,n.once=Ls,n.orderBy=_s,n.over=sp,n.overArgs=hd,n.overEvery=up,n.overSome=cp,n.partial=vd,n.partialRight=yd,n.partition=sd,n.pick=Hd,n.pickBy=$u,n.property=Wc,n.propertyOf=zc,n.pull=zf,n.pullAll=ka,n.pullAllBy=Ma,n.pullAllWith=Pa,n.pullAt=Hf,n.range=lp,n.rangeRight=fp,n.rearg=gd,n.reject=Es,n.remove=Aa,n.rest=Fs,n.reverse=Ia,n.sampleSize=Ss,n.set=Qu,n.setWith=Ju,n.shuffle=Cs,n.slice=ja,n.sortBy=ud,n.sortedUniq=Ba,n.sortedUniqBy=qa,n.split=_c,n.spread=Us,n.tail=Wa,n.take=za,n.takeRight=Ha,n.takeRightWhile=Va,n.takeWhile=Ga,n.tap=ts,n.throttle=Bs,n.thru=ns,n.toArray=Su,n.toPairs=Vd,n.toPairsIn=Gd,n.toPath=Xc,n.toPlainObject=Mu,n.transform=Zu,n.unary=qs,n.union=Vf,n.unionBy=Gf,n.unionWith=Kf,n.uniq=Ka,n.uniqBy=Ya,n.uniqWith=$a,n.unset=ec,n.unzip=Xa,n.unzipWith=Qa,n.update=tc,n.updateWith=nc,n.values=rc,n.valuesIn=oc,n.without=Yf,n.words=Mc,n.wrap=Ws,n.xor=$f,n.xorBy=Xf,n.xorWith=Qf,n.zip=Jf,n.zipObject=Ja,n.zipObjectDeep=Za,n.zipWith=Zf,n.entries=Vd,n.entriesIn=Gd,n.extend=Id,n.extendWith=jd,Fc(n,n),n.add=dp,n.attempt=tp,n.camelCase=Kd,n.capitalize=uc,n.ceil=pp,n.clamp=ic,n.clone=Hs,n.cloneDeep=Gs,n.cloneDeepWith=Ks,n.cloneWith=Vs,n.conformsTo=Ys,n.deburr=cc,n.defaultTo=jc,n.divide=hp,n.endsWith=lc,n.eq=$s,n.escape=fc,n.escapeRegExp=dc,n.every=ls,n.find=nd,n.findIndex=va,n.findKey=ju,n.findLast=rd,n.findLastIndex=ya,n.findLastKey=Du,n.floor=vp,n.forEach=vs,n.forEachRight=ys,n.forIn=Ru,n.forInRight=Nu,n.forOwn=Lu,n.forOwnRight=Fu,n.get=qu,n.gt=md,n.gte=_d,n.has=Wu,n.hasIn=zu,n.head=wa,n.identity=Dc,n.includes=gs,n.indexOf=Ea,n.inRange=ac,n.invoke=Bd,n.isArguments=bd,n.isArray=wd,n.isArrayBuffer=Ed,n.isArrayLike=Xs,n.isArrayLikeObject=Qs,n.isBoolean=Js,n.isBuffer=Td,n.isDate=Sd,n.isElement=Zs,n.isEmpty=eu,n.isEqual=tu,n.isEqualWith=nu,n.isError=ru,n.isFinite=ou,n.isFunction=iu,n.isInteger=au,n.isLength=su,n.isMap=Cd,n.isMatch=lu,n.isMatchWith=fu,n.isNaN=du,n.isNative=pu,n.isNil=vu,n.isNull=hu,n.isNumber=yu,n.isObject=uu,n.isObjectLike=cu,n.isPlainObject=gu,n.isRegExp=xd,n.isSafeInteger=mu,n.isSet=Od,n.isString=_u,n.isSymbol=bu,n.isTypedArray=kd,n.isUndefined=wu,n.isWeakMap=Eu,n.isWeakSet=Tu,n.join=Sa,n.kebabCase=Yd,n.last=Ca,n.lastIndexOf=xa,n.lowerCase=$d,n.lowerFirst=Xd,n.lt=Md,n.lte=Pd,n.max=Jc,n.maxBy=Zc,n.mean=el,n.meanBy=tl,n.min=nl,n.minBy=rl,n.stubArray=Hc,n.stubFalse=Vc,n.stubObject=Gc,n.stubString=Kc,n.stubTrue=Yc,n.multiply=yp,n.nth=Oa,n.noConflict=Uc,n.noop=Bc,n.now=cd,n.pad=pc,n.padEnd=hc,n.padStart=vc,n.parseInt=yc,n.random=sc,n.reduce=bs,n.reduceRight=ws,n.repeat=gc,n.replace=mc,n.result=Xu,n.round=gp,n.runInContext=e,n.sample=Ts,n.size=xs,n.snakeCase=Qd,n.some=Os,n.sortedIndex=Da,n.sortedIndexBy=Ra,n.sortedIndexOf=Na,n.sortedLastIndex=La,n.sortedLastIndexBy=Fa,n.sortedLastIndexOf=Ua,n.startCase=Jd,n.startsWith=bc,n.subtract=mp,n.sum=ol,n.sumBy=il,n.template=wc,n.times=$c,n.toFinite=Cu,n.toInteger=xu,n.toLength=Ou,n.toLower=Ec,n.toNumber=ku,n.toSafeInteger=Pu,n.toString=Au,n.toUpper=Tc,n.trim=Sc,n.trimEnd=Cc,n.trimStart=xc,n.truncate=Oc,n.unescape=kc,n.uniqueId=Qc,n.upperCase=Zd,n.upperFirst=ep,n.each=vs,n.eachRight=ys,n.first=wa,Fc(n,function(){var e={};return nr(n,function(t,r){bl.call(n.prototype,r)||(e[r]=t)}),e}(),{chain:!1}),n.VERSION=ie,c(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){n[e].placeholder=n}),c(["drop","take"],function(e,t){b.prototype[e]=function(n){n=n===oe?1:$l(xu(n),0);var r=this.__filtered__&&!t?new b(this):this.clone();return r.__filtered__?r.__takeCount__=Xl(n,r.__takeCount__):r.__views__.push({size:Xl(n,Fe),type:e+(r.__dir__<0?"Right":"")}),r},b.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),c(["filter","map","takeWhile"],function(e,t){var n=t+1,r=n==Ae||n==je;b.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Ci(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),c(["head","last"],function(e,t){var n="take"+(t?"Right":"");b.prototype[e]=function(){return this[n](1).value()[0]}}),c(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");b.prototype[e]=function(){return this.__filtered__?new b(this):this[n](1)}}),b.prototype.compact=function(){return this.filter(Dc)},b.prototype.find=function(e){return this.filter(e).head()},b.prototype.findLast=function(e){return this.reverse().find(e)},b.prototype.invokeMap=io(function(e,t){return"function"==typeof e?new b(this):this.map(function(n){return kr(n,e,t)})}),b.prototype.reject=function(e){return this.filter(Ns(Ci(e)))},b.prototype.slice=function(e,t){e=xu(e);var n=this;return n.__filtered__&&(e>0||t<0)?new b(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==oe&&(t=xu(t),n=t<0?n.dropRight(-t):n.take(t-e)),n)},b.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},b.prototype.toArray=function(){return this.take(Fe)},nr(b.prototype,function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),a=n[i?"take"+("last"==t?"Right":""):t],s=i||/^find/.test(t);a&&(n.prototype[t]=function(){var t=this.__wrapped__,u=i?[1]:arguments,c=t instanceof b,l=u[0],f=c||wd(t),d=function(e){var t=a.apply(n,y([e],u));return i&&p?t[0]:t};f&&r&&"function"==typeof l&&1!=l.length&&(c=f=!1);var p=this.__chain__,h=!!this.__actions__.length,v=s&&!p,g=c&&!h;if(!s&&f){t=g?t:new b(this);var m=e.apply(t,u);return m.__actions__.push({func:ns,args:[d],thisArg:oe}),new o(m,p)}return v&&g?e.apply(this,u):(m=this.thru(d),v?i?m.value()[0]:m.value():m)})}),c(["pop","push","shift","sort","splice","unshift"],function(e){var t=vl[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",o=/^(?:pop|shift)$/.test(e);n.prototype[e]=function(){var e=arguments;if(o&&!this.__chain__){var n=this.value();return t.apply(wd(n)?n:[],e)}return this[r](function(n){return t.apply(wd(n)?n:[],e)})}}),nr(b.prototype,function(e,t){var r=n[t];if(r){var o=r.name+"",i=cf[o]||(cf[o]=[]);i.push({name:t,func:r})}}),cf[ni(oe,me).name]=[{name:"wrapper",func:oe}],b.prototype.clone=M,b.prototype.reverse=Q,b.prototype.value=te,n.prototype.at=ed,n.prototype.chain=rs,n.prototype.commit=os,n.prototype.next=is,n.prototype.plant=ss,n.prototype.reverse=us,n.prototype.toJSON=n.prototype.valueOf=n.prototype.value=cs,n.prototype.first=n.prototype.head,Nl&&(n.prototype[Nl]=as),n},Sr=Tr();sr._=Sr,r=function(){return Sr}.call(t,n,t,o),!(r!==oe&&(o.exports=r))}).call(this)}).call(t,function(){return this}(),n(206)(e))},function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(341),i=r(o);t.default=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,i.default)(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(546),i=r(o),a=n(545),s=r(a),u=n(225),c=r(u);t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+("undefined"==typeof t?"undefined":(0,c.default)(t)));e.prototype=(0,s.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(i.default?(0,i.default)(e,t):e.__proto__=t)}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(225),i=r(o);t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==("undefined"==typeof t?"undefined":(0,i.default)(t))&&"function"!=typeof t?e:t}},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var a=n(30),s=o(a),u=n(23),c=r(u),l=n(19),f=r(l),d=n(130),p=r(d),h=n(83),v=r(h),y=n(46),g=o(y),m=n(131),_=o(m),b=n(77),w=o(b),E=function(){function e(t,n,r){if(i(this,e),!t&&this.play?this.player_=t=this:this.player_=t,this.options_=(0,w.default)({},this.options_),n=this.options_=(0,w.default)(this.options_,n),this.id_=n.id||n.el&&n.el.id,!this.id_){var o=t&&t.id&&t.id()||"no_player";this.id_=o+"_component_"+p.newGUID()}this.name_=n.name||null,n.el?this.el_=n.el:n.createEl!==!1&&(this.el_=this.createEl()),this.children_=[],this.childIndex_={},this.childNameIndex_={},n.initChildren!==!1&&this.initChildren(),this.ready(r),n.reportTouchActivity!==!1&&this.enableTouchActivity()}return e.prototype.dispose=function(){if(this.trigger({type:"dispose",bubbles:!1}),this.children_)for(var e=this.children_.length-1;e>=0;e--)this.children_[e].dispose&&this.children_[e].dispose();this.children_=null,this.childIndex_=null,this.childNameIndex_=null,this.off(),this.el_.parentNode&&this.el_.parentNode.removeChild(this.el_),c.removeElData(this.el_),this.el_=null},e.prototype.player=function(){return this.player_},e.prototype.options=function(e){return g.default.warn("this.options() has been deprecated and will be moved to the constructor in 6.0"),e?(this.options_=(0,w.default)(this.options_,e),this.options_):this.options_},e.prototype.el=function(){return this.el_},e.prototype.createEl=function(e,t,n){return c.createEl(e,t,n)},e.prototype.localize=function(e){var t=this.player_.language&&this.player_.language(),n=this.player_.languages&&this.player_.languages();if(!t||!n)return e;var r=n[t];if(r&&r[e])return r[e];var o=t.split("-")[0],i=n[o];return i&&i[e]?i[e]:e},e.prototype.contentEl=function(){return this.contentEl_||this.el_},e.prototype.id=function(){return this.id_},e.prototype.name=function(){return this.name_},e.prototype.children=function(){return this.children_},e.prototype.getChildById=function(e){return this.childIndex_[e]},e.prototype.getChild=function(e){if(e)return e=(0,_.default)(e),this.childNameIndex_[e]},e.prototype.addChild=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.children_.length,o=void 0,i=void 0;if("string"==typeof t){i=(0,_.default)(t),n||(n={}),n===!0&&(g.default.warn("Initializing a child component with `true` is deprecated.Children should be defined in an array when possible, but if necessary use an object instead of `true`."),n={});var a=n.componentClass||i;n.name=i;var s=e.getComponent(a);if(!s)throw new Error("Component "+a+" does not exist");if("function"!=typeof s)return null;o=new s(this.player_||this,n)}else o=t;if(this.children_.splice(r,0,o),"function"==typeof o.id&&(this.childIndex_[o.id()]=o),i=i||o.name&&(0,_.default)(o.name()),i&&(this.childNameIndex_[i]=o),"function"==typeof o.el&&o.el()){var u=this.contentEl().children,c=u[r]||null;this.contentEl().insertBefore(o.el(),c)}return o},e.prototype.removeChild=function(e){if("string"==typeof e&&(e=this.getChild(e)),e&&this.children_){for(var t=!1,n=this.children_.length-1;n>=0;n--)if(this.children_[n]===e){t=!0,this.children_.splice(n,1);break}if(t){this.childIndex_[e.id()]=null,this.childNameIndex_[e.name()]=null;var r=e.el();r&&r.parentNode===this.contentEl()&&this.contentEl().removeChild(e.el())}}},e.prototype.initChildren=function(){var t=this,n=this.options_.children;if(n){var r=this.options_,o=function(e){var n=e.name,o=e.opts;if(void 0!==r[n]&&(o=r[n]),o!==!1){o===!0&&(o={}),o.playerOptions=t.options_.playerOptions;var i=t.addChild(n,o);i&&(t[n]=i)}},i=void 0,a=e.getComponent("Tech");i=Array.isArray(n)?n:Object.keys(n),i.concat(Object.keys(this.options_).filter(function(e){return!i.some(function(t){return"string"==typeof t?e===t:e===t.name})})).map(function(e){var r=void 0,o=void 0;return"string"==typeof e?(r=e,o=n[r]||t.options_[r]||{}):(r=e.name,o=e),{name:r,opts:o}}).filter(function(t){var n=e.getComponent(t.opts.componentClass||(0,_.default)(t.name));return n&&!a.isTech(n)}).forEach(o)}},e.prototype.buildCSSClass=function(){return""},e.prototype.on=function(e,t,n){var r=this;if("string"==typeof e||Array.isArray(e))v.on(this.el_,e,f.bind(this,t));else{var o=e,i=t,a=f.bind(this,n),s=function(){return r.off(o,i,a)};s.guid=a.guid,this.on("dispose",s);var u=function(){return r.off("dispose",s)};u.guid=a.guid,e.nodeName?(v.on(o,i,a),v.on(o,"dispose",u)):"function"==typeof e.on&&(o.on(i,a),o.on("dispose",u))}return this},e.prototype.off=function(e,t,n){if(!e||"string"==typeof e||Array.isArray(e))v.off(this.el_,e,t);else{var r=e,o=t,i=f.bind(this,n);this.off("dispose",i),e.nodeName?(v.off(r,o,i),v.off(r,"dispose",i)):(r.off(o,i),r.off("dispose",i))}return this},e.prototype.one=function(e,t,n){var r=this,o=arguments;if("string"==typeof e||Array.isArray(e))v.one(this.el_,e,f.bind(this,t));else{var i=e,a=t,s=f.bind(this,n),u=function e(){r.off(i,a,e),s.apply(null,o)};u.guid=s.guid,this.on(i,a,u)}return this},e.prototype.trigger=function(e,t){return v.trigger(this.el_,e,t),this},e.prototype.ready=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(this.isReady_?t?e.call(this):this.setTimeout(e,1):(this.readyQueue_=this.readyQueue_||[],this.readyQueue_.push(e))),this},e.prototype.triggerReady=function(){this.isReady_=!0,this.setTimeout(function(){var e=this.readyQueue_;this.readyQueue_=[],e&&e.length>0&&e.forEach(function(e){e.call(this)},this),this.trigger("ready")},1)},e.prototype.$=function(e,t){return c.$(e,t||this.contentEl())},e.prototype.$$=function(e,t){return c.$$(e,t||this.contentEl())},e.prototype.hasClass=function(e){return c.hasElClass(this.el_,e)},e.prototype.addClass=function(e){return c.addElClass(this.el_,e),this},e.prototype.removeClass=function(e){return c.removeElClass(this.el_,e),this},e.prototype.toggleClass=function(e,t){return c.toggleElClass(this.el_,e,t),this},e.prototype.show=function(){return this.removeClass("vjs-hidden"),this},e.prototype.hide=function(){return this.addClass("vjs-hidden"),this},e.prototype.lockShowing=function(){return this.addClass("vjs-lock-showing"),this},e.prototype.unlockShowing=function(){return this.removeClass("vjs-lock-showing"),this},e.prototype.getAttribute=function(e){return c.getAttribute(this.el_,e)},e.prototype.setAttribute=function(e,t){return c.setAttribute(this.el_,e,t),this},e.prototype.removeAttribute=function(e){return c.removeAttribute(this.el_,e),this},e.prototype.width=function(e,t){return this.dimension("width",e,t)},e.prototype.height=function(e,t){return this.dimension("height",e,t)},e.prototype.dimensions=function(e,t){return this.width(e,!0).height(t)},e.prototype.dimension=function(e,t,n){if(void 0!==t)return null!==t&&t===t||(t=0),(""+t).indexOf("%")!==-1||(""+t).indexOf("px")!==-1?this.el_.style[e]=t:"auto"===t?this.el_.style[e]="":this.el_.style[e]=t+"px",n||this.trigger("resize"),this;if(!this.el_)return 0;var r=this.el_.style[e],o=r.indexOf("px");return o!==-1?parseInt(r.slice(0,o),10):parseInt(this.el_["offset"+(0,_.default)(e)],10)},e.prototype.currentDimension=function(e){var t=0;if("width"!==e&&"height"!==e)throw new Error("currentDimension only accepts width or height value");if("function"==typeof s.default.getComputedStyle){var n=s.default.getComputedStyle(this.el_);t=n.getPropertyValue(e)||n[e]}if(t=parseFloat(t),0===t){var r="offset"+(0,_.default)(e);t=this.el_[r]}return t},e.prototype.currentDimensions=function(){return{width:this.currentDimension("width"),height:this.currentDimension("height")}},e.prototype.currentWidth=function(){return this.currentDimension("width")},e.prototype.currentHeight=function(){return this.currentDimension("height")},e.prototype.focus=function(){this.el_.focus()},e.prototype.blur=function(){this.el_.blur()},e.prototype.emitTapEvents=function(){var e=0,t=null,n=10,r=200,o=void 0;this.on("touchstart",function(n){1===n.touches.length&&(t={pageX:n.touches[0].pageX,pageY:n.touches[0].pageY},e=(new Date).getTime(),o=!0)}),this.on("touchmove",function(e){if(e.touches.length>1)o=!1;else if(t){var r=e.touches[0].pageX-t.pageX,i=e.touches[0].pageY-t.pageY,a=Math.sqrt(r*r+i*i);a>n&&(o=!1)}});var i=function(){o=!1};this.on("touchleave",i),this.on("touchcancel",i),this.on("touchend",function(n){if(t=null,o===!0){var i=(new Date).getTime()-e;i<r&&(n.preventDefault(),this.trigger("tap"))}})},e.prototype.enableTouchActivity=function(){if(this.player()&&this.player().reportUserActivity){var e=f.bind(this.player(),this.player().reportUserActivity),t=void 0;this.on("touchstart",function(){e(),this.clearInterval(t),t=this.setInterval(e,250)});var n=function(n){e(),this.clearInterval(t)};this.on("touchmove",e),this.on("touchend",n),this.on("touchcancel",n)}},e.prototype.setTimeout=function(e,t){e=f.bind(this,e);var n=s.default.setTimeout(e,t),r=function(){this.clearTimeout(n)};return r.guid="vjs-timeout-"+n,this.on("dispose",r),n},e.prototype.clearTimeout=function(e){s.default.clearTimeout(e);var t=function(){};return t.guid="vjs-timeout-"+e,this.off("dispose",t),e},e.prototype.setInterval=function(e,t){e=f.bind(this,e);var n=s.default.setInterval(e,t),r=function(){this.clearInterval(n)};return r.guid="vjs-interval-"+n,this.on("dispose",r),n},e.prototype.clearInterval=function(e){s.default.clearInterval(e);var t=function(){};return t.guid="vjs-interval-"+e,this.off("dispose",t),e},e.registerComponent=function(t,n){if(t){if(t=(0,_.default)(t),e.components_||(e.components_={}),"Player"===t&&e.components_[t]){var r=e.components_[t];if(r.players&&Object.keys(r.players).length>0&&Object.keys(r.players).map(function(e){return r.players[e]}).every(Boolean))throw new Error("Can not register Player component after player has been created")}return e.components_[t]=n,n}},e.getComponent=function(t){if(t)return t=(0,_.default)(t),e.components_&&e.components_[t]?e.components_[t]:s.default&&s.default.videojs&&s.default.videojs[t]?(g.default.warn("The "+t+" component was added to the videojs object when it should be registered using videojs.registerComponent(name, component)"),s.default.videojs[t]):void 0},e.extend=function(t){t=t||{},g.default.warn("Component.extend({}) has been deprecated,  use videojs.extend(Component, {}) instead");var n=t.init||t.init||this.prototype.init||this.prototype.init||function(){},r=function(){n.apply(this,arguments)};r.prototype=Object.create(this.prototype),r.prototype.constructor=r,r.extend=e.extend;for(var o in t)t.hasOwnProperty(o)&&(r.prototype[o]=t[o]);return r},e}();E.registerComponent("Component",E),t.default=E},function(e,t,n){e.exports={default:n(598),__esModule:!0}},function(e,t,n){"use strict";function r(e,t,n,r,i,a,s,u){if(o(t),!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,i,a,s,u],f=0;c=new Error(t.replace(/%s/g,function(){return l[f++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}}var o=function(e){};e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(340),i=r(o);t.default=i.default||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},[1493,18],function(e,t,n){"use strict";var r=n(40),o=r;e.exports=o},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){"use strict";function n(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);n+=" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";var o=new Error(n);throw o.name="Invariant Violation",o.framesToPop=1,o}e.exports=n},function(e,t,n){"use strict";var r=function(e,t,n,r,o,i,a,s){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],l=0;u=new Error(t.replace(/%s/g,function(){return c[l++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}};e.exports=r},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){"use strict";t.__esModule=!0,t.throttle=t.bind=void 0;var r=n(130);t.bind=function(e,t,n){t.guid||(t.guid=(0,r.newGUID)());var o=function(){return t.apply(e,arguments)};return o.guid=n?n+"_"+t.guid:t.guid,o},t.throttle=function(e,t){var n=Date.now(),r=function(){var r=Date.now();r-n>=t&&(e.apply(void 0,arguments),n=r)};return r}},[1595,177,98,14],function(e,t){/*
+	object-assign
+	(c) Sindre Sorhus
+	@license MIT
+	*/
+"use strict";function n(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function r(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if("0123456789"!==r.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(e){o[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}var o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=r()?Object.assign:function(e,t){for(var r,s,u=n(e),c=1;c<arguments.length;c++){r=Object(arguments[c]);for(var l in r)i.call(r,l)&&(u[l]=r[l]);if(o){s=o(r);for(var f=0;f<s.length;f++)a.call(r,s[f])&&(u[s[f]]=r[s[f]])}}return u}},function(e,t,n){e.exports=n(966)()},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return e.raw=t,e}function a(e){return"string"==typeof e&&/\S/.test(e)}function s(e){if(/\s/.test(e))throw new Error("class has illegal whitespace characters")}function u(e){return new RegExp("(^|\\s)"+e+"($|\\s)")}function c(){return U.default===q.default.document&&"undefined"!=typeof U.default.createElement}function l(e){return(0,Y.isObject)(e)&&1===e.nodeType}function f(e){return function(t,n){if(!a(t))return U.default[e](null);a(n)&&(n=U.default.querySelector(n));var r=l(n)?n:U.default;return r[e]&&r[e](t)}}function d(e){return 0===e.indexOf("#")&&(e=e.slice(1)),U.default.getElementById(e)}function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"div",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments[3],o=U.default.createElement(e);return Object.getOwnPropertyNames(t).forEach(function(e){var n=t[e];e.indexOf("aria-")!==-1||"role"===e||"type"===e?(V.default.warn((0,K.default)(L,e,n)),o.setAttribute(e,n)):"textContent"===e?h(o,n):o[e]=n}),Object.getOwnPropertyNames(n).forEach(function(e){o.setAttribute(e,n[e])}),r&&R(o,r),o}function h(e,t){return"undefined"==typeof e.textContent?e.innerText=t:e.textContent=t,e}function v(e,t){t.firstChild?t.insertBefore(e,t.firstChild):t.appendChild(e)}function y(e){var t=e[X];return t||(t=e[X]=z.newGUID()),$[t]||($[t]={}),$[t]}function g(e){var t=e[X];return!!t&&!!Object.getOwnPropertyNames($[t]).length}function m(e){var t=e[X];if(t){delete $[t];try{delete e[X]}catch(t){e.removeAttribute?e.removeAttribute(X):e[X]=null}}}function _(e,t){return s(t),e.classList?e.classList.contains(t):u(t).test(e.className)}function b(e,t){return e.classList?e.classList.add(t):_(e,t)||(e.className=(e.className+" "+t).trim()),e}function w(e,t){return e.classList?e.classList.remove(t):(s(t),e.className=e.className.split(/\s+/).filter(function(e){return e!==t}).join(" ")),e}function E(e,t,n){var r=_(e,t);if("function"==typeof n&&(n=n(e,t)),"boolean"!=typeof n&&(n=!r),n!==r)return n?b(e,t):w(e,t),e}function T(e,t){Object.getOwnPropertyNames(t).forEach(function(n){var r=t[n];null===r||"undefined"==typeof r||r===!1?e.removeAttribute(n):e.setAttribute(n,r===!0?"":r)})}function S(e){var t={},n=",autoplay,controls,loop,muted,default,";if(e&&e.attributes&&e.attributes.length>0)for(var r=e.attributes,o=r.length-1;o>=0;o--){var i=r[o].name,a=r[o].value;"boolean"!=typeof e[i]&&n.indexOf(","+i+",")===-1||(a=null!==a),t[i]=a}return t}function C(e,t){return e.getAttribute(t)}function x(e,t,n){e.setAttribute(t,n)}function O(e,t){e.removeAttribute(t)}function k(){U.default.body.focus(),U.default.onselectstart=function(){return!1}}function M(){U.default.onselectstart=function(){return!0}}function P(e){var t=void 0;if(e.getBoundingClientRect&&e.parentNode&&(t=e.getBoundingClientRect()),!t)return{left:0,top:0};var n=U.default.documentElement,r=U.default.body,o=n.clientLeft||r.clientLeft||0,i=q.default.pageXOffset||r.scrollLeft,a=t.left+i-o,s=n.clientTop||r.clientTop||0,u=q.default.pageYOffset||r.scrollTop,c=t.top+u-s;return{left:Math.round(a),top:Math.round(c)}}function A(e,t){var n={},r=P(e),o=e.offsetWidth,i=e.offsetHeight,a=r.top,s=r.left,u=t.pageY,c=t.pageX;return t.changedTouches&&(c=t.changedTouches[0].pageX,u=t.changedTouches[0].pageY),n.y=Math.max(0,Math.min(1,(a-u+i)/i)),n.x=Math.max(0,Math.min(1,(c-s)/o)),n}function I(e){return(0,Y.isObject)(e)&&3===e.nodeType}function j(e){for(;e.firstChild;)e.removeChild(e.firstChild);return e}function D(e){return"function"==typeof e&&(e=e()),(Array.isArray(e)?e:[e]).map(function(e){return"function"==typeof e&&(e=e()),l(e)||I(e)?e:"string"==typeof e&&/\S/.test(e)?U.default.createTextNode(e):void 0}).filter(function(e){return e})}function R(e,t){return D(t).forEach(function(t){return e.appendChild(t)}),e}function N(e,t){return R(j(e),t)}t.__esModule=!0,t.$$=t.$=void 0;var L=i(["Setting attributes in the second argument of createEl()\n                has been deprecated. Use the third argument instead.\n                createEl(type, properties, attributes). Attempting to set "," to ","."],["Setting attributes in the second argument of createEl()\n                has been deprecated. Use the third argument instead.\n                createEl(type, properties, attributes). Attempting to set "," to ","."]);t.isReal=c,t.isEl=l,t.getEl=d,t.createEl=p,t.textContent=h,t.insertElFirst=v,t.getElData=y,t.hasElData=g,t.removeElData=m,t.hasElClass=_,t.addElClass=b,t.removeElClass=w,t.toggleElClass=E,t.setElAttributes=T,t.getElAttributes=S,t.getAttribute=C,t.setAttribute=x,t.removeAttribute=O,t.blockTextSelection=k,t.unblockTextSelection=M,t.findElPosition=P,t.getPointerPosition=A,t.isTextNode=I,t.emptyEl=j,t.normalizeContent=D,t.appendContent=R,t.insertContent=N;var F=n(28),U=o(F),B=n(30),q=o(B),W=n(130),z=r(W),H=n(46),V=o(H),G=n(481),K=o(G),Y=n(34),$={},X="vdata"+(new Date).getTime();t.$=f("querySelector"),t.$$=f("querySelectorAll")},function(e,t){var n=e.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},[1508,15],[1548,12,367,62,25],,function(e,t,n){(function(t){var r="undefined"!=typeof t?t:"undefined"!=typeof window?window:{},o=n(1214);if("undefined"!=typeof document)e.exports=document;else{var i=r["__GLOBAL_DOCUMENT_CACHE@4"];i||(i=r["__GLOBAL_DOCUMENT_CACHE@4"]=o),e.exports=i}}).call(t,function(){return this}())},function(e,t,n){"use strict";function r(e,t){return 1===e.nodeType&&e.getAttribute(h)===String(t)||8===e.nodeType&&e.nodeValue===" react-text: "+t+" "||8===e.nodeType&&e.nodeValue===" react-empty: "+t+" "}function o(e){for(var t;t=e._renderedComponent;)e=t;return e}function i(e,t){var n=o(e);n._hostNode=t,t[y]=n}function a(e){var t=e._hostNode;t&&(delete t[y],e._hostNode=null)}function s(e,t){if(!(e._flags&v.hasCachedChildNodes)){var n=e._renderedChildren,a=t.firstChild;e:for(var s in n)if(n.hasOwnProperty(s)){var u=n[s],c=o(u)._domID;if(0!==c){for(;null!==a;a=a.nextSibling)if(r(a,c)){i(u,a);continue e}f("32",c)}}e._flags|=v.hasCachedChildNodes}}function u(e){if(e[y])return e[y];for(var t=[];!e[y];){if(t.push(e),!e.parentNode)return null;e=e.parentNode}for(var n,r;e&&(r=e[y]);e=t.pop())n=r,t.length&&s(r,e);return n}function c(e){var t=u(e);return null!=t&&t._hostNode===e?t:null}function l(e){if(void 0===e._hostNode?f("33"):void 0,e._hostNode)return e._hostNode;for(var t=[];!e._hostNode;)t.push(e),e._hostParent?void 0:f("34"),e=e._hostParent;for(;t.length;e=t.pop())s(e,e._hostNode);return e._hostNode}var f=n(16),d=n(120),p=n(437),h=(n(10),d.ID_ATTRIBUTE_NAME),v=p,y="__reactInternalInstance$"+Math.random().toString(36).slice(2),g={getClosestInstanceFromNode:u,getInstanceFromNode:c,getNodeFromInstance:l,precacheChildNodes:s,precacheNode:i,uncacheNode:a};e.exports=g},function(e,t){(function(t){"undefined"!=typeof window?e.exports=window:"undefined"!=typeof t?e.exports=t:"undefined"!=typeof self?e.exports=self:e.exports={}}).call(t,function(){return this}())},[1585,80],[1587,53],function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.__esModule=!0,t.BACKGROUND_SIZE_SUPPORTED=t.TOUCH_ENABLED=t.IS_ANY_SAFARI=t.IS_SAFARI=t.IE_VERSION=t.IS_IE8=t.IS_CHROME=t.IS_EDGE=t.IS_FIREFOX=t.IS_NATIVE_ANDROID=t.IS_OLD_ANDROID=t.ANDROID_VERSION=t.IS_ANDROID=t.IOS_VERSION=t.IS_IOS=t.IS_IPOD=t.IS_IPHONE=t.IS_IPAD=void 0;var i=n(23),a=o(i),s=n(30),u=r(s),c=u.default.navigator&&u.default.navigator.userAgent||"",l=/AppleWebKit\/([\d.]+)/i.exec(c),f=l?parseFloat(l.pop()):null,d=t.IS_IPAD=/iPad/i.test(c),p=t.IS_IPHONE=/iPhone/i.test(c)&&!d,h=t.IS_IPOD=/iPod/i.test(c),v=t.IS_IOS=p||d||h,y=(t.IOS_VERSION=function(){var e=c.match(/OS (\d+)_/i);return e&&e[1]?e[1]:null}(),t.IS_ANDROID=/Android/i.test(c)),g=t.ANDROID_VERSION=function(){var e=c.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i);if(!e)return null;var t=e[1]&&parseFloat(e[1]),n=e[2]&&parseFloat(e[2]);return t&&n?parseFloat(e[1]+"."+e[2]):t?t:null}(),m=(t.IS_OLD_ANDROID=y&&/webkit/i.test(c)&&g<2.3,t.IS_NATIVE_ANDROID=y&&g<5&&f<537,t.IS_FIREFOX=/Firefox/i.test(c),t.IS_EDGE=/Edge/i.test(c)),_=t.IS_CHROME=!m&&/Chrome/i.test(c),b=(t.IS_IE8=/MSIE\s8\.0/.test(c),t.IE_VERSION=function(){var e=/MSIE\s(\d+)\.\d/.exec(c),t=e&&parseFloat(e[1]);return!t&&/Trident\/7.0/i.test(c)&&/rv:11.0/.test(c)&&(t=11),t}(),t.IS_SAFARI=/Safari/i.test(c)&&!_&&!y&&!m);t.IS_ANY_SAFARI=b||v,t.TOUCH_ENABLED=a.isReal()&&("ontouchstart"in u.default||u.default.DocumentTouch&&u.default.document instanceof u.default.DocumentTouch),t.BACKGROUND_SIZE_SUPPORTED=a.isReal()&&"backgroundSize"in u.default.document.createElement("video").style},function(e,t){"use strict";function n(e,t){c(e).forEach(function(n){return t(e[n],n)})}function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return c(e).reduce(function(n,r){return t(n,e[r],r)},n)}function o(e){for(var t=arguments.length,r=Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];return Object.assign?Object.assign.apply(Object,[e].concat(r)):(r.forEach(function(t){t&&n(t,function(t,n){e[n]=t})}),e)}function i(e){return!!e&&"object"===("undefined"==typeof e?"undefined":s(e))}function a(e){return i(e)&&"[object Object]"===u.call(e)&&e.constructor===Object}t.__esModule=!0;var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.each=n,t.reduce=r,t.assign=o,t.isObject=i,t.isPlain=a;var u=Object.prototype.toString,c=function(e){return i(e)?Object.keys(e):[]}},[1595,232,167,47],function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.connect=t.connectAdvanced=t.Provider=void 0;var o=n(1079),i=r(o),a=n(456),s=r(a),u=n(1080),c=r(u);t.Provider=i.default,t.connectAdvanced=s.default,t.connect=c.default},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){"use strict";var n=!("undefined"==typeof window||!window.document||!window.document.createElement),r={canUseDOM:n,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:n&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:n&&!!window.screen,isInWorker:!n};e.exports=r},function(e,t){var n=Array.isArray;e.exports=n},function(e,t){"use strict";function n(e){return function(){return e}}var r=function(){};r.thatReturns=n,r.thatReturnsFalse=n(!1),r.thatReturnsTrue=n(!0),r.thatReturnsNull=n(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},[1517,26,79,25],function(e,t,n){var r=n(14),o=n(42),i=n(37),a=n(98)("src"),s="toString",u=Function[s],c=(""+u).split(s);n(70).inspectSource=function(e){return u.call(e)},(e.exports=function(e,t,n,s){var u="function"==typeof n;u&&(i(n,"name")||o(n,"name",t)),e[t]!==n&&(u&&(i(n,a)||o(n,a,e[t]?""+e[t]:c.join(String(t)))),e===r?e[t]=n:s?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,s,function(){return"function"==typeof this&&this[a]||u.call(this)})},function(e,t,n){var r=n(2),o=n(15),i=n(53),a=/"/g,s=function(e,t,n,r){var o=String(i(e)),s="<"+t;return""!==n&&(s+=" "+n+'="'+String(r).replace(a,"&quot;")+'"'),s+">"+o+"</"+t+">"};e.exports=function(e,t){var n={};n[e]=t(s),r(r.P+r.F*o(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}),"String",n)}},[1583,143,53],function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.logByType=void 0;var o=n(30),i=r(o),a=n(33),s=n(34),u=void 0,c=t.logByType=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:!!a.IE_VERSION&&a.IE_VERSION<11;"log"!==e&&t.unshift(e.toUpperCase()+":"),u.history.push(t),t.unshift("VIDEOJS:");var r=i.default.console&&i.default.console[e];r&&(n&&(t=t.map(function(e){if((0,s.isObject)(e)||Array.isArray(e))try{return JSON.stringify(e)}catch(t){return String(e)}return String(e)}).join(" ")),r.apply?r[Array.isArray(t)?"apply":"call"](i.default.console,t):r(t))};u=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];c("log",t)},u.history=[],u.error=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return c("error",t)},u.warn=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return c("warn",t)},t.default=u},14,[1552,144,79,45,62,37,367,25],[1559,37,32,253],,function(e,t,n){var r=n(47),o=n(24),i=n(87),a=n(86),s="prototype",u=function(e,t,n){var c,l,f,d=e&u.F,p=e&u.G,h=e&u.S,v=e&u.P,y=e&u.B,g=e&u.W,m=p?o:o[t]||(o[t]={}),_=m[s],b=p?r:h?r[t]:(r[t]||{})[s];p&&(n=t);for(c in n)l=!d&&b&&void 0!==b[c],l&&c in m||(f=l?b[c]:n[c],m[c]=p&&"function"!=typeof b[c]?n[c]:y&&l?i(f,r):g&&b[c]==f?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t[s]=e[s],t}(f):v&&"function"==typeof f?i(Function.call,f):f,v&&((m.virtual||(m.virtual={}))[c]=f,e&u.R&&_&&!_[c]&&a(_,c,f)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on  "+e);return e}},function(e,t,n){var r=n(15);e.exports=function(e,t){return!!e&&r(function(){t?e.call(null,function(){},1):e.call(null)})}},function(e,t,n){"use strict";var r=null;e.exports={debugTool:r}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.DONE=void 0;var o=n(66),i=r(o),a=n(11),s=r(a);t.default=function(e,t){var n=c.default.reduce(e,function(e,t){return(0,s.default)({},e,(0,i.default)({},t,t))},{});return n=c.default.reduce(t,function(e,t){var n;return(0,s.default)({},e,(n={},(0,i.default)(n,t,t),(0,i.default)(n,""+t+l,""+t+l),n))},n),n.DONE=l,n};var u=n(3),c=r(u),l=t.DONE="_DONE"},function(e,t,n){"use strict";var r=n(1),o=n(816),i=(new r.Component).updater;e.exports=o(r.Component,r.isValidElement,i)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.assessmentViewed=t.assessmentPostLtiOutcome=t.assessmentPostAnalytics=t.loadAssessment=t.Constants=void 0;var o=n(56),i=r(o),a=[],s=["LOAD_ASSESSMENT","ASSESSMENT_POST_ANALYTICS","ASSESSMENT_POST_LTI_OUTCOME","ASSESSMENT_VIEWED"],u=t.Constants=(0,i.default)(a,s);t.loadAssessment=function(){return{type:u.LOAD_ASSESSMENT,apiCall:!0}},t.assessmentPostAnalytics=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return{type:u.ASSESSMENT_POST_ANALYTICS,resultsId:e,userId:t,contextId:n}},t.assessmentPostLtiOutcome=function(e){return{type:u.ASSESSMENT_POST_LTI_OUTCOME,resultsId:e}},t.assessmentViewed=function(){return{type:u.ASSESSMENT_VIEWED}}},[1548,67,347,234,68],[1497,71,143,32,31,637],[1564,2,70,15],[1588,18],function(e,t,n){function r(e){if(!a(e)||o(e)!=s)return!1;var t=i(e);if(null===t)return!0;var n=f.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==d}var o=n(117),i=n(904),a=n(101),s="[object Object]",u=Function.prototype,c=Object.prototype,l=u.toString,f=c.hasOwnProperty,d=l.call(Object);e.exports=r},function(e,t,n){"use strict";function r(){O.ReactReconcileTransaction&&w?void 0:l("123")}function o(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=d.getPooled(),this.reconcileTransaction=O.ReactReconcileTransaction.getPooled(!0)}function i(e,t,n,o,i,a){return r(),w.batchedUpdates(e,t,n,o,i,a)}function a(e,t){return e._mountOrder-t._mountOrder}function s(e){var t=e.dirtyComponentsLength;t!==g.length?l("124",t,g.length):void 0,g.sort(a),m++;for(var n=0;n<t;n++){var r=g[n],o=r._pendingCallbacks;r._pendingCallbacks=null;var i;if(h.logTopLevelRenders){var s=r;r._currentElement.type.isReactTopLevelWrapper&&(s=r._renderedComponent),i="React update: "+s.getName(),console.time(i)}if(v.performUpdateIfNecessary(r,e.reconcileTransaction,m),i&&console.timeEnd(i),o)for(var u=0;u<o.length;u++)e.callbackQueue.enqueue(o[u],r.getPublicInstance())}}function u(e){return r(),w.isBatchingUpdates?(g.push(e),void(null==e._updateBatchNumber&&(e._updateBatchNumber=m+1))):void w.batchedUpdates(u,e)}function c(e,t){w.isBatchingUpdates?void 0:l("125"),_.enqueue(e,t),b=!0}var l=n(16),f=n(21),d=n(435),p=n(103),h=n(440),v=n(123),y=n(198),g=(n(10),[]),m=0,_=d.getPooled(),b=!1,w=null,E={initialize:function(){this.dirtyComponentsLength=g.length},close:function(){this.dirtyComponentsLength!==g.length?(g.splice(0,this.dirtyComponentsLength),C()):g.length=0}},T={initialize:function(){this.callbackQueue.reset()},close:function(){this.callbackQueue.notifyAll()}},S=[E,T];f(o.prototype,y,{getTransactionWrappers:function(){return S},destructor:function(){this.dirtyComponentsLength=null,d.release(this.callbackQueue),this.callbackQueue=null,O.ReactReconcileTransaction.release(this.reconcileTransaction),this.reconcileTransaction=null},perform:function(e,t,n){return y.perform.call(this,this.reconcileTransaction.perform,this.reconcileTransaction,e,t,n)}}),p.addPoolingTo(o);var C=function(){for(;g.length||b;){if(g.length){var e=o.getPooled();e.perform(s,null,e),o.release(e)}if(b){b=!1;var t=_;_=d.getPooled(),t.notifyAll(),d.release(t)}}},x={injectReconcileTransaction:function(e){e?void 0:l("126"),O.ReactReconcileTransaction=e},injectBatchingStrategy:function(e){e?void 0:l("127"),"function"!=typeof e.batchedUpdates?l("128"):void 0,"boolean"!=typeof e.isBatchingUpdates?l("129"):void 0,w=e}},O={ReactReconcileTransaction:null,batchedUpdates:i,enqueueUpdate:u,flushBatchedUpdates:C,injection:x,asap:c};e.exports=O},,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(341),i=r(o);t.default=function(e,t,n){return t in e?(0,i.default)(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},[1493,69],[1508,105],18,24,[1506,41],function(e,t,n){var r=n(383),o=n(2),i=n(177)("metadata"),a=i.store||(i.store=new(n(386))),s=function(e,t,n){var o=a.get(e);if(!o){if(!n)return;a.set(e,o=new r)}var i=o.get(t);if(!i){if(!n)return;o.set(t,i=new r)}return i},u=function(e,t,n){var r=s(t,n,!1);return void 0!==r&&r.has(e)},c=function(e,t,n){var r=s(t,n,!1);return void 0===r?void 0:r.get(e)},l=function(e,t,n,r){s(n,r,!0).set(e,t)},f=function(e,t){var n=s(e,t,!1),r=[];return n&&n.forEach(function(e,t){r.push(t)}),r},d=function(e){return void 0===e||"symbol"==typeof e?e:String(e)},p=function(e){o(o.S,"Reflect",e)};e.exports={store:a,map:s,has:u,get:c,set:l,keys:f,key:d,exp:p}},function(e,t,n){"use strict";if(n(25)){var r=n(91),o=n(14),i=n(15),a=n(2),s=n(178),u=n(260),c=n(71),l=n(90),f=n(79),d=n(42),p=n(95),h=n(80),v=n(31),y=n(97),g=n(62),m=n(37),_=n(380),b=n(142),w=n(18),E=n(32),T=n(245),S=n(92),C=n(49),x=n(93).f,O=n(262),k=n(98),M=n(20),P=n(60),A=n(168),I=n(254),j=n(263),D=n(112),R=n(174),N=n(96),L=n(238),F=n(360),U=n(26),B=n(48),q=U.f,W=B.f,z=o.RangeError,H=o.TypeError,V=o.Uint8Array,G="ArrayBuffer",K="Shared"+G,Y="BYTES_PER_ELEMENT",$="prototype",X=Array[$],Q=u.ArrayBuffer,J=u.DataView,Z=P(0),ee=P(2),te=P(3),ne=P(4),re=P(5),oe=P(6),ie=A(!0),ae=A(!1),se=j.values,ue=j.keys,ce=j.entries,le=X.lastIndexOf,fe=X.reduce,de=X.reduceRight,pe=X.join,he=X.sort,ve=X.slice,ye=X.toString,ge=X.toLocaleString,me=M("iterator"),_e=M("toStringTag"),be=k("typed_constructor"),we=k("def_constructor"),Ee=s.CONSTR,Te=s.TYPED,Se=s.VIEW,Ce="Wrong length!",xe=P(1,function(e,t){return Ie(I(e,e[we]),t)}),Oe=i(function(){return 1===new V(new Uint16Array([1]).buffer)[0]}),ke=!!V&&!!V[$].set&&i(function(){new V(1).set({})}),Me=function(e,t){if(void 0===e)throw H(Ce);var n=+e,r=v(e);if(t&&!_(n,r))throw z(Ce);return r},Pe=function(e,t){var n=h(e);if(n<0||n%t)throw z("Wrong offset!");return n},Ae=function(e){if(w(e)&&Te in e)return e;throw H(e+" is not a typed array!")},Ie=function(e,t){if(!(w(e)&&be in e))throw H("It is not a typed array constructor!");return new e(t)},je=function(e,t){return De(I(e,e[we]),t)},De=function(e,t){for(var n=0,r=t.length,o=Ie(e,r);r>n;)o[n]=t[n++];return o},Re=function(e,t,n){q(e,t,{get:function(){return this._d[n]}})},Ne=function(e){var t,n,r,o,i,a,s=E(e),u=arguments.length,l=u>1?arguments[1]:void 0,f=void 0!==l,d=O(s);if(void 0!=d&&!T(d)){for(a=d.call(s),r=[],t=0;!(i=a.next()).done;t++)r.push(i.value);s=r}for(f&&u>2&&(l=c(l,arguments[2],2)),t=0,n=v(s.length),o=Ie(this,n);n>t;t++)o[t]=f?l(s[t],t):s[t];return o},Le=function(){for(var e=0,t=arguments.length,n=Ie(this,t);t>e;)n[e]=arguments[e++];return n},Fe=!!V&&i(function(){ge.call(new V(1))}),Ue=function(){return ge.apply(Fe?ve.call(Ae(this)):Ae(this),arguments)},Be={copyWithin:function(e,t){return F.call(Ae(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function(e){return ne(Ae(this),e,arguments.length>1?arguments[1]:void 0)},fill:function(e){return L.apply(Ae(this),arguments)},filter:function(e){return je(this,ee(Ae(this),e,arguments.length>1?arguments[1]:void 0))},find:function(e){return re(Ae(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function(e){return oe(Ae(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function(e){Z(Ae(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function(e){return ae(Ae(this),e,arguments.length>1?arguments[1]:void 0)},includes:function(e){return ie(Ae(this),e,arguments.length>1?arguments[1]:void 0)},join:function(e){return pe.apply(Ae(this),arguments)},lastIndexOf:function(e){return le.apply(Ae(this),arguments)},map:function(e){return xe(Ae(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function(e){return fe.apply(Ae(this),arguments)},reduceRight:function(e){return de.apply(Ae(this),arguments)},reverse:function(){for(var e,t=this,n=Ae(t).length,r=Math.floor(n/2),o=0;o<r;)e=t[o],t[o++]=t[--n],t[n]=e;return t},some:function(e){return te(Ae(this),e,arguments.length>1?arguments[1]:void 0)},sort:function(e){return he.call(Ae(this),e)},subarray:function(e,t){var n=Ae(this),r=n.length,o=y(e,r);return new(I(n,n[we]))(n.buffer,n.byteOffset+o*n.BYTES_PER_ELEMENT,v((void 0===t?r:y(t,r))-o))}},qe=function(e,t){return je(this,ve.call(Ae(this),e,t))},We=function(e){Ae(this);var t=Pe(arguments[1],1),n=this.length,r=E(e),o=v(r.length),i=0;if(o+t>n)throw z(Ce);for(;i<o;)this[t+i]=r[i++]},ze={entries:function(){return ce.call(Ae(this))},keys:function(){return ue.call(Ae(this))},values:function(){return se.call(Ae(this))}},He=function(e,t){return w(e)&&e[Te]&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},Ve=function(e,t){return He(e,t=g(t,!0))?f(2,e[t]):W(e,t)},Ge=function(e,t,n){return!(He(e,t=g(t,!0))&&w(n)&&m(n,"value"))||m(n,"get")||m(n,"set")||n.configurable||m(n,"writable")&&!n.writable||m(n,"enumerable")&&!n.enumerable?q(e,t,n):(e[t]=n.value,e)};Ee||(B.f=Ve,U.f=Ge),a(a.S+a.F*!Ee,"Object",{getOwnPropertyDescriptor:Ve,defineProperty:Ge}),i(function(){ye.call({})})&&(ye=ge=function(){return pe.call(this)});var Ke=p({},Be);p(Ke,ze),d(Ke,me,ze.values),p(Ke,{slice:qe,set:We,constructor:function(){},toString:ye,toLocaleString:Ue}),Re(Ke,"buffer","b"),Re(Ke,"byteOffset","o"),Re(Ke,"byteLength","l"),Re(Ke,"length","e"),q(Ke,_e,{get:function(){return this[Te]}}),e.exports=function(e,t,n,u){u=!!u;var c=e+(u?"Clamped":"")+"Array",f="Uint8Array"!=c,p="get"+e,h="set"+e,y=o[c],g=y||{},m=y&&C(y),_=!y||!s.ABV,E={},T=y&&y[$],O=function(e,n){var r=e._d;return r.v[p](n*t+r.o,Oe)},k=function(e,n,r){var o=e._d;u&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),o.v[h](n*t+o.o,r,Oe)},M=function(e,t){q(e,t,{get:function(){return O(this,t)},set:function(e){return k(this,t,e)},enumerable:!0})};_?(y=n(function(e,n,r,o){l(e,y,c,"_d");var i,a,s,u,f=0,p=0;if(w(n)){if(!(n instanceof Q||(u=b(n))==G||u==K))return Te in n?De(y,n):Ne.call(y,n);i=n,p=Pe(r,t);var h=n.byteLength;if(void 0===o){if(h%t)throw z(Ce);if(a=h-p,a<0)throw z(Ce)}else if(a=v(o)*t,a+p>h)throw z(Ce);s=a/t}else s=Me(n,!0),a=s*t,i=new Q(a);for(d(e,"_d",{b:i,o:p,l:a,e:s,v:new J(i)});f<s;)M(e,f++)}),T=y[$]=S(Ke),d(T,"constructor",y)):R(function(e){new y(null),new y(e)},!0)||(y=n(function(e,n,r,o){l(e,y,c);var i;return w(n)?n instanceof Q||(i=b(n))==G||i==K?void 0!==o?new g(n,Pe(r,t),o):void 0!==r?new g(n,Pe(r,t)):new g(n):Te in n?De(y,n):Ne.call(y,n):new g(Me(n,f))}),Z(m!==Function.prototype?x(g).concat(x(m)):x(g),function(e){e in y||d(y,e,g[e])}),y[$]=T,r||(T.constructor=y));var P=T[me],A=!!P&&("values"==P.name||void 0==P.name),I=ze.values;d(y,be,!0),d(T,Te,c),d(T,Se,!0),d(T,we,y),(u?new y(1)[_e]==c:_e in T)||q(T,_e,{get:function(){return c}}),E[c]=y,a(a.G+a.W+a.F*(y!=g),E),a(a.S,c,{BYTES_PER_ELEMENT:t,from:Ne,of:Le}),Y in T||d(T,Y,t),a(a.P,c,Be),N(c),a(a.P+a.F*ke,c,{set:We}),a(a.P+a.F*!A,c,ze),a(a.P+a.F*(T.toString!=ye),c,{toString:ye}),a(a.P+a.F*i(function(){new y(1).slice()}),c,{slice:qe}),a(a.P+a.F*(i(function(){return[1,2].toLocaleString()!=new y([1,2]).toLocaleString()})||!i(function(){T.toLocaleString.call([1,2])})),c,{toLocaleString:Ue}),D[c]=A?P:I,r||A||d(T,me,I)}}else e.exports=function(){}},function(e,t,n){var r=n(410),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t,n){"use strict";function r(e,t,n,r){this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n;var o=this.constructor.Interface;for(var i in o)if(o.hasOwnProperty(i)){var s=o[i];s?this[i]=s(n):"target"===i?this.target=r:this[i]=n[i]}var u=null!=n.defaultPrevented?n.defaultPrevented:n.returnValue===!1;return u?this.isDefaultPrevented=a.thatReturnsTrue:this.isDefaultPrevented=a.thatReturnsFalse,this.isPropagationStopped=a.thatReturnsFalse,this}var o=n(21),i=n(103),a=n(40),s=(n(13),"function"==typeof Proxy,["dispatchConfig","_targetInst","nativeEvent","isDefaultPrevented","isPropagationStopped","_dispatchListeners","_dispatchInstances"]),u={type:null,target:null,currentTarget:a.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};o(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=a.thatReturnsTrue)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=a.thatReturnsTrue)},persist:function(){this.isPersistent=a.thatReturnsTrue},isPersistent:a.thatReturnsFalse,destructor:function(){var e=this.constructor.Interface;for(var t in e)this[t]=null;for(var n=0;n<s.length;n++)this[s[n]]=null}}),r.Interface=u,r.augmentClass=function(e,t){var n=this,r=function(){};r.prototype=n.prototype;var a=new r;o(a,e.prototype),e.prototype=a,e.prototype.constructor=e,e.Interface=o({},n.Interface,t),e.augmentClass=n.augmentClass,i.addPoolingTo(e,i.fourArgumentPooler)},i.addPoolingTo(r,i.fourArgumentPooler),e.exports=r},function(e,t){"use strict";var n={current:null};e.exports=n},function(e,t,n){"use strict";function r(){for(var e={},t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];return n.forEach(function(t){t&&(0,o.each)(t,function(t,n){return(0,o.isPlain)(t)?((0,o.isPlain)(e[n])||(e[n]={}),void(e[n]=r(e[n],t))):void(e[n]=t)})}),e}t.__esModule=!0,t.default=r;var o=n(34)},[1540,98,18,37,26,15],function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.createPath=t.parsePath=t.getQueryStringValueFromPath=t.stripQueryStringValueFromPath=t.addQueryStringValueToPath=void 0;var o=n(85),i=(r(o),t.addQueryStringValueToPath=function(e,t,n){var r=a(e),o=r.pathname,i=r.search,u=r.hash;return s({pathname:o,search:i+(i.indexOf("?")===-1?"?":"&")+t+"="+n,hash:u})},t.stripQueryStringValueFromPath=function(e,t){var n=a(e),r=n.pathname,o=n.search,i=n.hash;return s({pathname:r,search:o.replace(new RegExp("([?&])"+t+"=[a-zA-Z0-9]+(&?)"),function(e,t,n){return"?"===t?t:n}),hash:i})},t.getQueryStringValueFromPath=function(e,t){var n=a(e),r=n.search,o=r.match(new RegExp("[?&]"+t+"=([a-zA-Z0-9]+)"));return o&&o[1]},function(e){var t=e.match(/^(https?:)?\/\/[^\/]*/);return null==t?e:e.substring(t[0].length)}),a=t.parsePath=function(e){var t=i(e),n="",r="",o=t.indexOf("#");o!==-1&&(r=t.substring(o),t=t.substring(0,o));var a=t.indexOf("?");return a!==-1&&(n=t.substring(a),t=t.substring(0,a)),""===t&&(t="/"),{pathname:t,search:n,hash:r}},s=t.createPath=function(e){if(null==e||"string"==typeof e)return e;var t=e.basename,n=e.pathname,r=e.search,o=e.hash,i=(t||"")+n;return r&&"?"!==r&&(i+=r),o&&(i+=o),i}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return null==e||d.default.isValidElement(e)}function i(e){return o(e)||Array.isArray(e)&&e.every(o)}function a(e,t){return l({},e,t)}function s(e){var t=e.type,n=a(t.defaultProps,e.props);if(n.children){var r=u(n.children,n);r.length&&(n.childRoutes=r),delete n.children}return n}function u(e,t){var n=[];return d.default.Children.forEach(e,function(e){if(d.default.isValidElement(e))if(e.type.createRouteFromReactElement){var r=e.type.createRouteFromReactElement(e,t);r&&n.push(r)}else n.push(s(e))}),n}function c(e){return i(e)?e=u(e):e&&!Array.isArray(e)&&(e=[e]),e}t.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.isReactChildren=i,t.createRouteFromReactElement=s,t.createRoutesFromReactChildren=u,t.createRoutes=c;var f=n(1),d=r(f)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e,t){var n=p.getElData(e);0===n.handlers[t].length&&(delete n.handlers[t],e.removeEventListener?e.removeEventListener(t,n.dispatcher,!1):e.detachEvent&&e.detachEvent("on"+t,n.dispatcher)),Object.getOwnPropertyNames(n.handlers).length<=0&&(delete n.handlers,delete n.dispatcher,delete n.disabled),0===Object.getOwnPropertyNames(n).length&&p.removeElData(e)}function a(e,t,n,r){n.forEach(function(n){e(t,n,r)})}function s(e){function t(){
+return!0}function n(){return!1}if(!e||!e.isPropagationStopped){var r=e||_.default.event;e={};for(var o in r)"layerX"!==o&&"layerY"!==o&&"keyLocation"!==o&&"webkitMovementX"!==o&&"webkitMovementY"!==o&&("returnValue"===o&&r.preventDefault||(e[o]=r[o]));if(e.target||(e.target=e.srcElement||w.default),e.relatedTarget||(e.relatedTarget=e.fromElement===e.target?e.toElement:e.fromElement),e.preventDefault=function(){r.preventDefault&&r.preventDefault(),e.returnValue=!1,r.returnValue=!1,e.defaultPrevented=!0},e.defaultPrevented=!1,e.stopPropagation=function(){r.stopPropagation&&r.stopPropagation(),e.cancelBubble=!0,r.cancelBubble=!0,e.isPropagationStopped=t},e.isPropagationStopped=n,e.stopImmediatePropagation=function(){r.stopImmediatePropagation&&r.stopImmediatePropagation(),e.isImmediatePropagationStopped=t,e.stopPropagation()},e.isImmediatePropagationStopped=n,null!==e.clientX&&void 0!==e.clientX){var i=w.default.documentElement,a=w.default.body;e.pageX=e.clientX+(i&&i.scrollLeft||a&&a.scrollLeft||0)-(i&&i.clientLeft||a&&a.clientLeft||0),e.pageY=e.clientY+(i&&i.scrollTop||a&&a.scrollTop||0)-(i&&i.clientTop||a&&a.clientTop||0)}e.which=e.charCode||e.keyCode,null!==e.button&&void 0!==e.button&&(e.button=1&e.button?0:4&e.button?1:2&e.button?2:0)}return e}function u(e,t,n){if(Array.isArray(t))return a(u,e,t,n);var r=p.getElData(e);r.handlers||(r.handlers={}),r.handlers[t]||(r.handlers[t]=[]),n.guid||(n.guid=v.newGUID()),r.handlers[t].push(n),r.dispatcher||(r.disabled=!1,r.dispatcher=function(t,n){if(!r.disabled){t=s(t);var o=r.handlers[t.type];if(o)for(var i=o.slice(0),a=0,u=i.length;a<u&&!t.isImmediatePropagationStopped();a++)try{i[a].call(e,t,n)}catch(e){g.default.error(e)}}}),1===r.handlers[t].length&&(e.addEventListener?e.addEventListener(t,r.dispatcher,!1):e.attachEvent&&e.attachEvent("on"+t,r.dispatcher))}function c(e,t,n){if(p.hasElData(e)){var r=p.getElData(e);if(r.handlers){if(Array.isArray(t))return a(c,e,t,n);var o=function(t){r.handlers[t]=[],i(e,t)};if(t){var s=r.handlers[t];if(s){if(!n)return void o(t);if(n.guid)for(var u=0;u<s.length;u++)s[u].guid===n.guid&&s.splice(u--,1);i(e,t)}}else for(var l in r.handlers)o(l)}}}function l(e,t,n){var r=p.hasElData(e)?p.getElData(e):{},o=e.parentNode||e.ownerDocument;if("string"==typeof t&&(t={type:t,target:e}),t=s(t),r.dispatcher&&r.dispatcher.call(e,t,n),o&&!t.isPropagationStopped()&&t.bubbles===!0)l.call(null,o,t,n);else if(!o&&!t.defaultPrevented){var i=p.getElData(t.target);t.target[t.type]&&(i.disabled=!0,"function"==typeof t.target[t.type]&&t.target[t.type](),i.disabled=!1)}return!t.defaultPrevented}function f(e,t,n){if(Array.isArray(t))return a(f,e,t,n);var r=function r(){c(e,t,r),n.apply(this,arguments)};r.guid=n.guid=n.guid||v.newGUID(),u(e,t,r)}t.__esModule=!0,t.fixEvent=s,t.on=u,t.off=c,t.trigger=l,t.one=f;var d=n(23),p=o(d),h=n(130),v=o(h),y=n(46),g=r(y),m=n(30),_=r(m),b=n(28),w=r(b)},function(e,t){"use strict";function n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;e=e<0?0:e;var n=Math.floor(e%60),r=Math.floor(e/60%60),o=Math.floor(e/3600),i=Math.floor(t/60%60),a=Math.floor(t/3600);return(isNaN(e)||e===1/0)&&(o=r=n="-"),o=o>0||a>0?o+":":"",r=((o||i>=10)&&r<10?"0"+r:r)+":",n=n<10?"0"+n:n,o+r+n}t.__esModule=!0,t.default=n},function(e,t,n){"use strict";var r=function(){};e.exports=r},[1517,59,141,68],[1506,226],37,[1583,327,213],function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t){e.exports=!1},[1546,12,373,241,253,240,243],[1556,375,241],[1563,375,241],function(e,t,n){var r=n(43);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},function(e,t,n){"use strict";var r=n(14),o=n(26),i=n(25),a=n(20)("species");e.exports=function(e){var t=r[e];i&&t&&!t[a]&&o.f(t,a,{configurable:!0,get:function(){return this}})}},[1580,80],function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){function r(e,t){return a(i(e,t,o),e+"")}var o=n(191),i=n(935),a=n(938);e.exports=r},function(e,t,n){function r(e,t){var n=i(e,t);return o(n)?n:void 0}var o=n(880),i=n(908);e.exports=r},function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(428);Object.defineProperty(t,"DragDropContext",{enumerable:!0,get:function(){return r(o).default}});var i=n(987);Object.defineProperty(t,"DragDropContextProvider",{enumerable:!0,get:function(){return r(i).default}});var a=n(988);Object.defineProperty(t,"DragLayer",{enumerable:!0,get:function(){return r(a).default}});var s=n(989);Object.defineProperty(t,"DragSource",{enumerable:!0,get:function(){return r(s).default}});var u=n(990);Object.defineProperty(t,"DropTarget",{enumerable:!0,get:function(){return r(u).default}})},[1635,16],,15,function(e,t,n){"use strict";e.exports=n(1018)},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={WORD:"WORD",WORD_GROUP:"WORD_GROUP",FILL_BLANK_WORD:"FILL_BLANK_WORD",CLIX_DROPPABLE:"CLIX_DROPPABLE"}},function(e,t){e.exports={}},[1563,355,228],function(e,t,n){var r=n(20)("unscopables"),o=Array.prototype;void 0==o[r]&&n(42)(o,r,{}),e.exports=function(e){o[r][e]=!0}},[1514,71,369,245,12,31,262],108,[1569,26,37,20],function(e,t,n){var r=n(2),o=n(53),i=n(15),a=n(258),s="["+a+"]",u="​",c=RegExp("^"+s+s+"*"),l=RegExp(s+s+"*$"),f=function(e,t,n){var o={},s=i(function(){return!!a[e]()||u[e]()!=u}),c=o[e]=s?t(d):a[e];n&&(o[n]=c),r(r.P+r.F*s,"String",o)},d=f.trim=function(e,t){return e=String(o(e)),1&t&&(e=e.replace(c,"")),2&t&&(e=e.replace(l,"")),e};e.exports=f},function(e,t,n){"use strict";var r={};e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.locationsAreEqual=t.statesAreEqual=t.createLocation=t.createQuery=void 0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(17),s=r(a),u=n(85),c=(r(u),n(81)),l=n(181),f=(t.createQuery=function(e){return i(Object.create(null),e)},t.createLocation=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.POP,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r="string"==typeof e?(0,c.parsePath)(e):e,o=r.pathname||"/",i=r.search||"",a=r.hash||"",s=r.state;return{pathname:o,search:i,hash:a,state:s,action:t,key:n}},function(e){return"[object Date]"===Object.prototype.toString.call(e)}),d=t.statesAreEqual=function e(t,n){if(t===n)return!0;var r="undefined"==typeof t?"undefined":o(t),i="undefined"==typeof n?"undefined":o(n);if(r!==i)return!1;if("function"===r?(0,s.default)(!1):void 0,"object"===r){if(f(t)&&f(n)?(0,s.default)(!1):void 0,!Array.isArray(t)){var a=Object.keys(t),u=Object.keys(n);return a.length===u.length&&a.every(function(r){return e(t[r],n[r])})}return Array.isArray(n)&&t.length===n.length&&t.every(function(t,r){return e(t,n[r])})}return!1};t.locationsAreEqual=function(e,t){return e.key===t.key&&e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&d(e.state,t.state)}},function(e,t,n){function r(e){return null==e?void 0===e?u:s:c&&c in Object(e)?i(e):a(e)}var o=n(146),i=n(905),a=n(934),s="[object Null]",u="[object Undefined]",c=o?o.toStringTag:void 0;e.exports=r},function(e,t){function n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=n},function(e,t,n){"use strict";function r(e){if(y){var t=e.node,n=e.children;if(n.length)for(var r=0;r<n.length;r++)g(t,n[r],null);else null!=e.html?f(t,e.html):null!=e.text&&p(t,e.text)}}function o(e,t){e.parentNode.replaceChild(t.node,e),r(t)}function i(e,t){y?e.children.push(t):e.node.appendChild(t.node)}function a(e,t){y?e.html=t:f(e.node,t)}function s(e,t){y?e.text=t:p(e.node,t)}function u(){return this.node.nodeName}function c(e){return{node:e,children:[],html:null,text:null,toString:u}}var l=n(289),f=n(200),d=n(297),p=n(451),h=1,v=11,y="undefined"!=typeof document&&"number"==typeof document.documentMode||"undefined"!=typeof navigator&&"string"==typeof navigator.userAgent&&/\bEdge\/\d/.test(navigator.userAgent),g=d(function(e,t,n){t.node.nodeType===v||t.node.nodeType===h&&"object"===t.node.nodeName.toLowerCase()&&(null==t.node.namespaceURI||t.node.namespaceURI===l.html)?(r(t),e.insertBefore(t.node,n)):(e.insertBefore(t.node,n),r(t))});c.insertTreeBefore=g,c.replaceChildWithTree=o,c.queueChild=i,c.queueHTML=a,c.queueText=s,e.exports=c},function(e,t,n){"use strict";function r(e,t){return(e&t)===t}var o=n(16),i=(n(10),{MUST_USE_PROPERTY:1,HAS_BOOLEAN_VALUE:4,HAS_NUMERIC_VALUE:8,HAS_POSITIVE_NUMERIC_VALUE:24,HAS_OVERLOADED_BOOLEAN_VALUE:32,injectDOMPropertyConfig:function(e){var t=i,n=e.Properties||{},a=e.DOMAttributeNamespaces||{},u=e.DOMAttributeNames||{},c=e.DOMPropertyNames||{},l=e.DOMMutationMethods||{};e.isCustomAttribute&&s._isCustomAttributeFunctions.push(e.isCustomAttribute);for(var f in n){s.properties.hasOwnProperty(f)?o("48",f):void 0;var d=f.toLowerCase(),p=n[f],h={attributeName:d,attributeNamespace:null,propertyName:f,mutationMethod:null,mustUseProperty:r(p,t.MUST_USE_PROPERTY),hasBooleanValue:r(p,t.HAS_BOOLEAN_VALUE),hasNumericValue:r(p,t.HAS_NUMERIC_VALUE),hasPositiveNumericValue:r(p,t.HAS_POSITIVE_NUMERIC_VALUE),hasOverloadedBooleanValue:r(p,t.HAS_OVERLOADED_BOOLEAN_VALUE)};if(h.hasBooleanValue+h.hasNumericValue+h.hasOverloadedBooleanValue<=1?void 0:o("50",f),u.hasOwnProperty(f)){var v=u[f];h.attributeName=v}a.hasOwnProperty(f)&&(h.attributeNamespace=a[f]),c.hasOwnProperty(f)&&(h.propertyName=c[f]),l.hasOwnProperty(f)&&(h.mutationMethod=l[f]),s.properties[f]=h}}}),a=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",s={ID_ATTRIBUTE_NAME:"data-reactid",ROOT_ATTRIBUTE_NAME:"data-reactroot",ATTRIBUTE_NAME_START_CHAR:a,ATTRIBUTE_NAME_CHAR:a+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",properties:{},getPossibleStandardName:null,_isCustomAttributeFunctions:[],isCustomAttribute:function(e){for(var t=0;t<s._isCustomAttributeFunctions.length;t++){var n=s._isCustomAttributeFunctions[t];if(n(e))return!0}return!1},injection:i};e.exports=s},function(e,t,n){"use strict";function r(e){return"button"===e||"input"===e||"select"===e||"textarea"===e}function o(e,t,n){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":return!(!n.disabled||!r(t));default:return!1}}var i=n(16),a=n(290),s=n(195),u=n(294),c=n(445),l=n(446),f=(n(10),{}),d=null,p=function(e,t){e&&(s.executeDispatchesInOrder(e,t),e.isPersistent()||e.constructor.release(e))},h=function(e){return p(e,!0)},v=function(e){return p(e,!1)},y=function(e){return"."+e._rootNodeID},g={injection:{injectEventPluginOrder:a.injectEventPluginOrder,injectEventPluginsByName:a.injectEventPluginsByName},putListener:function(e,t,n){"function"!=typeof n?i("94",t,typeof n):void 0;var r=y(e),o=f[t]||(f[t]={});o[r]=n;var s=a.registrationNameModules[t];s&&s.didPutListener&&s.didPutListener(e,t,n)},getListener:function(e,t){var n=f[t];if(o(t,e._currentElement.type,e._currentElement.props))return null;var r=y(e);return n&&n[r]},deleteListener:function(e,t){var n=a.registrationNameModules[t];n&&n.willDeleteListener&&n.willDeleteListener(e,t);var r=f[t];if(r){var o=y(e);delete r[o]}},deleteAllListeners:function(e){var t=y(e);for(var n in f)if(f.hasOwnProperty(n)&&f[n][t]){var r=a.registrationNameModules[n];r&&r.willDeleteListener&&r.willDeleteListener(e,n),delete f[n][t]}},extractEvents:function(e,t,n,r){for(var o,i=a.plugins,s=0;s<i.length;s++){var u=i[s];if(u){var l=u.extractEvents(e,t,n,r);l&&(o=c(o,l))}}return o},enqueueEvents:function(e){e&&(d=c(d,e))},processEventQueue:function(e){var t=d;d=null,e?l(t,h):l(t,v),d?i("95"):void 0,u.rethrowCaughtError()},__purge:function(){f={}},__getListenerBank:function(){return f}};e.exports=g},function(e,t,n){"use strict";function r(e,t,n){var r=t.dispatchConfig.phasedRegistrationNames[n];return g(e,r)}function o(e,t,n){var o=r(e,n,t);o&&(n._dispatchListeners=v(n._dispatchListeners,o),n._dispatchInstances=v(n._dispatchInstances,e))}function i(e){e&&e.dispatchConfig.phasedRegistrationNames&&h.traverseTwoPhase(e._targetInst,o,e)}function a(e){if(e&&e.dispatchConfig.phasedRegistrationNames){var t=e._targetInst,n=t?h.getParentInstance(t):null;h.traverseTwoPhase(n,o,e)}}function s(e,t,n){if(n&&n.dispatchConfig.registrationName){var r=n.dispatchConfig.registrationName,o=g(e,r);o&&(n._dispatchListeners=v(n._dispatchListeners,o),n._dispatchInstances=v(n._dispatchInstances,e))}}function u(e){e&&e.dispatchConfig.registrationName&&s(e._targetInst,null,e)}function c(e){y(e,i)}function l(e){y(e,a)}function f(e,t,n,r){h.traverseEnterLeave(n,r,s,e,t)}function d(e){y(e,u)}var p=n(121),h=n(195),v=n(445),y=n(446),g=(n(13),p.getListener),m={accumulateTwoPhaseDispatches:c,accumulateTwoPhaseDispatchesSkipTarget:l,accumulateDirectDispatches:d,accumulateEnterLeaveDispatches:f};e.exports=m},function(e,t,n){"use strict";function r(){o.attachRefs(this,this._currentElement)}var o=n(1041),i=(n(55),n(13),{mountComponent:function(e,t,n,o,i,a){var s=e.mountComponent(t,n,o,i,a);return e._currentElement&&null!=e._currentElement.ref&&t.getReactMountReady().enqueue(r,e),s},getHostNode:function(e){return e.getHostNode()},unmountComponent:function(e,t){o.detachRefs(e,e._currentElement),e.unmountComponent(t)},receiveComponent:function(e,t,n,i){var a=e._currentElement;if(t!==a||i!==e._context){var s=o.shouldUpdateRefs(a,t);s&&o.detachRefs(e,a),e.receiveComponent(t,n,i),s&&e._currentElement&&null!=e._currentElement.ref&&n.getReactMountReady().enqueue(r,e)}},performUpdateIfNecessary:function(e,t,n){e._updateBatchNumber===n&&e.performUpdateIfNecessary(t)}});e.exports=i},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(75),i=n(300),a={view:function(e){if(e.view)return e.view;var t=i(e);if(t.window===t)return t;var n=t.ownerDocument;return n?n.defaultView||n.parentWindow:window},detail:function(e){return e.detail||0}};o.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function i(e){for(var t="",n=[],r=[],i=void 0,a=0,s=/:([a-zA-Z_$][a-zA-Z0-9_$]*)|\*\*|\*|\(|\)|\\\(|\\\)/g;i=s.exec(e);)i.index!==a&&(r.push(e.slice(a,i.index)),t+=o(e.slice(a,i.index))),i[1]?(t+="([^/]+)",n.push(i[1])):"**"===i[0]?(t+="(.*)",n.push("splat")):"*"===i[0]?(t+="(.*?)",n.push("splat")):"("===i[0]?t+="(?:":")"===i[0]?t+=")?":"\\("===i[0]?t+="\\(":"\\)"===i[0]&&(t+="\\)"),r.push(i[0]),a=s.lastIndex;return a!==e.length&&(r.push(e.slice(a,e.length)),t+=o(e.slice(a,e.length))),{pattern:e,regexpSource:t,paramNames:n,tokens:r}}function a(e){return p[e]||(p[e]=i(e)),p[e]}function s(e,t){"/"!==e.charAt(0)&&(e="/"+e);var n=a(e),r=n.regexpSource,o=n.paramNames,i=n.tokens;"/"!==e.charAt(e.length-1)&&(r+="/?"),"*"===i[i.length-1]&&(r+="$");var s=t.match(new RegExp("^"+r,"i"));if(null==s)return null;var u=s[0],c=t.substr(u.length);if(c){if("/"!==u.charAt(u.length-1))return null;c="/"+c}return{remainingPathname:c,paramNames:o,paramValues:s.slice(1).map(function(e){return e&&decodeURIComponent(e)})}}function u(e){return a(e).paramNames}function c(e,t){var n=s(e,t);if(!n)return null;var r=n.paramNames,o=n.paramValues,i={};return r.forEach(function(e,t){i[e]=o[t]}),i}function l(e,t){t=t||{};for(var n=a(e),r=n.tokens,o=0,i="",s=0,u=[],c=void 0,l=void 0,f=void 0,p=0,h=r.length;p<h;++p)if(c=r[p],"*"===c||"**"===c)f=Array.isArray(t.splat)?t.splat[s++]:t.splat,null!=f||o>0?void 0:(0,d.default)(!1),null!=f&&(i+=encodeURI(f));else if("("===c)u[o]="",o+=1;else if(")"===c){var v=u.pop();o-=1,o?u[o-1]+=v:i+=v}else if("\\("===c)i+="(";else if("\\)"===c)i+=")";else if(":"===c.charAt(0))if(l=c.substring(1),f=t[l],null!=f||o>0?void 0:(0,d.default)(!1),null==f){if(o){u[o-1]="";for(var y=r.indexOf(c),g=r.slice(y,r.length),m=-1,_=0;_<g.length;_++)if(")"==g[_]){m=_;break}m>0?void 0:(0,d.default)(!1),p=y+m-1}}else o?u[o-1]+=encodeURIComponent(f):i+=encodeURIComponent(f);else o?u[o-1]+=c:i+=c;return o<=0?void 0:(0,d.default)(!1),i.replace(/\/+/g,"/")}t.__esModule=!0,t.compilePattern=a,t.matchPattern=s,t.getParamNames=u,t.getParams=c,t.formatPattern=l;var f=n(17),d=r(f),p=Object.create(null)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(t.indexOf("deprecated")!==-1){if(u[t])return;u[t]=!0}t="[react-router] "+t;for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];s.default.apply(void 0,[e,t].concat(r))}function i(){u={}}t.__esModule=!0,t.default=o,t._resetWarned=i;var a=n(85),s=r(a),u={}},function(e,t,n){"use strict";var r=n(21),o=n(1110),i=n(310),a=n(1115),s=n(1111),u=n(1112),c=n(128),l=n(1113),f=n(1116),d=n(1118),p=(n(13),c.createElement),h=c.createFactory,v=c.cloneElement,y=r,g={Children:{map:o.map,forEach:o.forEach,count:o.count,toArray:o.toArray,only:d},Component:i,PureComponent:a,createElement:p,cloneElement:v,isValidElement:c.isValidElement,PropTypes:l,createClass:s.createClass,createFactory:h,createMixin:function(e){return e},DOM:u,version:f,__spread:y};e.exports=g},function(e,t,n){"use strict";function r(e){return void 0!==e.ref}function o(e){return void 0!==e.key}var i=n(21),a=n(76),s=(n(13),n(472),Object.prototype.hasOwnProperty),u=n(470),c={key:!0,ref:!0,__self:!0,__source:!0},l=function(e,t,n,r,o,i,a){var s={$$typeof:u,type:e,key:t,ref:n,props:a,_owner:i};return s};l.createElement=function(e,t,n){var i,u={},f=null,d=null,p=null,h=null;if(null!=t){r(t)&&(d=t.ref),o(t)&&(f=""+t.key),p=void 0===t.__self?null:t.__self,h=void 0===t.__source?null:t.__source;for(i in t)s.call(t,i)&&!c.hasOwnProperty(i)&&(u[i]=t[i])}var v=arguments.length-2;if(1===v)u.children=n;else if(v>1){for(var y=Array(v),g=0;g<v;g++)y[g]=arguments[g+2];u.children=y}if(e&&e.defaultProps){var m=e.defaultProps;for(i in m)void 0===u[i]&&(u[i]=m[i])}return l(e,f,d,p,h,a.current,u)},l.createFactory=function(e){var t=l.createElement.bind(null,e);return t.type=e,t},l.cloneAndReplaceKey=function(e,t){var n=l(e.type,t,e.ref,e._self,e._source,e._owner,e.props);return n},l.cloneElement=function(e,t,n){var u,f=i({},e.props),d=e.key,p=e.ref,h=e._self,v=e._source,y=e._owner;if(null!=t){r(t)&&(p=t.ref,y=a.current),o(t)&&(d=""+t.key);var g;e.type&&e.type.defaultProps&&(g=e.type.defaultProps);for(u in t)s.call(t,u)&&!c.hasOwnProperty(u)&&(void 0===t[u]&&void 0!==g?f[u]=g[u]:f[u]=t[u])}var m=arguments.length-2;if(1===m)f.children=n;else if(m>1){for(var _=Array(m),b=0;b<m;b++)_[b]=arguments[b+2];f.children=_}return l(e.type,d,p,h,v,y,f)},l.isValidElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===u},e.exports=l},16,function(e,t){"use strict";function n(){return r++}t.__esModule=!0,t.newGUID=n;var r=1},function(e,t){"use strict";function n(e){return"string"!=typeof e?e:e.charAt(0).toUpperCase()+e.slice(1)}t.__esModule=!0,t.default=n},[1587,213],[1624,617,328],function(e,t,n){var r,o;/*!
+	 * jQuery JavaScript Library v2.2.4
+	 * http://jquery.com/
+	 *
+	 * Includes Sizzle.js
+	 * http://sizzlejs.com/
+	 *
+	 * Copyright jQuery Foundation and other contributors
+	 * Released under the MIT license
+	 * http://jquery.org/license
+	 *
+	 * Date: 2016-05-20T17:23Z
+	 */
+!function(t,n){"object"==typeof e&&"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,function(n,i){function a(e){var t=!!e&&"length"in e&&e.length,n=ce.type(e);return"function"!==n&&!ce.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function s(e,t,n){if(ce.isFunction(t))return ce.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return ce.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(_e.test(t))return ce.filter(t,e,n);t=ce.filter(t,e)}return ce.grep(e,function(e){return re.call(t,e)>-1!==n})}function u(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function c(e){var t={};return ce.each(e.match(Ce)||[],function(e,n){t[n]=!0}),t}function l(){Z.removeEventListener("DOMContentLoaded",l),n.removeEventListener("load",l),ce.ready()}function f(){this.expando=ce.expando+f.uid++}function d(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(Ie,"-$&").toLowerCase(),n=e.getAttribute(r),"string"==typeof n){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:Ae.test(n)?ce.parseJSON(n):n)}catch(e){}Pe.set(e,t,n)}else n=void 0;return n}function p(e,t,n,r){var o,i=1,a=20,s=r?function(){return r.cur()}:function(){return ce.css(e,t,"")},u=s(),c=n&&n[3]||(ce.cssNumber[t]?"":"px"),l=(ce.cssNumber[t]||"px"!==c&&+u)&&De.exec(ce.css(e,t));if(l&&l[3]!==c){c=c||l[3],n=n||[],l=+u||1;do i=i||".5",l/=i,ce.style(e,t,l+c);while(i!==(i=s()/u)&&1!==i&&--a)}return n&&(l=+l||+u||0,o=n[1]?l+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=l,r.end=o)),o}function h(e,t){var n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&ce.nodeName(e,t)?ce.merge([e],n):n}function v(e,t){for(var n=0,r=e.length;n<r;n++)Me.set(e[n],"globalEval",!t||Me.get(t[n],"globalEval"))}function y(e,t,n,r,o){for(var i,a,s,u,c,l,f=t.createDocumentFragment(),d=[],p=0,y=e.length;p<y;p++)if(i=e[p],i||0===i)if("object"===ce.type(i))ce.merge(d,i.nodeType?[i]:i);else if(qe.test(i)){for(a=a||f.appendChild(t.createElement("div")),s=(Fe.exec(i)||["",""])[1].toLowerCase(),u=Be[s]||Be._default,a.innerHTML=u[1]+ce.htmlPrefilter(i)+u[2],l=u[0];l--;)a=a.lastChild;ce.merge(d,a.childNodes),a=f.firstChild,a.textContent=""}else d.push(t.createTextNode(i));for(f.textContent="",p=0;i=d[p++];)if(r&&ce.inArray(i,r)>-1)o&&o.push(i);else if(c=ce.contains(i.ownerDocument,i),a=h(f.appendChild(i),"script"),c&&v(a),n)for(l=0;i=a[l++];)Ue.test(i.type||"")&&n.push(i);return f}function g(){return!0}function m(){return!1}function _(){try{return Z.activeElement}catch(e){}}function b(e,t,n,r,o,i){var a,s;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(s in t)b(e,s,n,r,t[s],i);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),o===!1)o=m;else if(!o)return e;return 1===i&&(a=o,o=function(e){return ce().off(e),a.apply(this,arguments)},o.guid=a.guid||(a.guid=ce.guid++)),e.each(function(){ce.event.add(this,t,o,r,n)})}function w(e,t){return ce.nodeName(e,"table")&&ce.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function E(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function T(e){var t=Ye.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function S(e,t){var n,r,o,i,a,s,u,c;if(1===t.nodeType){if(Me.hasData(e)&&(i=Me.access(e),a=Me.set(t,i),c=i.events)){delete a.handle,a.events={};for(o in c)for(n=0,r=c[o].length;n<r;n++)ce.event.add(t,o,c[o][n])}Pe.hasData(e)&&(s=Pe.access(e),u=ce.extend({},s),Pe.set(t,u))}}function C(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Le.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function x(e,t,n,r){t=te.apply([],t);var o,i,a,s,u,c,l=0,f=e.length,d=f-1,p=t[0],v=ce.isFunction(p);if(v||f>1&&"string"==typeof p&&!se.checkClone&&Ke.test(p))return e.each(function(o){var i=e.eq(o);v&&(t[0]=p.call(this,o,i.html())),x(i,t,n,r)});if(f&&(o=y(t,e[0].ownerDocument,!1,e,r),i=o.firstChild,1===o.childNodes.length&&(o=i),i||r)){for(a=ce.map(h(o,"script"),E),s=a.length;l<f;l++)u=o,l!==d&&(u=ce.clone(u,!0,!0),s&&ce.merge(a,h(u,"script"))),n.call(e[l],u,l);if(s)for(c=a[a.length-1].ownerDocument,ce.map(a,T),l=0;l<s;l++)u=a[l],Ue.test(u.type||"")&&!Me.access(u,"globalEval")&&ce.contains(c,u)&&(u.src?ce._evalUrl&&ce._evalUrl(u.src):ce.globalEval(u.textContent.replace($e,"")))}return e}function O(e,t,n){for(var r,o=t?ce.filter(t,e):e,i=0;null!=(r=o[i]);i++)n||1!==r.nodeType||ce.cleanData(h(r)),r.parentNode&&(n&&ce.contains(r.ownerDocument,r)&&v(h(r,"script")),r.parentNode.removeChild(r));return e}function k(e,t){var n=ce(t.createElement(e)).appendTo(t.body),r=ce.css(n[0],"display");return n.detach(),r}function M(e){var t=Z,n=Qe[e];return n||(n=k(e,t),"none"!==n&&n||(Xe=(Xe||ce("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement),t=Xe[0].contentDocument,t.write(),t.close(),n=k(e,t),Xe.detach()),Qe[e]=n),n}function P(e,t,n){var r,o,i,a,s=e.style;return n=n||et(e),a=n?n.getPropertyValue(t)||n[t]:void 0,""!==a&&void 0!==a||ce.contains(e.ownerDocument,e)||(a=ce.style(e,t)),n&&!se.pixelMarginRight()&&Ze.test(a)&&Je.test(t)&&(r=s.width,o=s.minWidth,i=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=o,s.maxWidth=i),void 0!==a?a+"":a}function A(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function I(e){if(e in st)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=at.length;n--;)if(e=at[n]+t,e in st)return e}function j(e,t,n){var r=De.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function D(e,t,n,r,o){for(var i=n===(r?"border":"content")?4:"width"===t?1:0,a=0;i<4;i+=2)"margin"===n&&(a+=ce.css(e,n+Re[i],!0,o)),r?("content"===n&&(a-=ce.css(e,"padding"+Re[i],!0,o)),"margin"!==n&&(a-=ce.css(e,"border"+Re[i]+"Width",!0,o))):(a+=ce.css(e,"padding"+Re[i],!0,o),"padding"!==n&&(a+=ce.css(e,"border"+Re[i]+"Width",!0,o)));return a}function R(e,t,n){var r=!0,o="width"===t?e.offsetWidth:e.offsetHeight,i=et(e),a="border-box"===ce.css(e,"boxSizing",!1,i);if(o<=0||null==o){if(o=P(e,t,i),(o<0||null==o)&&(o=e.style[t]),Ze.test(o))return o;r=a&&(se.boxSizingReliable()||o===e.style[t]),o=parseFloat(o)||0}return o+D(e,t,n||(a?"border":"content"),r,i)+"px"}function N(e,t){for(var n,r,o,i=[],a=0,s=e.length;a<s;a++)r=e[a],r.style&&(i[a]=Me.get(r,"olddisplay"),n=r.style.display,t?(i[a]||"none"!==n||(r.style.display=""),""===r.style.display&&Ne(r)&&(i[a]=Me.access(r,"olddisplay",M(r.nodeName)))):(o=Ne(r),"none"===n&&o||Me.set(r,"olddisplay",o?n:ce.css(r,"display"))));for(a=0;a<s;a++)r=e[a],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?i[a]||"":"none"));return e}function L(e,t,n,r,o){return new L.prototype.init(e,t,n,r,o)}function F(){return n.setTimeout(function(){ut=void 0}),ut=ce.now()}function U(e,t){var n,r=0,o={height:e};for(t=t?1:0;r<4;r+=2-t)n=Re[r],o["margin"+n]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function B(e,t,n){for(var r,o=(z.tweeners[t]||[]).concat(z.tweeners["*"]),i=0,a=o.length;i<a;i++)if(r=o[i].call(n,t,e))return r}function q(e,t,n){var r,o,i,a,s,u,c,l,f=this,d={},p=e.style,h=e.nodeType&&Ne(e),v=Me.get(e,"fxshow");n.queue||(s=ce._queueHooks(e,"fx"),null==s.unqueued&&(s.unqueued=0,u=s.empty.fire,s.empty.fire=function(){s.unqueued||u()}),s.unqueued++,f.always(function(){f.always(function(){s.unqueued--,ce.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],c=ce.css(e,"display"),l="none"===c?Me.get(e,"olddisplay")||M(e.nodeName):c,"inline"===l&&"none"===ce.css(e,"float")&&(p.display="inline-block")),n.overflow&&(p.overflow="hidden",f.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}));for(r in t)if(o=t[r],lt.exec(o)){if(delete t[r],i=i||"toggle"===o,o===(h?"hide":"show")){if("show"!==o||!v||void 0===v[r])continue;h=!0}d[r]=v&&v[r]||ce.style(e,r)}else c=void 0;if(ce.isEmptyObject(d))"inline"===("none"===c?M(e.nodeName):c)&&(p.display=c);else{v?"hidden"in v&&(h=v.hidden):v=Me.access(e,"fxshow",{}),i&&(v.hidden=!h),h?ce(e).show():f.done(function(){ce(e).hide()}),f.done(function(){var t;Me.remove(e,"fxshow");for(t in d)ce.style(e,t,d[t])});for(r in d)a=B(h?v[r]:0,r,f),r in v||(v[r]=a.start,h&&(a.end=a.start,a.start="width"===r||"height"===r?1:0))}}function W(e,t){var n,r,o,i,a;for(n in e)if(r=ce.camelCase(n),o=t[r],i=e[n],ce.isArray(i)&&(o=i[1],i=e[n]=i[0]),n!==r&&(e[r]=i,delete e[n]),a=ce.cssHooks[r],a&&"expand"in a){i=a.expand(i),delete e[r];for(n in i)n in e||(e[n]=i[n],t[n]=o)}else t[r]=o}function z(e,t,n){var r,o,i=0,a=z.prefilters.length,s=ce.Deferred().always(function(){delete u.elem}),u=function(){if(o)return!1;for(var t=ut||F(),n=Math.max(0,c.startTime+c.duration-t),r=n/c.duration||0,i=1-r,a=0,u=c.tweens.length;a<u;a++)c.tweens[a].run(i);return s.notifyWith(e,[c,i,n]),i<1&&u?n:(s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:ce.extend({},t),opts:ce.extend(!0,{specialEasing:{},easing:ce.easing._default},n),originalProperties:t,originalOptions:n,startTime:ut||F(),duration:n.duration,tweens:[],createTween:function(t,n){var r=ce.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(r),r},stop:function(t){var n=0,r=t?c.tweens.length:0;if(o)return this;for(o=!0;n<r;n++)c.tweens[n].run(1);return t?(s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c,t])):s.rejectWith(e,[c,t]),this}}),l=c.props;for(W(l,c.opts.specialEasing);i<a;i++)if(r=z.prefilters[i].call(c,e,l,c.opts))return ce.isFunction(r.stop)&&(ce._queueHooks(c.elem,c.opts.queue).stop=ce.proxy(r.stop,r)),r;return ce.map(l,B,c),ce.isFunction(c.opts.start)&&c.opts.start.call(e,c),ce.fx.timer(ce.extend(u,{elem:e,anim:c,queue:c.opts.queue})),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always)}function H(e){return e.getAttribute&&e.getAttribute("class")||""}function V(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,o=0,i=t.toLowerCase().match(Ce)||[];if(ce.isFunction(n))for(;r=i[o++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function G(e,t,n,r){function o(s){var u;return i[s]=!0,ce.each(e[s]||[],function(e,s){var c=s(t,n,r);return"string"!=typeof c||a||i[c]?a?!(u=c):void 0:(t.dataTypes.unshift(c),o(c),!1)}),u}var i={},a=e===Pt;return o(t.dataTypes[0])||!i["*"]&&o("*")}function K(e,t){var n,r,o=ce.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:r||(r={}))[n]=t[n]);return r&&ce.extend(!0,e,r),e}function Y(e,t,n){for(var r,o,i,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(o in s)if(s[o]&&s[o].test(r)){u.unshift(o);break}if(u[0]in n)i=u[0];else{for(o in n){if(!u[0]||e.converters[o+" "+u[0]]){i=o;break}a||(a=o)}i=i||a}if(i)return i!==u[0]&&u.unshift(i),n[i]}function $(e,t,n,r){var o,i,a,s,u,c={},l=e.dataTypes.slice();if(l[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(i=l.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=i,i=l.shift())if("*"===i)i=u;else if("*"!==u&&u!==i){if(a=c[u+" "+i]||c["* "+i],!a)for(o in c)if(s=o.split(" "),s[1]===i&&(a=c[u+" "+s[0]]||c["* "+s[0]])){a===!0?a=c[o]:c[o]!==!0&&(i=s[0],l.unshift(s[1]));break}if(a!==!0)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+i}}}return{state:"success",data:t}}function X(e,t,n,r){var o;if(ce.isArray(t))ce.each(t,function(t,o){n||Dt.test(e)?r(e,o):X(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,r)});else if(n||"object"!==ce.type(t))r(e,t);else for(o in t)X(e+"["+o+"]",t[o],n,r)}function Q(e){return ce.isWindow(e)?e:9===e.nodeType&&e.defaultView}var J=[],Z=n.document,ee=J.slice,te=J.concat,ne=J.push,re=J.indexOf,oe={},ie=oe.toString,ae=oe.hasOwnProperty,se={},ue="2.2.4",ce=function(e,t){return new ce.fn.init(e,t)},le=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,fe=/^-ms-/,de=/-([\da-z])/gi,pe=function(e,t){return t.toUpperCase()};ce.fn=ce.prototype={jquery:ue,constructor:ce,selector:"",length:0,toArray:function(){return ee.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:ee.call(this)},pushStack:function(e){var t=ce.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e){return ce.each(this,e)},map:function(e){return this.pushStack(ce.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(ee.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:ne,sort:J.sort,splice:J.splice},ce.extend=ce.fn.extend=function(){var e,t,n,r,o,i,a=arguments[0]||{},s=1,u=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[s]||{},s++),"object"==typeof a||ce.isFunction(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)n=a[t],r=e[t],a!==r&&(c&&r&&(ce.isPlainObject(r)||(o=ce.isArray(r)))?(o?(o=!1,i=n&&ce.isArray(n)?n:[]):i=n&&ce.isPlainObject(n)?n:{},a[t]=ce.extend(c,i,r)):void 0!==r&&(a[t]=r));return a},ce.extend({expando:"jQuery"+(ue+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===ce.type(e)},isArray:Array.isArray,isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){var t=e&&e.toString();return!ce.isArray(e)&&t-parseFloat(t)+1>=0},isPlainObject:function(e){var t;if("object"!==ce.type(e)||e.nodeType||ce.isWindow(e))return!1;if(e.constructor&&!ae.call(e,"constructor")&&!ae.call(e.constructor.prototype||{},"isPrototypeOf"))return!1;for(t in e);return void 0===t||ae.call(e,t)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?oe[ie.call(e)]||"object":typeof e},globalEval:function(e){var t,n=eval;e=ce.trim(e),e&&(1===e.indexOf("use strict")?(t=Z.createElement("script"),t.text=e,Z.head.appendChild(t).parentNode.removeChild(t)):n(e))},camelCase:function(e){return e.replace(fe,"ms-").replace(de,pe)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var n,r=0;if(a(e))for(n=e.length;r<n&&t.call(e[r],r,e[r])!==!1;r++);else for(r in e)if(t.call(e[r],r,e[r])===!1)break;return e},trim:function(e){return null==e?"":(e+"").replace(le,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(a(Object(e))?ce.merge(n,"string"==typeof e?[e]:e):ne.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:re.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,o=e.length;r<n;r++)e[o++]=t[r];return e.length=o,e},grep:function(e,t,n){for(var r,o=[],i=0,a=e.length,s=!n;i<a;i++)r=!t(e[i],i),r!==s&&o.push(e[i]);return o},map:function(e,t,n){var r,o,i=0,s=[];if(a(e))for(r=e.length;i<r;i++)o=t(e[i],i,n),null!=o&&s.push(o);else for(i in e)o=t(e[i],i,n),null!=o&&s.push(o);return te.apply([],s)},guid:1,proxy:function(e,t){var n,r,o;if("string"==typeof t&&(n=e[t],t=e,e=n),ce.isFunction(e))return r=ee.call(arguments,2),o=function(){return e.apply(t||this,r.concat(ee.call(arguments)))},o.guid=e.guid=e.guid||ce.guid++,o},now:Date.now,support:se}),"function"==typeof Symbol&&(ce.fn[Symbol.iterator]=J[Symbol.iterator]),ce.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){oe["[object "+t+"]"]=t.toLowerCase()});var he=/*!
+	 * Sizzle CSS Selector Engine v2.2.1
+	 * http://sizzlejs.com/
+	 *
+	 * Copyright jQuery Foundation and other contributors
+	 * Released under the MIT license
+	 * http://jquery.org/license
+	 *
+	 * Date: 2015-10-17
+	 */
+function(e){function t(e,t,n,r){var o,i,a,s,u,c,f,p,h=t&&t.ownerDocument,v=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==v&&9!==v&&11!==v)return n;if(!r&&((t?t.ownerDocument||t:B)!==I&&A(t),t=t||I,D)){if(11!==v&&(c=ge.exec(e)))if(o=c[1]){if(9===v){if(!(a=t.getElementById(o)))return n;if(a.id===o)return n.push(a),n}else if(h&&(a=h.getElementById(o))&&F(t,a)&&a.id===o)return n.push(a),n}else{if(c[2])return J.apply(n,t.getElementsByTagName(e)),n;if((o=c[3])&&w.getElementsByClassName&&t.getElementsByClassName)return J.apply(n,t.getElementsByClassName(o)),n}if(w.qsa&&!V[e+" "]&&(!R||!R.test(e))){if(1!==v)h=t,p=e;else if("object"!==t.nodeName.toLowerCase()){for((s=t.getAttribute("id"))?s=s.replace(_e,"\\$&"):t.setAttribute("id",s=U),f=C(e),i=f.length,u=de.test(s)?"#"+s:"[id='"+s+"']";i--;)f[i]=u+" "+d(f[i]);p=f.join(","),h=me.test(e)&&l(t.parentNode)||t}if(p)try{return J.apply(n,h.querySelectorAll(p)),n}catch(e){}finally{s===U&&t.removeAttribute("id")}}}return O(e.replace(se,"$1"),t,n,r)}function n(){function e(n,r){return t.push(n+" ")>E.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[U]=!0,e}function o(e){var t=I.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function i(e,t){for(var n=e.split("|"),r=n.length;r--;)E.attrHandle[n[r]]=t}function a(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||K)-(~e.sourceIndex||K);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function u(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function c(e){return r(function(t){return t=+t,r(function(n,r){for(var o,i=e([],n.length,t),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))})})}function l(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function f(){}function d(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function p(e,t,n){var r=t.dir,o=n&&"parentNode"===r,i=W++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||o)return e(t,n,i)}:function(t,n,a){var s,u,c,l=[q,i];if(a){for(;t=t[r];)if((1===t.nodeType||o)&&e(t,n,a))return!0}else for(;t=t[r];)if(1===t.nodeType||o){if(c=t[U]||(t[U]={}),u=c[t.uniqueID]||(c[t.uniqueID]={}),(s=u[r])&&s[0]===q&&s[1]===i)return l[2]=s[2];if(u[r]=l,l[2]=e(t,n,a))return!0}}}function h(e){return e.length>1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function v(e,n,r){for(var o=0,i=n.length;o<i;o++)t(e,n[o],r);return r}function y(e,t,n,r,o){for(var i,a=[],s=0,u=e.length,c=null!=t;s<u;s++)(i=e[s])&&(n&&!n(i,r,o)||(a.push(i),c&&t.push(s)));return a}function g(e,t,n,o,i,a){return o&&!o[U]&&(o=g(o)),i&&!i[U]&&(i=g(i,a)),r(function(r,a,s,u){var c,l,f,d=[],p=[],h=a.length,g=r||v(t||"*",s.nodeType?[s]:s,[]),m=!e||!r&&t?g:y(g,d,e,s,u),_=n?i||(r?e:h||o)?[]:a:m;if(n&&n(m,_,s,u),o)for(c=y(_,p),o(c,[],s,u),l=c.length;l--;)(f=c[l])&&(_[p[l]]=!(m[p[l]]=f));if(r){if(i||e){if(i){for(c=[],l=_.length;l--;)(f=_[l])&&c.push(m[l]=f);i(null,_=[],c,u)}for(l=_.length;l--;)(f=_[l])&&(c=i?ee(r,f):d[l])>-1&&(r[c]=!(a[c]=f))}}else _=y(_===a?_.splice(h,_.length):_),i?i(null,a,_,u):J.apply(a,_)})}function m(e){for(var t,n,r,o=e.length,i=E.relative[e[0].type],a=i||E.relative[" "],s=i?1:0,u=p(function(e){return e===t},a,!0),c=p(function(e){return ee(t,e)>-1},a,!0),l=[function(e,n,r){var o=!i&&(r||n!==k)||((t=n).nodeType?u(e,n,r):c(e,n,r));return t=null,o}];s<o;s++)if(n=E.relative[e[s].type])l=[p(h(l),n)];else{if(n=E.filter[e[s].type].apply(null,e[s].matches),n[U]){for(r=++s;r<o&&!E.relative[e[r].type];r++);return g(s>1&&h(l),s>1&&d(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(se,"$1"),n,s<r&&m(e.slice(s,r)),r<o&&m(e=e.slice(r)),r<o&&d(e))}l.push(n)}return h(l)}function _(e,n){var o=n.length>0,i=e.length>0,a=function(r,a,s,u,c){var l,f,d,p=0,h="0",v=r&&[],g=[],m=k,_=r||i&&E.find.TAG("*",c),b=q+=null==m?1:Math.random()||.1,w=_.length;for(c&&(k=a===I||a||c);h!==w&&null!=(l=_[h]);h++){if(i&&l){for(f=0,a||l.ownerDocument===I||(A(l),s=!D);d=e[f++];)if(d(l,a||I,s)){u.push(l);break}c&&(q=b)}o&&((l=!d&&l)&&p--,r&&v.push(l))}if(p+=h,o&&h!==p){for(f=0;d=n[f++];)d(v,g,a,s);if(r){if(p>0)for(;h--;)v[h]||g[h]||(g[h]=X.call(u));g=y(g)}J.apply(u,g),c&&!r&&g.length>0&&p+n.length>1&&t.uniqueSort(u)}return c&&(q=b,k=m),v};return o?r(a):a}var b,w,E,T,S,C,x,O,k,M,P,A,I,j,D,R,N,L,F,U="sizzle"+1*new Date,B=e.document,q=0,W=0,z=n(),H=n(),V=n(),G=function(e,t){return e===t&&(P=!0),0},K=1<<31,Y={}.hasOwnProperty,$=[],X=$.pop,Q=$.push,J=$.push,Z=$.slice,ee=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},te="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ne="[\\x20\\t\\r\\n\\f]",re="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",oe="\\["+ne+"*("+re+")(?:"+ne+"*([*^$|!~]?=)"+ne+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+re+"))|)"+ne+"*\\]",ie=":("+re+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+oe+")*)|.*)\\)|)",ae=new RegExp(ne+"+","g"),se=new RegExp("^"+ne+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ne+"+$","g"),ue=new RegExp("^"+ne+"*,"+ne+"*"),ce=new RegExp("^"+ne+"*([>+~]|"+ne+")"+ne+"*"),le=new RegExp("="+ne+"*([^\\]'\"]*?)"+ne+"*\\]","g"),fe=new RegExp(ie),de=new RegExp("^"+re+"$"),pe={ID:new RegExp("^#("+re+")"),CLASS:new RegExp("^\\.("+re+")"),TAG:new RegExp("^("+re+"|[*])"),ATTR:new RegExp("^"+oe),PSEUDO:new RegExp("^"+ie),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ne+"*(even|odd|(([+-]|)(\\d*)n|)"+ne+"*(?:([+-]|)"+ne+"*(\\d+)|))"+ne+"*\\)|)","i"),bool:new RegExp("^(?:"+te+")$","i"),needsContext:new RegExp("^"+ne+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ne+"*((?:-\\d)?\\d*)"+ne+"*\\)|)(?=[^-]|$)","i")},he=/^(?:input|select|textarea|button)$/i,ve=/^h\d$/i,ye=/^[^{]+\{\s*\[native \w/,ge=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,me=/[+~]/,_e=/'|\\/g,be=new RegExp("\\\\([\\da-f]{1,6}"+ne+"?|("+ne+")|.)","ig"),we=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},Ee=function(){A()};try{J.apply($=Z.call(B.childNodes),B.childNodes),$[B.childNodes.length].nodeType}catch(e){J={apply:$.length?function(e,t){Q.apply(e,Z.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}w=t.support={},S=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},A=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:B;return r!==I&&9===r.nodeType&&r.documentElement?(I=r,j=I.documentElement,D=!S(I),(n=I.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",Ee,!1):n.attachEvent&&n.attachEvent("onunload",Ee)),w.attributes=o(function(e){return e.className="i",!e.getAttribute("className")}),w.getElementsByTagName=o(function(e){return e.appendChild(I.createComment("")),!e.getElementsByTagName("*").length}),w.getElementsByClassName=ye.test(I.getElementsByClassName),w.getById=o(function(e){return j.appendChild(e).id=U,!I.getElementsByName||!I.getElementsByName(U).length}),w.getById?(E.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&D){var n=t.getElementById(e);return n?[n]:[]}},E.filter.ID=function(e){var t=e.replace(be,we);return function(e){return e.getAttribute("id")===t}}):(delete E.find.ID,E.filter.ID=function(e){var t=e.replace(be,we);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}}),E.find.TAG=w.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):w.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],o=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[o++];)1===n.nodeType&&r.push(n);return r}return i},E.find.CLASS=w.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&D)return t.getElementsByClassName(e)},N=[],R=[],(w.qsa=ye.test(I.querySelectorAll))&&(o(function(e){j.appendChild(e).innerHTML="<a id='"+U+"'></a><select id='"+U+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&R.push("[*^$]="+ne+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||R.push("\\["+ne+"*(?:value|"+te+")"),e.querySelectorAll("[id~="+U+"-]").length||R.push("~="),e.querySelectorAll(":checked").length||R.push(":checked"),e.querySelectorAll("a#"+U+"+*").length||R.push(".#.+[+~]")}),o(function(e){var t=I.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&R.push("name"+ne+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||R.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),R.push(",.*:")})),(w.matchesSelector=ye.test(L=j.matches||j.webkitMatchesSelector||j.mozMatchesSelector||j.oMatchesSelector||j.msMatchesSelector))&&o(function(e){w.disconnectedMatch=L.call(e,"div"),L.call(e,"[s!='']:x"),N.push("!=",ie)}),R=R.length&&new RegExp(R.join("|")),N=N.length&&new RegExp(N.join("|")),t=ye.test(j.compareDocumentPosition),F=t||ye.test(j.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},G=t?function(e,t){if(e===t)return P=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n?n:(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!w.sortDetached&&t.compareDocumentPosition(e)===n?e===I||e.ownerDocument===B&&F(B,e)?-1:t===I||t.ownerDocument===B&&F(B,t)?1:M?ee(M,e)-ee(M,t):0:4&n?-1:1)}:function(e,t){if(e===t)return P=!0,0;var n,r=0,o=e.parentNode,i=t.parentNode,s=[e],u=[t];if(!o||!i)return e===I?-1:t===I?1:o?-1:i?1:M?ee(M,e)-ee(M,t):0;if(o===i)return a(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)u.unshift(n);for(;s[r]===u[r];)r++;return r?a(s[r],u[r]):s[r]===B?-1:u[r]===B?1:0},I):I},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==I&&A(e),n=n.replace(le,"='$1']"),w.matchesSelector&&D&&!V[n+" "]&&(!N||!N.test(n))&&(!R||!R.test(n)))try{var r=L.call(e,n);if(r||w.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return t(n,I,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==I&&A(e),F(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==I&&A(e);var n=E.attrHandle[t.toLowerCase()],r=n&&Y.call(E.attrHandle,t.toLowerCase())?n(e,t,!D):void 0;return void 0!==r?r:w.attributes||!D?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,o=0;if(P=!w.detectDuplicates,M=!w.sortStable&&e.slice(0),e.sort(G),P){for(;t=e[o++];)t===e[o]&&(r=n.push(o));for(;r--;)e.splice(n[r],1)}return M=null,e},T=t.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=T(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=T(t);return n},E=t.selectors={cacheLength:50,createPseudo:r,match:pe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(be,we),e[3]=(e[3]||e[4]||e[5]||"").replace(be,we),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return pe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&fe.test(n)&&(t=C(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(be,we).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=z[e+" "];return t||(t=new RegExp("(^|"+ne+")"+e+"("+ne+"|$)"))&&z(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(o){var i=t.attr(o,e);return null==i?"!="===n:!n||(i+="","="===n?i===r:"!="===n?i!==r:"^="===n?r&&0===i.indexOf(r):"*="===n?r&&i.indexOf(r)>-1:"$="===n?r&&i.slice(-r.length)===r:"~="===n?(" "+i.replace(ae," ")+" ").indexOf(r)>-1:"|="===n&&(i===r||i.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,n,r,o){var i="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,u){var c,l,f,d,p,h,v=i!==a?"nextSibling":"previousSibling",y=t.parentNode,g=s&&t.nodeName.toLowerCase(),m=!u&&!s,_=!1;if(y){if(i){for(;v;){for(d=t;d=d[v];)if(s?d.nodeName.toLowerCase()===g:1===d.nodeType)return!1;h=v="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?y.firstChild:y.lastChild],a&&m){for(d=y,f=d[U]||(d[U]={}),l=f[d.uniqueID]||(f[d.uniqueID]={}),c=l[e]||[],p=c[0]===q&&c[1],_=p&&c[2],d=p&&y.childNodes[p];d=++p&&d&&d[v]||(_=p=0)||h.pop();)if(1===d.nodeType&&++_&&d===t){l[e]=[q,p,_];break}}else if(m&&(d=t,f=d[U]||(d[U]={}),l=f[d.uniqueID]||(f[d.uniqueID]={}),c=l[e]||[],p=c[0]===q&&c[1],_=p),_===!1)for(;(d=++p&&d&&d[v]||(_=p=0)||h.pop())&&((s?d.nodeName.toLowerCase()!==g:1!==d.nodeType)||!++_||(m&&(f=d[U]||(d[U]={}),l=f[d.uniqueID]||(f[d.uniqueID]={}),l[e]=[q,_]),d!==t)););return _-=o,_===r||_%r===0&&_/r>=0}}},PSEUDO:function(e,n){var o,i=E.pseudos[e]||E.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return i[U]?i(n):i.length>1?(o=[e,e,"",n],E.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,o=i(e,n),a=o.length;a--;)r=ee(e,o[a]),e[r]=!(t[r]=o[a])}):function(e){return i(e,0,o)}):i}},pseudos:{not:r(function(e){var t=[],n=[],o=x(e.replace(se,"$1"));return o[U]?r(function(e,t,n,r){for(var i,a=o(e,null,r,[]),s=e.length;s--;)(i=a[s])&&(e[s]=!(t[s]=i))}):function(e,r,i){return t[0]=e,o(t,null,i,n),t[0]=null,!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return e=e.replace(be,we),function(t){return(t.textContent||t.innerText||T(t)).indexOf(e)>-1}}),lang:r(function(e){return de.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(be,we).toLowerCase(),function(t){var n;do if(n=D?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===j},focus:function(e){return e===I.activeElement&&(!I.hasFocus||I.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!E.pseudos.empty(e)},header:function(e){return ve.test(e.nodeName)},input:function(e){return he.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:c(function(){return[0]}),last:c(function(e,t){return[t-1]}),eq:c(function(e,t,n){return[n<0?n+t:n]}),even:c(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:c(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:c(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:c(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}},E.pseudos.nth=E.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})E.pseudos[b]=s(b);for(b in{submit:!0,reset:!0})E.pseudos[b]=u(b);return f.prototype=E.filters=E.pseudos,E.setFilters=new f,C=t.tokenize=function(e,n){var r,o,i,a,s,u,c,l=H[e+" "];if(l)return n?0:l.slice(0);for(s=e,u=[],c=E.preFilter;s;){r&&!(o=ue.exec(s))||(o&&(s=s.slice(o[0].length)||s),u.push(i=[])),r=!1,(o=ce.exec(s))&&(r=o.shift(),i.push({value:r,type:o[0].replace(se," ")}),s=s.slice(r.length));for(a in E.filter)!(o=pe[a].exec(s))||c[a]&&!(o=c[a](o))||(r=o.shift(),i.push({value:r,type:a,matches:o}),s=s.slice(r.length));if(!r)break}return n?s.length:s?t.error(e):H(e,u).slice(0)},x=t.compile=function(e,t){var n,r=[],o=[],i=V[e+" "];if(!i){for(t||(t=C(e)),n=t.length;n--;)i=m(t[n]),i[U]?r.push(i):o.push(i);i=V(e,_(o,r)),i.selector=e}return i},O=t.select=function(e,t,n,r){var o,i,a,s,u,c="function"==typeof e&&e,f=!r&&C(e=c.selector||e);if(n=n||[],1===f.length){if(i=f[0]=f[0].slice(0),i.length>2&&"ID"===(a=i[0]).type&&w.getById&&9===t.nodeType&&D&&E.relative[i[1].type]){if(t=(E.find.ID(a.matches[0].replace(be,we),t)||[])[0],!t)return n;c&&(t=t.parentNode),e=e.slice(i.shift().value.length)}for(o=pe.needsContext.test(e)?0:i.length;o--&&(a=i[o],!E.relative[s=a.type]);)if((u=E.find[s])&&(r=u(a.matches[0].replace(be,we),me.test(i[0].type)&&l(t.parentNode)||t))){if(i.splice(o,1),e=r.length&&d(i),!e)return J.apply(n,r),n;break}}return(c||x(e,f))(r,t,!D,n,!t||me.test(e)&&l(t.parentNode)||t),n},w.sortStable=U.split("").sort(G).join("")===U,w.detectDuplicates=!!P,A(),w.sortDetached=o(function(e){return 1&e.compareDocumentPosition(I.createElement("div"))}),o(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||i("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),w.attributes&&o(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||i("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),o(function(e){return null==e.getAttribute("disabled")})||i(te,function(e,t,n){var r;if(!n)return e[t]===!0?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(n);ce.find=he,ce.expr=he.selectors,ce.expr[":"]=ce.expr.pseudos,ce.uniqueSort=ce.unique=he.uniqueSort,ce.text=he.getText,ce.isXMLDoc=he.isXML,ce.contains=he.contains;var ve=function(e,t,n){for(var r=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&ce(e).is(n))break;r.push(e)}return r},ye=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},ge=ce.expr.match.needsContext,me=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,_e=/^.[^:#\[\.,]*$/;ce.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?ce.find.matchesSelector(r,e)?[r]:[]:ce.find.matches(e,ce.grep(t,function(e){return 1===e.nodeType}))},ce.fn.extend({find:function(e){var t,n=this.length,r=[],o=this;if("string"!=typeof e)return this.pushStack(ce(e).filter(function(){for(t=0;t<n;t++)if(ce.contains(o[t],this))return!0}));for(t=0;t<n;t++)ce.find(e,o[t],r);return r=this.pushStack(n>1?ce.unique(r):r),r.selector=this.selector?this.selector+" "+e:e,r},filter:function(e){return this.pushStack(s(this,e||[],!1))},not:function(e){return this.pushStack(s(this,e||[],!0))},is:function(e){return!!s(this,"string"==typeof e&&ge.test(e)?ce(e):e||[],!1).length}});var be,we=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,Ee=ce.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||be,"string"==typeof e){if(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:we.exec(e),!r||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof ce?t[0]:t,ce.merge(this,ce.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:Z,!0)),me.test(r[1])&&ce.isPlainObject(t))for(r in t)ce.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return o=Z.getElementById(r[2]),o&&o.parentNode&&(this.length=1,this[0]=o),this.context=Z,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):ce.isFunction(e)?void 0!==n.ready?n.ready(e):e(ce):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),ce.makeArray(e,this))};Ee.prototype=ce.fn,be=ce(Z);var Te=/^(?:parents|prev(?:Until|All))/,Se={children:!0,contents:!0,next:!0,prev:!0};ce.fn.extend({has:function(e){var t=ce(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(ce.contains(this,t[e]))return!0})},closest:function(e,t){for(var n,r=0,o=this.length,i=[],a=ge.test(e)||"string"!=typeof e?ce(e,t||this.context):0;r<o;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&ce.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?ce.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?re.call(ce(e),this[0]):re.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(ce.uniqueSort(ce.merge(this.get(),ce(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),ce.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return ve(e,"parentNode")},parentsUntil:function(e,t,n){return ve(e,"parentNode",n)},next:function(e){return u(e,"nextSibling")},prev:function(e){return u(e,"previousSibling")},nextAll:function(e){return ve(e,"nextSibling")},prevAll:function(e){return ve(e,"previousSibling")},nextUntil:function(e,t,n){return ve(e,"nextSibling",n)},prevUntil:function(e,t,n){return ve(e,"previousSibling",n)},siblings:function(e){return ye((e.parentNode||{}).firstChild,e)},children:function(e){return ye(e.firstChild)},contents:function(e){return e.contentDocument||ce.merge([],e.childNodes)}},function(e,t){ce.fn[e]=function(n,r){var o=ce.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=ce.filter(r,o)),this.length>1&&(Se[e]||ce.uniqueSort(o),Te.test(e)&&o.reverse()),this.pushStack(o)}});var Ce=/\S+/g;ce.Callbacks=function(e){e="string"==typeof e?c(e):ce.extend({},e);var t,n,r,o,i=[],a=[],s=-1,u=function(){for(o=e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<i.length;)i[s].apply(n[0],n[1])===!1&&e.stopOnFalse&&(s=i.length,n=!1);e.memory||(n=!1),t=!1,o&&(i=n?[]:"")},l={add:function(){return i&&(n&&!t&&(s=i.length-1,a.push(n)),function t(n){ce.each(n,function(n,r){ce.isFunction(r)?e.unique&&l.has(r)||i.push(r):r&&r.length&&"string"!==ce.type(r)&&t(r)})}(arguments),n&&!t&&u()),this},remove:function(){return ce.each(arguments,function(e,t){for(var n;(n=ce.inArray(t,i,n))>-1;)i.splice(n,1),n<=s&&s--}),this},has:function(e){return e?ce.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=a=[],i=n="",this},disabled:function(){return!i},lock:function(){return o=a=[],n||(i=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=n||[],n=[e,n.slice?n.slice():n],a.push(n),t||u()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},ce.extend({Deferred:function(e){var t=[["resolve","done",ce.Callbacks("once memory"),"resolved"],["reject","fail",ce.Callbacks("once memory"),"rejected"],["notify","progress",ce.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},then:function(){var e=arguments;return ce.Deferred(function(n){ce.each(t,function(t,i){var a=ce.isFunction(e[t])&&e[t];o[i[1]](function(){var e=a&&a.apply(this,arguments);e&&ce.isFunction(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[i[0]+"With"](this===r?n.promise():this,a?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?ce.extend(e,r):r}},o={};return r.pipe=r.then,ce.each(t,function(e,i){var a=i[2],s=i[3];r[i[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),o[i[0]]=function(){return o[i[0]+"With"](this===o?r:this,arguments),this},o[i[0]+"With"]=a.fireWith}),r.promise(o),e&&e.call(o,o),o},when:function(e){var t,n,r,o=0,i=ee.call(arguments),a=i.length,s=1!==a||e&&ce.isFunction(e.promise)?a:0,u=1===s?e:ce.Deferred(),c=function(e,n,r){return function(o){n[e]=this,r[e]=arguments.length>1?ee.call(arguments):o,r===t?u.notifyWith(n,r):--s||u.resolveWith(n,r)}};if(a>1)for(t=new Array(a),n=new Array(a),r=new Array(a);o<a;o++)i[o]&&ce.isFunction(i[o].promise)?i[o].promise().progress(c(o,n,t)).done(c(o,r,i)).fail(u.reject):--s;return s||u.resolveWith(r,i),u.promise()}});var xe;ce.fn.ready=function(e){return ce.ready.promise().done(e),this},ce.extend({isReady:!1,readyWait:1,holdReady:function(e){e?ce.readyWait++:ce.ready(!0)},ready:function(e){(e===!0?--ce.readyWait:ce.isReady)||(ce.isReady=!0,e!==!0&&--ce.readyWait>0||(xe.resolveWith(Z,[ce]),ce.fn.triggerHandler&&(ce(Z).triggerHandler("ready"),ce(Z).off("ready"))))}}),ce.ready.promise=function(e){return xe||(xe=ce.Deferred(),"complete"===Z.readyState||"loading"!==Z.readyState&&!Z.documentElement.doScroll?n.setTimeout(ce.ready):(Z.addEventListener("DOMContentLoaded",l),n.addEventListener("load",l))),xe.promise(e)},ce.ready.promise();var Oe=function(e,t,n,r,o,i,a){var s=0,u=e.length,c=null==n;if("object"===ce.type(n)){o=!0;for(s in n)Oe(e,t,s,n[s],!0,i,a)}else if(void 0!==r&&(o=!0,ce.isFunction(r)||(a=!0),c&&(a?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.call(ce(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return o?e:c?t.call(e):u?t(e[0],n):i},ke=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};f.uid=1,f.prototype={register:function(e,t){var n=t||{};return e.nodeType?e[this.expando]=n:Object.defineProperty(e,this.expando,{value:n,writable:!0,configurable:!0}),e[this.expando]},cache:function(e){if(!ke(e))return{};var t=e[this.expando];return t||(t={},ke(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,o=this.cache(e);if("string"==typeof t)o[t]=n;else for(r in t)o[r]=t[r];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][t]},access:function(e,t,n){var r;return void 0===t||t&&"string"==typeof t&&void 0===n?(r=this.get(e,t),void 0!==r?r:this.get(e,ce.camelCase(t))):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r,o,i=e[this.expando];if(void 0!==i){if(void 0===t)this.register(e);else{ce.isArray(t)?r=t.concat(t.map(ce.camelCase)):(o=ce.camelCase(t),t in i?r=[t,o]:(r=o,r=r in i?[r]:r.match(Ce)||[])),n=r.length;for(;n--;)delete i[r[n]]}(void 0===t||ce.isEmptyObject(i))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!ce.isEmptyObject(t)}};var Me=new f,Pe=new f,Ae=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ie=/[A-Z]/g;ce.extend({hasData:function(e){return Pe.hasData(e)||Me.hasData(e)},data:function(e,t,n){return Pe.access(e,t,n)},removeData:function(e,t){Pe.remove(e,t)},_data:function(e,t,n){return Me.access(e,t,n)},_removeData:function(e,t){Me.remove(e,t)}}),ce.fn.extend({data:function(e,t){var n,r,o,i=this[0],a=i&&i.attributes;if(void 0===e){if(this.length&&(o=Pe.get(i),1===i.nodeType&&!Me.get(i,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&(r=a[n].name,0===r.indexOf("data-")&&(r=ce.camelCase(r.slice(5)),d(i,r,o[r])));Me.set(i,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each(function(){Pe.set(this,e)}):Oe(this,function(t){var n,r;if(i&&void 0===t){if(n=Pe.get(i,e)||Pe.get(i,e.replace(Ie,"-$&").toLowerCase()),void 0!==n)return n;if(r=ce.camelCase(e),n=Pe.get(i,r),void 0!==n)return n;if(n=d(i,r,void 0),void 0!==n)return n}else r=ce.camelCase(e),this.each(function(){var n=Pe.get(this,r);Pe.set(this,r,t),e.indexOf("-")>-1&&void 0!==n&&Pe.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){Pe.remove(this,e)})}}),ce.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Me.get(e,t),n&&(!r||ce.isArray(n)?r=Me.access(e,t,ce.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=ce.queue(e,t),r=n.length,o=n.shift(),i=ce._queueHooks(e,t),a=function(){ce.dequeue(e,t)};"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete i.stop,o.call(e,a,i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Me.get(e,n)||Me.access(e,n,{empty:ce.Callbacks("once memory").add(function(){Me.remove(e,[t+"queue",n])})})}}),ce.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?ce.queue(this[0],e):void 0===t?this:this.each(function(){var n=ce.queue(this,e,t);ce._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&ce.dequeue(this,e)})},dequeue:function(e){return this.each(function(){ce.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,o=ce.Deferred(),i=this,a=this.length,s=function(){--r||o.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)n=Me.get(i[a],e+"queueHooks"),n&&n.empty&&(r++,n.empty.add(s));return s(),o.promise(t)}});var je=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,De=new RegExp("^(?:([+-])=|)("+je+")([a-z%]*)$","i"),Re=["Top","Right","Bottom","Left"],Ne=function(e,t){return e=t||e,"none"===ce.css(e,"display")||!ce.contains(e.ownerDocument,e)},Le=/^(?:checkbox|radio)$/i,Fe=/<([\w:-]+)/,Ue=/^$|\/(?:java|ecma)script/i,Be={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Be.optgroup=Be.option,Be.tbody=Be.tfoot=Be.colgroup=Be.caption=Be.thead,Be.th=Be.td;var qe=/<|&#?\w+;/;!function(){var e=Z.createDocumentFragment(),t=e.appendChild(Z.createElement("div")),n=Z.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),se.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",se.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue}();var We=/^key/,ze=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,He=/^([^.]*)(?:\.(.+)|)/;ce.event={global:{},add:function(e,t,n,r,o){var i,a,s,u,c,l,f,d,p,h,v,y=Me.get(e);if(y)for(n.handler&&(i=n,n=i.handler,o=i.selector),n.guid||(n.guid=ce.guid++),(u=y.events)||(u=y.events={}),(a=y.handle)||(a=y.handle=function(t){return"undefined"!=typeof ce&&ce.event.triggered!==t.type?ce.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(Ce)||[""],c=t.length;c--;)s=He.exec(t[c])||[],p=v=s[1],h=(s[2]||"").split(".").sort(),p&&(f=ce.event.special[p]||{},p=(o?f.delegateType:f.bindType)||p,f=ce.event.special[p]||{},l=ce.extend({type:p,origType:v,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&ce.expr.match.needsContext.test(o),namespace:h.join(".")},i),(d=u[p])||(d=u[p]=[],d.delegateCount=0,f.setup&&f.setup.call(e,r,h,a)!==!1||e.addEventListener&&e.addEventListener(p,a)),f.add&&(f.add.call(e,l),l.handler.guid||(l.handler.guid=n.guid)),o?d.splice(d.delegateCount++,0,l):d.push(l),ce.event.global[p]=!0)},remove:function(e,t,n,r,o){var i,a,s,u,c,l,f,d,p,h,v,y=Me.hasData(e)&&Me.get(e);if(y&&(u=y.events)){for(t=(t||"").match(Ce)||[""],c=t.length;c--;)if(s=He.exec(t[c])||[],p=v=s[1],h=(s[2]||"").split(".").sort(),p){for(f=ce.event.special[p]||{},p=(r?f.delegateType:f.bindType)||p,d=u[p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=d.length;i--;)l=d[i],!o&&v!==l.origType||n&&n.guid!==l.guid||s&&!s.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(d.splice(i,1),
+l.selector&&d.delegateCount--,f.remove&&f.remove.call(e,l));a&&!d.length&&(f.teardown&&f.teardown.call(e,h,y.handle)!==!1||ce.removeEvent(e,p,y.handle),delete u[p])}else for(p in u)ce.event.remove(e,p+t[c],n,r,!0);ce.isEmptyObject(u)&&Me.remove(e,"handle events")}},dispatch:function(e){e=ce.event.fix(e);var t,n,r,o,i,a=[],s=ee.call(arguments),u=(Me.get(this,"events")||{})[e.type]||[],c=ce.event.special[e.type]||{};if(s[0]=e,e.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,e)!==!1){for(a=ce.event.handlers.call(this,e,u),t=0;(o=a[t++])&&!e.isPropagationStopped();)for(e.currentTarget=o.elem,n=0;(i=o.handlers[n++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(i.namespace)||(e.handleObj=i,e.data=i.data,r=((ce.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,s),void 0!==r&&(e.result=r)===!1&&(e.preventDefault(),e.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,o,i,a=[],s=t.delegateCount,u=e.target;if(s&&u.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&(u.disabled!==!0||"click"!==e.type)){for(r=[],n=0;n<s;n++)i=t[n],o=i.selector+" ",void 0===r[o]&&(r[o]=i.needsContext?ce(o,this).index(u)>-1:ce.find(o,this,null,[u]).length),r[o]&&r.push(i);r.length&&a.push({elem:u,handlers:r})}return s<t.length&&a.push({elem:this,handlers:t.slice(s)}),a},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,r,o,i=t.button;return null==e.pageX&&null!=t.clientX&&(n=e.target.ownerDocument||Z,r=n.documentElement,o=n.body,e.pageX=t.clientX+(r&&r.scrollLeft||o&&o.scrollLeft||0)-(r&&r.clientLeft||o&&o.clientLeft||0),e.pageY=t.clientY+(r&&r.scrollTop||o&&o.scrollTop||0)-(r&&r.clientTop||o&&o.clientTop||0)),e.which||void 0===i||(e.which=1&i?1:2&i?3:4&i?2:0),e}},fix:function(e){if(e[ce.expando])return e;var t,n,r,o=e.type,i=e,a=this.fixHooks[o];for(a||(this.fixHooks[o]=a=ze.test(o)?this.mouseHooks:We.test(o)?this.keyHooks:{}),r=a.props?this.props.concat(a.props):this.props,e=new ce.Event(i),t=r.length;t--;)n=r[t],e[n]=i[n];return e.target||(e.target=Z),3===e.target.nodeType&&(e.target=e.target.parentNode),a.filter?a.filter(e,i):e},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==_()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===_()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&ce.nodeName(this,"input"))return this.click(),!1},_default:function(e){return ce.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},ce.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},ce.Event=function(e,t){return this instanceof ce.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&e.returnValue===!1?g:m):this.type=e,t&&ce.extend(this,t),this.timeStamp=e&&e.timeStamp||ce.now(),void(this[ce.expando]=!0)):new ce.Event(e,t)},ce.Event.prototype={constructor:ce.Event,isDefaultPrevented:m,isPropagationStopped:m,isImmediatePropagationStopped:m,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=g,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=g,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=g,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},ce.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){ce.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,o=e.relatedTarget,i=e.handleObj;return o&&(o===r||ce.contains(r,o))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}}),ce.fn.extend({on:function(e,t,n,r){return b(this,e,t,n,r)},one:function(e,t,n,r){return b(this,e,t,n,r,1)},off:function(e,t,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,ce(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return t!==!1&&"function"!=typeof t||(n=t,t=void 0),n===!1&&(n=m),this.each(function(){ce.event.remove(this,e,n,t)})}});var Ve=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,Ge=/<script|<style|<link/i,Ke=/checked\s*(?:[^=]|=\s*.checked.)/i,Ye=/^true\/(.*)/,$e=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;ce.extend({htmlPrefilter:function(e){return e.replace(Ve,"<$1></$2>")},clone:function(e,t,n){var r,o,i,a,s=e.cloneNode(!0),u=ce.contains(e.ownerDocument,e);if(!(se.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||ce.isXMLDoc(e)))for(a=h(s),i=h(e),r=0,o=i.length;r<o;r++)C(i[r],a[r]);if(t)if(n)for(i=i||h(e),a=a||h(s),r=0,o=i.length;r<o;r++)S(i[r],a[r]);else S(e,s);return a=h(s,"script"),a.length>0&&v(a,!u&&h(e,"script")),s},cleanData:function(e){for(var t,n,r,o=ce.event.special,i=0;void 0!==(n=e[i]);i++)if(ke(n)){if(t=n[Me.expando]){if(t.events)for(r in t.events)o[r]?ce.event.remove(n,r):ce.removeEvent(n,r,t.handle);n[Me.expando]=void 0}n[Pe.expando]&&(n[Pe.expando]=void 0)}}}),ce.fn.extend({domManip:x,detach:function(e){return O(this,e,!0)},remove:function(e){return O(this,e)},text:function(e){return Oe(this,function(e){return void 0===e?ce.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return x(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=w(this,e);t.appendChild(e)}})},prepend:function(){return x(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=w(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return x(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return x(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(ce.cleanData(h(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return ce.clone(this,e,t)})},html:function(e){return Oe(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ge.test(e)&&!Be[(Fe.exec(e)||["",""])[1].toLowerCase()]){e=ce.htmlPrefilter(e);try{for(;n<r;n++)t=this[n]||{},1===t.nodeType&&(ce.cleanData(h(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return x(this,arguments,function(t){var n=this.parentNode;ce.inArray(this,e)<0&&(ce.cleanData(h(this)),n&&n.replaceChild(t,this))},e)}}),ce.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){ce.fn[e]=function(e){for(var n,r=[],o=ce(e),i=o.length-1,a=0;a<=i;a++)n=a===i?this:this.clone(!0),ce(o[a])[t](n),ne.apply(r,n.get());return this.pushStack(r)}});var Xe,Qe={HTML:"block",BODY:"block"},Je=/^margin/,Ze=new RegExp("^("+je+")(?!px)[a-z%]+$","i"),et=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},tt=function(e,t,n,r){var o,i,a={};for(i in t)a[i]=e.style[i],e.style[i]=t[i];o=n.apply(e,r||[]);for(i in t)e.style[i]=a[i];return o},nt=Z.documentElement;!function(){function e(){s.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",s.innerHTML="",nt.appendChild(a);var e=n.getComputedStyle(s);t="1%"!==e.top,i="2px"===e.marginLeft,r="4px"===e.width,s.style.marginRight="50%",o="4px"===e.marginRight,nt.removeChild(a)}var t,r,o,i,a=Z.createElement("div"),s=Z.createElement("div");s.style&&(s.style.backgroundClip="content-box",s.cloneNode(!0).style.backgroundClip="",se.clearCloneStyle="content-box"===s.style.backgroundClip,a.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",a.appendChild(s),ce.extend(se,{pixelPosition:function(){return e(),t},boxSizingReliable:function(){return null==r&&e(),r},pixelMarginRight:function(){return null==r&&e(),o},reliableMarginLeft:function(){return null==r&&e(),i},reliableMarginRight:function(){var e,t=s.appendChild(Z.createElement("div"));return t.style.cssText=s.style.cssText="-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",t.style.marginRight=t.style.width="0",s.style.width="1px",nt.appendChild(a),e=!parseFloat(n.getComputedStyle(t).marginRight),nt.removeChild(a),s.removeChild(t),e}}))}();var rt=/^(none|table(?!-c[ea]).+)/,ot={position:"absolute",visibility:"hidden",display:"block"},it={letterSpacing:"0",fontWeight:"400"},at=["Webkit","O","Moz","ms"],st=Z.createElement("div").style;ce.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=P(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,i,a,s=ce.camelCase(t),u=e.style;return t=ce.cssProps[s]||(ce.cssProps[s]=I(s)||s),a=ce.cssHooks[t]||ce.cssHooks[s],void 0===n?a&&"get"in a&&void 0!==(o=a.get(e,!1,r))?o:u[t]:(i=typeof n,"string"===i&&(o=De.exec(n))&&o[1]&&(n=p(e,t,o),i="number"),null!=n&&n===n&&("number"===i&&(n+=o&&o[3]||(ce.cssNumber[s]?"":"px")),se.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u[t]=n)),void 0)}},css:function(e,t,n,r){var o,i,a,s=ce.camelCase(t);return t=ce.cssProps[s]||(ce.cssProps[s]=I(s)||s),a=ce.cssHooks[t]||ce.cssHooks[s],a&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=P(e,t,r)),"normal"===o&&t in it&&(o=it[t]),""===n||n?(i=parseFloat(o),n===!0||isFinite(i)?i||0:o):o}}),ce.each(["height","width"],function(e,t){ce.cssHooks[t]={get:function(e,n,r){if(n)return rt.test(ce.css(e,"display"))&&0===e.offsetWidth?tt(e,ot,function(){return R(e,t,r)}):R(e,t,r)},set:function(e,n,r){var o,i=r&&et(e),a=r&&D(e,t,r,"border-box"===ce.css(e,"boxSizing",!1,i),i);return a&&(o=De.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=ce.css(e,t)),j(e,n,a)}}}),ce.cssHooks.marginLeft=A(se.reliableMarginLeft,function(e,t){if(t)return(parseFloat(P(e,"marginLeft"))||e.getBoundingClientRect().left-tt(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),ce.cssHooks.marginRight=A(se.reliableMarginRight,function(e,t){if(t)return tt(e,{display:"inline-block"},P,[e,"marginRight"])}),ce.each({margin:"",padding:"",border:"Width"},function(e,t){ce.cssHooks[e+t]={expand:function(n){for(var r=0,o={},i="string"==typeof n?n.split(" "):[n];r<4;r++)o[e+Re[r]+t]=i[r]||i[r-2]||i[0];return o}},Je.test(e)||(ce.cssHooks[e+t].set=j)}),ce.fn.extend({css:function(e,t){return Oe(this,function(e,t,n){var r,o,i={},a=0;if(ce.isArray(t)){for(r=et(e),o=t.length;a<o;a++)i[t[a]]=ce.css(e,t[a],!1,r);return i}return void 0!==n?ce.style(e,t,n):ce.css(e,t)},e,t,arguments.length>1)},show:function(){return N(this,!0)},hide:function(){return N(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Ne(this)?ce(this).show():ce(this).hide()})}}),ce.Tween=L,L.prototype={constructor:L,init:function(e,t,n,r,o,i){this.elem=e,this.prop=n,this.easing=o||ce.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(ce.cssNumber[n]?"":"px")},cur:function(){var e=L.propHooks[this.prop];return e&&e.get?e.get(this):L.propHooks._default.get(this)},run:function(e){var t,n=L.propHooks[this.prop];return this.options.duration?this.pos=t=ce.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):L.propHooks._default.set(this),this}},L.prototype.init.prototype=L.prototype,L.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=ce.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){ce.fx.step[e.prop]?ce.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[ce.cssProps[e.prop]]&&!ce.cssHooks[e.prop]?e.elem[e.prop]=e.now:ce.style(e.elem,e.prop,e.now+e.unit)}}},L.propHooks.scrollTop=L.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},ce.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},ce.fx=L.prototype.init,ce.fx.step={};var ut,ct,lt=/^(?:toggle|show|hide)$/,ft=/queueHooks$/;ce.Animation=ce.extend(z,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return p(n.elem,e,De.exec(t),n),n}]},tweener:function(e,t){ce.isFunction(e)?(t=e,e=["*"]):e=e.match(Ce);for(var n,r=0,o=e.length;r<o;r++)n=e[r],z.tweeners[n]=z.tweeners[n]||[],z.tweeners[n].unshift(t)},prefilters:[q],prefilter:function(e,t){t?z.prefilters.unshift(e):z.prefilters.push(e)}}),ce.speed=function(e,t,n){var r=e&&"object"==typeof e?ce.extend({},e):{complete:n||!n&&t||ce.isFunction(e)&&e,duration:e,easing:n&&t||t&&!ce.isFunction(t)&&t};return r.duration=ce.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in ce.fx.speeds?ce.fx.speeds[r.duration]:ce.fx.speeds._default,null!=r.queue&&r.queue!==!0||(r.queue="fx"),r.old=r.complete,r.complete=function(){ce.isFunction(r.old)&&r.old.call(this),r.queue&&ce.dequeue(this,r.queue)},r},ce.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Ne).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var o=ce.isEmptyObject(e),i=ce.speed(t,n,r),a=function(){var t=z(this,ce.extend({},e),i);(o||Me.get(this,"finish"))&&t.stop(!0)};return a.finish=a,o||i.queue===!1?this.each(a):this.queue(i.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,o=null!=e&&e+"queueHooks",i=ce.timers,a=Me.get(this);if(o)a[o]&&a[o].stop&&r(a[o]);else for(o in a)a[o]&&a[o].stop&&ft.test(o)&&r(a[o]);for(o=i.length;o--;)i[o].elem!==this||null!=e&&i[o].queue!==e||(i[o].anim.stop(n),t=!1,i.splice(o,1));!t&&n||ce.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=Me.get(this),r=n[e+"queue"],o=n[e+"queueHooks"],i=ce.timers,a=r?r.length:0;for(n.finish=!0,ce.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=i.length;t--;)i[t].elem===this&&i[t].queue===e&&(i[t].anim.stop(!0),i.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),ce.each(["toggle","show","hide"],function(e,t){var n=ce.fn[t];ce.fn[t]=function(e,r,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(U(t,!0),e,r,o)}}),ce.each({slideDown:U("show"),slideUp:U("hide"),slideToggle:U("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){ce.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),ce.timers=[],ce.fx.tick=function(){var e,t=0,n=ce.timers;for(ut=ce.now();t<n.length;t++)e=n[t],e()||n[t]!==e||n.splice(t--,1);n.length||ce.fx.stop(),ut=void 0},ce.fx.timer=function(e){ce.timers.push(e),e()?ce.fx.start():ce.timers.pop()},ce.fx.interval=13,ce.fx.start=function(){ct||(ct=n.setInterval(ce.fx.tick,ce.fx.interval))},ce.fx.stop=function(){n.clearInterval(ct),ct=null},ce.fx.speeds={slow:600,fast:200,_default:400},ce.fn.delay=function(e,t){return e=ce.fx?ce.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,r){var o=n.setTimeout(t,e);r.stop=function(){n.clearTimeout(o)}})},function(){var e=Z.createElement("input"),t=Z.createElement("select"),n=t.appendChild(Z.createElement("option"));e.type="checkbox",se.checkOn=""!==e.value,se.optSelected=n.selected,t.disabled=!0,se.optDisabled=!n.disabled,e=Z.createElement("input"),e.value="t",e.type="radio",se.radioValue="t"===e.value}();var dt,pt=ce.expr.attrHandle;ce.fn.extend({attr:function(e,t){return Oe(this,ce.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){ce.removeAttr(this,e)})}}),ce.extend({attr:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return"undefined"==typeof e.getAttribute?ce.prop(e,t,n):(1===i&&ce.isXMLDoc(e)||(t=t.toLowerCase(),o=ce.attrHooks[t]||(ce.expr.match.bool.test(t)?dt:void 0)),void 0!==n?null===n?void ce.removeAttr(e,t):o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(r=o.get(e,t))?r:(r=ce.find.attr(e,t),null==r?void 0:r))},attrHooks:{type:{set:function(e,t){if(!se.radioValue&&"radio"===t&&ce.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r,o=0,i=t&&t.match(Ce);if(i&&1===e.nodeType)for(;n=i[o++];)r=ce.propFix[n]||n,ce.expr.match.bool.test(n)&&(e[r]=!1),e.removeAttribute(n)}}),dt={set:function(e,t,n){return t===!1?ce.removeAttr(e,n):e.setAttribute(n,n),n}},ce.each(ce.expr.match.bool.source.match(/\w+/g),function(e,t){var n=pt[t]||ce.find.attr;pt[t]=function(e,t,r){var o,i;return r||(i=pt[t],pt[t]=o,o=null!=n(e,t,r)?t.toLowerCase():null,pt[t]=i),o}});var ht=/^(?:input|select|textarea|button)$/i,vt=/^(?:a|area)$/i;ce.fn.extend({prop:function(e,t){return Oe(this,ce.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[ce.propFix[e]||e]})}}),ce.extend({prop:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&ce.isXMLDoc(e)||(t=ce.propFix[t]||t,o=ce.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:e[t]=n:o&&"get"in o&&null!==(r=o.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=ce.find.attr(e,"tabindex");return t?parseInt(t,10):ht.test(e.nodeName)||vt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),se.optSelected||(ce.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),ce.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ce.propFix[this.toLowerCase()]=this});var yt=/[\t\r\n\f]/g;ce.fn.extend({addClass:function(e){var t,n,r,o,i,a,s,u=0;if(ce.isFunction(e))return this.each(function(t){ce(this).addClass(e.call(this,t,H(this)))});if("string"==typeof e&&e)for(t=e.match(Ce)||[];n=this[u++];)if(o=H(n),r=1===n.nodeType&&(" "+o+" ").replace(yt," ")){for(a=0;i=t[a++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");s=ce.trim(r),o!==s&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,o,i,a,s,u=0;if(ce.isFunction(e))return this.each(function(t){ce(this).removeClass(e.call(this,t,H(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(Ce)||[];n=this[u++];)if(o=H(n),r=1===n.nodeType&&(" "+o+" ").replace(yt," ")){for(a=0;i=t[a++];)for(;r.indexOf(" "+i+" ")>-1;)r=r.replace(" "+i+" "," ");s=ce.trim(r),o!==s&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):ce.isFunction(e)?this.each(function(n){ce(this).toggleClass(e.call(this,n,H(this),t),t)}):this.each(function(){var t,r,o,i;if("string"===n)for(r=0,o=ce(this),i=e.match(Ce)||[];t=i[r++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||(t=H(this),t&&Me.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||e===!1?"":Me.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+H(n)+" ").replace(yt," ").indexOf(t)>-1)return!0;return!1}});var gt=/\r/g,mt=/[\x20\t\r\n\f]+/g;ce.fn.extend({val:function(e){var t,n,r,o=this[0];{if(arguments.length)return r=ce.isFunction(e),this.each(function(n){var o;1===this.nodeType&&(o=r?e.call(this,n,ce(this).val()):e,null==o?o="":"number"==typeof o?o+="":ce.isArray(o)&&(o=ce.map(o,function(e){return null==e?"":e+""})),t=ce.valHooks[this.type]||ce.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))});if(o)return t=ce.valHooks[o.type]||ce.valHooks[o.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:(n=o.value,"string"==typeof n?n.replace(gt,""):null==n?"":n)}}}),ce.extend({valHooks:{option:{get:function(e){var t=ce.find.attr(e,"value");return null!=t?t:ce.trim(ce.text(e)).replace(mt," ")}},select:{get:function(e){for(var t,n,r=e.options,o=e.selectedIndex,i="select-one"===e.type||o<0,a=i?null:[],s=i?o+1:r.length,u=o<0?s:i?o:0;u<s;u++)if(n=r[u],(n.selected||u===o)&&(se.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!ce.nodeName(n.parentNode,"optgroup"))){if(t=ce(n).val(),i)return t;a.push(t)}return a},set:function(e,t){for(var n,r,o=e.options,i=ce.makeArray(t),a=o.length;a--;)r=o[a],(r.selected=ce.inArray(ce.valHooks.option.get(r),i)>-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),ce.each(["radio","checkbox"],function(){ce.valHooks[this]={set:function(e,t){if(ce.isArray(t))return e.checked=ce.inArray(ce(e).val(),t)>-1}},se.checkOn||(ce.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var _t=/^(?:focusinfocus|focusoutblur)$/;ce.extend(ce.event,{trigger:function(e,t,r,o){var i,a,s,u,c,l,f,d=[r||Z],p=ae.call(e,"type")?e.type:e,h=ae.call(e,"namespace")?e.namespace.split("."):[];if(a=s=r=r||Z,3!==r.nodeType&&8!==r.nodeType&&!_t.test(p+ce.event.triggered)&&(p.indexOf(".")>-1&&(h=p.split("."),p=h.shift(),h.sort()),c=p.indexOf(":")<0&&"on"+p,e=e[ce.expando]?e:new ce.Event(p,"object"==typeof e&&e),e.isTrigger=o?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:ce.makeArray(t,[e]),f=ce.event.special[p]||{},o||!f.trigger||f.trigger.apply(r,t)!==!1)){if(!o&&!f.noBubble&&!ce.isWindow(r)){for(u=f.delegateType||p,_t.test(u+p)||(a=a.parentNode);a;a=a.parentNode)d.push(a),s=a;s===(r.ownerDocument||Z)&&d.push(s.defaultView||s.parentWindow||n)}for(i=0;(a=d[i++])&&!e.isPropagationStopped();)e.type=i>1?u:f.bindType||p,l=(Me.get(a,"events")||{})[e.type]&&Me.get(a,"handle"),l&&l.apply(a,t),l=c&&a[c],l&&l.apply&&ke(a)&&(e.result=l.apply(a,t),e.result===!1&&e.preventDefault());return e.type=p,o||e.isDefaultPrevented()||f._default&&f._default.apply(d.pop(),t)!==!1||!ke(r)||c&&ce.isFunction(r[p])&&!ce.isWindow(r)&&(s=r[c],s&&(r[c]=null),ce.event.triggered=p,r[p](),ce.event.triggered=void 0,s&&(r[c]=s)),e.result}},simulate:function(e,t,n){var r=ce.extend(new ce.Event,n,{type:e,isSimulated:!0});ce.event.trigger(r,null,t)}}),ce.fn.extend({trigger:function(e,t){return this.each(function(){ce.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return ce.event.trigger(e,t,n,!0)}}),ce.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){ce.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),ce.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),se.focusin="onfocusin"in n,se.focusin||ce.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){ce.event.simulate(t,e.target,ce.event.fix(e))};ce.event.special[t]={setup:function(){var r=this.ownerDocument||this,o=Me.access(r,t);o||r.addEventListener(e,n,!0),Me.access(r,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this,o=Me.access(r,t)-1;o?Me.access(r,t,o):(r.removeEventListener(e,n,!0),Me.remove(r,t))}}});var bt=n.location,wt=ce.now(),Et=/\?/;ce.parseJSON=function(e){return JSON.parse(e+"")},ce.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||ce.error("Invalid XML: "+e),t};var Tt=/#.*$/,St=/([?&])_=[^&]*/,Ct=/^(.*?):[ \t]*([^\r\n]*)$/gm,xt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Ot=/^(?:GET|HEAD)$/,kt=/^\/\//,Mt={},Pt={},At="*/".concat("*"),It=Z.createElement("a");It.href=bt.href,ce.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:bt.href,type:"GET",isLocal:xt.test(bt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":At,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":ce.parseJSON,"text xml":ce.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?K(K(e,ce.ajaxSettings),t):K(ce.ajaxSettings,e)},ajaxPrefilter:V(Mt),ajaxTransport:V(Pt),ajax:function(e,t){function r(e,t,r,s){var c,f,m,_,w,T=t;2!==b&&(b=2,u&&n.clearTimeout(u),o=void 0,a=s||"",E.readyState=e>0?4:0,c=e>=200&&e<300||304===e,r&&(_=Y(d,E,r)),_=$(d,_,E,c),c?(d.ifModified&&(w=E.getResponseHeader("Last-Modified"),w&&(ce.lastModified[i]=w),w=E.getResponseHeader("etag"),w&&(ce.etag[i]=w)),204===e||"HEAD"===d.type?T="nocontent":304===e?T="notmodified":(T=_.state,f=_.data,m=_.error,c=!m)):(m=T,!e&&T||(T="error",e<0&&(e=0))),E.status=e,E.statusText=(t||T)+"",c?v.resolveWith(p,[f,T,E]):v.rejectWith(p,[E,T,m]),E.statusCode(g),g=void 0,l&&h.trigger(c?"ajaxSuccess":"ajaxError",[E,d,c?f:m]),y.fireWith(p,[E,T]),l&&(h.trigger("ajaxComplete",[E,d]),--ce.active||ce.event.trigger("ajaxStop")))}"object"==typeof e&&(t=e,e=void 0),t=t||{};var o,i,a,s,u,c,l,f,d=ce.ajaxSetup({},t),p=d.context||d,h=d.context&&(p.nodeType||p.jquery)?ce(p):ce.event,v=ce.Deferred(),y=ce.Callbacks("once memory"),g=d.statusCode||{},m={},_={},b=0,w="canceled",E={readyState:0,getResponseHeader:function(e){var t;if(2===b){if(!s)for(s={};t=Ct.exec(a);)s[t[1].toLowerCase()]=t[2];t=s[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===b?a:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=_[n]=_[n]||e,m[e]=t),this},overrideMimeType:function(e){return b||(d.mimeType=e),this},statusCode:function(e){var t;if(e)if(b<2)for(t in e)g[t]=[g[t],e[t]];else E.always(e[E.status]);return this},abort:function(e){var t=e||w;return o&&o.abort(t),r(0,t),this}};if(v.promise(E).complete=y.add,E.success=E.done,E.error=E.fail,d.url=((e||d.url||bt.href)+"").replace(Tt,"").replace(kt,bt.protocol+"//"),d.type=t.method||t.type||d.method||d.type,d.dataTypes=ce.trim(d.dataType||"*").toLowerCase().match(Ce)||[""],null==d.crossDomain){c=Z.createElement("a");try{c.href=d.url,c.href=c.href,d.crossDomain=It.protocol+"//"+It.host!=c.protocol+"//"+c.host}catch(e){d.crossDomain=!0}}if(d.data&&d.processData&&"string"!=typeof d.data&&(d.data=ce.param(d.data,d.traditional)),G(Mt,d,t,E),2===b)return E;l=ce.event&&d.global,l&&0===ce.active++&&ce.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!Ot.test(d.type),i=d.url,d.hasContent||(d.data&&(i=d.url+=(Et.test(i)?"&":"?")+d.data,delete d.data),d.cache===!1&&(d.url=St.test(i)?i.replace(St,"$1_="+wt++):i+(Et.test(i)?"&":"?")+"_="+wt++)),d.ifModified&&(ce.lastModified[i]&&E.setRequestHeader("If-Modified-Since",ce.lastModified[i]),ce.etag[i]&&E.setRequestHeader("If-None-Match",ce.etag[i])),(d.data&&d.hasContent&&d.contentType!==!1||t.contentType)&&E.setRequestHeader("Content-Type",d.contentType),E.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+At+"; q=0.01":""):d.accepts["*"]);for(f in d.headers)E.setRequestHeader(f,d.headers[f]);if(d.beforeSend&&(d.beforeSend.call(p,E,d)===!1||2===b))return E.abort();w="abort";for(f in{success:1,error:1,complete:1})E[f](d[f]);if(o=G(Pt,d,t,E)){if(E.readyState=1,l&&h.trigger("ajaxSend",[E,d]),2===b)return E;d.async&&d.timeout>0&&(u=n.setTimeout(function(){E.abort("timeout")},d.timeout));try{b=1,o.send(m,r)}catch(e){if(!(b<2))throw e;r(-1,e)}}else r(-1,"No Transport");return E},getJSON:function(e,t,n){return ce.get(e,t,n,"json")},getScript:function(e,t){return ce.get(e,void 0,t,"script")}}),ce.each(["get","post"],function(e,t){ce[t]=function(e,n,r,o){return ce.isFunction(n)&&(o=o||r,r=n,n=void 0),ce.ajax(ce.extend({url:e,type:t,dataType:o,data:n,success:r},ce.isPlainObject(e)&&e))}}),ce._evalUrl=function(e){return ce.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},ce.fn.extend({wrapAll:function(e){var t;return ce.isFunction(e)?this.each(function(t){ce(this).wrapAll(e.call(this,t))}):(this[0]&&(t=ce(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this)},wrapInner:function(e){return ce.isFunction(e)?this.each(function(t){ce(this).wrapInner(e.call(this,t))}):this.each(function(){var t=ce(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=ce.isFunction(e);return this.each(function(n){ce(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){ce.nodeName(this,"body")||ce(this).replaceWith(this.childNodes)}).end()}}),ce.expr.filters.hidden=function(e){return!ce.expr.filters.visible(e)},ce.expr.filters.visible=function(e){return e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0};var jt=/%20/g,Dt=/\[\]$/,Rt=/\r?\n/g,Nt=/^(?:submit|button|image|reset|file)$/i,Lt=/^(?:input|select|textarea|keygen)/i;ce.param=function(e,t){var n,r=[],o=function(e,t){t=ce.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=ce.ajaxSettings&&ce.ajaxSettings.traditional),ce.isArray(e)||e.jquery&&!ce.isPlainObject(e))ce.each(e,function(){o(this.name,this.value)});else for(n in e)X(n,e[n],t,o);return r.join("&").replace(jt,"+")},ce.fn.extend({serialize:function(){return ce.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=ce.prop(this,"elements");return e?ce.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!ce(this).is(":disabled")&&Lt.test(this.nodeName)&&!Nt.test(e)&&(this.checked||!Le.test(e))}).map(function(e,t){var n=ce(this).val();return null==n?null:ce.isArray(n)?ce.map(n,function(e){return{name:t.name,value:e.replace(Rt,"\r\n")}}):{name:t.name,value:n.replace(Rt,"\r\n")}}).get()}}),ce.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Ft={0:200,1223:204},Ut=ce.ajaxSettings.xhr();se.cors=!!Ut&&"withCredentials"in Ut,se.ajax=Ut=!!Ut,ce.ajaxTransport(function(e){var t,r;if(se.cors||Ut&&!e.crossDomain)return{send:function(o,i){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest");
+for(a in o)s.setRequestHeader(a,o[a]);t=function(e){return function(){t&&(t=r=s.onload=s.onerror=s.onabort=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?i(0,"error"):i(s.status,s.statusText):i(Ft[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),r=s.onerror=t("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout(function(){t&&r()})},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),ce.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return ce.globalEval(e),e}}}),ce.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),ce.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(r,o){t=ce("<script>").prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),Z.head.appendChild(t[0])},abort:function(){n&&n()}}}});var Bt=[],qt=/(=)\?(?=&|$)|\?\?/;ce.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Bt.pop()||ce.expando+"_"+wt++;return this[e]=!0,e}}),ce.ajaxPrefilter("json jsonp",function(e,t,r){var o,i,a,s=e.jsonp!==!1&&(qt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&qt.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=ce.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(qt,"$1"+o):e.jsonp!==!1&&(e.url+=(Et.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return a||ce.error(o+" was not called"),a[0]},e.dataTypes[0]="json",i=n[o],n[o]=function(){a=arguments},r.always(function(){void 0===i?ce(n).removeProp(o):n[o]=i,e[o]&&(e.jsonpCallback=t.jsonpCallback,Bt.push(o)),a&&ce.isFunction(i)&&i(a[0]),a=i=void 0}),"script"}),ce.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||Z;var r=me.exec(e),o=!n&&[];return r?[t.createElement(r[1])]:(r=y([e],t,o),o&&o.length&&ce(o).remove(),ce.merge([],r.childNodes))};var Wt=ce.fn.load;ce.fn.load=function(e,t,n){if("string"!=typeof e&&Wt)return Wt.apply(this,arguments);var r,o,i,a=this,s=e.indexOf(" ");return s>-1&&(r=ce.trim(e.slice(s)),e=e.slice(0,s)),ce.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),a.length>0&&ce.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done(function(e){i=arguments,a.html(r?ce("<div>").append(ce.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,i||[e.responseText,t,e])})}),this},ce.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ce.fn[t]=function(e){return this.on(t,e)}}),ce.expr.filters.animated=function(e){return ce.grep(ce.timers,function(t){return e===t.elem}).length},ce.offset={setOffset:function(e,t,n){var r,o,i,a,s,u,c,l=ce.css(e,"position"),f=ce(e),d={};"static"===l&&(e.style.position="relative"),s=f.offset(),i=ce.css(e,"top"),u=ce.css(e,"left"),c=("absolute"===l||"fixed"===l)&&(i+u).indexOf("auto")>-1,c?(r=f.position(),a=r.top,o=r.left):(a=parseFloat(i)||0,o=parseFloat(u)||0),ce.isFunction(t)&&(t=t.call(e,n,ce.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+o),"using"in t?t.using.call(e,d):f.css(d)}},ce.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){ce.offset.setOffset(this,e,t)});var t,n,r=this[0],o={top:0,left:0},i=r&&r.ownerDocument;if(i)return t=i.documentElement,ce.contains(t,r)?(o=r.getBoundingClientRect(),n=Q(i),{top:o.top+n.pageYOffset-t.clientTop,left:o.left+n.pageXOffset-t.clientLeft}):o},position:function(){if(this[0]){var e,t,n=this[0],r={top:0,left:0};return"fixed"===ce.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),ce.nodeName(e[0],"html")||(r=e.offset()),r.top+=ce.css(e[0],"borderTopWidth",!0),r.left+=ce.css(e[0],"borderLeftWidth",!0)),{top:t.top-r.top-ce.css(n,"marginTop",!0),left:t.left-r.left-ce.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===ce.css(e,"position");)e=e.offsetParent;return e||nt})}}),ce.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;ce.fn[e]=function(r){return Oe(this,function(e,r,o){var i=Q(e);return void 0===o?i?i[t]:e[r]:void(i?i.scrollTo(n?i.pageXOffset:o,n?o:i.pageYOffset):e[r]=o)},e,r,arguments.length)}}),ce.each(["top","left"],function(e,t){ce.cssHooks[t]=A(se.pixelPosition,function(e,n){if(n)return n=P(e,t),Ze.test(n)?ce(e).position()[t]+"px":n})}),ce.each({Height:"height",Width:"width"},function(e,t){ce.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){ce.fn[r]=function(r,o){var i=arguments.length&&(n||"boolean"!=typeof r),a=n||(r===!0||o===!0?"margin":"border");return Oe(this,function(t,n,r){var o;return ce.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===r?ce.css(t,n,a):ce.style(t,n,r,a)},t,i?r:void 0,i,null)}})}),ce.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},size:function(){return this.length}}),ce.fn.andSelf=ce.fn.addBack,r=[],o=function(){return ce}.apply(t,r),!(void 0!==o&&(e.exports=o));var zt=n.jQuery,Ht=n.$;return ce.noConflict=function(e){return n.$===ce&&(n.$=Ht),e&&n.jQuery===ce&&(n.jQuery=zt),ce},i||(n.jQuery=n.$=ce),ce})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return{connectDropTarget:e.dropTarget(),isOver:t.isOver()}}Object.defineProperty(t,"__esModule",{value:!0}),t.FillTheBlankWordDropZone=t.GroupDropZone=t.WordDropZone=t.Dropzone=void 0;var i=n(9),a=r(i),s=n(4),u=r(s),c=n(5),l=r(c),f=n(7),d=r(f),p=n(6),h=r(p),v=n(1),y=r(v),g=n(102),m=n(3),_=r(m),b=n(107),w=r(b),E={drop:function(e,t){if(!t.didDrop()){var n=[];switch(t.getItemType()){case w.default.WORD:n=[t.getItem().itemId];break;case w.default.WORD_GROUP:n=_.default.map(t.getItem().words,"id")}return e.dropItem(n,t.getSourceClientOffset()),{items:n}}return null}},T={drop:function(e,t){return e.dropItem(t.getItem().itemId),t.getItem()}},S=t.Dropzone=function(e){function t(){return(0,u.default)(this,t),(0,d.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,h.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e=this.props,t=e.connectDropTarget,n=e.isOver,r=e.overClassName,o=e.className,i=o+(n&&r?" "+r:"");return t(y.default.createElement("div",{className:i,style:this.props.style},this.props.children))}}]),t}(y.default.Component);t.WordDropZone=(0,g.DropTarget)(w.default.WORD,T,o)(S),t.GroupDropZone=(0,g.DropTarget)([w.default.WORD_GROUP,w.default.WORD],E,o)(S),t.FillTheBlankWordDropZone=(0,g.DropTarget)(w.default.FILL_BLANK_WORD,T,o)(S)},,,,function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},52,79,[1501,52,20],[1522,52],function(e,t){t.f={}.propertyIsEnumerable},function(e,t){"use strict";var n={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,arguments:!0,arity:!0},o="function"==typeof Object.getOwnPropertySymbols;e.exports=function(e,t,i){if("string"!=typeof t){var a=Object.getOwnPropertyNames(t);o&&(a=a.concat(Object.getOwnPropertySymbols(t)));for(var s=0;s<a.length;++s)if(!(n[a[s]]||r[a[s]]||i&&i[a[s]]))try{e[a[s]]=t[a[s]]}catch(e){}}return e}},function(e,t,n){var r=n(74),o=r.Symbol;e.exports=o},function(e,t){function n(e,t){return e===t||e!==e&&t!==t}e.exports=n},function(e,t,n){function r(e){return i(e)&&o(e)}var o=n(192),i=n(101);e.exports=r},function(e,t){"use strict";var n={remove:function(e){e._reactInternalInstance=void 0},get:function(e){return e._reactInternalInstance},has:function(e){return void 0!==e._reactInternalInstance},set:function(e,t){e._reactInternalInstance=t}};e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return!(0,a.default)(this.props,e)||!(0,a.default)(this.state,t)}t.__esModule=!0,t.default=o;var i=n(1078),a=r(i);e.exports=t.default},function(e,t,n){"use strict";function r(e,t,n){if(e[t])return new Error("<"+n+'> should not have a "'+t+'" prop')}t.__esModule=!0,t.routes=t.route=t.components=t.component=t.history=void 0,t.falsy=r;var o=n(22),i=(t.history=(0,o.shape)({listen:o.func.isRequired,push:o.func.isRequired,replace:o.func.isRequired,go:o.func.isRequired,goBack:o.func.isRequired,goForward:o.func.isRequired}),t.component=(0,o.oneOfType)([o.func,o.string])),a=(t.components=(0,o.oneOfType)([i,o.object]),t.route=(0,o.oneOfType)([o.object,o.element]));t.routes=(0,o.oneOfType)([a,(0,o.arrayOf)(a)])},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(153),u=r(s),c=n(8),l=r(c),f=n(46),d=r(f),p=n(34),h=function(e){function t(){return o(this,t),i(this,e.apply(this,arguments))}return a(t,e),t.prototype.createEl=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"button",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};t=(0,p.assign)({className:this.buildCSSClass()},t),"button"!==e&&(d.default.warn("Creating a Button with an HTML element of "+e+" is deprecated; use ClickableComponent instead."),t=(0,p.assign)({tabIndex:0},t),n=(0,p.assign)({role:"button"},n)),n=(0,p.assign)({type:"button","aria-live":"polite"},n);var r=l.default.prototype.createEl.call(this,e,t,n);return this.createControlTextEl(r),r},t.prototype.addChild=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.constructor.name;return d.default.warn("Adding an actionable (user controllable) child to a Button ("+n+") is not supported; use a ClickableComponent instead."),l.default.prototype.addChild.call(this,e,t)},t.prototype.enable=function(){e.prototype.enable.call(this),this.el_.removeAttribute("disabled")},t.prototype.disable=function(){e.prototype.disable.call(this),this.el_.setAttribute("disabled","disabled")},t.prototype.handleKeyPress=function(t){32!==t.which&&13!==t.which&&e.prototype.handleKeyPress.call(this,t)},t}(u.default);l.default.registerComponent("Button",h),t.default=h},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(8),c=o(u),l=n(23),f=r(l),d=n(83),p=r(d),h=n(19),v=r(h),y=n(46),g=o(y),m=n(28),_=o(m),b=n(34),w=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.emitTapEvents(),o.enable(),o}return s(t,e),t.prototype.createEl=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"div",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};n=(0,b.assign)({className:this.buildCSSClass(),tabIndex:0},n),"button"===t&&g.default.error("Creating a ClickableComponent with an HTML element of "+t+" is not supported; use a Button instead."),r=(0,b.assign)({role:"button","aria-live":"polite"},r),this.tabIndex_=n.tabIndex;var o=e.prototype.createEl.call(this,t,n,r);return this.createControlTextEl(o),o},t.prototype.createControlTextEl=function(e){return this.controlTextEl_=f.createEl("span",{className:"vjs-control-text"}),e&&e.appendChild(this.controlTextEl_),this.controlText(this.controlText_,e),this.controlTextEl_},t.prototype.controlText=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.el();if(!e)return this.controlText_||"Need Text";var n=this.localize(e);return this.controlText_=e,this.controlTextEl_.innerHTML=n,this.nonIconControl||t.setAttribute("title",n),this},t.prototype.buildCSSClass=function(){return"vjs-control vjs-button "+e.prototype.buildCSSClass.call(this)},t.prototype.enable=function(){return this.removeClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","false"),"undefined"!=typeof this.tabIndex_&&this.el_.setAttribute("tabIndex",this.tabIndex_),this.on("tap",this.handleClick),this.on("click",this.handleClick),this.on("focus",this.handleFocus),this.on("blur",this.handleBlur),this},t.prototype.disable=function(){return this.addClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","true"),"undefined"!=typeof this.tabIndex_&&this.el_.removeAttribute("tabIndex"),this.off("tap",this.handleClick),this.off("click",this.handleClick),this.off("focus",this.handleFocus),this.off("blur",this.handleBlur),this},t.prototype.handleClick=function(e){},t.prototype.handleFocus=function(e){p.on(_.default,"keydown",v.bind(this,this.handleKeyPress))},t.prototype.handleKeyPress=function(t){32===t.which||13===t.which?(t.preventDefault(),this.handleClick(t)):e.prototype.handleKeyPress&&e.prototype.handleKeyPress.call(this,t)},t.prototype.handleBlur=function(e){p.off(_.default,"keydown",v.bind(this,this.handleKeyPress))},t}(c.default);c.default.registerComponent("ClickableComponent",w),t.default=w},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function u(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},i=e.textTracks();o.kind=t,n&&(o.label=n),r&&(o.language=r),o.tech=e;var a=new m.default(o);return i.addTrack_(a),a}t.__esModule=!0;var c=n(8),l=o(c),f=n(1199),d=o(f),p=n(1198),h=o(p),v=n(77),y=o(v),g=n(317),m=o(g),_=n(1203),b=o(_),w=n(492),E=o(w),T=n(491),S=o(T),C=n(19),x=r(C),O=n(46),k=o(O),M=n(155),P=n(493),A=n(485),I=o(A),j=n(30),D=o(j),R=n(28),N=o(R),L=n(34),F=function(e){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};i(this,t),n.reportTouchActivity=!1;var o=a(this,e.call(this,null,n,r));return o.hasStarted_=!1,o.on("playing",function(){this.hasStarted_=!0}),o.on("loadstart",function(){this.hasStarted_=!1}),o.textTracks_=n.textTracks,o.videoTracks_=n.videoTracks,o.audioTracks_=n.audioTracks,o.featuresProgressEvents||o.manualProgressOn(),o.featuresTimeupdateEvents||o.manualTimeUpdatesOn(),["Text","Audio","Video"].forEach(function(e){n["native"+e+"Tracks"]===!1&&(o["featuresNative"+e+"Tracks"]=!1)}),n.nativeCaptions===!1&&(o.featuresNativeTextTracks=!1),o.featuresNativeTextTracks||o.emulateTextTracks(),o.autoRemoteTextTracks_=new b.default,o.initTextTrackListeners(),o.initTrackListeners(),n.nativeControlsForTouch||o.emitTapEvents(),o.constructor&&(o.name_=o.constructor.name||"Unknown Tech"),o}return s(t,e),t.prototype.manualProgressOn=function(){this.on("durationchange",this.onDurationChange),this.manualProgress=!0,this.one("ready",this.trackProgress)},t.prototype.manualProgressOff=function(){this.manualProgress=!1,this.stopTrackingProgress(),this.off("durationchange",this.onDurationChange)},t.prototype.trackProgress=function(e){this.stopTrackingProgress(),this.progressInterval=this.setInterval(x.bind(this,function(){var e=this.bufferedPercent();this.bufferedPercent_!==e&&this.trigger("progress"),this.bufferedPercent_=e,1===e&&this.stopTrackingProgress()}),500)},t.prototype.onDurationChange=function(e){this.duration_=this.duration()},t.prototype.buffered=function(){return(0,M.createTimeRange)(0,0)},t.prototype.bufferedPercent=function(){return(0,P.bufferedPercent)(this.buffered(),this.duration_)},t.prototype.stopTrackingProgress=function(){this.clearInterval(this.progressInterval)},t.prototype.manualTimeUpdatesOn=function(){this.manualTimeUpdates=!0,this.on("play",this.trackCurrentTime),this.on("pause",this.stopTrackingCurrentTime)},t.prototype.manualTimeUpdatesOff=function(){this.manualTimeUpdates=!1,this.stopTrackingCurrentTime(),this.off("play",this.trackCurrentTime),this.off("pause",this.stopTrackingCurrentTime)},t.prototype.trackCurrentTime=function(){this.currentTimeInterval&&this.stopTrackingCurrentTime(),this.currentTimeInterval=this.setInterval(function(){this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},250)},t.prototype.stopTrackingCurrentTime=function(){this.clearInterval(this.currentTimeInterval),this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},t.prototype.dispose=function(){this.clearTracks(["audio","video","text"]),this.manualProgress&&this.manualProgressOff(),this.manualTimeUpdates&&this.manualTimeUpdatesOff(),e.prototype.dispose.call(this)},t.prototype.clearTracks=function(e){var t=this;e=[].concat(e),e.forEach(function(e){for(var n=t[e+"Tracks"]()||[],r=n.length;r--;){var o=n[r];"text"===e&&t.removeRemoteTextTrack(o),n.removeTrack_(o)}})},t.prototype.cleanupAutoTextTracks=function(){for(var e=this.autoRemoteTextTracks_||[],t=e.length;t--;){var n=e[t];this.removeRemoteTextTrack(n)}},t.prototype.reset=function(){},t.prototype.error=function(e){return void 0!==e&&(this.error_=new I.default(e),this.trigger("error")),this.error_},t.prototype.played=function(){return this.hasStarted_?(0,M.createTimeRange)(0,0):(0,M.createTimeRange)()},t.prototype.setCurrentTime=function(){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},t.prototype.initTextTrackListeners=function(){var e=x.bind(this,function(){this.trigger("texttrackchange")}),t=this.textTracks();t&&(t.addEventListener("removetrack",e),t.addEventListener("addtrack",e),this.on("dispose",x.bind(this,function(){t.removeEventListener("removetrack",e),t.removeEventListener("addtrack",e)})))},t.prototype.initTrackListeners=function(){var e=this,t=["video","audio"];t.forEach(function(t){var n=function(){e.trigger(t+"trackchange")},r=e[t+"Tracks"]();r.addEventListener("removetrack",n),r.addEventListener("addtrack",n),e.on("dispose",function(){r.removeEventListener("removetrack",n),r.removeEventListener("addtrack",n)})})},t.prototype.addWebVttScript_=function(){var e=this;if(!D.default.WebVTT)if(N.default.body.contains(this.el())){var t=n(1206);if(!this.options_["vtt.js"]&&(0,L.isPlain)(t)&&Object.keys(t).length>0)return void this.trigger("vttjsloaded");var r=N.default.createElement("script");r.src=this.options_["vtt.js"]||"https://vjs.zencdn.net/vttjs/0.12.3/vtt.min.js",r.onload=function(){e.trigger("vttjsloaded")},r.onerror=function(){e.trigger("vttjserror")},this.on("dispose",function(){r.onload=null,r.onerror=null}),D.default.WebVTT=!0,this.el().parentNode.appendChild(r)}else this.ready(this.addWebVttScript_)},t.prototype.emulateTextTracks=function(){var e=this,t=this.textTracks();if(t){var n=this.remoteTextTracks(),r=function(e){return t.addTrack_(e.track)},o=function(e){return t.removeTrack_(e.track)};n.on("addtrack",r),n.on("removetrack",o),this.addWebVttScript_();var i=function(){return e.trigger("texttrackchange")},a=function(){i();for(var e=0;e<t.length;e++){var n=t[e];n.removeEventListener("cuechange",i),"showing"===n.mode&&n.addEventListener("cuechange",i)}};a(),t.addEventListener("change",a),t.addEventListener("addtrack",a),t.addEventListener("removetrack",a),this.on("dispose",function(){n.off("addtrack",r),n.off("removetrack",o),t.removeEventListener("change",a),t.removeEventListener("addtrack",a),t.removeEventListener("removetrack",a);for(var e=0;e<t.length;e++){var s=t[e];s.removeEventListener("cuechange",i)}})}},t.prototype.videoTracks=function(){return this.videoTracks_=this.videoTracks_||new E.default,this.videoTracks_},t.prototype.audioTracks=function(){return this.audioTracks_=this.audioTracks_||new S.default,this.audioTracks_},t.prototype.textTracks=function(){return this.textTracks_=this.textTracks_||new b.default,this.textTracks_},t.prototype.remoteTextTracks=function(){return this.remoteTextTracks_=this.remoteTextTracks_||new b.default,this.remoteTextTracks_},t.prototype.remoteTextTrackEls=function(){return this.remoteTextTrackEls_=this.remoteTextTrackEls_||new h.default,this.remoteTextTrackEls_},t.prototype.addTextTrack=function(e,t,n){if(!e)throw new Error("TextTrack kind is required but was not provided");return u(this,e,t,n)},t.prototype.createRemoteTextTrack=function(e){var t=(0,y.default)(e,{tech:this});return new d.default(t)},t.prototype.addRemoteTextTrack=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1],n=this.createRemoteTextTrack(e);return t!==!0&&t!==!1&&(k.default.warn('Calling addRemoteTextTrack without explicitly setting the "manualCleanup" parameter to `true` is deprecated and default to `false` in future version of video.js'),t=!0),this.remoteTextTrackEls().addTrackElement_(n),this.remoteTextTracks().addTrack_(n.track),t!==!0&&this.autoRemoteTextTracks_.addTrack_(n.track),n},t.prototype.removeRemoteTextTrack=function(e){var t=this.remoteTextTrackEls().getTrackElementByTrack_(e);this.remoteTextTrackEls().removeTrackElement_(t),this.remoteTextTracks().removeTrack_(e),this.autoRemoteTextTracks_.removeTrack_(e)},t.prototype.setPoster=function(){},t.prototype.canPlayType=function(){return""},t.isTech=function(e){return e.prototype instanceof t||e instanceof t||e===t},t.registerTech=function(e,n){if(t.techs_||(t.techs_={}),!t.isTech(n))throw new Error("Tech "+e+" must be a Tech");return t.techs_[e]=n,n},t.getTech=function(e){return t.techs_&&t.techs_[e]?t.techs_[e]:D.default&&D.default.videojs&&D.default.videojs[e]?(k.default.warn("The "+e+" tech was added to the videojs object when it should be registered using videojs.registerTech(name, tech)"),D.default.videojs[e]):void 0},t}(l.default);F.prototype.textTracks_,F.prototype.audioTracks_,F.prototype.videoTracks_,F.prototype.featuresVolumeControl=!0,F.prototype.featuresFullscreenResize=!1,F.prototype.featuresPlaybackRate=!1,F.prototype.featuresProgressEvents=!1,F.prototype.featuresTimeupdateEvents=!1,F.prototype.featuresNativeTextTracks=!1,F.withSourceHandlers=function(e){e.registerSourceHandler=function(t,n){var r=e.sourceHandlers;r||(r=e.sourceHandlers=[]),void 0===n&&(n=r.length),r.splice(n,0,t)},e.canPlayType=function(t){for(var n=e.sourceHandlers||[],r=void 0,o=0;o<n.length;o++)if(r=n[o].canPlayType(t))return r;return""},e.selectSourceHandler=function(t,n){for(var r=e.sourceHandlers||[],o=void 0,i=0;i<r.length;i++)if(o=r[i].canHandleSource(t,n))return r[i];return null},e.canPlaySource=function(t,n){var r=e.selectSourceHandler(t,n);return r?r.canHandleSource(t,n):""};var t=["seekable","duration"];t.forEach(function(e){var t=this[e];"function"==typeof t&&(this[e]=function(){return this.sourceHandler_&&this.sourceHandler_[e]?this.sourceHandler_[e].apply(this.sourceHandler_,arguments):t.apply(this,arguments)})},e.prototype),e.prototype.setSource=function(t){var n=e.selectSourceHandler(t,this.options_);return n||(e.nativeSourceHandler?n=e.nativeSourceHandler:k.default.error("No source hander found for the current source.")),this.disposeSourceHandler(),this.off("dispose",this.disposeSourceHandler),n!==e.nativeSourceHandler&&(this.currentSource_=t,this.off(this.el_,"loadstart",e.prototype.firstLoadStartListener_),this.off(this.el_,"loadstart",e.prototype.successiveLoadStartListener_),this.one(this.el_,"loadstart",e.prototype.firstLoadStartListener_)),this.sourceHandler_=n.handleSource(t,this,this.options_),this.on("dispose",this.disposeSourceHandler),this},e.prototype.firstLoadStartListener_=function(){this.one(this.el_,"loadstart",e.prototype.successiveLoadStartListener_)},e.prototype.successiveLoadStartListener_=function(){this.disposeSourceHandler(),this.one(this.el_,"loadstart",e.prototype.successiveLoadStartListener_)},e.prototype.disposeSourceHandler=function(){this.currentSource_&&(this.clearTracks(["audio","video"]),this.currentSource_=null),this.cleanupAutoTextTracks(),this.sourceHandler_&&(this.off(this.el_,"loadstart",e.prototype.firstLoadStartListener_),this.off(this.el_,"loadstart",e.prototype.successiveLoadStartListener_),this.sourceHandler_.dispose&&this.sourceHandler_.dispose(),this.sourceHandler_=null)}},l.default.registerComponent("Tech",F),l.default.registerComponent("MediaTechController",F),F.registerTech("Tech",F),t.default=F},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){if(t<0||t>n)throw new Error("Failed to execute '"+e+"' on 'TimeRanges': The index provided ("+t+") is greater than or equal to the maximum bound ("+n+").")}function i(e,t,n,r){return void 0===r&&(c.default.warn("DEPRECATED: Function '"+e+"' on 'TimeRanges' called without an index argument."),r=0),o(e,r,n.length-1),n[r][t]}function a(e){return void 0===e||0===e.length?{length:0,start:function(){throw new Error("This TimeRanges object is empty")},end:function(){throw new Error("This TimeRanges object is empty")}}:{length:e.length,start:i.bind(null,"start",0,e),end:i.bind(null,"end",1,e)}}function s(e,t){return Array.isArray(e)?a(e):void 0===e||void 0===t?a():a([[e,t]])}t.__esModule=!0,t.createTimeRange=void 0,t.createTimeRanges=s;var u=n(46),c=r(u);t.createTimeRange=s},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=e.locale||e.settings.locale||"en";return a.default.setLanguage(n),a.default}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(535),a=r(i)},,[1569,59,88,35],function(e,t,n){n(622);for(var r=n(47),o=n(86),i=n(108),a=n(35)("toStringTag"),s=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],u=0;u<5;u++){var c=s[u],l=r[c],f=l&&l.prototype;f&&!f[a]&&o(f,a,c),i[c]=i.Array}},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(f===clearTimeout)return clearTimeout(e);if((f===r||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(e);try{return f(e)}catch(t){try{return f.call(null,e)}catch(t){return f.call(this,e)}}}function a(){v&&p&&(v=!1,p.length?h=p.concat(h):y=-1,h.length&&s())}function s(){if(!v){var e=o(a);v=!0;for(var t=h.length;t;){for(p=h,h=[];++y<t;)p&&p[y].run();y=-1,t=h.length}p=null,v=!1,i(e)}}function u(e,t){this.fun=e,this.array=t}function c(){}var l,f,d=e.exports={};!function(){try{l="function"==typeof setTimeout?setTimeout:n}catch(e){l=n}try{f="function"==typeof clearTimeout?clearTimeout:r}catch(e){f=r}}();var p,h=[],v=!1,y=-1;d.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 u(e,t)),1!==h.length||v||o(s)},u.prototype.run=function(){this.fun.apply(null,this.array)},d.title="browser",d.browser=!0,d.env={},d.argv=[],d.version="",d.versions={},d.on=c,d.addListener=c,d.once=c,d.off=c,d.removeListener=c,d.removeAllListeners=c,d.emit=c,d.binding=function(e){throw new Error("process.binding is not supported")},d.cwd=function(){return"/"},d.chdir=function(e){throw new Error("process.chdir is not supported")},d.umask=function(){return 0}},,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),c=r(u),l=n(7),f=r(l),d=n(6),p=r(d),h=n(1),v=r(h),y=function(e){function t(){return(0,s.default)(this,t),(0,f.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,c.default)(t,[{key:"render",value:function(){var e=this.props.hide?this.props.className+" u-hide":this.props.className;return v.default.createElement("div",{className:e,dangerouslySetInnerHTML:{__html:this.props.material}})}}]),t}(v.default.Component);t.default=y},function(e,t,n){e.exports={default:n(599),__esModule:!0}},function(e,t){e.exports=!0},144,[1564,51,24,105],98,[1495,45,31,97],function(e,t,n){"use strict";var r=n(14),o=n(2),i=n(43),a=n(95),s=n(78),u=n(111),c=n(90),l=n(18),f=n(15),d=n(174),p=n(113),h=n(244);e.exports=function(e,t,n,v,y,g){var m=r[e],_=m,b=y?"set":"add",w=_&&_.prototype,E={},T=function(e){var t=w[e];i(w,e,"delete"==e?function(e){return!(g&&!l(e))&&t.call(this,0===e?0:e)}:"has"==e?function(e){return!(g&&!l(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return g&&!l(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,n){return t.call(this,0===e?0:e,n),this})};if("function"==typeof _&&(g||w.forEach&&!f(function(){(new _).entries().next()}))){var S=new _,C=S[b](g?{}:-0,1)!=S,x=f(function(){S.has(1)}),O=d(function(e){new _(e)}),k=!g&&f(function(){for(var e=new _,t=5;t--;)e[b](t,t);return!e.has(-0)});O||(_=t(function(t,n){c(t,_,e);var r=h(new m,t,_);return void 0!=n&&u(n,y,r[b],r),r}),_.prototype=w,w.constructor=_),(x||k)&&(T("delete"),T("has"),y&&T("get")),(k||C)&&T(b),g&&w.clear&&delete w.clear}else _=v.getConstructor(t,e,y,b),a(_.prototype,n),s.NEED=!0;return p(_,e),E[e]=_,o(o.G+o.W+o.F*(_!=m),E),g||v.setStrong(_,e,y),_}},function(e,t,n){"use strict";var r=n(42),o=n(43),i=n(15),a=n(53),s=n(20);e.exports=function(e,t,n){var u=s(e),c=n(a,u,""[e]),l=c[0],f=c[1];i(function(){var t={};return t[u]=function(){return 7},7!=""[e](t)})&&(o(String.prototype,e,l),r(RegExp.prototype,u,2==t?function(e,t){return f.call(e,this,t)}:function(e){return f.call(e,this)}))}},function(e,t,n){"use strict";var r=n(12);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t){e.exports=function(e,t,n){
+var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(18),o=n(52),i=n(20)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},[1536,20],function(e,t,n){e.exports=n(91)||!n(15)(function(){var e=Math.random();__defineSetter__.call(null,e,function(){}),delete n(14)[e]})},function(e,t){t.f=Object.getOwnPropertySymbols},[1573,14],function(e,t,n){for(var r,o=n(14),i=n(42),a=n(98),s=a("typed_array"),u=a("view"),c=!(!o.ArrayBuffer||!o.DataView),l=c,f=0,d=9,p="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");f<d;)(r=o[p[f++]])?(i(r.prototype,s,!0),i(r.prototype,u,!0)):l=!1;e.exports={ABV:c,CONSTR:l,TYPED:s,VIEW:u}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{publishSource:!0,clientOffset:null},n=t.publishSource,r=t.clientOffset,o=t.getSourceClientOffset;(0,f.default)((0,p.default)(e),"Expected sourceIds to be an array.");var i=this.getMonitor(),a=this.getRegistry();(0,f.default)(!i.isDragging(),"Cannot call beginDrag while dragging.");for(var s=0;s<e.length;s++)(0,f.default)(a.getSource(e[s]),"Expected sourceIds to be registered.");for(var u=null,c=e.length-1;c>=0;c--)if(i.canDragSource(e[c])){u=e[c];break}if(null!==u){var l=null;r&&((0,f.default)("function"==typeof o,"When clientOffset is provided, getSourceClientOffset must be a function."),l=o(u));var d=a.getSource(u),h=d.beginDrag(i,u);(0,f.default)((0,v.default)(h),"Item must be an object."),a.pinSource(u);var y=a.getSourceType(u);return{type:m,itemType:y,item:h,sourceId:u,clientOffset:r,sourceClientOffset:l,isSourcePublic:n}}}function i(){var e=this.getMonitor();if(e.isDragging())return{type:_}}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.clientOffset,r=void 0===n?null:n;(0,f.default)((0,p.default)(e),"Expected targetIds to be an array.");var o=e.slice(0),i=this.getMonitor(),a=this.getRegistry();(0,f.default)(i.isDragging(),"Cannot call hover while not dragging."),(0,f.default)(!i.didDrop(),"Cannot call hover after drop.");for(var s=0;s<o.length;s++){var u=o[s];(0,f.default)(o.lastIndexOf(u)===s,"Expected targetIds to be unique in the passed array.");var c=a.getTarget(u);(0,f.default)(c,"Expected targetIds to be registered.")}for(var l=i.getItemType(),d=o.length-1;d>=0;d--){var h=o[d],v=a.getTargetType(h);(0,g.default)(v,l)||o.splice(d,1)}for(var y=0;y<o.length;y++){var m=o[y],_=a.getTarget(m);_.hover(i,m)}return{type:b,targetIds:o,clientOffset:r}}function s(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this.getMonitor(),r=this.getRegistry();(0,f.default)(n.isDragging(),"Cannot call drop while not dragging."),(0,f.default)(!n.didDrop(),"Cannot call drop twice during one drag operation.");var o=n.getTargetIds().filter(n.canDropOnTarget,n);o.reverse(),o.forEach(function(o,i){var a=r.getTarget(o),s=a.drop(n,o);(0,f.default)("undefined"==typeof s||(0,v.default)(s),"Drop result must either be an object or undefined."),"undefined"==typeof s&&(s=0===i?{}:n.getDropResult()),e.store.dispatch({type:w,dropResult:c({},t,s)})})}function u(){var e=this.getMonitor(),t=this.getRegistry();(0,f.default)(e.isDragging(),"Cannot call endDrag while not dragging.");var n=e.getSourceId(),r=t.getSource(n,!0);return r.endDrag(e,n),t.unpinSource(),{type:E}}Object.defineProperty(t,"__esModule",{value:!0}),t.END_DRAG=t.DROP=t.HOVER=t.PUBLISH_DRAG_SOURCE=t.BEGIN_DRAG=void 0;var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.beginDrag=o,t.publishDragSource=i,t.hover=a,t.drop=s,t.endDrag=u;var l=n(17),f=r(l),d=n(39),p=r(d),h=n(118),v=r(h),y=n(389),g=r(y),m=t.BEGIN_DRAG="dnd-core/BEGIN_DRAG",_=t.PUBLISH_DRAG_SOURCE="dnd-core/PUBLISH_DRAG_SOURCE",b=t.HOVER="dnd-core/HOVER",w=t.DROP="dnd-core/DROP",E=t.END_DRAG="dnd-core/END_DRAG"},function(e,t){"use strict";function n(e){return{type:a,sourceId:e}}function r(e){return{type:s,targetId:e}}function o(e){return{type:u,sourceId:e}}function i(e){return{type:c,targetId:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.addSource=n,t.addTarget=r,t.removeSource=o,t.removeTarget=i;var a=t.ADD_SOURCE="dnd-core/ADD_SOURCE",s=t.ADD_TARGET="dnd-core/ADD_TARGET",u=t.REMOVE_SOURCE="dnd-core/REMOVE_SOURCE",c=t.REMOVE_TARGET="dnd-core/REMOVE_TARGET"},function(e,t){"use strict";t.__esModule=!0;t.PUSH="PUSH",t.REPLACE="REPLACE",t.POP="POP"},function(e,t){"use strict";t.__esModule=!0;t.addEventListener=function(e,t,n){return e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)},t.removeEventListener=function(e,t,n){return e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent("on"+t,n)},t.supportsHistory=function(){var e=window.navigator.userAgent;return(e.indexOf("Android 2.")===-1&&e.indexOf("Android 4.0")===-1||e.indexOf("Mobile Safari")===-1||e.indexOf("Chrome")!==-1||e.indexOf("Windows Phone")!==-1)&&(window.history&&"pushState"in window.history)},t.supportsGoWithoutReloadUsingHash=function(){return window.navigator.userAgent.indexOf("Firefox")===-1},t.supportsPopstateOnHashchange=function(){return window.navigator.userAgent.indexOf("Trident")===-1},t.isExtraneousPopstateEvent=function(e){return void 0===e.state&&navigator.userAgent.indexOf("CriOS")===-1}},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var o=n(919),i=n(920),a=n(921),s=n(922),u=n(923);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=s,r.prototype.set=u,e.exports=r},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new o;++t<n;)this.add(e[t])}var o=n(271),i=n(936),a=n(937);r.prototype.add=r.prototype.push=i,r.prototype.has=a,e.exports=r},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}e.exports=n},function(e,t,n){function r(e,t){for(var n=e.length;n--;)if(o(e[n][0],t))return n;return-1}var o=n(147);e.exports=r},function(e,t){function n(e,t){return e.has(t)}e.exports=n},function(e,t,n){function r(e,t){var n=e.__data__;return o(t)?n["string"==typeof t?"string":"hash"]:n.map}var o=n(917);e.exports=r},function(e,t,n){var r=n(100),o=r(Object,"create");e.exports=o},function(e,t,n){function r(e){if("string"==typeof e||o(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}var o=n(283),i=1/0;e.exports=r},function(e,t){function n(e){return e}e.exports=n},function(e,t,n){function r(e){return null!=e&&i(e.length)&&!o(e)}var o=n(417),i=n(282);e.exports=r},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e){return new s.default(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.getEmptyImage=t.NativeTypes=void 0,t.default=i;var a=n(981),s=o(a),u=n(985),c=o(u),l=n(286),f=r(l);t.NativeTypes=f,t.getEmptyImage=c.default},function(e,t,n){"use strict";function r(e,t){}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";function r(e){return"topMouseUp"===e||"topTouchEnd"===e||"topTouchCancel"===e}function o(e){return"topMouseMove"===e||"topTouchMove"===e}function i(e){return"topMouseDown"===e||"topTouchStart"===e}function a(e,t,n,r){var o=e.type||"unknown-event";e.currentTarget=g.getNodeFromInstance(r),t?v.invokeGuardedCallbackWithCatch(o,n,e):v.invokeGuardedCallback(o,n,e),e.currentTarget=null}function s(e,t){var n=e._dispatchListeners,r=e._dispatchInstances;if(Array.isArray(n))for(var o=0;o<n.length&&!e.isPropagationStopped();o++)a(e,t,n[o],r[o]);else n&&a(e,t,n,r);e._dispatchListeners=null,e._dispatchInstances=null}function u(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t)){for(var r=0;r<t.length&&!e.isPropagationStopped();r++)if(t[r](e,n[r]))return n[r]}else if(t&&t(e,n))return n;return null}function c(e){var t=u(e);return e._dispatchInstances=null,e._dispatchListeners=null,t}function l(e){var t=e._dispatchListeners,n=e._dispatchInstances;Array.isArray(t)?h("103"):void 0,e.currentTarget=t?g.getNodeFromInstance(n):null;var r=t?t(e):null;return e.currentTarget=null,e._dispatchListeners=null,e._dispatchInstances=null,r}function f(e){return!!e._dispatchListeners}var d,p,h=n(16),v=n(294),y=(n(10),n(13),{injectComponentTree:function(e){d=e},injectTreeTraversal:function(e){p=e}}),g={isEndish:r,isMoveish:o,isStartish:i,executeDirectDispatch:l,executeDispatchesInOrder:s,executeDispatchesInOrderStopAtTrue:c,hasDispatches:f,getInstanceFromNode:function(e){return d.getInstanceFromNode(e)},getNodeFromInstance:function(e){return d.getNodeFromInstance(e)},isAncestor:function(e,t){return p.isAncestor(e,t)},getLowestCommonAncestor:function(e,t){return p.getLowestCommonAncestor(e,t)},getParentInstance:function(e){return p.getParentInstance(e)},traverseTwoPhase:function(e,t,n){return p.traverseTwoPhase(e,t,n)},traverseEnterLeave:function(e,t,n,r,o){return p.traverseEnterLeave(e,t,n,r,o)},injection:y};e.exports=g},function(e,t,n){"use strict";function r(e){return Object.prototype.hasOwnProperty.call(e,v)||(e[v]=p++,f[e[v]]={}),f[e[v]]}var o,i=n(21),a=n(290),s=n(1033),u=n(296),c=n(1065),l=n(301),f={},d=!1,p=0,h={topAbort:"abort",topAnimationEnd:c("animationend")||"animationend",topAnimationIteration:c("animationiteration")||"animationiteration",topAnimationStart:c("animationstart")||"animationstart",topBlur:"blur",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topChange:"change",topClick:"click",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topScroll:"scroll",topSeeked:"seeked",topSeeking:"seeking",topSelectionChange:"selectionchange",topStalled:"stalled",topSuspend:"suspend",topTextInput:"textInput",topTimeUpdate:"timeupdate",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topTransitionEnd:c("transitionend")||"transitionend",topVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"},v="_reactListenersID"+String(Math.random()).slice(2),y=i({},s,{ReactEventListener:null,injection:{injectReactEventListener:function(e){e.setHandleTopLevel(y.handleTopLevel),y.ReactEventListener=e}},setEnabled:function(e){y.ReactEventListener&&y.ReactEventListener.setEnabled(e)},isEnabled:function(){return!(!y.ReactEventListener||!y.ReactEventListener.isEnabled())},listenTo:function(e,t){for(var n=t,o=r(n),i=a.registrationNameDependencies[e],s=0;s<i.length;s++){var u=i[s];o.hasOwnProperty(u)&&o[u]||("topWheel"===u?l("wheel")?y.ReactEventListener.trapBubbledEvent("topWheel","wheel",n):l("mousewheel")?y.ReactEventListener.trapBubbledEvent("topWheel","mousewheel",n):y.ReactEventListener.trapBubbledEvent("topWheel","DOMMouseScroll",n):"topScroll"===u?l("scroll",!0)?y.ReactEventListener.trapCapturedEvent("topScroll","scroll",n):y.ReactEventListener.trapBubbledEvent("topScroll","scroll",y.ReactEventListener.WINDOW_HANDLE):"topFocus"===u||"topBlur"===u?(l("focus",!0)?(y.ReactEventListener.trapCapturedEvent("topFocus","focus",n),y.ReactEventListener.trapCapturedEvent("topBlur","blur",n)):l("focusin")&&(y.ReactEventListener.trapBubbledEvent("topFocus","focusin",n),y.ReactEventListener.trapBubbledEvent("topBlur","focusout",n)),o.topBlur=!0,o.topFocus=!0):h.hasOwnProperty(u)&&y.ReactEventListener.trapBubbledEvent(u,h[u],n),o[u]=!0)}},trapBubbledEvent:function(e,t,n){return y.ReactEventListener.trapBubbledEvent(e,t,n)},trapCapturedEvent:function(e,t,n){return y.ReactEventListener.trapCapturedEvent(e,t,n)},supportsEventPageXY:function(){if(!document.createEvent)return!1;var e=document.createEvent("MouseEvent");return null!=e&&"pageX"in e},ensureScrollValueMonitoring:function(){if(void 0===o&&(o=y.supportsEventPageXY()),!o&&!d){var e=u.refreshScrollValues;y.ReactEventListener.monitorScrollValue(e),d=!0}}});e.exports=y},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(124),i=n(296),a=n(299),s={screenX:null,screenY:null,clientX:null,clientY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:a,button:function(e){var t=e.button;return"which"in e?t:2===t?2:4===t?1:0},buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},pageX:function(e){return"pageX"in e?e.pageX:e.clientX+i.currentScrollLeft},pageY:function(e){return"pageY"in e?e.pageY:e.clientY+i.currentScrollTop}};o.augmentClass(r,s),e.exports=r},function(e,t,n){"use strict";var r=n(16),o=(n(10),{}),i={reinitializeTransaction:function(){this.transactionWrappers=this.getTransactionWrappers(),this.wrapperInitData?this.wrapperInitData.length=0:this.wrapperInitData=[],this._isInTransaction=!1},_isInTransaction:!1,getTransactionWrappers:null,isInTransaction:function(){return!!this._isInTransaction},perform:function(e,t,n,o,i,a,s,u){this.isInTransaction()?r("27"):void 0;var c,l;try{this._isInTransaction=!0,c=!0,this.initializeAll(0),l=e.call(t,n,o,i,a,s,u),c=!1}finally{try{if(c)try{this.closeAll(0)}catch(e){}else this.closeAll(0)}finally{this._isInTransaction=!1}}return l},initializeAll:function(e){for(var t=this.transactionWrappers,n=e;n<t.length;n++){var r=t[n];try{this.wrapperInitData[n]=o,this.wrapperInitData[n]=r.initialize?r.initialize.call(this):null}finally{if(this.wrapperInitData[n]===o)try{this.initializeAll(n+1)}catch(e){}}}},closeAll:function(e){this.isInTransaction()?void 0:r("28");for(var t=this.transactionWrappers,n=e;n<t.length;n++){var i,a=t[n],s=this.wrapperInitData[n];try{i=!0,s!==o&&a.close&&a.close.call(this,s),i=!1}finally{if(i)try{this.closeAll(n+1)}catch(e){}}}this.wrapperInitData.length=0}};e.exports=i},function(e,t){"use strict";function n(e){var t=""+e,n=o.exec(t);if(!n)return t;var r,i="",a=0,s=0;for(a=n.index;a<t.length;a++){switch(t.charCodeAt(a)){case 34:r="&quot;";break;case 38:r="&amp;";break;case 39:r="&#x27;";break;case 60:r="&lt;";break;case 62:r="&gt;";break;default:continue}s!==a&&(i+=t.substring(s,a)),s=a+1,i+=r}return s!==a?i+t.substring(s,a):i}function r(e){return"boolean"==typeof e||"number"==typeof e?""+e:n(e)}var o=/["'&<>]/;e.exports=r},function(e,t,n){"use strict";var r,o=n(38),i=n(289),a=/^[ \r\n\t\f]/,s=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,u=n(297),c=u(function(e,t){if(e.namespaceURI!==i.svg||"innerHTML"in e)e.innerHTML=t;else{r=r||document.createElement("div"),r.innerHTML="<svg>"+t+"</svg>";for(var n=r.firstChild;n.firstChild;)e.appendChild(n.firstChild)}});if(o.canUseDOM){var l=document.createElement("div");l.innerHTML=" ",""===l.innerHTML&&(c=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),a.test(t)||"<"===t[0]&&s.test(t)){e.innerHTML=String.fromCharCode(65279)+t;var n=e.firstChild;1===n.data.length?e.removeChild(n):n.deleteData(0,1)}else e.innerHTML=t}),l=null}e.exports=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(476);Object.defineProperty(t,"instrument",{enumerable:!0,get:function(){return r(o).default}}),Object.defineProperty(t,"ActionCreators",{enumerable:!0,get:function(){return o.ActionCreators}}),Object.defineProperty(t,"ActionTypes",{enumerable:!0,get:function(){return o.ActionTypes}});var i=n(1137);Object.defineProperty(t,"persistState",{enumerable:!0,get:function(){return r(i).default}});var a=n(1136);Object.defineProperty(t,"createDevTools",{enumerable:!0,get:function(){return r(a).default}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(483),u=r(s),c=n(8),l=r(c),f=n(316),d=r(f),p=n(1175),h=r(p),v=function(e){function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o(this,t),r.tracks=n.textTracks(),i(this,e.call(this,n,r))}return a(t,e),t.prototype.createItems=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];e.push(new h.default(this.player_,{kind:this.kind_})),this.hideThreshold_+=1;var t=this.player_.textTracks();if(!t)return e;for(var n=0;n<t.length;n++){var r=t[n];r.kind===this.kind_&&e.push(new d.default(this.player_,{track:r,selectable:!0}))}return e},t}(u.default);l.default.registerComponent("TextTrackButton",v),t.default=v},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.__esModule=!0;var o=n(83),i=r(o),a=function(){};a.prototype.allowedEvents_={},a.prototype.on=function(e,t){var n=this.addEventListener;this.addEventListener=function(){},i.on(this,e,t),this.addEventListener=n},a.prototype.addEventListener=a.prototype.on,a.prototype.off=function(e,t){i.off(this,e,t)},a.prototype.removeEventListener=a.prototype.off,a.prototype.one=function(e,t){var n=this.addEventListener;this.addEventListener=function(){},i.one(this,e,t),this.addEventListener=n},a.prototype.trigger=function(e){var t=e.type||e;"string"==typeof e&&(e={type:t}),e=i.fixEvent(e),this.allowedEvents_[t]&&this["on"+t]&&this["on"+t](e),i.trigger(this,e)},a.prototype.dispatchEvent=a.prototype.trigger,t.default=a},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(153),u=r(s),c=n(8),l=r(c),f=n(34),d=function(e){function t(n,r){o(this,t);var a=i(this,e.call(this,n,r));return a.selectable=r.selectable,a.selected(r.selected),a.selectable?a.el_.setAttribute("role","menuitemcheckbox"):a.el_.setAttribute("role","menuitem"),a}return a(t,e),t.prototype.createEl=function(t,n,r){return this.nonIconControl=!0,e.prototype.createEl.call(this,"li",(0,f.assign)({className:"vjs-menu-item",innerHTML:this.localize(this.options_.label),tabIndex:-1},n),r)},t.prototype.handleClick=function(e){this.selected(!0)},t.prototype.selected=function(e){this.selectable&&(e?(this.addClass("vjs-selected"),this.el_.setAttribute("aria-checked","true"),this.controlText(", selected")):(this.removeClass("vjs-selected"),this.el_.setAttribute("aria-checked","false"),this.controlText(" ")))},t}(u.default);l.default.registerComponent("MenuItem",d),t.default=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.isCrossOrigin=t.getFileExtension=t.getAbsoluteURL=t.parseUrl=void 0;var o=n(28),i=r(o),a=n(30),s=r(a),u=t.parseUrl=function(e){var t=["protocol","hostname","port","pathname","search","hash","host"],n=i.default.createElement("a");n.href=e;var r=""===n.host&&"file:"!==n.protocol,o=void 0;r&&(o=i.default.createElement("div"),o.innerHTML='<a href="'+e+'"></a>',n=o.firstChild,o.setAttribute("style","display:none; position:absolute;"),i.default.body.appendChild(o));for(var a={},s=0;s<t.length;s++)a[t[s]]=n[t[s]];return"http:"===a.protocol&&(a.host=a.host.replace(/:80$/,"")),"https:"===a.protocol&&(a.host=a.host.replace(/:443$/,"")),r&&i.default.body.removeChild(o),a};t.getAbsoluteURL=function(e){if(!e.match(/^https?:\/\//)){var t=i.default.createElement("div");t.innerHTML='<a href="'+e+'">x</a>',e=t.firstChild.href}return e},t.getFileExtension=function(e){if("string"==typeof e){var t=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/i,n=t.exec(e);if(n)return n.pop().toLowerCase()}return""},t.isCrossOrigin=function(e){var t=s.default.location,n=u(e),r=":"===n.protocol?t.protocol:n.protocol,o=r+n.host!==t.protocol+t.host;return o}},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children=[],e.webpackPolyfill=1),e}},,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.itemViewed=t.assessmentViewed=t.retakeAssessment=t.previousQuestions=t.nextQuestions=t.submitAssessment=t.selectConfidenceLevel=t.checkAnswer=t.selectQuestion=t.answerSelected=t.start=t.Constants=void 0;var o=n(56),i=r(o),a=["ASSESSMENT_START","QUESTION_SELECTED","LEVEL_SELECTED","RETAKE_ASSESSMENT","ASSESSMENT_VIEWED","CHECK_QUESTIONS"],s=["ASSESSMENT_SUBMITTED","ANSWER_SELECTED","ASSESSMENT_CHECK_ANSWER","ASSESSMENT_NEXT_QUESTIONS","ASSESSMENT_PREVIOUS_QUESTIONS"],u=t.Constants=(0,i.default)(a,s);t.start=function(e){return{type:u.ASSESSMENT_START,assessmentId:e}},t.answerSelected=function(e,t,n){return{type:u.ANSWER_SELECTED,questionIndex:e,answerData:t,exclusive:n}},t.selectQuestion=function(e){return{type:u.QUESTION_SELECTED,index:e}},t.checkAnswer=function(e){return{type:u.ASSESSMENT_CHECK_ANSWER,questionIndexes:e,apiCall:!0}},t.selectConfidenceLevel=function(e,t){return{type:u.LEVEL_SELECTED,level:e,index:t}},t.submitAssessment=function(e,t,n,r,o,i){return{type:u.ASSESSMENT_SUBMITTED,identifier:e,assessmentId:t,questions:n,answers:r,settings:o,outcomes:i,apiCall:!0}},t.nextQuestions=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return{type:u.ASSESSMENT_NEXT_QUESTIONS,pageSize:e,apiCall:!0}},t.previousQuestions=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return{type:u.ASSESSMENT_PREVIOUS_QUESTIONS,pageSize:e,apiCall:!0}},t.retakeAssessment=function(){return{type:u.RETAKE_ASSESSMENT}},t.assessmentViewed=function(e,t){return{type:u.ASSESSMENT_VIEWED,settings:e,assessment:t}},t.itemViewed=function(e){return{type:u.ASSESSMENT_VIEWED,body:e}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={GET:"get",POST:"post",PUT:"put",DEL:"delete",TIMEOUT:2e4}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.languageText=t.getLocation=t.htmlDecodeWithRoot=t.htmlDecode=t.makeId=t.currentTime=void 0;var o=n(3),i=r(o),a=(t.currentTime=function(){return(new Date).getTime()},t.makeId=function(){var e,t,n;for(e="",n=0;n<32;n++)8!=n&&12!=n&&16!=n&&20!=n||(e+="-"),t=Math.floor(16*Math.random()).toString(16).toUpperCase(),e+=t;return e},t.htmlDecode=function(e){var t=document.createElement("div");return t.innerHTML=e,0===t.childNodes.length?"":t.childNodes[0].nodeValue});t.htmlDecodeWithRoot=function(e){var t=a(e);return t&&t.length>0?"<root>"+a(e)+"</root>":null},t.getLocation=function(e){var t=document.createElement("a");return t.href=e,t},t.languageText=function(e,t){var n=i.default.find(e,{languageTypeId:t});return i.default.get(n,"text","")}},[1501,140,35],53,[1546,67,614,228,231,227,346],[1585,233],function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.initialOffset,n=e.currentOffset,r=e.currentClientOffset;if(!t||!n)return{display:"none"};var o=void 0,i=void 0;e.itemType===E.default.CLIX_DROPPABLE?(o=r.x-e.item.width/2,i=r.y-e.item.height/2):(o=n.x,i=n.y);var a="translate("+o+"px, "+i+"px)";return{transform:a,WebkitTransform:a}}function i(e){return{item:e.getItem(),itemType:e.getItemType(),initialOffset:e.getInitialSourceClientOffset(),currentOffset:e.getSourceClientOffset(),currentClientOffset:e.getClientOffset(),isDragging:e.isDragging()}}Object.defineProperty(t,"__esModule",{value:!0}),t.CustomDragLayer=void 0;var a=n(9),s=r(a),u=n(4),c=r(u),l=n(5),f=r(l),d=n(7),p=r(d),h=n(6),v=r(h),y=n(1),g=r(y),m=n(102),_=n(3),b=r(_),w=n(107),E=r(w),T=n(162),S=r(T),C=n(333),x=r(C),O={position:"fixed",pointerEvents:"none",zIndex:100,left:0,top:0,width:"100%",height:"100%"},k=g.default.createElement("div",null),M=t.CustomDragLayer=function(e){function t(){return(0,c.default)(this,t),(0,p.default)(this,(t.__proto__||(0,s.default)(t)).apply(this,arguments))}return(0,v.default)(t,e),(0,f.default)(t,[{key:"renderItem",value:function(e,t){switch(e){case E.default.WORD_GROUP:return b.default.map(t.words,function(e){return g.default.createElement(S.default,{key:e.id,material:e.material,className:t.wordClassName})});case E.default.FILL_BLANK_WORD:case E.default.WORD:return g.default.createElement(S.default,{key:t.itemId,material:t.material,className:t.wordClassName});case E.default.CLIX_DROPPABLE:return g.default.createElement(x.default,{key:t.droppableId,className:"c-droppable-item",text:t.droppableText,droppableId:t.droppableId});default:return k}}},{key:"render",value:function(){var e=this.props,t=e.item,n=e.itemType,r=e.isDragging;return r?g.default.createElement("div",{style:O},g.default.createElement("div",{style:o(this.props)},this.renderItem(n,t))):null}}]),t}(g.default.Component);t.default=(0,m.DragLayer)(i)(M)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(9),a=o(i),s=n(4),u=o(s),c=n(5),l=o(c),f=n(7),d=o(f),p=n(6),h=o(p),v=n(1),y=o(v),g=n(106),m=(o(g),n(58)),_=(r(m),function(e){function t(){return(0,u.default)(this,t),(0,d.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,h.default)(t,e),(0,l.default)(t,[{key:"allowDrop",value:function(e){e.preventDefault()}},{key:"drop",value:function(e){e.preventDefault();var t=e.dataTransfer.getData("text");document.getElementById(t).removeAttribute("style"),e.target.appendChild(document.getElementById(t))}},{key:"drag",value:function(e){e.dataTransfer.setData("text",e.target.id);var t=e.target.getBoundingClientRect();e.currentTarget.setAttribute("offsetX",(event.clientX-t.left).toString()),e.currentTarget.setAttribute("offsetY",(event.clientY-t.top).toString())}},{key:"render",value:function(){var e=this,t={float:"left",margin:"10px",padding:"10px",border:"1px solid #aaaaaa",display:"inline",zIndex:"2"},n="zone"+this.props.item.id;return y.default.createElement("div",{className:"dropZone",id:n,onDrop:function(t){e.drop(t)},onDragOver:function(t){document.getElementById(n).hasChildNodes()?t.stopPropagation():e.allowDrop(t)},style:t},y.default.createElement("div",{className:"draggable",draggable:"true",onDragOver:function(e){e.stopPropagation()},onDrop:function(e){e.stopPropagation()},onDragStart:function(t){e.drag(t)},id:this.props.item.id+this._reactInternalInstance._rootNodeID,width:"88",height:"31"},this.props.item.label))}}]),t}(y.default.Component));t.default=_},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return{connectDragSource:e.dragSource(),isDragging:t.isDragging(),connectDragPreview:e.dragPreview()}}Object.defineProperty(t,"__esModule",{value:!0}),t.FillTheBlankDraggableWord=t.DraggableWord=void 0;var i=n(9),a=r(i),s=n(4),u=r(s),c=n(5),l=r(c),f=n(7),d=r(f),p=n(6),h=r(p),v=n(1),y=r(v),g=n(102),m=n(193),_=n(162),b=r(_),w=n(107),E=r(w),T={beginDrag:function(e){return{itemId:e.id,material:e.material,wordClassName:e.wordClassName}}},S=t.DraggableWord=function(e){function t(){return(0,u.default)(this,t),(0,d.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,h.default)(t,e),(0,l.default)(t,[{key:"componentDidMount",value:function(){this.props.connectDragPreview((0,m.getEmptyImage)())}},{key:"render",value:function(){var e=this.props,t=e.connectDragSource,n=e.isDragging;return t(y.default.createElement("div",{style:{display:"inline-block"}},y.default.createElement(b.default,{hide:this.props.hide||n,material:this.props.material,className:this.props.wordClassName})))}}]),t}(y.default.Component);t.default=(0,g.DragSource)(E.default.WORD,T,o)(S);t.FillTheBlankDraggableWord=(0,g.DragSource)(E.default.FILL_BLANK_WORD,T,o)(S)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(102),i=n(193),a=r(i);t.default=(0,o.DragDropContext)(a.default)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return{type:f.REFRESH_JWT,method:u.default.GET,url:"api/jwts/"+e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Constants=void 0,t.refreshJwt=o;var i=n(56),a=r(i),s=n(210),u=r(s),c=[],l=["REFRESH_JWT"],f=t.Constants=(0,a.default)(c,l)},,,function(e,t,n){e.exports={default:n(589),__esModule:!0}},function(e,t,n){e.exports={default:n(601),__esModule:!0}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(343),i=r(o),a=n(547),s=r(a),u="function"==typeof s.default&&"symbol"==typeof i.default?function(e){return typeof e}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":typeof e};t.default="function"==typeof s.default&&"symbol"===u(i.default)?function(e){return"undefined"==typeof e?"undefined":u(e)}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":"undefined"==typeof e?"undefined":u(e)}},41,[1510,69,47],function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},[1540,167,69,88,59,105],176,[1571,232,167],[1573,47],80,[1588,69],[1590,47,24,164,236,59],[1592,35],[1597,212,35,108,24],function(e,t,n){"use strict";var r=n(32),o=n(97),i=n(31);e.exports=function(e){for(var t=r(this),n=i(t.length),a=arguments.length,s=o(a>1?arguments[1]:void 0,n),u=a>2?arguments[2]:void 0,c=void 0===u?n:o(u,n);c>s;)t[s++]=e;return t}},[1505,26,79],[1510,18,14],228,function(e,t,n){var r=n(20)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(e){}}return!0}},[1519,14],function(e,t,n){var r=n(18),o=n(252).set;e.exports=function(e,t,n){var i,a=t.constructor;return a!==n&&"function"==typeof a&&(i=a.prototype)!==n.prototype&&r(i)&&o&&o(e,i),e}},[1525,112,20],[1526,52],[1532,92,79,113,42,20],[1534,91,2,43,42,37,112,247,113,49,20],function(e,t){
+var n=Math.expm1;e.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||n(-2e-17)!=-2e-17?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:n},function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},[1542,14,259,52],[1566,18,12,71,48],[1571,177,98],[1575,12,41,20],[1577,80,53],function(e,t,n){var r=n(173),o=n(53);e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(e))}},function(e,t,n){"use strict";var r=n(80),o=n(53);e.exports=function(e){var t=String(o(this)),n="",i=r(e);if(i<0||i==1/0)throw RangeError("Count can't be negative");for(;i>0;(i>>>=1)&&(t+=t))1&i&&(n+=t);return n}},function(e,t){e.exports="\t\n\v\f\r   ᠎             　\u2028\u2029\ufeff"},[1578,71,172,243,240,14,52],function(e,t,n){"use strict";var r=n(14),o=n(25),i=n(91),a=n(178),s=n(42),u=n(95),c=n(15),l=n(90),f=n(80),d=n(31),p=n(93).f,h=n(26).f,v=n(238),y=n(113),g="ArrayBuffer",m="DataView",_="prototype",b="Wrong length!",w="Wrong index!",E=r[g],T=r[m],S=r.Math,C=r.RangeError,x=r.Infinity,O=E,k=S.abs,M=S.pow,P=S.floor,A=S.log,I=S.LN2,j="buffer",D="byteLength",R="byteOffset",N=o?"_b":j,L=o?"_l":D,F=o?"_o":R,U=function(e,t,n){var r,o,i,a=Array(n),s=8*n-t-1,u=(1<<s)-1,c=u>>1,l=23===t?M(2,-24)-M(2,-77):0,f=0,d=e<0||0===e&&1/e<0?1:0;for(e=k(e),e!=e||e===x?(o=e!=e?1:0,r=u):(r=P(A(e)/I),e*(i=M(2,-r))<1&&(r--,i*=2),e+=r+c>=1?l/i:l*M(2,1-c),e*i>=2&&(r++,i/=2),r+c>=u?(o=0,r=u):r+c>=1?(o=(e*i-1)*M(2,t),r+=c):(o=e*M(2,c-1)*M(2,t),r=0));t>=8;a[f++]=255&o,o/=256,t-=8);for(r=r<<t|o,s+=t;s>0;a[f++]=255&r,r/=256,s-=8);return a[--f]|=128*d,a},B=function(e,t,n){var r,o=8*n-t-1,i=(1<<o)-1,a=i>>1,s=o-7,u=n-1,c=e[u--],l=127&c;for(c>>=7;s>0;l=256*l+e[u],u--,s-=8);for(r=l&(1<<-s)-1,l>>=-s,s+=t;s>0;r=256*r+e[u],u--,s-=8);if(0===l)l=1-a;else{if(l===i)return r?NaN:c?-x:x;r+=M(2,t),l-=a}return(c?-1:1)*r*M(2,l-t)},q=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},W=function(e){return[255&e]},z=function(e){return[255&e,e>>8&255]},H=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},V=function(e){return U(e,52,8)},G=function(e){return U(e,23,4)},K=function(e,t,n){h(e[_],t,{get:function(){return this[n]}})},Y=function(e,t,n,r){var o=+n,i=f(o);if(o!=i||i<0||i+t>e[L])throw C(w);var a=e[N]._b,s=i+e[F],u=a.slice(s,s+t);return r?u:u.reverse()},$=function(e,t,n,r,o,i){var a=+n,s=f(a);if(a!=s||s<0||s+t>e[L])throw C(w);for(var u=e[N]._b,c=s+e[F],l=r(+o),d=0;d<t;d++)u[c+d]=l[i?d:t-d-1]},X=function(e,t){l(e,E,g);var n=+t,r=d(n);if(n!=r)throw C(b);return r};if(a.ABV){if(!c(function(){new E})||!c(function(){new E(.5)})){E=function(e){return new O(X(this,e))};for(var Q,J=E[_]=O[_],Z=p(O),ee=0;Z.length>ee;)(Q=Z[ee++])in E||s(E,Q,O[Q]);i||(J.constructor=E)}var te=new T(new E(2)),ne=T[_].setInt8;te.setInt8(0,2147483648),te.setInt8(1,2147483649),!te.getInt8(0)&&te.getInt8(1)||u(T[_],{setInt8:function(e,t){ne.call(this,e,t<<24>>24)},setUint8:function(e,t){ne.call(this,e,t<<24>>24)}},!0)}else E=function(e){var t=X(this,e);this._b=v.call(Array(t),0),this[L]=t},T=function(e,t,n){l(this,T,m),l(e,E,m);var r=e[L],o=f(t);if(o<0||o>r)throw C("Wrong offset!");if(n=void 0===n?r-o:d(n),o+n>r)throw C(b);this[N]=e,this[F]=o,this[L]=n},o&&(K(E,D,"_l"),K(T,j,"_b"),K(T,D,"_l"),K(T,R,"_o")),u(T[_],{getInt8:function(e){return Y(this,1,e)[0]<<24>>24},getUint8:function(e){return Y(this,1,e)[0]},getInt16:function(e){var t=Y(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=Y(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return q(Y(this,4,e,arguments[1]))},getUint32:function(e){return q(Y(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return B(Y(this,4,e,arguments[1]),23,4)},getFloat64:function(e){return B(Y(this,8,e,arguments[1]),52,8)},setInt8:function(e,t){$(this,1,e,W,t)},setUint8:function(e,t){$(this,1,e,W,t)},setInt16:function(e,t){$(this,2,e,z,t,arguments[2])},setUint16:function(e,t){$(this,2,e,z,t,arguments[2])},setInt32:function(e,t){$(this,4,e,H,t,arguments[2])},setUint32:function(e,t){$(this,4,e,H,t,arguments[2])},setFloat32:function(e,t){$(this,4,e,G,t,arguments[2])},setFloat64:function(e,t){$(this,8,e,V,t,arguments[2])}});y(E,g),y(T,m),s(T[_],a.VIEW,!0),t[g]=E,t[m]=T},[1590,14,70,91,382,26],[1597,142,20,112,70],[1601,110,370,112,45,248],function(e,t){"use strict";function n(e){return Boolean(e&&"function"==typeof e.dispose)}t.__esModule=!0,t.default=n,e.exports=t.default},function(e,t){"use strict";function n(e,t){return e===t?0!==e||0!==t||1/e===1/t:e!==e&&t!==t}function r(e,t){if(n(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),i=Object.keys(t);if(r.length!==i.length)return!1;for(var a=0;a<r.length;a++)if(!o.call(t,r[a])||!n(e[r[a]],t[r[a]]))return!1;return!0}var o=Object.prototype.hasOwnProperty;e.exports=r},function(e,t,n){"use strict";t.__esModule=!0,t.go=t.replaceLocation=t.pushLocation=t.startListener=t.getUserConfirmation=t.getCurrentLocation=void 0;var r=n(116),o=n(182),i=n(393),a=n(81),s=n(267),u="popstate",c="hashchange",l=s.canUseDOM&&!(0,o.supportsPopstateOnHashchange)(),f=function(e){var t=e&&e.key;return(0,r.createLocation)({pathname:window.location.pathname,search:window.location.search,hash:window.location.hash,state:t?(0,i.readState)(t):void 0},void 0,t)},d=t.getCurrentLocation=function(){var e=void 0;try{e=window.history.state||{}}catch(t){e={}}return f(e)},p=(t.getUserConfirmation=function(e,t){return t(window.confirm(e))},t.startListener=function(e){var t=function(t){(0,o.isExtraneousPopstateEvent)(t)||e(f(t.state))};(0,o.addEventListener)(window,u,t);var n=function(){return e(d())};return l&&(0,o.addEventListener)(window,c,n),function(){(0,o.removeEventListener)(window,u,t),l&&(0,o.removeEventListener)(window,c,n)}},function(e,t){var n=e.state,r=e.key;void 0!==n&&(0,i.saveState)(r,n),t({key:r},(0,a.createPath)(e))});t.pushLocation=function(e){return p(e,function(e,t){return window.history.pushState(e,null,t)})},t.replaceLocation=function(e){return p(e,function(e,t){return window.history.replaceState(e,null,t)})},t.go=function(e){e&&window.history.go(e)}},function(e,t){"use strict";t.__esModule=!0;t.canUseDOM=!("undefined"==typeof window||!window.document||!window.document.createElement)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(850),i=n(81),a=n(269),s=r(a),u=n(181),c=n(116),l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.getCurrentLocation,n=e.getUserConfirmation,r=e.pushLocation,a=e.replaceLocation,l=e.go,f=e.keyLength,d=void 0,p=void 0,h=[],v=[],y=[],g=function(){return p&&p.action===u.POP?y.indexOf(p.key):d?y.indexOf(d.key):-1},m=function(e){var t=g();d=e,d.action===u.PUSH?y=[].concat(y.slice(0,t+1),[d.key]):d.action===u.REPLACE&&(y[t]=d.key),v.forEach(function(e){return e(d)})},_=function(e){return h.push(e),function(){return h=h.filter(function(t){return t!==e})}},b=function(e){return v.push(e),function(){return v=v.filter(function(t){return t!==e})}},w=function(e,t){(0,o.loopAsync)(h.length,function(t,n,r){(0,s.default)(h[t],e,function(e){return null!=e?r(e):n()})},function(e){n&&"string"==typeof e?n(e,function(e){return t(e!==!1)}):t(e!==!1)})},E=function(e){d&&(0,c.locationsAreEqual)(d,e)||p&&(0,c.locationsAreEqual)(p,e)||(p=e,w(e,function(t){if(p===e)if(p=null,t){if(e.action===u.PUSH){var n=(0,i.createPath)(d),o=(0,i.createPath)(e);o===n&&(0,c.statesAreEqual)(d.state,e.state)&&(e.action=u.REPLACE)}e.action===u.POP?m(e):e.action===u.PUSH?r(e)!==!1&&m(e):e.action===u.REPLACE&&a(e)!==!1&&m(e)}else if(d&&e.action===u.POP){var s=y.indexOf(d.key),f=y.indexOf(e.key);s!==-1&&f!==-1&&l(s-f)}}))},T=function(e){return E(M(e,u.PUSH))},S=function(e){return E(M(e,u.REPLACE))},C=function(){return l(-1)},x=function(){return l(1)},O=function(){return Math.random().toString(36).substr(2,f||6)},k=function(e){return(0,i.createPath)(e)},M=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:O();return(0,c.createLocation)(e,t,n)};return{getCurrentLocation:t,listenBefore:_,listen:b,transitionTo:E,push:T,replace:S,go:l,goBack:C,goForward:x,createKey:O,createPath:i.createPath,createHref:k,createLocation:M}};t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(85),i=(r(o),function(e,t,n){var r=e(t,n);e.length<2&&n(r)});t.default=i},function(e,t,n){var r=n(100),o=n(74),i=r(o,"Map");e.exports=i},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var o=n(924),i=n(925),a=n(926),s=n(927),u=n(928);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=s,r.prototype.set=u,e.exports=r},function(e,t,n){function r(e,t){var n=null==e?0:e.length;return!!n&&o(e,t,0)>-1}var o=n(874);e.exports=r},function(e,t){function n(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}e.exports=n},function(e,t,n){function r(e,t,n){"__proto__"==t&&o?o(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var o=n(408);e.exports=r},function(e,t,n){function r(e,t,n,r){var f=-1,d=i,p=!0,h=e.length,v=[],y=t.length;if(!h)return v;n&&(t=s(t,u(n))),r?(d=a,p=!1):t.length>=l&&(d=c,p=!1,t=new o(t));e:for(;++f<h;){var g=e[f],m=null==n?g:n(g);if(g=r||0!==g?g:0,p&&m===m){for(var _=y;_--;)if(t[_]===m)continue e;v.push(g)}else d(t,m,r)||v.push(g)}return v}var o=n(184),i=n(272),a=n(273),s=n(185),u=n(277),c=n(187),l=200;e.exports=r},function(e,t,n){function r(e,t,n,a,s){var u=-1,c=e.length;for(n||(n=i),s||(s=[]);++u<c;){var l=e[u];t>0&&n(l)?t>1?r(l,t-1,n,a,s):o(s,l):a||(s[s.length]=l)}return s}var o=n(403),i=n(915);e.exports=r},function(e,t){function n(e){return function(t){return e(t)}}e.exports=n},function(e,t){function n(e,t){return t=null==t?r:t,!!t&&("number"==typeof e||o.test(e))&&e>-1&&e%1==0&&e<t}var r=9007199254740991,o=/^(?:0|[1-9]\d*)$/;e.exports=n},function(e,t,n){function r(e,t){if(o(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!i(e))||(s.test(e)||!a.test(e)||null!=t&&e in Object(t))}var o=n(39),i=n(283),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;e.exports=r},function(e,t){function n(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}e.exports=n},function(e,t,n){var r=n(876),o=n(101),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=u},function(e,t){function n(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},function(e,t,n){function r(e){return"symbol"==typeof e||i(e)&&o(e)==a}var o=n(117),i=n(101),a="[object Symbol]";e.exports=r},function(e,t,n){function r(e){return a(e)?o(e):i(e)}var o=n(402),i=n(883),a=n(192);e.exports=r},function(e,t){function n(e,t,n){return Math.min(Math.max(e,t),n)}e.exports=n},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.FILE="__NATIVE_FILE__",t.URL="__NATIVE_URL__",t.TEXT="__NATIVE_TEXT__"},function(e,t){"use strict";function n(e,t){if(e===t)return!0;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=Object.prototype.hasOwnProperty,i=0;i<n.length;i+=1){if(!o.call(t,n[i])||e[n[i]]!==t[n[i]])return!1;var a=e[n[i]],s=t[n[i]];if(a!==s)return!1}return!0}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n},function(e,t,n){"use strict";function r(e,t){return Array.isArray(t)&&(t=t[1]),t?t.nextSibling:e.firstChild}function o(e,t,n){l.insertTreeBefore(e,t,n)}function i(e,t,n){Array.isArray(t)?s(e,t[0],t[1],n):v(e,t,n)}function a(e,t){if(Array.isArray(t)){var n=t[1];t=t[0],u(e,t,n),e.removeChild(n)}e.removeChild(t)}function s(e,t,n,r){for(var o=t;;){var i=o.nextSibling;if(v(e,o,r),o===n)break;o=i}}function u(e,t,n){for(;;){var r=t.nextSibling;if(r===n)break;e.removeChild(r)}}function c(e,t,n){var r=e.parentNode,o=e.nextSibling;o===t?n&&v(r,document.createTextNode(n),o):n?(h(o,n),u(r,o,t)):u(r,e,t)}var l=n(119),f=n(1009),d=(n(29),n(55),n(297)),p=n(200),h=n(451),v=d(function(e,t,n){e.insertBefore(t,n)}),y=f.dangerouslyReplaceNodeWithMarkup,g={dangerouslyReplaceNodeWithMarkup:y,replaceDelimitedText:c,processUpdates:function(e,t){for(var n=0;n<t.length;n++){var s=t[n];switch(s.type){case"INSERT_MARKUP":o(e,s.content,r(e,s.afterNode));break;case"MOVE_EXISTING":i(e,s.fromNode,r(e,s.afterNode));break;case"SET_MARKUP":p(e,s.content);break;case"TEXT_CONTENT":h(e,s.content);break;case"REMOVE_NODE":a(e,s.fromNode)}}}};e.exports=g},function(e,t){"use strict";var n={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};e.exports=n},function(e,t,n){"use strict";function r(){if(s)for(var e in u){var t=u[e],n=s.indexOf(e);if(n>-1?void 0:a("96",e),!c.plugins[n]){t.extractEvents?void 0:a("97",e),c.plugins[n]=t;var r=t.eventTypes;for(var i in r)o(r[i],t,i)?void 0:a("98",i,e)}}}function o(e,t,n){c.eventNameDispatchConfigs.hasOwnProperty(n)?a("99",n):void 0,c.eventNameDispatchConfigs[n]=e;var r=e.phasedRegistrationNames;if(r){for(var o in r)if(r.hasOwnProperty(o)){var s=r[o];i(s,t,n)}return!0}return!!e.registrationName&&(i(e.registrationName,t,n),!0)}function i(e,t,n){c.registrationNameModules[e]?a("100",e):void 0,c.registrationNameModules[e]=t,c.registrationNameDependencies[e]=t.eventTypes[n].dependencies}var a=n(16),s=(n(10),null),u={},c={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},possibleRegistrationNames:null,injectEventPluginOrder:function(e){s?a("101"):void 0,s=Array.prototype.slice.call(e),r()},injectEventPluginsByName:function(e){var t=!1;for(var n in e)if(e.hasOwnProperty(n)){var o=e[n];u.hasOwnProperty(n)&&u[n]===o||(u[n]?a("102",n):void 0,u[n]=o,t=!0)}t&&r()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return c.registrationNameModules[t.registrationName]||null;if(void 0!==t.phasedRegistrationNames){var n=t.phasedRegistrationNames;for(var r in n)if(n.hasOwnProperty(r)){var o=c.registrationNameModules[n[r]];if(o)return o}}return null},_resetEventPlugins:function(){s=null;for(var e in u)u.hasOwnProperty(e)&&delete u[e];c.plugins.length=0;var t=c.eventNameDispatchConfigs;for(var n in t)t.hasOwnProperty(n)&&delete t[n];var r=c.registrationNameModules;for(var o in r)r.hasOwnProperty(o)&&delete r[o]}};e.exports=c},function(e,t){"use strict";function n(e){var t=/[=:]/g,n={"=":"=0",":":"=2"},r=(""+e).replace(t,function(e){return n[e]});return"$"+r}function r(e){var t=/(=0|=2)/g,n={"=0":"=","=2":":"},r="."===e[0]&&"$"===e[1]?e.substring(2):e.substring(1);return(""+r).replace(t,function(e){return n[e]})}var o={escape:n,unescape:r};e.exports=o},function(e,t,n){"use strict";function r(e){null!=e.checkedLink&&null!=e.valueLink?s("87"):void 0}function o(e){r(e),null!=e.value||null!=e.onChange?s("88"):void 0}function i(e){r(e),null!=e.checked||null!=e.onChange?s("89"):void 0}function a(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""}var s=n(16),u=n(1039),c=n(965),l=n(127),f=c(l.isValidElement),d=(n(10),n(13),{button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0}),p={value:function(e,t,n){return!e[t]||d[e.type]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")},checked:function(e,t,n){return!e[t]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")},onChange:f.func},h={},v={checkPropTypes:function(e,t,n){for(var r in p){if(p.hasOwnProperty(r))var o=p[r](t,r,e,"prop",null,u);if(o instanceof Error&&!(o.message in h)){h[o.message]=!0;a(n)}}},getValue:function(e){return e.valueLink?(o(e),e.valueLink.value):e.value},getChecked:function(e){return e.checkedLink?(i(e),e.checkedLink.value):e.checked},executeOnChange:function(e,t){return e.valueLink?(o(e),e.valueLink.requestChange(t.target.value)):e.checkedLink?(i(e),e.checkedLink.requestChange(t.target.checked)):e.onChange?e.onChange.call(void 0,t):void 0}};e.exports=v},function(e,t,n){"use strict";var r=n(16),o=(n(10),!1),i={replaceNodeWithMarkup:null,processChildrenUpdates:null,injection:{injectEnvironment:function(e){o?r("104"):void 0,i.replaceNodeWithMarkup=e.replaceNodeWithMarkup,i.processChildrenUpdates=e.processChildrenUpdates,o=!0}}};e.exports=i},function(e,t,n){"use strict";function r(e,t,n){try{t(n)}catch(e){null===o&&(o=e)}}var o=null,i={invokeGuardedCallback:r,invokeGuardedCallbackWithCatch:r,rethrowCaughtError:function(){if(o){var e=o;throw o=null,e}}};e.exports=i},function(e,t,n){"use strict";function r(e){u.enqueueUpdate(e)}function o(e){var t=typeof e;if("object"!==t)return t;var n=e.constructor&&e.constructor.name||t,r=Object.keys(e);return r.length>0&&r.length<20?n+" (keys: "+r.join(", ")+")":n}function i(e,t){var n=s.get(e);if(!n){return null}return n}var a=n(16),s=(n(76),n(149)),u=(n(55),n(64)),c=(n(10),n(13),{isMounted:function(e){var t=s.get(e);return!!t&&!!t._renderedComponent},enqueueCallback:function(e,t,n){c.validateCallback(t,n);var o=i(e);return o?(o._pendingCallbacks?o._pendingCallbacks.push(t):o._pendingCallbacks=[t],void r(o)):null},enqueueCallbackInternal:function(e,t){e._pendingCallbacks?e._pendingCallbacks.push(t):e._pendingCallbacks=[t],r(e)},enqueueForceUpdate:function(e){var t=i(e,"forceUpdate");t&&(t._pendingForceUpdate=!0,r(t))},enqueueReplaceState:function(e,t,n){var o=i(e,"replaceState");o&&(o._pendingStateQueue=[t],o._pendingReplaceState=!0,void 0!==n&&null!==n&&(c.validateCallback(n,"replaceState"),o._pendingCallbacks?o._pendingCallbacks.push(n):o._pendingCallbacks=[n]),r(o))},enqueueSetState:function(e,t){var n=i(e,"setState");if(n){var o=n._pendingStateQueue||(n._pendingStateQueue=[]);o.push(t),r(n)}},enqueueElementInternal:function(e,t,n){e._pendingElement=t,e._context=n,r(e)},validateCallback:function(e,t){e&&"function"!=typeof e?a("122",t,o(e)):void 0}});e.exports=c},function(e,t){"use strict";var n={currentScrollLeft:0,currentScrollTop:0,refreshScrollValues:function(e){n.currentScrollLeft=e.x,n.currentScrollTop=e.y}};e.exports=n},function(e,t){"use strict";var n=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e};e.exports=n},function(e,t){"use strict";function n(e){var t,n=e.keyCode;return"charCode"in e?(t=e.charCode,0===t&&13===n&&(t=13)):t=n,t>=32||13===t?t:0}e.exports=n},function(e,t){"use strict";function n(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var r=o[e];return!!r&&!!n[r]}function r(e){return n}var o={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};e.exports=r},function(e,t){"use strict";function n(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),3===t.nodeType?t.parentNode:t}e.exports=n},function(e,t,n){"use strict";/**
+	 * Checks if an event is supported in the current execution environment.
+	 *
+	 * NOTE: This will not work correctly for non-generic events such as `change`,
+	 * `reset`, `load`, `error`, and `select`.
+	 *
+	 * Borrows from Modernizr.
+	 *
+	 * @param {string} eventNameSuffix Event name, e.g. "click".
+	 * @param {?boolean} capture Check if the capture phase is supported.
+	 * @return {boolean} True if the event is supported.
+	 * @internal
+	 * @license Modernizr 3.0.0pre (Custom Build) | MIT
+	 */
+function r(e,t){if(!i.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var a=document.createElement("div");a.setAttribute(n,"return;"),r="function"==typeof a[n]}return!r&&o&&"wheel"===e&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var o,i=n(38);i.canUseDOM&&(o=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0),e.exports=r},function(e,t){"use strict";function n(e,t){var n=null===e||e===!1,r=null===t||t===!1;if(n||r)return n===r;var o=typeof e,i=typeof t;return"string"===o||"number"===o?"string"===i||"number"===i:"object"===i&&e.type===t.type&&e.key===t.key}e.exports=n},function(e,t,n){"use strict";var r=(n(21),n(40)),o=(n(13),r);e.exports=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r=e.nodeType,i=e.data,a=e.collectionLimit,s=e.circularCache,u=e.keyPath,c=e.postprocessValue,l=e.sortObjectKeys,f=[];return(0,C.default)(r,i,l,a,t,n).forEach(function(t){if(t.to)f.push(_.default.createElement(M.default,(0,g.default)({},e,{key:"ItemRange--"+t.from+"-"+t.to,from:t.from,to:t.to,renderChildNodes:o})));else{var n=t.key,r=t.value,i=s.indexOf(r)!==-1,l=_.default.createElement(O.default,(0,g.default)({},e,{postprocessValue:c,collectionLimit:a},{key:"Node--"+n,keyPath:[n].concat(u),value:c(r),circularCache:[].concat(s,[r]),isCircular:i,hideRoot:!1}));l!==!1&&f.push(l)}}),f}function i(e){var t=!(!e.shouldExpandNode||e.isCircular)&&e.shouldExpandNode(e.keyPath,e.data,e.level);return{expanded:t}}t.__esModule=!0,t.default=void 0;var a,s,u=n(163),c=r(u),l=n(4),f=r(l),d=n(7),p=r(d),h=n(6),v=r(h),y=n(11),g=r(y),m=n(1),_=r(m),b=n(22),w=r(b),E=n(453),T=r(E),S=n(1074),C=r(S),x=n(454),O=r(x),k=n(1068),M=r(k),P=(s=a=function(e){function t(n){(0,f.default)(this,t);var r=(0,p.default)(this,e.call(this,n));return r.handleClick=function(){return r.setState({expanded:!r.state.expanded})},r.state=i(n),r}return(0,v.default)(t,e),t.prototype.componentWillReceiveProps=function(e){var t=i(e);i(this.props).expanded!==t.expanded&&this.setState(t)},t.prototype.shouldComponentUpdate=function(e,t){var n=this;return!!(0,c.default)(e).find(function(t){return"circularCache"!==t&&("keyPath"===t?e[t].join("/")!==n.props[t].join("/"):e[t]!==n.props[t])})||t.expanded!==this.state.expanded},t.prototype.render=function(){var e=this.props,t=e.getItemString,n=e.nodeTypeIndicator,r=e.nodeType,i=e.data,a=e.hideRoot,s=e.createItemString,u=e.styling,c=e.collectionLimit,l=e.keyPath,f=e.labelRenderer,d=e.expandable,p=this.state.expanded,h=p||a&&0===this.props.level?o((0,g.default)({},this.props,{level:this.props.level+1})):null,v=_.default.createElement("span",u("nestedNodeItemType",p),n),y=t(r,i,v,s(i,c)),m=[l,r,p,d];return a?_.default.createElement("li",u.apply(void 0,["rootNode"].concat(m)),_.default.createElement("ul",u.apply(void 0,["rootNodeChildren"].concat(m)),h)):_.default.createElement("li",u.apply(void 0,["nestedNode"].concat(m)),d&&_.default.createElement(T.default,{styling:u,nodeType:r,expanded:p,onClick:this.handleClick}),_.default.createElement("label",(0,g.default)({},u.apply(void 0,[["label","nestedNodeLabel"]].concat(m)),{onClick:d&&this.handleClick}),f.apply(void 0,m)),_.default.createElement("span",(0,g.default)({},u.apply(void 0,["nestedNodeItemString"].concat(m)),{onClick:d&&this.handleClick}),y),_.default.createElement("ul",u.apply(void 0,["nestedNodeChildren"].concat(m)),h))},t}(_.default.Component),a.propTypes={getItemString:w.default.func.isRequired,nodeTypeIndicator:w.default.any,nodeType:w.default.string.isRequired,data:w.default.any,hideRoot:w.default.bool.isRequired,createItemString:w.default.func.isRequired,styling:w.default.func.isRequired,collectionLimit:w.default.number,keyPath:w.default.arrayOf(w.default.oneOfType([w.default.string,w.default.number])).isRequired,labelRenderer:w.default.func.isRequired,shouldExpandNode:w.default.func,level:w.default.number.isRequired,sortObjectKeys:w.default.oneOfType([w.default.func,w.default.bool]),isCircular:w.default.bool,expandable:w.default.bool},a.defaultProps={data:[],circularCache:[],level:0,expandable:!0},s);t.default=P},function(e,t){"use strict";function n(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e);try{throw new Error(e)}catch(e){}}t.__esModule=!0,t.default=n},function(e,t){"use strict";function n(e,t,n){function r(){return a=!0,s?void(c=[].concat(Array.prototype.slice.call(arguments))):void n.apply(this,arguments)}function o(){if(!a&&(u=!0,!s)){for(s=!0;!a&&i<e&&u;)u=!1,t.call(this,i++,o,r);return s=!1,a?void n.apply(this,c):void(i>=e&&u&&(a=!0,n()))}}var i=0,a=!1,s=!1,u=!1,c=void 0;o()}function r(e,t,n){function r(e,t,r){a||(t?(a=!0,n(t)):(i[e]=r,a=++s===o,a&&n(null,i)))}var o=e.length,i=[];if(0===o)return n(null,i);var a=!1,s=0;e.forEach(function(e,n){t(e,n,function(e,t){r(n,e,t)})})}t.__esModule=!0,t.loopAsync=n,t.mapAsync=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return"@@contextSubscriber/"+e}function i(e){var t,n,r=o(e),i=r+"/listeners",a=r+"/eventIndex",s=r+"/subscribe";return n={childContextTypes:(t={},t[r]=c.isRequired,t),getChildContext:function(){var e;return e={},e[r]={eventIndex:this[a],subscribe:this[s]},e},componentWillMount:function(){this[i]=[],this[a]=0},componentWillReceiveProps:function(){this[a]++},componentDidUpdate:function(){var e=this;this[i].forEach(function(t){return t(e[a])})}},n[s]=function(e){var t=this;return this[i].push(e),function(){t[i]=t[i].filter(function(t){return t!==e})}},n}function a(e){var t,n,r=o(e),i=r+"/lastRenderedEventIndex",a=r+"/handleContextUpdate",s=r+"/unsubscribe";return n={contextTypes:(t={},t[r]=c,t),getInitialState:function(){var e;return this.context[r]?(e={},e[i]=this.context[r].eventIndex,e):{}},componentDidMount:function(){this.context[r]&&(this[s]=this.context[r].subscribe(this[a]))},componentWillReceiveProps:function(){var e;this.context[r]&&this.setState((e={},e[i]=this.context[r].eventIndex,e))},componentWillUnmount:function(){this[s]&&(this[s](),this[s]=null)}},n[a]=function(e){if(e!==this.state[i]){var t;this.setState((t={},t[i]=e,t))}},n}t.__esModule=!0,t.ContextProvider=i,t.ContextSubscriber=a;var s=n(22),u=r(s),c=u.default.shape({subscribe:u.default.func.isRequired,eventIndex:u.default.number.isRequired})},function(e,t,n){"use strict";t.__esModule=!0,t.locationShape=t.routerShape=void 0;var r=n(22);t.routerShape=(0,r.shape)({push:r.func.isRequired,replace:r.func.isRequired,go:r.func.isRequired,goBack:r.func.isRequired,goForward:r.func.isRequired,setRouteLeaveHook:r.func.isRequired,isActive:r.func.isRequired}),t.locationShape=(0,r.shape)({pathname:r.string.isRequired,search:r.string.isRequired,state:r.object,action:r.string.isRequired,key:r.string})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=n(17),s=r(a),u=n(1),c=r(u),l=n(57),f=r(l),d=n(22),p=n(1098),h=r(p),v=n(307),y=n(82),g=(0,f.default)({displayName:"RouterContext",mixins:[(0,v.ContextProvider)("router")],propTypes:{router:d.object.isRequired,location:d.object.isRequired,routes:d.array.isRequired,params:d.object.isRequired,components:d.array.isRequired,createElement:d.func.isRequired},getDefaultProps:function(){return{createElement:c.default.createElement}},childContextTypes:{router:d.object.isRequired},getChildContext:function(){return{router:this.props.router}},createElement:function(e,t){return null==e?null:this.props.createElement(e,t)},render:function(){var e=this,t=this.props,n=t.location,r=t.routes,a=t.params,u=t.components,l=t.router,f=null;return u&&(f=u.reduceRight(function(t,s,u){if(null==s)return t;var c=r[u],f=(0,h.default)(c,a),d={location:n,params:a,route:c,router:l,routeParams:f,routes:r};if((0,y.isReactChildren)(t))d.children=t;else if(t)for(var p in t)Object.prototype.hasOwnProperty.call(t,p)&&(d[p]=t[p]);if("object"===("undefined"==typeof s?"undefined":i(s))){var v={};for(var g in s)Object.prototype.hasOwnProperty.call(s,g)&&(v[g]=e.createElement(s[g],o({key:g},d)));return v}return e.createElement(s,d)},f)),null===f||f===!1||c.default.isValidElement(f)?void 0:(0,s.default)(!1),f}});t.default=g,e.exports=t.default},function(e,t,n){"use strict";function r(e,t,n){this.props=e,this.context=t,this.refs=a,this.updater=n||i}var o=n(129),i=n(311),a=(n(472),n(115));n(10),n(13);r.prototype.isReactComponent={},r.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e?o("85"):void 0,this.updater.enqueueSetState(this,e),t&&this.updater.enqueueCallback(this,t,"setState")},r.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this),e&&this.updater.enqueueCallback(this,e,"forceUpdate")};e.exports=r},function(e,t,n){"use strict";function r(e,t){}var o=(n(13),{isMounted:function(e){return!1},enqueueCallback:function(e,t){},enqueueForceUpdate:function(e){r(e,"forceUpdate")},enqueueReplaceState:function(e,t){r(e,"replaceState")},enqueueSetState:function(e,t){r(e,"setState")}});e.exports=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){function r(){g===y&&(g=y.slice())}function i(){return v}function s(e){if("function"!=typeof e)throw new Error("Expected listener to be a function.");var t=!0;return r(),g.push(e),function(){if(t){t=!1,r();var n=g.indexOf(e);g.splice(n,1)}}}function l(e){if(!(0,a.default)(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if("undefined"==typeof e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(m)throw new Error("Reducers may not dispatch actions.");try{m=!0,v=h(v,e)}finally{m=!1}for(var t=y=g,n=0;n<t.length;n++)t[n]();return e}function f(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");h=e,l({type:c.INIT})}function d(){var e,t=s;return e={subscribe:function(e){function n(){e.next&&e.next(i())}if("object"!=typeof e)throw new TypeError("Expected the observer to be an object.");n();var r=t(n);return{unsubscribe:r}}},e[u.default]=function(){return this},e}var p;if("function"==typeof t&&"undefined"==typeof n&&(n=t,t=void 0),"undefined"!=typeof n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(o)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var h=e,v=t,y=[],g=y,m=!1;return l({type:c.INIT}),p={dispatch:l,subscribe:s,getState:i,replaceReducer:f},p[u.default]=d,p}t.__esModule=!0,t.ActionTypes=void 0,t.default=o;var i=n(63),a=r(i),s=n(480),u=r(s),c=t.ActionTypes={INIT:"@@redux/INIT"}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.compose=t.applyMiddleware=t.bindActionCreators=t.combineReducers=t.createStore=void 0;var o=n(312),i=r(o),a=n(1140),s=r(a),u=n(1139),c=r(u),l=n(1138),f=r(l),d=n(478),p=r(d),h=n(479);r(h);t.createStore=i.default,t.combineReducers=s.default,t.bindActionCreators=c.default,t.applyMiddleware=f.default,t.compose=p.default},function(e,t){"use strict";function n(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){return e===t}function o(e){var t=arguments.length<=1||void 0===arguments[1]?r:arguments[1],n=null,o=null;return function(){for(var r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=arguments[a];return null!==n&&n.length===i.length&&i.every(function(e,r){return t(e,n[r])})||(o=e.apply(void 0,i)),n=i,o}}function i(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every(function(e){return"function"==typeof e})){var n=t.map(function(e){return typeof e}).join(", ");throw new Error("Selector creators expect all input-selectors to be functions, "+("instead received the following types: ["+n+"]"))}return t}function a(e){for(var t=arguments.length,r=Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];return function(){for(var t=arguments.length,o=Array(t),a=0;a<t;a++)o[a]=arguments[a];var s=0,u=o.pop(),c=i(o),l=e.apply(void 0,[function(){return s++,u.apply(void 0,arguments)}].concat(r)),f=function(e,t){for(var r=arguments.length,o=Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];var a=c.map(function(n){return n.apply(void 0,[e,t].concat(o))});return l.apply(void 0,n(a))};return f.resultFunc=u,f.recomputations=function(){return s},f.resetRecomputations=function(){return s=0},f}}function s(e){var t=arguments.length<=1||void 0===arguments[1]?u:arguments[1];if("object"!=typeof e)throw new Error("createStructuredSelector expects first argument to be an object where each property is a selector, instead received a "+typeof e);var n=Object.keys(e);return t(n.map(function(t){return e[t]}),function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce(function(e,t,r){return e[n[r]]=t,e},{})})}t.__esModule=!0,t.defaultMemoize=o,t.createSelectorCreator=a,t.createStructuredSelector=s;var u=t.createSelector=a(o)},function(e,t){function n(e){return null!==e&&"object"==typeof e}e.exports=n},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c=n(204),l=o(c),f=n(8),d=o(f),p=n(19),h=r(p),v=n(30),y=o(v),g=n(28),m=o(g),_=function(e){function t(n,r){i(this,t);var o=r.track,s=n.textTracks();r.label=o.label||o.language||"Unknown",r.selected=o.default||"showing"===o.mode;var c=a(this,e.call(this,n,r));if(c.track=o,s){var l=h.bind(c,c.handleTracksChange);n.on(["loadstart","texttrackchange"],l),s.addEventListener("change",l),c.on("dispose",function(){s.removeEventListener("change",l)})}if(s&&void 0===s.onchange){var f=void 0;c.on(["tap","click"],function(){if("object"!==u(y.default.Event))try{f=new y.default.Event("change")}catch(e){}f||(f=m.default.createEvent("Event"),f.initEvent("change",!0,!0)),s.dispatchEvent(f)})}return c}return s(t,e),t.prototype.handleClick=function(t){var n=this.track.kind,r=this.player_.textTracks();if(e.prototype.handleClick.call(this,t),r)for(var o=0;o<r.length;o++){var i=r[o];i.kind===n&&(i===this.track?i.mode="showing":i.mode="disabled")}},t.prototype.handleTracksChange=function(e){this.selected("showing"===this.track.mode)},t}(l.default);d.default.registerComponent("TextTrackMenuItem",_),t.default=_},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(1200),c=o(u),l=n(19),f=r(l),d=n(318),p=n(46),h=o(p),v=n(30),y=o(v),g=n(320),m=o(g),_=n(205),b=n(495),w=o(b),E=n(77),T=o(E),S=n(33),C=r(S),x=function(e,t){var n=new y.default.WebVTT.Parser(y.default,y.default.vttjs,y.default.WebVTT.StringDecoder()),r=[];n.oncue=function(e){t.addCue(e)},n.onparsingerror=function(e){r.push(e)},n.onflush=function(){t.trigger({type:"loadeddata",target:t})},n.parse(e),r.length>0&&(y.default.console&&y.default.console.groupCollapsed&&y.default.console.groupCollapsed("Text Track parsing errors for "+t.src),r.forEach(function(e){return h.default.error(e)}),y.default.console&&y.default.console.groupEnd&&y.default.console.groupEnd()),n.flush()},O=function(e,t){var n={uri:e},r=(0,_.isCrossOrigin)(e);r&&(n.cors=r),(0,w.default)(n,f.bind(this,function(e,n,r){if(e)return h.default.error(e,n);if(t.loaded_=!0,"function"!=typeof y.default.WebVTT){if(t.tech_){var o=function(){return x(r,t)};t.tech_.on("vttjsloaded",o),t.tech_.on("vttjserror",function(){h.default.error("vttjs failed to load, stopping trying to process "+t.src),t.tech_.off("vttjsloaded",o)})}}else x(r,t)}))},k=function(e){function t(){var n,r,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(i(this,t),!o.tech)throw new Error("A tech was not provided.");var s=(0,T.default)(o,{kind:d.TextTrackKind[o.kind]||"subtitles",language:o.language||o.srclang||""}),u=d.TextTrackMode[s.mode]||"disabled",l=s.default;"metadata"!==s.kind&&"chapters"!==s.kind||(u="hidden");var p=n=a(this,e.call(this,s));if(p.tech_=s.tech,C.IS_IE8)for(var h in t.prototype)"constructor"!==h&&(p[h]=t.prototype[h]);p.cues_=[],p.activeCues_=[];var v=new c.default(p.cues_),y=new c.default(p.activeCues_),g=!1,m=f.bind(p,function(){this.activeCues,g&&(this.trigger("cuechange"),g=!1)});return"disabled"!==u&&p.tech_.ready(function(){p.tech_.on("timeupdate",m)},!0),Object.defineProperty(p,"default",{get:function(){return l},set:function(){}}),Object.defineProperty(p,"mode",{get:function(){return u},set:function(e){var t=this;d.TextTrackMode[e]&&(u=e,"showing"===u&&this.tech_.ready(function(){t.tech_.on("timeupdate",m)},!0),this.trigger("modechange"))}}),Object.defineProperty(p,"cues",{get:function(){return this.loaded_?v:null},set:function(){}}),Object.defineProperty(p,"activeCues",{get:function(){if(!this.loaded_)return null;if(0===this.cues.length)return y;for(var e=this.tech_.currentTime(),t=[],n=0,r=this.cues.length;n<r;n++){var o=this.cues[n];o.startTime<=e&&o.endTime>=e?t.push(o):o.startTime===o.endTime&&o.startTime<=e&&o.startTime+.5>=e&&t.push(o)}if(g=!1,t.length!==this.activeCues_.length)g=!0;else for(var i=0;i<t.length;i++)this.activeCues_.indexOf(t[i])===-1&&(g=!0);return this.activeCues_=t,y.setCues_(this.activeCues_),y},set:function(){}}),s.src?(p.src=s.src,O(s.src,p)):p.loaded_=!0,r=p,a(n,r)}return s(t,e),t.prototype.addCue=function(e){var t=e;if(y.default.vttjs&&!(e instanceof y.default.vttjs.VTTCue)){t=new y.default.vttjs.VTTCue(e.startTime,e.endTime,e.text);for(var n in e)n in t||(t[n]=e[n]);t.id=e.id,t.originalCue_=e}var r=this.tech_.textTracks();if(r)for(var o=0;o<r.length;o++)r[o]!==this&&r[o].removeCue(t);this.cues_.push(t),this.cues.setCues_(this.cues_)},t.prototype.removeCue=function(e){for(var t=this.cues_.length;t--;){var n=this.cues_[t];if(n===e||n.originalCue_&&n.originalCue_===e){this.cues_.splice(t,1),this.cues.setCues_(this.cues_);break}}},t}(m.default);k.prototype.allowedEvents_={cuechange:"cuechange"},t.default=k},function(e,t){"use strict";t.__esModule=!0;t.VideoTrackKind={alternative:"alternative",captions:"captions",main:"main",sign:"sign",subtitles:"subtitles",commentary:"commentary"},t.AudioTrackKind={alternative:"alternative",descriptions:"descriptions",main:"main","main-desc":"main-desc",translation:"translation",commentary:"commentary"},t.TextTrackKind={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"},t.TextTrackMode={disabled:"disabled",hidden:"hidden",showing:"showing"}},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(203),c=o(u),l=n(33),f=r(l),d=n(28),p=o(d),h=function(e){function t(){var n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;i(this,t);var s=a(this,e.call(this));if(!o&&(o=s,f.IS_IE8)){o=p.default.createElement("custom");for(var u in t.prototype)"constructor"!==u&&(o[u]=t.prototype[u])}o.tracks_=[],Object.defineProperty(o,"length",{get:function(){return this.tracks_.length}});for(var c=0;c<r.length;c++)o.addTrack_(r[c]);return n=o,a(s,n)}return s(t,e),t.prototype.addTrack_=function(e){var t=this.tracks_.length;""+t in this||Object.defineProperty(this,t,{get:function(){return this.tracks_[t]}}),this.tracks_.indexOf(e)===-1&&(this.tracks_.push(e),this.trigger({track:e,type:"addtrack"}))},t.prototype.removeTrack_=function(e){for(var t=void 0,n=0,r=this.length;n<r;n++)if(this[n]===e){t=this[n],t.off&&t.off(),this.tracks_.splice(n,1);break}t&&this.trigger({track:t,type:"removetrack"})},t.prototype.getTrackById=function(e){for(var t=null,n=0,r=this.length;n<r;n++){var o=this[n];if(o.id===e){t=o;break}}return t},t}(c.default);h.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack"};for(var v in h.prototype.allowedEvents_)h.prototype["on"+v]=null;t.default=h},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(33),c=o(u),l=n(28),f=r(l),d=n(130),p=o(d),h=n(203),v=r(h),y=function(e){function t(){var n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i(this,t);var o=a(this,e.call(this)),s=o;if(c.IS_IE8){s=f.default.createElement("custom");for(var u in t.prototype)"constructor"!==u&&(s[u]=t.prototype[u])}var l={id:r.id||"vjs_track_"+p.newGUID(),kind:r.kind||"",label:r.label||"",language:r.language||""},d=function(e){Object.defineProperty(s,e,{get:function(){return l[e]},set:function(){}})};for(var h in l)d(h);return n=s,a(o,n)}return s(t,e),t}(v.default);t.default=y},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!e||!t)return"";if("function"==typeof a.default.getComputedStyle){var n=a.default.getComputedStyle(e);return n?n[t]:""}return e.currentStyle[t]||""}t.__esModule=!0,t.default=o;var i=n(30),a=r(i)},,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.parse=t.AssessmentFormats=void 0;var o=n(134),i=r(o),a=n(1241),s=r(a),u=n(1433),c=r(u),l=n(1243),f=r(l);t.AssessmentFormats={CLIx:"CLIx",EdX:"EDX",Qti1:"QTI1",Qti2:"QTI2"},t.parse=function(e,t){var n=e.assessment_id;if(t.startsWith("{")){var r=JSON.parse(t);if("MIT-CLIx-OEA"==r.format)return s.default.parse(n,r)}else if(t.startsWith("<?xml")){var o=(0,i.default)(i.default.parseXML(t)),a=o.find(">").attr("xmlns");if(a.startsWith("http://www.imsglobal.org/xsd/imsqti_v2p"))return f.default.parse(n,o);var u=o.find("assessment").addBack("assessment"),l=o.find("questestinterop").addBack("questestinterop"),d=o.find("sequential").addBack("sequential");if(u.length>0||l.length>0)return c.default.parse(n,u,o);if(d.length>0)return EdX.parse(e,d)}throw"Open Assessments could not find valid QTI or EdX XML. Nothing will be rendered. Please verify that your XML meets one of these standards."}},function(e,t,n){e.exports={default:n(588),__esModule:!0}},[1514,87,349,348,67,215,237],[1522,140],[1534,164,51,357,86,88,108,610,158,354,35],function(e,t){},,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),c=r(u),l=n(7),f=r(l),d=n(6),p=r(d),h=n(1),v=r(h),y=n(3),g=r(y),m=n(529),_=r(m),b=n(530),w=r(b),E=function(e){function t(){(0,s.default)(this,t);var e=(0,f.default)(this,(t.__proto__||(0,i.default)(t)).call(this));return e.state={recorder:m.RecorderCommands.stop,audioURL:"",timeoutId:null},e}return(0,p.default)(t,e),(0,c.default)(t,[{key:"componentWillUnmount",value:function(){this.state.timeoutId&&window.clearTimeout(this.state.timeoutId)}},{key:"onStop",value:function(e,t){var n=window.URL.createObjectURL(e);this.setState({audioURL:n}),g.default.isFunction(this.props.selectAnswer)&&this.props.selectAnswer(e),this.props.audioRecordStop(t)}},{key:"toggle",value:function(){var e=this;if(this.state.recorder===m.RecorderCommands.stop){var t=window.setTimeout(function(){e.setState({recorder:m.RecorderCommands.stop,timeoutId:null})},1e3*this.props.timeout);this.props.audioRecordStart(),this.setState({recorder:m.RecorderCommands.start,timeoutId:t})}else this.state.recorder===m.RecorderCommands.start&&(window.clearTimeout(this.state.timeoutId),this.setState({recorder:m.RecorderCommands.stop,timeoutId:null}))}},{key:"render",value:function(){var e=this,t=void 0,n=void 0,r=void 0,o=void 0;return this.state.recorder===m.RecorderCommands.start?(r="c-btn--stop",n=this.props.localizedStrings.stop,t=v.default.createElement(w.default,{localizedStrings:this.props.localizedStrings,timeout:this.props.timeout})):(n=this.props.localizedStrings.record,t=v.default.createElement("audio",{src:this.props.savedResponse||this.state.audioURL,type:"audio/wav",controls:!0})),this.props.isDisabled&&(o="c-btn--subdue"),v.default.createElement("div",{className:"c-record"},v.default.createElement("button",{onClick:function(){e.toggle()},className:"c-btn  c-btn--record "+(r||"")+" "+(o||""),disabled:this.props.isDisabled},v.default.createElement("span",null,n)),v.default.createElement("span",{className:"c-audio-holder"},t),v.default.createElement(_.default,{command:this.state.recorder,onStop:function(t,n){return e.onStop(t,n)}}))}}]),t}(v.default.Component);t.default=E},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return{connectDragSource:e.dragSource(),isDragging:t.isDragging(),connectDragPreview:e.dragPreview()}}Object.defineProperty(t,"__esModule",{value:!0}),t.Droppable=void 0;var i=n(9),a=r(i),s=n(4),u=r(s),c=n(5),l=r(c),f=n(7),d=r(f),p=n(6),h=r(p),v=n(1),y=r(v),g=n(102),m=n(193),_=n(107),b=r(_),w={beginDrag:function(e,t,n){var r=n.node.getBoundingClientRect(),o=document.getElementsByTagName("body")[0];return o.className="dragging",{height:r.height,width:r.width,droppableId:e.droppableId,droppableText:e.text,previousZoneIndex:e.zoneIndex}}},E=t.Droppable=function(e){function t(){return(0,u.default)(this,t),(0,d.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,h.default)(t,e),(0,l.default)(t,[{key:"componentDidMount",value:function(){this.props.connectDragPreview((0,m.getEmptyImage)())}},{key:"render",value:function(){var e=this,t=this.props,n=t.connectDragSource,r=t.isDragging,o=t.showWhileDragging,i=t.text,a=this.props.hide||r&&!o?"is-hidden":"";return n(y.default.createElement("div",{ref:function(t){return e.node=t},className:(this.props.className||"")+" "+a,style:this.props.style,dangerouslySetInnerHTML:{__html:i}}))}}]),t}(y.default.Component);t.default=(0,g.DragSource)(b.default.CLIX_DROPPABLE,w,o)(E)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.MovableWords=void 0;var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),c=r(u),l=n(7),f=r(l),d=n(6),p=r(d),h=n(1),v=r(h),y=n(106),g=(r(y),n(3)),m=r(g),_=n(219),b=r(_),w=n(218),E=r(w),T=n(135),S=n(522),C=r(S),x=n(216),O=r(x),k=v.default.createElement(O.default,null),M=t.MovableWords=function(e){function t(){(0,s.default)(this,t);var e=(0,f.default)(this,(t.__proto__||(0,i.default)(t)).call(this));return e.state={answerPositions:{}},e}return(0,p.default)(t,e),(0,c.default)(t,[{key:"dropWordsInCloud",value:function(e,t){var n=this;m.default.each(e,function(e){m.default.includes(n.props.wordChain,e)&&n.props.selectAnswer(e)})}},{key:"linkWord",value:function(e){this.props.selectAnswer(e)}},{key:"render",value:function(){var e=this,t={};m.default.each(this.props.answers,function(e){t[e.id]=e});var n=m.default.map(t,function(t){return v.default.createElement(E.default,{key:t.id,id:t.id,material:t.material,hide:m.default.includes(e.props.wordChain,t.id),wordClassName:e.props.itemClassName})});return v.default.createElement("div",{dir:"ltr"},v.default.createElement("div",{className:"c-word-box"},v.default.createElement(T.GroupDropZone,{ref:function(t){return e.groupDropZone=t},dropItem:function(t,n){e.dropWordsInCloud(t,n)},className:"c-word-box__contain"},n)),v.default.createElement(C.default,{linkWord:function(t){e.linkWord(t)},answersById:t,wordChain:this.props.wordChain,itemClassName:this.props.itemClassName,answerBoxClassName:this.props.answerBoxClassName,noStartBlock:this.props.noStartBlock}),k)}}]),t}(v.default.Component);t.default=(0,b.default)(M)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=r(o),a=n(201),s=n(1132),u=r(s),c=n(1123),l=r(c);t.default=(0,a.createDevTools)(i.default.createElement(l.default,{toggleVisibilityKey:"H",changePositionKey:"Q",defaultIsVisible:!1},i.default.createElement(u.default,null)))},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e){return x[e]}function a(e){return function(t,n){var r=i(t.assessment.standard);if(void 0===r)return null;var o=r[e];return o(t,n)}}function s(e,t,n){var r=Math.ceil(t/n),o=Math.floor(e/n)+1;return o>=r}function u(e,t,n,r){if(r!==-1)return!0;switch(e){case"ON_CORRECT":var o=v.default.find(t,function(e){return!e.correct});return v.default.isUndefined(o)&&v.default.compact(v.default.values(t)).length===n;case"ON_ANSWER_CHECK":return v.default.compact(v.default.values(t)).length===n;default:return!0}}function c(e){switch(e){case"ALWAYS":return!0;case"NEVER":return!1;default:return!1}}function l(e,t,n,r){return r?e.slice(t,t+n):[]}Object.defineProperty(t,"__esModule",{value:!0}),t.currentItems=t.isPrevUnlocked=t.isNextUnlocked=t.isLastPage=t.isFirstPage=t.secondaryActionState=t.primaryActionState=t.checkButtonText=t.isCheckingAnswer=t.assessmentLoaded=t.correctItemCount=t.questionResults=t.questionCount=t.outcomes=t.questions=void 0;
+var f,d=n(66),p=o(d);t._isLastPage=s,t._isNextUnlocked=u,t._isPrevUnlocked=c,t._currentItems=l;var h=n(3),v=o(h),y=n(314),g=n(324),m=n(1431),_=r(m),b=n(1432),w=r(b),E=n(1434),T=r(E),S=n(1244),C=r(S),x=(f={},(0,p.default)(f,g.AssessmentFormats.CLIx,_),(0,p.default)(f,g.AssessmentFormats.EdX,w),(0,p.default)(f,g.AssessmentFormats.Qti1,T),(0,p.default)(f,g.AssessmentFormats.Qti2,C),f),O=t.questions=a("questions"),k=(t.outcomes=a("outcomes"),t.questionCount=a("questionCount")),M=t.questionResults=a("questionResults"),P=(t.correctItemCount=a("correctItemCount"),t.assessmentLoaded=a("assessmentLoaded")),A=(t.isCheckingAnswer=a("isCheckingAnswer"),t.checkButtonText=a("checkButtonText"),t.primaryActionState=a("primaryActionState"),t.secondaryActionState=a("secondaryActionState"),function(e){return e.assessmentProgress.get("currentItemIndex")}),I=function(e){return e.settings.questions_per_page};t.isFirstPage=(0,y.createSelector)(A,function(e){return 0===e}),t.isLastPage=(0,y.createSelector)(A,k,I,s),t.isNextUnlocked=(0,y.createSelector)(function(e){return e.settings.unlock_next},M,I,function(e){return e.assessment.requireNAnswers},u),t.isPrevUnlocked=(0,y.createSelector)(function(e){return e.settings.unlock_prev},c),t.currentItems=(0,y.createSelector)(O,A,I,P,l)},,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(224),i=r(o),a=n(4),s=r(a),u=n(5),c=r(u),l=n(3),f=r(l),d=n(507),p=r(d),h=n(210),v=r(h),y={},g=function(){function e(){(0,s.default)(this,e)}return(0,c.default)(e,null,[{key:"get",value:function(t,n,r,o,i,a){var s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:v.default.TIMEOUT;return e.execRequest(v.default.GET,t,n,r,o,i,null,a,s)}},{key:"post",value:function(t,n,r,o,i,a,s){var u=arguments.length>7&&void 0!==arguments[7]?arguments[7]:v.default.TIMEOUT;return e.execRequest(v.default.POST,t,n,r,o,i,a,s,u)}},{key:"put",value:function(t,n,r,o,i,a,s){var u=arguments.length>7&&void 0!==arguments[7]?arguments[7]:v.default.TIMEOUT;return e.execRequest(v.default.PUT,t,n,r,o,i,a,s,u)}},{key:"del",value:function(t,n,r,o,i,a){var s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:v.default.TIMEOUT;return e.execRequest(v.default.DEL,t,n,r,o,i,null,a,s)}},{key:"execRequest",value:function(t,n,r,o,i,a,s,u){var c=arguments.length>8&&void 0!==arguments[8]?arguments[8]:v.default.TIMEOUT;return e.doRequest(e.makeUrl(""+n+e.queryStringFrom(a),r),function(e){var n=void 0;switch(t){case v.default.GET:n=p.default.get(e);break;case v.default.POST:n=p.default.post(e).send(s);break;case v.default.PUT:n=p.default.put(e).send(s);break;case v.default.DEL:n=p.default.del(e)}return n.set("Accept","application/json"),n.timeout(c),f.default.isNil(o)||n.set("Authorization","Bearer "+o),f.default.isNil(i)||n.set("X-CSRF-Token",i),f.default.isNil(u)||f.default.each(u,function(e,t){n.set(t,e)}),n},t)}},{key:"makeUrl",value:function(e,t){if(e.indexOf("http")>=0)return e;var n="/"===f.default.last(t.split(""))?"":"/",r=e;return"/"===e[0]&&(r=e.slice(1)),t+n+r}},{key:"doRequest",value:function(t,n,r){var o=e.wrapRequest(t,n,r);return o.promise?o.promise:(o.promise=e.promisify(o.request,t),o.promise.then(function(){e.disposeRequest(t)},function(){e.disposeRequest(t)}),o.promise)}},{key:"wrapRequest",value:function(e,t,n){return n===v.default.GET?(y[e]||(y[e]={request:t(e)}),y[e]):{request:t(e)}}},{key:"disposeRequest",value:function(e){delete y[e]}},{key:"promisify",value:function(e){return new i.default(function(t,n){e.end(function(e,r){e?n(e):t(r)})})}},{key:"queryStringFrom",value:function(e){var t=f.default.chain(e).map(function(e,t){return e?f.default.isArray(e)?f.default.map(e,function(e){return t+"[]="+e}).join("&"):t+"="+e:""}).compact().value();return t.length>0?"?"+t.join("&"):""}}]),e}();t.default=g},function(e,t,n){e.exports={default:n(593),__esModule:!0}},function(e,t,n){e.exports={default:n(595),__esModule:!0}},function(e,t,n){e.exports={default:n(597),__esModule:!0}},function(e,t,n){e.exports={default:n(603),__esModule:!0}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e.default:e}t.__esModule=!0;var o=n(582);t.threezerotwofour=r(o);var i=n(549);t.apathy=r(i);var a=n(550);t.ashes=r(a);var s=n(551);t.atelierDune=r(s);var u=n(552);t.atelierForest=r(u);var c=n(553);t.atelierHeath=r(c);var l=n(554);t.atelierLakeside=r(l);var f=n(555);t.atelierSeaside=r(f);var d=n(556);t.bespin=r(d);var p=n(557);t.brewer=r(p);var h=n(558);t.bright=r(h);var v=n(559);t.chalk=r(v);var y=n(560);t.codeschool=r(y);var g=n(561);t.colors=r(g);var m=n(562);t.default=r(m);var _=n(563);t.eighties=r(_);var b=n(564);t.embers=r(b);var w=n(565);t.flat=r(w);var E=n(566);t.google=r(E);var T=n(567);t.grayscale=r(T);var S=n(568);t.greenscreen=r(S);var C=n(569);t.harmonic=r(C);var x=n(570);t.hopscotch=r(x);var O=n(571);t.isotope=r(O);var k=n(572);t.marrakesh=r(k);var M=n(573);t.mocha=r(M);var P=n(574);t.monokai=r(P);var A=n(575);t.ocean=r(A);var I=n(576);t.paraiso=r(I);var j=n(577);t.pop=r(j);var D=n(578);t.railscasts=r(D);var R=n(579);t.shapeshifter=r(R);var N=n(580);t.solarized=r(N);var L=n(581);t.summerfruit=r(L);var F=n(583);t.tomorrow=r(F);var U=n(584);t.tube=r(U);var B=n(585);t.twilight=r(B)},90,[1519,47],[1520,68,105,227],[1525,108,35],[1530,67],[1536,35],[1552,165,141,89,234,88,347,68],[1555,89,353],[1556,355,228],[1559,88,132,231],[1561,88,89,605,231],function(e,t,n){var r=n(86);e.exports=function(e,t,n){for(var o in t)n&&e[o]?e[o]=t[o]:r(e,o,t[o]);return e}},function(e,t,n){e.exports=n(86)},[1578,87,608,346,227,47,140],function(e,t,n){var r=n(52);e.exports=function(e,t){if("number"!=typeof e&&"Number"!=r(e))throw TypeError(t);return+e}},function(e,t,n){"use strict";var r=n(32),o=n(97),i=n(31);e.exports=[].copyWithin||function(e,t){var n=r(this),a=i(n.length),s=o(e,a),u=o(t,a),c=arguments.length>2?arguments[2]:void 0,l=Math.min((void 0===c?a:o(c,a))-u,a-s),f=1;for(u<s&&s<u+l&&(f=-1,u+=l-1,s+=l-1);l-- >0;)u in n?n[s]=n[u]:delete n[s],s+=f,u+=f;return n}},[1494,111],function(e,t,n){var r=n(41),o=n(32),i=n(143),a=n(31);e.exports=function(e,t,n,s,u){r(t);var c=o(e),l=i(c),f=a(c.length),d=u?f-1:0,p=u?-1:1;if(n<2)for(;;){if(d in l){s=l[d],d+=p;break}if(d+=p,u?d<0:f<=d)throw TypeError("Reduce of empty array with no initial value")}for(;u?d>=0:f>d;d+=p)d in l&&(s=t(s,l[d],d,c));return s}},function(e,t,n){"use strict";var r=n(41),o=n(18),i=n(172),a=[].slice,s={},u=function(e,t,n){if(!(t in s)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";s[t]=Function("F,a","return new F("+r.join(",")+")")}return s[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=a.call(arguments,1),s=function(){var r=n.concat(a.call(arguments));return this instanceof s?u(t,r.length,r):i(t,r,e)};return o(t.prototype)&&(s.prototype=t.prototype),s}},[1502,26,92,95,71,90,53,111,248,370,96,25,78],[1503,142,361],function(e,t,n){"use strict";var r=n(95),o=n(78).getWeak,i=n(12),a=n(18),s=n(90),u=n(111),c=n(60),l=n(37),f=c(5),d=c(6),p=0,h=function(e){return e._l||(e._l=new v)},v=function(){this.a=[]},y=function(e,t){return f(e.a,function(e){return e[0]===t})};v.prototype={get:function(e){var t=y(this,e);if(t)return t[1]},has:function(e){return!!y(this,e)},set:function(e,t){var n=y(this,e);n?n[1]=t:this.a.push([e,t])},delete:function(e){var t=d(this.a,function(t){return t[0]===e});return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,i){var c=e(function(e,r){s(e,c,t,"_i"),e._i=p++,e._l=void 0,void 0!=r&&u(r,n,e[i],e)});return r(c.prototype,{delete:function(e){if(!a(e))return!1;var t=o(e);return t===!0?h(this).delete(e):t&&l(t,this._i)&&delete t[this._i]},has:function(e){if(!a(e))return!1;var t=o(e);return t===!0?h(this).has(e):t&&l(t,this._i)}}),c},def:function(e,t,n){var r=o(i(t),!0);return r===!0?h(e).set(t,n):r[e._i]=n,e},ufstore:h}},[1520,25,15,240],[1529,18],[1530,12],function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t){e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},[1545,94,176,144,32,143,15],[1550,26,12,94,25],[1555,45,93],[1561,37,45,168,253],function(e,t,n){var r=n(94),o=n(45),i=n(144).f;e.exports=function(e){return function(t){for(var n,a=o(t),s=r(a),u=s.length,c=0,l=[];u>c;)i.call(a,n=s[c++])&&l.push(e?[n,a[n]]:a[n]);return l}}},function(e,t,n){var r=n(93),o=n(176),i=n(12),a=n(14).Reflect;e.exports=a&&a.ownKeys||function(e){var t=r.f(i(e)),n=o.f;return n?t.concat(n(e)):t}},function(e,t,n){var r=n(14).parseFloat,o=n(114).trim;e.exports=1/r(n(258)+"-0")!==-(1/0)?function(e){var t=o(String(e),3),n=r(t);return 0===n&&"-"==t.charAt(0)?-0:n}:r},function(e,t,n){var r=n(14).parseInt,o=n(114).trim,i=n(258),a=/^[\-+]?0[xX]/;e.exports=8!==r(i+"08")||22!==r(i+"0x16")?function(e,t){var n=o(String(e),3);return r(n,t>>>0||(a.test(n)?16:10))}:r},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},function(e,t,n){var r=n(31),o=n(257),i=n(53);e.exports=function(e,t,n,a){var s=String(i(e)),u=s.length,c=void 0===n?" ":String(n),l=r(t);if(l<=u||""==c)return s;var f=l-u,d=o.call(c,Math.ceil(f/c.length));return d.length>f&&(d=d.slice(0,f)),a?d+s:s+d}},[1592,20],function(e,t,n){"use strict";var r=n(364);e.exports=n(169)("Map",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{get:function(e){var t=r.getEntry(this,e);return t&&t.v},set:function(e,t){return r.def(this,0===e?0:e,t)}},r,!0)},function(e,t,n){n(25)&&"g"!=/./g.flags&&n(26).f(RegExp.prototype,"flags",{configurable:!0,get:n(171)})},[1622,364,169],function(e,t,n){"use strict";var r,o=n(60)(0),i=n(43),a=n(78),s=n(372),u=n(366),c=n(18),l=a.getWeak,f=Object.isExtensible,d=u.ufstore,p={},h=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},v={get:function(e){if(c(e)){var t=l(e);return t===!0?d(this).get(e):t?t[this._i]:void 0}},set:function(e,t){return u.def(this,e,t)}},y=e.exports=n(169)("WeakMap",h,v,u,!0,!0);7!=(new y).set((Object.freeze||Object)(p),7).get(p)&&(r=u.getConstructor(h),s(r.prototype,v),a.NEED=!0,o(["delete","has","get","set"],function(e){var t=y.prototype,n=t[e];i(t,e,function(t,o){if(c(t)&&!f(t)){this._f||(this._f=new r);var i=this._f[e](t,o);return"set"==e?this:i}return n.call(this,t,o)})}))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:d,arguments[1]),t=arguments[2];switch(e.type){case l.HOVER:break;case f.ADD_SOURCE:case f.ADD_TARGET:case f.REMOVE_TARGET:case f.REMOVE_SOURCE:return d;case l.BEGIN_DRAG:case l.PUBLISH_DRAG_SOURCE:case l.END_DRAG:case l.DROP:default:return p}var n=e.targetIds,r=t.targetIds,o=(0,s.default)(n,r),i=!1;if(0===o.length){for(var a=0;a<n.length;a++)if(n[a]!==r[a]){i=!0;break}}else i=!0;if(!i)return d;var u=r[r.length-1],c=n[n.length-1];return u!==c&&(u&&o.push(u),c&&o.push(c)),o}function i(e,t){return e!==d&&(e===p||"undefined"==typeof t||(0,c.default)(t,e).length>0)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o,t.areDirty=i;var a=n(960),s=r(a),u=n(953),c=r(u),l=n(179),f=n(180),d=[],p=[]},function(e,t,n){"use strict";function r(e,t){return e===t||e&&t&&e.x===t.x&&e.y===t.y}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments[1];switch(t.type){case u.BEGIN_DRAG:return{initialSourceClientOffset:t.sourceClientOffset,initialClientOffset:t.clientOffset,clientOffset:t.clientOffset};case u.HOVER:return r(e.clientOffset,t.clientOffset)?e:s({},e,{clientOffset:t.clientOffset});case u.END_DRAG:case u.DROP:return c;default:return e}}function i(e){var t=e.clientOffset,n=e.initialClientOffset,r=e.initialSourceClientOffset;return t&&n&&r?{x:t.x+r.x-n.x,y:t.y+r.y-n.y}:null}function a(e){var t=e.clientOffset,n=e.initialClientOffset;return t&&n?{x:t.x-n.x,y:t.y-n.y}:null}Object.defineProperty(t,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=o,t.getSourceClientOffset=i,t.getDifferenceFromInitialOffset=a;var u=n(179),c={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return(0,a.default)(e)?e.some(function(e){return e===t}):e===t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(39),a=r(i)},function(e,t,n){"use strict";var r=n(40),o={listen:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!1),{remove:function(){e.removeEventListener(t,n,!1)}}):e.attachEvent?(e.attachEvent("on"+t,n),{remove:function(){e.detachEvent("on"+t,n)}}):void 0},capture:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!0),{remove:function(){e.removeEventListener(t,n,!0)}}):{remove:r}},registerDefault:function(){}};e.exports=o},function(e,t){"use strict";function n(e){try{e.focus()}catch(e){}}e.exports=n},function(e,t){"use strict";function n(e){if(e=e||("undefined"!=typeof document?document:void 0),"undefined"==typeof e)return null;try{return e.activeElement||e.body}catch(t){return e.body}}e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.readState=t.saveState=void 0;var o=n(85),i=(r(o),{QuotaExceededError:!0,QUOTA_EXCEEDED_ERR:!0}),a={SecurityError:!0},s="@@History/",u=function(e){return s+e};t.saveState=function(e,t){if(window.sessionStorage)try{null==t?window.sessionStorage.removeItem(u(e)):window.sessionStorage.setItem(u(e),JSON.stringify(t))}catch(e){if(a[e.name])return;if(i[e.name]&&0===window.sessionStorage.length)return;throw e}},t.readState=function(e){var t=void 0;try{t=window.sessionStorage.getItem(u(e))}catch(e){if(a[e.name])return}if(t)try{return JSON.parse(t)}catch(e){}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(269),a=r(i),s=n(81),u=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e(t),r=t.basename,i=function(e){return e?(r&&null==e.basename&&(0===e.pathname.toLowerCase().indexOf(r.toLowerCase())?(e.pathname=e.pathname.substring(r.length),e.basename=r,""===e.pathname&&(e.pathname="/")):e.basename=""),e):e},u=function(e){if(!r)return e;var t="string"==typeof e?(0,s.parsePath)(e):e,n=t.pathname,i="/"===r.slice(-1)?r:r+"/",a="/"===n.charAt(0)?n.slice(1):n,u=i+a;return o({},t,{pathname:u})},c=function(){return i(n.getCurrentLocation())},l=function(e){return n.listenBefore(function(t,n){return(0,a.default)(e,i(t),n)})},f=function(e){return n.listen(function(t){return e(i(t))})},d=function(e){return n.push(u(e))},p=function(e){return n.replace(u(e))},h=function(e){return n.createPath(u(e))},v=function(e){return n.createHref(u(e))},y=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];return i(n.createLocation.apply(n,[u(e)].concat(r)))};return o({},n,{getCurrentLocation:c,listenBefore:l,listen:f,push:d,replace:p,createPath:h,createHref:v,createLocation:y})}};t.default=u},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(975),a=n(269),s=r(a),u=n(116),c=n(81),l=function(e){return(0,i.stringify)(e).replace(/%20/g,"+")},f=i.parse,d=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e(t),r=t.stringifyQuery,i=t.parseQueryString;"function"!=typeof r&&(r=l),"function"!=typeof i&&(i=f);var a=function(e){return e?(null==e.query&&(e.query=i(e.search.substring(1))),e):e},d=function(e,t){if(null==t)return e;var n="string"==typeof e?(0,c.parsePath)(e):e,i=r(t),a=i?"?"+i:"";return o({},n,{search:a})},p=function(){return a(n.getCurrentLocation())},h=function(e){return n.listenBefore(function(t,n){return(0,s.default)(e,a(t),n)})},v=function(e){return n.listen(function(t){return e(a(t))})},y=function(e){return n.push(d(e,e.query))},g=function(e){return n.replace(d(e,e.query))},m=function(e){return n.createPath(d(e,e.query))},_=function(e){return n.createHref(d(e,e.query))},b=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];var i=n.createLocation.apply(n,[d(e,e.query)].concat(r));return e.query&&(i.query=(0,u.createQuery)(e.query)),a(i)};return o({},n,{getCurrentLocation:p,listenBefore:h,listen:v,push:y,replace:g,createPath:m,createHref:_,createLocation:b})}};t.default=d},function(e,t,n){!function(t,n){e.exports=n()}(this,function(){"use strict";function e(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function t(e){return i(e)?e:M(e)}function n(e){return a(e)?e:P(e)}function r(e){return s(e)?e:A(e)}function o(e){return i(e)&&!u(e)?e:I(e)}function i(e){return!(!e||!e[cn])}function a(e){return!(!e||!e[ln])}function s(e){return!(!e||!e[fn])}function u(e){return a(e)||s(e)}function c(e){return!(!e||!e[dn])}function l(e){return e.value=!1,e}function f(e){e&&(e.value=!0)}function d(){}function p(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),o=0;o<n;o++)r[o]=e[o+t];return r}function h(e){return void 0===e.size&&(e.size=e.__iterate(y)),e.size}function v(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?h(e)+t:t}function y(){return!0}function g(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function m(e,t){return b(e,t,0)}function _(e,t){return b(e,t,t)}function b(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}function w(e){this.next=e}function E(e,t,n,r){var o=0===e?t:1===e?n:[t,n];return r?r.value=o:r={value:o,done:!1},r}function T(){return{value:void 0,done:!0}}function S(e){return!!O(e)}function C(e){return e&&"function"==typeof e.next}function x(e){var t=O(e);return t&&t.call(e)}function O(e){var t=e&&(Tn&&e[Tn]||e[Sn]);if("function"==typeof t)return t}function k(e){return e&&"number"==typeof e.length}function M(e){return null===e||void 0===e?F():i(e)?e.toSeq():q(e)}function P(e){return null===e||void 0===e?F().toKeyedSeq():i(e)?a(e)?e.toSeq():e.fromEntrySeq():U(e)}function A(e){return null===e||void 0===e?F():i(e)?a(e)?e.entrySeq():e.toIndexedSeq():B(e)}function I(e){return(null===e||void 0===e?F():i(e)?a(e)?e.entrySeq():e:B(e)).toSetSeq()}function j(e){this._array=e,this.size=e.length}function D(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function R(e){this._iterable=e,this.size=e.length||e.size}function N(e){this._iterator=e,this._iteratorCache=[]}function L(e){return!(!e||!e[xn])}function F(){return On||(On=new j([]))}function U(e){var t=Array.isArray(e)?new j(e).fromEntrySeq():C(e)?new N(e).fromEntrySeq():S(e)?new R(e).fromEntrySeq():"object"==typeof e?new D(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function B(e){var t=W(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function q(e){var t=W(e)||"object"==typeof e&&new D(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function W(e){return k(e)?new j(e):C(e)?new N(e):S(e)?new R(e):void 0}function z(e,t,n,r){var o=e._cache;if(o){for(var i=o.length-1,a=0;a<=i;a++){var s=o[n?i-a:a];if(t(s[1],r?s[0]:a,e)===!1)return a+1}return a}return e.__iterateUncached(t,n)}function H(e,t,n,r){var o=e._cache;if(o){var i=o.length-1,a=0;return new w(function(){var e=o[n?i-a:a];return a++>i?T():E(t,r?e[0]:a-1,e[1])})}return e.__iteratorUncached(t,n)}function V(e,t){return t?G(t,e,"",{"":e}):K(e)}function G(e,t,n,r){return Array.isArray(t)?e.call(r,n,A(t).map(function(n,r){return G(e,n,r,t)})):Y(t)?e.call(r,n,P(t).map(function(n,r){return G(e,n,r,t)})):t}function K(e){return Array.isArray(e)?A(e).map(K).toList():Y(e)?P(e).map(K).toMap():e}function Y(e){return e&&(e.constructor===Object||void 0===e.constructor)}function $(e,t){if(e===t||e!==e&&t!==t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if(e=e.valueOf(),t=t.valueOf(),e===t||e!==e&&t!==t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function X(e,t){if(e===t)return!0;if(!i(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||a(e)!==a(t)||s(e)!==s(t)||c(e)!==c(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!u(e);if(c(e)){var r=e.entries();return t.every(function(e,t){var o=r.next().value;return o&&$(o[1],e)&&(n||$(o[0],t))})&&r.next().done}var o=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{o=!0;var l=e;e=t,t=l}var f=!0,d=t.__iterate(function(t,r){if(n?!e.has(t):o?!$(t,e.get(r,gn)):!$(e.get(r,gn),t))return f=!1,!1});return f&&e.size===d}function Q(e,t){if(!(this instanceof Q))return new Q(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(kn)return kn;kn=this}}function J(e,t){if(!e)throw new Error(t)}function Z(e,t,n){if(!(this instanceof Z))return new Z(e,t,n);if(J(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),t<e&&(n=-n),this._start=e,this._end=t,this._step=n,this.size=Math.max(0,Math.ceil((t-e)/n-1)+1),0===this.size){if(Mn)return Mn;Mn=this}}function ee(){throw TypeError("Abstract")}function te(){}function ne(){}function re(){}function oe(e){return e>>>1&1073741824|3221225471&e}function ie(e){if(e===!1||null===e||void 0===e)return 0;if("function"==typeof e.valueOf&&(e=e.valueOf(),e===!1||null===e||void 0===e))return 0;if(e===!0)return 1;var t=typeof e;if("number"===t){if(e!==e||e===1/0)return 0;var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)e/=4294967295,n^=e;return oe(n)}if("string"===t)return e.length>Ln?ae(e):se(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return ue(e);if("function"==typeof e.toString)return se(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function ae(e){var t=Bn[e];return void 0===t&&(t=se(e),Un===Fn&&(Un=0,Bn={}),Un++,Bn[e]=t),t}function se(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return oe(t)}function ue(e){var t;if(Dn&&(t=Pn.get(e),void 0!==t))return t;if(t=e[Nn],void 0!==t)return t;if(!jn){if(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Nn],void 0!==t)return t;if(t=ce(e),void 0!==t)return t}if(t=++Rn,1073741824&Rn&&(Rn=0),Dn)Pn.set(e,t);else{if(void 0!==In&&In(e)===!1)throw new Error("Non-extensible objects are not allowed as keys.");if(jn)Object.defineProperty(e,Nn,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[Nn]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Nn]=t}}return t}function ce(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}function le(e){J(e!==1/0,"Cannot perform this action with an infinite size.")}function fe(e){return null===e||void 0===e?Ee():de(e)&&!c(e)?e:Ee().withMutations(function(t){var r=n(e);le(r.size),r.forEach(function(e,n){return t.set(n,e)})})}function de(e){return!(!e||!e[qn])}function pe(e,t){this.ownerID=e,this.entries=t}function he(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function ve(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function ye(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function ge(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function me(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&be(e._root)}function _e(e,t){return E(e,t[0],t[1])}function be(e,t){return{node:e,index:0,__prev:t}}function we(e,t,n,r){var o=Object.create(Wn);return o.size=e,o._root=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Ee(){return zn||(zn=we(0))}function Te(e,t,n){var r,o;if(e._root){var i=l(mn),a=l(_n);if(r=Se(e._root,e.__ownerID,0,void 0,t,n,i,a),!a.value)return e;o=e.size+(i.value?n===gn?-1:1:0)}else{if(n===gn)return e;o=1,r=new pe(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=o,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?we(o,r):Ee()}function Se(e,t,n,r,o,i,a,s){return e?e.update(t,n,r,o,i,a,s):i===gn?e:(f(s),f(a),new ge(t,r,[o,i]))}function Ce(e){return e.constructor===ge||e.constructor===ye}function xe(e,t,n,r,o){if(e.keyHash===r)return new ye(t,r,[e.entry,o]);var i,a=(0===n?e.keyHash:e.keyHash>>>n)&yn,s=(0===n?r:r>>>n)&yn,u=a===s?[xe(e,t,n+hn,r,o)]:(i=new ge(t,r,o),a<s?[e,i]:[i,e]);return new he(t,1<<a|1<<s,u)}function Oe(e,t,n,r){e||(e=new d);for(var o=new ge(e,ie(n),[n,r]),i=0;i<t.length;i++){var a=t[i];o=o.update(e,0,void 0,a[0],a[1])}return o}function ke(e,t,n,r){for(var o=0,i=0,a=new Array(n),s=0,u=1,c=t.length;s<c;s++,u<<=1){var l=t[s];void 0!==l&&s!==r&&(o|=u,a[i++]=l)}return new he(e,o,a)}function Me(e,t,n,r,o){for(var i=0,a=new Array(vn),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[i++]:void 0;return a[r]=o,new ve(e,i+1,a)}function Pe(e,t,r){for(var o=[],a=0;a<r.length;a++){var s=r[a],u=n(s);i(s)||(u=u.map(function(e){return V(e)})),o.push(u)}return je(e,t,o)}function Ae(e,t,n){return e&&e.mergeDeep&&i(t)?e.mergeDeep(t):$(e,t)?e:t}function Ie(e){return function(t,n,r){if(t&&t.mergeDeepWith&&i(n))return t.mergeDeepWith(e,n);var o=e(t,n,r);return $(t,o)?t:o}}function je(e,t,n){return n=n.filter(function(e){return 0!==e.size}),0===n.length?e:0!==e.size||e.__ownerID||1!==n.length?e.withMutations(function(e){for(var r=t?function(n,r){e.update(r,gn,function(e){return e===gn?n:t(e,n,r)})}:function(t,n){e.set(n,t)},o=0;o<n.length;o++)n[o].forEach(r)}):e.constructor(n[0])}function De(e,t,n,r){var o=e===gn,i=t.next();if(i.done){var a=o?n:e,s=r(a);return s===a?e:s}J(o||e&&e.set,"invalid keyPath");var u=i.value,c=o?gn:e.get(u,gn),l=De(c,t,n,r);return l===c?e:l===gn?e.remove(u):(o?Ee():e).set(u,l)}function Re(e){return e-=e>>1&1431655765,e=(858993459&e)+(e>>2&858993459),e=e+(e>>4)&252645135,e+=e>>8,e+=e>>16,127&e}function Ne(e,t,n,r){var o=r?e:p(e);return o[t]=n,o}function Le(e,t,n,r){var o=e.length+1;if(r&&t+1===o)return e[t]=n,e;for(var i=new Array(o),a=0,s=0;s<o;s++)s===t?(i[s]=n,a=-1):i[s]=e[s+a];return i}function Fe(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var o=new Array(r),i=0,a=0;a<r;a++)a===t&&(i=1),o[a]=e[a+i];return o}function Ue(e){var t=He();if(null===e||void 0===e)return t;if(Be(e))return e;var n=r(e),o=n.size;return 0===o?t:(le(o),o>0&&o<vn?ze(0,o,hn,null,new qe(n.toArray())):t.withMutations(function(e){e.setSize(o),n.forEach(function(t,n){return e.set(n,t)})}))}function Be(e){return!(!e||!e[Kn])}function qe(e,t){this.array=e,this.ownerID=t}function We(e,t){function n(e,t,n){return 0===t?r(e,n):o(e,t,n)}function r(e,n){var r=n===s?u&&u.array:e&&e.array,o=n>i?0:i-n,c=a-n;return c>vn&&(c=vn),function(){if(o===c)return Xn;var e=t?--c:o++;return r&&r[e]}}function o(e,r,o){var s,u=e&&e.array,c=o>i?0:i-o>>r,l=(a-o>>r)+1;return l>vn&&(l=vn),function(){for(;;){if(s){var e=s();if(e!==Xn)return e;s=null}if(c===l)return Xn;var i=t?--l:c++;s=n(u&&u[i],r-hn,o+(i<<r))}}}var i=e._origin,a=e._capacity,s=Qe(a),u=e._tail;return n(e._root,e._level,0)}function ze(e,t,n,r,o,i,a){var s=Object.create(Yn);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=r,s._tail=o,s.__ownerID=i,s.__hash=a,s.__altered=!1,s}function He(){return $n||($n=ze(0,0,hn))}function Ve(e,t,n){if(t=v(e,t),t!==t)return e;if(t>=e.size||t<0)return e.withMutations(function(e){t<0?$e(e,t).set(0,n):$e(e,0,t+1).set(t,n)});t+=e._origin;var r=e._tail,o=e._root,i=l(_n);return t>=Qe(e._capacity)?r=Ge(r,e.__ownerID,0,t,n,i):o=Ge(o,e.__ownerID,e._level,t,n,i),i.value?e.__ownerID?(e._root=o,e._tail=r,e.__hash=void 0,e.__altered=!0,e):ze(e._origin,e._capacity,e._level,o,r):e}function Ge(e,t,n,r,o,i){var a=r>>>n&yn,s=e&&a<e.array.length;if(!s&&void 0===o)return e;var u;if(n>0){var c=e&&e.array[a],l=Ge(c,t,n-hn,r,o,i);return l===c?e:(u=Ke(e,t),u.array[a]=l,u)}return s&&e.array[a]===o?e:(f(i),u=Ke(e,t),void 0===o&&a===u.array.length-1?u.array.pop():u.array[a]=o,u)}function Ke(e,t){return t&&e&&t===e.ownerID?e:new qe(e?e.array.slice():[],t)}function Ye(e,t){if(t>=Qe(e._capacity))return e._tail;if(t<1<<e._level+hn){for(var n=e._root,r=e._level;n&&r>0;)n=n.array[t>>>r&yn],r-=hn;return n}}function $e(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new d,o=e._origin,i=e._capacity,a=o+t,s=void 0===n?i:n<0?i+n:o+n;if(a===o&&s===i)return e;if(a>=s)return e.clear();for(var u=e._level,c=e._root,l=0;a+l<0;)c=new qe(c&&c.array.length?[void 0,c]:[],r),u+=hn,l+=1<<u;l&&(a+=l,o+=l,s+=l,i+=l);for(var f=Qe(i),p=Qe(s);p>=1<<u+hn;)c=new qe(c&&c.array.length?[c]:[],r),u+=hn;var h=e._tail,v=p<f?Ye(e,s-1):p>f?new qe([],r):h;if(h&&p>f&&a<i&&h.array.length){c=Ke(c,r);for(var y=c,g=u;g>hn;g-=hn){var m=f>>>g&yn;y=y.array[m]=Ke(y.array[m],r)}y.array[f>>>hn&yn]=h}if(s<i&&(v=v&&v.removeAfter(r,0,s)),a>=p)a-=p,s-=p,u=hn,c=null,v=v&&v.removeBefore(r,0,a);else if(a>o||p<f){for(l=0;c;){var _=a>>>u&yn;if(_!==p>>>u&yn)break;_&&(l+=(1<<u)*_),u-=hn,c=c.array[_]}c&&a>o&&(c=c.removeBefore(r,u,a-l)),c&&p<f&&(c=c.removeAfter(r,u,p-l)),l&&(a-=l,s-=l)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=u,e._root=c,e._tail=v,e.__hash=void 0,e.__altered=!0,e):ze(a,s,u,c,v)}function Xe(e,t,n){for(var o=[],a=0,s=0;s<n.length;s++){var u=n[s],c=r(u);c.size>a&&(a=c.size),i(u)||(c=c.map(function(e){return V(e)})),o.push(c)}return a>e.size&&(e=e.setSize(a)),je(e,t,o)}function Qe(e){return e<vn?0:e-1>>>hn<<hn}function Je(e){return null===e||void 0===e?tt():Ze(e)?e:tt().withMutations(function(t){var r=n(e);le(r.size),r.forEach(function(e,n){return t.set(n,e)})})}function Ze(e){return de(e)&&c(e)}function et(e,t,n,r){var o=Object.create(Je.prototype);return o.size=e?e.size:0,o._map=e,o._list=t,o.__ownerID=n,o.__hash=r,o}function tt(){return Qn||(Qn=et(Ee(),He()))}function nt(e,t,n){var r,o,i=e._map,a=e._list,s=i.get(t),u=void 0!==s;if(n===gn){if(!u)return e;a.size>=vn&&a.size>=2*i.size?(o=a.filter(function(e,t){return void 0!==e&&s!==t}),r=o.toKeyedSeq().map(function(e){return e[0]}).flip().toMap(),e.__ownerID&&(r.__ownerID=o.__ownerID=e.__ownerID)):(r=i.remove(t),o=s===a.size-1?a.pop():a.set(s,void 0))}else if(u){if(n===a.get(s)[1])return e;r=i,o=a.set(s,[t,n])}else r=i.set(t,a.size),o=a.set(a.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=o,e.__hash=void 0,e):et(r,o)}function rt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function ot(e){this._iter=e,this.size=e.size}function it(e){this._iter=e,this.size=e.size}function at(e){this._iter=e,this.size=e.size}function st(e){var t=kt(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=Mt,t.__iterateUncached=function(t,n){var r=this;return e.__iterate(function(e,n){return t(n,e,r)!==!1},n)},t.__iteratorUncached=function(t,n){if(t===En){var r=e.__iterator(t,n);return new w(function(){var e=r.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e})}return e.__iterator(t===wn?bn:wn,n)},t}function ut(e,t,n){var r=kt(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,o){var i=e.get(r,gn);return i===gn?o:t.call(n,i,r,e)},r.__iterateUncached=function(r,o){var i=this;return e.__iterate(function(e,o,a){return r(t.call(n,e,o,a),o,i)!==!1},o)},r.__iteratorUncached=function(r,o){var i=e.__iterator(En,o);
+return new w(function(){var o=i.next();if(o.done)return o;var a=o.value,s=a[0];return E(r,s,t.call(n,a[1],s,e),o)})},r}function ct(e,t){var n=kt(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=st(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,r){return e.get(t?n:-1-n,r)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=Mt,n.__iterate=function(t,n){var r=this;return e.__iterate(function(e,n){return t(e,n,r)},!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function lt(e,t,n,r){var o=kt(e);return r&&(o.has=function(r){var o=e.get(r,gn);return o!==gn&&!!t.call(n,o,r,e)},o.get=function(r,o){var i=e.get(r,gn);return i!==gn&&t.call(n,i,r,e)?i:o}),o.__iterateUncached=function(o,i){var a=this,s=0;return e.__iterate(function(e,i,u){if(t.call(n,e,i,u))return s++,o(e,r?i:s-1,a)},i),s},o.__iteratorUncached=function(o,i){var a=e.__iterator(En,i),s=0;return new w(function(){for(;;){var i=a.next();if(i.done)return i;var u=i.value,c=u[0],l=u[1];if(t.call(n,l,c,e))return E(o,r?c:s++,l,i)}})},o}function ft(e,t,n){var r=fe().asMutable();return e.__iterate(function(o,i){r.update(t.call(n,o,i,e),0,function(e){return e+1})}),r.asImmutable()}function dt(e,t,n){var r=a(e),o=(c(e)?Je():fe()).asMutable();e.__iterate(function(i,a){o.update(t.call(n,i,a,e),function(e){return e=e||[],e.push(r?[a,i]:i),e})});var i=Ot(e);return o.map(function(t){return St(e,i(t))})}function pt(e,t,n,r){var o=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n===1/0?n=o:n|=0),g(t,n,o))return e;var i=m(t,o),a=_(n,o);if(i!==i||a!==a)return pt(e.toSeq().cacheResult(),t,n,r);var s,u=a-i;u===u&&(s=u<0?0:u);var c=kt(e);return c.size=0===s?s:e.size&&s||void 0,!r&&L(e)&&s>=0&&(c.get=function(t,n){return t=v(this,t),t>=0&&t<s?e.get(t+i,n):n}),c.__iterateUncached=function(t,n){var o=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,u=!0,c=0;return e.__iterate(function(e,n){if(!u||!(u=a++<i))return c++,t(e,r?n:c-1,o)!==!1&&c!==s}),c},c.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var o=0!==s&&e.__iterator(t,n),a=0,u=0;return new w(function(){for(;a++<i;)o.next();if(++u>s)return T();var e=o.next();return r||t===wn?e:t===bn?E(t,u-1,void 0,e):E(t,u-1,e.value[1],e)})},c}function ht(e,t,n){var r=kt(e);return r.__iterateUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterate(r,o);var a=0;return e.__iterate(function(e,o,s){return t.call(n,e,o,s)&&++a&&r(e,o,i)}),a},r.__iteratorUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterator(r,o);var a=e.__iterator(En,o),s=!0;return new w(function(){if(!s)return T();var e=a.next();if(e.done)return e;var o=e.value,u=o[0],c=o[1];return t.call(n,c,u,i)?r===En?e:E(r,u,c,e):(s=!1,T())})},r}function vt(e,t,n,r){var o=kt(e);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var s=!0,u=0;return e.__iterate(function(e,i,c){if(!s||!(s=t.call(n,e,i,c)))return u++,o(e,r?i:u-1,a)}),u},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var s=e.__iterator(En,i),u=!0,c=0;return new w(function(){var e,i,l;do{if(e=s.next(),e.done)return r||o===wn?e:o===bn?E(o,c++,void 0,e):E(o,c++,e.value[1],e);var f=e.value;i=f[0],l=f[1],u&&(u=t.call(n,l,i,a))}while(u);return o===En?e:E(o,i,l,e)})},o}function yt(e,t){var r=a(e),o=[e].concat(t).map(function(e){return i(e)?r&&(e=n(e)):e=r?U(e):B(Array.isArray(e)?e:[e]),e}).filter(function(e){return 0!==e.size});if(0===o.length)return e;if(1===o.length){var u=o[0];if(u===e||r&&a(u)||s(e)&&s(u))return u}var c=new j(o);return r?c=c.toKeyedSeq():s(e)||(c=c.toSetSeq()),c=c.flatten(!0),c.size=o.reduce(function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}},0),c}function gt(e,t,n){var r=kt(e);return r.__iterateUncached=function(r,o){function a(e,c){var l=this;e.__iterate(function(e,o){return(!t||c<t)&&i(e)?a(e,c+1):r(e,n?o:s++,l)===!1&&(u=!0),!u},o)}var s=0,u=!1;return a(e,0),s},r.__iteratorUncached=function(r,o){var a=e.__iterator(r,o),s=[],u=0;return new w(function(){for(;a;){var e=a.next();if(e.done===!1){var c=e.value;if(r===En&&(c=c[1]),t&&!(s.length<t)||!i(c))return n?e:E(r,u++,c,e);s.push(a),a=c.__iterator(r,o)}else a=s.pop()}return T()})},r}function mt(e,t,n){var r=Ot(e);return e.toSeq().map(function(o,i){return r(t.call(n,o,i,e))}).flatten(!0)}function _t(e,t){var n=kt(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,r){var o=this,i=0;return e.__iterate(function(e,r){return(!i||n(t,i++,o)!==!1)&&n(e,i++,o)!==!1},r),i},n.__iteratorUncached=function(n,r){var o,i=e.__iterator(wn,r),a=0;return new w(function(){return(!o||a%2)&&(o=i.next(),o.done)?o:a%2?E(n,a++,t):E(n,a++,o.value,o)})},n}function bt(e,t,n){t||(t=Pt);var r=a(e),o=0,i=e.toSeq().map(function(t,r){return[r,t,o++,n?n(t,r,e):t]}).toArray();return i.sort(function(e,n){return t(e[3],n[3])||e[2]-n[2]}).forEach(r?function(e,t){i[t].length=2}:function(e,t){i[t]=e[1]}),r?P(i):s(e)?A(i):I(i)}function wt(e,t,n){if(t||(t=Pt),n){var r=e.toSeq().map(function(t,r){return[t,n(t,r,e)]}).reduce(function(e,n){return Et(t,e[1],n[1])?n:e});return r&&r[0]}return e.reduce(function(e,n){return Et(t,e,n)?n:e})}function Et(e,t,n){var r=e(n,t);return 0===r&&n!==t&&(void 0===n||null===n||n!==n)||r>0}function Tt(e,n,r){var o=kt(e);return o.size=new j(r).map(function(e){return e.size}).min(),o.__iterate=function(e,t){for(var n,r=this.__iterator(wn,t),o=0;!(n=r.next()).done&&e(n.value,o++,this)!==!1;);return o},o.__iteratorUncached=function(e,o){var i=r.map(function(e){return e=t(e),x(o?e.reverse():e)}),a=0,s=!1;return new w(function(){var t;return s||(t=i.map(function(e){return e.next()}),s=t.some(function(e){return e.done})),s?T():E(e,a++,n.apply(null,t.map(function(e){return e.value})))})},o}function St(e,t){return L(e)?t:e.constructor(t)}function Ct(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function xt(e){return le(e.size),h(e)}function Ot(e){return a(e)?n:s(e)?r:o}function kt(e){return Object.create((a(e)?P:s(e)?A:I).prototype)}function Mt(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):M.prototype.cacheResult.call(this)}function Pt(e,t){return e>t?1:e<t?-1:0}function At(e){var n=x(e);if(!n){if(!k(e))throw new TypeError("Expected iterable or array-like: "+e);n=x(t(e))}return n}function It(e,t){var n,r=function(i){if(i instanceof r)return i;if(!(this instanceof r))return new r(i);if(!n){n=!0;var a=Object.keys(e);Rt(o,a),o.size=a.length,o._name=t,o._keys=a,o._defaultValues=e}this._map=fe(i)},o=r.prototype=Object.create(Jn);return o.constructor=r,r}function jt(e,t,n){var r=Object.create(Object.getPrototypeOf(e));return r._map=t,r.__ownerID=n,r}function Dt(e){return e._name||e.constructor.name||"Record"}function Rt(e,t){try{t.forEach(Nt.bind(void 0,e))}catch(e){}}function Nt(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){J(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function Lt(e){return null===e||void 0===e?qt():Ft(e)&&!c(e)?e:qt().withMutations(function(t){var n=o(e);le(n.size),n.forEach(function(e){return t.add(e)})})}function Ft(e){return!(!e||!e[Zn])}function Ut(e,t){return e.__ownerID?(e.size=t.size,e._map=t,e):t===e._map?e:0===t.size?e.__empty():e.__make(t)}function Bt(e,t){var n=Object.create(er);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function qt(){return tr||(tr=Bt(Ee()))}function Wt(e){return null===e||void 0===e?Vt():zt(e)?e:Vt().withMutations(function(t){var n=o(e);le(n.size),n.forEach(function(e){return t.add(e)})})}function zt(e){return Ft(e)&&c(e)}function Ht(e,t){var n=Object.create(nr);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Vt(){return rr||(rr=Ht(tt()))}function Gt(e){return null===e||void 0===e?$t():Kt(e)?e:$t().unshiftAll(e)}function Kt(e){return!(!e||!e[or])}function Yt(e,t,n,r){var o=Object.create(ir);return o.size=e,o._head=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function $t(){return ar||(ar=Yt(0))}function Xt(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}function Qt(e,t){return t}function Jt(e,t){return[t,e]}function Zt(e){return function(){return!e.apply(this,arguments)}}function en(e){return function(){return-e.apply(this,arguments)}}function tn(e){return"string"==typeof e?JSON.stringify(e):String(e)}function nn(){return p(arguments)}function rn(e,t){return e<t?1:e>t?-1:0}function on(e){if(e.size===1/0)return 0;var t=c(e),n=a(e),r=t?1:0,o=e.__iterate(n?t?function(e,t){r=31*r+sn(ie(e),ie(t))|0}:function(e,t){r=r+sn(ie(e),ie(t))|0}:t?function(e){r=31*r+ie(e)|0}:function(e){r=r+ie(e)|0});return an(o,r)}function an(e,t){return t=An(t,3432918353),t=An(t<<15|t>>>-15,461845907),t=An(t<<13|t>>>-13,5),t=(t+3864292196|0)^e,t=An(t^t>>>16,2246822507),t=An(t^t>>>13,3266489909),t=oe(t^t>>>16)}function sn(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}var un=Array.prototype.slice;e(n,t),e(r,t),e(o,t),t.isIterable=i,t.isKeyed=a,t.isIndexed=s,t.isAssociative=u,t.isOrdered=c,t.Keyed=n,t.Indexed=r,t.Set=o;var cn="@@__IMMUTABLE_ITERABLE__@@",ln="@@__IMMUTABLE_KEYED__@@",fn="@@__IMMUTABLE_INDEXED__@@",dn="@@__IMMUTABLE_ORDERED__@@",pn="delete",hn=5,vn=1<<hn,yn=vn-1,gn={},mn={value:!1},_n={value:!1},bn=0,wn=1,En=2,Tn="function"==typeof Symbol&&Symbol.iterator,Sn="@@iterator",Cn=Tn||Sn;w.prototype.toString=function(){return"[Iterator]"},w.KEYS=bn,w.VALUES=wn,w.ENTRIES=En,w.prototype.inspect=w.prototype.toSource=function(){return this.toString()},w.prototype[Cn]=function(){return this},e(M,t),M.of=function(){return M(arguments)},M.prototype.toSeq=function(){return this},M.prototype.toString=function(){return this.__toString("Seq {","}")},M.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},M.prototype.__iterate=function(e,t){return z(this,e,t,!0)},M.prototype.__iterator=function(e,t){return H(this,e,t,!0)},e(P,M),P.prototype.toKeyedSeq=function(){return this},e(A,M),A.of=function(){return A(arguments)},A.prototype.toIndexedSeq=function(){return this},A.prototype.toString=function(){return this.__toString("Seq [","]")},A.prototype.__iterate=function(e,t){return z(this,e,t,!1)},A.prototype.__iterator=function(e,t){return H(this,e,t,!1)},e(I,M),I.of=function(){return I(arguments)},I.prototype.toSetSeq=function(){return this},M.isSeq=L,M.Keyed=P,M.Set=I,M.Indexed=A;var xn="@@__IMMUTABLE_SEQ__@@";M.prototype[xn]=!0,e(j,A),j.prototype.get=function(e,t){return this.has(e)?this._array[v(this,e)]:t},j.prototype.__iterate=function(e,t){for(var n=this._array,r=n.length-1,o=0;o<=r;o++)if(e(n[t?r-o:o],o,this)===!1)return o+1;return o},j.prototype.__iterator=function(e,t){var n=this._array,r=n.length-1,o=0;return new w(function(){return o>r?T():E(e,o,n[t?r-o++:o++])})},e(D,P),D.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},D.prototype.has=function(e){return this._object.hasOwnProperty(e)},D.prototype.__iterate=function(e,t){for(var n=this._object,r=this._keys,o=r.length-1,i=0;i<=o;i++){var a=r[t?o-i:i];if(e(n[a],a,this)===!1)return i+1}return i},D.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,o=r.length-1,i=0;return new w(function(){var a=r[t?o-i:i];return i++>o?T():E(e,a,n[a])})},D.prototype[dn]=!0,e(R,A),R.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=this._iterable,r=x(n),o=0;if(C(r))for(var i;!(i=r.next()).done&&e(i.value,o++,this)!==!1;);return o},R.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterable,r=x(n);if(!C(r))return new w(T);var o=0;return new w(function(){var t=r.next();return t.done?t:E(e,o++,t.value)})},e(N,A),N.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n=this._iterator,r=this._iteratorCache,o=0;o<r.length;)if(e(r[o],o++,this)===!1)return o;for(var i;!(i=n.next()).done;){var a=i.value;if(r[o]=a,e(a,o++,this)===!1)break}return o},N.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,r=this._iteratorCache,o=0;return new w(function(){if(o>=r.length){var t=n.next();if(t.done)return t;r[o]=t.value}return E(e,o,r[o++])})};var On;e(Q,A),Q.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},Q.prototype.get=function(e,t){return this.has(e)?this._value:t},Q.prototype.includes=function(e){return $(this._value,e)},Q.prototype.slice=function(e,t){var n=this.size;return g(e,t,n)?this:new Q(this._value,_(t,n)-m(e,n))},Q.prototype.reverse=function(){return this},Q.prototype.indexOf=function(e){return $(this._value,e)?0:-1},Q.prototype.lastIndexOf=function(e){return $(this._value,e)?this.size:-1},Q.prototype.__iterate=function(e,t){for(var n=0;n<this.size;n++)if(e(this._value,n,this)===!1)return n+1;return n},Q.prototype.__iterator=function(e,t){var n=this,r=0;return new w(function(){return r<n.size?E(e,r++,n._value):T()})},Q.prototype.equals=function(e){return e instanceof Q?$(this._value,e._value):X(e)};var kn;e(Z,A),Z.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},Z.prototype.get=function(e,t){return this.has(e)?this._start+v(this,e)*this._step:t},Z.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},Z.prototype.slice=function(e,t){return g(e,t,this.size)?this:(e=m(e,this.size),t=_(t,this.size),t<=e?new Z(0,0):new Z(this.get(e,this._end),this.get(t,this._end),this._step))},Z.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step===0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},Z.prototype.lastIndexOf=function(e){return this.indexOf(e)},Z.prototype.__iterate=function(e,t){for(var n=this.size-1,r=this._step,o=t?this._start+n*r:this._start,i=0;i<=n;i++){if(e(o,i,this)===!1)return i+1;o+=t?-r:r}return i},Z.prototype.__iterator=function(e,t){var n=this.size-1,r=this._step,o=t?this._start+n*r:this._start,i=0;return new w(function(){var a=o;return o+=t?-r:r,i>n?T():E(e,i++,a)})},Z.prototype.equals=function(e){return e instanceof Z?this._start===e._start&&this._end===e._end&&this._step===e._step:X(this,e)};var Mn;e(ee,t),e(te,ee),e(ne,ee),e(re,ee),ee.Keyed=te,ee.Indexed=ne,ee.Set=re;var Pn,An="function"==typeof Math.imul&&Math.imul(4294967295,2)===-2?Math.imul:function(e,t){e|=0,t|=0;var n=65535&e,r=65535&t;return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0},In=Object.isExtensible,jn=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}(),Dn="function"==typeof WeakMap;Dn&&(Pn=new WeakMap);var Rn=0,Nn="__immutablehash__";"function"==typeof Symbol&&(Nn=Symbol(Nn));var Ln=16,Fn=255,Un=0,Bn={};e(fe,te),fe.of=function(){var e=un.call(arguments,0);return Ee().withMutations(function(t){for(var n=0;n<e.length;n+=2){if(n+1>=e.length)throw new Error("Missing value for key: "+e[n]);t.set(e[n],e[n+1])}})},fe.prototype.toString=function(){return this.__toString("Map {","}")},fe.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},fe.prototype.set=function(e,t){return Te(this,e,t)},fe.prototype.setIn=function(e,t){return this.updateIn(e,gn,function(){return t})},fe.prototype.remove=function(e){return Te(this,e,gn)},fe.prototype.deleteIn=function(e){return this.updateIn(e,function(){return gn})},fe.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},fe.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=De(this,At(e),t,n);return r===gn?void 0:r},fe.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Ee()},fe.prototype.merge=function(){return Pe(this,void 0,arguments)},fe.prototype.mergeWith=function(e){var t=un.call(arguments,1);return Pe(this,e,t)},fe.prototype.mergeIn=function(e){var t=un.call(arguments,1);return this.updateIn(e,Ee(),function(e){return"function"==typeof e.merge?e.merge.apply(e,t):t[t.length-1]})},fe.prototype.mergeDeep=function(){return Pe(this,Ae,arguments)},fe.prototype.mergeDeepWith=function(e){var t=un.call(arguments,1);return Pe(this,Ie(e),t)},fe.prototype.mergeDeepIn=function(e){var t=un.call(arguments,1);return this.updateIn(e,Ee(),function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,t):t[t.length-1]})},fe.prototype.sort=function(e){return Je(bt(this,e))},fe.prototype.sortBy=function(e,t){return Je(bt(this,t,e))},fe.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},fe.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new d)},fe.prototype.asImmutable=function(){return this.__ensureOwner()},fe.prototype.wasAltered=function(){return this.__altered},fe.prototype.__iterator=function(e,t){return new me(this,e,t)},fe.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate(function(t){return r++,e(t[1],t[0],n)},t),r},fe.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?we(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},fe.isMap=de;var qn="@@__IMMUTABLE_MAP__@@",Wn=fe.prototype;Wn[qn]=!0,Wn[pn]=Wn.remove,Wn.removeIn=Wn.deleteIn,pe.prototype.get=function(e,t,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if($(n,o[i][0]))return o[i][1];return r},pe.prototype.update=function(e,t,n,r,o,i,a){for(var s=o===gn,u=this.entries,c=0,l=u.length;c<l&&!$(r,u[c][0]);c++);var d=c<l;if(d?u[c][1]===o:s)return this;if(f(a),(s||!d)&&f(i),!s||1!==u.length){if(!d&&!s&&u.length>=Hn)return Oe(e,u,r,o);var h=e&&e===this.ownerID,v=h?u:p(u);return d?s?c===l-1?v.pop():v[c]=v.pop():v[c]=[r,o]:v.push([r,o]),h?(this.entries=v,this):new pe(e,v)}},he.prototype.get=function(e,t,n,r){void 0===t&&(t=ie(n));var o=1<<((0===e?t:t>>>e)&yn),i=this.bitmap;return 0===(i&o)?r:this.nodes[Re(i&o-1)].get(e+hn,t,n,r)},he.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=ie(r));var s=(0===t?n:n>>>t)&yn,u=1<<s,c=this.bitmap,l=0!==(c&u);if(!l&&o===gn)return this;var f=Re(c&u-1),d=this.nodes,p=l?d[f]:void 0,h=Se(p,e,t+hn,n,r,o,i,a);if(h===p)return this;if(!l&&h&&d.length>=Vn)return Me(e,d,c,s,h);if(l&&!h&&2===d.length&&Ce(d[1^f]))return d[1^f];if(l&&h&&1===d.length&&Ce(h))return h;var v=e&&e===this.ownerID,y=l?h?c:c^u:c|u,g=l?h?Ne(d,f,h,v):Fe(d,f,v):Le(d,f,h,v);return v?(this.bitmap=y,this.nodes=g,this):new he(e,y,g)},ve.prototype.get=function(e,t,n,r){void 0===t&&(t=ie(n));var o=(0===e?t:t>>>e)&yn,i=this.nodes[o];return i?i.get(e+hn,t,n,r):r},ve.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=ie(r));var s=(0===t?n:n>>>t)&yn,u=o===gn,c=this.nodes,l=c[s];if(u&&!l)return this;var f=Se(l,e,t+hn,n,r,o,i,a);if(f===l)return this;var d=this.count;if(l){if(!f&&(d--,d<Gn))return ke(e,c,d,s)}else d++;var p=e&&e===this.ownerID,h=Ne(c,s,f,p);return p?(this.count=d,this.nodes=h,this):new ve(e,d,h)},ye.prototype.get=function(e,t,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if($(n,o[i][0]))return o[i][1];return r},ye.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=ie(r));var s=o===gn;if(n!==this.keyHash)return s?this:(f(a),f(i),xe(this,e,t,n,[r,o]));for(var u=this.entries,c=0,l=u.length;c<l&&!$(r,u[c][0]);c++);var d=c<l;if(d?u[c][1]===o:s)return this;if(f(a),(s||!d)&&f(i),s&&2===l)return new ge(e,this.keyHash,u[1^c]);var h=e&&e===this.ownerID,v=h?u:p(u);return d?s?c===l-1?v.pop():v[c]=v.pop():v[c]=[r,o]:v.push([r,o]),h?(this.entries=v,this):new ye(e,this.keyHash,v)},ge.prototype.get=function(e,t,n,r){return $(n,this.entry[0])?this.entry[1]:r},ge.prototype.update=function(e,t,n,r,o,i,a){var s=o===gn,u=$(r,this.entry[0]);return(u?o===this.entry[1]:s)?this:(f(a),s?void f(i):u?e&&e===this.ownerID?(this.entry[1]=o,this):new ge(e,this.keyHash,[r,o]):(f(i),xe(this,e,t,ie(r),[r,o])))},pe.prototype.iterate=ye.prototype.iterate=function(e,t){for(var n=this.entries,r=0,o=n.length-1;r<=o;r++)if(e(n[t?o-r:r])===!1)return!1},he.prototype.iterate=ve.prototype.iterate=function(e,t){for(var n=this.nodes,r=0,o=n.length-1;r<=o;r++){var i=n[t?o-r:r];if(i&&i.iterate(e,t)===!1)return!1}},ge.prototype.iterate=function(e,t){return e(this.entry)},e(me,w),me.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var n,r=t.node,o=t.index++;if(r.entry){if(0===o)return _e(e,r.entry)}else if(r.entries){if(n=r.entries.length-1,o<=n)return _e(e,r.entries[this._reverse?n-o:o])}else if(n=r.nodes.length-1,o<=n){var i=r.nodes[this._reverse?n-o:o];if(i){if(i.entry)return _e(e,i.entry);t=this._stack=be(i,t)}continue}t=this._stack=this._stack.__prev}return T()};var zn,Hn=vn/4,Vn=vn/2,Gn=vn/4;e(Ue,ne),Ue.of=function(){return this(arguments)},Ue.prototype.toString=function(){return this.__toString("List [","]")},Ue.prototype.get=function(e,t){if(e=v(this,e),e>=0&&e<this.size){e+=this._origin;var n=Ye(this,e);return n&&n.array[e&yn]}return t},Ue.prototype.set=function(e,t){return Ve(this,e,t)},Ue.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},Ue.prototype.insert=function(e,t){return this.splice(e,0,t)},Ue.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=hn,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):He()},Ue.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations(function(n){$e(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])})},Ue.prototype.pop=function(){return $e(this,0,-1)},Ue.prototype.unshift=function(){var e=arguments;return this.withMutations(function(t){$e(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])})},Ue.prototype.shift=function(){return $e(this,1)},Ue.prototype.merge=function(){return Xe(this,void 0,arguments)},Ue.prototype.mergeWith=function(e){var t=un.call(arguments,1);return Xe(this,e,t)},Ue.prototype.mergeDeep=function(){return Xe(this,Ae,arguments)},Ue.prototype.mergeDeepWith=function(e){var t=un.call(arguments,1);return Xe(this,Ie(e),t)},Ue.prototype.setSize=function(e){return $e(this,0,e)},Ue.prototype.slice=function(e,t){var n=this.size;return g(e,t,n)?this:$e(this,m(e,n),_(t,n))},Ue.prototype.__iterator=function(e,t){var n=0,r=We(this,t);return new w(function(){var t=r();return t===Xn?T():E(e,n++,t)})},Ue.prototype.__iterate=function(e,t){for(var n,r=0,o=We(this,t);(n=o())!==Xn&&e(n,r++,this)!==!1;);return r},Ue.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?ze(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},Ue.isList=Be;var Kn="@@__IMMUTABLE_LIST__@@",Yn=Ue.prototype;Yn[Kn]=!0,Yn[pn]=Yn.remove,Yn.setIn=Wn.setIn,Yn.deleteIn=Yn.removeIn=Wn.removeIn,Yn.update=Wn.update,Yn.updateIn=Wn.updateIn,Yn.mergeIn=Wn.mergeIn,Yn.mergeDeepIn=Wn.mergeDeepIn,Yn.withMutations=Wn.withMutations,Yn.asMutable=Wn.asMutable,Yn.asImmutable=Wn.asImmutable,Yn.wasAltered=Wn.wasAltered,qe.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var r=n>>>t&yn;if(r>=this.array.length)return new qe([],e);var o,i=0===r;if(t>0){var a=this.array[r];if(o=a&&a.removeBefore(e,t-hn,n),o===a&&i)return this}if(i&&!o)return this;var s=Ke(this,e);if(!i)for(var u=0;u<r;u++)s.array[u]=void 0;return o&&(s.array[r]=o),s},qe.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var r=n-1>>>t&yn;if(r>=this.array.length)return this;var o;if(t>0){var i=this.array[r];if(o=i&&i.removeAfter(e,t-hn,n),o===i&&r===this.array.length-1)return this}var a=Ke(this,e);return a.array.splice(r+1),o&&(a.array[r]=o),a};var $n,Xn={};e(Je,fe),Je.of=function(){return this(arguments)},Je.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Je.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Je.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):tt()},Je.prototype.set=function(e,t){return nt(this,e,t)},Je.prototype.remove=function(e){return nt(this,e,gn)},Je.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Je.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate(function(t){return t&&e(t[1],t[0],n)},t)},Je.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Je.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?et(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Je.isOrderedMap=Ze,Je.prototype[dn]=!0,Je.prototype[pn]=Je.prototype.remove;var Qn;e(rt,P),rt.prototype.get=function(e,t){return this._iter.get(e,t)},rt.prototype.has=function(e){return this._iter.has(e)},rt.prototype.valueSeq=function(){return this._iter.valueSeq()},rt.prototype.reverse=function(){var e=this,t=ct(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},rt.prototype.map=function(e,t){var n=this,r=ut(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},rt.prototype.__iterate=function(e,t){var n,r=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,r)}:(n=t?xt(this):0,function(o){return e(o,t?--n:n++,r)}),t)},rt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(wn,t),r=t?xt(this):0;return new w(function(){var o=n.next();return o.done?o:E(e,t?--r:r++,o.value,o)})},rt.prototype[dn]=!0,e(ot,A),ot.prototype.includes=function(e){return this._iter.includes(e)},ot.prototype.__iterate=function(e,t){var n=this,r=0;return this._iter.__iterate(function(t){return e(t,r++,n)},t)},ot.prototype.__iterator=function(e,t){var n=this._iter.__iterator(wn,t),r=0;return new w(function(){var t=n.next();return t.done?t:E(e,r++,t.value,t)})},e(it,I),it.prototype.has=function(e){return this._iter.includes(e)},it.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate(function(t){return e(t,t,n)},t)},it.prototype.__iterator=function(e,t){var n=this._iter.__iterator(wn,t);return new w(function(){var t=n.next();return t.done?t:E(e,t.value,t.value,t)})},e(at,P),at.prototype.entrySeq=function(){return this._iter.toSeq()},at.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate(function(t){if(t){Ct(t);var r=i(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}},t)},at.prototype.__iterator=function(e,t){var n=this._iter.__iterator(wn,t);return new w(function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){Ct(r);var o=i(r);return E(e,o?r.get(0):r[0],o?r.get(1):r[1],t)}}})},ot.prototype.cacheResult=rt.prototype.cacheResult=it.prototype.cacheResult=at.prototype.cacheResult=Mt,e(It,te),It.prototype.toString=function(){return this.__toString(Dt(this)+" {","}")},It.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},It.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._defaultValues[e];return this._map?this._map.get(e,n):n},It.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=jt(this,Ee()))},It.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+Dt(this));if(this._map&&!this._map.has(e)){var n=this._defaultValues[e];if(t===n)return this}var r=this._map&&this._map.set(e,t);return this.__ownerID||r===this._map?this:jt(this,r)},It.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:jt(this,t)},It.prototype.wasAltered=function(){return this._map.wasAltered()},It.prototype.__iterator=function(e,t){var r=this;return n(this._defaultValues).map(function(e,t){return r.get(t)}).__iterator(e,t)},It.prototype.__iterate=function(e,t){var r=this;return n(this._defaultValues).map(function(e,t){return r.get(t)}).__iterate(e,t)},It.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?jt(this,t,e):(this.__ownerID=e,this._map=t,this)};var Jn=It.prototype;Jn[pn]=Jn.remove,Jn.deleteIn=Jn.removeIn=Wn.removeIn,Jn.merge=Wn.merge,Jn.mergeWith=Wn.mergeWith,Jn.mergeIn=Wn.mergeIn,Jn.mergeDeep=Wn.mergeDeep,Jn.mergeDeepWith=Wn.mergeDeepWith,Jn.mergeDeepIn=Wn.mergeDeepIn,Jn.setIn=Wn.setIn,Jn.update=Wn.update,Jn.updateIn=Wn.updateIn,Jn.withMutations=Wn.withMutations,Jn.asMutable=Wn.asMutable,Jn.asImmutable=Wn.asImmutable,e(Lt,re),Lt.of=function(){return this(arguments)},Lt.fromKeys=function(e){return this(n(e).keySeq())},Lt.prototype.toString=function(){return this.__toString("Set {","}")},Lt.prototype.has=function(e){return this._map.has(e)},Lt.prototype.add=function(e){return Ut(this,this._map.set(e,!0))},Lt.prototype.remove=function(e){return Ut(this,this._map.remove(e))},Lt.prototype.clear=function(){return Ut(this,this._map.clear())},Lt.prototype.union=function(){var e=un.call(arguments,0);return e=e.filter(function(e){return 0!==e.size}),0===e.length?this:0!==this.size||this.__ownerID||1!==e.length?this.withMutations(function(t){for(var n=0;n<e.length;n++)o(e[n]).forEach(function(e){return t.add(e)})}):this.constructor(e[0])},Lt.prototype.intersect=function(){var e=un.call(arguments,0);if(0===e.length)return this;e=e.map(function(e){return o(e)});var t=this;return this.withMutations(function(n){t.forEach(function(t){e.every(function(e){return e.includes(t)})||n.remove(t)})})},Lt.prototype.subtract=function(){var e=un.call(arguments,0);if(0===e.length)return this;e=e.map(function(e){return o(e)});var t=this;return this.withMutations(function(n){t.forEach(function(t){e.some(function(e){return e.includes(t)})&&n.remove(t)})})},Lt.prototype.merge=function(){return this.union.apply(this,arguments)},Lt.prototype.mergeWith=function(e){var t=un.call(arguments,1);return this.union.apply(this,t)},Lt.prototype.sort=function(e){return Wt(bt(this,e))},Lt.prototype.sortBy=function(e,t){return Wt(bt(this,t,e))},Lt.prototype.wasAltered=function(){return this._map.wasAltered()},Lt.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate(function(t,r){return e(r,r,n)},t)},Lt.prototype.__iterator=function(e,t){return this._map.map(function(e,t){return t}).__iterator(e,t)},Lt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):(this.__ownerID=e,this._map=t,this)},Lt.isSet=Ft;var Zn="@@__IMMUTABLE_SET__@@",er=Lt.prototype;er[Zn]=!0,er[pn]=er.remove,er.mergeDeep=er.merge,er.mergeDeepWith=er.mergeWith,er.withMutations=Wn.withMutations,er.asMutable=Wn.asMutable,er.asImmutable=Wn.asImmutable,er.__empty=qt,er.__make=Bt;var tr;e(Wt,Lt),Wt.of=function(){return this(arguments)},Wt.fromKeys=function(e){return this(n(e).keySeq())},Wt.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Wt.isOrderedSet=zt;var nr=Wt.prototype;nr[dn]=!0,nr.__empty=Vt,nr.__make=Ht;var rr;e(Gt,ne),Gt.of=function(){return this(arguments)},Gt.prototype.toString=function(){return this.__toString("Stack [","]")},Gt.prototype.get=function(e,t){var n=this._head;for(e=v(this,e);n&&e--;)n=n.next;return n?n.value:t},Gt.prototype.peek=function(){return this._head&&this._head.value},Gt.prototype.push=function(){if(0===arguments.length)return this;for(var e=this.size+arguments.length,t=this._head,n=arguments.length-1;n>=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):Yt(e,t)},Gt.prototype.pushAll=function(e){if(e=r(e),0===e.size)return this;le(e.size);var t=this.size,n=this._head;
+return e.reverse().forEach(function(e){t++,n={value:e,next:n}}),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Yt(t,n)},Gt.prototype.pop=function(){return this.slice(1)},Gt.prototype.unshift=function(){return this.push.apply(this,arguments)},Gt.prototype.unshiftAll=function(e){return this.pushAll(e)},Gt.prototype.shift=function(){return this.pop.apply(this,arguments)},Gt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):$t()},Gt.prototype.slice=function(e,t){if(g(e,t,this.size))return this;var n=m(e,this.size),r=_(t,this.size);if(r!==this.size)return ne.prototype.slice.call(this,e,t);for(var o=this.size-n,i=this._head;n--;)i=i.next;return this.__ownerID?(this.size=o,this._head=i,this.__hash=void 0,this.__altered=!0,this):Yt(o,i)},Gt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Yt(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Gt.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,r=this._head;r&&e(r.value,n++,this)!==!1;)r=r.next;return n},Gt.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,r=this._head;return new w(function(){if(r){var t=r.value;return r=r.next,E(e,n++,t)}return T()})},Gt.isStack=Kt;var or="@@__IMMUTABLE_STACK__@@",ir=Gt.prototype;ir[or]=!0,ir.withMutations=Wn.withMutations,ir.asMutable=Wn.asMutable,ir.asImmutable=Wn.asImmutable,ir.wasAltered=Wn.wasAltered;var ar;t.Iterator=w,Xt(t,{toArray:function(){le(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate(function(t,n){e[n]=t}),e},toIndexedSeq:function(){return new ot(this)},toJS:function(){return this.toSeq().map(function(e){return e&&"function"==typeof e.toJS?e.toJS():e}).__toJS()},toJSON:function(){return this.toSeq().map(function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e}).__toJS()},toKeyedSeq:function(){return new rt(this,!0)},toMap:function(){return fe(this.toKeyedSeq())},toObject:function(){le(this.size);var e={};return this.__iterate(function(t,n){e[n]=t}),e},toOrderedMap:function(){return Je(this.toKeyedSeq())},toOrderedSet:function(){return Wt(a(this)?this.valueSeq():this)},toSet:function(){return Lt(a(this)?this.valueSeq():this)},toSetSeq:function(){return new it(this)},toSeq:function(){return s(this)?this.toIndexedSeq():a(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Gt(a(this)?this.valueSeq():this)},toList:function(){return Ue(a(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){var e=un.call(arguments,0);return St(this,yt(this,e))},includes:function(e){return this.some(function(t){return $(t,e)})},entries:function(){return this.__iterator(En)},every:function(e,t){le(this.size);var n=!0;return this.__iterate(function(r,o,i){if(!e.call(t,r,o,i))return n=!1,!1}),n},filter:function(e,t){return St(this,lt(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},forEach:function(e,t){return le(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){le(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate(function(r){n?n=!1:t+=e,t+=null!==r&&void 0!==r?r.toString():""}),t},keys:function(){return this.__iterator(bn)},map:function(e,t){return St(this,ut(this,e,t))},reduce:function(e,t,n){le(this.size);var r,o;return arguments.length<2?o=!0:r=t,this.__iterate(function(t,i,a){o?(o=!1,r=t):r=e.call(n,r,t,i,a)}),r},reduceRight:function(e,t,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return St(this,ct(this,!0))},slice:function(e,t){return St(this,pt(this,e,t,!0))},some:function(e,t){return!this.every(Zt(e),t)},sort:function(e){return St(this,bt(this,e))},values:function(){return this.__iterator(wn)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some(function(){return!0})},count:function(e,t){return h(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return ft(this,e,t)},equals:function(e){return X(this,e)},entrySeq:function(){var e=this;if(e._cache)return new j(e._cache);var t=e.toSeq().map(Jt).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(Zt(e),t)},findEntry:function(e,t,n){var r=n;return this.__iterate(function(n,o,i){if(e.call(t,n,o,i))return r=[o,n],!1}),r},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},findLastEntry:function(e,t,n){return this.toKeyedSeq().reverse().findEntry(e,t,n)},findLastKey:function(e,t){return this.toKeyedSeq().reverse().findKey(e,t)},first:function(){return this.find(y)},flatMap:function(e,t){return St(this,mt(this,e,t))},flatten:function(e){return St(this,gt(this,e,!0))},fromEntrySeq:function(){return new at(this)},get:function(e,t){return this.find(function(t,n){return $(n,e)},void 0,t)},getIn:function(e,t){for(var n,r=this,o=At(e);!(n=o.next()).done;){var i=n.value;if(r=r&&r.get?r.get(i,gn):gn,r===gn)return t}return r},groupBy:function(e,t){return dt(this,e,t)},has:function(e){return this.get(e,gn)!==gn},hasIn:function(e){return this.getIn(e,gn)!==gn},isSubset:function(e){return e="function"==typeof e.includes?e:t(e),this.every(function(t){return e.includes(t)})},isSuperset:function(e){return e="function"==typeof e.isSubset?e:t(e),e.isSubset(this)},keyOf:function(e){return this.findKey(function(t){return $(t,e)})},keySeq:function(){return this.toSeq().map(Qt).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return wt(this,e)},maxBy:function(e,t){return wt(this,t,e)},min:function(e){return wt(this,e?en(e):rn)},minBy:function(e,t){return wt(this,t?en(t):rn,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return St(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return St(this,vt(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(Zt(e),t)},sortBy:function(e,t){return St(this,bt(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return St(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return St(this,ht(this,e,t))},takeUntil:function(e,t){return this.takeWhile(Zt(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=on(this))}});var sr=t.prototype;sr[cn]=!0,sr[Cn]=sr.values,sr.__toJS=sr.toArray,sr.__toStringMapper=tn,sr.inspect=sr.toSource=function(){return this.toString()},sr.chain=sr.flatMap,sr.contains=sr.includes,Xt(n,{flip:function(){return St(this,st(this))},mapEntries:function(e,t){var n=this,r=0;return St(this,this.toSeq().map(function(o,i){return e.call(t,[i,o],r++,n)}).fromEntrySeq())},mapKeys:function(e,t){var n=this;return St(this,this.toSeq().flip().map(function(r,o){return e.call(t,r,o,n)}).flip())}});var ur=n.prototype;ur[ln]=!0,ur[Cn]=sr.entries,ur.__toJS=sr.toObject,ur.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+tn(e)},Xt(r,{toKeyedSeq:function(){return new rt(this,!1)},filter:function(e,t){return St(this,lt(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.lastKeyOf(e);return void 0===t?-1:t},reverse:function(){return St(this,ct(this,!1))},slice:function(e,t){return St(this,pt(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=m(e,e<0?this.count():this.size);var r=this.slice(0,e);return St(this,1===n?r:r.concat(p(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.findLastEntry(e,t);return n?n[0]:-1},first:function(){return this.get(0)},flatten:function(e){return St(this,gt(this,e,!1))},get:function(e,t){return e=v(this,e),e<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find(function(t,n){return n===e},void 0,t)},has:function(e){return e=v(this,e),e>=0&&(void 0!==this.size?this.size===1/0||e<this.size:this.indexOf(e)!==-1)},interpose:function(e){return St(this,_t(this,e))},interleave:function(){var e=[this].concat(p(arguments)),t=Tt(this.toSeq(),A.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),St(this,n)},keySeq:function(){return Z(0,this.size)},last:function(){return this.get(-1)},skipWhile:function(e,t){return St(this,vt(this,e,t,!1))},zip:function(){var e=[this].concat(p(arguments));return St(this,Tt(this,nn,e))},zipWith:function(e){var t=p(arguments);return t[0]=this,St(this,Tt(this,e,t))}}),r.prototype[fn]=!0,r.prototype[dn]=!0,Xt(o,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=sr.includes,o.prototype.contains=o.prototype.includes,Xt(P,n.prototype),Xt(A,r.prototype),Xt(I,o.prototype),Xt(te,n.prototype),Xt(ne,r.prototype),Xt(re,o.prototype);var cr={Iterable:t,Seq:M,Collection:ee,Map:fe,OrderedMap:Je,List:Ue,Stack:Gt,Set:Lt,OrderedSet:Wt,Record:It,Range:Z,Repeat:Q,is:$,fromJS:V};return cr})},function(e,t){function n(e){var t=r.call(e);return"[object Function]"===t||"function"==typeof e&&"[object RegExp]"!==t||"undefined"!=typeof window&&(e===window.setTimeout||e===window.alert||e===window.confirm||e===window.prompt)}e.exports=n;var r=Object.prototype.toString},function(e,t,n){var r=n(100),o=n(74),i=r(o,"Set");e.exports=i},function(e,t,n){function r(e){var t=this.__data__=new o(e);this.size=t.size}var o=n(183),i=n(940),a=n(941),s=n(942),u=n(943),c=n(944);r.prototype.clear=i,r.prototype.delete=a,r.prototype.get=s,r.prototype.has=u,r.prototype.set=c,e.exports=r},function(e,t){function n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}e.exports=n},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}e.exports=n},function(e,t,n){function r(e,t){var n=a(e),r=!n&&i(e),l=!n&&!r&&s(e),d=!n&&!r&&!l&&c(e),p=n||r||l||d,h=p?o(e.length,String):[],v=h.length;for(var y in e)!t&&!f.call(e,y)||p&&("length"==y||l&&("offset"==y||"parent"==y)||d&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||u(y,v))||h.push(y);return h}var o=n(890),i=n(281),a=n(39),s=n(416),u=n(278),c=n(418),l=Object.prototype,f=l.hasOwnProperty;e.exports=r},function(e,t){function n(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}e.exports=n},function(e,t,n){function r(e,t){t=o(t,e);for(var n=0,r=t.length;null!=e&&n<r;)e=e[i(t[n++])];return n&&n==r?e:void 0}var o=n(407),i=n(190);e.exports=r},function(e,t,n){function r(e,t,n,a,s){return e===t||(null==e||null==t||!i(e)&&!i(t)?e!==e&&t!==t:o(e,t,n,a,r,s))}var o=n(877),i=n(101);e.exports=r},function(e,t,n){function r(e,t,n){var r=-1,f=i,d=e.length,p=!0,h=[],v=h;if(n)p=!1,f=a;else if(d>=l){var y=t?null:u(e);if(y)return c(y);p=!1,f=s,v=new o}else v=t?[]:h;e:for(;++r<d;){var g=e[r],m=t?t(g):g;if(g=n||0!==g?g:0,p&&m===m){for(var _=v.length;_--;)if(v[_]===m)continue e;t&&v.push(m),h.push(g)}else f(v,m,n)||(v!==h&&v.push(m),h.push(g))}return h}var o=n(184),i=n(272),a=n(273),s=n(187),u=n(898),c=n(280),l=200;e.exports=r},function(e,t,n){function r(e,t){return o(e)?e:i(e,t)?[e]:a(s(e))}var o=n(39),i=n(279),a=n(946),s=n(959);e.exports=r},function(e,t,n){var r=n(100),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},function(e,t,n){function r(e,t,n,r,c,l){var f=n&s,d=e.length,p=t.length;if(d!=p&&!(f&&p>d))return!1;var h=l.get(e);if(h&&l.get(t))return h==t;var v=-1,y=!0,g=n&u?new o:void 0;for(l.set(e,t),l.set(t,e);++v<d;){var m=e[v],_=t[v];if(r)var b=f?r(_,m,v,t,e,l):r(m,_,v,e,t,l);if(void 0!==b){if(b)continue;y=!1;break}if(g){if(!i(t,function(e,t){if(!a(g,t)&&(m===e||c(m,e,n,r,l)))return g.push(t)})){y=!1;break}}else if(m!==_&&!c(m,_,n,r,l)){y=!1;break}}return l.delete(e),l.delete(t),y}var o=n(184),i=n(867),a=n(187),s=1,u=2;e.exports=r},function(e,t){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(t,function(){return this}())},function(e,t){function n(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||r;return e===n}var r=Object.prototype;e.exports=n},function(e,t,n){function r(e){return e===e&&!o(e)}var o=n(118);e.exports=r},function(e,t){function n(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}e.exports=n},function(e,t){function n(e,t){return function(n){return e(t(n))}}e.exports=n},function(e,t){function n(e){if(null!=e){try{return o.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var r=Function.prototype,o=r.toString;e.exports=n},function(e,t,n){(function(e){var r=n(74),o=n(958),i="object"==typeof t&&t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===i,u=s?r.Buffer:void 0,c=u?u.isBuffer:void 0,l=c||o;e.exports=l}).call(t,n(206)(e))},function(e,t,n){function r(e){if(!i(e))return!1;var t=o(e);return t==s||t==u||t==a||t==c}var o=n(117),i=n(118),a="[object AsyncFunction]",s="[object Function]",u="[object GeneratorFunction]",c="[object Proxy]";e.exports=r},function(e,t,n){var r=n(881),o=n(277),i=n(933),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},function(e,t,n){function r(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(i);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(r.Cache||o),n}var o=n(271),i="Expected a function";r.Cache=o,e.exports=r},function(e,t){function n(){}e.exports=n},function(e,t,n){var r=n(276),o=n(99),i=n(406),a=n(148),s=o(function(e){return i(r(e,1,a,!0))});e.exports=s},function(e,t,n){var r=n(275),o=n(99),i=n(148),a=o(function(e,t){return i(e)?r(e,t):[]});e.exports=a},function(e,t){function n(e){return e.match(r)}var r=/-?\d+(\.\d+)?%?/g;e.exports=n},function(e,t){"use strict";function n(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r<n.length;r++){var o=n[r],i=Object.getOwnPropertyDescriptor(t,o);i&&i.configurable&&void 0===e[o]&&Object.defineProperty(e,o,i)}return e}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):n(e,t))}Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){return function(e){function t(){return r(this,t),o(this,e.apply(this,arguments))}return i(t,e),t.prototype.componentDidUpdate=function(){var e=Date.now();this.path.style.transitionDuration="0.3s, 0.3s",this.prevTimeStamp&&e-this.prevTimeStamp<100&&(this.path.style.transitionDuration="0s, 0s"),this.prevTimeStamp=Date.now()},t.prototype.render=function(){return e.prototype.render.call(this)},t}(e)};t.default=a,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.propTypes=t.defaultProps=void 0;var o=n(22),i=r(o);t.defaultProps={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1},t.propTypes={className:i.default.string,percent:i.default.oneOfType([i.default.number,i.default.string]),prefixCls:i.default.string,strokeColor:i.default.string,strokeLinecap:i.default.oneOf(["round","square"]),strokeWidth:i.default.oneOfType([i.default.number,i.default.string]),style:i.default.object,trailColor:i.default.string,trailWidth:i.default.oneOfType([i.default.number,i.default.string])}},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.getBase16Theme=t.createStyling=t.invertTheme=void 0;var i=n(225),a=o(i),s=n(11),u=o(s),c=n(548),l=o(c),f=n(163),d=o(f),p=n(859),h=o(p),v=n(344),y=r(v),g=n(970),m=o(g),_=n(973),b=o(_),w=n(861),E=o(w),T=n(979),S=y.default,C=(0,d.default)(S),x=function(e){return e<.25?1:e<.5?.9-e:1.1-e},O=(0,E.default)(b.default,T.rgb2yuv,function(e){var t=(0,l.default)(e,3),n=t[0],r=t[1],o=t[2];return[x(n),r,o]},T.yuv2rgb,m.default),k=function(e){return function(t){return{className:[t.className,e.className].filter(Boolean).join(" "),style:(0,u.default)({},t.style||{},e.style||{})}}},M=function(e,t){if(void 0===e)return t;if(void 0===t)return e;var n="undefined"==typeof e?"undefined":(0,a.default)(e),r="undefined"==typeof t?"undefined":(0,a.default)(t);switch(n){case"string":switch(r){case"string":return[t,e].filter(Boolean).join(" ");case"object":return k({className:e,style:t});case"function":return function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return k({className:e})(t.apply(void 0,[n].concat(o)))}}case"object":switch(r){case"string":return k({className:t,style:e});case"object":return(0,u.default)({},t,e);case"function":return function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return k({style:e})(t.apply(void 0,[n].concat(o)))}}case"function":switch(r){case"string":return function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return e.apply(void 0,[k(n)({className:t})].concat(o))};case"object":return function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return e.apply(void 0,[k(n)({style:t})].concat(o))};case"function":return function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return e.apply(void 0,[t.apply(void 0,[n].concat(o))].concat(o))}}}},P=function(e,t){var n=(0,d.default)(t);for(var r in e)n.indexOf(r)===-1&&n.push(r);return n.reduce(function(n,r){return n[r]=M(e[r],t[r]),n},{})},A=function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];if(null===t)return e;Array.isArray(t)||(t=[t]);var i=t.map(function(t){return e[t]}).filter(Boolean),s=i.reduce(function(e,t){return"string"==typeof t?e.className=[e.className,t].filter(Boolean).join(" "):"object"===("undefined"==typeof t?"undefined":(0,a.default)(t))?e.style=(0,u.default)({},e.style,t):"function"==typeof t&&(e=(0,u.default)({},e,t.apply(void 0,[e].concat(r)))),e},{className:"",style:{}});return s.className||delete s.className,0===(0,d.default)(s.style).length&&delete s.style,s},I=t.invertTheme=function(e){return(0,d.default)(e).reduce(function(t,n){return t[n]=/^base/.test(n)?O(e[n]):"scheme"===n?e[n]+":inverted":e[n],t},{})},j=(t.createStyling=(0,h.default)(function(e){for(var t=arguments.length,n=Array(t>3?t-3:0),r=3;r<t;r++)n[r-3]=arguments[r];var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=o.defaultBase16,s=void 0===a?S:a,c=o.base16Themes,l=void 0===c?null:c,f=j(i,l);f&&(i=(0,u.default)({},f,i));var p=C.reduce(function(e,t){return e[t]=i[t]||s[t],e},{}),v=(0,d.default)(i).reduce(function(e,t){return C.indexOf(t)===-1?(e[t]=i[t],e):e},{}),y=e(p),g=P(v,y);return(0,h.default)(A,2).apply(void 0,[g].concat(n))},3),t.getBase16Theme=function(e,t){if(e&&e.extend&&(e=e.extend),"string"==typeof e){var n=e.split(":"),r=(0,l.default)(n,2),o=r[0],i=r[1];e=(t||{})[o]||y[o],"inverted"===i&&(e=I(e))}return e&&e.hasOwnProperty("base00")?e:void 0})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.isSafari=t.isFirefox=void 0;var o=n(419),i=r(o);t.isFirefox=(0,i.default)(function(){return/firefox/i.test(navigator.userAgent)}),t.isSafari=(0,i.default)(function(){return Boolean(window.safari)})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){_.default.apply(void 0,["DragDropContext","backend"].concat(Array.prototype.slice.call(arguments)));var t=E(e),n=w(t);return function(e){var t,r,s=e.displayName||e.name||"Component",l=(r=t=function(t){function r(){return o(this,r),i(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return a(r,t),c(r,[{key:"getDecoratedComponentInstance",value:function(){return(0,v.default)(this.child,"In order to access an instance of the decorated component it can not be a stateless component."),this.child}},{key:"getManager",value:function(){return n.dragDropManager}},{key:"getChildContext",value:function(){return n}},{key:"render",value:function(){var t=this;return d.default.createElement(e,u({},this.props,{ref:function(e){return t.child=e}}))}}]),r}(f.Component),t.DecoratedComponent=e,t.displayName="DragDropContext("+s+")",t.childContextTypes=b,r);return(0,g.default)(l,e)}}Object.defineProperty(t,"__esModule",{value:!0}),t.unpackBackendForEs5Users=t.createChildContext=t.CHILD_CONTEXT_TYPES=void 0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=s;var f=n(1),d=r(f),p=n(827),h=n(17),v=r(h),y=n(145),g=r(y),m=n(194),_=r(m),b=t.CHILD_CONTEXT_TYPES={dragDropManager:f.PropTypes.object.isRequired},w=t.createChildContext=function(e,t){return{dragDropManager:new p.DragDropManager(e,t)}},E=t.unpackBackendForEs5Users=function(e){var t=e;return"object"===("undefined"==typeof t?"undefined":l(t))&&"function"==typeof t.default&&(t=t.default),(0,v.default)("function"==typeof t,"Expected the backend to be a function or an ES6 module exporting a default function. Read more: http://react-dnd.github.io/react-dnd/docs-drag-drop-context.html"),t}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return t===e||null!==t&&null!==e&&(0,a.default)(t,e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(287),a=r(i)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t,n,r=e.DecoratedComponent,s=e.createHandler,h=e.createMonitor,v=e.createConnector,g=e.registerHandler,_=e.containerDisplayName,w=e.getType,T=e.collect,S=e.options,C=S.arePropsEqual,x=void 0===C?E.default:C,O=r.displayName||r.name||"Component",k=(n=t=function(e){function t(e,n){o(this,t);var r=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.handleChange=r.handleChange.bind(r),r.handleChildRef=r.handleChildRef.bind(r),(0,y.default)("object"===c(r.context.dragDropManager),"Could not find the drag and drop manager in the context of %s. Make sure to wrap the top-level component of your app with DragDropContext. Read more: http://react-dnd.github.io/react-dnd/docs-troubleshooting.html#could-not-find-the-drag-and-drop-manager-in-the-context",O,O),r.manager=r.context.dragDropManager,r.handlerMonitor=h(r.manager),r.handlerConnector=v(r.manager.getBackend()),r.handler=s(r.handlerMonitor),r.disposable=new p.SerialDisposable,r.receiveProps(e),r.state=r.getCurrentState(),r.dispose(),r}return a(t,e),l(t,[{key:"getHandlerId",value:function(){return this.handlerId}},{key:"getDecoratedComponentInstance",value:function(){return this.decoratedComponentInstance}},{key:"shouldComponentUpdate",value:function(e,t){return!x(e,this.props)||!(0,b.default)(t,this.state)}}]),l(t,[{key:"componentDidMount",value:function(){this.isCurrentlyMounted=!0,this.disposable=new p.SerialDisposable,this.currentType=null,this.receiveProps(this.props),this.handleChange()}},{key:"componentWillReceiveProps",value:function(e){x(e,this.props)||(this.receiveProps(e),this.handleChange())}},{key:"componentWillUnmount",value:function(){this.dispose(),this.isCurrentlyMounted=!1}},{key:"receiveProps",value:function(e){this.handler.receiveProps(e),this.receiveType(w(e))}},{key:"receiveType",value:function(e){if(e!==this.currentType){this.currentType=e;var t=g(e,this.handler,this.manager),n=t.handlerId,r=t.unregister;this.handlerId=n,this.handlerMonitor.receiveHandlerId(n),this.handlerConnector.receiveHandlerId(n);var o=this.manager.getMonitor(),i=o.subscribeToStateChange(this.handleChange,{handlerIds:[n]});this.disposable.setDisposable(new p.CompositeDisposable(new p.Disposable(i),new p.Disposable(r)))}}},{key:"handleChange",value:function(){if(this.isCurrentlyMounted){var e=this.getCurrentState();(0,b.default)(e,this.state)||this.setState(e)}}},{key:"dispose",value:function(){this.disposable.dispose(),this.handlerConnector.receiveHandlerId(null)}},{key:"handleChildRef",value:function(e){this.decoratedComponentInstance=e,this.handler.receiveComponent(e)}},{key:"getCurrentState",value:function(){var e=T(this.handlerConnector.hooks,this.handlerMonitor);return e}},{key:"render",value:function(){return d.default.createElement(r,u({},this.props,this.state,{ref:this.handleChildRef}))}}]),t}(f.Component),t.DecoratedComponent=r,t.displayName=_+"("+O+")",t.contextTypes={dragDropManager:f.PropTypes.object.isRequired},n);return(0,m.default)(k,r)}Object.defineProperty(t,"__esModule",{value:!0});var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=s;var f=n(1),d=r(f),p=n(820),h=n(63),v=(r(h),n(17)),y=r(v),g=n(145),m=r(g),_=n(287),b=r(_),w=n(432),E=r(w)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return"string"==typeof e||"symbol"===("undefined"==typeof e?"undefined":i(e))||t&&(0,s.default)(e)&&e.every(function(e){return o(e,!1)})}Object.defineProperty(t,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=o;var a=n(39),s=r(a)},function(e,t){"use strict";function n(e,t){if(e===t)return!0;if("object"!==("undefined"==typeof e?"undefined":r(e))||null===e||"object"!==("undefined"==typeof t?"undefined":r(t))||null===t)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(var i=Object.prototype.hasOwnProperty,a=0;a<n.length;a+=1){if(!i.call(t,n[a]))return!1;var s=e[n[a]],u=t[n[a]];if(s!==u||"object"===("undefined"==typeof s?"undefined":r(s))||"object"===("undefined"==typeof u?"undefined":r(u)))return!1}return!0}Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if("string"!=typeof e.type){var t=e.type.displayName||e.type.name||"the component";throw new Error("Only native element nodes can now be passed to React DnD connectors."+("You can either wrap "+t+" into a <div>, or turn it into a ")+"drag source or a drop target itself.")}}function i(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!(0,s.isValidElement)(t)){var r=t;return void e(r,n)}var i=t;o(i);var a=n?function(t){return e(t,n)}:e;return(0,c.default)(i,a)}}function a(e){var t={};return Object.keys(e).forEach(function(n){var r=e[n],o=i(r);t[n]=function(){return o}}),t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var s=n(1),u=n(999),c=r(u)},function(e,t){"use strict";function n(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var r={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},o=["Webkit","ms","Moz","O"];Object.keys(r).forEach(function(e){o.forEach(function(t){r[n(t,e)]=r[e]})});var i={background:{backgroundAttachment:!0,backgroundColor:!0,backgroundImage:!0,backgroundPositionX:!0,backgroundPositionY:!0,backgroundRepeat:!0},backgroundPosition:{backgroundPositionX:!0,backgroundPositionY:!0},border:{borderWidth:!0,borderStyle:!0,borderColor:!0},borderBottom:{borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0},borderLeft:{borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0},borderRight:{borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0},borderTop:{borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0},font:{fontStyle:!0,fontVariant:!0,fontWeight:!0,fontSize:!0,lineHeight:!0,fontFamily:!0},outline:{outlineWidth:!0,outlineStyle:!0,outlineColor:!0}},a={isUnitlessNumber:r,shorthandPropertyExpansions:i};e.exports=a},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=n(16),i=n(103),a=(n(10),function(){function e(t){r(this,e),this._callbacks=null,this._contexts=null,this._arg=t}return e.prototype.enqueue=function(e,t){this._callbacks=this._callbacks||[],this._callbacks.push(e),
+this._contexts=this._contexts||[],this._contexts.push(t)},e.prototype.notifyAll=function(){var e=this._callbacks,t=this._contexts,n=this._arg;if(e&&t){e.length!==t.length?o("24"):void 0,this._callbacks=null,this._contexts=null;for(var r=0;r<e.length;r++)e[r].call(t[r],n);e.length=0,t.length=0}},e.prototype.checkpoint=function(){return this._callbacks?this._callbacks.length:0},e.prototype.rollback=function(e){this._callbacks&&this._contexts&&(this._callbacks.length=e,this._contexts.length=e)},e.prototype.reset=function(){this._callbacks=null,this._contexts=null},e.prototype.destructor=function(){this.reset()},e}());e.exports=i.addPoolingTo(a)},function(e,t,n){"use strict";function r(e){return!!c.hasOwnProperty(e)||!u.hasOwnProperty(e)&&(s.test(e)?(c[e]=!0,!0):(u[e]=!0,!1))}function o(e,t){return null==t||e.hasBooleanValue&&!t||e.hasNumericValue&&isNaN(t)||e.hasPositiveNumericValue&&t<1||e.hasOverloadedBooleanValue&&t===!1}var i=n(120),a=(n(29),n(55),n(1066)),s=(n(13),new RegExp("^["+i.ATTRIBUTE_NAME_START_CHAR+"]["+i.ATTRIBUTE_NAME_CHAR+"]*$")),u={},c={},l={createMarkupForID:function(e){return i.ID_ATTRIBUTE_NAME+"="+a(e)},setAttributeForID:function(e,t){e.setAttribute(i.ID_ATTRIBUTE_NAME,t)},createMarkupForRoot:function(){return i.ROOT_ATTRIBUTE_NAME+'=""'},setAttributeForRoot:function(e){e.setAttribute(i.ROOT_ATTRIBUTE_NAME,"")},createMarkupForProperty:function(e,t){var n=i.properties.hasOwnProperty(e)?i.properties[e]:null;if(n){if(o(n,t))return"";var r=n.attributeName;return n.hasBooleanValue||n.hasOverloadedBooleanValue&&t===!0?r+'=""':r+"="+a(t)}return i.isCustomAttribute(e)?null==t?"":e+"="+a(t):null},createMarkupForCustomAttribute:function(e,t){return r(e)&&null!=t?e+"="+a(t):""},setValueForProperty:function(e,t,n){var r=i.properties.hasOwnProperty(t)?i.properties[t]:null;if(r){var a=r.mutationMethod;if(a)a(e,n);else{if(o(r,n))return void this.deleteValueForProperty(e,t);if(r.mustUseProperty)e[r.propertyName]=n;else{var s=r.attributeName,u=r.attributeNamespace;u?e.setAttributeNS(u,s,""+n):r.hasBooleanValue||r.hasOverloadedBooleanValue&&n===!0?e.setAttribute(s,""):e.setAttribute(s,""+n)}}}else if(i.isCustomAttribute(t))return void l.setValueForAttribute(e,t,n)},setValueForAttribute:function(e,t,n){if(r(t)){null==n?e.removeAttribute(t):e.setAttribute(t,""+n)}},deleteValueForAttribute:function(e,t){e.removeAttribute(t)},deleteValueForProperty:function(e,t){var n=i.properties.hasOwnProperty(t)?i.properties[t]:null;if(n){var r=n.mutationMethod;if(r)r(e,void 0);else if(n.mustUseProperty){var o=n.propertyName;n.hasBooleanValue?e[o]=!1:e[o]=""}else e.removeAttribute(n.attributeName)}else i.isCustomAttribute(t)&&e.removeAttribute(t)}};e.exports=l},function(e,t){"use strict";var n={hasCachedChildNodes:1};e.exports=n},function(e,t,n){"use strict";function r(){if(this._rootNodeID&&this._wrapperState.pendingUpdate){this._wrapperState.pendingUpdate=!1;var e=this._currentElement.props,t=s.getValue(e);null!=t&&o(this,Boolean(e.multiple),t)}}function o(e,t,n){var r,o,i=u.getNodeFromInstance(e).options;if(t){for(r={},o=0;o<n.length;o++)r[""+n[o]]=!0;for(o=0;o<i.length;o++){var a=r.hasOwnProperty(i[o].value);i[o].selected!==a&&(i[o].selected=a)}}else{for(r=""+n,o=0;o<i.length;o++)if(i[o].value===r)return void(i[o].selected=!0);i.length&&(i[0].selected=!0)}}function i(e){var t=this._currentElement.props,n=s.executeOnChange(t,e);return this._rootNodeID&&(this._wrapperState.pendingUpdate=!0),c.asap(r,this),n}var a=n(21),s=n(292),u=n(29),c=n(64),l=(n(13),!1),f={getHostProps:function(e,t){return a({},t,{onChange:e._wrapperState.onChange,value:void 0})},mountWrapper:function(e,t){var n=s.getValue(t);e._wrapperState={pendingUpdate:!1,initialValue:null!=n?n:t.defaultValue,listeners:null,onChange:i.bind(e),wasMultiple:Boolean(t.multiple)},void 0===t.value||void 0===t.defaultValue||l||(l=!0)},getSelectValueContext:function(e){return e._wrapperState.initialValue},postUpdateWrapper:function(e){var t=e._currentElement.props;e._wrapperState.initialValue=void 0;var n=e._wrapperState.wasMultiple;e._wrapperState.wasMultiple=Boolean(t.multiple);var r=s.getValue(t);null!=r?(e._wrapperState.pendingUpdate=!1,o(e,Boolean(t.multiple),r)):n!==Boolean(t.multiple)&&(null!=t.defaultValue?o(e,Boolean(t.multiple),t.defaultValue):o(e,Boolean(t.multiple),t.multiple?[]:""))}};e.exports=f},function(e,t){"use strict";var n,r={injectEmptyComponentFactory:function(e){n=e}},o={create:function(e){return n(e)}};o.injection=r,e.exports=o},function(e,t){"use strict";var n={logTopLevelRenders:!1};e.exports=n},function(e,t,n){"use strict";function r(e){return s?void 0:a("111",e.type),new s(e)}function o(e){return new u(e)}function i(e){return e instanceof u}var a=n(16),s=(n(10),null),u=null,c={injectGenericComponentClass:function(e){s=e},injectTextComponentClass:function(e){u=e}},l={createInternalComponent:r,createInstanceForText:o,isTextComponent:i,injection:c};e.exports=l},function(e,t,n){"use strict";function r(e){return i(document.documentElement,e)}var o=n(1026),i=n(838),a=n(391),s=n(392),u={hasSelectionCapabilities:function(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&"text"===e.type||"textarea"===t||"true"===e.contentEditable)},getSelectionInformation:function(){var e=s();return{focusedElem:e,selectionRange:u.hasSelectionCapabilities(e)?u.getSelection(e):null}},restoreSelection:function(e){var t=s(),n=e.focusedElem,o=e.selectionRange;t!==n&&r(n)&&(u.hasSelectionCapabilities(n)&&u.setSelection(n,o),a(n))},getSelection:function(e){var t;if("selectionStart"in e)t={start:e.selectionStart,end:e.selectionEnd};else if(document.selection&&e.nodeName&&"input"===e.nodeName.toLowerCase()){var n=document.selection.createRange();n.parentElement()===e&&(t={start:-n.moveStart("character",-e.value.length),end:-n.moveEnd("character",-e.value.length)})}else t=o.getOffsets(e);return t||{start:0,end:0}},setSelection:function(e,t){var n=t.start,r=t.end;if(void 0===r&&(r=n),"selectionStart"in e)e.selectionStart=n,e.selectionEnd=Math.min(r,e.value.length);else if(document.selection&&e.nodeName&&"input"===e.nodeName.toLowerCase()){var i=e.createTextRange();i.collapse(!0),i.moveStart("character",n),i.moveEnd("character",r-n),i.select()}else o.setOffsets(e,t)}};e.exports=u},function(e,t,n){"use strict";function r(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r++)if(e.charAt(r)!==t.charAt(r))return r;return e.length===t.length?-1:n}function o(e){return e?e.nodeType===D?e.documentElement:e.firstChild:null}function i(e){return e.getAttribute&&e.getAttribute(A)||""}function a(e,t,n,r,o){var i;if(w.logTopLevelRenders){var a=e._currentElement.props.child,s=a.type;i="React mount: "+("string"==typeof s?s:s.displayName||s.name),console.time(i)}var u=S.mountComponent(e,n,null,_(e,t),o,0);i&&console.timeEnd(i),e._renderedComponent._topLevelWrapper=e,U._mountImageIntoNode(u,t,e,r,n)}function s(e,t,n,r){var o=x.ReactReconcileTransaction.getPooled(!n&&b.useCreateElement);o.perform(a,null,e,t,o,n,r),x.ReactReconcileTransaction.release(o)}function u(e,t,n){for(S.unmountComponent(e,n),t.nodeType===D&&(t=t.documentElement);t.lastChild;)t.removeChild(t.lastChild)}function c(e){var t=o(e);if(t){var n=m.getInstanceFromNode(t);return!(!n||!n._hostParent)}}function l(e){return!(!e||e.nodeType!==j&&e.nodeType!==D&&e.nodeType!==R)}function f(e){var t=o(e),n=t&&m.getInstanceFromNode(t);return n&&!n._hostParent?n:null}function d(e){var t=f(e);return t?t._hostContainerInfo._topLevelWrapper:null}var p=n(16),h=n(119),v=n(120),y=n(127),g=n(196),m=(n(76),n(29)),_=n(1020),b=n(1022),w=n(440),E=n(149),T=(n(55),n(1036)),S=n(123),C=n(295),x=n(64),O=n(115),k=n(449),M=(n(10),n(200)),P=n(302),A=(n(13),v.ID_ATTRIBUTE_NAME),I=v.ROOT_ATTRIBUTE_NAME,j=1,D=9,R=11,N={},L=1,F=function(){this.rootID=L++};F.prototype.isReactComponent={},F.prototype.render=function(){return this.props.child},F.isReactTopLevelWrapper=!0;var U={TopLevelWrapper:F,_instancesByReactRootID:N,scrollMonitor:function(e,t){t()},_updateRootComponent:function(e,t,n,r,o){return U.scrollMonitor(r,function(){C.enqueueElementInternal(e,t,n),o&&C.enqueueCallbackInternal(e,o)}),e},_renderNewRootComponent:function(e,t,n,r){l(t)?void 0:p("37"),g.ensureScrollValueMonitoring();var o=k(e,!1);x.batchedUpdates(s,o,t,n,r);var i=o._instance.rootID;return N[i]=o,o},renderSubtreeIntoContainer:function(e,t,n,r){return null!=e&&E.has(e)?void 0:p("38"),U._renderSubtreeIntoContainer(e,t,n,r)},_renderSubtreeIntoContainer:function(e,t,n,r){C.validateCallback(r,"ReactDOM.render"),y.isValidElement(t)?void 0:p("39","string"==typeof t?" Instead of passing a string like 'div', pass React.createElement('div') or <div />.":"function"==typeof t?" Instead of passing a class like Foo, pass React.createElement(Foo) or <Foo />.":null!=t&&void 0!==t.props?" This may be caused by unintentionally loading two independent copies of React.":"");var a,s=y.createElement(F,{child:t});if(e){var u=E.get(e);a=u._processChildContext(u._context)}else a=O;var l=d(n);if(l){var f=l._currentElement,h=f.props.child;if(P(h,t)){var v=l._renderedComponent.getPublicInstance(),g=r&&function(){r.call(v)};return U._updateRootComponent(l,s,a,n,g),v}U.unmountComponentAtNode(n)}var m=o(n),_=m&&!!i(m),b=c(n),w=_&&!l&&!b,T=U._renderNewRootComponent(s,n,w,a)._renderedComponent.getPublicInstance();return r&&r.call(T),T},render:function(e,t,n){return U._renderSubtreeIntoContainer(null,e,t,n)},unmountComponentAtNode:function(e){l(e)?void 0:p("40");var t=d(e);if(!t){c(e),1===e.nodeType&&e.hasAttribute(I);return!1}return delete N[t._instance.rootID],x.batchedUpdates(u,t,e,!1),!0},_mountImageIntoNode:function(e,t,n,i,a){if(l(t)?void 0:p("41"),i){var s=o(t);if(T.canReuseMarkup(e,s))return void m.precacheNode(n,s);var u=s.getAttribute(T.CHECKSUM_ATTR_NAME);s.removeAttribute(T.CHECKSUM_ATTR_NAME);var c=s.outerHTML;s.setAttribute(T.CHECKSUM_ATTR_NAME,u);var f=e,d=r(f,c),v=" (client) "+f.substring(d-20,d+20)+"\n (server) "+c.substring(d-20,d+20);t.nodeType===D?p("42",v):void 0}if(t.nodeType===D?p("43"):void 0,a.useCreateElement){for(;t.lastChild;)t.removeChild(t.lastChild);h.insertTreeBefore(t,e,null)}else M(t,e),m.precacheNode(n,t.firstChild)}};e.exports=U},function(e,t,n){"use strict";var r=n(16),o=n(127),i=(n(10),{HOST:0,COMPOSITE:1,EMPTY:2,getType:function(e){return null===e||e===!1?i.EMPTY:o.isValidElement(e)?"function"==typeof e.type?i.COMPOSITE:i.HOST:void r("26",e)}});e.exports=i},function(e,t,n){"use strict";function r(e,t){return null==t?o("30"):void 0,null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}var o=n(16);n(10);e.exports=r},function(e,t){"use strict";function n(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}e.exports=n},function(e,t,n){"use strict";function r(e){for(var t;(t=e._renderedNodeType)===o.COMPOSITE;)e=e._renderedComponent;return t===o.HOST?e._renderedComponent:t===o.EMPTY?null:void 0}var o=n(444);e.exports=r},function(e,t,n){"use strict";function r(){return!i&&o.canUseDOM&&(i="textContent"in document.documentElement?"textContent":"innerText"),i}var o=n(38),i=null;e.exports=r},function(e,t,n){"use strict";function r(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""}function o(e){return"function"==typeof e&&"undefined"!=typeof e.prototype&&"function"==typeof e.prototype.mountComponent&&"function"==typeof e.prototype.receiveComponent}function i(e,t){var n;if(null===e||e===!1)n=c.create(i);else if("object"==typeof e){var s=e,u=s.type;if("function"!=typeof u&&"string"!=typeof u){var d="";d+=r(s._owner),a("130",null==u?u:typeof u,d)}"string"==typeof s.type?n=l.createInternalComponent(s):o(s.type)?(n=new s.type(s),n.getHostNode||(n.getHostNode=n.getNativeNode)):n=new f(s)}else"string"==typeof e||"number"==typeof e?n=l.createInstanceForText(e):a("131",typeof e);return n._mountIndex=0,n._mountImage=null,n}var a=n(16),s=n(21),u=n(1017),c=n(439),l=n(441),f=(n(1117),n(10),n(13),function(e){this.construct(e)});s(f.prototype,u,{_instantiateReactComponent:i}),e.exports=i},function(e,t){"use strict";function n(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!r[e.type]:"textarea"===t}var r={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};e.exports=n},function(e,t,n){"use strict";var r=n(38),o=n(199),i=n(200),a=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t};r.canUseDOM&&("textContent"in document.documentElement||(a=function(e,t){return 3===e.nodeType?void(e.nodeValue=t):void i(e,o(t))})),e.exports=a},function(e,t,n){"use strict";function r(e,t){return e&&"object"==typeof e&&null!=e.key?c.escape(e.key):t.toString(36)}function o(e,t,n,i){var d=typeof e;if("undefined"!==d&&"boolean"!==d||(e=null),null===e||"string"===d||"number"===d||"object"===d&&e.$$typeof===s)return n(i,e,""===t?l+r(e,0):t),1;var p,h,v=0,y=""===t?l:t+f;if(Array.isArray(e))for(var g=0;g<e.length;g++)p=e[g],h=y+r(p,g),v+=o(p,h,n,i);else{var m=u(e);if(m){var _,b=m.call(e);if(m!==e.entries)for(var w=0;!(_=b.next()).done;)p=_.value,h=y+r(p,w++),v+=o(p,h,n,i);else for(;!(_=b.next()).done;){var E=_.value;E&&(p=E[1],h=y+c.escape(E[0])+f+r(p,0),v+=o(p,h,n,i))}}else if("object"===d){var T="",S=String(e);a("31","[object Object]"===S?"object with keys {"+Object.keys(e).join(", ")+"}":S,T)}}return v}function i(e,t,n){return null==e?0:o(e,"",t,n)}var a=n(16),s=(n(76),n(1032)),u=n(1063),c=(n(10),n(291)),l=(n(13),"."),f=":";e.exports=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(11),i=r(o),a=n(1),s=r(a),u=n(22),c=r(u),l=function(e){var t=e.styling,n=e.arrowStyle,r=e.expanded,o=e.nodeType,a=e.onClick;return s.default.createElement("div",(0,i.default)({},t("arrowContainer",n),{onClick:a}),s.default.createElement("div",t(["arrow","arrowSign"],o,r,n),"▶","double"===n&&s.default.createElement("div",t(["arrowSign","arrowSignInner"]),"▶")))};l.propTypes={styling:c.default.func.isRequired,arrowStyle:c.default.oneOf(["single","double"]),expanded:c.default.bool.isRequired,nodeType:c.default.string.isRequired,onClick:c.default.func.isRequired},l.defaultProps={arrowStyle:"single"},t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(11),i=r(o),a=n(139),s=r(a),u=n(1),c=r(u),l=n(22),f=r(l),d=n(1075),p=r(d),h=n(1071),v=r(h),y=n(1069),g=r(y),m=n(1070),_=r(m),b=n(1072),w=r(b),E=function(e){var t=e.getItemString,n=e.keyPath,r=e.labelRenderer,o=e.styling,a=e.value,u=e.valueRenderer,l=e.isCustomNode,f=(0,s.default)(e,["getItemString","keyPath","labelRenderer","styling","value","valueRenderer","isCustomNode"]),d=l(a)?"Custom":(0,p.default)(a),h={getItemString:t,key:n[0],keyPath:n,labelRenderer:r,nodeType:d,styling:o,value:a,valueRenderer:u},y=(0,i.default)({},f,h,{data:a,isCustomNode:l});switch(d){case"Object":case"Error":case"WeakMap":case"WeakSet":return c.default.createElement(v.default,y);case"Array":return c.default.createElement(g.default,y);case"Iterable":case"Map":case"Set":return c.default.createElement(_.default,y);case"String":return c.default.createElement(w.default,(0,i.default)({},h,{valueGetter:function(e){return'"'+e+'"'}}));case"Number":return c.default.createElement(w.default,h);case"Boolean":return c.default.createElement(w.default,(0,i.default)({},h,{valueGetter:function(e){return e?"true":"false"}}));case"Date":return c.default.createElement(w.default,(0,i.default)({},h,{valueGetter:function(e){return e.toISOString()}}));case"Null":return c.default.createElement(w.default,(0,i.default)({},h,{valueGetter:function(){return"null"}}));case"Undefined":return c.default.createElement(w.default,(0,i.default)({},h,{valueGetter:function(){return"undefined"}}));case"Function":case"Symbol":return c.default.createElement(w.default,(0,i.default)({},h,{valueGetter:function(e){return e.toString()}}));case"Custom":return c.default.createElement(w.default,h);default:return null}};E.propTypes={getItemString:f.default.func.isRequired,keyPath:f.default.arrayOf(f.default.oneOfType([f.default.string,f.default.number])).isRequired,labelRenderer:f.default.func.isRequired,styling:f.default.func.isRequired,value:f.default.any,valueRenderer:f.default.func.isRequired,isCustomNode:f.default.func.isRequired},t.default=E},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={getArrowStyle:"arrow",getListStyle:"nestedNodeChildren",getItemStringStyle:"nestedNodeItemString",getLabelStyle:"label",getValueStyle:"valueText"},r=(0,_.default)(n).filter(function(e){return t[e]});return r.length>0&&(e="string"==typeof e?{extend:e}:(0,g.default)({},e),r.forEach(function(r){console.error('Styling method "'+r+'" is deprecated, use "theme" property instead'),e[n[r]]=function(e){for(var n=arguments.length,o=Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];var a=e.style;return{style:(0,g.default)({},a,t[r].apply(t,o))}}})),e}function i(e){var t=o(e.theme,e);return e.invertTheme&&("string"==typeof t?t+=":inverted":t&&t.extend?t="string"==typeof t?(0,g.default)({},t,{extend:t.extend+":inverted"}):(0,g.default)({},t,{extend:(0,k.invertTheme)(t.extend)}):t&&(t=(0,k.invertTheme)(t))),{styling:(0,O.default)(t)}}t.__esModule=!0,t.default=void 0;var a,s,u=n(139),c=r(u),l=n(4),f=r(l),d=n(7),p=r(d),h=n(6),v=r(h),y=n(11),g=r(y),m=n(163),_=r(m),b=n(1),w=r(b),E=n(22),T=r(E),S=n(454),C=r(S),x=n(1073),O=r(x),k=n(426),M=function(e){return e},P=function(e,t,n){return 0===n},A=function(e,t,n,r){return w.default.createElement("span",null,n," ",r)},I=function(e){var t=e[0];return w.default.createElement("span",null,t,":")},j=function(){return!1},D=(s=a=function(e){function t(n){(0,f.default)(this,t);var r=(0,p.default)(this,e.call(this,n));return r.state=i(n),r}return(0,v.default)(t,e),t.prototype.componentWillReceiveProps=function(e){var t=this;["theme","invertTheme"].find(function(n){return e[n]!==t.props[n]})&&this.setState(i(e))},t.prototype.shouldComponentUpdate=function(e){var t=this;return!!(0,_.default)(e).find(function(n){return"keyPath"===n?e[n].join("/")!==t.props[n].join("/"):e[n]!==t.props[n]})},t.prototype.render=function(){var e=this.props,t=e.data,n=e.keyPath,r=e.postprocessValue,o=e.hideRoot,i=(e.theme,e.invertTheme,(0,c.default)(e,["data","keyPath","postprocessValue","hideRoot","theme","invertTheme"])),a=this.state.styling;return w.default.createElement("ul",a("tree"),w.default.createElement(C.default,(0,g.default)({},(0,g.default)({postprocessValue:r,hideRoot:o,styling:a},i),{keyPath:o?[]:n,value:r(t)})))},t}(w.default.Component),a.propTypes={data:T.default.oneOfType([T.default.array,T.default.object]).isRequired,hideRoot:T.default.bool,theme:T.default.oneOfType([T.default.object,T.default.string]),invertTheme:T.default.bool,keyPath:T.default.arrayOf(T.default.oneOfType([T.default.string,T.default.number])),postprocessValue:T.default.func,sortObjectKeys:T.default.oneOfType([T.default.func,T.default.bool])},a.defaultProps={shouldExpandNode:P,hideRoot:!1,keyPath:["root"],getItemString:A,labelRenderer:I,valueRenderer:M,postprocessValue:M,isCustomNode:j,collectionLimit:50,invertTheme:!0},s);t.default=D},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function u(){}function c(e,t){var n={run:function(r){try{var o=e(t.getState(),r);(o!==n.props||n.error)&&(n.shouldComponentUpdate=!0,n.props=o,n.error=null)}catch(e){n.shouldComponentUpdate=!0,n.error=e}}};return n}function l(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=r.getDisplayName,d=void 0===l?function(e){return"ConnectAdvanced("+e+")"}:l,h=r.methodName,g=void 0===h?"connectAdvanced":h,E=r.renderCountProp,T=void 0===E?void 0:E,S=r.shouldHandleStateChanges,C=void 0===S||S,x=r.storeKey,O=void 0===x?"store":x,k=r.withRef,M=void 0!==k&&k,P=s(r,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef"]),A=O+"Subscription",I=b++,j=(t={},t[O]=_.storeShape,t[A]=_.subscriptionShape,t),D=(n={},n[A]=_.subscriptionShape,n);return function(t){(0,v.default)("function"==typeof t,"You must pass a component to the function returned by connect. Instead received "+JSON.stringify(t));var n=t.displayName||t.name||"Component",r=d(n),s=f({},P,{getDisplayName:d,methodName:g,renderCountProp:T,shouldHandleStateChanges:C,storeKey:O,withRef:M,displayName:r,wrappedComponentName:n,WrappedComponent:t}),l=function(n){function l(e,t){o(this,l);var a=i(this,n.call(this,e,t));return a.version=I,a.state={},a.renderCount=0,a.store=e[O]||t[O],a.propsMode=Boolean(e[O]),a.setWrappedInstance=a.setWrappedInstance.bind(a),(0,v.default)(a.store,'Could not find "'+O+'" in either the context or props of '+('"'+r+'". Either wrap the root component in a <Provider>, ')+('or explicitly pass "'+O+'" as a prop to "'+r+'".')),a.initSelector(),a.initSubscription(),a}return a(l,n),l.prototype.getChildContext=function(){var e,t=this.propsMode?null:this.subscription;return e={},e[A]=t||this.context[A],e},l.prototype.componentDidMount=function(){C&&(this.subscription.trySubscribe(),this.selector.run(this.props),this.selector.shouldComponentUpdate&&this.forceUpdate())},l.prototype.componentWillReceiveProps=function(e){this.selector.run(e)},l.prototype.shouldComponentUpdate=function(){return this.selector.shouldComponentUpdate},l.prototype.componentWillUnmount=function(){this.subscription&&this.subscription.tryUnsubscribe(),this.subscription=null,this.notifyNestedSubs=u,this.store=null,this.selector.run=u,this.selector.shouldComponentUpdate=!1},l.prototype.getWrappedInstance=function(){return(0,v.default)(M,"To access the wrapped instance, you need to specify "+("{ withRef: true } in the options argument of the "+g+"() call.")),this.wrappedInstance},l.prototype.setWrappedInstance=function(e){this.wrappedInstance=e},l.prototype.initSelector=function(){var t=e(this.store.dispatch,s);this.selector=c(t,this.store),this.selector.run(this.props)},l.prototype.initSubscription=function(){if(C){var e=(this.propsMode?this.props:this.context)[A];this.subscription=new m.default(this.store,e,this.onStateChange.bind(this)),this.notifyNestedSubs=this.subscription.notifyNestedSubs.bind(this.subscription)}},l.prototype.onStateChange=function(){this.selector.run(this.props),this.selector.shouldComponentUpdate?(this.componentDidUpdate=this.notifyNestedSubsOnComponentDidUpdate,this.setState(w)):this.notifyNestedSubs()},l.prototype.notifyNestedSubsOnComponentDidUpdate=function(){this.componentDidUpdate=void 0,this.notifyNestedSubs()},l.prototype.isSubscribed=function(){return Boolean(this.subscription)&&this.subscription.isSubscribed()},l.prototype.addExtraProps=function(e){if(!(M||T||this.propsMode&&this.subscription))return e;var t=f({},e);return M&&(t.ref=this.setWrappedInstance),T&&(t[T]=this.renderCount++),this.propsMode&&this.subscription&&(t[A]=this.subscription),t},l.prototype.render=function(){var e=this.selector;if(e.shouldComponentUpdate=!1,e.error)throw e.error;return(0,y.createElement)(t,this.addExtraProps(e.props))},l}(y.Component);return l.WrappedComponent=t,l.displayName=r,l.childContextTypes=D,l.contextTypes=j,l.propTypes=j,(0,p.default)(l,t)}}t.__esModule=!0;var f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=l;var d=n(145),p=r(d),h=n(17),v=r(h),y=n(1),g=n(1086),m=r(g),_=n(458),b=0,w={}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return function(t,n){function r(){return o}var o=e(t,n);return r.dependsOnOwnProps=!1,r}}function i(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function a(e,t){return function(t,n){var r=(n.displayName,function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)});return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=i(e);var o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=i(o),o=r(t,n)),o},r}}t.__esModule=!0,t.wrapMapToPropsConstant=o,t.getDependsOnOwnProps=i,t.wrapMapToPropsFunc=a;var s=n(459);r(s)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.storeShape=t.subscriptionShape=void 0;var o=n(22),i=r(o);t.subscriptionShape=i.default.shape({trySubscribe:i.default.func.isRequired,tryUnsubscribe:i.default.func.isRequired,notifyNestedSubs:i.default.func.isRequired,isSubscribed:i.default.func.isRequired}),t.storeShape=i.default.shape({subscribe:i.default.func.isRequired,dispatch:i.default.func.isRequired,getState:i.default.func.isRequired})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){(0,a.default)(e)||(0,u.default)(n+"() in "+t+" must return a plain object. Instead received "+e+".")}t.__esModule=!0,t.default=o;var i=n(63),a=r(i),s=n(305),u=r(s)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e){return 0===e.button}function a(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function s(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0}function u(e,t){return"function"==typeof e?e(t.location):e}t.__esModule=!0;var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=n(1),f=r(l),d=n(57),p=r(d),h=n(22),v=n(17),y=r(v),g=n(308),m=n(307),_=(0,p.default)({displayName:"Link",mixins:[(0,m.ContextSubscriber)("router")],contextTypes:{router:g.routerShape},propTypes:{to:(0,h.oneOfType)([h.string,h.object,h.func]),activeStyle:h.object,activeClassName:h.string,onlyActiveOnIndex:h.bool.isRequired,onClick:h.func,target:h.string},getDefaultProps:function(){return{onlyActiveOnIndex:!1,style:{}}},handleClick:function(e){if(this.props.onClick&&this.props.onClick(e),!e.defaultPrevented){var t=this.context.router;t?void 0:(0,y.default)(!1),!a(e)&&i(e)&&(this.props.target||(e.preventDefault(),t.push(u(this.props.to,t))))}},render:function(){var e=this.props,t=e.to,n=e.activeClassName,r=e.activeStyle,i=e.onlyActiveOnIndex,a=o(e,["to","activeClassName","activeStyle","onlyActiveOnIndex"]),l=this.context.router;if(l){if(!t)return f.default.createElement("a",a);var d=u(t,l);a.href=l.createHref(d),(n||null!=r&&!s(r))&&l.isActive(d,i)&&(n&&(a.className?a.className+=" "+n:a.className=n),r&&(a.style=c({},a.style,r)))}return f.default.createElement("a",c({},a,{onClick:this.handleClick}))}});t.default=_,e.exports=t.default},function(e,t){"use strict";function n(e){return e&&"function"==typeof e.then}t.__esModule=!0,t.isPromise=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(57),i=r(o),a=n(22),s=n(17),u=r(s),c=n(82),l=n(125),f=n(151),d=(0,i.default)({displayName:"Redirect",statics:{createRouteFromReactElement:function(e){var t=(0,c.createRouteFromReactElement)(e);return t.from&&(t.path=t.from),t.onEnter=function(e,n){var r=e.location,o=e.params,i=void 0;if("/"===t.to.charAt(0))i=(0,l.formatPattern)(t.to,o);else if(t.to){var a=e.routes.indexOf(t),s=d.getRoutePattern(e.routes,a-1),u=s.replace(/\/*$/,"/")+t.to;i=(0,l.formatPattern)(u,o)}else i=r.pathname;n({pathname:i,query:t.query||r.query,state:t.state||r.state})},t},getRoutePattern:function(e,t){for(var n="",r=t;r>=0;r--){var o=e[r],i=o.path||"";if(n=i.replace(/\/*$/,"/")+n,0===i.indexOf("/"))break}return"/"+n}},propTypes:{path:a.string,from:a.string,to:a.string.isRequired,query:a.object,state:a.object,onEnter:f.falsy,children:f.falsy},render:function(){(0,u.default)(!1)}});t.default=d,e.exports=t.default},function(e,t){"use strict";function n(e,t,n){var i=o({},e,{setRouteLeaveHook:t.listenBeforeLeavingRoute,isActive:t.isActive});return r(i,n)}function r(e,t){var n=t.location,r=t.params,o=t.routes;return e.location=n,e.params=r,e.routes=o,e}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.createRouterObject=n,t.assignRouterState=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=(0,l.default)(e),n=function(){return t},r=(0,a.default)((0,u.default)(n))(e);return r}t.__esModule=!0,t.default=o;var i=n(395),a=r(i),s=n(394),u=r(s),c=n(855),l=r(c);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=void 0;return s&&(t=(0,a.default)(e)()),t}t.__esModule=!0,t.default=o;var i=n(468),a=r(i),s=!("undefined"==typeof window||!window.document||!window.document.createElement);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!0;return!1}function i(e,t){function n(t,n){return t=e.createLocation(t),(0,p.default)(t,n,_.location,_.routes,_.params)}function r(e,n){S&&S.location===e?i(S,n):(0,g.default)(t,e,function(t,r){t?n(t):r?i(a({},r,{location:e}),n):n()})}function i(e,t){function n(n,o){return n||o?r(n,o):void(0,v.default)(e,function(n,r){n?t(n):t(null,null,_=a({},e,{components:r}))})}function r(e,n){e?t(e):t(null,n)}var o=(0,c.default)(_,e),i=o.leaveRoutes,s=o.changeRoutes,u=o.enterRoutes;T(i,_),i.filter(function(e){return u.indexOf(e)===-1}).forEach(h),E(s,_,e,function(t,o){return t||o?r(t,o):void w(u,e,n)})}function s(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.__id__||t&&(e.__id__=C++)}function u(e){return e.map(function(e){return x[s(e)]}).filter(function(e){return e})}function l(e,n){(0,g.default)(t,e,function(t,r){if(null==r)return void n();S=a({},r,{location:e});for(var o=u((0,c.default)(_,S).leaveRoutes),i=void 0,s=0,l=o.length;null==i&&s<l;++s)i=o[s](e);n(i)})}function d(){if(_.routes){for(var e=u(_.routes),t=void 0,n=0,r=e.length;"string"!=typeof t&&n<r;++n)t=e[n]();return t}}function h(e){var t=s(e);t&&(delete x[t],o(x)||(O&&(O(),O=null),k&&(k(),k=null)))}function y(t,n){var r=!o(x),i=s(t,!0);return x[i]=n,r&&(O=e.listenBefore(l),e.listenBeforeUnload&&(k=e.listenBeforeUnload(d))),function(){h(t)}}function m(t){function n(n){_.location===n?t(null,_):r(n,function(n,r,o){n?t(n):r?e.replace(r):o&&t(null,o)})}var o=e.listen(n);return _.location?t(null,_):n(e.getCurrentLocation()),o}var _={},b=(0,f.default)(),w=b.runEnterHooks,E=b.runChangeHooks,T=b.runLeaveHooks,S=void 0,C=1,x=Object.create(null),O=void 0,k=void 0;return{isActive:n,match:r,listenBeforeLeavingRoute:y,listen:m}}t.__esModule=!0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=i;var s=n(126),u=(r(s),n(1096)),c=r(u),l=n(1093),f=r(l),d=n(1100),p=r(d),h=n(1097),v=r(h),y=n(1102),g=r(y);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.createMemoryHistory=t.hashHistory=t.browserHistory=t.applyRouterMiddleware=t.formatPattern=t.useRouterHistory=t.match=t.routerShape=t.locationShape=t.RouterContext=t.createRoutes=t.Route=t.Redirect=t.IndexRoute=t.IndexRedirect=t.withRouter=t.IndexLink=t.Link=t.Router=void 0;
+var o=n(82);Object.defineProperty(t,"createRoutes",{enumerable:!0,get:function(){return o.createRoutes}});var i=n(308);Object.defineProperty(t,"locationShape",{enumerable:!0,get:function(){return i.locationShape}}),Object.defineProperty(t,"routerShape",{enumerable:!0,get:function(){return i.routerShape}});var a=n(125);Object.defineProperty(t,"formatPattern",{enumerable:!0,get:function(){return a.formatPattern}});var s=n(1092),u=r(s),c=n(460),l=r(c),f=n(1088),d=r(f),p=n(1103),h=r(p),v=n(1089),y=r(v),g=n(1090),m=r(g),_=n(462),b=r(_),w=n(1091),E=r(w),T=n(309),S=r(T),C=n(1101),x=r(C),O=n(468),k=r(O),M=n(1094),P=r(M),A=n(1095),I=r(A),j=n(1099),D=r(j),R=n(464),N=r(R);t.Router=u.default,t.Link=l.default,t.IndexLink=d.default,t.withRouter=h.default,t.IndexRedirect=y.default,t.IndexRoute=m.default,t.Redirect=b.default,t.Route=E.default,t.RouterContext=S.default,t.match=x.default,t.useRouterHistory=k.default,t.applyRouterMiddleware=P.default,t.browserHistory=I.default,t.hashHistory=D.default,t.createMemoryHistory=N.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return function(t){var n=(0,a.default)((0,u.default)(e))(t);return n}}t.__esModule=!0,t.default=o;var i=n(395),a=r(i),s=n(394),u=r(s);e.exports=t.default},function(e,t,n){"use strict";function r(e){var t=Function.prototype.toString,n=Object.prototype.hasOwnProperty,r=RegExp("^"+t.call(n).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");try{var o=t.call(e);return r.test(o)}catch(e){return!1}}function o(e){var t=c(e);if(t){var n=t.childIDs;l(e),n.forEach(o)}}function i(e,t,n){return"\n    in "+(e||"Unknown")+(t?" (at "+t.fileName.replace(/^.*[\\\/]/,"")+":"+t.lineNumber+")":n?" (created by "+n+")":"")}function a(e){return null==e?"#empty":"string"==typeof e||"number"==typeof e?"#text":"string"==typeof e.type?e.type:e.type.displayName||e.type.name||"Unknown"}function s(e){var t,n=C.getDisplayName(e),r=C.getElement(e),o=C.getOwnerID(e);return o&&(t=C.getDisplayName(o)),i(n,r&&r._source,t)}var u,c,l,f,d,p,h,v=n(129),y=n(76),g=(n(10),n(13),"function"==typeof Array.from&&"function"==typeof Map&&r(Map)&&null!=Map.prototype&&"function"==typeof Map.prototype.keys&&r(Map.prototype.keys)&&"function"==typeof Set&&r(Set)&&null!=Set.prototype&&"function"==typeof Set.prototype.keys&&r(Set.prototype.keys));if(g){var m=new Map,_=new Set;u=function(e,t){m.set(e,t)},c=function(e){return m.get(e)},l=function(e){m.delete(e)},f=function(){return Array.from(m.keys())},d=function(e){_.add(e)},p=function(e){_.delete(e)},h=function(){return Array.from(_.keys())}}else{var b={},w={},E=function(e){return"."+e},T=function(e){return parseInt(e.substr(1),10)};u=function(e,t){var n=E(e);b[n]=t},c=function(e){var t=E(e);return b[t]},l=function(e){var t=E(e);delete b[t]},f=function(){return Object.keys(b).map(T)},d=function(e){var t=E(e);w[t]=!0},p=function(e){var t=E(e);delete w[t]},h=function(){return Object.keys(w).map(T)}}var S=[],C={onSetChildren:function(e,t){var n=c(e);n?void 0:v("144"),n.childIDs=t;for(var r=0;r<t.length;r++){var o=t[r],i=c(o);i?void 0:v("140"),null==i.childIDs&&"object"==typeof i.element&&null!=i.element?v("141"):void 0,i.isMounted?void 0:v("71"),null==i.parentID&&(i.parentID=e),i.parentID!==e?v("142",o,i.parentID,e):void 0}},onBeforeMountComponent:function(e,t,n){var r={element:t,parentID:n,text:null,childIDs:[],isMounted:!1,updateCount:0};u(e,r)},onBeforeUpdateComponent:function(e,t){var n=c(e);n&&n.isMounted&&(n.element=t)},onMountComponent:function(e){var t=c(e);t?void 0:v("144"),t.isMounted=!0;var n=0===t.parentID;n&&d(e)},onUpdateComponent:function(e){var t=c(e);t&&t.isMounted&&t.updateCount++},onUnmountComponent:function(e){var t=c(e);if(t){t.isMounted=!1;var n=0===t.parentID;n&&p(e)}S.push(e)},purgeUnmountedComponents:function(){if(!C._preventPurging){for(var e=0;e<S.length;e++){var t=S[e];o(t)}S.length=0}},isMounted:function(e){var t=c(e);return!!t&&t.isMounted},getCurrentStackAddendum:function(e){var t="";if(e){var n=a(e),r=e._owner;t+=i(n,e._source,r&&r.getName())}var o=y.current,s=o&&o._debugID;return t+=C.getStackAddendumByID(s)},getStackAddendumByID:function(e){for(var t="";e;)t+=s(e),e=C.getParentID(e);return t},getChildIDs:function(e){var t=c(e);return t?t.childIDs:[]},getDisplayName:function(e){var t=C.getElement(e);return t?a(t):null},getElement:function(e){var t=c(e);return t?t.element:null},getOwnerID:function(e){var t=C.getElement(e);return t&&t._owner?t._owner._debugID:null},getParentID:function(e){var t=c(e);return t?t.parentID:null},getSource:function(e){var t=c(e),n=t?t.element:null,r=null!=n?n._source:null;return r},getText:function(e){var t=C.getElement(e);return"string"==typeof t?t:"number"==typeof t?""+t:null},getUpdateCount:function(e){var t=c(e);return t?t.updateCount:0},getRootIDs:h,getRegisteredIDs:f};e.exports=C},function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;e.exports=n},function(e,t,n){"use strict";var r={};e.exports=r},function(e,t,n){"use strict";var r=!1;e.exports=r},function(e,t){"use strict";function n(e){var t=e&&(r&&e[r]||e[o]);if("function"==typeof t)return t}var r="function"==typeof Symbol&&Symbol.iterator,o="@@iterator";e.exports=n},function(e,t){"use strict";function n(){return{type:a}}function r(){return{type:s}}function o(e){return{type:u,size:e}}function i(){return{type:c}}t.__esModule=!0,t.toggleVisibility=n,t.changePosition=r,t.changeSize=o,t.changeMonitor=i;var a=t.TOGGLE_VISIBILITY="@@redux-devtools-log-monitor/TOGGLE_VISIBILITY",s=t.CHANGE_POSITION="@@redux-devtools-log-monitor/CHANGE_POSITION",u=t.CHANGE_SIZE="@@redux-devtools-log-monitor/CHANGE_SIZE",c=t.CHANGE_MONITOR="@@redux-devtools-log-monitor/CHANGE_MONITOR"},function(e,t){"use strict";t.__esModule=!0;t.POSITIONS=["left","top","right","bottom"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r=n,o=void 0;try{r=e(n,t)}catch(e){o=e.toString(),"object"===("undefined"==typeof window?"undefined":p(window))&&("undefined"!=typeof window.chrome||"undefined"!=typeof window.process&&"renderer"===window.process.type)?setTimeout(function(){throw e}):console.error(e)}return{state:r,error:o}}function i(e,t,n,r){return r?o(e,t,n):{state:e(n,t)}}function a(e,t,n,r,o,a,s,u){if(!e||t===-1||t>=e.length&&e.length===a.length)return e;for(var c=e.slice(0,t),l=t;l<a.length;l++){var f=a[l],d=o[f].action,p=c[l-1],h=p?p.state:r,v=s.indexOf(f)>-1,y=void 0;y=v?p:u&&p&&p.error?{state:h,error:"Interrupted by an error up the chain"}:i(n,d,h,u),c.push(y)}return c}function s(e){return T.performAction(e)}function u(e,t,n,r){var o={monitorState:n(void 0,{}),nextActionId:1,actionsById:{0:s(S)},stagedActionIds:[0],skippedActionIds:[],committedState:t,currentStateIndex:0,computedStates:[],isLocked:r.shouldStartLocked===!0,isPaused:r.shouldRecordChanges===!1};return function(u,c){function l(e){for(var t=e,n=_.slice(1,t+1),r=0;r<n.length;r++){if(C[r+1].error){t=r,n=_.slice(1,t+1);break}delete y[n[r]]}b=b.filter(function(e){return n.indexOf(e)===-1}),_=[0].concat(_.slice(t+1)),w=C[t].state,C=C.slice(t),T=T>t?T-t:0}function f(t){var o,a=void 0;return t?(a=C[T],h=n(h,c)):a=i(e,c.action,C[T].state,!1),r.pauseActionType&&1!==m?(t&&(T===_.length-1&&T++,_=[].concat(_,[m]),m++),{monitorState:h,actionsById:d({},y,(o={},o[m-1]=s({type:r.pauseActionType}),o)),nextActionId:m,stagedActionIds:_,skippedActionIds:b,committedState:w,currentStateIndex:T,computedStates:[].concat(C.slice(0,_.length-1),[a]),isLocked:x,isPaused:!0}):{monitorState:h,actionsById:{0:s(S)},nextActionId:1,stagedActionIds:[0],skippedActionIds:[],committedState:a.state,currentStateIndex:0,computedStates:[a],isLocked:x,isPaused:!0}}var p=u||o,h=p.monitorState,y=p.actionsById,m=p.nextActionId,_=p.stagedActionIds,b=p.skippedActionIds,w=p.committedState,T=p.currentStateIndex,C=p.computedStates,x=p.isLocked,O=p.isPaused;u||(y=d({},y));var k=0;switch(c.type){case E.PERFORM_ACTION:if(x)return u||o;if(O)return f();r.maxAge&&_.length===r.maxAge&&l(1),T===_.length-1&&T++;var M=m++;y[M]=c,_=[].concat(_,[M]),k=_.length-1;break;case E.RESET:y={0:s(S)},m=1,_=[0],b=[],w=t,T=0,C=[];break;case E.COMMIT:y={0:s(S)},m=1,_=[0],b=[],w=C[T].state,T=0,C=[];break;case E.ROLLBACK:y={0:s(S)},m=1,_=[0],b=[],T=0,C=[];break;case E.TOGGLE_ACTION:var P=function(){var e=c.id,t=b.indexOf(e);return b=t===-1?[e].concat(b):b.filter(function(t){return t!==e}),k=_.indexOf(e),"break"}();if("break"===P)break;case E.SET_ACTIONS_ACTIVE:for(var A=c.start,I=c.end,j=c.active,D=[],R=A;R<I;R++)D.push(R);b=j?(0,v.default)(b,D):(0,g.default)(b,D),k=_.indexOf(A);break;case E.JUMP_TO_STATE:T=c.index,k=1/0;break;case E.JUMP_TO_ACTION:var N=_.indexOf(c.actionId);N!==-1&&(T=N),k=1/0;break;case E.SWEEP:_=(0,v.default)(_,b),b=[],T=Math.min(T,_.length-1);break;case E.REORDER_ACTION:var L=c.actionId,F=_.indexOf(L);if(F<1)break;var U=c.beforeActionId,B=_.indexOf(U);if(B<1){var q=_.length;B=U>_[q-1]?q:1}var W=F-B;W>0?(_=[].concat(_.slice(0,B),[L],_.slice(B,F),_.slice(F+1)),k=B):W<0&&(_=[].concat(_.slice(0,F),_.slice(F+1,B),[L],_.slice(B)),k=F);break;case E.IMPORT_STATE:if(Array.isArray(c.nextLiftedState))y={0:s(S)},m=1,_=[0],b=[],T=c.nextLiftedState.length,C=[],w=c.preloadedState,k=0,c.nextLiftedState.forEach(function(e){y[m]=s(e),_.push(m),m++});else{var z=c.nextLiftedState;h=z.monitorState,y=z.actionsById,m=z.nextActionId,_=z.stagedActionIds,b=z.skippedActionIds,w=z.committedState,T=z.currentStateIndex,C=z.computedStates,c.noRecompute&&(k=1/0)}break;case E.LOCK_CHANGES:x=c.status,k=1/0;break;case E.PAUSE_RECORDING:if(O=c.status)return f(!0);y={0:s(S)},m=1,_=[0],b=[],w=C[T].state,T=0,C=[];break;case"@@redux/INIT":if(r.shouldHotReload===!1&&u)return u;k=0,r.maxAge&&_.length>r.maxAge&&(C=a(C,k,e,w,y,_,b,r.shouldCatchErrors),l(_.length-r.maxAge),k=1/0);break;default:k=1/0}return C=a(C,k,e,w,y,_,b,r.shouldCatchErrors),h=n(h,c),{monitorState:h,actionsById:y,nextActionId:m,stagedActionIds:_,skippedActionIds:b,committedState:w,currentStateIndex:T,computedStates:C,isLocked:x,isPaused:O}}}function c(e){var t=e.computedStates,n=e.currentStateIndex,r=t[n].state;return r}function l(e,t){function n(){var t=c(e.getState());return void 0!==t&&(o=t),o}var r,o=void 0;return d({},e,(r={liftedStore:e,dispatch:function(t){return e.dispatch(s(t)),t},getState:n,replaceReducer:function(n){e.replaceReducer(t(n))}},r[w.default]=function(){return d({},e[w.default](),{subscribe:function(t){function r(){t.next&&t.next(n())}if("object"!==("undefined"==typeof t?"undefined":p(t)))throw new TypeError("Expected the observer to be an object.");r();var o=e.subscribe(r);return{unsubscribe:o}}})},r))}function f(){var e=arguments.length<=0||void 0===arguments[0]?function(){return null}:arguments[0],t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];if(null!=t.maxAge&&t.maxAge<2)throw new Error("DevTools.instrument({ maxAge }) option, if specified, may not be less than 2.");return function(n){return function(r,o,i){function a(n){if("function"!=typeof n){if(n&&"function"==typeof n.default)throw new Error('Expected the reducer to be a function. Instead got an object with a "default" field. Did you pass a module instead of the default export? Try passing require(...).default instead.');throw new Error("Expected the reducer to be a function.")}return u(n,o,e,t)}var s=n(a(r),i);if(s.liftedStore)throw new Error("DevTools instrumentation should not be applied more than once. Check your store configuration.");return l(s,a)}}}t.__esModule=!0,t.INIT_ACTION=t.ActionCreators=t.ActionTypes=void 0;var d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};t.liftAction=s,t.liftReducerWith=u,t.unliftState=c,t.unliftStore=l,t.default=f;var h=n(950),v=r(h),y=n(421),g=r(y),m=n(63),_=r(m),b=n(480),w=r(b),E=t.ActionTypes={PERFORM_ACTION:"PERFORM_ACTION",RESET:"RESET",ROLLBACK:"ROLLBACK",COMMIT:"COMMIT",SWEEP:"SWEEP",TOGGLE_ACTION:"TOGGLE_ACTION",SET_ACTIONS_ACTIVE:"SET_ACTIONS_ACTIVE",JUMP_TO_STATE:"JUMP_TO_STATE",JUMP_TO_ACTION:"JUMP_TO_ACTION",REORDER_ACTION:"REORDER_ACTION",IMPORT_STATE:"IMPORT_STATE",LOCK_CHANGES:"LOCK_CHANGES",PAUSE_RECORDING:"PAUSE_RECORDING"},T=t.ActionCreators={performAction:function(e){if(!(0,_.default)(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if("undefined"==typeof e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');return{type:E.PERFORM_ACTION,action:e,timestamp:Date.now()}},reset:function(){return{type:E.RESET,timestamp:Date.now()}},rollback:function(){return{type:E.ROLLBACK,timestamp:Date.now()}},commit:function(){return{type:E.COMMIT,timestamp:Date.now()}},sweep:function(){return{type:E.SWEEP}},toggleAction:function(e){return{type:E.TOGGLE_ACTION,id:e}},setActionsActive:function(e,t){var n=arguments.length<=2||void 0===arguments[2]||arguments[2];return{type:E.SET_ACTIONS_ACTIVE,start:e,end:t,active:n}},reorderAction:function(e,t){return{type:E.REORDER_ACTION,actionId:e,beforeActionId:t}},jumpToState:function(e){return{type:E.JUMP_TO_STATE,index:e}},jumpToAction:function(e){return{type:E.JUMP_TO_ACTION,actionId:e}},importState:function(e,t){return{type:E.IMPORT_STATE,nextLiftedState:e,noRecompute:t}},lockChanges:function(e){return{type:E.LOCK_CHANGES,status:e}},pauseRecording:function(e){return{type:E.PAUSE_RECORDING,status:e}}},S=t.INIT_ACTION={type:"@@INIT"}},function(e,t){"use strict";function n(e){return{type:o,scrollTop:e}}function r(e){return{type:i,id:e}}t.__esModule=!0,t.updateScrollTop=n,t.startConsecutiveToggle=r;var o=t.UPDATE_SCROLL_TOP="@@redux-devtools-log-monitor/UPDATE_SCROLL_TOP",i=t.START_CONSECUTIVE_TOGGLE="@@redux-devtools-log-monitor/START_CONSECUTIVE_TOGGLE"},function(e,t){"use strict";function n(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(0===t.length)return function(e){return e};if(1===t.length)return t[0];var r=t[t.length-1],o=t.slice(0,-1);return function(){return o.reduceRight(function(e,t){return t(e)},r.apply(void 0,arguments))}}t.__esModule=!0,t.default=n},function(e,t){"use strict";function n(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e);try{throw new Error(e)}catch(e){}}t.__esModule=!0,t.default=n},function(e,t,n){e.exports=n(1149)},function(e,t){function n(e){return e.replace(/\n\r?\s*/g,"")}e.exports=function(e){for(var t="",r=0;r<arguments.length;r++)t+=n(e[r])+(arguments[r+1]||"");return t}},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(152),c=o(u),l=n(8),f=o(l),d=n(23),p=r(d),h=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.on(n,"volumechange",o.update),n.tech_&&n.tech_.featuresVolumeControl===!1&&o.addClass("vjs-hidden"),o.on(n,"loadstart",function(){this.update(),n.tech_.featuresVolumeControl===!1?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")}),o}return s(t,e),t.prototype.buildCSSClass=function(){return"vjs-mute-control "+e.prototype.buildCSSClass.call(this)},t.prototype.handleClick=function(e){this.player_.muted(!this.player_.muted())},t.prototype.update=function(e){var t=this.player_.volume(),n=3;0===t||this.player_.muted()?n=0:t<.33?n=1:t<.67&&(n=2);var r=this.player_.muted()?"Unmute":"Mute";this.controlText()!==r&&this.controlText(r);for(var o=0;o<4;o++)p.removeElClass(this.el_,"vjs-vol-"+o);p.addElClass(this.el_,"vjs-vol-"+n)},t}(c.default);h.prototype.controlText_="Mute",f.default.registerComponent("MuteToggle",h),t.default=h},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(486),c=o(u),l=n(8),f=o(l),d=n(19),p=r(d),h=function(e){function t(n,r){i(this,t);var o=r.tracks,s=a(this,e.call(this,n,r));if(s.items.length<=1&&s.hide(),!o)return a(s);var u=p.bind(s,s.update);return o.addEventListener("removetrack",u),o.addEventListener("addtrack",u),s.player_.on("dispose",function(){o.removeEventListener("removetrack",u),o.removeEventListener("addtrack",u)}),s}return s(t,e),t}(c.default);f.default.registerComponent("TrackButton",h),t.default=h},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(490),c=o(u),l=n(8),f=o(l),d=n(19),p=r(d);n(1182);var h=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.on(n,"volumechange",o.updateARIAAttributes),n.ready(p.bind(o,o.updateARIAAttributes)),o}return s(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-volume-bar vjs-slider-bar"},{"aria-label":"volume level"})},t.prototype.handleMouseMove=function(e){this.checkMuted(),this.player_.volume(this.calculateDistance(e))},t.prototype.checkMuted=function(){this.player_.muted()&&this.player_.muted(!1)},t.prototype.getPercent=function(){return this.player_.muted()?0:this.player_.volume()},t.prototype.stepForward=function(){this.checkMuted(),this.player_.volume(this.player_.volume()+.1)},t.prototype.stepBack=function(){this.checkMuted(),this.player_.volume(this.player_.volume()-.1)},t.prototype.updateARIAAttributes=function(e){var t=(100*this.player_.volume()).toFixed(2);this.el_.setAttribute("aria-valuenow",t),this.el_.setAttribute("aria-valuetext",t+"%")},t}(c.default);h.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"},h.prototype.playerEvent="volumechange",f.default.registerComponent("VolumeBar",h),t.default=h},function(e,t,n){"use strict";function r(e){return e instanceof r?e:("number"==typeof e?this.code=e:"string"==typeof e?this.message=e:(0,o.isObject)(e)&&("number"==typeof e.code&&(this.code=e.code),(0,o.assign)(this,e)),void(this.message||(this.message=r.defaultMessages[this.code]||"")))}t.__esModule=!0;var o=n(34);r.prototype.code=0,r.prototype.message="",r.prototype.status=null,r.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"],r.defaultMessages={1:"You aborted the media playback",2:"A network error caused the media download to fail part-way.",3:"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.",4:"The media could not be loaded, either because the server or network failed or because the format is not supported.",5:"The media is encrypted and we do not have the keys to decrypt it."};for(var i=0;i<r.errorTypes.length;i++)r[r.errorTypes[i]]=i,r.prototype[r.errorTypes[i]]=i;t.default=r},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(153),c=o(u),l=n(8),f=o(l),d=n(487),p=o(d),h=n(23),v=r(h),y=n(19),g=r(y),m=n(131),_=o(m),b=function(e){function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};i(this,t);var o=a(this,e.call(this,n,r));return o.update(),o.enabled_=!0,o.el_.setAttribute("aria-haspopup","true"),o.el_.setAttribute("role","menuitem"),o.on("keydown",o.handleSubmenuKeyPress),o}return s(t,e),t.prototype.update=function(){var e=this.createMenu();this.menu&&this.removeChild(this.menu),this.menu=e,this.addChild(e),this.buttonPressed_=!1,this.el_.setAttribute("aria-expanded","false"),this.items&&this.items.length<=this.hideThreshold_?this.hide():this.show()},t.prototype.createMenu=function(){var e=new p.default(this.player_);if(this.hideThreshold_=0,this.options_.title){var t=v.createEl("li",{className:"vjs-menu-title",innerHTML:(0,_.default)(this.options_.title),tabIndex:-1});this.hideThreshold_+=1,e.children_.unshift(t),v.insertElFirst(t,e.contentEl())}if(this.items=this.createItems(),this.items)for(var n=0;n<this.items.length;n++)e.addItem(this.items[n]);return e},t.prototype.createItems=function(){},t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},t.prototype.buildCSSClass=function(){var t="vjs-menu-button";return t+=this.options_.inline===!0?"-inline":"-popup","vjs-menu-button "+t+" "+e.prototype.buildCSSClass.call(this)},t.prototype.handleClick=function(e){this.one(this.menu.contentEl(),"mouseleave",g.bind(this,function(e){this.unpressButton(),this.el_.blur()})),this.buttonPressed_?this.unpressButton():this.pressButton()},t.prototype.handleKeyPress=function(t){27===t.which||9===t.which?(this.buttonPressed_&&this.unpressButton(),9!==t.which&&t.preventDefault()):38===t.which||40===t.which?this.buttonPressed_||(this.pressButton(),t.preventDefault()):e.prototype.handleKeyPress.call(this,t)},t.prototype.handleSubmenuKeyPress=function(e){27!==e.which&&9!==e.which||(this.buttonPressed_&&this.unpressButton(),9!==e.which&&e.preventDefault())},t.prototype.pressButton=function(){this.enabled_&&(this.buttonPressed_=!0,this.menu.lockShowing(),this.el_.setAttribute("aria-expanded","true"),this.menu.focus())},t.prototype.unpressButton=function(){this.enabled_&&(this.buttonPressed_=!1,this.menu.unlockShowing(),this.el_.setAttribute("aria-expanded","false"),this.el_.focus())},t.prototype.disable=function(){return this.buttonPressed_=!1,this.menu.unlockShowing(),this.el_.setAttribute("aria-expanded","false"),this.enabled_=!1,e.prototype.disable.call(this)},t.prototype.enable=function(){return this.enabled_=!0,e.prototype.enable.call(this)},t}(c.default);f.default.registerComponent("MenuButton",b),t.default=b},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(8),c=o(u),l=n(23),f=r(l),d=n(19),p=r(d),h=n(83),v=r(h),y=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.focusedChild_=-1,o.on("keydown",o.handleKeyPress),o}return s(t,e),t.prototype.addItem=function(e){this.addChild(e),e.on("click",p.bind(this,function(e){this.unlockShowing()}))},t.prototype.createEl=function(){var t=this.options_.contentElType||"ul";this.contentEl_=f.createEl(t,{className:"vjs-menu-content"}),this.contentEl_.setAttribute("role","menu");var n=e.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"});return n.setAttribute("role","presentation"),n.appendChild(this.contentEl_),v.on(n,"click",function(e){e.preventDefault(),e.stopImmediatePropagation()}),n},t.prototype.handleKeyPress=function(e){37===e.which||40===e.which?(e.preventDefault(),this.stepForward()):38!==e.which&&39!==e.which||(e.preventDefault(),this.stepBack())},t.prototype.stepForward=function(){var e=0;void 0!==this.focusedChild_&&(e=this.focusedChild_+1),this.focus(e)},t.prototype.stepBack=function(){var e=0;void 0!==this.focusedChild_&&(e=this.focusedChild_-1),this.focus(e)},t.prototype.focus=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=this.children().slice(),n=t.length&&t[0].className&&/vjs-menu-title/.test(t[0].className);n&&t.shift(),t.length>0&&(e<0?e=0:e>=t.length&&(e=t.length-1),this.focusedChild_=e,t[e].el_.focus())},t}(c.default);c.default.registerComponent("Menu",y),t.default=y},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(23),c=o(u),l=n(19),f=o(l),d=n(8),p=r(d),h="vjs-modal-dialog",v=27,y=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.opened_=o.hasBeenOpened_=o.hasBeenFilled_=!1,o.closeable(!o.options_.uncloseable),o.content(o.options_.content),o.contentEl_=c.createEl("div",{className:h+"-content"},{role:"document"}),o.descEl_=c.createEl("p",{className:h+"-description vjs-offscreen",id:o.el().getAttribute("aria-describedby")}),c.textContent(o.descEl_,o.description()),o.el_.appendChild(o.descEl_),o.el_.appendChild(o.contentEl_),o}return s(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:this.buildCSSClass(),tabIndex:-1},{"aria-describedby":this.id()+"_description","aria-hidden":"true","aria-label":this.label(),role:"dialog"})},t.prototype.buildCSSClass=function(){return h+" vjs-hidden "+e.prototype.buildCSSClass.call(this)},t.prototype.handleKeyPress=function(e){e.which===v&&this.closeable()&&this.close()},t.prototype.label=function(){return this.options_.label||this.localize("Modal Window")},t.prototype.description=function(){var e=this.options_.description||this.localize("This is a modal window.");return this.closeable()&&(e+=" "+this.localize("This modal can be closed by pressing the Escape key or activating the close button.")),e},t.prototype.open=function(){if(!this.opened_){var e=this.player();this.trigger("beforemodalopen"),this.opened_=!0,(this.options_.fillAlways||!this.hasBeenOpened_&&!this.hasBeenFilled_)&&this.fill(),this.wasPlaying_=!e.paused(),this.options_.pauseOnOpen&&this.wasPlaying_&&e.pause(),this.closeable()&&this.on(this.el_.ownerDocument,"keydown",f.bind(this,this.handleKeyPress)),e.controls(!1),this.show(),this.el().setAttribute("aria-hidden","false"),this.trigger("modalopen"),this.hasBeenOpened_=!0}return this},t.prototype.opened=function(e){return"boolean"==typeof e&&this[e?"open":"close"](),this.opened_},t.prototype.close=function(){if(this.opened_){var e=this.player();this.trigger("beforemodalclose"),this.opened_=!1,this.wasPlaying_&&this.options_.pauseOnOpen&&e.play(),this.closeable()&&this.off(this.el_.ownerDocument,"keydown",f.bind(this,this.handleKeyPress)),e.controls(!0),this.hide(),this.el().setAttribute("aria-hidden","true"),this.trigger("modalclose"),this.options_.temporary&&this.dispose()}return this},t.prototype.closeable=function e(t){if("boolean"==typeof t){var e=this.closeable_=!!t,n=this.getChild("closeButton");if(e&&!n){var r=this.contentEl_;this.contentEl_=this.el_,n=this.addChild("closeButton",{controlText:"Close Modal Dialog"}),this.contentEl_=r,this.on(n,"close",this.close)}!e&&n&&(this.off(n,"close",this.close),this.removeChild(n),n.dispose())}return this.closeable_},t.prototype.fill=function(){return this.fillWith(this.content())},t.prototype.fillWith=function(e){var t=this.contentEl(),n=t.parentNode,r=t.nextSibling;return this.trigger("beforemodalfill"),this.hasBeenFilled_=!0,n.removeChild(t),this.empty(),c.insertContent(t,e),this.trigger("modalfill"),r?n.insertBefore(t,r):n.appendChild(t),this},t.prototype.empty=function(){return this.trigger("beforemodalempty"),c.emptyEl(this.contentEl()),this.trigger("modalempty"),this},t.prototype.content=function(e){return"undefined"!=typeof e&&(this.content_=e),this.content_},t}(p.default);y.prototype.options_={pauseOnOpen:!0,temporary:!0},p.default.registerComponent("ModalDialog",y),t.default=y},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(8),c=o(u),l=n(28),f=o(l),d=n(30),p=o(d),h=n(83),v=r(h),y=n(23),g=r(y),m=n(19),_=r(m),b=n(130),w=r(b),E=n(33),T=r(E),S=n(46),C=o(S),x=n(131),O=o(x),k=n(155),M=n(493),P=n(494),A=r(P),I=n(1186),j=o(I),D=n(485),R=o(D),N=n(1142),L=o(N),F=n(34),U=n(77),B=o(U),q=n(1202),W=o(q),z=n(488),H=o(z),V=n(154),G=o(V),K=n(491),Y=o(K),$=n(492),X=o($);
+n(1196),n(1194),n(1191),n(1201),n(1187),n(1152),n(1153),n(1156),n(1184),n(1204),n(1195);var Q=["progress","abort","suspend","emptied","stalled","loadedmetadata","loadeddata","timeupdate","ratechange","volumechange","texttrackchange"],J=function(e){function t(n,r,o){if(i(this,t),n.id=n.id||"vjs_video_"+w.newGUID(),r=(0,F.assign)(t.getTagSettings(n),r),r.initChildren=!1,r.createEl=!1,r.reportTouchActivity=!1,!r.language)if("function"==typeof n.closest){var s=n.closest("[lang]");s&&(r.language=s.getAttribute("lang"))}else for(var u=n;u&&1===u.nodeType;){if(g.getElAttributes(u).hasOwnProperty("lang")){r.language=u.getAttribute("lang");break}u=u.parentNode}var c=a(this,e.call(this,null,r,o));if(!c.options_||!c.options_.techOrder||!c.options_.techOrder.length)throw new Error("No techOrder specified. Did you overwrite videojs.options instead of just changing the properties you want to override?");if(c.tag=n,c.tagAttributes=n&&g.getElAttributes(n),c.language(c.options_.language),r.languages){var l={};Object.getOwnPropertyNames(r.languages).forEach(function(e){l[e.toLowerCase()]=r.languages[e]}),c.languages_=l}else c.languages_=t.prototype.options_.languages;c.cache_={},c.poster_=r.poster||"",c.controls_=!!r.controls,n.controls=!1,c.scrubbing_=!1,c.el_=c.createEl();var f=(0,B.default)(c.options_);if(r.plugins){var d=r.plugins;Object.getOwnPropertyNames(d).forEach(function(e){"function"==typeof this[e]?this[e](d[e]):C.default.error("Unable to find plugin:",e)},c)}return c.options_.playerOptions=f,c.initChildren(),c.isAudio("audio"===n.nodeName.toLowerCase()),c.controls()?c.addClass("vjs-controls-enabled"):c.addClass("vjs-controls-disabled"),c.el_.setAttribute("role","region"),c.isAudio()?c.el_.setAttribute("aria-label","audio player"):c.el_.setAttribute("aria-label","video player"),c.isAudio()&&c.addClass("vjs-audio"),c.flexNotSupported_()&&c.addClass("vjs-no-flex"),T.IS_IOS||c.addClass("vjs-workinghover"),t.players[c.id_]=c,c.userActive(!0),c.reportUserActivity(),c.listenForUserActivity_(),c.on("fullscreenchange",c.handleFullscreenChange_),c.on("stageclick",c.handleStageClick_),c}return s(t,e),t.prototype.dispose=function(){this.trigger("dispose"),this.off("dispose"),this.styleEl_&&this.styleEl_.parentNode&&this.styleEl_.parentNode.removeChild(this.styleEl_),t.players[this.id_]=null,this.tag&&this.tag.player&&(this.tag.player=null),this.el_&&this.el_.player&&(this.el_.player=null),this.tech_&&this.tech_.dispose(),e.prototype.dispose.call(this)},t.prototype.createEl=function(){var t=this.tag,n=void 0,r=this.playerElIngest_=t.parentNode&&t.parentNode.hasAttribute&&t.parentNode.hasAttribute("data-vjs-player");n=r?this.el_=t.parentNode:this.el_=e.prototype.createEl.call(this,"div"),t.setAttribute("tabindex","-1"),t.removeAttribute("width"),t.removeAttribute("height");var o=g.getElAttributes(t);if(Object.getOwnPropertyNames(o).forEach(function(e){"class"===e?n.className+=" "+o[e]:n.setAttribute(e,o[e])}),t.playerId=t.id,t.id+="_html5_api",t.className="vjs-tech",t.player=n.player=this,this.addClass("vjs-paused"),p.default.VIDEOJS_NO_DYNAMIC_STYLE!==!0){this.styleEl_=A.createStyleElement("vjs-styles-dimensions");var i=g.$(".vjs-styles-defaults"),a=g.$("head");a.insertBefore(this.styleEl_,i?i.nextSibling:a.firstChild)}this.width(this.options_.width),this.height(this.options_.height),this.fluid(this.options_.fluid),this.aspectRatio(this.options_.aspectRatio);for(var s=t.getElementsByTagName("a"),u=0;u<s.length;u++){var c=s.item(u);g.addElClass(c,"vjs-hidden"),c.setAttribute("hidden","hidden")}return t.initNetworkState_=t.networkState,t.parentNode&&!r&&t.parentNode.insertBefore(n,t),g.insertElFirst(t,n),this.children_.unshift(t),this.el_=n,n},t.prototype.width=function(e){return this.dimension("width",e)},t.prototype.height=function(e){return this.dimension("height",e)},t.prototype.dimension=function(e,t){var n=e+"_";if(void 0===t)return this[n]||0;if(""===t)this[n]=void 0;else{var r=parseFloat(t);if(isNaN(r))return C.default.error('Improper value "'+t+'" supplied for for '+e),this;this[n]=r}return this.updateStyleEl_(),this},t.prototype.fluid=function(e){return void 0===e?!!this.fluid_:(this.fluid_=!!e,e?this.addClass("vjs-fluid"):this.removeClass("vjs-fluid"),void this.updateStyleEl_())},t.prototype.aspectRatio=function(e){if(void 0===e)return this.aspectRatio_;if(!/^\d+\:\d+$/.test(e))throw new Error("Improper value supplied for aspect ratio. The format should be width:height, for example 16:9.");this.aspectRatio_=e,this.fluid(!0),this.updateStyleEl_()},t.prototype.updateStyleEl_=function(){if(p.default.VIDEOJS_NO_DYNAMIC_STYLE===!0){var e="number"==typeof this.width_?this.width_:this.options_.width,t="number"==typeof this.height_?this.height_:this.options_.height,n=this.tech_&&this.tech_.el();return void(n&&(e>=0&&(n.width=e),t>=0&&(n.height=t)))}var r=void 0,o=void 0,i=void 0,a=void 0;i=void 0!==this.aspectRatio_&&"auto"!==this.aspectRatio_?this.aspectRatio_:this.videoWidth()>0?this.videoWidth()+":"+this.videoHeight():"16:9";var s=i.split(":"),u=s[1]/s[0];r=void 0!==this.width_?this.width_:void 0!==this.height_?this.height_/u:this.videoWidth()||300,o=void 0!==this.height_?this.height_:r*u,a=/^[^a-zA-Z]/.test(this.id())?"dimensions-"+this.id():this.id()+"-dimensions",this.addClass(a),A.setTextContent(this.styleEl_,"\n      ."+a+" {\n        width: "+r+"px;\n        height: "+o+"px;\n      }\n\n      ."+a+".vjs-fluid {\n        padding-top: "+100*u+"%;\n      }\n    ")},t.prototype.loadTech_=function(e,t){var n=this;this.tech_&&this.unloadTech_(),"Html5"!==e&&this.tag&&(G.default.getTech("Html5").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null),this.techName_=e,this.isReady_=!1;var r=(0,F.assign)({source:t,nativeControlsForTouch:this.options_.nativeControlsForTouch,playerId:this.id(),techId:this.id()+"_"+e+"_api",videoTracks:this.videoTracks_,textTracks:this.textTracks_,audioTracks:this.audioTracks_,autoplay:this.options_.autoplay,preload:this.options_.preload,loop:this.options_.loop,muted:this.options_.muted,poster:this.poster(),language:this.language(),playerElIngest:this.playerElIngest_||!1,"vtt.js":this.options_["vtt.js"]},this.options_[e.toLowerCase()]);this.tag&&(r.tag=this.tag),t&&(this.currentType_=t.type,t.src===this.cache_.src&&this.cache_.currentTime>0&&(r.startTime=this.cache_.currentTime),this.cache_.sources=null,this.cache_.source=t,this.cache_.src=t.src);var o=G.default.getTech(e);o||(o=c.default.getComponent(e)),this.tech_=new o(r),this.tech_.ready(_.bind(this,this.handleTechReady_),!0),W.default.jsonToTextTracks(this.textTracksJson_||[],this.tech_),Q.forEach(function(e){n.on(n.tech_,e,n["handleTech"+(0,O.default)(e)+"_"])}),this.on(this.tech_,"loadstart",this.handleTechLoadStart_),this.on(this.tech_,"waiting",this.handleTechWaiting_),this.on(this.tech_,"canplay",this.handleTechCanPlay_),this.on(this.tech_,"canplaythrough",this.handleTechCanPlayThrough_),this.on(this.tech_,"playing",this.handleTechPlaying_),this.on(this.tech_,"ended",this.handleTechEnded_),this.on(this.tech_,"seeking",this.handleTechSeeking_),this.on(this.tech_,"seeked",this.handleTechSeeked_),this.on(this.tech_,"play",this.handleTechPlay_),this.on(this.tech_,"firstplay",this.handleTechFirstPlay_),this.on(this.tech_,"pause",this.handleTechPause_),this.on(this.tech_,"durationchange",this.handleTechDurationChange_),this.on(this.tech_,"fullscreenchange",this.handleTechFullscreenChange_),this.on(this.tech_,"error",this.handleTechError_),this.on(this.tech_,"loadedmetadata",this.updateStyleEl_),this.on(this.tech_,"posterchange",this.handleTechPosterChange_),this.on(this.tech_,"textdata",this.handleTechTextData_),this.usingNativeControls(this.techGet_("controls")),this.controls()&&!this.usingNativeControls()&&this.addTechControlsListeners_(),this.tech_.el().parentNode===this.el()||"Html5"===e&&this.tag||g.insertElFirst(this.tech_.el(),this.el()),this.tag&&(this.tag.player=null,this.tag=null)},t.prototype.unloadTech_=function(){this.videoTracks_=this.videoTracks(),this.textTracks_=this.textTracks(),this.audioTracks_=this.audioTracks(),this.textTracksJson_=W.default.textTracksToJson(this.tech_),this.isReady_=!1,this.tech_.dispose(),this.tech_=!1},t.prototype.tech=function(e){if(e&&e.IWillNotUseThisInPlugins)return this.tech_;var t="\n      Please make sure that you are not using this inside of a plugin.\n      To disable this alert and error, please pass in an object with\n      `IWillNotUseThisInPlugins` to the `tech` method. See\n      https://github.com/videojs/video.js/issues/2617 for more info.\n    ";throw p.default.alert(t),new Error(t)},t.prototype.addTechControlsListeners_=function(){this.removeTechControlsListeners_(),this.on(this.tech_,"mousedown",this.handleTechClick_),this.on(this.tech_,"touchstart",this.handleTechTouchStart_),this.on(this.tech_,"touchmove",this.handleTechTouchMove_),this.on(this.tech_,"touchend",this.handleTechTouchEnd_),this.on(this.tech_,"tap",this.handleTechTap_)},t.prototype.removeTechControlsListeners_=function(){this.off(this.tech_,"tap",this.handleTechTap_),this.off(this.tech_,"touchstart",this.handleTechTouchStart_),this.off(this.tech_,"touchmove",this.handleTechTouchMove_),this.off(this.tech_,"touchend",this.handleTechTouchEnd_),this.off(this.tech_,"mousedown",this.handleTechClick_)},t.prototype.handleTechReady_=function(){if(this.triggerReady(),this.cache_.volume&&this.techCall_("setVolume",this.cache_.volume),this.handleTechPosterChange_(),this.handleTechDurationChange_(),(this.src()||this.currentSrc())&&this.tag&&this.options_.autoplay&&this.paused()){try{delete this.tag.poster}catch(e){(0,C.default)("deleting tag.poster throws in some browsers",e)}this.play()}},t.prototype.handleTechLoadStart_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-seeking"),this.error(null),this.paused()?(this.hasStarted(!1),this.trigger("loadstart")):(this.trigger("loadstart"),this.trigger("firstplay"))},t.prototype.hasStarted=function(e){return void 0!==e?(this.hasStarted_!==e&&(this.hasStarted_=e,e?(this.addClass("vjs-has-started"),this.trigger("firstplay")):this.removeClass("vjs-has-started")),this):!!this.hasStarted_},t.prototype.handleTechPlay_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.hasStarted(!0),this.trigger("play")},t.prototype.handleTechWaiting_=function(){var e=this;this.addClass("vjs-waiting"),this.trigger("waiting"),this.one("timeupdate",function(){return e.removeClass("vjs-waiting")})},t.prototype.handleTechCanPlay_=function(){this.removeClass("vjs-waiting"),this.trigger("canplay")},t.prototype.handleTechCanPlayThrough_=function(){this.removeClass("vjs-waiting"),this.trigger("canplaythrough")},t.prototype.handleTechPlaying_=function(){this.removeClass("vjs-waiting"),this.trigger("playing")},t.prototype.handleTechSeeking_=function(){this.addClass("vjs-seeking"),this.trigger("seeking")},t.prototype.handleTechSeeked_=function(){this.removeClass("vjs-seeking"),this.trigger("seeked")},t.prototype.handleTechFirstPlay_=function(){this.options_.starttime&&(C.default.warn("Passing the `starttime` option to the player will be deprecated in 6.0"),this.currentTime(this.options_.starttime)),this.addClass("vjs-has-started"),this.trigger("firstplay")},t.prototype.handleTechPause_=function(){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.trigger("pause")},t.prototype.handleTechEnded_=function(){this.addClass("vjs-ended"),this.options_.loop?(this.currentTime(0),this.play()):this.paused()||this.pause(),this.trigger("ended")},t.prototype.handleTechDurationChange_=function(){this.duration(this.techGet_("duration"))},t.prototype.handleTechClick_=function(e){0===e.button&&this.controls()&&(this.paused()?this.play():this.pause())},t.prototype.handleTechTap_=function(){this.userActive(!this.userActive())},t.prototype.handleTechTouchStart_=function(){this.userWasActive=this.userActive()},t.prototype.handleTechTouchMove_=function(){this.userWasActive&&this.reportUserActivity()},t.prototype.handleTechTouchEnd_=function(e){e.preventDefault()},t.prototype.handleFullscreenChange_=function(){this.isFullscreen()?this.addClass("vjs-fullscreen"):this.removeClass("vjs-fullscreen")},t.prototype.handleStageClick_=function(){this.reportUserActivity()},t.prototype.handleTechFullscreenChange_=function(e,t){t&&this.isFullscreen(t.isFullscreen),this.trigger("fullscreenchange")},t.prototype.handleTechError_=function(){var e=this.tech_.error();this.error(e)},t.prototype.handleTechTextData_=function(){var e=null;arguments.length>1&&(e=arguments[1]),this.trigger("textdata",e)},t.prototype.getCache=function(){return this.cache_},t.prototype.techCall_=function(e,t){if(this.tech_&&!this.tech_.isReady_)this.tech_.ready(function(){this[e](t)},!0);else try{this.tech_&&this.tech_[e](t)}catch(e){throw(0,C.default)(e),e}},t.prototype.techGet_=function(e){if(this.tech_&&this.tech_.isReady_)try{return this.tech_[e]()}catch(t){throw void 0===this.tech_[e]?(0,C.default)("Video.js: "+e+" method not defined for "+this.techName_+" playback technology.",t):"TypeError"===t.name?((0,C.default)("Video.js: "+e+" unavailable on "+this.techName_+" playback technology element.",t),this.tech_.isReady_=!1):(0,C.default)(t),t}},t.prototype.play=function(){return this.src()||this.currentSrc()?this.techCall_("play"):this.tech_.one("loadstart",function(){this.play()}),this},t.prototype.pause=function(){return this.techCall_("pause"),this},t.prototype.paused=function(){return this.techGet_("paused")!==!1},t.prototype.scrubbing=function(e){return void 0!==e?(this.scrubbing_=!!e,e?this.addClass("vjs-scrubbing"):this.removeClass("vjs-scrubbing"),this):this.scrubbing_},t.prototype.currentTime=function(e){return void 0!==e?(this.techCall_("setCurrentTime",e),this):(this.cache_.currentTime=this.techGet_("currentTime")||0,this.cache_.currentTime)},t.prototype.duration=function(e){return void 0===e?this.cache_.duration||0:(e=parseFloat(e)||0,e<0&&(e=1/0),e!==this.cache_.duration&&(this.cache_.duration=e,e===1/0?this.addClass("vjs-live"):this.removeClass("vjs-live"),this.trigger("durationchange")),this)},t.prototype.remainingTime=function(){return this.duration()-this.currentTime()},t.prototype.buffered=function e(){var e=this.techGet_("buffered");return e&&e.length||(e=(0,k.createTimeRange)(0,0)),e},t.prototype.bufferedPercent=function(){return(0,M.bufferedPercent)(this.buffered(),this.duration())},t.prototype.bufferedEnd=function(){var e=this.buffered(),t=this.duration(),n=e.end(e.length-1);return n>t&&(n=t),n},t.prototype.volume=function(e){var t=void 0;return void 0!==e?(t=Math.max(0,Math.min(1,parseFloat(e))),this.cache_.volume=t,this.techCall_("setVolume",t),this):(t=parseFloat(this.techGet_("volume")),isNaN(t)?1:t)},t.prototype.muted=function(e){return void 0!==e?(this.techCall_("setMuted",e),this):this.techGet_("muted")||!1},t.prototype.supportsFullScreen=function(){return this.techGet_("supportsFullScreen")||!1},t.prototype.isFullscreen=function(e){return void 0!==e?(this.isFullscreen_=!!e,this):!!this.isFullscreen_},t.prototype.requestFullscreen=function(){var e=j.default;return this.isFullscreen(!0),e.requestFullscreen?(v.on(f.default,e.fullscreenchange,_.bind(this,function t(n){this.isFullscreen(f.default[e.fullscreenElement]),this.isFullscreen()===!1&&v.off(f.default,e.fullscreenchange,t),this.trigger("fullscreenchange")})),this.el_[e.requestFullscreen]()):this.tech_.supportsFullScreen()?this.techCall_("enterFullScreen"):(this.enterFullWindow(),this.trigger("fullscreenchange")),this},t.prototype.exitFullscreen=function(){var e=j.default;return this.isFullscreen(!1),e.requestFullscreen?f.default[e.exitFullscreen]():this.tech_.supportsFullScreen()?this.techCall_("exitFullScreen"):(this.exitFullWindow(),this.trigger("fullscreenchange")),this},t.prototype.enterFullWindow=function(){this.isFullWindow=!0,this.docOrigOverflow=f.default.documentElement.style.overflow,v.on(f.default,"keydown",_.bind(this,this.fullWindowOnEscKey)),f.default.documentElement.style.overflow="hidden",g.addElClass(f.default.body,"vjs-full-window"),this.trigger("enterFullWindow")},t.prototype.fullWindowOnEscKey=function(e){27===e.keyCode&&(this.isFullscreen()===!0?this.exitFullscreen():this.exitFullWindow())},t.prototype.exitFullWindow=function(){this.isFullWindow=!1,v.off(f.default,"keydown",this.fullWindowOnEscKey),f.default.documentElement.style.overflow=this.docOrigOverflow,g.removeElClass(f.default.body,"vjs-full-window"),this.trigger("exitFullWindow")},t.prototype.canPlayType=function(e){for(var t=void 0,n=0,r=this.options_.techOrder;n<r.length;n++){var o=(0,O.default)(r[n]),i=G.default.getTech(o);if(i||(i=c.default.getComponent(o)),i){if(i.isSupported()&&(t=i.canPlayType(e)))return t}else C.default.error('The "'+o+'" tech is undefined. Skipped browser support check for that tech.')}return""},t.prototype.selectSource=function(e){var t=this,n=this.options_.techOrder.map(O.default).map(function(e){return[e,G.default.getTech(e)||c.default.getComponent(e)]}).filter(function(e){var t=e[0],n=e[1];return n?n.isSupported():(C.default.error('The "'+t+'" tech is undefined. Skipped browser support check for that tech.'),!1)}),r=function(e,t,n){var r=void 0;return e.some(function(e){return t.some(function(t){if(r=n(e,t))return!0})}),r},o=void 0,i=function(e){return function(t,n){return e(n,t)}},a=function(e,n){var r=e[0],o=e[1];if(o.canPlaySource(n,t.options_[r.toLowerCase()]))return{source:n,tech:r}};return o=this.options_.sourceOrder?r(e,n,i(a)):r(n,e,a),o||!1},t.prototype.src=function(e){if(void 0===e)return this.techGet_("src");var t=G.default.getTech(this.techName_);return t||(t=c.default.getComponent(this.techName_)),Array.isArray(e)?this.sourceList_(e):"string"==typeof e?this.src({src:e}):e instanceof Object&&(e.type&&!t.canPlaySource(e,this.options_[this.techName_.toLowerCase()])?this.sourceList_([e]):(this.cache_.sources=null,this.cache_.source=e,this.cache_.src=e.src,this.currentType_=e.type||"",this.ready(function(){t.prototype.hasOwnProperty("setSource")?this.techCall_("setSource",e):this.techCall_("src",e.src),"auto"===this.options_.preload&&this.load(),this.options_.autoplay&&this.play()},!0))),this},t.prototype.sourceList_=function(e){var t=this.selectSource(e);t?(t.tech===this.techName_?this.src(t.source):this.loadTech_(t.tech,t.source),this.cache_.sources=e):(this.setTimeout(function(){this.error({code:4,message:this.localize(this.options_.notSupportedMessage)})},0),this.triggerReady())},t.prototype.load=function(){return this.techCall_("load"),this},t.prototype.reset=function(){return this.loadTech_((0,O.default)(this.options_.techOrder[0]),null),this.techCall_("reset"),this},t.prototype.currentSources=function(){var e=this.currentSource(),t=[];return 0!==Object.keys(e).length&&t.push(e),this.cache_.sources||t},t.prototype.currentSource=function(){var e={},t=this.currentSrc();return t&&(e.src=t),this.cache_.source||e},t.prototype.currentSrc=function(){return this.techGet_("currentSrc")||this.cache_.src||""},t.prototype.currentType=function(){return this.currentType_||""},t.prototype.preload=function(e){return void 0!==e?(this.techCall_("setPreload",e),this.options_.preload=e,this):this.techGet_("preload")},t.prototype.autoplay=function(e){return void 0!==e?(this.techCall_("setAutoplay",e),this.options_.autoplay=e,this):this.techGet_("autoplay",e)},t.prototype.loop=function(e){return void 0!==e?(this.techCall_("setLoop",e),this.options_.loop=e,this):this.techGet_("loop")},t.prototype.poster=function(e){return void 0===e?this.poster_:(e||(e=""),this.poster_=e,this.techCall_("setPoster",e),this.trigger("posterchange"),this)},t.prototype.handleTechPosterChange_=function(){!this.poster_&&this.tech_&&this.tech_.poster&&(this.poster_=this.tech_.poster()||"",this.trigger("posterchange"))},t.prototype.controls=function(e){return void 0!==e?(e=!!e,this.controls_!==e&&(this.controls_=e,this.usingNativeControls()&&this.techCall_("setControls",e),e?(this.removeClass("vjs-controls-disabled"),this.addClass("vjs-controls-enabled"),this.trigger("controlsenabled"),this.usingNativeControls()||this.addTechControlsListeners_()):(this.removeClass("vjs-controls-enabled"),this.addClass("vjs-controls-disabled"),this.trigger("controlsdisabled"),this.usingNativeControls()||this.removeTechControlsListeners_())),this):!!this.controls_},t.prototype.usingNativeControls=function(e){return void 0!==e?(e=!!e,this.usingNativeControls_!==e&&(this.usingNativeControls_=e,e?(this.addClass("vjs-using-native-controls"),this.trigger("usingnativecontrols")):(this.removeClass("vjs-using-native-controls"),this.trigger("usingcustomcontrols"))),this):!!this.usingNativeControls_},t.prototype.error=function(e){return void 0===e?this.error_||null:null===e?(this.error_=e,this.removeClass("vjs-error"),this.errorDisplay&&this.errorDisplay.close(),this):(this.error_=new R.default(e),this.addClass("vjs-error"),C.default.error("(CODE:"+this.error_.code+" "+R.default.errorTypes[this.error_.code]+")",this.error_.message,this.error_),this.trigger("error"),this)},t.prototype.reportUserActivity=function(e){this.userActivity_=!0},t.prototype.userActive=function(e){return void 0!==e?(e=!!e,e!==this.userActive_&&(this.userActive_=e,e?(this.userActivity_=!0,this.removeClass("vjs-user-inactive"),this.addClass("vjs-user-active"),this.trigger("useractive")):(this.userActivity_=!1,this.tech_&&this.tech_.one("mousemove",function(e){e.stopPropagation(),e.preventDefault()}),this.removeClass("vjs-user-active"),this.addClass("vjs-user-inactive"),this.trigger("userinactive"))),this):this.userActive_},t.prototype.listenForUserActivity_=function(){var e=void 0,t=void 0,n=void 0,r=_.bind(this,this.reportUserActivity),o=function(e){e.screenX===t&&e.screenY===n||(t=e.screenX,n=e.screenY,r())},i=function(){r(),this.clearInterval(e),e=this.setInterval(r,250)},a=function(t){r(),this.clearInterval(e)};this.on("mousedown",i),this.on("mousemove",o),this.on("mouseup",a),this.on("keydown",r),this.on("keyup",r);var s=void 0;this.setInterval(function(){if(this.userActivity_){this.userActivity_=!1,this.userActive(!0),this.clearTimeout(s);var e=this.options_.inactivityTimeout;e>0&&(s=this.setTimeout(function(){this.userActivity_||this.userActive(!1)},e))}},250)},t.prototype.playbackRate=function(e){return void 0!==e?(this.techCall_("setPlaybackRate",e),this):this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_("playbackRate"):1},t.prototype.isAudio=function(e){return void 0!==e?(this.isAudio_=!!e,this):!!this.isAudio_},t.prototype.videoTracks=function(){return this.tech_?this.tech_.videoTracks():(this.videoTracks_=this.videoTracks_||new X.default,this.videoTracks_)},t.prototype.audioTracks=function(){return this.tech_?this.tech_.audioTracks():(this.audioTracks_=this.audioTracks_||new Y.default,this.audioTracks_)},t.prototype.textTracks=function(){if(this.tech_)return this.tech_.textTracks()},t.prototype.remoteTextTracks=function(){if(this.tech_)return this.tech_.remoteTextTracks()},t.prototype.remoteTextTrackEls=function(){if(this.tech_)return this.tech_.remoteTextTrackEls()},t.prototype.addTextTrack=function(e,t,n){if(this.tech_)return this.tech_.addTextTrack(e,t,n)},t.prototype.addRemoteTextTrack=function(e,t){if(this.tech_)return this.tech_.addRemoteTextTrack(e,t)},t.prototype.removeRemoteTextTrack=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.track,n=void 0===t?arguments[0]:t;if(this.tech_)return this.tech_.removeRemoteTextTrack(n)},t.prototype.videoWidth=function(){return this.tech_&&this.tech_.videoWidth&&this.tech_.videoWidth()||0},t.prototype.videoHeight=function(){return this.tech_&&this.tech_.videoHeight&&this.tech_.videoHeight()||0},t.prototype.language=function(e){return void 0===e?this.language_:(this.language_=String(e).toLowerCase(),this)},t.prototype.languages=function(){return(0,B.default)(t.prototype.options_.languages,this.languages_)},t.prototype.toJSON=function(){var e=(0,B.default)(this.options_),t=e.tracks;e.tracks=[];for(var n=0;n<t.length;n++){var r=t[n];r=(0,B.default)(r),r.player=void 0,e.tracks[n]=r}return e},t.prototype.createModal=function(e,t){var n=this;t=t||{},t.content=e||"";var r=new H.default(this,t);return this.addChild(r),r.on("dispose",function(){n.removeChild(r)}),r.open()},t.getTagSettings=function(e){var t={sources:[],tracks:[]},n=g.getElAttributes(e),r=n["data-setup"];if(g.hasElClass(e,"vjs-fluid")&&(n.fluid=!0),null!==r){var o=(0,L.default)(r||"{}"),i=o[0],a=o[1];i&&C.default.error(i),(0,F.assign)(n,a)}if((0,F.assign)(t,n),e.hasChildNodes())for(var s=e.childNodes,u=0,c=s.length;u<c;u++){var l=s[u],f=l.nodeName.toLowerCase();"source"===f?t.sources.push(g.getElAttributes(l)):"track"===f&&t.tracks.push(g.getElAttributes(l))}return t},t.prototype.flexNotSupported_=function(){var e=f.default.createElement("i");return!("flexBasis"in e.style||"webkitFlexBasis"in e.style||"mozFlexBasis"in e.style||"msFlexBasis"in e.style||"msFlexOrder"in e.style)},t}(c.default);J.players={};var Z=p.default.navigator;J.prototype.options_={techOrder:["html5","flash"],html5:{},flash:{},defaultVolume:0,inactivityTimeout:2e3,playbackRates:[],children:["mediaLoader","posterImage","textTrackDisplay","loadingSpinner","bigPlayButton","controlBar","errorDisplay","textTrackSettings"],language:Z&&(Z.languages&&Z.languages[0]||Z.userLanguage||Z.language)||"en",languages:{},notSupportedMessage:"No compatible source was found for this media."},["ended","seeking","seekable","networkState","readyState"].forEach(function(e){J.prototype[e]=function(){return this.techGet_(e)}}),Q.forEach(function(e){J.prototype["handleTech"+(0,O.default)(e)+"_"]=function(){return this.trigger(e)}}),c.default.registerComponent("Player",J),t.default=J},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(8),c=o(u),l=n(23),f=r(l),d=n(34),p=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.bar=o.getChild(o.options_.barName),o.vertical(!!o.options_.vertical),o.on("mousedown",o.handleMouseDown),o.on("touchstart",o.handleMouseDown),o.on("focus",o.handleFocus),o.on("blur",o.handleBlur),o.on("click",o.handleClick),o.on(n,"controlsvisible",o.update),o.on(n,o.playerEvent,o.update),o}return s(t,e),t.prototype.createEl=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.className=n.className+" vjs-slider",n=(0,d.assign)({tabIndex:0},n),r=(0,d.assign)({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},r),e.prototype.createEl.call(this,t,n,r)},t.prototype.handleMouseDown=function(e){var t=this.bar.el_.ownerDocument;e.preventDefault(),f.blockTextSelection(),this.addClass("vjs-sliding"),this.trigger("slideractive"),this.on(t,"mousemove",this.handleMouseMove),this.on(t,"mouseup",this.handleMouseUp),this.on(t,"touchmove",this.handleMouseMove),this.on(t,"touchend",this.handleMouseUp),this.handleMouseMove(e)},t.prototype.handleMouseMove=function(e){},t.prototype.handleMouseUp=function(){var e=this.bar.el_.ownerDocument;f.unblockTextSelection(),this.removeClass("vjs-sliding"),this.trigger("sliderinactive"),this.off(e,"mousemove",this.handleMouseMove),this.off(e,"mouseup",this.handleMouseUp),this.off(e,"touchmove",this.handleMouseMove),this.off(e,"touchend",this.handleMouseUp),this.update()},t.prototype.update=function(){if(this.el_){var e=this.getPercent(),t=this.bar;if(t){("number"!=typeof e||e!==e||e<0||e===1/0)&&(e=0);var n=(100*e).toFixed(2)+"%";this.vertical()?t.el().style.height=n:t.el().style.width=n}}},t.prototype.calculateDistance=function(e){var t=f.getPointerPosition(this.el_,e);return this.vertical()?t.y:t.x},t.prototype.handleFocus=function(){this.on(this.bar.el_.ownerDocument,"keydown",this.handleKeyPress)},t.prototype.handleKeyPress=function(e){37===e.which||40===e.which?(e.preventDefault(),this.stepBack()):38!==e.which&&39!==e.which||(e.preventDefault(),this.stepForward())},t.prototype.handleBlur=function(){this.off(this.bar.el_.ownerDocument,"keydown",this.handleKeyPress)},t.prototype.handleClick=function(e){e.stopImmediatePropagation(),e.preventDefault()},t.prototype.vertical=function(e){return void 0===e?this.vertical_||!1:(this.vertical_=!!e,this.vertical_?this.addClass("vjs-slider-vertical"):this.addClass("vjs-slider-horizontal"),this)},t}(c.default);c.default.registerComponent("Slider",p),t.default=p},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(319),c=o(u),l=n(33),f=r(l),d=n(28),p=o(d),h=function(e,t){for(var n=0;n<e.length;n++)t.id!==e[n].id&&(e[n].enabled=!1)},v=function(e){function t(){var n,r,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];i(this,t);for(var s=void 0,u=o.length-1;u>=0;u--)if(o[u].enabled){h(o,o[u]);break}if(f.IS_IE8){s=p.default.createElement("custom");for(var l in c.default.prototype)"constructor"!==l&&(s[l]=c.default.prototype[l]);for(var d in t.prototype)"constructor"!==d&&(s[d]=t.prototype[d])}return s=n=a(this,e.call(this,o,s)),s.changing_=!1,r=s,a(n,r)}return s(t,e),t.prototype.addTrack_=function(t){var n=this;t.enabled&&h(this,t),e.prototype.addTrack_.call(this,t),t.addEventListener&&t.addEventListener("enabledchange",function(){n.changing_||(n.changing_=!0,h(n,t),n.changing_=!1,n.trigger("change"))})},t.prototype.addTrack=function(e){this.addTrack_(e)},t.prototype.removeTrack=function(t){e.prototype.removeTrack_.call(this,t)},t}(c.default);t.default=v},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(319),c=o(u),l=n(33),f=r(l),d=n(28),p=o(d),h=function(e,t){for(var n=0;n<e.length;n++)t.id!==e[n].id&&(e[n].selected=!1)},v=function(e){function t(){var n,r,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];i(this,t);for(var s=void 0,u=o.length-1;u>=0;u--)if(o[u].selected){
+h(o,o[u]);break}if(f.IS_IE8){s=p.default.createElement("custom");for(var l in c.default.prototype)"constructor"!==l&&(s[l]=c.default.prototype[l]);for(var d in t.prototype)"constructor"!==d&&(s[d]=t.prototype[d])}return s=n=a(this,e.call(this,o,s)),s.changing_=!1,Object.defineProperty(s,"selectedIndex",{get:function(){for(var e=0;e<this.length;e++)if(this[e].selected)return e;return-1},set:function(){}}),r=s,a(n,r)}return s(t,e),t.prototype.addTrack_=function(t){var n=this;t.selected&&h(this,t),e.prototype.addTrack_.call(this,t),t.addEventListener&&t.addEventListener("selectedchange",function(){n.changing_||(n.changing_=!0,h(n,t),n.changing_=!1,n.trigger("change"))})},t.prototype.addTrack=function(e){this.addTrack_(e)},t.prototype.removeTrack=function(t){e.prototype.removeTrack_.call(this,t)},t}(c.default);t.default=v},function(e,t,n){"use strict";function r(e,t){var n=0,r=void 0,i=void 0;if(!t)return 0;e&&e.length||(e=(0,o.createTimeRange)(0,0));for(var a=0;a<e.length;a++)r=e.start(a),i=e.end(a),i>t&&(i=t),n+=i-r;return n/t}t.__esModule=!0,t.bufferedPercent=r;var o=n(155)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.setTextContent=t.createStyleElement=void 0;var o=n(28),i=r(o);t.createStyleElement=function(e){var t=i.default.createElement("style");return t.className=e,t},t.setTextContent=function(e,t){e.styleSheet?e.styleSheet.cssText=t:e.textContent=t}},function(e,t,n){"use strict";function r(e,t){for(var n=0;n<e.length;n++)t(e[n])}function o(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}function i(e,t,n){var r=e;return f(t)?(n=t,"string"==typeof e&&(r={uri:e})):r=p(t,{uri:e}),r.callback=n,r}function a(e,t,n){return t=i(e,t,n),s(t)}function s(e){function t(){4===f.readyState&&i()}function n(){var e=void 0;if(e=f.response?f.response:f.responseText||u(f),w)try{e=JSON.parse(e)}catch(e){}return e}function r(e){return clearTimeout(v),e instanceof Error||(e=new Error(""+(e||"Unknown XMLHttpRequest Error"))),e.statusCode=0,c(e,l)}function i(){if(!h){var t;clearTimeout(v),t=e.useXDR&&void 0===f.status?200:1223===f.status?204:f.status;var r=l,o=null;return 0!==t?(r={body:n(),statusCode:t,method:g,headers:{},url:y,rawRequest:f},f.getAllResponseHeaders&&(r.headers=d(f.getAllResponseHeaders()))):o=new Error("Internal XMLHttpRequest Error"),c(o,r,r.body)}}if("undefined"==typeof e.callback)throw new Error("callback argument missing");var s=!1,c=function(t,n,r){s||(s=!0,e.callback(t,n,r))},l={body:void 0,headers:{},statusCode:0,method:g,url:y,rawRequest:f},f=e.xhr||null;f||(f=e.cors||e.useXDR?new a.XDomainRequest:new a.XMLHttpRequest);var p,h,v,y=f.url=e.uri||e.url,g=f.method=e.method||"GET",m=e.body||e.data||null,_=f.headers=e.headers||{},b=!!e.sync,w=!1;if("json"in e&&(w=!0,_.accept||_.Accept||(_.Accept="application/json"),"GET"!==g&&"HEAD"!==g&&(_["content-type"]||_["Content-Type"]||(_["Content-Type"]="application/json"),m=JSON.stringify(e.json))),f.onreadystatechange=t,f.onload=i,f.onerror=r,f.onprogress=function(){},f.ontimeout=r,f.open(g,y,!b,e.username,e.password),b||(f.withCredentials=!!e.withCredentials),!b&&e.timeout>0&&(v=setTimeout(function(){h=!0,f.abort("timeout");var e=new Error("XMLHttpRequest timeout");e.code="ETIMEDOUT",r(e)},e.timeout)),f.setRequestHeader)for(p in _)_.hasOwnProperty(p)&&f.setRequestHeader(p,_[p]);else if(e.headers&&!o(e.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in e&&(f.responseType=e.responseType),"beforeSend"in e&&"function"==typeof e.beforeSend&&e.beforeSend(f),f.send(m),f}function u(e){if("document"===e.responseType)return e.responseXML;var t=204===e.status&&e.responseXML&&"parsererror"===e.responseXML.documentElement.nodeName;return""!==e.responseType||t?null:e.responseXML}function c(){}var l=n(30),f=n(397),d=n(961),p=n(1212);e.exports=a,a.XMLHttpRequest=l.XMLHttpRequest||c,a.XDomainRequest="withCredentials"in new a.XMLHttpRequest?a.XMLHttpRequest:l.XDomainRequest,r(["get","put","post","patch","head","delete"],function(e){a["delete"===e?"del":e]=function(t,n,r){return n=i(t,n,r),n.method=e.toUpperCase(),s(n)}})},,,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),c=r(u),l=n(7),f=r(l),d=n(6),p=r(d),h=n(1),v=r(h),y=function(e){function t(){return(0,s.default)(this,t),(0,f.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,c.default)(t,[{key:"render",value:function(){var e=this;return v.default.createElement("button",{className:""+this.props.buttonClass,onClick:function(t){return e.props.onClick(t)},disabled:this.props.disabled},v.default.createElement("span",null,this.props.buttonText),this.props.children)}}]),t}(v.default.Component);t.default=y},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.availableLocales=t.showLMSNavigation=t.hideLMSNavigation=t.navigatePrevious=t.navigateNext=t.navigateHome=t.scrollParentToTop=t.sendSize=t.Constants=void 0;var o=n(56),i=r(o),a=["SEND_SIZE","SCROLL_PARENT_TO_TOP","LTI_NAVIGATE_HOME","LTI_NAVIGATE_NEXT","LTI_NAVIGATE_PREVIOUS","HIDE_LMS_NAVIGATION","SHOW_LMS_NAVIGATION","AVAILABLE_LOCALES"],s=[],u=t.Constants=(0,i.default)(a,s);t.sendSize=function(){return{type:u.SEND_SIZE}},t.scrollParentToTop=function(){return{type:u.SCROLL_PARENT_TO_TOP}},t.navigateHome=function(){return{type:u.LTI_NAVIGATE_HOME}},t.navigateNext=function(){return{type:u.LTI_NAVIGATE_NEXT}},t.navigatePrevious=function(){return{type:u.LTI_NAVIGATE_PREVIOUS}},t.hideLMSNavigation=function(){return{type:u.HIDE_LMS_NAVIGATION}},t.showLMSNavigation=function(){return{type:u.SHOW_LMS_NAVIGATION}},t.availableLocales=function(){return{type:u.AVAILABLE_LOCALES}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(467);t.default=r.hashHistory},function(e,t,n){e.exports={default:n(596),__esModule:!0}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(325),i=r(o);t.default=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return(0,i.default)(e)}},[1526,140],370,function(e,t,n){"use strict";var r=n(47),o=n(24),i=n(59),a=n(68),s=n(35)("species");e.exports=function(e){var t="function"==typeof o[e]?o[e]:r[e];a&&t&&!t[s]&&i.f(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){function r(){}function o(e){if(!v(e))return e;var t=[];for(var n in e)i(t,n,e[n]);return t.join("&")}function i(e,t,n){if(null!=n)if(Array.isArray(n))n.forEach(function(n){i(e,t,n)});else if(v(n))for(var r in n)i(e,t+"["+r+"]",n[r]);else e.push(encodeURIComponent(t)+"="+encodeURIComponent(n));else null===n&&e.push(encodeURIComponent(t))}function a(e){for(var t,n,r={},o=e.split("&"),i=0,a=o.length;i<a;++i)t=o[i],n=t.indexOf("="),n==-1?r[decodeURIComponent(t)]="":r[decodeURIComponent(t.slice(0,n))]=decodeURIComponent(t.slice(n+1));return r}function s(e){var t,n,r,o,i=e.split(/\r?\n/),a={};i.pop();for(var s=0,u=i.length;s<u;++s)n=i[s],t=n.indexOf(":"),r=n.slice(0,t).toLowerCase(),o=b(n.slice(t+1)),a[r]=o;return a}function u(e){return/[\/+]json\b/.test(e)}function c(e){this.req=e,this.xhr=this.req.xhr,this.text="HEAD"!=this.req.method&&(""===this.xhr.responseType||"text"===this.xhr.responseType)||"undefined"==typeof this.xhr.responseType?this.xhr.responseText:null,this.statusText=this.req.xhr.statusText;var t=this.xhr.status;1223===t&&(t=204),this._setStatusProperties(t),this.header=this.headers=s(this.xhr.getAllResponseHeaders()),this.header["content-type"]=this.xhr.getResponseHeader("content-type"),this._setHeaderProperties(this.header),null===this.text&&e._responseType?this.body=this.xhr.response:this.body="HEAD"!=this.req.method?this._parseBody(this.text?this.text:this.xhr.response):null}function l(e,t){var n=this;this._query=this._query||[],this.method=e,this.url=t,this.header={},this._header={},this.on("end",function(){var e=null,t=null;try{t=new c(n)}catch(t){return e=new Error("Parser is unable to parse the response"),e.parse=!0,e.original=t,n.xhr?(e.rawResponse="undefined"==typeof n.xhr.responseType?n.xhr.responseText:n.xhr.response,e.status=n.xhr.status?n.xhr.status:null,e.statusCode=e.status):(e.rawResponse=null,e.status=null),n.callback(e)}n.emit("response",t);var r;try{n._isResponseOK(t)||(r=new Error(t.statusText||"Unsuccessful HTTP response"),r.original=e,r.response=t,r.status=t.status)}catch(e){r=e}r?n.callback(r,t):n.callback(null,t)})}function f(e,t,n){var r=_("DELETE",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}var d;"undefined"!=typeof window?d=window:"undefined"!=typeof self?d=self:(console.warn("Using browser-only version of superagent in non-browser environment"),d=this);var p=n(586),h=n(1145),v=n(315),y=n(1144),g=n(1146),m=n(1147),_=t=e.exports=function(e,n){return"function"==typeof n?new t.Request("GET",e).end(n):1==arguments.length?new t.Request("GET",e):new t.Request(e,n)};t.Request=l,_.getXHR=function(){if(!(!d.XMLHttpRequest||d.location&&"file:"==d.location.protocol&&d.ActiveXObject))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(e){}throw Error("Browser-only verison of superagent could not find XHR")};var b="".trim?function(e){return e.trim()}:function(e){return e.replace(/(^\s*|\s*$)/g,"")};_.serializeObject=o,_.parseString=a,_.types={html:"text/html",json:"application/json",xml:"application/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},_.serialize={"application/x-www-form-urlencoded":o,"application/json":JSON.stringify},_.parse={"application/x-www-form-urlencoded":a,"application/json":JSON.parse},g(c.prototype),c.prototype._parseBody=function(e){var t=_.parse[this.type];return this.req._parser?this.req._parser(this,e):(!t&&u(this.type)&&(t=_.parse["application/json"]),t&&e&&(e.length||e instanceof Object)?t(e):null)},c.prototype.toError=function(){var e=this.req,t=e.method,n=e.url,r="cannot "+t+" "+n+" ("+this.status+")",o=new Error(r);return o.status=this.status,o.method=t,o.url=n,o},_.Response=c,p(l.prototype),h(l.prototype),l.prototype.type=function(e){return this.set("Content-Type",_.types[e]||e),this},l.prototype.accept=function(e){return this.set("Accept",_.types[e]||e),this},l.prototype.auth=function(e,t,n){switch(n||(n={type:"function"==typeof btoa?"basic":"auto"}),n.type){case"basic":this.set("Authorization","Basic "+btoa(e+":"+t));break;case"auto":this.username=e,this.password=t}return this},l.prototype.query=function(e){return"string"!=typeof e&&(e=o(e)),e&&this._query.push(e),this},l.prototype.attach=function(e,t,n){if(this._data)throw Error("superagent can't mix .send() and .attach()");return this._getFormData().append(e,t,n||t.name),this},l.prototype._getFormData=function(){return this._formData||(this._formData=new d.FormData),this._formData},l.prototype.callback=function(e,t){if(this._maxRetries&&this._retries++<this._maxRetries&&m(e,t))return this._retry();var n=this._callback;this.clearTimeout(),e&&(this._maxRetries&&(e.retries=this._retries-1),this.emit("error",e)),n(e,t)},l.prototype.crossDomainError=function(){var e=new Error("Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.");e.crossDomain=!0,e.status=this.status,e.method=this.method,e.url=this.url,this.callback(e)},l.prototype.buffer=l.prototype.ca=l.prototype.agent=function(){return console.warn("This is not supported in browser version of superagent"),this},l.prototype.pipe=l.prototype.write=function(){throw Error("Streaming is not supported in browser version of superagent")},l.prototype._appendQueryString=function(){var e=this._query.join("&");if(e&&(this.url+=(this.url.indexOf("?")>=0?"&":"?")+e),this._sort){var t=this.url.indexOf("?");if(t>=0){var n=this.url.substring(t+1).split("&");y(this._sort)?n.sort(this._sort):n.sort(),this.url=this.url.substring(0,t)+"?"+n.join("&")}}},l.prototype._isHost=function(e){return e&&"object"==typeof e&&!Array.isArray(e)&&"[object Object]"!==Object.prototype.toString.call(e)},l.prototype.end=function(e){return this._endCalled&&console.warn("Warning: .end() was called twice. This is not supported in superagent"),this._endCalled=!0,this._callback=e||r,this._appendQueryString(),this._end()},l.prototype._end=function(){var e=this,t=this.xhr=_.getXHR(),n=this._formData||this._data;this._setTimeouts(),t.onreadystatechange=function(){var n=t.readyState;if(n>=2&&e._responseTimeoutTimer&&clearTimeout(e._responseTimeoutTimer),4==n){var r;try{r=t.status}catch(e){r=0}if(!r){if(e.timedout||e._aborted)return;return e.crossDomainError()}e.emit("end")}};var r=function(t,n){n.total>0&&(n.percent=n.loaded/n.total*100),n.direction=t,e.emit("progress",n)};if(this.hasListeners("progress"))try{t.onprogress=r.bind(null,"download"),t.upload&&(t.upload.onprogress=r.bind(null,"upload"))}catch(e){}try{this.username&&this.password?t.open(this.method,this.url,!0,this.username,this.password):t.open(this.method,this.url,!0)}catch(e){return this.callback(e)}if(this._withCredentials&&(t.withCredentials=!0),!this._formData&&"GET"!=this.method&&"HEAD"!=this.method&&"string"!=typeof n&&!this._isHost(n)){var o=this._header["content-type"],i=this._serializer||_.serialize[o?o.split(";")[0]:""];!i&&u(o)&&(i=_.serialize["application/json"]),i&&(n=i(n))}for(var a in this.header)null!=this.header[a]&&t.setRequestHeader(a,this.header[a]);return this._responseType&&(t.responseType=this._responseType),this.emit("request",this),t.send("undefined"!=typeof n?n:null),this},_.get=function(e,t,n){var r=_("GET",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},_.head=function(e,t,n){var r=_("HEAD",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},_.options=function(e,t,n){var r=_("OPTIONS",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},_.del=f,_.delete=f,_.patch=function(e,t,n){var r=_("PATCH",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},_.post=function(e,t,n){var r=_("POST",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},_.put=function(e,t,n){var r=_("PUT",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}},function(e,t,n){function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t,n){var r=void 0;if("string"==typeof e){if(0===e.indexOf("#")&&(e=e.slice(1)),i.getPlayers()[e])return t&&B.default.warn('Player "'+e+'" is already initialised. Options will not be applied.'),n&&i.getPlayers()[e].ready(n),i.getPlayers()[e];r=W.getEl(e)}else r=e;if(!r||!r.nodeName)throw new TypeError("The element or ID supplied is not valid. (videojs)");if(r.player||T.default.players[r.playerId])return r.player||T.default.players[r.playerId];t=t||{},i.hooks("beforesetup").forEach(function(e){var n=e(r,(0,O.default)(t));return!(0,K.isObject)(n)||Array.isArray(n)?void B.default.error("please return an object in beforesetup hooks"):void(t=(0,O.default)(t,n))});var o=g.default.getComponent("Player"),a=new o(r,t,n);return i.hooks("setup").forEach(function(e){return e(a)}),a}var a,s;t.__esModule=!0;var u=("function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(30)),c=o(u),l=n(28),f=o(l),d=n(1192),p=r(d),h=n(494),v=r(h),y=n(8),g=o(y),m=n(203),_=o(m),b=n(83),w=r(b),E=n(489),T=o(E),S=n(1188),C=o(S),x=n(77),O=o(x),k=n(19),M=r(k),P=n(317),A=o(P),I=n(1197),j=o(I),D=n(1205),R=o(D),N=n(155),L=n(84),F=o(L),U=n(46),B=o(U),q=n(23),W=r(q),z=n(33),H=r(z),V=n(205),G=r(V),K=n(34),Y=n(321),$=o(Y),X=n(1185),Q=o(X),J=n(495),Z=o(J),ee=n(154),te=o(ee);if("undefined"==typeof HTMLVideoElement&&W.isReal()&&(f.default.createElement("video"),f.default.createElement("audio"),f.default.createElement("track")),i.hooks_={},i.hooks=function(e,t){return i.hooks_[e]=i.hooks_[e]||[],t&&(i.hooks_[e]=i.hooks_[e].concat(t)),i.hooks_[e]},i.hook=function(e,t){i.hooks(e,t)},i.removeHook=function(e,t){var n=i.hooks(e).indexOf(t);return!(n<=-1)&&(i.hooks_[e]=i.hooks_[e].slice(),i.hooks_[e].splice(n,1),!0)},c.default.VIDEOJS_NO_DYNAMIC_STYLE!==!0&&W.isReal()){var ne=W.$(".vjs-styles-defaults");if(!ne){ne=v.createStyleElement("vjs-styles-defaults");var re=W.$("head");re&&re.insertBefore(ne,re.firstChild),v.setTextContent(ne,"\n      .video-js {\n        width: 300px;\n        height: 150px;\n      }\n\n      .vjs-fluid {\n        padding-top: 56.25%\n      }\n    ")}}p.autoSetupTimeout(1,i),i.VERSION="5.19.2",i.options=T.default.prototype.options_,i.getPlayers=function(){return T.default.players},i.players=T.default.players,i.getComponent=g.default.getComponent,i.registerComponent=function(e,t){te.default.isTech(t)&&B.default.warn("The "+e+" tech was registered as a component. It should instead be registered using videojs.registerTech(name, tech)"),g.default.registerComponent.call(g.default,e,t)},i.getTech=te.default.getTech,i.registerTech=te.default.registerTech,i.browser=H,i.TOUCH_ENABLED=H.TOUCH_ENABLED,i.extend=Q.default,i.mergeOptions=O.default,i.bind=M.bind,i.plugin=C.default,i.addLanguage=function(e,t){var n;return e=(""+e).toLowerCase(),i.options.languages=(0,O.default)(i.options.languages,(n={},n[e]=t,n)),i.options.languages[e]},i.log=B.default,i.createTimeRange=i.createTimeRanges=N.createTimeRanges,i.formatTime=F.default,i.parseUrl=G.parseUrl,i.isCrossOrigin=G.isCrossOrigin,i.EventTarget=_.default,i.on=w.on,i.one=w.one,i.off=w.off,i.trigger=w.trigger,i.xhr=Z.default,i.TextTrack=A.default,i.AudioTrack=j.default,i.VideoTrack=R.default,i.isEl=W.isEl,i.isTextNode=W.isTextNode,i.createEl=W.createEl,i.hasClass=W.hasElClass,i.addClass=W.addElClass,i.removeClass=W.removeElClass,i.toggleClass=W.toggleElClass,i.setAttributes=W.setElAttributes,i.getAttributes=W.getElAttributes,i.emptyEl=W.emptyEl,i.appendContent=W.appendContent,i.insertContent=W.insertContent,i.computedStyle=$.default,a=[],s=function(){return i}.apply(t,a),!(void 0!==s&&(e.exports=s)),t.default=i},function(e,t,n){"use strict";function r(){if(u.length)throw u.shift()}function o(e){var t;t=s.length?s.pop():new i,t.task=e,a(t)}function i(){this.task=null}var a=n(510),s=[],u=[],c=a.makeRequestCallFromTimer(r);e.exports=o,i.prototype.call=function(){try{this.task.call()}catch(e){o.onerror?o.onerror(e):(u.push(e),c())}finally{this.task=null,s[s.length]=this}}},function(e,t){(function(t){"use strict";function n(e){s.length||(a(),u=!0),s[s.length]=e}function r(){for(;c<s.length;){var e=c;if(c+=1,s[e].call(),c>l){for(var t=0,n=s.length-c;t<n;t++)s[t]=s[t+c];s.length-=c,c=0}}s.length=0,c=0,u=!1}function o(e){var t=1,n=new d(e),r=document.createTextNode("");return n.observe(r,{characterData:!0}),function(){t=-t,r.data=t}}function i(e){return function(){function t(){clearTimeout(n),clearInterval(r),e()}var n=setTimeout(t,0),r=setInterval(t,50)}}e.exports=n;var a,s=[],u=!1,c=0,l=1024,f="undefined"!=typeof t?t:self,d=f.MutationObserver||f.WebKitMutationObserver;a="function"==typeof d?o(r):i(r),n.requestFlush=a,n.makeRequestCallFromTimer=i}).call(t,function(){return this}())},,function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(325),a=o(i),s=n(9),u=o(s),c=n(4),l=o(c),f=n(5),d=o(f),p=n(7),h=o(p),v=n(6),y=o(v),g=n(1),m=o(g),_=n(3),b=o(_),w=n(508),E=o(w),T=n(58),S=(r(T),n(513)),C=o(S),x=m.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48"},m.default.createElement("path",{d:"M24 4C12.95 4 4 12.95 4 24c0 11.04 8.95 20 20 20 11.04 0 20-8.96 20-20 0-11.05-8.96-20-20-20zm-4 30L10 24l2.83-2.83L20 28.34l15.17-15.17L38 16 20 34z"})),O=m.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48"},m.default.createElement("path",{d:"M24 4c-11.05 0-20 8.95-20 20s8.95 20 20 20 20-8.95 20-20-8.95-20-20-20zm10 27.17l-2.83 2.83-7.17-7.17-7.17 7.17-2.83-2.83 7.17-7.17-7.17-7.17 2.83-2.83 7.17 7.17 7.17-7.17 2.83 2.83-7.17 7.17 7.17 7.17z"})),k=function(e){function t(){return(0,l.default)(this,t),(0,h.default)(this,(t.__proto__||(0,u.default)(t)).apply(this,arguments))}return(0,y.default)(t,e),(0,d.default)(t,[{key:"componentDidMount",value:function(){var e=this;if("undefined"!=typeof MathJax&&MathJax.Hub.Queue(new Array("Typeset",MathJax.Hub)),b.default.isFunction(E.default)){var t=document.querySelectorAll("video.video-js");b.default.each(t,function(e){return(0,E.default)(e)});var n=document.getElementsByClassName("c-question")[0];if(void 0!==n){var r=(0,a.default)(n.querySelectorAll("img, object"));r.forEach(function(t){t.addEventListener("load",function(){return e.props.sendSize()})});var o=(0,a.default)(n.querySelectorAll("video, audio"));o.forEach(function(t){t.addEventListener("loadstart",function(){return e.props.sendSize()}),t.addEventListener("loadedmetadata",function(){return e.props.sendSize()})})}var i=document.querySelectorAll("video");b.default.each(i,function(t){t.addEventListener("play",function(t){e.props.videoPlay(t.target.id||t.target.src,t.target.currentTime)},!1),t.addEventListener("pause",function(t){e.props.videoPause(t.target.id||t.target.src,t.target.currentTime)},!1)});var s=document.querySelectorAll("audio");b.default.each(s,function(t){t.addEventListener("play",function(t){e.props.audioPlay(t.target.id||t.target.src,t.target.currentTime)},!1),t.addEventListener("pause",function(t){e.props.audioPause(t.target.id||t.target.src,t.target.currentTime)},!1)})}}},{key:"getFeedback",value:function(){var e=this.props.questionResult,t=this.props.question.question_type,n=void 0;if(e)if(e.correct===!0)switch(t){case"survey_question":n=m.default.createElement("div",{className:"c-question-feedback  c-feedback--correct"},m.default.createElement("div",{dangerouslySetInnerHTML:{__html:e.feedback}}));break;default:n=m.default.createElement("div",{className:"c-question-feedback  c-feedback--correct"},x,m.default.createElement("div",{dangerouslySetInnerHTML:{__html:e.feedback}}))}else e.correct!==!1&&null!==e.correct||(n=m.default.createElement("div",{className:"c-question-feedback  c-feedback--incorrect"},O,m.default.createElement("div",{dangerouslySetInnerHTML:{__html:e.feedback}})));return m.default.createElement("div",null,n)}},{key:"disabledCheck",value:function(){var e=this.props.questionResult;return e.correct===!0}},{key:"render",value:function(){return m.default.createElement("div",{className:"c-question"},m.default.createElement("div",{className:"c-question-prompt"},m.default.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.question.material}})),m.default.createElement("div",{className:"c-answers"},m.default.createElement(C.default,{settings:this.props.settings,item:this.props.question,isResult:this.disabledCheck(),selectAnswer:this.props.selectAnswer,response:this.props.response,questionResult:this.props.questionResult,localizedStrings:this.props.localizedStrings,audioRecordStart:this.props.audioRecordStart,audioRecordStop:this.props.audioRecordStop})),this.getFeedback())}}]),t}(m.default.Component);t.default=k},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.UNGRADED=t.INCORRECT=t.CORRECT=void 0;var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),c=r(u),l=n(7),f=r(l),d=n(6),p=r(d),h=n(1),v=r(h),y=n(3),g=r(y),m=n(332),_=r(m),b=n(514),w=r(b),E=n(517),T=r(E),S=n(519),C=r(S),x=n(515),O=r(x),k=n(520),M=r(k),P=n(523),A=r(P),I=n(524),j=r(I),D=n(334),R=r(D),N=n(527),L=r(N),F=n(528),U=r(F),B=n(531),q=r(B),W=n(532),z=r(W),H=(t.CORRECT="CORRECT",t.INCORRECT="INCORRECT",t.UNGRADED="UNGRADED",function(e){function t(){return(0,s.default)(this,t),(0,f.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,c.default)(t,[{key:"wasSelected",value:function(e){return this.props.response?this.props.response.indexOf(e)>-1:null}},{key:"render",value:function(){var e=this,t=this.props,n=t.item,r=void 0,o=void 0,i=void 0,a=void 0,s=void 0,u=void 0,c=void 0,l=void 0,f=this.props.questionResult,d=this.props.item.question_type,p="",h=null,y=null;if(f&&f.correct===!0)switch(d){case"file_upload_question":y=f.answerIds[0].name,p="c-disable-pointer-n-keys";break;case"audio_upload_question":window&&window.URL&&window.URL.createObjectURL&&(h=window.URL.createObjectURL(f.answerIds[0]),y=h);break;case"movable_words_sandbox":window&&window.URL&&window.URL.createObjectURL&&(c=f.answerIds.filter(function(e){return"string"!=typeof e})[0],h=window.URL.createObjectURL(c),y=h);break;case"movable_object_chain":case"movable_words_sentence":case"fill_the_blank_question":p="c-disable-pointer-n-keys";break;default:y=f.answerIds,p="empty"}switch(n.question_type){case"edx_multiple_choice":case"multiple_choice_question":case"true_false_question":case"survey_question":o=function(r){var o=g.default.partialRight(t.selectAnswer,!0),i=n.id+"_"+r.id;return v.default.createElement(U.default,{isDisabled:t.isResult,key:i,id:i,item:r,isHtml:n.isHtml,name:"answer-radio",checked:e.wasSelected(r.id),selectAnswer:o})},r=g.default.chunk(n.answers,2).map(function(e){return v.default.createElement("ul",{key:n.id+"_row_"+e[0].id,className:"o-grid"},e.map(o))});break;case"edx_dropdown":r=n.answers.map(function(e){return v.default.createElement(L.default,{isDisabled:t.isResult,key:n.id+"_"+e.id,item:e,name:"answer-option"})});break;case"matching_question":r=v.default.createElement(j.default,{isDisabled:t.isResult,item:n,name:"answer-option"});break;case"edx_numerical_input":case"edx_text_input":r=n.answers.map(function(e){return v.default.createElement(z.default,{isDisabled:t.isResult,key:n.id+"_"+e.id,item:e,name:"answer-text"})});break;case"text_input_question":case"text_only_question":case"short_answer_question":r=v.default.createElement("div",{className:"c-text-answer"},v.default.createElement("textarea",{placeholder:"Enter answer here...",onBlur:function(e){return t.selectAnswer(e.target.value,!0)},rows:parseInt(t.item.question_meta.expectedLines,10)||1,disabled:t.isResult,value:y||void 0}));break;case"numerical_input_question":r=v.default.createElement("div",{className:"c-text-answer"},v.default.createElement("textarea",{placeholder:"Enter answer here...",onBlur:function(e){return t.selectAnswer(e.target.value,!0)},rows:parseInt(t.item.question_meta.expectedLines,10)||1,disabled:t.isResult,value:y||void 0}));break;case"multiple_answers_question":l=function(r){var o=g.default.partialRight(t.selectAnswer,!1),i=n.id+"_"+r.id;return v.default.createElement(w.default,{isDisabled:t.isResult,key:i,id:i,item:r,isHtml:n.isHtml,checked:e.wasSelected(r.id),selectAnswer:o})},r=g.default.chunk(n.answers,2).map(function(e){return v.default.createElement("ul",{key:n.id+"_row_"+e[0].id,className:"o-grid"},e.map(l))});break;case"edx_image_mapped_input":r=n.answers.map(function(e){return v.default.createElement(A.default,{key:n.id+"_"+e.id,item:e})});break;case"edx_drag_and_drop":r=n.answers.map(function(e){return v.default.createElement(T.default,{key:n.id+"_"+e.id,item:e})});break;case"file_upload_question":i=g.default.partialRight(t.selectAnswer,!0),r=v.default.createElement(C.default,{localizedStrings:this.props.localizedStrings.fileUpload,selectAnswer:i,isDisabled:t.isResult,savedResponse:y||void 0});break;case"audio_upload_question":a=g.default.partialRight(t.selectAnswer,!0),r=v.default.createElement(_.default,{localizedStrings:this.props.localizedStrings.audioUpload,selectAnswer:a,timeout:this.props.settings.audio_recorder_timeout,audioRecordStart:this.props.audioRecordStart,audioRecordStop:this.props.audioRecordStop,isDisabled:t.isResult,savedResponse:y||void 0});break;case"movable_object_chain":s=g.default.partialRight(t.selectAnswer,!1),r=v.default.createElement(R.default,{answers:n.answers,selectAnswer:s,wordChain:t.response,itemClassName:"c-object",answerBoxClassName:"c-object-answers",noStartBlock:!0});break;case"movable_words_sentence":s=g.default.partialRight(t.selectAnswer,!1),r=v.default.createElement(R.default,{answers:n.answers,selectAnswer:s,wordChain:t.response,itemClassName:"c-word",answerBoxClassName:"c-word-answers"});break;case"movable_words_sandbox":s=g.default.partialRight(t.selectAnswer,!1),u=t.response.filter(function(e){return"string"==typeof e}),r=v.default.createElement(q.default,{answers:n.answers,selectAnswer:s,wordChain:u,localizedStrings:this.props.localizedStrings.audioUpload,timeout:this.props.settings.audio_recorder_timeout,itemClassName:"c-word",answerBoxClassName:"c-word-answers",audioRecordStart:this.props.audioRecordStart,audioRecordStop:this.props.audioRecordStop,savedResponse:y||void 0});break;case"fill_the_blank_question":s=g.default.partialRight(t.selectAnswer,!1),r=v.default.createElement(M.default,{answers:n.answers,sentenceWithBlank:n.question_meta.fillTheBlankSentence,selectAnswer:s,selectedAnswer:t.response,isDisabled:t.isResult});break;case"clix_drag_and_drop":s=g.default.partialRight(t.selectAnswer,!1),r=v.default.createElement(O.default,{answers:n.answers,zones:n.question_meta.zones,targets:n.question_meta.targets,selectAnswer:s,selectedAnswers:t.response});break;default:r=void 0}return v.default.createElement("div",{className:p},r)}}]),t}(v.default.Component));t.default=H},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),c=r(u),l=n(7),f=r(l),d=n(6),p=r(d),h=n(1),v=r(h),y=v.default.createElement("div",{className:"c-checkbox__border"},v.default.createElement("span",null)),g=function(e){function t(){return(0,s.default)(this,t),(0,f.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,c.default)(t,[{key:"selectAnswer",value:function(){this.props.selectAnswer(this.props.item.id)}},{key:"renderMaterial",value:function(e,t){return t?v.default.createElement("div",{className:"c-answer-container__content",dangerouslySetInnerHTML:{__html:e}}):v.default.createElement("div",{className:"c-answer-container__content"},v.default.createElement("p",null,e))}},{key:"render",value:function(){var e=this,t="";return this.props.checked===!0&&(t="is-clicked"),v.default.createElement("li",{className:"c-answer-container "+t},v.default.createElement("label",{htmlFor:this.props.id},v.default.createElement("div",{className:"c-answer-container__radio"},v.default.createElement("div",{className:"c-checkbox"},v.default.createElement("input",{type:"checkbox",checked:this.props.checked,disabled:this.props.isDisabled,name:"answer-checkbox",onChange:function(){e.selectAnswer()},id:this.props.id}),y)),v.default.createElement("div",{className:"c-answer-container__content"},this.renderMaterial(this.props.item.material,this.props.isHtml))))}}]),t}(v.default.Component);t.default=g},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return e.dropBehaviorType.indexOf("%3Adrop%40")>-1}function i(e){var t=["c-drag-zone"];return o(e)||t.push("c-drag-zone--snap"),e.visible&&t.push("show-border"),t.join(" ")}Object.defineProperty(t,"__esModule",{value:!0}),t.ClixDragAndDrop=void 0;var a=n(11),s=r(a),u=n(9),c=r(u),l=n(4),f=r(l),d=n(5),p=r(d),h=n(7),v=r(h),y=n(6),g=r(y),m=n(1),_=r(m),b=n(3),w=r(b),E=n(219),T=r(E),S=n(516),C=r(S),x=n(333),O=r(x),k=n(216),M=r(k),P=_.default.createElement(M.default,null),A=t.ClixDragAndDrop=function(e){
+function t(){return(0,f.default)(this,t),(0,v.default)(this,(t.__proto__||(0,c.default)(t)).apply(this,arguments))}return(0,g.default)(t,e),(0,p.default)(t,[{key:"selectAnswer",value:function(e,t,n,r){var i=this.props.targets[n],a=this.props.zones[e],u=[];if(o(a)){var c=this["target_"+n].getBoundingClientRect();u.push(r.x-c.left),u.push(r.y-c.top)}else u.push(a.spatialUnit.coordinateValues[0]+a.spatialUnit.width/2),u.push(a.spatialUnit.coordinateValues[1]+a.spatialUnit.height/2);var l=(0,s.default)({id:{id:t.droppableId,zoneIndex:e}},t,{zoneIndex:e,containerId:i.id,coordinateValues:u});this.props.selectAnswer(l),e!==t.previousZoneIndex&&t.previousZoneIndex>-1?this.props.selectAnswer({id:{id:t.droppableId,zoneIndex:t.previousZoneIndex}}):o(a)&&e===t.previousZoneIndex&&this.props.selectAnswer(l)}},{key:"deselectAnswer",value:function(e){e.previousZoneIndex>-1&&this.props.selectAnswer({id:{id:e.droppableId,zoneIndex:e.previousZoneIndex}})}},{key:"renderZones",value:function(e){var t=this;return w.default.map(this.props.zones,function(n,r){var a=!w.default.find(t.props.selectedAnswers,{zoneIndex:r})||o(n);return _.default.createElement(C.default,{key:r,className:i(n),canDrop:a,dropItem:function(n,o){return t.selectAnswer(r,n,e,o)},style:{left:n.spatialUnit.coordinateValues[0],top:n.spatialUnit.coordinateValues[1],height:n.spatialUnit.height,width:n.spatialUnit.width}},n.name?_.default.createElement("div",{className:"c-drag-zone__name"},n.name):null)})}},{key:"renderSelectedAnswers",value:function(){return w.default.map(this.props.selectedAnswers,function(e){return _.default.createElement(O.default,{key:e.droppableId,style:{position:"absolute",left:e.coordinateValues[0]-e.width/2,top:e.coordinateValues[1]-e.height/2},className:"c-droppable-item",text:e.droppableText,zoneIndex:e.zoneIndex,droppableId:e.droppableId})})}},{key:"renderAvailableAnswers",value:function(){var e=this;return w.default.map(this.props.answers,function(t){var n=w.default.filter(e.props.selectedAnswers,{droppableId:t.id}).length;return _.default.createElement(O.default,{key:t.id,className:"c-droppable-item",hide:n>=parseInt(t.reuse,10),showWhileDragging:n<t.reuse-1,droppableId:t.id,text:t.text,zoneIndex:-1})})}},{key:"renderTargets",value:function(){var e=this;return w.default.map(this.props.targets,function(t,n){return _.default.createElement("div",{key:n,className:"c-drag-target",style:{position:"relative"}},_.default.createElement("div",{className:"c-drag-target__background",ref:function(t){return e["target_"+n]=t},dangerouslySetInnerHTML:{__html:t.text}}),e.renderZones(n),e.renderSelectedAnswers())})}},{key:"render",value:function(){var e=this;return _.default.createElement("div",{className:"c-clix-drag-and-drop"},this.renderTargets(),_.default.createElement(C.default,{canDrop:!0,className:"c-droppable-container",dropItem:function(t){return e.deselectAnswer(t)}},this.renderAvailableAnswers()),P)}}]),t}(_.default.Component);t.default=(0,T.default)(A)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return{connectDropTarget:e.dropTarget(),isOver:t.isOver()}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(102),a=n(135),s=n(107),u=r(s),c={drop:function(e,t){var n=document.getElementsByTagName("body")[0];return n.className="",e.dropItem(t.getItem(),t.getClientOffset()),t.getItem()},canDrop:function(e){return e.canDrop}};t.default=(0,i.DropTarget)(u.default.CLIX_DROPPABLE,c,o)(a.Dropzone)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),c=r(u),l=n(7),f=r(l),d=n(6),p=r(d),h=n(1),v=r(h),y=n(526),g=r(y),m=n(217),_=r(m),b=n(518),w=r(b),E=v.default.createElement("p",null,"Error: Type undefined"),T=function(e){function t(){return(0,s.default)(this,t),(0,f.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,c.default)(t,[{key:"render",value:function(){var e="dragDrop"+this.props.item.id,t={position:"relative",display:"block",clear:"both"},n=this.props.item.draggables.map(function(e,t){return v.default.createElement(_.default,{key:"Bank"+t,item:e})});if("key"==this.props.item.type){var r=this.props.item.targets.map(function(e,t){return v.default.createElement(g.default,{key:"dropZone"+t,item:e})});return v.default.createElement("div",null,v.default.createElement("div",{id:e,style:t},v.default.createElement("img",{src:this.props.item.img,alt:"Drag and Drop image"}),r),v.default.createElement("div",null,n))}return"index"==this.props.item.type?v.default.createElement("div",{style:t},v.default.createElement(w.default,{item:this.props.item}),n):E}}]),t}(v.default.Component);t.default=T},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(9),a=o(i),s=n(4),u=o(s),c=n(5),l=o(c),f=n(7),d=o(f),p=n(6),h=o(p),v=n(1),y=o(v),g=n(58),m=(r(g),n(217)),_=(o(m),function(e){function t(){(0,u.default)(this,t);var e=(0,d.default)(this,(t.__proto__||(0,a.default)(t)).call(this));return e.x=0,e.y=0,e}return(0,h.default)(t,e),(0,l.default)(t,[{key:"allowDrop",value:function(e){e.preventDefault(),this.x=event.clientX,this.y=event.clientY}},{key:"drop",value:function(e){e.preventDefault();var t=e.target.getBoundingClientRect(),n=e.dataTransfer.getData("text"),r=document.getElementById(n);e.currentTarget.appendChild(r),document.getElementById(n).setAttribute("style","position:absolute; top:"+(this.y-t.top-Number(r.getAttribute("offsetY")))+"px; left:"+(this.x-t.left-Number(r.getAttribute("offsetX")))+"px; ")}},{key:"render",value:function(){var e=this,t={border:"1px solid #aaaaaa",position:"relative"},n={zIndex:"-1"},r="zone"+this.props.item.id;return y.default.createElement("div",{id:r,onDrop:function(t){e.drop(t)},onDragOver:function(t){e.allowDrop(t)},style:t},y.default.createElement("img",{src:this.props.item.img,alt:"Drag and Drop image",style:n}))}}]),t}(y.default.Component));t.default=_},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),c=r(u),l=n(7),f=r(l),d=n(6),p=r(d),h=n(1),v=r(h),y=n(3),g=r(y),m=function(e){function t(){(0,s.default)(this,t);var e=(0,f.default)(this,(t.__proto__||(0,i.default)(t)).call(this));return e.state={uplFile:""},e}return(0,p.default)(t,e),(0,c.default)(t,[{key:"handleChange",value:function(e){g.default.isFunction(this.props.selectAnswer)&&this.props.selectAnswer(e.target.files[0]),void 0!==e.target.files[0]?this.setState({uplFile:e.target.files[0].name}):this.setState({uplFile:""})}},{key:"handleFileNmDisplay",value:function(){return this.props.savedResponse?this.props.savedResponse:this.state.uplFile?this.state.uplFile:this.props.localizedStrings.noFile}},{key:"render",value:function(){var e=this;return v.default.createElement("label",{htmlFor:"file-upload",className:"c-file-upload"},v.default.createElement("span",null,this.props.localizedStrings.chooseFile),v.default.createElement("input",{id:"file-upload",ref:function(t){e.inputField=t},onChange:function(t){return e.handleChange(t)},type:"file",className:"c-file-upload-input",disabled:this.props.isDisabled}),v.default.createElement("input",{type:"text",value:this.handleFileNmDisplay(),readOnly:!0}))}}]),t}(v.default.Component);t.default=m},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.FillTheBlank=void 0;var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),c=r(u),l=n(7),f=r(l),d=n(6),p=r(d),h=n(3),v=r(h),y=n(1),g=r(y),m=n(106),_=(r(m),n(219)),b=r(_),w=n(218),E=n(135),T=n(216),S=r(T),C=n(521),x=r(C),O=g.default.createElement(S.default,null),k=t.FillTheBlank=function(e){function t(){(0,s.default)(this,t);var e=(0,f.default)(this,(t.__proto__||(0,i.default)(t)).call(this));return e.state={answerPositions:{}},e}return(0,p.default)(t,e),(0,c.default)(t,[{key:"dropWordInCloud",value:function(e,t){v.default.includes(this.props.selectedAnswer,e)&&this.props.selectAnswer(e)}},{key:"linkWord",value:function(e){this.props.selectAnswer(e)}},{key:"render",value:function(){var e=this,t={};v.default.each(this.props.answers,function(e){t[e.id]=e});var n=v.default.map(t,function(t){return g.default.createElement(w.FillTheBlankDraggableWord,{key:t.id,id:t.id,material:t.material,hide:v.default.includes(e.props.selectedAnswer,t.id),wordClassName:"c-word c-word--blank"})});return g.default.createElement("div",{dir:"ltr"},g.default.createElement("div",{className:"c-word-box"},g.default.createElement(E.FillTheBlankWordDropZone,{ref:function(t){return e.FillTheBlankWordDropZone=t},dropItem:function(t,n){e.dropWordInCloud(t,n)},className:"c-word-box__contain"},n)),g.default.createElement("div",null,g.default.createElement(x.default,{sentenceWords:this.props.sentenceWithBlank,selectedAnswer:t[v.default.first(this.props.selectedAnswer)],linkWord:function(t){e.linkWord(t)}})),O)}}]),t}(g.default.Component);t.default=(0,b.default)(k)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),c=r(u),l=n(7),f=r(l),d=n(6),p=r(d),h=n(1),v=r(h),y=n(3),g=r(y),m=n(218),_=n(135),b=n(162),w=r(b),E=v.default.createElement("div",{className:"c-blank"}),T=function(e){function t(){return(0,s.default)(this,t),(0,f.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,c.default)(t,[{key:"getWords",value:function(e){var t=this;return e.map(function(e,n){return e.indexOf("interaction-placeholder")>=0?g.default.isEmpty(t.props.selectedAnswer)?v.default.createElement(_.FillTheBlankWordDropZone,{className:"c-blank-drop-zone",key:n,dropItem:function(e){t.props.linkWord(e)}},E):v.default.createElement("div",{className:"c-blank-drop-zone",key:t.props.selectedAnswer.id+"-"+n},v.default.createElement(m.FillTheBlankDraggableWord,{id:t.props.selectedAnswer.id,material:t.props.selectedAnswer.material,wordClassName:"c-word c-word--blank"})):v.default.createElement(w.default,{className:"c-word c-word--fill",key:n,material:e})})}},{key:"render",value:function(){return v.default.createElement("div",{className:"c-blank-answers"},this.getWords(this.props.sentenceWords))}}]),t}(v.default.Component);t.default=T},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),c=r(u),l=n(7),f=r(l),d=n(6),p=r(d),h=n(1),v=r(h),y=n(106),g=r(y),m=n(3),_=r(m),b=n(135),w=n(525),E=r(w),T=n(536),S=v.default.createElement("div",null),C=v.default.createElement("div",null),x=v.default.createElement("div",null),O=function(e){function t(){(0,s.default)(this,t);var e=(0,f.default)(this,(t.__proto__||(0,i.default)(t)).call(this));return e.state={draggingIndex:null,wrapIndexes:[0]},e}return(0,p.default)(t,e),(0,c.default)(t,[{key:"componentWillReceiveProps",value:function(e){var t=this;if(!_.default.isEqual(e.wordChain,this.props.wordChain))if(e.wordChain.length>this.props.wordChain.length){var n=g.default.findDOMNode(this.WordDropZone),r=n.getBoundingClientRect();if(r.right-r.left<100){var o=this.props.wordChain.length;this.setState({wrapIndexes:this.state.wrapIndexes.concat(o)})}}else if(e.wordChain.length<this.props.wordChain.length){var i=_.default.dropRightWhile(this.state.wrapIndexes,function(e){return e>=t.state.draggingIndex&&e>0});this.setState({wrapIndexes:i})}}},{key:"componentDidUpdate",value:function(){var e=g.default.findDOMNode(this.WordDropZone),t=e.getBoundingClientRect();if(t.right-t.left<10){var n=this.props.wordChain.length;this.setState({wrapIndexes:this.state.wrapIndexes.concat(n)})}}},{key:"beginDragging",value:function(e){this.setState({dragging:!0,draggingIndex:e})}},{key:"endDragging",value:function(){this.setState({dragging:!1,draggingIndex:null})}},{key:"getLines",value:function(){var e=this;return _.default.map(this.state.wrapIndexes,function(t,n){var r=e.props.wordChain.length;e.state.wrapIndexes[n+1]&&(r=e.state.wrapIndexes[n+1]);var o=_.default.slice(e.props.wordChain,t,r);o=o.map(function(n,r){var o=e.props.answersById[n],i=_.default.at(e.props.answersById,e.props.wordChain.slice(r+t));return v.default.createElement(E.default,{wordClassName:e.props.itemClassName,id:n,key:n,isGroupDragging:e.state.dragging&&r+t>=e.state.draggingIndex,draggableWords:i,beginDragging:function(){e.beginDragging(r+t)},endDragging:function(){e.endDragging()},material:o.material})});var i=e.props.answerBoxClassName,a="c-word c-word--starter",s=S,u=v.default.createElement(b.WordDropZone,{className:"c-drop-zone",ref:function(t){e.WordDropZone=t},dropItem:function(t){e.props.linkWord(t)},overClassName:"c-over-drop-zone"});e.state.wrapIndexes.length>1&&(0===n?(s=T.beginWrap,i+=" c-word-answers--split-top",u=C):(s=T.endWrap,a+=" u-hide",i+=" c-word-answers--split-bottom"));var c=v.default.createElement("div",{className:a});return e.props.noStartBlock&&(c=x),v.default.createElement("div",{key:t,className:i},s,c,o,u)})}},{key:"render",value:function(){var e=this.getLines();return v.default.createElement("div",null,e)}}]),t}(v.default.Component);t.default=O},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(9),a=o(i),s=n(4),u=o(s),c=n(5),l=o(c),f=n(7),d=o(f),p=n(6),h=o(p),v=n(1),y=o(v),g=n(58),m=(r(g),function(e){function t(){return(0,u.default)(this,t),(0,d.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,h.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e="mappedImg"+this.props.item.id,t="#"+e,n=this.props.item.coordinates.toString();return y.default.createElement("div",null,y.default.createElement("img",{src:this.props.item.material,width:this.props.item.width,height:this.props.item.height,alt:e,useMap:t}),y.default.createElement("map",{name:e},y.default.createElement("area",{shape:"rect",coords:n,onClick:function(){}})))}}]),t}(y.default.Component));t.default=m},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Matching=void 0;var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),c=r(u),l=n(7),f=r(l),d=n(6),p=r(d),h=n(1),v=r(h),y=n(36),g=n(3),m=r(g),_=n(58),b=(n(211),v.default.createElement("option",{selected:null,id:"0000"},"[Select Answer]")),w=v.default.createElement("option",{selected:null,id:"0000"}),E=v.default.createElement("option",{selected:null,id:"0000"},"--------------------------------------"),T=t.Matching=function(e){function t(){return(0,s.default)(this,t),(0,f.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,c.default)(t,[{key:"answerSelected",value:function(e,t){var n=e.target.parentNode.firstChild.textContent,r=e.currentTarget.value,o=e.currentTarget.name,i=e.currentTarget.children[e.currentTarget.selectedIndex].id,a={id:n,selectedAnswer:r,answerNumber:o,item:this.props.item,answerId:i};this.props.answerSelected(a)}},{key:"getResponses",value:function(e){for(var t=[],n=0;n<e.correct.length;n++){for(var r={id:e.correct[n].id,material:"",answers:[]},o=0;o<e.answers.length/e.correct.length;o++)r.material=e.answers[o].matchMaterial,r.answers.push(e.answers[o]);t.push(r)}return t}},{key:"getMaterialNames",value:function(){return m.default.chain(this.props.item.answers).map(function(e,t){return e.matchMaterial}).uniq().value()}},{key:"render",value:function(){var e=this,t=this.getResponses(this.props.item),n=this.getMaterialNames(),r=t.map(function(t,r){var o,i="answer-"+r,a="response-"+t.id,s=e.props.studentAnswers?e.props.studentAnswers[r]:{selectedAnswer:""},u=t.answers.map(function(e,t){return s&&s.selectedAnswer.trim()==e.material.trim()&&(o=s.selectedAnswer.trim()),v.default.createElement("option",{key:"answer-"+e.id,value:e.material.trim(),id:e.id},e.material.trim())}),c=e.props.isDisabled?v.default.createElement("select",{disabled:"true",name:i,onChange:function(t,n){e.answerSelected(t,n)}},w,E):v.default.createElement("select",{name:i,value:o,onChange:function(t,n){e.answerSelected(t,n)}},b,u);return v.default.createElement("div",{key:a},n[r],c)});return v.default.createElement("div",null,r)}}]),t}(v.default.Component);t.default=(0,y.connect)(null,{answerSelected:_.answerSelected},null,{withRefs:!0})(T)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return{connectDragSource:e.dragSource(),isDragging:t.isDragging(),connectDragPreview:e.dragPreview()}}Object.defineProperty(t,"__esModule",{value:!0}),t.DraggableGroupWord=void 0;var i=n(9),a=r(i),s=n(4),u=r(s),c=n(5),l=r(c),f=n(7),d=r(f),p=n(6),h=r(p),v=n(1),y=r(v),g=n(102),m=n(193),_=n(162),b=r(_),w=n(107),E=r(w),T={beginDrag:function(e){return e.beginDragging(),{itemId:e.id,words:e.draggableWords,wordClassName:e.wordClassName}},endDrag:function(e,t){e.endDragging()}},S=t.DraggableGroupWord=function(e){function t(){return(0,u.default)(this,t),(0,d.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,h.default)(t,e),(0,l.default)(t,[{key:"componentDidMount",value:function(){this.props.connectDragPreview((0,m.getEmptyImage)())}},{key:"render",value:function(){var e=this.props,t=e.connectDragSource,n=e.isGroupDragging,r=e.material;return t(y.default.createElement("div",{className:"draggable-group-word",style:{display:"inline-block",opacity:n?0:1,cursor:"move"}},y.default.createElement(b.default,{material:r,className:this.props.wordClassName})))}}]),t}(y.default.Component);t.default=(0,g.DragSource)(E.default.WORD_GROUP,T,o)(S)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(9),a=o(i),s=n(4),u=o(s),c=n(5),l=o(c),f=n(7),d=o(f),p=n(6),h=o(p),v=n(1),y=o(v),g=n(58),m=(r(g),n(217)),_=(o(m),function(e){function t(){return(0,u.default)(this,t),(0,d.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,h.default)(t,e),(0,l.default)(t,[{key:"allowDrop",value:function(e){e.preventDefault()}},{key:"drop",value:function(e){e.preventDefault();var t=e.dataTransfer.getData("text");e.target.appendChild(document.getElementById(t))}},{key:"render",value:function(){var e=this,t={position:"absolute",width:this.props.item.width.toString()+"px",height:this.props.item.height.toString()+"px",top:this.props.item.yPos.toString()+"px",left:this.props.item.xPos.toString()+"px",border:"1px solid #aaaaaa"},n="zone"+this.props.item.id;return y.default.createElement("div",{className:"dropZone",id:n,onDrop:function(t){e.props.item.onePerTarget&&document.getElementById(n).hasChildNodes()||e.drop(t)},onDragOver:function(t){e.props.item.onePerTarget&&document.getElementById(n).hasChildNodes()||e.allowDrop(t)},style:t})}}]),t}(y.default.Component));t.default=_},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(9),a=o(i),s=n(4),u=o(s),c=n(5),l=o(c),f=n(7),d=o(f),p=n(6),h=o(p),v=n(1),y=o(v),g=n(58),m=(r(g),function(e){function t(){return(0,u.default)(this,t),(0,d.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,h.default)(t,e),(0,l.default)(t,[{key:"answerSelected",value:function(){}},{key:"render",value:function(){var e=this,t=this.props.item.material.map(function(t){return y.default.createElement("option",{key:t,value:t,name:e.props.name},t)});return y.default.createElement("div",null,y.default.createElement("select",{onChange:function(){e.answerSelected()}},t))}}]),t}(y.default.Component));t.default=m},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),c=r(u),l=n(7),f=r(l),d=n(6),p=r(d),h=n(1),v=r(h),y=v.default.createElement("div",{className:"c-radio-button__border"},v.default.createElement("span",null)),g=function(e){function t(){return(0,s.default)(this,t),(0,f.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,c.default)(t,[{key:"selectAnswer",value:function(){this.props.selectAnswer(this.props.item.id)}},{key:"checkedStatus",value:function(){var e=null;return this.props.checked===!0?e=!0:this.props.checked===!1?e=!1:!this.props.isDisabled,e}},{key:"renderMaterial",value:function(e,t){return t?v.default.createElement("div",{className:"c-answer-container__content",dangerouslySetInnerHTML:{__html:e}}):v.default.createElement("div",{className:"c-answer-container__content"},v.default.createElement("p",null,e))}},{key:"render",value:function(){var e=this,t=this.props,n="";return this.props.checked===!0&&(n="is-clicked"),v.default.createElement("li",{className:"c-answer-container "+n},v.default.createElement("label",{htmlFor:t.id},v.default.createElement("div",{className:"c-answer-container__radio"},v.default.createElement("div",{className:"c-radio-button"},v.default.createElement("input",{type:"radio",checked:this.checkedStatus(),disabled:t.isDisabled,name:"radio",id:t.id,onChange:function(){e.selectAnswer()}}),y)),v.default.createElement("div",{className:"c-answer-container__content"},this.renderMaterial(t.item.material,t.isHtml))))}}]),t}(v.default.Component);t.default=g},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.RecorderCommands=void 0;var o=n(224),i=r(o),a=n(9),s=r(a),u=n(4),c=r(u),l=n(5),f=r(l),d=n(7),p=r(d),h=n(6),v=r(h),y=n(1),g=r(y),m=n(1120),_=r(m),b=(t.RecorderCommands={start:"start",stop:"stop"},function(e){function t(){(0,c.default)(this,t);var e=(0,p.default)(this,(t.__proto__||(0,s.default)(t)).call(this));return e.state={},e}return(0,v.default)(t,e),(0,f.default)(t,[{key:"gUMPolyfill",value:function(e){var t=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia;return t?new i.default(function(n,r){t.call(navigator,e,n,r)}):i.default.reject(new Error("getUserMedia is not implemented in this browser"))}},{key:"startRecorder",value:function(){var e=this;this.state.recorder||(void 0===navigator.mediaDevices&&(navigator.mediaDevices={}),void 0===navigator.mediaDevices.getUserMedia&&(navigator.mediaDevices.getUserMedia=this.gUMPolyfill),navigator.mediaDevices.getUserMedia({audio:!0}).then(function(t){return e.handleStream(t)}).catch(function(e){console.error(e)}))}},{key:"handleStream",value:function(e){window.AudioContext=window.AudioContext||window.webkitAudioContext;var t=new AudioContext,n=t.createMediaStreamSource(e),r=new _.default(n);this.setState({audioContext:t,recorder:r,stream:e}),r.record()}},{key:"cleanupAudioResources",value:function(){this.state.recorder.clear(),this.state.audioContext.close&&this.state.audioContext.close(),this.state.stream.stop?this.state.stream.stop():this.state.stream.getAudioTracks().forEach(function(e){return e.stop()})}},{key:"stopRecorder",value:function(){var e=this;this.state.recorder&&this.state.recorder.recording&&(this.state.recorder.stop(),this.state.recorder.exportWAV(function(t){e.props.onStop(t,e.state.audioContext.currentTime),e.cleanupAudioResources(),e.setState({recorder:null,audioContext:null,stream:null})}))}},{key:"componentWillUnmount",value:function(){this.state.recorder&&this.state.recorder.recording&&(this.state.recorder.stop(),this.cleanupAudioResources())}},{key:"render",value:function(){return"start"==this.props.command?this.startRecorder():"stop"==this.props.command&&this.stopRecorder(),null}}]),t}(g.default.Component));t.default=b},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),c=r(u),l=n(7),f=r(l),d=n(6),p=r(d),h=n(1),v=r(h),y=n(978),g=function(e){function t(){(0,s.default)(this,t);var e=(0,f.default)(this,(t.__proto__||(0,i.default)(t)).call(this));return e.state={minsCt:0,secsCt:0,secsStringCt:"00",prcntCt:0},e}return(0,p.default)(t,e),(0,c.default)(t,[{key:"componentDidMount",value:function(){this.handleTimerCount()}},{key:"componentWillUnmount",value:function(){this.clearTimerCount()}},{key:"tick",value:function(){var e=this;this.setState(function(t){return{prcntCt:Math.round((t.prcntCt+1)/e.props.timeout*100)}}),this.state.secsCt<9?this.setState(function(e){return{secsCt:e.secsCt+1,secsStringCt:"0"+(e.secsCt+1)}}):59===this.state.secsCt?this.setState(function(e){return{minsCt:e.minsCt+1,secsCt:0,secsStringCt:"00"}}):this.setState(function(e){return{secsCt:e.secsCt+1,secsStringCt:e.secsCt+1}})}},{key:"handleTimerCount",value:function(){var e=this;this.interval=setInterval(function(){return e.tick()},1e3)}},{key:"clearTimerCount",value:function(){clearInterval(this.interval),this.setState({minsCt:0,secsCt:0,secsStringCt:"00",prcntCt:0})}},{key:"render",value:function(){return v.default.createElement("div",null,v.default.createElement("div",{className:"c-audio-timer"},v.default.createElement("small",null,this.props.localizedStrings.recordTime)," ",this.state.minsCt,":",this.state.secsStringCt),v.default.createElement(y.Line,{percent:this.state.prcntCt,strokeWidth:"1",strokeColor:"#D0021B"}))}}]),t}(v.default.Component);t.default=g},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),c=r(u),l=n(7),f=r(l),d=n(6),p=r(d),h=n(1),v=r(h),y=n(334),g=r(y),m=n(332),_=r(m),b=function(e){function t(){return(0,s.default)(this,t),(0,f.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,c.default)(t,[{key:"render",value:function(){return v.default.createElement("div",null,v.default.createElement(g.default,this.props),v.default.createElement(_.default,{timeout:this.props.timeout,localizedStrings:this.props.localizedStrings,selectAnswer:this.props.selectAnswer,audioRecordStart:this.props.audioRecordStart,audioRecordStop:this.props.audioRecordStop,isDisabled:this.props.isDisabled,savedResponse:this.props.savedResponse}))}}]),t}(v.default.Component);t.default=b},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),c=r(u),l=n(7),f=r(l),d=n(6),p=r(d),h=n(1),v=r(h),y=v.default.createElement("input",{type:"text",className:"form-control"}),g=function(e){function t(){return(0,s.default)(this,t),(0,f.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,c.default)(t,[{key:"render",value:function(){return v.default.createElement("div",null,this.props.item.material,y)}}]),t}(v.default.Component);t.default=g},,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return{type:c.LOCALE_SET,apiCall:!0,locale:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Constants=void 0,t.setLocale=o;var i=n(56),a=r(i),s=["LOCALE_SET"],u=[],c=t.Constants=(0,a.default)(s,u)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){return b.getAvailableLanguages().map(function(e){return[e,_[e].name]})}Object.defineProperty(t,"__esModule",{value:!0});var i=n(502),a=r(i),s=n(11),u=r(s);t.availableLocales=o;var c=n(1077),l=r(c),f=n(1383),d=r(f),p=n(1384),h=r(p),v=n(1385),y=r(v),g=n(1386),m=r(g),_=(0,u.default)({},d.default,h.default,y.default,m.default);(0,a.default)(_);var b=new l.default(_);t.default=b},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.endWrap=t.beginWrap=void 0;var o=n(1),i=r(o);t.beginWrap=i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48"},i.default.createElement("path",{d:"M14.83 16.42l9.17 9.17 9.17-9.17 2.83 2.83-12 12-12-12z"})),t.endWrap=i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48"},i.default.createElement("path",{d:"M14.83 16.42l9.17 9.17 9.17-9.17 2.83 2.83-12 12-12-12z"}))},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=12e5;setInterval(function(){e((0,r.refreshJwt)(t))},n)};var r=n(220)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return{question_meta:{zones:e.zones,targets:e.targets},question_type:"clix_drag_and_drop",material:e.text.text,isHtml:!0,answers:e.droppables}}function i(e){switch(e.json.genusTypeId){case"question-type%3Adrag-and-drop%40ODL.MIT.EDU":return o(e);default:var t=(0,u.transformItem)(e.xml),n=e.question_type,r={"question-type%3Aqti-order-interaction-mw-sentence%40ODL.MIT.EDU":"movable_words_sentence","question-type%3Aqti-order-interaction-mw-sandbox%40ODL.MIT.EDU":"movable_words_sandbox","question-type%3Aqti-order-interaction-object-manipulation%40ODL.MIT.EDU":"movable_object_chain","question-type%3Aqti-upload-interaction-generic%40ODL.MIT.EDU":"file_upload_question","question-type%3Aqti-upload-interaction-audio%40ODL.MIT.EDU":"audio_upload_question","question-type%3Aqti-numeric-response%40ODL.MIT.EDU":"numerical_input_question","question-type%3Aqti-choice-interaction-survey%40ODL.MIT.EDU":"survey_question"};return r[e.json.genusTypeId]&&(n=r[e.json.genusTypeId]),s.default.merge({},t,{title:e.title,question_type:n})}}Object.defineProperty(t,"__esModule",{value:!0}),t.transformDragAndDrop=o,t.transformItem=i;var a=n(3),s=r(a),u=n(540)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=(0,d.default)(e),n=t.find("*"),r=(0,d.default)("<div></div>"),o=h.default.find(n,function(e){return e.nodeName.match(/Interaction$/)}),u=[];if(o){var c=o.nodeName,l=s(t,c);l.appendTo(r);var f=h.default.filter((0,d.default)(o).find("*"),function(e){return e.nodeName.match(/Choice$/)});u=f.map(function(e){return{id:e.getAttribute("identifier"),material:(0,d.default)(e).html(),xml:e}})}return{question_meta:i(o,t),question_type:a(o),material:r.html(),isHtml:!0,answers:u}}function i(e,t){var n={};switch(h.default.range(0,e.attributes.length).forEach(function(t){var r=e.attributes.item(t);n[r.name]=r.value}),e.nodeName){case"inlineChoiceInteraction":var r=t.find(e.nodeName).parent().clone();r.find(e.nodeName).replaceWith('<p class="interaction-placeholder"></p>');var o=h.default.filter(r.find("p"),function(e){return e.getAttribute("class")}).map(function(e){return(0,d.default)("<div></div>").html(e).html()});n.fillTheBlankSentence=o}return n}function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};switch(e.nodeName){case"choiceInteraction":return"1"===e.attributes.maxChoices.value?"multiple_choice_question":"multiple_answers_question";case"orderInteraction":return"sentence_sandbox";case"extendedTextInteraction":return"short_answer_question";case"inlineChoiceInteraction":return"fill_the_blank_question";case"textEntryInteraction":return"text_input_question";default:return"UNKNOWN"}}function s(e,t){switch(t){case"inlineChoiceInteraction":
+return(0,d.default)("")}return e.find("itemBody > *:not("+t+")").clone()}function u(e,t){}function c(e){}function l(e,t){}Object.defineProperty(t,"__esModule",{value:!0}),t.transformItem=o,t.getQuestionMeta=i,t.getQuestionType=a,t.getQuestionMaterial=s,t.getItems=u,t.loadOutcomes=c,t.checkAnswer=l;var f=n(134),d=r(f),p=n(3),h=r(p)},function(e,t,n){(function(e){"use strict";function t(e,t,n){e[t]||Object[r](e,t,{writable:!0,configurable:!0,value:n})}if(n(815),n(1141),n(587),e._babelPolyfill)throw new Error("only one instance of babel-polyfill is allowed");e._babelPolyfill=!0;var r="defineProperty";t(String.prototype,"padLeft","".padStart),t(String.prototype,"padRight","".padEnd),"pop,reverse,shift,keys,values,entries,indexOf,every,some,forEach,map,filter,find,findIndex,includes,join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill".split(",").forEach(function(e){[][e]&&t(Array,e,Function.call.bind([][e]))})}).call(t,function(){return this}())},function(e,t,n){e.exports={default:n(590),__esModule:!0}},function(e,t,n){e.exports={default:n(591),__esModule:!0}},function(e,t,n){e.exports={default:n(592),__esModule:!0}},function(e,t,n){e.exports={default:n(594),__esModule:!0}},function(e,t,n){e.exports={default:n(600),__esModule:!0}},function(e,t,n){e.exports={default:n(602),__esModule:!0}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(542),i=r(o),a=n(223),s=r(a);t.default=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=(0,s.default)(e);!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&u.return&&u.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if((0,i.default)(Object(t)))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"apathy",author:"jannik siebert (https://github.com/janniks)",base00:"#031A16",base01:"#0B342D",base02:"#184E45",base03:"#2B685E",base04:"#5F9C92",base05:"#81B5AC",base06:"#A7CEC8",base07:"#D2E7E4",base08:"#3E9688",base09:"#3E7996",base0A:"#3E4C96",base0B:"#883E96",base0C:"#963E4C",base0D:"#96883E",base0E:"#4C963E",base0F:"#3E965B"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"ashes",author:"jannik siebert (https://github.com/janniks)",base00:"#1C2023",base01:"#393F45",base02:"#565E65",base03:"#747C84",base04:"#ADB3BA",base05:"#C7CCD1",base06:"#DFE2E5",base07:"#F3F4F5",base08:"#C7AE95",base09:"#C7C795",base0A:"#AEC795",base0B:"#95C7AE",base0C:"#95AEC7",base0D:"#AE95C7",base0E:"#C795AE",base0F:"#C79595"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"atelier dune",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/dune)",base00:"#20201d",base01:"#292824",base02:"#6e6b5e",base03:"#7d7a68",base04:"#999580",base05:"#a6a28c",base06:"#e8e4cf",base07:"#fefbec",base08:"#d73737",base09:"#b65611",base0A:"#cfb017",base0B:"#60ac39",base0C:"#1fad83",base0D:"#6684e1",base0E:"#b854d4",base0F:"#d43552"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"atelier forest",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/forest)",base00:"#1b1918",base01:"#2c2421",base02:"#68615e",base03:"#766e6b",base04:"#9c9491",base05:"#a8a19f",base06:"#e6e2e0",base07:"#f1efee",base08:"#f22c40",base09:"#df5320",base0A:"#d5911a",base0B:"#5ab738",base0C:"#00ad9c",base0D:"#407ee7",base0E:"#6666ea",base0F:"#c33ff3"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"atelier heath",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/heath)",base00:"#1b181b",base01:"#292329",base02:"#695d69",base03:"#776977",base04:"#9e8f9e",base05:"#ab9bab",base06:"#d8cad8",base07:"#f7f3f7",base08:"#ca402b",base09:"#a65926",base0A:"#bb8a35",base0B:"#379a37",base0C:"#159393",base0D:"#516aec",base0E:"#7b59c0",base0F:"#cc33cc"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"atelier lakeside",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/lakeside/)",base00:"#161b1d",base01:"#1f292e",base02:"#516d7b",base03:"#5a7b8c",base04:"#7195a8",base05:"#7ea2b4",base06:"#c1e4f6",base07:"#ebf8ff",base08:"#d22d72",base09:"#935c25",base0A:"#8a8a0f",base0B:"#568c3b",base0C:"#2d8f6f",base0D:"#257fad",base0E:"#5d5db1",base0F:"#b72dd2"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"atelier seaside",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/seaside/)",base00:"#131513",base01:"#242924",base02:"#5e6e5e",base03:"#687d68",base04:"#809980",base05:"#8ca68c",base06:"#cfe8cf",base07:"#f0fff0",base08:"#e6193c",base09:"#87711d",base0A:"#c3c322",base0B:"#29a329",base0C:"#1999b3",base0D:"#3d62f5",base0E:"#ad2bee",base0F:"#e619c3"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"bespin",author:"jan t. sott",base00:"#28211c",base01:"#36312e",base02:"#5e5d5c",base03:"#666666",base04:"#797977",base05:"#8a8986",base06:"#9d9b97",base07:"#baae9e",base08:"#cf6a4c",base09:"#cf7d34",base0A:"#f9ee98",base0B:"#54be0d",base0C:"#afc4db",base0D:"#5ea6ea",base0E:"#9b859d",base0F:"#937121"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"brewer",author:"timothée poisot (http://github.com/tpoisot)",base00:"#0c0d0e",base01:"#2e2f30",base02:"#515253",base03:"#737475",base04:"#959697",base05:"#b7b8b9",base06:"#dadbdc",base07:"#fcfdfe",base08:"#e31a1c",base09:"#e6550d",base0A:"#dca060",base0B:"#31a354",base0C:"#80b1d3",base0D:"#3182bd",base0E:"#756bb1",base0F:"#b15928"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"bright",author:"chris kempson (http://chriskempson.com)",base00:"#000000",base01:"#303030",base02:"#505050",base03:"#b0b0b0",base04:"#d0d0d0",base05:"#e0e0e0",base06:"#f5f5f5",base07:"#ffffff",base08:"#fb0120",base09:"#fc6d24",base0A:"#fda331",base0B:"#a1c659",base0C:"#76c7b7",base0D:"#6fb3d2",base0E:"#d381c3",base0F:"#be643c"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"chalk",author:"chris kempson (http://chriskempson.com)",base00:"#151515",base01:"#202020",base02:"#303030",base03:"#505050",base04:"#b0b0b0",base05:"#d0d0d0",base06:"#e0e0e0",base07:"#f5f5f5",base08:"#fb9fb1",base09:"#eda987",base0A:"#ddb26f",base0B:"#acc267",base0C:"#12cfc0",base0D:"#6fc2ef",base0E:"#e1a3ee",base0F:"#deaf8f"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"codeschool",author:"brettof86",base00:"#232c31",base01:"#1c3657",base02:"#2a343a",base03:"#3f4944",base04:"#84898c",base05:"#9ea7a6",base06:"#a7cfa3",base07:"#b5d8f6",base08:"#2a5491",base09:"#43820d",base0A:"#a03b1e",base0B:"#237986",base0C:"#b02f30",base0D:"#484d79",base0E:"#c59820",base0F:"#c98344"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"colors",author:"mrmrs (http://clrs.cc)",base00:"#111111",base01:"#333333",base02:"#555555",base03:"#777777",base04:"#999999",base05:"#bbbbbb",base06:"#dddddd",base07:"#ffffff",base08:"#ff4136",base09:"#ff851b",base0A:"#ffdc00",base0B:"#2ecc40",base0C:"#7fdbff",base0D:"#0074d9",base0E:"#b10dc9",base0F:"#85144b"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"default",author:"chris kempson (http://chriskempson.com)",base00:"#181818",base01:"#282828",base02:"#383838",base03:"#585858",base04:"#b8b8b8",base05:"#d8d8d8",base06:"#e8e8e8",base07:"#f8f8f8",base08:"#ab4642",base09:"#dc9656",base0A:"#f7ca88",base0B:"#a1b56c",base0C:"#86c1b9",base0D:"#7cafc2",base0E:"#ba8baf",base0F:"#a16946"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"eighties",author:"chris kempson (http://chriskempson.com)",base00:"#2d2d2d",base01:"#393939",base02:"#515151",base03:"#747369",base04:"#a09f93",base05:"#d3d0c8",base06:"#e8e6df",base07:"#f2f0ec",base08:"#f2777a",base09:"#f99157",base0A:"#ffcc66",base0B:"#99cc99",base0C:"#66cccc",base0D:"#6699cc",base0E:"#cc99cc",base0F:"#d27b53"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"embers",author:"jannik siebert (https://github.com/janniks)",base00:"#16130F",base01:"#2C2620",base02:"#433B32",base03:"#5A5047",base04:"#8A8075",base05:"#A39A90",base06:"#BEB6AE",base07:"#DBD6D1",base08:"#826D57",base09:"#828257",base0A:"#6D8257",base0B:"#57826D",base0C:"#576D82",base0D:"#6D5782",base0E:"#82576D",base0F:"#825757"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"flat",author:"chris kempson (http://chriskempson.com)",base00:"#2C3E50",base01:"#34495E",base02:"#7F8C8D",base03:"#95A5A6",base04:"#BDC3C7",base05:"#e0e0e0",base06:"#f5f5f5",base07:"#ECF0F1",base08:"#E74C3C",base09:"#E67E22",base0A:"#F1C40F",base0B:"#2ECC71",base0C:"#1ABC9C",base0D:"#3498DB",base0E:"#9B59B6",base0F:"#be643c"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"google",author:"seth wright (http://sethawright.com)",base00:"#1d1f21",base01:"#282a2e",base02:"#373b41",base03:"#969896",base04:"#b4b7b4",base05:"#c5c8c6",base06:"#e0e0e0",base07:"#ffffff",base08:"#CC342B",base09:"#F96A38",base0A:"#FBA922",base0B:"#198844",base0C:"#3971ED",base0D:"#3971ED",base0E:"#A36AC7",base0F:"#3971ED"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"grayscale",author:"alexandre gavioli (https://github.com/alexx2/)",base00:"#101010",base01:"#252525",base02:"#464646",base03:"#525252",base04:"#ababab",base05:"#b9b9b9",base06:"#e3e3e3",base07:"#f7f7f7",base08:"#7c7c7c",base09:"#999999",base0A:"#a0a0a0",base0B:"#8e8e8e",base0C:"#868686",base0D:"#686868",base0E:"#747474",base0F:"#5e5e5e"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"green screen",author:"chris kempson (http://chriskempson.com)",base00:"#001100",base01:"#003300",base02:"#005500",base03:"#007700",base04:"#009900",base05:"#00bb00",base06:"#00dd00",base07:"#00ff00",base08:"#007700",base09:"#009900",base0A:"#007700",base0B:"#00bb00",base0C:"#005500",base0D:"#009900",base0E:"#00bb00",base0F:"#005500"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"harmonic16",author:"jannik siebert (https://github.com/janniks)",base00:"#0b1c2c",base01:"#223b54",base02:"#405c79",base03:"#627e99",base04:"#aabcce",base05:"#cbd6e2",base06:"#e5ebf1",base07:"#f7f9fb",base08:"#bf8b56",base09:"#bfbf56",base0A:"#8bbf56",base0B:"#56bf8b",base0C:"#568bbf",base0D:"#8b56bf",base0E:"#bf568b",base0F:"#bf5656"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"hopscotch",author:"jan t. sott",base00:"#322931",base01:"#433b42",base02:"#5c545b",base03:"#797379",base04:"#989498",base05:"#b9b5b8",base06:"#d5d3d5",base07:"#ffffff",base08:"#dd464c",base09:"#fd8b19",base0A:"#fdcc59",base0B:"#8fc13e",base0C:"#149b93",base0D:"#1290bf",base0E:"#c85e7c",base0F:"#b33508"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"isotope",author:"jan t. sott",base00:"#000000",base01:"#404040",base02:"#606060",base03:"#808080",base04:"#c0c0c0",base05:"#d0d0d0",base06:"#e0e0e0",base07:"#ffffff",base08:"#ff0000",base09:"#ff9900",base0A:"#ff0099",base0B:"#33ff00",base0C:"#00ffff",base0D:"#0066ff",base0E:"#cc00ff",base0F:"#3300ff"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"marrakesh",author:"alexandre gavioli (http://github.com/alexx2/)",base00:"#201602",base01:"#302e00",base02:"#5f5b17",base03:"#6c6823",base04:"#86813b",base05:"#948e48",base06:"#ccc37a",base07:"#faf0a5",base08:"#c35359",base09:"#b36144",base0A:"#a88339",base0B:"#18974e",base0C:"#75a738",base0D:"#477ca1",base0E:"#8868b3",base0F:"#b3588e"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"mocha",author:"chris kempson (http://chriskempson.com)",base00:"#3B3228",base01:"#534636",base02:"#645240",base03:"#7e705a",base04:"#b8afad",base05:"#d0c8c6",base06:"#e9e1dd",base07:"#f5eeeb",base08:"#cb6077",base09:"#d28b71",base0A:"#f4bc87",base0B:"#beb55b",base0C:"#7bbda4",base0D:"#8ab3b5",base0E:"#a89bb9",base0F:"#bb9584"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"monokai",author:"wimer hazenberg (http://www.monokai.nl)",base00:"#272822",base01:"#383830",base02:"#49483e",base03:"#75715e",base04:"#a59f85",base05:"#f8f8f2",base06:"#f5f4f1",base07:"#f9f8f5",base08:"#f92672",base09:"#fd971f",base0A:"#f4bf75",base0B:"#a6e22e",base0C:"#a1efe4",base0D:"#66d9ef",base0E:"#ae81ff",base0F:"#cc6633"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"ocean",author:"chris kempson (http://chriskempson.com)",base00:"#2b303b",base01:"#343d46",base02:"#4f5b66",base03:"#65737e",base04:"#a7adba",base05:"#c0c5ce",base06:"#dfe1e8",base07:"#eff1f5",base08:"#bf616a",base09:"#d08770",base0A:"#ebcb8b",base0B:"#a3be8c",base0C:"#96b5b4",base0D:"#8fa1b3",base0E:"#b48ead",base0F:"#ab7967"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"paraiso",author:"jan t. sott",base00:"#2f1e2e",base01:"#41323f",base02:"#4f424c",base03:"#776e71",base04:"#8d8687",base05:"#a39e9b",base06:"#b9b6b0",base07:"#e7e9db",base08:"#ef6155",base09:"#f99b15",base0A:"#fec418",base0B:"#48b685",base0C:"#5bc4bf",base0D:"#06b6ef",base0E:"#815ba4",base0F:"#e96ba8"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"pop",author:"chris kempson (http://chriskempson.com)",base00:"#000000",base01:"#202020",base02:"#303030",base03:"#505050",base04:"#b0b0b0",base05:"#d0d0d0",base06:"#e0e0e0",base07:"#ffffff",base08:"#eb008a",base09:"#f29333",base0A:"#f8ca12",base0B:"#37b349",base0C:"#00aabb",base0D:"#0e5a94",base0E:"#b31e8d",base0F:"#7a2d00"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"railscasts",author:"ryan bates (http://railscasts.com)",base00:"#2b2b2b",base01:"#272935",base02:"#3a4055",base03:"#5a647e",base04:"#d4cfc9",base05:"#e6e1dc",base06:"#f4f1ed",base07:"#f9f7f3",base08:"#da4939",base09:"#cc7833",base0A:"#ffc66d",base0B:"#a5c261",base0C:"#519f50",base0D:"#6d9cbe",base0E:"#b6b3eb",base0F:"#bc9458"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"shapeshifter",author:"tyler benziger (http://tybenz.com)",base00:"#000000",base01:"#040404",base02:"#102015",base03:"#343434",base04:"#555555",base05:"#ababab",base06:"#e0e0e0",base07:"#f9f9f9",base08:"#e92f2f",base09:"#e09448",base0A:"#dddd13",base0B:"#0ed839",base0C:"#23edda",base0D:"#3b48e3",base0E:"#f996e2",base0F:"#69542d"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"solarized",author:"ethan schoonover (http://ethanschoonover.com/solarized)",base00:"#002b36",base01:"#073642",base02:"#586e75",base03:"#657b83",base04:"#839496",base05:"#93a1a1",base06:"#eee8d5",base07:"#fdf6e3",base08:"#dc322f",base09:"#cb4b16",base0A:"#b58900",base0B:"#859900",base0C:"#2aa198",base0D:"#268bd2",base0E:"#6c71c4",base0F:"#d33682"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"summerfruit",author:"christopher corley (http://cscorley.github.io/)",base00:"#151515",base01:"#202020",base02:"#303030",base03:"#505050",base04:"#B0B0B0",base05:"#D0D0D0",base06:"#E0E0E0",base07:"#FFFFFF",base08:"#FF0086",base09:"#FD8900",base0A:"#ABA800",base0B:"#00C918",base0C:"#1faaaa",base0D:"#3777E6",base0E:"#AD00A1",base0F:"#cc6633"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"threezerotwofour",author:"jan t. sott (http://github.com/idleberg)",base00:"#090300",base01:"#3a3432",base02:"#4a4543",base03:"#5c5855",base04:"#807d7c",base05:"#a5a2a2",base06:"#d6d5d4",base07:"#f7f7f7",base08:"#db2d20",base09:"#e8bbd0",base0A:"#fded02",base0B:"#01a252",base0C:"#b5e4f4",base0D:"#01a0e4",base0E:"#a16a94",base0F:"#cdab53"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"tomorrow",author:"chris kempson (http://chriskempson.com)",base00:"#1d1f21",base01:"#282a2e",base02:"#373b41",base03:"#969896",base04:"#b4b7b4",base05:"#c5c8c6",base06:"#e0e0e0",base07:"#ffffff",base08:"#cc6666",base09:"#de935f",base0A:"#f0c674",base0B:"#b5bd68",base0C:"#8abeb7",base0D:"#81a2be",base0E:"#b294bb",base0F:"#a3685a"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"london tube",author:"jan t. sott",base00:"#231f20",base01:"#1c3f95",base02:"#5a5758",base03:"#737171",base04:"#959ca1",base05:"#d9d8d8",base06:"#e7e7e8",base07:"#ffffff",base08:"#ee2e24",base09:"#f386a1",base0A:"#ffd204",base0B:"#00853e",base0C:"#85cebc",base0D:"#009ddc",base0E:"#98005d",base0F:"#b06110"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"twilight",author:"david hart (http://hart-dev.com)",base00:"#1e1e1e",base01:"#323537",base02:"#464b50",base03:"#5f5a60",base04:"#838184",base05:"#a7a7a7",base06:"#c3c3c3",base07:"#ffffff",base08:"#cf6a4c",base09:"#cda869",base0A:"#f9ee98",base0B:"#8f9d6a",base0C:"#afc4db",base0D:"#7587a6",base0E:"#9b859d",base0F:"#9b703f"},e.exports=t.default},function(e,t,n){function r(e){if(e)return o(e)}function o(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}e.exports=r,r.prototype.on=r.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},r.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=r.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n=this._callbacks["$"+e];if(!n)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var r,o=0;o<n.length;o++)if(r=n[o],r===t||r.fn===t){n.splice(o,1);break}return this},r.prototype.emit=function(e){this._callbacks=this._callbacks||{};var t=[].slice.call(arguments,1),n=this._callbacks["$"+e];if(n){n=n.slice(0);for(var r=0,o=n.length;r<o;++r)n[r].apply(this,t)}return this},r.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},r.prototype.hasListeners=function(e){return!!this.listeners(e).length}},function(e,t,n){n(644),e.exports=n(70).RegExp.escape},function(e,t,n){n(133),n(621),e.exports=n(24).Array.from},function(e,t,n){n(159),n(133),e.exports=n(619)},function(e,t,n){n(159),n(133),e.exports=n(620)},function(e,t,n){var r=n(24),o=r.JSON||(r.JSON={stringify:JSON.stringify});e.exports=function(e){return o.stringify.apply(o,arguments)}},function(e,t,n){n(623),e.exports=n(24).Number.isSafeInteger},function(e,t,n){n(624),e.exports=n(24).Object.assign},function(e,t,n){n(625);var r=n(24).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){n(626);var r=n(24).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){n(627),e.exports=n(24).Object.freeze},function(e,t,n){n(628);var r=n(24).Object;e.exports=function(e){return r.getOwnPropertyNames(e)}},function(e,t,n){n(629),e.exports=n(24).Object.getPrototypeOf},function(e,t,n){n(630),e.exports=n(24).Object.keys},function(e,t,n){n(631),e.exports=n(24).Object.setPrototypeOf},function(e,t,n){n(329),n(133),n(159),n(632),e.exports=n(24).Promise},function(e,t,n){n(633),n(329),n(634),n(635),e.exports=n(24).Symbol},function(e,t,n){n(133),n(159),e.exports=n(236).f("iterator")},function(e,t){e.exports=function(){}},[1495,89,215,618],[1505,59,141],[1513,109,230,165],172,[1529,69],[1532,214,141,158,86,35],[1539,109,89],[1542,47,358,140],[1545,109,230,165,132,327,105],[1550,59,67,109,68],[1566,69,67,87,351],[1575,67,226,35],[1577,233,213],[1580,233],function(e,t,n){var r=n(67),o=n(237);e.exports=n(24).getIterator=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return r(t.call(e))}},function(e,t,n){var r=n(212),o=n(35)("iterator"),i=n(108);e.exports=n(24).isIterable=function(e){var t=Object(e);return void 0!==t[o]||"@@iterator"in t||i.hasOwnProperty(r(t))}},[1599,87,51,132,349,348,215,606,237,350],[1601,604,505,108,89,328],[1603,51,609],[1605,51,613],[1607,51,214],[1609,51,68,59],[1611,69,229,166],[1613,166,352],[1615,132,354,166],[1617,132,109,166],[1618,51,615],[1620,164,47,87,212,51,69,226,345,326,616,358,612,35,356,158,506,24,350],[1625,47,88,68,51,357,229,105,232,158,167,35,236,235,611,607,504,67,89,234,141,214,352,351,59,109,353,165,230,164,86],[1628,235],[1630,235],[1498,18,246,20],[1499,636],function(e,t,n){"use strict";var r=n(12),o=n(62),i="number";e.exports=function(e){if("string"!==e&&e!==i&&"default"!==e)throw TypeError("Incorrect hint");return o(r(this),e!=i)}},[1513,94,176,144],[1539,94,45],function(e,t,n){"use strict";var r=n(642),o=n(172),i=n(41);e.exports=function(){for(var e=i(this),t=arguments.length,n=Array(t),a=0,s=r._,u=!1;t>a;)(n[a]=arguments[a++])===s&&(u=!0);return function(){var r,i=this,a=arguments.length,c=0,l=0;if(!u&&!a)return o(e,n,i);if(r=n.slice(),u)for(;t>c;c++)r[c]===s&&(r[c]=arguments[l++]);for(;a>l;)r.push(arguments[l++]);return o(e,r,i)}}},function(e,t,n){e.exports=n(14)},function(e,t){e.exports=function(e,t){var n=t===Object(t)?function(e){return t[e]}:t;return function(t){return String(t).replace(e,n)}}},function(e,t,n){var r=n(2),o=n(643)(/[\\^$*+?.()|[\]{}]/g,"\\$&");r(r.S,"RegExp",{escape:function(e){return o(e)}})},function(e,t,n){var r=n(2);r(r.P,"Array",{copyWithin:n(360)}),n(110)("copyWithin")},function(e,t,n){"use strict";var r=n(2),o=n(60)(4);r(r.P+r.F*!n(54)([].every,!0),"Array",{every:function(e){return o(this,e,arguments[1])}})},function(e,t,n){var r=n(2);r(r.P,"Array",{fill:n(238)}),n(110)("fill")},function(e,t,n){"use strict";var r=n(2),o=n(60)(2);r(r.P+r.F*!n(54)([].filter,!0),"Array",{filter:function(e){return o(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(2),o=n(60)(6),i="findIndex",a=!0;i in[]&&Array(1)[i](function(){a=!1}),r(r.P+r.F*a,"Array",{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(110)(i)},function(e,t,n){"use strict";var r=n(2),o=n(60)(5),i="find",a=!0;i in[]&&Array(1)[i](function(){a=!1}),r(r.P+r.F*a,"Array",{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(110)(i)},function(e,t,n){"use strict";var r=n(2),o=n(60)(0),i=n(54)([].forEach,!0);r(r.P+r.F*!i,"Array",{forEach:function(e){return o(this,e,arguments[1])}})},[1599,71,2,32,369,245,31,239,262,174],function(e,t,n){"use strict";var r=n(2),o=n(168)(!1),i=[].indexOf,a=!!i&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!n(54)(i)),"Array",{indexOf:function(e){return a?i.apply(this,arguments)||0:o(this,e,arguments[1])}})},function(e,t,n){var r=n(2);r(r.S,"Array",{isArray:n(246)})},function(e,t,n){"use strict";var r=n(2),o=n(45),i=[].join;r(r.P+r.F*(n(143)!=Object||!n(54)(i)),"Array",{join:function(e){return i.call(o(this),void 0===e?",":e)}})},function(e,t,n){"use strict";var r=n(2),o=n(45),i=n(80),a=n(31),s=[].lastIndexOf,u=!!s&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(u||!n(54)(s)),"Array",{lastIndexOf:function(e){if(u)return s.apply(this,arguments)||0;var t=o(this),n=a(t.length),r=n-1;for(arguments.length>1&&(r=Math.min(r,i(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in t&&t[r]===e)return r||0;return-1}})},function(e,t,n){"use strict";var r=n(2),o=n(60)(1);r(r.P+r.F*!n(54)([].map,!0),"Array",{map:function(e){return o(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(2),o=n(239);r(r.S+r.F*n(15)(function(){function e(){}return!(Array.of.call(e)instanceof e)}),"Array",{of:function(){for(var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);t>e;)o(n,e,arguments[e++]);return n.length=t,n}})},function(e,t,n){"use strict";var r=n(2),o=n(362);r(r.P+r.F*!n(54)([].reduceRight,!0),"Array",{reduceRight:function(e){return o(this,e,arguments.length,arguments[1],!0)}})},function(e,t,n){"use strict";var r=n(2),o=n(362);r(r.P+r.F*!n(54)([].reduce,!0),"Array",{reduce:function(e){return o(this,e,arguments.length,arguments[1],!1)}})},function(e,t,n){"use strict";var r=n(2),o=n(243),i=n(52),a=n(97),s=n(31),u=[].slice;r(r.P+r.F*n(15)(function(){o&&u.call(o)}),"Array",{slice:function(e,t){var n=s(this.length),r=i(this);if(t=void 0===t?n:t,"Array"==r)return u.call(this,e,t);for(var o=a(e,n),c=a(t,n),l=s(c-o),f=Array(l),d=0;d<l;d++)f[d]="String"==r?this.charAt(o+d):this[o+d];return f}})},function(e,t,n){"use strict";var r=n(2),o=n(60)(3);r(r.P+r.F*!n(54)([].some,!0),"Array",{some:function(e){return o(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(2),o=n(41),i=n(32),a=n(15),s=[].sort,u=[1,2,3];r(r.P+r.F*(a(function(){u.sort(void 0)})||!a(function(){u.sort(null)})||!n(54)(s)),"Array",{sort:function(e){return void 0===e?s.call(i(this)):s.call(i(this),o(e))}})},function(e,t,n){n(96)("Array")},function(e,t,n){var r=n(2);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},function(e,t,n){"use strict";var r=n(2),o=n(15),i=Date.prototype.getTime,a=function(e){return e>9?e:"0"+e};r(r.P+r.F*(o(function(){return"0385-07-25T07:06:39.999Z"!=new Date(-5e13-1).toISOString()})||!o(function(){new Date(NaN).toISOString()})),"Date",{toISOString:function(){if(!isFinite(i.call(this)))throw RangeError("Invalid time value");var e=this,t=e.getUTCFullYear(),n=e.getUTCMilliseconds(),r=t<0?"-":t>9999?"+":"";return r+("00000"+Math.abs(t)).slice(r?-6:-4)+"-"+a(e.getUTCMonth()+1)+"-"+a(e.getUTCDate())+"T"+a(e.getUTCHours())+":"+a(e.getUTCMinutes())+":"+a(e.getUTCSeconds())+"."+(n>99?n:"0"+a(n))+"Z"}})},function(e,t,n){"use strict";var r=n(2),o=n(32),i=n(62);r(r.P+r.F*n(15)(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(e){var t=o(this),n=i(t);return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},function(e,t,n){var r=n(20)("toPrimitive"),o=Date.prototype;r in o||n(42)(o,r,n(638))},function(e,t,n){var r=Date.prototype,o="Invalid Date",i="toString",a=r[i],s=r.getTime;new Date(NaN)+""!=o&&n(43)(r,i,function(){var e=s.call(this);return e===e?a.call(this):o})},function(e,t,n){var r=n(2);r(r.P,"Function",{bind:n(363)})},function(e,t,n){"use strict";var r=n(18),o=n(49),i=n(20)("hasInstance"),a=Function.prototype;i in a||n(26).f(a,i,{value:function(e){if("function"!=typeof this||!r(e))return!1;if(!r(this.prototype))return e instanceof this;for(;e=o(e);)if(this.prototype===e)return!0;return!1}})},function(e,t,n){var r=n(26).f,o=n(79),i=n(37),a=Function.prototype,s=/^\s*function ([^ (]*)/,u="name",c=Object.isExtensible||function(){return!0};u in a||n(25)&&r(a,u,{configurable:!0,get:function(){try{var e=this,t=(""+e).match(s)[1];return i(e,u)||!c(e)||r(e,u,o(5,t)),t}catch(e){return""}}})},function(e,t,n){var r=n(2),o=n(371),i=Math.sqrt,a=Math.acosh;r(r.S+r.F*!(a&&710==Math.floor(a(Number.MAX_VALUE))&&a(1/0)==1/0),"Math",{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?Math.log(e)+Math.LN2:o(e-1+i(e-1)*i(e+1))}})},function(e,t,n){function r(e){return isFinite(e=+e)&&0!=e?e<0?-r(-e):Math.log(e+Math.sqrt(e*e+1)):e}var o=n(2),i=Math.asinh;o(o.S+o.F*!(i&&1/i(0)>0),"Math",{asinh:r})},function(e,t,n){var r=n(2),o=Math.atanh;r(r.S+r.F*!(o&&1/o(-0)<0),"Math",{atanh:function(e){return 0==(e=+e)?e:Math.log((1+e)/(1-e))/2}})},function(e,t,n){var r=n(2),o=n(250);r(r.S,"Math",{cbrt:function(e){return o(e=+e)*Math.pow(Math.abs(e),1/3)}})},function(e,t,n){var r=n(2);r(r.S,"Math",{clz32:function(e){return(e>>>=0)?31-Math.floor(Math.log(e+.5)*Math.LOG2E):32}})},function(e,t,n){var r=n(2),o=Math.exp;r(r.S,"Math",{cosh:function(e){return(o(e=+e)+o(-e))/2}})},function(e,t,n){var r=n(2),o=n(249);r(r.S+r.F*(o!=Math.expm1),"Math",{expm1:o})},function(e,t,n){var r=n(2),o=n(250),i=Math.pow,a=i(2,-52),s=i(2,-23),u=i(2,127)*(2-s),c=i(2,-126),l=function(e){return e+1/a-1/a};r(r.S,"Math",{fround:function(e){var t,n,r=Math.abs(e),i=o(e);return r<c?i*l(r/c/s)*c*s:(t=(1+s/a)*r,n=t-(t-r),n>u||n!=n?i*(1/0):i*n)}})},function(e,t,n){var r=n(2),o=Math.abs;r(r.S,"Math",{hypot:function(e,t){for(var n,r,i=0,a=0,s=arguments.length,u=0;a<s;)n=o(arguments[a++]),u<n?(r=u/n,i=i*r*r+1,u=n):n>0?(r=n/u,i+=r*r):i+=n;return u===1/0?1/0:u*Math.sqrt(i)}})},function(e,t,n){var r=n(2),o=Math.imul;r(r.S+r.F*n(15)(function(){return o(4294967295,5)!=-5||2!=o.length}),"Math",{imul:function(e,t){var n=65535,r=+e,o=+t,i=n&r,a=n&o;return 0|i*a+((n&r>>>16)*a+i*(n&o>>>16)<<16>>>0)}})},function(e,t,n){var r=n(2);r(r.S,"Math",{log10:function(e){return Math.log(e)/Math.LN10}})},function(e,t,n){var r=n(2);r(r.S,"Math",{log1p:n(371)})},function(e,t,n){var r=n(2);r(r.S,"Math",{log2:function(e){return Math.log(e)/Math.LN2}})},function(e,t,n){var r=n(2);r(r.S,"Math",{sign:n(250)})},function(e,t,n){var r=n(2),o=n(249),i=Math.exp;r(r.S+r.F*n(15)(function(){return!Math.sinh(-2e-17)!=-2e-17}),"Math",{sinh:function(e){return Math.abs(e=+e)<1?(o(e)-o(-e))/2:(i(e-1)-i(-e-1))*(Math.E/2)}})},function(e,t,n){var r=n(2),o=n(249),i=Math.exp;r(r.S,"Math",{tanh:function(e){var t=o(e=+e),n=o(-e);return t==1/0?1:n==1/0?-1:(t-n)/(i(e)+i(-e))}})},function(e,t,n){var r=n(2);r(r.S,"Math",{trunc:function(e){return(e>0?Math.floor:Math.ceil)(e)}})},function(e,t,n){"use strict";var r=n(14),o=n(37),i=n(52),a=n(244),s=n(62),u=n(15),c=n(93).f,l=n(48).f,f=n(26).f,d=n(114).trim,p="Number",h=r[p],v=h,y=h.prototype,g=i(n(92)(y))==p,m="trim"in String.prototype,_=function(e){var t=s(e,!1);if("string"==typeof t&&t.length>2){t=m?t.trim():d(t,3);var n,r,o,i=t.charCodeAt(0);if(43===i||45===i){if(n=t.charCodeAt(2),88===n||120===n)return NaN}else if(48===i){switch(t.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+t}for(var a,u=t.slice(2),c=0,l=u.length;c<l;c++)if(a=u.charCodeAt(c),a<48||a>o)return NaN;return parseInt(u,r)}}return+t};if(!h(" 0o1")||!h("0b1")||h("+0x1")){h=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof h&&(g?u(function(){y.valueOf.call(n)}):i(n)!=p)?a(new v(_(t)),n,h):_(t)};for(var b,w=n(25)?c(v):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),E=0;w.length>E;E++)o(v,b=w[E])&&!o(h,b)&&f(h,b,l(v,b));h.prototype=y,y.constructor=h,n(43)(r,p,h)}},function(e,t,n){var r=n(2);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(e,t,n){var r=n(2),o=n(14).isFinite;r(r.S,"Number",{isFinite:function(e){return"number"==typeof e&&o(e)}})},function(e,t,n){var r=n(2);r(r.S,"Number",{isInteger:n(368)})},function(e,t,n){var r=n(2);r(r.S,"Number",{isNaN:function(e){return e!=e}})},[1603,2,368],function(e,t,n){var r=n(2);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(e,t,n){var r=n(2);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(e,t,n){var r=n(2),o=n(378);r(r.S+r.F*(Number.parseFloat!=o),"Number",{parseFloat:o})},function(e,t,n){var r=n(2),o=n(379);r(r.S+r.F*(Number.parseInt!=o),"Number",{parseInt:o})},function(e,t,n){"use strict";var r=n(2),o=n(80),i=n(359),a=n(257),s=1..toFixed,u=Math.floor,c=[0,0,0,0,0,0],l="Number.toFixed: incorrect invocation!",f="0",d=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*c[n],c[n]=r%1e7,r=u(r/1e7)},p=function(e){for(var t=6,n=0;--t>=0;)n+=c[t],c[t]=u(n/e),n=n%e*1e7},h=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==c[e]){var n=String(c[e]);t=""===t?n:t+a.call(f,7-n.length)+n}return t},v=function(e,t,n){return 0===t?n:t%2===1?v(e,t-1,n*e):v(e*e,t/2,n)},y=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t};r(r.P+r.F*(!!s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(15)(function(){s.call({})})),"Number",{toFixed:function(e){
+var t,n,r,s,u=i(this,l),c=o(e),g="",m=f;if(c<0||c>20)throw RangeError(l);if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(g="-",u=-u),u>1e-21)if(t=y(u*v(2,69,1))-69,n=t<0?u*v(2,-t,1):u/v(2,t,1),n*=4503599627370496,t=52-t,t>0){for(d(0,n),r=c;r>=7;)d(1e7,0),r-=7;for(d(v(10,r,1),0),r=t-1;r>=23;)p(1<<23),r-=23;p(1<<r),d(1,1),p(2),m=h()}else d(0,n),d(1<<-t,0),m=h()+a.call(f,c);return c>0?(s=m.length,m=g+(s<=c?"0."+a.call(f,c-s)+m:m.slice(0,s-c)+"."+m.slice(s-c))):m=g+m,m}})},function(e,t,n){"use strict";var r=n(2),o=n(15),i=n(359),a=1..toPrecision;r(r.P+r.F*(o(function(){return"1"!==a.call(1,void 0)})||!o(function(){a.call({})})),"Number",{toPrecision:function(e){var t=i(this,"Number#toPrecision: incorrect invocation!");return void 0===e?a.call(t):a.call(t,e)}})},[1605,2,372],[1607,2,92],function(e,t,n){var r=n(2);r(r.S+r.F*!n(25),"Object",{defineProperties:n(373)})},[1609,2,25,26],[1611,18,78,61],function(e,t,n){var r=n(45),o=n(48).f;n(61)("getOwnPropertyDescriptor",function(){return function(e,t){return o(r(e),t)}})},[1613,61,374],[1615,32,49,61],function(e,t,n){var r=n(18);n(61)("isExtensible",function(e){return function(t){return!!r(t)&&(!e||e(t))}})},function(e,t,n){var r=n(18);n(61)("isFrozen",function(e){return function(t){return!r(t)||!!e&&e(t)}})},function(e,t,n){var r=n(18);n(61)("isSealed",function(e){return function(t){return!r(t)||!!e&&e(t)}})},function(e,t,n){var r=n(2);r(r.S,"Object",{is:n(380)})},[1617,32,94,61],function(e,t,n){var r=n(18),o=n(78).onFreeze;n(61)("preventExtensions",function(e){return function(t){return e&&r(t)?e(o(t)):t}})},function(e,t,n){var r=n(18),o=n(78).onFreeze;n(61)("seal",function(e){return function(t){return e&&r(t)?e(o(t)):t}})},[1618,2,252],function(e,t,n){"use strict";var r=n(142),o={};o[n(20)("toStringTag")]="z",o+""!="[object z]"&&n(43)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(e,t,n){var r=n(2),o=n(378);r(r.G+r.F*(parseFloat!=o),{parseFloat:o})},function(e,t,n){var r=n(2),o=n(379);r(r.G+r.F*(parseInt!=o),{parseInt:o})},[1620,91,14,71,142,2,18,41,90,111,254,259,251,20,95,113,96,70,174],function(e,t,n){var r=n(2),o=n(41),i=n(12),a=(n(14).Reflect||{}).apply,s=Function.apply;r(r.S+r.F*!n(15)(function(){a(function(){})}),"Reflect",{apply:function(e,t,n){var r=o(e),u=i(n);return a?a(r,t,u):s.call(r,t,u)}})},function(e,t,n){var r=n(2),o=n(92),i=n(41),a=n(12),s=n(18),u=n(15),c=n(363),l=(n(14).Reflect||{}).construct,f=u(function(){function e(){}return!(l(function(){},[],e)instanceof e)}),d=!u(function(){l(function(){})});r(r.S+r.F*(f||d),"Reflect",{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(d&&!f)return l(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(c.apply(e,r))}var u=n.prototype,p=o(s(u)?u:Object.prototype),h=Function.apply.call(e,p,t);return s(h)?h:p}})},function(e,t,n){var r=n(26),o=n(2),i=n(12),a=n(62);o(o.S+o.F*n(15)(function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(e,t,n){i(e),t=a(t,!0),i(n);try{return r.f(e,t,n),!0}catch(e){return!1}}})},function(e,t,n){var r=n(2),o=n(48).f,i=n(12);r(r.S,"Reflect",{deleteProperty:function(e,t){var n=o(i(e),t);return!(n&&!n.configurable)&&delete e[t]}})},function(e,t,n){"use strict";var r=n(2),o=n(12),i=function(e){this._t=o(e),this._i=0;var t,n=this._k=[];for(t in e)n.push(t)};n(247)(i,"Object",function(){var e,t=this,n=t._k;do if(t._i>=n.length)return{value:void 0,done:!0};while(!((e=n[t._i++])in t._t));return{value:e,done:!1}}),r(r.S,"Reflect",{enumerate:function(e){return new i(e)}})},function(e,t,n){var r=n(48),o=n(2),i=n(12);o(o.S,"Reflect",{getOwnPropertyDescriptor:function(e,t){return r.f(i(e),t)}})},function(e,t,n){var r=n(2),o=n(49),i=n(12);r(r.S,"Reflect",{getPrototypeOf:function(e){return o(i(e))}})},function(e,t,n){function r(e,t){var n,s,l=arguments.length<3?e:arguments[2];return c(e)===l?e[t]:(n=o.f(e,t))?a(n,"value")?n.value:void 0!==n.get?n.get.call(l):void 0:u(s=i(e))?r(s,t,l):void 0}var o=n(48),i=n(49),a=n(37),s=n(2),u=n(18),c=n(12);s(s.S,"Reflect",{get:r})},function(e,t,n){var r=n(2);r(r.S,"Reflect",{has:function(e,t){return t in e}})},function(e,t,n){var r=n(2),o=n(12),i=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(e){return o(e),!i||i(e)}})},function(e,t,n){var r=n(2);r(r.S,"Reflect",{ownKeys:n(377)})},function(e,t,n){var r=n(2),o=n(12),i=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(e){o(e);try{return i&&i(e),!0}catch(e){return!1}}})},function(e,t,n){var r=n(2),o=n(252);o&&r(r.S,"Reflect",{setPrototypeOf:function(e,t){o.check(e,t);try{return o.set(e,t),!0}catch(e){return!1}}})},function(e,t,n){function r(e,t,n){var u,d,p=arguments.length<4?e:arguments[3],h=i.f(l(e),t);if(!h){if(f(d=a(e)))return r(d,t,n,p);h=c(0)}return s(h,"value")?!(h.writable===!1||!f(p))&&(u=i.f(p,t)||c(0),u.value=n,o.f(p,t,u),!0):void 0!==h.set&&(h.set.call(p,n),!0)}var o=n(26),i=n(48),a=n(49),s=n(37),u=n(2),c=n(79),l=n(12),f=n(18);u(u.S,"Reflect",{set:r})},function(e,t,n){var r=n(14),o=n(244),i=n(26).f,a=n(93).f,s=n(173),u=n(171),c=r.RegExp,l=c,f=c.prototype,d=/a/g,p=/a/g,h=new c(d)!==d;if(n(25)&&(!h||n(15)(function(){return p[n(20)("match")]=!1,c(d)!=d||c(p)==p||"/a/i"!=c(d,"i")}))){c=function(e,t){var n=this instanceof c,r=s(e),i=void 0===t;return!n&&r&&e.constructor===c&&i?e:o(h?new l(r&&!i?e.source:e,t):l((r=e instanceof c)?e.source:e,r&&i?u.call(e):t),n?this:f,c)};for(var v=(function(e){e in c||i(c,e,{configurable:!0,get:function(){return l[e]},set:function(t){l[e]=t}})}),y=a(l),g=0;y.length>g;)v(y[g++]);f.constructor=c,c.prototype=f,n(43)(r,"RegExp",c)}n(96)("RegExp")},function(e,t,n){n(170)("match",1,function(e,t,n){return[function(n){"use strict";var r=e(this),o=void 0==n?void 0:n[t];return void 0!==o?o.call(n,r):new RegExp(n)[t](String(r))},n]})},function(e,t,n){n(170)("replace",2,function(e,t,n){return[function(r,o){"use strict";var i=e(this),a=void 0==r?void 0:r[t];return void 0!==a?a.call(r,i,o):n.call(String(i),r,o)},n]})},function(e,t,n){n(170)("search",1,function(e,t,n){return[function(n){"use strict";var r=e(this),o=void 0==n?void 0:n[t];return void 0!==o?o.call(n,r):new RegExp(n)[t](String(r))},n]})},function(e,t,n){n(170)("split",2,function(e,t,r){"use strict";var o=n(173),i=r,a=[].push,s="split",u="length",c="lastIndex";if("c"=="abbc"[s](/(b)*/)[1]||4!="test"[s](/(?:)/,-1)[u]||2!="ab"[s](/(?:ab)*/)[u]||4!="."[s](/(.?)(.?)/)[u]||"."[s](/()()/)[u]>1||""[s](/.?/)[u]){var l=void 0===/()??/.exec("")[1];r=function(e,t){var n=String(this);if(void 0===e&&0===t)return[];if(!o(e))return i.call(n,e,t);var r,s,f,d,p,h=[],v=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),y=0,g=void 0===t?4294967295:t>>>0,m=new RegExp(e.source,v+"g");for(l||(r=new RegExp("^"+m.source+"$(?!\\s)",v));(s=m.exec(n))&&(f=s.index+s[0][u],!(f>y&&(h.push(n.slice(y,s.index)),!l&&s[u]>1&&s[0].replace(r,function(){for(p=1;p<arguments[u]-2;p++)void 0===arguments[p]&&(s[p]=void 0)}),s[u]>1&&s.index<n[u]&&a.apply(h,s.slice(1)),d=s[0][u],y=f,h[u]>=g)));)m[c]===s.index&&m[c]++;return y===n[u]?!d&&m.test("")||h.push(""):h.push(n.slice(y)),h[u]>g?h.slice(0,g):h}}else"0"[s](void 0,0)[u]&&(r=function(e,t){return void 0===e&&0===t?[]:i.call(this,e,t)});return[function(n,o){var i=e(this),a=void 0==n?void 0:n[t];return void 0!==a?a.call(n,i,o):r.call(String(i),n,o)},r]})},function(e,t,n){"use strict";n(384);var r=n(12),o=n(171),i=n(25),a="toString",s=/./[a],u=function(e){n(43)(RegExp.prototype,a,e,!0)};n(15)(function(){return"/a/b"!=s.call({source:"a",flags:"b"})})?u(function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!i&&e instanceof RegExp?o.call(e):void 0)}):s.name!=a&&u(function(){return s.call(this)})},function(e,t,n){"use strict";n(44)("anchor",function(e){return function(t){return e(this,"a","name",t)}})},function(e,t,n){"use strict";n(44)("big",function(e){return function(){return e(this,"big","","")}})},function(e,t,n){"use strict";n(44)("blink",function(e){return function(){return e(this,"blink","","")}})},function(e,t,n){"use strict";n(44)("bold",function(e){return function(){return e(this,"b","","")}})},function(e,t,n){"use strict";var r=n(2),o=n(255)(!1);r(r.P,"String",{codePointAt:function(e){return o(this,e)}})},function(e,t,n){"use strict";var r=n(2),o=n(31),i=n(256),a="endsWith",s=""[a];r(r.P+r.F*n(242)(a),"String",{endsWith:function(e){var t=i(this,e,a),n=arguments.length>1?arguments[1]:void 0,r=o(t.length),u=void 0===n?r:Math.min(o(n),r),c=String(e);return s?s.call(t,c,u):t.slice(u-c.length,u)===c}})},function(e,t,n){"use strict";n(44)("fixed",function(e){return function(){return e(this,"tt","","")}})},function(e,t,n){"use strict";n(44)("fontcolor",function(e){return function(t){return e(this,"font","color",t)}})},function(e,t,n){"use strict";n(44)("fontsize",function(e){return function(t){return e(this,"font","size",t)}})},function(e,t,n){var r=n(2),o=n(97),i=String.fromCharCode,a=String.fromCodePoint;r(r.S+r.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(e){for(var t,n=[],r=arguments.length,a=0;r>a;){if(t=+arguments[a++],o(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?i(t):i(((t-=65536)>>10)+55296,t%1024+56320))}return n.join("")}})},function(e,t,n){"use strict";var r=n(2),o=n(256),i="includes";r(r.P+r.F*n(242)(i),"String",{includes:function(e){return!!~o(this,e,i).indexOf(e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";n(44)("italics",function(e){return function(){return e(this,"i","","")}})},[1624,255,248],function(e,t,n){"use strict";n(44)("link",function(e){return function(t){return e(this,"a","href",t)}})},function(e,t,n){var r=n(2),o=n(45),i=n(31);r(r.S,"String",{raw:function(e){for(var t=o(e.raw),n=i(t.length),r=arguments.length,a=[],s=0;n>s;)a.push(String(t[s++])),s<r&&a.push(String(arguments[s]));return a.join("")}})},function(e,t,n){var r=n(2);r(r.P,"String",{repeat:n(257)})},function(e,t,n){"use strict";n(44)("small",function(e){return function(){return e(this,"small","","")}})},function(e,t,n){"use strict";var r=n(2),o=n(31),i=n(256),a="startsWith",s=""[a];r(r.P+r.F*n(242)(a),"String",{startsWith:function(e){var t=i(this,e,a),n=o(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return s?s.call(t,r,n):t.slice(n,n+r.length)===r}})},function(e,t,n){"use strict";n(44)("strike",function(e){return function(){return e(this,"strike","","")}})},function(e,t,n){"use strict";n(44)("sub",function(e){return function(){return e(this,"sub","","")}})},function(e,t,n){"use strict";n(44)("sup",function(e){return function(){return e(this,"sup","","")}})},function(e,t,n){"use strict";n(114)("trim",function(e){return function(){return e(this,3)}})},[1625,14,37,25,2,43,78,15,177,113,98,20,382,261,640,639,246,12,45,62,79,92,374,48,26,94,93,144,176,91,42],function(e,t,n){"use strict";var r=n(2),o=n(178),i=n(260),a=n(12),s=n(97),u=n(31),c=n(18),l=n(14).ArrayBuffer,f=n(254),d=i.ArrayBuffer,p=i.DataView,h=o.ABV&&l.isView,v=d.prototype.slice,y=o.VIEW,g="ArrayBuffer";r(r.G+r.W+r.F*(l!==d),{ArrayBuffer:d}),r(r.S+r.F*!o.CONSTR,g,{isView:function(e){return h&&h(e)||c(e)&&y in e}}),r(r.P+r.U+r.F*n(15)(function(){return!new d(2).slice(1,void 0).byteLength}),g,{slice:function(e,t){if(void 0!==v&&void 0===t)return v.call(a(this),e);for(var n=a(this).byteLength,r=s(e,n),o=s(void 0===t?n:t,n),i=new(f(this,d))(u(o-r)),c=new p(this),l=new p(i),h=0;r<o;)l.setUint8(h++,c.getUint8(r++));return i}}),n(96)(g)},function(e,t,n){var r=n(2);r(r.G+r.W+r.F*!n(178).ABV,{DataView:n(260).DataView})},function(e,t,n){n(73)("Float32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(73)("Float64",8,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(73)("Int16",2,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(73)("Int32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(73)("Int8",1,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(73)("Uint16",2,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(73)("Uint32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(73)("Uint8",1,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(73)("Uint8",1,function(e){return function(t,n,r){return e(this,t,n,r)}},!0)},function(e,t,n){"use strict";var r=n(366);n(169)("WeakSet",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return r.def(this,e,!0)}},r,!1,!0)},function(e,t,n){"use strict";var r=n(2),o=n(168)(!0);r(r.P,"Array",{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(110)("includes")},function(e,t,n){var r=n(2),o=n(251)(),i=n(14).process,a="process"==n(52)(i);r(r.G,{asap:function(e){var t=a&&i.domain;o(t?t.bind(e):e)}})},function(e,t,n){var r=n(2),o=n(52);r(r.S,"Error",{isError:function(e){return"Error"===o(e)}})},function(e,t,n){var r=n(2);r(r.P+r.R,"Map",{toJSON:n(365)("Map")})},function(e,t,n){var r=n(2);r(r.S,"Math",{iaddh:function(e,t,n,r){var o=e>>>0,i=t>>>0,a=n>>>0;return i+(r>>>0)+((o&a|(o|a)&~(o+a>>>0))>>>31)|0}})},function(e,t,n){var r=n(2);r(r.S,"Math",{imulh:function(e,t){var n=65535,r=+e,o=+t,i=r&n,a=o&n,s=r>>16,u=o>>16,c=(s*a>>>0)+(i*a>>>16);return s*u+(c>>16)+((i*u>>>0)+(c&n)>>16)}})},function(e,t,n){var r=n(2);r(r.S,"Math",{isubh:function(e,t,n,r){var o=e>>>0,i=t>>>0,a=n>>>0;return i-(r>>>0)-((~o&a|~(o^a)&o-a>>>0)>>>31)|0}})},function(e,t,n){var r=n(2);r(r.S,"Math",{umulh:function(e,t){var n=65535,r=+e,o=+t,i=r&n,a=o&n,s=r>>>16,u=o>>>16,c=(s*a>>>0)+(i*a>>>16);return s*u+(c>>>16)+((i*u>>>0)+(c&n)>>>16)}})},function(e,t,n){"use strict";var r=n(2),o=n(32),i=n(41),a=n(26);n(25)&&r(r.P+n(175),"Object",{__defineGetter__:function(e,t){a.f(o(this),e,{get:i(t),enumerable:!0,configurable:!0})}})},function(e,t,n){"use strict";var r=n(2),o=n(32),i=n(41),a=n(26);n(25)&&r(r.P+n(175),"Object",{__defineSetter__:function(e,t){a.f(o(this),e,{set:i(t),enumerable:!0,configurable:!0})}})},function(e,t,n){var r=n(2),o=n(376)(!0);r(r.S,"Object",{entries:function(e){return o(e)}})},function(e,t,n){var r=n(2),o=n(377),i=n(45),a=n(48),s=n(239);r(r.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n=i(e),r=a.f,u=o(n),c={},l=0;u.length>l;)s(c,t=u[l++],r(n,t));return c}})},function(e,t,n){"use strict";var r=n(2),o=n(32),i=n(62),a=n(49),s=n(48).f;n(25)&&r(r.P+n(175),"Object",{__lookupGetter__:function(e){var t,n=o(this),r=i(e,!0);do if(t=s(n,r))return t.get;while(n=a(n))}})},function(e,t,n){"use strict";var r=n(2),o=n(32),i=n(62),a=n(49),s=n(48).f;n(25)&&r(r.P+n(175),"Object",{__lookupSetter__:function(e){var t,n=o(this),r=i(e,!0);do if(t=s(n,r))return t.set;while(n=a(n))}})},function(e,t,n){var r=n(2),o=n(376)(!1);r(r.S,"Object",{values:function(e){return o(e)}})},function(e,t,n){"use strict";var r=n(2),o=n(14),i=n(70),a=n(251)(),s=n(20)("observable"),u=n(41),c=n(12),l=n(90),f=n(95),d=n(42),p=n(111),h=p.RETURN,v=function(e){return null==e?void 0:u(e)},y=function(e){var t=e._c;t&&(e._c=void 0,t())},g=function(e){return void 0===e._o},m=function(e){g(e)||(e._o=void 0,y(e))},_=function(e,t){c(e),this._c=void 0,this._o=e,e=new b(this);try{var n=t(e),r=n;null!=n&&("function"==typeof n.unsubscribe?n=function(){r.unsubscribe()}:u(n),this._c=n)}catch(t){return void e.error(t)}g(this)&&y(this)};_.prototype=f({},{unsubscribe:function(){m(this)}});var b=function(e){this._s=e};b.prototype=f({},{next:function(e){var t=this._s;if(!g(t)){var n=t._o;try{var r=v(n.next);if(r)return r.call(n,e)}catch(e){try{m(t)}finally{throw e}}}},error:function(e){var t=this._s;if(g(t))throw e;var n=t._o;t._o=void 0;try{var r=v(n.error);if(!r)throw e;e=r.call(n,e)}catch(e){try{y(t)}finally{throw e}}return y(t),e},complete:function(e){var t=this._s;if(!g(t)){var n=t._o;t._o=void 0;try{var r=v(n.complete);e=r?r.call(n,e):void 0}catch(e){try{y(t)}finally{throw e}}return y(t),e}}});var w=function(e){l(this,w,"Observable","_f")._f=u(e)};f(w.prototype,{subscribe:function(e){return new _(e,this._f)},forEach:function(e){var t=this;return new(i.Promise||o.Promise)(function(n,r){u(e);var o=t.subscribe({next:function(t){try{return e(t)}catch(e){r(e),o.unsubscribe()}},error:r,complete:n})})}}),f(w,{from:function(e){var t="function"==typeof this?this:w,n=v(c(e)[s]);if(n){var r=c(n.call(e));return r.constructor===t?r:new t(function(e){return r.subscribe(e)})}return new t(function(t){var n=!1;return a(function(){if(!n){try{if(p(e,!1,function(e){if(t.next(e),n)return h})===h)return}catch(e){if(n)throw e;return void t.error(e)}t.complete()}}),function(){n=!0}})},of:function(){for(var e=0,t=arguments.length,n=Array(t);e<t;)n[e]=arguments[e++];return new("function"==typeof this?this:w)(function(e){var t=!1;return a(function(){if(!t){for(var r=0;r<n.length;++r)if(e.next(n[r]),t)return;e.complete()}}),function(){t=!0}})}}),d(w.prototype,s,function(){return this}),r(r.G,{Observable:w}),n(96)("Observable")},function(e,t,n){var r=n(72),o=n(12),i=r.key,a=r.set;r.exp({defineMetadata:function(e,t,n,r){a(e,t,o(n),i(r))}})},function(e,t,n){var r=n(72),o=n(12),i=r.key,a=r.map,s=r.store;r.exp({deleteMetadata:function(e,t){var n=arguments.length<3?void 0:i(arguments[2]),r=a(o(t),n,!1);if(void 0===r||!r.delete(e))return!1;if(r.size)return!0;var u=s.get(t);return u.delete(n),!!u.size||s.delete(t)}})},function(e,t,n){var r=n(385),o=n(361),i=n(72),a=n(12),s=n(49),u=i.keys,c=i.key,l=function(e,t){var n=u(e,t),i=s(e);if(null===i)return n;var a=l(i,t);return a.length?n.length?o(new r(n.concat(a))):a:n};i.exp({getMetadataKeys:function(e){return l(a(e),arguments.length<2?void 0:c(arguments[1]))}})},function(e,t,n){var r=n(72),o=n(12),i=n(49),a=r.has,s=r.get,u=r.key,c=function(e,t,n){var r=a(e,t,n);if(r)return s(e,t,n);var o=i(t);return null!==o?c(e,o,n):void 0};r.exp({getMetadata:function(e,t){return c(e,o(t),arguments.length<3?void 0:u(arguments[2]))}})},function(e,t,n){var r=n(72),o=n(12),i=r.keys,a=r.key;r.exp({getOwnMetadataKeys:function(e){return i(o(e),arguments.length<2?void 0:a(arguments[1]))}})},function(e,t,n){var r=n(72),o=n(12),i=r.get,a=r.key;r.exp({getOwnMetadata:function(e,t){return i(e,o(t),arguments.length<3?void 0:a(arguments[2]))}})},function(e,t,n){var r=n(72),o=n(12),i=n(49),a=r.has,s=r.key,u=function(e,t,n){var r=a(e,t,n);if(r)return!0;var o=i(t);return null!==o&&u(e,o,n)};r.exp({hasMetadata:function(e,t){return u(e,o(t),arguments.length<3?void 0:s(arguments[2]))}})},function(e,t,n){var r=n(72),o=n(12),i=r.has,a=r.key;r.exp({hasOwnMetadata:function(e,t){return i(e,o(t),arguments.length<3?void 0:a(arguments[2]))}})},function(e,t,n){var r=n(72),o=n(12),i=n(41),a=r.key,s=r.set;r.exp({metadata:function(e,t){return function(n,r){s(e,t,(void 0!==r?o:i)(n),a(r))}}})},[1627,2,365],function(e,t,n){"use strict";var r=n(2),o=n(255)(!0);r(r.P,"String",{at:function(e){return o(this,e)}})},function(e,t,n){"use strict";var r=n(2),o=n(53),i=n(31),a=n(173),s=n(171),u=RegExp.prototype,c=function(e,t){this._r=e,this._s=t};n(247)(c,"RegExp String",function(){var e=this._r.exec(this._s);return{value:e,done:null===e}}),r(r.P,"String",{matchAll:function(e){if(o(this),!a(e))throw TypeError(e+" is not a regexp!");var t=String(this),n="flags"in u?String(e.flags):s.call(e),r=new RegExp(e.source,~n.indexOf("g")?n:"g"+n);return r.lastIndex=i(e.lastIndex),new c(r,t)}})},function(e,t,n){"use strict";var r=n(2),o=n(381);r(r.P,"String",{padEnd:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0,!1)}})},function(e,t,n){"use strict";var r=n(2),o=n(381);r(r.P,"String",{padStart:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0,!0)}})},function(e,t,n){"use strict";n(114)("trimLeft",function(e){return function(){return e(this,1)}},"trimStart")},function(e,t,n){"use strict";n(114)("trimRight",function(e){return function(){return e(this,2)}},"trimEnd")},[1628,261],[1630,261],function(e,t,n){var r=n(2);r(r.S,"System",{global:n(14)})},function(e,t,n){for(var r=n(263),o=n(43),i=n(14),a=n(42),s=n(112),u=n(20),c=u("iterator"),l=u("toStringTag"),f=s.Array,d=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],p=0;p<5;p++){var h,v=d[p],y=i[v],g=y&&y.prototype;if(g){g[c]||a(g,c,f),g[l]||a(g,l,v),s[v]=f;for(h in r)g[h]||o(g,h,r[h],!0)}}},function(e,t,n){var r=n(2),o=n(259);r(r.G+r.B,{setImmediate:o.set,clearImmediate:o.clear})},function(e,t,n){var r=n(14),o=n(2),i=n(172),a=n(641),s=r.navigator,u=!!s&&/MSIE .\./.test(s.userAgent),c=function(e){return u?function(t,n){return e(i(a,[].slice.call(arguments,2),"function"==typeof t?t:Function(t)),n)}:e};o(o.G+o.B+o.F*u,{setTimeout:c(r.setTimeout),setInterval:c(r.setInterval)})},function(e,t,n){n(764),n(703),n(705),n(704),n(707),n(709),n(714),n(708),n(706),n(716),n(715),n(711),n(712),n(710),n(702),n(713),n(717),n(718),n(670),n(672),n(671),n(720),n(719),n(690),n(700),n(701),n(691),n(692),n(693),n(694),n(695),n(696),n(697),n(698),n(699),n(673),n(674),n(675),n(676),n(677),n(678),n(679),n(680),n(681),n(682),n(683),n(684),n(685),n(686),n(687),n(688),n(689),n(751),n(756),n(763),n(754),n(746),n(747),n(752),n(757),n(759),n(742),n(743),n(744),n(745),n(748),n(749),n(750),n(753),n(755),n(758),n(760),n(761),n(762),n(665),n(667),n(666),n(669),n(668),n(654),n(652),n(658),n(655),n(661),n(663),n(651),n(657),n(648),n(662),n(646),n(660),n(659),n(653),n(656),n(645),n(647),n(650),n(649),n(664),n(263),n(736),n(741),n(384),n(737),n(738),n(739),n(740),n(721),n(383),n(385),n(386),n(776),n(765),n(766),n(771),n(774),n(775),n(769),n(772),n(770),n(773),n(767),n(768),n(722),n(723),n(724),n(725),n(726),n(729),n(727),n(728),n(730),n(731),n(732),n(733),n(735),n(734),n(777),n(803),n(806),n(805),n(807),n(808),n(804),n(809),n(810),n(788),n(791),n(787),n(785),n(786),n(789),n(790),n(780),n(802),n(811),n(779),n(781),n(783),n(782),n(784),n(793),n(794),n(796),n(795),n(798),n(797),n(799),n(800),n(801),n(778),n(792),n(814),n(813),n(812),e.exports=n(70)},function(e,t,n){"use strict";function r(e){return e}function o(e,t,n){function o(e,t){var n=m.hasOwnProperty(t)?m[t]:null;w.hasOwnProperty(t)&&u("OVERRIDE_BASE"===n,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",t),e&&u("DEFINE_MANY"===n||"DEFINE_MANY_MERGED"===n,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",t)}function i(e,n){if(n){u("function"!=typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),u(!t(n),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var r=e.prototype,i=r.__reactAutoBindPairs;n.hasOwnProperty(c)&&_.mixins(e,n.mixins);for(var a in n)if(n.hasOwnProperty(a)&&a!==c){var s=n[a],l=r.hasOwnProperty(a);if(o(l,a),_.hasOwnProperty(a))_[a](e,s);else{var f=m.hasOwnProperty(a),h="function"==typeof s,v=h&&!f&&!l&&n.autobind!==!1;if(v)i.push(a,s),r[a]=s;else if(l){var y=m[a];u(f&&("DEFINE_MANY_MERGED"===y||"DEFINE_MANY"===y),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",y,a),"DEFINE_MANY_MERGED"===y?r[a]=d(r[a],s):"DEFINE_MANY"===y&&(r[a]=p(r[a],s))}else r[a]=s}}}else;}function l(e,t){if(t)for(var n in t){var r=t[n];if(t.hasOwnProperty(n)){var o=n in _;u(!o,'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',n);var i=n in e;u(!i,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n),e[n]=r}}}function f(e,t){u(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.");for(var n in t)t.hasOwnProperty(n)&&(u(void 0===e[n],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",n),e[n]=t[n]);return e}function d(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);if(null==n)return r;if(null==r)return n;var o={};return f(o,n),f(o,r),o}}function p(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function h(e,t){var n=t.bind(e);return n}function v(e){for(var t=e.__reactAutoBindPairs,n=0;n<t.length;n+=2){var r=t[n],o=t[n+1];e[r]=h(e,o)}}function y(e){var t=r(function(e,r,o){this.__reactAutoBindPairs.length&&v(this),this.props=e,this.context=r,this.refs=s,this.updater=o||n,this.state=null;var i=this.getInitialState?this.getInitialState():null;u("object"==typeof i&&!Array.isArray(i),"%s.getInitialState(): must return an object or null",t.displayName||"ReactCompositeComponent"),this.state=i});t.prototype=new E,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],g.forEach(i.bind(null,t)),i(t,b),i(t,e),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),u(t.prototype.render,"createClass(...): Class specification must implement a `render` method.");for(var o in m)t.prototype[o]||(t.prototype[o]=null);return t}var g=[],m={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},_={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)i(e,t[n])},childContextTypes:function(e,t){e.childContextTypes=a({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=a({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=d(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){e.propTypes=a({},e.propTypes,t)},statics:function(e,t){l(e,t)},autobind:function(){}},b={componentDidMount:function(){this.__isMounted=!0},componentWillUnmount:function(){this.__isMounted=!1}},w={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e,t)},isMounted:function(){return!!this.__isMounted}},E=function(){};return a(E.prototype,e.prototype,w),y}var i,a=n(21),s=n(115),u=n(10),c="mixins";i={},e.exports=o},function(e,t,n){"use strict";var r=function(e){return e&&e.__esModule?e:{default:e}},o=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")};t.__esModule=!0;var i=n(264),a=r(i),s=function(){function e(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];o(this,e),Array.isArray(n[0])&&1===n.length&&(n=n[0]);for(var i=0;i<n.length;i++)if(!a.default(n[i]))throw new Error("Expected a disposable");this.disposables=n,this.isDisposed=!1}return e.prototype.add=function(e){this.isDisposed?e.dispose():this.disposables.push(e)},e.prototype.remove=function(e){if(this.isDisposed)return!1;var t=this.disposables.indexOf(e);return t!==-1&&(this.disposables.splice(t,1),e.dispose(),!0)},e.prototype.dispose=function(){if(!this.isDisposed){for(var e=this.disposables.length,t=new Array(e),n=0;n<e;n++)t[n]=this.disposables[n];this.isDisposed=!0,this.disposables=[],this.length=0;for(var n=0;n<e;n++)t[n].dispose()}},e}();t.default=s,e.exports=t.default},function(e,t){"use strict";var n=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.__esModule=!0;var o=function(){},i=function(){function e(t){n(this,e),this.isDisposed=!1,this.action=t||o}return e.prototype.dispose=function(){this.isDisposed||(this.action.call(null),this.isDisposed=!0)},r(e,null,[{key:"empty",enumerable:!0,value:{dispose:o}}]),e}();t.default=i,e.exports=t.default},function(e,t,n){"use strict";var r=function(e){return e&&e.__esModule?e:{default:e}},o=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")};t.__esModule=!0;var i=n(264),a=r(i),s=function(){function e(){o(this,e),this.isDisposed=!1,this.current=null}return e.prototype.getDisposable=function(){return this.current},e.prototype.setDisposable=function(){var e=void 0===arguments[0]?null:arguments[0];if(null!=e&&!a.default(e))throw new Error("Expected either an empty value or a valid disposable");var t=this.isDisposed,n=void 0;t||(n=this.current,this.current=e),n&&n.dispose(),t&&e&&e.dispose()},e.prototype.dispose=function(){if(!this.isDisposed){this.isDisposed=!0;var e=this.current;this.current=null,e&&e.dispose()}},e}();t.default=s,e.exports=t.default},function(e,t,n){"use strict";var r=function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0;var o=n(264),i=r(o);t.isDisposable=i.default;var a=n(818),s=r(a);t.Disposable=s.default;var u=n(817),c=r(u);t.CompositeDisposable=c.default;var l=n(819),f=r(l);t.SerialDisposable=f.default},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(312),u=o(s),c=n(829),l=o(c),f=n(179),d=r(f),p=n(822),h=o(p),v=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};i(this,e);var r=(0,u.default)(l.default);this.context=n,this.store=r,this.monitor=new h.default(r),this.registry=this.monitor.registry,this.backend=t(this),r.subscribe(this.handleRefCountChange.bind(this))}return a(e,[{key:"handleRefCountChange",value:function(){var e=this.store.getState().refCount>0;e&&!this.isSetUp?(this.backend.setup(),this.isSetUp=!0):!e&&this.isSetUp&&(this.backend.teardown(),this.isSetUp=!1)}},{key:"getContext",value:function(){return this.context}},{key:"getMonitor",value:function(){return this.monitor}},{key:"getBackend",value:function(){return this.backend}},{key:"getRegistry",value:function(){return this.registry}},{key:"getActions",value:function(){function e(e){return function(){for(var r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];var a=e.apply(t,o);"undefined"!=typeof a&&n(a)}}var t=this,n=this.store.dispatch;return Object.keys(d).filter(function(e){return"function"==typeof d[e]}).reduce(function(t,n){var r=d[n];return t[n]=e(r),t},{})}}]),e}();t.default=v},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(17),s=r(a),u=n(39),c=r(u),l=n(389),f=r(l),d=n(825),p=r(d),h=n(388),v=n(387),y=function(){function e(t){o(this,e),this.store=t,this.registry=new p.default(t);
+}return i(e,[{key:"subscribeToStateChange",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.handlerIds;(0,s.default)("function"==typeof e,"listener must be a function."),(0,s.default)("undefined"==typeof r||(0,c.default)(r),"handlerIds, when specified, must be an array of strings.");var o=this.store.getState().stateId,i=function(){var n=t.store.getState(),i=n.stateId;try{var a=i===o||i===o+1&&!(0,v.areDirty)(n.dirtyHandlerIds,r);a||e()}finally{o=i}};return this.store.subscribe(i)}},{key:"subscribeToOffsetChange",value:function(e){var t=this;(0,s.default)("function"==typeof e,"listener must be a function.");var n=this.store.getState().dragOffset,r=function(){var r=t.store.getState().dragOffset;r!==n&&(n=r,e())};return this.store.subscribe(r)}},{key:"canDragSource",value:function(e){var t=this.registry.getSource(e);return(0,s.default)(t,"Expected to find a valid source."),!this.isDragging()&&t.canDrag(this,e)}},{key:"canDropOnTarget",value:function(e){var t=this.registry.getTarget(e);if((0,s.default)(t,"Expected to find a valid target."),!this.isDragging()||this.didDrop())return!1;var n=this.registry.getTargetType(e),r=this.getItemType();return(0,f.default)(n,r)&&t.canDrop(this,e)}},{key:"isDragging",value:function(){return Boolean(this.getItemType())}},{key:"isDraggingSource",value:function(e){var t=this.registry.getSource(e,!0);if((0,s.default)(t,"Expected to find a valid source."),!this.isDragging()||!this.isSourcePublic())return!1;var n=this.registry.getSourceType(e),r=this.getItemType();return n===r&&t.isDragging(this,e)}},{key:"isOverTarget",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{shallow:!1},n=t.shallow;if(!this.isDragging())return!1;var r=this.registry.getTargetType(e),o=this.getItemType();if(!(0,f.default)(r,o))return!1;var i=this.getTargetIds();if(!i.length)return!1;var a=i.indexOf(e);return n?a===i.length-1:a>-1}},{key:"getItemType",value:function(){return this.store.getState().dragOperation.itemType}},{key:"getItem",value:function(){return this.store.getState().dragOperation.item}},{key:"getSourceId",value:function(){return this.store.getState().dragOperation.sourceId}},{key:"getTargetIds",value:function(){return this.store.getState().dragOperation.targetIds}},{key:"getDropResult",value:function(){return this.store.getState().dragOperation.dropResult}},{key:"didDrop",value:function(){return this.store.getState().dragOperation.didDrop}},{key:"isSourcePublic",value:function(){return this.store.getState().dragOperation.isSourcePublic}},{key:"getInitialClientOffset",value:function(){return this.store.getState().dragOffset.initialClientOffset}},{key:"getInitialSourceClientOffset",value:function(){return this.store.getState().dragOffset.initialSourceClientOffset}},{key:"getClientOffset",value:function(){return this.store.getState().dragOffset.clientOffset}},{key:"getSourceClientOffset",value:function(){return(0,h.getSourceClientOffset)(this.store.getState().dragOffset)}},{key:"getDifferenceFromInitialOffset",value:function(){return(0,h.getDifferenceFromInitialOffset)(this.store.getState().dragOffset)}}]),e}();t.default=y},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(){n(this,e)}return r(e,[{key:"canDrag",value:function(){return!0}},{key:"isDragging",value:function(e,t){return t===e.getSourceId()}},{key:"endDrag",value:function(){}}]),e}();t.default=o},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(){n(this,e)}return r(e,[{key:"canDrop",value:function(){return!0}},{key:"hover",value:function(){}},{key:"drop",value:function(){}}]),e}();t.default=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e){(0,p.default)("function"==typeof e.canDrag,"Expected canDrag to be a function."),(0,p.default)("function"==typeof e.beginDrag,"Expected beginDrag to be a function."),(0,p.default)("function"==typeof e.endDrag,"Expected endDrag to be a function.")}function a(e){(0,p.default)("function"==typeof e.canDrop,"Expected canDrop to be a function."),(0,p.default)("function"==typeof e.hover,"Expected hover to be a function."),(0,p.default)("function"==typeof e.drop,"Expected beginDrag to be a function.")}function s(e,t){return t&&(0,v.default)(e)?void e.forEach(function(e){return s(e,!1)}):void(0,p.default)("string"==typeof e||"symbol"===("undefined"==typeof e?"undefined":f(e)),t?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}function u(e){var t=(0,b.default)().toString();switch(e){case w.SOURCE:return"S"+t;case w.TARGET:return"T"+t;default:(0,p.default)(!1,"Unknown role: "+e)}}function c(e){switch(e[0]){case"S":return w.SOURCE;case"T":return w.TARGET;default:(0,p.default)(!1,"Cannot parse handler ID: "+e)}}Object.defineProperty(t,"__esModule",{value:!0});var l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d=n(17),p=r(d),h=n(39),v=r(h),y=n(509),g=r(y),m=n(180),_=n(832),b=r(_),w={SOURCE:"SOURCE",TARGET:"TARGET"},E=function(){function e(t){o(this,e),this.store=t,this.types={},this.handlers={},this.pinnedSourceId=null,this.pinnedSource=null}return l(e,[{key:"addSource",value:function(e,t){s(e),i(t);var n=this.addHandler(w.SOURCE,e,t);return this.store.dispatch((0,m.addSource)(n)),n}},{key:"addTarget",value:function(e,t){s(e,!0),a(t);var n=this.addHandler(w.TARGET,e,t);return this.store.dispatch((0,m.addTarget)(n)),n}},{key:"addHandler",value:function(e,t,n){var r=u(e);return this.types[r]=t,this.handlers[r]=n,r}},{key:"containsHandler",value:function(e){var t=this;return Object.keys(this.handlers).some(function(n){return t.handlers[n]===e})}},{key:"getSource",value:function(e,t){(0,p.default)(this.isSourceId(e),"Expected a valid source ID.");var n=t&&e===this.pinnedSourceId,r=n?this.pinnedSource:this.handlers[e];return r}},{key:"getTarget",value:function(e){return(0,p.default)(this.isTargetId(e),"Expected a valid target ID."),this.handlers[e]}},{key:"getSourceType",value:function(e){return(0,p.default)(this.isSourceId(e),"Expected a valid source ID."),this.types[e]}},{key:"getTargetType",value:function(e){return(0,p.default)(this.isTargetId(e),"Expected a valid target ID."),this.types[e]}},{key:"isSourceId",value:function(e){var t=c(e);return t===w.SOURCE}},{key:"isTargetId",value:function(e){var t=c(e);return t===w.TARGET}},{key:"removeSource",value:function(e){var t=this;(0,p.default)(this.getSource(e),"Expected an existing source."),this.store.dispatch((0,m.removeSource)(e)),(0,g.default)(function(){delete t.handlers[e],delete t.types[e]})}},{key:"removeTarget",value:function(e){var t=this;(0,p.default)(this.getTarget(e),"Expected an existing target."),this.store.dispatch((0,m.removeTarget)(e)),(0,g.default)(function(){delete t.handlers[e],delete t.types[e]})}},{key:"pinSource",value:function(e){var t=this.getSource(e);(0,p.default)(t,"Expected an existing source."),this.pinnedSourceId=e,this.pinnedSource=t}},{key:"unpinSource",value:function(){(0,p.default)(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}}]),e}();t.default=E},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e){return new c(e)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=i;var s=n(420),u=r(s),c=function(){function e(t){o(this,e),this.actions=t.getActions()}return a(e,[{key:"setup",value:function(){this.didCallSetup=!0}},{key:"teardown",value:function(){this.didCallTeardown=!0}},{key:"connectDragSource",value:function(){return u.default}},{key:"connectDragPreview",value:function(){return u.default}},{key:"connectDropTarget",value:function(){return u.default}},{key:"simulateBeginDrag",value:function(e,t){this.actions.beginDrag(e,t)}},{key:"simulatePublishDragSource",value:function(){this.actions.publishDragSource()}},{key:"simulateHover",value:function(e,t){this.actions.hover(e,t)}},{key:"simulateDrop",value:function(){this.actions.drop()}},{key:"simulateEndDrag",value:function(){this.actions.endDrag()}}]),e}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(821);Object.defineProperty(t,"DragDropManager",{enumerable:!0,get:function(){return r(o).default}});var i=n(823);Object.defineProperty(t,"DragSource",{enumerable:!0,get:function(){return r(i).default}});var a=n(824);Object.defineProperty(t,"DropTarget",{enumerable:!0,get:function(){return r(a).default}});var s=n(826);Object.defineProperty(t,"createTestBackend",{enumerable:!0,get:function(){return r(s).default}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l,t=arguments[1];switch(t.type){case u.BEGIN_DRAG:return i({},e,{itemType:t.itemType,item:t.item,sourceId:t.sourceId,isSourcePublic:t.isSourcePublic,dropResult:null,didDrop:!1});case u.PUBLISH_DRAG_SOURCE:return i({},e,{isSourcePublic:!0});case u.HOVER:return i({},e,{targetIds:t.targetIds});case c.REMOVE_TARGET:return e.targetIds.indexOf(t.targetId)===-1?e:i({},e,{targetIds:(0,s.default)(e.targetIds,t.targetId)});case u.DROP:return i({},e,{dropResult:t.dropResult,didDrop:!0,targetIds:[]});case u.END_DRAG:return i({},e,{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=o;var a=n(422),s=r(a),u=n(179),c=n(180),l={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];return{dirtyHandlerIds:(0,d.default)(e.dirtyHandlerIds,t,e.dragOperation),dragOffset:(0,a.default)(e.dragOffset,t),refCount:(0,l.default)(e.refCount,t),dragOperation:(0,u.default)(e.dragOperation,t),stateId:(0,h.default)(e.stateId)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(388),a=r(i),s=n(828),u=r(s),c=n(830),l=r(c),f=n(387),d=r(f),p=n(831),h=r(p)},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments[1];switch(t.type){case o.ADD_SOURCE:case o.ADD_TARGET:return e+1;case o.REMOVE_SOURCE:case o.REMOVE_TARGET:return e-1;default:return e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=n(180)},function(e,t){"use strict";function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return e+1}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n},function(e,t){"use strict";function n(){return r++}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;var r=0},function(e,t,n){(function(t,r){/*!
+	 * @overview es6-promise - a tiny implementation of Promises/A+.
+	 * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
+	 * @license   Licensed under MIT license
+	 *            See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
+	 * @version   4.1.0
+	 */
+!function(t,n){e.exports=n()}(this,function(){"use strict";function e(e){return"function"==typeof e||"object"==typeof e&&null!==e}function o(e){return"function"==typeof e}function i(e){$=e}function a(e){X=e}function s(){return function(){return t.nextTick(d)}}function u(){return"undefined"!=typeof Y?function(){Y(d)}:f()}function c(){var e=0,t=new Z(d),n=document.createTextNode("");return t.observe(n,{characterData:!0}),function(){n.data=e=++e%2}}function l(){var e=new MessageChannel;return e.port1.onmessage=d,function(){return e.port2.postMessage(0)}}function f(){var e=setTimeout;return function(){return e(d,1)}}function d(){for(var e=0;e<K;e+=2){var t=ne[e],n=ne[e+1];t(n),ne[e]=void 0,ne[e+1]=void 0}K=0}function p(){try{var e=n(1213);return Y=e.runOnLoop||e.runOnContext,u()}catch(e){return f()}}function h(e,t){var n=arguments,r=this,o=new this.constructor(y);void 0===o[oe]&&R(o);var i=r._state;return i?!function(){var e=n[i-1];X(function(){return I(i,o,e,r._result)})}():k(r,o,e,t),o}function v(e){var t=this;if(e&&"object"==typeof e&&e.constructor===t)return e;var n=new t(y);return S(n,e),n}function y(){}function g(){return new TypeError("You cannot resolve a promise with itself")}function m(){return new TypeError("A promises callback cannot return that same promise.")}function _(e){try{return e.then}catch(e){return ue.error=e,ue}}function b(e,t,n,r){try{e.call(t,n,r)}catch(e){return e}}function w(e,t,n){X(function(e){var r=!1,o=b(n,t,function(n){r||(r=!0,t!==n?S(e,n):x(e,n))},function(t){r||(r=!0,O(e,t))},"Settle: "+(e._label||" unknown promise"));!r&&o&&(r=!0,O(e,o))},e)}function E(e,t){t._state===ae?x(e,t._result):t._state===se?O(e,t._result):k(t,void 0,function(t){return S(e,t)},function(t){return O(e,t)})}function T(e,t,n){t.constructor===e.constructor&&n===h&&t.constructor.resolve===v?E(e,t):n===ue?(O(e,ue.error),ue.error=null):void 0===n?x(e,t):o(n)?w(e,t,n):x(e,t)}function S(t,n){t===n?O(t,g()):e(n)?T(t,n,_(n)):x(t,n)}function C(e){e._onerror&&e._onerror(e._result),M(e)}function x(e,t){e._state===ie&&(e._result=t,e._state=ae,0!==e._subscribers.length&&X(M,e))}function O(e,t){e._state===ie&&(e._state=se,e._result=t,X(C,e))}function k(e,t,n,r){var o=e._subscribers,i=o.length;e._onerror=null,o[i]=t,o[i+ae]=n,o[i+se]=r,0===i&&e._state&&X(M,e)}function M(e){var t=e._subscribers,n=e._state;if(0!==t.length){for(var r=void 0,o=void 0,i=e._result,a=0;a<t.length;a+=3)r=t[a],o=t[a+n],r?I(n,r,o,i):o(i);e._subscribers.length=0}}function P(){this.error=null}function A(e,t){try{return e(t)}catch(e){return ce.error=e,ce}}function I(e,t,n,r){var i=o(n),a=void 0,s=void 0,u=void 0,c=void 0;if(i){if(a=A(n,r),a===ce?(c=!0,s=a.error,a.error=null):u=!0,t===a)return void O(t,m())}else a=r,u=!0;t._state!==ie||(i&&u?S(t,a):c?O(t,s):e===ae?x(t,a):e===se&&O(t,a))}function j(e,t){try{t(function(t){S(e,t)},function(t){O(e,t)})}catch(t){O(e,t)}}function D(){return le++}function R(e){e[oe]=le++,e._state=void 0,e._result=void 0,e._subscribers=[]}function N(e,t){this._instanceConstructor=e,this.promise=new e(y),this.promise[oe]||R(this.promise),G(t)?(this._input=t,this.length=t.length,this._remaining=t.length,this._result=new Array(this.length),0===this.length?x(this.promise,this._result):(this.length=this.length||0,this._enumerate(),0===this._remaining&&x(this.promise,this._result))):O(this.promise,L())}function L(){return new Error("Array Methods must be provided an Array")}function F(e){return new N(this,e).promise}function U(e){var t=this;return new t(G(e)?function(n,r){for(var o=e.length,i=0;i<o;i++)t.resolve(e[i]).then(n,r)}:function(e,t){return t(new TypeError("You must pass an array to race."))})}function B(e){var t=this,n=new t(y);return O(n,e),n}function q(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function W(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function z(e){this[oe]=D(),this._result=this._state=void 0,this._subscribers=[],y!==e&&("function"!=typeof e&&q(),this instanceof z?j(this,e):W())}function H(){var e=void 0;if("undefined"!=typeof r)e=r;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;if(t){var n=null;try{n=Object.prototype.toString.call(t.resolve())}catch(e){}if("[object Promise]"===n&&!t.cast)return}e.Promise=z}var V=void 0;V=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)};var G=V,K=0,Y=void 0,$=void 0,X=function(e,t){ne[K]=e,ne[K+1]=t,K+=2,2===K&&($?$(d):re())},Q="undefined"!=typeof window?window:void 0,J=Q||{},Z=J.MutationObserver||J.WebKitMutationObserver,ee="undefined"==typeof self&&"undefined"!=typeof t&&"[object process]"==={}.toString.call(t),te="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,ne=new Array(1e3),re=void 0;re=ee?s():Z?c():te?l():void 0===Q?p():f();var oe=Math.random().toString(36).substring(16),ie=void 0,ae=1,se=2,ue=new P,ce=new P,le=0;return N.prototype._enumerate=function(){for(var e=this.length,t=this._input,n=0;this._state===ie&&n<e;n++)this._eachEntry(t[n],n)},N.prototype._eachEntry=function(e,t){var n=this._instanceConstructor,r=n.resolve;if(r===v){var o=_(e);if(o===h&&e._state!==ie)this._settledAt(e._state,t,e._result);else if("function"!=typeof o)this._remaining--,this._result[t]=e;else if(n===z){var i=new n(y);T(i,e,o),this._willSettleAt(i,t)}else this._willSettleAt(new n(function(t){return t(e)}),t)}else this._willSettleAt(r(e),t)},N.prototype._settledAt=function(e,t,n){var r=this.promise;r._state===ie&&(this._remaining--,e===se?O(r,n):this._result[t]=n),0===this._remaining&&x(r,this._result)},N.prototype._willSettleAt=function(e,t){var n=this;k(e,void 0,function(e){return n._settledAt(ae,t,e)},function(e){return n._settledAt(se,t,e)})},z.all=F,z.race=U,z.resolve=v,z.reject=B,z._setScheduler=i,z._setAsap=a,z._asap=X,z.prototype={constructor:z,then:h,catch:function(e){return this.then(null,e)}},z.polyfill=H,z.Promise=z,z})}).call(t,n(160),function(){return this}())},,,function(e,t){"use strict";function n(e){return e.replace(r,function(e,t){return t.toUpperCase()})}var r=/-(.)/g;e.exports=n},function(e,t,n){"use strict";function r(e){return o(e.replace(i,"ms-"))}var o=n(836),i=/^-ms-/;e.exports=r},function(e,t,n){"use strict";function r(e,t){return!(!e||!t)&&(e===t||!o(e)&&(o(t)?r(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}var o=n(846);e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.length;if(Array.isArray(e)||"object"!=typeof e&&"function"!=typeof e?a(!1):void 0,"number"!=typeof t?a(!1):void 0,0===t||t-1 in e?void 0:a(!1),"function"==typeof e.callee?a(!1):void 0,e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var n=Array(t),r=0;r<t;r++)n[r]=e[r];return n}function o(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"length"in e&&!("setInterval"in e)&&"number"!=typeof e.nodeType&&(Array.isArray(e)||"callee"in e||"item"in e)}function i(e){return o(e)?Array.isArray(e)?e.slice():r(e):[e]}var a=n(10);e.exports=i},function(e,t,n){"use strict";function r(e){var t=e.match(l);return t&&t[1].toLowerCase()}function o(e,t){var n=c;c?void 0:u(!1);var o=r(e),i=o&&s(o);if(i){n.innerHTML=i[1]+e+i[2];for(var l=i[0];l--;)n=n.lastChild}else n.innerHTML=e;var f=n.getElementsByTagName("script");f.length&&(t?void 0:u(!1),a(f).forEach(t));for(var d=Array.from(n.childNodes);n.lastChild;)n.removeChild(n.lastChild);return d}var i=n(38),a=n(839),s=n(841),u=n(10),c=i.canUseDOM?document.createElement("div"):null,l=/^\s*<(\w+)/;e.exports=o},function(e,t,n){"use strict";function r(e){return a?void 0:i(!1),d.hasOwnProperty(e)||(e="*"),s.hasOwnProperty(e)||("*"===e?a.innerHTML="<link />":a.innerHTML="<"+e+"></"+e+">",s[e]=!a.firstChild),s[e]?d[e]:null}var o=n(38),i=n(10),a=o.canUseDOM?document.createElement("div"):null,s={},u=[1,'<select multiple="true">',"</select>"],c=[1,"<table>","</table>"],l=[3,"<table><tbody><tr>","</tr></tbody></table>"],f=[1,'<svg xmlns="http://www.w3.org/2000/svg">',"</svg>"],d={"*":[1,"?<div>","</div>"],area:[1,"<map>","</map>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],legend:[1,"<fieldset>","</fieldset>"],param:[1,"<object>","</object>"],tr:[2,"<table><tbody>","</tbody></table>"],optgroup:u,option:u,caption:c,colgroup:c,tbody:c,tfoot:c,thead:c,td:l,th:l},p=["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"];p.forEach(function(e){d[e]=f,s[e]=!0}),e.exports=r},function(e,t){"use strict";function n(e){return e.Window&&e instanceof e.Window?{x:e.pageXOffset||e.document.documentElement.scrollLeft,y:e.pageYOffset||e.document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}}e.exports=n},function(e,t){"use strict";function n(e){return e.replace(r,"-$1").toLowerCase()}var r=/([A-Z])/g;e.exports=n},function(e,t,n){"use strict";function r(e){return o(e).replace(i,"-ms-")}var o=n(843),i=/^ms-/;e.exports=r},function(e,t){"use strict";function n(e){var t=e?e.ownerDocument||e:document,n=t.defaultView||window;return!(!e||!("function"==typeof n.Node?e instanceof n.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}e.exports=n},function(e,t,n){"use strict";function r(e){return o(e)&&3==e.nodeType}var o=n(845);e.exports=r},function(e,t){"use strict";var n=function(e){var t;for(t in e)if(e.hasOwnProperty(t))return t;return null};e.exports=n},function(e,t){"use strict";function n(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}}e.exports=n},function(e,t,n){function r(e,t,n){if(!s(t))throw new TypeError("iterator must be a function");arguments.length<3&&(n=this),"[object Array]"===u.call(e)?o(e,t,n):"string"==typeof e?i(e,t,n):a(e,t,n)}function o(e,t,n){for(var r=0,o=e.length;r<o;r++)c.call(e,r)&&t.call(n,e[r],r,e)}function i(e,t,n){for(var r=0,o=e.length;r<o;r++)t.call(n,e.charAt(r),r,e)}function a(e,t,n){for(var r in e)c.call(e,r)&&t.call(n,e[r],r,e)}var s=n(397);e.exports=r;var u=Object.prototype.toString,c=Object.prototype.hasOwnProperty},function(e,t){"use strict";t.__esModule=!0;t.loopAsync=function(e,t,n){var r=0,o=!1,i=!1,a=!1,s=void 0,u=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return o=!0,i?void(s=t):void n.apply(void 0,t)},c=function c(){if(!o&&(a=!0,!i)){for(i=!0;!o&&r<e&&a;)a=!1,t(r++,c,u);return i=!1,o?void n.apply(void 0,s):void(r>=e&&a&&(o=!0,n()))}};c()}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.replaceLocation=t.pushLocation=t.startListener=t.getCurrentLocation=t.go=t.getUserConfirmation=void 0;var o=n(266);Object.defineProperty(t,"getUserConfirmation",{enumerable:!0,get:function(){return o.getUserConfirmation}}),Object.defineProperty(t,"go",{enumerable:!0,get:function(){return o.go}});var i=n(85),a=(r(i),n(116)),s=n(182),u=n(393),c=n(81),l="hashchange",f=function(){var e=window.location.href,t=e.indexOf("#");return t===-1?"":e.substring(t+1)},d=function(e){return window.location.hash=e},p=function(e){var t=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,t>=0?t:0)+"#"+e)},h=t.getCurrentLocation=function(e,t){var n=e.decodePath(f()),r=(0,c.getQueryStringValueFromPath)(n,t),o=void 0;r&&(n=(0,c.stripQueryStringValueFromPath)(n,t),o=(0,u.readState)(r));var i=(0,c.parsePath)(n);return i.state=o,(0,a.createLocation)(i,void 0,r)},v=void 0,y=(t.startListener=function(e,t,n){var r=function(){var r=f(),o=t.encodePath(r);if(r!==o)p(o);else{var i=h(t,n);if(v&&i.key&&v.key===i.key)return;v=i,e(i)}},o=f(),i=t.encodePath(o);return o!==i&&p(i),(0,s.addEventListener)(window,l,r),function(){return(0,s.removeEventListener)(window,l,r)}},function(e,t,n,r){var o=e.state,i=e.key,a=t.encodePath((0,c.createPath)(e));void 0!==o&&(a=(0,c.addQueryStringValueToPath)(a,n,i),(0,u.saveState)(i,o)),v=e,r(a)});t.pushLocation=function(e,t,n){return y(e,t,n,function(e){f()!==e&&d(e)})},t.replaceLocation=function(e,t,n){return y(e,t,n,function(e){f()!==e&&p(e)})}},function(e,t,n){"use strict";t.__esModule=!0,t.replaceLocation=t.pushLocation=t.getCurrentLocation=t.go=t.getUserConfirmation=void 0;var r=n(266);Object.defineProperty(t,"getUserConfirmation",{enumerable:!0,get:function(){return r.getUserConfirmation}}),Object.defineProperty(t,"go",{enumerable:!0,get:function(){return r.go}});var o=n(116),i=n(81);t.getCurrentLocation=function(){return(0,o.createLocation)(window.location)},t.pushLocation=function(e){return window.location.href=(0,i.createPath)(e),!1},t.replaceLocation=function(e){return window.location.replace((0,i.createPath)(e)),!1}},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(17),s=o(a),u=n(267),c=n(266),l=r(c),f=n(852),d=r(f),p=n(182),h=n(268),v=o(h),y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};u.canUseDOM?void 0:(0,s.default)(!1);var t=e.forceRefresh||!(0,p.supportsHistory)(),n=t?d:l,r=n.getUserConfirmation,o=n.getCurrentLocation,a=n.pushLocation,c=n.replaceLocation,f=n.go,h=(0,v.default)(i({getUserConfirmation:r},e,{getCurrentLocation:o,pushLocation:a,replaceLocation:c,go:f})),y=0,g=void 0,m=function(e,t){1===++y&&(g=l.startListener(h.transitionTo));var n=t?h.listenBefore(e):h.listen(e);return function(){n(),0===--y&&g()}},_=function(e){return m(e,!0)},b=function(e){return m(e,!1)};return i({},h,{listenBefore:_,listen:b})};t.default=y},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(85),s=(o(a),n(17)),u=o(s),c=n(267),l=n(182),f=n(851),d=r(f),p=n(268),h=o(p),v="_k",y=function(e){return"/"===e.charAt(0)?e:"/"+e},g={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!"+e},decodePath:function(e){return"!"===e.charAt(0)?e.substring(1):e}},noslash:{encodePath:function(e){return"/"===e.charAt(0)?e.substring(1):e},decodePath:y},slash:{encodePath:y,decodePath:y}},m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};c.canUseDOM?void 0:(0,u.default)(!1);var t=e.queryKey,n=e.hashType;"string"!=typeof t&&(t=v),null==n&&(n="slash"),n in g||(n="slash");var r=g[n],o=d.getUserConfirmation,a=function(){return d.getCurrentLocation(r,t)},s=function(e){return d.pushLocation(e,r,t)},f=function(e){return d.replaceLocation(e,r,t)},p=(0,h.default)(i({getUserConfirmation:o},e,{getCurrentLocation:a,pushLocation:s,replaceLocation:f,go:d.go})),y=0,m=void 0,_=function(e,n){1===++y&&(m=d.startListener(p.transitionTo,r,t));var o=n?p.listenBefore(e):p.listen(e);return function(){o(),0===--y&&m()}},b=function(e){return _(e,!0)},w=function(e){return _(e,!1)},E=((0,l.supportsGoWithoutReloadUsingHash)(),function(e){p.go(e)}),T=function(e){return"#"+r.encodePath(p.createHref(e))};return i({},p,{listenBefore:b,listen:w,go:E,createHref:T})};t.default=m},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(85),a=(r(i),n(17)),s=r(a),u=n(116),c=n(81),l=n(268),f=r(l),d=n(181),p=function(e){return e.filter(function(e){return e.state}).reduce(function(e,t){return e[t.key]=t.state,e},{})},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Array.isArray(e)?e={entries:e}:"string"==typeof e&&(e={entries:[e]});var t=function(){var e=v[y],t=(0,c.createPath)(e),n=void 0,r=void 0;e.key&&(n=e.key,r=_(n));var i=(0,c.parsePath)(t);return(0,u.createLocation)(o({},i,{state:r}),void 0,n)},n=function(e){var t=y+e;return t>=0&&t<v.length},r=function(e){if(e&&n(e)){y+=e;var r=t();l.transitionTo(o({},r,{action:d.POP}))}},i=function(e){y+=1,y<v.length&&v.splice(y),v.push(e),m(e.key,e.state)},a=function(e){v[y]=e,m(e.key,e.state)},l=(0,f.default)(o({},e,{getCurrentLocation:t,pushLocation:i,replaceLocation:a,go:r})),h=e,v=h.entries,y=h.current;"string"==typeof v?v=[v]:Array.isArray(v)||(v=["/"]),v=v.map(function(e){return(0,u.createLocation)(e)}),null==y?y=v.length-1:y>=0&&y<v.length?void 0:(0,s.default)(!1);var g=p(v),m=function(e,t){return g[e]=t},_=function(e){return g[e]};return o({},l,{canGo:n})};t.default=h},function(e,t,n){"use strict";e.exports=n(857)},function(e,t){(function(t){"use strict";var n=function(){function e(e,t){for(var n in t){var r=t[n];r.configurable=!0,r.value&&(r.writable=!0)}Object.defineProperties(e,t)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},o=!!(t===t.window&&t.URL&&t.Blob&&t.Worker),i=function(){function e(n,i){var a=this;if(r(this,e),o){var s=n.toString().trim().match(/^function\s*\w*\s*\([\w\s,]*\)\s*{([\w\W]*?)}$/)[1],u=t.URL.createObjectURL(new t.Blob([s],{type:"text/javascript"}));return new t.Worker(u)}this.self=i,this.self.postMessage=function(e){setTimeout(function(){a.onmessage({data:e})},0)},setTimeout(function(){n.call(i)},0)}return n(e,{postMessage:{value:function(e){var t=this;setTimeout(function(){t.self.onmessage({data:e})},0)}}}),e}();e.exports=i}).call(t,function(){return this}())},function(e,t){function n(e){return!!e&&"object"==typeof e}function r(e,t){var n=null==e?void 0:e[t];return a(n)?n:void 0}function o(e){return i(e)&&d.call(e)==s}function i(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function a(e){return null!=e&&(o(e)?p.test(l.call(e)):n(e)&&u.test(e))}var s="[object Function]",u=/^\[object .+?Constructor\]$/,c=Object.prototype,l=Function.prototype.toString,f=c.hasOwnProperty,d=c.toString,p=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=r},function(e,t){(function(t){function n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function r(e,t){for(var n=-1,r=e?e.length:0;++n<r&&t(e[n],n,e)!==!1;);return e}function o(e,t){var n=e?e.length:0;return!!n&&a(e,t,0)>-1}function i(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function a(e,t,n){if(t!==t)return i(e,s,n);for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}function s(e){return e!==e}function u(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&r++;return r}function c(e,t){return null==e?void 0:e[t]}function l(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function f(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n];a!==t&&a!==H||(e[n]=H,i[o++]=n)}return i}function d(e){return R(e)?Ae(e):{}}function p(e){if(!R(e)||M(e))return!1;var t=D(e)||l(e)?Pe:ye;return t.test(A(e))}function h(e,t,n,r){for(var o=-1,i=e.length,a=n.length,s=-1,u=t.length,c=Ie(i-a,0),l=Array(u+c),f=!r;++s<u;)l[s]=t[s];for(;++o<a;)(f||o<i)&&(l[n[o]]=e[o]);for(;c--;)l[s++]=e[o++];return l}function v(e,t,n,r){for(var o=-1,i=e.length,a=-1,s=n.length,u=-1,c=t.length,l=Ie(i-s,0),f=Array(l+c),d=!r;++o<l;)f[o]=e[o];for(var p=o;++u<c;)f[p+u]=t[u];for(;++a<s;)(d||o<i)&&(f[p+n[a]]=e[o++]);return f}function y(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}function g(e,t,n){function r(){var t=this&&this!==Ee&&this instanceof r?i:e;return t.apply(o?n:this,arguments)}var o=t&V,i=m(e);return r}function m(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=d(e.prototype),r=e.apply(n,t);return R(r)?r:n}}function _(e,t,r){function o(){for(var a=arguments.length,s=Array(a),u=a,c=S(o);u--;)s[u]=arguments[u];var l=a<3&&s[0]!==c&&s[a-1]!==c?[]:f(s,c);if(a-=l.length,a<r)return E(e,t,b,o.placeholder,void 0,s,l,void 0,void 0,r-a);var d=this&&this!==Ee&&this instanceof o?i:e;return n(d,this,s)}var i=m(e);return o}function b(e,t,n,r,o,i,a,s,c,l){function d(){for(var C=arguments.length,x=Array(C),O=C;O--;)x[O]=arguments[O];if(_)var k=S(d),M=u(x,k);if(r&&(x=h(x,r,o,_)),i&&(x=v(x,i,a,_)),C-=M,_&&C<l){var A=f(x,k);return E(e,t,b,d.placeholder,n,x,A,s,c,l-C)}var I=y?n:this,j=g?I[e]:e;return C=x.length,s?x=P(x,s):w&&C>1&&x.reverse(),p&&c<C&&(x.length=c),this&&this!==Ee&&this instanceof d&&(j=T||m(j)),j.apply(I,x)}var p=t&J,y=t&V,g=t&G,_=t&(Y|$),w=t&ee,T=g?void 0:m(e);return d}function w(e,t,r,o){function i(){for(var t=-1,u=arguments.length,c=-1,l=o.length,f=Array(l+u),d=this&&this!==Ee&&this instanceof i?s:e;++c<l;)f[c]=o[c];for(;u--;)f[c++]=arguments[++t];return n(d,a?r:this,f)}var a=t&V,s=m(e);return i}function E(e,t,n,r,o,i,a,s,u,c){var l=t&Y,f=l?a:void 0,d=l?void 0:a,p=l?i:void 0,h=l?void 0:i;t|=l?X:Q,t&=~(l?Q:X),t&K||(t&=~(V|G));var v=n(e,t,o,p,f,h,d,s,u,c);return v.placeholder=r,Re(v,e,t)}function T(e,t,n,r,o,i,a,s){var u=t&G;if(!u&&"function"!=typeof e)throw new TypeError(z);var c=r?r.length:0;if(c||(t&=~(X|Q),r=o=void 0),a=void 0===a?a:Ie(U(a),0),s=void 0===s?s:U(s),c-=o?o.length:0,t&Q){var l=r,f=o;r=o=void 0}var d=[e,t,n,r,o,l,f,i,a,s];if(e=d[0],t=d[1],n=d[2],r=d[3],o=d[4],s=d[9]=null==d[9]?u?0:e.length:Ie(d[9]-c,0),!s&&t&(Y|$)&&(t&=~(Y|$)),t&&t!=V)p=t==Y||t==$?_(e,t,s):t!=X&&t!=(V|X)||o.length?b.apply(void 0,d):w(e,t,n,r);else var p=g(e,t,n);return Re(p,e,t)}function S(e){var t=e;return t.placeholder}function C(e,t){var n=c(e,t);return p(n)?n:void 0}function x(e){var t=e.match(de);return t?t[1].split(pe):[]}function O(e,t){var n=t.length,r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(fe,"{\n/* [wrapped with "+t+"] */\n")}function k(e,t){return t=null==t?ne:t,!!t&&("number"==typeof e||me.test(e))&&e>-1&&e%1==0&&e<t}function M(e){return!!xe&&xe in e}function P(e,t){for(var n=e.length,r=je(t.length,n),o=y(e);r--;){var i=t[r];e[r]=k(i,n)?o[i]:void 0}return e}function A(e){if(null!=e){try{return Oe.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function I(e,t){return r(ie,function(n){var r="_."+n[0];t&n[1]&&!o(e,r)&&e.push(r)}),e.sort()}function j(e,t,n){t=n?void 0:t;var r=T(e,Y,void 0,void 0,void 0,void 0,void 0,t);return r.placeholder=j.placeholder,r}function D(e){var t=R(e)?Me.call(e):"";return t==ae||t==se}function R(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function N(e){return!!e&&"object"==typeof e}function L(e){return"symbol"==typeof e||N(e)&&Me.call(e)==ue}function F(e){if(!e)return 0===e?e:0;if(e=B(e),e===te||e===-te){var t=e<0?-1:1;return t*re}return e===e?e:0}function U(e){var t=F(e),n=t%1;return t===t?n?t-n:t:0}function B(e){if("number"==typeof e)return e;if(L(e))return oe;if(R(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=R(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(le,"");var n=ve.test(e);return n||ge.test(e)?_e(e.slice(2),n?2:8):he.test(e)?oe:+e}function q(e){return function(){return e}}function W(e){return e}var z="Expected a function",H="__lodash_placeholder__",V=1,G=2,K=4,Y=8,$=16,X=32,Q=64,J=128,Z=256,ee=512,te=1/0,ne=9007199254740991,re=1.7976931348623157e308,oe=NaN,ie=[["ary",J],["bind",V],["bindKey",G],["curry",Y],["curryRight",$],["flip",ee],["partial",X],["partialRight",Q],["rearg",Z]],ae="[object Function]",se="[object GeneratorFunction]",ue="[object Symbol]",ce=/[\\^$.*+?()[\]{}|]/g,le=/^\s+|\s+$/g,fe=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,de=/\{\n\/\* \[wrapped with (.+)\] \*/,pe=/,? & /,he=/^[-+]0x[0-9a-f]+$/i,ve=/^0b[01]+$/i,ye=/^\[object .+?Constructor\]$/,ge=/^0o[0-7]+$/i,me=/^(?:0|[1-9]\d*)$/,_e=parseInt,be="object"==typeof t&&t&&t.Object===Object&&t,we="object"==typeof self&&self&&self.Object===Object&&self,Ee=be||we||Function("return this")(),Te=Function.prototype,Se=Object.prototype,Ce=Ee["__core-js_shared__"],xe=function(){var e=/[^.]+$/.exec(Ce&&Ce.keys&&Ce.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Oe=Te.toString,ke=Se.hasOwnProperty,Me=Se.toString,Pe=RegExp("^"+Oe.call(ke).replace(ce,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ae=Object.create,Ie=Math.max,je=Math.min,De=function(){var e=C(Object,"defineProperty"),t=C.name;return t&&t.length>2?e:void 0}(),Re=De?function(e,t,n){var r=t+"";return De(e,"toString",{configurable:!0,enumerable:!1,value:q(O(r,I(x(r),n)))})}:W;j.placeholder={},e.exports=j}).call(t,function(){return this}())},function(e,t){(function(t){function n(e,t,n){function o(t){var n=v,r=y;return v=y=void 0,S=t,m=e.apply(r,n)}function i(e){return S=e,_=setTimeout(l,t),C?o(e):m}function u(e){var n=e-T,r=e-S,o=t-n;return x?w(o,g-r):o}function c(e){var n=e-T,r=e-S;return void 0===T||n>=t||n<0||x&&r>=g}function l(){var e=E();return c(e)?f(e):void(_=setTimeout(l,u(e)))}function f(e){return _=void 0,O&&v?o(e):(v=y=void 0,m)}function d(){void 0!==_&&clearTimeout(_),S=0,v=T=y=_=void 0}function p(){return void 0===_?m:f(E())}function h(){var e=E(),n=c(e);if(v=arguments,y=this,T=e,n){if(void 0===_)return i(T);if(x)return _=setTimeout(l,t),o(T)}return void 0===_&&(_=setTimeout(l,t)),m}var v,y,g,m,_,T,S=0,C=!1,x=!1,O=!0;if("function"!=typeof e)throw new TypeError(s);return t=a(t)||0,r(n)&&(C=!!n.leading,x="maxWait"in n,g=x?b(a(n.maxWait)||0,t):g,O="trailing"in n?!!n.trailing:O),h.cancel=d,h.flush=p,h}function r(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function o(e){return!!e&&"object"==typeof e}function i(e){return"symbol"==typeof e||o(e)&&_.call(e)==c}function a(e){if("number"==typeof e)return e;if(i(e))return u;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(l,"");var n=d.test(e);return n||p.test(e)?h(e.slice(2),n?2:8):f.test(e)?u:+e}var s="Expected a function",u=NaN,c="[object Symbol]",l=/^\s+|\s+$/g,f=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,p=/^0o[0-7]+$/i,h=parseInt,v="object"==typeof t&&t&&t.Object===Object&&t,y="object"==typeof self&&self&&self.Object===Object&&self,g=v||y||Function("return this")(),m=Object.prototype,_=m.toString,b=Math.max,w=Math.min,E=function(){return g.Date.now()};e.exports=n}).call(t,function(){return this}())},function(e,t){(function(t){function n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function r(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function o(e,t,n,i,a){var u=-1,c=e.length;for(n||(n=s),a||(a=[]);++u<c;){var l=e[u];t>0&&n(l)?t>1?o(l,t-1,n,i,a):r(a,l):i||(a[a.length]=l)}return a}function i(e,t){return t=M(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=M(r.length-t,0),a=Array(i);++o<i;)a[o]=r[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=r[o];return s[t]=a,n(e,this,s)}}function a(e){return i(function(t){t=o(t,1);var n=t.length,r=n;for(e&&t.reverse();r--;)if("function"!=typeof t[r])throw new TypeError(v);return function(){for(var e=0,r=n?t[e].apply(this,arguments):arguments[0];++e<n;)r=t[e].call(this,r);return r}})}function s(e){return P(e)||u(e)||!!(k&&e&&e[k])}function u(e){return l(e)&&S.call(e,"callee")&&(!O.call(e,"callee")||C.call(e)==g)}function c(e){return null!=e&&d(e.length)&&!f(e)}function l(e){return h(e)&&c(e)}function f(e){var t=p(e)?C.call(e):"";return t==m||t==_}function d(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=y}function p(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function h(e){return!!e&&"object"==typeof e}var v="Expected a function",y=9007199254740991,g="[object Arguments]",m="[object Function]",_="[object GeneratorFunction]",b="object"==typeof t&&t&&t.Object===Object&&t,w="object"==typeof self&&self&&self.Object===Object&&self,E=b||w||Function("return this")(),T=Object.prototype,S=T.hasOwnProperty,C=T.toString,x=E.Symbol,O=T.propertyIsEnumerable,k=x?x.isConcatSpreadable:void 0,M=Math.max,P=Array.isArray,A=a();e.exports=A}).call(t,function(){return this}())},function(e,t,n){var r=n(100),o=n(74),i=r(o,"DataView");e.exports=i},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var o=n(910),i=n(911),a=n(912),s=n(913),u=n(914);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=s,r.prototype.set=u,e.exports=r},function(e,t,n){var r=n(100),o=n(74),i=r(o,"Promise");e.exports=i},function(e,t,n){var r=n(74),o=r.Uint8Array;e.exports=o},function(e,t,n){var r=n(100),o=n(74),i=r(o,"WeakMap");e.exports=i},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}e.exports=n},function(e,t,n){function r(e,t,n){var r=e[t];s.call(e,t)&&i(r,n)&&(void 0!==n||t in e)||o(e,t,n)}var o=n(274),i=n(147),a=Object.prototype,s=a.hasOwnProperty;e.exports=r},function(e,t){function n(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}e.exports=n},function(e,t,n){var r=n(897),o=r();e.exports=o},function(e,t,n){function r(e,t){return e&&o(e,t,i)}var o=n(870),i=n(284);e.exports=r},function(e,t,n){function r(e,t,n){var r=t(e);return i(e)?r:o(r,n(e))}var o=n(403),i=n(39);e.exports=r},function(e,t){function n(e,t){return null!=e&&t in Object(e)}e.exports=n},function(e,t,n){function r(e,t,n){return t===t?a(e,t,n):o(e,i,n)}var o=n(869),i=n(879),a=n(945);e.exports=r},function(e,t,n){function r(e,t,n){for(var r=n?a:i,f=e[0].length,d=e.length,p=d,h=Array(d),v=1/0,y=[];p--;){var g=e[p];p&&t&&(g=s(g,u(t))),v=l(g.length,v),h[p]=!n&&(t||f>=120&&g.length>=120)?new o(p&&g):void 0}g=e[0];var m=-1,_=h[0];e:for(;++m<f&&y.length<v;){var b=g[m],w=t?t(b):b;if(b=n||0!==b?b:0,!(_?c(_,w):r(y,w,n))){for(p=d;--p;){var E=h[p];if(!(E?c(E,w):r(e[p],w,n)))continue e}_&&_.push(w),y.push(b)}}return y}var o=n(184),i=n(272),a=n(273),s=n(185),u=n(277),c=n(187),l=Math.min;e.exports=r},function(e,t,n){function r(e){return i(e)&&o(e)==a}var o=n(117),i=n(101),a="[object Arguments]";e.exports=r},function(e,t,n){function r(e,t,n,r,y,m){var _=c(e),b=c(t),w=_?h:u(e),E=b?h:u(t);w=w==p?v:w,E=E==p?v:E;var T=w==v,S=E==v,C=w==E;if(C&&l(e)){if(!l(t))return!1;_=!0,T=!1}if(C&&!T)return m||(m=new o),_||f(e)?i(e,t,n,r,y,m):a(e,t,w,n,r,y,m);if(!(n&d)){var x=T&&g.call(e,"__wrapped__"),O=S&&g.call(t,"__wrapped__");if(x||O){var k=x?e.value():e,M=O?t.value():t;return m||(m=new o),y(k,M,n,r,m)}}return!!C&&(m||(m=new o),s(e,t,n,r,y,m))}var o=n(399),i=n(409),a=n(900),s=n(901),u=n(907),c=n(39),l=n(416),f=n(418),d=1,p="[object Arguments]",h="[object Array]",v="[object Object]",y=Object.prototype,g=y.hasOwnProperty;e.exports=r},function(e,t,n){function r(e,t,n,r){var u=n.length,c=u,l=!r;if(null==e)return!c;for(e=Object(e);u--;){var f=n[u];if(l&&f[2]?f[1]!==e[f[0]]:!(f[0]in e))return!1}for(;++u<c;){f=n[u];var d=f[0],p=e[d],h=f[1];if(l&&f[2]){if(void 0===p&&!(d in e))return!1}else{var v=new o;if(r)var y=r(p,h,d,e,t,v);if(!(void 0===y?i(h,p,a|s,r,v):y))return!1}}return!0}var o=n(399),i=n(405),a=1,s=2;e.exports=r},function(e,t){function n(e){return e!==e;
+}e.exports=n},function(e,t,n){function r(e){if(!a(e)||i(e))return!1;var t=o(e)?h:c;return t.test(s(e))}var o=n(417),i=n(918),a=n(118),s=n(415),u=/[\\^$.*+?()[\]{}|]/g,c=/^\[object .+?Constructor\]$/,l=Function.prototype,f=Object.prototype,d=l.toString,p=f.hasOwnProperty,h=RegExp("^"+d.call(p).replace(u,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=r},function(e,t,n){function r(e){return a(e)&&i(e.length)&&!!A[o(e)]}var o=n(117),i=n(282),a=n(101),s="[object Arguments]",u="[object Array]",c="[object Boolean]",l="[object Date]",f="[object Error]",d="[object Function]",p="[object Map]",h="[object Number]",v="[object Object]",y="[object RegExp]",g="[object Set]",m="[object String]",_="[object WeakMap]",b="[object ArrayBuffer]",w="[object DataView]",E="[object Float32Array]",T="[object Float64Array]",S="[object Int8Array]",C="[object Int16Array]",x="[object Int32Array]",O="[object Uint8Array]",k="[object Uint8ClampedArray]",M="[object Uint16Array]",P="[object Uint32Array]",A={};A[E]=A[T]=A[S]=A[C]=A[x]=A[O]=A[k]=A[M]=A[P]=!0,A[s]=A[u]=A[b]=A[c]=A[w]=A[l]=A[f]=A[d]=A[p]=A[h]=A[v]=A[y]=A[g]=A[m]=A[_]=!1,e.exports=r},function(e,t,n){function r(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?s(e)?i(e[0],e[1]):o(e):u(e)}var o=n(885),i=n(886),a=n(191),s=n(39),u=n(956);e.exports=r},function(e,t,n){function r(e){if(!o(e))return i(e);var t=[];for(var n in Object(e))s.call(e,n)&&"constructor"!=n&&t.push(n);return t}var o=n(411),i=n(931),a=Object.prototype,s=a.hasOwnProperty;e.exports=r},function(e,t,n){function r(e){if(!o(e))return a(e);var t=i(e),n=[];for(var r in e)("constructor"!=r||!t&&u.call(e,r))&&n.push(r);return n}var o=n(118),i=n(411),a=n(932),s=Object.prototype,u=s.hasOwnProperty;e.exports=r},function(e,t,n){function r(e){var t=i(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(n){return n===e||o(n,e,t)}}var o=n(878),i=n(903),a=n(413);e.exports=r},function(e,t,n){function r(e,t){return s(e)&&u(t)?c(l(e),t):function(n){var r=i(n,e);return void 0===r&&r===t?a(n,e):o(t,r,f|d)}}var o=n(405),i=n(951),a=n(952),s=n(279),u=n(412),c=n(413),l=n(190),f=1,d=2;e.exports=r},function(e,t){function n(e){return function(t){return null==t?void 0:t[e]}}e.exports=n},function(e,t,n){function r(e){return function(t){return o(t,e)}}var o=n(404);e.exports=r},function(e,t,n){var r=n(948),o=n(408),i=n(191),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},function(e,t){function n(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}e.exports=n},function(e,t,n){function r(e){if("string"==typeof e)return e;if(a(e))return i(e,r)+"";if(s(e))return l?l.call(e):"";var t=e+"";return"0"==t&&1/e==-u?"-0":t}var o=n(146),i=n(185),a=n(39),s=n(283),u=1/0,c=o?o.prototype:void 0,l=c?c.toString:void 0;e.exports=r},function(e,t,n){function r(e,t,n){var r=e.length;if(r<2)return r?a(e[0]):[];for(var s=-1,u=Array(r);++s<r;)for(var c=e[s],l=-1;++l<r;)l!=s&&(u[s]=o(u[s]||c,e[l],t,n));return a(i(u,1),t,n)}var o=n(275),i=n(276),a=n(406);e.exports=r},function(e,t,n){function r(e){return o(e)?e:[]}var o=n(148);e.exports=r},function(e,t,n){function r(e,t,n,r){var a=!n;n||(n={});for(var s=-1,u=t.length;++s<u;){var c=t[s],l=r?r(n[c],e[c],c,n,e):void 0;void 0===l&&(l=e[c]),a?i(n,c,l):o(n,c,l)}return n}var o=n(868),i=n(274);e.exports=r},function(e,t,n){var r=n(74),o=r["__core-js_shared__"];e.exports=o},function(e,t,n){function r(e){return o(function(t,n){var r=-1,o=n.length,a=o>1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(n[0],n[1],s)&&(a=o<3?void 0:a,o=1),t=Object(t);++r<o;){var u=n[r];u&&e(t,u,r,a)}return t})}var o=n(99),i=n(916);e.exports=r},function(e,t){function n(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),s=a.length;s--;){var u=a[e?s:++o];if(n(i[u],u,i)===!1)break}return t}}e.exports=n},function(e,t,n){var r=n(398),o=n(420),i=n(280),a=1/0,s=r&&1/i(new r([,-0]))[1]==a?function(e){return new r(e)}:o;e.exports=s},function(e,t,n){function r(e,t,n,r){return void 0===e||o(e,i[n])&&!a.call(r,n)?t:e}var o=n(147),i=Object.prototype,a=i.hasOwnProperty;e.exports=r},function(e,t,n){function r(e,t,n,r,o,T,C){switch(n){case E:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case w:return!(e.byteLength!=t.byteLength||!T(new i(e),new i(t)));case d:case p:case y:return a(+e,+t);case h:return e.name==t.name&&e.message==t.message;case g:case _:return e==t+"";case v:var x=u;case m:var O=r&l;if(x||(x=c),e.size!=t.size&&!O)return!1;var k=C.get(e);if(k)return k==t;r|=f,C.set(e,t);var M=s(x(e),x(t),r,o,T,C);return C.delete(e),M;case b:if(S)return S.call(e)==S.call(t)}return!1}var o=n(146),i=n(865),a=n(147),s=n(409),u=n(929),c=n(280),l=1,f=2,d="[object Boolean]",p="[object Date]",h="[object Error]",v="[object Map]",y="[object Number]",g="[object RegExp]",m="[object Set]",_="[object String]",b="[object Symbol]",w="[object ArrayBuffer]",E="[object DataView]",T=o?o.prototype:void 0,S=T?T.valueOf:void 0;e.exports=r},function(e,t,n){function r(e,t,n,r,a,u){var c=n&i,l=o(e),f=l.length,d=o(t),p=d.length;if(f!=p&&!c)return!1;for(var h=f;h--;){var v=l[h];if(!(c?v in t:s.call(t,v)))return!1}var y=u.get(e);if(y&&u.get(t))return y==t;var g=!0;u.set(e,t),u.set(t,e);for(var m=c;++h<f;){v=l[h];var _=e[v],b=t[v];if(r)var w=c?r(b,_,v,t,e,u):r(_,b,v,e,t,u);if(!(void 0===w?_===b||a(_,b,n,r,u):w)){g=!1;break}m||(m="constructor"==v)}if(g&&!m){var E=e.constructor,T=t.constructor;E!=T&&"constructor"in e&&"constructor"in t&&!("function"==typeof E&&E instanceof E&&"function"==typeof T&&T instanceof T)&&(g=!1)}return u.delete(e),u.delete(t),g}var o=n(902),i=1,a=Object.prototype,s=a.hasOwnProperty;e.exports=r},function(e,t,n){function r(e){return o(e,a,i)}var o=n(872),i=n(906),a=n(284);e.exports=r},function(e,t,n){function r(e){for(var t=i(e),n=t.length;n--;){var r=t[n],a=e[r];t[n]=[r,a,o(a)]}return t}var o=n(412),i=n(284);e.exports=r},function(e,t,n){var r=n(414),o=r(Object.getPrototypeOf,Object);e.exports=o},function(e,t,n){function r(e){var t=a.call(e,u),n=e[u];try{e[u]=void 0;var r=!0}catch(e){}var o=s.call(e);return r&&(t?e[u]=n:delete e[u]),o}var o=n(146),i=Object.prototype,a=i.hasOwnProperty,s=i.toString,u=o?o.toStringTag:void 0;e.exports=r},function(e,t,n){var r=n(401),o=n(957),i=Object.prototype,a=i.propertyIsEnumerable,s=Object.getOwnPropertySymbols,u=s?function(e){return null==e?[]:(e=Object(e),r(s(e),function(t){return a.call(e,t)}))}:o;e.exports=u},function(e,t,n){var r=n(862),o=n(270),i=n(864),a=n(398),s=n(866),u=n(117),c=n(415),l="[object Map]",f="[object Object]",d="[object Promise]",p="[object Set]",h="[object WeakMap]",v="[object DataView]",y=c(r),g=c(o),m=c(i),_=c(a),b=c(s),w=u;(r&&w(new r(new ArrayBuffer(1)))!=v||o&&w(new o)!=l||i&&w(i.resolve())!=d||a&&w(new a)!=p||s&&w(new s)!=h)&&(w=function(e){var t=u(e),n=t==f?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case y:return v;case g:return l;case m:return d;case _:return p;case b:return h}return t}),e.exports=w},function(e,t){function n(e,t){return null==e?void 0:e[t]}e.exports=n},function(e,t,n){function r(e,t,n){t=o(t,e);for(var r=-1,l=t.length,f=!1;++r<l;){var d=c(t[r]);if(!(f=null!=e&&n(e,d)))break;e=e[d]}return f||++r!=l?f:(l=null==e?0:e.length,!!l&&u(l)&&s(d,l)&&(a(e)||i(e)))}var o=n(407),i=n(281),a=n(39),s=n(278),u=n(282),c=n(190);e.exports=r},function(e,t,n){function r(){this.__data__=o?o(null):{},this.size=0}var o=n(189);e.exports=r},function(e,t){function n(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}e.exports=n},function(e,t,n){function r(e){var t=this.__data__;if(o){var n=t[e];return n===i?void 0:n}return s.call(t,e)?t[e]:void 0}var o=n(189),i="__lodash_hash_undefined__",a=Object.prototype,s=a.hasOwnProperty;e.exports=r},function(e,t,n){function r(e){var t=this.__data__;return o?void 0!==t[e]:a.call(t,e)}var o=n(189),i=Object.prototype,a=i.hasOwnProperty;e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=o&&void 0===t?i:t,this}var o=n(189),i="__lodash_hash_undefined__";e.exports=r},function(e,t,n){function r(e){return a(e)||i(e)||!!(s&&e&&e[s])}var o=n(146),i=n(281),a=n(39),s=o?o.isConcatSpreadable:void 0;e.exports=r},function(e,t,n){function r(e,t,n){if(!s(n))return!1;var r=typeof t;return!!("number"==r?i(n)&&a(t,n.length):"string"==r&&t in n)&&o(n[t],e)}var o=n(147),i=n(192),a=n(278),s=n(118);e.exports=r},function(e,t){function n(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=n},function(e,t,n){function r(e){return!!i&&i in e}var o=n(895),i=function(){var e=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=r},function(e,t){function n(){this.__data__=[],this.size=0}e.exports=n},function(e,t,n){function r(e){var t=this.__data__,n=o(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():a.call(t,n,1),--this.size,!0}var o=n(186),i=Array.prototype,a=i.splice;e.exports=r},function(e,t,n){function r(e){var t=this.__data__,n=o(t,e);return n<0?void 0:t[n][1]}var o=n(186);e.exports=r},function(e,t,n){function r(e){return o(this.__data__,e)>-1}var o=n(186);e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var o=n(186);e.exports=r},function(e,t,n){function r(){this.size=0,this.__data__={hash:new o,map:new(a||i),string:new o}}var o=n(863),i=n(183),a=n(270);e.exports=r},function(e,t,n){function r(e){var t=o(this,e).delete(e);return this.size-=t?1:0,t}var o=n(188);e.exports=r},function(e,t,n){function r(e){return o(this,e).get(e)}var o=n(188);e.exports=r},function(e,t,n){function r(e){return o(this,e).has(e)}var o=n(188);e.exports=r},function(e,t,n){function r(e,t){var n=o(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var o=n(188);e.exports=r},function(e,t){function n(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}e.exports=n},function(e,t,n){function r(e){var t=o(e,function(e){return n.size===i&&n.clear(),e}),n=t.cache;return t}var o=n(419),i=500;e.exports=r},function(e,t,n){var r=n(414),o=r(Object.keys,Object);e.exports=o},function(e,t){function n(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}e.exports=n},function(e,t,n){(function(e){var r=n(410),o="object"==typeof t&&t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o,s=a&&r.process,u=function(){try{return s&&s.binding&&s.binding("util")}catch(e){}}();e.exports=u}).call(t,n(206)(e))},function(e,t){function n(e){return o.call(e)}var r=Object.prototype,o=r.toString;e.exports=n},function(e,t,n){function r(e,t,n){return t=i(void 0===t?e.length-1:t,0),function(){for(var r=arguments,a=-1,s=i(r.length-t,0),u=Array(s);++a<s;)u[a]=r[t+a];a=-1;for(var c=Array(t+1);++a<t;)c[a]=r[a];return c[t]=n(u),o(e,this,c)}}var o=n(400),i=Math.max;e.exports=r},function(e,t){function n(e){return this.__data__.set(e,r),this}var r="__lodash_hash_undefined__";e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t,n){var r=n(889),o=n(939),i=o(r);e.exports=i},function(e,t){function n(e){var t=0,n=0;return function(){var a=i(),s=o-(a-n);if(n=a,s>0){if(++t>=r)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var r=800,o=16,i=Date.now;e.exports=n},function(e,t,n){function r(){this.__data__=new o,this.size=0}var o=n(183);e.exports=r},function(e,t){function n(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}e.exports=n},function(e,t){function n(e){return this.__data__.get(e)}e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t,n){function r(e,t){var n=this.__data__;if(n instanceof o){var r=n.__data__;if(!i||r.length<s-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new a(r)}return n.set(e,t),this.size=n.size,this}var o=n(183),i=n(270),a=n(271),s=200;e.exports=r},function(e,t){function n(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}e.exports=n},function(e,t,n){var r=n(930),o=/^\./,i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,s=r(function(e){var t=[];return o.test(e)&&t.push(""),e.replace(i,function(e,n,r,o){t.push(r?o.replace(a,"$1"):n||e)}),t});e.exports=s},function(e,t,n){var r=n(894),o=n(896),i=n(954),a=o(function(e,t,n,o){r(t,i(t),e,o)});e.exports=a},function(e,t){function n(e){return function(){return e}}e.exports=n},function(e,t,n){var r=n(400),o=n(947),i=n(99),a=n(899),s=i(function(e){return e.push(void 0,a),r(o,void 0,e)});e.exports=s},function(e,t,n){var r=n(275),o=n(276),i=n(99),a=n(148),s=i(function(e,t){return a(e)?r(e,o(t,1,a,!0)):[]});e.exports=s},function(e,t,n){function r(e,t,n){var r=null==e?void 0:o(e,t);return void 0===r?n:r}var o=n(404);e.exports=r},function(e,t,n){function r(e,t){return null!=e&&i(e,t,o)}var o=n(873),i=n(909);e.exports=r},function(e,t,n){var r=n(185),o=n(875),i=n(99),a=n(893),s=i(function(e){var t=r(e,a);return t.length&&t[0]===e[0]?o(t):[]});e.exports=s},function(e,t,n){function r(e){return a(e)?o(e,!0):i(e)}var o=n(402),i=n(884),a=n(192);e.exports=r},function(e,t,n){function r(e,t){var n={};return t=a(t,3),i(e,function(e,r,i){o(n,r,t(e,r,i))}),n}var o=n(274),i=n(871),a=n(882);e.exports=r},function(e,t,n){function r(e){return a(e)?o(s(e)):i(e)}var o=n(887),i=n(888),a=n(279),s=n(190);e.exports=r},function(e,t){function n(){return[]}e.exports=n},function(e,t){function n(){return!1}e.exports=n},function(e,t,n){function r(e){return null==e?"":o(e)}var o=n(891);e.exports=r},function(e,t,n){var r=n(401),o=n(99),i=n(892),a=n(148),s=o(function(e){return i(r(e,a))});e.exports=s},function(e,t,n){var r=n(1151),o=n(849),i=function(e){return"[object Array]"===Object.prototype.toString.call(e)};e.exports=function(e){if(!e)return{};var t={};return o(r(e).split("\n"),function(e){var n=e.indexOf(":"),o=r(e.slice(0,n)).toLowerCase(),a=r(e.slice(n+1));"undefined"==typeof t[o]?t[o]=a:i(t[o])?t[o].push(a):t[o]=[t[o],a]}),t}},function(e,t){e.exports={nomod:{escape:"",space:" "},ctrl:{" ":"\0",a:"",b:"",c:"",d:"",e:"",f:"",g:"",h:"\b",i:"\t",j:"\n",k:"\v",m:"\f",n:"\r",l:"",o:"",p:"",q:"",r:"",s:"",t:"",u:"",v:"",w:"",x:"",y:"",z:"","[":"","\\":"","]":"","^":"",_:"",space:"\0"}}},function(e,t,n){"use strict";function r(e){if(!/^(ctrl-|shift-|alt-|meta-){0,4}\w+$/.test(e))throw new Error('The string to parse needs to be of the format "c", "ctrl-c", "shift-ctrl-c".')}var o=n(962);e.exports=function(e){var t=e.trim().toLowerCase();r(t);var n,i={name:void 0,ctrl:!1,meta:!1,shift:!1,alt:!1,sequence:void 0},a=t.split("-");for(i.name=a.pop();n=a.pop();)i[n]=!0;return i.sequence=i.ctrl?o.ctrl[i.name]||i.name:o.nomod[i.name]||i.name,i.shift&&i.sequence&&1===i.sequence.length&&(i.sequence=i.sequence.toUpperCase()),i}},function(e,t,n){"use strict";function r(e,t,n,r,o){}e.exports=r},function(e,t,n){"use strict";var r=n(967);e.exports=function(e){var t=!1;return r(e,t)}},function(e,t,n){"use strict";var r=n(40),o=n(10);e.exports=function(){function e(){o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";var r=n(40),o=n(10),i=(n(13),n(968)),a=n(964);e.exports=function(e,t){function n(e){var t=e&&(C&&e[C]||e[x]);if("function"==typeof t)return t}function s(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}function u(e){this.message=e,this.stack=""}function c(e){function n(n,r,a,s,c,l,f){if(s=s||O,l=l||a,f!==i)if(t)o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");else;return null==r[a]?n?new u(null===r[a]?"The "+c+" `"+l+"` is marked as required "+("in `"+s+"`, but its value is `null`."):"The "+c+" `"+l+"` is marked as required in "+("`"+s+"`, but its value is `undefined`.")):null:e(r,a,s,c,l)}var r=n.bind(null,!1);return r.isRequired=n.bind(null,!0),r}function l(e){function t(t,n,r,o,i,a){var s=t[n],c=E(s);if(c!==e){var l=T(s);return new u("Invalid "+o+" `"+i+"` of type "+("`"+l+"` supplied to `"+r+"`, expected ")+("`"+e+"`."))}return null}return c(t)}function f(){return c(r.thatReturnsNull)}function d(e){function t(t,n,r,o,a){if("function"!=typeof e)return new u("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s)){var c=E(s);return new u("Invalid "+o+" `"+a+"` of type "+("`"+c+"` supplied to `"+r+"`, expected an array."))}for(var l=0;l<s.length;l++){var f=e(s,l,r,o,a+"["+l+"]",i);if(f instanceof Error)return f}return null}return c(t)}function p(){function t(t,n,r,o,i){var a=t[n];if(!e(a)){var s=E(a);return new u("Invalid "+o+" `"+i+"` of type "+("`"+s+"` supplied to `"+r+"`, expected a single ReactElement."))}return null}return c(t)}function h(e){function t(t,n,r,o,i){if(!(t[n]instanceof e)){var a=e.name||O,s=S(t[n]);return new u("Invalid "+o+" `"+i+"` of type "+("`"+s+"` supplied to `"+r+"`, expected ")+("instance of `"+a+"`."))}return null}return c(t)}function v(e){function t(t,n,r,o,i){for(var a=t[n],c=0;c<e.length;c++)if(s(a,e[c]))return null;var l=JSON.stringify(e);return new u("Invalid "+o+" `"+i+"` of value `"+a+"` "+("supplied to `"+r+"`, expected one of "+l+"."))}return Array.isArray(e)?c(t):r.thatReturnsNull}function y(e){function t(t,n,r,o,a){if("function"!=typeof e)return new u("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var s=t[n],c=E(s);if("object"!==c)return new u("Invalid "+o+" `"+a+"` of type "+("`"+c+"` supplied to `"+r+"`, expected an object."));for(var l in s)if(s.hasOwnProperty(l)){var f=e(s,l,r,o,a+"."+l,i);if(f instanceof Error)return f}return null}return c(t)}function g(e){function t(t,n,r,o,a){for(var s=0;s<e.length;s++){var c=e[s];if(null==c(t,n,r,o,a,i))return null}return new u("Invalid "+o+" `"+a+"` supplied to "+("`"+r+"`."))}return Array.isArray(e)?c(t):r.thatReturnsNull}function m(){function e(e,t,n,r,o){return b(e[t])?null:new u("Invalid "+r+" `"+o+"` supplied to "+("`"+n+"`, expected a ReactNode."))}return c(e)}function _(e){function t(t,n,r,o,a){var s=t[n],c=E(s);if("object"!==c)return new u("Invalid "+o+" `"+a+"` of type `"+c+"` "+("supplied to `"+r+"`, expected `object`."));for(var l in e){var f=e[l];if(f){var d=f(s,l,r,o,a+"."+l,i);if(d)return d}}return null}return c(t)}function b(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(b);if(null===t||e(t))return!0;var r=n(t);if(!r)return!1;var o,i=r.call(t);if(r!==t.entries){for(;!(o=i.next()).done;)if(!b(o.value))return!1}else for(;!(o=i.next()).done;){var a=o.value;if(a&&!b(a[1]))return!1}return!0;default:return!1}}function w(e,t){return"symbol"===e||("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}function E(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":w(t,e)?"symbol":t}function T(e){var t=E(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function S(e){return e.constructor&&e.constructor.name?e.constructor.name:O}var C="function"==typeof Symbol&&Symbol.iterator,x="@@iterator",O="<<anonymous>>",k={array:l("array"),bool:l("boolean"),func:l("function"),number:l("number"),object:l("object"),string:l("string"),symbol:l("symbol"),any:f(),arrayOf:d,element:p(),instanceOf:h,node:m(),objectOf:y,oneOf:v,oneOfType:g,shape:_};return u.prototype=Error.prototype,k.checkPropTypes=a,k.PropTypes=k,k}},function(e,t){"use strict";var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=n},function(e,t){function n(e){var t,n,r,o,i,a=e[0]/360,s=e[1]/100,u=e[2]/100;if(0==s)return i=255*u,[i,i,i];n=u<.5?u*(1+s):u+s-u*s,t=2*u-n,o=[0,0,0];for(var c=0;c<3;c++)r=a+1/3*-(c-1),r<0&&r++,r>1&&r--,i=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,o[c]=255*i;return o}e.exports=n},function(e,t,n){function r(e){var t=Math.round(i(e,0,255)),n=t.toString(16);return 1==n.length?"0"+n:n}function o(e){return"#"+r(e[0])+r(e[1])+r(e[2])}var i=n(285);e.exports=o},function(e,t){function n(e){return 4===e.length&&(e="#"+e.charAt(1)+e.charAt(1)+e.charAt(2)+e.charAt(2)+e.charAt(3)+e.charAt(3)),[parseInt(e.substring(1,3),16),parseInt(e.substring(3,5),16),parseInt(e.substring(5,7),16)]}e.exports=n},function(e,t,n){function r(e,t){switch(e=parseFloat(e),t){case 0:return a(e,0,360);case 1:case 2:return a(e,0,100);case 3:return a(e,0,1)}}function o(e){return i(e).map(r)}var i=n(423),a=n(285);e.exports=o},function(e,t,n){function r(e){var t=i(e),n=u(t);return 4===t.length&&n.push(t[3]),n}function o(e){for(var t in c)if(0===e.indexOf(t))return c[t](e)}var i=n(972),a=n(971),s=n(974),u=n(969),c={"#":a,hsl:r,rgb:s};o.rgb=s,o.hsl=i,o.hex=a,e.exports=o},function(e,t,n){function r(e,t){return t<3?e.indexOf("%")!=-1?Math.round(255*a(parseInt(e,10),0,100)/100):a(parseInt(e,10),0,255):a(parseFloat(e),0,1)}function o(e){return i(e).map(r)}var i=n(423),a=n(285);e.exports=o},function(e,t,n){"use strict";function r(e){switch(e.arrayFormat){case"index":return function(t,n,r){return null===n?[i(t,e),"[",r,"]"].join(""):[i(t,e),"[",i(r,e),"]=",i(n,e)].join("")};case"bracket":return function(t,n){return null===n?i(t,e):[i(t,e),"[]=",i(n,e)].join("")};default:return function(t,n){return null===n?i(t,e):[i(t,e),"=",i(n,e)].join("")}}}function o(e){var t;switch(e.arrayFormat){case"index":return function(e,n,r){return t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),void(r[e][t[1]]=n)):void(r[e]=n)};case"bracket":return function(e,n,r){return t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0===r[e]?void(r[e]=[n]):void(r[e]=[].concat(r[e],n)):void(r[e]=n)};default:return function(e,t,n){return void 0===n[e]?void(n[e]=t):void(n[e]=[].concat(n[e],t))}}}function i(e,t){return t.encode?t.strict?s(e):encodeURIComponent(e):e}function a(e){return Array.isArray(e)?e.sort():"object"==typeof e?a(Object.keys(e)).sort(function(e,t){return Number(e)-Number(t)}).map(function(t){return e[t]}):e}var s=n(1143),u=n(21);t.extract=function(e){return e.split("?")[1]||""},t.parse=function(e,t){t=u({arrayFormat:"none"},t);var n=o(t),r=Object.create(null);return"string"!=typeof e?r:(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach(function(e){var t=e.replace(/\+/g," ").split("="),o=t.shift(),i=t.length>0?t.join("="):void 0;i=void 0===i?null:decodeURIComponent(i),n(decodeURIComponent(o),i,r)}),Object.keys(r).sort().reduce(function(e,t){var n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=a(n):e[t]=n,e},Object.create(null))):r},t.stringify=function(e,t){var n={encode:!0,strict:!0,arrayFormat:"none"};t=u(n,t);var o=r(t);return e?Object.keys(e).sort().map(function(n){var r=e[n];if(void 0===r)return"";if(null===r)return i(n,t);if(Array.isArray(r)){var a=[];return r.slice().forEach(function(e){void 0!==e&&a.push(o(n,e,a.length))}),a.join("&")}return i(n,t)+"="+i(r,t)}).filter(function(e){return e.length>0}).join("&"):""}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r<n.length;r++){var o=n[r],i=Object.getOwnPropertyDescriptor(t,o);i&&i.configurable&&void 0===e[o]&&Object.defineProperty(e,o,i)}return e}function i(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):o(e,t))}Object.defineProperty(t,"__esModule",{value:!0});var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=n(1),f=r(l),d=n(22),p=r(d),h=n(424),v=r(h),y=n(425),g=function(e){function t(){return a(this,t),s(this,e.apply(this,arguments))}return u(t,e),t.prototype.getPathStyles=function(){var e=this.props,t=e.percent,n=e.strokeWidth,r=e.gapDegree,o=void 0===r?0:r,i=e.gapPosition,a=50-n/2,s=0,u=-a,c=0,l=-2*a;switch(i){case"left":s=-a,u=0,c=2*a,l=0;break;case"right":s=a,u=0,c=-2*a,l=0;break;case"bottom":u=a,l=2*a}var f="M 50,50 m "+s+","+u+"\n     a "+a+","+a+" 0 1 1 "+c+","+-l+"\n     a "+a+","+a+" 0 1 1 "+-c+","+l,d=2*Math.PI*a,p={strokeDasharray:d-o+"px "+d+"px",strokeDashoffset:"-"+o/2+"px",transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s"},h={strokeDasharray:t/100*(d-o)+"px "+d+"px",strokeDashoffset:"-"+o/2+"px",transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s"};return{pathString:f,trailPathStyle:p,strokePathStyle:h}},t.prototype.render=function(){var e=this,t=this.props,n=t.prefixCls,r=t.strokeWidth,o=t.trailWidth,a=t.strokeColor,s=t.trailColor,u=t.strokeLinecap,l=t.style,d=t.className,p=i(t,["prefixCls","strokeWidth","trailWidth","strokeColor","trailColor","strokeLinecap","style","className"]),h=this.getPathStyles(),v=h.pathString,y=h.trailPathStyle,g=h.strokePathStyle;return delete p.percent,delete p.gapDegree,delete p.gapPosition,f.default.createElement("svg",c({className:n+"-circle "+d,viewBox:"0 0 100 100",style:l},p),f.default.createElement("path",{className:n+"-circle-trail",d:v,stroke:s,strokeWidth:o||r,fillOpacity:"0",style:y}),f.default.createElement("path",{className:n+"-circle-path",d:v,strokeLinecap:u,stroke:a,strokeWidth:r,fillOpacity:"0",ref:function(t){e.path=t},style:g}))},t}(l.Component);g.propTypes=c({},y.propTypes,{gapPosition:p.default.oneOf(["top","bottom","left","right"])}),g.defaultProps=c({},y.defaultProps,{gapPosition:"top"}),t.default=(0,v.default)(g),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r<n.length;r++){var o=n[r],i=Object.getOwnPropertyDescriptor(t,o);i&&i.configurable&&void 0===e[o]&&Object.defineProperty(e,o,i)}return e}function i(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):o(e,t))}Object.defineProperty(t,"__esModule",{value:!0});var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=n(1),f=r(l),d=n(424),p=r(d),h=n(425),v=function(e){function t(){return a(this,t),s(this,e.apply(this,arguments))}return u(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.className,r=t.percent,o=t.prefixCls,a=t.strokeColor,s=t.strokeLinecap,u=t.strokeWidth,l=t.style,d=t.trailColor,p=t.trailWidth,h=i(t,["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth"]);delete h.gapPosition;var v={strokeDasharray:"100px, 100px",strokeDashoffset:100-r+"px",transition:"stroke-dashoffset 0.3s ease 0s, stroke 0.3s linear"},y=u/2,g=100-u/2,m="M "+("round"===s?y:0)+","+y+"\n           L "+("round"===s?g:100)+","+y,_="0 0 100 "+u;return f.default.createElement("svg",c({className:o+"-line "+n,viewBox:_,preserveAspectRatio:"none",style:l},h),f.default.createElement("path",{className:o+"-line-trail",d:m,strokeLinecap:s,stroke:d,strokeWidth:p||u,fillOpacity:"0"}),f.default.createElement("path",{className:o+"-line-path",d:m,strokeLinecap:s,stroke:a,strokeWidth:u,fillOpacity:"0",ref:function(t){e.path=t},style:v}))},t}(l.Component);v.propTypes=h.propTypes,v.defaultProps=h.defaultProps,t.default=(0,p.default)(v),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(977),i=r(o),a=n(976),s=r(a);t.default={Line:i.default,Circle:s.default},e.exports=t.default},function(e,t){"use strict";function n(e){var t,n,r,o=e[0],i=e[1],a=e[2];return t=1*o+0*i+1.13983*a,n=1*o+i*-.39465+a*-.5806,r=1*o+2.02311*i+0*a,t=Math.min(Math.max(0,t),1),n=Math.min(Math.max(0,n),1),r=Math.min(Math.max(0,r),1),[255*t,255*n,255*r]}function r(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255,o=.299*t+.587*n+.114*r,i=t*-.14713+n*-.28886+.436*r,a=.615*t+n*-.51499+r*-.10001;return[o,i,a]}Object.defineProperty(t,"__esModule",{value:!0}),t.yuv2rgb=n,t.rgb2yuv=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(421),s=r(a),u=n(422),c=r(u),l=function(){function e(){o(this,e),this.entered=[]}return i(e,[{key:"enter",value:function(e){var t=this.entered.length,n=function(t){return document.documentElement.contains(t)&&(!t.contains||t.contains(e))};return this.entered=(0,s.default)(this.entered.filter(n),[e]),0===t&&this.entered.length>0}},{key:"leave",value:function(e){var t=this.entered.length;return this.entered=(0,c.default)(this.entered.filter(function(e){return document.documentElement.contains(e)}),e),t>0&&0===this.entered.length}},{key:"reset",value:function(){this.entered=[]}}]),e}();t.default=l},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(949),u=o(s),c=n(986),l=o(c),f=n(980),d=o(f),p=n(427),h=n(984),v=n(983),y=n(286),g=r(y),m=function(){function e(t){i(this,e),this.actions=t.getActions(),this.monitor=t.getMonitor(),this.registry=t.getRegistry(),this.context=t.getContext(),this.sourcePreviewNodes={},this.sourcePreviewNodeOptions={},this.sourceNodes={},this.sourceNodeOptions={},this.enterLeaveCounter=new d.default,this.dragStartSourceIds=[],this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.currentDragSourceNodeOffset=null,this.currentDragSourceNodeOffsetChanged=!1,this.altKeyPressed=!1,this.getSourceClientOffset=this.getSourceClientOffset.bind(this),
+this.handleTopDragStart=this.handleTopDragStart.bind(this),this.handleTopDragStartCapture=this.handleTopDragStartCapture.bind(this),this.handleTopDragEndCapture=this.handleTopDragEndCapture.bind(this),this.handleTopDragEnter=this.handleTopDragEnter.bind(this),this.handleTopDragEnterCapture=this.handleTopDragEnterCapture.bind(this),this.handleTopDragLeaveCapture=this.handleTopDragLeaveCapture.bind(this),this.handleTopDragOver=this.handleTopDragOver.bind(this),this.handleTopDragOverCapture=this.handleTopDragOverCapture.bind(this),this.handleTopDrop=this.handleTopDrop.bind(this),this.handleTopDropCapture=this.handleTopDropCapture.bind(this),this.handleSelectStart=this.handleSelectStart.bind(this),this.endDragIfSourceWasRemovedFromDOM=this.endDragIfSourceWasRemovedFromDOM.bind(this),this.endDragNativeItem=this.endDragNativeItem.bind(this)}return a(e,[{key:"setup",value:function(){if(void 0!==this.window){if(this.window.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");this.window.__isReactDndBackendSetUp=!0,this.addEventListeners(this.window)}}},{key:"teardown",value:function(){void 0!==this.window&&(this.window.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.window),this.clearCurrentDragSourceNode())}},{key:"addEventListeners",value:function(e){e.addEventListener("dragstart",this.handleTopDragStart),e.addEventListener("dragstart",this.handleTopDragStartCapture,!0),e.addEventListener("dragend",this.handleTopDragEndCapture,!0),e.addEventListener("dragenter",this.handleTopDragEnter),e.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.addEventListener("dragover",this.handleTopDragOver),e.addEventListener("dragover",this.handleTopDragOverCapture,!0),e.addEventListener("drop",this.handleTopDrop),e.addEventListener("drop",this.handleTopDropCapture,!0)}},{key:"removeEventListeners",value:function(e){e.removeEventListener("dragstart",this.handleTopDragStart),e.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),e.removeEventListener("dragend",this.handleTopDragEndCapture,!0),e.removeEventListener("dragenter",this.handleTopDragEnter),e.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.removeEventListener("dragover",this.handleTopDragOver),e.removeEventListener("dragover",this.handleTopDragOverCapture,!0),e.removeEventListener("drop",this.handleTopDrop),e.removeEventListener("drop",this.handleTopDropCapture,!0)}},{key:"connectDragPreview",value:function(e,t,n){var r=this;return this.sourcePreviewNodeOptions[e]=n,this.sourcePreviewNodes[e]=t,function(){delete r.sourcePreviewNodes[e],delete r.sourcePreviewNodeOptions[e]}}},{key:"connectDragSource",value:function(e,t,n){var r=this;this.sourceNodes[e]=t,this.sourceNodeOptions[e]=n;var o=function(t){return r.handleDragStart(t,e)},i=function(t){return r.handleSelectStart(t,e)};return t.setAttribute("draggable",!0),t.addEventListener("dragstart",o),t.addEventListener("selectstart",i),function(){delete r.sourceNodes[e],delete r.sourceNodeOptions[e],t.removeEventListener("dragstart",o),t.removeEventListener("selectstart",i),t.setAttribute("draggable",!1)}}},{key:"connectDropTarget",value:function(e,t){var n=this,r=function(t){return n.handleDragEnter(t,e)},o=function(t){return n.handleDragOver(t,e)},i=function(t){return n.handleDrop(t,e)};return t.addEventListener("dragenter",r),t.addEventListener("dragover",o),t.addEventListener("drop",i),function(){t.removeEventListener("dragenter",r),t.removeEventListener("dragover",o),t.removeEventListener("drop",i)}}},{key:"getCurrentSourceNodeOptions",value:function(){var e=this.monitor.getSourceId(),t=this.sourceNodeOptions[e];return(0,u.default)(t||{},{dropEffect:this.altKeyPressed?"copy":"move"})}},{key:"getCurrentDropEffect",value:function(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}},{key:"getCurrentSourcePreviewNodeOptions",value:function(){var e=this.monitor.getSourceId(),t=this.sourcePreviewNodeOptions[e];return(0,u.default)(t||{},{anchorX:.5,anchorY:.5,captureDraggingState:!1})}},{key:"getSourceClientOffset",value:function(e){return(0,h.getNodeClientOffset)(this.sourceNodes[e])}},{key:"isDraggingNativeItem",value:function(){var e=this.monitor.getItemType();return Object.keys(g).some(function(t){return g[t]===e})}},{key:"beginDragNativeItem",value:function(e){this.clearCurrentDragSourceNode();var t=(0,v.createNativeDragSource)(e);this.currentNativeSource=new t,this.currentNativeHandle=this.registry.addSource(e,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle]),(0,p.isFirefox)()&&this.window.addEventListener("mousemove",this.endDragNativeItem,!0)}},{key:"endDragNativeItem",value:function(){this.isDraggingNativeItem()&&((0,p.isFirefox)()&&this.window.removeEventListener("mousemove",this.endDragNativeItem,!0),this.actions.endDrag(),this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)}},{key:"endDragIfSourceWasRemovedFromDOM",value:function(){var e=this.currentDragSourceNode;document.body.contains(e)||this.clearCurrentDragSourceNode()&&this.actions.endDrag()}},{key:"setCurrentDragSourceNode",value:function(e){this.clearCurrentDragSourceNode(),this.currentDragSourceNode=e,this.currentDragSourceNodeOffset=(0,h.getNodeClientOffset)(e),this.currentDragSourceNodeOffsetChanged=!1,this.window.addEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)}},{key:"clearCurrentDragSourceNode",value:function(){return!!this.currentDragSourceNode&&(this.currentDragSourceNode=null,this.currentDragSourceNodeOffset=null,this.currentDragSourceNodeOffsetChanged=!1,this.window.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0),!0)}},{key:"checkIfCurrentDragSourceRectChanged",value:function(){var e=this.currentDragSourceNode;return!!e&&(!!this.currentDragSourceNodeOffsetChanged||(this.currentDragSourceNodeOffsetChanged=!(0,l.default)((0,h.getNodeClientOffset)(e),this.currentDragSourceNodeOffset),this.currentDragSourceNodeOffsetChanged))}},{key:"handleTopDragStartCapture",value:function(){this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]}},{key:"handleDragStart",value:function(e,t){this.dragStartSourceIds.unshift(t)}},{key:"handleTopDragStart",value:function(e){var t=this,n=this.dragStartSourceIds;this.dragStartSourceIds=null;var r=(0,h.getEventClientOffset)(e);this.actions.beginDrag(n,{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:r});var o=e.dataTransfer,i=(0,v.matchNativeItemType)(o);if(this.monitor.isDragging()){if("function"==typeof o.setDragImage){var a=this.monitor.getSourceId(),s=this.sourceNodes[a],u=this.sourcePreviewNodes[a]||s,c=this.getCurrentSourcePreviewNodeOptions(),l=c.anchorX,f=c.anchorY,d={anchorX:l,anchorY:f},p=(0,h.getDragPreviewOffset)(s,u,r,d);o.setDragImage(u,p.x,p.y)}try{o.setData("application/json",{})}catch(e){}this.setCurrentDragSourceNode(e.target);var y=this.getCurrentSourcePreviewNodeOptions(),g=y.captureDraggingState;g?this.actions.publishDragSource():setTimeout(function(){return t.actions.publishDragSource()})}else if(i)this.beginDragNativeItem(i);else{if(!(o.types||e.target.hasAttribute&&e.target.hasAttribute("draggable")))return;e.preventDefault()}}},{key:"handleTopDragEndCapture",value:function(){this.clearCurrentDragSourceNode()&&this.actions.endDrag()}},{key:"handleTopDragEnterCapture",value:function(e){this.dragEnterTargetIds=[];var t=this.enterLeaveCounter.enter(e.target);if(t&&!this.monitor.isDragging()){var n=e.dataTransfer,r=(0,v.matchNativeItemType)(n);r&&this.beginDragNativeItem(r)}}},{key:"handleDragEnter",value:function(e,t){this.dragEnterTargetIds.unshift(t)}},{key:"handleTopDragEnter",value:function(e){var t=this,n=this.dragEnterTargetIds;if(this.dragEnterTargetIds=[],this.monitor.isDragging()){this.altKeyPressed=e.altKey,(0,p.isFirefox)()||this.actions.hover(n,{clientOffset:(0,h.getEventClientOffset)(e)});var r=n.some(function(e){return t.monitor.canDropOnTarget(e)});r&&(e.preventDefault(),e.dataTransfer.dropEffect=this.getCurrentDropEffect())}}},{key:"handleTopDragOverCapture",value:function(){this.dragOverTargetIds=[]}},{key:"handleDragOver",value:function(e,t){this.dragOverTargetIds.unshift(t)}},{key:"handleTopDragOver",value:function(e){var t=this,n=this.dragOverTargetIds;if(this.dragOverTargetIds=[],!this.monitor.isDragging())return e.preventDefault(),void(e.dataTransfer.dropEffect="none");this.altKeyPressed=e.altKey,this.actions.hover(n,{clientOffset:(0,h.getEventClientOffset)(e)});var r=n.some(function(e){return t.monitor.canDropOnTarget(e)});r?(e.preventDefault(),e.dataTransfer.dropEffect=this.getCurrentDropEffect()):this.isDraggingNativeItem()?(e.preventDefault(),e.dataTransfer.dropEffect="none"):this.checkIfCurrentDragSourceRectChanged()&&(e.preventDefault(),e.dataTransfer.dropEffect="move")}},{key:"handleTopDragLeaveCapture",value:function(e){this.isDraggingNativeItem()&&e.preventDefault();var t=this.enterLeaveCounter.leave(e.target);t&&this.isDraggingNativeItem()&&this.endDragNativeItem()}},{key:"handleTopDropCapture",value:function(e){this.dropTargetIds=[],e.preventDefault(),this.isDraggingNativeItem()&&this.currentNativeSource.mutateItemByReadingDataTransfer(e.dataTransfer),this.enterLeaveCounter.reset()}},{key:"handleDrop",value:function(e,t){this.dropTargetIds.unshift(t)}},{key:"handleTopDrop",value:function(e){var t=this.dropTargetIds;this.dropTargetIds=[],this.actions.hover(t,{clientOffset:(0,h.getEventClientOffset)(e)}),this.actions.drop({dropEffect:this.getCurrentDropEffect()}),this.isDraggingNativeItem()?this.endDragNativeItem():this.endDragIfSourceWasRemovedFromDOM()}},{key:"handleSelectStart",value:function(e){var t=e.target;"function"==typeof t.dragDrop&&("INPUT"===t.tagName||"SELECT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable||(e.preventDefault(),t.dragDrop()))}},{key:"window",get:function(){return this.context&&this.context.window?this.context.window:"undefined"!=typeof window?window:void 0}}]),e}();t.default=m},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(t,r){n(this,e);for(var o=t.length,i=[],a=0;a<o;a++)i.push(a);i.sort(function(e,n){return t[e]<t[n]?-1:1});for(var s=[],u=[],c=[],l=void 0,f=void 0,d=0;d<o-1;d++)l=t[d+1]-t[d],f=r[d+1]-r[d],u.push(l),s.push(f),c.push(f/l);for(var p=[c[0]],h=0;h<u.length-1;h++){var v=c[h],y=c[h+1];if(v*y<=0)p.push(0);else{l=u[h];var g=u[h+1],m=l+g;p.push(3*m/((m+g)/v+(m+l)/y))}}p.push(c[c.length-1]);for(var _=[],b=[],w=void 0,E=0;E<p.length-1;E++){w=c[E];var T=p[E],S=1/u[E],C=T+p[E+1]-w-w;_.push((w-T-C)*S),b.push(C*S*S)}this.xs=t,this.ys=r,this.c1s=p,this.c2s=_,this.c3s=b}return r(e,[{key:"interpolate",value:function(e){var t=this.xs,n=this.ys,r=this.c1s,o=this.c2s,i=this.c3s,a=t.length-1;if(e===t[a])return n[a];for(var s=0,u=i.length-1,c=void 0;s<=u;){c=Math.floor(.5*(s+u));var l=t[c];if(l<e)s=c+1;else{if(!(l>e))return n[c];u=c-1}}a=Math.max(0,u);var f=e-t[a],d=f*f;return n[a]+r[a]*f+o[a]*d+i[a]*f*d}}]),e}();t.default=o},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e,t){for(var n in t){var r=t[n];r.configurable=r.enumerable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,n,r)}return e}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t,n){var r=t.reduce(function(t,n){return t||e.getData(n)},null);return null!=r?r:n}function u(e){var t=h[e],n=t.exposeProperty,r=t.matchesTypes,a=t.getData;return function(){function e(){var t,r;i(this,e),this.item=(t={},r={},r[n]=r[n]||{},r[n].get=function(){return console.warn("Browser doesn't allow reading \""+n+'" until the drop event.'),null},o(t,r),t)}return f(e,[{key:"mutateItemByReadingDataTransfer",value:function(e){delete this.item[n],this.item[n]=a(e,r)}},{key:"canDrag",value:function(){return!0}},{key:"beginDrag",value:function(){return this.item}},{key:"isDragging",value:function(e,t){return t===e.getSourceId()}},{key:"endDrag",value:function(){}}]),e}()}function c(e){var t=Array.prototype.slice.call(e.types||[]);return Object.keys(h).filter(function(e){var n=h[e].matchesTypes;return n.some(function(e){return t.indexOf(e)>-1})})[0]||null}Object.defineProperty(t,"__esModule",{value:!0});var l,f=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.createNativeDragSource=u,t.matchNativeItemType=c;var d=n(286),p=r(d),h=(l={},a(l,p.FILE,{exposeProperty:"files",matchesTypes:["Files"],getData:function(e){return Array.prototype.slice.call(e.files)}}),a(l,p.URL,{exposeProperty:"urls",matchesTypes:["Url","text/uri-list"],getData:function(e,t){return s(e,t,"").split("\n")}}),a(l,p.TEXT,{exposeProperty:"text",matchesTypes:["Text","text/plain"],getData:function(e,t){return s(e,t,"")}}),l)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.nodeType===l?e:e.parentElement;if(!t)return null;var n=t.getBoundingClientRect(),r=n.top,o=n.left;return{x:o,y:r}}function i(e){return{x:e.clientX,y:e.clientY}}function a(e,t,n,r){var i="IMG"===t.nodeName&&((0,s.isFirefox)()||!document.documentElement.contains(t)),a=i?e:t,u=o(a),l={x:n.x-u.x,y:n.y-u.y},f=e.offsetWidth,d=e.offsetHeight,p=r.anchorX,h=r.anchorY,v=i?t.width:f,y=i?t.height:d;(0,s.isSafari)()&&i?(y/=window.devicePixelRatio,v/=window.devicePixelRatio):(0,s.isFirefox)()&&!i&&(y*=window.devicePixelRatio,v*=window.devicePixelRatio);var g=new c.default([0,.5,1],[l.x,l.x/f*v,l.x+v-f]),m=new c.default([0,.5,1],[l.y,l.y/d*y,l.y+y-d]),_=g.interpolate(p),b=m.interpolate(h);return(0,s.isSafari)()&&i&&(b+=(window.devicePixelRatio-1)*y),{x:_,y:b}}Object.defineProperty(t,"__esModule",{value:!0}),t.getNodeClientOffset=o,t.getEventClientOffset=i,t.getDragPreviewOffset=a;var s=n(427),u=n(982),c=r(u),l=1},function(e,t){"use strict";function n(){return r||(r=new Image,r.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),r}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;var r=void 0},287,function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,s,u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(1),l=n(428),f=(s=a=function(e){function t(e,n){r(this,t);var i=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return i.backend=(0,l.unpackBackendForEs5Users)(e.backend),i}return i(t,e),u(t,[{key:"getChildContext",value:function(){var e=this,t=function(){return e.props&&e.props.window?e.props.window:e.context&&e.context.window?e.context.window:"undefined"!=typeof window?window:void 0};return(0,l.createChildContext)(this.backend,{window:t()})}},{key:"render",value:function(){return c.Children.only(this.props.children)}}]),t}(c.Component),a.propTypes={backend:c.PropTypes.oneOfType([c.PropTypes.func,c.PropTypes.object]).isRequired,children:c.PropTypes.element.isRequired,window:c.PropTypes.object},a.defaultProps={window:void 0},a.childContextTypes=l.CHILD_CONTEXT_TYPES,a.displayName="DragDropContextProvider",a.contextTypes={window:c.PropTypes.object},s);t.default=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return S.default.apply(void 0,["DragLayer","collect[, options]"].concat(Array.prototype.slice.call(arguments))),(0,m.default)("function"==typeof e,'Expected "collect" provided as the first argument to DragLayer to be a function that collects props to inject into the component. ',"Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-layer.html",e),(0,m.default)((0,y.default)(t),'Expected "options" provided as the second argument to DragLayer to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-layer.html',t),function(n){var r,s,p=t.arePropsEqual,v=void 0===p?E.default:p,y=n.displayName||n.name||"Component",g=(s=r=function(t){function r(e,t){o(this,r);var n=i(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e));return n.handleChange=n.handleChange.bind(n),n.manager=t.dragDropManager,(0,m.default)("object"===c(n.manager),"Could not find the drag and drop manager in the context of %s. Make sure to wrap the top-level component of your app with DragDropContext. Read more: http://react-dnd.github.io/react-dnd/docs-troubleshooting.html#could-not-find-the-drag-and-drop-manager-in-the-context",y,y),n.state=n.getCurrentState(),n}return a(r,t),l(r,[{key:"getDecoratedComponentInstance",value:function(){return(0,m.default)(this.child,"In order to access an instance of the decorated component it can not be a stateless component."),this.child}},{key:"shouldComponentUpdate",value:function(e,t){return!v(e,this.props)||!(0,b.default)(t,this.state)}}]),l(r,[{key:"componentDidMount",value:function(){this.isCurrentlyMounted=!0;var e=this.manager.getMonitor();this.unsubscribeFromOffsetChange=e.subscribeToOffsetChange(this.handleChange),this.unsubscribeFromStateChange=e.subscribeToStateChange(this.handleChange),this.handleChange()}},{key:"componentWillUnmount",value:function(){this.isCurrentlyMounted=!1,this.unsubscribeFromOffsetChange(),this.unsubscribeFromStateChange()}},{key:"handleChange",value:function(){if(this.isCurrentlyMounted){var e=this.getCurrentState();(0,b.default)(e,this.state)||this.setState(e)}}},{key:"getCurrentState",value:function(){var t=this.manager.getMonitor();return e(t)}},{key:"render",value:function(){var e=this;return d.default.createElement(n,u({},this.props,this.state,{ref:function(t){return e.child=t}}))}}]),r}(f.Component),r.DecoratedComponent=n,r.displayName="DragLayer("+y+")",r.contextTypes={dragDropManager:f.PropTypes.object.isRequired},s);return(0,h.default)(g,n)}}Object.defineProperty(t,"__esModule",{value:!0});var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=s;var f=n(1),d=r(f),p=n(145),h=r(p),v=n(63),y=r(v),g=n(17),m=r(g),_=n(287),b=r(_),w=n(432),E=r(w),T=n(194),S=r(T)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};l.default.apply(void 0,["DragSource","type, spec, collect[, options]"].concat(Array.prototype.slice.call(arguments)));var o=e;"function"!=typeof e&&((0,a.default)((0,E.default)(e),'Expected "type" provided as the first argument to DragSource to be a string, or a function that returns a string given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',e),o=function(){return e}),(0,a.default)((0,u.default)(t),'Expected "spec" provided as the second argument to DragSource to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',t);var i=(0,y.default)(t);return(0,a.default)("function"==typeof n,'Expected "collect" provided as the third argument to DragSource to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',n),(0,a.default)((0,u.default)(r),'Expected "options" provided as the fourth argument to DragSource to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',n),function(e){return(0,d.default)({connectBackend:function(e,t){return e.connectDragSource(t)},containerDisplayName:"DragSource",createHandler:i,registerHandler:h.default,createMonitor:m.default,createConnector:b.default,DecoratedComponent:e,getType:o,collect:n,options:r})}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(17),a=r(i),s=n(63),u=r(s),c=n(194),l=r(c),f=n(430),d=r(f),p=n(997),h=r(p),v=n(992),y=r(v),g=n(993),m=r(g),_=n(991),b=r(_),w=n(431),E=r(w)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};l.default.apply(void 0,["DropTarget","type, spec, collect[, options]"].concat(Array.prototype.slice.call(arguments)));var o=e;"function"!=typeof e&&((0,a.default)((0,E.default)(e,!0),'Expected "type" provided as the first argument to DropTarget to be a string, an array of strings, or a function that returns either given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',e),o=function(){return e}),(0,a.default)((0,u.default)(t),'Expected "spec" provided as the second argument to DropTarget to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',t);var i=(0,y.default)(t);return(0,a.default)("function"==typeof n,'Expected "collect" provided as the third argument to DropTarget to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',n),(0,a.default)((0,u.default)(r),'Expected "options" provided as the fourth argument to DropTarget to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',n),function(e){return(0,d.default)({connectBackend:function(e,t){return e.connectDropTarget(t)},containerDisplayName:"DropTarget",createHandler:i,registerHandler:h.default,createMonitor:m.default,createConnector:b.default,DecoratedComponent:e,getType:o,collect:n,options:r})}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(17),a=r(i),s=n(63),u=r(s),c=n(194),l=r(c),f=n(430),d=r(f),p=n(998),h=r(p),v=n(995),y=r(v),g=n(996),m=r(g),_=n(994),b=r(_),w=n(431),E=r(w)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){function t(){c&&(c(),c=null),o&&i&&(c=e.connectDragSource(o,i,s))}function n(){d&&(d(),d=null),o&&l&&(d=e.connectDragPreview(o,l,f))}function r(e){e!==o&&(o=e,t(),n())}var o=void 0,i=void 0,s=void 0,c=void 0,l=void 0,f=void 0,d=void 0,p=(0,a.default)({dragSource:function(e,n){e===i&&(0,u.default)(n,s)||(i=e,s=n,t())},dragPreview:function(e,t){e===l&&(0,u.default)(t,f)||(l=e,f=t,n())}});return{receiveHandlerId:r,hooks:p}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(433),a=r(i),s=n(429),u=r(s)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e){Object.keys(e).forEach(function(t){(0,u.default)(l.indexOf(t)>-1,'Expected the drag source specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',l.join(", "),t),(0,u.default)("function"==typeof e[t],"Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html",t,t,e[t])}),f.forEach(function(t){(0,u.default)("function"==typeof e[t],"Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html",t,t,e[t])});var t=function(){function t(e){o(this,t),this.monitor=e,this.props=null,this.component=null}return a(t,[{key:"receiveProps",value:function(e){this.props=e}},{key:"receiveComponent",value:function(e){this.component=e}},{key:"canDrag",value:function(){return!e.canDrag||e.canDrag(this.props,this.monitor)}},{key:"isDragging",value:function(t,n){return e.isDragging?e.isDragging(this.props,this.monitor):n===t.getSourceId()}},{key:"beginDrag",value:function(){var t=e.beginDrag(this.props,this.monitor,this.component);return t}},{key:"endDrag",value:function(){e.endDrag&&e.endDrag(this.props,this.monitor,this.component)}}]),t}();return function(e){return new t(e)}}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=i;var s=n(17),u=r(s),c=n(63),l=(r(c),["canDrag","beginDrag","isDragging","endDrag"]),f=["beginDrag"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e){return new f(e)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=i;var s=n(17),u=r(s),c=!1,l=!1,f=function(){function e(t){o(this,e),this.internalMonitor=t.getMonitor()}return a(e,[{key:"receiveHandlerId",value:function(e){this.sourceId=e}},{key:"canDrag",value:function(){(0,u.default)(!c,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source-monitor.html");try{return c=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{c=!1}}},{key:"isDragging",value:function(){(0,u.default)(!l,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source-monitor.html");try{return l=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{l=!1}}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}]),e}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){function t(){s&&(s(),s=null),r&&o&&(s=e.connectDropTarget(r,o,i))}function n(e){e!==r&&(r=e,t())}var r=void 0,o=void 0,i=void 0,s=void 0,c=(0,a.default)({dropTarget:function(e,n){e===o&&(0,u.default)(n,i)||(o=e,i=n,t())}});return{receiveHandlerId:n,hooks:c}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(433),a=r(i),s=n(429),u=r(s)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e){Object.keys(e).forEach(function(t){(0,u.default)(l.indexOf(t)>-1,'Expected the drop target specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',l.join(", "),t),(0,u.default)("function"==typeof e[t],"Expected %s in the drop target specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html",t,t,e[t])});var t=function(){function t(e){o(this,t),this.monitor=e,this.props=null,this.component=null}return a(t,[{key:"receiveProps",value:function(e){this.props=e}},{key:"receiveMonitor",value:function(e){this.monitor=e}},{key:"receiveComponent",value:function(e){this.component=e}},{key:"canDrop",value:function(){return!e.canDrop||e.canDrop(this.props,this.monitor)}},{key:"hover",value:function(){e.hover&&e.hover(this.props,this.monitor,this.component)}},{key:"drop",value:function(){if(e.drop){var t=e.drop(this.props,this.monitor,this.component);return t}}}]),t}();return function(e){return new t(e)}}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=i;var s=n(17),u=r(s),c=n(63),l=(r(c),["canDrop","hover","drop"])},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e){return new l(e)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=i;var s=n(17),u=r(s),c=!1,l=function(){function e(t){o(this,e),this.internalMonitor=t.getMonitor()}return a(e,[{key:"receiveHandlerId",value:function(e){
+this.targetId=e}},{key:"canDrop",value:function(){(0,u.default)(!c,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target-monitor.html");try{return c=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{c=!1}}},{key:"isOver",value:function(e){return this.internalMonitor.isOverTarget(this.targetId,e)}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}]),e}()},function(e,t){"use strict";function n(e,t,n){function r(){o.removeSource(i)}var o=n.getRegistry(),i=o.addSource(e,t);return{handlerId:i,unregister:r}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n},function(e,t){"use strict";function n(e,t,n){function r(){o.removeTarget(i)}var o=n.getRegistry(),i=o.addTarget(e,t);return{handlerId:i,unregister:r}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=e.ref;return(0,a.default)("string"!=typeof n,"Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://facebook.github.io/react/docs/more-about-refs.html#the-ref-callback-attribute"),n?(0,s.cloneElement)(e,{ref:function(e){t(e),n&&n(e)}}):(0,s.cloneElement)(e,{ref:t})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(17),a=r(i),s=n(1)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function u(e){return Object.keys(e).reduce(function(t,n){return t[n]=(0,C.default)(e[n]),t},{})}function c(e){return["left","top","width","height"].map(function(t){return t+" "+e/1e3+"s ease-out"})}function l(e,t){function n(e){return r?100-100*f+"%":e-f+"px"}var r=e.fluid,o=e.dockStyle,i=e.dockHiddenStyle,a=e.duration,u=e.position,l=e.isVisible,f=t.size,d=t.isResizing,p=t.fullWidth,h=t.fullHeight,v=void 0,y=r?100*f+"%":f+"px";switch(u){case"left":v={width:y,left:l?0:"-"+y};break;case"right":v={left:l?n(p):p,width:y};break;case"top":v={top:l?0:"-"+y,height:y};break;case"bottom":v={top:l?n(h):h,height:y}}var g=c(a);return[x.dock,(0,C.default)({transition:[].concat(s(g),[!l&&"opacity 0.01s linear "+a/1e3+"s"]).filter(function(e){return e}).join(",")}),o,(0,C.default)(v),d&&x.dockResizing,!l&&x.dockHidden,!l&&i]}function f(e,t){var n=e.dimMode,r=e.dimStyle,o=e.duration,i=e.isVisible,a=t.isTransitionStarted;return[x.dim,(0,C.default)({transition:"opacity "+o/1e3+"s ease-out"}),r,"transparent"===n&&x.dimTransparent,!i&&x.dimHidden,a&&i&&x.dimAppear,a&&!i&&x.dimDisappear]}function d(e){var t=void 0,n=10;switch(e){case"left":t={right:-n/2,width:n,top:0,height:"100%",cursor:"col-resize"};break;case"right":t={left:-n/2,width:n,top:0,height:"100%",cursor:"col-resize"};break;case"top":t={bottom:-n/2,height:n,left:0,width:"100%",cursor:"row-resize"};break;case"bottom":t={top:-n/2,height:n,left:0,width:"100%",cursor:"row-resize"}}return[x.resizer,(0,C.default)(t)]}function p(e,t,n){return"left"===e||"right"===e?t:n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var h,v,y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},g=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),m=n(1),_=r(m),b=n(22),w=r(b),E=n(1003),T=r(E),S=n(1001),C=r(S),x=u({wrapper:{position:"fixed",width:0,height:0,top:0,left:0},dim:{position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:0,background:"rgba(0, 0, 0, 0.2)",opacity:1},dimAppear:{opacity:0},dimTransparent:{pointerEvents:"none"},dimHidden:{opacity:0},dock:{position:"fixed",zIndex:1,boxShadow:"0 0 4px rgba(0, 0, 0, 0.3)",background:"white",left:0,top:0,width:"100%",height:"100%"},dockHidden:{opacity:0},dockResizing:{transition:"none"},dockContent:{width:"100%",height:"100%",overflow:"auto"},resizer:{position:"absolute",zIndex:2,opacity:0}}),O=(v=h=function(e){function t(e){o(this,t);var n=i(this,Object.getPrototypeOf(t).call(this,e));return n.transitionEnd=function(){n.setState({isTransitionStarted:!1})},n.hideDim=function(){n.props.isVisible||n.setState({isDimHidden:!0})},n.handleDimClick=function(){"opaque"===n.props.dimMode&&n.props.onVisibleChange&&n.props.onVisibleChange(!1)},n.handleResize=function(){window.requestAnimationFrame?window.requestAnimationFrame(n.updateWindowSize.bind(n,!0)):n.updateWindowSize(!0)},n.updateWindowSize=function(e){var t={fullWidth:window.innerWidth,fullHeight:window.innerHeight};e?(n.setState(y({},t,{isResizing:!0,isWindowResizing:e})),n.debouncedUpdateWindowSizeEnd()):n.setState(t)},n.updateWindowSizeEnd=function(){n.setState({isResizing:!1,isWindowResizing:!1})},n.debouncedUpdateWindowSizeEnd=(0,T.default)(n.updateWindowSizeEnd,30),n.handleWrapperLeave=function(){n.setState({isResizing:!1})},n.handleMouseDown=function(){n.setState({isResizing:!0})},n.handleMouseUp=function(){n.setState({isResizing:!1})},n.handleMouseMove=function(e){if(n.state.isResizing&&!n.state.isWindowResizing){e.preventDefault();var t=n.props,r=t.position,o=t.fluid,i=n.state,a=i.fullWidth,s=i.fullHeight,u=i.isControlled,c=e.clientX,l=e.clientY,f=void 0;switch(r){case"left":f=o?c/a:c;break;case"right":f=o?(a-c)/a:a-c;break;case"top":f=o?l/s:l;break;case"bottom":f=o?(s-l)/s:s-l}n.props.onSizeChange&&n.props.onSizeChange(f),u||n.setState({size:f})}},n.state={isControlled:"undefined"!=typeof e.size,size:e.size||e.defaultSize,isDimHidden:!e.isVisible,fullWidth:"undefined"!=typeof window&&window.innerWidth,fullHeight:"undefined"!=typeof window&&window.innerHeight,isTransitionStarted:!1,isWindowResizing:!1},n}return a(t,e),g(t,[{key:"componentDidMount",value:function(){window.addEventListener("mouseup",this.handleMouseUp),window.addEventListener("mousemove",this.handleMouseMove),window.addEventListener("resize",this.handleResize),window.fullWidth||this.updateWindowSize()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("mouseup",this.handleMouseUp),window.removeEventListener("mousemove",this.handleMouseMove),window.removeEventListener("resize",this.handleResize)}},{key:"componentWillReceiveProps",value:function(e){var t="undefined"!=typeof e.size;this.setState({isControlled:t}),t&&this.props.size!==e.size?this.setState({size:e.size}):this.props.fluid!==e.fluid&&this.updateSize(e),this.props.isVisible!==e.isVisible&&this.setState({isTransitionStarted:!0})}},{key:"updateSize",value:function(e){var t=this.state,n=t.fullWidth,r=t.fullHeight;this.setState({size:e.fluid?this.state.size/p(e.position,n,r):p(e.position,n,r)*this.state.size})}},{key:"componentDidUpdate",value:function(e){var t=this;this.props.isVisible!==e.isVisible&&(this.props.isVisible?this.setState({isDimHidden:!1}):window.setTimeout(function(){return t.hideDim()},this.props.duration),window.setTimeout(function(){return t.setState({isTransitionStarted:!1})},0))}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.zIndex,r=e.dimMode,o=e.position,i=e.isVisible,a=this.state,u=a.isResizing,c=a.size,p=a.isDimHidden,h=Object.assign.apply(Object,[{}].concat(s(f(this.props,this.state)))),v=Object.assign.apply(Object,[{}].concat(s(l(this.props,this.state)))),y=Object.assign.apply(Object,[{}].concat(s(d(o))));return _.default.createElement("div",{style:Object.assign({},x.wrapper,{zIndex:n})},"none"!==r&&!p&&_.default.createElement("div",{style:h,onClick:this.handleDimClick}),_.default.createElement("div",{style:v},_.default.createElement("div",{style:y,onMouseDown:this.handleMouseDown}),_.default.createElement("div",{style:x.dockContent},"function"==typeof t?t({position:o,isResizing:u,size:c,isVisible:i}):t)))}}]),t}(m.Component),h.propTypes={position:w.default.oneOf(["left","right","top","bottom"]),zIndex:w.default.number,fluid:w.default.bool,size:w.default.number,defaultSize:w.default.number,dimMode:w.default.oneOf(["none","transparent","opaque"]),isVisible:w.default.bool,onVisibleChange:w.default.func,onSizeChange:w.default.func,dimStyle:w.default.object,dockStyle:w.default.object,duration:w.default.number},h.defaultProps={position:"left",zIndex:99999999,fluid:!0,defaultSize:.3,dimMode:"opaque",duration:200},v);t.default=O},function(e,t){"use strict";function n(e,t){return a.reduce(function(n,r){return n[r+e[0].toUpperCase()+e.substr(1)]=t,n},{})}function r(e){return Object.keys(e).reduce(function(t,r){return i.indexOf(r)!==-1?o({},t,n(r,e[r])):t},e)}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=r;var i=["animation","animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction","appearance","backfaceVisibility","backgroundClip","borderImage","borderImageSlice","boxSizing","boxShadow","contentColumns","transform","transformOrigin","transformStyle","transition","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction","perspective","perspectiveOrigin","userSelect"],a=["Moz","Webkit","ms","O"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(1e3),i=r(o);t.default=i.default},function(e,t,n){function r(e,t,n){function r(){g&&clearTimeout(g),p&&clearTimeout(p),_=0,p=g=m=void 0}function i(t,n){n&&clearTimeout(n),p=g=m=void 0,t&&(_=c(),h=e.apply(y,d),g||p||(d=y=void 0))}function u(){var e=t-(c()-v);e<=0||e>t?i(m,p):g=setTimeout(u,e)}function l(){i(w,g)}function f(){if(d=arguments,v=c(),y=this,m=w&&(g||!E),b===!1)var n=E&&!g;else{p||E||(_=v);var r=b-(v-_),o=r<=0||r>b;o?(p&&(p=clearTimeout(p)),_=v,h=e.apply(y,d)):p||(p=setTimeout(l,r))}return o&&g?g=clearTimeout(g):g||t===b||(g=setTimeout(u,t)),n&&(o=!0,h=e.apply(y,d)),!o||g||p||(d=y=void 0),h}var d,p,h,v,y,g,m,_=0,b=!1,w=!0;if("function"!=typeof e)throw new TypeError(a);if(t=t<0?0:+t||0,n===!0){var E=!0;w=!1}else o(n)&&(E=!!n.leading,b="maxWait"in n&&s(+n.maxWait||0,t),w="trailing"in n?!!n.trailing:w);return f.cancel=r,f}function o(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}var i=n(858),a="Expected a function",s=Math.max,u=i(Date,"now"),c=u||function(){return(new Date).getTime()};e.exports=r},function(e,t){"use strict";var n={Properties:{"aria-current":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},DOMAttributeNames:{},DOMPropertyNames:{}};e.exports=n},function(e,t,n){"use strict";var r=n(29),o=n(391),i={focusDOMComponent:function(){o(r.getNodeFromInstance(this))}};e.exports=i},function(e,t,n){"use strict";function r(){var e=window.opera;return"object"==typeof e&&"function"==typeof e.version&&parseInt(e.version(),10)<=12}function o(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function i(e){switch(e){case"topCompositionStart":return x.compositionStart;case"topCompositionEnd":return x.compositionEnd;case"topCompositionUpdate":return x.compositionUpdate}}function a(e,t){return"topKeyDown"===e&&t.keyCode===_}function s(e,t){switch(e){case"topKeyUp":return m.indexOf(t.keyCode)!==-1;case"topKeyDown":return t.keyCode!==_;case"topKeyPress":case"topMouseDown":case"topBlur":return!0;default:return!1}}function u(e){var t=e.detail;return"object"==typeof t&&"data"in t?t.data:null}function c(e,t,n,r){var o,c;if(b?o=i(e):k?s(e,n)&&(o=x.compositionEnd):a(e,n)&&(o=x.compositionStart),!o)return null;T&&(k||o!==x.compositionStart?o===x.compositionEnd&&k&&(c=k.getData()):k=v.getPooled(r));var l=y.getPooled(o,t,n,r);if(c)l.data=c;else{var f=u(n);null!==f&&(l.data=f)}return p.accumulateTwoPhaseDispatches(l),l}function l(e,t){switch(e){case"topCompositionEnd":return u(t);case"topKeyPress":var n=t.which;return n!==S?null:(O=!0,C);case"topTextInput":var r=t.data;return r===C&&O?null:r;default:return null}}function f(e,t){if(k){if("topCompositionEnd"===e||!b&&s(e,t)){var n=k.getData();return v.release(k),k=null,n}return null}switch(e){case"topPaste":return null;case"topKeyPress":return t.which&&!o(t)?String.fromCharCode(t.which):null;case"topCompositionEnd":return T?null:t.data;default:return null}}function d(e,t,n,r){var o;if(o=E?l(e,n):f(e,n),!o)return null;var i=g.getPooled(x.beforeInput,t,n,r);return i.data=o,p.accumulateTwoPhaseDispatches(i),i}var p=n(122),h=n(38),v=n(1013),y=n(1050),g=n(1053),m=[9,13,27,32],_=229,b=h.canUseDOM&&"CompositionEvent"in window,w=null;h.canUseDOM&&"documentMode"in document&&(w=document.documentMode);var E=h.canUseDOM&&"TextEvent"in window&&!w&&!r(),T=h.canUseDOM&&(!b||w&&w>8&&w<=11),S=32,C=String.fromCharCode(S),x={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["topCompositionEnd","topKeyPress","topTextInput","topPaste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:["topBlur","topCompositionEnd","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:["topBlur","topCompositionStart","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:["topBlur","topCompositionUpdate","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]}},O=!1,k=null,M={eventTypes:x,extractEvents:function(e,t,n,r){return[c(e,t,n,r),d(e,t,n,r)]}};e.exports=M},function(e,t,n){"use strict";var r=n(434),o=n(38),i=(n(55),n(837),n(1059)),a=n(844),s=n(848),u=(n(13),s(function(e){return a(e)})),c=!1,l="cssFloat";if(o.canUseDOM){var f=document.createElement("div").style;try{f.font=""}catch(e){c=!0}void 0===document.documentElement.style.cssFloat&&(l="styleFloat")}var d={createMarkupForStyles:function(e,t){var n="";for(var r in e)if(e.hasOwnProperty(r)){var o=e[r];null!=o&&(n+=u(r)+":",n+=i(r,o,t)+";")}return n||null},setValueForStyles:function(e,t,n){var o=e.style;for(var a in t)if(t.hasOwnProperty(a)){var s=i(a,t[a],n);if("float"!==a&&"cssFloat"!==a||(a=l),s)o[a]=s;else{var u=c&&r.shorthandPropertyExpansions[a];if(u)for(var f in u)o[f]="";else o[a]=""}}}};e.exports=d},function(e,t,n){"use strict";function r(e){var t=e.nodeName&&e.nodeName.toLowerCase();return"select"===t||"input"===t&&"file"===e.type}function o(e){var t=S.getPooled(k.change,P,e,C(e));b.accumulateTwoPhaseDispatches(t),T.batchedUpdates(i,t)}function i(e){_.enqueueEvents(e),_.processEventQueue(!1)}function a(e,t){M=e,P=t,M.attachEvent("onchange",o)}function s(){M&&(M.detachEvent("onchange",o),M=null,P=null)}function u(e,t){if("topChange"===e)return t}function c(e,t,n){"topFocus"===e?(s(),a(t,n)):"topBlur"===e&&s()}function l(e,t){M=e,P=t,A=e.value,I=Object.getOwnPropertyDescriptor(e.constructor.prototype,"value"),Object.defineProperty(M,"value",R),M.attachEvent?M.attachEvent("onpropertychange",d):M.addEventListener("propertychange",d,!1)}function f(){M&&(delete M.value,M.detachEvent?M.detachEvent("onpropertychange",d):M.removeEventListener("propertychange",d,!1),M=null,P=null,A=null,I=null)}function d(e){if("value"===e.propertyName){var t=e.srcElement.value;t!==A&&(A=t,o(e))}}function p(e,t){if("topInput"===e)return t}function h(e,t,n){"topFocus"===e?(f(),l(t,n)):"topBlur"===e&&f()}function v(e,t){if(("topSelectionChange"===e||"topKeyUp"===e||"topKeyDown"===e)&&M&&M.value!==A)return A=M.value,P}function y(e){return e.nodeName&&"input"===e.nodeName.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)}function g(e,t){if("topClick"===e)return t}function m(e,t){if(null!=e){var n=e._wrapperState||t._wrapperState;if(n&&n.controlled&&"number"===t.type){var r=""+t.value;t.getAttribute("value")!==r&&t.setAttribute("value",r)}}}var _=n(121),b=n(122),w=n(38),E=n(29),T=n(64),S=n(75),C=n(300),x=n(301),O=n(450),k={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:["topBlur","topChange","topClick","topFocus","topInput","topKeyDown","topKeyUp","topSelectionChange"]}},M=null,P=null,A=null,I=null,j=!1;w.canUseDOM&&(j=x("change")&&(!document.documentMode||document.documentMode>8));var D=!1;w.canUseDOM&&(D=x("input")&&(!document.documentMode||document.documentMode>11));var R={get:function(){return I.get.call(this)},set:function(e){A=""+e,I.set.call(this,e)}},N={eventTypes:k,extractEvents:function(e,t,n,o){var i,a,s=t?E.getNodeFromInstance(t):window;if(r(s)?j?i=u:a=c:O(s)?D?i=p:(i=v,a=h):y(s)&&(i=g),i){var l=i(e,t);if(l){var f=S.getPooled(k.change,l,n,o);return f.type="change",b.accumulateTwoPhaseDispatches(f),f}}a&&a(e,s,t),"topBlur"===e&&m(t,s)}};e.exports=N},function(e,t,n){"use strict";var r=n(16),o=n(119),i=n(38),a=n(840),s=n(40),u=(n(10),{dangerouslyReplaceNodeWithMarkup:function(e,t){if(i.canUseDOM?void 0:r("56"),t?void 0:r("57"),"HTML"===e.nodeName?r("58"):void 0,"string"==typeof t){var n=a(t,s)[0];e.parentNode.replaceChild(n,e)}else o.replaceChildWithTree(e,t)}});e.exports=u},function(e,t){"use strict";var n=["ResponderEventPlugin","SimpleEventPlugin","TapEventPlugin","EnterLeaveEventPlugin","ChangeEventPlugin","SelectEventPlugin","BeforeInputEventPlugin"];e.exports=n},function(e,t,n){"use strict";var r=n(122),o=n(29),i=n(197),a={mouseEnter:{registrationName:"onMouseEnter",dependencies:["topMouseOut","topMouseOver"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["topMouseOut","topMouseOver"]}},s={eventTypes:a,extractEvents:function(e,t,n,s){if("topMouseOver"===e&&(n.relatedTarget||n.fromElement))return null;if("topMouseOut"!==e&&"topMouseOver"!==e)return null;var u;if(s.window===s)u=s;else{var c=s.ownerDocument;u=c?c.defaultView||c.parentWindow:window}var l,f;if("topMouseOut"===e){l=t;var d=n.relatedTarget||n.toElement;f=d?o.getClosestInstanceFromNode(d):null}else l=null,f=t;if(l===f)return null;var p=null==l?u:o.getNodeFromInstance(l),h=null==f?u:o.getNodeFromInstance(f),v=i.getPooled(a.mouseLeave,l,n,s);v.type="mouseleave",v.target=p,v.relatedTarget=h;var y=i.getPooled(a.mouseEnter,f,n,s);return y.type="mouseenter",y.target=h,y.relatedTarget=p,r.accumulateEnterLeaveDispatches(v,y,l,f),[v,y]}};e.exports=s},function(e,t){"use strict";var n={topAbort:null,topAnimationEnd:null,topAnimationIteration:null,topAnimationStart:null,topBlur:null,topCanPlay:null,topCanPlayThrough:null,topChange:null,topClick:null,topCompositionEnd:null,topCompositionStart:null,topCompositionUpdate:null,topContextMenu:null,topCopy:null,topCut:null,topDoubleClick:null,topDrag:null,topDragEnd:null,topDragEnter:null,topDragExit:null,topDragLeave:null,topDragOver:null,topDragStart:null,topDrop:null,topDurationChange:null,topEmptied:null,topEncrypted:null,topEnded:null,topError:null,topFocus:null,topInput:null,topInvalid:null,topKeyDown:null,topKeyPress:null,topKeyUp:null,topLoad:null,topLoadedData:null,topLoadedMetadata:null,topLoadStart:null,topMouseDown:null,topMouseMove:null,topMouseOut:null,topMouseOver:null,topMouseUp:null,topPaste:null,topPause:null,topPlay:null,topPlaying:null,topProgress:null,topRateChange:null,topReset:null,topScroll:null,topSeeked:null,topSeeking:null,topSelectionChange:null,topStalled:null,topSubmit:null,topSuspend:null,topTextInput:null,topTimeUpdate:null,topTouchCancel:null,topTouchEnd:null,topTouchMove:null,topTouchStart:null,topTransitionEnd:null,topVolumeChange:null,topWaiting:null,topWheel:null},r={topLevelTypes:n};e.exports=r},function(e,t,n){"use strict";function r(e){this._root=e,this._startText=this.getText(),this._fallbackText=null}var o=n(21),i=n(103),a=n(448);o(r.prototype,{destructor:function(){this._root=null,this._startText=null,this._fallbackText=null},getText:function(){return"value"in this._root?this._root.value:this._root[a()]},getData:function(){if(this._fallbackText)return this._fallbackText;var e,t,n=this._startText,r=n.length,o=this.getText(),i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);var s=t>1?1-t:void 0;return this._fallbackText=o.slice(e,s),this._fallbackText}}),i.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";var r=n(120),o=r.injection.MUST_USE_PROPERTY,i=r.injection.HAS_BOOLEAN_VALUE,a=r.injection.HAS_NUMERIC_VALUE,s=r.injection.HAS_POSITIVE_NUMERIC_VALUE,u=r.injection.HAS_OVERLOADED_BOOLEAN_VALUE,c={isCustomAttribute:RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+r.ATTRIBUTE_NAME_CHAR+"]*$")),Properties:{accept:0,acceptCharset:0,accessKey:0,action:0,allowFullScreen:i,allowTransparency:0,alt:0,as:0,async:i,autoComplete:0,autoPlay:i,capture:i,cellPadding:0,cellSpacing:0,charSet:0,challenge:0,checked:o|i,cite:0,classID:0,className:0,cols:s,colSpan:0,content:0,contentEditable:0,contextMenu:0,controls:i,coords:0,crossOrigin:0,data:0,dateTime:0,default:i,defer:i,dir:0,disabled:i,download:u,draggable:0,encType:0,form:0,formAction:0,formEncType:0,formMethod:0,formNoValidate:i,formTarget:0,frameBorder:0,headers:0,height:0,hidden:i,high:0,href:0,hrefLang:0,htmlFor:0,httpEquiv:0,icon:0,id:0,inputMode:0,integrity:0,is:0,keyParams:0,keyType:0,kind:0,label:0,lang:0,list:0,loop:i,low:0,manifest:0,marginHeight:0,marginWidth:0,max:0,maxLength:0,media:0,mediaGroup:0,method:0,min:0,minLength:0,multiple:o|i,muted:o|i,name:0,nonce:0,noValidate:i,open:i,optimum:0,pattern:0,placeholder:0,playsInline:i,poster:0,preload:0,profile:0,radioGroup:0,readOnly:i,referrerPolicy:0,rel:0,required:i,reversed:i,role:0,rows:s,rowSpan:a,sandbox:0,scope:0,scoped:i,scrolling:0,seamless:i,selected:o|i,shape:0,size:s,sizes:0,span:s,spellCheck:0,src:0,srcDoc:0,srcLang:0,srcSet:0,start:a,step:0,style:0,summary:0,tabIndex:0,target:0,title:0,type:0,useMap:0,value:0,width:0,wmode:0,wrap:0,about:0,datatype:0,inlist:0,prefix:0,property:0,resource:0,typeof:0,vocab:0,autoCapitalize:0,autoCorrect:0,autoSave:0,color:0,itemProp:0,itemScope:i,itemType:0,itemID:0,itemRef:0,results:0,security:0,unselectable:0},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{},DOMMutationMethods:{value:function(e,t){return null==t?e.removeAttribute("value"):void("number"!==e.type||e.hasAttribute("value")===!1?e.setAttribute("value",""+t):e.validity&&!e.validity.badInput&&e.ownerDocument.activeElement!==e&&e.setAttribute("value",""+t))}}};e.exports=c},function(e,t,n){(function(t){"use strict";function r(e,t,n,r){var o=void 0===e[n];null!=t&&o&&(e[n]=i(t,!0))}var o=n(123),i=n(449),a=(n(291),n(302)),s=n(452);n(13);"undefined"!=typeof t&&t.env,1;var u={instantiateChildren:function(e,t,n,o){if(null==e)return null;var i={};return s(e,r,i),i},updateChildren:function(e,t,n,r,s,u,c,l,f){if(t||e){var d,p;for(d in t)if(t.hasOwnProperty(d)){p=e&&e[d];var h=p&&p._currentElement,v=t[d];if(null!=p&&a(h,v))o.receiveComponent(p,v,s,l),t[d]=p;else{p&&(r[d]=o.getHostNode(p),o.unmountComponent(p,!1));var y=i(v,!0);t[d]=y;var g=o.mountComponent(y,s,u,c,l,f);n.push(g)}}for(d in e)!e.hasOwnProperty(d)||t&&t.hasOwnProperty(d)||(p=e[d],r[d]=o.getHostNode(p),o.unmountComponent(p,!1))}},unmountChildren:function(e,t){for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];o.unmountComponent(r,t)}}};e.exports=u}).call(t,n(160))},function(e,t,n){"use strict";var r=n(288),o=n(1023),i={processChildrenUpdates:o.dangerouslyProcessChildrenUpdates,replaceNodeWithMarkup:r.dangerouslyReplaceNodeWithMarkup};e.exports=i},function(e,t,n){"use strict";function r(e){}function o(e,t){}function i(e){return!(!e.prototype||!e.prototype.isReactComponent)}function a(e){return!(!e.prototype||!e.prototype.isPureReactComponent)}var s=n(16),u=n(21),c=n(127),l=n(293),f=n(76),d=n(294),p=n(149),h=(n(55),n(444)),v=n(123),y=n(115),g=(n(10),n(265)),m=n(302),_=(n(13),{ImpureClass:0,PureClass:1,StatelessFunctional:2});r.prototype.render=function(){var e=p.get(this)._currentElement.type,t=e(this.props,this.context,this.updater);return o(e,t),t};var b=1,w={construct:function(e){this._currentElement=e,this._rootNodeID=0,this._compositeType=null,this._instance=null,this._hostParent=null,this._hostContainerInfo=null,this._updateBatchNumber=null,this._pendingElement=null,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._renderedNodeType=null,this._renderedComponent=null,this._context=null,this._mountOrder=0,this._topLevelWrapper=null,this._pendingCallbacks=null,this._calledComponentWillUnmount=!1},mountComponent:function(e,t,n,u){this._context=u,this._mountOrder=b++,this._hostParent=t,this._hostContainerInfo=n;var l,f=this._currentElement.props,d=this._processContext(u),h=this._currentElement.type,v=e.getUpdateQueue(),g=i(h),m=this._constructComponent(g,f,d,v);g||null!=m&&null!=m.render?a(h)?this._compositeType=_.PureClass:this._compositeType=_.ImpureClass:(l=m,o(h,l),null===m||m===!1||c.isValidElement(m)?void 0:s("105",h.displayName||h.name||"Component"),m=new r(h),this._compositeType=_.StatelessFunctional);m.props=f,m.context=d,m.refs=y,m.updater=v,this._instance=m,p.set(m,this);var w=m.state;void 0===w&&(m.state=w=null),"object"!=typeof w||Array.isArray(w)?s("106",this.getName()||"ReactCompositeComponent"):void 0,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1;var E;return E=m.unstable_handleError?this.performInitialMountWithErrorHandling(l,t,n,e,u):this.performInitialMount(l,t,n,e,u),m.componentDidMount&&e.getReactMountReady().enqueue(m.componentDidMount,m),E},_constructComponent:function(e,t,n,r){return this._constructComponentWithoutOwner(e,t,n,r)},_constructComponentWithoutOwner:function(e,t,n,r){var o=this._currentElement.type;return e?new o(t,n,r):o(t,n,r)},performInitialMountWithErrorHandling:function(e,t,n,r,o){var i,a=r.checkpoint();try{i=this.performInitialMount(e,t,n,r,o)}catch(s){r.rollback(a),this._instance.unstable_handleError(s),this._pendingStateQueue&&(this._instance.state=this._processPendingState(this._instance.props,this._instance.context)),a=r.checkpoint(),this._renderedComponent.unmountComponent(!0),r.rollback(a),i=this.performInitialMount(e,t,n,r,o)}return i},performInitialMount:function(e,t,n,r,o){var i=this._instance,a=0;i.componentWillMount&&(i.componentWillMount(),this._pendingStateQueue&&(i.state=this._processPendingState(i.props,i.context))),void 0===e&&(e=this._renderValidatedComponent());var s=h.getType(e);this._renderedNodeType=s;var u=this._instantiateReactComponent(e,s!==h.EMPTY);this._renderedComponent=u;var c=v.mountComponent(u,r,t,n,this._processChildContext(o),a);return c},getHostNode:function(){return v.getHostNode(this._renderedComponent)},unmountComponent:function(e){if(this._renderedComponent){var t=this._instance;if(t.componentWillUnmount&&!t._calledComponentWillUnmount)if(t._calledComponentWillUnmount=!0,e){var n=this.getName()+".componentWillUnmount()";d.invokeGuardedCallback(n,t.componentWillUnmount.bind(t))}else t.componentWillUnmount();this._renderedComponent&&(v.unmountComponent(this._renderedComponent,e),this._renderedNodeType=null,this._renderedComponent=null,this._instance=null),this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._pendingCallbacks=null,this._pendingElement=null,this._context=null,this._rootNodeID=0,this._topLevelWrapper=null,p.remove(t)}},_maskContext:function(e){var t=this._currentElement.type,n=t.contextTypes;if(!n)return y;var r={};for(var o in n)r[o]=e[o];return r},_processContext:function(e){var t=this._maskContext(e);return t},_processChildContext:function(e){var t,n=this._currentElement.type,r=this._instance;if(r.getChildContext&&(t=r.getChildContext()),t){"object"!=typeof n.childContextTypes?s("107",this.getName()||"ReactCompositeComponent"):void 0;for(var o in t)o in n.childContextTypes?void 0:s("108",this.getName()||"ReactCompositeComponent",o);return u({},e,t)}return e},_checkContextTypes:function(e,t,n){},receiveComponent:function(e,t,n){var r=this._currentElement,o=this._context;this._pendingElement=null,this.updateComponent(t,r,e,o,n)},performUpdateIfNecessary:function(e){null!=this._pendingElement?v.receiveComponent(this,this._pendingElement,e,this._context):null!==this._pendingStateQueue||this._pendingForceUpdate?this.updateComponent(e,this._currentElement,this._currentElement,this._context,this._context):this._updateBatchNumber=null},updateComponent:function(e,t,n,r,o){var i=this._instance;null==i?s("136",this.getName()||"ReactCompositeComponent"):void 0;var a,u=!1;this._context===o?a=i.context:(a=this._processContext(o),u=!0);var c=t.props,l=n.props;t!==n&&(u=!0),u&&i.componentWillReceiveProps&&i.componentWillReceiveProps(l,a);var f=this._processPendingState(l,a),d=!0;this._pendingForceUpdate||(i.shouldComponentUpdate?d=i.shouldComponentUpdate(l,f,a):this._compositeType===_.PureClass&&(d=!g(c,l)||!g(i.state,f))),this._updateBatchNumber=null,d?(this._pendingForceUpdate=!1,this._performComponentUpdate(n,l,f,a,e,o)):(this._currentElement=n,this._context=o,i.props=l,i.state=f,i.context=a)},_processPendingState:function(e,t){var n=this._instance,r=this._pendingStateQueue,o=this._pendingReplaceState;if(this._pendingReplaceState=!1,this._pendingStateQueue=null,!r)return n.state;if(o&&1===r.length)return r[0];for(var i=u({},o?r[0]:n.state),a=o?1:0;a<r.length;a++){var s=r[a];u(i,"function"==typeof s?s.call(n,i,e,t):s)}return i},_performComponentUpdate:function(e,t,n,r,o,i){var a,s,u,c=this._instance,l=Boolean(c.componentDidUpdate);l&&(a=c.props,s=c.state,u=c.context),c.componentWillUpdate&&c.componentWillUpdate(t,n,r),this._currentElement=e,this._context=i,c.props=t,
+c.state=n,c.context=r,this._updateRenderedComponent(o,i),l&&o.getReactMountReady().enqueue(c.componentDidUpdate.bind(c,a,s,u),c)},_updateRenderedComponent:function(e,t){var n=this._renderedComponent,r=n._currentElement,o=this._renderValidatedComponent(),i=0;if(m(r,o))v.receiveComponent(n,o,e,this._processChildContext(t));else{var a=v.getHostNode(n);v.unmountComponent(n,!1);var s=h.getType(o);this._renderedNodeType=s;var u=this._instantiateReactComponent(o,s!==h.EMPTY);this._renderedComponent=u;var c=v.mountComponent(u,e,this._hostParent,this._hostContainerInfo,this._processChildContext(t),i);this._replaceNodeWithMarkup(a,c,n)}},_replaceNodeWithMarkup:function(e,t,n){l.replaceNodeWithMarkup(e,t,n)},_renderValidatedComponentWithoutOwnerOrContext:function(){var e,t=this._instance;return e=t.render()},_renderValidatedComponent:function(){var e;if(this._compositeType!==_.StatelessFunctional){f.current=this;try{e=this._renderValidatedComponentWithoutOwnerOrContext()}finally{f.current=null}}else e=this._renderValidatedComponentWithoutOwnerOrContext();return null===e||e===!1||c.isValidElement(e)?void 0:s("109",this.getName()||"ReactCompositeComponent"),e},attachRef:function(e,t){var n=this.getPublicInstance();null==n?s("110"):void 0;var r=t.getPublicInstance(),o=n.refs===y?n.refs={}:n.refs;o[e]=r},detachRef:function(e){var t=this.getPublicInstance().refs;delete t[e]},getName:function(){var e=this._currentElement.type,t=this._instance&&this._instance.constructor;return e.displayName||t&&t.displayName||e.name||t&&t.name||null},getPublicInstance:function(){var e=this._instance;return this._compositeType===_.StatelessFunctional?null:e},_instantiateReactComponent:null};e.exports=w},function(e,t,n){"use strict";var r=n(29),o=n(1031),i=n(443),a=n(123),s=n(64),u=n(1044),c=n(1060),l=n(447),f=n(1067);n(13);o.inject();var d={findDOMNode:c,render:i.render,unmountComponentAtNode:i.unmountComponentAtNode,version:u,unstable_batchedUpdates:s.batchedUpdates,unstable_renderSubtreeIntoContainer:f};"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject&&__REACT_DEVTOOLS_GLOBAL_HOOK__.inject({ComponentTree:{getClosestInstanceFromNode:r.getClosestInstanceFromNode,getNodeFromInstance:function(e){return e._renderedComponent&&(e=l(e)),e?r.getNodeFromInstance(e):null}},Mount:i,Reconciler:a});e.exports=d},function(e,t,n){"use strict";function r(e){if(e){var t=e._currentElement._owner||null;if(t){var n=t.getName();if(n)return" This DOM node was rendered by `"+n+"`."}}return""}function o(e,t){t&&(Y[e._tag]&&(null!=t.children||null!=t.dangerouslySetInnerHTML?v("137",e._tag,e._currentElement._owner?" Check the render method of "+e._currentElement._owner.getName()+".":""):void 0),null!=t.dangerouslySetInnerHTML&&(null!=t.children?v("60"):void 0,"object"==typeof t.dangerouslySetInnerHTML&&W in t.dangerouslySetInnerHTML?void 0:v("61")),null!=t.style&&"object"!=typeof t.style?v("62",r(e)):void 0)}function i(e,t,n,r){if(!(r instanceof j)){var o=e._hostContainerInfo,i=o._node&&o._node.nodeType===H,s=i?o._node:o._ownerDocument;F(t,s),r.getReactMountReady().enqueue(a,{inst:e,registrationName:t,listener:n})}}function a(){var e=this;T.putListener(e.inst,e.registrationName,e.listener)}function s(){var e=this;k.postMountWrapper(e)}function u(){var e=this;A.postMountWrapper(e)}function c(){var e=this;M.postMountWrapper(e)}function l(){var e=this;e._rootNodeID?void 0:v("63");var t=L(e);switch(t?void 0:v("64"),e._tag){case"iframe":case"object":e._wrapperState.listeners=[C.trapBubbledEvent("topLoad","load",t)];break;case"video":case"audio":e._wrapperState.listeners=[];for(var n in V)V.hasOwnProperty(n)&&e._wrapperState.listeners.push(C.trapBubbledEvent(n,V[n],t));break;case"source":e._wrapperState.listeners=[C.trapBubbledEvent("topError","error",t)];break;case"img":e._wrapperState.listeners=[C.trapBubbledEvent("topError","error",t),C.trapBubbledEvent("topLoad","load",t)];break;case"form":e._wrapperState.listeners=[C.trapBubbledEvent("topReset","reset",t),C.trapBubbledEvent("topSubmit","submit",t)];break;case"input":case"select":case"textarea":e._wrapperState.listeners=[C.trapBubbledEvent("topInvalid","invalid",t)]}}function f(){P.postUpdateWrapper(this)}function d(e){Q.call(X,e)||($.test(e)?void 0:v("65",e),X[e]=!0)}function p(e,t){return e.indexOf("-")>=0||null!=t.is}function h(e){var t=e.type;d(t),this._currentElement=e,this._tag=t.toLowerCase(),this._namespaceURI=null,this._renderedChildren=null,this._previousStyle=null,this._previousStyleCopy=null,this._hostNode=null,this._hostParent=null,this._rootNodeID=0,this._domID=0,this._hostContainerInfo=null,this._wrapperState=null,this._topLevelWrapper=null,this._flags=0}var v=n(16),y=n(21),g=n(1005),m=n(1007),_=n(119),b=n(289),w=n(120),E=n(436),T=n(121),S=n(290),C=n(196),x=n(437),O=n(29),k=n(1024),M=n(1025),P=n(438),A=n(1028),I=(n(55),n(1037)),j=n(1042),D=(n(40),n(199)),R=(n(10),n(301),n(265),n(303),n(13),x),N=T.deleteListener,L=O.getNodeFromInstance,F=C.listenTo,U=S.registrationNameModules,B={string:!0,number:!0},q="style",W="__html",z={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null},H=11,V={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"},G={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},K={listing:!0,pre:!0,textarea:!0},Y=y({menuitem:!0},G),$=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,X={},Q={}.hasOwnProperty,J=1;h.displayName="ReactDOMComponent",h.Mixin={mountComponent:function(e,t,n,r){this._rootNodeID=J++,this._domID=n._idCounter++,this._hostParent=t,this._hostContainerInfo=n;var i=this._currentElement.props;switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":this._wrapperState={listeners:null},e.getReactMountReady().enqueue(l,this);break;case"input":k.mountWrapper(this,i,t),i=k.getHostProps(this,i),e.getReactMountReady().enqueue(l,this);break;case"option":M.mountWrapper(this,i,t),i=M.getHostProps(this,i);break;case"select":P.mountWrapper(this,i,t),i=P.getHostProps(this,i),e.getReactMountReady().enqueue(l,this);break;case"textarea":A.mountWrapper(this,i,t),i=A.getHostProps(this,i),e.getReactMountReady().enqueue(l,this)}o(this,i);var a,f;null!=t?(a=t._namespaceURI,f=t._tag):n._tag&&(a=n._namespaceURI,f=n._tag),(null==a||a===b.svg&&"foreignobject"===f)&&(a=b.html),a===b.html&&("svg"===this._tag?a=b.svg:"math"===this._tag&&(a=b.mathml)),this._namespaceURI=a;var d;if(e.useCreateElement){var p,h=n._ownerDocument;if(a===b.html)if("script"===this._tag){var v=h.createElement("div"),y=this._currentElement.type;v.innerHTML="<"+y+"></"+y+">",p=v.removeChild(v.firstChild)}else p=i.is?h.createElement(this._currentElement.type,i.is):h.createElement(this._currentElement.type);else p=h.createElementNS(a,this._currentElement.type);O.precacheNode(this,p),this._flags|=R.hasCachedChildNodes,this._hostParent||E.setAttributeForRoot(p),this._updateDOMProperties(null,i,e);var m=_(p);this._createInitialChildren(e,i,r,m),d=m}else{var w=this._createOpenTagMarkupAndPutListeners(e,i),T=this._createContentMarkup(e,i,r);d=!T&&G[this._tag]?w+"/>":w+">"+T+"</"+this._currentElement.type+">"}switch(this._tag){case"input":e.getReactMountReady().enqueue(s,this),i.autoFocus&&e.getReactMountReady().enqueue(g.focusDOMComponent,this);break;case"textarea":e.getReactMountReady().enqueue(u,this),i.autoFocus&&e.getReactMountReady().enqueue(g.focusDOMComponent,this);break;case"select":i.autoFocus&&e.getReactMountReady().enqueue(g.focusDOMComponent,this);break;case"button":i.autoFocus&&e.getReactMountReady().enqueue(g.focusDOMComponent,this);break;case"option":e.getReactMountReady().enqueue(c,this)}return d},_createOpenTagMarkupAndPutListeners:function(e,t){var n="<"+this._currentElement.type;for(var r in t)if(t.hasOwnProperty(r)){var o=t[r];if(null!=o)if(U.hasOwnProperty(r))o&&i(this,r,o,e);else{r===q&&(o&&(o=this._previousStyleCopy=y({},t.style)),o=m.createMarkupForStyles(o,this));var a=null;null!=this._tag&&p(this._tag,t)?z.hasOwnProperty(r)||(a=E.createMarkupForCustomAttribute(r,o)):a=E.createMarkupForProperty(r,o),a&&(n+=" "+a)}}return e.renderToStaticMarkup?n:(this._hostParent||(n+=" "+E.createMarkupForRoot()),n+=" "+E.createMarkupForID(this._domID))},_createContentMarkup:function(e,t,n){var r="",o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&(r=o.__html);else{var i=B[typeof t.children]?t.children:null,a=null!=i?null:t.children;if(null!=i)r=D(i);else if(null!=a){var s=this.mountChildren(a,e,n);r=s.join("")}}return K[this._tag]&&"\n"===r.charAt(0)?"\n"+r:r},_createInitialChildren:function(e,t,n,r){var o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&_.queueHTML(r,o.__html);else{var i=B[typeof t.children]?t.children:null,a=null!=i?null:t.children;if(null!=i)""!==i&&_.queueText(r,i);else if(null!=a)for(var s=this.mountChildren(a,e,n),u=0;u<s.length;u++)_.queueChild(r,s[u])}},receiveComponent:function(e,t,n){var r=this._currentElement;this._currentElement=e,this.updateComponent(t,r,e,n)},updateComponent:function(e,t,n,r){var i=t.props,a=this._currentElement.props;switch(this._tag){case"input":i=k.getHostProps(this,i),a=k.getHostProps(this,a);break;case"option":i=M.getHostProps(this,i),a=M.getHostProps(this,a);break;case"select":i=P.getHostProps(this,i),a=P.getHostProps(this,a);break;case"textarea":i=A.getHostProps(this,i),a=A.getHostProps(this,a)}switch(o(this,a),this._updateDOMProperties(i,a,e),this._updateDOMChildren(i,a,e,r),this._tag){case"input":k.updateWrapper(this);break;case"textarea":A.updateWrapper(this);break;case"select":e.getReactMountReady().enqueue(f,this)}},_updateDOMProperties:function(e,t,n){var r,o,a;for(r in e)if(!t.hasOwnProperty(r)&&e.hasOwnProperty(r)&&null!=e[r])if(r===q){var s=this._previousStyleCopy;for(o in s)s.hasOwnProperty(o)&&(a=a||{},a[o]="");this._previousStyleCopy=null}else U.hasOwnProperty(r)?e[r]&&N(this,r):p(this._tag,e)?z.hasOwnProperty(r)||E.deleteValueForAttribute(L(this),r):(w.properties[r]||w.isCustomAttribute(r))&&E.deleteValueForProperty(L(this),r);for(r in t){var u=t[r],c=r===q?this._previousStyleCopy:null!=e?e[r]:void 0;if(t.hasOwnProperty(r)&&u!==c&&(null!=u||null!=c))if(r===q)if(u?u=this._previousStyleCopy=y({},u):this._previousStyleCopy=null,c){for(o in c)!c.hasOwnProperty(o)||u&&u.hasOwnProperty(o)||(a=a||{},a[o]="");for(o in u)u.hasOwnProperty(o)&&c[o]!==u[o]&&(a=a||{},a[o]=u[o])}else a=u;else if(U.hasOwnProperty(r))u?i(this,r,u,n):c&&N(this,r);else if(p(this._tag,t))z.hasOwnProperty(r)||E.setValueForAttribute(L(this),r,u);else if(w.properties[r]||w.isCustomAttribute(r)){var l=L(this);null!=u?E.setValueForProperty(l,r,u):E.deleteValueForProperty(l,r)}}a&&m.setValueForStyles(L(this),a,this)},_updateDOMChildren:function(e,t,n,r){var o=B[typeof e.children]?e.children:null,i=B[typeof t.children]?t.children:null,a=e.dangerouslySetInnerHTML&&e.dangerouslySetInnerHTML.__html,s=t.dangerouslySetInnerHTML&&t.dangerouslySetInnerHTML.__html,u=null!=o?null:e.children,c=null!=i?null:t.children,l=null!=o||null!=a,f=null!=i||null!=s;null!=u&&null==c?this.updateChildren(null,n,r):l&&!f&&this.updateTextContent(""),null!=i?o!==i&&this.updateTextContent(""+i):null!=s?a!==s&&this.updateMarkup(""+s):null!=c&&this.updateChildren(c,n,r)},getHostNode:function(){return L(this)},unmountComponent:function(e){switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":var t=this._wrapperState.listeners;if(t)for(var n=0;n<t.length;n++)t[n].remove();break;case"html":case"head":case"body":v("66",this._tag)}this.unmountChildren(e),O.uncacheNode(this),T.deleteAllListeners(this),this._rootNodeID=0,this._domID=0,this._wrapperState=null},getPublicInstance:function(){return L(this)}},y(h.prototype,h.Mixin,I.Mixin),e.exports=h},function(e,t,n){"use strict";function r(e,t){var n={_topLevelWrapper:e,_idCounter:1,_ownerDocument:t?t.nodeType===o?t:t.ownerDocument:null,_node:t,_tag:t?t.nodeName.toLowerCase():null,_namespaceURI:t?t.namespaceURI:null};return n}var o=(n(303),9);e.exports=r},function(e,t,n){"use strict";var r=n(21),o=n(119),i=n(29),a=function(e){this._currentElement=null,this._hostNode=null,this._hostParent=null,this._hostContainerInfo=null,this._domID=0};r(a.prototype,{mountComponent:function(e,t,n,r){var a=n._idCounter++;this._domID=a,this._hostParent=t,this._hostContainerInfo=n;var s=" react-empty: "+this._domID+" ";if(e.useCreateElement){var u=n._ownerDocument,c=u.createComment(s);return i.precacheNode(this,c),o(c)}return e.renderToStaticMarkup?"":"<!--"+s+"-->"},receiveComponent:function(){},getHostNode:function(){return i.getNodeFromInstance(this)},unmountComponent:function(){i.uncacheNode(this)}}),e.exports=a},function(e,t){"use strict";var n={useCreateElement:!0,useFiber:!1};e.exports=n},function(e,t,n){"use strict";var r=n(288),o=n(29),i={dangerouslyProcessChildrenUpdates:function(e,t){var n=o.getNodeFromInstance(e);r.processUpdates(n,t)}};e.exports=i},function(e,t,n){"use strict";function r(){this._rootNodeID&&d.updateWrapper(this)}function o(e){var t="checkbox"===e.type||"radio"===e.type;return t?null!=e.checked:null!=e.value}function i(e){var t=this._currentElement.props,n=c.executeOnChange(t,e);f.asap(r,this);var o=t.name;if("radio"===t.type&&null!=o){for(var i=l.getNodeFromInstance(this),s=i;s.parentNode;)s=s.parentNode;for(var u=s.querySelectorAll("input[name="+JSON.stringify(""+o)+'][type="radio"]'),d=0;d<u.length;d++){var p=u[d];if(p!==i&&p.form===i.form){var h=l.getInstanceFromNode(p);h?void 0:a("90"),f.asap(r,h)}}}return n}var a=n(16),s=n(21),u=n(436),c=n(292),l=n(29),f=n(64),d=(n(10),n(13),{getHostProps:function(e,t){var n=c.getValue(t),r=c.getChecked(t),o=s({type:void 0,step:void 0,min:void 0,max:void 0},t,{defaultChecked:void 0,defaultValue:void 0,value:null!=n?n:e._wrapperState.initialValue,checked:null!=r?r:e._wrapperState.initialChecked,onChange:e._wrapperState.onChange});return o},mountWrapper:function(e,t){var n=t.defaultValue;e._wrapperState={initialChecked:null!=t.checked?t.checked:t.defaultChecked,initialValue:null!=t.value?t.value:n,listeners:null,onChange:i.bind(e),controlled:o(t)}},updateWrapper:function(e){var t=e._currentElement.props,n=t.checked;null!=n&&u.setValueForProperty(l.getNodeFromInstance(e),"checked",n||!1);var r=l.getNodeFromInstance(e),o=c.getValue(t);if(null!=o)if(0===o&&""===r.value)r.value="0";else if("number"===t.type){var i=parseFloat(r.value,10)||0;o!=i&&(r.value=""+o)}else o!=r.value&&(r.value=""+o);else null==t.value&&null!=t.defaultValue&&r.defaultValue!==""+t.defaultValue&&(r.defaultValue=""+t.defaultValue),null==t.checked&&null!=t.defaultChecked&&(r.defaultChecked=!!t.defaultChecked)},postMountWrapper:function(e){var t=e._currentElement.props,n=l.getNodeFromInstance(e);switch(t.type){case"submit":case"reset":break;case"color":case"date":case"datetime":case"datetime-local":case"month":case"time":case"week":n.value="",n.value=n.defaultValue;break;default:n.value=n.value}var r=n.name;""!==r&&(n.name=""),n.defaultChecked=!n.defaultChecked,n.defaultChecked=!n.defaultChecked,""!==r&&(n.name=r)}});e.exports=d},function(e,t,n){"use strict";function r(e){var t="";return i.Children.forEach(e,function(e){null!=e&&("string"==typeof e||"number"==typeof e?t+=e:u||(u=!0))}),t}var o=n(21),i=n(127),a=n(29),s=n(438),u=(n(13),!1),c={mountWrapper:function(e,t,n){var o=null;if(null!=n){var i=n;"optgroup"===i._tag&&(i=i._hostParent),null!=i&&"select"===i._tag&&(o=s.getSelectValueContext(i))}var a=null;if(null!=o){var u;if(u=null!=t.value?t.value+"":r(t.children),a=!1,Array.isArray(o)){for(var c=0;c<o.length;c++)if(""+o[c]===u){a=!0;break}}else a=""+o===u}e._wrapperState={selected:a}},postMountWrapper:function(e){var t=e._currentElement.props;if(null!=t.value){var n=a.getNodeFromInstance(e);n.setAttribute("value",t.value)}},getHostProps:function(e,t){var n=o({selected:void 0,children:void 0},t);null!=e._wrapperState.selected&&(n.selected=e._wrapperState.selected);var i=r(t.children);return i&&(n.children=i),n}};e.exports=c},function(e,t,n){"use strict";function r(e,t,n,r){return e===n&&t===r}function o(e){var t=document.selection,n=t.createRange(),r=n.text.length,o=n.duplicate();o.moveToElementText(e),o.setEndPoint("EndToStart",n);var i=o.text.length,a=i+r;return{start:i,end:a}}function i(e){var t=window.getSelection&&window.getSelection();if(!t||0===t.rangeCount)return null;var n=t.anchorNode,o=t.anchorOffset,i=t.focusNode,a=t.focusOffset,s=t.getRangeAt(0);try{s.startContainer.nodeType,s.endContainer.nodeType}catch(e){return null}var u=r(t.anchorNode,t.anchorOffset,t.focusNode,t.focusOffset),c=u?0:s.toString().length,l=s.cloneRange();l.selectNodeContents(e),l.setEnd(s.startContainer,s.startOffset);var f=r(l.startContainer,l.startOffset,l.endContainer,l.endOffset),d=f?0:l.toString().length,p=d+c,h=document.createRange();h.setStart(n,o),h.setEnd(i,a);var v=h.collapsed;return{start:v?p:d,end:v?d:p}}function a(e,t){var n,r,o=document.selection.createRange().duplicate();void 0===t.end?(n=t.start,r=n):t.start>t.end?(n=t.end,r=t.start):(n=t.start,r=t.end),o.moveToElementText(e),o.moveStart("character",n),o.setEndPoint("EndToStart",o),o.moveEnd("character",r-n),o.select()}function s(e,t){if(window.getSelection){var n=window.getSelection(),r=e[l()].length,o=Math.min(t.start,r),i=void 0===t.end?o:Math.min(t.end,r);if(!n.extend&&o>i){var a=i;i=o,o=a}var s=c(e,o),u=c(e,i);if(s&&u){var f=document.createRange();f.setStart(s.node,s.offset),n.removeAllRanges(),o>i?(n.addRange(f),n.extend(u.node,u.offset)):(f.setEnd(u.node,u.offset),n.addRange(f))}}}var u=n(38),c=n(1064),l=n(448),f=u.canUseDOM&&"selection"in document&&!("getSelection"in window),d={getOffsets:f?o:i,setOffsets:f?a:s};e.exports=d},function(e,t,n){"use strict";var r=n(16),o=n(21),i=n(288),a=n(119),s=n(29),u=n(199),c=(n(10),n(303),function(e){this._currentElement=e,this._stringText=""+e,this._hostNode=null,this._hostParent=null,this._domID=0,this._mountIndex=0,this._closingComment=null,this._commentNodes=null});o(c.prototype,{mountComponent:function(e,t,n,r){var o=n._idCounter++,i=" react-text: "+o+" ",c=" /react-text ";if(this._domID=o,this._hostParent=t,e.useCreateElement){var l=n._ownerDocument,f=l.createComment(i),d=l.createComment(c),p=a(l.createDocumentFragment());return a.queueChild(p,a(f)),this._stringText&&a.queueChild(p,a(l.createTextNode(this._stringText))),a.queueChild(p,a(d)),s.precacheNode(this,f),this._closingComment=d,p}var h=u(this._stringText);return e.renderToStaticMarkup?h:"<!--"+i+"-->"+h+"<!--"+c+"-->"},receiveComponent:function(e,t){if(e!==this._currentElement){this._currentElement=e;var n=""+e;if(n!==this._stringText){this._stringText=n;var r=this.getHostNode();i.replaceDelimitedText(r[0],r[1],n)}}},getHostNode:function(){var e=this._commentNodes;if(e)return e;if(!this._closingComment)for(var t=s.getNodeFromInstance(this),n=t.nextSibling;;){if(null==n?r("67",this._domID):void 0,8===n.nodeType&&" /react-text "===n.nodeValue){this._closingComment=n;break}n=n.nextSibling}return e=[this._hostNode,this._closingComment],this._commentNodes=e,e},unmountComponent:function(){this._closingComment=null,this._commentNodes=null,s.uncacheNode(this)}}),e.exports=c},function(e,t,n){"use strict";function r(){this._rootNodeID&&l.updateWrapper(this)}function o(e){var t=this._currentElement.props,n=s.executeOnChange(t,e);return c.asap(r,this),n}var i=n(16),a=n(21),s=n(292),u=n(29),c=n(64),l=(n(10),n(13),{getHostProps:function(e,t){null!=t.dangerouslySetInnerHTML?i("91"):void 0;var n=a({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue,onChange:e._wrapperState.onChange});return n},mountWrapper:function(e,t){var n=s.getValue(t),r=n;if(null==n){var a=t.defaultValue,u=t.children;null!=u&&(null!=a?i("92"):void 0,Array.isArray(u)&&(u.length<=1?void 0:i("93"),u=u[0]),a=""+u),null==a&&(a=""),r=a}e._wrapperState={initialValue:""+r,listeners:null,onChange:o.bind(e)}},updateWrapper:function(e){var t=e._currentElement.props,n=u.getNodeFromInstance(e),r=s.getValue(t);if(null!=r){var o=""+r;o!==n.value&&(n.value=o),null==t.defaultValue&&(n.defaultValue=o)}null!=t.defaultValue&&(n.defaultValue=t.defaultValue)},postMountWrapper:function(e){var t=u.getNodeFromInstance(e),n=t.textContent;n===e._wrapperState.initialValue&&(t.value=n)}});e.exports=l},function(e,t,n){"use strict";function r(e,t){"_hostNode"in e?void 0:u("33"),"_hostNode"in t?void 0:u("33");for(var n=0,r=e;r;r=r._hostParent)n++;for(var o=0,i=t;i;i=i._hostParent)o++;for(;n-o>0;)e=e._hostParent,n--;for(;o-n>0;)t=t._hostParent,o--;for(var a=n;a--;){if(e===t)return e;e=e._hostParent,t=t._hostParent}return null}function o(e,t){"_hostNode"in e?void 0:u("35"),"_hostNode"in t?void 0:u("35");for(;t;){if(t===e)return!0;t=t._hostParent}return!1}function i(e){return"_hostNode"in e?void 0:u("36"),e._hostParent}function a(e,t,n){for(var r=[];e;)r.push(e),e=e._hostParent;var o;for(o=r.length;o-- >0;)t(r[o],"captured",n);for(o=0;o<r.length;o++)t(r[o],"bubbled",n)}function s(e,t,n,o,i){for(var a=e&&t?r(e,t):null,s=[];e&&e!==a;)s.push(e),e=e._hostParent;for(var u=[];t&&t!==a;)u.push(t),t=t._hostParent;var c;for(c=0;c<s.length;c++)n(s[c],"bubbled",o);for(c=u.length;c-- >0;)n(u[c],"captured",i)}var u=n(16);n(10);e.exports={isAncestor:o,getLowestCommonAncestor:r,getParentInstance:i,traverseTwoPhase:a,traverseEnterLeave:s}},function(e,t,n){"use strict";function r(){this.reinitializeTransaction()}var o=n(21),i=n(64),a=n(198),s=n(40),u={initialize:s,close:function(){d.isBatchingUpdates=!1}},c={initialize:s,close:i.flushBatchedUpdates.bind(i)},l=[c,u];o(r.prototype,a,{getTransactionWrappers:function(){return l}});var f=new r,d={isBatchingUpdates:!1,batchedUpdates:function(e,t,n,r,o,i){var a=d.isBatchingUpdates;return d.isBatchingUpdates=!0,a?e(t,n,r,o,i):f.perform(e,null,t,n,r,o,i)}};e.exports=d},function(e,t,n){"use strict";function r(){T||(T=!0,m.EventEmitter.injectReactEventListener(g),m.EventPluginHub.injectEventPluginOrder(s),m.EventPluginUtils.injectComponentTree(d),m.EventPluginUtils.injectTreeTraversal(h),m.EventPluginHub.injectEventPluginsByName({SimpleEventPlugin:E,EnterLeaveEventPlugin:u,ChangeEventPlugin:a,SelectEventPlugin:w,BeforeInputEventPlugin:i}),m.HostComponent.injectGenericComponentClass(f),m.HostComponent.injectTextComponentClass(v),m.DOMProperty.injectDOMPropertyConfig(o),m.DOMProperty.injectDOMPropertyConfig(c),m.DOMProperty.injectDOMPropertyConfig(b),m.EmptyComponent.injectEmptyComponentFactory(function(e){return new p(e)}),m.Updates.injectReconcileTransaction(_),m.Updates.injectBatchingStrategy(y),m.Component.injectEnvironment(l))}var o=n(1004),i=n(1006),a=n(1008),s=n(1010),u=n(1011),c=n(1014),l=n(1016),f=n(1019),d=n(29),p=n(1021),h=n(1029),v=n(1027),y=n(1030),g=n(1034),m=n(1035),_=n(1040),b=n(1045),w=n(1046),E=n(1047),T=!1;e.exports={inject:r}},470,function(e,t,n){"use strict";function r(e){o.enqueueEvents(e),o.processEventQueue(!1)}var o=n(121),i={handleTopLevel:function(e,t,n,i){var a=o.extractEvents(e,t,n,i);r(a)}};e.exports=i},function(e,t,n){"use strict";function r(e){for(;e._hostParent;)e=e._hostParent;var t=f.getNodeFromInstance(e),n=t.parentNode;return f.getClosestInstanceFromNode(n)}function o(e,t){this.topLevelType=e,this.nativeEvent=t,this.ancestors=[]}function i(e){var t=p(e.nativeEvent),n=f.getClosestInstanceFromNode(t),o=n;do e.ancestors.push(o),o=o&&r(o);while(o);for(var i=0;i<e.ancestors.length;i++)n=e.ancestors[i],v._handleTopLevel(e.topLevelType,n,e.nativeEvent,p(e.nativeEvent))}function a(e){var t=h(window);e(t)}var s=n(21),u=n(390),c=n(38),l=n(103),f=n(29),d=n(64),p=n(300),h=n(842);s(o.prototype,{destructor:function(){this.topLevelType=null,this.nativeEvent=null,this.ancestors.length=0}}),l.addPoolingTo(o,l.twoArgumentPooler);var v={_enabled:!0,_handleTopLevel:null,WINDOW_HANDLE:c.canUseDOM?window:null,setHandleTopLevel:function(e){v._handleTopLevel=e},setEnabled:function(e){v._enabled=!!e},isEnabled:function(){return v._enabled},trapBubbledEvent:function(e,t,n){return n?u.listen(n,t,v.dispatchEvent.bind(null,e)):null},trapCapturedEvent:function(e,t,n){return n?u.capture(n,t,v.dispatchEvent.bind(null,e)):null},monitorScrollValue:function(e){var t=a.bind(null,e);u.listen(window,"scroll",t)},dispatchEvent:function(e,t){if(v._enabled){var n=o.getPooled(e,t);try{d.batchedUpdates(i,n)}finally{o.release(n)}}}};e.exports=v},function(e,t,n){"use strict";var r=n(120),o=n(121),i=n(195),a=n(293),s=n(439),u=n(196),c=n(441),l=n(64),f={Component:a.injection,DOMProperty:r.injection,EmptyComponent:s.injection,EventPluginHub:o.injection,EventPluginUtils:i.injection,EventEmitter:u.injection,HostComponent:c.injection,Updates:l.injection};e.exports=f},function(e,t,n){"use strict";var r=n(1058),o=/\/?>/,i=/^<\!\-\-/,a={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var t=r(e);return i.test(e)?e:e.replace(o," "+a.CHECKSUM_ATTR_NAME+'="'+t+'"$&')},canReuseMarkup:function(e,t){var n=t.getAttribute(a.CHECKSUM_ATTR_NAME);n=n&&parseInt(n,10);var o=r(e);return o===n}};e.exports=a},function(e,t,n){"use strict";function r(e,t,n){return{type:"INSERT_MARKUP",content:e,fromIndex:null,fromNode:null,toIndex:n,afterNode:t}}function o(e,t,n){return{type:"MOVE_EXISTING",content:null,fromIndex:e._mountIndex,fromNode:d.getHostNode(e),toIndex:n,afterNode:t}}function i(e,t){return{type:"REMOVE_NODE",content:null,fromIndex:e._mountIndex,fromNode:t,toIndex:null,afterNode:null}}function a(e){return{type:"SET_MARKUP",content:e,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function s(e){return{type:"TEXT_CONTENT",content:e,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function u(e,t){return t&&(e=e||[],e.push(t)),e}function c(e,t){f.processChildrenUpdates(e,t)}var l=n(16),f=n(293),d=(n(149),n(55),n(76),n(123)),p=n(1015),h=(n(40),n(1061)),v=(n(10),{Mixin:{_reconcilerInstantiateChildren:function(e,t,n){return p.instantiateChildren(e,t,n)},_reconcilerUpdateChildren:function(e,t,n,r,o,i){var a,s=0;return a=h(t,s),p.updateChildren(e,a,n,r,o,this,this._hostContainerInfo,i,s),a},mountChildren:function(e,t,n){var r=this._reconcilerInstantiateChildren(e,t,n);this._renderedChildren=r;var o=[],i=0;for(var a in r)if(r.hasOwnProperty(a)){var s=r[a],u=0,c=d.mountComponent(s,t,this,this._hostContainerInfo,n,u);s._mountIndex=i++,o.push(c)}return o},updateTextContent:function(e){var t=this._renderedChildren;p.unmountChildren(t,!1);for(var n in t)t.hasOwnProperty(n)&&l("118");var r=[s(e)];c(this,r)},updateMarkup:function(e){var t=this._renderedChildren;p.unmountChildren(t,!1);for(var n in t)t.hasOwnProperty(n)&&l("118");var r=[a(e)];c(this,r)},updateChildren:function(e,t,n){this._updateChildren(e,t,n)},_updateChildren:function(e,t,n){var r=this._renderedChildren,o={},i=[],a=this._reconcilerUpdateChildren(r,e,i,o,t,n);if(a||r){var s,l=null,f=0,p=0,h=0,v=null;for(s in a)if(a.hasOwnProperty(s)){var y=r&&r[s],g=a[s];y===g?(l=u(l,this.moveChild(y,v,f,p)),p=Math.max(y._mountIndex,p),y._mountIndex=f):(y&&(p=Math.max(y._mountIndex,p)),l=u(l,this._mountChildAtIndex(g,i[h],v,f,t,n)),h++),f++,v=d.getHostNode(g)}for(s in o)o.hasOwnProperty(s)&&(l=u(l,this._unmountChild(r[s],o[s])));l&&c(this,l),this._renderedChildren=a}},unmountChildren:function(e){var t=this._renderedChildren;p.unmountChildren(t,e),this._renderedChildren=null},moveChild:function(e,t,n,r){if(e._mountIndex<r)return o(e,t,n)},createChild:function(e,t,n){return r(n,t,e._mountIndex)},removeChild:function(e,t){return i(e,t)},_mountChildAtIndex:function(e,t,n,r,o,i){return e._mountIndex=r,this.createChild(e,n,t)},_unmountChild:function(e,t){var n=this.removeChild(e,t);return e._mountIndex=null,n}}});e.exports=v},function(e,t,n){"use strict";function r(e){return!(!e||"function"!=typeof e.attachRef||"function"!=typeof e.detachRef)}var o=n(16),i=(n(10),{addComponentAsRefTo:function(e,t,n){r(n)?void 0:o("119"),n.attachRef(t,e)},removeComponentAsRefFrom:function(e,t,n){r(n)?void 0:o("120");var i=n.getPublicInstance();i&&i.refs[t]===e.getPublicInstance()&&n.detachRef(t)}});e.exports=i},function(e,t){"use strict";var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=n},function(e,t,n){"use strict";function r(e){this.reinitializeTransaction(),this.renderToStaticMarkup=!1,this.reactMountReady=i.getPooled(null),this.useCreateElement=e}var o=n(21),i=n(435),a=n(103),s=n(196),u=n(442),c=(n(55),n(198)),l=n(295),f={initialize:u.getSelectionInformation,close:u.restoreSelection},d={initialize:function(){var e=s.isEnabled();return s.setEnabled(!1),e},close:function(e){s.setEnabled(e)}},p={initialize:function(){this.reactMountReady.reset()},close:function(){this.reactMountReady.notifyAll()}},h=[f,d,p],v={getTransactionWrappers:function(){return h},getReactMountReady:function(){return this.reactMountReady},getUpdateQueue:function(){return l},checkpoint:function(){return this.reactMountReady.checkpoint()},rollback:function(e){this.reactMountReady.rollback(e)},destructor:function(){i.release(this.reactMountReady),this.reactMountReady=null}};o(r.prototype,c,v),a.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";function r(e,t,n){"function"==typeof e?e(t.getPublicInstance()):i.addComponentAsRefTo(t,e,n)}function o(e,t,n){"function"==typeof e?e(null):i.removeComponentAsRefFrom(t,e,n)}var i=n(1038),a={};a.attachRefs=function(e,t){if(null!==t&&"object"==typeof t){var n=t.ref;null!=n&&r(n,e,t._owner)}},a.shouldUpdateRefs=function(e,t){var n=null,r=null;null!==e&&"object"==typeof e&&(n=e.ref,r=e._owner);var o=null,i=null;return null!==t&&"object"==typeof t&&(o=t.ref,i=t._owner),n!==o||"string"==typeof o&&i!==r},a.detachRefs=function(e,t){if(null!==t&&"object"==typeof t){var n=t.ref;null!=n&&o(n,e,t._owner)}},e.exports=a},function(e,t,n){"use strict";function r(e){this.reinitializeTransaction(),this.renderToStaticMarkup=e,this.useCreateElement=!1,this.updateQueue=new s(this)}var o=n(21),i=n(103),a=n(198),s=(n(55),n(1043)),u=[],c={enqueue:function(){}},l={getTransactionWrappers:function(){return u},getReactMountReady:function(){return c},getUpdateQueue:function(){return this.updateQueue},destructor:function(){},checkpoint:function(){},rollback:function(){}};o(r.prototype,a,l),i.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){}var i=n(295),a=(n(13),function(){function e(t){r(this,e),this.transaction=t}return e.prototype.isMounted=function(e){return!1},e.prototype.enqueueCallback=function(e,t,n){this.transaction.isInTransaction()&&i.enqueueCallback(e,t,n)},e.prototype.enqueueForceUpdate=function(e){this.transaction.isInTransaction()?i.enqueueForceUpdate(e):o(e,"forceUpdate")},e.prototype.enqueueReplaceState=function(e,t){this.transaction.isInTransaction()?i.enqueueReplaceState(e,t):o(e,"replaceState")},e.prototype.enqueueSetState=function(e,t){this.transaction.isInTransaction()?i.enqueueSetState(e,t):o(e,"setState")},e}());e.exports=a},function(e,t){"use strict";e.exports="15.5.4"},function(e,t){"use strict";var n={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},r={accentHeight:"accent-height",accumulate:0,additive:0,alignmentBaseline:"alignment-baseline",allowReorder:"allowReorder",alphabetic:0,amplitude:0,arabicForm:"arabic-form",ascent:0,attributeName:"attributeName",attributeType:"attributeType",autoReverse:"autoReverse",azimuth:0,baseFrequency:"baseFrequency",baseProfile:"baseProfile",baselineShift:"baseline-shift",bbox:0,begin:0,bias:0,by:0,calcMode:"calcMode",capHeight:"cap-height",clip:0,clipPath:"clip-path",
+clipRule:"clip-rule",clipPathUnits:"clipPathUnits",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",contentScriptType:"contentScriptType",contentStyleType:"contentStyleType",cursor:0,cx:0,cy:0,d:0,decelerate:0,descent:0,diffuseConstant:"diffuseConstant",direction:0,display:0,divisor:0,dominantBaseline:"dominant-baseline",dur:0,dx:0,dy:0,edgeMode:"edgeMode",elevation:0,enableBackground:"enable-background",end:0,exponent:0,externalResourcesRequired:"externalResourcesRequired",fill:0,fillOpacity:"fill-opacity",fillRule:"fill-rule",filter:0,filterRes:"filterRes",filterUnits:"filterUnits",floodColor:"flood-color",floodOpacity:"flood-opacity",focusable:0,fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",glyphRef:"glyphRef",gradientTransform:"gradientTransform",gradientUnits:"gradientUnits",hanging:0,horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",ideographic:0,imageRendering:"image-rendering",in:0,in2:0,intercept:0,k:0,k1:0,k2:0,k3:0,k4:0,kernelMatrix:"kernelMatrix",kernelUnitLength:"kernelUnitLength",kerning:0,keyPoints:"keyPoints",keySplines:"keySplines",keyTimes:"keyTimes",lengthAdjust:"lengthAdjust",letterSpacing:"letter-spacing",lightingColor:"lighting-color",limitingConeAngle:"limitingConeAngle",local:0,markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",markerHeight:"markerHeight",markerUnits:"markerUnits",markerWidth:"markerWidth",mask:0,maskContentUnits:"maskContentUnits",maskUnits:"maskUnits",mathematical:0,mode:0,numOctaves:"numOctaves",offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pathLength:"pathLength",patternContentUnits:"patternContentUnits",patternTransform:"patternTransform",patternUnits:"patternUnits",pointerEvents:"pointer-events",points:0,pointsAtX:"pointsAtX",pointsAtY:"pointsAtY",pointsAtZ:"pointsAtZ",preserveAlpha:"preserveAlpha",preserveAspectRatio:"preserveAspectRatio",primitiveUnits:"primitiveUnits",r:0,radius:0,refX:"refX",refY:"refY",renderingIntent:"rendering-intent",repeatCount:"repeatCount",repeatDur:"repeatDur",requiredExtensions:"requiredExtensions",requiredFeatures:"requiredFeatures",restart:0,result:0,rotate:0,rx:0,ry:0,scale:0,seed:0,shapeRendering:"shape-rendering",slope:0,spacing:0,specularConstant:"specularConstant",specularExponent:"specularExponent",speed:0,spreadMethod:"spreadMethod",startOffset:"startOffset",stdDeviation:"stdDeviation",stemh:0,stemv:0,stitchTiles:"stitchTiles",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",string:0,stroke:0,strokeDasharray:"stroke-dasharray",strokeDashoffset:"stroke-dashoffset",strokeLinecap:"stroke-linecap",strokeLinejoin:"stroke-linejoin",strokeMiterlimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",surfaceScale:"surfaceScale",systemLanguage:"systemLanguage",tableValues:"tableValues",targetX:"targetX",targetY:"targetY",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",textLength:"textLength",to:0,transform:0,u1:0,u2:0,underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicode:0,unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",values:0,vectorEffect:"vector-effect",version:0,vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",viewBox:"viewBox",viewTarget:"viewTarget",visibility:0,widths:0,wordSpacing:"word-spacing",writingMode:"writing-mode",x:0,xHeight:"x-height",x1:0,x2:0,xChannelSelector:"xChannelSelector",xlinkActuate:"xlink:actuate",xlinkArcrole:"xlink:arcrole",xlinkHref:"xlink:href",xlinkRole:"xlink:role",xlinkShow:"xlink:show",xlinkTitle:"xlink:title",xlinkType:"xlink:type",xmlBase:"xml:base",xmlns:0,xmlnsXlink:"xmlns:xlink",xmlLang:"xml:lang",xmlSpace:"xml:space",y:0,y1:0,y2:0,yChannelSelector:"yChannelSelector",z:0,zoomAndPan:"zoomAndPan"},o={Properties:{},DOMAttributeNamespaces:{xlinkActuate:n.xlink,xlinkArcrole:n.xlink,xlinkHref:n.xlink,xlinkRole:n.xlink,xlinkShow:n.xlink,xlinkTitle:n.xlink,xlinkType:n.xlink,xmlBase:n.xml,xmlLang:n.xml,xmlSpace:n.xml},DOMAttributeNames:{}};Object.keys(r).forEach(function(e){o.Properties[e]=0,r[e]&&(o.DOMAttributeNames[e]=r[e])}),e.exports=o},function(e,t,n){"use strict";function r(e){if("selectionStart"in e&&u.hasSelectionCapabilities(e))return{start:e.selectionStart,end:e.selectionEnd};if(window.getSelection){var t=window.getSelection();return{anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}}if(document.selection){var n=document.selection.createRange();return{parentElement:n.parentElement(),text:n.text,top:n.boundingTop,left:n.boundingLeft}}}function o(e,t){if(m||null==v||v!==l())return null;var n=r(v);if(!g||!d(g,n)){g=n;var o=c.getPooled(h.select,y,e,t);return o.type="select",o.target=v,i.accumulateTwoPhaseDispatches(o),o}return null}var i=n(122),a=n(38),s=n(29),u=n(442),c=n(75),l=n(392),f=n(450),d=n(265),p=a.canUseDOM&&"documentMode"in document&&document.documentMode<=11,h={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:["topBlur","topContextMenu","topFocus","topKeyDown","topKeyUp","topMouseDown","topMouseUp","topSelectionChange"]}},v=null,y=null,g=null,m=!1,_=!1,b={eventTypes:h,extractEvents:function(e,t,n,r){if(!_)return null;var i=t?s.getNodeFromInstance(t):window;switch(e){case"topFocus":(f(i)||"true"===i.contentEditable)&&(v=i,y=t,g=null);break;case"topBlur":v=null,y=null,g=null;break;case"topMouseDown":m=!0;break;case"topContextMenu":case"topMouseUp":return m=!1,o(n,r);case"topSelectionChange":if(p)break;case"topKeyDown":case"topKeyUp":return o(n,r)}return null},didPutListener:function(e,t,n){"onSelect"===t&&(_=!0)}};e.exports=b},function(e,t,n){"use strict";function r(e){return"."+e._rootNodeID}function o(e){return"button"===e||"input"===e||"select"===e||"textarea"===e}var i=n(16),a=n(390),s=n(122),u=n(29),c=n(1048),l=n(1049),f=n(75),d=n(1052),p=n(1054),h=n(197),v=n(1051),y=n(1055),g=n(1056),m=n(124),_=n(1057),b=n(40),w=n(298),E=(n(10),{}),T={};["abort","animationEnd","animationIteration","animationStart","blur","canPlay","canPlayThrough","click","contextMenu","copy","cut","doubleClick","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","focus","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","progress","rateChange","reset","scroll","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchMove","touchStart","transitionEnd","volumeChange","waiting","wheel"].forEach(function(e){var t=e[0].toUpperCase()+e.slice(1),n="on"+t,r="top"+t,o={phasedRegistrationNames:{bubbled:n,captured:n+"Capture"},dependencies:[r]};E[e]=o,T[r]=o});var S={},C={eventTypes:E,extractEvents:function(e,t,n,r){var o=T[e];if(!o)return null;var a;switch(e){case"topAbort":case"topCanPlay":case"topCanPlayThrough":case"topDurationChange":case"topEmptied":case"topEncrypted":case"topEnded":case"topError":case"topInput":case"topInvalid":case"topLoad":case"topLoadedData":case"topLoadedMetadata":case"topLoadStart":case"topPause":case"topPlay":case"topPlaying":case"topProgress":case"topRateChange":case"topReset":case"topSeeked":case"topSeeking":case"topStalled":case"topSubmit":case"topSuspend":case"topTimeUpdate":case"topVolumeChange":case"topWaiting":a=f;break;case"topKeyPress":if(0===w(n))return null;case"topKeyDown":case"topKeyUp":a=p;break;case"topBlur":case"topFocus":a=d;break;case"topClick":if(2===n.button)return null;case"topDoubleClick":case"topMouseDown":case"topMouseMove":case"topMouseUp":case"topMouseOut":case"topMouseOver":case"topContextMenu":a=h;break;case"topDrag":case"topDragEnd":case"topDragEnter":case"topDragExit":case"topDragLeave":case"topDragOver":case"topDragStart":case"topDrop":a=v;break;case"topTouchCancel":case"topTouchEnd":case"topTouchMove":case"topTouchStart":a=y;break;case"topAnimationEnd":case"topAnimationIteration":case"topAnimationStart":a=c;break;case"topTransitionEnd":a=g;break;case"topScroll":a=m;break;case"topWheel":a=_;break;case"topCopy":case"topCut":case"topPaste":a=l}a?void 0:i("86",e);var u=a.getPooled(o,t,n,r);return s.accumulateTwoPhaseDispatches(u),u},didPutListener:function(e,t,n){if("onClick"===t&&!o(e._tag)){var i=r(e),s=u.getNodeFromInstance(e);S[i]||(S[i]=a.listen(s,"click",b))}},willDeleteListener:function(e,t){if("onClick"===t&&!o(e._tag)){var n=r(e);S[n].remove(),delete S[n]}}};e.exports=C},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(75),i={animationName:null,elapsedTime:null,pseudoElement:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(75),i={clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(75),i={data:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(197),i={dataTransfer:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(124),i={relatedTarget:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(75),i={data:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(124),i=n(298),a=n(1062),s=n(299),u={key:a,location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:s,charCode:function(e){return"keypress"===e.type?i(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?i(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}};o.augmentClass(r,u),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(124),i=n(299),a={touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:i};o.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(75),i={propertyName:null,elapsedTime:null,pseudoElement:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(197),i={deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null};o.augmentClass(r,i),e.exports=r},function(e,t){"use strict";function n(e){for(var t=1,n=0,o=0,i=e.length,a=i&-4;o<a;){for(var s=Math.min(o+4096,a);o<s;o+=4)n+=(t+=e.charCodeAt(o))+(t+=e.charCodeAt(o+1))+(t+=e.charCodeAt(o+2))+(t+=e.charCodeAt(o+3));t%=r,n%=r}for(;o<i;o++)n+=t+=e.charCodeAt(o);return t%=r,n%=r,t|n<<16}var r=65521;e.exports=n},function(e,t,n){"use strict";function r(e,t,n){var r=null==t||"boolean"==typeof t||""===t;if(r)return"";var o=isNaN(t);if(o||0===t||i.hasOwnProperty(e)&&i[e])return""+t;if("string"==typeof t){t=t.trim()}return t+"px"}var o=n(434),i=(n(13),o.isUnitlessNumber);e.exports=r},function(e,t,n){"use strict";function r(e){if(null==e)return null;if(1===e.nodeType)return e;var t=a.get(e);return t?(t=s(t),t?i.getNodeFromInstance(t):null):void("function"==typeof e.render?o("44"):o("45",Object.keys(e)))}var o=n(16),i=(n(76),n(29)),a=n(149),s=n(447);n(10),n(13);e.exports=r},function(e,t,n){(function(t){"use strict";function r(e,t,n,r){if(e&&"object"==typeof e){var o=e,i=void 0===o[n];i&&null!=t&&(o[n]=t)}}function o(e,t){if(null==e)return e;var n={};return i(e,r,n),n}var i=(n(291),n(452));n(13);"undefined"!=typeof t&&t.env,1,e.exports=o}).call(t,n(160))},function(e,t,n){"use strict";function r(e){if(e.key){var t=i[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=o(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?a[e.keyCode]||"Unidentified":""}var o=n(298),i={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},a={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};e.exports=r},473,function(e,t){"use strict";function n(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function r(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function o(e,t){for(var o=n(e),i=0,a=0;o;){if(3===o.nodeType){if(a=i+o.textContent.length,i<=t&&a>=t)return{node:o,offset:t-i};i=a}o=n(r(o))}}e.exports=o},function(e,t,n){"use strict";function r(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n["ms"+e]="MS"+t,n["O"+e]="o"+t.toLowerCase(),n}function o(e){if(s[e])return s[e];if(!a[e])return e;var t=a[e];for(var n in t)if(t.hasOwnProperty(n)&&n in u)return s[e]=t[n];return""}var i=n(38),a={animationend:r("Animation","AnimationEnd"),animationiteration:r("Animation","AnimationIteration"),animationstart:r("Animation","AnimationStart"),transitionend:r("Transition","TransitionEnd")},s={},u={};i.canUseDOM&&(u=document.createElement("div").style,"AnimationEvent"in window||(delete a.animationend.animation,delete a.animationiteration.animation,delete a.animationstart.animation),"TransitionEvent"in window||delete a.transitionend.transition),e.exports=o},function(e,t,n){"use strict";function r(e){return'"'+o(e)+'"'}var o=n(199);e.exports=r},function(e,t,n){"use strict";var r=n(443);e.exports=r.renderSubtreeIntoContainer},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.default=void 0;var o,i,a=n(11),s=r(a),u=n(4),c=r(u),l=n(7),f=r(l),d=n(6),p=r(d),h=n(1),v=r(h),y=n(22),g=r(y),m=n(453),_=r(m),b=(i=o=function(e){function t(n){(0,c.default)(this,t);var r=(0,f.default)(this,e.call(this,n));return r.state={expanded:!1},r.handleClick=r.handleClick.bind(r),r}return(0,p.default)(t,e),t.prototype.render=function(){var e=this.props,t=e.styling,n=e.from,r=e.to,o=e.renderChildNodes,i=e.nodeType;return this.state.expanded?v.default.createElement("div",t("itemRange",this.state.expanded),o(this.props,n,r)):v.default.createElement("div",(0,s.default)({},t("itemRange",this.state.expanded),{onClick:this.handleClick}),v.default.createElement(_.default,{nodeType:i,styling:t,expanded:!1,onClick:this.handleClick,arrowStyle:"double"}),n+" ... "+r)},t.prototype.handleClick=function(){this.setState({expanded:!this.state.expanded})},t}(v.default.Component),o.propTypes={styling:g.default.func.isRequired,from:g.default.number.isRequired,to:g.default.number.isRequired,renderChildNodes:g.default.func.isRequired,nodeType:g.default.string.isRequired},i);t.default=b},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return e.length+" "+(1!==e.length?"items":"item")}t.__esModule=!0;var i=n(11),a=r(i),s=n(139),u=r(s),c=n(1),l=r(c),f=n(22),d=r(f),p=n(304),h=r(p),v=function(e){var t=e.data,n=(0,u.default)(e,["data"]);return l.default.createElement(h.default,(0,a.default)({},n,{data:t,nodeType:"Array",nodeTypeIndicator:"[]",createItemString:o,expandable:t.length>0}))};v.propTypes={data:d.default.array},t.default=v},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=0,r=!1;if((0,p.default)(e.size))n=e.size;else for(var o=e,i=Array.isArray(o),a=0,o=i?o:(0,f.default)(o);;){var s;if(i){if(a>=o.length)break;s=o[a++]}else{if(a=o.next(),a.done)break;s=a.value}if(t&&n+1>t){r=!0;break}n+=1}return""+(r?">":"")+n+" "+(1!==n?"entries":"entry")}function i(e){var t=(0,c.default)(e,[]);return v.default.createElement(g.default,(0,s.default)({},t,{nodeType:"Iterable",nodeTypeIndicator:"()",createItemString:o}))}t.__esModule=!0;var a=n(11),s=r(a),u=n(139),c=r(u),l=n(223),f=r(l),d=n(544),p=r(d);t.default=i;var h=n(1),v=r(h),y=n(304),g=r(y)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=(0,l.default)(e).length;return t+" "+(1!==t?"keys":"key")}t.__esModule=!0;var i=n(11),a=r(i),s=n(139),u=r(s),c=n(342),l=r(c),f=n(1),d=r(f),p=n(22),h=r(p),v=n(304),y=r(v),g=function(e){var t=e.data,n=(0,u.default)(e,["data"]);return d.default.createElement(y.default,(0,a.default)({},n,{data:t,nodeType:"Object",nodeTypeIndicator:"Error"===n.nodeType?"Error()":"{}",createItemString:o,expandable:(0,l.default)(t).length>0}))};g.propTypes={data:h.default.object,nodeType:h.default.string},t.default=g},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(1),i=r(o),a=n(22),s=r(a),u=function(e){var t=e.nodeType,n=e.styling,r=e.labelRenderer,o=e.keyPath,a=e.valueRenderer,s=e.value,u=e.valueGetter;return i.default.createElement("li",n("value",t,o),i.default.createElement("label",n(["label","valueLabel"],t,o),r(o,t,!1,!1)),i.default.createElement("span",n("valueText",t,o),a.apply(void 0,[u(s),s].concat(o))))};u.propTypes={nodeType:s.default.string.isRequired,styling:s.default.func.isRequired,labelRenderer:s.default.func.isRequired,keyPath:s.default.arrayOf(s.default.oneOfType([s.default.string,s.default.number])).isRequired,valueRenderer:s.default.func.isRequired,value:s.default.any,valueGetter:s.default.func},u.defaultProps={valueGetter:function(e){return e}},t.default=u},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(11),i=r(o),a=n(1076),s=r(a),u=n(426),c=function(e){return{BACKGROUND_COLOR:e.base00,TEXT_COLOR:e.base07,STRING_COLOR:e.base0B,DATE_COLOR:e.base0B,NUMBER_COLOR:e.base09,BOOLEAN_COLOR:e.base09,NULL_COLOR:e.base08,UNDEFINED_COLOR:e.base08,FUNCTION_COLOR:e.base08,SYMBOL_COLOR:e.base08,LABEL_COLOR:e.base0D,ARROW_COLOR:e.base0D,ITEM_STRING_COLOR:e.base0B,ITEM_STRING_EXPANDED_COLOR:e.base03}},l=function(e){return{String:e.STRING_COLOR,Date:e.DATE_COLOR,Number:e.NUMBER_COLOR,Boolean:e.BOOLEAN_COLOR,Null:e.NULL_COLOR,Undefined:e.UNDEFINED_COLOR,Function:e.FUNCTION_COLOR,Symbol:e.SYMBOL_COLOR}},f=function(e){var t=c(e);return{tree:{border:0,padding:0,marginTop:"0.5em",marginBottom:"0.5em",marginLeft:"0.125em",marginRight:0,listStyle:"none",MozUserSelect:"none",WebkitUserSelect:"none",backgroundColor:t.BACKGROUND_COLOR},value:function(e,t,n){var r=e.style;return{style:(0,i.default)({},r,{paddingTop:"0.25em",paddingRight:0,marginLeft:"0.875em",WebkitUserSelect:"text",MozUserSelect:"text",wordWrap:"break-word",paddingLeft:n.length>1?"2.125em":"1.25em",textIndent:"-0.5em",wordBreak:"break-all"})}},label:{display:"inline-block",color:t.LABEL_COLOR},valueLabel:{margin:"0 0.5em 0 0"},valueText:function(e,n){var r=e.style;return{style:(0,i.default)({},r,{color:l(t)[n]})}},itemRange:function(e,n){e.style;return{style:{paddingTop:n?0:"0.25em",cursor:"pointer",color:t.LABEL_COLOR}}},arrow:function(e,t,n){var r=e.style;return{style:(0,i.default)({},r,{marginLeft:0,transition:"150ms",WebkitTransition:"150ms",MozTransition:"150ms",WebkitTransform:n?"rotateZ(90deg)":"rotateZ(0deg)",MozTransform:n?"rotateZ(90deg)":"rotateZ(0deg)",transform:n?"rotateZ(90deg)":"rotateZ(0deg)",transformOrigin:"45% 50%",WebkitTransformOrigin:"45% 50%",MozTransformOrigin:"45% 50%",position:"relative",lineHeight:"1.1em",fontSize:"0.75em"})}},arrowContainer:function(e,t){var n=e.style;return{style:(0,i.default)({},n,{display:"inline-block",paddingRight:"0.5em",paddingLeft:"double"===t?"1em":0,cursor:"pointer"})}},arrowSign:{color:t.ARROW_COLOR},arrowSignInner:{position:"absolute",top:0,left:"-0.4em"},nestedNode:function(e,t,n,r,o){var a=e.style;return{style:(0,i.default)({},a,{position:"relative",paddingTop:"0.25em",marginLeft:t.length>1?"0.875em":0,paddingLeft:o?0:"1.125em"})}},rootNode:{padding:0,margin:0},nestedNodeLabel:function(e,t,n,r,o){var a=e.style;return{style:(0,i.default)({},a,{margin:0,padding:0,WebkitUserSelect:o?"inherit":"text",MozUserSelect:o?"inherit":"text",cursor:o?"pointer":"default"})}},nestedNodeItemString:function(e,n,r,o){var a=e.style;return{style:(0,i.default)({},a,{paddingLeft:"0.5em",cursor:"default",color:o?t.ITEM_STRING_EXPANDED_COLOR:t.ITEM_STRING_COLOR})}},nestedNodeItemType:{marginLeft:"0.3em",marginRight:"0.3em"},nestedNodeChildren:function(e,t,n){var r=e.style;return{style:(0,i.default)({},r,{padding:0,margin:0,listStyle:"none",display:n?"block":"none"})}},rootNodeChildren:{padding:0,margin:0,listStyle:"none"}}};t.default=(0,u.createStyling)(f,{defaultBase16:s.default})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return"Object"===e?(0,h.default)(t).length:"Array"===e?t.length:1/0}function i(e){return"function"==typeof e.set}function a(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1/0,a=void 0;if("Object"===e){var s=(0,d.default)(t);"undefined"!=typeof n&&s.sort(n),s=s.slice(r,o+1),a={entries:s.map(function(e){return{key:e,value:t[e]}})}}else if("Array"===e)a={entries:t.slice(r,o+1).map(function(e,t){return{key:t+r,value:e}})};else{for(var u=0,c=[],f=!0,p=i(t),h=t,v=Array.isArray(h),y=0,h=v?h:(0,l.default)(h);;){var g;if(v){if(y>=h.length)break;g=h[y++]}else{if(y=h.next(),y.done)break;g=y.value}var m=g;if(u>o){f=!1;break}r<=u&&(p&&Array.isArray(m)?"string"==typeof m[0]||"number"==typeof m[0]?c.push({key:m[0],value:m[1]}):c.push({key:"[entry "+u+"]",value:{"[key]":m[0],"[value]":m[1]}}):c.push({key:u,value:m})),u++}a={hasMore:!f,entries:c}}return a}function s(e,t,n){for(var r=[];t-e>n*n;)n*=n;for(var o=e;o<=t;o+=n)r.push({from:o,to:Math.min(t,o+n-1)});return r}function u(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,u=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1/0,c=a.bind(null,e,t,n);if(!r)return c().entries;var l=u<1/0,f=Math.min(u-i,o(e,t));if("Iterable"!==e){if(f<=r||r<7)return c(i,u).entries}else if(f<=r&&!l)return c(i,u).entries;var d=void 0;if("Iterable"===e){var p=c(i,i+r-1),h=p.hasMore,v=p.entries;d=h?[].concat(v,s(i+r,i+2*r-1,r)):v}else d=l?s(i,u,r):[].concat(c(0,r-5).entries,s(r-4,f-5,r),c(f-4,f-1).entries);return d}t.__esModule=!0;var c=n(223),l=r(c),f=n(342),d=r(f),p=n(163),h=r(p);t.default=u},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&"function"==typeof e[a.default]?"Iterable":t}t.__esModule=!0;var i=n(343),a=r(i);t.default=o},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"solarized",author:"ethan schoonover (http://ethanschoonover.com/solarized)",base00:"#002b36",base01:"#073642",base02:"#586e75",base03:"#657b83",base04:"#839496",base05:"#93a1a1",base06:"#eee8d5",base07:"#fdf6e3",base08:"#dc322f",base09:"#cb4b16",base0A:"#b58900",base0B:"#859900",base0C:"#2aa198",base0D:"#268bd2",base0E:"#6c71c4",base0F:"#d33682"}},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(t){n(this,e);var r=navigator.language||navigator.userLanguage;this.props=t,this.setLanguage(r)}return r(e,[{key:"_getBestMatchingLanguage",value:function(e,t){if(t[e])return e;var n=e.indexOf("-");return n>=0&&(e=e.substring(0,n),t[e])?e:Object.keys(t)[0]}}]),r(e,[{key:"setLanguage",value:function(e){var t=this._getBestMatchingLanguage(e,this.props);if(this.language=t,this.props[t]){var n=this.props[this.language];for(var r in n)n.hasOwnProperty(r)&&(this[r]=n[r])}}},{key:"getLanguage",value:function(){return this.language}},{key:"getInterfaceLanguage",value:function(){return interfaceLanguage}},{key:"getAvailableLanguages",value:function(){if(!this.availableLanguages){this.availableLanguages=[];for(var e in this.props)this.availableLanguages.push(e)}return this.availableLanguages}},{key:"formatString",value:function(e){for(var t=e,n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];for(var i=0;i<r.length;i++)t=this._replaceAll("{"+i+"}",r[i],t);return t}},{key:"_replaceAll",value:function(e,t,n){return e=e.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1"),n.replace(new RegExp(e,"g"),t)}}]),e}();t.default=o,e.exports=t.default},function(e,t){"use strict";function n(e,t){if(e===t)return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=Object.prototype.hasOwnProperty.bind(t),i=0;i<n.length;i++)if(!o(n[i])||e[n[i]]!==t[n[i]])return!1;return!0}t.__esModule=!0,t.default=n,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t.default=void 0;var s=n(1),u=n(22),c=r(u),l=n(458),f=n(305),d=(r(f),function(e){function t(n,r){o(this,t);var a=i(this,e.call(this,n,r));return a.store=n.store,a}return a(t,e),t.prototype.getChildContext=function(){return{store:this.store,storeSubscription:null}},t.prototype.render=function(){return s.Children.only(this.props.children)},t}(s.Component));t.default=d,d.propTypes={store:l.storeShape.isRequired,children:c.default.element.isRequired},d.childContextTypes={store:l.storeShape.isRequired,storeSubscription:l.subscriptionShape},d.displayName="Provider"},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t,n){for(var r=t.length-1;r>=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function a(e,t){return e===t}function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.connectHOC,n=void 0===t?l.default:t,r=e.mapStateToPropsFactories,s=void 0===r?y.default:r,c=e.mapDispatchToPropsFactories,f=void 0===c?h.default:c,p=e.mergePropsFactories,v=void 0===p?m.default:p,g=e.selectorFactory,_=void 0===g?b.default:g;return function(e,t,r){var c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},l=c.pure,p=void 0===l||l,h=c.areStatesEqual,y=void 0===h?a:h,g=c.areOwnPropsEqual,m=void 0===g?d.default:g,b=c.areStatePropsEqual,w=void 0===b?d.default:b,E=c.areMergedPropsEqual,T=void 0===E?d.default:E,S=o(c,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),C=i(e,s,"mapStateToProps"),x=i(t,f,"mapDispatchToProps"),O=i(r,v,"mergeProps");return n(_,u({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:C,initMapDispatchToProps:x,initMergeProps:O,pure:p,areStatesEqual:y,areOwnPropsEqual:m,areStatePropsEqual:w,areMergedPropsEqual:T},S))}}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.createConnect=s;var c=n(456),l=r(c),f=n(1087),d=r(f),p=n(1081),h=r(p),v=n(1082),y=r(v),g=n(1083),m=r(g),_=n(1084),b=r(_);t.default=s()},function(e,t,n){"use strict";function r(e){return"function"==typeof e?(0,s.wrapMapToPropsFunc)(e,"mapDispatchToProps"):void 0}function o(e){return e?void 0:(0,s.wrapMapToPropsConstant)(function(e){return{dispatch:e}})}function i(e){return e&&"object"==typeof e?(0,s.wrapMapToPropsConstant)(function(t){return(0,a.bindActionCreators)(e,t)}):void 0}t.__esModule=!0,t.whenMapDispatchToPropsIsFunction=r,t.whenMapDispatchToPropsIsMissing=o,t.whenMapDispatchToPropsIsObject=i;var a=n(313),s=n(457);t.default=[r,o,i]},function(e,t,n){"use strict";function r(e){return"function"==typeof e?(0,i.wrapMapToPropsFunc)(e,"mapStateToProps"):void 0}function o(e){return e?void 0:(0,i.wrapMapToPropsConstant)(function(){return{}})}t.__esModule=!0,t.whenMapStateToPropsIsFunction=r,t.whenMapStateToPropsIsMissing=o;var i=n(457);t.default=[r,o]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return u({},n,e,t)}function i(e){return function(t,n){var r=(n.displayName,n.pure),o=n.areMergedPropsEqual,i=!1,a=void 0;return function(t,n,s){var u=e(t,n,s);return i?r&&o(u,a)||(a=u):(i=!0,a=u),a}}}function a(e){return"function"==typeof e?i(e):void 0}function s(e){return e?void 0:function(){return o}}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.defaultMergeProps=o,t.wrapMergePropsFunc=i,t.whenMergePropsIsFunction=a,t.whenMergePropsIsOmitted=s;var c=n(459);r(c);t.default=[a,s]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t,n,r){return function(o,i){return n(e(o,i),t(r,i),i)}}function a(e,t,n,r,o){function i(o,i){return h=o,v=i,y=e(h,v),g=t(r,v),m=n(y,g,v),p=!0,m}function a(){return y=e(h,v),t.dependsOnOwnProps&&(g=t(r,v)),m=n(y,g,v)}function s(){return e.dependsOnOwnProps&&(y=e(h,v)),t.dependsOnOwnProps&&(g=t(r,v)),m=n(y,g,v)}function u(){var t=e(h,v),r=!d(t,y);return y=t,r&&(m=n(y,g,v)),m}function c(e,t){var n=!f(t,v),r=!l(e,h);return h=e,v=t,n&&r?a():n?s():r?u():m}var l=o.areStatesEqual,f=o.areOwnPropsEqual,d=o.areStatePropsEqual,p=!1,h=void 0,v=void 0,y=void 0,g=void 0,m=void 0;return function(e,t){return p?c(e,t):i(e,t)}}function s(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,s=t.initMergeProps,u=o(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),c=n(e,u),l=r(e,u),f=s(e,u),d=u.pure?a:i;return d(c,l,f,e,u)}t.__esModule=!0,t.impureFinalPropsSelectorFactory=i,t.pureFinalPropsSelectorFactory=a,t.default=s;var u=n(1085);r(u)},function(e,t,n){"use strict";
+function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){if(!e)throw new Error("Unexpected value for "+t+" in "+n+".");"mapStateToProps"!==t&&"mapDispatchToProps"!==t||e.hasOwnProperty("dependsOnOwnProps")||(0,s.default)("The selector for "+t+" of "+n+" did not specify a value for dependsOnOwnProps.")}function i(e,t,n,r){o(e,"mapStateToProps",r),o(t,"mapDispatchToProps",r),o(n,"mergeProps",r)}t.__esModule=!0,t.default=i;var a=n(305),s=r(a)},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(){var e=[],t=[];return{clear:function(){t=o,e=o},notify:function(){for(var n=e=t,r=0;r<n.length;r++)n[r]()},subscribe:function(n){var r=!0;return t===e&&(t=e.slice()),t.push(n),function(){r&&e!==o&&(r=!1,t===e&&(t=e.slice()),t.splice(t.indexOf(n),1))}}}}t.__esModule=!0;var o=null,i={notify:function(){}},a=function(){function e(t,r,o){n(this,e),this.store=t,this.parentSub=r,this.onStateChange=o,this.unsubscribe=null,this.listeners=i}return e.prototype.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},e.prototype.notifyNestedSubs=function(){this.listeners.notify()},e.prototype.isSubscribed=function(){return Boolean(this.unsubscribe)},e.prototype.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.onStateChange):this.store.subscribe(this.onStateChange),this.listeners=r())},e.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=i)},e}();t.default=a},function(e,t){"use strict";function n(e,t){return e===t?0!==e||0!==t||1/e===1/t:e!==e&&t!==t}function r(e,t){if(n(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),i=Object.keys(t);if(r.length!==i.length)return!1;for(var a=0;a<r.length;a++)if(!o.call(t,r[a])||!n(e[r[a]],t[r[a]]))return!1;return!0}t.__esModule=!0,t.default=r;var o=Object.prototype.hasOwnProperty},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(1),a=r(i),s=n(57),u=r(s),c=n(460),l=r(c),f=(0,u.default)({displayName:"IndexLink",render:function(){return a.default.createElement(l.default,o({},this.props,{onlyActiveOnIndex:!0}))}});t.default=f,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(57),i=r(o),a=n(22),s=n(126),u=(r(s),n(17)),c=r(u),l=n(462),f=r(l),d=n(151),p=(0,i.default)({displayName:"IndexRedirect",statics:{createRouteFromReactElement:function(e,t){t&&(t.indexRoute=f.default.createRouteFromReactElement(e))}},propTypes:{to:a.string.isRequired,query:a.object,state:a.object,onEnter:d.falsy,children:d.falsy},render:function(){(0,c.default)(!1)}});t.default=p,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(57),i=r(o),a=n(22),s=n(126),u=(r(s),n(17)),c=r(u),l=n(82),f=n(151),d=(0,i.default)({displayName:"IndexRoute",statics:{createRouteFromReactElement:function(e,t){t&&(t.indexRoute=(0,l.createRouteFromReactElement)(e))}},propTypes:{path:f.falsy,component:f.component,components:f.components,getComponent:a.func,getComponents:a.func},render:function(){(0,c.default)(!1)}});t.default=d,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(57),i=r(o),a=n(22),s=n(17),u=r(s),c=n(82),l=n(151),f=(0,i.default)({displayName:"Route",statics:{createRouteFromReactElement:c.createRouteFromReactElement},propTypes:{path:a.string,component:l.component,components:l.components,getComponent:a.func,getComponents:a.func},render:function(){(0,u.default)(!1)}});t.default=f,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(17),s=r(a),u=n(1),c=r(u),l=n(57),f=r(l),d=n(22),p=n(466),h=r(p),v=n(151),y=n(309),g=r(y),m=n(82),_=n(463),b=n(126),w=(r(b),{history:d.object,children:v.routes,routes:v.routes,render:d.func,createElement:d.func,onError:d.func,onUpdate:d.func,matchContext:d.object}),E=(0,f.default)({displayName:"Router",propTypes:w,getDefaultProps:function(){return{render:function(e){return c.default.createElement(g.default,e)}}},getInitialState:function(){return{location:null,routes:null,params:null,components:null}},handleError:function(e){if(!this.props.onError)throw e;this.props.onError.call(this,e)},createRouterObject:function(e){var t=this.props.matchContext;if(t)return t.router;var n=this.props.history;return(0,_.createRouterObject)(n,this.transitionManager,e)},createTransitionManager:function(){var e=this.props.matchContext;if(e)return e.transitionManager;var t=this.props.history,n=this.props,r=n.routes,o=n.children;return t.getCurrentLocation?void 0:(0,s.default)(!1),(0,h.default)(t,(0,m.createRoutes)(r||o))},componentWillMount:function(){var e=this;this.transitionManager=this.createTransitionManager(),this.router=this.createRouterObject(this.state),this._unlisten=this.transitionManager.listen(function(t,n){t?e.handleError(t):((0,_.assignRouterState)(e.router,n),e.setState(n,e.props.onUpdate))})},componentWillReceiveProps:function(e){},componentWillUnmount:function(){this._unlisten&&this._unlisten()},render:function e(){var t=this.state,n=t.location,r=t.routes,a=t.params,s=t.components,u=this.props,c=u.createElement,e=u.render,l=o(u,["createElement","render"]);return null==n?null:(Object.keys(w).forEach(function(e){return delete l[e]}),e(i({},l,{router:this.router,location:n,routes:r,params:a,components:s,createElement:c})))}});t.default=E,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(){function e(e,t,n,r){var o=e.length<n,i=function(){for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];if(e.apply(t,r),o){var a=r[r.length-1];a()}};return r.add(i),i}function t(t){return t.reduce(function(t,n){return n.onEnter&&t.push(e(n.onEnter,n,3,c)),t},[])}function n(t){return t.reduce(function(t,n){return n.onChange&&t.push(e(n.onChange,n,4,l)),t},[])}function r(e,t,n){function r(e){o=e}if(!e)return void n();var o=void 0;(0,i.loopAsync)(e,function(e,n,i){t(e,r,function(e){e||o?i(e,o):n()})},n)}function o(e,n,o){c.clear();var i=t(e);return r(i.length,function(e,t,r){var o=function(){c.has(i[e])&&(r.apply(void 0,arguments),c.remove(i[e]))};i[e](n,t,o)},o)}function s(e,t,o,i){l.clear();var a=n(e);return r(a.length,function(e,n,r){var i=function(){l.has(a[e])&&(r.apply(void 0,arguments),l.remove(a[e]))};a[e](t,o,n,i)},i)}function u(e,t){for(var n=0,r=e.length;n<r;++n)e[n].onLeave&&e[n].onLeave.call(e[n],t)}var c=new a,l=new a;return{runEnterHooks:o,runChangeHooks:s,runLeaveHooks:u}}t.__esModule=!0,t.default=o;var i=n(306),a=function e(){var t=this;r(this,e),this.hooks=[],this.add=function(e){return t.hooks.push(e)},this.remove=function(e){return t.hooks=t.hooks.filter(function(t){return t!==e})},this.has=function(e){return t.hooks.indexOf(e)!==-1},this.clear=function(){return t.hooks=[]}};e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(1),a=r(i),s=n(309),u=r(s),c=n(126);r(c);t.default=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.map(function(e){return e.renderRouterContext}).filter(Boolean),s=t.map(function(e){return e.renderRouteComponent}).filter(Boolean),c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.createElement;return function(t,n){return s.reduceRight(function(e,t){return t(e,n)},e(t,n))}};return function(e){return r.reduceRight(function(t,n){return n(t,e)},a.default.createElement(u.default,o({},e,{createElement:c(e.createElement)})))}},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(853),i=r(o),a=n(465),s=r(a);t.default=(0,s.default)(i.default),e.exports=t.default},function(e,t,n){"use strict";function r(e,t,n){if(!e.path)return!1;var r=(0,i.getParamNames)(e.path);return r.some(function(e){return t.params[e]!==n.params[e]})}function o(e,t){var n=e&&e.routes,o=t.routes,i=void 0,a=void 0,s=void 0;if(n){var u=!1;i=n.filter(function(n){if(u)return!0;var i=o.indexOf(n)===-1||r(n,e,t);return i&&(u=!0),i}),i.reverse(),s=[],a=[],o.forEach(function(e){var t=n.indexOf(e)===-1,r=i.indexOf(e)!==-1;t||r?s.push(e):a.push(e)})}else i=[],a=[],s=o;return{leaveRoutes:i,changeRoutes:a,enterRoutes:s}}t.__esModule=!0;var i=n(125);t.default=o,e.exports=t.default},function(e,t,n){"use strict";function r(e,t,n){if(t.component||t.components)return void n(null,t.component||t.components);var r=t.getComponent||t.getComponents;if(r){var o=r.call(t,e,n);(0,a.isPromise)(o)&&o.then(function(e){return n(null,e)},n)}else n()}function o(e,t){(0,i.mapAsync)(e.routes,function(t,n,o){r(e,t,o)},t)}t.__esModule=!0;var i=n(306),a=n(461);t.default=o,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){var n={};return e.path?((0,o.getParamNames)(e.path).forEach(function(e){Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e])}),n):n}t.__esModule=!0;var o=n(125);t.default=r,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(854),i=r(o),a=n(465),s=r(a);t.default=(0,s.default)(i.default),e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if(e==t)return!0;if(null==e||null==t)return!1;if(Array.isArray(e))return Array.isArray(t)&&e.length===t.length&&e.every(function(e,n){return r(e,t[n])});if("object"===("undefined"==typeof e?"undefined":u(e))){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))if(void 0===e[n]){if(void 0!==t[n])return!1}else{if(!Object.prototype.hasOwnProperty.call(t,n))return!1;if(!r(e[n],t[n]))return!1}return!0}return String(e)===String(t)}function o(e,t){return"/"!==t.charAt(0)&&(t="/"+t),"/"!==e.charAt(e.length-1)&&(e+="/"),"/"!==t.charAt(t.length-1)&&(t+="/"),t===e}function i(e,t,n){for(var r=e,o=[],i=[],a=0,s=t.length;a<s;++a){var u=t[a],l=u.path||"";if("/"===l.charAt(0)&&(r=e,o=[],i=[]),null!==r&&l){var f=(0,c.matchPattern)(l,r);if(f?(r=f.remainingPathname,o=[].concat(o,f.paramNames),i=[].concat(i,f.paramValues)):r=null,""===r)return o.every(function(e,t){return String(i[t])===String(n[e])})}}return!1}function a(e,t){return null==t?null==e:null==e||r(e,t)}function s(e,t,n,r,s){var u=e.pathname,c=e.query;return null!=n&&("/"!==u.charAt(0)&&(u="/"+u),!!(o(u,n.pathname)||!t&&i(u,r,s))&&a(c,n.query))}t.__esModule=!0;var u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=s;var c=n(125);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){var n=e.history,r=e.routes,i=e.location,u=o(e,["history","routes","location"]);n||i?void 0:(0,c.default)(!1),n=n?n:(0,f.default)(u);var l=(0,p.default)(n,(0,h.createRoutes)(r));i=i?n.createLocation(i):n.getCurrentLocation(),l.match(i,function(e,r,o){var i=void 0;if(o){var u=(0,v.createRouterObject)(n,l,o);i=a({},o,{router:u,matchContext:{transitionManager:l,router:u}})}t(e,r&&n.createLocation(r,s.REPLACE),i)})}t.__esModule=!0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(181),u=n(17),c=r(u),l=n(464),f=r(l),d=n(466),p=r(d),h=n(82),v=n(463);t.default=i,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n,r,o){if(e.childRoutes)return[null,e.childRoutes];if(!e.getChildRoutes)return[];var i=!0,a=void 0,u={location:t,params:s(n,r)},c=e.getChildRoutes(u,function(e,t){return t=!e&&(0,v.createRoutes)(t),i?void(a=[e,t]):void o(e,t)});return(0,d.isPromise)(c)&&c.then(function(e){return o(null,(0,v.createRoutes)(e))},o),i=!1,a}function i(e,t,n,r,a){if(e.indexRoute)a(null,e.indexRoute);else if(e.getIndexRoute){var u={location:t,params:s(n,r)},c=e.getIndexRoute(u,function(e,t){a(e,!e&&(0,v.createRoutes)(t)[0])});(0,d.isPromise)(c)&&c.then(function(e){return a(null,(0,v.createRoutes)(e)[0])},a)}else if(e.childRoutes||e.getChildRoutes){var l=function(e,o){if(e)return void a(e);var s=o.filter(function(e){return!e.path});(0,f.loopAsync)(s.length,function(e,o,a){i(s[e],t,n,r,function(t,n){if(t||n){var r=[s[e]].concat(Array.isArray(n)?n:[n]);a(t,r)}else o()})},function(e,t){a(null,t)})},p=o(e,t,n,r,l);p&&l.apply(void 0,p)}else a()}function a(e,t,n){return t.reduce(function(e,t,r){var o=n&&n[r];return Array.isArray(e[t])?e[t].push(o):t in e?e[t]=[e[t],o]:e[t]=o,e},e)}function s(e,t){return a({},e,t)}function u(e,t,n,r,a,u){var l=e.path||"";if("/"===l.charAt(0)&&(n=t.pathname,r=[],a=[]),null!==n&&l){try{var f=(0,p.matchPattern)(l,n);f?(n=f.remainingPathname,r=[].concat(r,f.paramNames),a=[].concat(a,f.paramValues)):n=null}catch(e){u(e)}if(""===n){var d={routes:[e],params:s(r,a)};return void i(e,t,r,a,function(e,t){if(e)u(e);else{if(Array.isArray(t)){var n;(n=d.routes).push.apply(n,t)}else t&&d.routes.push(t);u(null,d)}})}}if(null!=n||e.childRoutes){var h=function(o,i){o?u(o):i?c(i,t,function(t,n){t?u(t):n?(n.routes.unshift(e),u(null,n)):u()},n,r,a):u()},v=o(e,t,r,a,h);v&&h.apply(void 0,v)}else u()}function c(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[];void 0===r&&("/"!==t.pathname.charAt(0)&&(t=l({},t,{pathname:"/"+t.pathname})),r=t.pathname),(0,f.loopAsync)(e.length,function(n,a,s){u(e[n],t,r,o,i,function(e,t){e||t?s(e,t):a()})},n)}t.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=c;var f=n(306),d=n(461),p=n(125),h=n(126),v=(r(h),n(82));e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return e.displayName||e.name||"Component"}function i(e,t){var n=t&&t.withRef,r=(0,d.default)({displayName:"WithRouter",mixins:[(0,v.ContextSubscriber)("router")],contextTypes:{router:y.routerShape},propTypes:{router:y.routerShape},getWrappedInstance:function(){return n?void 0:(0,u.default)(!1),this.wrappedInstance},render:function(){var t=this,r=this.props.router||this.context.router;if(!r)return l.default.createElement(e,this.props);var o=r.params,i=r.location,s=r.routes,u=a({},this.props,{router:r,params:o,location:i,routes:s});return n&&(u.ref=function(e){t.wrappedInstance=e}),l.default.createElement(e,u)}});return r.displayName="withRouter("+o(e)+")",r.WrappedComponent=e,(0,h.default)(r,e)}t.__esModule=!0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=i;var s=n(17),u=r(s),c=n(1),l=r(c),f=n(57),d=r(f),p=n(145),h=r(p),v=n(307),y=n(308);e.exports=t.default},function(e,t,n){"use strict";function r(e,t){var n=l.extractSingleTouch(t);return n?n[e.page]:e.page in t?t[e.page]:t[e.client]+f[e.envScroll]}function o(e,t){var n=r(b.x,t),o=r(b.y,t);return Math.pow(Math.pow(n-e.x,2)+Math.pow(o-e.y,2),.5)}function i(e){return{tapMoveThreshold:y,ignoreMouseThreshold:g,eventTypes:T,extractEvents:function(t,n,i,a){if(!p(t)&&!h(t))return null;if(v(t))_=S();else if(e(_,S()))return null;var s=null,l=o(m,i);return h(t)&&l<y&&(s=c.getPooled(T.touchTap,n,i,a)),p(t)?(m.x=r(b.x,i),m.y=r(b.y,i)):h(t)&&(m.x=0,m.y=0),u.accumulateTwoPhaseDispatches(s),s}}}var a=n(1012),s=n(195),u=n(122),c=n(124),l=n(1105),f=n(296),d=n(847),p=(a.topLevelTypes,s.isStartish),h=s.isEndish,v=function(e){var t=["topTouchCancel","topTouchEnd","topTouchStart","topTouchMove"];return t.indexOf(e)>=0},y=10,g=750,m={x:null,y:null},_=null,b={x:{page:"pageX",client:"clientX",envScroll:"currentPageScrollLeft"},y:{page:"pageY",client:"clientY",envScroll:"currentPageScrollTop"}},w=["topTouchStart","topTouchCancel","topTouchEnd","topTouchMove"],E=["topMouseDown","topMouseMove","topMouseUp"].concat(w),T={touchTap:{phasedRegistrationNames:{bubbled:d({onTouchTap:null}),captured:d({onTouchTapCapture:null})},dependencies:E}},S=function(){return Date.now?Date.now:function(){return+new Date}}();e.exports=i},function(e,t){var n={extractSingleTouch:function(e){var t=e.touches,n=e.changedTouches,r=t&&t.length>0,o=n&&n.length>0;return!r&&o?n[0]:r?t[0]:e}};e.exports=n},function(e,t){e.exports=function(e,t){if(e&&t-e<750)return!0}},function(e,t,n){var r=(n(10),n(1106)),o=!1;e.exports=function(e){e=e||{};var t=e.shouldRejectClick||r;o=!0,n(121).injection.injectEventPluginsByName({TapEventPlugin:n(1104)(t)})}},291,[1635,129],function(e,t,n){"use strict";function r(e){return(""+e).replace(b,"$&/")}function o(e,t){this.func=e,this.context=t,this.count=0}function i(e,t,n){var r=e.func,o=e.context;r.call(o,t,e.count++)}function a(e,t,n){if(null==e)return e;var r=o.getPooled(t,n);g(e,i,r),o.release(r)}function s(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function u(e,t,n){var o=e.result,i=e.keyPrefix,a=e.func,s=e.context,u=a.call(s,t,e.count++);Array.isArray(u)?c(u,o,n,y.thatReturnsArgument):null!=u&&(v.isValidElement(u)&&(u=v.cloneAndReplaceKey(u,i+(!u.key||t&&t.key===u.key?"":r(u.key)+"/")+n)),o.push(u))}function c(e,t,n,o,i){var a="";null!=n&&(a=r(n)+"/");var c=s.getPooled(t,a,o,i);g(e,u,c),s.release(c)}function l(e,t,n){if(null==e)return e;var r=[];return c(e,r,null,t,n),r}function f(e,t,n){return null}function d(e,t){return g(e,f,null)}function p(e){var t=[];return c(e,t,null,y.thatReturnsArgument),t}var h=n(1109),v=n(128),y=n(40),g=n(1119),m=h.twoArgumentPooler,_=h.fourArgumentPooler,b=/\/+/g;o.prototype.destructor=function(){this.func=null,this.context=null,this.count=0},h.addPoolingTo(o,m),s.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},h.addPoolingTo(s,_);var w={forEach:a,map:l,mapIntoWithKeyPrefixInternal:c,count:d,toArray:p};e.exports=w},function(e,t,n){"use strict";function r(e){return e}function o(e,t){var n=b.hasOwnProperty(t)?b[t]:null;E.hasOwnProperty(t)&&("OVERRIDE_BASE"!==n?d("73",t):void 0),e&&("DEFINE_MANY"!==n&&"DEFINE_MANY_MERGED"!==n?d("74",t):void 0)}function i(e,t){if(t){"function"==typeof t?d("75"):void 0,v.isValidElement(t)?d("76"):void 0;var n=e.prototype,r=n.__reactAutoBindPairs;t.hasOwnProperty(m)&&w.mixins(e,t.mixins);for(var i in t)if(t.hasOwnProperty(i)&&i!==m){var a=t[i],s=n.hasOwnProperty(i);if(o(s,i),w.hasOwnProperty(i))w[i](e,a);else{var l=b.hasOwnProperty(i),f="function"==typeof a,p=f&&!l&&!s&&t.autobind!==!1;if(p)r.push(i,a),n[i]=a;else if(s){var h=b[i];!l||"DEFINE_MANY_MERGED"!==h&&"DEFINE_MANY"!==h?d("77",h,i):void 0,"DEFINE_MANY_MERGED"===h?n[i]=u(n[i],a):"DEFINE_MANY"===h&&(n[i]=c(n[i],a))}else n[i]=a}}}else;}function a(e,t){if(t)for(var n in t){var r=t[n];if(t.hasOwnProperty(n)){var o=n in w;o?d("78",n):void 0;var i=n in e;i?d("79",n):void 0,e[n]=r}}}function s(e,t){e&&t&&"object"==typeof e&&"object"==typeof t?void 0:d("80");for(var n in t)t.hasOwnProperty(n)&&(void 0!==e[n]?d("81",n):void 0,e[n]=t[n]);return e}function u(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);if(null==n)return r;if(null==r)return n;var o={};return s(o,n),s(o,r),o}}function c(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function l(e,t){var n=t.bind(e);return n}function f(e){for(var t=e.__reactAutoBindPairs,n=0;n<t.length;n+=2){var r=t[n],o=t[n+1];e[r]=l(e,o)}}var d=n(129),p=n(21),h=n(310),v=n(128),y=(n(471),n(311)),g=n(115),m=(n(10),n(13),"mixins"),_=[],b={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},w={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)i(e,t[n])},childContextTypes:function(e,t){e.childContextTypes=p({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=p({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=u(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){e.propTypes=p({},e.propTypes,t)},statics:function(e,t){a(e,t)},autobind:function(){}},E={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e),t&&this.updater.enqueueCallback(this,t,"replaceState")},isMounted:function(){return this.updater.isMounted(this)}},T=function(){};p(T.prototype,h.prototype,E);var S={createClass:function(e){var t=r(function(e,n,r){this.__reactAutoBindPairs.length&&f(this),this.props=e,this.context=n,this.refs=g,this.updater=r||y,this.state=null;var o=this.getInitialState?this.getInitialState():null;"object"!=typeof o||Array.isArray(o)?d("82",t.displayName||"ReactCompositeComponent"):void 0,this.state=o});t.prototype=new T,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],_.forEach(i.bind(null,t)),i(t,e),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),t.prototype.render?void 0:d("83");for(var n in b)t.prototype[n]||(t.prototype[n]=null);return t},injection:{injectMixin:function(e){_.push(e)}}};e.exports=S},function(e,t,n){"use strict";var r=n(128),o=r.createFactory,i={a:o("a"),abbr:o("abbr"),address:o("address"),area:o("area"),article:o("article"),aside:o("aside"),audio:o("audio"),b:o("b"),base:o("base"),bdi:o("bdi"),bdo:o("bdo"),big:o("big"),blockquote:o("blockquote"),body:o("body"),br:o("br"),button:o("button"),canvas:o("canvas"),caption:o("caption"),cite:o("cite"),code:o("code"),col:o("col"),colgroup:o("colgroup"),data:o("data"),datalist:o("datalist"),dd:o("dd"),del:o("del"),details:o("details"),dfn:o("dfn"),dialog:o("dialog"),div:o("div"),dl:o("dl"),dt:o("dt"),em:o("em"),embed:o("embed"),fieldset:o("fieldset"),figcaption:o("figcaption"),figure:o("figure"),footer:o("footer"),form:o("form"),h1:o("h1"),h2:o("h2"),h3:o("h3"),h4:o("h4"),h5:o("h5"),h6:o("h6"),head:o("head"),header:o("header"),hgroup:o("hgroup"),hr:o("hr"),html:o("html"),i:o("i"),iframe:o("iframe"),img:o("img"),input:o("input"),ins:o("ins"),kbd:o("kbd"),keygen:o("keygen"),label:o("label"),legend:o("legend"),li:o("li"),link:o("link"),main:o("main"),map:o("map"),mark:o("mark"),menu:o("menu"),menuitem:o("menuitem"),meta:o("meta"),meter:o("meter"),nav:o("nav"),noscript:o("noscript"),object:o("object"),ol:o("ol"),optgroup:o("optgroup"),option:o("option"),output:o("output"),p:o("p"),param:o("param"),picture:o("picture"),pre:o("pre"),progress:o("progress"),q:o("q"),rp:o("rp"),rt:o("rt"),ruby:o("ruby"),s:o("s"),samp:o("samp"),script:o("script"),section:o("section"),select:o("select"),small:o("small"),source:o("source"),span:o("span"),strong:o("strong"),style:o("style"),sub:o("sub"),summary:o("summary"),sup:o("sup"),table:o("table"),tbody:o("tbody"),td:o("td"),textarea:o("textarea"),tfoot:o("tfoot"),th:o("th"),thead:o("thead"),time:o("time"),title:o("title"),tr:o("tr"),track:o("track"),u:o("u"),ul:o("ul"),var:o("var"),video:o("video"),wbr:o("wbr"),circle:o("circle"),clipPath:o("clipPath"),defs:o("defs"),ellipse:o("ellipse"),g:o("g"),image:o("image"),line:o("line"),linearGradient:o("linearGradient"),mask:o("mask"),path:o("path"),pattern:o("pattern"),polygon:o("polygon"),polyline:o("polyline"),radialGradient:o("radialGradient"),rect:o("rect"),stop:o("stop"),svg:o("svg"),text:o("text"),tspan:o("tspan")};e.exports=i},function(e,t,n){"use strict";function r(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}function o(e){this.message=e,this.stack=""}function i(e){function t(t,n,r,i,a,s,u){i=i||x,s=s||r;if(null==n[r]){var c=E[a];return t?new o(null===n[r]?"The "+c+" `"+s+"` is marked as required "+("in `"+i+"`, but its value is `null`."):"The "+c+" `"+s+"` is marked as required in "+("`"+i+"`, but its value is `undefined`.")):null}return e(n,r,i,a,s)}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}function a(e){function t(t,n,r,i,a,s){var u=t[n],c=m(u);if(c!==e){var l=E[i],f=_(u);return new o("Invalid "+l+" `"+a+"` of type "+("`"+f+"` supplied to `"+r+"`, expected ")+("`"+e+"`."))}return null}return i(t)}function s(){return i(S.thatReturns(null))}function u(e){function t(t,n,r,i,a){if("function"!=typeof e)return new o("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s)){var u=E[i],c=m(s);return new o("Invalid "+u+" `"+a+"` of type "+("`"+c+"` supplied to `"+r+"`, expected an array."))}for(var l=0;l<s.length;l++){var f=e(s,l,r,i,a+"["+l+"]",T);if(f instanceof Error)return f}return null}return i(t)}function c(){function e(e,t,n,r,i){var a=e[t];if(!w.isValidElement(a)){var s=E[r],u=m(a);return new o("Invalid "+s+" `"+i+"` of type "+("`"+u+"` supplied to `"+n+"`, expected a single ReactElement."))}return null}return i(e)}function l(e){function t(t,n,r,i,a){if(!(t[n]instanceof e)){var s=E[i],u=e.name||x,c=b(t[n]);return new o("Invalid "+s+" `"+a+"` of type "+("`"+c+"` supplied to `"+r+"`, expected ")+("instance of `"+u+"`."))}return null}return i(t)}function f(e){function t(t,n,i,a,s){for(var u=t[n],c=0;c<e.length;c++)if(r(u,e[c]))return null;var l=E[a],f=JSON.stringify(e);return new o("Invalid "+l+" `"+s+"` of value `"+u+"` "+("supplied to `"+i+"`, expected one of "+f+"."))}return Array.isArray(e)?i(t):S.thatReturnsNull}function d(e){function t(t,n,r,i,a){if("function"!=typeof e)return new o("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var s=t[n],u=m(s);if("object"!==u){var c=E[i];return new o("Invalid "+c+" `"+a+"` of type "+("`"+u+"` supplied to `"+r+"`, expected an object."))}for(var l in s)if(s.hasOwnProperty(l)){var f=e(s,l,r,i,a+"."+l,T);if(f instanceof Error)return f}return null}return i(t)}function p(e){function t(t,n,r,i,a){for(var s=0;s<e.length;s++){var u=e[s];if(null==u(t,n,r,i,a,T))return null}var c=E[i];return new o("Invalid "+c+" `"+a+"` supplied to "+("`"+r+"`."))}return Array.isArray(e)?i(t):S.thatReturnsNull}function h(){function e(e,t,n,r,i){if(!y(e[t])){var a=E[r];return new o("Invalid "+a+" `"+i+"` supplied to "+("`"+n+"`, expected a ReactNode."))}return null}return i(e)}function v(e){function t(t,n,r,i,a){var s=t[n],u=m(s);if("object"!==u){var c=E[i];return new o("Invalid "+c+" `"+a+"` of type `"+u+"` "+("supplied to `"+r+"`, expected `object`."))}for(var l in e){var f=e[l];if(f){var d=f(s,l,r,i,a+"."+l,T);if(d)return d}}return null}return i(t)}function y(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(y);if(null===e||w.isValidElement(e))return!0;var t=C(e);if(!t)return!1;var n,r=t.call(e);if(t!==e.entries){for(;!(n=r.next()).done;)if(!y(n.value))return!1}else for(;!(n=r.next()).done;){var o=n.value;if(o&&!y(o[1]))return!1}return!0;default:return!1}}function g(e,t){return"symbol"===e||("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}function m(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":g(t,e)?"symbol":t}function _(e){var t=m(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function b(e){return e.constructor&&e.constructor.name?e.constructor.name:x}var w=n(128),E=n(471),T=n(1114),S=n(40),C=n(473),x=(n(13),"<<anonymous>>"),O={array:a("array"),bool:a("boolean"),func:a("function"),number:a("number"),object:a("object"),string:a("string"),symbol:a("symbol"),any:s(),arrayOf:u,element:c(),instanceOf:l,node:h(),objectOf:d,oneOf:f,oneOfType:p,shape:v};o.prototype=Error.prototype,e.exports=O},1039,function(e,t,n){"use strict";function r(e,t,n){this.props=e,this.context=t,this.refs=u,this.updater=n||s}function o(){}var i=n(21),a=n(310),s=n(311),u=n(115);o.prototype=a.prototype,r.prototype=new o,r.prototype.constructor=r,i(r.prototype,a.prototype),r.prototype.isPureReactComponent=!0,e.exports=r},function(e,t){"use strict";e.exports="15.4.2"},function(e,t){"use strict";function n(){return r++}var r=1;e.exports=n},function(e,t,n){"use strict";function r(e){return i.isValidElement(e)?void 0:o("143"),e}var o=n(129),i=n(128);n(10);e.exports=r},function(e,t,n){"use strict";function r(e,t){return e&&"object"==typeof e&&null!=e.key?c.escape(e.key):t.toString(36)}function o(e,t,n,i){var d=typeof e;if("undefined"!==d&&"boolean"!==d||(e=null),null===e||"string"===d||"number"===d||"object"===d&&e.$$typeof===s)return n(i,e,""===t?l+r(e,0):t),1;var p,h,v=0,y=""===t?l:t+f;if(Array.isArray(e))for(var g=0;g<e.length;g++)p=e[g],h=y+r(p,g),v+=o(p,h,n,i);else{var m=u(e);if(m){var _,b=m.call(e);if(m!==e.entries)for(var w=0;!(_=b.next()).done;)p=_.value,h=y+r(p,w++),v+=o(p,h,n,i);else for(;!(_=b.next()).done;){var E=_.value;E&&(p=E[1],h=y+c.escape(E[0])+f+r(p,0),v+=o(p,h,n,i))}}else if("object"===d){var T="",S=String(e);a("31","[object Object]"===S?"object with keys {"+Object.keys(e).join(", ")+"}":S,T)}}return v}function i(e,t,n){return null==e?0:o(e,"",t,n)}var a=n(129),s=(n(76),n(470)),u=n(473),c=(n(10),n(1108)),l=(n(13),"."),f=":";e.exports=i},function(e,t,n){"use strict";e.exports=n(1121).Recorder},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0}),t.Recorder=void 0;var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(856),s=r(a),u=t.Recorder=function(){function e(t,n){var r=this;o(this,e),this.config={bufferLen:4096,numChannels:2,mimeType:"audio/wav"},this.recording=!1,this.callbacks={getBuffer:[],exportWAV:[]},Object.assign(this.config,n),this.context=t.context,this.node=(this.context.createScriptProcessor||this.context.createJavaScriptNode).call(this.context,this.config.bufferLen,this.config.numChannels,this.config.numChannels),this.node.onaudioprocess=function(e){if(r.recording){for(var t=[],n=0;n<r.config.numChannels;n++)t.push(e.inputBuffer.getChannelData(n));r.worker.postMessage({command:"record",buffer:t})}},t.connect(this.node),this.node.connect(this.context.destination);var i={};this.worker=new s.default(function(){function e(e){p=e.sampleRate,h=e.numChannels,i()}function t(e){for(var t=0;t<h;t++)d[t].push(e[t]);f+=e[0].length}function n(e){for(var t=[],n=0;n<h;n++)t.push(a(d[n],f));var r=void 0;r=2===h?s(t[0],t[1]):t[0];var o=l(r),i=new Blob([o],{type:e});this.postMessage({command:"exportWAV",data:i})}function r(){for(var e=[],t=0;t<h;t++)e.push(a(d[t],f));
+this.postMessage({command:"getBuffer",data:e})}function o(){f=0,d=[],i()}function i(){for(var e=0;e<h;e++)d[e]=[]}function a(e,t){for(var n=new Float32Array(t),r=0,o=0;o<e.length;o++)n.set(e[o],r),r+=e[o].length;return n}function s(e,t){for(var n=e.length+t.length,r=new Float32Array(n),o=0,i=0;o<n;)r[o++]=e[i],r[o++]=t[i],i++;return r}function u(e,t,n){for(var r=0;r<n.length;r++,t+=2){var o=Math.max(-1,Math.min(1,n[r]));e.setInt16(t,o<0?32768*o:32767*o,!0)}}function c(e,t,n){for(var r=0;r<n.length;r++)e.setUint8(t+r,n.charCodeAt(r))}function l(e){var t=new ArrayBuffer(44+2*e.length),n=new DataView(t);return c(n,0,"RIFF"),n.setUint32(4,36+2*e.length,!0),c(n,8,"WAVE"),c(n,12,"fmt "),n.setUint32(16,16,!0),n.setUint16(20,1,!0),n.setUint16(22,h,!0),n.setUint32(24,p,!0),n.setUint32(28,4*p,!0),n.setUint16(32,2*h,!0),n.setUint16(34,16,!0),c(n,36,"data"),n.setUint32(40,2*e.length,!0),u(n,44,e),n}var f=0,d=[],p=void 0,h=void 0;this.onmessage=function(i){switch(i.data.command){case"init":e(i.data.config);break;case"record":t(i.data.buffer);break;case"exportWAV":n(i.data.type);break;case"getBuffer":r();break;case"clear":o()}}},i),this.worker.postMessage({command:"init",config:{sampleRate:this.context.sampleRate,numChannels:this.config.numChannels}}),this.worker.onmessage=function(e){var t=r.callbacks[e.data.command].pop();"function"==typeof t&&t(e.data.data)}}return i(e,[{key:"record",value:function(){this.recording=!0}},{key:"stop",value:function(){this.recording=!1}},{key:"clear",value:function(){this.worker.postMessage({command:"clear"})}},{key:"getBuffer",value:function(e){if(e=e||this.config.callback,!e)throw new Error("Callback not set");this.callbacks.getBuffer.push(e),this.worker.postMessage({command:"getBuffer"})}},{key:"exportWAV",value:function(e,t){if(t=t||this.config.mimeType,e=e||this.config.callback,!e)throw new Error("Callback not set");this.callbacks.exportWAV.push(e),this.worker.postMessage({command:"exportWAV",type:t})}}],[{key:"forceDownload",value:function(e,t){var n=(window.URL||window.webkitURL).createObjectURL(e),r=window.document.createElement("a");r.href=n,r.download=t||"output.wav";var o=document.createEvent("Event");o.initEvent("click",!0,!0),r.dispatchEvent(o)}}]),e}();t.default=u},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=n(1),l=r(c),f=n(1002),d=r(f),p=n(475),h=n(474),v=n(1124),y=r(v),g=n(963),m=r(g),_=function(e){function t(n){i(this,t);var r=a(this,e.call(this,n));r.handleKeyDown=r.handleKeyDown.bind(r),r.handleSizeChange=r.handleSizeChange.bind(r);var o=c.Children.count(n.children);return 0===o?console.error("<DockMonitor> requires at least one monitor inside. Why don’t you try <LogMonitor>? You can get it at https://github.com/gaearon/redux-devtools-log-monitor."):o>1&&!n.changeMonitorKey&&console.error('You specified multiple monitors inside <DockMonitor> but did not provide `changeMonitorKey` prop to change them. Try specifying <DockMonitor changeMonitorKey="ctrl-m" /> and then press Ctrl-M.'),r}return s(t,e),t.prototype.componentDidMount=function(){window.addEventListener("keydown",this.handleKeyDown)},t.prototype.componentWillUnmount=function(){window.removeEventListener("keydown",this.handleKeyDown)},t.prototype.matchesKey=function(e,t){if(!e)return!1;var n=t.keyCode||t.which,r=String.fromCharCode(n);return e.name.toUpperCase()===r.toUpperCase()&&e.alt===t.altKey&&e.ctrl===t.ctrlKey&&e.meta===t.metaKey&&e.shift===t.shiftKey},t.prototype.handleKeyDown=function(e){if(e.ctrlKey||e.metaKey||e.altKey||"INPUT"!==e.target.tagName&&"SELECT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&!e.target.isContentEditable){var t=(0,m.default)(this.props.toggleVisibilityKey),n=(0,m.default)(this.props.changePositionKey),r=void 0;this.props.changeMonitorKey&&(r=(0,m.default)(this.props.changeMonitorKey)),this.matchesKey(t,e)?(e.preventDefault(),this.props.dispatch((0,h.toggleVisibility)())):this.matchesKey(n,e)?(e.preventDefault(),this.props.dispatch((0,h.changePosition)())):this.matchesKey(r,e)&&(e.preventDefault(),this.props.dispatch((0,h.changeMonitor)()))}},t.prototype.handleSizeChange=function(e){this.props.dispatch((0,h.changeSize)(e))},t.prototype.renderChild=function(e,t,n){var r=this.props.monitorState,o=r.childMonitorIndex,i=r.childMonitorStates;return t!==o?null:(0,c.cloneElement)(e,u({monitorState:i[t]},n))},t.prototype.render=function(){var e=this,t=this.props,n=t.monitorState,r=t.children,i=t.fluid,a=o(t,["monitorState","children","fluid"]),s=n.position,u=n.isVisible,f=n.size;return l.default.createElement(d.default,{position:s,isVisible:u,size:f,fluid:i,onSizeChange:this.handleSizeChange,dimMode:"none"},c.Children.map(r,function(t,n){return e.renderChild(t,n,a)}))},t}(c.Component);_.update=y.default,_.propTypes={defaultPosition:c.PropTypes.oneOf(p.POSITIONS).isRequired,defaultIsVisible:c.PropTypes.bool.isRequired,defaultSize:c.PropTypes.number.isRequired,toggleVisibilityKey:c.PropTypes.string.isRequired,changePositionKey:c.PropTypes.string.isRequired,changeMonitorKey:c.PropTypes.string,fluid:c.PropTypes.bool,dispatch:c.PropTypes.func,monitorState:c.PropTypes.shape({position:c.PropTypes.oneOf(p.POSITIONS).isRequired,size:c.PropTypes.number.isRequired,isVisible:c.PropTypes.bool.isRequired,childMonitorState:c.PropTypes.any})},_.defaultProps={defaultIsVisible:!0,defaultPosition:"right",defaultSize:.3,fluid:!0},t.default=_},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.default=void 0;var o=n(1122),i=r(o);t.default=i.default},function(e,t,n){"use strict";function r(e){var t=arguments.length<=1||void 0===arguments[1]?e.defaultPosition:arguments[1],n=arguments[2];return n.type===c.CHANGE_POSITION?l.POSITIONS[(l.POSITIONS.indexOf(t)+1)%l.POSITIONS.length]:t}function o(e){var t=arguments.length<=1||void 0===arguments[1]?e.defaultSize:arguments[1],n=arguments[2];return n.type===c.CHANGE_SIZE?n.size:t}function i(e){var t=arguments.length<=1||void 0===arguments[1]?e.defaultIsVisible:arguments[1],n=arguments[2];return n.type===c.TOGGLE_VISIBILITY?!t:t}function a(e){var t=arguments.length<=1||void 0===arguments[1]?[]:arguments[1],n=arguments[2];return f.Children.map(e.children,function(e,r){return e.type.update(e.props,t[r],n)})}function s(e){var t=arguments.length<=1||void 0===arguments[1]?0:arguments[1],n=arguments[2];switch(n.type){case c.CHANGE_MONITOR:return(t+1)%f.Children.count(e.children);default:return t}}function u(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=arguments[2];return t.childMonitorStates||f.Children.forEach(e.children,function(e,t){"function"!=typeof e.type.update&&console.error("Child of <DockMonitor> with the index "+t+" "+("("+(e.type.displayName||e.type.name||e.type)+") ")+"does not appear to be a valid Redux DevTools monitor.")}),{position:r(e,t.position,n),isVisible:i(e,t.isVisible,n),size:o(e,t.size,n),childMonitorIndex:s(e,t.childMonitorIndex,n),childMonitorStates:a(e,t.childMonitorStates,n)}}t.__esModule=!0,t.default=u;var c=n(474),l=n(475),f=n(1)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=n(1),l=o(c),f=n(150),d=o(f),p=n(1134),h=r(p),v=n(201),y=n(477),g=n(1133),m=o(g),_=n(1127),b=o(_),w=n(1130),E=o(w),T=n(860),S=o(T),C=v.ActionCreators.toggleAction,x=v.ActionCreators.setActionsActive,O={container:{fontFamily:"monaco, Consolas, Lucida Console, monospace",position:"relative",overflowY:"hidden",width:"100%",height:"100%",minWidth:300,direction:"ltr"},elements:{position:"absolute",left:0,right:0,top:0,bottom:0,overflowX:"hidden",overflowY:"auto"}},k=function(e){function t(n){i(this,t);var r=a(this,e.call(this,n));return r.shouldComponentUpdate=d.default,r.updateScrollTop=(0,S.default)(function(){var e=r.node;r.props.dispatch((0,y.updateScrollTop)(e?e.scrollTop:0))},500),r.handleToggleAction=r.handleToggleAction.bind(r),r.handleToggleConsecutiveAction=r.handleToggleConsecutiveAction.bind(r),r.getRef=r.getRef.bind(r),r}return s(t,e),t.prototype.scroll=function(){var e=this.node;if(e&&this.scrollDown){var t=e.offsetHeight,n=e.scrollHeight;e.scrollTop=n-t,this.scrollDown=!1}},t.prototype.componentDidMount=function(){var e=this.node;e&&this.props.monitorState&&(this.props.preserveScrollTop?(e.scrollTop=this.props.monitorState.initialScrollTop,e.addEventListener("scroll",this.updateScrollTop)):(this.scrollDown=!0,this.scroll()))},t.prototype.componentWillUnmount=function(){var e=this.node;e&&this.props.preserveScrollTop&&e.removeEventListener("scroll",this.updateScrollTop)},t.prototype.componentWillReceiveProps=function(e){var t=this.node;if(t)if(this.props.stagedActionIds.length<e.stagedActionIds.length){var n=t.scrollTop,r=t.offsetHeight,o=t.scrollHeight;this.scrollDown=Math.abs(o-(n+r))<20}else this.scrollDown=!1;else this.scrollDown=!0},t.prototype.componentDidUpdate=function(){this.scroll()},t.prototype.handleToggleAction=function(e){this.props.dispatch(C(e))},t.prototype.handleToggleConsecutiveAction=function(e){var t=this.props,n=t.monitorState,r=t.actionsById,o=n.consecutiveToggleStartId;if(o&&r[o]){var i=this.props.skippedActionIds,a=Math.min(o,e),s=Math.max(o,e),u=i.indexOf(o)>-1;this.props.dispatch(x(a,s+1,u)),this.props.dispatch((0,y.startConsecutiveToggle)(null))}else e>0&&this.props.dispatch((0,y.startConsecutiveToggle)(e))},t.prototype.getTheme=function(){var e=this.props.theme;return"string"!=typeof e?e:"undefined"!=typeof h[e]?h[e]:(console.warn("DevTools theme "+e+" not found, defaulting to nicinabox"),h.nicinabox)},t.prototype.getRef=function(e){this.node=e},t.prototype.render=function(){var e=this.getTheme(),t=this.props.monitorState.consecutiveToggleStartId,n=this.props,r=n.dispatch,o=n.actionsById,i=n.skippedActionIds,a=n.stagedActionIds,s=n.computedStates,c=n.currentStateIndex,f=n.select,d=n.expandActionRoot,p=n.expandStateRoot,h=n.markStateDiff,v={theme:e,actionsById:o,skippedActionIds:i,stagedActionIds:a,computedStates:s,currentStateIndex:c,consecutiveToggleStartId:t,select:f,expandActionRoot:d,expandStateRoot:p,markStateDiff:h,onActionClick:this.handleToggleAction,onActionShiftClick:this.handleToggleConsecutiveAction};return l.default.createElement("div",{style:u({},O.container,{backgroundColor:e.base00})},!this.props.hideMainButtons&&l.default.createElement(b.default,{theme:e,dispatch:r,hasStates:s.length>1,hasSkippedActions:i.length>0}),l.default.createElement("div",{style:this.props.hideMainButtons?O.elements:u({},O.elements,{top:30}),ref:this.getRef},l.default.createElement(E.default,v)))},t}(c.Component);k.update=m.default,k.propTypes={dispatch:c.PropTypes.func,computedStates:c.PropTypes.array,actionsById:c.PropTypes.object,stagedActionIds:c.PropTypes.array,skippedActionIds:c.PropTypes.array,monitorState:c.PropTypes.shape({initialScrollTop:c.PropTypes.number,consecutiveToggleStartId:c.PropTypes.number}),preserveScrollTop:c.PropTypes.bool,select:c.PropTypes.func,theme:c.PropTypes.oneOfType([c.PropTypes.object,c.PropTypes.string]),expandActionRoot:c.PropTypes.bool,expandStateRoot:c.PropTypes.bool,markStateDiff:c.PropTypes.bool,hideMainButtons:c.PropTypes.bool},k.defaultProps={select:function(e){return e},theme:"nicinabox",preserveScrollTop:!0,expandActionRoot:!0,expandStateRoot:!0,markStateDiff:!1},t.default=k},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=n(1),c=r(u),l=n(1131),f=r(l),d=n(150),p=r(d),h={base:{cursor:"pointer",fontWeight:"bold",borderRadius:3,padding:4,marginLeft:3,marginRight:3,marginTop:5,marginBottom:5,flexGrow:1,display:"inline-block",fontSize:"0.8em",color:"white",textDecoration:"none"}},v=function(e){function t(n){o(this,t);var r=i(this,e.call(this,n));return r.shouldComponentUpdate=p.default,r.handleMouseEnter=r.handleMouseEnter.bind(r),r.handleMouseLeave=r.handleMouseLeave.bind(r),r.handleMouseDown=r.handleMouseDown.bind(r),r.handleMouseUp=r.handleMouseUp.bind(r),r.onClick=r.onClick.bind(r),r.state={hovered:!1,active:!1},r}return a(t,e),t.prototype.handleMouseEnter=function(){this.setState({hovered:!0})},t.prototype.handleMouseLeave=function(){this.setState({hovered:!1})},t.prototype.handleMouseDown=function(){this.setState({active:!0})},t.prototype.handleMouseUp=function(){this.setState({active:!1})},t.prototype.onClick=function(){this.props.enabled&&this.props.onClick&&this.props.onClick()},t.prototype.render=function(){var e=s({},h.base,{backgroundColor:this.props.theme.base02});return this.props.enabled&&this.state.hovered&&(e=s({},e,{backgroundColor:(0,f.default)(this.props.theme.base02,.2)})),this.props.enabled||(e=s({},e,{opacity:.2,cursor:"text",backgroundColor:"transparent"})),c.default.createElement("a",{onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,onClick:this.onClick,style:e},this.props.children)},t}(c.default.Component);t.default=v},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=n(1),c=r(u),l=n(150),f=r(l),d=n(201),p=n(1126),h=r(p),v=d.ActionCreators.reset,y=d.ActionCreators.rollback,g=d.ActionCreators.commit,m=d.ActionCreators.sweep,_={textAlign:"center",borderBottomWidth:1,borderBottomStyle:"solid",borderColor:"transparent",zIndex:1,display:"flex",flexDirection:"row"},b=function(e){function t(n){o(this,t);var r=i(this,e.call(this,n));return r.shouldComponentUpdate=f.default,r.handleReset=r.handleReset.bind(r),r.handleRollback=r.handleRollback.bind(r),r.handleSweep=r.handleSweep.bind(r),r.handleCommit=r.handleCommit.bind(r),r}return a(t,e),t.prototype.handleRollback=function(){this.props.dispatch(y())},t.prototype.handleSweep=function(){this.props.dispatch(m())},t.prototype.handleCommit=function(){this.props.dispatch(g())},t.prototype.handleReset=function(){this.props.dispatch(v())},t.prototype.render=function(){var e=this.props,t=e.theme,n=e.hasStates,r=e.hasSkippedActions;return c.default.createElement("div",{style:s({},_,{borderColor:t.base02})},c.default.createElement(h.default,{theme:t,onClick:this.handleReset,enabled:!0},"Reset"),c.default.createElement(h.default,{theme:t,onClick:this.handleRollback,enabled:n},"Revert"),c.default.createElement(h.default,{theme:t,onClick:this.handleSweep,enabled:r},"Sweep"),c.default.createElement(h.default,{theme:t,onClick:this.handleCommit,enabled:n},"Commit"))},t}(u.Component);b.propTypes={dispatch:u.PropTypes.func,theme:u.PropTypes.object},t.default=b},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=n(1),l=r(c),f=n(455),d=r(f),p=n(1129),h=r(p),v=n(150),y=r(v),g={entry:{display:"block",WebkitUserSelect:"none"},root:{marginLeft:0},changedData:{backgroundColor:"rgba(128, 128, 128, 0.3)"}},m=function(e,t){return t.reduce(function(e,t){return e&&e[t]},e)},_=function(e,t,n){var r=[].concat(n).reverse().slice(1);return m(e,r)===m(t,r)},b=function(e){function t(n){o(this,t);var r=i(this,e.call(this,n));return r.shouldComponentUpdate=y.default,r.handleActionClick=r.handleActionClick.bind(r),r.shouldExpandNode=r.shouldExpandNode.bind(r),r}return a(t,e),t.prototype.printState=function(e,t){var n=this,r=t;if(!r)try{var o=function(){var t=n.props.select(e),r=n.props.theme;return n.props.markStateDiff&&!function(){var e="undefined"!=typeof n.props.previousState?n.props.select(n.props.previousState):void 0,o=function(n,r,o){var i=n.style;return{style:u({},i,_(t,e,o)?{}:g.changedData)}},i=function(e,t){var n=e.style;return{style:u({},n,t.length>1?{}:g.root)}};r={extend:n.props.theme,tree:g.tree,value:o,nestedNode:i}}(),{v:l.default.createElement(d.default,{theme:r,data:t,invertTheme:!1,keyPath:["state"],shouldExpandNode:n.shouldExpandNode})}}();if("object"===("undefined"==typeof o?"undefined":s(o)))return o.v}catch(e){r="Error selecting state."}return l.default.createElement("div",{style:{color:this.props.theme.base08,paddingTop:20,paddingLeft:30,paddingRight:30,paddingBottom:35}},r)},t.prototype.handleActionClick=function(e){var t=this.props,n=t.actionId,r=t.onActionClick,o=t.onActionShiftClick;n>0&&(e.shiftKey?o(n):r(n))},t.prototype.shouldExpandNode=function(e,t,n){return this.props.expandStateRoot&&0===n},t.prototype.render=function(){var e=this.props,t=e.actionId,n=e.error,r=e.action,o=e.state,i=e.collapsed,a=e.selected,s=e.inFuture,c={opacity:i?.5:1,cursor:t>0?"pointer":"default"};return l.default.createElement("div",{style:{opacity:a?.4:s?.6:1,textDecoration:i?"line-through":"none",color:this.props.theme.base06}},l.default.createElement(h.default,{theme:this.props.theme,collapsed:i,action:r,expandActionRoot:this.props.expandActionRoot,onClick:this.handleActionClick,style:u({},g.entry,c)}),!i&&l.default.createElement("div",{style:{paddingLeft:16}},this.printState(o,n)))},t}(c.Component);b.propTypes={state:c.PropTypes.object.isRequired,action:c.PropTypes.object.isRequired,actionId:c.PropTypes.number.isRequired,select:c.PropTypes.func.isRequired,inFuture:c.PropTypes.bool,error:c.PropTypes.string,onActionClick:c.PropTypes.func.isRequired,onActionShiftClick:c.PropTypes.func.isRequired,collapsed:c.PropTypes.bool,selected:c.PropTypes.bool,expandActionRoot:c.PropTypes.bool,expandStateRoot:c.PropTypes.bool},t.default=b},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=n(1),l=r(c),f=n(455),d=r(f),p={actionBar:{paddingTop:8,paddingBottom:7,paddingLeft:16},payload:{margin:0,paddingLeft:16,overflow:"auto"}},h=function(e){function t(n){i(this,t);var r=a(this,e.call(this,n));return r.shouldExpandNode=r.shouldExpandNode.bind(r),r}return s(t,e),t.prototype.renderPayload=function(e){return l.default.createElement("div",{style:u({},p.payload,{backgroundColor:this.props.theme.base00})},Object.keys(e).length>0?l.default.createElement(d.default,{theme:this.props.theme,invertTheme:!1,keyPath:["action"],data:e,shouldExpandNode:this.shouldExpandNode}):"")},t.prototype.shouldExpandNode=function(e,t,n){return this.props.expandActionRoot&&0===n},t.prototype.render=function(){var e=this.props.action,t=e.type,n=o(e,["type"]);return l.default.createElement("div",{style:u({backgroundColor:this.props.theme.base02,color:this.props.theme.base06},this.props.style)},l.default.createElement("div",{style:p.actionBar,onClick:this.props.onClick},null!==t&&t.toString()),this.props.collapsed?"":this.renderPayload(n))},t}(c.Component);t.default=h},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(1),u=r(s),c=n(1128),l=r(c),f=n(150),d=r(f),p=function(e){function t(){var n,r,a;o(this,t);for(var s=arguments.length,u=Array(s),c=0;c<s;c++)u[c]=arguments[c];return n=r=i(this,e.call.apply(e,[this].concat(u))),r.shouldComponentUpdate=d.default,a=n,i(r,a)}return a(t,e),t.prototype.render=function(){for(var e=[],t=this.props,n=t.theme,r=t.actionsById,o=t.computedStates,i=t.currentStateIndex,a=t.consecutiveToggleStartId,s=t.select,c=t.skippedActionIds,f=t.stagedActionIds,d=t.expandActionRoot,p=t.expandStateRoot,h=t.markStateDiff,v=t.onActionClick,y=t.onActionShiftClick,g=0;g<f.length;g++){var m=f[g],_=r[m].action,b=o[g],w=b.state,E=b.error,T=void 0;g>0&&(T=o[g-1].state),e.push(u.default.createElement(l.default,{key:m,theme:n,select:s,action:_,actionId:m,state:w,previousState:T,collapsed:c.indexOf(m)>-1,inFuture:g>i,selected:a===g,error:E,expandActionRoot:d,expandStateRoot:p,markStateDiff:h,onActionClick:v,onActionShiftClick:y}))}return u.default.createElement("div",null,e)},t}(s.Component);p.propTypes={actionsById:s.PropTypes.object,computedStates:s.PropTypes.array,stagedActionIds:s.PropTypes.array,skippedActionIds:s.PropTypes.array,currentStateIndex:s.PropTypes.number,consecutiveToggleStartId:s.PropTypes.number,select:s.PropTypes.func.isRequired,onActionClick:s.PropTypes.func.isRequired,theme:s.PropTypes.oneOfType([s.PropTypes.object,s.PropTypes.string]),expandActionRoot:s.PropTypes.bool,expandStateRoot:s.PropTypes.bool},t.default=p},function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){var n=String(e).replace(/[^0-9a-f]/gi,"");n.length<6&&(n=n.replace(/(.)/g,"$1$1"));for(var r=t||0,o="#",i=void 0,a=0;a<3;++a)i=parseInt(n.substr(2*a,2),16),i=Math.round(Math.min(Math.max(0,i+i*r),255)).toString(16),o+=("00"+i).substr(i.length);return o}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.default=void 0;var o=n(1125),i=r(o);t.default=i.default},function(e,t,n){"use strict";function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments[2];return e.preserveScrollTop?n.type===a.UPDATE_SCROLL_TOP?n.scrollTop:t:0}function o(e,t,n){return n.type===a.START_CONSECUTIVE_TOGGLE?n.id:t}function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];return{initialScrollTop:r(e,t.initialScrollTop,n),consecutiveToggleStartId:o(e,t.consecutiveToggleStartId,n)}}t.__esModule=!0,t.default=i;var a=n(477)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e.default:e}function o(e,t){var n=t({},e);return delete n.default,n}function i(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r<n.length;r++){var o=n[r],i=Object.getOwnPropertyDescriptor(t,o);i&&i.configurable&&void 0===e[o]&&Object.defineProperty(e,o,i)}return e}t.__esModule=!0;var a=n(344);i(t,o(a,i));var s=n(1135);t.nicinabox=r(s)},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"nicinabox",author:"nicinabox (http://github.com/nicinabox)",base00:"#2A2F3A",base01:"#3C444F",base02:"#4F5A65",base03:"#BEBEBE",base04:"#b0b0b0",base05:"#d0d0d0",base06:"#FFFFFF",base07:"#f5f5f5",base08:"#fb9fb1",base09:"#FC6D24",base0A:"#ddb26f",base0B:"#A1C659",base0C:"#12cfc0",base0D:"#6FB3D2",base0E:"#D381C3",base0F:"#deaf8f"},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t,n,r=c.Children.only(e),s=r.props,d=r.type,h=(0,f.connect)(function(e){return e})(d);return n=t=function(e){function t(n,r){o(this,t);var a=i(this,e.call(this,n,r));return n.store||r.store?(r.store?a.liftedStore=r.store.liftedStore:a.liftedStore=n.store.liftedStore,a.liftedStore||console.error("Redux DevTools could not render. Did you forget to include DevTools.instrument() in your store enhancer chain before using createStore()?"),a):(console.error('Redux DevTools could not render. You must pass the Redux store to <DevTools> either as a "store" prop or by wrapping it in a <Provider store={store}>.'),i(a))}return a(t,e),t.prototype.render=function(){return this.liftedStore?l.default.createElement(h,u({},s,{store:this.liftedStore})):null},t}(c.Component),t.contextTypes={store:c.PropTypes.object},t.propTypes={store:c.PropTypes.object},t.instrument=function(e){return(0,p.default)(function(e,t){return d.update(s,e,t)},e)},n}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=s;var c=n(1),l=r(c),f=n(36),d=n(476),p=r(d)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){function t(e){return i({},e,{actionsById:(0,s.default)(e.actionsById,function(e){return i({},e,{action:r(e.action)})}),committedState:n(e.committedState),computedStates:e.computedStates.map(function(e){return i({},e,{state:n(e.state)})})})}var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.default,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c.default;return e?function(n){return function(r,o,a){var s="redux-dev-session-"+e,u=void 0;try{var c=localStorage.getItem(s);c&&(u=t(JSON.parse(c))||o,n(r,o))}catch(e){console.warn("Could not read debug session from localStorage:",e);try{localStorage.removeItem(s)}finally{u=void 0}}var l=n(r,u,a);return i({},l,{dispatch:function(e){l.dispatch(e);try{localStorage.setItem(s,JSON.stringify(l.getState()))}catch(e){console.warn("Could not write debug session to localStorage:",e)}return e}})}}:function(e){return function(){return e.apply(void 0,arguments)}}}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=o;var a=n(955),s=r(a),u=n(191),c=r(u)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(n,r,o){var a=e(n,r,o),u=a.dispatch,c=[],l={getState:a.getState,dispatch:function(e){return u(e)}};return c=t.map(function(e){return e(l)}),u=s.default.apply(void 0,c)(a.dispatch),i({},a,{dispatch:u})}}}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=o;var a=n(478),s=r(a)},function(e,t){"use strict";function n(e,t){return function(){return t(e.apply(void 0,arguments))}}function r(e,t){if("function"==typeof e)return n(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');for(var r=Object.keys(e),o={},i=0;i<r.length;i++){var a=r[i],s=e[a];"function"==typeof s&&(o[a]=n(s,t))}return o}t.__esModule=!0,t.default=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=t&&t.type,r=n&&'"'+n.toString()+'"'||"an action";return"Given action "+r+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state.'}function i(e){Object.keys(e).forEach(function(t){var n=e[t],r=n(void 0,{type:s.ActionTypes.INIT});if("undefined"==typeof r)throw new Error('Reducer "'+t+'" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined.');
+var o="@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".");if("undefined"==typeof n(void 0,{type:o}))throw new Error('Reducer "'+t+'" returned undefined when probed with a random type. '+("Don't try to handle "+s.ActionTypes.INIT+' or other actions in "redux/*" ')+"namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined.")})}function a(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var a=t[r];"function"==typeof e[a]&&(n[a]=e[a])}var s,u=Object.keys(n);try{i(n)}catch(e){s=e}return function(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],t=arguments[1];if(s)throw s;for(var r=!1,i={},a=0;a<u.length;a++){var c=u[a],l=n[c],f=e[c],d=l(f,t);if("undefined"==typeof d){var p=o(c,t);throw new Error(p)}i[c]=d,r=r||d!==f}return r?i:e}}t.__esModule=!0,t.default=a;var s=n(312),u=n(63),c=(r(u),n(479));r(c)},function(e,t,n){(function(t,n){!function(t){"use strict";function r(e,t,n,r){var o=t&&t.prototype instanceof i?t:i,a=Object.create(o.prototype),s=new h(r||[]);return a._invoke=l(e,n,s),a}function o(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function i(){}function a(){}function s(){}function u(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function c(e){function t(n,r,i,a){var s=o(e[n],e,r);if("throw"!==s.type){var u=s.arg,c=u.value;return c&&"object"==typeof c&&_.call(c,"__await")?Promise.resolve(c.__await).then(function(e){t("next",e,i,a)},function(e){t("throw",e,i,a)}):Promise.resolve(c).then(function(e){u.value=e,i(u)},a)}a(s.arg)}function r(e,n){function r(){return new Promise(function(r,o){t(e,n,r,o)})}return i=i?i.then(r,r):r()}"object"==typeof n&&n.domain&&(t=n.domain.bind(t));var i;this._invoke=r}function l(e,t,n){var r=C;return function(i,a){if(r===O)throw new Error("Generator is already running");if(r===k){if("throw"===i)throw a;return y()}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var u=f(s,n);if(u){if(u===M)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===C)throw r=k,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=O;var c=o(e,t,n);if("normal"===c.type){if(r=n.done?k:x,c.arg===M)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=k,n.method="throw",n.arg=c.arg)}}}function f(e,t){var n=e.iterator[t.method];if(n===g){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=g,f(e,t),"throw"===t.method))return M;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return M}var r=o(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,M;var i=r.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=g),t.delegate=null,M):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,M)}function d(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function p(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function h(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(d,this),this.reset(!0)}function v(e){if(e){var t=e[w];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(_.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=g,t.done=!0,t};return r.next=r}}return{next:y}}function y(){return{value:g,done:!0}}var g,m=Object.prototype,_=m.hasOwnProperty,b="function"==typeof Symbol?Symbol:{},w=b.iterator||"@@iterator",E=b.toStringTag||"@@toStringTag",T="object"==typeof e,S=t.regeneratorRuntime;if(S)return void(T&&(e.exports=S));S=t.regeneratorRuntime=T?e.exports:{},S.wrap=r;var C="suspendedStart",x="suspendedYield",O="executing",k="completed",M={},P={};P[w]=function(){return this};var A=Object.getPrototypeOf,I=A&&A(A(v([])));I&&I!==m&&_.call(I,w)&&(P=I);var j=s.prototype=i.prototype=Object.create(P);a.prototype=j.constructor=s,s.constructor=a,s[E]=a.displayName="GeneratorFunction",S.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===a||"GeneratorFunction"===(t.displayName||t.name))},S.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,E in e||(e[E]="GeneratorFunction")),e.prototype=Object.create(j),e},S.awrap=function(e){return{__await:e}},u(c.prototype),S.AsyncIterator=c,S.async=function(e,t,n,o){var i=new c(r(e,t,n,o));return S.isGeneratorFunction(t)?i:i.next().then(function(e){return e.done?e.value:i.next()})},u(j),j[E]="Generator",j.toString=function(){return"[object Generator]"},S.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},S.values=v,h.prototype={constructor:h,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=g,this.done=!1,this.delegate=null,this.method="next",this.arg=g,this.tryEntries.forEach(p),!e)for(var t in this)"t"===t.charAt(0)&&_.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=g)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){function t(t,r){return i.type="throw",i.arg=e,n.next=t,r&&(n.method="next",n.arg=g),!!r}if(this.done)throw e;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],i=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var a=_.call(o,"catchLoc"),s=_.call(o,"finallyLoc");if(a&&s){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&_.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,M):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),M},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),p(n),M}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;p(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:v(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=g),M}}}("object"==typeof t?t:"object"==typeof window?window:"object"==typeof self?self:this)}).call(t,function(){return this}(),n(160))},function(e,t){function n(e,t){var n,r=null;try{n=JSON.parse(e,t)}catch(e){r=e}return[r,n]}e.exports=n},function(e,t){"use strict";e.exports=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}},function(e,t,n){function r(e){var t=o(e)?Object.prototype.toString.call(e):"";return"[object Function]"===t}var o=n(315);e.exports=r},function(e,t,n){function r(e){if(e)return o(e)}function o(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}var i=n(315);e.exports=r,r.prototype.clearTimeout=function(){return clearTimeout(this._timer),clearTimeout(this._responseTimeoutTimer),delete this._timer,delete this._responseTimeoutTimer,this},r.prototype.parse=function(e){return this._parser=e,this},r.prototype.responseType=function(e){return this._responseType=e,this},r.prototype.serialize=function(e){return this._serializer=e,this},r.prototype.timeout=function(e){return e&&"object"==typeof e?("undefined"!=typeof e.deadline&&(this._timeout=e.deadline),"undefined"!=typeof e.response&&(this._responseTimeout=e.response),this):(this._timeout=e,this._responseTimeout=0,this)},r.prototype.retry=function(e){return 0!==arguments.length&&e!==!0||(e=1),e<=0&&(e=0),this._maxRetries=e,this._retries=0,this},r.prototype._retry=function(){return this.clearTimeout(),this.req&&(this.req=null,this.req=this.request()),this._aborted=!1,this.timedout=!1,this._end()},r.prototype.then=function(e,t){if(!this._fullfilledPromise){var n=this;this._endCalled&&console.warn("Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises"),this._fullfilledPromise=new Promise(function(e,t){n.end(function(n,r){n?t(n):e(r)})})}return this._fullfilledPromise.then(e,t)},r.prototype.catch=function(e){return this.then(void 0,e)},r.prototype.use=function(e){return e(this),this},r.prototype.ok=function(e){if("function"!=typeof e)throw Error("Callback required");return this._okCallback=e,this},r.prototype._isResponseOK=function(e){return!!e&&(this._okCallback?this._okCallback(e):e.status>=200&&e.status<300)},r.prototype.get=function(e){return this._header[e.toLowerCase()]},r.prototype.getHeader=r.prototype.get,r.prototype.set=function(e,t){if(i(e)){for(var n in e)this.set(n,e[n]);return this}return this._header[e.toLowerCase()]=t,this.header[e]=t,this},r.prototype.unset=function(e){return delete this._header[e.toLowerCase()],delete this.header[e],this},r.prototype.field=function(e,t){if(null===e||void 0===e)throw new Error(".field(name, val) name can not be empty");if(this._data&&console.error(".field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()"),i(e)){for(var n in e)this.field(n,e[n]);return this}if(Array.isArray(t)){for(var r in t)this.field(e,t[r]);return this}if(null===t||void 0===t)throw new Error(".field(name, val) val can not be empty");return"boolean"==typeof t&&(t=""+t),this._getFormData().append(e,t),this},r.prototype.abort=function(){return this._aborted?this:(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req&&this.req.abort(),this.clearTimeout(),this.emit("abort"),this)},r.prototype.withCredentials=function(){return this._withCredentials=!0,this},r.prototype.redirects=function(e){return this._maxRedirects=e,this},r.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},r.prototype.send=function(e){var t=i(e),n=this._header["content-type"];if(this._formData&&console.error(".send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()"),t&&!this._data)Array.isArray(e)?this._data=[]:this._isHost(e)||(this._data={});else if(e&&this._data&&this._isHost(this._data))throw Error("Can't merge these send calls");if(t&&i(this._data))for(var r in e)this._data[r]=e[r];else"string"==typeof e?(n||this.type("form"),n=this._header["content-type"],"application/x-www-form-urlencoded"==n?this._data=this._data?this._data+"&"+e:e:this._data=(this._data||"")+e):this._data=e;return!t||this._isHost(e)?this:(n||this.type("json"),this)},r.prototype.sortQuery=function(e){return this._sort="undefined"==typeof e||e,this},r.prototype._timeoutError=function(e,t){if(!this._aborted){var n=new Error(e+t+"ms exceeded");n.timeout=t,n.code="ECONNABORTED",this.timedout=!0,this.abort(),this.callback(n)}},r.prototype._setTimeouts=function(){var e=this;this._timeout&&!this._timer&&(this._timer=setTimeout(function(){e._timeoutError("Timeout of ",e._timeout)},this._timeout)),this._responseTimeout&&!this._responseTimeoutTimer&&(this._responseTimeoutTimer=setTimeout(function(){e._timeoutError("Response timeout of ",e._responseTimeout)},this._responseTimeout))}},function(e,t,n){function r(e){if(e)return o(e)}function o(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}var i=n(1148);e.exports=r,r.prototype.get=function(e){return this.header[e.toLowerCase()]},r.prototype._setHeaderProperties=function(e){var t=e["content-type"]||"";this.type=i.type(t);var n=i.params(t);for(var r in n)this[r]=n[r];this.links={};try{e.link&&(this.links=i.parseLinks(e.link))}catch(e){}},r.prototype._setStatusProperties=function(e){var t=e/100|0;this.status=this.statusCode=e,this.statusType=t,this.info=1==t,this.ok=2==t,this.redirect=3==t,this.clientError=4==t,this.serverError=5==t,this.error=(4==t||5==t)&&this.toError(),this.accepted=202==e,this.noContent=204==e,this.badRequest=400==e,this.unauthorized=401==e,this.notAcceptable=406==e,this.forbidden=403==e,this.notFound=404==e}},function(e,t){var n=["ECONNRESET","ETIMEDOUT","EADDRINFO","ESOCKETTIMEDOUT"];e.exports=function(e,t){return!!(e&&e.code&&~n.indexOf(e.code))||(!!(t&&t.status&&t.status>=500)||!!(e&&"timeout"in e&&"ECONNABORTED"==e.code))}},function(e,t){t.type=function(e){return e.split(/ *; */).shift()},t.params=function(e){return e.split(/ *; */).reduce(function(e,t){var n=t.split(/ *= */),r=n.shift(),o=n.shift();return r&&o&&(e[r]=o),e},{})},t.parseLinks=function(e){return e.split(/ *, */).reduce(function(e,t){var n=t.split(/ *; */),r=n[0].slice(1,-1),o=n[1].split(/ *= */)[1].slice(1,-1);return e[o]=r,e},{})},t.cleanHeader=function(e,t){return delete e["content-type"],delete e["content-length"],delete e["transfer-encoding"],delete e.host,t&&delete e.cookie,e}},function(e,t,n){(function(e,r){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i,a=n(1150),s=o(a);i="undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof e?e:r;var u=(0,s.default)(i);t.default=u}).call(t,function(){return this}(),n(206)(e))},function(e,t){"use strict";function n(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n},function(e,t){function n(e){return e.replace(/^\s*|\s*$/g,"")}t=e.exports=n,t.left=function(e){return e.replace(/^\s*/,"")},t.right=function(e){return e.replace(/\s*$/,"")}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(152),u=r(s),c=n(8),l=r(c),f=function(e){function t(){return o(this,t),i(this,e.apply(this,arguments))}return a(t,e),t.prototype.buildCSSClass=function(){return"vjs-big-play-button"},t.prototype.handleClick=function(e){this.player_.play();var t=this.player_.getChild("controlBar"),n=t&&t.getChild("playToggle");return n?void this.setTimeout(function(){n.focus()},1):void this.player_.focus()},t}(u.default);f.prototype.controlText_="Play Video",l.default.registerComponent("BigPlayButton",f),t.default=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(152),u=r(s),c=n(8),l=r(c),f=function(e){function t(n,r){o(this,t);var a=i(this,e.call(this,n,r));return a.controlText(r&&r.controlText||a.localize("Close")),a}return a(t,e),t.prototype.buildCSSClass=function(){return"vjs-close-button "+e.prototype.buildCSSClass.call(this)},t.prototype.handleClick=function(e){this.trigger({type:"close",bubbles:!1})},t}(u.default);l.default.registerComponent("CloseButton",f),t.default=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(483),u=r(s),c=n(8),l=r(c),f=n(1155),d=r(f),p=function(e){function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o(this,t),r.tracks=n.audioTracks&&n.audioTracks();var a=i(this,e.call(this,n,r));return a.el_.setAttribute("aria-label","Audio Menu"),a}return a(t,e),t.prototype.buildCSSClass=function(){return"vjs-audio-button "+e.prototype.buildCSSClass.call(this)},t.prototype.createItems=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.hideThreshold_=1;var t=this.player_.audioTracks&&this.player_.audioTracks();if(!t)return e;for(var n=0;n<t.length;n++){var r=t[n];e.push(new d.default(this.player_,{track:r,selectable:!0}))}return e},t}(u.default);p.prototype.controlText_="Audio Track",l.default.registerComponent("AudioTrackButton",p),t.default=p},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(204),c=o(u),l=n(8),f=o(l),d=n(19),p=r(d),h=function(e){function t(n,r){i(this,t);var o=r.track,s=n.audioTracks();r.label=o.label||o.language||"Unknown",r.selected=o.enabled;var u=a(this,e.call(this,n,r));if(u.track=o,s){var c=p.bind(u,u.handleTracksChange);s.addEventListener("change",c),u.on("dispose",function(){s.removeEventListener("change",c)})}return u}return s(t,e),t.prototype.handleClick=function(t){var n=this.player_.audioTracks();if(e.prototype.handleClick.call(this,t),n)for(var r=0;r<n.length;r++){var o=n[r];o.enabled=o===this.track}},t.prototype.handleTracksChange=function(e){this.selected(this.track.enabled)},t}(c.default);f.default.registerComponent("AudioTrackMenuItem",h),t.default=h},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(8),u=r(s);n(1159),n(1177),n(1178),n(1180),n(1179),n(1158),n(1165),n(1157),n(1181),n(1183),n(482),n(1172),n(1174),n(1176),n(1171),n(1154),n(1160),n(1168);var c=function(e){function t(){return o(this,t),i(this,e.apply(this,arguments))}return a(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-control-bar",dir:"ltr"},{role:"group"})},t}(u.default);c.prototype.options_={children:["playToggle","volumeMenuButton","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subtitlesButton","captionsButton","audioTrackButton","fullscreenToggle"]},u.default.registerComponent("ControlBar",c),t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(152),u=r(s),c=n(8),l=r(c),f=function(e){function t(n,r){o(this,t);var a=i(this,e.call(this,n,r));return a.on(n,"fullscreenchange",a.handleFullscreenChange),a}return a(t,e),t.prototype.buildCSSClass=function(){return"vjs-fullscreen-control "+e.prototype.buildCSSClass.call(this)},t.prototype.handleFullscreenChange=function(e){this.player_.isFullscreen()?this.controlText("Non-Fullscreen"):this.controlText("Fullscreen")},t.prototype.handleClick=function(e){this.player_.isFullscreen()?this.player_.exitFullscreen():this.player_.requestFullscreen()},t}(u.default);f.prototype.controlText_="Fullscreen",l.default.registerComponent("FullscreenToggle",f),t.default=f},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(8),c=o(u),l=n(23),f=r(l),d=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.updateShowing(),o.on(o.player(),"durationchange",o.updateShowing),o}return s(t,e),t.prototype.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-live-control vjs-control"});return this.contentEl_=f.createEl("div",{className:"vjs-live-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Stream Type")+"</span>"+this.localize("LIVE")},{"aria-live":"off"}),t.appendChild(this.contentEl_),t},t.prototype.updateShowing=function(e){this.player().duration()===1/0?this.show():this.hide()},t}(c.default);c.default.registerComponent("LiveDisplay",d),t.default=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(152),u=r(s),c=n(8),l=r(c),f=function(e){function t(n,r){o(this,t);var a=i(this,e.call(this,n,r));return a.on(n,"play",a.handlePlay),a.on(n,"pause",a.handlePause),a}return a(t,e),t.prototype.buildCSSClass=function(){return"vjs-play-control "+e.prototype.buildCSSClass.call(this)},t.prototype.handleClick=function(e){this.player_.paused()?this.player_.play():this.player_.pause()},t.prototype.handlePlay=function(e){this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.controlText("Pause")},t.prototype.handlePause=function(e){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.controlText("Play")},t}(u.default);f.prototype.controlText_="Play",l.default.registerComponent("PlayToggle",f),t.default=f},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(486),c=o(u),l=n(487),f=o(l),d=n(1161),p=o(d),h=n(8),v=o(h),y=n(23),g=r(y),m=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.updateVisibility(),o.updateLabel(),o.on(n,"loadstart",o.updateVisibility),o.on(n,"ratechange",o.updateLabel),o}return s(t,e),t.prototype.createEl=function(){var t=e.prototype.createEl.call(this);return this.labelEl_=g.createEl("div",{className:"vjs-playback-rate-value",innerHTML:1}),t.appendChild(this.labelEl_),t},t.prototype.buildCSSClass=function(){return"vjs-playback-rate "+e.prototype.buildCSSClass.call(this)},t.prototype.createMenu=function(){var e=new f.default(this.player()),t=this.playbackRates();if(t)for(var n=t.length-1;n>=0;n--)e.addChild(new p.default(this.player(),{rate:t[n]+"x"}));return e},t.prototype.updateARIAAttributes=function(){this.el().setAttribute("aria-valuenow",this.player().playbackRate())},t.prototype.handleClick=function(e){for(var t=this.player().playbackRate(),n=this.playbackRates(),r=n[0],o=0;o<n.length;o++)if(n[o]>t){r=n[o];break}this.player().playbackRate(r)},t.prototype.playbackRates=function(){return this.options_.playbackRates||this.options_.playerOptions&&this.options_.playerOptions.playbackRates},t.prototype.playbackRateSupported=function(){return this.player().tech_&&this.player().tech_.featuresPlaybackRate&&this.playbackRates()&&this.playbackRates().length>0},t.prototype.updateVisibility=function(e){this.playbackRateSupported()?this.removeClass("vjs-hidden"):this.addClass("vjs-hidden")},t.prototype.updateLabel=function(e){this.playbackRateSupported()&&(this.labelEl_.innerHTML=this.player().playbackRate()+"x")},t}(c.default);m.prototype.controlText_="Playback Rate",v.default.registerComponent("PlaybackRateMenuButton",m),t.default=m},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(204),u=r(s),c=n(8),l=r(c),f=function(e){function t(n,r){o(this,t);var a=r.rate,s=parseFloat(a,10);r.label=a,r.selected=1===s,r.selectable=!0;var u=i(this,e.call(this,n,r));return u.label=a,u.rate=s,u.on(n,"ratechange",u.update),u}return a(t,e),t.prototype.handleClick=function(t){e.prototype.handleClick.call(this),this.player().playbackRate(this.rate)},t.prototype.update=function(e){this.selected(this.player().playbackRate()===this.rate)},t}(u.default);f.prototype.contentElType="button",l.default.registerComponent("PlaybackRateMenuItem",f),t.default=f},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(8),c=o(u),l=n(23),f=r(l),d=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.partEls_=[],o.on(n,"progress",o.update),o}return s(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-load-progress",innerHTML:'<span class="vjs-control-text"><span>'+this.localize("Loaded")+"</span>: 0%</span>"})},t.prototype.update=function(e){var t=this.player_.buffered(),n=this.player_.duration(),r=this.player_.bufferedEnd(),o=this.partEls_,i=function(e,t){var n=e/t||0;return 100*(n>=1?1:n)+"%"};this.el_.style.width=i(r,n);for(var a=0;a<t.length;a++){var s=t.start(a),u=t.end(a),c=o[a];c||(c=this.el_.appendChild(f.createEl()),o[a]=c),c.style.left=i(s,r),c.style.width=i(u-s,r)}for(var l=o.length;l>t.length;l--)this.el_.removeChild(o[l-1]);o.length=t.length},t}(c.default);c.default.registerComponent("LoadProgressBar",d),t.default=d},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(8),c=o(u),l=n(23),f=r(l),d=n(19),p=r(d),h=n(84),v=o(h),y=n(321),g=o(y),m=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return r.playerOptions&&r.playerOptions.controlBar&&r.playerOptions.controlBar.progressControl&&r.playerOptions.controlBar.progressControl.keepTooltipsInside&&(o.keepTooltipsInside=r.playerOptions.controlBar.progressControl.keepTooltipsInside),
+o.keepTooltipsInside&&(o.tooltip=f.createEl("div",{className:"vjs-time-tooltip"}),o.el().appendChild(o.tooltip),o.addClass("vjs-keep-tooltips-inside")),o.update(0,0),n.on("ready",function(){o.on(n.controlBar.progressControl.el(),"mousemove",p.throttle(p.bind(o,o.handleMouseMove),25))}),o}return s(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},t.prototype.handleMouseMove=function(e){var t=this.player_.duration(),n=this.calculateDistance(e)*t,r=e.pageX-f.findElPosition(this.el().parentNode).left;this.update(n,r)},t.prototype.update=function(e,t){var n=(0,v.default)(e,this.player_.duration());if(this.el().style.left=t+"px",this.el().setAttribute("data-current-time",n),this.keepTooltipsInside){var r=this.clampPosition_(t),o=t-r+1,i=parseFloat((0,g.default)(this.tooltip,"width")),a=i/2;this.tooltip.innerHTML=n,this.tooltip.style.right="-"+(a-o)+"px"}},t.prototype.calculateDistance=function(e){return f.getPointerPosition(this.el().parentNode,e).x},t.prototype.clampPosition_=function(e){if(!this.keepTooltipsInside)return e;var t=parseFloat((0,g.default)(this.player().el(),"width")),n=parseFloat((0,g.default)(this.tooltip,"width")),r=n/2,o=e;return e<r?o=Math.ceil(r):e>t-r&&(o=Math.floor(t-r)),o},t}(c.default);c.default.registerComponent("MouseTimeDisplay",m),t.default=m},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(8),c=o(u),l=n(19),f=r(l),d=n(84),p=o(d),h=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.updateDataAttr(),o.on(n,"timeupdate",o.updateDataAttr),n.ready(f.bind(o,o.updateDataAttr)),r.playerOptions&&r.playerOptions.controlBar&&r.playerOptions.controlBar.progressControl&&r.playerOptions.controlBar.progressControl.keepTooltipsInside&&(o.keepTooltipsInside=r.playerOptions.controlBar.progressControl.keepTooltipsInside),o.keepTooltipsInside&&o.addClass("vjs-keep-tooltips-inside"),o}return s(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-play-progress vjs-slider-bar",innerHTML:'<span class="vjs-control-text"><span>'+this.localize("Progress")+"</span>: 0%</span>"})},t.prototype.updateDataAttr=function(e){var t=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();this.el_.setAttribute("data-current-time",(0,p.default)(t,this.player_.duration()))},t}(c.default);c.default.registerComponent("PlayProgressBar",h),t.default=h},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(8),u=r(s);n(1166),n(1163);var c=function(e){function t(){return o(this,t),i(this,e.apply(this,arguments))}return a(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-progress-control vjs-control"})},t}(u.default);c.prototype.options_={children:["seekBar"]},u.default.registerComponent("ProgressControl",c),t.default=c},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(490),c=o(u),l=n(8),f=o(l),d=n(19),p=r(d),h=n(84),v=o(h),y=n(321),g=o(y);n(1162),n(1164),n(1167);var m=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.on(n,"timeupdate",o.updateProgress),o.on(n,"ended",o.updateProgress),n.ready(p.bind(o,o.updateProgress)),r.playerOptions&&r.playerOptions.controlBar&&r.playerOptions.controlBar.progressControl&&r.playerOptions.controlBar.progressControl.keepTooltipsInside&&(o.keepTooltipsInside=r.playerOptions.controlBar.progressControl.keepTooltipsInside),o.keepTooltipsInside&&(o.tooltipProgressBar=o.addChild("TooltipProgressBar")),o}return s(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-progress-holder"},{"aria-label":"progress bar"})},t.prototype.updateProgress=function(e){if(this.updateAriaAttributes(this.el_),this.keepTooltipsInside){this.updateAriaAttributes(this.tooltipProgressBar.el_),this.tooltipProgressBar.el_.style.width=this.bar.el_.style.width;var t=parseFloat((0,g.default)(this.player().el(),"width")),n=parseFloat((0,g.default)(this.tooltipProgressBar.tooltip,"width")),r=this.tooltipProgressBar.el().style;r.maxWidth=Math.floor(t-n/2)+"px",r.minWidth=Math.ceil(n/2)+"px",r.right="-"+n/2+"px"}},t.prototype.updateAriaAttributes=function(e){var t=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();e.setAttribute("aria-valuenow",(100*this.getPercent()).toFixed(2)),e.setAttribute("aria-valuetext",(0,v.default)(t,this.player_.duration()))},t.prototype.getPercent=function(){var e=this.player_.currentTime()/this.player_.duration();return e>=1?1:e},t.prototype.handleMouseDown=function(t){this.player_.scrubbing(!0),this.videoWasPlaying=!this.player_.paused(),this.player_.pause(),e.prototype.handleMouseDown.call(this,t)},t.prototype.handleMouseMove=function(e){var t=this.calculateDistance(e)*this.player_.duration();t===this.player_.duration()&&(t-=.1),this.player_.currentTime(t)},t.prototype.handleMouseUp=function(t){e.prototype.handleMouseUp.call(this,t),this.player_.scrubbing(!1),this.videoWasPlaying&&this.player_.play()},t.prototype.stepForward=function(){this.player_.currentTime(this.player_.currentTime()+5)},t.prototype.stepBack=function(){this.player_.currentTime(this.player_.currentTime()-5)},t}(c.default);m.prototype.options_={children:["loadProgressBar","mouseTimeDisplay","playProgressBar"],barName:"playProgressBar"},m.prototype.playerEvent="timeupdate",f.default.registerComponent("SeekBar",m),t.default=m},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(8),c=o(u),l=n(19),f=r(l),d=n(84),p=o(d),h=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.updateDataAttr(),o.on(n,"timeupdate",o.updateDataAttr),n.ready(f.bind(o,o.updateDataAttr)),o}return s(t,e),t.prototype.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-tooltip-progress-bar vjs-slider-bar",innerHTML:'<div class="vjs-time-tooltip"></div>\n        <span class="vjs-control-text"><span>'+this.localize("Progress")+"</span>: 0%</span>"});return this.tooltip=t.querySelector(".vjs-time-tooltip"),t},t.prototype.updateDataAttr=function(e){var t=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),n=(0,p.default)(t,this.player_.duration());this.el_.setAttribute("data-current-time",n),this.tooltip.innerHTML=n},t}(c.default);c.default.registerComponent("TooltipProgressBar",h),t.default=h},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(1169),u=r(s),c=n(8),l=r(c),f=function(e){function t(){return o(this,t),i(this,e.apply(this,arguments))}return a(t,e),t.prototype.buildCSSClass=function(){return"vjs-custom-control-spacer "+e.prototype.buildCSSClass.call(this)},t.prototype.createEl=function(){var t=e.prototype.createEl.call(this,{className:this.buildCSSClass()});return t.innerHTML="&nbsp;",t},t}(u.default);l.default.registerComponent("CustomControlSpacer",f),t.default=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(8),u=r(s),c=function(e){function t(){return o(this,t),i(this,e.apply(this,arguments))}return a(t,e),t.prototype.buildCSSClass=function(){return"vjs-spacer "+e.prototype.buildCSSClass.call(this)},t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},t}(u.default);u.default.registerComponent("Spacer",c),t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(316),u=r(s),c=n(8),l=r(c),f=function(e){function t(n,r){o(this,t),r.track={player:n,kind:r.kind,label:r.kind+" settings",selectable:!1,default:!1,mode:"disabled"},r.selectable=!1;var a=i(this,e.call(this,n,r));return a.addClass("vjs-texttrack-settings"),a.controlText(", opens "+r.kind+" settings dialog"),a}return a(t,e),t.prototype.handleClick=function(e){this.player().getChild("textTrackSettings").show(),this.player().getChild("textTrackSettings").el_.focus()},t}(u.default);l.default.registerComponent("CaptionSettingsMenuItem",f),t.default=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(202),u=r(s),c=n(8),l=r(c),f=n(1170),d=r(f),p=function(e){function t(n,r,a){o(this,t);var s=i(this,e.call(this,n,r,a));return s.el_.setAttribute("aria-label","Captions Menu"),s}return a(t,e),t.prototype.buildCSSClass=function(){return"vjs-captions-button "+e.prototype.buildCSSClass.call(this)},t.prototype.createItems=function(){var t=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||(t.push(new d.default(this.player_,{kind:this.kind_})),this.hideThreshold_+=1),e.prototype.createItems.call(this,t)},t}(u.default);p.prototype.kind_="captions",p.prototype.controlText_="Captions",l.default.registerComponent("CaptionsButton",p),t.default=p},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(202),u=r(s),c=n(8),l=r(c),f=n(1173),d=r(f),p=n(131),h=r(p),v=function(e){function t(n,r,a){o(this,t);var s=i(this,e.call(this,n,r,a));return s.el_.setAttribute("aria-label","Chapters Menu"),s}return a(t,e),t.prototype.buildCSSClass=function(){return"vjs-chapters-button "+e.prototype.buildCSSClass.call(this)},t.prototype.update=function(t){this.track_&&(!t||"addtrack"!==t.type&&"removetrack"!==t.type)||this.setTrack(this.findChaptersTrack()),e.prototype.update.call(this)},t.prototype.setTrack=function(e){if(this.track_!==e){if(this.updateHandler_||(this.updateHandler_=this.update.bind(this)),this.track_){var t=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);t&&t.removeEventListener("load",this.updateHandler_),this.track_=null}if(this.track_=e,this.track_){this.track_.mode="hidden";var n=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);n&&n.addEventListener("load",this.updateHandler_)}}},t.prototype.findChaptersTrack=function(){for(var e=this.player_.textTracks()||[],t=e.length-1;t>=0;t--){var n=e[t];if(n.kind===this.kind_)return n}},t.prototype.getMenuCaption=function(){return this.track_&&this.track_.label?this.track_.label:this.localize((0,h.default)(this.kind_))},t.prototype.createMenu=function(){return this.options_.title=this.getMenuCaption(),e.prototype.createMenu.call(this)},t.prototype.createItems=function(){var e=[];if(!this.track_)return e;var t=this.track_.cues;if(!t)return e;for(var n=0,r=t.length;n<r;n++){var o=t[n],i=new d.default(this.player_,{track:this.track_,cue:o});e.push(i)}return e},t}(u.default);v.prototype.kind_="chapters",v.prototype.controlText_="Chapters",l.default.registerComponent("ChaptersButton",v),t.default=v},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(204),c=o(u),l=n(8),f=o(l),d=n(19),p=r(d),h=function(e){function t(n,r){i(this,t);var o=r.track,s=r.cue,u=n.currentTime();r.selectable=!0,r.label=s.text,r.selected=s.startTime<=u&&u<s.endTime;var c=a(this,e.call(this,n,r));return c.track=o,c.cue=s,o.addEventListener("cuechange",p.bind(c,c.update)),c}return s(t,e),t.prototype.handleClick=function(t){e.prototype.handleClick.call(this),this.player_.currentTime(this.cue.startTime),this.update(this.cue.startTime)},t.prototype.update=function(e){var t=this.cue,n=this.player_.currentTime();this.selected(t.startTime<=n&&n<t.endTime)},t}(c.default);f.default.registerComponent("ChaptersTrackMenuItem",h),t.default=h},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(202),c=o(u),l=n(8),f=o(l),d=n(19),p=r(d),h=function(e){function t(n,r,o){i(this,t);var s=a(this,e.call(this,n,r,o));s.el_.setAttribute("aria-label","Descriptions Menu");var u=n.textTracks();if(u){var c=p.bind(s,s.handleTracksChange);u.addEventListener("change",c),s.on("dispose",function(){u.removeEventListener("change",c)})}return s}return s(t,e),t.prototype.handleTracksChange=function(e){for(var t=this.player().textTracks(),n=!1,r=0,o=t.length;r<o;r++){var i=t[r];if(i.kind!==this.kind_&&"showing"===i.mode){n=!0;break}}n?this.disable():this.enable()},t.prototype.buildCSSClass=function(){return"vjs-descriptions-button "+e.prototype.buildCSSClass.call(this)},t}(c.default);h.prototype.kind_="descriptions",h.prototype.controlText_="Descriptions",f.default.registerComponent("DescriptionsButton",h),t.default=h},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(316),u=r(s),c=n(8),l=r(c),f=function(e){function t(n,r){o(this,t),r.track={player:n,kind:r.kind,label:r.kind+" off",default:!1,mode:"disabled"},r.selectable=!0;var a=i(this,e.call(this,n,r));return a.selected(!0),a}return a(t,e),t.prototype.handleTracksChange=function(e){for(var t=this.player().textTracks(),n=!0,r=0,o=t.length;r<o;r++){var i=t[r];if(i.kind===this.track.kind&&"showing"===i.mode){n=!1;break}}this.selected(n)},t}(u.default);l.default.registerComponent("OffTextTrackMenuItem",f),t.default=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(202),u=r(s),c=n(8),l=r(c),f=function(e){function t(n,r,a){o(this,t);var s=i(this,e.call(this,n,r,a));return s.el_.setAttribute("aria-label","Subtitles Menu"),s}return a(t,e),t.prototype.buildCSSClass=function(){return"vjs-subtitles-button "+e.prototype.buildCSSClass.call(this)},t}(u.default);f.prototype.kind_="subtitles",f.prototype.controlText_="Subtitles",l.default.registerComponent("SubtitlesButton",f),t.default=f},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(8),c=o(u),l=n(23),f=r(l),d=n(84),p=o(d),h=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.on(n,"timeupdate",o.updateContent),o}return s(t,e),t.prototype.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-current-time vjs-time-control vjs-control"});return this.contentEl_=f.createEl("div",{className:"vjs-current-time-display",innerHTML:'<span class="vjs-control-text">Current Time </span>0:00'},{"aria-live":"off"}),t.appendChild(this.contentEl_),t},t.prototype.updateContent=function(e){var t=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),n=this.localize("Current Time"),r=(0,p.default)(t,this.player_.duration());r!==this.formattedTime_&&(this.formattedTime_=r,this.contentEl_.innerHTML='<span class="vjs-control-text">'+n+"</span> "+r)},t}(c.default);c.default.registerComponent("CurrentTimeDisplay",h),t.default=h},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(8),c=o(u),l=n(23),f=r(l),d=n(84),p=o(d),h=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.on(n,"durationchange",o.updateContent),o.on(n,"timeupdate",o.updateContent),o.on(n,"loadedmetadata",o.updateContent),o}return s(t,e),t.prototype.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-duration vjs-time-control vjs-control"});return this.contentEl_=f.createEl("div",{className:"vjs-duration-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Duration Time")+"</span> 0:00"},{"aria-live":"off"}),t.appendChild(this.contentEl_),t},t.prototype.updateContent=function(e){var t=this.player_.duration();if(t&&this.duration_!==t){this.duration_=t;var n=this.localize("Duration Time"),r=(0,p.default)(t);this.contentEl_.innerHTML='<span class="vjs-control-text">'+n+"</span> "+r}},t}(c.default);c.default.registerComponent("DurationDisplay",h),t.default=h},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(8),c=o(u),l=n(23),f=r(l),d=n(84),p=o(d),h=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.on(n,"timeupdate",o.updateContent),o.on(n,"durationchange",o.updateContent),o}return s(t,e),t.prototype.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-remaining-time vjs-time-control vjs-control"});return this.contentEl_=f.createEl("div",{className:"vjs-remaining-time-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Remaining Time")+"</span> -0:00"},{"aria-live":"off"}),t.appendChild(this.contentEl_),t},t.prototype.updateContent=function(e){if(this.player_.duration()){var t=this.localize("Remaining Time"),n=(0,p.default)(this.player_.remainingTime());n!==this.formattedTime_&&(this.formattedTime_=n,this.contentEl_.innerHTML='<span class="vjs-control-text">'+t+"</span> -"+n)}},t}(c.default);c.default.registerComponent("RemainingTimeDisplay",h),t.default=h},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(8),u=r(s),c=function(e){function t(){return o(this,t),i(this,e.apply(this,arguments))}return a(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-time-control vjs-time-divider",innerHTML:"<div><span>/</span></div>"})},t}(u.default);u.default.registerComponent("TimeDivider",c),t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(8),u=r(s);n(484);var c=function(e){function t(n,r){o(this,t);var a=i(this,e.call(this,n,r));return n.tech_&&n.tech_.featuresVolumeControl===!1&&a.addClass("vjs-hidden"),a.on(n,"loadstart",function(){n.tech_.featuresVolumeControl===!1?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")}),a}return a(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-volume-control vjs-control"})},t}(u.default);c.prototype.options_={children:["volumeBar"]},u.default.registerComponent("VolumeControl",c),t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(8),u=r(s),c=function(e){function t(){return o(this,t),i(this,e.apply(this,arguments))}return a(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-volume-level",innerHTML:'<span class="vjs-control-text"></span>'})},t}(u.default);u.default.registerComponent("VolumeLevel",c),t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(19),c=o(u),l=n(8),f=r(l),d=n(1190),p=r(d),h=n(1189),v=r(h),y=n(482),g=r(y),m=n(484),_=r(m),b=function(e){function t(n){function r(){n.tech_&&n.tech_.featuresVolumeControl===!1?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")}var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};i(this,t),void 0===o.inline&&(o.inline=!0),void 0===o.vertical&&(o.inline?o.vertical=!1:o.vertical=!0),o.volumeBar=o.volumeBar||{},o.volumeBar.vertical=!!o.vertical;var s=a(this,e.call(this,n,o));return s.on(n,"volumechange",s.volumeUpdate),s.on(n,"loadstart",s.volumeUpdate),r.call(s),s.on(n,"loadstart",r),s.on(s.volumeBar,["slideractive","focus"],function(){this.addClass("vjs-slider-active")}),s.on(s.volumeBar,["sliderinactive","blur"],function(){this.removeClass("vjs-slider-active")}),s.on(s.volumeBar,["focus"],function(){
+this.addClass("vjs-lock-showing")}),s.on(s.volumeBar,["blur"],function(){this.removeClass("vjs-lock-showing")}),s}return s(t,e),t.prototype.buildCSSClass=function(){var t="";return t=this.options_.vertical?"vjs-volume-menu-button-vertical":"vjs-volume-menu-button-horizontal","vjs-volume-menu-button "+e.prototype.buildCSSClass.call(this)+" "+t},t.prototype.createPopup=function(){var e=new p.default(this.player_,{contentElType:"div"}),t=new _.default(this.player_,this.options_.volumeBar);return e.addChild(t),this.menuContent=e,this.volumeBar=t,this.attachVolumeBarEvents(),e},t.prototype.handleClick=function(t){g.default.prototype.handleClick.call(this),e.prototype.handleClick.call(this)},t.prototype.attachVolumeBarEvents=function(){this.menuContent.on(["mousedown","touchdown"],c.bind(this,this.handleMouseDown))},t.prototype.handleMouseDown=function(e){this.on(["mousemove","touchmove"],c.bind(this.volumeBar,this.volumeBar.handleMouseMove)),this.on(this.el_.ownerDocument,["mouseup","touchend"],this.handleMouseUp)},t.prototype.handleMouseUp=function(e){this.off(["mousemove","touchmove"],c.bind(this.volumeBar,this.volumeBar.handleMouseMove))},t}(v.default);b.prototype.volumeUpdate=g.default.prototype.update,b.prototype.controlText_="Mute",f.default.registerComponent("VolumeMenuButton",b),t.default=b},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(8),u=r(s),c=n(488),l=r(c),f=n(77),d=r(f),p=function(e){function t(n,r){o(this,t);var a=i(this,e.call(this,n,r));return a.on(n,"error",a.open),a}return a(t,e),t.prototype.buildCSSClass=function(){return"vjs-error-display "+e.prototype.buildCSSClass.call(this)},t.prototype.content=function(){var e=this.player().error();return e?this.localize(e.message):""},t}(l.default);p.prototype.options_=(0,d.default)(l.default.prototype.options_,{pauseOnOpen:!1,fillAlways:!0,temporary:!1,uncloseable:!0}),u.default.registerComponent("ErrorDisplay",p),t.default=p},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=n(46),a=r(i),s=n(34),u=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+("undefined"==typeof t?"undefined":o(t)));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(e.super_=t)},c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=function(){e.apply(this,arguments)},r={};(0,s.isObject)(t)?("function"==typeof t.init&&(a.default.warn("Constructor logic via init() is deprecated; please use constructor() instead."),t.constructor=t.init),t.constructor!==Object.prototype.constructor&&(n=t.constructor),r=t):"function"==typeof t&&(n=t),u(n,e);for(var o in r)r.hasOwnProperty(o)&&(n.prototype[o]=r[o]);return n};t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;for(var o=n(28),i=r(o),a={},s=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],u=s[0],c=void 0,l=0;l<s.length;l++)if(s[l][1]in i.default){c=s[l];break}if(c)for(var f=0;f<c.length;f++)a[u[f]]=c[f];t.default=a},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(8),u=r(s),c=function(e){function t(){return o(this,t),i(this,e.apply(this,arguments))}return a(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-loading-spinner",dir:"ltr"})},t}(u.default);u.default.registerComponent("LoadingSpinner",c),t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(489),i=r(o),a=function(e,t){i.default.prototype[e]=t};t.default=a},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(153),u=r(s),c=n(8),l=r(c),f=function(e){function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o(this,t);var a=i(this,e.call(this,n,r));return a.update(),a}return a(t,e),t.prototype.update=function(){var e=this.createPopup();this.popup&&this.removeChild(this.popup),this.popup=e,this.addChild(e),this.items&&0===this.items.length?this.hide():this.items&&this.items.length>1&&this.show()},t.prototype.createPopup=function(){},t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},t.prototype.buildCSSClass=function(){var t="vjs-menu-button";return t+=this.options_.inline===!0?"-inline":"-popup","vjs-menu-button "+t+" "+e.prototype.buildCSSClass.call(this)},t}(u.default);l.default.registerComponent("PopupButton",f),t.default=f},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(8),c=o(u),l=n(23),f=r(l),d=n(19),p=r(d),h=n(83),v=r(h),y=function(e){function t(){return i(this,t),a(this,e.apply(this,arguments))}return s(t,e),t.prototype.addItem=function(e){this.addChild(e),e.on("click",p.bind(this,function(){this.unlockShowing()}))},t.prototype.createEl=function(){var t=this.options_.contentElType||"ul";this.contentEl_=f.createEl(t,{className:"vjs-menu-content"});var n=e.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"});return n.appendChild(this.contentEl_),v.on(n,"click",function(e){e.preventDefault(),e.stopImmediatePropagation()}),n},t}(c.default);c.default.registerComponent("Popup",y),t.default=y},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(153),c=o(u),l=n(8),f=o(l),d=n(19),p=r(d),h=n(23),v=r(h),y=n(33),g=r(y),m=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.update(),n.on("posterchange",p.bind(o,o.update)),o}return s(t,e),t.prototype.dispose=function(){this.player().off("posterchange",this.update),e.prototype.dispose.call(this)},t.prototype.createEl=function(){var e=v.createEl("div",{className:"vjs-poster",tabIndex:-1});return g.BACKGROUND_SIZE_SUPPORTED||(this.fallbackImg_=v.createEl("img"),e.appendChild(this.fallbackImg_)),e},t.prototype.update=function(e){var t=this.player().poster();this.setSrc(t),t?this.show():this.hide()},t.prototype.setSrc=function(e){if(this.fallbackImg_)this.fallbackImg_.src=e;else{var t="";e&&(t='url("'+e+'")'),this.el_.style.backgroundImage=t}},t.prototype.handleClick=function(e){this.player_.controls()&&(this.player_.paused()?this.player_.play():this.player_.pause())},t}(c.default);f.default.registerComponent("PosterImage",m),t.default=m},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e,t){t&&(v=t),p.default.setTimeout(y,e)}t.__esModule=!0,t.hasLoaded=t.autoSetupTimeout=t.autoSetup=void 0;var a=n(23),s=o(a),u=n(83),c=o(u),l=n(28),f=r(l),d=n(30),p=r(d),h=!1,v=void 0,y=function(){if(s.isReal()){var e=f.default.getElementsByTagName("video"),t=f.default.getElementsByTagName("audio"),n=[];if(e&&e.length>0)for(var r=0,o=e.length;r<o;r++)n.push(e[r]);if(t&&t.length>0)for(var a=0,u=t.length;a<u;a++)n.push(t[a]);if(n&&n.length>0)for(var c=0,l=n.length;c<l;c++){var d=n[c];if(!d||!d.getAttribute){i(1);break}if(void 0===d.player){var p=d.getAttribute("data-setup");null!==p&&v(d)}}else h||i(1)}};s.isReal()&&"complete"===f.default.readyState?h=!0:c.one(p.default,"load",function(){h=!0});var g=function(){return h};t.autoSetup=y,t.autoSetupTimeout=i,t.hasLoaded=g},function(e,t){"use strict";function n(e){return e.streamingFormats={"rtmp/mp4":"MP4","rtmp/flv":"FLV"},e.streamFromParts=function(e,t){return e+"&"+t},e.streamToParts=function(e){var t={connection:"",stream:""};if(!e)return t;var n=e.search(/&(?!\w+=)/),r=void 0;return n!==-1?r=n+1:(n=r=e.lastIndexOf("/")+1,0===n&&(n=r=e.length)),t.connection=e.substring(0,n),t.stream=e.substring(r,e.length),t},e.isStreamingType=function(t){return t in e.streamingFormats},e.RTMP_RE=/^rtmp[set]?:\/\//i,e.isStreamingSrc=function(t){return e.RTMP_RE.test(t)},e.rtmpSourceHandler={},e.rtmpSourceHandler.canPlayType=function(t){return e.isStreamingType(t)?"maybe":""},e.rtmpSourceHandler.canHandleSource=function(t,n){var r=e.rtmpSourceHandler.canPlayType(t.type);return r?r:e.isStreamingSrc(t.src)?"maybe":""},e.rtmpSourceHandler.handleSource=function(t,n,r){var o=e.streamToParts(t.src);n.setRtmpConnection(o.connection),n.setRtmpStream(o.stream)},e.registerSourceHandler(e.rtmpSourceHandler),e}t.__esModule=!0,t.default=n},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function u(e){var t=e.charAt(0).toUpperCase()+e.slice(1);x["set"+t]=function(t){return this.el_.vjs_setProperty(e,t)}}function c(e){x[e]=function(){return this.el_.vjs_getProperty(e)}}t.__esModule=!0;for(var l=n(154),f=o(l),d=n(23),p=r(d),h=n(205),v=r(h),y=n(155),g=n(1193),m=o(g),_=n(8),b=o(_),w=n(30),E=o(w),T=n(34),S=E.default.navigator,C=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return n.source&&o.ready(function(){this.setSource(n.source)},!0),n.startTime&&o.ready(function(){this.load(),this.play(),this.currentTime(n.startTime)},!0),E.default.videojs=E.default.videojs||{},E.default.videojs.Flash=E.default.videojs.Flash||{},E.default.videojs.Flash.onReady=t.onReady,E.default.videojs.Flash.onEvent=t.onEvent,E.default.videojs.Flash.onError=t.onError,o.on("seeked",function(){this.lastSeekTarget_=void 0}),o}return s(t,e),t.prototype.createEl=function(){var e=this.options_;if(!e.swf){var n="5.3.0";e.swf="//vjs.zencdn.net/swf/"+n+"/video-js.swf"}var r=e.techId,o=(0,T.assign)({readyFunction:"videojs.Flash.onReady",eventProxyFunction:"videojs.Flash.onEvent",errorEventProxyFunction:"videojs.Flash.onError",autoplay:e.autoplay,preload:e.preload,loop:e.loop,muted:e.muted},e.flashVars),i=(0,T.assign)({wmode:"opaque",bgcolor:"#000000"},e.params),a=(0,T.assign)({id:r,name:r,class:"vjs-tech"},e.attributes);return this.el_=t.embed(e.swf,o,i,a),this.el_.tech=this,this.el_},t.prototype.play=function(){this.ended()&&this.setCurrentTime(0),this.el_.vjs_play()},t.prototype.pause=function(){this.el_.vjs_pause()},t.prototype.src=function(e){return void 0===e?this.currentSrc():this.setSrc(e)},t.prototype.setSrc=function(e){var t=this;e=v.getAbsoluteURL(e),this.el_.vjs_src(e),this.autoplay()&&this.setTimeout(function(){return t.play()},0)},t.prototype.seeking=function(){return void 0!==this.lastSeekTarget_},t.prototype.setCurrentTime=function(t){var n=this.seekable();n.length&&(t=t>n.start(0)?t:n.start(0),t=t<n.end(n.length-1)?t:n.end(n.length-1),this.lastSeekTarget_=t,this.trigger("seeking"),this.el_.vjs_setProperty("currentTime",t),e.prototype.setCurrentTime.call(this))},t.prototype.currentTime=function(){return this.seeking()?this.lastSeekTarget_||0:this.el_.vjs_getProperty("currentTime")},t.prototype.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.vjs_getProperty("currentSrc")},t.prototype.duration=function e(){if(0===this.readyState())return NaN;var e=this.el_.vjs_getProperty("duration");return e>=0?e:1/0},t.prototype.load=function(){this.el_.vjs_load()},t.prototype.poster=function(){this.el_.vjs_getProperty("poster")},t.prototype.setPoster=function(){},t.prototype.seekable=function(){var e=this.duration();return 0===e?(0,y.createTimeRange)():(0,y.createTimeRange)(0,e)},t.prototype.buffered=function(){var e=this.el_.vjs_getProperty("buffered");return 0===e.length?(0,y.createTimeRange)():(0,y.createTimeRange)(e[0][0],e[0][1])},t.prototype.supportsFullScreen=function(){return!1},t.prototype.enterFullScreen=function(){return!1},t}(f.default),x=C.prototype,O="rtmpConnection,rtmpStream,preload,defaultPlaybackRate,playbackRate,autoplay,loop,mediaGroup,controller,controls,volume,muted,defaultMuted".split(","),k="networkState,readyState,initialTime,startOffsetTime,paused,ended,videoWidth,videoHeight".split(","),M=0;M<O.length;M++)c(O[M]),u(O[M]);for(var P=0;P<k.length;P++)c(k[P]);C.isSupported=function(){return C.version()[0]>=10},f.default.withSourceHandlers(C),C.nativeSourceHandler={},C.nativeSourceHandler.canPlayType=function(e){return e in C.formats?"maybe":""},C.nativeSourceHandler.canHandleSource=function(e,t){function n(e){var t=v.getFileExtension(e);return t?"video/"+t:""}var r=void 0;return r=e.type?e.type.replace(/;.*/,"").toLowerCase():n(e.src),C.nativeSourceHandler.canPlayType(r)},C.nativeSourceHandler.handleSource=function(e,t,n){t.setSrc(e.src)},C.nativeSourceHandler.dispose=function(){},C.registerSourceHandler(C.nativeSourceHandler),C.formats={"video/flv":"FLV","video/x-flv":"FLV","video/mp4":"MP4","video/m4v":"MP4"},C.onReady=function(e){var t=p.getEl(e),n=t&&t.tech;n&&n.el()&&C.checkReady(n)},C.checkReady=function(e){e.el()&&(e.el().vjs_getProperty?e.triggerReady():this.setTimeout(function(){C.checkReady(e)},50))},C.onEvent=function(e,t){var n=p.getEl(e).tech,r=Array.prototype.slice.call(arguments,2);n.setTimeout(function(){n.trigger(t,r)},1)},C.onError=function(e,t){var n=p.getEl(e).tech;return"srcnotfound"===t?n.error(4):void n.error("FLASH: "+t)},C.version=function(){var e="0,0,0";try{e=new E.default.ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version").replace(/\D+/g,",").match(/^,?(.+),?$/)[1]}catch(t){try{S.mimeTypes["application/x-shockwave-flash"].enabledPlugin&&(e=(S.plugins["Shockwave Flash 2.0"]||S.plugins["Shockwave Flash"]).description.replace(/\D+/g,",").match(/^,?(.+),?$/)[1])}catch(e){}}return e.split(",")},C.embed=function(e,t,n,r){var o=C.getEmbedCode(e,t,n,r),i=p.createEl("div",{innerHTML:o}).childNodes[0];return i},C.getEmbedCode=function(e,t,n,r){var o='<object type="application/x-shockwave-flash" ',i="",a="",s="";return t&&Object.getOwnPropertyNames(t).forEach(function(e){i+=e+"="+t[e]+"&amp;"}),n=(0,T.assign)({movie:e,flashvars:i,allowScriptAccess:"always",allowNetworking:"all"},n),Object.getOwnPropertyNames(n).forEach(function(e){a+='<param name="'+e+'" value="'+n[e]+'" />'}),r=(0,T.assign)({data:e,width:"100%",height:"100%"},r),Object.getOwnPropertyNames(r).forEach(function(e){s+=e+'="'+r[e]+'" '}),""+o+s+">"+a+"</object>"},(0,m.default)(C),b.default.registerComponent("Flash",C),f.default.registerTech("Flash",C),t.default=C},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return e.raw=t,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var c=i(["Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.\n            This may prevent text tracks from loading."],["Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.\n            This may prevent text tracks from loading."]),l=n(154),f=o(l),d=n(8),p=o(d),h=n(23),v=r(h),y=n(205),g=r(y),m=n(19),_=r(m),b=n(46),w=o(b),E=n(481),T=o(E),S=n(33),C=r(S),x=n(28),O=o(x),k=n(30),M=o(k),P=n(34),A=n(77),I=o(A),j=n(131),D=o(j),R=function(e){function t(n,r){a(this,t);var o=s(this,e.call(this,n,r)),i=n.source,u=!1;if(i&&(o.el_.currentSrc!==i.src||n.tag&&3===n.tag.initNetworkState_)?o.setSource(i):o.handleLateInit_(o.el_),o.el_.hasChildNodes()){for(var l=o.el_.childNodes,f=l.length,d=[];f--;){var p=l[f],h=p.nodeName.toLowerCase();"track"===h&&(o.featuresNativeTextTracks?(o.remoteTextTrackEls().addTrackElement_(p),o.remoteTextTracks().addTrack_(p.track),u||o.el_.hasAttribute("crossorigin")||!g.isCrossOrigin(p.src)||(u=!0)):d.push(p))}for(var v=0;v<d.length;v++)o.el_.removeChild(d[v])}var y=["audio","video"];return y.forEach(function(e){var t=o.el()[e+"Tracks"],n=o[e+"Tracks"](),r=(0,D.default)(e);o["featuresNative"+r+"Tracks"]&&t&&t.addEventListener&&(o["handle"+r+"TrackChange_"]=function(e){n.trigger({type:"change",target:n,currentTarget:n,srcElement:n})},o["handle"+r+"TrackAdd_"]=function(e){return n.addTrack(e.track)},o["handle"+r+"TrackRemove_"]=function(e){return n.removeTrack(e.track)},t.addEventListener("change",o["handle"+r+"TrackChange_"]),t.addEventListener("addtrack",o["handle"+r+"TrackAdd_"]),t.addEventListener("removetrack",o["handle"+r+"TrackRemove_"]),o["removeOld"+r+"Tracks_"]=function(e){return o.removeOldTracks_(n,t)},o.on("loadstart",o["removeOld"+r+"Tracks_"]))}),o.featuresNativeTextTracks&&(u&&w.default.warn((0,T.default)(c)),o.handleTextTrackChange_=_.bind(o,o.handleTextTrackChange),o.handleTextTrackAdd_=_.bind(o,o.handleTextTrackAdd),o.handleTextTrackRemove_=_.bind(o,o.handleTextTrackRemove),o.proxyNativeTextTracks_()),(C.TOUCH_ENABLED||C.IS_IPHONE||C.IS_NATIVE_ANDROID)&&n.nativeControlsForTouch===!0&&o.setControls(!0),o.proxyWebkitFullscreen_(),o.triggerReady(),o}return u(t,e),t.prototype.dispose=function(){var n=this;["audio","video","text"].forEach(function(e){var t=(0,D.default)(e),r=n.el_[e+"Tracks"];r&&r.removeEventListener&&(r.removeEventListener("change",n["handle"+t+"TrackChange_"]),r.removeEventListener("addtrack",n["handle"+t+"TrackAdd_"]),r.removeEventListener("removetrack",n["handle"+t+"TrackRemove_"])),r&&n.off("loadstart",n["removeOld"+t+"Tracks_"])}),t.disposeMediaElement(this.el_),e.prototype.dispose.call(this)},t.prototype.createEl=function(){var e=this.options_.tag;if(!e||!this.options_.playerElIngest&&!this.movingMediaElementInDOM){if(e){var n=e.cloneNode(!0);e.parentNode&&e.parentNode.insertBefore(n,e),t.disposeMediaElement(e),e=n}else{e=O.default.createElement("video");var r=this.options_.tag&&v.getElAttributes(this.options_.tag),o=(0,I.default)({},r);C.TOUCH_ENABLED&&this.options_.nativeControlsForTouch===!0||delete o.controls,v.setElAttributes(e,(0,P.assign)(o,{id:this.options_.techId,class:"vjs-tech"}))}e.playerId=this.options_.playerId}for(var i=["autoplay","preload","loop","muted"],a=i.length-1;a>=0;a--){var s=i[a],u={};"undefined"!=typeof this.options_[s]&&(u[s]=this.options_[s]),v.setElAttributes(e,u)}return e},t.prototype.handleLateInit_=function(e){if(0!==e.networkState&&3!==e.networkState){if(0===e.readyState){var t=!1,n=function(){t=!0};this.on("loadstart",n);var r=function(){t||this.trigger("loadstart")};return this.on("loadedmetadata",r),void this.ready(function(){this.off("loadstart",n),this.off("loadedmetadata",r),t||this.trigger("loadstart")})}var o=["loadstart"];o.push("loadedmetadata"),e.readyState>=2&&o.push("loadeddata"),e.readyState>=3&&o.push("canplay"),e.readyState>=4&&o.push("canplaythrough"),this.ready(function(){o.forEach(function(e){this.trigger(e)},this)})}},t.prototype.proxyNativeTextTracks_=function(){var e=this.el().textTracks;if(e){for(var t=0;t<e.length;t++)this.textTracks().addTrack_(e[t]);e.addEventListener&&(e.addEventListener("change",this.handleTextTrackChange_),e.addEventListener("addtrack",this.handleTextTrackAdd_),e.addEventListener("removetrack",this.handleTextTrackRemove_)),this.on("loadstart",this.removeOldTextTracks_)}},t.prototype.handleTextTrackChange=function(e){var t=this.textTracks();this.textTracks().trigger({type:"change",target:t,currentTarget:t,srcElement:t})},t.prototype.handleTextTrackAdd=function(e){this.textTracks().addTrack_(e.track)},t.prototype.handleTextTrackRemove=function(e){this.textTracks().removeTrack_(e.track)},t.prototype.removeOldTracks_=function(e,t){var n=[];if(t){for(var r=0;r<e.length;r++){for(var o=e[r],i=!1,a=0;a<t.length;a++)if(t[a]===o){i=!0;break}i||n.push(o)}for(var s=0;s<n.length;s++){var u=n[s];e.removeTrack_(u)}}},t.prototype.removeOldTextTracks_=function(e){var t=this.textTracks(),n=this.el().textTracks;this.removeOldTracks_(t,n)},t.prototype.play=function(){var e=this.el_.play();void 0!==e&&"function"==typeof e.then&&e.then(null,function(e){})},t.prototype.setCurrentTime=function(e){try{this.el_.currentTime=e}catch(e){(0,w.default)(e,"Video is not ready. (Video.js)")}},t.prototype.duration=function(){var e=this;if(this.el_.duration===1/0&&C.IS_ANDROID&&C.IS_CHROME&&0===this.el_.currentTime){var t=function t(){e.el_.currentTime>0&&(e.el_.duration===1/0&&e.trigger("durationchange"),e.off("timeupdate",t))};return this.on("timeupdate",t),NaN}return this.el_.duration||NaN},t.prototype.width=function(){return this.el_.offsetWidth},t.prototype.height=function(){return this.el_.offsetHeight},t.prototype.proxyWebkitFullscreen_=function(){var e=this;if("webkitDisplayingFullscreen"in this.el_){var t=function(){this.trigger("fullscreenchange",{isFullscreen:!1})},n=function(){this.one("webkitendfullscreen",t),this.trigger("fullscreenchange",{isFullscreen:!0})};this.on("webkitbeginfullscreen",n),this.on("dispose",function(){e.off("webkitbeginfullscreen",n),e.off("webkitendfullscreen",t)})}},t.prototype.supportsFullScreen=function(){if("function"==typeof this.el_.webkitEnterFullScreen){var e=M.default.navigator&&M.default.navigator.userAgent||"";if(/Android/.test(e)||!/Chrome|Mac OS X 10.5/.test(e))return!0}return!1},t.prototype.enterFullScreen=function(){var e=this.el_;e.paused&&e.networkState<=e.HAVE_METADATA?(this.el_.play(),this.setTimeout(function(){e.pause(),e.webkitEnterFullScreen()},0)):e.webkitEnterFullScreen()},t.prototype.exitFullScreen=function(){this.el_.webkitExitFullScreen()},t.prototype.src=function(e){return void 0===e?this.el_.src:void this.setSrc(e)},t.prototype.reset=function(){t.resetMediaElement(this.el_)},t.prototype.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.currentSrc},t.prototype.setControls=function(e){this.el_.controls=!!e},t.prototype.addTextTrack=function(t,n,r){return this.featuresNativeTextTracks?this.el_.addTextTrack(t,n,r):e.prototype.addTextTrack.call(this,t,n,r)},t.prototype.createRemoteTextTrack=function(t){if(!this.featuresNativeTextTracks)return e.prototype.createRemoteTextTrack.call(this,t);var n=O.default.createElement("track");return t.kind&&(n.kind=t.kind),t.label&&(n.label=t.label),(t.language||t.srclang)&&(n.srclang=t.language||t.srclang),t.default&&(n.default=t.default),t.id&&(n.id=t.id),t.src&&(n.src=t.src),n},t.prototype.addRemoteTextTrack=function(t,n){var r=e.prototype.addRemoteTextTrack.call(this,t,n);return this.featuresNativeTextTracks&&this.el().appendChild(r),r},t.prototype.removeRemoteTextTrack=function(t){if(e.prototype.removeRemoteTextTrack.call(this,t),this.featuresNativeTextTracks)for(var n=this.$$("track"),r=n.length;r--;)t!==n[r]&&t!==n[r].track||this.el().removeChild(n[r])},t}(f.default);if(v.isReal()){R.TEST_VID=O.default.createElement("video");var N=O.default.createElement("track");N.kind="captions",N.srclang="en",N.label="English",R.TEST_VID.appendChild(N)}R.isSupported=function(){try{R.TEST_VID.volume=.5}catch(e){return!1}return!(!R.TEST_VID||!R.TEST_VID.canPlayType)},R.canControlVolume=function(){try{var e=R.TEST_VID.volume;return R.TEST_VID.volume=e/2+.1,e!==R.TEST_VID.volume}catch(e){return!1}},R.canControlPlaybackRate=function(){if(C.IS_ANDROID&&C.IS_CHROME)return!1;try{var e=R.TEST_VID.playbackRate;return R.TEST_VID.playbackRate=e/2+.1,e!==R.TEST_VID.playbackRate}catch(e){return!1}},R.supportsNativeTextTracks=function(){return C.IS_ANY_SAFARI},R.supportsNativeVideoTracks=function(){return!(!R.TEST_VID||!R.TEST_VID.videoTracks)},R.supportsNativeAudioTracks=function(){return!(!R.TEST_VID||!R.TEST_VID.audioTracks)},R.Events=["loadstart","suspend","abort","error","emptied","stalled","loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","seeking","seeked","ended","durationchange","timeupdate","progress","play","pause","ratechange","volumechange"],R.prototype.featuresVolumeControl=R.canControlVolume(),R.prototype.featuresPlaybackRate=R.canControlPlaybackRate(),R.prototype.movingMediaElementInDOM=!C.IS_IOS,R.prototype.featuresFullscreenResize=!0,R.prototype.featuresProgressEvents=!0,R.prototype.featuresTimeupdateEvents=!0,R.prototype.featuresNativeTextTracks=R.supportsNativeTextTracks(),R.prototype.featuresNativeVideoTracks=R.supportsNativeVideoTracks(),R.prototype.featuresNativeAudioTracks=R.supportsNativeAudioTracks();var L=R.TEST_VID&&R.TEST_VID.constructor.prototype.canPlayType,F=/^application\/(?:x-|vnd\.apple\.)mpegurl/i,U=/^video\/mp4/i;R.patchCanPlayType=function(){C.ANDROID_VERSION>=4&&!C.IS_FIREFOX?R.TEST_VID.constructor.prototype.canPlayType=function(e){return e&&F.test(e)?"maybe":L.call(this,e)}:C.IS_OLD_ANDROID&&(R.TEST_VID.constructor.prototype.canPlayType=function(e){return e&&U.test(e)?"maybe":L.call(this,e)})},R.unpatchCanPlayType=function(){var e=R.TEST_VID.constructor.prototype.canPlayType;return R.TEST_VID.constructor.prototype.canPlayType=L,e},R.patchCanPlayType(),R.disposeMediaElement=function(e){if(e){for(e.parentNode&&e.parentNode.removeChild(e);e.hasChildNodes();)e.removeChild(e.firstChild);e.removeAttribute("src"),"function"==typeof e.load&&!function(){try{e.load()}catch(e){}}()}},R.resetMediaElement=function(e){if(e){for(var t=e.querySelectorAll("source"),n=t.length;n--;)e.removeChild(t[n]);e.removeAttribute("src"),"function"==typeof e.load&&!function(){try{e.load()}catch(e){}}()}},["paused","currentTime","buffered","volume","muted","poster","preload","autoplay","controls","loop","error","seeking","seekable","ended","defaultMuted","playbackRate","played","networkState","readyState","videoWidth","videoHeight"].forEach(function(e){R.prototype[e]=function(){return this.el_[e]}}),["volume","muted","src","poster","preload","autoplay","loop","playbackRate"].forEach(function(e){R.prototype["set"+(0,D.default)(e)]=function(t){this.el_[e]=t}}),["pause","load"].forEach(function(e){R.prototype[e]=function(){return this.el_[e]()}}),f.default.withSourceHandlers(R),R.nativeSourceHandler={},R.nativeSourceHandler.canPlayType=function(e){try{return R.TEST_VID.canPlayType(e)}catch(e){return""}},R.nativeSourceHandler.canHandleSource=function(e,t){if(e.type)return R.nativeSourceHandler.canPlayType(e.type);if(e.src){var n=g.getFileExtension(e.src);return R.nativeSourceHandler.canPlayType("video/"+n)}return""},R.nativeSourceHandler.handleSource=function(e,t,n){t.setSrc(e.src)},R.nativeSourceHandler.dispose=function(){},R.registerSourceHandler(R.nativeSourceHandler),p.default.registerComponent("Html5",R),f.default.registerTech("Html5",R),t.default=R},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t);
+}t.__esModule=!0;var s=n(8),u=r(s),c=n(154),l=r(c),f=n(131),d=r(f),p=function(e){function t(n,r,a){o(this,t);var s=i(this,e.call(this,n,r,a));if(r.playerOptions.sources&&0!==r.playerOptions.sources.length)n.src(r.playerOptions.sources);else for(var c=0,f=r.playerOptions.techOrder;c<f.length;c++){var p=(0,d.default)(f[c]),h=l.default.getTech(p);if(p||(h=u.default.getComponent(p)),h&&h.isSupported()){n.loadTech_(p);break}}return s}return a(t,e),t}(u.default);u.default.registerComponent("MediaLoader",p),t.default=p},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(318),c=n(320),l=o(c),f=n(77),d=o(f),p=n(33),h=r(p),v=function(e){function t(){var n,r,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i(this,t);var s=(0,d.default)(o,{kind:u.AudioTrackKind[o.kind]||""}),c=n=a(this,e.call(this,s)),l=!1;if(h.IS_IE8)for(var f in t.prototype)"constructor"!==f&&(c[f]=t.prototype[f]);return Object.defineProperty(c,"enabled",{get:function(){return l},set:function(e){"boolean"==typeof e&&e!==l&&(l=e,this.trigger("enabledchange"))}}),s.enabled&&(c.enabled=s.enabled),c.loaded_=!0,r=c,a(n,r)}return s(t,e),t}(l.default);t.default=v},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var a=n(33),s=o(a),u=n(28),c=r(u),l=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];i(this,e);var n=this;if(s.IS_IE8){n=c.default.createElement("custom");for(var r in e.prototype)"constructor"!==r&&(n[r]=e.prototype[r])}n.trackElements_=[],Object.defineProperty(n,"length",{get:function(){return this.trackElements_.length}});for(var o=0,a=t.length;o<a;o++)n.addTrackElement_(t[o]);if(s.IS_IE8)return n}return e.prototype.addTrackElement_=function(e){var t=this.trackElements_.length;""+t in this||Object.defineProperty(this,t,{get:function(){return this.trackElements_[t]}}),this.trackElements_.indexOf(e)===-1&&this.trackElements_.push(e)},e.prototype.getTrackElementByTrack_=function(e){for(var t=void 0,n=0,r=this.trackElements_.length;n<r;n++)if(e===this.trackElements_[n].track){t=this.trackElements_[n];break}return t},e.prototype.removeTrackElement_=function(e){for(var t=0,n=this.trackElements_.length;t<n;t++)if(e===this.trackElements_[t]){this.trackElements_.splice(t,1);break}},e}();t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(33),c=o(u),l=n(28),f=r(l),d=n(203),p=r(d),h=n(317),v=r(h),y=0,g=1,m=2,_=3,b=function(e){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i(this,t);var r=a(this,e.call(this)),o=void 0,s=r;if(c.IS_IE8){s=f.default.createElement("custom");for(var u in t.prototype)"constructor"!==u&&(s[u]=t.prototype[u])}var l=new v.default(n);if(s.kind=l.kind,s.src=l.src,s.srclang=l.language,s.label=l.label,s.default=l.default,Object.defineProperty(s,"readyState",{get:function(){return o}}),Object.defineProperty(s,"track",{get:function(){return l}}),o=y,l.addEventListener("loadeddata",function(){o=m,s.trigger({type:"load",target:s})}),c.IS_IE8){var d;return d=s,a(r,d)}return r}return s(t,e),t}(p.default);b.prototype.allowedEvents_={load:"load"},b.NONE=y,b.LOADING=g,b.LOADED=m,b.ERROR=_,t.default=b},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var a=n(33),s=o(a),u=n(28),c=r(u),l=function(){function e(t){i(this,e);var n=this;if(s.IS_IE8){n=c.default.createElement("custom");for(var r in e.prototype)"constructor"!==r&&(n[r]=e.prototype[r])}if(e.prototype.setCues_.call(n,t),Object.defineProperty(n,"length",{get:function(){return this.length_}}),s.IS_IE8)return n}return e.prototype.setCues_=function(e){var t=this.length||0,n=0,r=e.length;this.cues_=e,this.length_=e.length;var o=function(e){""+e in this||Object.defineProperty(this,""+e,{get:function(){return this.cues_[e]}})};if(t<r)for(n=t;n<r;n++)o.call(this,n)},e.prototype.getCueById=function(e){for(var t=null,n=0,r=this.length;n<r;n++){var o=this[n];if(o.id===e){t=o;break}}return t},e}();t.default=l},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function u(e,t){return"rgba("+parseInt(e[1]+e[1],16)+","+parseInt(e[2]+e[2],16)+","+parseInt(e[3]+e[3],16)+","+t+")"}function c(e,t,n){try{e.style[t]=n}catch(e){return}}t.__esModule=!0;var l=n(8),f=o(l),d=n(19),p=r(d),h=n(30),v=o(h),y="#222",g="#ccc",m={monospace:"monospace",sansSerif:"sans-serif",serif:"serif",monospaceSansSerif:'"Andale Mono", "Lucida Console", monospace',monospaceSerif:'"Courier New", monospace',proportionalSansSerif:"sans-serif",proportionalSerif:"serif",casual:'"Comic Sans MS", Impact, fantasy',script:'"Monotype Corsiva", cursive',smallcaps:'"Andale Mono", "Lucida Console", monospace, sans-serif'},_=function(e){function t(n,r,o){i(this,t);var s=a(this,e.call(this,n,r,o));return n.on("loadstart",p.bind(s,s.toggleDisplay)),n.on("texttrackchange",p.bind(s,s.updateDisplay)),n.ready(p.bind(s,function(){if(n.tech_&&n.tech_.featuresNativeTextTracks)return void this.hide();n.on("fullscreenchange",p.bind(this,this.updateDisplay));for(var e=this.options_.playerOptions.tracks||[],t=0;t<e.length;t++)this.player_.addRemoteTextTrack(e[t],!0);var r={captions:1,subtitles:1},o=this.player_.textTracks(),i=void 0,a=void 0;if(o){for(var s=0;s<o.length;s++){var u=o[s];u.default&&("descriptions"!==u.kind||i?u.kind in r&&!a&&(a=u):i=u)}a?a.mode="showing":i&&(i.mode="showing")}})),s}return s(t,e),t.prototype.toggleDisplay=function(){this.player_.tech_&&this.player_.tech_.featuresNativeTextTracks?this.hide():this.show()},t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-text-track-display"},{"aria-live":"off","aria-atomic":"true"})},t.prototype.clearDisplay=function(){"function"==typeof v.default.WebVTT&&v.default.WebVTT.processCues(v.default,[],this.el_)},t.prototype.updateDisplay=function(){var e=this.player_.textTracks();if(this.clearDisplay(),e){for(var t=null,n=null,r=e.length;r--;){var o=e[r];"showing"===o.mode&&("descriptions"===o.kind?t=o:n=o)}n?("off"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","off"),this.updateForTrack(n)):t&&("assertive"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","assertive"),this.updateForTrack(t))}},t.prototype.updateForTrack=function(e){if("function"==typeof v.default.WebVTT&&e.activeCues){for(var t=this.player_.textTrackSettings.getValues(),n=[],r=0;r<e.activeCues.length;r++)n.push(e.activeCues[r]);v.default.WebVTT.processCues(v.default,n,this.el_);for(var o=n.length;o--;){var i=n[o];if(i){var a=i.displayState;if(t.color&&(a.firstChild.style.color=t.color),t.textOpacity&&c(a.firstChild,"color",u(t.color||"#fff",t.textOpacity)),t.backgroundColor&&(a.firstChild.style.backgroundColor=t.backgroundColor),t.backgroundOpacity&&c(a.firstChild,"backgroundColor",u(t.backgroundColor||"#000",t.backgroundOpacity)),t.windowColor&&(t.windowOpacity?c(a,"backgroundColor",u(t.windowColor,t.windowOpacity)):a.style.backgroundColor=t.windowColor),t.edgeStyle&&("dropshadow"===t.edgeStyle?a.firstChild.style.textShadow="2px 2px 3px "+y+", 2px 2px 4px "+y+", 2px 2px 5px "+y:"raised"===t.edgeStyle?a.firstChild.style.textShadow="1px 1px "+y+", 2px 2px "+y+", 3px 3px "+y:"depressed"===t.edgeStyle?a.firstChild.style.textShadow="1px 1px "+g+", 0 1px "+g+", -1px -1px "+y+", 0 -1px "+y:"uniform"===t.edgeStyle&&(a.firstChild.style.textShadow="0 0 4px "+y+", 0 0 4px "+y+", 0 0 4px "+y+", 0 0 4px "+y)),t.fontPercent&&1!==t.fontPercent){var s=v.default.parseFloat(a.style.fontSize);a.style.fontSize=s*t.fontPercent+"px",a.style.height="auto",a.style.top="auto",a.style.bottom="2px"}t.fontFamily&&"default"!==t.fontFamily&&("small-caps"===t.fontFamily?a.firstChild.style.fontVariant="small-caps":a.firstChild.style.fontFamily=m[t.fontFamily])}}}},t}(f.default);f.default.registerComponent("TextTrackDisplay",_),t.default=_},function(e,t){"use strict";t.__esModule=!0;var n=function(e){var t=["kind","label","language","id","inBandMetadataTrackDispatchType","mode","src"].reduce(function(t,n,r){return e[n]&&(t[n]=e[n]),t},{cues:e.cues&&Array.prototype.map.call(e.cues,function(e){return{startTime:e.startTime,endTime:e.endTime,text:e.text,id:e.id}})});return t},r=function(e){var t=e.$$("track"),r=Array.prototype.map.call(t,function(e){return e.track}),o=Array.prototype.map.call(t,function(e){var t=n(e.track);return e.src&&(t.src=e.src),t});return o.concat(Array.prototype.filter.call(e.textTracks(),function(e){return r.indexOf(e)===-1}).map(n))},o=function(e,t){return e.forEach(function(e){var n=t.addRemoteTextTrack(e).track;!e.src&&e.cues&&e.cues.forEach(function(e){return n.addCue(e)})}),t.textTracks()};t.default={textTracksToJson:r,jsonToTextTracks:o,trackToJson_:n}},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(319),c=o(u),l=n(19),f=r(l),d=n(33),p=r(d),h=n(28),v=o(h),y=function(e){function t(){var n,r,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];i(this,t);var s=void 0;if(p.IS_IE8){s=v.default.createElement("custom");for(var u in c.default.prototype)"constructor"!==u&&(s[u]=c.default.prototype[u]);for(var l in t.prototype)"constructor"!==l&&(s[l]=t.prototype[l])}return s=n=a(this,e.call(this,o,s)),r=s,a(n,r)}return s(t,e),t.prototype.addTrack_=function(t){e.prototype.addTrack_.call(this,t),t.addEventListener("modechange",f.bind(this,function(){this.trigger("change")}))},t}(c.default);t.default=y},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function u(e,t){if(t&&(e=t(e)),e&&"none"!==e)return e}function c(e,t){var n=e.options[e.options.selectedIndex].value;return u(n,t)}function l(e,t,n){if(t)for(var r=0;r<e.options.length;r++)if(u(e.options[r].value,n)===t){e.selectedIndex=r;break}}t.__esModule=!0;var f=n(30),d=o(f),p=n(8),h=o(p),v=n(23),y=n(19),g=r(y),m=n(34),_=r(m),b=n(46),w=o(b),E="vjs-text-track-settings",T=["#000","Black"],S=["#00F","Blue"],C=["#0FF","Cyan"],x=["#0F0","Green"],O=["#F0F","Magenta"],k=["#F00","Red"],M=["#FFF","White"],P=["#FF0","Yellow"],A=["1","Opaque"],I=["0.5","Semi-Transparent"],j=["0","Transparent"],D={backgroundColor:{selector:".vjs-bg-color > select",id:"captions-background-color-%s",label:"Color",options:[T,M,k,x,S,P,O,C]},backgroundOpacity:{selector:".vjs-bg-opacity > select",id:"captions-background-opacity-%s",label:"Transparency",options:[A,I,j]},color:{selector:".vjs-fg-color > select",id:"captions-foreground-color-%s",label:"Color",options:[M,T,k,x,S,P,O,C]},edgeStyle:{selector:".vjs-edge-style > select",id:"%s",label:"Text Edge Style",options:[["none","None"],["raised","Raised"],["depressed","Depressed"],["uniform","Uniform"],["dropshadow","Dropshadow"]]},fontFamily:{selector:".vjs-font-family > select",id:"captions-font-family-%s",label:"Font Family",options:[["proportionalSansSerif","Proportional Sans-Serif"],["monospaceSansSerif","Monospace Sans-Serif"],["proportionalSerif","Proportional Serif"],["monospaceSerif","Monospace Serif"],["casual","Casual"],["script","Script"],["small-caps","Small Caps"]]},fontPercent:{selector:".vjs-font-percent > select",id:"captions-font-size-%s",label:"Font Size",options:[["0.50","50%"],["0.75","75%"],["1.00","100%"],["1.25","125%"],["1.50","150%"],["1.75","175%"],["2.00","200%"],["3.00","300%"],["4.00","400%"]],default:2,parser:function(e){return"1.00"===e?null:Number(e)}},textOpacity:{selector:".vjs-text-opacity > select",id:"captions-foreground-opacity-%s",label:"Transparency",options:[A,I]},windowColor:{selector:".vjs-window-color > select",id:"captions-window-color-%s",label:"Color"},windowOpacity:{selector:".vjs-window-opacity > select",id:"captions-window-opacity-%s",label:"Transparency",options:[j,I,A]}};D.windowColor.options=D.backgroundColor.options;var R=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.setDefaults(),o.hide(),o.updateDisplay=g.bind(o,o.updateDisplay),void 0===r.persistTextTrackSettings&&(o.options_.persistTextTrackSettings=o.options_.playerOptions.persistTextTrackSettings),o.on(o.$(".vjs-done-button"),"click",function(){o.saveSettings(),o.hide()}),o.on(o.$(".vjs-default-button"),"click",function(){o.setDefaults(),o.updateDisplay()}),_.each(D,function(e){o.on(o.$(e.selector),"change",o.updateDisplay)}),o.options_.persistTextTrackSettings&&o.restoreSettings(),o}return s(t,e),t.prototype.createElSelect_=function(e){var t=this,n=D[e],r=n.id.replace("%s",this.id_);return[(0,v.createEl)("label",{className:"vjs-label",textContent:n.label},{for:r}),(0,v.createEl)("select",{id:r},void 0,n.options.map(function(e){return(0,v.createEl)("option",{textContent:t.localize(e[1]),value:e[0]})}))]},t.prototype.createElFgColor_=function(){var e=(0,v.createEl)("legend",{textContent:this.localize("Text")}),t=this.createElSelect_("color"),n=(0,v.createEl)("span",{className:"vjs-text-opacity vjs-opacity"},void 0,this.createElSelect_("textOpacity"));return(0,v.createEl)("fieldset",{className:"vjs-fg-color vjs-tracksetting"},void 0,[e].concat(t,n))},t.prototype.createElBgColor_=function(){var e=(0,v.createEl)("legend",{textContent:this.localize("Background")}),t=this.createElSelect_("backgroundColor"),n=(0,v.createEl)("span",{className:"vjs-bg-opacity vjs-opacity"},void 0,this.createElSelect_("backgroundOpacity"));return(0,v.createEl)("fieldset",{className:"vjs-bg-color vjs-tracksetting"},void 0,[e].concat(t,n))},t.prototype.createElWinColor_=function(){var e=(0,v.createEl)("legend",{textContent:this.localize("Window")}),t=this.createElSelect_("windowColor"),n=(0,v.createEl)("span",{className:"vjs-window-opacity vjs-opacity"},void 0,this.createElSelect_("windowOpacity"));return(0,v.createEl)("fieldset",{className:"vjs-window-color vjs-tracksetting"},void 0,[e].concat(t,n))},t.prototype.createElColors_=function(){return(0,v.createEl)("div",{className:"vjs-tracksettings-colors"},void 0,[this.createElFgColor_(),this.createElBgColor_(),this.createElWinColor_()])},t.prototype.createElFont_=function(){var e=(0,v.createEl)("div",{className:"vjs-font-percent vjs-tracksetting"},void 0,this.createElSelect_("fontPercent")),t=(0,v.createEl)("div",{className:"vjs-edge-style vjs-tracksetting"},void 0,this.createElSelect_("edgeStyle")),n=(0,v.createEl)("div",{className:"vjs-font-family vjs-tracksetting"},void 0,this.createElSelect_("fontFamily"));return(0,v.createEl)("div",{className:"vjs-tracksettings-font"},void 0,[e,t,n])},t.prototype.createElControls_=function(){var e=(0,v.createEl)("button",{className:"vjs-default-button",textContent:this.localize("Defaults")}),t=(0,v.createEl)("button",{className:"vjs-done-button",textContent:"Done"});return(0,v.createEl)("div",{className:"vjs-tracksettings-controls"},void 0,[e,t])},t.prototype.createEl=function(){var e=(0,v.createEl)("div",{className:"vjs-tracksettings"},void 0,[this.createElColors_(),this.createElFont_(),this.createElControls_()]),t=(0,v.createEl)("div",{className:"vjs-control-text",id:"TTsettingsDialogLabel-"+this.id_,textContent:"Caption Settings Dialog"},{"aria-level":"1",role:"heading"}),n=(0,v.createEl)("div",{className:"vjs-control-text",id:"TTsettingsDialogDescription-"+this.id_,textContent:"Beginning of dialog window. Escape will cancel and close the window."}),r=(0,v.createEl)("div",void 0,{role:"document"},[t,n,e]);return(0,v.createEl)("div",{className:"vjs-caption-settings vjs-modal-overlay",tabIndex:-1},{role:"dialog","aria-labelledby":t.id,"aria-describedby":n.id},r)},t.prototype.getValues=function(){var e=this;return _.reduce(D,function(t,n,r){var o=c(e.$(n.selector),n.parser);return void 0!==o&&(t[r]=o),t},{})},t.prototype.setValues=function(e){var t=this;_.each(D,function(n,r){l(t.$(n.selector),e[r],n.parser)})},t.prototype.setDefaults=function(){var e=this;_.each(D,function(t){var n=t.hasOwnProperty("default")?t.default:0;e.$(t.selector).selectedIndex=n})},t.prototype.restoreSettings=function(){var e=void 0;try{e=JSON.parse(d.default.localStorage.getItem(E))}catch(e){w.default.warn(e)}e&&this.setValues(e)},t.prototype.saveSettings=function(){if(this.options_.persistTextTrackSettings){var e=this.getValues();try{Object.keys(e).length?d.default.localStorage.setItem(E,JSON.stringify(e)):d.default.localStorage.removeItem(E)}catch(e){w.default.warn(e)}}},t.prototype.updateDisplay=function(){var e=this.player_.getChild("textTrackDisplay");e&&e.updateDisplay()},t}(h.default);h.default.registerComponent("TextTrackSettings",R),t.default=R},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(318),c=n(320),l=o(c),f=n(77),d=o(f),p=n(33),h=r(p),v=function(e){function t(){var n,r,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i(this,t);var s=(0,d.default)(o,{kind:u.VideoTrackKind[o.kind]||""}),c=n=a(this,e.call(this,s)),l=!1;if(h.IS_IE8)for(var f in t.prototype)"constructor"!==f&&(c[f]=t.prototype[f]);return Object.defineProperty(c,"selected",{get:function(){return l},set:function(e){"boolean"==typeof e&&e!==l&&(l=e,this.trigger("selectedchange"))}}),s.selected&&(c.selected=s.selected),r=c,a(n,r)}return s(t,e),t}(l.default);t.default=v},function(e,t,n){var r=e.exports={WebVTT:n(1207).WebVTT,VTTCue:n(1208).VTTCue,VTTRegion:n(1210).VTTRegion};window.vttjs=r,window.WebVTT=r.WebVTT;var o=r.VTTCue,i=r.VTTRegion,a=window.VTTCue,s=window.VTTRegion;r.shim=function(){window.VTTCue=o,window.VTTRegion=i},r.restore=function(){window.VTTCue=a,window.VTTRegion=s},window.VTTCue||r.shim()},function(e,t){!function(e){function t(e,t){this.name="ParsingError",this.code=e.code,this.message=t||e.message}function n(e){function t(e,t,n,r){return 3600*(0|e)+60*(0|t)+(0|n)+(0|r)/1e3}var n=e.match(/^(\d+):(\d{2})(:\d{2})?\.(\d{3})/);return n?n[3]?t(n[1],n[2],n[3].replace(":",""),n[4]):n[1]>59?t(n[1],n[2],0,n[4]):t(0,n[1],n[2],n[4]):null}function r(){this.values=v(null)}function o(e,t,n,r){var o=r?e.split(r):[e];for(var i in o)if("string"==typeof o[i]){var a=o[i].split(n);if(2===a.length){var s=a[0],u=a[1];t(s,u)}}}function i(e,i,a){function s(){var r=n(e);if(null===r)throw new t(t.Errors.BadTimeStamp,"Malformed timestamp: "+l);return e=e.replace(/^[^\sa-zA-Z-]+/,""),r}function u(e,t){var n=new r;o(e,function(e,t){switch(e){case"region":for(var r=a.length-1;r>=0;r--)if(a[r].id===t){n.set(e,a[r].region);break}break;case"vertical":n.alt(e,t,["rl","lr"]);break;case"line":var o=t.split(","),i=o[0];n.integer(e,i),n.percent(e,i)?n.set("snapToLines",!1):null,n.alt(e,i,["auto"]),2===o.length&&n.alt("lineAlign",o[1],["start","middle","end"]);break;case"position":o=t.split(","),n.percent(e,o[0]),2===o.length&&n.alt("positionAlign",o[1],["start","middle","end"]);break;case"size":n.percent(e,t);break;case"align":n.alt(e,t,["start","middle","end","left","right"])}},/:/,/\s/),t.region=n.get("region",null),t.vertical=n.get("vertical",""),t.line=n.get("line","auto"),t.lineAlign=n.get("lineAlign","start"),t.snapToLines=n.get("snapToLines",!0),t.size=n.get("size",100),t.align=n.get("align","middle"),t.position=n.get("position",{start:0,left:0,middle:50,end:100,right:100},t.align),t.positionAlign=n.get("positionAlign",{start:"start",left:"start",middle:"middle",end:"end",right:"end"},t.align)}function c(){e=e.replace(/^\s+/,"")}var l=e;if(c(),i.startTime=s(),c(),"-->"!==e.substr(0,3))throw new t(t.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '-->'): "+l);e=e.substr(3),c(),i.endTime=s(),c(),u(e,i)}function a(e,t){function r(){function e(e){return t=t.substr(e.length),e}if(!t)return null;var n=t.match(/^([^<]*)(<[^>]+>?)?/);return e(n[1]?n[1]:n[2])}function o(e){return y[e]}function i(e){for(;h=e.match(/&(amp|lt|gt|lrm|rlm|nbsp);/);)e=e.replace(h[0],o);return e}function a(e,t){return!_[t.localName]||_[t.localName]===e.localName}function s(t,n){var r=g[t];if(!r)return null;var o=e.document.createElement(r);o.localName=r;var i=m[t];return i&&n&&(o[i]=n.trim()),o}for(var u,c=e.document.createElement("div"),l=c,f=[];null!==(u=r());)if("<"!==u[0])l.appendChild(e.document.createTextNode(i(u)));else{if("/"===u[1]){f.length&&f[f.length-1]===u.substr(2).replace(">","")&&(f.pop(),l=l.parentNode);continue}var d,p=n(u.substr(1,u.length-2));if(p){d=e.document.createProcessingInstruction("timestamp",p),l.appendChild(d);continue}var h=u.match(/^<([^.\s\/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!h)continue;if(d=s(h[1],h[3]),!d)continue;if(!a(l,d))continue;h[2]&&(d.className=h[2].substr(1).replace("."," ")),f.push(h[1]),l.appendChild(d),l=d}return c}function s(e){for(var t=0;t<b.length;t++){var n=b[t];if(e>=n[0]&&e<=n[1])return!0}return!1}function u(e){function t(e,t){for(var n=t.childNodes.length-1;n>=0;n--)e.push(t.childNodes[n])}function n(e){if(!e||!e.length)return null;var r=e.pop(),o=r.textContent||r.innerText;if(o){var i=o.match(/^.*(\n|\r)/);return i?(e.length=0,i[0]):o}return"ruby"===r.tagName?n(e):r.childNodes?(t(e,r),n(e)):void 0}var r,o=[],i="";if(!e||!e.childNodes)return"ltr";for(t(o,e);i=n(o);)for(var a=0;a<i.length;a++)if(r=i.charCodeAt(a),s(r))return"rtl";return"ltr"}function c(e){if("number"==typeof e.line&&(e.snapToLines||e.line>=0&&e.line<=100))return e.line;if(!e.track||!e.track.textTrackList||!e.track.textTrackList.mediaElement)return-1;for(var t=e.track,n=t.textTrackList,r=0,o=0;o<n.length&&n[o]!==t;o++)"showing"===n[o].mode&&r++;return++r*-1}function l(){}function f(e,t,n){var r=/MSIE\s8\.0/.test(navigator.userAgent),o="rgba(255, 255, 255, 1)",i="rgba(0, 0, 0, 0.8)";r&&(o="rgb(255, 255, 255)",i="rgb(0, 0, 0)"),l.call(this),this.cue=t,this.cueDiv=a(e,t.text);var s={color:o,backgroundColor:i,position:"relative",left:0,right:0,top:0,bottom:0,display:"inline"};r||(s.writingMode=""===t.vertical?"horizontal-tb":"lr"===t.vertical?"vertical-lr":"vertical-rl",s.unicodeBidi="plaintext"),this.applyStyles(s,this.cueDiv),this.div=e.document.createElement("div"),s={textAlign:"middle"===t.align?"center":t.align,font:n.font,whiteSpace:"pre-line",position:"absolute"},r||(s.direction=u(this.cueDiv),s.writingMode=""===t.vertical?"horizontal-tb":"lr"===t.vertical?"vertical-lr":"vertical-rl".stylesunicodeBidi="plaintext"),this.applyStyles(s),this.div.appendChild(this.cueDiv);var c=0;switch(t.positionAlign){case"start":c=t.position;break;case"middle":c=t.position-t.size/2;break;case"end":c=t.position-t.size}""===t.vertical?this.applyStyles({left:this.formatStyle(c,"%"),width:this.formatStyle(t.size,"%")}):this.applyStyles({top:this.formatStyle(c,"%"),height:this.formatStyle(t.size,"%")}),this.move=function(e){this.applyStyles({top:this.formatStyle(e.top,"px"),bottom:this.formatStyle(e.bottom,"px"),left:this.formatStyle(e.left,"px"),right:this.formatStyle(e.right,"px"),height:this.formatStyle(e.height,"px"),width:this.formatStyle(e.width,"px")})}}function d(e){var t,n,r,o,i=/MSIE\s8\.0/.test(navigator.userAgent);if(e.div){n=e.div.offsetHeight,r=e.div.offsetWidth,o=e.div.offsetTop;var a=(a=e.div.childNodes)&&(a=a[0])&&a.getClientRects&&a.getClientRects();e=e.div.getBoundingClientRect(),t=a?Math.max(a[0]&&a[0].height||0,e.height/a.length):0}this.left=e.left,this.right=e.right,this.top=e.top||o,this.height=e.height||n,this.bottom=e.bottom||o+(e.height||n),this.width=e.width||r,this.lineHeight=void 0!==t?t:e.lineHeight,i&&!this.lineHeight&&(this.lineHeight=13)}function p(e,t,n,r){function o(e,t){for(var o,i=new d(e),a=1,s=0;s<t.length;s++){for(;e.overlapsOppositeAxis(n,t[s])||e.within(n)&&e.overlapsAny(r);)e.move(t[s]);if(e.within(n))return e;var u=e.intersectPercentage(n);a>u&&(o=new d(e),a=u),e=new d(i)}return o||i}var i=new d(t),a=t.cue,s=c(a),u=[];if(a.snapToLines){var l;switch(a.vertical){case"":u=["+y","-y"],l="height";break;case"rl":u=["+x","-x"],l="width";break;case"lr":u=["-x","+x"],l="width"}var f=i.lineHeight,p=f*Math.round(s),h=n[l]+f,v=u[0];Math.abs(p)>h&&(p=p<0?-1:1,p*=Math.ceil(h/f)*f),s<0&&(p+=""===a.vertical?n.height:n.width,u=u.reverse()),i.move(v,p)}else{var y=i.lineHeight/n.height*100;switch(a.lineAlign){case"middle":s-=y/2;break;case"end":s-=y}switch(a.vertical){case"":t.applyStyles({top:t.formatStyle(s,"%")});break;case"rl":t.applyStyles({left:t.formatStyle(s,"%")});break;case"lr":t.applyStyles({right:t.formatStyle(s,"%")})}u=["+y","-x","+x","-y"],i=new d(t)}var g=o(i,u);t.move(g.toCSSCompatValues(n))}function h(){}var v=Object.create||function(){function e(){}return function(t){if(1!==arguments.length)throw new Error("Object.create shim only accepts one parameter.");return e.prototype=t,new e}}();t.prototype=v(Error.prototype),t.prototype.constructor=t,t.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}},r.prototype={set:function(e,t){this.get(e)||""===t||(this.values[e]=t)},get:function(e,t,n){return n?this.has(e)?this.values[e]:t[n]:this.has(e)?this.values[e]:t},has:function(e){return e in this.values},alt:function(e,t,n){for(var r=0;r<n.length;++r)if(t===n[r]){this.set(e,t);break}},integer:function(e,t){/^-?\d+$/.test(t)&&this.set(e,parseInt(t,10))},percent:function(e,t){var n;return!!((n=t.match(/^([\d]{1,3})(\.[\d]*)?%$/))&&(t=parseFloat(t),t>=0&&t<=100))&&(this.set(e,t),!0)}};var y={"&amp;":"&","&lt;":"<","&gt;":">","&lrm;":"‎","&rlm;":"‏","&nbsp;":" "},g={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},m={v:"title",lang:"lang"},_={rt:"ruby"},b=[[1470,1470],[1472,1472],[1475,1475],[1478,1478],[1488,1514],[1520,1524],[1544,1544],[1547,1547],[1549,1549],[1563,1563],[1566,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],[1969,1969],[1984,2026],[2036,2037],[2042,2042],[2048,2069],[2074,2074],[2084,2084],[2088,2088],[2096,2110],[2112,2136],[2142,2142],[2208,2208],[2210,2220],[8207,8207],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64449],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[67584,67589],[67592,67592],[67594,67637],[67639,67640],[67644,67644],[67647,67669],[67671,67679],[67840,67867],[67872,67897],[67903,67903],[67968,68023],[68030,68031],[68096,68096],[68112,68115],[68117,68119],[68121,68147],[68160,68167],[68176,68184],[68192,68223],[68352,68405],[68416,68437],[68440,68466],[68472,68479],[68608,68680],[126464,126467],[126469,126495],[126497,126498],[126500,126500],[126503,126503],[126505,126514],[126516,126519],[126521,126521],[126523,126523],[126530,126530],[126535,126535],[126537,126537],[126539,126539],[126541,126543],[126545,126546],[126548,126548],[126551,126551],[126553,126553],[126555,126555],[126557,126557],[126559,126559],[126561,126562],[126564,126564],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126590,126590],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[1114109,1114109]];l.prototype.applyStyles=function(e,t){t=t||this.div;for(var n in e)e.hasOwnProperty(n)&&(t.style[n]=e[n])},l.prototype.formatStyle=function(e,t){return 0===e?0:e+t},f.prototype=v(l.prototype),f.prototype.constructor=f,d.prototype.move=function(e,t){switch(t=void 0!==t?t:this.lineHeight,e){case"+x":this.left+=t,this.right+=t;break;case"-x":this.left-=t,this.right-=t;break;case"+y":this.top+=t,this.bottom+=t;
+break;case"-y":this.top-=t,this.bottom-=t}},d.prototype.overlaps=function(e){return this.left<e.right&&this.right>e.left&&this.top<e.bottom&&this.bottom>e.top},d.prototype.overlapsAny=function(e){for(var t=0;t<e.length;t++)if(this.overlaps(e[t]))return!0;return!1},d.prototype.within=function(e){return this.top>=e.top&&this.bottom<=e.bottom&&this.left>=e.left&&this.right<=e.right},d.prototype.overlapsOppositeAxis=function(e,t){switch(t){case"+x":return this.left<e.left;case"-x":return this.right>e.right;case"+y":return this.top<e.top;case"-y":return this.bottom>e.bottom}},d.prototype.intersectPercentage=function(e){var t=Math.max(0,Math.min(this.right,e.right)-Math.max(this.left,e.left)),n=Math.max(0,Math.min(this.bottom,e.bottom)-Math.max(this.top,e.top)),r=t*n;return r/(this.height*this.width)},d.prototype.toCSSCompatValues=function(e){return{top:this.top-e.top,bottom:e.bottom-this.bottom,left:this.left-e.left,right:e.right-this.right,height:this.height,width:this.width}},d.getSimpleBoxPosition=function(e){var t=e.div?e.div.offsetHeight:e.tagName?e.offsetHeight:0,n=e.div?e.div.offsetWidth:e.tagName?e.offsetWidth:0,r=e.div?e.div.offsetTop:e.tagName?e.offsetTop:0;e=e.div?e.div.getBoundingClientRect():e.tagName?e.getBoundingClientRect():e;var o={left:e.left,right:e.right,top:e.top||r,height:e.height||t,bottom:e.bottom||r+(e.height||t),width:e.width||n};return o},h.StringDecoder=function(){return{decode:function(e){if(!e)return"";if("string"!=typeof e)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(e))}}},h.convertCueToDOMTree=function(e,t){return e&&t?a(e,t):null};var w=.05,E="sans-serif",T="1.5%";h.processCues=function(e,t,n){function r(e){for(var t=0;t<e.length;t++)if(e[t].hasBeenReset||!e[t].displayState)return!0;return!1}if(!e||!t||!n)return null;for(;n.firstChild;)n.removeChild(n.firstChild);var o=e.document.createElement("div");if(o.style.position="absolute",o.style.left="0",o.style.right="0",o.style.top="0",o.style.bottom="0",o.style.margin=T,n.appendChild(o),r(t)){var i=[],a=d.getSimpleBoxPosition(o),s=Math.round(a.height*w*100)/100,u={font:s+"px "+E};!function(){for(var n,r,s=0;s<t.length;s++)r=t[s],n=new f(e,r,u),o.appendChild(n.div),p(e,n,a,i),r.displayState=n.div,i.push(d.getSimpleBoxPosition(n))}()}else for(var c=0;c<t.length;c++)o.appendChild(t[c].displayState)},h.Parser=function(e,t,n){n||(n=t,t={}),t||(t={}),this.window=e,this.vttjs=t,this.state="INITIAL",this.buffer="",this.decoder=n||new TextDecoder("utf8"),this.regionList=[]},h.Parser.prototype={reportOrThrowError:function(e){if(!(e instanceof t))throw e;this.onparsingerror&&this.onparsingerror(e)},parse:function(e){function a(){for(var e=l.buffer,t=0;t<e.length&&"\r"!==e[t]&&"\n"!==e[t];)++t;var n=e.substr(0,t);return"\r"===e[t]&&++t,"\n"===e[t]&&++t,l.buffer=e.substr(t),n}function s(e){var t=new r;if(o(e,function(e,n){switch(e){case"id":t.set(e,n);break;case"width":t.percent(e,n);break;case"lines":t.integer(e,n);break;case"regionanchor":case"viewportanchor":var o=n.split(",");if(2!==o.length)break;var i=new r;if(i.percent("x",o[0]),i.percent("y",o[1]),!i.has("x")||!i.has("y"))break;t.set(e+"X",i.get("x")),t.set(e+"Y",i.get("y"));break;case"scroll":t.alt(e,n,["up"])}},/=/,/\s/),t.has("id")){var n=new(l.vttjs.VTTRegion||l.window.VTTRegion);n.width=t.get("width",100),n.lines=t.get("lines",3),n.regionAnchorX=t.get("regionanchorX",0),n.regionAnchorY=t.get("regionanchorY",100),n.viewportAnchorX=t.get("viewportanchorX",0),n.viewportAnchorY=t.get("viewportanchorY",100),n.scroll=t.get("scroll",""),l.onregion&&l.onregion(n),l.regionList.push({id:t.get("id"),region:n})}}function u(e){var t=new r;o(e,function(e,r){switch(e){case"MPEGT":t.integer(e+"S",r);break;case"LOCA":t.set(e+"L",n(r))}},/[^\d]:/,/,/),l.ontimestampmap&&l.ontimestampmap({MPEGTS:t.get("MPEGTS"),LOCAL:t.get("LOCAL")})}function c(e){e.match(/X-TIMESTAMP-MAP/)?o(e,function(e,t){switch(e){case"X-TIMESTAMP-MAP":u(t)}},/=/):o(e,function(e,t){switch(e){case"Region":s(t)}},/:/)}var l=this;e&&(l.buffer+=l.decoder.decode(e,{stream:!0}));try{var f;if("INITIAL"===l.state){if(!/\r\n|\n/.test(l.buffer))return this;f=a();var d=f.match(/^WEBVTT([ \t].*)?$/);if(!d||!d[0])throw new t(t.Errors.BadSignature);l.state="HEADER"}for(var p=!1;l.buffer;){if(!/\r\n|\n/.test(l.buffer))return this;switch(p?p=!1:f=a(),l.state){case"HEADER":/:/.test(f)?c(f):f||(l.state="ID");continue;case"NOTE":f||(l.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(f)){l.state="NOTE";break}if(!f)continue;if(l.cue=new(l.vttjs.VTTCue||l.window.VTTCue)(0,0,""),l.state="CUE",f.indexOf("-->")===-1){l.cue.id=f;continue}case"CUE":try{i(f,l.cue,l.regionList)}catch(e){l.reportOrThrowError(e),l.cue=null,l.state="BADCUE";continue}l.state="CUETEXT";continue;case"CUETEXT":var h=f.indexOf("-->")!==-1;if(!f||h&&(p=!0)){l.oncue&&l.oncue(l.cue),l.cue=null,l.state="ID";continue}l.cue.text&&(l.cue.text+="\n"),l.cue.text+=f;continue;case"BADCUE":f||(l.state="ID");continue}}}catch(e){l.reportOrThrowError(e),"CUETEXT"===l.state&&l.cue&&l.oncue&&l.oncue(l.cue),l.cue=null,l.state="INITIAL"===l.state?"BADWEBVTT":"BADCUE"}return this},flush:function(){var e=this;try{if(e.buffer+=e.decoder.decode(),(e.cue||"HEADER"===e.state)&&(e.buffer+="\n\n",e.parse()),"INITIAL"===e.state)throw new t(t.Errors.BadSignature)}catch(t){e.reportOrThrowError(t)}return e.onflush&&e.onflush(),this}},e.WebVTT=h}(this,this.vttjs||{})},function(e,t,n){"undefined"!=typeof e&&e.exports&&(this.VTTCue=this.VTTCue||n(1209).VTTCue),function(e){e.VTTCue.prototype.toJSON=function(){var e={},t=this;return Object.keys(this).forEach(function(n){"getCueAsHTML"!==n&&"hasBeenReset"!==n&&"displayState"!==n&&(e[n]=t[n])}),e},e.VTTCue.create=function(t){if(!t.hasOwnProperty("startTime")||!t.hasOwnProperty("endTime")||!t.hasOwnProperty("text"))throw new Error("You must at least have start time, end time, and text.");var n=new e.VTTCue(t.startTime,t.endTime,t.text);for(var r in t)n.hasOwnProperty(r)&&(n[r]=t[r]);return n},e.VTTCue.fromJSON=function(e){return this.create(JSON.parse(e))}}(this)},function(e,t){!function(e,t){function n(e){if("string"!=typeof e)return!1;var t=s[e.toLowerCase()];return!!t&&e.toLowerCase()}function r(e){if("string"!=typeof e)return!1;var t=u[e.toLowerCase()];return!!t&&e.toLowerCase()}function o(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}function i(e,t,i){var s=this,u=/MSIE\s8\.0/.test(navigator.userAgent),c={};u?s=document.createElement("custom"):c.enumerable=!0,s.hasBeenReset=!1;var l="",f=!1,d=e,p=t,h=i,v=null,y="",g=!0,m="auto",_="start",b=50,w="middle",E=50,T="middle";if(Object.defineProperty(s,"id",o({},c,{get:function(){return l},set:function(e){l=""+e}})),Object.defineProperty(s,"pauseOnExit",o({},c,{get:function(){return f},set:function(e){f=!!e}})),Object.defineProperty(s,"startTime",o({},c,{get:function(){return d},set:function(e){if("number"!=typeof e)throw new TypeError("Start time must be set to a number.");d=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"endTime",o({},c,{get:function(){return p},set:function(e){if("number"!=typeof e)throw new TypeError("End time must be set to a number.");p=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"text",o({},c,{get:function(){return h},set:function(e){h=""+e,this.hasBeenReset=!0}})),Object.defineProperty(s,"region",o({},c,{get:function(){return v},set:function(e){v=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"vertical",o({},c,{get:function(){return y},set:function(e){var t=n(e);if(t===!1)throw new SyntaxError("An invalid or illegal string was specified.");y=t,this.hasBeenReset=!0}})),Object.defineProperty(s,"snapToLines",o({},c,{get:function(){return g},set:function(e){g=!!e,this.hasBeenReset=!0}})),Object.defineProperty(s,"line",o({},c,{get:function(){return m},set:function(e){if("number"!=typeof e&&e!==a)throw new SyntaxError("An invalid number or illegal string was specified.");m=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"lineAlign",o({},c,{get:function(){return _},set:function(e){var t=r(e);if(!t)throw new SyntaxError("An invalid or illegal string was specified.");_=t,this.hasBeenReset=!0}})),Object.defineProperty(s,"position",o({},c,{get:function(){return b},set:function(e){if(e<0||e>100)throw new Error("Position must be between 0 and 100.");b=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"positionAlign",o({},c,{get:function(){return w},set:function(e){var t=r(e);if(!t)throw new SyntaxError("An invalid or illegal string was specified.");w=t,this.hasBeenReset=!0}})),Object.defineProperty(s,"size",o({},c,{get:function(){return E},set:function(e){if(e<0||e>100)throw new Error("Size must be between 0 and 100.");E=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"align",o({},c,{get:function(){return T},set:function(e){var t=r(e);if(!t)throw new SyntaxError("An invalid or illegal string was specified.");T=t,this.hasBeenReset=!0}})),s.displayState=void 0,u)return s}var a="auto",s={"":!0,lr:!0,rl:!0},u={start:!0,middle:!0,end:!0,left:!0,right:!0};i.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},e.VTTCue=e.VTTCue||i,t.VTTCue=i}(this,this.vttjs||{})},function(e,t,n){"undefined"!=typeof e&&e.exports&&(this.VTTRegion=n(1211).VTTRegion),function(e){e.VTTRegion.create=function(t){var n=new e.VTTRegion;for(var r in t)n.hasOwnProperty(r)&&(n[r]=t[r]);return n},e.VTTRegion.fromJSON=function(e){return this.create(JSON.parse(e))}}(this)},function(e,t){!function(e,t){function n(e){if("string"!=typeof e)return!1;var t=i[e.toLowerCase()];return!!t&&e.toLowerCase()}function r(e){return"number"==typeof e&&e>=0&&e<=100}function o(){var e=100,t=3,o=0,i=100,a=0,s=100,u="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return e},set:function(t){if(!r(t))throw new Error("Width must be between 0 and 100.");e=t}},lines:{enumerable:!0,get:function(){return t},set:function(e){if("number"!=typeof e)throw new TypeError("Lines must be set to a number.");t=e}},regionAnchorY:{enumerable:!0,get:function(){return i},set:function(e){if(!r(e))throw new Error("RegionAnchorX must be between 0 and 100.");i=e}},regionAnchorX:{enumerable:!0,get:function(){return o},set:function(e){if(!r(e))throw new Error("RegionAnchorY must be between 0 and 100.");o=e}},viewportAnchorY:{enumerable:!0,get:function(){return s},set:function(e){if(!r(e))throw new Error("ViewportAnchorY must be between 0 and 100.");s=e}},viewportAnchorX:{enumerable:!0,get:function(){return a},set:function(e){if(!r(e))throw new Error("ViewportAnchorX must be between 0 and 100.");a=e}},scroll:{enumerable:!0,get:function(){return u},set:function(e){var t=n(e);if(t===!1)throw new SyntaxError("An invalid or illegal string was specified.");u=t}}})}var i={"":!0,up:!0};e.VTTRegion=e.VTTRegion||o,t.VTTRegion=o}(this,this.vttjs||{})},function(e,t){function n(){for(var e={},t=0;t<arguments.length;t++){var n=arguments[t];for(var o in n)r.call(n,o)&&(e[o]=n[o])}return e}e.exports=n;var r=Object.prototype.hasOwnProperty},function(e,t){},1213,,,,,,,,,,,,,,,,function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(9),a=o(i),s=n(4),u=o(s),c=n(5),l=o(c),f=n(7),d=o(f),p=n(6),h=o(p),v=n(1),y=o(v),g=n(36),m=n(209),b=n(336),w=r(b),E=n(499),T=o(E),S=function(e,t){return{assessmentProgress:e.assessmentProgress.toJS(),checkButtonText:w.checkButtonText(e,t),questionsPerPage:e.settings.questions_per_page||w.questionCount(e,t),questionResults:w.questionResults(e,t),isCheckingAnswer:w.isCheckingAnswer(e,t),unlockNext:e.settings.unlock_next,requireNAnswers:e.assessment.requireNAnswers,correctItemCount:w.correctItemCount(e,t)}},C=y.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 92 92"},y.default.createElement("path",{d:"M46.1,82.3H41.9l-3.1-.3-3.8-.8-2.1-.7L31.7,80l-1.1-.5A35.7,35.7,0,0,1,21,73.7,37.8,37.8,0,0,1,7.6,49.1l-.2-2V41A32.7,32.7,0,0,1,8,36.8l.4-2.1c.1-.7.4-1.4.6-2a40.3,40.3,0,0,1,8.7-15,41,41,0,0,1,14.5-10l2.1-.8,2.1-.6a34.1,34.1,0,0,1,4.3-1L41.9,5h1.1l2.2-.2h6.3l2.2.3,2.1.4,2,.4,2,.6,2,.6,1.9.7,1.8.8a42.5,42.5,0,0,1,12.2,8.7,41.3,41.3,0,0,1,7.5,10.5l.7,1.3.5,1.3,1,2.4c.5,1.6.9,3.1,1.3,4.4l.7,3.7c.2,1.1.2,2,.3,2.8L90,46a7.5,7.5,0,1,1-15,1.2q0-.3,0-.6V44.5a17.6,17.6,0,0,0,0-1.8l-.2-2.5c-.2-.9-.4-1.9-.6-3.1l-.5-1.7-.3-.9-.4-.9a28.1,28.1,0,0,0-4.5-7.7,30.3,30.3,0,0,0-8.2-7l-1.3-.7-1.3-.7-1.4-.6-1.4-.5-1.5-.5-1.5-.4-1.4-.3-.7-.2h-.9l-1.9-.2H42a25,25,0,0,0-3.4.5l-1.7.3-1.7.5a32.8,32.8,0,0,0-12.2,6.9,33.5,33.5,0,0,0-8.2,11.8c-.2.6-.5,1.1-.7,1.7l-.5,1.7a27.4,27.4,0,0,0-.8,3.4l-.2.8v1l-.2,1.9v3.5a33.9,33.9,0,0,0,3.1,13.2A34.9,34.9,0,0,0,22.5,72a33.8,33.8,0,0,0,8.6,6.3l1,.6,1.1.4,2,.8,3.7,1.1,3,.6,2.3.3Z"})),x=function(e){function t(){return(0,u.default)(this,t),(0,d.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,h.default)(t,e),(0,l.default)(t,[{key:"shouldEnable",value:function(){var e=this.props.requireNAnswers;if(e!==-1){var t=this.props.correctItemCount,n=e-t;if(0==n)return!1}var r=this.props.questionResults,o=this.props.questionsPerPage;switch(this.props.unlockNext){case"ON_CORRECT":var i=_.find(r,function(e){return!e.correct});return!_.isUndefined(i)||_.compact(_.values(r)).length!==o;case"ON_ANSWER_CHECK":return _.compact(_.values(r)).length!==o;default:return!1}}},{key:"click",value:function(){var e=_.range(this.props.assessmentProgress.currentItemIndex,this.props.assessmentProgress.currentItemIndex+this.props.questionsPerPage);this.props.checkAnswer(e)}},{key:"render",value:function(){var e=this,t="",n=null;return this.props.isCheckingAnswer&&(t=" c-btn--loading",n=C),y.default.createElement(T.default,{buttonClass:"c-btn c-btn--check-answer"+t,buttonText:this.props.checkButtonText,disabled:!this.shouldEnable(),onClick:function(){return e.click()}},n)}}]),t}(y.default.Component);t.default=(0,g.connect)(S,{checkAnswer:m.checkAnswer})(x)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.PrevButton=t.NextButton=void 0;var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),c=r(u),l=n(7),f=r(l),d=n(6),p=r(d),h=n(1),v=r(h),y=n(36),g=n(209),m=n(336),_=n(156),b=r(_),w=n(499),E=r(w),T=function(e,t){return{localizedStrings:(0,b.default)(e,t).twoButtonNav,questionsPerPage:e.settings.questions_per_page||(0,m.questionCount)(e,t),isNextUnlocked:(0,m.isNextUnlocked)(e,t),isPrevUnlocked:(0,m.isPrevUnlocked)(e,t),isFirstPage:(0,m.isFirstPage)(e,t),isLastPage:(0,m.isLastPage)(e,t)}},S=v.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48"},v.default.createElement("path",{d:"M14.83 16.42l9.17 9.17 9.17-9.17 2.83 2.83-12 12-12-12z"})),C=function(e){function t(){return(0,s.default)(this,t),(0,f.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,c.default)(t,[{key:"click",value:function(){this.props.nextQuestions(this.props.questionsPerPage)}},{key:"render",value:function(){var e=this,t=this.props,n=!t.isNextUnlocked||t.isLastPage;return v.default.createElement(E.default,{buttonClass:"c-btn c-btn--next",buttonText:this.props.localizedStrings.nextButton,disabled:n,onClick:function(){return e.click()}},S)}}]),t}(v.default.Component),x=function(e){function t(){return(0,s.default)(this,t),(0,f.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,c.default)(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.isPrevUnlocked,r=t.isFirstPage,o=!n||r;return v.default.createElement(E.default,{buttonClass:"c-btn c-btn--previous",buttonText:this.props.localizedStrings.previousButton,disabled:o,onClick:function(){return e.props.previousQuestions(e.props.questionsPerPage)}},S)}}]),t}(v.default.Component);t.NextButton=(0,y.connect)(T,{nextQuestions:g.nextQuestions})(C),t.PrevButton=(0,y.connect)(T,{previousQuestions:g.previousQuestions})(x)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.PRIMARY_ACTION=t.SECONDARY_ACTION=void 0;var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),c=r(u),l=n(7),f=r(l),d=n(6),p=r(d),h=n(1),v=r(h),y=n(499),g=r(y),m=n(1230),_=r(m),b=n(1231),w=t.SECONDARY_ACTION={PREV:"PREV",NONE:"NONE"},E=t.PRIMARY_ACTION={NEXT:"NEXT",CHECK_ANSWERS:"CHECK_ANSWERS",SUBMIT:"SUBMIT"},T=v.default.createElement(b.NextButton,null),S=v.default.createElement(_.default,null),C=v.default.createElement(b.PrevButton,null),x=function(e){function t(){return(0,s.default)(this,t),(0,f.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,c.default)(t,[{key:"primaryButton",value:function(e){switch(e.primaryAction){case E.NEXT:return T;case E.CHECK_ANSWERS:return S;case E.SUBMIT:return v.default.createElement(g.default,{buttonClass:"c-btn c-btn--finish",buttonText:e.localizedStrings.submitButton,onClick:e.submitAssessment})}}},{key:"secondaryButton",value:function(e){if(e.secondaryAction.buttonState===w.PREV)return C}},{key:"render",value:function(){return v.default.createElement("div",{className:"c-assessment-navigation"},v.default.createElement("div",{className:"c-button-slot"},this.secondaryButton(this.props)),v.default.createElement("div",{className:"c-button-slot"},this.primaryButton(this.props)))}}]),t}(v.default.Component);t.default=x},,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return{type:s.APP_DISPLAY_ERROR,message:e,error:t}}Object.defineProperty(t,"__esModule",{value:!0}),t.Constants=void 0,t.displayError=o;var i=n(56),a=r(i),s=t.Constants=(0,a.default)(["APP_DISPLAY_ERROR"],[])},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.loadAssessmentMeta=t.Constants=void 0;var o=n(56),i=r(o),a=[],s=["LOAD_ASSESSMENT_META"],u=t.Constants=(0,i.default)(a,s);t.loadAssessmentMeta=function(){return{type:u.LOAD_ASSESSMENT_META}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return{type:h.AUDIO_PLAY,mediaTime:t,mediaId:e}}function i(e,t){return{type:h.AUDIO_PAUSE,mediaTime:t,mediaId:e}}function a(e,t){return{type:h.AUDIO_ENDED,mediaTime:t,mediaId:e}}function s(e,t){return{type:h.VIDEO_PLAY,mediaTime:t,mediaId:e}}function u(e,t){return{type:h.VIDEO_PAUSE,mediaTime:t,mediaId:e}}function c(e,t){return{type:h.VIDEO_ENDED,mediaTime:t,mediaId:e}}function l(){return{type:h.AUDIO_RECORD_START}}function f(e){return{type:h.AUDIO_RECORD_STOP,mediaTime:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Constants=void 0,t.audioPlay=o,t.audioPause=i,t.audioEnded=a,t.videoPlay=s,t.videoPause=u,t.videoEnded=c,t.audioRecordStart=l,t.audioRecordStop=f;var d=n(56),p=r(d),h=t.Constants=(0,p.default)([],["AUDIO_PLAY","AUDIO_RECORD_START","AUDIO_RECORD_STOP","AUDIO_PAUSE","AUDIO_ENDED","VIDEO_PLAY","VIDEO_PAUSE","VIDEO_ENDED"])},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n,r,o,i){var u=e.getState(),c=a.default.execRequest(n,r,u.settings.api_url,u.jwt,u.settings.csrf_token,o,i);c&&c.then(function(n,r){e.dispatch({type:t.type+s.DONE,payload:n.body,original:t,response:n,error:r})})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(339),a=r(i),s=n(56)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return e.some(function(e){return!g.default.isEmpty(e)||e instanceof Blob})}function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{"X-Api-Proxy":e.settings.eid,"X-API-LOCALE":t.locale||e.locale||e.settings.locale}}function a(e,t){var n=(0,P.transformItem)(e),r=(0,j.default)(t);switch(n.question_type){case"text_input_question":case"text_only_question":case"short_answer_question":case"survey_question":case"numerical_input_question":return r.middleware.mustEnterAnswer;case"file_upload_question":return r.middleware.mustUploadFile;case"audio_upload_question":return r.middleware.mustRecordFile;default:return r.middleware.mustSelectAnswer}}function s(e,t){var n=t.json.genusTypeId;n&&n.startsWith("question")?n=n.replace("question","answer"):console.error("Couldn't get the question type");var r=(0,P.transformItem)(t);switch(r.question_type){case"short_answer_question":var o=g.default.isEmpty(e)?"":e.reduce(function(e,t){return e+t});return{type:n,text:o};case"fill_the_blank_question":return{type:n,inlineRegions:(0,v.default)({},r.question_meta.responseIdentifier,{choiceIds:e})};case"numerical_input_question":case"text_input_question":return(0,v.default)({type:n},r.question_meta.responseIdentifier,e[0]||"");case"file_upload_question":case"audio_upload_question":if(g.default.isEmpty(e))return null;var i=new FormData;return i.append("submission",e[0]),e.length>1&&console.error("Only one form submission is supported!"),i;case"movable_words_sandbox":var a=e.filter(function(e){return e instanceof Blob}),s=new FormData;return s.append("submission",g.default.last(a)),s;case"clix_drag_and_drop":return{type:n,coordinateConditions:g.default.map(e,function(e){return{containerId:e.containerId,droppableId:e.droppableId,coordinateValues:e.coordinateValues}})};default:return{type:n,choiceIds:e}}}function u(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return _.default.post(t,e.settings.api_url,e.jwt,e.settings.csrf_token,o,n,g.default.merge(i(e),r))}function c(e,t){var n=e.getState(),r=n.assessmentProgress.get("currentItemIndex"),i=g.default.range(r,r+n.settings.questions_per_page);return g.default.map(i,function(r){var c=n.assessment.items[r],l=n.assessmentProgress.getIn(["responses",""+r]);l=l?l.toJS():[];var f="assessment/banks/"+n.settings.bank+"/assessmentstaken/"+n.assessmentMeta.id+"/questions/"+c.json.id+"/submit",d=s(l,c);if(e.dispatch({type:S.Constants.CHECK_QUESTIONS,numQuestions:i.length}),!o(l)){var p={feedback:"<p>"+a(c,n)+"</p>",correct:!1,userInput:l};return e.dispatch({type:S.Constants.ASSESSMENT_CHECK_ANSWER_DONE,payload:p,userInput:l,questionIndex:r,original:t}),null}var h=u(n,f,d);return h?(h.then(function(n){var o={correct:n.body.correct,feedback:(0,k.parseFeedback)(n.body.feedback),userInput:l};e.dispatch({type:S.Constants.ASSESSMENT_CHECK_ANSWER_DONE,payload:o,questionIndex:r,userInput:l,original:t,response:n})},function(t){e.dispatch({type:S.Constants.ASSESSMENT_CHECK_ANSWER_DONE,error:t}),console.error(t)}),h):null})}function l(e,t){var n=e.getState(),r="assessment/banks/"+n.settings.bank+"/assessmentstaken/"+n.assessmentMeta.id+"/questions?qti",o=_.default.get(r,n.settings.api_url,n.jwt,n.settings.csrf_token,{},i(n,t));o&&o.then(function(r,o){e.dispatch({type:T.Constants.LOAD_ASSESSMENT+O.DONE,payload:(0,M.parse)(n.settings,r.text),original:t,assessmentResponse:r,error:o})},function(t){e.dispatch((0,A.displayError)("There was a problem getting the assessment from QBank",t))})}Object.defineProperty(t,"__esModule",{value:!0});var f,d=n(224),p=r(d),h=n(66),v=r(h);t.postQbank=u;var y=n(3),g=r(y),m=n(339),_=r(m),b=n(210),w=r(b),E=n(220),T=n(58),S=n(209),C=n(1236),x=n(534),O=n(56),k=n(1241),M=n(324),P=n(539),A=n(1235),I=n(156),j=r(I);t.default=(f={},(0,v.default)(f,x.Constants.LOCALE_SET,function(e,t){var n=e.getState();g.default.isEmpty(n.assessmentMeta)||l(e,t)}),(0,v.default)(f,E.Constants.REFRESH_JWT,{method:w.default.GET,url:function(e){return"api/sessions/"+e.userId}}),(0,v.default)(f,T.Constants.LOAD_ASSESSMENT,function(e,t){var n=e.getState(),r="assessment/banks/"+n.settings.bank+"/assessmentsoffered/"+n.settings.assessment_offered_id+"/assessmentstaken",o={sessionId:n.settings.eid},i=u(n,r,o);i&&i.then(function(n,r){e.dispatch({type:C.Constants.LOAD_ASSESSMENT_META_DONE,payload:n.body,original:t,response:n,error:r}),l(e,t)},function(t){e.dispatch((0,A.displayError)("There was a problem creating the assessmentstaken in QBank",t))})}),(0,v.default)(f,S.Constants.ASSESSMENT_CHECK_ANSWER,function(e,t){c(e,t)}),(0,v.default)(f,S.Constants.ASSESSMENT_NEXT_QUESTIONS,function(e,t){var n=e.getState();"ALWAYS"===n.settings.unlock_next&&c(e,t)}),(0,v.default)(f,S.Constants.ASSESSMENT_PREVIOUS_QUESTIONS,function(){}),(0,v.default)(f,S.Constants.ANSWER_SELECTED,function(){}),(0,v.default)(f,S.Constants.ASSESSMENT_GRADED,{method:w.default.POST,url:function(){return"api/grades"},body:function(e){var t=e.questions.map(function(e){return{id:e.id,score:e.score,confidence_level:e.confidenceLevel,time_spent:e.timeSpent,start_time:e.startTime,outcome_guid:e.outcomeGuid}});return{item_to_grade:{assessment_id:e.assessmentId,questions:t,answers:e.answers,identifier:e.identifier,settings:e.settings}}}}),(0,v.default)(f,S.Constants.ASSESSMENT_SUBMITTED,function(e,t){p.default.all(c(e,t)).then(function(){var n=e.getState(),r="assessment/banks/"+n.settings.bank+"/assessmentstaken/"+n.assessmentMeta.id+"/finish",o=u(n,r);o&&o.then(function(n,r){e.dispatch({type:t.type+O.DONE,payload:n.body,original:t,response:n,error:r})})})}),f)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=a.default.merge.apply(a.default,[{}].concat(t));return a.default.each(s,function(e){r[e]&&(r[e]=parseInt(r[e]))}),a.default.each(u,function(e){r[e]&&t[0][e]&&""!==t[0][e]&&(r[e]=t[0][e])}),r}Object.defineProperty(t,"__esModule",{value:!0}),t.integerSettings=void 0,t.getInitialSettings=o;var i=n(3),a=r(i),s=t.integerSettings=["user_id","max_attempts","questions_per_section","questions_per_page","audio_recorder_timeout"],u=["api_url"];t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};arguments[1];return e}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e.startsWith("<?xml")){var t=h.default.parseXML(e),n=(0,h.default)(t),r=n.find("modalFeedback");return r.html()}return"No feedback available."===e?"":(console.error("We cannot recognize feedback from server"),"")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(340),a=r(i),s=n(11),u=r(s),c=n(4),l=r(c),f=n(5),d=r(f);t.parseFeedback=o;var p=n(134),h=r(p),v=n(324),y=n(1243),g=r(y),m=function(){function e(){(0,l.default)(this,e)}return(0,d.default)(e,null,[{key:"parse",value:function(e,t){var n=t.data.map(function(e){var t={};switch(e.genusTypeId){case"question-type%3Adrag-and-drop%40ODL.MIT.EDU":return(0,u.default)({},e,{json:e});default:return t=g.default.parseItem((0,h.default)(h.default.parseXML(e.qti)).find(">")[0]),(0,a.default)(t,{json:e})}});return{standard:v.AssessmentFormats.CLIx,id:e,requireNAnswers:t.nOfM,items:n}}}]),e}();t.default=m},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r=[];if(!t||t<=0)for(var o=0;o<e.length;o++)for(var i=0;i<e[o].items.length;i++){var a=e[o].items[i];n&&(a.answers=f.default.shuffle(a.answers)),r.push(a)}else for(var o=0;o<e.length;o++)for(var s=t>e[o].items.length?e[o].items.length:t,i=0;i<s;i++){for(var a=e[o].items[i],u=0;u<r.length;u++)a.id==r[u].id&&console.error("two items have the same id.");n&&(a.answers=f.default.shuffle(a.answers)),r.push(a)}return r}function i(e){return e.map(function(e){return e.outcome}).filter(function(e){return"root section"!=e})}function a(e,t){var n;switch(e.question_type){case"multiple_choice_question":n=s(e,t);break;case"multiple_answers_question":n=u(e,t);break;case"matching_question":n=c(e,t)}return n}function s(e,t){var n="",r="0",o=!1;return t==e.correct[0].id&&(o=!0,r=e.correct[0].score),{feedbacks:n,score:r,correct:o}}function u(e,t){var n="",r="0",o=e.correct[0].id.length,i=0,a=!1;if(t.length==o){for(var s=0;s<t.length;s++)for(var u=0;u<o;u++)t[s]==e.correct[0].id[u]&&i++;return o==i&&(a=!0,r="100"),{feedbacks:n,score:r,correct:a}}return{feedbacks:n,score:r,correct:a}}function c(e,t){var n="",r="0",o=e.correct.length,i=0,a=!1;if(e.correct.length>t.length)return!1;for(var s=0;s<o;s++)for(var u=0;u<e.answers.length;u++)if(e.correct[s].id==e.answers[u].id){for(var c=0;c<t.length;c++)t[c].answerNumber=="answer-"+s&&t[c].selectedAnswer.trim()==e.answers[u].material.trim()&&i++;break}return i==o&&(a=!0,r="100"),{feedbacks:n,score:r,correct:a}}Object.defineProperty(t,"__esModule",{value:!0}),t.getItems=o,t.loadOutcomes=i,t.checkAnswer=a;var l=n(3),f=r(l)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(4),i=r(o),a=n(5),s=r(a),u=n(134),c=(r(u),n(324)),l=n(540),f=(r(l),function(){function e(){(0,i.default)(this,e)}return(0,s.default)(e,null,[{key:"parseItem",value:function(e){return{title:e.getAttribute("title"),xml:e}}},{key:"parse",value:function(e,t){var n=t.find(">")[0],r=n.tagName;if("assessmentItem"==r){var o=this.parseItem(n);return{standard:c.AssessmentFormats.Qti2,id:e,title:o.title,item:o}}if("assessmentSection"==r)throw"We don't handled assessmentSection tags yet";if("assessmentTest"==r)throw"We don't handled assessmentTest tags yet";throw"Assessment isn't rooted with an expected tag.  Found "+n.tagname+"."}}]),e}());t.default=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return h.default.range(e.assessmentProgress.get("currentItemIndex"),e.assessmentProgress.get("currentItemIndex")+e.settings.questions_per_page)}function i(e,t){var n=e.assessment.item;return[(0,y.transformItem)(n.xml)]}function a(){return{}}function s(e,t){return 1}function u(e,t){return!h.default.isEmpty(e.assessment)}function c(e,t){return!1}function l(e,t){var n=o(e),r={};return h.default.each(n,function(t){var n=e.assessmentResults.questionResults[t];if(void 0!==n){var o=n[0];r[t]={correct:o.correct,answerIds:o.userInput,feedback:o.feedback}}}),r}function f(e,t){var n=e.assessmentResults.questionResults,r=n.map(function(e){return e&&e[0]&&e[0].correct?1:0});return r.reduce(function(e,t){return e+t},0)}Object.defineProperty(t,"__esModule",{value:!0}),t.questions=i,t.outcomes=a,t.questionCount=s,t.assessmentLoaded=u,t.isCheckingAnswer=c,t.questionResults=l,t.correctItemCount=f;var d=n(134),p=(r(d),n(3)),h=r(p),v=(n(314),n(396)),y=(r(v),n(540))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.AssessmentResult=void 0;var i=n(11),a=o(i),s=n(9),u=o(s),c=n(4),l=o(c),f=n(5),d=o(f),p=n(7),h=o(p),v=n(6),y=o(v),g=n(1),m=o(g),_=n(36),b=n(58),w=r(b),E=n(500),T=r(E),S=n(336),C=function(e){return{assessmentResult:e.assessmentResult.toJS(),timeSpent:e.timeSpent,questions:(0,S.questions)(e),outcomes:(0,S.outcomes)(e),assessment:e.assessment,settings:e.settings}},x=m.default.createElement("div",null),O=t.AssessmentResult=function(e){function t(e,n){(0,l.default)(this,t);var r=(0,h.default)(this,(t.__proto__||(0,u.default)(t)).call(this,e,n));return r.sendLtiOutcome(),r.sendAnalytics(),r}return(0,y.default)(t,e),(0,d.default)(t,[{key:"componentDidMount",value:function(){this.props.sendSize(),this.props.showLMSNavigation()}},{key:"componentDidUpdate",value:function(){this.props.sendSize()}},{key:"sendAnalytics",value:function(){this.props.assessmentResult&&this.props.assessmentResult.assessment_results_id&&this.props.assessmentPostAnalytics(this.props.assessmentResult.assessment_results_id,this.props.settings.externalUserId,this.props.settings.external_context_id)}},{key:"sendLtiOutcome",
+value:function(){this.isSummative()&&this.props.assessmentResult.assessment_results_id&&this.props.assessmentPostLtiOutcome(this.props.assessmentResult.assessment_results_id)}},{key:"isSummative",value:function(){return"SUMMATIVE"==this.props.settings.assessment_kind}},{key:"isFormative",value:function(){return"FORMATIVE"==this.props.settings.assessment_kind}},{key:"render",value:function(){return null==this.props.assessmentResult?x:this.isFormative()?m.default.createElement(FormativeResult,{assessmentResult:this.props.assessmentResult,settings:this.props.settings,questions:this.props.questions,assessment:this.props.assessment,context:this.context}):null}}]),t}(m.default.Component);t.default=(0,_.connect)(C,(0,a.default)({},w,T))(O)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Loading=void 0;var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),c=r(u),l=n(7),f=r(l),d=n(6),p=r(d),h=n(1),v=r(h),y=n(36),g=n(156),m=r(g),_=function(e,t){return{localizedStrings:(0,m.default)(e,t)}},b=v.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 92 92"},v.default.createElement("path",{d:"M46.1,82.3H41.9l-3.1-.3-3.8-.8-2.1-.7L31.7,80l-1.1-.5A35.7,35.7,0,0,1,21,73.7,37.8,37.8,0,0,1,7.6,49.1l-.2-2V41A32.7,32.7,0,0,1,8,36.8l.4-2.1c.1-.7.4-1.4.6-2a40.3,40.3,0,0,1,8.7-15,41,41,0,0,1,14.5-10l2.1-.8,2.1-.6a34.1,34.1,0,0,1,4.3-1L41.9,5h1.1l2.2-.2h6.3l2.2.3,2.1.4,2,.4,2,.6,2,.6,1.9.7,1.8.8a42.5,42.5,0,0,1,12.2,8.7,41.3,41.3,0,0,1,7.5,10.5l.7,1.3.5,1.3,1,2.4c.5,1.6.9,3.1,1.3,4.4l.7,3.7c.2,1.1.2,2,.3,2.8L90,46a7.5,7.5,0,1,1-15,1.2q0-.3,0-.6V44.5a17.6,17.6,0,0,0,0-1.8l-.2-2.5c-.2-.9-.4-1.9-.6-3.1l-.5-1.7-.3-.9-.4-.9a28.1,28.1,0,0,0-4.5-7.7,30.3,30.3,0,0,0-8.2-7l-1.3-.7-1.3-.7-1.4-.6-1.4-.5-1.5-.5-1.5-.4-1.4-.3-.7-.2h-.9l-1.9-.2H42a25,25,0,0,0-3.4.5l-1.7.3-1.7.5a32.8,32.8,0,0,0-12.2,6.9,33.5,33.5,0,0,0-8.2,11.8c-.2.6-.5,1.1-.7,1.7l-.5,1.7a27.4,27.4,0,0,0-.8,3.4l-.2.8v1l-.2,1.9v3.5a33.9,33.9,0,0,0,3.1,13.2A34.9,34.9,0,0,0,22.5,72a33.8,33.8,0,0,0,8.6,6.3l1,.6,1.1.4,2,.8,3.7,1.1,3,.6,2.3.3Z"})),w=t.Loading=function(e){function t(){return(0,s.default)(this,t),(0,f.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,c.default)(t,[{key:"render",value:function(){return v.default.createElement("div",{className:"c-assessment-loading"},v.default.createElement("p",null,this.props.localizedStrings.loading.loading),b)}}]),t}(v.default.Component);t.default=(0,y.connect)(_)(w)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),c=r(u),l=n(7),f=r(l),d=n(6),p=r(d),h=n(1),v=r(h),y=n(499),g=(r(y),n(1230)),m=r(g),_=n(1231),b=v.default.createElement("div",{className:"c-assessment-navigation"},v.default.createElement("div",{className:"c-button-slot"},v.default.createElement(_.PrevButton,null)),v.default.createElement("div",{className:"c-button-slot"},v.default.createElement(m.default,null)),v.default.createElement("div",{className:"c-button-slot"},v.default.createElement(_.NextButton,null))),w=function(e){function t(){return(0,s.default)(this,t),(0,f.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,c.default)(t,[{key:"render",value:function(){return b}}]),t}(v.default.Component);t.default=w},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Index=void 0;var i=n(11),a=o(i),s=n(9),u=o(s),c=n(4),l=o(c),f=n(5),d=o(f),p=n(7),h=o(p),v=n(6),y=o(v),g=n(1),m=o(g),_=n(36),b=n(58),w=n(500),E=r(w),T=n(534),S=n(501),C=o(S),x=(n(535),function(e){return{maxAttempts:e.settings.max_attempts,userAttempts:e.settings.userAttempts,enableStart:e.settings.enable_start}}),O=t.Index=function(e){function t(){return(0,l.default)(this,t),(0,h.default)(this,(t.__proto__||(0,u.default)(t)).apply(this,arguments))}return(0,y.default)(t,e),(0,d.default)(t,[{key:"componentWillMount",value:function(){this.props.availableLocales(),this.props.loadAssessment(),this.props.userAttempts&&this.props.userAttempts>=this.props.maxAttempts?C.default.push("retries-exceeded"):this.props.enableStart||C.default.push("assessment")}},{key:"componentDidMount",value:function(){var e=this;this.props.sendSize(),this.props.scrollParentToTop(),window.addEventListener("message",function(t){return e.onMessage(t)},!1)}},{key:"componentDidUpdate",value:function(){this.props.sendSize()}},{key:"onMessage",value:function(e){var t=e.data,n=t.open_assessments_msg;switch(n){case"open_assessments_set_locale":this.props.setLocale(t.locale)}}},{key:"render",value:function(){return m.default.createElement("div",null,this.props.children)}}]),t}(m.default.Component);t.default=(0,_.connect)(x,(0,a.default)({loadAssessment:b.loadAssessment,setLocale:T.setLocale},E),null,{withRefs:!0})(O)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.About=void 0;var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),c=r(u),l=n(7),f=r(l),d=n(6),p=r(d),h=n(1),v=r(h),y=n(36),g=n(156),m=r(g),_=function(e,t){return{localizedStrings:(0,m.default)(e,t)}},b=t.About=function(e){function t(){return(0,s.default)(this,t),(0,f.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,c.default)(t,[{key:"render",value:function(){var e=this.props.localizedStrings;return v.default.createElement("div",null,v.default.createElement("h2",null,e.about.title))}}]),t}(v.default.Component);t.default=(0,y.connect)(_)(b)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Assessment=void 0;var i=n(11),a=o(i),s=n(9),u=o(s),c=n(4),l=o(c),f=n(5),d=o(f),p=n(7),h=o(p),v=n(6),y=o(v),g=n(1),m=o(g),_=n(36),b=n(209),w=r(b),E=n(500),T=r(E),S=n(1237),C=r(S),x=n(501),O=o(x),k=n(336),M=r(k),P=n(156),A=o(P),I=n(512),j=o(I),D=n(1354),R=o(D),N=n(1355),L=o(N),F=n(1232),U=o(F),B=function(e,t){return{settings:e.settings,application:e.application,assessment:e.assessment,assessmentLoaded:M.assessmentLoaded(e,t),assessmentProgress:e.assessmentProgress.toJS(),currentItem:e.assessmentProgress.get("currentItemIndex"),responses:e.assessmentProgress.get("responses").toJS(),questionsPerPage:e.settings.questions_per_page||M.questionCount(e,t),questionCount:M.questionCount(e,t),allQuestions:M.questions(e,t),questionResults:M.questionResults(e,t),localizedStrings:(0,A.default)(e,t),primaryActionState:M.primaryActionState(e),secondaryActionState:M.secondaryActionState(e),outcomes:M.outcomes(e,t),correctItemCount:M.correctItemCount(e,t)}},q=m.default.createElement(R.default,null),W=m.default.createElement(R.default,null),z=m.default.createElement(L.default,null),H=t.Assessment=function(e){function t(){return(0,l.default)(this,t),(0,h.default)(this,(t.__proto__||(0,u.default)(t)).apply(this,arguments))}return(0,y.default)(t,e),(0,d.default)(t,[{key:"componentWillMount",value:function(){null!=this.props.assessmentProgress.assessmentResult&&O.default.push("assessment-result")}},{key:"componentDidMount",value:function(){this.props.assessmentViewed(this.props.settings,this.props.assessment),this.props.sendSize(),this.props.scrollParentToTop(),this.props.hideLMSNavigation()}},{key:"componentDidUpdate",value:function(e){this.props.sendSize(),this.props.assessmentProgress.isSubmitted&&O.default.push("assessment-complete"),this.props.assessmentProgress.currentItemIndex!==e.assessmentProgress.currentItemIndex&&(this.props.scrollParentToTop(),window.scrollTo(0,0))}},{key:"getItem",value:function(e){var t=this,n=this.props;return void 0===n.questionCount||e>=n.questionCount||e<0?null:m.default.createElement(j.default,{key:e,localizedStrings:n.localizedStrings,settings:n.settings,assessment:n.assessment,question:n.allQuestions[e],response:n.responses[e]||[],currentItemIndex:e,questionCount:n.questionCount,questionResult:n.questionResults[e]||{},allQuestions:n.allQuestions,outcomes:n.outcomes||{},sendSize:n.sendSize,videoPlay:n.videoPlay,videoPause:n.videoPause,audioPlay:n.audioPlay,audioPause:n.audioPause,audioRecordStart:n.audioRecordStart,audioRecordStop:n.audioRecordStop,selectAnswer:function(n,r){return t.props.answerSelected(e,n,r)}})}},{key:"getItems",value:function(){var e=this,t=this.props.questionsPerPage,n=this.props.assessmentProgress.currentItemIndex,r=[];if(t>0&&t<this.props.questionCount)for(var o=Math.floor(n/t)*t,i=Math.floor(o+t),a=o;a<i;a+=1)r.push(this.getItem(a));else this.props.allQuestions.forEach(function(t,n){r.push(e.getItem(n))});return r}},{key:"getContent",value:function(){return this.props.application.error_message?m.default.createElement("div",{className:"c-player-error"},m.default.createElement("p",null,this.props.application.error_message,":"),m.default.createElement("blockquote",null,this.props.application.error.message)):this.props.assessmentProgress.isSubmitted?q:this.props.assessmentLoaded?this.getItems():W}},{key:"getWarning",value:function(){var e=t.checkCompletion(),n=void 0;return e===!0&&this.props.isLastPage&&(n=m.default.createElement("div",null,this.props.localizedStrings.assessment.unansweredQuestionWarning)),n}},{key:"getCounter",value:function(){if(!this.props.assessmentLoaded)return"";var e=this.props.localizedStrings;return 1===this.props.questionsPerPage?e.formatString(e.assessment.counterQuestion,""+(this.props.currentItem+1),""+this.props.questionCount):e.formatString(e.assessment.counterPage,""+(this.props.currentItem+1),""+this.props.questionCount)}},{key:"submitButtonClicked",value:function(){this.props.submitAssessment()}},{key:"submitAssessment",value:function(){var e=t.checkCompletion();e&&(window.onbeforeunload=null,this.props.submitAssessment(this.props.assessment.id,this.props.assessment.assessmentId,this.props.allQuestions,this.props.responses,this.props.settings,this.props.outcomes))}},{key:"popup",value:function(){return this.props.localizedStrings.assessment.leavingQuizPopup}},{key:"renderRemainingStatus",value:function(){var e=this.props.assessment.requireNAnswers;if(e===-1)return null;var t=this.props.correctItemCount,n=e-t,r=this.props.localizedStrings,o=void 0;return 0===n?o=r.remaining.done:1===n?o=r.remaining.one_left:n>=2&&(o=r.formatString(r.remaining.many_left,n)),m.default.createElement("div",{className:"c-header__remaining"},o)}},{key:"render",value:function(){var e=this,t=!this.props.assessmentProgress.checkedResponses||this.props.assessmentProgress.checkedResponses.length>0;"SUMMATIVE"===this.props.settings.assessment_kind&&t&&(window.onbeforeunload=function(){return e.popup()});var n=this.props.assessment.title,r=this.getContent(),o=null,i=this.getCounter(),a=null;return this.props.assessmentLoaded&&(a=this.props.assessment.requireNAnswers===-1?m.default.createElement(U.default,{localizedStrings:this.props.localizedStrings.twoButtonNav,submitAssessment:function(){return e.submitButtonClicked()},secondaryAction:this.props.secondaryActionState,primaryAction:this.props.primaryActionState}):z),m.default.createElement("div",{className:"o-assessment-container",lang:this.props.settings.locale,dir:this.props.localizedStrings.dir},m.default.createElement("div",{className:"c-header"},this.renderRemainingStatus(),m.default.createElement("div",{className:"c-header__title"},n),m.default.createElement("div",{className:"c-header__question-number"},i)),o,r,a)}}],[{key:"checkCompletion",value:function(){return!0}}]),t}(m.default.Component);t.default=(0,_.connect)(B,(0,a.default)({},w,T,C))(H)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.AssessmentComplete=void 0;var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),c=r(u),l=n(7),f=r(l),d=n(6),p=r(d),h=n(1),v=r(h),y=n(36),g=n(156),m=r(g),_=function(e,t){return{localizedStrings:(0,m.default)(e,t)}},b=t.AssessmentComplete=function(e){function t(){return(0,s.default)(this,t),(0,f.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,c.default)(t,[{key:"render",value:function(){return v.default.createElement("div",{className:"assessment-complete"},v.default.createElement("h1",null,this.props.localizedStrings.assessmentComplete.complete))}}]),t}(v.default.Component);t.default=(0,y.connect)(_,{})(b)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.RetriesExceeded=void 0;var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),c=r(u),l=n(7),f=r(l),d=n(6),p=r(d),h=n(1),v=r(h),y=n(36),g=n(156),m=r(g),_=function(e,t){return{localizedStrings:(0,m.default)(e,t)}},b=t.RetriesExceeded=function(e){function t(){return(0,s.default)(this,t),(0,f.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,c.default)(t,[{key:"render",value:function(){var e=this.props.localizedStrings;return v.default.createElement("div",null,e.retriesExceeded.triesExceeded)}}]),t}(v.default.Component);t.default=(0,y.connect)(_)(b)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Start=void 0;var i=n(11),a=o(i),s=n(9),u=o(s),c=n(4),l=o(c),f=n(5),d=o(f),p=n(7),h=o(p),v=n(6),y=o(v),g=n(1),m=o(g),_=n(36),b=n(156),w=o(b),E=n(501),T=o(E),S=n(58),C=r(S),x=function(e,t){return{title:e.assessment.title,assessment_kind:e.settings.assessment_kind,localizedStrings:(0,w.default)(e,t)}},O=m.default.createElement("div",null),k=t.Start=function(e){function t(){return(0,l.default)(this,t),(0,h.default)(this,(t.__proto__||(0,u.default)(t)).apply(this,arguments))}return(0,y.default)(t,e),(0,d.default)(t,[{key:"instructions",value:function(){var e=void 0,t=this.props.localizedStrings.start;switch(this.props.assessment_kind){case"SUMMATIVE":e=m.default.createElement("div",null,t.summativeInstruction);break;case"FORMATIVE":e=m.default.createElement("div",null,t.formativeInstruction);break;case"SHOW_WHAT_YOU_KNOW":e=m.default.createElement("div",null,t.showWhatYouKnowInstruction);break;default:e=O}return e}},{key:"render",value:function(){return m.default.createElement("div",{className:"assessment"},m.default.createElement("div",null,this.props.title),m.default.createElement("div",{className:"section_list"},m.default.createElement("div",{className:"section_container"},this.instructions(),m.default.createElement("div",null,m.default.createElement("button",{onClick:function(){T.default.push("assessment")}},this.props.localizedStrings.start.startButton)))))}}]),t}(m.default.Component);t.default=(0,_.connect)(x,(0,a.default)({},C))(k)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.NotFound=void 0;var o=n(9),i=r(o),a=n(4),s=r(a),u=n(5),c=r(u),l=n(7),f=r(l),d=n(6),p=r(d),h=n(1),v=r(h),y=n(36),g=n(156),m=r(g),_=function(e,t){return{localizedStrings:(0,m.default)(e,t)}},b=t.NotFound=function(e){function t(){return(0,s.default)(this,t),(0,f.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,c.default)(t,[{key:"render",value:function(){return v.default.createElement("h2",null,this.props.localizedStrings.notFound.notFound)}}]),t}(v.default.Component);t.default=(0,y.connect)(_)(b)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=r(o),a=n(467),s=n(501),u=r(s),c=n(1356),l=r(c),f=n(1358),d=r(f),p=n(1361),h=r(p),v=n(1353),y=r(v),g=n(1362),m=r(g),_=n(1357),b=r(_),w=n(1360),E=r(w),T=n(1359),S=r(T);t.default=i.default.createElement(a.Router,{history:u.default},i.default.createElement(a.Route,{path:"/",component:l.default},i.default.createElement(a.IndexRoute,{component:h.default}),i.default.createElement(a.Route,{path:"assessment",component:d.default}),i.default.createElement(a.Route,{path:"assessment-result",component:y.default}),i.default.createElement(a.Route,{path:"assessment-complete",component:S.default}),i.default.createElement(a.Route,{path:"about",component:b.default}),i.default.createElement(a.Route,{path:"retries-exceeded",component:E.default})),i.default.createElement(a.Route,{path:"*",component:m.default}))},,,,,,,,,,,,,,,,,,,,function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={en:{name:"English",dir:"ltr",assessment:{unansweredQuestionWarning:"Warning There are unanswered questions",leavingQuizPopup:"Don’t leave!",counterQuestion:"Question {0} of {1}",counterPage:"Page {0} of {1}"},remaining:{one_left:"Answer 1 more question.",many_left:"Answer {0} more questions.",done:"Well done!"},assessmentComplete:{complete:"Thank you"},twoButtonNav:{previousButton:"Previous",nextButton:"Next",checkAnswerButton:"Check Answer",saveFileButton:"Save File",saveAnswerButton:"Save Answer",submitButton:"Finish"},retriesExceeded:{triesExceeded:"Too many tries"},start:{summativeInstruction:"Summative Quiz",formativeInstruction:"Formative Quiz",showWhatYouKnowInstruction:"Show What You Know",startButton:"Start Quiz"},notFound:{notFound:"Not Found"},about:{title:"Open Assessments"},loading:{loading:"Loading..."},audioUpload:{record:"Record",stop:"Stop",recordTime:"Recording time"},fileUpload:{chooseFile:"Choose a File to Upload",noFile:"No file chosen"},middleware:{mustSelectAnswer:"Please select a valid answer",mustEnterAnswer:"Please enter a valid answer",mustUploadFile:"Please upload a file",mustRecordFile:"Please record an audio sample"}}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={he:{name:"Hebrew",dir:"rtl",assessment:{unansweredQuestionWarning:"Warning There are unanswered questions",leavingQuizPopup:"Don’t leave!",counterQuestion:"Question {0} of {1}",counterPage:"Page {0} of {1}"},remaining:{one_left:"Answer 1 more question.",many_left:"Answer {0} more questions.",done:"Well done!"},assessmentComplete:{complete:"Quiz Complete"},twoButtonNav:{previousButton:"Previous",nextButton:"א",checkAnswerButton:"אב",saveFileButton:"Save File",saveAnswerButton:"Save Answer",submitButton:"Finish Quiz"},retriesExceeded:{triesExceeded:"Too many tries"},start:{summativeInstruction:"Summative Quiz",formativeInstruction:"Formative Quiz",showWhatYouKnowInstruction:"Show What You Know",startButton:"Start Quiz"},notFound:{notFound:"Not Found"},about:{title:"Open Assessments"},loading:{loading:"Loading..."},audioUpload:{record:"Record",stop:"Stop",recordTime:"Recording time"},fileUpload:{chooseFile:"Choose a File to Upload",noFile:"No file chosen"}}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={hi:{name:"Hindi",dir:"ltr",assessment:{unansweredQuestionWarning:"चेतावनी! कुछ सवालों के जवाब नहीं हैं",leavingQuizPopup:"ठहरिए!",counterQuestion:"{1} की प्रश्न संख्या {0}",counterPage:"{1} की पृष्ठ संख्या {0}"},remaining:{one_left:"1 और प्रश्न का उत्तर दें",many_left:"{0} और प्रश्नों का उत्तर दें",done:"शाबाश!"},assessmentComplete:{complete:"धन्यवाद"},twoButtonNav:{previousButton:"पिछला",nextButton:"अगला",checkAnswerButton:"जवाब की जांच करो",saveFileButton:"फाइल सुरक्षित करें",saveAnswerButton:"उत्तर सेव करें",submitButton:"समाप्त"},item:{questionDirectionMany:"लागू होने वाले प्रत्येक को चुनें",questionDirectionAll:"श्रेष्ठ उत्तर चुनें"},retriesExceeded:{triesExceeded:"सीमा से अधिक प्रयत्न"},start:{summativeInstruction:"निर्णायक प्रश्नोतरी",formativeInstruction:"सृजनात्मक प्रश्नोतरी",showWhatYouKnowInstruction:"दिखाइए आप क्या जानते हैं",startButton:"प्रश्नोत्तरी शुरू करें"},notFound:{notFound:"मिला नहीं"},about:{title:"खुला आकलन"},loading:{loading:"लोड हो रहा है"},audioUpload:{record:"दर्ज करें",stop:"रुकिए",recordTime:"Recording time"},fileUpload:{chooseFile:"अपलोड करने के लिए एक फाइल चुनें",noFile:"No file chosen"},middleware:{mustSelectAnswer:"कृप्या एक मान्य उत्तर चुनें",mustEnterAnswer:"कृप्या एक मान्य उत्तर दर्ज करें",mustUploadFile:"कृप्या एक फाइल अपलोड कीजिए",mustRecordFile:"कृप्या एक ऑडियो नमूना रिकॉर्ड कीजिए"}}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={te:{name:"Telugu",dir:"ltr",assessment:{unansweredQuestionWarning:"హెచ్చరిక! కొన్ని ప్రశ్నలకు జవాబులు ఇవ్వలేదుి",leavingQuizPopup:"వదలొద్దు!",counterQuestion:"ప్రశ్న {0} యొక్క {1}",counterPage:"పేజీ {0} యొక్క {1}"},remaining:{one_left:"మరొక ప్రశ్నకు జవాబు ఇవ్వండి",many_left:"{0} ప్రశ్నలకు జవాబు ఇవ్వండి",done:"శభాష్"},assessmentComplete:{complete:"ధన్యవాదాలు"},twoButtonNav:{previousButton:"మునుపటి",nextButton:"తరువాత",checkAnswerButton:"సమాధానం సరిచూసుకోండిీ",saveFileButton:"ఫైల్ సెవ్ చేసుకోండి",saveAnswerButton:"జవాబు సేవ్ చేసుకోండి",submitButton:"ముగింపుు"},item:{questionDirectionMany:"వర్తించే అన్ని ఎంచుకోండి",questionDirectionAll:"ఉత్తమ జవాబుని ఎంచుకోండి"},retriesExceeded:{triesExceeded:"చాలా ప్రయత్నాలు"},start:{summativeInstruction:"సంక్షిప్తమైన క్విజ్",formativeInstruction:"నిర్మాణాత్మక క్విజ్",showWhatYouKnowInstruction:"నీకు (మీకు) ఏం తెలుసొ చూపించు",startButton:"ప్రశ్నావళి మొదలు పెట్టండి"},notFound:{notFound:"దొరకలేదు"},about:{title:"ఓపెన్ అసెస్మెంట్/ తెరిచిన లెక్కింపులు"},loading:{loading:"లొడ్ అవుతుందిి"},audioUpload:{record:"రికార్డు చేయండి",stop:"ఆపండిు",recordTime:"Recording time"},fileUpload:{chooseFile:"అప్లోడ్ కై ఫైల్ ని ఎంచండి",noFile:"No file chosen"},middleware:{mustSelectAnswer:"యచేసి చెల్లుబాటైన ఒక సమాధానాన్ని ఎంచుకోండి",mustEnterAnswer:"దయచేసి చెల్లుబాటైన ఒక సమాధానాన్నినమోదు చేయండి",mustUploadFile:"దయచెసి ఒక ఫైల్ అప్లొడ్ చెయ్యండి",mustRecordFile:"దయచెసి ఒక ఆడియో మాదిరిని రికార్డు చెయ్యండి"}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),i=r(o),a=n(1238),s=r(a),u=n(1391),c=r(u);t.default=function(e){return function(t){return function(n){if(n.method)(0,s.default)(e,n,n.method,n.url,n.params,n.body);else{var r=c.default[n.type];i.default.isFunction(r)?r(e,n):i.default.isObject(r)&&(0,s.default)(e,n,r.method,r.url(n),r.params?r.params(params):n.params,r.body?r.body(n):n.body)}t(n)}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),i=r(o),a=n(1238),s=r(a),u=(n(56),n(1239)),c=r(u);t.default=function(e){return function(t){return function(n){if(n.method)(0,s.default)(e,n,n.method,n.url,n.params,n.body);else if(n.apiCall){var r=c.default[n.type];if(i.default.isFunction(r))r(e,n);else{if(!i.default.isObject(r))throw"No handler implemented for "+n.type;(0,s.default)(e,n,r.method,r.url(n),r.params?r.params(params):n.params,r.body?r.body(n):n.body)}}t(n)}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(507),i=r(o),a=n(56),s=n(58),u=n(324),c=function(e){return function(t){return function(n){var r=function(t,r){var o=(0,u.parse)(t,r);e.dispatch({type:n.type+a.DONE,payload:o})};if(n.type===s.Constants.LOAD_ASSESSMENT){var o=e.getState(),c=o.settings.assessment_data;c?r(o.settings,c):o.settings.src_url&&i.default.get(o.settings.src_url).then(function(e,t){r(o.settings,e.text)})}t(n)}}};t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.communicationHandler=void 0;var o=n(500),i=(n(209),n(1401)),a=r(i),s=t.communicationHandler=new a.default,u=function(e){return function(e){return function(t){switch(t.type){case o.Constants.SEND_SIZE:s.sendSize();break;case o.Constants.SCROLL_PARENT_TO_TOP:s.scrollParentToTop();break;case o.Constants.LTI_NAVIGATE_NEXT:s.broadcast({subject:"lti.navigation",location:"next"});break;case o.Constants.LTI_NAVIGATE_PREVIOUS:s.broadcast({subject:"lti.navigation",location:"previous"});break;case o.Constants.LTI_NAVIGATE_HOME:s.broadcast({subject:"lti.navigation",location:"home"});break;case o.Constants.SHOW_LMS_NAVIGATION:s.broadcast({subject:"lti.showModuleNavigation",show:!0});break;case o.Constants.HIDE_LMS_NAVIGATION:s.broadcast({subject:"lti.showModuleNavigation",show:!1});break;case o.Constants.AVAILABLE_LOCALES:s.availableLocales()}e(t)}}};t.default=u},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=e.getState(),r="logging/logs/"+n.settings.bank+"/logentries",o=n.assessmentProgress.get("currentItemIndex"),i=n.assessment.items[o].json.id,a={data:(0,l.default)({assessmentOfferedId:n.settings.assessment_offered_id,questionId:i},t)};(0,g.postQbank)(n,r,a)}function i(e,t){var n=e.getState(),r=(0,m.transformItem)(n.assessment.items[t.questionIndex]),o={};h.default.each(r.answers,function(e){o[e.id]=e});var i=n.assessmentProgress.getIn(["responses",""+t.questionIndex]);switch(i=i||d.default.List(),r.question_type){case"movable_words_sentence":case"movable_words_sandbox":if(t.answerData instanceof String)return i.includes(t.answerData)?{action:"disconnect word",targetWord:o[t.answerData].material,currentSentence:i.map(function(e){return o[e].material})}:{action:"connect word",targetWord:o[t.answerData].material,currentSentence:i.map(function(e){return o[e].material})};break;case"movable_object_chain":return i.includes(t.answerData)?{action:"disconnect object",targetObject:o[t.answerData].material,currentObjectChain:i.map(function(e){return o[e].material})}:{action:"connect object",targetObject:o[t.answerData].material,currentObjectChain:i.map(function(e){return o[e].material})};case"fill_the_blank_question":return h.default.isEmpty(i)?{action:"connect word",targetWord:o[t.answerData].material}:{action:"disconnect word",targetWord:o[t.answerData].material};case"multiple_choice_question":return{action:"select answer",targetAnswer:o[t.answerData].material};case"multiple_answers_question":return i.includes(t.answerData)?{action:"deselect answer",targetAnswer:o[t.answerData].material,currentAnswers:i.map(function(e){return o[e].material})}:{action:"select answer",targetAnswer:o[t.answerData].material,currentAnswers:i.map(function(e){return o[e].material})}}return null}Object.defineProperty(t,"__esModule",{value:!0});var a,s=n(66),u=r(s),c=n(11),l=r(c),f=n(396),d=r(f),p=n(3),h=r(p),v=n(1237),y=n(209),g=n(1239),m=n(539);t.default=(a={},(0,u.default)(a,y.Constants.ASSESSMENT_NEXT_QUESTIONS,function(e){var t={action:"click next button"};o(e,t)}),(0,u.default)(a,y.Constants.ASSESSMENT_PREVIOUS_QUESTIONS,function(e){var t=e.getState();if(t.assessment.requireNAnswers!==-1){var n={action:"click previous button"};o(e,n)}}),(0,u.default)(a,y.Constants.ANSWER_SELECTED,function(e,t){var n=i(e,t);void 0!==n&&o(e,n)}),(0,u.default)(a,v.Constants.AUDIO_PLAY,function(e,t){var n={action:"play audio",mediaTime:t.mediaTime,mediaId:t.mediaId};o(e,n)}),(0,u.default)(a,v.Constants.AUDIO_PAUSE,function(e,t){var n={action:"pause audio",mediaTime:t.mediaTime,mediaId:t.mediaId};o(e,n)}),(0,u.default)(a,v.Constants.AUDIO_RECORD_STOP,function(e,t){var n={action:"record audio stop",mediaTime:t.mediaTime};o(e,n)}),(0,u.default)(a,v.Constants.VIDEO_PLAY,function(e,t){var n={action:"play video",mediaTime:t.mediaTime,mediaId:t.mediaId};o(e,n)}),(0,u.default)(a,v.Constants.VIDEO_PAUSE,function(e,t){var n={action:"pause video",mediaTime:t.mediaTime,mediaId:t.mediaId};o(e,n)}),a)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1235),o={};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments[1];switch(t.type){case r.Constants.APP_DISPLAY_ERROR:return{error:t.error,error_message:t.message};default:return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(58),o={};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments[1];switch(t.type){case r.Constants.LOAD_ASSESSMENT_DONE:return t.payload;default:return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1236),o={};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments[1];switch(t.type){case r.Constants.LOAD_ASSESSMENT_META_DONE:return t.payload}return e}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(396),i=r(o),a=n(3),s=r(a),u=n(209),c=i.default.fromJS({isSubmitted:!1,isStarted:!1,currentItemIndex:0,numQuestionsChecking:0,selectedAnswerId:"",checkedResponses:[],responses:[],startedAt:0,finishedAt:0,assessmentResult:null});t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments[1];switch(t.type){case u.Constants.ASSESSMENT_NEXT_QUESTIONS:var n=e.get("currentItemIndex"),r=t.pageSize;return e.set("currentItemIndex",n+r);case u.Constants.ASSESSMENT_PREVIOUS_QUESTIONS:var o=e.get("currentItemIndex"),a=t.pageSize;return e.set("currentItemIndex",o-a);case u.Constants.ASSESSMENT_VIEWED:return e.set("startedAt",Date.now());case u.Constants.ANSWER_SELECTED:var l=e.getIn(["responses",""+t.questionIndex]);void 0!==l&&t.exclusive!==!0||(l=i.default.List());var f=i.default.fromJS(t.answerData),d=l.findIndex(function(e){return"string"==typeof f||"number"==typeof f?f===e:f instanceof Blob?s.default.isEqual(f,e):i.default.is(e.get("id"),f.get("id"))}),p=!t.exclusive;return d>-1?p&&(l=l.delete(d)):l=l.push(f),e.setIn(["responses",""+t.questionIndex],l);case u.Constants.ASSESSMENT_CHECK_ANSWER_DONE:var h=e;if(!t.error){var v=i.default.Map();t.userInput.forEach(function(e){var n=i.default.Map(t.payload);v=v.set(e,n)}),h=e.setIn(["checkedResponses",""+t.questionIndex],v)}var y=e.get("numQuestionsChecking");if(y<=0)throw new Error("ASSESSMENT_CHECK_ANSWER_DONE dispatched when no answers were being checked");return h.set("numQuestionsChecking",y-1);case u.Constants.CHECK_QUESTIONS:var g=e.get("numQuestionsChecking");return e.set("numQuestionsChecking",t.numQuestions+g);case u.Constants.ASSESSMENT_SUBMITTED_DONE:var m=e.set("finishedAt",Date.now());return m.set("isSubmitted",!0)}return e}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(340),i=r(o),a=n(325),s=r(a),u=n(502),c=r(u),l=n(396),f=(r(l),n(209)),d=(0,c.default)({questionResults:(0,c.default)([])});t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d,t=arguments[1];switch(t.type){case f.Constants.ASSESSMENT_CHECK_ANSWER_DONE:if(t.error)break;var n=t.questionIndex,r=(0,s.default)(e.questionResults),o=r[n]||[];r[n]=(0,c.default)([t.payload].concat(o)),(0,c.default)(r),e=(0,c.default)((0,i.default)({},e,{questionResults:r}))}return e}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(313),i=n(1240),a=r(i),s=n(1392),u=r(s),c=n(1393),l=r(c),f=n(1395),d=r(f),p=n(1399),h=r(p),v=n(1398),y=r(v),g=n(1394),m=r(g),_=n(1396),b=r(_),w=(0,o.combineReducers)({settings:a.default,jwt:y.default,application:u.default,assessment:l.default,assessmentProgress:d.default,assessmentMeta:m.default,assessmentResults:b.default,locale:h.default});t.default=w},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(220),o=null;t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments[1];switch(t.type){case r.Constants.REFRESH_JWT_DONE:return t.payload.jwt;default:return e}}},function(e,t,n){"use strict";
+Object.defineProperty(t,"__esModule",{value:!0});var r=n(534),o=null;t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments[1];switch(t.type){case r.Constants.LOCALE_SET:return t.locale;default:return e}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(503),i=r(o);t.default=function(e){var t=a.compose.apply(void 0,(0,i.default)(_))(a.createStore)(u.default,e);return t};var a=n(313),s=(n(201),n(1397)),u=r(s),c=n(335),l=(r(c),n(1388)),f=r(l),d=n(1387),p=r(d),h=n(1389),v=r(h),y=n(1390),g=r(y),m=[f.default,p.default,v.default,g.default],_=[a.applyMiddleware.apply(void 0,m)]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(4),i=r(o),a=n(5),s=r(a),u=n(1402),c=r(u),l=n(535),f=function(){function e(){(0,i.default)(this,e),c.default.enableListener(this)}return(0,s.default)(e,[{key:"getHeight",value:function(){return Math.max(document.body.clientHeight,document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)}},{key:"getWidth",value:function(){return Math.max(document.body.clientWidth,document.documentElement.clientWidth,document.documentElement.scrollWidth,window.innerWidth)}},{key:"sendSize",value:function(){var e=this.getHeight(),t=this.getWidth();if(e!=this.prevHeight||t!=this.prevWidth){this.prevHeight=e,this.prevWidth=t;var n={height:e,width:t},r={subject:"lti.frameResize",height:e};c.default.commMsg(u.CommunicatorResizeMsg,n),c.default.broadcastMsg(r)}}},{key:"hideLMSNavigation",value:function(){c.default.broadcastMsg({subject:"lti.showModuleNavigation",show:!1})}},{key:"showLMSNavigation",value:function(){c.default.broadcastMsg({subject:"lti.showModuleNavigation",show:!0})}},{key:"scrollParentToTop",value:function(){c.default.broadcastMsg({open_assessments_msg:"scrollToTop"})}},{key:"navigateHome",value:function(){this.navigate("home")}},{key:"navigateNext",value:function(){this.navigate("next")}},{key:"navigatePrevious",value:function(){this.navigate("previous")}},{key:"navigate",value:function(e){c.default.broadcastMsg({subject:"lti.navigation",location:e})}},{key:"availableLocales",value:function(){c.default.broadcastMsg({open_assessments_msg:"open_assessments_available_locales",available_locales:(0,l.availableLocales)()})}},{key:"broadcast",value:function(e){c.default.broadcastMsg(e)}},{key:"handleComm",value:function(e){switch(e.data.open_assessments_msg){case u.CommunicatorSizeRequest:this.sendSize()}}}]),e}();t.default=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CommunicatorSizeRequest=t.CommunicatorResizeMsg=t.CommunicatorMsg=void 0;var o=n(1436),i=r(o),a=n(66),s=r(a),u=n(543),c=r(u),l=n(4),f=r(l),d=n(5),p=r(d),h=t.CommunicatorMsg="open_assessments_msg",v=(t.CommunicatorResizeMsg="open_assessments_resize",t.CommunicatorSizeRequest="open_assessments_size_request",function(){function e(){(0,f.default)(this,e)}return(0,p.default)(e,null,[{key:"enableListener",value:function(e){var t=window.addEventListener?"addEventListener":"attachEvent",n=window[t];this.messageEvent="attachEvent"===t?"onmessage":"message",n(this.messageEvent,function(t){return e.handleComm(t)},!1)}},{key:"commMsg",value:function(e,t){var n;parent.postMessage((0,c.default)((n={},(0,s.default)(n,h,e),(0,s.default)(n,"payload",t),n)),"*")}},{key:"broadcastMsg",value:function(e){for(var t=new i.default,n=parent;!t.has(n);)n.postMessage((0,c.default)(e),"*"),t.add(n),n=n.parent}}]),e}());t.default=v},,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return e.assessment.items.map(S.transformItem)}function a(){return{}}function s(e,t){return e.assessment.items.length}function u(e,t){return!g.default.isEmpty(e.assessment)}function c(e,t){return e.assessmentProgress.get("numQuestionsChecking",0)>0}function l(e,t){return T.questionResults(e,t)}function f(e,t){return T.correctItemCount(e,t)}function d(e,t){var n=(0,w.default)(e,t).twoButtonNav,r=(0,_.currentItems)(e)[0];switch(r.question_type){case"text_input_question":case"text_only_question":case"short_answer_question":case"survey_question":return n.saveAnswerButton;case"file_upload_question":case"audio_upload_question":case"movable_words_sandbox":return n.saveFileButton;default:return n.checkAnswerButton}}function p(e){return e.assessment.requireNAnswers!==-1}function h(e,t){var n=(0,_.isNextUnlocked)(e),r=(0,_.isLastPage)(e);return n===!0&&r===!0?m.PRIMARY_ACTION.SUBMIT:n===!0?m.PRIMARY_ACTION.NEXT:m.PRIMARY_ACTION.CHECK_ANSWERS}function v(e,t){var n=(0,_.isPrevUnlocked)(e),r=(0,_.isFirstPage)(e)||!n&&!p(e);return{buttonState:r?m.SECONDARY_ACTION.NONE:m.SECONDARY_ACTION.PREV}}Object.defineProperty(t,"__esModule",{value:!0}),t.questions=i,t.outcomes=a,t.questionCount=s,t.assessmentLoaded=u,t.isCheckingAnswer=c,t.questionResults=l,t.correctItemCount=f,t.checkButtonText=d,t.isNofM=p,t.primaryActionState=h,t.secondaryActionState=v;var y=n(3),g=o(y),m=n(1232),_=n(336),b=n(156),w=o(b),E=n(1244),T=r(E),S=n(539)},function(e,t){"use strict"},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(4),i=r(o),a=n(5),s=r(a),u=n(134),c=r(u),l=n(1242),f=r(l),d=n(324),p=function(){function e(){(0,i.default)(this,e)}return(0,s.default)(e,null,[{key:"parse",value:function(e,t,n){var r={id:t.attr("ident"),title:t.attr("title"),standard:d.AssessmentFormats.Qti1,assessmentId:e};return r.objectives=n.find("assessment > objectives matref").map(function(e,t){return(0,c.default)(t).attr("linkrefid")}),r.sections=this.parseSections(n),r}},{key:"parseSections",value:function(e){var t=this,n=function(e){return e=(0,c.default)(e),{id:e.attr("ident"),standard:d.AssessmentFormats.Qti1,xml:e,outcome:t.parseOutcome(e),items:t.parseItems(e)}},r=function(e){return{id:"default",standard:d.AssessmentFormats.Qti1,xml:e,items:t.parseItems(e)}};return this.listFromXml(e,"section",n,r)}},{key:"parseOutcome",value:function(e){if(e=(0,c.default)(e),"root_section"==e.attr("ident"))return"root section";for(var t=e.find("item")[0],n=(0,c.default)(t).find("qtimetadatafield"),r={shortOutcome:"",longOutcome:"",outcomeGuid:""},o=n.length-1;o>=0;o--)"outcome_guid"==(0,c.default)(n[o]).find("fieldlabel").text()&&(r.outcomeGuid=(0,c.default)(n[o]).find("fieldentry").text()),"outcome_long_title"==(0,c.default)(n[o]).find("fieldlabel").text()&&(r.longOutcome=(0,c.default)(n[o]).find("fieldentry").text()),"outcome_short_title"==(0,c.default)(n[o]).find("fieldlabel").text()&&(r.shortOutcome=(0,c.default)(n[o]).find("fieldentry").text());return r}},{key:"parseItems",value:function(e){var t=this,n=function(e){e=(0,c.default)(e);var n=e.find("objectives matref").map(function(e,t){return(0,c.default)(t).attr("linkrefid")}),r={shortOutcome:"",longOutcome:""};e.find("fieldentry").map(function(e,t){2==e&&(r.shortOutcome=t.textContent),3==e&&(r.longOutcome=t.textContent)});var o={id:e.attr("ident"),title:e.attr("title"),objectives:n,outcomes:r,xml:e,material:t.material(e),answers:t.parseAnswers(e),correct:t.parseCorrect(e),timeSpent:0};c.default.each(e.find("itemmetadata > qtimetadata > qtimetadatafield"),function(e,t){o[(0,c.default)(t).find("fieldlabel").text()]=(0,c.default)(t).find("fieldentry").text()}),"Multiple Choice"===e.find("itemmetadata > qmd_itemtype").text()&&(o.question_type="multiple_choice_question");var i=e.find("response_grp");return i&&"Multiple"===i.attr("rcardinality")&&(o.question_type="drag_and_drop"),o};return this.listFromXml(e,"> item",n)}},{key:"parseCorrect",value:function(e){for(var t=e.find("respcondition"),n=[],r=0;r<t.length;r++){var o=(0,c.default)(t[r]);if("0"!=o.find("setvar").text()){var i={id:o.find("conditionvar > varequal").text(),value:o.find("setvar").text()};""==i.id&&(i.id=o.find("conditionvar > and > varequal").map(function(e,t){return t=(0,c.default)(t),t.text()}),i.id=i.id.toArray()),n.push(i)}}return n}},{key:"parseAnswers",value:function(e){var t=this,n=function(e){e=(0,c.default)(e);var n=e.parent().parent().find("material")[0].textContent.trim(),r={id:e.attr("ident"),material:t.buildMaterial(e.find("material").children()),matchMaterial:n,xml:e,feedback:t.parseFeedback(e)};return r};return this.listFromXml(e,"response_lid > render_choice > response_label",n)}},{key:"buildMaterial",value:function(e){var t="";return c.default.each(e,function(e,n){var r=(0,c.default)(n);switch(n.nodeName.toLowerCase()){case"mattext":t+=r.text();break;case"matemtext":t+=r.text();break;case"matimage":t+='<img src="'+r.attr("uri")+'"',r.attr("label")&&(t+='alt="'+r.attr("label")+'"'),r.attr("width")&&(t+='width="'+r.attr("width")+'"'),r.attr("height")&&(t+='height="'+r.attr("height")+'"'),t+=" />";break;case"matref":(0,c.default)(n).attr("linkrefid")}}),t}},{key:"listFromXml",value:function(e,t,n,r){e=(0,c.default)(e);var o=e.find(t).map(function(e,t){return n(t)}).toArray();return o.length<=0&&r&&(o=[r(e)]),o}},{key:"buildResponseGroup",value:function(e){return this.buildMaterial((0,c.default)(e).find("material").children())}},{key:"material",value:function e(t){var e=t.find("presentation > material").children();if(e.length>0)return this.buildMaterial(e);var n=t.find("presentation > flow");return n.length>0?this.reduceFlow(n):void 0}},{key:"reduceFlow",value:function(e){var t="";return c.default.each(e.children(),function(e,n){"flow"===n.nodeName.toLowerCase()?t+=f.default.buildMaterial((0,c.default)(n).find("material").children()):"response_grp"===n.nodeName.toLowerCase()&&(t+=f.default.buildResponseGroup(n))}),t}},{key:"parseFeedback",value:function(e){return{}}}]),e}();t.default=p},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.questionCount=t.outcomes=t.questions=t.sections=t.shuffleQuestionAnswers=t.assessment=t.questionsPerPage=t.questionsPerSection=void 0;var o=n(396),i=(r(o),n(314)),a=n(1242),s=t.questionsPerSection=function(e,t){return e.settings.questions_per_section},u=(t.questionsPerPage=function(e,t){return e.settings.questions_per_page},t.assessment=function(e,t){return e.assessment}),c=t.shuffleQuestionAnswers=function(e,t){return e.settings.shuffle_question_answers},l=t.sections=(0,i.createSelector)([u],function(e){return e.sections}),f=t.questions=(0,i.createSelector)([l,s],function(e,t){return(0,a.getItems)(e,null,c)});t.outcomes=(0,i.createSelector)([l],function(e){return(0,a.loadOutcomes)(e)}),t.questionCount=(0,i.createSelector)([f],function(e){return e.length})},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={params:function(){for(var e={},t=window.location.search.substring(1).split("&"),n=0;n<t.length;n++){var r=t[n].split("=");e[decodeURIComponent(r[0])]=decodeURIComponent(r[1])}return e}}},function(e,t,n){e.exports={default:n(1439),__esModule:!0}},,,function(e,t,n){n(329),n(133),n(159),n(1447),n(1448),e.exports=n(24).Set},[1494,326],[1497,87,327,132,215,1443],[1498,69,504,35],[1499,1442],[1502,59,214,356,87,345,213,326,328,505,506,68,229],[1503,212,1440],function(e,t,n){"use strict";var r=n(47),o=n(51),i=n(229),a=n(105),s=n(86),u=n(356),c=n(326),l=n(345),f=n(69),d=n(158),p=n(59).f,h=n(1441)(0),v=n(68);e.exports=function(e,t,n,y,g,m){var _=r[e],b=_,w=g?"set":"add",E=b&&b.prototype,T={};return v&&"function"==typeof b&&(m||E.forEach&&!a(function(){(new b).entries().next()}))?(b=t(function(t,n){l(t,b,e,"_c"),t._c=new _,void 0!=n&&c(n,g,t[w],t)}),h("add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON".split(","),function(e){var t="add"==e||"set"==e;e in E&&(!m||"clear"!=e)&&s(b.prototype,e,function(n,r){if(l(this,b,e),!t&&m&&!f(n))return"get"==e&&void 0;var o=this._c[e](0===n?0:n,r);return t?this:o})}),"size"in E&&p(b.prototype,"size",{get:function(){return this._c.size}})):(b=y.getConstructor(t,e,g,w),u(b.prototype,n),i.NEED=!0),d(b,e),T[e]=b,o(o.G+o.W+o.F,T),m||y.setStrong(b,e,g),b}},[1622,1444,1446],[1627,51,1445],,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n,r){var o=n(r);e.exports=function(e){if(!o(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n,r){var o=n(r);e.exports=function(e,t){var n=[];return o(e,!1,n.push,n,t),n}},function(e,t,n,r,o,i){var a=n(r),s=n(o),u=n(i);e.exports=function(e){return function(t,n,r){var o,i=a(t),c=s(i.length),l=u(r,c);if(e&&n!=n){for(;c>l;)if(o=i[l++],o!=o)return!0}else for(;c>l;l++)if((e||l in i)&&i[l]===n)return e||l||0;return!e&&-1}}},,function(e,t,n,r,o,i,a,s){var u=n(r),c=n(o),l=n(i),f=n(a),d=n(s);e.exports=function(e,t){var n=1==e,r=2==e,o=3==e,i=4==e,a=6==e,s=5==e||a,p=t||d;return function(t,d,h){for(var v,y,g=l(t),m=c(g),_=u(d,h,3),b=f(m.length),w=0,E=n?p(t,b):r?p(t,0):void 0;b>w;w++)if((s||w in m)&&(v=m[w],y=_(v,w,g),e))if(n)E[w]=y;else if(y)switch(e){case 3:return!0;case 5:return v;case 6:return w;case 2:E.push(v)}else if(i)return!1;return a?-1:o||i?i:E}}},function(e,t,n,r,o,i){var a=n(r),s=n(o),u=n(i)("species");e.exports=function(e){var t;return s(e)&&(t=e.constructor,"function"!=typeof t||t!==Array&&!s(t.prototype)||(t=void 0),a(t)&&(t=t[u],null===t&&(t=void 0))),void 0===t?Array:t}},function(e,t,n,r){var o=n(r);e.exports=function(e,t){return new(o(e))(t)}},,function(e,t,n,r,o){var i=n(r),a=n(o)("toStringTag"),s="Arguments"==i(function(){return arguments}()),u=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=u(t=Object(e),a))?n:s?i(t):"Object"==(r=i(t))&&"function"==typeof t.callee?"Arguments":r}},function(e,t,n,r,o,i,a,s,u,c,l,f,d,p,h){"use strict";var v=n(r).f,y=n(o),g=n(i),m=n(a),_=n(s),b=n(u),w=n(c),E=n(l),T=n(f),S=n(d),C=n(p),x=n(h).fastKey,O=C?"_s":"size",k=function(e,t){var n,r=x(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,r){var o=e(function(e,i){_(e,o,t,"_i"),e._i=y(null),e._f=void 0,e._l=void 0,e[O]=0,void 0!=i&&w(i,n,e[r],e)});return g(o.prototype,{clear:function(){for(var e=this,t=e._i,n=e._f;n;n=n.n)n.r=!0,n.p&&(n.p=n.p.n=void 0),delete t[n.i];e._f=e._l=void 0,e[O]=0},delete:function(e){var t=this,n=k(t,e);if(n){var r=n.n,o=n.p;delete t._i[n.i],n.r=!0,o&&(o.n=r),r&&(r.p=o),t._f==n&&(t._f=r),t._l==n&&(t._l=o),t[O]--}return!!n},forEach:function(e){_(this,o,"forEach");for(var t,n=m(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.n:this._f;)for(n(t.v,t.k,this);t&&t.r;)t=t.p},has:function(e){return!!k(this,e)}}),C&&v(o.prototype,"size",{get:function(){return b(this[O])}}),o},def:function(e,t,n){var r,o,i=k(e,t);return i?i.v=n:(e._l=i={i:o=x(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=i),r&&(r.n=i),e[O]++,"F"!==o&&(e._i[o]=i)),e},getEntry:k,setStrong:function(e,t,n){E(e,t,function(e,t){this._t=e,this._k=t,this._l=void 0},function(){for(var e=this,t=e._k,n=e._l;n&&n.r;)n=n.p;return e._t&&(e._l=n=n?n.n:e._t._f)?"keys"==t?T(0,n.k):"values"==t?T(0,n.v):T(0,[n.k,n.v]):(e._t=void 0,T(1))},n?"entries":"values",!n,!0),S(t)}}},function(e,t,n,r,o){var i=n(r),a=n(o);e.exports=function(e){return function(){if(i(this)!=e)throw TypeError(e+"#toJSON isn't generic");return a(this)}}},,function(e,t,n,r,o){"use strict";var i=n(r),a=n(o);e.exports=function(e,t,n){t in e?i.f(e,t,a(0,n)):e[t]=n}},function(e,t,n,r){var o=n(r);e.exports=function(e,t,n){if(o(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},,function(e,t,n,r){e.exports=!n(r)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},,function(e,t,n,r,o){var i=n(r),a=n(o).document,s=i(a)&&i(a.createElement);e.exports=function(e){return s?a.createElement(e):{}}},,,function(e,t,n,r,o,i){var a=n(r),s=n(o),u=n(i);e.exports=function(e){var t=a(e),n=s.f;if(n)for(var r,o=n(e),i=u.f,c=0;o.length>c;)i.call(e,r=o[c++])&&t.push(r);return t}},function(e,t,n,r,o,i,a,s,u){var c=n(r),l=n(o),f=n(i),d=n(a),p=n(s),h=n(u),v={},y={},t=e.exports=function(e,t,n,r,o){var i,a,s,u,g=o?function(){return e}:h(e),m=c(n,r,t?2:1),_=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(f(g)){for(i=p(e.length);i>_;_++)if(u=t?m(d(a=e[_])[0],a[1]):m(e[_]),u===v||u===y)return u}else for(s=g.call(e);!(a=s.next()).done;)if(u=l(s,m,a.value,t),u===v||u===y)return u};t.BREAK=v,t.RETURN=y},,,function(e,t,n,r,o,i){var a=n(r),s=n(o);e.exports=n(i)?function(e,t,n){return a.f(e,t,s(1,n))}:function(e,t,n){return e[t]=n,e}},,function(e,t,n,r){e.exports=n(r).document&&document.documentElement},function(e,t,n,r,o,i){e.exports=!n(r)&&!n(o)(function(){return 7!=Object.defineProperty(n(i)("div"),"a",{get:function(){return 7}}).a})},,function(e,t,n,r){var o=n(r);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==o(e)?e.split(""):Object(e)}},,,function(e,t,n,r,o){var i=n(r),a=n(o)("iterator"),s=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||s[a]===e)}},function(e,t,n,r){var o=n(r);e.exports=Array.isArray||function(e){return"Array"==o(e)}},,,function(e,t,n,r){var o=n(r),i=Math.floor;e.exports=function(e){return!o(e)&&isFinite(e)&&i(e)===e}},function(e,t,n,r){var o=n(r);e.exports=function(e,t,n,r){try{return r?t(o(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&o(i.call(e)),t}}},,function(e,t,n,r,o,i,a,s){"use strict";var u=n(r),c=n(o),l=n(i),f={};n(a)(f,n(s)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=u(f,{next:c(1,n)}),l(e,t+" Iterator")}},,function(e,t,n,r,o,i,a,s,u,c,l,f,d){"use strict";var p=n(r),h=n(o),v=n(i),y=n(a),g=n(s),m=n(u),_=n(c),b=n(l),w=n(f),E=n(d)("iterator"),T=!([].keys&&"next"in[].keys()),S="@@iterator",C="keys",x="values",O=function(){return this};e.exports=function(e,t,n,r,o,i,a){_(n,t,r);var s,u,c,l=function(e){if(!T&&e in M)return M[e];switch(e){case C:return function(){return new n(this,e)};case x:return function(){return new n(this,e)}}return function(){return new n(this,e)}},f=t+" Iterator",d=o==x,k=!1,M=e.prototype,P=M[E]||M[S]||o&&M[o],A=P||l(o),I=o?d?l("entries"):A:void 0,j="Array"==t?M.entries||P:P;if(j&&(c=w(j.call(new e)),c!==Object.prototype&&(b(c,f,!0),p||g(c,E)||y(c,E,O))),d&&P&&P.name!==x&&(k=!0,A=function(){return P.call(this)}),p&&!a||!T&&!k&&M[E]||y(M,E,A),m[t]=A,m[f]=O,o)if(s={values:d?A:l(x),keys:i?A:l(C),entries:I},a)for(u in s)u in M||v(M,u,s[u]);else h(h.P+h.F*(T||k),t,s);return s}},,function(e,t,n,r){var o=n(r)("iterator"),i=!1;try{var a=[7][o]();a.return=function(){i=!0},Array.from(a,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var r=[7],a=r[o]();a.next=function(){return{done:n=!0}},r[o]=function(){return a},e(r)}catch(e){}return n}},,,function(e,t,n,r,o){var i=n(r),a=n(o);e.exports=function(e,t){for(var n,r=a(e),o=i(r),s=o.length,u=0;s>u;)if(r[n=o[u++]]===t)return n}},function(e,t,n,r,o,i,a,s){var u=n(r)("meta"),c=n(o),l=n(i),f=n(a).f,d=0,p=Object.isExtensible||function(){return!0},h=!n(s)(function(){return p(Object.preventExtensions({}))}),v=function(e){f(e,u,{value:{i:"O"+ ++d,w:{}}})},y=function(e,t){if(!c(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!l(e,u)){if(!p(e))return"F";if(!t)return"E";v(e)}return e[u].i},g=function(e,t){if(!l(e,u)){if(!p(e))return!0;if(!t)return!1;v(e)}return e[u].w},m=function(e){return h&&_.NEED&&p(e)&&!l(e,u)&&v(e),e},_=e.exports={KEY:u,NEED:!1,fastKey:y,getWeak:g,onFreeze:m}},,function(e,t,n,r,o,i){var a=n(r),s=n(o).set,u=a.MutationObserver||a.WebKitMutationObserver,c=a.process,l=a.Promise,f="process"==n(i)(c);e.exports=function(){var e,t,n,r=function(){var r,o;for(f&&(r=c.domain)&&r.exit();e;){o=e.fn,e=e.next;try{o()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(f)n=function(){c.nextTick(r)};else if(u){var o=!0,i=document.createTextNode("");new u(r).observe(i,{characterData:!0}),n=function(){i.data=o=!o}}else if(l&&l.resolve){var d=l.resolve();n=function(){d.then(r)}}else n=function(){s.call(a,r)};return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}},,,function(e,t,n,r,o,i,a,s,u){"use strict";var c=n(r),l=n(o),f=n(i),d=n(a),p=n(s),h=Object.assign;e.exports=!h||n(u)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=h({},e)[n]||Object.keys(h({},t)).join("")!=r})?function(e,t){for(var n=d(e),r=arguments.length,o=1,i=l.f,a=f.f;r>o;)for(var s,u=p(arguments[o++]),h=i?c(u).concat(i(u)):c(u),v=h.length,y=0;v>y;)a.call(u,s=h[y++])&&(n[s]=u[s]);return n}:h},function(e,t,n,r,o,i,a,s,u){var c=n(r),l=n(o),f=n(i),d=n(a)("IE_PROTO"),p=function(){},h="prototype",v=function(){var e,t=n(s)("iframe"),r=f.length,o="<",i=">";for(t.style.display="none",n(u).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(o+"script"+i+"document.F=Object"+o+"/script"+i),e.close(),v=e.F;r--;)delete v[h][f[r]];return v()};e.exports=Object.create||function(e,t){var n;return null!==e?(p[h]=c(e),n=new p,p[h]=null,n[d]=e):n=v(),void 0===t?n:l(n,t)}},,function(e,t,n,r,o,i,a){var s=n(r),u=n(o),c=n(i),l=Object.defineProperty;t.f=n(a)?Object.defineProperty:function(e,t,n){if(s(e),t=c(t,!0),s(n),u)try{return l(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},,function(e,t,n,r,o,i,a){var s=n(r),u=n(o),c=n(i);e.exports=n(a)?Object.defineProperties:function(e,t){u(e);for(var n,r=c(t),o=r.length,i=0;o>i;)s.f(e,n=r[i++],t[n]);return e}},,function(e,t,n,r,o,i,a,s,u,c){var l=n(r),f=n(o),d=n(i),p=n(a),h=n(s),v=n(u),y=Object.getOwnPropertyDescriptor;t.f=n(c)?y:function(e,t){if(e=d(e),t=p(t,!0),v)try{return y(e,t)}catch(e){}if(h(e,t))return f(!l.f.call(e,t),e[t])}},,,function(e,t,n,r,o){var i=n(r),a=n(o).f,s={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(e){try{return a(e)}catch(e){return u.slice()}};e.exports.f=function(e){return u&&"[object Window]"==s.call(e)?c(e):a(i(e))}},function(e,t,n,r,o){var i=n(r),a=n(o).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,a)}},,,function(e,t,n,r,o,i){var a=n(r),s=n(o),u=n(i)("IE_PROTO"),c=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=s(e),a(e,u)?e[u]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?c:null}},,function(e,t,n,r,o,i,a){var s=n(r),u=n(o),c=n(i)(!1),l=n(a)("IE_PROTO");e.exports=function(e,t){var n,r=u(e),o=0,i=[];for(n in r)n!=l&&s(r,n)&&i.push(n);for(;t.length>o;)s(r,n=t[o++])&&(~c(i,n)||i.push(n));return i}},,function(e,t,n,r,o){var i=n(r),a=n(o);e.exports=Object.keys||function(e){return i(e,a)}},function(e,t,n,r,o,i){var a=n(r),s=n(o),u=n(i);e.exports=function(e,t){var n=(s.Object||{})[e]||Object[e],r={};r[e]=t(n),a(a.S+a.F*u(function(){n(1)}),"Object",r)}},,function(e,t,n,r,o,i,a){var s=n(r),u=n(o),c=function(e,t){if(u(e),!s(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{r=n(i)(Function.call,n(a).f(Object.prototype,"__proto__").set,2),r(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return c(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:c}},,,function(e,t,n,r,o,i){var a=n(r).f,s=n(o),u=n(i)("toStringTag");e.exports=function(e,t,n){e&&!s(e=n?e:e.prototype,u)&&a(e,u,{configurable:!0,value:t})}},,function(e,t,n,r,o){var i=n(r)("keys"),a=n(o);e.exports=function(e){return i[e]||(i[e]=a(e))}},,function(e,t,n,r){var o=n(r),i="__core-js_shared__",a=o[i]||(o[i]={});e.exports=function(e){return a[e]||(a[e]={})}},,function(e,t,n,r,o,i){var a=n(r),s=n(o),u=n(i)("species");e.exports=function(e,t){var n,r=a(e).constructor;return void 0===r||void 0==(n=a(r)[u])?t:s(n)}},,function(e,t,n,r,o){var i=n(r),a=n(o);e.exports=function(e){return function(t,n){var r,o,s=String(a(t)),u=i(n),c=s.length;return u<0||u>=c?e?"":void 0:(r=s.charCodeAt(u),r<55296||r>56319||u+1===c||(o=s.charCodeAt(u+1))<56320||o>57343?e?s.charAt(u):r:e?s.slice(u,u+2):(r-55296<<10)+(o-56320)+65536)}}},function(e,t,n,r,o,i,a,s,u){var c,l,f,d=n(r),p=n(o),h=n(i),v=n(a),y=n(s),g=y.process,m=y.setImmediate,_=y.clearImmediate,b=y.MessageChannel,w=0,E={},T="onreadystatechange",S=function(){var e=+this;if(E.hasOwnProperty(e)){var t=E[e];delete E[e],t()}},C=function(e){S.call(e.data)};m&&_||(m=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return E[++w]=function(){p("function"==typeof e?e:Function(e),t)},c(w),w},_=function(e){delete E[e]},"process"==n(u)(g)?c=function(e){g.nextTick(d(S,e,1))}:b?(l=new b,f=l.port2,l.port1.onmessage=C,c=d(f.postMessage,f,1)):y.addEventListener&&"function"==typeof postMessage&&!y.importScripts?(c=function(e){y.postMessage(e+"","*")},y.addEventListener("message",C,!1)):c=T in v("script")?function(e){h.appendChild(v("script"))[T]=function(){h.removeChild(this),S.call(e)}}:function(e){setTimeout(d(S,e,1),0)}),e.exports={set:m,clear:_}},,function(e,t,n,r){var o=n(r),i=Math.max,a=Math.min;e.exports=function(e,t){return e=o(e),e<0?i(e+t,0):a(e,t)}},,,function(e,t,n,r,o){var i=n(r),a=n(o);e.exports=function(e){return i(a(e))}},,function(e,t,n,r){var o=n(r),i=Math.min;e.exports=function(e){return e>0?i(o(e),9007199254740991):0}},,function(e,t,n,r){var o=n(r);e.exports=function(e){return Object(o(e))}},function(e,t,n,r){var o=n(r);e.exports=function(e,t){if(!o(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!o(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!o(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!o(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},,function(e,t,n,r,o,i,a,s){var u=n(r),c=n(o),l=n(i),f=n(a),d=n(s).f;e.exports=function(e){var t=c.Symbol||(c.Symbol=l?{}:u.Symbol||{});"_"==e.charAt(0)||e in t||d(t,e,{value:f.f(e)})}},,function(e,t,n,r){t.f=n(r)},,,function(e,t,n,r,o,i){var a=n(r)("wks"),s=n(o),u=n(i).Symbol,c="function"==typeof u,l=e.exports=function(e){return a[e]||(a[e]=c&&u[e]||(c?u:s)("Symbol."+e))};l.store=a},,function(e,t,n,r,o,i,a){var s=n(r),u=n(o)("iterator"),c=n(i);e.exports=n(a).getIteratorMethod=function(e){if(void 0!=e)return e[u]||e["@@iterator"]||c[s(e)]}},,function(e,t,n,r,o,i,a,s,u,c,l,f){"use strict";var d=n(r),p=n(o),h=n(i),v=n(a),y=n(s),g=n(u),m=n(c),_=n(l);p(p.S+p.F*!n(f)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,r,o,i=h(e),a="function"==typeof this?this:Array,s=arguments.length,u=s>1?arguments[1]:void 0,c=void 0!==u,l=0,f=_(i);if(c&&(u=d(u,s>2?arguments[2]:void 0,2)),void 0==f||a==Array&&y(f))for(t=g(i.length),n=new a(t);t>l;l++)m(n,l,c?u(i[l],l):i[l]);else for(o=f.call(i),n=new a;!(r=o.next()).done;l++)m(n,l,c?v(o,u,[r.value,l],!0):r.value);return n.length=l,n}})},,function(e,t,n,r,o,i,a,s){"use strict";var u=n(r),c=n(o),l=n(i),f=n(a);e.exports=n(s)(Array,"Array",function(e,t){this._t=f(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,c(1)):"keys"==t?c(0,n):"values"==t?c(0,e[n]):c(0,[n,e[n]])},"values"),l.Arguments=l.Array,u("keys"),u("values"),u("entries")},,function(e,t,n,r,o){var i=n(r),a=n(o),s=Math.abs;i(i.S,"Number",{isSafeInteger:function(e){return a(e)&&s(e)<=9007199254740991}})},,function(e,t,n,r,o){var i=n(r);i(i.S+i.F,"Object",{assign:n(o)})},,function(e,t,n,r,o){var i=n(r);i(i.S,"Object",{create:n(o)})},,function(e,t,n,r,o,i){var a=n(r);a(a.S+a.F*!n(o),"Object",{defineProperty:n(i).f})},,function(e,t,n,r,o,i){var a=n(r),s=n(o).onFreeze;n(i)("freeze",function(e){return function(t){return e&&a(t)?e(s(t)):t}})},,function(e,t,n,r,o){n(r)("getOwnPropertyNames",function(){return n(o).f})},,function(e,t,n,r,o,i){var a=n(r),s=n(o);n(i)("getPrototypeOf",function(){return function(e){return s(a(e))}})},,function(e,t,n,r,o,i){var a=n(r),s=n(o);n(i)("keys",function(){return function(e){return s(a(e))}})},function(e,t,n,r,o){var i=n(r);i(i.S,"Object",{setPrototypeOf:n(o).set})},,function(e,t,n,r,o,i,a,s,u,c,l,f,d,p,h,v,y,g,m,_,b){"use strict";var w,E,T,S=n(r),C=n(o),x=n(i),O=n(a),k=n(s),M=n(u),P=n(c),A=n(l),I=n(f),j=n(d),D=n(p).set,R=n(h)(),N="Promise",L=C.TypeError,F=C.process,U=C[N],F=C.process,B="process"==O(F),q=function(){},W=!!function(){try{var e=U.resolve(1),t=(e.constructor={})[n(v)("species")]=function(e){e(q,q)};return(B||"function"==typeof PromiseRejectionEvent)&&e.then(q)instanceof t}catch(e){}}(),z=function(e,t){return e===t||e===U&&t===T},H=function(e){var t;return!(!M(e)||"function"!=typeof(t=e.then))&&t},V=function(e){return z(U,e)?new G(e):new E(e)},G=E=function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw L("Bad Promise constructor");t=e,n=r}),this.resolve=P(t),this.reject=P(n)},K=function(e){try{e()}catch(e){return{error:e}}},Y=function(e,t){if(!e._n){e._n=!0;var n=e._c;R(function(){for(var r=e._v,o=1==e._s,i=0,a=function(t){var n,i,a=o?t.ok:t.fail,s=t.resolve,u=t.reject,c=t.domain;try{a?(o||(2==e._h&&Q(e),e._h=1),a===!0?n=r:(c&&c.enter(),n=a(r),c&&c.exit()),n===t.promise?u(L("Promise-chain cycle")):(i=H(n))?i.call(n,s,u):s(n)):u(r)}catch(e){u(e)}};n.length>i;)a(n[i++]);e._c=[],e._n=!1,t&&!e._h&&$(e)})}},$=function(e){D.call(C,function(){var t,n,r,o=e._v;if(X(e)&&(t=K(function(){B?F.emit("unhandledRejection",o,e):(n=C.onunhandledrejection)?n({promise:e,reason:o}):(r=C.console)&&r.error&&r.error("Unhandled promise rejection",o)}),e._h=B||X(e)?2:1),e._a=void 0,t)throw t.error})},X=function(e){if(1==e._h)return!1;for(var t,n=e._a||e._c,r=0;n.length>r;)if(t=n[r++],t.fail||!X(t.promise))return!1;return!0},Q=function(e){D.call(C,function(){var t;B?F.emit("rejectionHandled",e):(t=C.onrejectionhandled)&&t({promise:e,reason:e._v})})},J=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),Y(t,!0))},Z=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw L("Promise can't be resolved itself");(t=H(e))?R(function(){var r={_w:n,_d:!1};try{t.call(e,x(Z,r,1),x(J,r,1))}catch(e){J.call(r,e)}}):(n._v=e,n._s=1,Y(n,!1))}catch(e){J.call({_w:n,_d:!1},e)}}};W||(U=function(e){A(this,U,N,"_h"),P(e),w.call(this);try{e(x(Z,this,1),x(J,this,1))}catch(e){J.call(this,e)}},w=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},w.prototype=n(y)(U.prototype,{then:function(e,t){var n=V(j(this,U));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=B?F.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&Y(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),G=function(){var e=new w;this.promise=e,this.resolve=x(Z,e,1),this.reject=x(J,e,1)}),k(k.G+k.W+k.F*!W,{Promise:U}),n(g)(U,N),n(m)(N),T=n(_)[N],k(k.S+k.F*!W,N,{reject:function(e){var t=V(this),n=t.reject;return n(e),t.promise}}),k(k.S+k.F*(S||!W),N,{resolve:function(e){if(e instanceof U&&z(e.constructor,this))return e;var t=V(this),n=t.resolve;return n(e),t.promise}}),k(k.S+k.F*!(W&&n(b)(function(e){U.all(e).catch(q)})),N,{all:function(e){var t=this,n=V(t),r=n.resolve,o=n.reject,i=K(function(){var n=[],i=0,a=1;I(e,!1,function(e){var s=i++,u=!1;n.push(void 0),a++,t.resolve(e).then(function(e){u||(u=!0,n[s]=e,--a||r(n))},o)}),--a||r(n)});return i&&o(i.error),n.promise},race:function(e){var t=this,n=V(t),r=n.reject,o=K(function(){I(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o&&r(o.error),n.promise}})},,function(e,t,n,r,o){"use strict";var i=n(r);e.exports=n(o)("Set",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0);
+}},{add:function(e){return i.def(this,e=0===e?0:e,e)}},i)},,function(e,t,n,r,o){"use strict";var i=n(r)(!0);n(o)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=i(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n,r,o,i,a,s,u,c,l,f,d,p,h,v,y,g,m,_,b,w,E,T,S,C,x,O,k,M,P,A,I){"use strict";var j=n(r),D=n(o),R=n(i),N=n(a),L=n(s),F=n(u).KEY,U=n(c),B=n(l),q=n(f),W=n(d),z=n(p),H=n(h),V=n(v),G=n(y),K=n(g),Y=n(m),$=n(_),X=n(b),Q=n(w),J=n(E),Z=n(T),ee=n(S),te=n(C),ne=n(x),re=n(O),oe=te.f,ie=ne.f,ae=ee.f,se=j.Symbol,ue=j.JSON,ce=ue&&ue.stringify,le="prototype",fe=z("_hidden"),de=z("toPrimitive"),pe={}.propertyIsEnumerable,he=B("symbol-registry"),ve=B("symbols"),ye=B("op-symbols"),ge=Object[le],me="function"==typeof se,_e=j.QObject,be=!_e||!_e[le]||!_e[le].findChild,we=R&&U(function(){return 7!=Z(ie({},"a",{get:function(){return ie(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=oe(ge,t);r&&delete ge[t],ie(e,t,n),r&&e!==ge&&ie(ge,t,r)}:ie,Ee=function(e){var t=ve[e]=Z(se[le]);return t._k=e,t},Te=me&&"symbol"==typeof se.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof se},Se=function(e,t,n){return e===ge&&Se(ye,t,n),$(e),t=Q(t,!0),$(n),D(ve,t)?(n.enumerable?(D(e,fe)&&e[fe][t]&&(e[fe][t]=!1),n=Z(n,{enumerable:J(0,!1)})):(D(e,fe)||ie(e,fe,J(1,{})),e[fe][t]=!0),we(e,t,n)):ie(e,t,n)},Ce=function(e,t){$(e);for(var n,r=K(t=X(t)),o=0,i=r.length;i>o;)Se(e,n=r[o++],t[n]);return e},xe=function(e,t){return void 0===t?Z(e):Ce(Z(e),t)},Oe=function(e){var t=pe.call(this,e=Q(e,!0));return!(this===ge&&D(ve,e)&&!D(ye,e))&&(!(t||!D(this,e)||!D(ve,e)||D(this,fe)&&this[fe][e])||t)},ke=function(e,t){if(e=X(e),t=Q(t,!0),e!==ge||!D(ve,t)||D(ye,t)){var n=oe(e,t);return!n||!D(ve,t)||D(e,fe)&&e[fe][t]||(n.enumerable=!0),n}},Me=function(e){for(var t,n=ae(X(e)),r=[],o=0;n.length>o;)D(ve,t=n[o++])||t==fe||t==F||r.push(t);return r},Pe=function(e){for(var t,n=e===ge,r=ae(n?ye:X(e)),o=[],i=0;r.length>i;)!D(ve,t=r[i++])||n&&!D(ge,t)||o.push(ve[t]);return o};me||(se=function(){if(this instanceof se)throw TypeError("Symbol is not a constructor!");var e=W(arguments.length>0?arguments[0]:void 0),t=function(n){this===ge&&t.call(ye,n),D(this,fe)&&D(this[fe],e)&&(this[fe][e]=!1),we(this,e,J(1,n))};return R&&be&&we(ge,e,{configurable:!0,set:t}),Ee(e)},L(se[le],"toString",function(){return this._k}),te.f=ke,ne.f=Se,n(k).f=ee.f=Me,n(M).f=Oe,n(P).f=Pe,R&&!n(A)&&L(ge,"propertyIsEnumerable",Oe,!0),H.f=function(e){return Ee(z(e))}),N(N.G+N.W+N.F*!me,{Symbol:se});for(var Ae="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),Ie=0;Ae.length>Ie;)z(Ae[Ie++]);for(var Ae=re(z.store),Ie=0;Ae.length>Ie;)V(Ae[Ie++]);N(N.S+N.F*!me,"Symbol",{for:function(e){return D(he,e+="")?he[e]:he[e]=se(e)},keyFor:function(e){if(Te(e))return G(he,e);throw TypeError(e+" is not a symbol!")},useSetter:function(){be=!0},useSimple:function(){be=!1}}),N(N.S+N.F*!me,"Object",{create:xe,defineProperty:Se,defineProperties:Ce,getOwnPropertyDescriptor:ke,getOwnPropertyNames:Me,getOwnPropertySymbols:Pe}),ue&&N(N.S+N.F*(!me||U(function(){var e=se();return"[null]"!=ce([e])||"{}"!=ce({a:e})||"{}"!=ce(Object(e))})),"JSON",{stringify:function(e){if(void 0!==e&&!Te(e)){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);return t=r[1],"function"==typeof t&&(n=t),!n&&Y(t)||(t=function(e,t){if(n&&(t=n.call(this,e,t)),!Te(t))return t}),r[1]=t,ce.apply(ue,r)}}}),se[le][de]||n(I)(se[le],de,se[le].valueOf),q(se,"Symbol"),q(Math,"Math",!0),q(j.JSON,"JSON",!0)},,function(e,t,n,r,o){var i=n(r);i(i.P+i.R,"Set",{toJSON:n(o)("Set")})},function(e,t,n,r){n(r)("asyncIterator")},,function(e,t,n,r){n(r)("observable")},,,,,function(e,t,n,r){"use strict";var o=n(r),i=(n(10),function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)}),a=function(e,t){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,e,t),r}return new n(e,t)},s=function(e,t,n){var r=this;if(r.instancePool.length){var o=r.instancePool.pop();return r.call(o,e,t,n),o}return new r(e,t,n)},u=function(e,t,n,r){var o=this;if(o.instancePool.length){var i=o.instancePool.pop();return o.call(i,e,t,n,r),i}return new o(e,t,n,r)},c=function(e){var t=this;e instanceof t?void 0:o("25"),e.destructor(),t.instancePool.length<t.poolSize&&t.instancePool.push(e)},l=10,f=i,d=function(e,t){var n=e;return n.instancePool=[],n.getPooled=t||f,n.poolSize||(n.poolSize=l),n.release=c,n},p={addPoolingTo:d,oneArgumentPooler:i,twoArgumentPooler:a,threeArgumentPooler:s,fourArgumentPooler:u};e.exports=p}]));
\ No newline at end of file
diff -ruN oac/player_styles-23e9c9ebe33b83e235e3_bundle.js oac-new/player_styles-23e9c9ebe33b83e235e3_bundle.js
--- oac/player_styles-23e9c9ebe33b83e235e3_bundle.js	2017-05-06 16:57:15.000000000 +0530
+++ oac-new/player_styles-23e9c9ebe33b83e235e3_bundle.js	1970-01-01 05:30:00.000000000 +0530
@@ -1 +0,0 @@
-!function(t){function r(n){if(e[n])return e[n].exports;var o=e[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}var e={};return r.m=t,r.c=e,r.p="/oac/",r(0)}(function(t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))switch(typeof t[r]){case"function":break;case"object":t[r]=function(r){var e=r.slice(1),n=t[r[0]];return function(t,r,o){n.apply(this,[t,r,o].concat(e))}}(t[r]);break;default:t[r]=t[t[r]]}return t}({0:function(t,r,e){"use strict";e(1416),e(835),e(1420)},835:function(t,r){},1416:835,1420:835}));
\ No newline at end of file
diff -ruN oac/player_styles-23e9c9ebe33b83e235e3.css oac-new/player_styles-23e9c9ebe33b83e235e3.css
--- oac/player_styles-23e9c9ebe33b83e235e3.css	2017-05-06 16:57:15.000000000 +0530
+++ oac-new/player_styles-23e9c9ebe33b83e235e3.css	1970-01-01 05:30:00.000000000 +0530
@@ -1 +0,0 @@
-@font-face{font-family:open_sansbold;src:url(/oac/opensans-bold-webfont-316f0bfd4ad823527bde5f1523ae466b.woff2) format("woff2"),url(/oac/opensans-bold-webfont-48eddbb86b0dd04a412aa631bda1b651.woff) format("woff");font-weight:400;font-style:normal}@font-face{font-family:open_sansregular;src:url(/oac/opensans-regular-webfont-1d81af74bf67efb4fea4c376a4f4e8e1.woff2) format("woff2"),url(/oac/opensans-regular-webfont-cd133a7cfd2d0e0c8282eacf3a7c45b7.woff) format("woff");font-weight:400;font-style:normal}@font-face{font-family:open_sanslight;src:url(/oac/opensans-light-webfont-12b992bf2f102ea40a952914966a73b5.woff2) format("woff2"),url(/oac/opensans-light-webfont-5c5c82db96b29e89bc839c6f1ae9adbd.woff) format("woff");font-weight:400;font-style:normal}@font-face{font-family:open_sanssemibold;src:url(/oac/opensans-semibold-webfont-5cc567d29f0c810258ff8a012b4115e8.woff2) format("woff2"),url(/oac/opensans-semibold-webfont-6c95241693564ed97267b3deaf39fa23.woff) format("woff");font-weight:400;font-style:normal}*{box-sizing:inherit}html,html a{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-shadow:1px 1px 1px rgba(0,0,0,.004);font-size:10px;box-sizing:border-box}body,ul{margin:0}ul{padding:0;list-style-type:none}a,a:link,a:visited{text-decoration:none}p{margin:0}.u-hide{opacity:0!important;pointer-events:none}.o-assessment-container{background:#fff;box-shadow:0 0 .5rem rgba(0,0,0,.3);max-width:100rem;width:100%;margin:1rem auto}.c-header{height:5rem;padding:0 3rem;background:#fff;border-bottom:.2rem solid #efefef}.c-header__remaining,.c-header__title{color:#4f7db2;font-family:open_sansbold,sans-serif;font-size:2rem;float:left;line-height:4.6rem}.c-header__question-number{color:#9b9b9b;font-family:open_sansbold,sans-serif;font-size:1.6rem;float:right;line-height:4.6rem}.c-question-prompt{padding:2rem 3rem;font-family:open_sanssemibold,sans-serif;font-size:1.8rem;color:#4a4a4a}.c-question-prompt>*{margin-bottom:1rem}.c-question-prompt img{display:inline-block;max-width:30rem}.c-question-prompt audio{width:100%}.c-question-prompt .c-playback{display:inline-block;width:2.4rem;min-height:.1rem;padding-right:.5rem;position:relative;margin:0}.c-question-prompt .c-playback svg{position:absolute;top:-1.8rem;width:2.4rem;height:2.4rem}.c-question-prompt .c-playback svg path{fill:#9b9b9b}.c-video{width:15rem;height:9rem;background:#636463;border-radius:.3rem;display:inline-block;position:relative;-webkit-transition:all .2s ease;transition:all .2s ease}.c-video:after{content:"";width:0;height:0;border-width:2rem 0 2rem 3.5rem;border-style:solid;border-color:transparent transparent transparent #fff;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.c-video:hover{background:#4a4a4a}.c-answers{padding:0 3rem}.o-grid{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}.c-answer-container{-webkit-box-flex:0;-ms-flex:0 0 49%;flex:0 0 49%;background:#fff;box-shadow:0 0 .3rem rgba(0,0,0,.3);border:.2rem solid #fff;border-radius:.3rem;min-height:3.5rem;position:relative;padding:.8rem .8rem 0;margin-bottom:1.5rem;cursor:pointer;-webkit-transition:all .1s ease;transition:all .1s ease}.c-answer-container:hover{border-color:#4f7db2}.c-answer-container.is-clicked{background:#4f7db2;border-color:#4f7db2}.c-answer-container.is-clicked .c-answer-container__content p{color:#fff}.c-answer-container.is-clicked .c-feedback{background:#fff}.c-answer-container__radio{width:2rem;position:absolute;left:.8rem;top:.8rem}.c-radio-button .c-radio-button__border{display:inline-block;cursor:pointer;position:relative;height:1.5rem;width:1.5rem;border-radius:50%;border:.2rem solid #9b9b9b;margin:.2rem}.c-radio-button input[type=radio]:checked+.c-radio-button__border:before{content:"";width:.7rem;height:.7rem;background:#fff;border-radius:50%;position:absolute;top:.2rem;left:.2rem}.c-radio-button input[type=radio]:checked+.c-radio-button__border{border-color:#fff}.c-radio-button input{display:none;margin:0;height:.01rem;width:.01rem}.c-checkbox .c-checkbox__border{display:inline-block;cursor:pointer;position:relative;height:1.5rem;width:1.5rem;border-radius:.3rem;border:.2rem solid #9b9b9b;margin:.2rem}.c-checkbox input[type=checkbox]:checked+.c-checkbox__border:before{content:"";width:.3rem;height:.8rem;border:solid #4f7db2;border-width:0 .2rem .2rem 0;position:absolute;-webkit-transform:rotate(45deg);transform:rotate(45deg);top:0;left:.3rem}.c-checkbox input[type=checkbox]:checked+.c-checkbox__border{border-color:#fff;background:#fff}.c-checkbox input{display:none;margin:0;height:.01rem;width:.01rem}.c-answer-container__content{width:100%;padding-left:3rem;font-family:open_sansregular,sans-serif;font-size:1.4rem;color:#4a4a4a}.c-answer-container__content>*{margin-bottom:1rem}.c-answer-container__content img{display:inline-block;max-width:20rem}.c-answer-container__content audio{width:100%}.c-record{padding:2rem 3rem 1rem;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.c-audio-holder{padding:.5rem 1.14rem .65rem 0;-webkit-box-flex:1;-ms-flex:1;flex:1;margin-left:1rem}.c-audio-holder audio{width:100%}.c-audio-timer{padding:.08rem 1.14rem .1rem 0;color:#5a5a5a;font-family:open_sanslight,sans-serif;font-size:2.2rem}.c-audio-timer small{font-family:open_sansregular,sans-serif;font-size:1.3rem}.c-btn--record{border-color:#d0021b;width:10.5rem;-webkit-transition:all .1s ease;transition:all .1s ease}.c-btn--record:hover{background:#d0021b}.c-btn--record:hover span{color:#fff}.c-btn--record:hover span:before{background:#fff}.c-btn--record span{padding-left:1.7rem;color:#d0021b;position:relative;-webkit-transition:all .1s ease;transition:all .1s ease}.c-btn--record span:before{content:"";position:absolute;left:-.5rem;top:.9rem;width:1.2rem;height:1.2rem;border-radius:50%;background:#d0021b}.c-btn--record.c-btn--stop{background:#d0021b}.c-btn--record.c-btn--stop span{color:#fff}.c-btn--record.c-btn--stop span:before{background:#fff;animation:blink 2s linear infinite;-webkit-animation:blink 2s linear infinite}.c-btn--record.c-btn--stop:active{background:#840111;border-color:#840111}@-webkit-keyframes blink{0%{opacity:1}50%{opacity:0}to{opacity:1}}@keyframes blink{0%{opacity:1}50%{opacity:0}to{opacity:1}}.c-text-answer{padding:2rem 3rem 1rem}.c-text-answer textarea{border:.1rem solid #ddd;border-radius:.3rem;width:100%;resize:none;padding:.5rem 1rem;color:#4a4a4a}.c-file-upload,.c-text-answer textarea{font-family:open_sansregular,sans-serif;font-size:1.4rem}.c-file-upload{margin:1rem 0;padding:0 1.5rem;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative;border-radius:.3rem;border:.2rem solid #4f7db2;line-height:1.5rem;left:50%;-webkit-transform:translateX(-50%);transform:translate(-50%);background:#4f7db2;color:#fff;cursor:pointer;-webkit-transition:all .1s ease;transition:all .1s ease;width:60vw}.c-file-upload:hover{background:#fff;color:#4f7db2}.c-file-upload span{padding-top:.15rem;font-family:open_sansbold,sans-serif;text-transform:uppercase;-webkit-transition:all .1s ease;transition:all .1s ease}.c-file-upload input[type=file]{width:.1px;height:.1px;opacity:0;overflow:hidden;position:absolute;z-index:-1}.c-file-upload input[type=text]{min-height:3.5rem;overflow:hidden;position:relative;left:1.5rem;padding:.25rem 1rem;border:none;border-left:.25rem solid #4f7db2;color:#4f7db2;text-overflow:ellipsis;width:50%;-webkit-transition:all .1s ease;transition:all .1s ease}.c-assessment-navigation{display:table;padding:2rem 3rem 3rem}.c-assessment-navigation .c-button-slot{display:table-cell;padding-left:1.5em}.c-assessment-navigation .c-button-slot:first-child{padding-left:0;width:100%}.c-btn{padding:0 1.5rem;height:3.5rem;border-radius:.3rem;border-width:.2rem;border-style:solid;text-transform:uppercase;font-family:open_sansbold,sans-serif;font-size:1.4rem;position:relative;white-space:nowrap}.c-btn[disabled]{visibility:hidden}.c-btn[disabled],.c-btn[disabled] *{-webkit-transition:all 0s;transition:all 0s}.c-btn span{display:inline-block;height:100%;line-height:3rem;-webkit-transition:all .1s ease;transition:all .1s ease}.c-btn svg{width:2.4rem;height:2.4rem;position:absolute;top:.3rem}.c-btn--previous,.c-btn svg path,a.c-btn--previous{-webkit-transition:all .2s ease;transition:all .2s ease}.c-btn--previous,a.c-btn--previous{background:#fff;color:#4c4086;border-color:#4c4086}.c-btn--previous:hover,a.c-btn--previous:hover{border-color:#4c4086;background:#4c4086;color:#fff}.c-btn--previous:hover svg path,a.c-btn--previous:hover svg path{fill:#fff}.c-btn--previous svg path,a.c-btn--previous svg path{fill:#4c4086}.c-btn--next:hover svg path,a.c-btn--next:hover svg path{fill:#922a7d}.c-btn--next svg path,a.c-btn--next svg path{fill:#fff}[dir=ltr] .c-btn--previous{padding-left:3rem}[dir=ltr] .c-btn--previous svg{left:.3rem;-webkit-transform:rotate(90deg);transform:rotate(90deg)}[dir=ltr] .c-btn--next{padding-right:3rem}[dir=ltr] .c-btn--next svg{right:.3rem;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}[dir=rtl] .c-btn--previous{padding-right:3rem}[dir=rtl] .c-btn--previous svg{right:.3rem;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}[dir=rtl] .c-btn--next{padding-left:3rem}[dir=rtl] .c-btn--next svg{left:.3rem;-webkit-transform:rotate(90deg);transform:rotate(90deg)}.c-btn--check-answer,.c-btn--finish,.c-btn--next,a.c-btn--check-answer,a.c-btn--finish,a.c-btn--next{background:#922a7d;color:#fff;border-color:#922a7d;-webkit-transition:all .2s ease;transition:all .2s ease}.c-btn--check-answer:hover,.c-btn--finish:hover,.c-btn--next:hover,a.c-btn--check-answer:hover,a.c-btn--finish:hover,a.c-btn--next:hover{border-color:#922a7d;background:#fff;color:#922a7d}.c-btn--loading,a.c-btn--loading{background:#fff;border-color:#922a7d;pointer-events:none}.c-btn--loading span,a.c-btn--loading span{opacity:0}.c-btn--loading svg,a.c-btn--loading svg{width:2.4rem;height:2.4rem;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);animation:spin .5s linear infinite;-webkit-animation:spin .5s linear infinite}.c-btn--loading svg path,a.c-btn--loading svg path{fill:#922a7d}@-webkit-keyframes spin{0%{-webkit-transform:translate(-50%,-50%) rotate(0);transform:translate(-50%,-50%) rotate(0)}to{-webkit-transform:translate(-50%,-50%) rotate(1turn);transform:translate(-50%,-50%) rotate(1turn)}}.c-answer-feedback{background:#fff;padding:1rem 1.5rem;margin:1rem -.8rem 0;border-radius:0 0 .3rem .3rem}.c-answer-feedback p{font-family:open_sansregular,sans-serif;font-size:1.2rem;color:#4a4a4a}.c-question-feedback{background:#efefef;padding:1.5rem 3rem 1.5rem 7rem;position:relative}.c-question-feedback p{font-family:open_sansregular,sans-serif;font-size:1.4rem;color:#4a4a4a}.c-question-feedback svg{position:absolute;left:3rem;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:2.4rem;height:2.4rem}.c-feedback{position:absolute;top:-.2rem;right:.8rem;height:3.5rem;width:13rem;border-radius:0 0 .3rem .3rem;padding:.7rem .5rem .5rem 3.5rem;background:#efefef;font-family:open_sanssemibold,sans-serif;font-size:1.4rem;color:#4a4a4a;text-transform:uppercase}.c-feedback svg{position:absolute;left:.5rem;top:.5rem;width:2.4rem;height:2.4rem}.c-feedback--incorrect svg path{fill:#d0021b}.c-feedback--correct svg path{fill:#7ed321}.c-confidence-map{padding:2rem 3rem 1rem}.c-confidence-prompt{font-family:open_sanssemibold,sans-serif;font-size:1.4rem;margin:0;padding-bottom:1rem;color:#4a4a4a;text-align:center}.c-confidence-item{display:inline-block;width:33.333%;border:.2rem solid #efefef;padding:1rem;position:relative;cursor:pointer}.c-confidence-item.is-clicked{border-color:#4f7db2}.c-confidence-item p{text-align:center;font-family:open_sansregular,sans-serif;color:#4a4a4a;font-size:1.4rem;margin-top:2rem}.c-confidence-item input[type=radio]:checked+label:before{content:"";width:.7rem;height:.7rem;background:#4f7db2;border-radius:50%;position:absolute;top:.2rem;left:.2rem}.c-confidence-item input[type=radio]:checked+label{border-color:#4f7db2}.c-confidence-item .c-radio-button{position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translate(-50%)}.c-confidence-item:hover{border-color:#4f7db2}.c-confidence-item--left,.c-confidence-item--middle{border-right:.2rem solid transparent}.c-confidence-item--middle,.c-confidence-item--right{border-left:.2rem solid transparent}.c-assessment-loading{pointer-events:none;position:relative;text-align:center;text-transform:uppercase;height:40rem;font-size:1.4rem;font-family:open_sansregular,sans-serif;color:#4a4a4a}.c-assessment-loading p{padding:2rem;animation:fadein 2s;-webkit-animation:fadein 2s}.c-assessment-loading span{opacity:0}.c-assessment-loading svg{width:5rem;height:5rem;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);animation:spin .5s linear infinite,fadein 2s;-webkit-animation:spin .5s linear infinite,fadein 2s}.c-assessment-loading svg path{fill:#922a7d}@keyframes spin{0%{-webkit-transform:translate(-50%,-50%) rotate(0);transform:translate(-50%,-50%) rotate(0)}to{-webkit-transform:translate(-50%,-50%) rotate(1turn);transform:translate(-50%,-50%) rotate(1turn)}}@-webkit-keyframes fadein{0%{opacity:0}to{opacity:1}}@keyframes fadein{0%{opacity:0}to{opacity:1}}.c-player-error{font-family:open_sanssemibold,sans-serif;font-size:2rem;padding:2rem;color:#fff;background:#d0021b;margin:.5rem 0;border-radius:.3rem}.c-word-box__contain{background:#efefef;padding:1rem;border-radius:.3rem;overflow:hidden}.c-word-box__contain .c-word{margin:1rem 2rem}.c-word-box__contain .c-object{margin:.5rem 1rem}.c-object{padding:.5rem;background:#fff;cursor:move;float:left;position:relative;height:11rem}.c-object>*{margin:0;padding:0;line-height:3.3rem}.c-object>*,.c-object>* img{display:inline-block}.c-word{height:3.5rem;padding:0 1.5rem 0 .8rem;background:#fff;font-family:open_sanssemibold,sans-serif;font-size:1.4rem;float:left;position:relative;margin:0 .1rem 0 0;cursor:move;white-space:nowrap}.c-word>*{margin:0;padding:0;display:inline-block;line-height:3.3rem}.c-word:before{height:1.3rem;background:#fff;top:1.1rem;left:-.7rem;z-index:2}.c-word:after,.c-word:before{content:"";position:absolute;width:.7rem}.c-word:after{height:1.5rem;background:#efefef;top:1rem;right:0;z-index:1}.c-word-answers{padding:.5rem;height:4.5rem;margin:1rem 0;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex}.c-word-answers,.c-word-answers .c-word:after{background:#4f7db2}.c-word-answers .c-over-drop-zone{border:2px solid #fff}.c-object-answers{background:#4f7db2;padding:.5rem;height:12rem;margin:1rem 0;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex}.c-object-answers .c-object{margin-right:.1rem}.c-object-answers .c-over-drop-zone{border:2px solid #fff}.c-word-answers--split-top:after{content:"";width:1.5rem;height:1.5rem;position:absolute;right:-.7rem;top:1.5rem;background:#4f7db2;z-index:1;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.c-word-answers--split-top svg{z-index:2;position:absolute;right:-1.4rem;top:.8rem;width:2.9rem;height:2.9rem;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.c-word-answers--split-top svg path{fill:#fff}.c-word-answers--split-bottom{padding-left:2.3rem}.c-word-answers--split-bottom:before{content:"";width:1.5rem;height:1.5rem;position:absolute;left:-.7rem;top:1.5rem;background:#fff;z-index:1;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.c-word-answers--split-bottom svg{z-index:2;position:absolute;left:-1.4rem;top:.8rem;width:2.9rem;height:2.9rem;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.c-word-answers--split-bottom svg path{fill:#4f7db2}.c-word--starter{padding:0 .8rem 0 .9rem;pointer-events:none}.c-word--starter:before{width:0}.noun{color:#228756}.verb{color:#bc5b15}.prep{color:#922a7d}.other{color:#573d8f}.adverb{color:#4c7aae}.adjective{color:#e5007e}.c-blank-answers{margin:1rem 0;position:relative;overflow:hidden}.c-blank-answers .c-word.c-word--fill{padding:0 .2rem;margin:.6rem 0;pointer-events:none;font-family:open_sansregular,sans-serif}.c-blank-answers .c-word.c-word--fill>*{color:#4a4a4a}.c-blank-answers .c-word.c-word--fill:after,.c-blank-answers .c-word.c-word--fill:before{width:0}.c-word--blank{padding:0 .8rem}.c-word--blank:after,.c-word--blank:before{width:0}.c-blank-drop-zone{background:#4f7db2;padding:.5rem;height:4.5rem;margin:0 .4rem;position:relative;float:left}.c-drop-zone{-webkit-box-flex:1;-ms-flex:1;flex:1}.c-blank{width:7rem;margin:0 .8rem;height:.2rem;background:#fff;position:relative;top:2.3rem}.assessment-complete{font-family:open_sansregular,sans-serif;font-size:1.8rem;color:#4a4a4a;text-align:center;padding:100px}.c-drag-target__background img{max-width:100%}.c-drag-zone{position:absolute;border-radius:.3rem}.c-drag-zone.show-border{border:.2rem solid #000;box-shadow:0 0 .2rem .2rem #fff}.c-drag-zone--snap .c-drag-zone__name{top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);border:.2rem solid #000;white-space:nowrap;border-radius:.3rem}.c-drag-zone__name{font-family:open_sanssemibold,sans-serif;font-size:1.2rem;color:#000;padding:0 .5rem;background:#fff;position:absolute;left:0;top:0}.c-droppable-container{width:100%;max-height:30rem;overflow:auto;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;border:.2rem solid #4f7db2;margin-top:2rem;padding:1rem}.c-droppable-container .c-droppable-item{margin:.5rem;box-shadow:0 0 .3rem rgba(0,0,0,.3)}.c-droppable-item{display:inline-block;cursor:-webkit-grab;cursor:grab}.c-droppable-item img{max-height:25rem;display:block}.c-droppable-item:active{cursor:-webkit-grabbing;cursor:grabbing}.c-droppable-item.is-hidden{opacity:0;pointer-events:none}.footer{background-color:#ccc;text-align:center}.footer p{margin:0 auto;padding:0;max-width:335px}body{padding:0;margin:0}a{color:#ffab40;text-decoration:none}a:hover{text-decoration:underline}.auth-button{width:345px;height:70px;margin:20px auto;display:block}.example-button-icon{height:60px}.sign-up-button{margin-top:20px}.video-js .vjs-big-play-button:before,.video-js .vjs-control:before,.video-js .vjs-modal-dialog,.vjs-modal-dialog .vjs-modal-dialog-content{position:absolute;top:0;left:0;width:100%;height:100%}.video-js .vjs-big-play-button:before,.video-js .vjs-control:before{text-align:center}@font-face{font-family:VideoJS;src:url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAAA54AAoAAAAAFmgAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAAA9AAAAD4AAABWUZFeBWNtYXAAAAE0AAAAOgAAAUriMBC2Z2x5ZgAAAXAAAAouAAAPUFvx6AdoZWFkAAALoAAAACsAAAA2DIPpX2hoZWEAAAvMAAAAGAAAACQOogcgaG10eAAAC+QAAAAPAAAAfNkAAABsb2NhAAAL9AAAAEAAAABAMMg06m1heHAAAAw0AAAAHwAAACABMAB5bmFtZQAADFQAAAElAAACCtXH9aBwb3N0AAANfAAAAPwAAAGBZkSN43icY2BkZ2CcwMDKwMFSyPKMgYHhF4RmjmEIZzzHwMDEwMrMgBUEpLmmMDh8ZPwoxw7iLmSHCDOCCADvEAo+AAB4nGNgYGBmgGAZBkYGEHAB8hjBfBYGDSDNBqQZGZgYGD7K/f8PUvCREUTzM0DVAwEjG8OIBwCPdwbVAAB4nI1Xe1CU1xX/zv1eLItLln0JwrIfC7sJGET2hRJ2N1GUoBJE8AESQEEhmBHjaB7UuBMTO4GMaSu7aY3RNlOdRPNqO2pqRmuTaSZtR6JJILUZk00a/4imjpmiecB303O/XUgMJOPufvd+99xzzz33nN855y4HHH7EfrGfIxwHRiANvF/sH71I9BzHszmpW+rGOQOXxXE6YhI4PoMT8zkT4cDFuf1cwMrZJI5cglM0HKVv0MaUFDgIFfg9mJJCG+kbKn1JkqBOVaFOkuhLpARq8fu0Nnc9/zdvfY9PxXW4PdH0C6N+PCejhorxFjAqRjgFRXSINEARbBGsoxcFK7IJmr4OycFJnInL59zIXwxui80fkGRbEHyosMWaATJKUfCskmwJQsAWANkmnIGOhlf514h7U8HNIv3owoHB0WMt0Eb3sx0guLi5pq/8Ny1q6969fKR9X9GBV6dPv6dp04K99SOwtmyPl47ApRa6n4ZpP1yjr5fn7MmYP/vXLUJs715UguklHBaHOZHZmG1N9FAIW2mf0MqWCIdo/8RZ1yGfxKUldDcGIbFA7ICO+vqOMSPTh/ZrSqgHi/bB/O8E8Mnzp+M+acxfpsTShBwej26TiGxBn7m4eEIO+Rueu6Hj+IFBnh88cAEUEQ//nVLx5C7kf+yIR47QEe+eMlhz9SqsGbe3hh2R03NGzoY6O42Kz8l7fB6fAk6LYnTyFo/FYyT6GGyNx2Jx2sdH4rA1Fo/HyCXaFyOp8dhYBCfJb2NIn1ImE6CYNGmgSTb52DawJR6jfXEmDU4xyTEmpgHHOIStoxfjSGdkbsK2w2jbdMQG4sgAstEONgURYCwGHhEhhscioQaAhhCf7McifEQc0l6+mxj9nI+gmSdiQ0Zbm7gZnIO7GSMEXG6UDAVocxAV8GcEXCKg1a02RcTtwANWRGIAyElor6n/+ZU2yOB3+T77Hb1MLqhn4KHVnQBjJnqe9QZSon6Kc5DxAD2vMdPL/BXSmQGwspa67z9wLUjdi9TN7QC7lyyBr9rpt7uXVC1CMpyjKRoXnGPHTuiaPLsNdc2dbAFQLAooPkXEh33FodHl4XpC6sPCIa0ftUIhHSYXVSu5iME+DIXsbZJ51BeidCgajcai43jU9nVzoSn2dPqcFvSoxSzJzgRKAx47WMRxOrIj3Wf0+hndxhJTiOkSEqxar3b3RKM9hY64oxBA64ieURLvCfpkDb8siBdUJ1bgT+urJ5PGfewQrmm5R5+0HmfyIPySD7OYkT0WxRePah8oEiyjlxIP74thVoRTURpmL6QhGuWS+QDjdANXjIM8SQa/1w128ODx0Qp4aLMNg9+JL3joUn8AMxW+aLNiuKjarn4uyyTdXjOzZTsh21uwldUvJoYza+zELALfu3p1L8/3krtyZ0Ag058J3hxHghvbGZn0dHZy6Mim/7Blre4lpHd1c28yVqRViO153F2oIWoXCIKbL4Z0cM1iaQn9mI5KuV2SzEvWXJDMNtkANpMdQoDDhIdD4A/YrP6Aye9ysxyE+uOEAcTDorgvVZJjcua043PnZ/PmdDqcbibZlXOOT8uSo7Kof0YUn9GL+Jo17ficymxiTofC6znUso0DhAxs1Fo+kF+d36vLmgZ8mk5cdGv2mwYj5k3Dm9m3LhJ1aVRNm6HrTbLgYAoWXDhDd/u4PGy5CT+xGMdiaBovewUCF/1BiWNljI9MLn7jeScpg+WyH6mfU62eVDql7hsrmvx1ezp/YldE2LhjbkiDnAn8tGy/MW3IXRMYJduvq9HpmIcKuFt+JCtgdGEGKAcF6UacVwIYbVPGfw/+YuNBS4cx/CUHcnyfc+wRDMtTr72mMSBjT/yn/GKSdeDWQUCH6Xoqq5R10RE60gV6erUL0iCti16d0hZjxut4QI/rEpgSh6WjnJXdBXRg1GKCucGJPtFqM27aD1tOqqKonsQ2KsFSSmEpmvRlsR+TcD9OFwrqXxIclL4sJTnGMSuG8KpkZvKdeVIOKDyWSyPLV16/p1QMPbP8NihwUzr47bdnXtwtjdCvqqpO0H+pOvIl3Pzv46e5CT/tQjklXCXXym1AaWY7bzHLkuDMc7ldKCvgxzLn8wYkJLBhEDyK7MT8bTbwbkxbfp+3mKAGsmTBpabSIEECzMIcQlzOPAMKsxMs7uhsnxPLuofPDTc1hkuq6MX9j16YU7CqegcYHbmWYuvAP6tCS97tgWf7dlQvnl25YPavXLVZvrzQPeHCpZmzzEUVq/xzu5sChnSTPTW7oOYmh69z4zL/gk3b+O6hoa733uviP82vnFcbqWlc9tDmZa23LVzaV1yXURi+JX+28NeBuj3+O8IrQ080Vm1eWB4OKjPmrJu7c1udWynvKF6/vs479lSW9+5gZkn+dKfellNGDPllzeULustz+A0bPvhgw7lkvEUwn/N4Ty7U7nhGsEpFkOfy+kutbOh1JQxhVDJumoW11hnkPThznh6FFlhfT+ra1x9sF56kx5YuDzVY9PQYAYA7iblw4frQ4TPCk2MK/xGU3rlmze62trHz6lsko+v+So/do74PT8KVkpJfOErKcv8znrMGsHTNxoEkWy1mYgDB6XBbPaWsuiS6CryGaL6zCjaXBgvtkuyXBua1wOKnh+k7L9AvPnYWffxK18FcJbuosGf3/Jo7amY+CE1vppzY+UTrva0FXc1i55pKQ/YjVL187N5fCn1kW5uot/1hi+DiZ+5atnJR9E+prvydJ9ZZ5mwOpU5gM4KYysMBQ71UzPuMTl9QQOyUo5nwioeYCPjFklrbK6s6X+ypUZ6rum9+CZYzWRiBJfSP0xzzSmrg7f86g0DKVj/wwFzieD9rRfPGFbeKMl05pn5j9/rsQJJ2iEgRrpohlyBo3f4QK7Kl+EcAYZgAoNVmZWXK704YAa3FwBxgSGUOs5htvGRz4Sgj3yFkSJFBuv/sxu5yk998T8WDJzvv/2RX19HtTUW1S+wpKRKRjJ6zzz/1/OPdFdWGlAKbvzS4PHOtURikg9AGz0LbIB85S/cPOpoXvuue8/iV2H1vPTy3ddvOeZ37HGmO3OmSzVzR+NS53+84dHlFhXPLqtzSO+5ruHM2vXtBdxP87LOzKAD359j/INYIbyPabIi3Cq6Wa+SaGe78diIzu7qcblcAa6/fJRvNopXFJnO+U9KKM5bqH5LM0iQSVmpPCPDu7ZT4Aoubz3709EBTyrTDjyx8MQXgUH1nqm7TWng4TzE4i4AsKskBITXfSyC4Fkl5MxnJDiKSIDSJAsGvd1y+/eNDp2e+A+5d8HeiiunrTkT6TqWLIs+/QRoWr98s0qj8uuzLuS22Ytufg3rdTaHn1m46sfgGKHXt0MGnLaRHdnwN37tvHcWKo2V6lnPxL4UvUQcRdOzmZSQs8X5CH5OxXMXpkATuDz8Et0SH4uyCRR+TjmBDP1GvsVrWEGVzEj33YVQ9jAtIKpqsl/s/0xrocwAAeJxjYGRgYADig3cEzsTz23xl4GZnAIHLRucNkWl2BrA4BwMTiAIAF4IITwB4nGNgZGBgZwCChWASxGZkQAXyABOUANh4nGNnYGBgHyAMADa8ANoAAAAAAAAOAFAAZgCyAMYA5gEeAUgBdAGcAfICLgKOAroDCgOOA7AD6gQ4BHwEuAToBQwFogXoBjYGbAbaB3IHqHicY2BkYGCQZ8hlYGcAASYg5gJCBob/YD4DABbVAaoAeJxdkE1qg0AYhl8Tk9AIoVDaVSmzahcF87PMARLIMoFAl0ZHY1BHdBJIT9AT9AQ9RQ9Qeqy+yteNMzDzfM+88w0K4BY/cNAMB6N2bUaPPBLukybCLvleeAAPj8JD+hfhMV7hC3u4wxs7OO4NzQSZcI/8Ltwnfwi75E/hAR7wJTyk/xYeY49fYQ/PztM+jbTZ7LY6OWdBJdX/pqs6NYWa+zMxa13oKrA6Uoerqi/JwtpYxZXJ1coUVmeZUWVlTjq0/tHacjmdxuL90OR8O0UEDYMNdtiSEpz5XQGqzlm30kzUdAYFFOb8R7NOZk0q2lwAyz1i7oAr1xoXvrOgtYhZx8wY5KRV269JZ5yGpmzPTjQhvY9je6vEElPOuJP3mWKnP5M3V+YAAAB4nG2P2XLCMAxFfYFspGUp3Te+IB9lHJF4cOzUS2n/voaEGR6qB+lKo+WITdhga/a/bRnDBFPMkCBFhhwF5ihxg1sssMQKa9xhg3s84BFPeMYLXvGGd3zgE9tZr/hveXKVkFYoSnoeHJXfRoWOqi54mo9ameNFdrK+dLSyaVf7oJQTlkhXpD3Z5XXhR/rUfQVuKXO91Jps4cLOS6/I5YL3XhodRRsVWZe4NnZOhWnSAWgxhMoEr6SmzZieF43Mk7ZOBdeCVGrp9Eu+54J2xhySplfB5XHwQLXUmT9KH6+kPnQ7ZYuIEzNyfs1DLU1VU4SWZ6LkXGHsD1ZKbMw=) format("woff"),url(data:application/x-font-ttf;charset=utf-8;base64,AAEAAAAKAIAAAwAgT1MvMlGRXgUAAAEoAAAAVmNtYXDiMBC2AAAB/AAAAUpnbHlmW/HoBwAAA4gAAA9QaGVhZAyD6V8AAADQAAAANmhoZWEOogcgAAAArAAAACRobXR42QAAAAAAAYAAAAB8bG9jYTDINOoAAANIAAAAQG1heHABMAB5AAABCAAAACBuYW1l1cf1oAAAEtgAAAIKcG9zdGZEjeMAABTkAAABgQABAAAHAAAAAKEHAAAAAAAHAAABAAAAAAAAAAAAAAAAAAAAHwABAAAAAQAAwdxheF8PPPUACwcAAAAAANMyzzEAAAAA0zLPMQAAAAAHAAcAAAAACAACAAAAAAAAAAEAAAAfAG0ABwAAAAAAAgAAAAoACgAAAP8AAAAAAAAAAQcAAZAABQAIBHEE5gAAAPoEcQTmAAADXABXAc4AAAIABQMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUGZFZABA8QHxHgcAAAAAoQcAAAAAAAABAAAAAAAABwAAAAcAAAAHAAAABwAAAAcAAAAHAAAABwAAAAcAAAAHAAAABwAAAAcAAAAHAAAABwAAAAcAAAAHAAAABwAAAAcAAAAHAAAABwAAAAcAAAAHAAAABwAAAAcAAAAHAAAABwAAAAcAAAAHAAAABwAAAAcAAAAHAAAABwAAAAAAAAMAAAADAAAAHAABAAAAAABEAAMAAQAAABwABAAoAAAABgAEAAEAAgAA8R7//wAAAADxAf//AAAPAAABAAAAAAAAAAABBgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAFAAZgCyAMYA5gEeAUgBdAGcAfICLgKOAroDCgOOA7AD6gQ4BHwEuAToBQwFogXoBjYGbAbaB3IHqAABAAAAAAWLBYsAAgAAAREBAlUDNgWL++oCCwAAAwAAAAAGawZrAAIADgAaAAAJAhMEAAMSAAUkABMCAAEmACc2ADcWABcGAALrAcD+QJX+w/5aCAgBpgE9AT0BpggI/lr+w/3+rgYGAVL9/QFSBgb+rgIwAVABUAGbCP5a/sP+w/5aCAgBpgE9AT0BpvrIBgFS/f0BUgYG/q79/f6uAAAAAgAAAAAFQAWLAAMABwAAASERKQERIREBwAEr/tUCVQErAXUEFvvqBBYAAAAEAAAAAAYgBiAABgATACQAJwAAAS4BJxUXNjcGBxc+ATUmACcVFhIBBwEhESEBEQEGBxU+ATcXNwEHFwTQAWVVuAO7AidxJSgF/t/lpc77t18BYf6fASsBdQE+TF1OijuZX/1gnJwDgGSeK6W4GBhqW3FGnFT0AWM4mjT+9AHrX/6f/kD+iwH2/sI7HZoSRDGYXwSWnJwAAAEAAAAABKsF1gAFAAABESEBEQECCwEqAXb+igRg/kD+iwSq/osAAAACAAAAAAVmBdYABgAMAAABLgEnET4BAREhAREBBWUBZVRUZfwRASsBdf6LA4Bkniv9piueAUT+QP6LBKr+iwAAAwAAAAAGIAYPAAUADAAaAAATESEBEQEFLgEnET4BAxUWEhcGAgcVNgA3JgDgASsBdf6LAsUBZVVVZbqlzgMDzqXlASEFBf7fBGD+QP6LBKr+i+Bkniv9piueAvOaNP70tbX+9DSaOAFi9fUBYgAAAAQAAAAABYsFiwAFAAsAEQAXAAABIxEhNSMDMzUzNSEBIxUhESMDFTMVMxECC5YBduCWluD+igOA4AF2luDglgLr/oqWAgrglvyAlgF2AqCW4AF2AAQAAAAABYsFiwAFAAsAEQAXAAABMxUzESETIxUhESMBMzUzNSETNSMRITUBdeCW/org4AF2lgHAluD+ipaWAXYCVeABdgHAlgF2++rglgHA4P6KlgAAAAACAAAAAAXWBdYADwATAAABIQ4BBxEeARchPgE3ES4BAyERIQVA/IA/VQEBVT8DgD9VAQFVP/yAA4AF1QFVP/yAP1UBAVU/A4A/VfvsA4AAAAYAAAAABmsGawAHAAwAEwAbACAAKAAACQEmJw4BBwElLgEnAQUhATYSNyYFAQYCBxYXIQUeARcBMwEWFz4BNwECvgFkTlSH8GEBEgOONemh/u4C5f3QAXpcaAEB/BP+3VxoAQEOAjD95DXpoQESeP7dTlSH8GH+7gPwAmgSAQFYUP4nd6X2Pv4nS/1zZAEBk01NAfhk/v+TTUhLpfY+Adn+CBIBAVhQAdkAAAAFAAAAAAZrBdYADwATABcAGwAfAAABIQ4BBxEeARchPgE3ES4BASEVIQEhNSEFITUhNSE1IQXV+1ZAVAICVEAEqkBUAgJU+xYBKv7WAur9FgLqAcD+1gEq/RYC6gXVAVU//IA/VQEBVT8DgD9V/ayV/tWVlZWWlQADAAAAAAYgBdYADwAnAD8AAAEhDgEHER4BFyE+ATcRLgEBIzUjFTM1MxUUBgcjLgEnET4BNzMeARUFIzUjFTM1MxUOAQcjLgE1ETQ2NzMeARcFi/vqP1QCAlQ/BBY/VAICVP1rcJWVcCog4CAqAQEqIOAgKgILcJWVcAEqIOAgKiog4CAqAQXVAVU//IA/VQEBVT8DgD9V/fcl4CVKICoBASogASogKgEBKiBKJeAlSiAqAQEqIAEqICoBASogAAAGAAAAAAYgBPYAAwAHAAsADwATABcAABMzNSMRMzUjETM1IwEhNSERITUhERUhNeCVlZWVlZUBKwQV++sEFfvrBBUDNZb+QJUBwJX+QJb+QJUCVZWVAAAAAQAAAAAGIAZsAC4AAAEiBgcBNjQnAR4BMz4BNy4BJw4BBxQXAS4BIw4BBx4BFzI2NwEGBx4BFz4BNy4BBUArSh797AcHAg8eTixffwICf19ffwIH/fEeTixffwICf18sTh4CFAUBA3tcXHsDA3sCTx8bATcZNhkBNB0gAn9fX38CAn9fGxn+zRwgAn9fX38CIBz+yhcaXHsCAntcXXsAAAIAAAAABlkGawBDAE8AAAE2NCc3PgEnAy4BDwEmLwEuASchDgEPAQYHJyYGBwMGFh8BBhQXBw4BFxMeAT8BFh8BHgEXIT4BPwE2NxcWNjcTNiYnBS4BJz4BNx4BFw4BBasFBZ4KBgeWBxkNujpEHAMUD/7WDxQCHEU5ug0aB5UHBQudBQWdCwUHlQcaDbo5RRwCFA8BKg8UAhxFOboNGgeVBwUL/ThvlAIClG9vlAIClAM3JEokewkaDQEDDAkFSy0cxg4RAQERDsYcLUsFCQz+/QwbCXskSiR7CRoN/v0MCQVLLRzGDhEBAREOxhwtSwUJDAEDDBsJQQKUb2+UAgKUb2+UAAAAAAEAAAAABmsGawALAAATEgAFJAATAgAlBACVCAGmAT0BPQGmCAj+Wv7D/sP+WgOA/sP+WggIAaYBPQE9AaYICP5aAAAAAgAAAAAGawZrAAsAFwAAAQQAAxIABSQAEwIAASYAJzYANxYAFwYAA4D+w/5aCAgBpgE9AT0BpggI/lr+w/3+rgYGAVL9/QFSBgb+rgZrCP5a/sP+w/5aCAgBpgE9AT0BpvrIBgFS/f0BUgYG/q79/f6uAAADAAAAAAZrBmsACwAXACMAAAEEAAMSAAUkABMCAAEmACc2ADcWABcGAAMOAQcuASc+ATceAQOA/sP+WggIAaYBPQE9AaYICP5a/sP9/q4GBgFS/f0BUgYG/q4dAn9fX38CAn9fX38Gawj+Wv7D/sP+WggIAaYBPQE9Aab6yAYBUv39AVIGBv6u/f3+rgJPX38CAn9fX38CAn8AAAAEAAAAAAYgBiAADwAbACUAKQAAASEOAQcRHgEXIT4BNxEuAQEjNSMVIxEzFTM1OwEhHgEXEQ4BByE3MzUjBYv76j9UAgJUPwQWP1QCAlT9a3CVcHCVcJYBKiAqAQEqIP7WcJWVBiACVD/76j9UAgJUPwQWP1T8gpWVAcC7uwEqIP7WICoBcOAAAgAAAAAGawZrAAsAFwAAAQQAAxIABSQAEwIAEwcJAScJATcJARcBA4D+w/5aCAgBpgE9AT0BpggI/lo4af70/vRpAQv+9WkBDAEMaf71BmsI/lr+w/7D/loICAGmAT0BPQGm/BFpAQv+9WkBDAEMaf71AQtp/vQAAQAAAAAF1ga2ABYAAAERCQERHgEXDgEHLgEnIxYAFzYANyYAA4D+iwF1vv0FBf2+vv0FlQYBUf7+AVEGBv6vBYsBKv6L/osBKgT9v779BQX9vv7+rwYGAVH+/gFRAAAAAQAAAAAFPwcAABQAAAERIyIGHQEhAyMRIREjETM1NDYzMgU/nVY8ASUn/v7O///QrZMG9P74SEi9/tj9CQL3ASjaus0AAAAABAAAAAAGjgcAADAARQBgAGwAAAEUHgMVFAcGBCMiJicmNTQ2NzYlLgE1NDcGIyImNTQ2Nz4BMyEHIx4BFRQOAycyNjc2NTQuAiMiBgcGFRQeAxMyPgI1NC4BLwEmLwImIyIOAxUUHgIBMxUjFSM1IzUzNTMDH0BbWkAwSP7qn4TlOSVZSoMBESAfFS4WlMtIP03TcAGiioNKTDFFRjGSJlAaNSI/akAqURkvFCs9WTY6a1s3Dg8THgocJU4QIDVob1M2RnF9A2vV1WnU1GkD5CRFQ1CATlpTenNTYDxHUYouUhIqQCkkMQTBlFKaNkJAWD+MWkhzRztAPiEbOWY6hn1SJyE7ZS5nZ1I0/JcaNF4+GTAkGCMLFx04Ag4kOF07Rms7HQNsbNvbbNkAAwAAAAAGgAZsAAMADgAqAAABESERARYGKwEiJjQ2MhYBESERNCYjIgYHBhURIRIQLwEhFSM+AzMyFgHd/rYBXwFnVAJSZGemZASP/rdRVj9VFQv+twIBAQFJAhQqR2c/q9AEj/whA98BMkliYpNhYfzd/cgCEml3RTMeM/3XAY8B8DAwkCAwOB/jAAABAAAAAAaUBgAAMQAAAQYHFhUUAg4BBCMgJxYzMjcuAScWMzI3LgE9ARYXLgE1NDcWBBcmNTQ2MzIXNjcGBzYGlENfAUyb1v7SrP7x4SMr4bBpph8hHCsqcJNETkJOLHkBW8YIvYaMYG1gJWldBWhiRQ4cgv797rdtkQSKAn1hBQsXsXUEJgMsjlNYS5WzCiYkhr1mFTlzPwoAAAABAAAAAAWABwAAIgAAARcOAQcGLgM1ESM1PgQ3PgE7AREhFSERFB4CNzYFMFAXsFlorXBOIahIckQwFAUBBwT0AU3+sg0gQzBOAc/tIz4BAjhceHg6AiDXGlddb1ctBQf+WPz9+h40NR4BAgABAAAAAAaABoAASgAAARQCBCMiJzY/AR4BMzI+ATU0LgEjIg4DFRQWFxY/ATY3NicmNTQ2MzIWFRQGIyImNz4CNTQmIyIGFRQXAwYXJgI1NBIkIAQSBoDO/p/Rb2s7EzYUaj15vmh34o5ptn9bK1BNHggIBgIGETPRqZepiWs9Sg4IJRc2Mj5WGWMRBM7+zgFhAaIBYc4DgNH+n84gXUfTJzmJ8JZyyH46YH2GQ2ieIAwgHxgGFxQ9WpfZpIOq7lc9I3VZHzJCclVJMf5eRmtbAXzp0QFhzs7+nwAABwAAAAAHAATPAA4AFwAqAD0AUABaAF0AAAERNh4CBw4BBwYmIycmNxY2NzYmBxEUBRY2Nz4BNy4BJyMGHwEeARcOARcWNjc+ATcuAScjBh8BHgEXFAYXFjY3PgE3LgEnIwYfAR4BFw4BBTM/ARUzESMGAyUVJwMchM2UWwgNq4JHrQgBAapUaAoJcWMBfiIhDiMrAQJLMB0BBAokNAIBPmMiIQ4iLAECSzAeAQUKJDQBP2MiIQ4iLAECSzAeAQUKJDQBAT75g+5B4arNLNIBJ44ByQL9BQ9mvYCKwA8FBQMDwwJVTGdzBf6VB8IHNR08lld9uT4LCRA/qGNxvUwHNR08lld9uT4LCRA/qGNxvUwHNR08lld9uT4LCRA/qGNxvVJkAWUDDEf+tYP5AQAAAAEAAAAABiAGtgAbAAABBAADER4BFzMRITU2ADcWABcVIREzPgE3EQIAA4D+4v6FBwJ/X+D+1QYBJ97eAScG/tXgX38CB/6FBrUH/oX+4v32X38CAlWV3gEnBgb+2d6V/asCf18CCgEeAXsAAAAAEADGAAEAAAAAAAEABwAAAAEAAAAAAAIABwAHAAEAAAAAAAMABwAOAAEAAAAAAAQABwAVAAEAAAAAAAUACwAcAAEAAAAAAAYABwAnAAEAAAAAAAoAKwAuAAEAAAAAAAsAEwBZAAMAAQQJAAEADgBsAAMAAQQJAAIADgB6AAMAAQQJAAMADgCIAAMAAQQJAAQADgCWAAMAAQQJAAUAFgCkAAMAAQQJAAYADgC6AAMAAQQJAAoAVgDIAAMAAQQJAAsAJgEeVmlkZW9KU1JlZ3VsYXJWaWRlb0pTVmlkZW9KU1ZlcnNpb24gMS4wVmlkZW9KU0dlbmVyYXRlZCBieSBzdmcydHRmIGZyb20gRm9udGVsbG8gcHJvamVjdC5odHRwOi8vZm9udGVsbG8uY29tAFYAaQBkAGUAbwBKAFMAUgBlAGcAdQBsAGEAcgBWAGkAZABlAG8ASgBTAFYAaQBkAGUAbwBKAFMAVgBlAHIAcwBpAG8AbgAgADEALgAwAFYAaQBkAGUAbwBKAFMARwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABzAHYAZwAyAHQAdABmACAAZgByAG8AbQAgAEYAbwBuAHQAZQBsAGwAbwAgAHAAcgBvAGoAZQBjAHQALgBoAHQAdABwADoALwAvAGYAbwBuAHQAZQBsAGwAbwAuAGMAbwBtAAAAAgAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAfAAABAgEDAQQBBQEGAQcBCAEJAQoBCwEMAQ0BDgEPARABEQESARMBFAEVARYBFwEYARkBGgEbARwBHQEeAR8EcGxheQtwbGF5LWNpcmNsZQVwYXVzZQt2b2x1bWUtbXV0ZQp2b2x1bWUtbG93CnZvbHVtZS1taWQLdm9sdW1lLWhpZ2gQZnVsbHNjcmVlbi1lbnRlcg9mdWxsc2NyZWVuLWV4aXQGc3F1YXJlB3NwaW5uZXIJc3VidGl0bGVzCGNhcHRpb25zCGNoYXB0ZXJzBXNoYXJlA2NvZwZjaXJjbGUOY2lyY2xlLW91dGxpbmUTY2lyY2xlLWlubmVyLWNpcmNsZQJoZAZjYW5jZWwGcmVwbGF5CGZhY2Vib29rBWdwbHVzCGxpbmtlZGluB3R3aXR0ZXIGdHVtYmxyCXBpbnRlcmVzdBFhdWRpby1kZXNjcmlwdGlvbgVhdWRpbwAAAAAA) format("truetype");font-weight:400;font-style:normal}.video-js .vjs-big-play-button,.video-js .vjs-play-control,.vjs-icon-play{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-big-play-button:before,.video-js .vjs-play-control:before,.vjs-icon-play:before{content:"\F101"}.vjs-icon-play-circle{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-play-circle:before{content:"\F102"}.video-js .vjs-play-control.vjs-playing,.vjs-icon-pause{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-play-control.vjs-playing:before,.vjs-icon-pause:before{content:"\F103"}.video-js .vjs-mute-control.vjs-vol-0,.video-js .vjs-volume-menu-button.vjs-vol-0,.vjs-icon-volume-mute{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-mute-control.vjs-vol-0:before,.video-js .vjs-volume-menu-button.vjs-vol-0:before,.vjs-icon-volume-mute:before{content:"\F104"}.video-js .vjs-mute-control.vjs-vol-1,.video-js .vjs-volume-menu-button.vjs-vol-1,.vjs-icon-volume-low{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-mute-control.vjs-vol-1:before,.video-js .vjs-volume-menu-button.vjs-vol-1:before,.vjs-icon-volume-low:before{content:"\F105"}.video-js .vjs-mute-control.vjs-vol-2,.video-js .vjs-volume-menu-button.vjs-vol-2,.vjs-icon-volume-mid{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-mute-control.vjs-vol-2:before,.video-js .vjs-volume-menu-button.vjs-vol-2:before,.vjs-icon-volume-mid:before{content:"\F106"}.video-js .vjs-mute-control,.video-js .vjs-volume-menu-button,.vjs-icon-volume-high{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-mute-control:before,.video-js .vjs-volume-menu-button:before,.vjs-icon-volume-high:before{content:"\F107"}.video-js .vjs-fullscreen-control,.vjs-icon-fullscreen-enter{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-fullscreen-control:before,.vjs-icon-fullscreen-enter:before{content:"\F108"}.video-js.vjs-fullscreen .vjs-fullscreen-control,.vjs-icon-fullscreen-exit{font-family:VideoJS;font-weight:400;font-style:normal}.video-js.vjs-fullscreen .vjs-fullscreen-control:before,.vjs-icon-fullscreen-exit:before{content:"\F109"}.vjs-icon-square{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-square:before{content:"\F10A"}.vjs-icon-spinner{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-spinner:before{content:"\F10B"}.video-js .vjs-subtitles-button,.vjs-icon-subtitles{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-subtitles-button:before,.vjs-icon-subtitles:before{content:"\F10C"}.video-js .vjs-captions-button,.vjs-icon-captions{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-captions-button:before,.vjs-icon-captions:before{content:"\F10D"}.video-js .vjs-chapters-button,.vjs-icon-chapters{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-chapters-button:before,.vjs-icon-chapters:before{content:"\F10E"}.vjs-icon-share{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-share:before{content:"\F10F"}.vjs-icon-cog{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-cog:before{content:"\F110"}.video-js .vjs-mouse-display,.video-js .vjs-play-progress,.video-js .vjs-volume-level,.vjs-icon-circle{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-mouse-display:before,.video-js .vjs-play-progress:before,.video-js .vjs-volume-level:before,.vjs-icon-circle:before{content:"\F111"}.vjs-icon-circle-outline{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-circle-outline:before{content:"\F112"}.vjs-icon-circle-inner-circle{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-circle-inner-circle:before{content:"\F113"}.vjs-icon-hd{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-hd:before{content:"\F114"}.video-js .vjs-control.vjs-close-button,.vjs-icon-cancel{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-control.vjs-close-button:before,.vjs-icon-cancel:before{content:"\F115"}.vjs-icon-replay{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-replay:before{content:"\F116"}.vjs-icon-facebook{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-facebook:before{content:"\F117"}.vjs-icon-gplus{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-gplus:before{content:"\F118"}.vjs-icon-linkedin{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-linkedin:before{content:"\F119"}.vjs-icon-twitter{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-twitter:before{content:"\F11A"}.vjs-icon-tumblr{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-tumblr:before{content:"\F11B"}.vjs-icon-pinterest{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-pinterest:before{content:"\F11C"}.video-js .vjs-descriptions-button,.vjs-icon-audio-description{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-descriptions-button:before,.vjs-icon-audio-description:before{content:"\F11D"}.video-js .vjs-audio-button,.vjs-icon-audio{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-audio-button:before,.vjs-icon-audio:before{content:"\F11E"}.video-js{display:block;vertical-align:top;box-sizing:border-box;color:#fff;background-color:#000;position:relative;padding:0;font-size:10px;line-height:1;font-weight:400;font-style:normal;font-family:Arial,Helvetica,sans-serif;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.video-js:-moz-full-screen{position:absolute}.video-js:-webkit-full-screen{width:100%!important;height:100%!important}.video-js *,.video-js :after,.video-js :before{box-sizing:inherit}.video-js ul{font-family:inherit;font-size:inherit;line-height:inherit;list-style-position:outside;margin:0}.video-js.vjs-4-3,.video-js.vjs-16-9,.video-js.vjs-fluid{width:100%;max-width:100%;height:0}.video-js.vjs-16-9{padding-top:56.25%}.video-js.vjs-4-3{padding-top:75%}.video-js.vjs-fill,.video-js .vjs-tech{width:100%;height:100%}.video-js .vjs-tech{position:absolute;top:0;left:0}body.vjs-full-window{padding:0;margin:0;height:100%;overflow-y:auto}.vjs-full-window .video-js.vjs-fullscreen{position:fixed;overflow:hidden;z-index:1000;left:0;top:0;bottom:0;right:0}.video-js.vjs-fullscreen{width:100%!important;height:100%!important;padding-top:0!important}.video-js.vjs-fullscreen.vjs-user-inactive{cursor:none}.vjs-hidden{display:none!important}.vjs-disabled{opacity:.5;cursor:default}.video-js .vjs-offscreen{height:1px;left:-9999px;position:absolute;top:0;width:1px}.vjs-lock-showing{display:block!important;opacity:1;visibility:visible}.vjs-no-js{padding:20px;color:#fff;background-color:#000;font-size:18px;font-family:Arial,Helvetica,sans-serif;text-align:center;width:300px;height:150px;margin:0 auto}.vjs-no-js a,.vjs-no-js a:visited{color:#66a8cc}.video-js .vjs-big-play-button{font-size:3em;line-height:1.5em;height:1.5em;width:3em;display:block;position:absolute;top:10px;left:10px;padding:0;cursor:pointer;opacity:1;border:.06666em solid #fff;background-color:#2b333f;background-color:rgba(43,51,63,.7);border-radius:.3em;-webkit-transition:all .4s;transition:all .4s}.vjs-big-play-centered .vjs-big-play-button{top:50%;left:50%;margin-top:-.75em;margin-left:-1.5em}.video-js .vjs-big-play-button:focus,.video-js:hover .vjs-big-play-button{outline:0;border-color:#fff;background-color:#73859f;background-color:rgba(115,133,159,.5);-webkit-transition:all 0s;transition:all 0s}.vjs-controls-disabled .vjs-big-play-button,.vjs-error .vjs-big-play-button,.vjs-has-started .vjs-big-play-button,.vjs-using-native-controls .vjs-big-play-button{display:none}.video-js button{background:none;border:none;color:inherit;display:inline-block;overflow:visible;font-size:inherit;line-height:inherit;text-transform:none;text-decoration:none;-webkit-transition:none;transition:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.video-js .vjs-control.vjs-close-button{cursor:pointer;height:3em;position:absolute;right:0;top:.5em;z-index:2}.vjs-menu-button{cursor:pointer}.vjs-menu-button.vjs-disabled{cursor:default}.vjs-workinghover .vjs-menu-button.vjs-disabled:hover .vjs-menu{display:none}.vjs-menu .vjs-menu-content{display:block;padding:0;margin:0;overflow:auto}.vjs-scrubbing .vjs-menu-button:hover .vjs-menu{display:none}.vjs-menu li{list-style:none;margin:0;padding:.2em 0;line-height:1.4em;font-size:1.2em;text-align:center;text-transform:lowercase}.vjs-menu li:focus,.vjs-menu li:hover{outline:0;background-color:#73859f;background-color:rgba(115,133,159,.5)}.vjs-menu li.vjs-selected,.vjs-menu li.vjs-selected:focus,.vjs-menu li.vjs-selected:hover{background-color:#fff;color:#2b333f}.vjs-menu li.vjs-menu-title{text-align:center;text-transform:uppercase;font-size:1em;line-height:2em;padding:0;margin:0 0 .3em;font-weight:700;cursor:default}.vjs-menu-button-popup .vjs-menu{display:none;position:absolute;bottom:0;width:10em;left:-3em;height:0;margin-bottom:1.5em;border-top-color:rgba(43,51,63,.7)}.vjs-menu-button-popup .vjs-menu .vjs-menu-content{background-color:#2b333f;background-color:rgba(43,51,63,.7);position:absolute;width:100%;bottom:1.5em;max-height:15em}.vjs-menu-button-popup .vjs-menu.vjs-lock-showing,.vjs-workinghover .vjs-menu-button-popup:hover .vjs-menu{display:block}.video-js .vjs-menu-button-inline{-webkit-transition:all .4s;transition:all .4s;overflow:hidden}.video-js .vjs-menu-button-inline:before{width:2.222222222em}.video-js .vjs-menu-button-inline.vjs-slider-active,.video-js .vjs-menu-button-inline:focus,.video-js .vjs-menu-button-inline:hover,.video-js.vjs-no-flex .vjs-menu-button-inline{width:12em}.video-js .vjs-menu-button-inline.vjs-slider-active{-webkit-transition:none;transition:none}.vjs-menu-button-inline .vjs-menu{opacity:0;height:100%;width:auto;position:absolute;left:4em;top:0;padding:0;margin:0;-webkit-transition:all .4s;transition:all .4s}.vjs-menu-button-inline.vjs-slider-active .vjs-menu,.vjs-menu-button-inline:focus .vjs-menu,.vjs-menu-button-inline:hover .vjs-menu{display:block;opacity:1}.vjs-no-flex .vjs-menu-button-inline .vjs-menu{display:block;opacity:1;position:relative;width:auto}.vjs-no-flex .vjs-menu-button-inline.vjs-slider-active .vjs-menu,.vjs-no-flex .vjs-menu-button-inline:focus .vjs-menu,.vjs-no-flex .vjs-menu-button-inline:hover .vjs-menu{width:auto}.vjs-menu-button-inline .vjs-menu-content{width:auto;height:100%;margin:0;overflow:hidden}.video-js .vjs-control-bar{display:none;width:100%;position:absolute;bottom:0;left:0;right:0;height:3em;background-color:#2b333f;background-color:rgba(43,51,63,.7)}.vjs-has-started .vjs-control-bar{display:-webkit-box;display:-ms-flexbox;display:flex;visibility:visible;opacity:1;-webkit-transition:visibility .1s,opacity .1s;transition:visibility .1s,opacity .1s}.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar{visibility:visible;opacity:0;-webkit-transition:visibility 1s,opacity 1s;transition:visibility 1s,opacity 1s}@media \0screen{.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar{visibility:hidden}}.vjs-controls-disabled .vjs-control-bar,.vjs-error .vjs-control-bar,.vjs-using-native-controls .vjs-control-bar{display:none!important}.vjs-audio.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar{opacity:1;visibility:visible}@media \0screen{.vjs-user-inactive.vjs-playing .vjs-control-bar :before{content:""}}.vjs-has-started.vjs-no-flex .vjs-control-bar{display:table}.video-js .vjs-control{outline:none;position:relative;text-align:center;margin:0;padding:0;height:100%;width:4em;-webkit-box-flex:none;-ms-flex:none;flex:none}.video-js .vjs-control:before{font-size:1.8em;line-height:1.67}.video-js .vjs-control:focus,.video-js .vjs-control:focus:before,.video-js .vjs-control:hover:before{text-shadow:0 0 1em #fff}.video-js .vjs-control-text{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.vjs-no-flex .vjs-control{display:table-cell;vertical-align:middle}.video-js .vjs-custom-control-spacer{display:none}.video-js .vjs-progress-control{-webkit-box-flex:auto;-ms-flex:auto;flex:auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;min-width:4em}.vjs-live .vjs-progress-control{display:none}.video-js .vjs-progress-holder{-webkit-box-flex:auto;-ms-flex:auto;flex:auto;-webkit-transition:all .2s;transition:all .2s;height:.3em}.video-js .vjs-progress-control:hover .vjs-progress-holder{font-size:1.6666666666666667em}.video-js .vjs-progress-control:hover .vjs-mouse-display:after,.video-js .vjs-progress-control:hover .vjs-play-progress:after,.video-js .vjs-progress-control:hover .vjs-time-tooltip{font-family:Arial,Helvetica,sans-serif;visibility:visible;font-size:.6em}.video-js .vjs-progress-holder .vjs-load-progress,.video-js .vjs-progress-holder .vjs-load-progress div,.video-js .vjs-progress-holder .vjs-play-progress,.video-js .vjs-progress-holder .vjs-tooltip-progress-bar{position:absolute;display:block;height:.3em;margin:0;padding:0;width:0;left:0;top:0}.video-js .vjs-mouse-display:before{display:none}.video-js .vjs-play-progress{background-color:#fff}.video-js .vjs-play-progress:before{position:absolute;top:-.333333333333333em;right:-.5em;font-size:.9em}.video-js .vjs-mouse-display:after,.video-js .vjs-play-progress:after,.video-js .vjs-time-tooltip{visibility:hidden;pointer-events:none;position:absolute;top:-3.4em;right:-1.9em;font-size:.9em;color:#000;content:attr(data-current-time);padding:6px 8px 8px;background-color:#fff;background-color:hsla(0,0%,100%,.8);border-radius:.3em}.video-js .vjs-play-progress:after,.video-js .vjs-play-progress:before,.video-js .vjs-time-tooltip{z-index:1}.video-js .vjs-progress-control .vjs-keep-tooltips-inside:after{display:none}.video-js .vjs-load-progress{background:#bfc7d3;background:rgba(115,133,159,.5)}.video-js .vjs-load-progress div{background:#fff;background:rgba(115,133,159,.75)}.video-js.vjs-no-flex .vjs-progress-control{width:auto}.video-js .vjs-time-tooltip{display:inline-block;height:2.4em;position:relative;float:right;right:-1.9em}.vjs-tooltip-progress-bar{visibility:hidden}.video-js .vjs-progress-control .vjs-mouse-display{display:none;position:absolute;width:1px;height:100%;background-color:#000;z-index:1}.vjs-no-flex .vjs-progress-control .vjs-mouse-display{z-index:0}.video-js .vjs-progress-control:hover .vjs-mouse-display{display:block}.video-js.vjs-user-inactive .vjs-progress-control .vjs-mouse-display,.video-js.vjs-user-inactive .vjs-progress-control .vjs-mouse-display:after{visibility:hidden;opacity:0;-webkit-transition:visibility 1s,opacity 1s;transition:visibility 1s,opacity 1s}.video-js.vjs-user-inactive.vjs-no-flex .vjs-progress-control .vjs-mouse-display,.video-js.vjs-user-inactive.vjs-no-flex .vjs-progress-control .vjs-mouse-display:after{display:none}.video-js .vjs-progress-control .vjs-mouse-display:after,.vjs-mouse-display .vjs-time-tooltip{color:#fff;background-color:#000;background-color:rgba(0,0,0,.8)}.video-js .vjs-slider{outline:0;position:relative;cursor:pointer;padding:0;margin:0 .45em;background-color:#73859f;background-color:rgba(115,133,159,.5)}.video-js .vjs-slider:focus{text-shadow:0 0 1em #fff;box-shadow:0 0 1em #fff}.video-js .vjs-mute-control,.video-js .vjs-volume-menu-button{cursor:pointer;-webkit-box-flex:none;-ms-flex:none;flex:none}.video-js .vjs-volume-control{width:5em;-webkit-box-flex:none;-ms-flex:none;flex:none;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.video-js .vjs-volume-bar{margin:1.35em .45em}.vjs-volume-bar.vjs-slider-horizontal{width:5em;height:.3em}.vjs-volume-bar.vjs-slider-vertical{width:.3em;height:5em;margin:1.35em auto}.video-js .vjs-volume-level{position:absolute;bottom:0;left:0;background-color:#fff}.video-js .vjs-volume-level:before{position:absolute;font-size:.9em}.vjs-slider-vertical .vjs-volume-level{width:.3em}.vjs-slider-vertical .vjs-volume-level:before{top:-.5em;left:-.3em}.vjs-slider-horizontal .vjs-volume-level{height:.3em}.vjs-slider-horizontal .vjs-volume-level:before{top:-.3em;right:-.5em}.vjs-volume-bar.vjs-slider-vertical .vjs-volume-level{height:100%}.vjs-volume-bar.vjs-slider-horizontal .vjs-volume-level{width:100%}.vjs-menu-button-popup.vjs-volume-menu-button .vjs-menu{display:block;width:0;height:0;border-top-color:transparent}.vjs-menu-button-popup.vjs-volume-menu-button-vertical .vjs-menu{left:.5em;height:8em}.vjs-menu-button-popup.vjs-volume-menu-button-horizontal .vjs-menu{left:-2em}.vjs-menu-button-popup.vjs-volume-menu-button .vjs-menu-content{height:0;width:0;overflow-x:hidden;overflow-y:hidden}.vjs-volume-menu-button-vertical .vjs-lock-showing .vjs-menu-content,.vjs-volume-menu-button-vertical.vjs-slider-active .vjs-menu-content,.vjs-volume-menu-button-vertical:focus .vjs-menu-content,.vjs-volume-menu-button-vertical:hover .vjs-menu-content{height:8em;width:2.9em}.vjs-volume-menu-button-horizontal .vjs-lock-showing .vjs-menu-content,.vjs-volume-menu-button-horizontal .vjs-slider-active .vjs-menu-content,.vjs-volume-menu-button-horizontal:focus .vjs-menu-content,.vjs-volume-menu-button-horizontal:hover .vjs-menu-content{height:2.9em;width:8em}.vjs-volume-menu-button.vjs-menu-button-inline .vjs-menu-content{background-color:transparent!important}.vjs-poster{display:inline-block;background-repeat:no-repeat;background-position:50% 50%;background-size:contain;background-color:#000;cursor:pointer;margin:0;position:absolute;top:0;right:0;bottom:0;left:0;height:100%}.vjs-poster,.vjs-poster img{vertical-align:middle;padding:0}.vjs-poster img{display:block;margin:0 auto;max-height:100%;width:100%}.vjs-has-started .vjs-poster{display:none}.vjs-audio.vjs-has-started .vjs-poster{display:block}.vjs-controls-disabled .vjs-poster,.vjs-using-native-controls .vjs-poster{display:none}.video-js .vjs-live-control{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;-webkit-box-flex:auto;-ms-flex:auto;flex:auto;font-size:1em;line-height:3em}.vjs-no-flex .vjs-live-control{display:table-cell;width:auto;text-align:left}.video-js .vjs-time-control{-webkit-box-flex:none;-ms-flex:none;flex:none;font-size:1em;line-height:3em;min-width:2em;width:auto;padding-left:1em;padding-right:1em}.video-js .vjs-current-time,.video-js .vjs-duration,.vjs-live .vjs-time-control,.vjs-no-flex .vjs-current-time,.vjs-no-flex .vjs-duration{display:none}.vjs-time-divider{display:none;line-height:3em}.vjs-live .vjs-time-divider{display:none}.video-js .vjs-play-control{cursor:pointer;-webkit-box-flex:none;-ms-flex:none;flex:none}.vjs-text-track-display{position:absolute;bottom:3em;left:0;right:0;top:0;pointer-events:none}.video-js.vjs-user-inactive.vjs-playing .vjs-text-track-display{bottom:1em}.video-js .vjs-text-track{font-size:1.4em;text-align:center;margin-bottom:.1em;background-color:#000;background-color:rgba(0,0,0,.5)}.vjs-subtitles{color:#fff}.vjs-captions{color:#fc6}.vjs-tt-cue{display:block}video::-webkit-media-text-track-display{-webkit-transform:translateY(-3em);transform:translateY(-3em)}.video-js.vjs-user-inactive.vjs-playing video::-webkit-media-text-track-display{-webkit-transform:translateY(-1.5em);transform:translateY(-1.5em)}.video-js .vjs-fullscreen-control{cursor:pointer;-webkit-box-flex:none;-ms-flex:none;flex:none}.vjs-playback-rate .vjs-playback-rate-value{font-size:1.5em;line-height:2;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center}.vjs-playback-rate .vjs-menu{width:4em;left:0}.vjs-error .vjs-error-display .vjs-modal-dialog-content{font-size:1.4em;text-align:center}.vjs-error .vjs-error-display:before{color:#fff;content:"X";font-family:Arial,Helvetica,sans-serif;font-size:4em;left:0;line-height:1;margin-top:-.5em;position:absolute;text-shadow:.05em .05em .1em #000;text-align:center;top:50%;vertical-align:middle;width:100%}.vjs-loading-spinner{display:none;position:absolute;top:50%;left:50%;margin:-25px 0 0 -25px;opacity:.85;text-align:left;border:6px solid rgba(43,51,63,.7);box-sizing:border-box;background-clip:padding-box;width:50px;height:50px;border-radius:25px}.vjs-seeking .vjs-loading-spinner,.vjs-waiting .vjs-loading-spinner{display:block}.vjs-loading-spinner:after,.vjs-loading-spinner:before{content:"";position:absolute;margin:-6px;box-sizing:inherit;width:inherit;height:inherit;border-radius:inherit;opacity:1;border:inherit;border-color:transparent;border-top-color:#fff}.vjs-seeking .vjs-loading-spinner:after,.vjs-seeking .vjs-loading-spinner:before,.vjs-waiting .vjs-loading-spinner:after,.vjs-waiting .vjs-loading-spinner:before{-webkit-animation:vjs-spinner-spin 1.1s cubic-bezier(.6,.2,0,.8) infinite,vjs-spinner-fade 1.1s linear infinite;animation:vjs-spinner-spin 1.1s cubic-bezier(.6,.2,0,.8) infinite,vjs-spinner-fade 1.1s linear infinite}.vjs-seeking .vjs-loading-spinner:before,.vjs-waiting .vjs-loading-spinner:before{border-top-color:#fff}.vjs-seeking .vjs-loading-spinner:after,.vjs-waiting .vjs-loading-spinner:after{border-top-color:#fff;-webkit-animation-delay:.44s;animation-delay:.44s}@keyframes vjs-spinner-spin{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes vjs-spinner-spin{to{-webkit-transform:rotate(1turn)}}@keyframes vjs-spinner-fade{0%{border-top-color:#73859f}20%{border-top-color:#73859f}35%{border-top-color:#fff}60%{border-top-color:#73859f}to{border-top-color:#73859f}}@-webkit-keyframes vjs-spinner-fade{0%{border-top-color:#73859f}20%{border-top-color:#73859f}35%{border-top-color:#fff}60%{border-top-color:#73859f}to{border-top-color:#73859f}}.vjs-chapters-button .vjs-menu ul{width:24em}.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-custom-control-spacer{-webkit-box-flex:auto;-ms-flex:auto;flex:auto}.video-js.vjs-layout-tiny:not(.vjs-fullscreen).vjs-no-flex .vjs-custom-control-spacer{width:auto}.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-captions-button,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-chapters-button,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-current-time,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-duration,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-mute-control,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-playback-rate,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-remaining-time,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-subtitles-button,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-time-divider,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-volume-control,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-captions-button,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-chapters-button,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-current-time,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-duration,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-mute-control,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-playback-rate,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-progress-control,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-remaining-time,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-subtitles-button,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-time-divider,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-volume-control,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-volume-menu-button,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-captions-button,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-chapters-button,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-current-time,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-duration,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-mute-control,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-playback-rate,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-remaining-time,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-subtitles-button,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-time-divider,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-volume-control,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-volume-menu-button{display:none}.vjs-caption-settings{position:relative;top:1em;background-color:#2b333f;background-color:rgba(43,51,63,.75);color:#fff;margin:0 auto;padding:.5em;height:15em;font-size:12px;width:40em}.vjs-caption-settings .vjs-tracksettings{top:0;bottom:2em;left:0;right:0;position:absolute;overflow:auto}.vjs-caption-settings .vjs-tracksettings-colors,.vjs-caption-settings .vjs-tracksettings-font{float:left}.vjs-caption-settings .vjs-tracksettings-colors:after,.vjs-caption-settings .vjs-tracksettings-controls:after,.vjs-caption-settings .vjs-tracksettings-font:after{clear:both}.vjs-caption-settings .vjs-tracksettings-controls{position:absolute;bottom:1em;right:1em}.vjs-caption-settings .vjs-tracksetting{margin:5px;padding:3px;min-height:40px}.vjs-caption-settings .vjs-tracksetting label{display:block;width:100px;margin-bottom:5px}.vjs-caption-settings .vjs-tracksetting span{display:inline;margin-left:5px}.vjs-caption-settings .vjs-tracksetting>div{margin-bottom:5px;min-height:20px}.vjs-caption-settings .vjs-tracksetting>div:last-child{margin-bottom:0;padding-bottom:0;min-height:0}.vjs-caption-settings label>input{margin-right:10px}.vjs-caption-settings input[type=button]{width:40px;height:40px}.video-js .vjs-modal-dialog{background:rgba(0,0,0,.8);background:-webkit-linear-gradient(-90deg,rgba(0,0,0,.8),hsla(0,0%,100%,0));background:-webkit-linear-gradient(top,rgba(0,0,0,.8),hsla(0,0%,100%,0));background:linear-gradient(180deg,rgba(0,0,0,.8),hsla(0,0%,100%,0))}.vjs-modal-dialog .vjs-modal-dialog-content{font-size:1.2em;line-height:1.5;padding:20px 24px;z-index:1}.vjs-skin-colors-clix{color:#fff}.vjs-skin-colors-clix .vjs-control-bar{background-color:#7d085e}.vjs-skin-colors-clix .vjs-big-play-button,.vjs-skin-colors-clix .vjs-menu-content{background-color:rgba(125,8,94,.7)}.vjs-skin-colors-clix .vjs-load-progress,.vjs-skin-colors-clix .vjs-play-progress,.vjs-skin-colors-clix .vjs-slider,.vjs-skin-colors-clix .vjs-volume-level{background-color:#e6007e}.vjs-skin-colors-clix .vjs-big-play-button,.vjs-skin-colors-clix .vjs-big-play-button:focus,.vjs-skin-colors-clix:hover .vjs-big-play-button{border-color:#c90d97}.vjs-skin-colors-clix:hover .vjs-big-play-button{background:-webkit-radial-gradient(#a71680,#7d085e);background:radial-gradient(#a71680,#7d085e)}.vjs-skin-colors-clix .vjs-menu-button ul li{background-color:rgba(125,8,94,.3);color:#fff;font-family:open_sansregular,Arial,sans-serif}.vjs-skin-colors-clix .vjs-menu-button ul li.vjs-selected{background:-webkit-radial-gradient(#a71680,#7d085e);background:radial-gradient(#a71680,#7d085e);color:#fff}.vjs-skin-colors-clix .vjs-menu-button ul li.vjs-selected:focus,.vjs-skin-colors-clix .vjs-menu-button ul li.vjs-selected:hover,.vjs-skin-colors-clix .vjs-menu-button ul li:focus,.vjs-skin-colors-clix .vjs-menu-button ul li:hover{background:-webkit-radial-gradient(#e6007e,#b30062);background:radial-gradient(#e6007e,#b30062)}.vjs-skin-colors-clix .vjs-menu-button ul li.vjs-selected:active,.vjs-skin-colors-clix .vjs-menu-button ul li:active{background:-webkit-radial-gradient(#c2006b,#750041);background:radial-gradient(#c2006b,#750041)}::cue{font-size:1.5em;line-height:1.8}:root{--white:#ececec;--berry:#a61680;--french-blue:#4671a6;--white-three:#fff;--cool-blue:#5387c6;--blueberry:#573d8f;--dark-hot-pink:#e5007e;--white-two:#ddd;--greyish-brown:#4a4a4a;--warm-grey:#777;--white-four:#f7f6f6}.toggle-me{display:block;height:30px;margin:0;padding:6px 16px 2px;background:-webkit-radial-gradient(#573d8f,#412e6b);background:radial-gradient(#573d8f,#412e6b);border-radius:0 0 5px 5px;color:#fff;cursor:pointer;font-size:1.2rem;text-transform:uppercase;width:145px}.toggle-me:hover{background-color:#666;background:-webkit-radial-gradient(#412e6b,#2c1f47);background:radial-gradient(#412e6b,#2c1f47)}.toggle-me:active{background:-webkit-radial-gradient(#f37f2f,#f54b32);background:radial-gradient(#f37f2f,#f54b32)}#toggler{display:none}#toggler~.transcript{height:0;padding:0 0 10px;border-bottom:2px solid #ddd;opacity:0;overflow-y:scroll;-webkit-transition:all 1s ease-in-out;transition:all 1s ease-in-out}#toggler:checked~.transcript{height:250px;opacity:1}.transcript p{font-size:.875em;line-height:1.4}.arrow-toggle{BACKGROUND:red;color:#fff;fill:currentColor;-webkit-transform:rotate(0deg);transform:rotate(0deg);-webkit-transition:-webkit-transform 1s;transition:-webkit-transform 1s;transition:transform 1s;transition:transform 1s,-webkit-transform 1s}#toggler:checked~.arrow-toggle{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.vidbak{background-color:#efefef;border-bottom:3px solid #fff}.video-js{margin:.5rem auto 0}figure{margin:0;position:relative;overflow:hidden;text-align:center;background:#e5007e}figure img{max-width:100%;display:block;position:relative;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transition:opacity 1s,-webkit-transform .4s;transition:opacity 1s,-webkit-transform .4s;transition:opacity 1s,transform .4s;transition:opacity 1s,transform .4s,-webkit-transform .4s}figcaption{left:0;border-radius:2px;background:#e6007e;height:6px;opacity:0;-webkit-transform:translateY(100%);transform:translateY(100%);-webkit-transition:opacity .3s .3s,-webkit-transform .4s;transition:opacity .3s .3s,-webkit-transform .4s;transition:transform .4s,opacity .3s .3s;transition:transform .4s,opacity .3s .3s,-webkit-transform .4s}figcaption,figcaption h5{position:absolute;bottom:0;display:inline-block;color:#fff;width:100%}figcaption h5{text-align:center;padding:7px;background:#b30062;right:0}figure:hover img{opacity:1;-webkit-transform:scale3d(1.1,1.1,1);transform:scale3d(1.1,1.1,1)}figure:hover figcaption{opacity:1;-webkit-transform:translateY(0);transform:translateY(0);-webkit-transition:opacity .1s,-webkit-transform .4s;transition:opacity .1s,-webkit-transform .4s;transition:transform .4s,opacity .1s;transition:transform .4s,opacity .1s,-webkit-transform .4s}#zoom01 button{margin:10px 0;padding:10px;background:-webkit-radial-gradient(#573d8f,#412e6b);background:radial-gradient(#573d8f,#412e6b);border:none;border-radius:5px;color:#fff;cursor:pointer;font-size:.75rem;text-transform:uppercase}#zoom01 button:hover{background-color:#666;background:-webkit-radial-gradient(#412e6b,#2c1f47);background:radial-gradient(#412e6b,#2c1f47)}#zoom01 button:active{background:-webkit-radial-gradient(#f37f2f,#f54b32);background:radial-gradient(#f37f2f,#f54b32)}
\ No newline at end of file
diff -ruN oac/player_styles-4193a41496e51c7e5815_bundle.js oac-new/player_styles-4193a41496e51c7e5815_bundle.js
--- oac/player_styles-4193a41496e51c7e5815_bundle.js	1970-01-01 05:30:00.000000000 +0530
+++ oac-new/player_styles-4193a41496e51c7e5815_bundle.js	2017-05-24 14:49:58.000000000 +0530
@@ -0,0 +1 @@
+!function(t){function r(n){if(e[n])return e[n].exports;var o=e[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}var e={};return r.m=t,r.c=e,r.p="/oac/",r(0)}(function(t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))switch(typeof t[r]){case"function":break;case"object":t[r]=function(r){var e=r.slice(1),n=t[r[0]];return function(t,r,o){n.apply(this,[t,r,o].concat(e))}}(t[r]);break;default:t[r]=t[t[r]]}return t}({0:function(t,r,e){"use strict";e(1452),e(834),e(835)},834:function(t,r){},835:834,1452:834}));
\ No newline at end of file
diff -ruN oac/player_styles-4193a41496e51c7e5815.css oac-new/player_styles-4193a41496e51c7e5815.css
--- oac/player_styles-4193a41496e51c7e5815.css	1970-01-01 05:30:00.000000000 +0530
+++ oac-new/player_styles-4193a41496e51c7e5815.css	2017-05-24 14:49:58.000000000 +0530
@@ -0,0 +1 @@
+@font-face{font-family:open_sansbold;src:url(/oac/opensans-bold-webfont-316f0bfd4ad823527bde5f1523ae466b.woff2) format("woff2"),url(/oac/opensans-bold-webfont-48eddbb86b0dd04a412aa631bda1b651.woff) format("woff");font-weight:400;font-style:normal}@font-face{font-family:open_sansregular;src:url(/oac/opensans-regular-webfont-1d81af74bf67efb4fea4c376a4f4e8e1.woff2) format("woff2"),url(/oac/opensans-regular-webfont-cd133a7cfd2d0e0c8282eacf3a7c45b7.woff) format("woff");font-weight:400;font-style:normal}@font-face{font-family:open_sanslight;src:url(/oac/opensans-light-webfont-12b992bf2f102ea40a952914966a73b5.woff2) format("woff2"),url(/oac/opensans-light-webfont-5c5c82db96b29e89bc839c6f1ae9adbd.woff) format("woff");font-weight:400;font-style:normal}@font-face{font-family:open_sanssemibold;src:url(/oac/opensans-semibold-webfont-5cc567d29f0c810258ff8a012b4115e8.woff2) format("woff2"),url(/oac/opensans-semibold-webfont-6c95241693564ed97267b3deaf39fa23.woff) format("woff");font-weight:400;font-style:normal}*{box-sizing:inherit}html,html a{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-shadow:1px 1px 1px rgba(0,0,0,.004);font-size:10px;box-sizing:border-box}body,ul{margin:0}ul{padding:0;list-style-type:none}a,a:link,a:visited{text-decoration:none}p{margin:0}.u-hide{opacity:0!important;pointer-events:none}.o-assessment-container{background:#fff;box-shadow:0 0 .5rem rgba(0,0,0,.3);max-width:100rem;width:100%;margin:1rem auto}.c-header{height:5rem;padding:0 3rem;background:#fff;border-bottom:.2rem solid #efefef}.c-header__remaining,.c-header__title{color:#4f7db2;font-family:open_sansbold,sans-serif;font-size:2rem;float:left;line-height:4.6rem}.c-header__question-number{color:#9b9b9b;font-family:open_sansbold,sans-serif;font-size:1.6rem;float:right;line-height:4.6rem}.c-question-prompt{padding:2rem 3rem;font-family:open_sanssemibold,sans-serif;font-size:1.8rem;color:#4a4a4a}.c-question-prompt>*{margin-bottom:1rem}.c-question-prompt img{display:inline-block;max-width:30rem}.c-question-prompt audio{width:100%}.c-question-prompt .c-playback{display:inline-block;width:2.4rem;min-height:.1rem;padding-right:.5rem;position:relative;margin:0}.c-question-prompt .c-playback svg{position:absolute;top:-1.8rem;width:2.4rem;height:2.4rem}.c-question-prompt .c-playback svg path{fill:#9b9b9b}.c-video{width:15rem;height:9rem;background:#636463;border-radius:.3rem;display:inline-block;position:relative;transition:all .2s ease}.c-video:after{content:"";width:0;height:0;border-width:2rem 0 2rem 3.5rem;border-style:solid;border-color:transparent transparent transparent #fff;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.c-video:hover{background:#4a4a4a}.c-answers{padding:0 3rem}.o-grid{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}.c-answer-container{-webkit-box-flex:0;-ms-flex:0 0 49%;flex:0 0 49%;background:#fff;box-shadow:0 0 .3rem rgba(0,0,0,.3);border:.2rem solid #fff;border-radius:.3rem;min-height:3.5rem;position:relative;padding:.8rem .8rem 0;margin-bottom:1.5rem;cursor:pointer;transition:all .1s ease}.c-answer-container:hover{border-color:#4f7db2}.c-answer-container.is-clicked{background:#4f7db2;border-color:#4f7db2}.c-answer-container.is-clicked .c-answer-container__content p{color:#fff}.c-answer-container.is-clicked .c-feedback{background:#fff}.c-answer-container__radio{width:2rem;position:absolute;left:.8rem;top:.8rem}.c-radio-button .c-radio-button__border{display:inline-block;cursor:pointer;position:relative;height:1.5rem;width:1.5rem;border-radius:50%;border:.2rem solid #9b9b9b;margin:.2rem}.c-radio-button input[type=radio]:checked+.c-radio-button__border:before{content:"";width:.7rem;height:.7rem;background:#fff;border-radius:50%;position:absolute;top:.2rem;left:.2rem}.c-radio-button input[type=radio]:checked+.c-radio-button__border{border-color:#fff}.c-radio-button input{display:none;margin:0;height:.01rem;width:.01rem}.c-checkbox .c-checkbox__border{display:inline-block;cursor:pointer;position:relative;height:1.5rem;width:1.5rem;border-radius:.3rem;border:.2rem solid #9b9b9b;margin:.2rem}.c-checkbox input[type=checkbox]:checked+.c-checkbox__border:before{content:"";width:.3rem;height:.8rem;border:solid #4f7db2;border-width:0 .2rem .2rem 0;position:absolute;-webkit-transform:rotate(45deg);transform:rotate(45deg);top:0;left:.3rem}.c-checkbox input[type=checkbox]:checked+.c-checkbox__border{border-color:#fff;background:#fff}.c-checkbox input{display:none;margin:0;height:.01rem;width:.01rem}.c-answer-container__content{width:100%;padding-left:3rem;font-family:open_sansregular,sans-serif;font-size:1.4rem;color:#4a4a4a}.c-answer-container__content>*{margin-bottom:1rem}.c-answer-container__content img{display:inline-block;max-width:20rem}.c-answer-container__content audio{width:100%}.c-record{padding:2rem 3rem 1rem;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.c-audio-holder{padding:.5rem 1.14rem .65rem 0;-webkit-box-flex:1;-ms-flex:1;flex:1;margin-left:1rem}.c-audio-holder audio{width:100%}.c-audio-timer{padding:.08rem 1.14rem .1rem 0;color:#5a5a5a;font-family:open_sanslight,sans-serif;font-size:2.2rem}.c-audio-timer small{font-family:open_sansregular,sans-serif;font-size:1.3rem}.c-btn--record{background:#fff;border-color:#d0021b;width:10.5rem;text-align:left;transition:all .1s ease}.c-btn--record:hover{background:#d0021b}.c-btn--record:hover span{color:#fff}.c-btn--record:hover span:before{background:#fff}.c-btn--record span{padding-left:1.7rem;color:#d0021b;position:relative;transition:all .1s ease}.c-btn--record span:before{content:"";position:absolute;left:-.5rem;top:.9rem;width:1.2rem;height:1.2rem;border-radius:50%;background:#d0021b}.c-btn--record.c-btn--stop{background:#d0021b}.c-btn--record.c-btn--stop span{color:#fff}.c-btn--record.c-btn--stop span:before{background:#fff;animation:blink 2s linear infinite;-webkit-animation:blink 2s linear infinite}.c-btn--record.c-btn--stop:active{background:#9d0214;border-color:#9d0214}.c-btn--record.c-btn--subdue[disabled]{visibility:visible;background:#fff;color:#c4c4c4;border-color:#c4c4c4}.c-btn--record.c-btn--subdue[disabled]:hover{background:#fff;border-color:#c4c4c4}.c-btn--record.c-btn--subdue[disabled]:hover span{color:#c4c4c4}.c-btn--record.c-btn--subdue[disabled]:hover span:before{background:#c4c4c4}.c-btn--record.c-btn--subdue[disabled] span{color:#c4c4c4}.c-btn--record.c-btn--subdue[disabled] span:before{background:#c4c4c4}@-webkit-keyframes blink{0%{opacity:1}50%{opacity:0}to{opacity:1}}@keyframes blink{0%{opacity:1}50%{opacity:0}to{opacity:1}}.c-text-answer{padding:2rem 3rem 1rem}.c-text-answer textarea{border:.1rem solid #ddd;border-radius:.3rem;width:100%;resize:none;padding:.5rem 1rem;color:#4a4a4a}.c-file-upload,.c-text-answer textarea{font-family:open_sansregular,sans-serif;font-size:1.4rem}.c-file-upload{margin:1rem 0;padding:0 1.5rem;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative;border-radius:.3rem;border:.2rem solid #4f7db2;line-height:1.5rem;left:50%;-webkit-transform:translateX(-50%);transform:translate(-50%);background:#4f7db2;color:#fff;cursor:pointer;transition:all .1s ease;width:60vw}.c-file-upload:hover{background:#fff;color:#4f7db2}.c-file-upload span{padding-top:.15rem;font-family:open_sansbold,sans-serif;text-transform:uppercase;transition:all .1s ease}.c-file-upload input[type=file]{width:.1px;height:.1px;opacity:0;overflow:hidden;position:absolute;z-index:-1}.c-file-upload input[type=text]{min-height:3.5rem;overflow:hidden;position:relative;left:1.5rem;padding:.25rem 1rem;border:none;border-left:.25rem solid #4f7db2;color:#4f7db2;text-overflow:ellipsis;width:50%;transition:all .1s ease}.c-disable-pointer-n-keys{pointer-events:none}.c-assessment-navigation{display:table;padding:2rem 3rem 3rem}.c-assessment-navigation .c-button-slot{display:table-cell;padding-left:1.5em}.c-assessment-navigation .c-button-slot:first-child{padding-left:0;width:100%}.c-btn{padding:0 1.5rem;height:3.5rem;border-radius:.3rem;border-width:.2rem;border-style:solid;text-transform:uppercase;font-family:open_sansbold,sans-serif;font-size:1.4rem;position:relative;white-space:nowrap}.c-btn[disabled]{visibility:hidden}.c-btn[disabled],.c-btn[disabled] *{transition:all 0s}.c-btn span{display:inline-block;height:100%;line-height:3rem;transition:all .1s ease}.c-btn svg{width:2.4rem;height:2.4rem;position:absolute;top:.3rem}.c-btn svg path{transition:all .2s ease}.c-btn--previous,a.c-btn--previous{background:#fff;color:#4c4086;border-color:#4c4086;transition:all .2s ease}.c-btn--previous:hover,a.c-btn--previous:hover{border-color:#4c4086;background:#4c4086;color:#fff}.c-btn--previous:hover svg path,a.c-btn--previous:hover svg path{fill:#fff}.c-btn--previous svg path,a.c-btn--previous svg path{fill:#4c4086}.c-btn--next:hover svg path,a.c-btn--next:hover svg path{fill:#922a7d}.c-btn--next svg path,a.c-btn--next svg path{fill:#fff}[dir=ltr] .c-btn--previous{padding-left:3rem}[dir=ltr] .c-btn--previous svg{left:.3rem;-webkit-transform:rotate(90deg);transform:rotate(90deg)}[dir=ltr] .c-btn--next{padding-right:3rem}[dir=ltr] .c-btn--next svg{right:.3rem;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}[dir=rtl] .c-btn--previous{padding-right:3rem}[dir=rtl] .c-btn--previous svg{right:.3rem;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}[dir=rtl] .c-btn--next{padding-left:3rem}[dir=rtl] .c-btn--next svg{left:.3rem;-webkit-transform:rotate(90deg);transform:rotate(90deg)}.c-btn--check-answer,.c-btn--finish,.c-btn--next,a.c-btn--check-answer,a.c-btn--finish,a.c-btn--next{background:#922a7d;color:#fff;border-color:#922a7d;transition:all .2s ease}.c-btn--check-answer:hover,.c-btn--finish:hover,.c-btn--next:hover,a.c-btn--check-answer:hover,a.c-btn--finish:hover,a.c-btn--next:hover{border-color:#922a7d;background:#fff;color:#922a7d}.c-btn--loading,a.c-btn--loading{background:#fff;border-color:#922a7d;pointer-events:none}.c-btn--loading span,a.c-btn--loading span{opacity:0}.c-btn--loading svg,a.c-btn--loading svg{width:2.4rem;height:2.4rem;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);animation:spin .5s linear infinite;-webkit-animation:spin .5s linear infinite}.c-btn--loading svg path,a.c-btn--loading svg path{fill:#922a7d}@-webkit-keyframes spin{0%{-webkit-transform:translate(-50%,-50%) rotate(0);transform:translate(-50%,-50%) rotate(0)}to{-webkit-transform:translate(-50%,-50%) rotate(1turn);transform:translate(-50%,-50%) rotate(1turn)}}.c-answer-feedback{background:#fff;padding:1rem 1.5rem;margin:1rem -.8rem 0;border-radius:0 0 .3rem .3rem}.c-answer-feedback p{font-family:open_sansregular,sans-serif;font-size:1.2rem;color:#4a4a4a}.c-question-feedback{background:#efefef;padding:1.5rem 3rem 1.5rem 7rem;position:relative}.c-question-feedback p{font-family:open_sansregular,sans-serif;font-size:1.4rem;color:#4a4a4a}.c-question-feedback svg{position:absolute;left:3rem;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:2.4rem;height:2.4rem}.c-feedback{position:absolute;top:-.2rem;right:.8rem;height:3.5rem;width:13rem;border-radius:0 0 .3rem .3rem;padding:.7rem .5rem .5rem 3.5rem;background:#efefef;font-family:open_sanssemibold,sans-serif;font-size:1.4rem;color:#4a4a4a;text-transform:uppercase}.c-feedback svg{position:absolute;left:.5rem;top:.5rem;width:2.4rem;height:2.4rem}.c-feedback--incorrect svg path{fill:#d0021b}.c-feedback--correct svg path{fill:#7ed321}.c-confidence-map{padding:2rem 3rem 1rem}.c-confidence-prompt{font-family:open_sanssemibold,sans-serif;font-size:1.4rem;margin:0;padding-bottom:1rem;color:#4a4a4a;text-align:center}.c-confidence-item{display:inline-block;width:33.333%;border:.2rem solid #efefef;padding:1rem;position:relative;cursor:pointer}.c-confidence-item.is-clicked{border-color:#4f7db2}.c-confidence-item p{text-align:center;font-family:open_sansregular,sans-serif;color:#4a4a4a;font-size:1.4rem;margin-top:2rem}.c-confidence-item input[type=radio]:checked+label:before{content:"";width:.7rem;height:.7rem;background:#4f7db2;border-radius:50%;position:absolute;top:.2rem;left:.2rem}.c-confidence-item input[type=radio]:checked+label{border-color:#4f7db2}.c-confidence-item .c-radio-button{position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translate(-50%)}.c-confidence-item:hover{border-color:#4f7db2}.c-confidence-item--left,.c-confidence-item--middle{border-right:.2rem solid transparent}.c-confidence-item--middle,.c-confidence-item--right{border-left:.2rem solid transparent}.c-assessment-loading{pointer-events:none;position:relative;text-align:center;text-transform:uppercase;height:40rem;font-size:1.4rem;font-family:open_sansregular,sans-serif;color:#4a4a4a}.c-assessment-loading p{padding:2rem;animation:fadein 2s;-webkit-animation:fadein 2s}.c-assessment-loading span{opacity:0}.c-assessment-loading svg{width:5rem;height:5rem;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);animation:spin .5s linear infinite,fadein 2s;-webkit-animation:spin .5s linear infinite,fadein 2s}.c-assessment-loading svg path{fill:#922a7d}@keyframes spin{0%{-webkit-transform:translate(-50%,-50%) rotate(0);transform:translate(-50%,-50%) rotate(0)}to{-webkit-transform:translate(-50%,-50%) rotate(1turn);transform:translate(-50%,-50%) rotate(1turn)}}@-webkit-keyframes fadein{0%{opacity:0}to{opacity:1}}@keyframes fadein{0%{opacity:0}to{opacity:1}}.c-player-error{font-family:open_sanssemibold,sans-serif;font-size:2rem;padding:2rem;color:#fff;background:#d0021b;margin:.5rem 0;border-radius:.3rem}.c-word-box__contain{background:#efefef;padding:1rem;border-radius:.3rem;overflow:hidden}.c-word-box__contain .c-word{margin:1rem 2rem}.c-word-box__contain .c-object{margin:.5rem 1rem}.c-object{padding:.5rem;background:#fff;cursor:move;float:left;position:relative;height:11rem}.c-object>*{margin:0;padding:0;line-height:3.3rem}.c-object>*,.c-object>* img{display:inline-block}.c-word{height:3.5rem;padding:0 1.5rem 0 .8rem;background:#fff;font-family:open_sanssemibold,sans-serif;font-size:1.4rem;float:left;position:relative;margin:0 .1rem 0 0;cursor:move;white-space:nowrap}.c-word>*{margin:0;padding:0;display:inline-block;line-height:3.3rem}.c-word:before{height:1.3rem;background:#fff;top:1.1rem;left:-.7rem;z-index:2}.c-word:after,.c-word:before{content:"";position:absolute;width:.7rem}.c-word:after{height:1.5rem;background:#efefef;top:1rem;right:0;z-index:1}.c-word-answers{padding:.5rem;height:4.5rem;margin:1rem 0;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex}.c-word-answers,.c-word-answers .c-word:after{background:#4f7db2}.c-word-answers .c-over-drop-zone{border:2px solid #fff}.c-object-answers{background:#4f7db2;padding:.5rem;height:12rem;margin:1rem 0;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex}.c-object-answers .c-object{margin-right:.1rem}.c-object-answers .c-over-drop-zone{border:2px solid #fff}.c-word-answers--split-top:after{content:"";width:1.5rem;height:1.5rem;position:absolute;right:-.7rem;top:1.5rem;background:#4f7db2;z-index:1;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.c-word-answers--split-top svg{z-index:2;position:absolute;right:-1.4rem;top:.8rem;width:2.9rem;height:2.9rem;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.c-word-answers--split-top svg path{fill:#fff}.c-word-answers--split-bottom{padding-left:2.3rem}.c-word-answers--split-bottom:before{content:"";width:1.5rem;height:1.5rem;position:absolute;left:-.7rem;top:1.5rem;background:#fff;z-index:1;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.c-word-answers--split-bottom svg{z-index:2;position:absolute;left:-1.4rem;top:.8rem;width:2.9rem;height:2.9rem;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.c-word-answers--split-bottom svg path{fill:#4f7db2}.c-word--starter{padding:0 .8rem 0 .9rem;pointer-events:none}.c-word--starter:before{width:0}.noun{color:#228756}.verb{color:#bc5b15}.prep{color:#922a7d}.other{color:#573d8f}.adverb{color:#4c7aae}.adjective{color:#e5007e}.c-blank-answers{margin:1rem 0;position:relative;overflow:hidden}.c-blank-answers .c-word.c-word--fill{padding:0 .2rem;margin:.6rem 0;pointer-events:none;font-family:open_sansregular,sans-serif}.c-blank-answers .c-word.c-word--fill>*{color:#4a4a4a}.c-blank-answers .c-word.c-word--fill:after,.c-blank-answers .c-word.c-word--fill:before{width:0}.c-word--blank{padding:0 .8rem}.c-word--blank:after,.c-word--blank:before{width:0}.c-blank-drop-zone{background:#4f7db2;padding:.5rem;height:4.5rem;margin:0 .4rem;position:relative;float:left}.c-drop-zone{-webkit-box-flex:1;-ms-flex:1;flex:1}.c-blank{width:7rem;margin:0 .8rem;height:.2rem;background:#fff;position:relative;top:2.3rem}.assessment-complete{font-family:open_sansregular,sans-serif;font-size:1.8rem;color:#4a4a4a;text-align:center;padding:100px}.c-drag-target__background img{max-width:100%}.c-drag-zone{position:absolute;border-radius:.3rem}.c-drag-zone.show-border{border:.2rem solid #000;box-shadow:0 0 .2rem .2rem #fff}.c-drag-zone--snap .c-drag-zone__name{top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);border:.2rem solid #000;white-space:nowrap;border-radius:.3rem}.c-drag-zone__name{font-family:open_sanssemibold,sans-serif;font-size:1.2rem;color:#000;padding:0 .5rem;background:#fff;position:absolute;left:0;top:0}.c-droppable-container{width:100%;max-height:30rem;overflow:auto;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;border:.2rem solid #4f7db2;margin-top:2rem;padding:1rem}.c-droppable-container .c-droppable-item{margin:.5rem;box-shadow:0 0 .3rem rgba(0,0,0,.3)}.c-droppable-item{display:inline-block;cursor:-webkit-grab;cursor:grab}.c-droppable-item img{max-height:25rem;display:block}.c-droppable-item:active{cursor:-webkit-grabbing;cursor:grabbing}.c-droppable-item.is-hidden{opacity:0;pointer-events:none}.video-js .vjs-big-play-button:before,.video-js .vjs-control:before,.video-js .vjs-modal-dialog,.vjs-modal-dialog .vjs-modal-dialog-content{position:absolute;top:0;left:0;width:100%;height:100%}.video-js .vjs-big-play-button:before,.video-js .vjs-control:before{text-align:center}@font-face{font-family:VideoJS;src:url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAAA54AAoAAAAAFmgAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAAA9AAAAD4AAABWUZFeBWNtYXAAAAE0AAAAOgAAAUriMBC2Z2x5ZgAAAXAAAAouAAAPUFvx6AdoZWFkAAALoAAAACsAAAA2DIPpX2hoZWEAAAvMAAAAGAAAACQOogcgaG10eAAAC+QAAAAPAAAAfNkAAABsb2NhAAAL9AAAAEAAAABAMMg06m1heHAAAAw0AAAAHwAAACABMAB5bmFtZQAADFQAAAElAAACCtXH9aBwb3N0AAANfAAAAPwAAAGBZkSN43icY2BkZ2CcwMDKwMFSyPKMgYHhF4RmjmEIZzzHwMDEwMrMgBUEpLmmMDh8ZPwoxw7iLmSHCDOCCADvEAo+AAB4nGNgYGBmgGAZBkYGEHAB8hjBfBYGDSDNBqQZGZgYGD7K/f8PUvCREUTzM0DVAwEjG8OIBwCPdwbVAAB4nI1Xe1CU1xX/zv1eLItLln0JwrIfC7sJGET2hRJ2N1GUoBJE8AESQEEhmBHjaB7UuBMTO4GMaSu7aY3RNlOdRPNqO2pqRmuTaSZtR6JJILUZk00a/4imjpmiecB303O/XUgMJOPufvd+99xzzz33nN855y4HHH7EfrGfIxwHRiANvF/sH71I9BzHszmpW+rGOQOXxXE6YhI4PoMT8zkT4cDFuf1cwMrZJI5cglM0HKVv0MaUFDgIFfg9mJJCG+kbKn1JkqBOVaFOkuhLpARq8fu0Nnc9/zdvfY9PxXW4PdH0C6N+PCejhorxFjAqRjgFRXSINEARbBGsoxcFK7IJmr4OycFJnInL59zIXwxui80fkGRbEHyosMWaATJKUfCskmwJQsAWANkmnIGOhlf514h7U8HNIv3owoHB0WMt0Eb3sx0guLi5pq/8Ny1q6969fKR9X9GBV6dPv6dp04K99SOwtmyPl47ApRa6n4ZpP1yjr5fn7MmYP/vXLUJs715UguklHBaHOZHZmG1N9FAIW2mf0MqWCIdo/8RZ1yGfxKUldDcGIbFA7ICO+vqOMSPTh/ZrSqgHi/bB/O8E8Mnzp+M+acxfpsTShBwej26TiGxBn7m4eEIO+Rueu6Hj+IFBnh88cAEUEQ//nVLx5C7kf+yIR47QEe+eMlhz9SqsGbe3hh2R03NGzoY6O42Kz8l7fB6fAk6LYnTyFo/FYyT6GGyNx2Jx2sdH4rA1Fo/HyCXaFyOp8dhYBCfJb2NIn1ImE6CYNGmgSTb52DawJR6jfXEmDU4xyTEmpgHHOIStoxfjSGdkbsK2w2jbdMQG4sgAstEONgURYCwGHhEhhscioQaAhhCf7McifEQc0l6+mxj9nI+gmSdiQ0Zbm7gZnIO7GSMEXG6UDAVocxAV8GcEXCKg1a02RcTtwANWRGIAyElor6n/+ZU2yOB3+T77Hb1MLqhn4KHVnQBjJnqe9QZSon6Kc5DxAD2vMdPL/BXSmQGwspa67z9wLUjdi9TN7QC7lyyBr9rpt7uXVC1CMpyjKRoXnGPHTuiaPLsNdc2dbAFQLAooPkXEh33FodHl4XpC6sPCIa0ftUIhHSYXVSu5iME+DIXsbZJ51BeidCgajcai43jU9nVzoSn2dPqcFvSoxSzJzgRKAx47WMRxOrIj3Wf0+hndxhJTiOkSEqxar3b3RKM9hY64oxBA64ieURLvCfpkDb8siBdUJ1bgT+urJ5PGfewQrmm5R5+0HmfyIPySD7OYkT0WxRePah8oEiyjlxIP74thVoRTURpmL6QhGuWS+QDjdANXjIM8SQa/1w128ODx0Qp4aLMNg9+JL3joUn8AMxW+aLNiuKjarn4uyyTdXjOzZTsh21uwldUvJoYza+zELALfu3p1L8/3krtyZ0Ag058J3hxHghvbGZn0dHZy6Mim/7Blre4lpHd1c28yVqRViO153F2oIWoXCIKbL4Z0cM1iaQn9mI5KuV2SzEvWXJDMNtkANpMdQoDDhIdD4A/YrP6Aye9ysxyE+uOEAcTDorgvVZJjcua043PnZ/PmdDqcbibZlXOOT8uSo7Kof0YUn9GL+Jo17ficymxiTofC6znUso0DhAxs1Fo+kF+d36vLmgZ8mk5cdGv2mwYj5k3Dm9m3LhJ1aVRNm6HrTbLgYAoWXDhDd/u4PGy5CT+xGMdiaBovewUCF/1BiWNljI9MLn7jeScpg+WyH6mfU62eVDql7hsrmvx1ezp/YldE2LhjbkiDnAn8tGy/MW3IXRMYJduvq9HpmIcKuFt+JCtgdGEGKAcF6UacVwIYbVPGfw/+YuNBS4cx/CUHcnyfc+wRDMtTr72mMSBjT/yn/GKSdeDWQUCH6Xoqq5R10RE60gV6erUL0iCti16d0hZjxut4QI/rEpgSh6WjnJXdBXRg1GKCucGJPtFqM27aD1tOqqKonsQ2KsFSSmEpmvRlsR+TcD9OFwrqXxIclL4sJTnGMSuG8KpkZvKdeVIOKDyWSyPLV16/p1QMPbP8NihwUzr47bdnXtwtjdCvqqpO0H+pOvIl3Pzv46e5CT/tQjklXCXXym1AaWY7bzHLkuDMc7ldKCvgxzLn8wYkJLBhEDyK7MT8bTbwbkxbfp+3mKAGsmTBpabSIEECzMIcQlzOPAMKsxMs7uhsnxPLuofPDTc1hkuq6MX9j16YU7CqegcYHbmWYuvAP6tCS97tgWf7dlQvnl25YPavXLVZvrzQPeHCpZmzzEUVq/xzu5sChnSTPTW7oOYmh69z4zL/gk3b+O6hoa733uviP82vnFcbqWlc9tDmZa23LVzaV1yXURi+JX+28NeBuj3+O8IrQ080Vm1eWB4OKjPmrJu7c1udWynvKF6/vs479lSW9+5gZkn+dKfellNGDPllzeULustz+A0bPvhgw7lkvEUwn/N4Ty7U7nhGsEpFkOfy+kutbOh1JQxhVDJumoW11hnkPThznh6FFlhfT+ra1x9sF56kx5YuDzVY9PQYAYA7iblw4frQ4TPCk2MK/xGU3rlmze62trHz6lsko+v+So/do74PT8KVkpJfOErKcv8znrMGsHTNxoEkWy1mYgDB6XBbPaWsuiS6CryGaL6zCjaXBgvtkuyXBua1wOKnh+k7L9AvPnYWffxK18FcJbuosGf3/Jo7amY+CE1vppzY+UTrva0FXc1i55pKQ/YjVL187N5fCn1kW5uot/1hi+DiZ+5atnJR9E+prvydJ9ZZ5mwOpU5gM4KYysMBQ71UzPuMTl9QQOyUo5nwioeYCPjFklrbK6s6X+ypUZ6rum9+CZYzWRiBJfSP0xzzSmrg7f86g0DKVj/wwFzieD9rRfPGFbeKMl05pn5j9/rsQJJ2iEgRrpohlyBo3f4QK7Kl+EcAYZgAoNVmZWXK704YAa3FwBxgSGUOs5htvGRz4Sgj3yFkSJFBuv/sxu5yk998T8WDJzvv/2RX19HtTUW1S+wpKRKRjJ6zzz/1/OPdFdWGlAKbvzS4PHOtURikg9AGz0LbIB85S/cPOpoXvuue8/iV2H1vPTy3ddvOeZ37HGmO3OmSzVzR+NS53+84dHlFhXPLqtzSO+5ruHM2vXtBdxP87LOzKAD359j/INYIbyPabIi3Cq6Wa+SaGe78diIzu7qcblcAa6/fJRvNopXFJnO+U9KKM5bqH5LM0iQSVmpPCPDu7ZT4Aoubz3709EBTyrTDjyx8MQXgUH1nqm7TWng4TzE4i4AsKskBITXfSyC4Fkl5MxnJDiKSIDSJAsGvd1y+/eNDp2e+A+5d8HeiiunrTkT6TqWLIs+/QRoWr98s0qj8uuzLuS22Ytufg3rdTaHn1m46sfgGKHXt0MGnLaRHdnwN37tvHcWKo2V6lnPxL4UvUQcRdOzmZSQs8X5CH5OxXMXpkATuDz8Et0SH4uyCRR+TjmBDP1GvsVrWEGVzEj33YVQ9jAtIKpqsl/s/0xrocwAAeJxjYGRgYADig3cEzsTz23xl4GZnAIHLRucNkWl2BrA4BwMTiAIAF4IITwB4nGNgZGBgZwCChWASxGZkQAXyABOUANh4nGNnYGBgHyAMADa8ANoAAAAAAAAOAFAAZgCyAMYA5gEeAUgBdAGcAfICLgKOAroDCgOOA7AD6gQ4BHwEuAToBQwFogXoBjYGbAbaB3IHqHicY2BkYGCQZ8hlYGcAASYg5gJCBob/YD4DABbVAaoAeJxdkE1qg0AYhl8Tk9AIoVDaVSmzahcF87PMARLIMoFAl0ZHY1BHdBJIT9AT9AQ9RQ9Qeqy+yteNMzDzfM+88w0K4BY/cNAMB6N2bUaPPBLukybCLvleeAAPj8JD+hfhMV7hC3u4wxs7OO4NzQSZcI/8Ltwnfwi75E/hAR7wJTyk/xYeY49fYQ/PztM+jbTZ7LY6OWdBJdX/pqs6NYWa+zMxa13oKrA6Uoerqi/JwtpYxZXJ1coUVmeZUWVlTjq0/tHacjmdxuL90OR8O0UEDYMNdtiSEpz5XQGqzlm30kzUdAYFFOb8R7NOZk0q2lwAyz1i7oAr1xoXvrOgtYhZx8wY5KRV269JZ5yGpmzPTjQhvY9je6vEElPOuJP3mWKnP5M3V+YAAAB4nG2P2XLCMAxFfYFspGUp3Te+IB9lHJF4cOzUS2n/voaEGR6qB+lKo+WITdhga/a/bRnDBFPMkCBFhhwF5ihxg1sssMQKa9xhg3s84BFPeMYLXvGGd3zgE9tZr/hveXKVkFYoSnoeHJXfRoWOqi54mo9ameNFdrK+dLSyaVf7oJQTlkhXpD3Z5XXhR/rUfQVuKXO91Jps4cLOS6/I5YL3XhodRRsVWZe4NnZOhWnSAWgxhMoEr6SmzZieF43Mk7ZOBdeCVGrp9Eu+54J2xhySplfB5XHwQLXUmT9KH6+kPnQ7ZYuIEzNyfs1DLU1VU4SWZ6LkXGHsD1ZKbMw=) format("woff"),url(data:application/x-font-ttf;charset=utf-8;base64,AAEAAAAKAIAAAwAgT1MvMlGRXgUAAAEoAAAAVmNtYXDiMBC2AAAB/AAAAUpnbHlmW/HoBwAAA4gAAA9QaGVhZAyD6V8AAADQAAAANmhoZWEOogcgAAAArAAAACRobXR42QAAAAAAAYAAAAB8bG9jYTDINOoAAANIAAAAQG1heHABMAB5AAABCAAAACBuYW1l1cf1oAAAEtgAAAIKcG9zdGZEjeMAABTkAAABgQABAAAHAAAAAKEHAAAAAAAHAAABAAAAAAAAAAAAAAAAAAAAHwABAAAAAQAAwdxheF8PPPUACwcAAAAAANMyzzEAAAAA0zLPMQAAAAAHAAcAAAAACAACAAAAAAAAAAEAAAAfAG0ABwAAAAAAAgAAAAoACgAAAP8AAAAAAAAAAQcAAZAABQAIBHEE5gAAAPoEcQTmAAADXABXAc4AAAIABQMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUGZFZABA8QHxHgcAAAAAoQcAAAAAAAABAAAAAAAABwAAAAcAAAAHAAAABwAAAAcAAAAHAAAABwAAAAcAAAAHAAAABwAAAAcAAAAHAAAABwAAAAcAAAAHAAAABwAAAAcAAAAHAAAABwAAAAcAAAAHAAAABwAAAAcAAAAHAAAABwAAAAcAAAAHAAAABwAAAAcAAAAHAAAABwAAAAAAAAMAAAADAAAAHAABAAAAAABEAAMAAQAAABwABAAoAAAABgAEAAEAAgAA8R7//wAAAADxAf//AAAPAAABAAAAAAAAAAABBgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAFAAZgCyAMYA5gEeAUgBdAGcAfICLgKOAroDCgOOA7AD6gQ4BHwEuAToBQwFogXoBjYGbAbaB3IHqAABAAAAAAWLBYsAAgAAAREBAlUDNgWL++oCCwAAAwAAAAAGawZrAAIADgAaAAAJAhMEAAMSAAUkABMCAAEmACc2ADcWABcGAALrAcD+QJX+w/5aCAgBpgE9AT0BpggI/lr+w/3+rgYGAVL9/QFSBgb+rgIwAVABUAGbCP5a/sP+w/5aCAgBpgE9AT0BpvrIBgFS/f0BUgYG/q79/f6uAAAAAgAAAAAFQAWLAAMABwAAASERKQERIREBwAEr/tUCVQErAXUEFvvqBBYAAAAEAAAAAAYgBiAABgATACQAJwAAAS4BJxUXNjcGBxc+ATUmACcVFhIBBwEhESEBEQEGBxU+ATcXNwEHFwTQAWVVuAO7AidxJSgF/t/lpc77t18BYf6fASsBdQE+TF1OijuZX/1gnJwDgGSeK6W4GBhqW3FGnFT0AWM4mjT+9AHrX/6f/kD+iwH2/sI7HZoSRDGYXwSWnJwAAAEAAAAABKsF1gAFAAABESEBEQECCwEqAXb+igRg/kD+iwSq/osAAAACAAAAAAVmBdYABgAMAAABLgEnET4BAREhAREBBWUBZVRUZfwRASsBdf6LA4Bkniv9piueAUT+QP6LBKr+iwAAAwAAAAAGIAYPAAUADAAaAAATESEBEQEFLgEnET4BAxUWEhcGAgcVNgA3JgDgASsBdf6LAsUBZVVVZbqlzgMDzqXlASEFBf7fBGD+QP6LBKr+i+Bkniv9piueAvOaNP70tbX+9DSaOAFi9fUBYgAAAAQAAAAABYsFiwAFAAsAEQAXAAABIxEhNSMDMzUzNSEBIxUhESMDFTMVMxECC5YBduCWluD+igOA4AF2luDglgLr/oqWAgrglvyAlgF2AqCW4AF2AAQAAAAABYsFiwAFAAsAEQAXAAABMxUzESETIxUhESMBMzUzNSETNSMRITUBdeCW/org4AF2lgHAluD+ipaWAXYCVeABdgHAlgF2++rglgHA4P6KlgAAAAACAAAAAAXWBdYADwATAAABIQ4BBxEeARchPgE3ES4BAyERIQVA/IA/VQEBVT8DgD9VAQFVP/yAA4AF1QFVP/yAP1UBAVU/A4A/VfvsA4AAAAYAAAAABmsGawAHAAwAEwAbACAAKAAACQEmJw4BBwElLgEnAQUhATYSNyYFAQYCBxYXIQUeARcBMwEWFz4BNwECvgFkTlSH8GEBEgOONemh/u4C5f3QAXpcaAEB/BP+3VxoAQEOAjD95DXpoQESeP7dTlSH8GH+7gPwAmgSAQFYUP4nd6X2Pv4nS/1zZAEBk01NAfhk/v+TTUhLpfY+Adn+CBIBAVhQAdkAAAAFAAAAAAZrBdYADwATABcAGwAfAAABIQ4BBxEeARchPgE3ES4BASEVIQEhNSEFITUhNSE1IQXV+1ZAVAICVEAEqkBUAgJU+xYBKv7WAur9FgLqAcD+1gEq/RYC6gXVAVU//IA/VQEBVT8DgD9V/ayV/tWVlZWWlQADAAAAAAYgBdYADwAnAD8AAAEhDgEHER4BFyE+ATcRLgEBIzUjFTM1MxUUBgcjLgEnET4BNzMeARUFIzUjFTM1MxUOAQcjLgE1ETQ2NzMeARcFi/vqP1QCAlQ/BBY/VAICVP1rcJWVcCog4CAqAQEqIOAgKgILcJWVcAEqIOAgKiog4CAqAQXVAVU//IA/VQEBVT8DgD9V/fcl4CVKICoBASogASogKgEBKiBKJeAlSiAqAQEqIAEqICoBASogAAAGAAAAAAYgBPYAAwAHAAsADwATABcAABMzNSMRMzUjETM1IwEhNSERITUhERUhNeCVlZWVlZUBKwQV++sEFfvrBBUDNZb+QJUBwJX+QJb+QJUCVZWVAAAAAQAAAAAGIAZsAC4AAAEiBgcBNjQnAR4BMz4BNy4BJw4BBxQXAS4BIw4BBx4BFzI2NwEGBx4BFz4BNy4BBUArSh797AcHAg8eTixffwICf19ffwIH/fEeTixffwICf18sTh4CFAUBA3tcXHsDA3sCTx8bATcZNhkBNB0gAn9fX38CAn9fGxn+zRwgAn9fX38CIBz+yhcaXHsCAntcXXsAAAIAAAAABlkGawBDAE8AAAE2NCc3PgEnAy4BDwEmLwEuASchDgEPAQYHJyYGBwMGFh8BBhQXBw4BFxMeAT8BFh8BHgEXIT4BPwE2NxcWNjcTNiYnBS4BJz4BNx4BFw4BBasFBZ4KBgeWBxkNujpEHAMUD/7WDxQCHEU5ug0aB5UHBQudBQWdCwUHlQcaDbo5RRwCFA8BKg8UAhxFOboNGgeVBwUL/ThvlAIClG9vlAIClAM3JEokewkaDQEDDAkFSy0cxg4RAQERDsYcLUsFCQz+/QwbCXskSiR7CRoN/v0MCQVLLRzGDhEBAREOxhwtSwUJDAEDDBsJQQKUb2+UAgKUb2+UAAAAAAEAAAAABmsGawALAAATEgAFJAATAgAlBACVCAGmAT0BPQGmCAj+Wv7D/sP+WgOA/sP+WggIAaYBPQE9AaYICP5aAAAAAgAAAAAGawZrAAsAFwAAAQQAAxIABSQAEwIAASYAJzYANxYAFwYAA4D+w/5aCAgBpgE9AT0BpggI/lr+w/3+rgYGAVL9/QFSBgb+rgZrCP5a/sP+w/5aCAgBpgE9AT0BpvrIBgFS/f0BUgYG/q79/f6uAAADAAAAAAZrBmsACwAXACMAAAEEAAMSAAUkABMCAAEmACc2ADcWABcGAAMOAQcuASc+ATceAQOA/sP+WggIAaYBPQE9AaYICP5a/sP9/q4GBgFS/f0BUgYG/q4dAn9fX38CAn9fX38Gawj+Wv7D/sP+WggIAaYBPQE9Aab6yAYBUv39AVIGBv6u/f3+rgJPX38CAn9fX38CAn8AAAAEAAAAAAYgBiAADwAbACUAKQAAASEOAQcRHgEXIT4BNxEuAQEjNSMVIxEzFTM1OwEhHgEXEQ4BByE3MzUjBYv76j9UAgJUPwQWP1QCAlT9a3CVcHCVcJYBKiAqAQEqIP7WcJWVBiACVD/76j9UAgJUPwQWP1T8gpWVAcC7uwEqIP7WICoBcOAAAgAAAAAGawZrAAsAFwAAAQQAAxIABSQAEwIAEwcJAScJATcJARcBA4D+w/5aCAgBpgE9AT0BpggI/lo4af70/vRpAQv+9WkBDAEMaf71BmsI/lr+w/7D/loICAGmAT0BPQGm/BFpAQv+9WkBDAEMaf71AQtp/vQAAQAAAAAF1ga2ABYAAAERCQERHgEXDgEHLgEnIxYAFzYANyYAA4D+iwF1vv0FBf2+vv0FlQYBUf7+AVEGBv6vBYsBKv6L/osBKgT9v779BQX9vv7+rwYGAVH+/gFRAAAAAQAAAAAFPwcAABQAAAERIyIGHQEhAyMRIREjETM1NDYzMgU/nVY8ASUn/v7O///QrZMG9P74SEi9/tj9CQL3ASjaus0AAAAABAAAAAAGjgcAADAARQBgAGwAAAEUHgMVFAcGBCMiJicmNTQ2NzYlLgE1NDcGIyImNTQ2Nz4BMyEHIx4BFRQOAycyNjc2NTQuAiMiBgcGFRQeAxMyPgI1NC4BLwEmLwImIyIOAxUUHgIBMxUjFSM1IzUzNTMDH0BbWkAwSP7qn4TlOSVZSoMBESAfFS4WlMtIP03TcAGiioNKTDFFRjGSJlAaNSI/akAqURkvFCs9WTY6a1s3Dg8THgocJU4QIDVob1M2RnF9A2vV1WnU1GkD5CRFQ1CATlpTenNTYDxHUYouUhIqQCkkMQTBlFKaNkJAWD+MWkhzRztAPiEbOWY6hn1SJyE7ZS5nZ1I0/JcaNF4+GTAkGCMLFx04Ag4kOF07Rms7HQNsbNvbbNkAAwAAAAAGgAZsAAMADgAqAAABESERARYGKwEiJjQ2MhYBESERNCYjIgYHBhURIRIQLwEhFSM+AzMyFgHd/rYBXwFnVAJSZGemZASP/rdRVj9VFQv+twIBAQFJAhQqR2c/q9AEj/whA98BMkliYpNhYfzd/cgCEml3RTMeM/3XAY8B8DAwkCAwOB/jAAABAAAAAAaUBgAAMQAAAQYHFhUUAg4BBCMgJxYzMjcuAScWMzI3LgE9ARYXLgE1NDcWBBcmNTQ2MzIXNjcGBzYGlENfAUyb1v7SrP7x4SMr4bBpph8hHCsqcJNETkJOLHkBW8YIvYaMYG1gJWldBWhiRQ4cgv797rdtkQSKAn1hBQsXsXUEJgMsjlNYS5WzCiYkhr1mFTlzPwoAAAABAAAAAAWABwAAIgAAARcOAQcGLgM1ESM1PgQ3PgE7AREhFSERFB4CNzYFMFAXsFlorXBOIahIckQwFAUBBwT0AU3+sg0gQzBOAc/tIz4BAjhceHg6AiDXGlddb1ctBQf+WPz9+h40NR4BAgABAAAAAAaABoAASgAAARQCBCMiJzY/AR4BMzI+ATU0LgEjIg4DFRQWFxY/ATY3NicmNTQ2MzIWFRQGIyImNz4CNTQmIyIGFRQXAwYXJgI1NBIkIAQSBoDO/p/Rb2s7EzYUaj15vmh34o5ptn9bK1BNHggIBgIGETPRqZepiWs9Sg4IJRc2Mj5WGWMRBM7+zgFhAaIBYc4DgNH+n84gXUfTJzmJ8JZyyH46YH2GQ2ieIAwgHxgGFxQ9WpfZpIOq7lc9I3VZHzJCclVJMf5eRmtbAXzp0QFhzs7+nwAABwAAAAAHAATPAA4AFwAqAD0AUABaAF0AAAERNh4CBw4BBwYmIycmNxY2NzYmBxEUBRY2Nz4BNy4BJyMGHwEeARcOARcWNjc+ATcuAScjBh8BHgEXFAYXFjY3PgE3LgEnIwYfAR4BFw4BBTM/ARUzESMGAyUVJwMchM2UWwgNq4JHrQgBAapUaAoJcWMBfiIhDiMrAQJLMB0BBAokNAIBPmMiIQ4iLAECSzAeAQUKJDQBP2MiIQ4iLAECSzAeAQUKJDQBAT75g+5B4arNLNIBJ44ByQL9BQ9mvYCKwA8FBQMDwwJVTGdzBf6VB8IHNR08lld9uT4LCRA/qGNxvUwHNR08lld9uT4LCRA/qGNxvUwHNR08lld9uT4LCRA/qGNxvVJkAWUDDEf+tYP5AQAAAAEAAAAABiAGtgAbAAABBAADER4BFzMRITU2ADcWABcVIREzPgE3EQIAA4D+4v6FBwJ/X+D+1QYBJ97eAScG/tXgX38CB/6FBrUH/oX+4v32X38CAlWV3gEnBgb+2d6V/asCf18CCgEeAXsAAAAAEADGAAEAAAAAAAEABwAAAAEAAAAAAAIABwAHAAEAAAAAAAMABwAOAAEAAAAAAAQABwAVAAEAAAAAAAUACwAcAAEAAAAAAAYABwAnAAEAAAAAAAoAKwAuAAEAAAAAAAsAEwBZAAMAAQQJAAEADgBsAAMAAQQJAAIADgB6AAMAAQQJAAMADgCIAAMAAQQJAAQADgCWAAMAAQQJAAUAFgCkAAMAAQQJAAYADgC6AAMAAQQJAAoAVgDIAAMAAQQJAAsAJgEeVmlkZW9KU1JlZ3VsYXJWaWRlb0pTVmlkZW9KU1ZlcnNpb24gMS4wVmlkZW9KU0dlbmVyYXRlZCBieSBzdmcydHRmIGZyb20gRm9udGVsbG8gcHJvamVjdC5odHRwOi8vZm9udGVsbG8uY29tAFYAaQBkAGUAbwBKAFMAUgBlAGcAdQBsAGEAcgBWAGkAZABlAG8ASgBTAFYAaQBkAGUAbwBKAFMAVgBlAHIAcwBpAG8AbgAgADEALgAwAFYAaQBkAGUAbwBKAFMARwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABzAHYAZwAyAHQAdABmACAAZgByAG8AbQAgAEYAbwBuAHQAZQBsAGwAbwAgAHAAcgBvAGoAZQBjAHQALgBoAHQAdABwADoALwAvAGYAbwBuAHQAZQBsAGwAbwAuAGMAbwBtAAAAAgAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAfAAABAgEDAQQBBQEGAQcBCAEJAQoBCwEMAQ0BDgEPARABEQESARMBFAEVARYBFwEYARkBGgEbARwBHQEeAR8EcGxheQtwbGF5LWNpcmNsZQVwYXVzZQt2b2x1bWUtbXV0ZQp2b2x1bWUtbG93CnZvbHVtZS1taWQLdm9sdW1lLWhpZ2gQZnVsbHNjcmVlbi1lbnRlcg9mdWxsc2NyZWVuLWV4aXQGc3F1YXJlB3NwaW5uZXIJc3VidGl0bGVzCGNhcHRpb25zCGNoYXB0ZXJzBXNoYXJlA2NvZwZjaXJjbGUOY2lyY2xlLW91dGxpbmUTY2lyY2xlLWlubmVyLWNpcmNsZQJoZAZjYW5jZWwGcmVwbGF5CGZhY2Vib29rBWdwbHVzCGxpbmtlZGluB3R3aXR0ZXIGdHVtYmxyCXBpbnRlcmVzdBFhdWRpby1kZXNjcmlwdGlvbgVhdWRpbwAAAAAA) format("truetype");font-weight:400;font-style:normal}.video-js .vjs-big-play-button,.video-js .vjs-play-control,.vjs-icon-play{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-big-play-button:before,.video-js .vjs-play-control:before,.vjs-icon-play:before{content:"\F101"}.vjs-icon-play-circle{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-play-circle:before{content:"\F102"}.video-js .vjs-play-control.vjs-playing,.vjs-icon-pause{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-play-control.vjs-playing:before,.vjs-icon-pause:before{content:"\F103"}.video-js .vjs-mute-control.vjs-vol-0,.video-js .vjs-volume-menu-button.vjs-vol-0,.vjs-icon-volume-mute{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-mute-control.vjs-vol-0:before,.video-js .vjs-volume-menu-button.vjs-vol-0:before,.vjs-icon-volume-mute:before{content:"\F104"}.video-js .vjs-mute-control.vjs-vol-1,.video-js .vjs-volume-menu-button.vjs-vol-1,.vjs-icon-volume-low{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-mute-control.vjs-vol-1:before,.video-js .vjs-volume-menu-button.vjs-vol-1:before,.vjs-icon-volume-low:before{content:"\F105"}.video-js .vjs-mute-control.vjs-vol-2,.video-js .vjs-volume-menu-button.vjs-vol-2,.vjs-icon-volume-mid{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-mute-control.vjs-vol-2:before,.video-js .vjs-volume-menu-button.vjs-vol-2:before,.vjs-icon-volume-mid:before{content:"\F106"}.video-js .vjs-mute-control,.video-js .vjs-volume-menu-button,.vjs-icon-volume-high{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-mute-control:before,.video-js .vjs-volume-menu-button:before,.vjs-icon-volume-high:before{content:"\F107"}.video-js .vjs-fullscreen-control,.vjs-icon-fullscreen-enter{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-fullscreen-control:before,.vjs-icon-fullscreen-enter:before{content:"\F108"}.video-js.vjs-fullscreen .vjs-fullscreen-control,.vjs-icon-fullscreen-exit{font-family:VideoJS;font-weight:400;font-style:normal}.video-js.vjs-fullscreen .vjs-fullscreen-control:before,.vjs-icon-fullscreen-exit:before{content:"\F109"}.vjs-icon-square{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-square:before{content:"\F10A"}.vjs-icon-spinner{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-spinner:before{content:"\F10B"}.video-js .vjs-subtitles-button,.vjs-icon-subtitles{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-subtitles-button:before,.vjs-icon-subtitles:before{content:"\F10C"}.video-js .vjs-captions-button,.vjs-icon-captions{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-captions-button:before,.vjs-icon-captions:before{content:"\F10D"}.video-js .vjs-chapters-button,.vjs-icon-chapters{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-chapters-button:before,.vjs-icon-chapters:before{content:"\F10E"}.vjs-icon-share{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-share:before{content:"\F10F"}.vjs-icon-cog{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-cog:before{content:"\F110"}.video-js .vjs-mouse-display,.video-js .vjs-play-progress,.video-js .vjs-volume-level,.vjs-icon-circle{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-mouse-display:before,.video-js .vjs-play-progress:before,.video-js .vjs-volume-level:before,.vjs-icon-circle:before{content:"\F111"}.vjs-icon-circle-outline{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-circle-outline:before{content:"\F112"}.vjs-icon-circle-inner-circle{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-circle-inner-circle:before{content:"\F113"}.vjs-icon-hd{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-hd:before{content:"\F114"}.video-js .vjs-control.vjs-close-button,.vjs-icon-cancel{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-control.vjs-close-button:before,.vjs-icon-cancel:before{content:"\F115"}.vjs-icon-replay{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-replay:before{content:"\F116"}.vjs-icon-facebook{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-facebook:before{content:"\F117"}.vjs-icon-gplus{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-gplus:before{content:"\F118"}.vjs-icon-linkedin{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-linkedin:before{content:"\F119"}.vjs-icon-twitter{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-twitter:before{content:"\F11A"}.vjs-icon-tumblr{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-tumblr:before{content:"\F11B"}.vjs-icon-pinterest{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-pinterest:before{content:"\F11C"}.video-js .vjs-descriptions-button,.vjs-icon-audio-description{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-descriptions-button:before,.vjs-icon-audio-description:before{content:"\F11D"}.video-js .vjs-audio-button,.vjs-icon-audio{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-audio-button:before,.vjs-icon-audio:before{content:"\F11E"}.video-js{display:block;vertical-align:top;box-sizing:border-box;color:#fff;background-color:#000;position:relative;padding:0;font-size:10px;line-height:1;font-weight:400;font-style:normal;font-family:Arial,Helvetica,sans-serif;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.video-js:-moz-full-screen{position:absolute}.video-js:-webkit-full-screen{width:100%!important;height:100%!important}.video-js *,.video-js :after,.video-js :before{box-sizing:inherit}.video-js ul{font-family:inherit;font-size:inherit;line-height:inherit;list-style-position:outside;margin:0}.video-js.vjs-4-3,.video-js.vjs-16-9,.video-js.vjs-fluid{width:100%;max-width:100%;height:0}.video-js.vjs-16-9{padding-top:56.25%}.video-js.vjs-4-3{padding-top:75%}.video-js.vjs-fill,.video-js .vjs-tech{width:100%;height:100%}.video-js .vjs-tech{position:absolute;top:0;left:0}body.vjs-full-window{padding:0;margin:0;height:100%;overflow-y:auto}.vjs-full-window .video-js.vjs-fullscreen{position:fixed;overflow:hidden;z-index:1000;left:0;top:0;bottom:0;right:0}.video-js.vjs-fullscreen{width:100%!important;height:100%!important;padding-top:0!important}.video-js.vjs-fullscreen.vjs-user-inactive{cursor:none}.vjs-hidden{display:none!important}.vjs-disabled{opacity:.5;cursor:default}.video-js .vjs-offscreen{height:1px;left:-9999px;position:absolute;top:0;width:1px}.vjs-lock-showing{display:block!important;opacity:1;visibility:visible}.vjs-no-js{padding:20px;color:#fff;background-color:#000;font-size:18px;font-family:Arial,Helvetica,sans-serif;text-align:center;width:300px;height:150px;margin:0 auto}.vjs-no-js a,.vjs-no-js a:visited{color:#66a8cc}.video-js .vjs-big-play-button{font-size:3em;line-height:1.5em;height:1.5em;width:3em;display:block;position:absolute;top:10px;left:10px;padding:0;cursor:pointer;opacity:1;border:.06666em solid #fff;background-color:#2b333f;background-color:rgba(43,51,63,.7);border-radius:.3em;transition:all .4s}.vjs-big-play-centered .vjs-big-play-button{top:50%;left:50%;margin-top:-.75em;margin-left:-1.5em}.video-js .vjs-big-play-button:focus,.video-js:hover .vjs-big-play-button{outline:0;border-color:#fff;background-color:#73859f;background-color:rgba(115,133,159,.5);transition:all 0s}.vjs-controls-disabled .vjs-big-play-button,.vjs-error .vjs-big-play-button,.vjs-has-started .vjs-big-play-button,.vjs-using-native-controls .vjs-big-play-button{display:none}.video-js button{background:none;border:none;color:inherit;display:inline-block;overflow:visible;font-size:inherit;line-height:inherit;text-transform:none;text-decoration:none;transition:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.video-js .vjs-control.vjs-close-button{cursor:pointer;height:3em;position:absolute;right:0;top:.5em;z-index:2}.vjs-menu-button{cursor:pointer}.vjs-menu-button.vjs-disabled{cursor:default}.vjs-workinghover .vjs-menu-button.vjs-disabled:hover .vjs-menu{display:none}.vjs-menu .vjs-menu-content{display:block;padding:0;margin:0;overflow:auto}.vjs-scrubbing .vjs-menu-button:hover .vjs-menu{display:none}.vjs-menu li{list-style:none;margin:0;padding:.2em 0;line-height:1.4em;font-size:1.2em;text-align:center;text-transform:lowercase}.vjs-menu li:focus,.vjs-menu li:hover{outline:0;background-color:#73859f;background-color:rgba(115,133,159,.5)}.vjs-menu li.vjs-selected,.vjs-menu li.vjs-selected:focus,.vjs-menu li.vjs-selected:hover{background-color:#fff;color:#2b333f}.vjs-menu li.vjs-menu-title{text-align:center;text-transform:uppercase;font-size:1em;line-height:2em;padding:0;margin:0 0 .3em;font-weight:700;cursor:default}.vjs-menu-button-popup .vjs-menu{display:none;position:absolute;bottom:0;width:10em;left:-3em;height:0;margin-bottom:1.5em;border-top-color:rgba(43,51,63,.7)}.vjs-menu-button-popup .vjs-menu .vjs-menu-content{background-color:#2b333f;background-color:rgba(43,51,63,.7);position:absolute;width:100%;bottom:1.5em;max-height:15em}.vjs-menu-button-popup .vjs-menu.vjs-lock-showing,.vjs-workinghover .vjs-menu-button-popup:hover .vjs-menu{display:block}.video-js .vjs-menu-button-inline{transition:all .4s;overflow:hidden}.video-js .vjs-menu-button-inline:before{width:2.222222222em}.video-js .vjs-menu-button-inline.vjs-slider-active,.video-js .vjs-menu-button-inline:focus,.video-js .vjs-menu-button-inline:hover,.video-js.vjs-no-flex .vjs-menu-button-inline{width:12em}.video-js .vjs-menu-button-inline.vjs-slider-active{transition:none}.vjs-menu-button-inline .vjs-menu{opacity:0;height:100%;width:auto;position:absolute;left:4em;top:0;padding:0;margin:0;transition:all .4s}.vjs-menu-button-inline.vjs-slider-active .vjs-menu,.vjs-menu-button-inline:focus .vjs-menu,.vjs-menu-button-inline:hover .vjs-menu{display:block;opacity:1}.vjs-no-flex .vjs-menu-button-inline .vjs-menu{display:block;opacity:1;position:relative;width:auto}.vjs-no-flex .vjs-menu-button-inline.vjs-slider-active .vjs-menu,.vjs-no-flex .vjs-menu-button-inline:focus .vjs-menu,.vjs-no-flex .vjs-menu-button-inline:hover .vjs-menu{width:auto}.vjs-menu-button-inline .vjs-menu-content{width:auto;height:100%;margin:0;overflow:hidden}.video-js .vjs-control-bar{display:none;width:100%;position:absolute;bottom:0;left:0;right:0;height:3em;background-color:#2b333f;background-color:rgba(43,51,63,.7)}.vjs-has-started .vjs-control-bar{display:-webkit-box;display:-ms-flexbox;display:flex;visibility:visible;opacity:1;transition:visibility .1s,opacity .1s}.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar{visibility:visible;opacity:0;transition:visibility 1s,opacity 1s}@media \0screen{.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar{visibility:hidden}}.vjs-controls-disabled .vjs-control-bar,.vjs-error .vjs-control-bar,.vjs-using-native-controls .vjs-control-bar{display:none!important}.vjs-audio.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar{opacity:1;visibility:visible}@media \0screen{.vjs-user-inactive.vjs-playing .vjs-control-bar :before{content:""}}.vjs-has-started.vjs-no-flex .vjs-control-bar{display:table}.video-js .vjs-control{outline:none;position:relative;text-align:center;margin:0;padding:0;height:100%;width:4em;-webkit-box-flex:none;-ms-flex:none;flex:none}.video-js .vjs-control:before{font-size:1.8em;line-height:1.67}.video-js .vjs-control:focus,.video-js .vjs-control:focus:before,.video-js .vjs-control:hover:before{text-shadow:0 0 1em #fff}.video-js .vjs-control-text{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.vjs-no-flex .vjs-control{display:table-cell;vertical-align:middle}.video-js .vjs-custom-control-spacer{display:none}.video-js .vjs-progress-control{-webkit-box-flex:auto;-ms-flex:auto;flex:auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;min-width:4em}.vjs-live .vjs-progress-control{display:none}.video-js .vjs-progress-holder{-webkit-box-flex:auto;-ms-flex:auto;flex:auto;transition:all .2s;height:.3em}.video-js .vjs-progress-control:hover .vjs-progress-holder{font-size:1.6666666666666667em}.video-js .vjs-progress-control:hover .vjs-mouse-display:after,.video-js .vjs-progress-control:hover .vjs-play-progress:after,.video-js .vjs-progress-control:hover .vjs-time-tooltip{font-family:Arial,Helvetica,sans-serif;visibility:visible;font-size:.6em}.video-js .vjs-progress-holder .vjs-load-progress,.video-js .vjs-progress-holder .vjs-load-progress div,.video-js .vjs-progress-holder .vjs-play-progress,.video-js .vjs-progress-holder .vjs-tooltip-progress-bar{position:absolute;display:block;height:.3em;margin:0;padding:0;width:0;left:0;top:0}.video-js .vjs-mouse-display:before{display:none}.video-js .vjs-play-progress{background-color:#fff}.video-js .vjs-play-progress:before{position:absolute;top:-.333333333333333em;right:-.5em;font-size:.9em}.video-js .vjs-mouse-display:after,.video-js .vjs-play-progress:after,.video-js .vjs-time-tooltip{visibility:hidden;pointer-events:none;position:absolute;top:-3.4em;right:-1.9em;font-size:.9em;color:#000;content:attr(data-current-time);padding:6px 8px 8px;background-color:#fff;background-color:hsla(0,0%,100%,.8);border-radius:.3em}.video-js .vjs-play-progress:after,.video-js .vjs-play-progress:before,.video-js .vjs-time-tooltip{z-index:1}.video-js .vjs-progress-control .vjs-keep-tooltips-inside:after{display:none}.video-js .vjs-load-progress{background:#bfc7d3;background:rgba(115,133,159,.5)}.video-js .vjs-load-progress div{background:#fff;background:rgba(115,133,159,.75)}.video-js.vjs-no-flex .vjs-progress-control{width:auto}.video-js .vjs-time-tooltip{display:inline-block;height:2.4em;position:relative;float:right;right:-1.9em}.vjs-tooltip-progress-bar{visibility:hidden}.video-js .vjs-progress-control .vjs-mouse-display{display:none;position:absolute;width:1px;height:100%;background-color:#000;z-index:1}.vjs-no-flex .vjs-progress-control .vjs-mouse-display{z-index:0}.video-js .vjs-progress-control:hover .vjs-mouse-display{display:block}.video-js.vjs-user-inactive .vjs-progress-control .vjs-mouse-display,.video-js.vjs-user-inactive .vjs-progress-control .vjs-mouse-display:after{visibility:hidden;opacity:0;transition:visibility 1s,opacity 1s}.video-js.vjs-user-inactive.vjs-no-flex .vjs-progress-control .vjs-mouse-display,.video-js.vjs-user-inactive.vjs-no-flex .vjs-progress-control .vjs-mouse-display:after{display:none}.video-js .vjs-progress-control .vjs-mouse-display:after,.vjs-mouse-display .vjs-time-tooltip{color:#fff;background-color:#000;background-color:rgba(0,0,0,.8)}.video-js .vjs-slider{outline:0;position:relative;cursor:pointer;padding:0;margin:0 .45em;background-color:#73859f;background-color:rgba(115,133,159,.5)}.video-js .vjs-slider:focus{text-shadow:0 0 1em #fff;box-shadow:0 0 1em #fff}.video-js .vjs-mute-control,.video-js .vjs-volume-menu-button{cursor:pointer;-webkit-box-flex:none;-ms-flex:none;flex:none}.video-js .vjs-volume-control{width:5em;-webkit-box-flex:none;-ms-flex:none;flex:none;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.video-js .vjs-volume-bar{margin:1.35em .45em}.vjs-volume-bar.vjs-slider-horizontal{width:5em;height:.3em}.vjs-volume-bar.vjs-slider-vertical{width:.3em;height:5em;margin:1.35em auto}.video-js .vjs-volume-level{position:absolute;bottom:0;left:0;background-color:#fff}.video-js .vjs-volume-level:before{position:absolute;font-size:.9em}.vjs-slider-vertical .vjs-volume-level{width:.3em}.vjs-slider-vertical .vjs-volume-level:before{top:-.5em;left:-.3em}.vjs-slider-horizontal .vjs-volume-level{height:.3em}.vjs-slider-horizontal .vjs-volume-level:before{top:-.3em;right:-.5em}.vjs-volume-bar.vjs-slider-vertical .vjs-volume-level{height:100%}.vjs-volume-bar.vjs-slider-horizontal .vjs-volume-level{width:100%}.vjs-menu-button-popup.vjs-volume-menu-button .vjs-menu{display:block;width:0;height:0;border-top-color:transparent}.vjs-menu-button-popup.vjs-volume-menu-button-vertical .vjs-menu{left:.5em;height:8em}.vjs-menu-button-popup.vjs-volume-menu-button-horizontal .vjs-menu{left:-2em}.vjs-menu-button-popup.vjs-volume-menu-button .vjs-menu-content{height:0;width:0;overflow-x:hidden;overflow-y:hidden}.vjs-volume-menu-button-vertical .vjs-lock-showing .vjs-menu-content,.vjs-volume-menu-button-vertical.vjs-slider-active .vjs-menu-content,.vjs-volume-menu-button-vertical:focus .vjs-menu-content,.vjs-volume-menu-button-vertical:hover .vjs-menu-content{height:8em;width:2.9em}.vjs-volume-menu-button-horizontal .vjs-lock-showing .vjs-menu-content,.vjs-volume-menu-button-horizontal .vjs-slider-active .vjs-menu-content,.vjs-volume-menu-button-horizontal:focus .vjs-menu-content,.vjs-volume-menu-button-horizontal:hover .vjs-menu-content{height:2.9em;width:8em}.vjs-volume-menu-button.vjs-menu-button-inline .vjs-menu-content{background-color:transparent!important}.vjs-poster{display:inline-block;background-repeat:no-repeat;background-position:50% 50%;background-size:contain;background-color:#000;cursor:pointer;margin:0;position:absolute;top:0;right:0;bottom:0;left:0;height:100%}.vjs-poster,.vjs-poster img{vertical-align:middle;padding:0}.vjs-poster img{display:block;margin:0 auto;max-height:100%;width:100%}.vjs-has-started .vjs-poster{display:none}.vjs-audio.vjs-has-started .vjs-poster{display:block}.vjs-controls-disabled .vjs-poster,.vjs-using-native-controls .vjs-poster{display:none}.video-js .vjs-live-control{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;-webkit-box-flex:auto;-ms-flex:auto;flex:auto;font-size:1em;line-height:3em}.vjs-no-flex .vjs-live-control{display:table-cell;width:auto;text-align:left}.video-js .vjs-time-control{-webkit-box-flex:none;-ms-flex:none;flex:none;font-size:1em;line-height:3em;min-width:2em;width:auto;padding-left:1em;padding-right:1em}.video-js .vjs-current-time,.video-js .vjs-duration,.vjs-live .vjs-time-control,.vjs-no-flex .vjs-current-time,.vjs-no-flex .vjs-duration{display:none}.vjs-time-divider{display:none;line-height:3em}.vjs-live .vjs-time-divider{display:none}.video-js .vjs-play-control{cursor:pointer;-webkit-box-flex:none;-ms-flex:none;flex:none}.vjs-text-track-display{position:absolute;bottom:3em;left:0;right:0;top:0;pointer-events:none}.video-js.vjs-user-inactive.vjs-playing .vjs-text-track-display{bottom:1em}.video-js .vjs-text-track{font-size:1.4em;text-align:center;margin-bottom:.1em;background-color:#000;background-color:rgba(0,0,0,.5)}.vjs-subtitles{color:#fff}.vjs-captions{color:#fc6}.vjs-tt-cue{display:block}video::-webkit-media-text-track-display{-webkit-transform:translateY(-3em);transform:translateY(-3em)}.video-js.vjs-user-inactive.vjs-playing video::-webkit-media-text-track-display{-webkit-transform:translateY(-1.5em);transform:translateY(-1.5em)}.video-js .vjs-fullscreen-control{cursor:pointer;-webkit-box-flex:none;-ms-flex:none;flex:none}.vjs-playback-rate .vjs-playback-rate-value{font-size:1.5em;line-height:2;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center}.vjs-playback-rate .vjs-menu{width:4em;left:0}.vjs-error .vjs-error-display .vjs-modal-dialog-content{font-size:1.4em;text-align:center}.vjs-error .vjs-error-display:before{color:#fff;content:"X";font-family:Arial,Helvetica,sans-serif;font-size:4em;left:0;line-height:1;margin-top:-.5em;position:absolute;text-shadow:.05em .05em .1em #000;text-align:center;top:50%;vertical-align:middle;width:100%}.vjs-loading-spinner{display:none;position:absolute;top:50%;left:50%;margin:-25px 0 0 -25px;opacity:.85;text-align:left;border:6px solid rgba(43,51,63,.7);box-sizing:border-box;background-clip:padding-box;width:50px;height:50px;border-radius:25px}.vjs-seeking .vjs-loading-spinner,.vjs-waiting .vjs-loading-spinner{display:block}.vjs-loading-spinner:after,.vjs-loading-spinner:before{content:"";position:absolute;margin:-6px;box-sizing:inherit;width:inherit;height:inherit;border-radius:inherit;opacity:1;border:inherit;border-color:transparent;border-top-color:#fff}.vjs-seeking .vjs-loading-spinner:after,.vjs-seeking .vjs-loading-spinner:before,.vjs-waiting .vjs-loading-spinner:after,.vjs-waiting .vjs-loading-spinner:before{-webkit-animation:vjs-spinner-spin 1.1s cubic-bezier(.6,.2,0,.8) infinite,vjs-spinner-fade 1.1s linear infinite;animation:vjs-spinner-spin 1.1s cubic-bezier(.6,.2,0,.8) infinite,vjs-spinner-fade 1.1s linear infinite}.vjs-seeking .vjs-loading-spinner:before,.vjs-waiting .vjs-loading-spinner:before{border-top-color:#fff}.vjs-seeking .vjs-loading-spinner:after,.vjs-waiting .vjs-loading-spinner:after{border-top-color:#fff;-webkit-animation-delay:.44s;animation-delay:.44s}@keyframes vjs-spinner-spin{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes vjs-spinner-spin{to{-webkit-transform:rotate(1turn)}}@keyframes vjs-spinner-fade{0%{border-top-color:#73859f}20%{border-top-color:#73859f}35%{border-top-color:#fff}60%{border-top-color:#73859f}to{border-top-color:#73859f}}@-webkit-keyframes vjs-spinner-fade{0%{border-top-color:#73859f}20%{border-top-color:#73859f}35%{border-top-color:#fff}60%{border-top-color:#73859f}to{border-top-color:#73859f}}.vjs-chapters-button .vjs-menu ul{width:24em}.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-custom-control-spacer{-webkit-box-flex:auto;-ms-flex:auto;flex:auto}.video-js.vjs-layout-tiny:not(.vjs-fullscreen).vjs-no-flex .vjs-custom-control-spacer{width:auto}.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-captions-button,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-chapters-button,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-current-time,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-duration,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-mute-control,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-playback-rate,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-remaining-time,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-subtitles-button,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-time-divider,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-volume-control,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-captions-button,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-chapters-button,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-current-time,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-duration,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-mute-control,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-playback-rate,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-progress-control,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-remaining-time,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-subtitles-button,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-time-divider,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-volume-control,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-volume-menu-button,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-captions-button,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-chapters-button,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-current-time,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-duration,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-mute-control,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-playback-rate,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-remaining-time,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-subtitles-button,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-time-divider,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-volume-control,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-volume-menu-button{display:none}.vjs-caption-settings{position:relative;top:1em;background-color:#2b333f;background-color:rgba(43,51,63,.75);color:#fff;margin:0 auto;padding:.5em;height:15em;font-size:12px;width:40em}.vjs-caption-settings .vjs-tracksettings{top:0;bottom:2em;left:0;right:0;position:absolute;overflow:auto}.vjs-caption-settings .vjs-tracksettings-colors,.vjs-caption-settings .vjs-tracksettings-font{float:left}.vjs-caption-settings .vjs-tracksettings-colors:after,.vjs-caption-settings .vjs-tracksettings-controls:after,.vjs-caption-settings .vjs-tracksettings-font:after{clear:both}.vjs-caption-settings .vjs-tracksettings-controls{position:absolute;bottom:1em;right:1em}.vjs-caption-settings .vjs-tracksetting{margin:5px;padding:3px;min-height:40px}.vjs-caption-settings .vjs-tracksetting label{display:block;width:100px;margin-bottom:5px}.vjs-caption-settings .vjs-tracksetting span{display:inline;margin-left:5px}.vjs-caption-settings .vjs-tracksetting>div{margin-bottom:5px;min-height:20px}.vjs-caption-settings .vjs-tracksetting>div:last-child{margin-bottom:0;padding-bottom:0;min-height:0}.vjs-caption-settings label>input{margin-right:10px}.vjs-caption-settings input[type=button]{width:40px;height:40px}.video-js .vjs-modal-dialog{background:rgba(0,0,0,.8);background:linear-gradient(180deg,rgba(0,0,0,.8),hsla(0,0%,100%,0))}.vjs-modal-dialog .vjs-modal-dialog-content{font-size:1.2em;line-height:1.5;padding:20px 24px;z-index:1}.vjs-skin-colors-clix{color:#fff}.vjs-skin-colors-clix .vjs-control-bar{background-color:#7d085e}.vjs-skin-colors-clix .vjs-big-play-button,.vjs-skin-colors-clix .vjs-menu-content{background-color:rgba(125,8,94,.7)}.vjs-skin-colors-clix .vjs-load-progress,.vjs-skin-colors-clix .vjs-play-progress,.vjs-skin-colors-clix .vjs-slider,.vjs-skin-colors-clix .vjs-volume-level{background-color:#e6007e}.vjs-skin-colors-clix .vjs-big-play-button,.vjs-skin-colors-clix .vjs-big-play-button:focus,.vjs-skin-colors-clix:hover .vjs-big-play-button{border-color:#c90d97}.vjs-skin-colors-clix:hover .vjs-big-play-button{background:radial-gradient(#a71680,#7d085e)}.vjs-skin-colors-clix .vjs-menu-button ul li{background-color:rgba(125,8,94,.3);color:#fff;font-family:open_sansregular,Arial,sans-serif}.vjs-skin-colors-clix .vjs-menu-button ul li.vjs-selected{background:radial-gradient(#a71680,#7d085e);color:#fff}.vjs-skin-colors-clix .vjs-menu-button ul li.vjs-selected:focus,.vjs-skin-colors-clix .vjs-menu-button ul li.vjs-selected:hover,.vjs-skin-colors-clix .vjs-menu-button ul li:focus,.vjs-skin-colors-clix .vjs-menu-button ul li:hover{background:radial-gradient(#e6007e,#b30062)}.vjs-skin-colors-clix .vjs-menu-button ul li.vjs-selected:active,.vjs-skin-colors-clix .vjs-menu-button ul li:active{background:radial-gradient(#c2006b,#750041)}::cue{font-size:1.5em;line-height:1.8}:root{--white:#ececec;--berry:#a61680;--french-blue:#4671a6;--white-three:#fff;--cool-blue:#5387c6;--blueberry:#573d8f;--dark-hot-pink:#e5007e;--white-two:#ddd;--greyish-brown:#4a4a4a;--warm-grey:#777;--white-four:#f7f6f6}.toggle-me{display:block;height:30px;margin:0;padding:6px 16px 2px;background:radial-gradient(#573d8f,#412e6b);border-radius:0 0 5px 5px;color:#fff;cursor:pointer;font-size:1.2rem;text-transform:uppercase;width:145px}.toggle-me:hover{background-color:#666;background:radial-gradient(#412e6b,#2c1f47)}.toggle-me:active{background:radial-gradient(#f37f2f,#f54b32)}#toggler{display:none}#toggler~.transcript{height:0;padding:0 0 10px;border-bottom:2px solid #ddd;opacity:0;overflow-y:scroll;transition:all 1s ease-in-out}#toggler:checked~.transcript{height:250px;opacity:1}.transcript p{font-size:.875em;line-height:1.4}.arrow-toggle{BACKGROUND:red;color:#fff;fill:currentColor;-webkit-transform:rotate(0deg);transform:rotate(0deg);transition:-webkit-transform 1s;transition:transform 1s;transition:transform 1s,-webkit-transform 1s}#toggler:checked~.arrow-toggle{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.vidbak{background-color:#efefef;border-bottom:3px solid #fff}.video-js{margin:.5rem auto 0}figure{margin:0;position:relative;overflow:hidden;text-align:center;background:#e5007e}figure img{max-width:100%;display:block;position:relative;-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:opacity 1s,-webkit-transform .4s;transition:opacity 1s,transform .4s;transition:opacity 1s,transform .4s,-webkit-transform .4s}figcaption{left:0;border-radius:2px;background:#e6007e;height:6px;opacity:0;-webkit-transform:translateY(100%);transform:translateY(100%);transition:opacity .3s .3s,-webkit-transform .4s;transition:transform .4s,opacity .3s .3s;transition:transform .4s,opacity .3s .3s,-webkit-transform .4s}figcaption,figcaption h5{position:absolute;bottom:0;display:inline-block;color:#fff;width:100%}figcaption h5{text-align:center;padding:7px;background:#b30062;right:0}figure:hover img{opacity:1;-webkit-transform:scale3d(1.1,1.1,1);transform:scale3d(1.1,1.1,1)}figure:hover figcaption{opacity:1;-webkit-transform:translateY(0);transform:translateY(0);transition:opacity .1s,-webkit-transform .4s;transition:transform .4s,opacity .1s;transition:transform .4s,opacity .1s,-webkit-transform .4s}#zoom01 button{margin:10px 0;padding:10px;background:radial-gradient(#573d8f,#412e6b);border:none;border-radius:5px;color:#fff;cursor:pointer;font-size:.75rem;text-transform:uppercase}#zoom01 button:hover{background-color:#666;background:radial-gradient(#412e6b,#2c1f47)}#zoom01 button:active{background:radial-gradient(#f37f2f,#f54b32)}.footer{background-color:#ccc;text-align:center}.footer p{margin:0 auto;padding:0;max-width:335px}body{padding:0;margin:0}a{color:#ffab40;text-decoration:none}a:hover{text-decoration:underline}.auth-button{width:345px;height:70px;margin:20px auto;display:block}.example-button-icon{height:60px}.sign-up-button{margin-top:20px}
\ No newline at end of file
diff -ruN oac/styles.html oac-new/styles.html
--- oac/styles.html	2017-05-06 16:57:16.000000000 +0530
+++ oac-new/styles.html	2017-05-24 14:49:59.000000000 +0530
@@ -1,4 +1,4 @@
-<!doctype html><html class="no-js" lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><title>Open Assessments</title><meta name="description" content="Open Assessments"><meta name="viewport" content="width=device-width,initial-scale=1"><script type="text/javascript">function getCookie(e){for(var s=e+"=",n=document.cookie.split(";"),t=0;t<n.length;t++){for(var a=n[t];" "==a.charAt(0);)a=a.substring(1);if(0==a.indexOf(s))return a.substring(s.length,a.length)}return""}window.DEFAULT_SETTINGS={user_id:0,max_attempts:1,eid:getCookie("user_id"),api_url:"https://103.36.84.159:8080/api/v1",bank:"assessment.Bank%3A577fcf7cc89cd90cbd5616fa%40ODL.MIT.EDU",assessment_offered_id:"assessment.AssessmentOffered%3A58824256c89cd9741bab8942%40ODL.MIT.EDU",lambda_url:"https://103.36.84.159:8080/api/v1/assessment/hierarchies/nodes/assessment.Bank%3A57e26c90b3fcec4c84a63f25%40ODL.MIT.EDU/children?descendants=6&display_names",assessment_kind:"SUMMATIVE",qBankHost:"https://103.36.84.159:8080/api/v1",assessmentPlayerUrl:"https://103.36.84.159/oac/",editableBankId:"assessment.Bank%3A588f924191d0d930f5a56c2a%40ODL.MIT.EDU",publishedBankId:"assessment.Bank%3A588f923591d0d930f5a56c29%40ODL.MIT.ED",baseEmbedUrl:"https://103.36.84.159/oac/?unlock_next=ON_CORRECT&api_url=https://103.36.84.159:8080/api/v1",one_item_per_page:"assessment-offered-genus-type%3Asingle-item%40ODL.MIT.EDU",single_page:"assessment-offered-genus-type%3Asingle-page%40ODL.MIT.EDU",questions_per_section:1,questions_per_page:1,unlock_next:"ON_CORRECT",locale:"en",audio_recorder_timeout:100},window.DEFAULT_JWT=null</script><script type="text/x-mathjax-config">MathJax.Hub.Config({
+<!doctype html><html class="no-js" lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><title>Open Assessments</title><meta name="description" content="Open Assessments"><meta name="viewport" content="width=device-width,initial-scale=1"><script type="text/javascript">function getCookie(e){for(var s=e+"=",n=document.cookie.split(";"),t=0;t<n.length;t++){for(var a=n[t];" "==a.charAt(0);)a=a.substring(1);if(0==a.indexOf(s))return a.substring(s.length,a.length)}return""}window.DEFAULT_SETTINGS={user_id:0,max_attempts:1,eid:getCookie("user_id"),api_url:"https://clixserver:8080/api/v1",bank:"assessment.Bank%3A577fcf7cc89cd90cbd5616fa%40ODL.MIT.EDU",assessment_offered_id:"assessment.AssessmentOffered%3A58824256c89cd9741bab8942%40ODL.MIT.EDU",lambda_url:"https://clixserver:8080/api/v1/assessment/hierarchies/nodes/assessment.Bank%3A57e26c90b3fcec4c84a63f25%40ODL.MIT.EDU/children?descendants=6&display_names",assessment_kind:"SUMMATIVE",qBankHost:"https://clixserver:8080/api/v1",assessmentPlayerUrl:"https://clixserver/oac/",editableBankId:"assessment.Bank%3A588f924191d0d930f5a56c2a%40ODL.MIT.EDU",publishedBankId:"assessment.Bank%3A588f923591d0d930f5a56c29%40ODL.MIT.ED",baseEmbedUrl:"https://clixserver/oac/?unlock_next=ON_CORRECT&api_url=https://clixserver:8080/api/v1",one_item_per_page:"assessment-offered-genus-type%3Asingle-item%40ODL.MIT.EDU",single_page:"assessment-offered-genus-type%3Asingle-page%40ODL.MIT.EDU",questions_per_section:1,questions_per_page:1,unlock_next:"ON_CORRECT",unlock_prev:"ALWAYS",locale:"en",audio_recorder_timeout:100},window.DEFAULT_JWT=null</script><script type="text/x-mathjax-config">MathJax.Hub.Config({
     extensions: ["tex2jax.js"],
     jax: ["input/TeX", "output/HTML-CSS"],
     tex2jax: {
@@ -7,4 +7,4 @@
       processEscapes: true
     },
     "HTML-CSS": { availableFonts: ["TeX"] }
-  });</script><script src="MathJax/MathJax.js?config=TeX-MML-AM_HTMLorMML.js"></script><link rel="stylesheet" href="/oac/player_styles-23e9c9ebe33b83e235e3.css"></head><body><html><head><link rel="stylesheet" href="/oac/author_styles-7e6281963b740d24f8dd.css"></head><body><header class="au-c-header"><div class="au-c-header-top"><img src="img/CLIx-logo.png" alt="" class="au-c-logo"></div><div class="au-c-header-bottom"><div class="au-c-header-bottom__left"><button class="au-c-btn au-c-btn--sm au-c-btn--outline au-c-btn--back"><i class="material-icons">keyboard_arrow_left</i>Back</button></div><div class="au-c-header-bottom__right"><button class="au-c-btn au-c-btn--sm au-c-btn--green"><i class="material-icons">cloud_upload</i>Publish</button> <button class="au-c-btn au-c-btn--sm au-c-btn--maroon au-u-ml-md"><i class="material-icons">remove_red_eye</i>Preview Assessment</button></div></div></header><div class="au-o-contain"><div class="au-o-item"><div class="au-o-item__top au-c-assessment-top"><div class="au-o-left"><div class="au-c-dropdown au-c-dropdown--small"><label for="language1"></label><select name="" id="language1"><option value="">English</option><option value="">French</option><option value="">Spanish</option></select></div></div><div class="au-o-right"><div class="au-c-checkbox"><input type="checkbox" id="check01" name="check"><label for="check01">Single page assessment</label></div></div></div><div class="au-c-assessment-title"><div class="au-c-input"><label for=""></label><div class="au-c-input__contain"><h1><input class="au-c-text-input au-c-text-input--large" type="text" placeholder="Untitled Assessment"></h1><div class="au-c-input__bottom"></div></div></div></div></div><div class="au-o-item au-c-question is-active" aria-labeledby="landmark"><div class="au-o-item__top"><div class="au-o-left"><h2 class="au-c-question__number">1</h2><div class="au-c-question__type">Multiple Choice</div></div><div class="au-o-right au-c-question-icons"><button class="au-c-btn au-c-btn--square"><i class="material-icons">remove_red_eye</i></button> <button class="au-c-btn au-c-btn--square"><i class="material-icons">swap_vert</i></button> <button class="au-c-btn au-c-btn--square"><i class="material-icons">delete</i></button></div></div><div class="au-c-question-settings"><div class="au-o-left"><div class="au-c-input au-c-input-label--left"><label for="">Name</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller" type="text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-dropdown au-c-dropdown--small au-u-ml-md"><label for=""></label><select name="" id=""><option value="">English</option><option value="">French</option><option value="">Spanish</option></select></div></div><div class="au-o-right"><div class="au-c-checkbox au-u-ml-md"><input type="checkbox" id="check02" name="check"><label for="check02">Maintain choice order</label></div><div class="au-c-checkbox au-u-ml-md"><input type="checkbox" id="check03" name="check"><label for="check03">Multiple answer</label></div><div class="au-c-checkbox au-u-ml-md"><input type="checkbox" id="check04" name="check"><label for="check04">Reflection</label></div></div></div><div class="au-c-question__content"><div class="au-c-input au-c-question-text"><label for=""></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--medium au-c-wysiwyg" type="text" placeholder="Question Text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-question__answers au-c-question__answers--maintain"><div class="au-c-answer is-active"><div class="au-c-input"><div class="au-c-radio"><input type="radio" id="radio" name="radio"><label for="radio"></label></div><label for="option1"></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--small au-c-wysiwyg" id="option1" type="text" placeholder="Option 1"><div class="au-c-input__bottom"></div></div><div class="au-c-answer__icons"><button class="au-c-answer__icons__spacer"><i class="material-icons">arrow_upward</i></button><button class="au-c-answer__icons__spacer"><i class="material-icons">arrow_downward</i></button><button class="au-c-answer__icons__spacer"><i class="material-icons">close</i></button></div></div><div class="au-c-input au-c-input-label--left au-c-feedback"><label for="feedback1">Feedback</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller au-c-wysiwyg" id="feedback1" type="text"><div class="au-c-input__bottom"></div></div></div></div><div class="au-c-answer"><div class="au-c-input"><div class="au-c-radio"><input type="radio" id="radio1" name="radio"><label for="radio1"></label></div><label for="option2"></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--small au-c-wysiwyg au-c-option" id="option2" type="text" placeholder="Option 2"><div class="au-c-input__bottom no-border"></div></div><div class="au-c-answer__icons"><button class="au-c-answer__icons__spacer"><i class="material-icons">arrow_upward</i></button><button class="au-c-answer__icons__spacer"><i class="material-icons">arrow_downward</i></button><button class="au-c-answer__icons__spacer"><i class="material-icons">close</i></button></div></div><div class="au-c-input au-c-input-label--left au-c-feedback"><label for="feedback2">Feedback</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller au-c-wysiwyg" id="feedback2" type="text"><div class="au-c-input__bottom"></div></div></div></div><div class="au-c-answer au-c-answer--add"><div class="au-c-input"><div class="au-c-radio"><input type="radio" id="radio1" name="radio"><label for="radio1"></label></div><label for="option2"></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--small au-c-wysiwyg au-c-option" id="option2" type="text" value="Add Option"><div class="au-c-input__bottom no-border"></div></div></div></div></div><div class="au-c-question__feedback"><div class="au-c-input au-c-input-label--left au-c-feedback"><label for="feedbackCorrect">Correct Feedback</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller au-c-wysiwyg" id="feedbackCorrect" type="text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-input au-c-input-label--left au-c-feedback au-u-mt-sm"><label for="feedbackIncorrect">Incorrect Feedback</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller au-c-wysiwyg" id="feedbackIncorrect" type="text"><div class="au-c-input__bottom"></div></div></div></div></div></div><div class="au-o-item au-c-question reorder-active"><div class="au-o-item__top"><div class="au-o-left"><h2 class="au-c-question__number">1</h2><div class="au-c-question__type">Multiple Choice</div></div><div class="au-o-right au-c-question-icons au-c-question-icons--reorder"><button class="au-c-btn au-c-btn--square"><i class="material-icons">arrow_upward</i></button> <button class="au-c-btn au-c-btn--square"><i class="material-icons">arrow_downward</i></button> <button class="au-c-btn au-c-btn--sm au-c-btn--white">Done</button></div></div><div class="au-c-question-settings"><div class="au-o-left"><div class="au-c-input au-c-input-label--left"><label for="">Name</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller" type="text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-dropdown au-c-dropdown--small au-u-ml-md"><label for=""></label><select name="" id=""><option value="">English</option><option value="">French</option><option value="">Spanish</option></select></div></div><div class="au-o-right"><div class="au-c-checkbox au-u-ml-md"><input type="checkbox" id="check02" name="check"><label for="check02">Maintain choice order</label></div><div class="au-c-checkbox au-u-ml-md"><input type="checkbox" id="check03" name="check"><label for="check03">Multiple answer</label></div><div class="au-c-checkbox au-u-ml-md"><input type="checkbox" id="check04" name="check"><label for="check04">Reflection</label></div></div></div><div class="au-c-question__content"><div class="au-c-input au-c-question__text"><label for="question2"></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--medium au-c-wysiwyg" id="question2" type="text" placeholder="Question Text"><div class="au-c-input__bottom no-border"></div></div></div><div class="au-c-question__answers au-c-question__answers--maintain"><div class="au-c-answer"><div class="au-c-input"><div class="au-c-checkbox"><input type="checkbox" id="checkbox" name="checkbox"><label for="checkbox"></label></div><label for="option1"></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--small au-c-wysiwyg" id="option1" type="text" placeholder="Option 1"><div class="au-c-input__bottom no-border"></div></div><div class="au-c-answer__icons"><button class="au-c-answer__icons__spacer"><i class="material-icons">arrow_upward</i></button><button class="au-c-answer__icons__spacer"><i class="material-icons">arrow_downward</i></button><button class="au-c-answer__icons__spacer"><i class="material-icons">close</i></button></div></div><div class="au-c-input au-c-input-label--left au-c-feedback"><label for="feedback1">Feedback</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller au-c-wysiwyg" id="feedback1" type="text"><div class="au-c-input__bottom"></div></div></div></div><div class="au-c-answer"><div class="au-c-input"><div class="au-c-checkbox"><input type="checkbox" id="checkbox1" name="checkbox"><label for="checkbox1"></label></div><label for="option2"></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--small au-c-wysiwyg au-c-option" id="option2" type="text" placeholder="Option 2"><div class="au-c-input__bottom no-border"></div></div><div class="au-c-answer__icons"><button class="au-c-answer__icons__spacer"><i class="material-icons">arrow_upward</i></button><button class="au-c-answer__icons__spacer"><i class="material-icons">arrow_downward</i></button><button class="au-c-answer__icons__spacer"><i class="material-icons">close</i></button></div></div><div class="au-c-input au-c-input-label--left au-c-feedback"><label for="feedback2">Feedback</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller au-c-wysiwyg" id="feedback2" type="text"><div class="au-c-input__bottom"></div></div></div></div><div class="au-c-answer au-c-answer--add"><div class="au-c-input"><div class="au-c-checkbox"><input type="checkbox" id="checkbox1" name="checkbox"><label for="checkbox1"></label></div><label for="option2"></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--small au-c-wysiwyg au-c-option" id="option2" type="text" value="Add Option"><div class="au-c-input__bottom no-border"></div></div></div></div></div><div class="au-c-question__feedback"><div class="au-c-input au-c-input-label--left au-c-feedback"><label for="feedbackCorrect">Correct Feedback</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller au-c-wysiwyg" id="feedbackCorrect" type="text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-input au-c-input-label--left au-c-feedback au-u-mt-sm"><label for="feedbackIncorrect">Incorrect Feedback</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller au-c-wysiwyg" id="feedbackIncorrect" type="text"><div class="au-c-input__bottom"></div></div></div></div></div></div><div class="au-o-item au-c-question is-active"><div class="au-o-item__top"><div class="au-o-left"><h2 class="au-c-question__number">2</h2><div class="au-c-question__type">Short Answer</div></div><div class="au-o-right au-c-question-icons"><button class="au-c-btn au-c-btn--square"><i class="material-icons">remove_red_eye</i></button> <button class="au-c-btn au-c-btn--square"><i class="material-icons">swap_vert</i></button> <button class="au-c-btn au-c-btn--square"><i class="material-icons">delete</i></button></div></div><div class="au-c-question-settings"><div class="au-o-left"><div class="au-c-input au-c-input-label--left"><label for="">Name</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller" type="text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-dropdown au-c-dropdown--small au-u-ml-md"><label for=""></label><select name="" id=""><option value="">English</option><option value="">French</option><option value="">Spanish</option></select></div></div><div class="au-o-right"></div></div><div class="au-c-question__content"><div class="au-c-input au-c-question-text"><label for=""></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--medium au-c-wysiwyg" type="text" placeholder="Question Text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-question__answers au-c-short-answer__answers"><div class="au-c-dropdown au-c-dropdown--medium au-c-input-label--top"><label for="">Answer Box</label><select name="" id=""><option value="">Small</option><option value="">Medium</option><option value="">Large</option></select></div><div class="au-c-short-answer__example is-large"><span>Small Box</span></div></div><div class="au-c-question__feedback"><div class="au-c-input au-c-input-label--left au-c-feedback"><label for="feedbackCorrect">Correct Feedback</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller au-c-wysiwyg" id="feedbackCorrect" type="text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-input au-c-input-label--left au-c-feedback au-u-mt-sm"><label for="feedbackIncorrect">Incorrect Feedback</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller au-c-wysiwyg" id="feedbackIncorrect" type="text"><div class="au-c-input__bottom"></div></div></div></div></div></div><div class="au-o-item au-c-question is-active"><div class="au-o-item__top"><div class="au-o-left"><h2 class="au-c-question__number">3</h2><div class="au-c-question__type">File Upload</div></div><div class="au-o-right au-c-question-icons"><button class="au-c-btn au-c-btn--square"><i class="material-icons">remove_red_eye</i></button> <button class="au-c-btn au-c-btn--square"><i class="material-icons">swap_vert</i></button> <button class="au-c-btn au-c-btn--square"><i class="material-icons">delete</i></button></div></div><div class="au-c-question-settings"><div class="au-o-left"><div class="au-c-input au-c-input-label--left"><label for="">Name</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller" type="text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-dropdown au-c-dropdown--small au-u-ml-md"><label for=""></label><select name="" id=""><option value="">English</option><option value="">French</option><option value="">Spanish</option></select></div></div><div class="au-o-right"></div></div><div class="au-c-question__content"><div class="au-c-input au-c-question-text"><label for=""></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--medium au-c-wysiwyg" type="text" placeholder="Question Text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-question__answers au-o-row" role="radiogroup"><div class="au-c-file-upload__audio-settings is-active"><span>Audio record limit</span><div class="au-c-input au-c-input--inline"><label for="audio-limit"></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller" id="audio-limit" type="text" maxlength="3" value="100"><div class="au-c-input__bottom has-error"></div></div></div><span>seconds. (240 maximum)</span> <span class="au-c-inline-error">Please enter a number under 240</span></div></div><div class="au-c-question__feedback"><div class="au-c-input au-c-input-label--left au-c-feedback au-u-mt-sm"><label for="feedbackIncorrect">Feedback</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller au-c-wysiwyg" id="feedbackIncorrect" type="text"><div class="au-c-input__bottom"></div></div></div></div></div></div><div class="au-o-item au-c-question is-active"><div class="au-o-item__top"><div class="au-o-left"><h2 class="au-c-question__number">3</h2><div class="au-c-question__type">Drag and Drop</div></div><div class="au-o-right au-c-question-icons"><button class="au-c-btn au-c-btn--square"><i class="material-icons">remove_red_eye</i></button> <button class="au-c-btn au-c-btn--square"><i class="material-icons">swap_vert</i></button> <button class="au-c-btn au-c-btn--square"><i class="material-icons">delete</i></button></div></div><div class="au-c-question-settings"><div class="au-o-left"><div class="au-c-input au-c-input-label--left"><label for="">Name</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller" type="text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-dropdown au-c-dropdown--small au-u-ml-md"><label for=""></label><select name="" id=""><option value="">English</option><option value="">French</option><option value="">Spanish</option></select></div></div><div class="au-o-right"></div></div><div class="au-c-question__content"><div class="au-c-input au-c-question-text"><label for=""></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--medium au-c-wysiwyg" type="text" placeholder="Question Text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-drag-and-drop__target-area"><div class="au-o-item__top"><div class="au-o-left"><div class="au-c-question__type">Target Image</div></div><div class="au-o-right"><button class="au-c-btn au-c-btn--sm au-c-btn--gray">Replace Image</button><ul class="au-c-button-dropdown au-u-ml-sm"><li><button class="au-c-btn au-c-btn--sm au-c-btn--dropdown">Add Snap Zone<i class="material-icons">arrow_drop_down</i></button><ul class="au-c-button-dropdown__dropdown is-active"><li><button class="au-c-btn au-c-btn--sm au-c-btn--dropdown-item"><i class="material-icons">open_in_new</i>by region</button></li><li><button class="au-c-btn au-c-btn--sm au-c-btn--dropdown-item"><i class="material-icons">image</i>by image</button></li></ul></li></ul><ul class="au-c-button-dropdown au-u-ml-sm"><li><button class="au-c-btn au-c-btn--sm au-c-btn--dropdown">Add Drop Zone<i class="material-icons">arrow_drop_down</i></button><ul class="au-c-button-dropdown__dropdown"><li><button class="au-c-btn au-c-btn--sm au-c-btn--dropdown-item"><i class="material-icons">open_in_new</i>by region</button></li><li><button class="au-c-btn au-c-btn--sm au-c-btn--dropdown-item"><i class="material-icons">image</i>by image</button></li></ul></li></ul></div></div><div class="au-c-drag-and-drop__target-image"><div class="au-c-drop-zone au-c-zone1 is-active"><div class="au-c-drop-zone__tag">Drop A</div><div class="au-c-drop-zone__tool-tip is-right"><div class="au-c-input au-c-input-label--left au-c-input--white"><label for="">Label</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller" type="text"><div class="au-c-input__bottom"></div></div></div><button class="au-c-btn au-c-btn--square"><i class="material-icons">delete</i></button></div></div><div class="au-c-drop-zone au-c-zone2"><div class="au-c-drop-zone__tag">Snap B</div><div class="au-c-drop-zone__tool-tip is-right"><div class="au-c-input au-c-input-label--left au-c-input--white"><label for="">Label</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller" type="text"><div class="au-c-input__bottom"></div></div></div><button class="au-c-btn au-c-btn--square"><i class="material-icons">delete</i></button></div></div></div></div><div class="au-c-drop-zone__answers__label">Draggable answers</div><div class="au-c-drop-zone__answers au-o-row"><div class="au-o-quarter"><div class="au-c-drop-zone-answer is-active" tabindex="0"><div class="au-c-drop-zone-answer__top"><div class="au-c-dropdown au-c-dropdown--small"><label for=""></label><select name="" id=""><option value="">Drop A</option><option value="">Snap B</option></select></div><button class="au-c-answer--delete"><i class="material-icons">close</i></button></div><div class="au-c-input au-c-input-label--left"><label for="">Label</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller" type="text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-drop-zone-answer__image"><img src="img/CLIx-logo.png" alt=""></div></div></div><div class="au-o-quarter"><div class="au-c-drop-zone-answer" tabindex="0"><div class="au-c-dropdown au-c-dropdown--small"><label for=""></label><select name="" id=""><option value="">Drop A</option><option value="">Snap B</option></select></div><div class="au-c-input au-c-input-label--left"><label for="">Label</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller" type="text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-drop-zone-answer__image"><img src="img/CLIx-logo.png" alt=""></div></div></div><div class="au-o-quarter"><div class="au-c-drop-zone-answer" tabindex="0"><div class="au-c-dropdown au-c-dropdown--small"><label for=""></label><select name="" id=""><option value="">Drop A</option><option value="">Snap B</option></select></div><div class="au-c-input au-c-input-label--left"><label for="">Label</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller" type="text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-drop-zone-answer__image"><img src="img/CLIx-logo.png" alt=""></div></div></div><div class="au-o-quarter"><div class="au-c-drop-zone-answer-add"><button class="au-c-drop-zone-answer-add__button">Add Image</button></div></div></div><div class="au-c-question__feedback"><div class="au-c-input au-c-input-label--left au-c-feedback"><label for="feedbackCorrect">Correct Feedback</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller au-c-wysiwyg" id="feedbackCorrect" type="text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-input au-c-input-label--left au-c-feedback au-u-mt-sm"><label for="feedbackIncorrect">Incorrect Feedback</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller au-c-wysiwyg" id="feedbackIncorrect" type="text"><div class="au-c-input__bottom"></div></div></div></div></div></div><div class="au-o-item au-c-question is-active" aria-labeledby="landmark"><div class="au-o-item__top"><div class="au-o-left"><h2 class="au-c-question__number">4</h2><div class="au-c-question__type">Movable Words Sentence</div></div><div class="au-o-right au-c-question-icons"><button class="au-c-btn au-c-btn--square"><i class="material-icons">remove_red_eye</i></button> <button class="au-c-btn au-c-btn--square"><i class="material-icons">swap_vert</i></button> <button class="au-c-btn au-c-btn--square"><i class="material-icons">delete</i></button></div></div><div class="au-c-question-settings"><div class="au-o-left"><div class="au-c-input au-c-input-label--left"><label for="">Name</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller" type="text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-dropdown au-c-dropdown--small au-u-ml-md"><label for=""></label><select name="" id=""><option value="">English</option><option value="">French</option><option value="">Spanish</option></select></div></div><div class="au-o-right"></div></div><div class="au-c-question__content"><div class="au-c-input au-c-question-text"><label for=""></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--medium au-c-wysiwyg" type="text" placeholder="Question Text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-question__answers au-c-movable__answers"><div class="au-c-answer au-o-flex-center is-active"><div class="au-c-dropdown au-c-dropdown--tiny au-u-mr-sm"><label for=""></label><select name="" id=""><option value="">N/A</option><option value="">1</option><option value="">2</option><option value="">3</option><option value="">4</option><option value="">5</option></select></div><div class="au-c-input"><label for="option1"></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--small au-c-wysiwyg" id="option1" type="text" placeholder="Option 1"><div class="au-c-input__bottom"></div></div></div><div class="au-c-dropdown au-c-dropdown--smaller au-u-ml-sm is-ordered"><label for=""></label><select name="" id=""><option value="">Verb</option><option value="">Adverb</option><option value="">Noun</option><option value="">Pronoun</option><option value="">Adjective</option><option value="">Preposition</option></select></div><button class="au-c-answer--delete"><i class="material-icons">close</i></button></div><div class="au-c-answer au-o-flex-center"><div class="au-c-dropdown au-c-dropdown--tiny au-u-mr-sm is-ordered"><label for=""></label><select name="" id=""><option value="">N/A</option><option value="">1</option><option value="">2</option><option value="">3</option><option value="">4</option><option value="">5</option></select></div><div class="au-c-input"><label for="option2"></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--small au-c-wysiwyg au-c-option" id="option2" type="text" placeholder="Option 2"><div class="au-c-input__bottom no-border"></div></div></div><div class="au-c-dropdown au-c-dropdown--smaller au-u-ml-sm is-ordered"><label for=""></label><select name="" id=""><option value="">Verb</option><option value="">Adverb</option><option value="">Noun</option><option value="">Pronoun</option><option value="">Adjective</option><option value="">Preposition</option></select></div><button class="au-c-answer--delete"><i class="material-icons">close</i></button></div><div class="au-c-answer au-o-flex-center au-c-answer--add"><div class="au-c-input"><label for="option2"></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--small au-c-wysiwyg au-c-option" id="option2" type="text" value="Add Option"><div class="au-c-input__bottom no-border"></div></div></div></div></div><div class="au-c-question__feedback"><div class="au-c-input au-c-input-label--left au-c-feedback"><label for="feedbackCorrect">Correct Feedback</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller au-c-wysiwyg" id="feedbackCorrect" type="text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-input au-c-input-label--left au-c-feedback au-u-mt-sm"><label for="feedbackIncorrect">Incorrect Feedback</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller au-c-wysiwyg" id="feedbackIncorrect" type="text"><div class="au-c-input__bottom"></div></div></div></div></div></div><div class="au-o-item au-c-question is-active" aria-labeledby="landmark"><div class="au-o-item__top"><div class="au-o-left"><h2 class="au-c-question__number">5</h2><div class="au-c-question__type">Movable Words Sandbox</div></div><div class="au-o-right au-c-question-icons"><button class="au-c-btn au-c-btn--square"><i class="material-icons">remove_red_eye</i></button> <button class="au-c-btn au-c-btn--square"><i class="material-icons">swap_vert</i></button> <button class="au-c-btn au-c-btn--square"><i class="material-icons">delete</i></button></div></div><div class="au-c-question-settings"><div class="au-o-left"><div class="au-c-input au-c-input-label--left"><label for="">Name</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller" type="text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-dropdown au-c-dropdown--small au-u-ml-md"><label for=""></label><select name="" id=""><option value="">English</option><option value="">French</option><option value="">Spanish</option></select></div></div><div class="au-o-right"></div></div><div class="au-c-question__content"><div class="au-c-input au-c-question-text"><label for=""></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--medium au-c-wysiwyg" type="text" placeholder="Question Text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-movable__audio-settings is-active"><span>Audio record limit</span><div class="au-c-input au-c-input--inline"><label for="audio-limit"></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller" id="audio-limit" type="text" maxlength="3" value="100"><div class="au-c-input__bottom"></div></div></div><span>seconds. (240 maximum)</span></div><div class="au-c-question__answers au-c-movable__answers"><div class="au-c-answer au-o-flex-center is-active"><div class="au-c-input"><label for="option1"></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--small au-c-wysiwyg" id="option1" type="text" placeholder="Option 1"><div class="au-c-input__bottom"></div></div></div><div class="au-c-dropdown au-c-dropdown--smaller au-u-ml-sm is-ordered"><label for=""></label><select name="" id=""><option value="">Verb</option><option value="">Adverb</option><option value="">Noun</option><option value="">Pronoun</option><option value="">Adjective</option><option value="">Preposition</option></select></div><button class="au-c-answer--delete"><i class="material-icons">close</i></button></div><div class="au-c-answer au-o-flex-center"><div class="au-c-input"><label for="option2"></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--small au-c-wysiwyg au-c-option" id="option2" type="text" placeholder="Option 2"><div class="au-c-input__bottom no-border"></div></div></div><div class="au-c-dropdown au-c-dropdown--smaller au-u-ml-sm is-ordered"><label for=""></label><select name="" id=""><option value="">Verb</option><option value="">Adverb</option><option value="">Noun</option><option value="">Pronoun</option><option value="">Adjective</option><option value="">Preposition</option></select></div><button class="au-c-answer--delete"><i class="material-icons">close</i></button></div><div class="au-c-answer au-o-flex-center au-c-answer--add"><div class="au-c-input"><label for="option2"></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--small au-c-wysiwyg au-c-option" id="option2" type="text" value="Add Option"><div class="au-c-input__bottom no-border"></div></div></div></div></div><div class="au-c-question__feedback"><div class="au-c-input au-c-input-label--left au-c-feedback"><label for="feedbackCorrect">Correct Feedback</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller au-c-wysiwyg" id="feedbackCorrect" type="text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-input au-c-input-label--left au-c-feedback au-u-mt-sm"><label for="feedbackIncorrect">Incorrect Feedback</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller au-c-wysiwyg" id="feedbackIncorrect" type="text"><div class="au-c-input__bottom"></div></div></div></div></div></div><div class="au-o-item au-c-question is-active"><div class="au-o-item__top"><div class="au-o-left"><h2 class="au-c-question__number">6</h2><div class="au-c-question__type">Image Sequence</div></div><div class="au-o-right au-c-question-icons"><button class="au-c-btn au-c-btn--square"><i class="material-icons">remove_red_eye</i></button> <button class="au-c-btn au-c-btn--square"><i class="material-icons">swap_vert</i></button> <button class="au-c-btn au-c-btn--square"><i class="material-icons">delete</i></button></div></div><div class="au-c-question-settings"><div class="au-o-left"><div class="au-c-input au-c-input-label--left"><label for="">Name</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller" type="text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-dropdown au-c-dropdown--small au-u-ml-md"><label for=""></label><select name="" id=""><option value="">English</option><option value="">French</option><option value="">Spanish</option></select></div></div><div class="au-o-right"></div></div><div class="au-c-question__content"><div class="au-c-input au-c-question-text"><label for=""></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--medium au-c-wysiwyg" type="text" placeholder="Question Text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-image-sequence__answers au-o-row"><div class="au-o-quarter"><div class="au-c-image-sequence-answer is-active" tabindex="0"><div class="au-c-image-sequence-answer__top"><div class="au-c-dropdown au-c-dropdown--tiny"><label for=""></label><select name="" id=""><option value="">N/A</option><option value="">1</option><option value="">2</option><option value="">3</option><option value="">4</option><option value="">5</option></select></div><button class="au-c-answer--delete au-u-right"><i class="material-icons">close</i></button></div><div class="au-c-input au-c-input-label--left"><label for="">Label</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller" type="text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-image-sequence-answer__image"><img src="img/CLIx-logo.png" alt=""></div></div></div><div class="au-o-quarter"><div class="au-c-image-sequence-answer" tabindex="0"><div class="au-c-dropdown au-c-dropdown--tiny"><label for=""></label><select name="" id=""><option value="">N/A</option><option value="">1</option><option value="">2</option><option value="">3</option><option value="">4</option><option value="">5</option></select></div><div class="au-c-input au-c-input-label--left"><label for="">Label</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller" type="text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-image-sequence-answer__image"><img src="img/CLIx-logo.png" alt=""></div></div></div><div class="au-o-quarter"><div class="au-c-image-sequence-answer" tabindex="0"><div class="au-c-dropdown au-c-dropdown--tiny"><label for=""></label><select name="" id=""><option value="">N/A</option><option value="">1</option><option value="">2</option><option value="">3</option><option value="">4</option><option value="">5</option></select></div><div class="au-c-input au-c-input-label--left"><label for="">Label</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller" type="text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-image-sequence-answer__image"><img src="img/CLIx-logo.png" alt=""></div></div></div><div class="au-o-quarter"><div class="au-c-image-sequence-answer-add"><button class="au-c-image-sequence-answer-add__button">Add Image</button></div></div></div><div class="au-c-question__feedback"><div class="au-c-input au-c-input-label--left au-c-feedback"><label for="feedbackCorrect">Correct Feedback</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller au-c-wysiwyg" id="feedbackCorrect" type="text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-input au-c-input-label--left au-c-feedback au-u-mt-sm"><label for="feedbackIncorrect">Incorrect Feedback</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller au-c-wysiwyg" id="feedbackIncorrect" type="text"><div class="au-c-input__bottom"></div></div></div></div></div></div><div class="au-o-item au-c-question is-active" aria-labeledby="landmark"><div class="au-o-item__top"><div class="au-o-left"><h2 class="au-c-question__number">7</h2><div class="au-c-question__type">Movable Words Fill-in-the-Blank</div></div><div class="au-o-right au-c-question-icons"><button class="au-c-btn au-c-btn--square"><i class="material-icons">remove_red_eye</i></button> <button class="au-c-btn au-c-btn--square"><i class="material-icons">swap_vert</i></button> <button class="au-c-btn au-c-btn--square"><i class="material-icons">delete</i></button></div></div><div class="au-c-question-settings"><div class="au-o-left"><div class="au-c-input au-c-input-label--left"><label for="">Name</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller" type="text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-dropdown au-c-dropdown--small au-u-ml-md"><label for=""></label><select name="" id=""><option value="">English</option><option value="">French</option><option value="">Spanish</option></select></div></div><div class="au-o-right"></div></div><div class="au-c-question__content"><div class="au-c-input au-c-fill-in-the-blank-text"><label for=""></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--medium au-c-wysiwyg" type="text" placeholder="Fill in the &#91; &#95; &#93; Text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-movable__answers__label">To insert blank, add &#91; &#95; &#93; where you want the blank to show up.</div><div class="au-c-question__answers au-c-fill-in-the-blank__answers"><div class="au-c-answer au-o-flex-center is-active"><div class="au-c-input"><div class="au-c-radio"><input type="radio" id="radio11" name="radio2"><label for="radio11"></label></div><label for="option1"></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--small au-c-wysiwyg" id="option1" type="text" placeholder="Option 1"><div class="au-c-input__bottom"></div></div></div><div class="au-c-dropdown au-c-dropdown--smaller au-u-ml-sm is-ordered"><label for=""></label><select name="" id=""><option value="">Verb</option><option value="">Adverb</option><option value="">Noun</option><option value="">Pronoun</option><option value="">Adjective</option><option value="">Preposition</option></select></div><button class="au-c-answer--delete"><i class="material-icons">close</i></button></div><div class="au-c-answer au-o-flex-center"><div class="au-c-input"><div class="au-c-radio"><input type="radio" id="radio10" name="radio2"><label for="radio10"></label></div><label for="option2"></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--small au-c-wysiwyg au-c-option" id="option2" type="text" placeholder="Option 2"><div class="au-c-input__bottom no-border"></div></div></div><div class="au-c-dropdown au-c-dropdown--smaller au-u-ml-sm is-ordered"><label for=""></label><select name="" id=""><option value="">Verb</option><option value="">Adverb</option><option value="">Noun</option><option value="">Pronoun</option><option value="">Adjective</option><option value="">Preposition</option></select></div><button class="au-c-answer--delete"><i class="material-icons">close</i></button></div><div class="au-c-answer au-o-flex-center au-c-answer--add"><div class="au-c-input"><label for="option2"></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--small au-c-wysiwyg au-c-option" id="option2" type="text" value="Add Option"><div class="au-c-input__bottom no-border"></div></div></div></div></div><div class="au-c-question__feedback"><div class="au-c-input au-c-input-label--left au-c-feedback"><label for="feedbackCorrect">Correct Feedback</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller au-c-wysiwyg" id="feedbackCorrect" type="text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-input au-c-input-label--left au-c-feedback au-u-mt-sm"><label for="feedbackIncorrect">Incorrect Feedback</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller au-c-wysiwyg" id="feedbackIncorrect" type="text"><div class="au-c-input__bottom"></div></div></div></div></div></div><div class="au-o-item au-c-question"><div class="au-o-item__top"><div class="au-o-left"><h2 class="au-c-question__number">8</h2><div class="au-c-question__type">Add Question</div></div></div><div class="au-c-question__content"><div class="au-o-row"><div class="au-o-half"><div class="au-c-input au-c-input-label--left au-c-input-label--large"><label for="name2">Name</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--small" id="name2" type="text"><div class="au-c-input__bottom"></div></div></div></div><div class="au-o-half"><div class="au-c-input"><label for="questionType"></label><div class="au-c-dropdown au-c-dropdown--medium"><select name="" id="questionType"><option value="">Multiple Choice</option><option value="">Short Answer</option><option value="">File</option></select></div></div></div><div class="au-o-half"><div class="au-c-input au-u-mt-md"><label for="questionType"></label><div class="au-c-dropdown au-c-dropdown--medium"><select name="" id="questionType"><option value="">Select a language</option><option value="">French</option><option value="">Spanish</option></select></div></div></div></div><div class="au-o-flex-contain au-c-question-add__buttons"><div class="au-o-right au-u-right"><button class="au-c-btn au-c-btn--md au-c-btn--gray">Cancel</button> <button class="au-c-btn au-c-btn--md au-c-btn--maroon au-u-ml-md">Create New Question</button></div></div></div></div><div class="au-c-question-add"><button class="au-c-question-add__button">Add Question</button></div><div class="au-c-fake-modal"><div class="au-c-wysiwyg-modal__media"><div class="au-c-modal-media__search"><div class="au-c-input au-c-input--search"><label for="name2"></label><div class="au-c-input__contain"><i class="material-icons">search</i> <input class="au-c-text-input au-c-text-input--small" id="name2" type="text" placeholder="Search..."></div></div></div><div class="au-c-modal-media__results"><table><tbody><tr><td><div class="au-c-modal-media__thumbnail"><img src="http://placehold.it/20x15" alt=""></div></td><td>Image name</td><td>License?</td></tr><tr><td><div class="au-c-modal-media__thumbnail"><img src="http://placehold.it/20x15" alt=""></div></td><td>Image name</td><td>License?</td></tr><tr class="is-active"><td><div class="au-c-modal-media__thumbnail"><img src="http://placehold.it/20x15" alt=""></div></td><td>Image name</td><td>License?</td></tr><tr><td><div class="au-c-modal-media__thumbnail"><img src="http://placehold.it/20x15" alt=""></div></td><td>Image name</td><td>License?</td></tr><tr><td><div class="au-c-modal-media__thumbnail"><img src="http://placehold.it/20x15" alt=""></div></td><td>Image name</td><td>License?</td></tr><tr><td><div class="au-c-modal-media__thumbnail"><img src="http://placehold.it/20x15" alt=""></div></td><td>Image name</td><td>License?</td></tr><tr><td><div class="au-c-modal-media__thumbnail"><img src="http://placehold.it/20x15" alt=""></div></td><td>Image name</td><td>License?</td></tr><tr><td><div class="au-c-modal-media__thumbnail"><img src="http://placehold.it/20x15" alt=""></div></td><td>Image name</td><td>License?</td></tr></tbody></table></div><div class="au-c-modal-media__pagination"></div></div></div></div></body></html><script>!function(e,t,a,n,c,o){e.GoogleAnalyticsObject=n,e[n]||(e[n]=function(){(e[n].q=e[n].q||[]).push(arguments)}),e[n].l=+new Date,c=t.createElement(a),o=t.getElementsByTagName(a)[0],c.src="//www.google-analytics.com/analytics.js",o.parentNode.insertBefore(c,o)}(window,document,"script","ga"),ga("create","UA-XXXXX-X"),ga("send","pageview")</script></body></html>
\ No newline at end of file
+  });</script><script src="MathJax/MathJax.js?config=TeX-MML-AM_HTMLorMML.js"></script><link rel="stylesheet" href="/oac/player_styles-4193a41496e51c7e5815.css"></head><body><html><head><link rel="stylesheet" href="/oac/author_styles-733de94e67eb0a6e79a5.css"></head><body><header class="au-c-header"><div class="au-c-header-top"><img src="img/CLIx-logo.png" alt="" class="au-c-logo"></div><div class="au-c-header-bottom"><div class="au-c-header-bottom__left"><button class="au-c-btn au-c-btn--sm au-c-btn--outline au-c-btn--back"><i class="material-icons">keyboard_arrow_left</i>Back</button></div><div class="au-c-header-bottom__right"><button class="au-c-btn au-c-btn--sm au-c-btn--green"><i class="material-icons">cloud_upload</i>Publish</button> <button class="au-c-btn au-c-btn--sm au-c-btn--maroon au-u-ml-md"><i class="material-icons">remove_red_eye</i>Preview Assessment</button></div></div></header><div class="au-o-contain"><div class="au-o-item"><div class="au-o-item__top au-c-assessment-top"><div class="au-o-left"><div class="au-c-dropdown au-c-dropdown--small"><label for="language1"></label><select name="" id="language1"><option value="">English</option><option value="">French</option><option value="">Spanish</option></select></div></div><div class="au-o-right"><div class="au-c-checkbox"><input type="checkbox" id="check01" name="check"><label for="check01">Single page assessment</label></div></div></div><div class="au-c-assessment-title"><div class="au-c-input"><label for=""></label><div class="au-c-input__contain"><h1><input class="au-c-text-input au-c-text-input--large" type="text" placeholder="Untitled Assessment"></h1><div class="au-c-input__bottom"></div></div></div></div></div><div class="au-o-item au-c-question is-active" aria-labeledby="landmark"><div class="au-o-item__top"><div class="au-o-left"><h2 class="au-c-question__number">1</h2><div class="au-c-question__type">Multiple Choice</div></div><div class="au-o-right au-c-question-icons"><button class="au-c-btn au-c-btn--square"><i class="material-icons">remove_red_eye</i></button> <button class="au-c-btn au-c-btn--square"><i class="material-icons">swap_vert</i></button> <button class="au-c-btn au-c-btn--square"><i class="material-icons">delete</i></button></div></div><div class="au-c-question-settings"><div class="au-o-left"><div class="au-c-input au-c-input-label--left"><label for="">Name</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller" type="text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-dropdown au-c-dropdown--small au-u-ml-md"><label for=""></label><select name="" id=""><option value="">English</option><option value="">French</option><option value="">Spanish</option></select></div></div><div class="au-o-right"><div class="au-c-checkbox au-u-ml-md"><input type="checkbox" id="check02" name="check"><label for="check02">Maintain choice order</label></div><div class="au-c-checkbox au-u-ml-md"><input type="checkbox" id="check03" name="check"><label for="check03">Multiple answer</label></div><div class="au-c-checkbox au-u-ml-md"><input type="checkbox" id="check04" name="check"><label for="check04">Reflection</label></div></div></div><div class="au-c-question__content"><div class="au-c-input au-c-question-text"><label for=""></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--medium au-c-wysiwyg" type="text" placeholder="Question Text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-question__answers au-c-question__answers--maintain"><div class="au-c-answer is-active"><div class="au-c-input"><div class="au-c-radio"><input type="radio" id="radio" name="radio"><label for="radio"></label></div><label for="option1"></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--small au-c-wysiwyg" id="option1" type="text" placeholder="Option 1"><div class="au-c-input__bottom"></div></div><div class="au-c-answer__icons"><button class="au-c-answer__icons__spacer"><i class="material-icons">arrow_upward</i></button><button class="au-c-answer__icons__spacer"><i class="material-icons">arrow_downward</i></button><button class="au-c-answer__icons__spacer"><i class="material-icons">close</i></button></div></div><div class="au-c-input au-c-input-label--left au-c-feedback"><label for="feedback1">Feedback</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller au-c-wysiwyg" id="feedback1" type="text"><div class="au-c-input__bottom"></div></div></div></div><div class="au-c-answer"><div class="au-c-input"><div class="au-c-radio"><input type="radio" id="radio1" name="radio"><label for="radio1"></label></div><label for="option2"></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--small au-c-wysiwyg au-c-option" id="option2" type="text" placeholder="Option 2"><div class="au-c-input__bottom no-border"></div></div><div class="au-c-answer__icons"><button class="au-c-answer__icons__spacer"><i class="material-icons">arrow_upward</i></button><button class="au-c-answer__icons__spacer"><i class="material-icons">arrow_downward</i></button><button class="au-c-answer__icons__spacer"><i class="material-icons">close</i></button></div></div><div class="au-c-input au-c-input-label--left au-c-feedback"><label for="feedback2">Feedback</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller au-c-wysiwyg" id="feedback2" type="text"><div class="au-c-input__bottom"></div></div></div></div><div class="au-c-answer au-c-answer--add"><div class="au-c-input"><div class="au-c-radio"><input type="radio" id="radio1" name="radio"><label for="radio1"></label></div><label for="option2"></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--small au-c-wysiwyg au-c-option" id="option2" type="text" value="Add Option"><div class="au-c-input__bottom no-border"></div></div></div></div></div><div class="au-c-question__feedback"><div class="au-c-input au-c-input-label--left au-c-feedback"><label for="feedbackCorrect">Correct Feedback</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller au-c-wysiwyg" id="feedbackCorrect" type="text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-input au-c-input-label--left au-c-feedback au-u-mt-sm"><label for="feedbackIncorrect">Incorrect Feedback</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller au-c-wysiwyg" id="feedbackIncorrect" type="text"><div class="au-c-input__bottom"></div></div></div></div></div></div><div class="au-o-item au-c-question reorder-active"><div class="au-o-item__top"><div class="au-o-left"><h2 class="au-c-question__number">1</h2><div class="au-c-question__type">Multiple Choice</div></div><div class="au-o-right au-c-question-icons au-c-question-icons--reorder"><button class="au-c-btn au-c-btn--square"><i class="material-icons">arrow_upward</i></button> <button class="au-c-btn au-c-btn--square"><i class="material-icons">arrow_downward</i></button> <button class="au-c-btn au-c-btn--sm au-c-btn--white">Done</button></div></div><div class="au-c-question-settings"><div class="au-o-left"><div class="au-c-input au-c-input-label--left"><label for="">Name</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller" type="text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-dropdown au-c-dropdown--small au-u-ml-md"><label for=""></label><select name="" id=""><option value="">English</option><option value="">French</option><option value="">Spanish</option></select></div></div><div class="au-o-right"><div class="au-c-checkbox au-u-ml-md"><input type="checkbox" id="check02" name="check"><label for="check02">Maintain choice order</label></div><div class="au-c-checkbox au-u-ml-md"><input type="checkbox" id="check03" name="check"><label for="check03">Multiple answer</label></div><div class="au-c-checkbox au-u-ml-md"><input type="checkbox" id="check04" name="check"><label for="check04">Reflection</label></div></div></div><div class="au-c-question__content"><div class="au-c-input au-c-question__text"><label for="question2"></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--medium au-c-wysiwyg" id="question2" type="text" placeholder="Question Text"><div class="au-c-input__bottom no-border"></div></div></div><div class="au-c-question__answers au-c-question__answers--maintain"><div class="au-c-answer"><div class="au-c-input"><div class="au-c-checkbox"><input type="checkbox" id="checkbox" name="checkbox"><label for="checkbox"></label></div><label for="option1"></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--small au-c-wysiwyg" id="option1" type="text" placeholder="Option 1"><div class="au-c-input__bottom no-border"></div></div><div class="au-c-answer__icons"><button class="au-c-answer__icons__spacer"><i class="material-icons">arrow_upward</i></button><button class="au-c-answer__icons__spacer"><i class="material-icons">arrow_downward</i></button><button class="au-c-answer__icons__spacer"><i class="material-icons">close</i></button></div></div><div class="au-c-input au-c-input-label--left au-c-feedback"><label for="feedback1">Feedback</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller au-c-wysiwyg" id="feedback1" type="text"><div class="au-c-input__bottom"></div></div></div></div><div class="au-c-answer"><div class="au-c-input"><div class="au-c-checkbox"><input type="checkbox" id="checkbox1" name="checkbox"><label for="checkbox1"></label></div><label for="option2"></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--small au-c-wysiwyg au-c-option" id="option2" type="text" placeholder="Option 2"><div class="au-c-input__bottom no-border"></div></div><div class="au-c-answer__icons"><button class="au-c-answer__icons__spacer"><i class="material-icons">arrow_upward</i></button><button class="au-c-answer__icons__spacer"><i class="material-icons">arrow_downward</i></button><button class="au-c-answer__icons__spacer"><i class="material-icons">close</i></button></div></div><div class="au-c-input au-c-input-label--left au-c-feedback"><label for="feedback2">Feedback</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller au-c-wysiwyg" id="feedback2" type="text"><div class="au-c-input__bottom"></div></div></div></div><div class="au-c-answer au-c-answer--add"><div class="au-c-input"><div class="au-c-checkbox"><input type="checkbox" id="checkbox1" name="checkbox"><label for="checkbox1"></label></div><label for="option2"></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--small au-c-wysiwyg au-c-option" id="option2" type="text" value="Add Option"><div class="au-c-input__bottom no-border"></div></div></div></div></div><div class="au-c-question__feedback"><div class="au-c-input au-c-input-label--left au-c-feedback"><label for="feedbackCorrect">Correct Feedback</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller au-c-wysiwyg" id="feedbackCorrect" type="text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-input au-c-input-label--left au-c-feedback au-u-mt-sm"><label for="feedbackIncorrect">Incorrect Feedback</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller au-c-wysiwyg" id="feedbackIncorrect" type="text"><div class="au-c-input__bottom"></div></div></div></div></div></div><div class="au-o-item au-c-question is-active"><div class="au-o-item__top"><div class="au-o-left"><h2 class="au-c-question__number">2</h2><div class="au-c-question__type">Short Answer</div></div><div class="au-o-right au-c-question-icons"><button class="au-c-btn au-c-btn--square"><i class="material-icons">remove_red_eye</i></button> <button class="au-c-btn au-c-btn--square"><i class="material-icons">swap_vert</i></button> <button class="au-c-btn au-c-btn--square"><i class="material-icons">delete</i></button></div></div><div class="au-c-question-settings"><div class="au-o-left"><div class="au-c-input au-c-input-label--left"><label for="">Name</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller" type="text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-dropdown au-c-dropdown--small au-u-ml-md"><label for=""></label><select name="" id=""><option value="">English</option><option value="">French</option><option value="">Spanish</option></select></div></div><div class="au-o-right"></div></div><div class="au-c-question__content"><div class="au-c-input au-c-question-text"><label for=""></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--medium au-c-wysiwyg" type="text" placeholder="Question Text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-question__answers au-c-short-answer__answers"><div class="au-c-dropdown au-c-dropdown--medium au-c-input-label--top"><label for="">Answer Box</label><select name="" id=""><option value="">Small</option><option value="">Medium</option><option value="">Large</option></select></div><div class="au-c-short-answer__example is-large"><span>Small Box</span></div></div><div class="au-c-question__feedback"><div class="au-c-input au-c-input-label--left au-c-feedback"><label for="feedbackCorrect">Correct Feedback</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller au-c-wysiwyg" id="feedbackCorrect" type="text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-input au-c-input-label--left au-c-feedback au-u-mt-sm"><label for="feedbackIncorrect">Incorrect Feedback</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller au-c-wysiwyg" id="feedbackIncorrect" type="text"><div class="au-c-input__bottom"></div></div></div></div></div></div><div class="au-o-item au-c-question is-active"><div class="au-o-item__top"><div class="au-o-left"><h2 class="au-c-question__number">3</h2><div class="au-c-question__type">File Upload</div></div><div class="au-o-right au-c-question-icons"><button class="au-c-btn au-c-btn--square"><i class="material-icons">remove_red_eye</i></button> <button class="au-c-btn au-c-btn--square"><i class="material-icons">swap_vert</i></button> <button class="au-c-btn au-c-btn--square"><i class="material-icons">delete</i></button></div></div><div class="au-c-question-settings"><div class="au-o-left"><div class="au-c-input au-c-input-label--left"><label for="">Name</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller" type="text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-dropdown au-c-dropdown--small au-u-ml-md"><label for=""></label><select name="" id=""><option value="">English</option><option value="">French</option><option value="">Spanish</option></select></div></div><div class="au-o-right"></div></div><div class="au-c-question__content"><div class="au-c-input au-c-question-text"><label for=""></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--medium au-c-wysiwyg" type="text" placeholder="Question Text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-question__answers au-o-row" role="radiogroup"><div class="au-c-file-upload__audio-settings is-active"><span>Audio record limit</span><div class="au-c-input au-c-input--inline"><label for="audio-limit"></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller" id="audio-limit" type="text" maxlength="3" value="100"><div class="au-c-input__bottom has-error"></div></div></div><span>seconds. (240 maximum)</span> <span class="au-c-inline-error">Please enter a number under 240</span></div></div><div class="au-c-question__feedback"><div class="au-c-input au-c-input-label--left au-c-feedback au-u-mt-sm"><label for="feedbackIncorrect">Feedback</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller au-c-wysiwyg" id="feedbackIncorrect" type="text"><div class="au-c-input__bottom"></div></div></div></div></div></div><div class="au-o-item au-c-question is-active"><div class="au-o-item__top"><div class="au-o-left"><h2 class="au-c-question__number">3</h2><div class="au-c-question__type">Drag and Drop</div></div><div class="au-o-right au-c-question-icons"><button class="au-c-btn au-c-btn--square"><i class="material-icons">remove_red_eye</i></button> <button class="au-c-btn au-c-btn--square"><i class="material-icons">swap_vert</i></button> <button class="au-c-btn au-c-btn--square"><i class="material-icons">delete</i></button></div></div><div class="au-c-question-settings"><div class="au-o-left"><div class="au-c-input au-c-input-label--left"><label for="">Name</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller" type="text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-dropdown au-c-dropdown--small au-u-ml-md"><label for=""></label><select name="" id=""><option value="">English</option><option value="">French</option><option value="">Spanish</option></select></div></div><div class="au-o-right"></div></div><div class="au-c-question__content"><div class="au-c-input au-c-question-text"><label for=""></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--medium au-c-wysiwyg" type="text" placeholder="Question Text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-drag-and-drop__target-area"><div class="au-o-item__top"><div class="au-o-left"><div class="au-c-question__type">Target Image</div></div><div class="au-o-right"><button class="au-c-btn au-c-btn--sm au-c-btn--gray">Replace Image</button><ul class="au-c-button-dropdown au-u-ml-sm"><li><button class="au-c-btn au-c-btn--sm au-c-btn--dropdown">Add Snap Zone<i class="material-icons">arrow_drop_down</i></button><ul class="au-c-button-dropdown__dropdown is-active"><li><button class="au-c-btn au-c-btn--sm au-c-btn--dropdown-item"><i class="material-icons">open_in_new</i>by region</button></li><li><button class="au-c-btn au-c-btn--sm au-c-btn--dropdown-item"><i class="material-icons">image</i>by image</button></li></ul></li></ul><ul class="au-c-button-dropdown au-u-ml-sm"><li><button class="au-c-btn au-c-btn--sm au-c-btn--dropdown">Add Drop Zone<i class="material-icons">arrow_drop_down</i></button><ul class="au-c-button-dropdown__dropdown"><li><button class="au-c-btn au-c-btn--sm au-c-btn--dropdown-item"><i class="material-icons">open_in_new</i>by region</button></li><li><button class="au-c-btn au-c-btn--sm au-c-btn--dropdown-item"><i class="material-icons">image</i>by image</button></li></ul></li></ul></div></div><div class="au-c-drag-and-drop__target-image"><div class="au-c-drop-zone au-c-zone1 is-active"><div class="au-c-drop-zone__tag">Drop A</div><div class="au-c-drop-zone__tool-tip is-right"><div class="au-c-input au-c-input-label--left au-c-input--white"><label for="">Label</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller" type="text"><div class="au-c-input__bottom"></div></div></div><button class="au-c-btn au-c-btn--square"><i class="material-icons">delete</i></button></div></div><div class="au-c-drop-zone au-c-zone2"><div class="au-c-drop-zone__tag">Snap B</div><div class="au-c-drop-zone__tool-tip is-right"><div class="au-c-input au-c-input-label--left au-c-input--white"><label for="">Label</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller" type="text"><div class="au-c-input__bottom"></div></div></div><button class="au-c-btn au-c-btn--square"><i class="material-icons">delete</i></button></div></div></div></div><div class="au-c-drop-zone__answers__label">Draggable answers</div><div class="au-c-drop-zone__answers au-o-row"><div class="au-o-quarter"><div class="au-c-drop-zone-answer is-active" tabindex="0"><div class="au-c-drop-zone-answer__top"><div class="au-c-dropdown au-c-dropdown--small"><label for=""></label><select name="" id=""><option value="">Drop A</option><option value="">Snap B</option></select></div><button class="au-c-answer--delete"><i class="material-icons">close</i></button></div><div class="au-c-input au-c-input-label--left"><label for="">Label</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller" type="text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-drop-zone-answer__image"><img src="img/CLIx-logo.png" alt=""></div></div></div><div class="au-o-quarter"><div class="au-c-drop-zone-answer" tabindex="0"><div class="au-c-dropdown au-c-dropdown--small"><label for=""></label><select name="" id=""><option value="">Drop A</option><option value="">Snap B</option></select></div><div class="au-c-input au-c-input-label--left"><label for="">Label</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller" type="text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-drop-zone-answer__image"><img src="img/CLIx-logo.png" alt=""></div></div></div><div class="au-o-quarter"><div class="au-c-drop-zone-answer" tabindex="0"><div class="au-c-dropdown au-c-dropdown--small"><label for=""></label><select name="" id=""><option value="">Drop A</option><option value="">Snap B</option></select></div><div class="au-c-input au-c-input-label--left"><label for="">Label</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller" type="text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-drop-zone-answer__image"><img src="img/CLIx-logo.png" alt=""></div></div></div><div class="au-o-quarter"><div class="au-c-drop-zone-answer-add"><button class="au-c-drop-zone-answer-add__button">Add Image</button></div></div></div><div class="au-c-question__feedback"><div class="au-c-input au-c-input-label--left au-c-feedback"><label for="feedbackCorrect">Correct Feedback</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller au-c-wysiwyg" id="feedbackCorrect" type="text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-input au-c-input-label--left au-c-feedback au-u-mt-sm"><label for="feedbackIncorrect">Incorrect Feedback</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller au-c-wysiwyg" id="feedbackIncorrect" type="text"><div class="au-c-input__bottom"></div></div></div></div></div></div><div class="au-o-item au-c-question is-active" aria-labeledby="landmark"><div class="au-o-item__top"><div class="au-o-left"><h2 class="au-c-question__number">4</h2><div class="au-c-question__type">Movable Words Sentence</div></div><div class="au-o-right au-c-question-icons"><button class="au-c-btn au-c-btn--square"><i class="material-icons">remove_red_eye</i></button> <button class="au-c-btn au-c-btn--square"><i class="material-icons">swap_vert</i></button> <button class="au-c-btn au-c-btn--square"><i class="material-icons">delete</i></button></div></div><div class="au-c-question-settings"><div class="au-o-left"><div class="au-c-input au-c-input-label--left"><label for="">Name</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller" type="text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-dropdown au-c-dropdown--small au-u-ml-md"><label for=""></label><select name="" id=""><option value="">English</option><option value="">French</option><option value="">Spanish</option></select></div></div><div class="au-o-right"></div></div><div class="au-c-question__content"><div class="au-c-input au-c-question-text"><label for=""></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--medium au-c-wysiwyg" type="text" placeholder="Question Text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-question__answers au-c-movable__answers"><div class="au-c-answer au-o-flex-center is-active"><div class="au-c-dropdown au-c-dropdown--tiny au-u-mr-sm"><label for=""></label><select name="" id=""><option value="">N/A</option><option value="">1</option><option value="">2</option><option value="">3</option><option value="">4</option><option value="">5</option></select></div><div class="au-c-input"><label for="option1"></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--small au-c-wysiwyg" id="option1" type="text" placeholder="Option 1"><div class="au-c-input__bottom"></div></div></div><div class="au-c-dropdown au-c-dropdown--smaller au-u-ml-sm is-ordered"><label for=""></label><select name="" id=""><option value="">Verb</option><option value="">Adverb</option><option value="">Noun</option><option value="">Pronoun</option><option value="">Adjective</option><option value="">Preposition</option></select></div><button class="au-c-answer--delete"><i class="material-icons">close</i></button></div><div class="au-c-answer au-o-flex-center"><div class="au-c-dropdown au-c-dropdown--tiny au-u-mr-sm is-ordered"><label for=""></label><select name="" id=""><option value="">N/A</option><option value="">1</option><option value="">2</option><option value="">3</option><option value="">4</option><option value="">5</option></select></div><div class="au-c-input"><label for="option2"></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--small au-c-wysiwyg au-c-option" id="option2" type="text" placeholder="Option 2"><div class="au-c-input__bottom no-border"></div></div></div><div class="au-c-dropdown au-c-dropdown--smaller au-u-ml-sm is-ordered"><label for=""></label><select name="" id=""><option value="">Verb</option><option value="">Adverb</option><option value="">Noun</option><option value="">Pronoun</option><option value="">Adjective</option><option value="">Preposition</option></select></div><button class="au-c-answer--delete"><i class="material-icons">close</i></button></div><div class="au-c-answer au-o-flex-center au-c-answer--add"><div class="au-c-input"><label for="option2"></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--small au-c-wysiwyg au-c-option" id="option2" type="text" value="Add Option"><div class="au-c-input__bottom no-border"></div></div></div></div></div><div class="au-c-question__feedback"><div class="au-c-input au-c-input-label--left au-c-feedback"><label for="feedbackCorrect">Correct Feedback</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller au-c-wysiwyg" id="feedbackCorrect" type="text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-input au-c-input-label--left au-c-feedback au-u-mt-sm"><label for="feedbackIncorrect">Incorrect Feedback</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller au-c-wysiwyg" id="feedbackIncorrect" type="text"><div class="au-c-input__bottom"></div></div></div></div></div></div><div class="au-o-item au-c-question is-active" aria-labeledby="landmark"><div class="au-o-item__top"><div class="au-o-left"><h2 class="au-c-question__number">5</h2><div class="au-c-question__type">Movable Words Sandbox</div></div><div class="au-o-right au-c-question-icons"><button class="au-c-btn au-c-btn--square"><i class="material-icons">remove_red_eye</i></button> <button class="au-c-btn au-c-btn--square"><i class="material-icons">swap_vert</i></button> <button class="au-c-btn au-c-btn--square"><i class="material-icons">delete</i></button></div></div><div class="au-c-question-settings"><div class="au-o-left"><div class="au-c-input au-c-input-label--left"><label for="">Name</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller" type="text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-dropdown au-c-dropdown--small au-u-ml-md"><label for=""></label><select name="" id=""><option value="">English</option><option value="">French</option><option value="">Spanish</option></select></div></div><div class="au-o-right"></div></div><div class="au-c-question__content"><div class="au-c-input au-c-question-text"><label for=""></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--medium au-c-wysiwyg" type="text" placeholder="Question Text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-movable__audio-settings is-active"><span>Audio record limit</span><div class="au-c-input au-c-input--inline"><label for="audio-limit"></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller" id="audio-limit" type="text" maxlength="3" value="100"><div class="au-c-input__bottom"></div></div></div><span>seconds. (240 maximum)</span></div><div class="au-c-question__answers au-c-movable__answers"><div class="au-c-answer au-o-flex-center is-active"><div class="au-c-input"><label for="option1"></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--small au-c-wysiwyg" id="option1" type="text" placeholder="Option 1"><div class="au-c-input__bottom"></div></div></div><div class="au-c-dropdown au-c-dropdown--smaller au-u-ml-sm is-ordered"><label for=""></label><select name="" id=""><option value="">Verb</option><option value="">Adverb</option><option value="">Noun</option><option value="">Pronoun</option><option value="">Adjective</option><option value="">Preposition</option></select></div><button class="au-c-answer--delete"><i class="material-icons">close</i></button></div><div class="au-c-answer au-o-flex-center"><div class="au-c-input"><label for="option2"></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--small au-c-wysiwyg au-c-option" id="option2" type="text" placeholder="Option 2"><div class="au-c-input__bottom no-border"></div></div></div><div class="au-c-dropdown au-c-dropdown--smaller au-u-ml-sm is-ordered"><label for=""></label><select name="" id=""><option value="">Verb</option><option value="">Adverb</option><option value="">Noun</option><option value="">Pronoun</option><option value="">Adjective</option><option value="">Preposition</option></select></div><button class="au-c-answer--delete"><i class="material-icons">close</i></button></div><div class="au-c-answer au-o-flex-center au-c-answer--add"><div class="au-c-input"><label for="option2"></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--small au-c-wysiwyg au-c-option" id="option2" type="text" value="Add Option"><div class="au-c-input__bottom no-border"></div></div></div></div></div><div class="au-c-question__feedback"><div class="au-c-input au-c-input-label--left au-c-feedback"><label for="feedbackCorrect">Correct Feedback</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller au-c-wysiwyg" id="feedbackCorrect" type="text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-input au-c-input-label--left au-c-feedback au-u-mt-sm"><label for="feedbackIncorrect">Incorrect Feedback</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller au-c-wysiwyg" id="feedbackIncorrect" type="text"><div class="au-c-input__bottom"></div></div></div></div></div></div><div class="au-o-item au-c-question is-active"><div class="au-o-item__top"><div class="au-o-left"><h2 class="au-c-question__number">6</h2><div class="au-c-question__type">Image Sequence</div></div><div class="au-o-right au-c-question-icons"><button class="au-c-btn au-c-btn--square"><i class="material-icons">remove_red_eye</i></button> <button class="au-c-btn au-c-btn--square"><i class="material-icons">swap_vert</i></button> <button class="au-c-btn au-c-btn--square"><i class="material-icons">delete</i></button></div></div><div class="au-c-question-settings"><div class="au-o-left"><div class="au-c-input au-c-input-label--left"><label for="">Name</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller" type="text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-dropdown au-c-dropdown--small au-u-ml-md"><label for=""></label><select name="" id=""><option value="">English</option><option value="">French</option><option value="">Spanish</option></select></div></div><div class="au-o-right"></div></div><div class="au-c-question__content"><div class="au-c-input au-c-question-text"><label for=""></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--medium au-c-wysiwyg" type="text" placeholder="Question Text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-image-sequence__answers au-o-row"><div class="au-o-quarter"><div class="au-c-image-sequence-answer is-active" tabindex="0"><div class="au-c-image-sequence-answer__top"><div class="au-c-dropdown au-c-dropdown--tiny"><label for=""></label><select name="" id=""><option value="">N/A</option><option value="">1</option><option value="">2</option><option value="">3</option><option value="">4</option><option value="">5</option></select></div><button class="au-c-answer--delete au-u-right"><i class="material-icons">close</i></button></div><div class="au-c-input au-c-input-label--left"><label for="">Label</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller" type="text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-image-sequence-answer__image"><img src="img/CLIx-logo.png" alt=""></div></div></div><div class="au-o-quarter"><div class="au-c-image-sequence-answer" tabindex="0"><div class="au-c-dropdown au-c-dropdown--tiny"><label for=""></label><select name="" id=""><option value="">N/A</option><option value="">1</option><option value="">2</option><option value="">3</option><option value="">4</option><option value="">5</option></select></div><div class="au-c-input au-c-input-label--left"><label for="">Label</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller" type="text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-image-sequence-answer__image"><img src="img/CLIx-logo.png" alt=""></div></div></div><div class="au-o-quarter"><div class="au-c-image-sequence-answer" tabindex="0"><div class="au-c-dropdown au-c-dropdown--tiny"><label for=""></label><select name="" id=""><option value="">N/A</option><option value="">1</option><option value="">2</option><option value="">3</option><option value="">4</option><option value="">5</option></select></div><div class="au-c-input au-c-input-label--left"><label for="">Label</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller" type="text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-image-sequence-answer__image"><img src="img/CLIx-logo.png" alt=""></div></div></div><div class="au-o-quarter"><div class="au-c-image-sequence-answer-add"><button class="au-c-image-sequence-answer-add__button">Add Image</button></div></div></div><div class="au-c-question__feedback"><div class="au-c-input au-c-input-label--left au-c-feedback"><label for="feedbackCorrect">Correct Feedback</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller au-c-wysiwyg" id="feedbackCorrect" type="text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-input au-c-input-label--left au-c-feedback au-u-mt-sm"><label for="feedbackIncorrect">Incorrect Feedback</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller au-c-wysiwyg" id="feedbackIncorrect" type="text"><div class="au-c-input__bottom"></div></div></div></div></div></div><div class="au-o-item au-c-question is-active" aria-labeledby="landmark"><div class="au-o-item__top"><div class="au-o-left"><h2 class="au-c-question__number">7</h2><div class="au-c-question__type">Movable Words Fill-in-the-Blank</div></div><div class="au-o-right au-c-question-icons"><button class="au-c-btn au-c-btn--square"><i class="material-icons">remove_red_eye</i></button> <button class="au-c-btn au-c-btn--square"><i class="material-icons">swap_vert</i></button> <button class="au-c-btn au-c-btn--square"><i class="material-icons">delete</i></button></div></div><div class="au-c-question-settings"><div class="au-o-left"><div class="au-c-input au-c-input-label--left"><label for="">Name</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller" type="text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-dropdown au-c-dropdown--small au-u-ml-md"><label for=""></label><select name="" id=""><option value="">English</option><option value="">French</option><option value="">Spanish</option></select></div></div><div class="au-o-right"></div></div><div class="au-c-question__content"><div class="au-c-input au-c-fill-in-the-blank-text"><label for=""></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--medium au-c-wysiwyg" type="text" placeholder="Fill in the &#91; &#95; &#93; Text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-movable__answers__label">To insert blank, add &#91; &#95; &#93; where you want the blank to show up.</div><div class="au-c-question__answers au-c-fill-in-the-blank__answers"><div class="au-c-answer au-o-flex-center is-active"><div class="au-c-input"><div class="au-c-radio"><input type="radio" id="radio11" name="radio2"><label for="radio11"></label></div><label for="option1"></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--small au-c-wysiwyg" id="option1" type="text" placeholder="Option 1"><div class="au-c-input__bottom"></div></div></div><div class="au-c-dropdown au-c-dropdown--smaller au-u-ml-sm is-ordered"><label for=""></label><select name="" id=""><option value="">Verb</option><option value="">Adverb</option><option value="">Noun</option><option value="">Pronoun</option><option value="">Adjective</option><option value="">Preposition</option></select></div><button class="au-c-answer--delete"><i class="material-icons">close</i></button></div><div class="au-c-answer au-o-flex-center"><div class="au-c-input"><div class="au-c-radio"><input type="radio" id="radio10" name="radio2"><label for="radio10"></label></div><label for="option2"></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--small au-c-wysiwyg au-c-option" id="option2" type="text" placeholder="Option 2"><div class="au-c-input__bottom no-border"></div></div></div><div class="au-c-dropdown au-c-dropdown--smaller au-u-ml-sm is-ordered"><label for=""></label><select name="" id=""><option value="">Verb</option><option value="">Adverb</option><option value="">Noun</option><option value="">Pronoun</option><option value="">Adjective</option><option value="">Preposition</option></select></div><button class="au-c-answer--delete"><i class="material-icons">close</i></button></div><div class="au-c-answer au-o-flex-center au-c-answer--add"><div class="au-c-input"><label for="option2"></label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--small au-c-wysiwyg au-c-option" id="option2" type="text" value="Add Option"><div class="au-c-input__bottom no-border"></div></div></div></div></div><div class="au-c-question__feedback"><div class="au-c-input au-c-input-label--left au-c-feedback"><label for="feedbackCorrect">Correct Feedback</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller au-c-wysiwyg" id="feedbackCorrect" type="text"><div class="au-c-input__bottom"></div></div></div><div class="au-c-input au-c-input-label--left au-c-feedback au-u-mt-sm"><label for="feedbackIncorrect">Incorrect Feedback</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--smaller au-c-wysiwyg" id="feedbackIncorrect" type="text"><div class="au-c-input__bottom"></div></div></div></div></div></div><div class="au-o-item au-c-question"><div class="au-o-item__top"><div class="au-o-left"><h2 class="au-c-question__number">8</h2><div class="au-c-question__type">Add Question</div></div></div><div class="au-c-question__content"><div class="au-o-row"><div class="au-o-half"><div class="au-c-input au-c-input-label--left au-c-input-label--large"><label for="name2">Name</label><div class="au-c-input__contain"><input class="au-c-text-input au-c-text-input--small" id="name2" type="text"><div class="au-c-input__bottom"></div></div></div></div><div class="au-o-half"><div class="au-c-input"><label for="questionType"></label><div class="au-c-dropdown au-c-dropdown--medium"><select name="" id="questionType"><option value="">Multiple Choice</option><option value="">Short Answer</option><option value="">File</option></select></div></div></div><div class="au-o-half"><div class="au-c-input au-u-mt-md"><label for="questionType"></label><div class="au-c-dropdown au-c-dropdown--medium"><select name="" id="questionType"><option value="">Select a language</option><option value="">French</option><option value="">Spanish</option></select></div></div></div></div><div class="au-o-flex-contain au-c-question-add__buttons"><div class="au-o-right au-u-right"><button class="au-c-btn au-c-btn--md au-c-btn--gray">Cancel</button> <button class="au-c-btn au-c-btn--md au-c-btn--maroon au-u-ml-md">Create New Question</button></div></div></div></div><div class="au-c-question-add"><button class="au-c-question-add__button">Add Question</button></div><div class="au-c-fake-modal"><div class="au-c-wysiwyg-modal__media"><div class="au-c-modal-media__search"><div class="au-c-input au-c-input--search"><label for="name2"></label><div class="au-c-input__contain"><i class="material-icons">search</i> <input class="au-c-text-input au-c-text-input--small" id="name2" type="text" placeholder="Search..."></div></div></div><div class="au-c-modal-media__results"><table><tbody><tr><td><div class="au-c-modal-media__thumbnail"><img src="http://placehold.it/20x15" alt=""></div></td><td>Image name</td><td>License?</td></tr><tr><td><div class="au-c-modal-media__thumbnail"><img src="http://placehold.it/20x15" alt=""></div></td><td>Image name</td><td>License?</td></tr><tr class="is-active"><td><div class="au-c-modal-media__thumbnail"><img src="http://placehold.it/20x15" alt=""></div></td><td>Image name</td><td>License?</td></tr><tr><td><div class="au-c-modal-media__thumbnail"><img src="http://placehold.it/20x15" alt=""></div></td><td>Image name</td><td>License?</td></tr><tr><td><div class="au-c-modal-media__thumbnail"><img src="http://placehold.it/20x15" alt=""></div></td><td>Image name</td><td>License?</td></tr><tr><td><div class="au-c-modal-media__thumbnail"><img src="http://placehold.it/20x15" alt=""></div></td><td>Image name</td><td>License?</td></tr><tr><td><div class="au-c-modal-media__thumbnail"><img src="http://placehold.it/20x15" alt=""></div></td><td>Image name</td><td>License?</td></tr><tr><td><div class="au-c-modal-media__thumbnail"><img src="http://placehold.it/20x15" alt=""></div></td><td>Image name</td><td>License?</td></tr></tbody></table></div><div class="au-c-modal-media__pagination"></div></div></div></div></body></html><script>!function(e,t,a,n,c,o){e.GoogleAnalyticsObject=n,e[n]||(e[n]=function(){(e[n].q=e[n].q||[]).push(arguments)}),e[n].l=+new Date,c=t.createElement(a),o=t.getElementsByTagName(a)[0],c.src="//www.google-analytics.com/analytics.js",o.parentNode.insertBefore(c,o)}(window,document,"script","ga"),ga("create","UA-XXXXX-X"),ga("send","pageview")</script></body></html>
\ No newline at end of file
